PageSourceSearch

https://www.bodilmalmsten.com/_next/static/chunks/pages/_app-d6f53e02895711ce.js

js bodilmalmsten.com collected 2026-09-27 01:11:08 UTC 583,610 bytes, 167 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{9477:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(5893),i=n(7294);function o({html:e,height:t=null,width:n=null,children:o,dataNtpc:a=""}){return(0,i.useEffect)(()=>{a&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${a}`}})},[a]),(0,r.jsxs)(r.Fragment,{children:[o,e?(0,r.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":a,dangerouslySetInnerHTML:{__html:e}}):null]})}t.default=o},7834:function(e,t,n){"use strict";let r;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let o=n(5893),a=n(7294),s=i(n(4298));function u(e){let{gaId:t,dataLayerName:n="dataLayer"}=e;return void 0===r&&(r=n),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:`
2          window['${n}'] = window['${n}'] || [];
3          function gtag(){window['${n}'].push(arguments);}
4          gtag('js', new Date());
5
6          gtag('config', '${t}');`}}),(0,o.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`})]})}function l(...e){if(void 0===r){console.warn("@next/third-parties: GA has not been initialized");return}window[r]?window[r].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)}t.GoogleAnalytics=u,t.sendGAEvent=l},3632:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(5893),o=n(6257),a=r(n(9477));function s(e){let{apiKey:t,...n}=e,r={...n,key:t},{html:s}=(0,o.GoogleMapsEmbed)(r);return(0,i.jsx)(a.default,{height:r.height||null,width:r.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})}t.default=s},674:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=t.GoogleTagManager=void 0;let i=n(5893),o=n(7294),a=r(n(4298)),s="dataLayer";function u(e){let{gtmId:t,dataLayerName:n="dataLayer",auth:r,preview:u,dataLayer:l}=e;s=n;let c="dataLayer"!==n?`&l=${n}`:"",f=r?`&gtm_auth=${r}`:"",d=u?`&gtm_preview=${u}&gtm_cookies_win=x`:"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:`
7      (function(w,l){
8        w[l]=w[l]||[];
9        w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});
10        ${l?`w[l].push(${JSON.stringify(l)})`:""}
11      })(window,'${n}');`}}),(0,i.jsx)(a.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${t}${c}${f}${d}`})]})}t.GoogleTagManager=u;let l=(e,t)=>{let n=t||s;window[n]=window[n]||[],window[n].push(e)};t.sendGTMEvent=l},9692:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=n(3632);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r(i).default}});var o=n(1494);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return r(o).default}});var a=n(674);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return a.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return a.sendGTMEvent}});var s=n(7834);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},1494:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
11dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(5893),o=r(n(4298)),a=n(6257),s=r(n(9477)),u={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};function l(e){let{html:t,scripts:n,stylesheets:r}=(0,a.YouTubeEmbed)(e);return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==n?void 0:n.map(e=>(0,i.jsx)(o.default,{src:e.url,strategy:u[e.strategy],stylesheets:r},e.url))})}t.default=l},6434:function(e,t,n){"use strict";let r;e=n.nmd(e);let i=(e,t)=>(...n)=>{let r=e(...n);return`\u001B[${r+t}m`},o=(e,t)=>(...n)=>{let r=e(...n);return`\u001B[${38+t};5;${r}m`},a=(e,t)=>(...n)=>{let r=e(...n);return`\u001B[${38+t};2;${r[0]};${r[1]};${r[2]}m`},s=e=>e,u=(e,t,n)=>[e,t,n],l=(e,t,n)=>{Object.defineProperty(e,t,{get:()=>{let r=n();return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0}),r},enumerable:!0,configurable:!0})},c=(e,t,i,o)=>{void 0===r&&(r=n(2085));let a=o?10:0,s={};for(let[n,o]of Object.entries(r)){let r="ansi16"===n?"ansi":n;n===t?s[r]=e(i,a):"object"==typeof o&&(s[r]=e(o[t],a))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[n,r]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[n,i]of Object.entries(r))t[n]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},r[n]=t[n],e.set(i[0],i[1]);Object.defineProperty(t,n,{value:r,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",l(t.color,"ansi",()=>c(i,"ansi16",s,!1)),l(t.color,"ansi256",()=>c(o,"ansi256",s,!1)),l(t.color,"ansi16m",()=>c(a,"rgb",u,!1)),l(t.bgColor,"ansi",()=>c(i,"ansi16",s,!0)),l(t.bgColor,"ansi256",()=>c(o,"ansi256",s,!0)),l(t.bgColor,"ansi16m",()=>c(a,"rgb",u,!0)),t}})},9742:function(e,t){"use strict";t.byteLength=l,t.toByteArray=f,t.fromByteArray=p;for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)n[a]=o[a],r[o.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function l(e){var t=u(e),n=t[0],r=t[1];return(n+r)*3/4-r}function c(e,t,n){return(t+n)*3/4-n}function f(e){var t,n,o=u(e),a=o[0],s=o[1],l=new i(c(e,a,s)),f=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],l[f++]=t>>16&255,l[f++]=t>>8&255,l[f++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,l[f++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,l[f++]=t>>8&255,l[f++]=255&t),l}function d(e){return n[e>>18&63]+n[e>>12&63]+n[e>>6&63]+n[63&e]}function h(e,t,n){for(var r=[],i=t;i<n;i+=3)r.push(d((e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2])));return r.join("")}function p(e){for(var t,r=e.length,i=r%3,o=[],a=16383,s=0,u=r-i;s<u;s+=a)o.push(h(e,s,s+a>u?u:s+a));return 1===i?o.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&o.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8764:function(e,t,n){"use strict";var r;let i=n(9742),o=n(645),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.lW=c,r=T,t.h2=50;let s=2147483647;function u(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function l(e){if(e>
vendor: 20,887 bytes, line 11
11s)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,c.prototype),t}function c(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return p(e)}return f(e,t,n)}function f(e,t,n){if("string"==typeof e)return g(e,t);if(ArrayBuffer.isView(e))return v(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(es(e,ArrayBuffer)||e&&es(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(es(e,SharedArrayBuffer)||e&&es(e.buffer,SharedArrayBuffer)))return y(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return c.from(r,t,n);let i=b(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return c.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function h(e,t,n){return(d(e),e<=0)?l(e):void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)}function p(e){return d(e),l(e<0?0:0|_(e))}function g(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!c.isEncoding(t))throw TypeError("Unknown encoding: "+t);let n=0|w(e,t),r=l(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function m(e){let t=e.length<0?0:0|_(e.length),n=l(t);for(let r=0;r<t;r+=1)n[r]=255&e[r];return n}function v(e){if(es(e,Uint8Array)){let t=new Uint8Array(e);return y(t.buffer,t.byteOffset,t.byteLength)}return m(e)}function y(e,t,n){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),c.prototype),r}function b(e){if(c.isBuffer(e)){let t=0|_(e.length),n=l(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?"number"!=typeof e.length||eu(e.length)?l(0):m(e):"Buffer"===e.type&&Array.isArray(e.data)?m(e.data):void 0}function _(e){if(e>=s)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return 0|e}function T(e){return+e!=e&&(e=0),c.alloc(+e)}function w(e,t){if(c.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||es(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return en(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return eo(e).length;default:if(i)return r?-1:en(e).length;t=(""+t).toLowerCase(),i=!0}}function E(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,n);case"utf8":case"utf-8":return j(this,t,n);case"ascii":return R(this,t,n);case"latin1":case"binary":return F(this,t,n);case"base64":return M(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,t,n);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function C(e,t,n,r,i){if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),eu(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:O(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):O(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function O(e,t,n,r,i){let o,a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,s/=2,u/=2,n/=2}function l(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;o<s;o++)if(l(e,o)===l(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===u)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){let n=!0;for(let r=0;r<u;r++)if(l(e,o+r)!==l(t,r)){n=!1;break}if(n)return o}return -1}function k(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let a=t.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(t.substr(2*i,2),16);if(eu(r))break;e[n+i]=r}return i}function P(e,t,n,r){return ea(en(t,e.length-n),e,n,r)}function N(e,t,n,r){return ea(er(t),e,n,r)}function S(e,t,n,r){return ea(eo(t),e,n,r)}function I(e,t,n,r){return ea(ei(t,e.length-n),e,n,r)}function M(e,t,n){return 0===t&&n===e.length?i.fromByteArray(e):i.fromByteArray(e.slice(t,n))}function j(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,u;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(u=(31&t)<<6|63&n)>127&&(o=u);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(u=(15&t)<<12|(63&n)<<6|63&r)>2047&&(u<55296||u>57343)&&(o=u);break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(192&n)==128&&(192&r)==128&&(192&s)==128&&(u=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s)>65535&&u<1114112&&(o=u)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return D(r)}r=2147483647,c.TYPED_ARRAY_SUPPORT=u(),c.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(e,t,n){return f(e,t,n)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(e,t,n){return h(e,t,n)},c.allocUnsafe=function(e){return p(e)},c.allocUnsafeSlow=function(e){return p(e)},c.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==c.prototype},c.compare=function(e,t){if(es(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),es(t,Uint8Array)&&(t=c.from(t,t.offset,t.byteLength)),!c.isBuffer(e)||!c.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(e,t){let n;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return c.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;let r=c.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(es(t,Uint8Array))i+t.length>r.length?(c.isBuffer(t)||(t=c.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(c.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},c.byteLength=w,c.prototype._isBuffer=!0,c.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)x(this,t,t+1);return this},c.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},c.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},c.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?j(this,0,e):E.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(e){if(!c.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===c.compare(this,e)},c.prototype.inspect=function(){let e="",n=t.h2;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(c.prototype[a]=c.prototype.inspect),c.prototype.compare=function(e,t,n,r,i){if(es(e,Uint8Array)&&(e=c.from(e,e.offset,e.byteLength)),!c.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=n-t,s=Math.min(o,a),u=this.slice(r,i),l=e.slice(t,n);for(let e=0;e<s;++e)if(u[e]!==l[e]){o=u[e],a=l[e];break}return o<a?-1:a<o?1:0},c.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},c.prototype.indexOf=function(e,t,n){return C(this,e,t,n,!0)},c.prototype.lastIndexOf=function(e,t,n){return C(this,e,t,n,!1)},c.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return k(this,e,t,n);case"utf8":case"utf-8":return P(this,e,t,n);case"ascii":case"latin1":case"binary":return N(this,e,t,n);case"base64":return S(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,e,t,n);default:if(o)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let A=4096;function D(e){let t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);let n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=A));return n}function R(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function F(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function L(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i="";for(let r=t;r<n;++r)i+=el[e[r]];return i}function U(e,t,n){let r=e.slice(t,n),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function q(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function Q(e,t,n,r,i,o){if(!c.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function B(e,t,n,r,i){K(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function z(e,t,n,r,i){K(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function V(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function G(e,t,n,r,i){return t=+t,n>>>=0,i||V(e,t,n,4,34028234663852886e22,-34028234663852886e22),o.write(e,t,n,r,23,4),n+4}function $(e,t,n,r,i){return t=+t,n>>>=0,i||V(e,t,n,8,17976931348623157e292,-17976931348623157e292),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,c.prototype),r},c.prototype.readUintLE=c.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||q(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},c.prototype.readUintBE=c.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||q(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},c.prototype.readUint8=c.prototype.readUInt8=function(e,t){return e>>>=0,t||q(e,1,this.length),this[e]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(e,t){return e>>>=0,t||q(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(e,t){return e>>>=0,t||q(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(e,t){return e>>>=0,t||q(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(e,t){return e>>>=0,t||q(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readBigUInt64LE=ec(function(e){J(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&X(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*n;return BigInt(r)+(BigInt(i)<<BigInt(32))}),c.prototype.readBigUInt64BE=ec(function(e){J(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&X(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),c.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||q(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||q(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},c.prototype.readInt8=function(e,t){return(e>>>=0,t||q(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},c.prototype.readInt16LE=function(e,t){e>>>=0,t||q(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){e>>>=0,t||q(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return e>>>=0,t||q(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return e>>>=0,t||q(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readBigInt64LE=ec(function(e){J(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&X(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),c.prototype.readBigInt64BE=ec(function(e){J(e>>>=0,"offset");let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&X(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+n)}),c.prototype.readFloatLE=function(e,t){return e>>>=0,t||q(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return e>>>=0,t||q(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return e>>>=0,t||q(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return e>>>=0,t||q(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;Q(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;Q(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},c.prototype.writeUint8=c.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,1,255,0),this[t]=255&e,t+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigUInt64LE=ec(function(e,t=0){return B(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeBigUInt64BE=ec(function(e,t=0){return z(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);Q(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);Q(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||Q(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},c.prototype.writeBigInt64LE=ec(function(e,t=0){return B(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeBigInt64BE=ec(function(e,t=0){return z(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),c.prototype.writeFloatLE=function(e,t,n){return G(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return G(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return $(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return $(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(!c.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},c.prototype.fill=function(e,t,n,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{let o=c.isBuffer(e)?e:c.from(e,r),a=o.length;
11if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};let Y={};function W(e,t,n){Y[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function H(e){let t="",n=e.length,r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function Z(e,t,n){J(t,"offset"),(void 0===e[t]||void 0===e[t+n])&&X(t,e.length-(n+1))}function K(e,t,n,r,i,o){if(e>n||e<t){let r;let i="bigint"==typeof t?"n":"";throw r=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new Y.ERR_OUT_OF_RANGE("value",r,e)}Z(r,i,o)}function J(e,t){if("number"!=typeof e)throw new Y.ERR_INVALID_ARG_TYPE(t,"number",e)}function X(e,t,n){if(Math.floor(e)!==e)throw J(e,n),new Y.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new Y.ERR_BUFFER_OUT_OF_BOUNDS;throw new Y.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}W("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),W("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),W("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>4294967296?i=H(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=H(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let ee=/[^+/0-9A-Za-z-_]/g;function et(e){if((e=(e=e.split("=")[0]).trim().replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function en(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function er(e){let t=[];for(let n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function ei(e,t){let n,r;let i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=(n=e.charCodeAt(o))>>8,i.push(n%256),i.push(r);return i}function eo(e){return i.toByteArray(et(e))}function ea(e,t,n,r){let i;for(i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function es(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function eu(e){return e!=e}let el=function(){let e="0123456789abcdef",t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function ec(e){return"undefined"==typeof BigInt?ef:e}function ef(){throw Error("BigInt not supported")}},4061:function(e,t,n){"use strict";let r;let i=n(6434),{stdout:o,stderr:a}=n(8555),{stringReplaceAll:s,stringEncaseCRLFWithFirstIndex:u}=n(3559),{isArray:l}=Array,c=["ansi","ansi","ansi256","ansi16m"],f=Object.create(null),d=(e,t={})=>{if(t.level&&!(Number.isInteger(t.level)&&t.level>=0&&t.level<=3))throw Error("The `level` option should be an integer from 0 to 3");let n=o?o.level:0;e.level=void 0===t.level?n:t.level};class h{constructor(e){return p(e)}}let p=e=>{let t={};return d(t,e),t.template=(...e)=>T(t.template,...e),Object.setPrototypeOf(t,g.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=h,t.template};function g(e){return p(e)}for(let[e,t]of Object.entries(i))f[e]={get(){let n=b(this,y(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};f.visible={get(){let e=b(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};let m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of m)f[e]={get(){let{level:t}=this;return function(...n){return b(this,y(i.color[c[t]][e](...n),i.color.close,this._styler),this._isEmpty)}}};for(let e of m)f["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...n){return b(this,y(i.bgColor[c[t]][e](...n),i.bgColor.close,this._styler),this._isEmpty)}}};let v=Object.defineProperties(()=>{},{...f,level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}}),y=(e,t,n)=>{let r,i;return void 0===n?(r=e,i=t):(r=n.openAll+e,i=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:i,parent:n}},b=(e,t,n)=>{let r=(...e)=>l(e[0])&&l(e[0].raw)?_(r,T(r,...e)):_(r,1===e.length?""+e[0]:e.join(" "));return Object.setPrototypeOf(r,v),r._generator=e,r._styler=t,r._isEmpty=n,r},_=(e,t)=>
11{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(void 0===n)return t;let{openAll:r,closeAll:i}=n;if(-1!==t.indexOf("\x1b"))for(;void 0!==n;)t=s(t,n.close,n.open),n=n.parent;let o=t.indexOf("\n");return -1!==o&&(t=u(t,i,r,o)),r+t+i},T=(e,...t)=>{let[i]=t;if(!l(i)||!l(i.raw))return t.join(" ");let o=t.slice(1),a=[i.raw[0]];for(let e=1;e<i.length;e++)a.push(String(o[e-1]).replace(/[{}\\]/g,"\\$&"),String(i.raw[e]));return void 0===r&&(r=n(9515)),r(e,a.join(""))};Object.defineProperties(g.prototype,f);let w=g();w.supportsColor=o,w.stderr=g({level:a?a.level:0}),w.stderr.supportsColor=a,e.exports=w},9515:function(e){"use strict";let t=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,r=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,o=new Map([["n","\n"],["r","\r"],["t","	"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1b"],["a","\x07"]]);function a(e){let t="u"===e[0],n="{"===e[1];return t&&!n&&5===e.length||"x"===e[0]&&3===e.length?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):o.get(e)||e}function s(e,t){let n;let o=[];for(let s of t.trim().split(/\s*,\s*/g)){let t=Number(s);if(Number.isNaN(t)){if(n=s.match(r))o.push(n[2].replace(i,(e,t,n)=>t?a(t):n));else throw Error(`Invalid Chalk template style argument: ${s} (in style '${e}')`)}else o.push(t)}return o}function u(e){let t;n.lastIndex=0;let r=[];for(;null!==(t=n.exec(e));){let e=t[1];if(t[2]){let n=s(e,t[2]);r.push([e].concat(n))}else r.push([e])}return r}function l(e,t){let n={};for(let e of t)for(let t of e.styles)n[t[0]]=e.inverse?null:t.slice(1);let r=e;for(let[e,t]of Object.entries(n))if(Array.isArray(t)){if(!(e in r))throw Error(`Unknown Chalk style: ${e}`);r=t.length>0?r[e](...t):r[e]}return r}e.exports=(e,n)=>{let r=[],i=[],o=[];if(n.replace(t,(t,n,s,c,f,d)=>{if(n)o.push(a(n));else if(c){let t=o.join("");o=[],i.push(0===r.length?t:l(e,r)(t)),r.push({inverse:s,styles:u(c)})}else if(f){if(0===r.length)throw Error("Found extraneous } in Chalk template literal");i.push(l(e,r)(o.join(""))),o=[],r.pop()}else o.push(d)}),i.push(o.join("")),r.length>0)throw Error(`Chalk template literal is missing ${r.length} closing bracket${1===r.length?"":"s"} (\`}\`)`);return i.join("")}},3559:function(e){"use strict";let t=(e,t,n)=>{let r=e.indexOf(t);if(-1===r)return e;let i=t.length,o=0,a="";do a+=e.substr(o,r-o)+t+n,o=r+i,r=e.indexOf(t,o);while(-1!==r);return a+e.substr(o)},n=(e,t,n,r)=>{let i=0,o="";do{let a="\r"===e[r-1];o+=e.substr(i,(a?r-1:r)-i)+t+(a?"\r\n":"\n")+n,i=r+1,r=e.indexOf("\n",i)}while(-1!==r);return o+e.substr(i)};e.exports={stringReplaceAll:t,stringEncaseCRLFWithFirstIndex:n}},8168:function(e,t,n){let r=n(8874),i={};for(let e of Object.keys(r))i[r[e]]=e;let o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(let t of(e.exports=o,Object.keys(o))){if(!("channels"in o[t]))throw Error("missing channels property: "+t);if(!("labels"in o[t]))throw Error("missing channel labels property: "+t);if(o[t].labels.length!==o[t].channels)throw Error("channel and label counts mismatch: "+t);let{channels:e,labels:n}=o[t];delete o[t].channels,delete o[t].labels,Object.defineProperty(o[t],"channels",{value:e}),Object.defineProperty(o[t],"labels",{value:n})}function a(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}o.rgb.hsl=function(e){let t,n;let r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),u=s-a;s===a?t=0:r===s?t=(i-o)/u:i===s?t=2+(o-r)/u:o===s&&(t=4+(r-i)/u),(t=Math.min(60*t,360))<0&&(t+=360);let l=(a+s)/2;return[t,100*(n=s===a?0:l<=.5?u/(s+a):u/(2-s-a)),100*l]},o.rgb.hsv=function(e){let t,n,r,i,o;let a=e[0]/255,s=e[1]/255,u=e[2]/255,l=Math.max(a,s,u),c=l-Math.min(a,s,u),f=function(e){return(l-e)/6/c+.5};return 0===c?(i=0,o=0):(o=c/l,t=f(a),n=f(s),r=f(u),a===l?i=r-n:s===l?i=1/3+t-r:u===l&&(i=2/3+n-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*o,100*l]},o.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,i=Math.min(1-t,1-n,1-r);return[100*((1-t-i)/(1-i)||0),100*((1-n-i)/(1-i)||0),100*((1-r-i)/(1-i)||0),100*i]}
11,o.rgb.keyword=function(e){let t;let n=i[e];if(n)return n;let o=1/0;for(let n of Object.keys(r)){let i=a(e,r[n]);i<o&&(o=i,t=n)}return t},o.keyword.rgb=function(e){return r[e]},o.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?((t+.055)/1.055)**2.4:t/12.92)+.3576*(n=n>.04045?((n+.055)/1.055)**2.4:n/12.92)+.1805*(r=r>.04045?((r+.055)/1.055)**2.4:r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){let t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return n/=95.047,r/=100,i/=108.883,[116*(r=r>.008856?r**(1/3):7.787*r+16/116)-16,500*((n=n>.008856?n**(1/3):7.787*n+16/116)-r),200*(r-(i=i>.008856?i**(1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){let t,n,r;let i=e[0]/360,o=e[1]/100,a=e[2]/100;if(0===o)return[r=255*a,r,r];t=a<.5?a*(1+o):a+o-a*o;let s=2*a-t,u=[0,0,0];for(let e=0;e<3;e++)(n=i+-(1/3*(e-1)))<0&&n++,n>1&&n--,r=6*n<1?s+(t-s)*6*n:2*n<1?t:3*n<2?s+(t-s)*(2/3-n)*6:s,u[e]=255*r;return u},o.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,i=n,o=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,i*=o<=1?o:2-o;let a=(r+n)/2;return[t,100*(0===r?2*i/(o+i):2*n/(r+n)),100*a]},o.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},o.hsv.hsl=function(e){let t,n;let r=e[0],i=e[1]/100,o=e[2]/100,a=Math.max(o,.01);n=(2-i)*o;let s=(2-i)*a;return[r,100*(t=(t=i*a/(s<=1?s:2-s))||0),100*(n/=2)]},o.hwb.rgb=function(e){let t,n,r,i;let o=e[0]/360,a=e[1]/100,s=e[2]/100,u=a+s;u>1&&(a/=u,s/=u);let l=Math.floor(6*o),c=1-s;t=6*o-l,(1&l)!=0&&(t=1-t);let f=a+t*(c-a);switch(l){default:case 6:case 0:n=c,r=f,i=a;break;case 1:n=f,r=c,i=a;break;case 2:n=a,r=c,i=f;break;case 3:n=a,r=f,i=c;break;case 4:n=f,r=a,i=c;break;case 5:n=c,r=a,i=f}return[255*n,255*r,255*i]},o.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){let t,n,r;let i=e[0]/100,o=e[1]/100,a=e[2]/100;return t=(t=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*t**(1/2.4)-.055:12.92*t,n=(n=-.9689*i+1.8758*o+.0415*a)>.0031308?1.055*n**(1/2.4)-.055:12.92*n,r=(r=.0557*i+-.204*o+1.057*a)>.0031308?1.055*r**(1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,[116*(n=n>.008856?n**(1/3):7.787*n+16/116)-16,500*((t=t>.008856?t**(1/3):7.787*t+16/116)-n),200*(n-(r=r>.008856?r**(1/3):7.787*r+16/116))]},o.lab.xyz=function(e){let t,n,r;let i=e[0],o=e[1],a=e[2];t=o/500+(n=(i+16)/116),r=n-a/200;let s=n**3,u=t**3,l=r**3;return n=(s>.008856?s:(n-16/116)/7.787)*100,[t=(u>.008856?u:(t-16/116)/7.787)*95.047,n,r=(l>.008856?l:(r-16/116)/7.787)*108.883]},o.lab.lch=function(e){let t;let n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},o.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},o.rgb.ansi16=function(e,t=null){let[n,r,i]=e,a=null===t?o.rgb.hsv(e)[2]:t;if(0===(a=Math.round(a/50)))return 30;let s=30+(Math.round(i/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return 2===a&&(s+=60),s},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){let t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];let n=(~~(e>50)+1)*.5;return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){let t;if(e>=232){let t=(e-232)*10+8;return[t,t,t]}return[Math.floor((e-=16)/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},o.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];3===t[0].length&&(n=n.split("").map(e=>e+e).join(""));let r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){let t,n;
11let r=e[0]/255,i=e[1]/255,o=e[2]/255,a=Math.max(Math.max(r,i),o),s=Math.min(Math.min(r,i),o),u=a-s;return t=u<1?s/(1-u):0,[360*(n=(u<=0?0:a===r?(i-o)/u%6:a===i?2+(o-r)/u:4+(r-i)/u)/6%1),100*u,100*t]},o.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),i=0;return r<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];let i=[0,0,0],o=t%1*6,a=o%1,s=1-a,u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=s,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=s,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=s}return u=(1-n)*r,[(n*i[0]+u)*255,(n*i[1]+u)*255,(n*i[2]+u)*255]},o.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],(n-t)*100,(1-n)*100]},o.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=function(e){return[0,0,e[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},2085:function(e,t,n){let r=n(8168),i=n(4111),o={};function a(e){let t=function(...t){let n=t[0];return null==n?n:(n.length>1&&(t=n),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function s(e){let t=function(...t){let n=t[0];if(null==n)return n;n.length>1&&(t=n);let r=e(t);if("object"==typeof r)for(let e=r.length,t=0;t<e;t++)r[t]=Math.round(r[t]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}Object.keys(r).forEach(e=>{o[e]={},Object.defineProperty(o[e],"channels",{value:r[e].channels}),Object.defineProperty(o[e],"labels",{value:r[e].labels});let t=i(e);Object.keys(t).forEach(n=>{let r=t[n];o[e][n]=s(r),o[e][n].raw=a(r)})}),e.exports=o},4111:function(e,t,n){let r=n(8168);function i(){let e={},t=Object.keys(r);for(let n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function o(e){let t=i(),n=[e];for(t[e].distance=0;n.length;){let e=n.pop(),i=Object.keys(r[e]);for(let r=i.length,o=0;o<r;o++){let r=i[o],a=t[r];-1===a.distance&&(a.distance=t[e].distance+1,a.parent=e,n.unshift(r))}}return t}function a(e,t){return function(n){return t(e(n))}}function s(e,t){let n=[t[e].parent,e],i=r[t[e].parent][e],o=t[e].parent;for(;t[o].parent;)n.unshift(t[o].parent),i=a(r[t[o].parent][o],i),o=t[o].parent;return i.conversion=n,i}e.exports=function(e){let t=o(e),n={},r=Object.keys(t);for(let e=r.length,i=0;i<e;i++){let e=r[i];null!==t[e].parent&&(n[e]=s(e,t))}return n}},8874:function(e){"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
11ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},6489:function(e,t){"use strict";n=l,n=d;var n,r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,o=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,a=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,u=/^[\u0020-\u003A\u003D-\u007E]*$/;function l(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},r=e.length;if(r<2)return n;var o=t&&t.decode||h,a=0,s=0,u=0;do{if(-1===(s=e.indexOf("=",a)))break;if(-1===(u=e.indexOf(";",a)))u=r;else if(s>u){a=e.lastIndexOf(";",s-1)+1;continue}var l=c(e,a,s),d=f(e,s,l),p=e.slice(l,d);if(!i.call(n,p)){var m=c(e,s+1,u),v=f(e,u,m);34===e.charCodeAt(m)&&34===e.charCodeAt(v-1)&&(m++,v--);var y=e.slice(m,v);n[p]=g(y,o)}a=u+1}while(a<r);return n}function c(e,t,n){do{var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<n);return n}function f(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return n}function d(e,t,n){var r=n&&n.encode||encodeURIComponent;if("function"!=typeof r)throw TypeError("option encode is invalid");if(!o.test(e))throw TypeError("argument name is invalid");var i=r(t);if(!a.test(i))throw TypeError("argument val is invalid");var l=e+"="+i;if(!n)return l;if(null!=n.maxAge){var c=Math.floor(n.maxAge);if(!isFinite(c))throw TypeError("option maxAge is invalid");l+="; Max-Age="+c}if(n.domain){if(!s.test(n.domain))throw TypeError("option domain is invalid");l+="; Domain="+n.domain}if(n.path){if(!u.test(n.path))throw TypeError("option path is invalid");l+="; Path="+n.path}if(n.expires){var f=n.expires;if(!p(f)||isNaN(f.valueOf()))throw TypeError("option expires is invali
11d");l+="; Expires="+f.toUTCString()}if(n.httpOnly&&(l+="; HttpOnly"),n.secure&&(l+="; Secure"),n.partitioned&&(l+="; Partitioned"),n.priority)switch("string"==typeof n.priority?n.priority.toLowerCase():n.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l}function h(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}function p(e){return"[object Date]"===r.call(e)}function g(e,t){try{return t(e)}catch(t){return e}}},9996:function(e){"use strict";var t=function(e){return n(e)&&!r(e)};function n(e){return!!e&&"object"==typeof e}function r(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||o(e)}var i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function o(e){return e.$$typeof===i}function a(e){return Array.isArray(e)?[]:{}}function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?g(a(e),e,t):e}function u(e,t,n){return e.concat(t).map(function(e){return s(e,n)})}function l(e,t){if(!t.customMerge)return g;var n=t.customMerge(e);return"function"==typeof n?n:g}function c(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function f(e){return Object.keys(e).concat(c(e))}function d(e,t){try{return t in e}catch(e){return!1}}function h(e,t){return d(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function p(e,t,n){var r={};return n.isMergeableObject(e)&&f(e).forEach(function(t){r[t]=s(e[t],n)}),f(t).forEach(function(i){h(e,i)||(d(e,i)&&n.isMergeableObject(t[i])?r[i]=l(i,n)(e[i],t[i],n):r[i]=s(t[i],n))}),r}function g(e,n,r){(r=r||{}).arrayMerge=r.arrayMerge||u,r.isMergeableObject=r.isMergeableObject||t,r.cloneUnlessOtherwiseSpecified=s;var i=Array.isArray(n);return i!==Array.isArray(e)?s(n,r):i?r.arrayMerge(e,n,r):p(e,n,r)}g.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return g(e,n,t)},{})};var m=g;e.exports=m},6932:function(e,t,n){"use strict";let r=n(8501),i=n(8844),o=n(1192);e.exports={XMLParser:i,XMLValidator:r,XMLBuilder:o}},2694:function(e){function t(e){return"function"==typeof e?e:Array.isArray(e)?t=>{for(let n of e)if("string"==typeof n&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}e.exports=t},7849:function(e,t){"use strict";let n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",i="["+n+"]["+r+"]*",o=RegExp("^"+i+"$"),a=function(e,t){let n=[],r=t.exec(e);for(;r;){let i=[];i.startIndex=t.lastIndex-r[0].length;let o=r.length;for(let e=0;e<o;e++)i.push(r[e]);n.push(i),r=t.exec(e)}return n},s=function(e){return null!=o.exec(e)};t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,n){if(t){let r=Object.keys(t),i=r.length;for(let o=0;o<i;o++)"strict"===n?e[r[o]]=[t[r[o]]]:e[r[o]]=t[r[o]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=s,t.getAllMatches=a,t.nameRegexp=i},8501:function(e,t,n){"use strict";let r=n(7849),i={allowBooleanAttributes:!1,unpairedTags:[]};function o(e){return" "===e||"	"===e||"\n"===e||"\r"===e}function a(e,t){let n=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let r=e.substr(n,t-n);if(t>5&&"xml"===r)return g("InvalidXml","XML declaration allowed only at the start of the document.",y(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&0==--n)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}t.validate=function(e,t){t=Object.assign({},i,t);let n=[],r=!1,u=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let i=0;i<e.length;i++)if("<"===e[i]&&"?"===e[i+1]){if(i+=2,(i=a(e,i)).err)return i}else if("<"===e[i]){let l=i;if("!"===e[++i]){i=s(e,i);continue}{let f=!1;"/"===e[i]&&(f=!0,i++);let h="";for(;i<e.length&&">"!==e[i]&&" "!==e[i]&&"	"!==e[i]&&"\n"!==e[i]&&"\r"!==e[i];i++)h+=e[i];if("/"===(h=h.trim())[h.length-1]&&(h=h.substring(0,h.length-1),i--),!v(h)){let t;return g("InvalidTag",t=0===h.trim().length?"Invalid space after '<'.":"Tag '"+h+"' is an invali
11d name.",y(e,i))}let m=c(e,i);if(!1===m)return g("InvalidAttr","Attributes for '"+h+"' have open quote.",y(e,i));let b=m.value;if(i=m.index,"/"===b[b.length-1]){let n=i-b.length,o=d(b=b.substring(0,b.length-1),t);if(!0!==o)return g(o.err.code,o.err.msg,y(e,n+o.err.line));r=!0}else if(f){if(!m.tagClosed)return g("InvalidTag","Closing tag '"+h+"' doesn't have proper closing.",y(e,i));if(b.trim().length>0)return g("InvalidTag","Closing tag '"+h+"' can't have attributes or invalid starting.",y(e,l));{if(0===n.length)return g("InvalidTag","Closing tag '"+h+"' has not been opened.",y(e,l));let t=n.pop();if(h!==t.tagName){let n=y(e,t.tagStartPos);return g("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+h+"'.",y(e,l))}0==n.length&&(u=!0)}}else{let o=d(b,t);if(!0!==o)return g(o.err.code,o.err.msg,y(e,i-b.length+o.err.line));if(!0===u)return g("InvalidXml","Multiple possible root nodes found.",y(e,i));-1!==t.unpairedTags.indexOf(h)||n.push({tagName:h,tagStartPos:l}),r=!0}for(i++;i<e.length;i++)if("<"===e[i]){if("!"===e[i+1]){i=s(e,++i);continue}if("?"===e[i+1]){if((i=a(e,++i)).err)return i}else break}else if("&"===e[i]){let t=p(e,i);if(-1==t)return g("InvalidChar","char '&' is not expected.",y(e,i));i=t}else if(!0===u&&!o(e[i]))return g("InvalidXml","Extra text at the end",y(e,i));"<"===e[i]&&i--}}else{if(o(e[i]))continue;return g("InvalidChar","char '"+e[i]+"' is not expected.",y(e,i))}return r?1==n.length?g("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",y(e,n[0].tagStartPos)):!(n.length>0)||g("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):g("InvalidXml","Start tag expected.",1)};let u='"',l="'";function c(e,t){let n="",r="",i=!1;for(;t<e.length;t++){if(e[t]===u||e[t]===l)""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){i=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:i}}let f=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function d(e,t){let n=r.getAllMatches(e,f),i={};for(let e=0;e<n.length;e++){if(0===n[e][1].length)return g("InvalidAttr","Attribute '"+n[e][2]+"' has no space in starting.",b(n[e]));if(void 0!==n[e][3]&&void 0===n[e][4])return g("InvalidAttr","Attribute '"+n[e][2]+"' is without value.",b(n[e]));if(void 0===n[e][3]&&!t.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+n[e][2]+"' is not allowed.",b(n[e]));let r=n[e][2];if(!m(r))return g("InvalidAttr","Attribute '"+r+"' is an invalid name.",b(n[e]));if(i.hasOwnProperty(r))return g("InvalidAttr","Attribute '"+r+"' is repeated.",b(n[e]));i[r]=1}return!0}function h(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return -1}function p(e,t){if(";"===e[++t])return -1;if("#"===e[t])return h(e,++t);let n=0;for(;t<e.length;t++,n++)if(!e[t].match(/\w/)||!(n<20)){if(";"===e[t])break;return -1}return t}function g(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function m(e){return r.isName(e)}function v(e){return r.isName(e)}function y(e,t){let n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function b(e){return e.startIndex+e[1].length}},1192:function(e,t,n){"use strict";let r=n(2592),i=n(2694),o={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function a(e){this.options=Object.assign({},o,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=i(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=s,this.options.format?(this.indentate=u,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(e,t,n,r){let i=this.j2x(e,n+1,r.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNo
11de(e[this.options.textNodeName],t,i.attrStr,n):this.buildObjectNode(i.val,t,i.attrStr,n)}function u(e){return this.options.indentBy.repeat(e)}function l(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}a.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},a.prototype.j2x=function(e,t,n){let r="",i="",o=n.join(".");for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)){if(void 0===e[a])this.isAttribute(a)&&(i+="");else if(null===e[a])this.isAttribute(a)?i+="":a===this.options.cdataPropName?i+="":"?"===a[0]?i+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if(e[a]instanceof Date)i+=this.buildTextValNode(e[a],a,"",t);else if("object"!=typeof e[a]){let n=this.isAttribute(a);if(n&&!this.ignoreAttributesFn(n,o))r+=this.buildAttrPairStr(n,""+e[a]);else if(!n){if(a===this.options.textNodeName){let t=this.options.tagValueProcessor(a,""+e[a]);i+=this.replaceEntitiesValue(t)}else i+=this.buildTextValNode(e[a],a,"",t)}}else if(Array.isArray(e[a])){let r=e[a].length,o="",s="";for(let u=0;u<r;u++){let r=e[a][u];if(void 0===r);else if(null===r)"?"===a[0]?i+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:i+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if("object"==typeof r){if(this.options.oneListGroup){let e=this.j2x(r,t+1,n.concat(a));o+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else o+=this.processTextOrObjNode(r,a,t,n)}else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(a,r);o+=e=this.replaceEntitiesValue(e)}else o+=this.buildTextValNode(r,a,"",t)}this.options.oneListGroup&&(o=this.buildObjectNode(o,a,s,t)),i+=o}else if(this.options.attributesGroupName&&a===this.options.attributesGroupName){let t=Object.keys(e[a]),n=t.length;for(let i=0;i<n;i++)r+=this.buildAttrPairStr(t[i],""+e[a][t[i]])}else i+=this.processTextOrObjNode(e[a],a,t,n)}return{attrStr:r,val:i}},a.prototype.buildAttrPairStr=function(e,t){return(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+t+'"'},a.prototype.buildObjectNode=function(e,t,n,r){if(""===e)return"?"===t[0]?this.indentate(r)+"<"+t+n+"?"+this.tagEndChar:this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar;{let i="</"+t+this.tagEndChar,o="";return("?"===t[0]&&(o="?",i=""),(n||""===n)&&-1===e.indexOf("<"))?this.indentate(r)+"<"+t+n+o+">"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===o.length?this.indentate(r)+`<!--${e}-->`+this.newLine:this.indentate(r)+"<"+t+n+o+this.tagEndChar+e+this.indentate(r)+i}},a.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},a.prototype.buildTextValNode=function(e,t,n,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`<!--${e}-->`+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+n+"?"+this.tagEndChar;{let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(r)+"<"+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+n+">"+i+"</"+t+this.tagEndChar}},a.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let n=this.options.entities[t];e=e.replace(n.regex,n.val)}return e},e.exports=a},2592:function(e){let t="\n";function n(e,n){let i="";return n.format&&n.indentBy.length>0&&(i=t),r(e,n,"",i)}function r(e,t,n,u){let l="",c=!1;for(let f=0;f<e.length;f++){let d=e[f],h=i(d);if(void 0===h)continue;let p="";if(p=0===n.length?h:`${n}.${h}`,h===t.textNodeName){let e=d[h];a(p,t)||(e=s(e=t.tagValueProcessor(h,e),t)),c&&(l+=u),l+=e,c=!1;continue}if(h===t.cdataPropName){c&&(l+=u),l+=`<![CDATA[${d[h][0][t.textNodeName]}]]>`,c=!1;continue}
11if(h===t.commentPropName){l+=u+`<!--${d[h][0][t.textNodeName]}-->`,c=!0;continue}if("?"===h[0]){let e=o(d[":@"],t),n="?xml"===h?"":u,r=d[h][0][t.textNodeName];r=0!==r.length?" "+r:"",l+=n+`<${h}${r}${e}?>`,c=!0;continue}let g=u;""!==g&&(g+=t.indentBy);let m=o(d[":@"],t),v=u+`<${h}${m}`,y=r(d[h],t,p,g);-1!==t.unpairedTags.indexOf(h)?t.suppressUnpairedNode?l+=v+">":l+=v+"/>":(!y||0===y.length)&&t.suppressEmptyNode?l+=v+"/>":y&&y.endsWith(">")?l+=v+`>${y}${u}</${h}>`:(l+=v+">",y&&""!==u&&(y.includes("/>")||y.includes("</"))?l+=u+t.indentBy+y+u:l+=y,l+=`</${h}>`),c=!0}return l}function i(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];if(e.hasOwnProperty(r)&&":@"!==r)return r}}function o(e,t){let n="";if(e&&!t.ignoreAttributes)for(let r in e){if(!e.hasOwnProperty(r))continue;let i=t.attributeValueProcessor(r,e[r]);!0===(i=s(i,t))&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${i}"`}return n}function a(e,t){let n=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]==="*."+n)return!0;return!1}function s(e,t){if(e&&e.length>0&&t.processEntities)for(let n=0;n<t.entities.length;n++){let r=t.entities[n];e=e.replace(r.regex,r.val)}return e}e.exports=n},4780:function(e,t,n){let r=n(7849);function i(e,t){let n={};if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let r=1,i=!1,d=!1,h="";for(;t<e.length;t++)if("<"!==e[t]||d){if(">"===e[t]){if(d?"-"===e[t-1]&&"-"===e[t-2]&&(d=!1,r--):r--,0===r)break}else"["===e[t]?i=!0:h+=e[t]}else{if(i&&s(e,t)){let r,i;t+=7,[r,i,t]=o(e,t+1),-1===i.indexOf("&")&&(n[f(r)]={regx:RegExp(`&${r};`,"g"),val:i})}else if(i&&u(e,t))t+=8;else if(i&&l(e,t))t+=8;else if(i&&c(e,t))t+=9;else if(a)d=!0;else throw Error("Invalid DOCTYPE");r++,h=""}if(0!==r)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:n,i:t}}function o(e,t){let n="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(-1!==(n=n.trim()).indexOf(" "))throw Error("External entites are not supported");let r=e[t++],i="";for(;t<e.length&&e[t]!==r;t++)i+=e[t];return[n,i,t]}function a(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function s(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}function u(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}function l(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}function c(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}function f(e){if(r.isName(e))return e;throw Error(`Invalid entity name ${e}`)}e.exports=i},6745:function(e,t){let n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e}},r=function(e){return Object.assign({},n,e)};t.buildOptions=r,t.defaultOptions=n},1078:function(e,t,n){"use strict";let r=n(7849),i=n(6311),o=n(4780),a=n(4153),s=n(2694);class u{constructor(e){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(e,t)=>String.fromCharCode(Number.parseInt(t,16))}},this.addExternalEntities=l,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=f,this.buildAttributesMap=h,this.isItStopNode=y,this.replaceEntitiesValue=m,this.readStopNodeData=w,this.saveTextToParentTag=v,this.addChild=g,this.ignoreAttributesFn=s(this.options.ignoreAttributes)}}function l(e){let t=Object.keys(e);for(let n=0;n<t.length;n++){let r=t[n];this.lastEntities[r]={regex:RegExp("&"+r+";","g"),val:e[r]}}}function c(e,t,n,r,i,o,a){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));let r=this.options.tagValueProcessor(t,e,n,i,o);return null==r?e:typeof r!=typeof e||r!==e?r:this.options.trimValues?E(e,this.options.parseTagValue,this.options.numberParseOptions):e.trim()===e?E(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function f(e){if(this.options.removeNSPrefix){let t=e.split(":"),n="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=n+t[1])}return e}let d=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function h(e,t,n){if(!0!==this.options.ignoreAttributes&&"string"==typeof e){let n=r.getAllMatches(e,d),i=n.length,o={};for(let e=0;e<i;e++){let r=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(r,t))continue;let i=n[e][4],a=this.options.attributeNamePrefix+r;if(r.length){if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==i){this.options.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i);let e=this.options.attributeValueProcessor(r,i,t);null==e?o[a]=i:typeof e!=typeof i||e!==i?o[a]=e:o[a]=E(i,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[a]=!0)}}if(Object.keys(o).length){if(this.options.attributesGroupName){let e={};return e[this.options.attributesGroupName]=o,e}return o}}}let p=function(e){e=e.replace(/\r\n?/g,"\n");let t=new i("!xml"),n=t,r="",a="";for(let s=0;s<e.length;
11s++)if("<"===e[s]){if("/"===e[s+1]){let t=_(e,">",s,"Closing Tag is not closed."),i=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){let e=i.indexOf(":");-1!==e&&(i=i.substr(e+1))}this.options.transformTagName&&(i=this.options.transformTagName(i)),n&&(r=this.saveTextToParentTag(r,n,a));let o=a.substring(a.lastIndexOf(".")+1);if(i&&-1!==this.options.unpairedTags.indexOf(i))throw Error(`Unpaired tag can not be used as closing tag: </${i}>`);let u=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(u=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):u=a.lastIndexOf("."),a=a.substring(0,u),n=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=T(e,s,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,n,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{let e=new i(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(n,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){let t=_(e,"-->",s+4,"Comment is not closed.");if(this.options.commentPropName){let i=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,a),n.add(this.options.commentPropName,[{[this.options.textNodeName]:i}])}s=t}else if("!D"===e.substr(s+1,2)){let t=o(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){let t=_(e,"]]>",s,"CDATA is not closed.")-2,i=e.substring(s+9,t);r=this.saveTextToParentTag(r,n,a);let o=this.parseTextData(i,n.tagname,a,!0,!1,!0,!0);void 0==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:i}]):n.add(this.options.textNodeName,o),s=t+2}else{let o=T(e,s,this.options.removeNSPrefix),u=o.tagName,l=o.rawTagName,c=o.tagExp,f=o.attrExpPresent,d=o.closeIndex;this.options.transformTagName&&(u=this.options.transformTagName(u)),n&&r&&"!xml"!==n.tagname&&(r=this.saveTextToParentTag(r,n,a,!1));let h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),u!==t.tagname&&(a+=a?"."+u:u),this.isItStopNode(this.options.stopNodes,a,u)){let t="";if(c.length>0&&c.lastIndexOf("/")===c.length-1)"/"===u[u.length-1]?(u=u.substr(0,u.length-1),a=a.substr(0,a.length-1),c=u):c=c.substr(0,c.length-1),s=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(u))s=o.closeIndex;else{let n=this.readStopNodeData(e,l,d+1);if(!n)throw Error(`Unexpected end of ${l}`);s=n.i,t=n.tagContent}let r=new i(u);u!==c&&f&&(r[":@"]=this.buildAttributesMap(c,a,u)),t&&(t=this.parseTextData(t,u,a,!0,f,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(n,r,a)}else{if(c.length>0&&c.lastIndexOf("/")===c.length-1){"/"===u[u.length-1]?(u=u.substr(0,u.length-1),a=a.substr(0,a.length-1),c=u):c=c.substr(0,c.length-1),this.options.transformTagName&&(u=this.options.transformTagName(u));let e=new i(u);u!==c&&f&&(e[":@"]=this.buildAttributesMap(c,a,u)),this.addChild(n,e,a),a=a.substr(0,a.lastIndexOf("."))}else{let e=new i(u);this.tagsNodeStack.push(n),u!==c&&f&&(e[":@"]=this.buildAttributesMap(c,a,u)),this.addChild(n,e,a),n=e}r="",s=d}}}else r+=e[s];return t.child};function g(e,t,n){let r=this.options.updateTag(t.tagname,n,t[":@"]);!1===r||("string"==typeof r&&(t.tagname=r),e.addChild(t))}let m=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){let n=this.docTypeEntities[t];e=e.replace(n.regx,n.val)}for(let t in this.lastEntities){let n=this.lastEntities[t];e=e.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){let n=this.htmlEntities[t];e=e.replace(n.regex,n.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function v(e,t,n,r){return e&&(void 0===r&&(r=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,n,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function y(e,t,n){let r="*."+n;for(let n in e){let i=e[n];if(r===i||t===i)return!0}return!1}function b(e,t,n=">"){let r;let i="";for(let o=t;o<e.length;o++){let t=e[o];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===n[0]){if(!n[1]||e[o+1]===n[1])return{data:i,index:o}}else"	"===t&&(t=" ");i+=t}}function _(e,t,n,r){let i=e.indexOf(t,n);if(-1!==i)return i+t.length-1;throw Error(r)}function T(e,t,n,r=">"){let i=b(e,t+1,r);if(!i)return;let o=i.data,a=i.index,s=o.search(/\s/),u=o,l=!0;-1!==s&&(u=o.substring(0,s),o=o.substring(s+1).trimStart());let c=u;if(n){let e=u.indexOf(":");-1!==e&&(l=(u=u.substr(e+1))!==i.data.substr(e+1))}return{tagName:u,tagExp:o,closeIndex:a,attrExpPresent:l,rawTagName:c}}function w(e,t,n){let r=n,i=1;for(;n<e.length;
11n++)if("<"===e[n]){if("/"===e[n+1]){let o=_(e,">",n,`${t} is not closed`);if(e.substring(n+2,o).trim()===t&&0==--i)return{tagContent:e.substring(r,n),i:o};n=o}else if("?"===e[n+1])n=_(e,"?>",n+1,"StopNode is not closed.");else if("!--"===e.substr(n+1,3))n=_(e,"-->",n+3,"StopNode is not closed.");else if("!["===e.substr(n+1,2))n=_(e,"]]>",n,"StopNode is not closed.")-2;else{let r=T(e,n,">");r&&((r&&r.tagName)===t&&"/"!==r.tagExp[r.tagExp.length-1]&&i++,n=r.closeIndex)}}}function E(e,t,n){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&a(e,n)}return r.isExist(e)?e:""}e.exports=u},8844:function(e,t,n){let{buildOptions:r}=n(6745),i=n(1078),{prettify:o}=n(6997),a=n(8501);class s{constructor(e){this.externalEntities={},this.options=r(e)}parse(e,t){if("string"==typeof e);else if(e.toString)e=e.toString();else throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let n=a.validate(e,t);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}let n=new i(this.options);n.addExternalEntities(this.externalEntities);let r=n.parseXml(e);return this.options.preserveOrder||void 0===r?r:o(r,this.options)}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}}e.exports=s},6997:function(e,t){"use strict";function n(e,t){return r(e,t)}function r(e,t,n){let s;let u={};for(let l=0;l<e.length;l++){let c=e[l],f=i(c),d="";if(d=void 0===n?f:n+"."+f,f===t.textNodeName)void 0===s?s=c[f]:s+=""+c[f];else if(void 0===f)continue;else if(c[f]){let e=r(c[f],t,d),n=a(e,t);c[":@"]?o(e,c[":@"],d,t):1!==Object.keys(e).length||void 0===e[t.textNodeName]||t.alwaysCreateTextNode?0===Object.keys(e).length&&(t.alwaysCreateTextNode?e[t.textNodeName]="":e=""):e=e[t.textNodeName],void 0!==u[f]&&u.hasOwnProperty(f)?(Array.isArray(u[f])||(u[f]=[u[f]]),u[f].push(e)):t.isArray(f,d,n)?u[f]=[e]:u[f]=e}}return"string"==typeof s?s.length>0&&(u[t.textNodeName]=s):void 0!==s&&(u[t.textNodeName]=s),u}function i(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let n=t[e];if(":@"!==n)return n}}function o(e,t,n,r){if(t){let i=Object.keys(t),o=i.length;for(let a=0;a<o;a++){let o=i[a];r.isArray(o,n+"."+o,!0,!0)?e[o]=[t[o]]:e[o]=t[o]}}}function a(e,t){let{textNodeName:n}=t,r=Object.keys(e).length;return 0===r||1===r&&(!!e[n]||"boolean"==typeof e[n]||0===e[n])}t.prettify=n},6311:function(e){"use strict";class t{constructor(e){this.tagname=e,this.child=[],this[":@"]={}}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child})}}e.exports=t},8806:function(e,t,n){"use strict";n.d(t,{Ps:function(){return eo}});var r,i,o=n(7582);function a(e){return"object"==typeof e&&null!==e}function s(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}let u=/\r\n|[\n\r]/g;function l(e,t){let n=0,r=1;for(let i of e.body.matchAll(u)){if("number"==typeof i.index||s(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function c(e){return f(e.source,l(e.source,e.start))}function f(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,u=t.column+s,l=`${e.name}:${a}:${u}
12`,c=r.split(/\r\n|[\n\r]/g),f=c[i];if(f.length>120){let e=Math.floor(u/80),t=u%80,n=[];for(let e=0;e<f.length;e+=80)n.push(f.slice(e,e+80));return l+d([[`${a} |`,n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return l+d([[`${a-1} |`,c[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,c[i+1]]])}function d(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}function h(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}
12class p extends Error{constructor(e,...t){var n,r,i;let{nodes:o,source:s,positions:u,path:c,originalError:f,extensions:d}=h(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=f?f:void 0,this.nodes=g(Array.isArray(o)?o:o?[o]:void 0);let m=g(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==m?void 0:null===(r=m[0])||void 0===r?void 0:r.source,this.positions=null!=u?u:null==m?void 0:m.map(e=>e.start),this.locations=u&&s?u.map(e=>l(s,e)):null==m?void 0:m.map(e=>l(e.source,e.start));let v=a(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!==(i=null!=d?d:v)&&void 0!==i?i: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!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):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 t of this.nodes)t.loc&&(e+="\n\n"+c(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+f(this.source,t);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 g(e){return void 0===e||0===e.length?void 0:e}function m(e,t,n){return new p(`Syntax Error: ${n}`,{source:e,positions:[t]})}var v=n(2380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}));var y=n(7359),b=n(7392),_=n(8297);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(i||(i={}));class T{constructor(e){let t=new v.WU(i.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==i.EOF)do if(e.next)e=e.next;else{let t=N(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===i.COMMENT);return e}}function w(e){return e===i.BANG||e===i.DOLLAR||e===i.AMP||e===i.PAREN_L||e===i.PAREN_R||e===i.SPREAD||e===i.COLON||e===i.EQUALS||e===i.AT||e===i.BRACKET_L||e===i.BRACKET_R||e===i.BRACE_L||e===i.PIPE||e===i.BRACE_R}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function x(e,t){return C(e.charCodeAt(t))&&O(e.charCodeAt(t+1))}function C(e){return e>=55296&&e<=56319}function O(e){return e>=56320&&e<=57343}function k(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return i.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function P(e,t,n,r,i){let o=e.line,a=1+n-e.lineStart;return new v.WU(t,n,r,o,a,i)}function N(e,t){let n=e.source.body,r=n.length,o=t;for(;o<r;){let t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return S(e,o);case 33:return P(e,i.BANG,o,o+1);case 36:return P(e,i.DOLLAR,o,o+1);case 38:return P(e,i.AMP,o,o+1);case 40:return P(e,i.PAREN_L,o,o+1);case 41:return P(e,i.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return P(e,i.SPREAD,o,o+3);break;case 58:return P(e,i.COLON,o,o+1);case 61:return P(e,i.EQUALS,o,o+1);case 64:return P(e,i.AT,o,o+1);case 91:return P(e,i.BRACKET_L,o,o+1);case 93:return P(e,i.BRACKET_R,o,o+1);case 123:return P(e,i.BRACE_L,o,o+1);case 124:return P(e,i.PIPE,o,o+1);case 125:return P(e,i.BRACE_R,o,o+1);case 34:if(34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2))return U(e,o);return j(e,o)}if((0,_.X1)(t)||45===t)return I(e,o,t);if((0,_.LQ)(t))return q(e,o);throw m(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||x(n,o)?`Unexpected character: ${k(e,o)}.`:`Invalid character: ${k(e,o)}.`)}return P(e,i.EOF,r,r)}function S(e,t){let n=e.source.body,r=n.length,o=t+1;for(;o<r;){let e=n.charCodeAt(o);if(10===e||13===e)break;if(E(e))++o;else if(x(n,o))o+=2;else break}return P(e,i.COMMENT,t,o,n.slice(t+1,o))}function I(e,t,n){let r=e.source.body,o=t,a=n,s=!1;if(45===a&&(a=r.charCodeAt(++o)),48===a){if(a=r.charCodeAt(++o),(0,_.X1)(a))throw m(e.source,o,`Invalid number, unexpected digit after 0: ${k(e,o)}.`)}else o=M(e,o,a),a=r.charCodeAt(o);if(46===a&&(s=!0,a=r.charCodeAt(++o),o=M(e,o,a),a=r.charCodeAt(o)),(69===a||101===a)&&(s=!0,(43===(a=r.charCodeAt(++o))||45===a)&&(a=r.charCodeAt(++o)),o=M(e,o,a),a=r.charCodeAt(o)),46===a||(0,_.LQ)(a))throw m(e.source,o,`Invalid number, expected digit but got: ${k(e,o)}.`);return P(e,s?i.FLOAT:i.INT,t,o,r.slice(t,o))}function M(e,t,n){if(!(0,_.X1)(n))throw m(e.source,t,`Invalid number, expected digit but got: ${k(e,t)}.`);let r=e.source.body,i=t+1;for(;(0,_.X1)(r.charCodeAt(i));)++i;return i}function j(e,t){let n=e.source.body,r=n.length,o=t+1,a=o,s="";for(;o<r;){let r=n.charCodeAt(o);if(34===r)return s+=n.slice(a,o),P(e,i.STRING,t,o+1,s);if(92===r){s+=n.slice(a,o);let t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?A(e,o):D(e,o):L(e,o);s+=t.value,o+=t.size,a=o;continue}if(10===r||13===r)break;
12if(E(r))++o;else if(x(n,o))o+=2;else throw m(e.source,o,`Invalid character within String: ${k(e,o)}.`)}throw m(e.source,o,"Unterminated string.")}function A(e,t){let n=e.source.body,r=0,i=3;for(;i<12;){let e=n.charCodeAt(t+i++);if(125===e){if(i<5||!E(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|F(e))<0)break}throw m(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function D(e,t){let n=e.source.body,r=R(n,t+2);if(E(r))return{value:String.fromCodePoint(r),size:6};if(C(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=R(n,t+8);if(O(e))return{value:String.fromCodePoint(r,e),size:12}}throw m(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function R(e,t){return F(e.charCodeAt(t))<<12|F(e.charCodeAt(t+1))<<8|F(e.charCodeAt(t+2))<<4|F(e.charCodeAt(t+3))}function F(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function L(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){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 m(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function U(e,t){let n=e.source.body,r=n.length,o=e.lineStart,a=t+3,s=a,u="",l=[];for(;a<r;){let r=n.charCodeAt(a);if(34===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)){u+=n.slice(s,a),l.push(u);let r=P(e,i.BLOCK_STRING,t,a+3,(0,b.wv)(l).join("\n"));return e.line+=l.length-1,e.lineStart=o,r}if(92===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)&&34===n.charCodeAt(a+3)){u+=n.slice(s,a),s=a+1,a+=4;continue}if(10===r||13===r){u+=n.slice(s,a),l.push(u),13===r&&10===n.charCodeAt(a+1)?a+=2:++a,u="",s=a,o=a;continue}if(E(r))++a;else if(x(n,a))a+=2;else throw m(e.source,a,`Invalid character within String: ${k(e,a)}.`)}throw m(e.source,a,"Unterminated string.")}function q(e,t){let n=e.source.body,r=n.length,o=t+1;for(;o<r;){let e=n.charCodeAt(o);if((0,_.HQ)(e))++o;else break}return P(e,i.NAME,t,o,n.slice(t,o))}var Q=n(7826),B=n(5821);let z=globalThis.process?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){let t=(0,B.X)(e);throw Error(`Cannot use ${r} "${t}" from another module or realm.
13
14Ensure that there is only one instance of "graphql" in the node_modules
15directory. If different versions of "graphql" are the dependencies of other
16relied on modules, use "resolutions" to ensure only one version is installed.
17
18https://yarnpkg.com/en/docs/selective-version-resolutions
19
20Duplicate "graphql" modules cannot be used at the same time since different
21versions may have different capabilities and behavior. The data from one
22version used in the function from another could produce confusing and
23spurious results.`)}}return!1};class V{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,Q.a)(!1,`Body must be a string. Received: ${(0,B.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,Q.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,Q.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function G(e){return z(e,V)}function $(e,t){let n=new Y(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}class Y{constructor(e,t={}){let n=G(e)?e:new V(e);this._lexer=new T(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(i.NAME);return this.node(e,{kind:y.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.h.DOCUMENT,definitions:this.many(i.SOF,this.parseDefinition,i.EOF)})}parseDefinition(){if(this.peek(i.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===i.NAME){switch(t.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 m(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(i.BRACE_L))return this.node(t,{kind:y.h.OPERATION_DEFINITION,operation:v.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(i.NAME)&&(e=this.parseName()),this.node(t,{kind:y.h.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(i.NAME);switch(e.value){case"query":return v.ku.QUERY;case"mutation":return v.ku.MUTATION;case"subscription":return v.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(i.PAREN_L,this.parseVariableDefinition,i.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(i.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(i.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(i.DOLLAR),this.node(e,{kind:y.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.h.SELECTION_SET,selections:this.many(i.BRACE_L,this.parseSelection,i.BRACE_R)})}parseSelection(){return this.peek(i.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(i.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:y.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(i.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(i.PAREN_L,t,i.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:y.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(i.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(i.NAME)?this.node(e,{kind:y.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.h.INLINE_FRAGMENT,typeCondition:t?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:y.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:y.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 t=this._lexer.token;switch(t.kind){case i.BRACKET_L:return this.parseList(e);case i.BRACE_L:return this.parseObject(e);case i.INT:return this.advanceLexer(),this.node(t,{kind:y.h.INT,value:t.value});case i.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.h.FLOAT,value:t.value});case i.STRING:case i.BLOCK_STRING:return this.parseStringLiteral();case i.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.h.NULL});default:return this.node(t,{kind:y.h.ENUM,value:t.value})}case i.DOLLAR:if(e){if(this.expectToken(i.DOLLAR),this._lexer.token.kind===i.NAME){let e=this._lexer.token.value;throw m(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}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:y.h.STRING,value:e.value,block:e.kind===i.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:y.h.LIST,values:this.any(i.BRACKET_L,t,i.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:y.h.OBJECT,fields:this.any(i.BRACE_L,t,i.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:y.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(i.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(i.AT),this.node(t,{kind:y.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(i.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(i.BRACKET_R),e=this.node(t,{kind:y.h.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(i.BANG)?this.node(t,{kind:y.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:y.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(i.STRING)||this.peek(i.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);return this.node(e,{kind:y.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(i.COLON);let n=this.parseNamedType();return this.node(e,{kind:y.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(i.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseFieldDefinition,i.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(i.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:y.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(i.PAREN_L,this.parseInputValueDef,i.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(i.COLON);let o=this.parseTypeReference();this.expectOptionalToken(i.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:y.h.INPUT_VALUE_DEFINITION,description:n,name:r,type:o,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:y.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(i.EQUALS)?this.delimitedMany(i.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:y.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(i.BRACE_L,this.parseEnumValueDefinition,i.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw m(this._lexer.source,this._lexer.token.start,`${W(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseInputValueDef,i.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===i.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 t=this.parseConstDirectives(),n=this.optionalMany(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.toke
23n;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(i.AT);let n=this.parseName(),r=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:y.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(i.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(r,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new v.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw m(this._lexer.source,t.start,`Expected ${H(e)}, found ${W(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===i.NAME&&t.value===e)this.advanceLexer();else throw m(this._lexer.source,t.start,`Expected "${e}", found ${W(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===i.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return m(this._lexer.source,t.start,`Unexpected ${W(t)}.`)}any(e,t,n){this.expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==i.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw m(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function W(e){let t=e.value;return H(e.kind)+(null!=t?` "${t}"`:"")}function H(e){return w(e)?`"${e}"`:e}var Z=new Map,K=new Map,J=!0,X=!1;function ee(e){return e.replace(/[\s,]+/g," ").trim()}function et(e){return ee(e.source.body.substring(e.start,e.end))}function en(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=et(e.loc),o=K.get(r);o&&!o.has(i)?J&&console.warn("Warning: fragment with name "+r+" 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"):o||K.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e)}),(0,o.pi)((0,o.pi)({},e),{definitions:n})}function er(e){var t=new Set(e.definitions);t.forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function ei(e){var t=ee(e);
23if(!Z.has(t)){var n=$(e,{experimentalFragmentVariables:X,allowLegacyFragmentVariables:X});if(!n||"Document"!==n.kind)throw Error("Not a valid GraphQL document.");Z.set(t,er(en(n)))}return Z.get(t)}function eo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),ei(r)}var ea=eo,es=function(){Z.clear(),K.clear()},eu=function(){J=!1},el=function(){X=!0},ec=function(){X=!1};!function(e){e.gql=ea,e.resetCaches=es,e.disableFragmentWarnings=eu,e.enableExperimentalFragmentVariables=el,e.disableExperimentalFragmentVariables=ec}(eo||(eo={})),eo.default=eo},645:function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,d=23===i?5960464477539062e-23:0,h=r?0:o-1,p=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+f>=1?t+=d/u:t+=d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*g}},4301:function(e,t,n){n(6477),e.exports=self.fetch.bind(self)},2023:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__(3454);!function(){"use strict";var ERROR="input is invalid type",WINDOW="object"==typeof window,root=WINDOW?window:{};root.JS_SHA256_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"==typeof self,NODE_JS=!root.JS_SHA256_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS?root=__webpack_require__.g:WEB_WORKER&&(root=self);var COMMON_JS=!root.JS_SHA256_NO_COMMON_JS&&module.exports,AMD=__webpack_require__.amdO,ARRAY_BUFFER=!root.JS_SHA256_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],K=[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],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[];(root.JS_SHA256_NO_NODE_JS||!Array.isArray)&&(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),ARRAY_BUFFER&&(root.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW||!ArrayBuffer.isView)&&(ArrayBuffer.isView=function(e){return"object"==typeof e&&e.buffer&&e.buffer.constructor===ArrayBuffer});var createOutputMethod=function(e,t){return function(n){return new Sha256(t,!0).update(n)[e]()}},createMethod=function(e){var t=createOutputMethod("hex",e);NODE_JS&&(t=nodeWrap(t,e)),t.create=function(){return new Sha256(e)},t.update=function(e){return t.create().update(e)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createOutputMethod(r,e)}return t},nodeWrap=function(method,is224){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),algorithm=is224?"sha224":"sha256",nodeMethod=function(e){if("string"==typeof e)return crypto.createHash(algorithm).update(e,"utf8").digest("hex");if(null==e)throw Error(ERROR);return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash(algorithm).update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod},createHmacOutputMethod=function(e,t){return function(n,r){return new HmacSha256(n,t,!0).update(r)[e]()}},createHmacMethod=function(e){var t=createHmacOutputMethod("hex",e);t.create=function(t){return new HmacSha256(t,e)},t.update=function(e,n){return t.create(e).update(n)};for(var n=0;n<OUTPUT_TYPES.length;++n){var r=OUTPUT_TYPES[n];t[r]=createHmacOutputMethod(r,e)}return t};function Sha256(e,t){t?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],e?(this.h0=3238371032,this.h1=914150663,this.h2=812702999,this.h3=4144912697,this.h4=4290775857,this.h5=1750603025,this.h6=1694076839,this.h7=3204075428):(this.h0=1779033703,this.h1=3144134277,this.h2=1013904242,this.h3=2773480762,this.h4=1359893119,this.h5=2600822924,this.h6=528734635,this.h7=1541459225),this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0,this.is224=e}function HmacSha256(e,t,n){var r,i=typeof e;if("string"===i){var o,a=[],s=e.length,u=0;for(r=0;r<s;++r)(o=e.charCodeAt(r))<128?a[u++]=o:(o<2048?a[u++]=192|o>>6:(o<55296||o>=57344?a[u++]=224|o>>12:(o=65536+((1023&o)<<10|1023&e.charCodeAt(++r)),a[u++]=240|o>>18,a[u++]=128|o>>12&63),a[u++]=128|o>>6&63),a[u++]=128|63&o);e=a}else if("object"===i){if(null===e)throw Error(ERROR);
23if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw Error(ERROR)}else throw Error(ERROR);e.length>64&&(e=new Sha256(t,!0).update(e).array());var l=[],c=[];for(r=0;r<64;++r){var f=e[r]||0;l[r]=92^f,c[r]=54^f}Sha256.call(this,t,n),this.update(c),this.oKeyPad=l,this.inner=!0,this.sharedMemory=n}Sha256.prototype.update=function(e){if(!this.finalized){var t,n=typeof e;if("string"!==n){if("object"===n){if(null===e)throw Error(ERROR);if(ARRAY_BUFFER&&e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(!Array.isArray(e)&&(!ARRAY_BUFFER||!ArrayBuffer.isView(e)))throw Error(ERROR)}else throw Error(ERROR);t=!0}for(var r,i,o=0,a=e.length,s=this.blocks;o<a;){if(this.hashed&&(this.hashed=!1,s[0]=this.block,s[16]=s[1]=s[2]=s[3]=s[4]=s[5]=s[6]=s[7]=s[8]=s[9]=s[10]=s[11]=s[12]=s[13]=s[14]=s[15]=0),t)for(i=this.start;o<a&&i<64;++o)s[i>>2]|=e[o]<<SHIFT[3&i++];else for(i=this.start;o<a&&i<64;++o)(r=e.charCodeAt(o))<128?s[i>>2]|=r<<SHIFT[3&i++]:(r<2048?s[i>>2]|=(192|r>>6)<<SHIFT[3&i++]:(r<55296||r>=57344?s[i>>2]|=(224|r>>12)<<SHIFT[3&i++]:(r=65536+((1023&r)<<10|1023&e.charCodeAt(++o)),s[i>>2]|=(240|r>>18)<<SHIFT[3&i++],s[i>>2]|=(128|r>>12&63)<<SHIFT[3&i++]),s[i>>2]|=(128|r>>6&63)<<SHIFT[3&i++]),s[i>>2]|=(128|63&r)<<SHIFT[3&i++]);this.lastByteIndex=i,this.bytes+=i-this.start,i>=64?(this.block=s[16],this.start=i-64,this.hash(),this.hashed=!0):this.start=i}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha256.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha256.prototype.hash=function(){var e,t,n,r,i,o,a,s,u,l,c,f=this.h0,d=this.h1,h=this.h2,p=this.h3,g=this.h4,m=this.h5,v=this.h6,y=this.h7,b=this.blocks;for(e=16;e<64;++e)t=((i=b[e-15])>>>7|i<<25)^(i>>>18|i<<14)^i>>>3,n=((i=b[e-2])>>>17|i<<15)^(i>>>19|i<<13)^i>>>10,b[e]=b[e-16]+t+b[e-7]+n<<0;for(e=0,c=d&h;e<64;e+=4)this.first?(this.is224?(s=300032,y=(i=b[0]-1413257819)-150054599<<0,p=i+24177077<<0):(s=704751109,y=(i=b[0]-210244248)-1521486534<<0,p=i+143694565<<0),this.first=!1):(t=(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10),n=(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7),r=(s=f&d)^f&h^c,i=y+n+(a=g&m^~g&v)+K[e]+b[e],o=t+r,y=p+i<<0,p=i+o<<0),t=(p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10),n=(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7),r=(u=p&f)^p&d^s,i=v+n+(a=y&g^~y&m)+K[e+1]+b[e+1],o=t+r,v=h+i<<0,t=((h=i+o<<0)>>>2|h<<30)^(h>>>13|h<<19)^(h>>>22|h<<10),n=(v>>>6|v<<26)^(v>>>11|v<<21)^(v>>>25|v<<7),r=(l=h&p)^h&f^u,i=m+n+(a=v&y^~v&g)+K[e+2]+b[e+2],o=t+r,m=d+i<<0,t=((d=i+o<<0)>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10),n=(m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7),r=(c=d&h)^d&p^l,i=g+n+(a=m&v^~m&y)+K[e+3]+b[e+3],o=t+r,g=f+i<<0,f=i+o<<0;this.h0=this.h0+f<<0,this.h1=this.h1+d<<0,this.h2=this.h2+h<<0,this.h3=this.h3+p<<0,this.h4=this.h4+g<<0,this.h5=this.h5+m<<0,this.h6=this.h6+v<<0,this.h7=this.h7+y<<0},Sha256.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[i>>28&15]+HEX_CHARS[i>>24&15]+HEX_CHARS[i>>20&15]+HEX_CHARS[i>>16&15]+HEX_CHARS[i>>12&15]+HEX_CHARS[i>>8&15]+HEX_CHARS[i>>4&15]+HEX_CHARS[15&i]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]+HEX_CHARS[a>>28&15]+HEX_CHARS[a>>24&15]+HEX_CHARS[a>>20&15]+HEX_CHARS[a>>16&15]+HEX_CHARS[a>>12&15]+HEX_CHARS[a>>8&15]+HEX_CHARS[a>>4&15]+HEX_CHARS[15&a];return this.is224||(u+=HEX_CHARS[s>>28&15]+HEX_CHARS[s>>24&15]+HEX_CHARS[s>>20&15]+HEX_CHARS[s>>16&15]+HEX_CHARS[s>>12&15]+HEX_CHARS[s>>8&15]+HEX_CHARS[s>>4&15]+HEX_CHARS[15&s]),u},Sha256.prototype.toString=Sha256.prototype.hex,Sha256.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,n=this.h2,r=this.h3,i=this.h4,o=this.h5,a=this.h6,s=this.h7,u=[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,n>>24&255,n>>16&255,n>>8&255,255&n,r>>24&255,r>>16&255,r>>8&255,255&r,i>>24&255,i>>16&255,i>>8&255,255&i,o>>24&255,o>>16&255,o>>8&255,255&o,a>>24&255,a>>16&255,a>>8&255,255&a];return this.is224||u.push(s>>24&255,s>>16&255,s>>8&255,255&s),u},Sha256.prototype.array=Sha256.prototype.digest,Sha256.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(this.is224?28:32),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),t.setUint32(20,this.h5),t.setUint32(24,this.h6),this.is224||t.setUint32(28,this.h7),e},HmacSha256.prototype=new Sha256,HmacSha256.prototype.finalize=function(){if(Sha256.prototype.finalize.call(this),this.inner){this.inner=!1;var e=this.array();Sha256.call(this,this.is224,this.sharedMemory),this.update(this.oKeyPad),this.update(e),Sha256.prototype.finalize.call(this)}};var exports=createMethod();exports.sha256=exports,exports.sha224=createMethod(!0),exports.sha256.hmac=createHmacMethod(),exports.sha224.hmac=createHmacMethod(!0),COMMON_JS?module.exports=exports:(root.sha256=exports.sha256,root.sha224=exports.sha224,AMD&&void 0!==(__WEBPACK_AMD_DEFINE_RESULT__=(function(){return exports}).call(exports,__webpack_require__,exports,module))&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}()},8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},8407:function(e,t,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=a,u.prototype.set=s,e.exports=u},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},8668:function(e,t,n){var r=n(3369),i=n(619),o=n(2385);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},6384:function(e,t,n){var r=n(8407),i=n(7465),o=n(3779),a=n(7599),s=n(4758),u=n(4309);function l(e){var t=this.__data__=new r(e);this.size=t.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,e.exports=l},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},9140:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}
23e.exports=t},4963:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}e.exports=t},4636:function(e,t,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),u=n(6719),l=Object.prototype.hasOwnProperty;function c(e,t){var n=o(e),c=!n&&i(e),f=!n&&!c&&a(e),d=!n&&!c&&!f&&u(e),h=n||c||f||d,p=h?r(e.length,String):[],g=p.length;for(var m in e)(t||l.call(e,m))&&!(h&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g)))&&p.push(m);return p}e.exports=c},9932:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}e.exports=t},2488:function(e){function t(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}e.exports=t},2908:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=t},4286:function(e){function t(e){return e.split("")}e.exports=t},4865:function(e,t,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;function a(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=a},8470:function(e,t,n){var r=n(7813);function i(e,t){for(var n=e.length;n--;
23)if(r(e[n][0],t))return n;return -1}e.exports=i},9465:function(e,t,n){var r=n(8777);function i(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=i},1848:function(e){function t(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}e.exports=t},8866:function(e,t,n){var r=n(2488),i=n(1469);function o(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}e.exports=o},4239:function(e,t,n){var r=n(2705),i=n(9607),o=n(2333),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;function l(e){return null==e?void 0===e?s:a:u&&u in Object(e)?i(e):o(e)}e.exports=l},2118:function(e,t,n){var r=n(1848),i=n(2722),o=n(2351);function a(e,t,n){return t==t?o(e,t,n):r(e,i,n)}e.exports=a},9454:function(e,t,n){var r=n(4239),i=n(7005),o="[object Arguments]";function a(e){return i(e)&&r(e)==o}e.exports=a},939:function(e,t,n){var r=n(2492),i=n(7005);function o(e,t,n,a,s){return e===t||(null!=e&&null!=t&&(i(e)||i(t))?r(e,t,n,a,o,s):e!=e&&t!=t)}e.exports=o},2492:function(e,t,n){var r=n(6384),i=n(7114),o=n(8351),a=n(6096),s=n(4160),u=n(1469),l=n(4144),c=n(6719),f=1,d="[object Arguments]",h="[object Array]",p="[object Object]",g=Object.prototype.hasOwnProperty;function m(e,t,n,m,v,y){var b=u(e),_=u(t),T=b?h:s(e),w=_?h:s(t);T=T==d?p:T,w=w==d?p:w;var E=T==p,x=w==p,C=T==w;if(C&&l(e)){if(!l(t))return!1;b=!0,E=!1}if(C&&!E)return y||(y=new r),b||c(e)?i(e,t,n,m,v,y):o(e,t,T,n,m,v,y);if(!(n&f)){var O=E&&g.call(e,"__wrapped__"),k=x&&g.call(t,"__wrapped__");
23if(O||k){var P=O?e.value():e,N=k?t.value():t;return y||(y=new r),v(P,N,n,m,y)}}return!!C&&(y||(y=new r),a(e,t,n,m,v,y))}e.exports=m},2722:function(e){function t(e){return e!=e}e.exports=t},8458:function(e,t,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,f=l.hasOwnProperty,d=RegExp("^"+c.call(f).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){return!(!o(e)||i(e))&&(r(e)?d:u).test(a(e))}e.exports=h},8749:function(e,t,n){var r=n(4239),i=n(1780),o=n(7005),a="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Function]",d="[object Map]",h="[object Number]",p="[object Object]",g="[object RegExp]",m="[object Set]",v="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",_="[object DataView]",T="[object Float64Array]",w="[object Int8Array]",E="[object Int16Array]",x="[object Int32Array]",C="[object Uint8Array]",O="[object Uint8ClampedArray]",k="[object Uint16Array]",P="[object Uint32Array]",N={};function S(e){return o(e)&&i(e.length)&&!!N[r(e)]}N["[object Float32Array]"]=N[T]=N[w]=N[E]=N[x]=N[C]=N[O]=N[k]=N[P]=!0,N[a]=N[s]=N[b]=N[u]=N[_]=N[l]=N[c]=N[f]=N[d]=N[h]=N[p]=N[g]=N[m]=N[v]=N[y]=!1,e.exports=S},280:function(e,t,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;function a(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=a},313:function(e,t,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;function s(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}e.exports=s},5976:function(e,t,n){var r=n(6557),i=n(5357),o=n(61);function a(e,t){return o(i(e,t,r),e+"")}e.exports=a},6560:function(e,t,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},4259:function(e){function t(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}e.exports=t},2545:function(e){function t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=t},531:function(e,t,n){var r=n(2705),i=n(9932),o=n(1469),a=n(3448),s=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;function c(e){if("string"==typeof e)return e;if(o(e))return i(e,c)+"";if(a(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},7561:function(e,t,n){var r=n(7990),i=/^\s+/;function o(e){return e?e.slice(0,r(e)+1).replace(i,""):e}e.exports=o},1717:function(e){function t(e){return function(t){return e(t)}}e.exports=t},4757:function(e){function t(e,t){return e.has(t)}e.exports=t},180:function(e,t,n){var r=n(4259);function i(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}e.exports=i},5512:function(e,t,n){var r=n(2118);function i(e,t){for(var n=e.length;n--&&r(t,e[n],0)>-1;);return n}e.exports=i},9817:function(e,t,n){var r=n(2118);function i(e,t){for(var n=-1,i=e.length;++n<i&&r(t,e[n],0)>-1;);return n}e.exports=i},8363:function(e,t,n){var r=n(4865),i=n(9465);function o(e,t,n,o){var a=!n;n||(n={});for(var s=-1,u=t.length;++s<u;){var l=t[s],c=o?o(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),a?i(n,l,c):r(n,l,c)}return n}e.exports=o},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),i=n(6612);function o(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var u=n[r];u&&e(t,u,r,a)}return t})}e.exports=o},8777:function(e,t,n){var r=n(852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},7114:function(e,t,n){var r=n(8668),i=n(2908),o=n(4757),a=1,s=2;function u(e,t,n,u,l,c){var f=n&a,d=e.length,h=t.length;if(d!=h&&!(f&&h>d))return!1;var p=c.get(e),g=c.get(t);if(p&&g)return p==t&&g==e;var m=-1,v=!0,y=n&s?new r:void 0;for(c.set(e,t),c.set(t,e);++m<d;){var b=e[m],_=t[m];
23if(u)var T=f?u(_,b,m,t,e,c):u(b,_,m,e,t,c);if(void 0!==T){if(T)continue;v=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(b===e||l(b,e,n,u,c)))return y.push(t)})){v=!1;break}}else if(!(b===_||l(b,_,n,u,c))){v=!1;break}}return c.delete(e),c.delete(t),v}e.exports=u},8351:function(e,t,n){var r=n(2705),i=n(9140),o=n(7813),a=n(7114),s=n(8776),u=n(1814),l=1,c=2,f="[object Boolean]",d="[object Date]",h="[object Error]",p="[object Map]",g="[object Number]",m="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",_="[object ArrayBuffer]",T="[object DataView]",w=r?r.prototype:void 0,E=w?w.valueOf:void 0;function x(e,t,n,r,w,x,C){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case _:if(e.byteLength!=t.byteLength||!x(new i(e),new i(t)))break;return!0;case f:case d:case g:return o(+e,+t);case h:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case p:var O=s;case v:var k=r&l;if(O||(O=u),e.size!=t.size&&!k)break;var P=C.get(e);if(P)return P==t;r|=c,C.set(e,t);var N=a(O(e),O(t),r,w,x,C);return C.delete(e),N;case b:if(E)return E.call(e)==E.call(t)}return!1}e.exports=x},6096:function(e,t,n){var r=n(8234),i=1,o=Object.prototype.hasOwnProperty;function a(e,t,n,a,s,u){var l=n&i,c=r(e),f=c.length;if(f!=r(t).length&&!l)return!1;for(var d=f;d--;){var h=c[d];if(!(l?h in t:o.call(t,h)))return!1}var p=u.get(e),g=u.get(t);if(p&&g)return p==t&&g==e;var m=!0;u.set(e,t),u.set(t,e);for(var v=l;++d<f;){var y=e[h=c[d]],b=t[h];if(a)var _=l?a(b,y,h,t,e,u):a(y,b,h,e,t,u);if(!(void 0===_?y===b||s(y,b,n,a,u):_)){m=!1;break}v||(v="constructor"==h)}if(m&&!v){var T=e.constructor,w=t.constructor;T!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof T&&T instanceof T&&"function"==typeof w&&w instanceof w)&&(m=!1)}return u.delete(e),u.delete(t),m}e.exports=a},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),i=n(9551),o=n(3674);function a(e){return r(e,o,i)}e.exports=a},5050:function(e,t,n){var r=n(7019);function i(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=i},852:function(e,t,n){var r=n(8458),i=n(7801);function o(e,t){var n=i(e,t);return r(n)?n:void 0}e.exports=o},9607:function(e,t,n){var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;function u(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}e.exports=u},9551:function(e,t,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i;e.exports=s},4160:function(e,t,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),u=n(4239),l=n(346),c="[object Map]",f="[object Object]",d="[object Promise]",h="[object Set]",p="[object WeakMap]",g="[object DataView]",m=l(r),v=l(i),y=l(o),b=l(a),_=l(s),T=u;(r&&T(new r(new ArrayBuffer(1)))!=g||i&&T(new i)!=c||o&&T(o.resolve())!=d||a&&T(new a)!=h||s&&T(new s)!=p)&&(T=function(e){var t=u(e),n=t==f?e.constructor:void 0,r=n?l(n):"";if(r)switch(r){case m:return g;case v:return c;case y:return d;case b:return h;case _:return p}return t}),e.exports=T},7801:function(e){function t(e,t){return null==e?void 0:e[t]}e.exports=t},2689:function(e){var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function n(e){return t.test(e)}e.exports=n},1789:function(e,t,n){var r=n(4536);function i(){this.__data__=r?r(null):{},this.size=0}e.exports=i},401:function(e){function t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=t},7667:function(e,t,n){var r=n(4536),i="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(r){var n=t[e];return n===i?void 0:n}return o.call(t,e)?t[e]:void 0}e.exports=a},1327:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;function o(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}e.exports=o},1866:function(e,t,n){var r=n(4536),i="__lodash_hash_undefined__";function o(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?i:t,this}e.exports=o},5776:function(e){var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function r(e,r){var i=typeof e;return!!(r=null==r?t:r)&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<r}e.exports=r},6612:function(e,t,n){var r=n(7813),i=n(8612),o=n(5776),a=n(3218);function s(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(i(n)&&o(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}e.exports=s},7019:function(e){function t(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=t},5346:function(e,t,n){var r=n(4429),i=function(){var e=/[^.]+$/.exec(r&&r.ke
23ys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},5726:function(e){var t=Object.prototype;function n(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}e.exports=n},7040:function(e){function t(){this.__data__=[],this.size=0}e.exports=t},4125:function(e,t,n){var r=n(8470),i=Array.prototype.splice;function o(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}e.exports=o},2117:function(e,t,n){var r=n(8470);function i(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=i},7518:function(e,t,n){var r=n(8470);function i(e){return r(this.__data__,e)>-1}e.exports=i},4705:function(e,t,n){var r=n(8470);function i(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}e.exports=i},4785:function(e,t,n){var r=n(1989),i=n(8407),o=n(7071);function a(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}e.exports=a},1285:function(e,t,n){var r=n(5050);function i(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=i},6e3:function(e,t,n){var r=n(5050);function i(e){return r(this,e).get(e)}e.exports=i},9916:function(e,t,n){var r=n(5050);function i(e){return r(this,e).has(e)}e.exports=i},5265:function(e,t,n){var r=n(5050);function i(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}e.exports=i},8776:function(e){function t(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=t},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){function t(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=t},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;function n(e){return t.call(e)}e.exports=n},5569:function(e){function t(e,t){return function(n){return e(t(n))}}e.exports=t},5357:function(e,t,n){var r=n(6874),i=Math.max;function o(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),u=Array(s);++a<s;)u[a]=o[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=o[a];return l[t]=n(u),r(e,this,l)}}
23e.exports=o},5639:function(e,t,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},619:function(e){var t="__lodash_hash_undefined__";function n(e){return this.__data__.set(e,t),this}e.exports=n},2385:function(e){function t(e){return this.__data__.has(e)}e.exports=t},1814:function(e){function t(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=t},61:function(e,t,n){var r=n(6560),i=n(1275)(r);e.exports=i},1275:function(e){var t=800,n=16,r=Date.now;function i(e){var i=0,o=0;return function(){var a=r(),s=n-(a-o);if(o=a,s>0){if(++i>=t)return arguments[0]}else i=0;return e.apply(void 0,arguments)}}e.exports=i},7465:function(e,t,n){var r=n(8407);function i(){this.__data__=new r,this.size=0}e.exports=i},3779:function(e){function t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=t},7599:function(e){function t(e){return this.__data__.get(e)}e.exports=t},4758:function(e){function t(e){return this.__data__.has(e)}e.exports=t},4309:function(e,t,n){var r=n(8407),i=n(7071),o=n(3369),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},2351:function(e){function t(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}e.exports=t},3140:function(e,t,n){var r=n(4286),i=n(2689),o=n(5889);function a(e){return i(e)?o(e):r(e)}e.exports=a},346:function(e){var t=Function.prototype.toString;function n(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=n},7990:function(e){var t=/\s/;function n(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}e.exports=n},5889:function(e){var t="\ud800-\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\ud83c[\udffb-\udfff]",o="[^"+t+"]",a="(?:\ud83c[\udde6-\uddff]){2}",s="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+r+"|"+i+")?",l="[\\ufe0e\\ufe0f]?",c="(?:\\u200d(?:"+[o,a,s].join("|")+")"+l+u+")*",f=l+u+c,d=RegExp(i+"(?="+i+")|(?:"+[o+r+"?",r,a,s,n].join("|")+")"+f,"g");function h(e){return e.match(d)||[]}e.exports=h},3045:function(e,t,n){var r=n(8363),i=n(1463),o=n(1704),a=i(function(e,t){r(t,o(t),e)});e.exports=a},9567:function(e,t,n){var r=n(554),i="Expected a function";function o(e,t){var n;if("function"!=typeof t)throw TypeError(i);return e=r(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}e.exports=o},5703:function(e){function t(e){return function(){return e}}e.exports=t},1747:function(e,t,n){var r=n(5976),i=n(7813),o=n(6612),a=n(1704),s=Object.prototype,u=s.hasOwnProperty,l=r(function(e,t){e=Object(e);var n=-1,r=t.length,l=r>2?t[2]:void 0;for(l&&o(t[0],t[1],l)&&(r=1);++n<r;)for(var c=t[n],f=a(c),d=-1,h=f.length;++d<h;){var p=f[d],g=e[p];(void 0===g||i(g,s[p])&&!u.call(e,p))&&(e[p]=c[p])}return e});e.exports=l},7813:function(e){function t(e,t){return e===t||e!=e&&t!=t}e.exports=t},2205:function(e,t,n){e.exports=n(3045)},6557:function(e){function t(e){return e}e.exports=t},5694:function(e,t,n){var r=n(9454),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),i=n(1780);function o(e){return null!=e&&i(e.length)&&!r(e)}e.exports=o},1584:function(e,t,n){var r=n(4239),i=n(7005),o="[object Boolean]";function a(e){return!0===e||!1===e||i(e)&&r(e)==o}e.exports=a},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),i=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||i;e.exports=u},1609:function(e,t,n){var r=n(280),i=n(4160),o=n(5694),a=n(1469),s=n(8612),u=n(4144),l=n(5726),c=n(6719),f="[object Map]",d="[object Set]",h=Object.prototype.hasOwnProperty;function p(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||c(e)||o(e)))return!e.length;var t=i(e);if(t==f||t==d)return!e.size;if(l(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}e.exports=p},8446:function(e,t,n){var r=n(939);function i(e,t){return r(e,t)}e.exports=i},3560:function(e,t,n){var r=n(4239),i=n(3218),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";function l(e){if(!i(e))return!1;var t=r(e);return t==a||t==s||t==o||t==u}e.exports=l},1780:function(e){var t=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}e.exports=n},4293:function(e){function t(e){return null==e}e.exports=t},1763:function(e,t,n){var r=n(4239),i=n(7005),o="[object Number]";function a(e){return"number"==typeof e||i(e)&&r(e)==o}e.exports=a},3218:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},7005:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},7037:function(e,t,n){var r=n(4239),i=n(1469),o=n(7005),a="[object String]";function s(e){return"string"==typeof e||!i(e)&&o(e)&&r(e)==a}e.exports=s},3448:function(e,t,n){var r=n(4239),i=n(7005),o="[object Symbol]";function a(e){return"symbol"==typeof e||i(e)&&r(e)==o}e.exports=a},6719:function(e,t,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},2353:function(e){function t(e){return void 0===e}e.exports=t},3674:function(e,t,n){var r=n(4636),i=n(280),o=n(8612);function a(e){return o(e)?r(e):i(e)}e.exports=a},1704:function(e,t,n){var r=n(4636),i=n(313),o=n(8612);function a(e){return o(e)?r(e,!0):i(e)}e.exports=a},5892:function(e,t,n){var r=n(9567);function i(e){return r(2,e)}e.exports=i},479:function(e){function t(){return[]}e.exports=t},5062:function(e){function t(){return!1}e.exports=t},8601:function(e,t,n){var r=n(4841),i=1/0,o=17976931348623157e292;function a(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*o:e==e?e:0:0===e?e:0}e.exports=a},554:function(e,t,n){var r=n(8601);function i(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}e.exports=i},4841:function(e,t,n){var r=n(7561),i=n(3218),o=n(3448),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function f(e){if("number"==typeof e)return e;if(o(e))return a;
23if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=u.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=f},9833:function(e,t,n){var r=n(531);function i(e){return null==e?"":r(e)}e.exports=i},2742:function(e,t,n){var r=n(531),i=n(7561),o=n(180),a=n(5512),s=n(9817),u=n(3140),l=n(9833);function c(e,t,n){if((e=l(e))&&(n||void 0===t))return i(e);if(!e||!(t=r(t)))return e;var c=u(e),f=u(t),d=s(c,f),h=a(c,f)+1;return o(c,d,h).join("")}e.exports=c},691:function(e,t,n){var r=n(531),i=n(180),o=n(5512),a=n(3140),s=n(9833),u=n(7990);function l(e,t,n){if((e=s(e))&&(n||void 0===t))return e.slice(0,u(e)+1);if(!e||!(t=r(t)))return e;var l=a(e),c=o(l,a(t))+1;return i(l,0,c).join("")}e.exports=l},6477:function(e,t){"use strict";t.Headers=self.Headers,t.Request=self.Request,t.Response=self.Response,t.fetch=self.fetch},3454:function(e,t,n){"use strict";var r,i;e.exports=(null==(r=n.g.process)?void 0:r.env)&&"object"==typeof(null==(i=n.g.process)?void 0:i.env)?n.g.process:n(7663)},1118:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(3076)}])},2677:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5893);function i(){return(0,r.jsx)("span",{className:"mx-2","aria-hidden":"true",children:"|"})}},876:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5893),i=n(7294);function o(e,t){let{title:n,titleId:r,...o}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":r},o),n?i.createElement("title",{id:r},n):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))}var a=i.forwardRef(o);function s(e){let{width:t,height:n,className:i}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(a,{className:"tag-icon"})})}},9147:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893),i=n(8357);function o(e){let{children:t,classNameInView:n,postId:o}=e;return(0,r.jsx)(i.df,{triggerOnce:!0,threshold:0,children:e=>{let{inView:i,ref:o}=e;return(0,r.jsx)("div",{ref:o,className:"".concat(i?n:"opacity-0 invisible"),children:t})}})}},2858:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893),i=n(8352),o=n(623),a=n(2609),s=n(1664),u=n.n(s),l=n(9332);function c(e){let t,n,s,{postDate:c,tagData:f}=e,d=(0,l.usePathname)();d[0];let h=d.split("/").filter(e=>e),p=e=>{let t=(0,i.Z)(e);return[...(0,o.Z)(t,"yyyy LLLL",{locale:a.Z}).split(" "),Number((0,o.Z)(t,"MM"))]};if(c){let e=p(c);t=e[0],n=e[1],s=e[2]}return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"px-0 lg:px-container-content-padding mt-8",children:(0,r.jsxs)("ul",{className:"flex breadcrumbs list-none px-0",children:[(0,r.jsx)("li",{children:(0,r.jsx)(u(),{href:"/",children:"Blogg"})}),h.length>0&&(0,r.jsx)("span",{className:"mx-1",children:"/"}),!!c&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{children:(0,r.jsx)(u(),{href:"/date/".concat(t),children:t})}),(0,r.jsx)("span",{className:"mx-1",children:"/"}),(0,r.jsx)("li",{children:(0,r.jsx)(u(),{href:"/date/".concat(t,"/").concat(s),children:n})})]}),"date"===h[0]&&h.map((e,t)=>{let n="/".concat(h.slice(0,t+1).join("/"));switch(e){case"1":e="januari";break;case"2":e="februari";break;case"3":e="mars";break;case"4":e="april";break;case"5":e="maj";break;case"6":e="juni";break;case"7":e="juli";break;case"8":e="augusti";break;case"9":e="september";break;case"10":e="oktober";break;case"11":e="november";break;case"12":e="december"}if("date"!==e)return"tag"===e&&(e="Etikett"),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("li",{children:(0,r.jsxs)(u(),{href:n,children:[" ","".concat(e)
23]})},t),h.length!==t+1&&(0,r.jsx)("span",{className:"mx-1",children:"/"})]})}),f&&(0,r.jsx)("li",{children:(0,r.jsxs)(u(),{href:"".concat(f.uri),children:["Etikett - ",f.name]})})]})})})}n(7294)},839:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5893);function i(e){let{children:t,width:n="lg"}=e;return(0,r.jsx)("div",{className:"container-".concat(n," mx-auto "),children:t})}},3250:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5893),i=n(8352),o=n(623),a=n(2609);function s(e){let{dateString:t,dateFormat:n="d LLLL yyyy"}=e,s=(0,i.Z)(t);return(0,r.jsx)("time",{className:"text-date",dateTime:t,children:(0,o.Z)(s,n,{locale:a.Z})})}},4245:function(e,t,n){"use strict";let r,i,o,a,s,u,l,c,f,d,h,p,g,m,v,y;n.d(t,{Z:function(){return a3}});var b,_=n(5893),T=n(9008),w=n.n(T);function E(e){let{seo:t}=e,{opengraphTitle:n="Bodil Malmsten",opengraphImage:r="https://bodilmalmsten2021.hemsida.eu/wp-content/uploads/2020/10/bodil.jpg",opengraphDescription:i="Det h\xe4r \xe4r Bodil Malmstens blogg. Hon skrev det f\xf6rsta inl\xe4gget den 1 oktober 2004 och det sista den 14 september 2015, ett halv\xe5r innan sin d\xf6d i februari 2016. Inget \xe4r tillagt, redigerat eller korrigerat.",opengraphUrl:o}=t,a=e=>e?e.replace(/\s*\[…\]\s*$/,"").replace(/\s*\[\.\.\.\]\s*$/,""):e,s=n.replace("-arkiv",""),u=a(i);return(0,_.jsxs)(w(),{children:[(0,_.jsx)("link",{rel:"icon",href:"/images/favicon.png",type:"image/png"}),(0,_.jsx)("meta",{property:"og:type",content:"website"}),(0,_.jsx)("meta",{property:"twitter:card",content:"summary_large_image"}),n&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("title",{children:s}),(0,_.jsx)("meta",{name:"title",content:n}),(0,_.jsx)("meta",{property:"og:title",content:n}),(0,_.jsx)("meta",{property:"twitter:title",content:n})]}),i&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("meta",{name:"description",content:u}),(0,_.jsx)("meta",{property:"og:description",content:u}),(0,_.jsx)("meta",{property:"twitter:description",content:u})]}),r&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("meta",{property:"og:image",content:r}),(0,_.jsx)("meta",{property:"twitter:image",content:r})]}),o&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("meta",{property:"og:url",content:o}),(0,_.jsx)("meta",{property:"twitter:url",content:o})]})]})}var x=n(7294),C=n.t(x,2),O=n(4298),k=n.n(O),P=n(8256);function N(){let e="h910rwg6r943yvxszfxc",t="https://widget.ybug.io/button/".concat(e,".js"),{isAuthenticated:n}=(0,P.aC)(),r=n;return(0,x.useEffect)(()=>{window.ybug_settings={translate:{"launcherButton.Title":"Tyck till!","feedbackTypeForm.Heading":"Tyck till!","feedbackTypeForm.Subheading":"Har du st\xf6tt p\xe5 ett problem eller har en synpunkt p\xe5 den h\xe4r webbsidan?","feedbackTypeForm.ButtonSpecific":"V\xe4lj och kommentera en viss del av sidan","feedbackTypeForm.ButtonGeneral":"Generella synpunkter p\xe5 webbplatsen","feedbackForm.Heading":"Feedback","feedbackForm.RatingLabel":"Hur skulle du betygs\xe4tta din upplevelse?","feedbackForm.TextLabel":"Kommentar","feedbackForm.TextPlaceholder":"Skriv en kommentar eller beskriv ett problem.","feedbackForm.TextError":"Obligatoriskt f\xe4lt","feedbackForm.EmailLabel":"Min e-post","feedbackForm.EmailPlaceholder":"Min e-post","feedbackForm.EmailError":"V.g. ange en giltig e-postadress","feedbackForm.NameLabel":"Mitt namn","feedbackForm.ButtonSubmit":"Skicka","feedbackForm.ButtonCancel":"Tillbaka","feedbackForm.RequiredError":"Obligatoriskt f\xe4lt","feedbackForm.OptionalText":"(frivilligt)","feedbackForm.AddScreenshot":"L\xe4gg till sk\xe4rmbild","feedbackForm.EditScreenshot":"Redigera sk\xe4rmbild","highlighter.instructions":"Klicka p\xe5 sidan f\xf6r att v\xe4lja en viss del. Tryck ESC f\xf6r att \xe5ngra.","thankYouModal.Heading":"Tack!","thankYouModal.Text":"Vi har tagit emot din synpunkt. Tack s\xe5 mycket!","thankYouModal.Button":"St\xe4ng","processingModal.Heading":"Jobbar"}},window.ybug_settings.id=e},[e]),(0,_.jsx)(_.Fragment,{children:e&&"1"==r&&(0,_.jsx)(k(),{src:t})})}var S=n(1664),I=n.n(S);function M(){let[e,t]=(0,x.useState)({y:0,lastY:0});return(0,x.useEffect)(()=>{let e=()=>{t(e=>({y:window.scrollY,lastY:e.y}))};return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),e}function j(){let[e,t]=(0,x.useState)(!1),n=M();return(0,x.useRef)(null),(0,x.useEffect)(()=>{n.y>350&&n.y-n.lastY>0&&t(!0),n.y<n.lastY&&t(!1)},[n]),(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:"".concat(e?"navBar hideNav":"navBar"," py-[20px] px-0 "),children:(0,_.jsx)("div",{className:"mx-[20px] lg:mx-[32px]",children:(0,_.jsx)("div",{className:"flex relative",children:(0,_.jsx)("h2",{className:"m-0",children:(0,_.jsx)(I(),{href:"/",className:"no-underline text-black text-site-title",children:"Bodil Malmsten"})})})})})})}function A(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function D(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(0,x.createContext)(null);var R,F,L,U,q,Q,B,z,V,G,$,Y={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},W={duration:.5,overwrite:!1,delay:0},H=1e8,Z=1e-8,K=2*Math.PI,J=K/4,X=0,ee=Math.sqrt,et=Math.cos,en=Math.sin,er=function(e){return"string"==typeof e},ei=function(e){return"function"==typeof e},eo=function(e){return"number"==typeof e},ea=function(e){return void 0===e},es=function(e){return"object"==typeof e},eu=function(e){return!1!==e},el=function(){return"undefined"!=typeof window},ec=function(e){return ei(e)||er(e)},ef="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},ed=Array.isArray,eh=/(?:-?\.?\d|\.)+/gi,ep=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,eg=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,em=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ev=/[+-]=-?[.\d]+/,ey=/[^,'"\[\]\s]+/gi,eb=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,e_={},eT={},ew=function(e){return(eT=eX(e,e_))&&nK},eE=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},ex=function(e,t){return!t&&console.warn(e)},eC=function(e,t){return e&&(e_[e]=t)&&eT&&(eT[e]=t)||e_},eO=function(){return 0},ek={suppressEvents:!0,isStart:!0,kill:!1},eP={suppressEvents:!0,kill:!1},eN={suppressEvents:!0},eS={},eI=[],eM={},ej={},eA={},eD=30,eR=[],eF="",eL=function(e){var t,n,r=e[0];if(es(r)||ei(r)||(e=[e]),!(t=(r._gsap||{}).harness)){for(n=eR.length;n--&&!eR[n].targetTest(r););t=eR[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new ns(e[n],t)))||e.splice(n,1);return e},eU=function(e){return e._gsap||eL(tO(e))[0]._gsap},eq=function(e,t,n){return(n=e[t])&&ei(n)?e[t]():ea(n)&&e.getAttribute&&e.getAttribute(t)||n}
vendor: 8,502 bytes, line 23
23,eQ=function(e,t){return(e=e.split(",")).forEach(t)||e},eB=function(e){return Math.round(1e5*e)/1e5||0},ez=function(e){return Math.round(1e7*e)/1e7||0},eV=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),"+"===n?e+r:"-"===n?e-r:"*"===n?e*r:e/r},eG=function(e,t){for(var n=t.length,r=0;0>e.indexOf(t[r])&&++r<n;);return r<n},e$=function(){var e,t,n=eI.length,r=eI.slice(0);for(e=0,eM={},eI.length=0;e<n;e++)(t=r[e])&&t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0)._lazy=0)},eY=function(e){return!!(e._initted||e._startAt||e.add)},eW=function(e,t,n,r){eI.length&&!F&&e$(),e.render(t,n,r||!!(F&&t<0&&eY(e))),eI.length&&!F&&e$()},eH=function(e){var t=parseFloat(e);return(t||0===t)&&(e+"").match(ey).length<2?t:er(e)?e.trim():e},eZ=function(e){return e},eK=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},eJ=function(e){return function(t,n){for(var r in n)r in t||"duration"===r&&e||"ease"===r||(t[r]=n[r])}},eX=function(e,t){for(var n in t)e[n]=t[n];return e},e0=function e(t,n){for(var r in n)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=es(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},e1=function(e,t){var n,r={};for(n in e)n in t||(r[n]=e[n]);return r},e2=function(e){var t=e.parent||U,n=e.keyframes?eJ(ed(e.keyframes)):eK;if(eu(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},e5=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},e3=function(e,t,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var o,a=e[r];if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},e4=function(e,t,n,r){void 0===n&&(n="_first"),void 0===r&&(r="_last");var i=t._prev,o=t._next;i?i._next=o:e[n]===t&&(e[n]=o),o?o._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},e6=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},e8=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},e7=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},e9=function(e,t,n,r){return e._startAt&&(F?e._startAt.revert(eP):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},te=function e(t){return!t||t._ts&&e(t.parent)},tt=function(e){return e._repeat?tn(e._tTime,e=e.duration()+e._rDelay)*e:0},tn=function(e,t){var n=Math.floor(e=ez(e/t));return e&&n===e?n-1:n},tr=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},ti=function(e){return e._end=ez(e._start+(e._tDur/Math.abs(e._ts||e._rts||Z)||0))},to=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=ez(n._time-(e._ts>0?t/e._ts:-(((e._dirty?e.totalDuration():e._tDur)-t)/e._ts))),ti(e),n._dirty||e8(n,e)),e},ta=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=tr(e.rawTime(),t),(!t._dur||t_(0,t.totalDuration(),n)-t._tTime>Z)&&t.render(n,!0)),e8(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-Z}},ts=function(e,t,n,r){return t.parent&&e6(t),t._start=ez((eo(n)?n:n||e!==U?tv(e,n,t):e._time)+t._delay),t._end=ez(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),e3(e,t,"_first","_last",e._sort?"_start":0),tf(t)||(e._recent=t),r||ta(e,t),e._ts<0&&to(e,e._tTime),e},tu=function(e,t){return(e_.ScrollTrigger||eE("scrollTrigger",t))&&e_.ScrollTrigger.create(t,e)},tl=function(e,t,n,r,i){return(nm(e,t,i),e._initted)?!n&&e._pt&&!F&&(e._dur&&!1!==e.vars.lazy||!e._dur&&e.vars.lazy)&&V!==t2.frame?(eI.push(e),e._lazy=[i,r],1):void 0:1},tc=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(0>n.rawTime()||e(n))},tf=function(e){var t=e.data;return"isFromStart"===t||"isStart"===t},td=function(e,t,n,r){var i,o,a,s=e.ratio,u=t<0||!t&&(!e._start&&tc(e)&&!(!e._initted&&tf(e))||(e._ts<0||e._dp._ts<0)&&!tf(e))?0:1,l=e._rDelay,c=0;if(l&&e._repeat&&(o=tn(c=t_(0,e._tDur,t),l),e._yoyo&&1&o&&(u=1-u),o!==tn(e._tTime,l)&&(s=1-u,e.vars.repeatRefresh&&e._initted&&e.invalidate())),u!==s||F||r||e._zTime===Z||!t&&e._zTime){if(!e._initted&&tl(e,t,r,n,c))return;for(a=e._zTime,e._zTime=t||(n?Z:0),n||(n=t&&!a),e.ratio=u,e._from&&(u=1-u),e._time=0,e._tTime=c,i=e._pt;i;)i.r(u,i.d),i=i._next;t<0&&e9(e,t,n,!0),e._onUpdate&&!n&&tz(e,"onUpdate"),c&&e._repeat&&!n&&e.parent&&tz(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===u&&(u&&e6(e,1),n||F||(tz(e,u?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},th=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if("isPause"===r.data&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if("isPause"===r.data&&r._start<t)return r;r=r._prev}},tp=function(e,t,n,r){var i=e._repeat,o=ez(t)||0,a=e._tTime/e._tDur;return a&&!r&&(e._time*=o/e._dur),e._dur=o,e._tDur=i?i<0?1e10:ez(o*(i+1)+e._rDelay*i):o,a>0&&!r&&to(e,e._tTime=e._tDur*a),e.parent&&ti(e),n||e8(e.parent,e),e},tg=function(e){return e instanceof nl?e8(e):tp(e,e._dur)},tm={_start:0,endTime:eO,totalDuration:eO},tv=function e(t,n,r){var i,o,a,s=t.labels,u=t._recent||tm,l=t.duration()>=H?u.endTime(!1):t._dur;return er(n)&&(isNaN(n)||n in s)?(o=n.charAt(0),a="%"===n.substr(-1),i=n.indexOf("="),"<"===o||">"===o)?(i>=0&&(n=n.replace(/=/,"")),("<"===o?u._start:u.endTime(u._repeat>=0))+(parseFloat(n.substr(1))||0)*(a?(i<0?u:r).totalDuration()/100:1)):i<0?(n in s||(s[n]=l),s[n]):(o=parseFloat(n.charAt(i-1)+n.substr(i+1)),a&&r&&(o=o/100*(ed(r)?r[0]:r).totalDuration()),i>1?e(t,n.substr(0,i-1),r)+o:l+o):null==n?l:+n},ty=function(e,t,n){var r,i,o=eo(t[1]),a=(o?2:1)+(e<2?0:1),s=t[a];if(o&&(s.duration=t[1]),s.parent=n,e){for(r=s,i=n;i&&!("immediateRender"in r);)r=i.vars.defaults||{},i=eu(i.vars.inherit)&&i.parent;s.immediateRender=eu(r.immediateRender),e<2?s.runBackwards=1:s.startAt=t[a-1]}return new nE(t[0],s,t[a+1])},tb=function(e,t){return e||0===e?t(e):t},t_=function(e,t,n){return n<e?e:n>t?t:n},tT=function(e,t){return er(e)&&(t=eb.exec(e))?t[1]:""},tw=function(e,t,n){return tb(n,function(n){return t_(e,t,n)})},tE=[].slice,tx=function(e,t){return e&&es(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&es(e[0]))&&!e.nodeType&&e!==q},tC=function(e,t,n){return void 0===n&&(n=[]),e.forEach(function(e){var r;return er(e)&&!t||tx(e,1)?(r=n).push.apply(r,tO(e)):n.push(e)})||n},tO=function(e,t,n){return L&&!t&&L.selector?L.selector(e):er(e)&&!n&&(Q||!t5())?tE.call((t||B).querySelectorAll(e),0):ed(e)?tC(e,n):tx(e)?tE.call(e,0):e?[e]:[]},tk=function(e){return e=tO(e)[0]||ex("Invalid scope")||{},function(t){var n=e.current||e.nativeElement||e;return tO(t,n.querySelectorAll?n:n===e?ex("Invalid scope")||B.createElement("div"):e)}},tP=function(e){return e.sort(function(){return .5-Math.random()})},tN=function(e){if(ei(e))return e;var t=es(e)?e:{each:e},n=nn(t.ease),r=t.from||0,i=parseFloat(t.base)||0,o={},a=r>0&&r<1,s=isNaN(r)||a,u=t.axis,l=r,c=r;return er(r)?l=c=({center:.5,edges:.5,end:1})[r]||0:!a&&s&&(l=r[0],c=r[1]),function(e,a,f){var d,h,p,g,m,v,y,b,_,T=(f||t).length,w=o[T];if(!w){if(!(_="auto"===t.grid?0:(t.grid||[1,H])[1])){for(y=-H;y<(y=f[_++].getBoundingClientRect().left)&&_<T;);_<T&&_--}for(v=0,w=o[T]=[],d=s?Math.min(_,T)*l-.5:r%_,h=_===H?0:s?T*c/_-.5:r/_|0,y=0,b=H;v<T;v++)p=v%_-d,g=h-(v/_|0),w[v]=m=u?Math.abs("y"===u?g:p):ee(p*p+g*g),m>y&&(y=m),m<b&&(b=m);"random"===r&&tP(w),w.max=y-b,w.min=b,w.v=T=(parseFloat(t.amount)||parseFloat(t.each)*(_>T?T-1:u?"y"===u?T/_:_:Math.max(_,T/_))||0)*("edges"===r?-1:1),w.b=T<0?i-T:i,w.u=tT(t.amount||t.each)||0,n=n&&T<0?ne(n):n}return T=(w[e]-w.min)/w.max||0,ez(w.b+(n?n(T):T)*w.v)+w.u}},tS=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(n){var r=ez(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(eo(n)?0:tT(n))}},tI=function(e,t){var n,r,i=ed(e);return!i&&es(e)&&(n=i=e.radius||H,e.values?(r=!eo((e=tO(e.values))[0]))&&(n*=n):e=tS(e.increment)),tb(t,i?ei(e)?function(t){return Math.abs((r=e(t))-t)<=n?r:t}:function(t){for(var i,o,a=parseFloat(r?t.x:t),s=parseFloat(r?t.y:0),u=H,l=0,c=e.length;c--;)(i=r?(i=e[c].x-a)*i+(o=e[c].y-s)*o:Math.abs(e[c]-a))<u&&(u=i,l=c);return l=!n||u<=n?e[l]:t,r||l===t||eo(t)?l:l+tT(t)}:tS(e))},tM=function(e,t,n,r){return tb(ed(e)?!t:!0===n?(n=0,!1):!r,function(){return ed(e)?e[~~(Math.random()*e.length)]:(r=(n=n||1e-5)<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+.99*n))/n)
vendor: 13,691 bytes, line 23
23*n*r)/r})},tj=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(e,t){return t(e)},e)}},tA=function(e,t){return function(n){return e(parseFloat(n))+(t||tT(n))}},tD=function(e,t,n){return tq(e,t,0,1,n)},tR=function(e,t,n){return tb(n,function(n){return e[~~t(n)]})},tF=function e(t,n,r){var i=n-t;return ed(t)?tR(t,e(0,t.length),n):tb(r,function(e){return(i+(e-t)%i)%i+t})},tL=function e(t,n,r){var i=n-t,o=2*i;return ed(t)?tR(t,e(0,t.length-1),n):tb(r,function(e){return e=(o+(e-t)%o)%o||0,t+(e>i?o-e:e)})},tU=function(e){for(var t,n,r,i,o=0,a="";~(t=e.indexOf("random(",o));)r=e.indexOf(")",t),i="["===e.charAt(t+7),n=e.substr(t+7,r-t-7).match(i?ey:eh),a+=e.substr(o,t-o)+tM(i?n:+n[0],i?0:+n[1],+n[2]||1e-5),o=r+1;return a+e.substr(o,e.length-o)},tq=function(e,t,n,r,i){var o=t-e,a=r-n;return tb(i,function(t){return n+((t-e)/o*a||0)})},tQ=function e(t,n,r,i){var o=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!o){var a,s,u,l,c,f=er(t),d={};if(!0===r&&(i=1)&&(r=null),f)t={p:t},n={p:n};else if(ed(t)&&!ed(n)){for(s=1,u=[],c=(l=t.length)-2;s<l;s++)u.push(e(t[s-1],t[s]));l--,o=function(e){var t=Math.min(c,~~(e*=l));return u[t](e-t)},r=n}else i||(t=eX(ed(t)?[]:{},t));if(!u){for(a in n)nh.call(d,t,a,"get",n[a]);o=function(e){return nM(e,d)||(f?t.p:t)}}}return tb(r,o)},tB=function(e,t,n){var r,i,o,a=e.labels,s=H;for(r in a)(i=a[r]-t)<0==!!n&&i&&s>(i=Math.abs(i))&&(o=r,s=i);return o},tz=function(e,t,n){var r,i,o,a=e.vars,s=a[t],u=L,l=e._ctx;if(s)return r=a[t+"Params"],i=a.callbackScope||e,n&&eI.length&&e$(),l&&(L=l),o=r?s.apply(i,r):s.call(i),L=u,o},tV=function(e){return e6(e),e.scrollTrigger&&e.scrollTrigger.kill(!!F),1>e.progress()&&tz(e,"onInterrupt"),e},tG=[],t$=function(e){if(e){if(e=!e.name&&e.default||e,el()||e.headless){var t=e.name,n=ei(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:eO,render:nM,add:nh,kill:nA,modifier:nj,rawVars:0},o={targetTest:0,get:0,getSetter:nP,aliases:{},register:0};if(t5(),e!==r){if(ej[t])return;eK(r,eK(e1(e,i),o)),eX(r.prototype,eX(i,e1(e,o))),ej[r.prop=t]=r,e.targetTest&&(eR.push(r),eS[t]=1),t=("css"===t?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}eC(t,r),e.register&&e.register(nK,r,nF)}else tG.push(e)}},tY=255,tW={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},tH=function(e,t,n){return(6*(e+=e<0?1:e>1?-1:0)<1?t+(n-t)*e*6:e<.5?n:3*e<2?t+(n-t)*(2/3-e)*6:t)*tY+.5|0},tZ=function(e,t,n){var r,i,o,a,s,u,l,c,f,d,h=e?eo(e)?[e>>16,e>>8&tY,e&tY]:0:tW.black;if(!h){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),tW[e])h=tW[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(r=e.charAt(1))+r+(i=e.charAt(2))+i+(o=e.charAt(3))+o+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return[(h=parseInt(e.substr(1,6),16))>>16,h>>8&tY,h&tY,parseInt(e.substr(7),16)/255];h=[(e=parseInt(e.substr(1),16))>>16,e>>8&tY,e&tY]}else if("hsl"===e.substr(0,3)){if(h=d=e.match(eh),t){if(~e.indexOf("="))return h=e.match(ep),n&&h.length<4&&(h[3]=1),h}else a=+h[0]%360/360,s=+h[1]/100,i=(u=+h[2]/100)<=.5?u*(s+1):u+s-u*s,r=2*u-i,h.length>3&&(h[3]*=1),h[0]=tH(a+1/3,r,i),h[1]=tH(a,r,i),h[2]=tH(a-1/3,r,i)}else h=e.match(eh)||tW.transparent;h=h.map(Number)}return t&&!d&&(u=((l=Math.max(r=h[0]/tY,i=h[1]/tY,o=h[2]/tY))+(c=Math.min(r,i,o)))/2,l===c?a=s=0:(f=l-c,s=u>.5?f/(2-l-c):f/(l+c),a=(l===r?(i-o)/f+(i<o?6:0):l===i?(o-r)/f+2:(r-i)/f+4)*60),h[0]=~~(a+.5),h[1]=~~(100*s+.5),h[2]=~~(100*u+.5)),n&&h.length<4&&(h[3]=1),h},tK=function(e){var t=[],n=[],r=-1;return e.split(tX).forEach(function(e){var i=e.match(eg)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},tJ=function(e,t,n){var r,i,o,a,s="",u=(e+s).match(tX),l=t?"hsla(":"rgba(",c=0;if(!u)return e;if(u=u.map(function(e){return(e=tZ(e,t,1))&&l+(t?e[0]+","+e[1]+"%,"+e[2]+"%,"+e[3]:e.join(","))+")"}),n&&(o=tK(e),(r=n.c).join(s)!==o.c.join(s)))for(a=(i=e.replace(tX,"1").split(eg)).length-1;c<a;c++)s+=i[c]+(~r.indexOf(c)?u.shift()||l+"0,0,0,0)":(o.length?o:u.length?u:n).shift());if(!i)for(a=(i=e.split(tX)).length-1;c<a;c++)s+=i[c]+u[c];return s+i[a]},tX=function(){var e,t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(e in tW)t+="|"+e+"\\b";return RegExp(t+")","gi")}(),t0=/hsl[a]?\(/,t1=function(e){var t,n=e.join(" ");if(tX.lastIndex=0,tX.test(n))return t=t0.test(n),e[1]=tJ(e[1],t),e[0]=tJ(e[0],t,tK(e[1])),!0},t2=function(){var e,t,n,r,i,o,a=Date.now,s=500,u=33,l=a(),c=l,f=1e3/240,d=1e3/240,h=[],p=function n(p){var g,m,v,y,b=a()-c,_=!0===p;if((b>s||b<0)&&(l+=b-u),c+=b,((g=(v=c-l)-d)>0||_)&&(y=++r.frame,i=v-1e3*r.time,r.time=v/=1e3,d+=g+(g>=f?4:f-g),m=1),_||(e=t(n)),m)for(o=0;o<h.length;o++)h[o](v,i,y,p)};return r={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(e){return i/(1e3/(e||60))},wake:function(){z&&(!Q&&el()&&(B=(q=Q=window).document||{},e_.gsap=nK,(q.gsapVersions||(q.gsapVersions=[])).push(nK.version),ew(eT||q.GreenSockGlobals||!q.gsap&&q||{}),tG.forEach(t$)),n="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,e&&r.sleep(),t=n||function(e){return setTimeout(e,d-1e3*r.time+1|0)},$=1,p(2))},sleep:function(){(n?cancelAnimationFrame:clearTimeout)(e),$=0,t=eO},lagSmoothing:function(e,t){u=Math.min(t||33,s=e||1/0)},fps:function(e){f=1e3/(e||240),d=1e3*r.time+f},add:function(e,t,n){var i=t?function(t,n,o,a){e(t,n,o,a),r.remove(i)}:e;return r.remove(e),h[n?"unshift":"push"](i),t5(),i},remove:function(e,t){~(t=h.indexOf(e))&&h.splice(t,1)&&o>=t&&o--},_listeners:h}}(),t5=function(){return!$&&t2.wake()},t3={},t4=/^[\d.\-M][\d.\-,\s]/,t6=/["']/g,t8=function(e){for(var t,n,r,i={},o=e.substr(1,e.length-3).split(":"),a=o[0],s=1,u=o.length;s<u;s++)n=o[s],t=s!==u-1?n.lastIndexOf(","):n.length,r=n.substr(0,t),i[a]=isNaN(r)?r.replace(t6,"").trim():+r,a=n.substr(t+1).trim();return i},t7=function(e){var t=e.indexOf("(")+1,n=e.indexOf(")"),r=e.indexOf("(",t);return e.substring(t,~r&&r<n?e.indexOf(")",n+1):n)},t9=function(e){var t=(e+"").split("("),n=t3[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf("{")?[t8(t[1])]:t7(e).split(",").map(eH)):t3._CE&&t4.test(e)?t3._CE("",e):n},ne=function(e){return function(t){return 1-e(1-t)}},nt=function e(t,n){for(var r,i=t._first;i;)i instanceof nl?e(i,n):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===n||(i.timeline?e(i.timeline,n):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=n)),i=i._next},nn=function(e,t){return e&&(ei(e)?e:t3[e]||t9(e))||t},nr=function(e,t,n,r){void 0===n&&(n=function(e){return 1-t(1-e)}),void 0===r&&(r=function(e){return e<.5?t(2*e)/2:1-t((1-e)*2)/2});var i,o={easeIn:t,easeOut:n,easeInOut:r};return eQ(e,function(e){for(var t in t3[e]=e_[e]=o,t3[i=e.toLowerCase()]=n,o)t3[i+("easeIn"===t?".in":"easeOut"===t?".out":".inOut")]=t3[e+"."+t]=o[t]}),o},ni=function(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e((t-.5)*2)/2}},no=function e(t,n,r){var i=n>=1?n:1,o=(r||(t?.3:.45))/(n<1?n:1),a=o/K*(Math.asin(1/i)||0),s=function(e){return 1===e?1:i*Math.pow(2,-10*e)*en((e-a)*o)+1},u="out"===t?s:"in"===t?function(e){return 1-s(1-e)}:ni(s);return o=K/o,u.config=function(n,r){return e(t,n,r)},u},na=function e(t,n){void 0===n&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i="out"===t?r:"in"===t?function(e){return 1-r(1-e)}:ni(r);return i.config=function(n){return e(t,n)},i};eQ("Linear,Quad,Cubic,Quart,Quint,Strong",function(e,t){var n=t<5?t+1:t;nr(e+",Power"+(n-1),t?function(e){return Math.pow(e,n)}:function(e){return e},function(e){return 1-Math.pow(1-e,n)},function(e){return e<.5?Math.pow(2*e,n)/2:1-Math.pow((1-e)*2,n)/2})}),t3.Linear.easeNone=t3.none=t3.Linear.easeIn,nr("Elastic",no("in"),no("out"),no()),function(e,t){var n=1/2.75,r=1/2.75*2,i=1/2.75*2.5,o=function(o){return o<n?7.5625*o*o:o<r?7.5625*Math.pow(o-1.5/2.75,2)+.75:o<i?7.5625*(o-=2.25/2.75)*o+.9375:e*Math.pow(o-2.625/t,2)+.984375};nr("Bounce",function(e){return 1-o(1-e)},o)}(7.5625,2.75),nr("Expo",function(e){return Math.pow(2,10*(e-1))*e+e*e*e*e*e*e*(1-e)}),nr("Circ",function(e){return-(ee(1-e*e)-1)}),nr("Sine",function(e){return 1===e?1:-et(e*J)+1}),nr("Back",na("in"),na("out"),na()),t3.SteppedEase=t3.steps=e_.SteppedEase={config:function(e,t){void 0===e&&(e=1);var n=1/e,r=e+(t?0:1),i=t?1:0,o=1-Z;return function(e){return((r*t_(0,o,e)|0)+i)*n}}},W.ease=t3["quad.out"],eQ("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(e){return eF+=e+","+e+"Params,"});var ns=function(e,t){this.id=X++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:eq,this.set=t?t.getSetter:nP},nu=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,tp(this,+e.duration,1,1),this.data=e.data,L&&(this._ctx=L,L.data.push(this)),$||t2.wake()}var t=e.prototype;return t.delay=function(e){return e||0===e?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,tp(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(t5(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(to(this,e),!n._dp||n.parent||ta(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:-((n.totalDuration()-n._tTime)/n._ts))&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&ts(this._dp,this,this._start-this._delay)}return this._tTime===e&&(this._dur||t)&&(!this._initted||Math.abs(this._zTime)!==Z)&&(e||this._initted||!this.add&&!this._ptLookup)||(this._ts||(this._pTime=e),eW(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+tt(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-e:e)+tt(this),t):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?tn(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-Z?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?tr(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-Z?0:this._rts,this.totalTime(t_(-Math.abs(this._delay),this.totalDuration(),n),!1!==t),ti(this),e7(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(t5(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Z&&(this._tTime-=Z)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=e;var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&ts(t,this,e-this._delay),this}return this._start},t.endTime=function(e){return this._start+(eu(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?tr(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){void 0===e&&(e=eN);var t=F;return F=e,eY(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),"nested"!==this.data&&!1!==e.kill&&this.kill(),F=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,tg(this)):-2===this._repeat?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,tg(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(tv(this,e),eu(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,eu(t)),this._dur||(this._zTime=-Z),this},t.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-Z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-Z,this},t.isActive=function(){var e,t=this.parent||this._dp,n=this._start;return!!(!t||this._ts&&this._initted&&t.isActive()&&(e=t.rawTime(!0))>=n&&e<this.endTime(!0)-Z)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>
vendor: 10,675 bytes, line 23
231?(t?(r[e]=t,n&&(r[e+"Params"]=n),"onUpdate"===e&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this;return new Promise(function(n){var r=ei(e)?e:eZ,i=function(){var e=t.then;t.then=null,ei(r)&&(r=r(t))&&(r.then||r===t)&&(t.then=e),n(r),t.then=e};t._initted&&1===t.totalProgress()&&t._ts>=0||!t._tTime&&t._ts<0?i():t._prom=i})},t.kill=function(){tV(this)},e}();eK(nu.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-Z,_prom:0,_ps:!1,_rts:1});var nl=function(e){function t(t,n){var r;return void 0===t&&(t={}),(r=e.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=eu(t.sortChildren),U&&ts(t.parent||U,A(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&tu(A(r),t.scrollTrigger),r}D(t,e);var n=t.prototype;return n.to=function(e,t,n){return ty(0,arguments,this),this},n.from=function(e,t,n){return ty(1,arguments,this),this},n.fromTo=function(e,t,n,r){return ty(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,e2(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new nE(e,t,tv(this,n),1),this},n.call=function(e,t,n){return ts(this,nE.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,o,a){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=o,n.onCompleteParams=a,n.parent=this,new nE(e,n,tv(this,i)),this},n.staggerFrom=function(e,t,n,r,i,o,a){return n.runBackwards=1,e2(n).immediateRender=eu(n.immediateRender),this.staggerTo(e,t,n,r,i,o,a)},n.staggerFromTo=function(e,t,n,r,i,o,a,s){return r.startAt=n,e2(r).immediateRender=eu(r.immediateRender),this.staggerTo(e,t,r,i,o,a,s)},n.render=function(e,t,n){var r,i,o,a,s,u,l,c,f,d,h,p,g=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=e<=0?0:ez(e),b=this._zTime<0!=e<0&&(this._initted||!v);if(this!==U&&y>m&&e>=0&&(y=m),y!==this._tTime||n||b){if(g!==this._time&&v&&(y+=this._time-g,e+=this._time-g),r=y,f=this._start,u=!(c=this._ts),b&&(v||(g=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(h=this._yoyo,s=v+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(100*s+e,t,n);if(r=ez(y%s),y===m?(a=this._repeat,r=v):((a=~~(d=ez(y/s)))&&a===d&&(r=v,a--),r>v&&(r=v)),d=tn(this._tTime,s),!g&&this._tTime&&d!==a&&this._tTime-d*s-this._dur<=0&&(d=a),h&&1&a&&(r=v-r,p=1),a!==d&&!this._lock){var _=h&&1&d,T=_===(h&&1&a);if(a<d&&(_=!_),g=_?0:y%v?v:y,this._lock=1,this.render(g||(p?0:ez(a*s)),t,!v)._lock=0,this._tTime=y,!t&&this.parent&&tz(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),g&&g!==this._time||!this._ts!==u||this.vars.onRepeat&&!this.parent&&!this._act||(v=this._dur,m=this._tDur,T&&(this._lock=2,g=_?v:-.0001,this.render(g,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u))return this;nt(this,p)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(l=th(this,ez(g),ez(r)))&&(y-=r-(r=l._start)),this._tTime=y,this._time=r,this._act=!c,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,g=0),!g&&y&&!t&&!d&&(tz(this,"onStart"),this._tTime!==y))return this;if(r>=g&&e>=0)for(i=this._first;i;){if(o=i._next,(i._act||r>=i._start)&&i._ts&&l!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,t,n),r!==this._time||!this._ts&&!u){l=0,o&&(y+=this._zTime=-Z);break}}i=o}else{i=this._last;for(var w=e<0?e:r;i;){if(o=i._prev,(i._act||w<=i._end)&&i._ts&&l!==i){if(i.parent!==this)return this.render(e,t,n);if(i.render(i._ts>0?(w-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(w-i._start)*i._ts,t,n||F&&eY(i)),r!==this._time||!this._ts&&!u){l=0,o&&(y+=this._zTime=w?-Z:Z);break}}i=o}}if(l&&!t&&(this.pause(),l.render(r>=g?0:-Z)._zTime=r>=g?1:-1,this._ts))return this._start=f,ti(this),this.render(e,t,n);this._onUpdate&&!t&&tz(this,"onUpdate",!0),(y===m&&this._tTime>=this.totalDuration()||!y&&g)&&(f===this._start||Math.abs(c)!==Math.abs(this._ts))&&!this._lock&&((e||!v)&&(y===m&&this._ts>0||!y&&this._ts<0)&&e6(this,1),t||e<0&&!g||!y&&!g&&m||(tz(this,y===m&&e>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<m&&this.timeScale()>0)&&this._prom()))}return this},n.add=function(e,t){var n=this;if(eo(t)||(t=tv(this,t,e)),!(e instanceof nu)){if(ed(e))return e.forEach(function(e){return n.add(e,t)}),this;if(er(e))return this.addLabel(e,t);if(!ei(e))return this;e=nE.delayedCall(0,e)}return this!==e?ts(this,e,t):this},n.getChildren=function(e,t,n,r){void 0===e&&(e=!0),void 0===t&&(t=!0),void 0===n&&(n=!0),void 0===r&&(r=-H);for(var i=[],o=this._first;o;)o._start>=r&&(o instanceof nE?t&&i.push(o):(n&&i.push(o),e&&i.push.apply(i,o.getChildren(!0,t,n)))),o=o._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return er(e)?this.removeLabel(e):ei(e)?this.killTweensOf(e):(e.parent===this&&e4(this,e),e===this._recent&&(this._recent=this._last),e8(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ez(t2.time-(this._ts>0?t/this._ts:-((this.totalDuration()-t)/this._ts)))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=tv(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=nE.delayedCall(0,t||eO,n);return r.data="isPause",this._hasPause=1,ts(this,r,tv(this,e))},n.removePause=function(e){var t=this._first;for(e=tv(this,e);t;)t._start===e&&"isPause"===t.data&&e6(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)nc!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n,r=[],i=tO(e),o=this._first,a=eo(t);o;)o instanceof nE?eG(o._targets,i)&&(a?(!nc||o._initted&&o._ts)&&o.globalTime(0)<=t&&o.globalTime(o.totalDuration())>t:!t||o.isActive())&&r.push(o):(n=o.getTweensOf(i,t)).length&&r.push.apply(r,n),o=o._next;return r},n.tweenTo=function(e,t){t=t||{};var n,r=this,i=tv(r,e),o=t,a=o.startAt,s=o.onStart,u=o.onStartParams,l=o.immediateRender,c=nE.to(r,eK({ease:t.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:t.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale())||Z,onStart:function(){if(r.pause(),!n){var e=t.duration||Math.abs((i-(a&&"time"in a?a.time:r._time))/r.timeScale());c._dur!==e&&tp(c,e,0,1).render(c._time,!0,!0),n=1}s&&s.apply(c,u||[])}},t));return l?c.render(0):c},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,eK({startAt:{time:tv(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return void 0===e&&(e=this._time),tB(this,tv(this,e))},n.previousLabel=function(e){return void 0===e&&(e=this._time),tB(this,tv(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+Z)},n.shiftChildren=function(e,t,n){void 0===n&&(n=0);for(var r,i=this._first,o=this.labels;i;)i._start>=n&&(i._start+=e,i._end+=e),i=i._next;if(t)for(r in o)o[r]>=n&&(o[r]+=e);return e8(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){void 0===e&&(e=!0);for(var t,n=this._first;n;)t=n._next,this.remove(n),n=t;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),e8(this)},n.totalDuration=function(e){var t,n,r,i=0,o=this,a=o._last,s=H;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-e:e));if(o._dirty){for(r=o.parent;a;)t=a._prev,a._dirty&&a.totalDuration(),(n=a._start)>s&&o._sort&&a._ts&&!o._lock?(o._lock=1,ts(o,a,n-a._delay,1)._lock=0):s=n,n<0&&a._ts&&(i-=n,(!r&&!o._dp||r&&r.smoothChildTiming)&&(o._start+=n/o._ts,o._time-=n,o._tTime-=n),o.shiftChildren(-n,!1,-Infinity),s=0),a._end>i&&a._ts&&(i=a._end),a=t;tp(o,o===U&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},t.updateRoot=function(e){if(U._ts&&(eW(U,tr(e,U)),V=t2.frame),t2.frame>=eD){eD+=Y.autoSleep||120;var t=U._first;if((!t||!t._ts)&&Y.autoSleep&&t2._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||t2.sleep()}}},t}(nu);eK(nl.prototype,{_lock:0,_hasPause:0,_forcing:0});var nc,nf,nd=function(e,t,n,r,i,o,a){var s,u,l,c,f,d,h,p,g=new nF(this._pt,e,t,0,1,nI,null,i),m=0,v=0;for(g.b=n,g.e=r,n+="",r+="",(h=~r.indexOf("random("))&&(r=tU(r)),o&&(o(p=[n,r],e,t),n=p[0],r=p[1]),u=n.match(em)||[];s=em.exec(r);)c=s[0],f=r.substring(m,s.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),c!==u[v++]&&(d=parseFloat(u[v-1])||0,g._pt={_next:g._pt,p:f||1===v?f:",",s:d,c:"="===c.charAt(1)?eV(d,c)-d:parseFloat(c)-d,m:l&&l<4?Math.round:0},m=em.lastIndex);return g.c=m<r.length?r.substring(m,r.length):"",g.fp=a,(ev.test(r)||h)&&(g.e=0),this._pt=g,g},nh=function(e,t,n,r,i,o,a,s,u,l){ei(r)&&(r=r(i||0,e,o));var c,f=e[t],d="get"!==n?n:ei(f)?u?e[t.indexOf("set")||!ei(e["get"+t.substr(3)])?t:"get"+t.substr(3)](u):e[t]():f,h=ei(f)?u?nO:nC:nx;if(er(r)&&(~r.indexOf("random(")&&(r=tU(r)),"="===r.charAt(1)&&((c=eV(d,r)+(tT(d)||0))||0===c)&&(r=c)),!l||d!==r||nf)return isNaN(d*r)||""===r?(f||t in e||eE(t,r),nd.call(this,e,t,d,r,h,s||Y.stringFilter,u)):(c=new nF(this._pt,e,t,+d||0,r-(d||0),"boolean"==typeof f?nS:nN,0,h),u&&(c.fp=u),a&&c.modifier(a,this,e),this._pt=c)},np=function(e,t,n,r,i){if(ei(e)&&(e=n_(e,i,t,n,r)),!es(e)||e.style&&e.nodeType||ed(e)||ef(e))return er(e)?n_(e,i,t,n,r):e;var o,a={};for(o in e)a[o]=n_(e[o],i,t,n,r);return a},ng=function(e,t,n,r,i,o){var a,s,u,l;if(ej[e]&&!1!==(a=new ej[e]).init(i,a.rawVars?t[e]:np(t[e],r,i,o,n),n,r,o)&&(n._pt=s=new nF(n._pt,i,e,0,1,a.render,a,0,a.priority),n!==G))for(u=n._ptLookup[n._targets.indexOf(i)],l=a._props.length;l--;)u[a._props[l]]=s;return a},nm=function e(t,n,r){var i,o,a,s,u,l,c,f,d,h,p,g,m,v=t.vars,y=v.ease,b=v.startAt,_=v.immediateRender,T=v.lazy,w=v.onUpdate,E=v.runBackwards,x=v.yoyoEase,C=v.keyframes,O=v.autoRevert,k=t._dur,P=t._startAt,N=t._targets,S=t.parent,I=S&&"nested"===S.data?S.vars.targets:N,M="auto"===t._overwrite&&!R,j=t.timeline;if(!j||C&&y||(y="none"),t._ease=nn(y,W.ease),t._yEase=x?ne(nn(!0===x?y:x,W.ease)):0,x&&t._yoyo&&!t._repeat&&(x=t._yEase,t._yEase=t._ease,t._ease=x),t._from=!j&&!!v.runBackwards,!j||C&&!v.stagger){if(g=(f=N[0]?eU(N[0]).harness:0)&&v[f.prop],i=e1(v,eS),P&&(P._zTime<0&&P.progress(1),n<0&&E&&_&&!O?P.render(-1,!0):P.revert(E&&k?eP:ek),P._lazy=0),b){if(e6(t._startAt=nE.set(N,eK({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!P&&eu(T),startAt:null,delay:0,onUpdate:w&&function(){return tz(t,"onUpdate")},stagger:0}
vendor: 4,249 bytes, line 23
23,b))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(F||!_&&!O)&&t._startAt.revert(eP),_&&k&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(E&&k&&!P){if(n&&(_=!1),a=eK({overwrite:!1,data:"isFromStart",lazy:_&&!P&&eu(T),immediateRender:_,stagger:0,parent:S},i),g&&(a[f.prop]=g),e6(t._startAt=nE.set(N,a)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(F?t._startAt.revert(eP):t._startAt.render(-1,!0)),t._zTime=n,_){if(!n)return}else e(t._startAt,Z,Z)}for(o=0,t._pt=t._ptCache=0,T=k&&eu(T)||T&&!k;o<N.length;o++){if(c=(u=N[o])._gsap||eL(N)[o]._gsap,t._ptLookup[o]=h={},eM[c.id]&&eI.length&&e$(),p=I===N?o:I.indexOf(u),f&&!1!==(d=new f).init(u,g||i,t,p,I)&&(t._pt=s=new nF(t._pt,u,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(e){h[e]=s}),d.priority&&(l=1)),!f||g)for(a in i)ej[a]&&(d=ng(a,i,t,p,u,I))?d.priority&&(l=1):h[a]=s=nh.call(t,u,a,"get",i[a],p,I,0,v.stringFilter);t._op&&t._op[o]&&t.kill(u,t._op[o]),M&&t._pt&&(nc=t,U.killTweensOf(u,h,t.globalTime(n)),m=!t.parent,nc=0),t._pt&&T&&(eM[c.id]=1)}l&&nR(t),t._onInit&&t._onInit(t)}t._onUpdate=w,t._initted=(!t._op||t._pt)&&!m,C&&n<=0&&j.render(H,!0,!0)},nv=function(e,t,n,r,i,o,a,s){var u,l,c,f,d=(e._pt&&e._ptCache||(e._ptCache={}))[t];if(!d)for(d=e._ptCache[t]=[],c=e._ptLookup,f=e._targets.length;f--;){if((u=c[f][t])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==t&&u.fp!==t;)u=u._next;if(!u)return nf=1,e.vars[t]="+=0",nm(e,a),nf=0,s?ex(t+" not eligible for reset"):1;d.push(u)}for(f=d.length;f--;)(u=(l=d[f])._pt||l).s=(r||0===r)&&!i?r:u.s+(r||0)+o*u.c,u.c=n-u.s,l.e&&(l.e=eB(n)+tT(l.e)),l.b&&(l.b=u.s+tT(l.b))},ny=function(e,t){var n,r,i,o,a=e[0]?eU(e[0]).harness:0,s=a&&a.aliases;if(!s)return t;for(r in n=eX({},t),s)if(r in n)for(i=(o=s[r].split(",")).length;i--;)n[o[i]]=n[r];return n},nb=function(e,t,n,r){var i,o,a=t.ease||r||"power1.inOut";if(ed(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:a})});else for(i in t)o=n[i]||(n[i]=[]),"ease"===i||o.push({t:parseFloat(e),v:t[i],e:a})},n_=function(e,t,n,r,i){return ei(e)?e.call(t,n,r,i):er(e)&&~e.indexOf("random(")?tU(e):e},nT=eF+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",nw={};eQ(nT+",id,stagger,delay,duration,paused,scrollTrigger",function(e){return nw[e]=1});var nE=function(e){function t(t,n,r,i){"number"==typeof n&&(r.duration=n,n=r,r=null);var o,a,s,u,l,c,f,d,h,p=(o=e.call(this,i?n:e2(n))||this).vars,g=p.duration,m=p.delay,v=p.immediateRender,y=p.stagger,b=p.overwrite,_=p.keyframes,T=p.defaults,w=p.scrollTrigger,E=p.yoyoEase,x=n.parent||U,C=(ed(t)||ef(t)?eo(t[0]):"length"in n)?[t]:tO(t);if(o._targets=C.length?eL(C):ex("GSAP target "+t+" not found. https://gsap.com",!Y.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=b,_||y||ec(g)||ec(m)){if(n=o.vars,(a=o.timeline=new nl({data:"nested",defaults:T||{},targets:x&&"nested"===x.data?x.vars.targets:C})).kill(),a.parent=a._dp=A(o),a._start=0,y||ec(g)||ec(m)){if(l=C.length,d=y&&tN(y),es(y))for(c in y)~nT.indexOf(c)&&(h||(h={}),h[c]=y[c]);for(s=0;s<l;s++)(u=e1(n,nw)).stagger=0,E&&(u.yoyoEase=E),h&&eX(u,h),f=C[s],u.duration=+n_(g,A(o),s,f,C),u.delay=(+n_(m,A(o),s,f,C)||0)-o._delay,!y&&1===l&&u.delay&&(o._delay=m=u.delay,o._start+=m,u.delay=0),a.to(f,u,d?d(s,f,C):0),a._ease=t3.none;a.duration()?g=m=0:o.timeline=0}else if(_){e2(eK(a.vars.defaults,{ease:"none"})),a._ease=nn(_.ease||n.ease||"none");var O,k,P,N=0;if(ed(_))_.forEach(function(e){return a.to(C,e,">")}),a.duration();else{for(c in u={},_)"ease"===c||"easeEach"===c||nb(c,_[c],u,_.easeEach);for(c in u)for(s=0,O=u[c].sort(function(e,t){return e.t-t.t}),N=0;s<O.length;s++)(P={ease:(k=O[s]).e,duration:(k.t-(s?O[s-1].t:0))/100*g})[c]=k.v,a.to(C,P,N),N+=P.duration;a.duration()<g&&a.to({},{duration:g-a.duration()})}}g||o.duration(g=a.duration())}else o.timeline=0;return!0!==b||R||(nc=A(o),U.killTweensOf(C),nc=0),ts(x,A(o),r),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(v||!g&&!_&&o._start===ez(x._time)&&eu(v)&&te(A(o))&&"nested"!==x.data)&&(o._tTime=-Z,o.render(Math.max(0,-m)||0)),w&&tu(A(o),w),o}D(t,e);var n=t.prototype;return n.render=function(e,t,n){var r,i,o,a,s,u,l,c,f,d=this._time,h=this._tDur,p=this._dur,g=e<0,m=e>h-Z&&!g?h:e<Z?0:e;if(p){if(m!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==g||this._lazy){if
23(r=m,c=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&g)return this.totalTime(100*a+e,t,n);if(r=ez(m%a),m===h?(o=this._repeat,r=p):(o=~~(s=ez(m/a)))&&o===s?(r=p,o--):r>p&&(r=p),(u=this._yoyo&&1&o)&&(f=this._yEase,r=p-r),s=tn(this._tTime,a),r===d&&!n&&this._initted&&o===s)return this._tTime=m,this;o!==s&&(c&&this._yEase&&nt(c,u),this.vars.repeatRefresh&&!u&&!this._lock&&r!==a&&this._initted&&(this._lock=n=1,this.render(ez(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(tl(this,g?e:r,n,t,m))return this._tTime=0,this;if(d!==this._time&&!(n&&this.vars.repeatRefresh&&o!==s))return this;if(p!==this._dur)return this.render(e,t,n)}if(this._tTime=m,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(f||this._ease)(r/p),this._from&&(this.ratio=l=1-l),!d&&m&&!t&&!s&&(tz(this,"onStart"),this._tTime!==m))return this;for(i=this._pt;i;)i.r(l,i.d),i=i._next;c&&c.render(e<0?e:c._dur*c._ease(r/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(g&&e9(this,e,t,n),tz(this,"onUpdate")),this._repeat&&o!==s&&this.vars.onRepeat&&!t&&this.parent&&tz(this,"onRepeat"),(m===this._tDur||!m)&&this._tTime===m&&(g&&!this._onUpdate&&e9(this,e,!0,!0),(e||!p)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&e6(this,1),!t&&!(g&&!d)&&(m||d||u)&&(tz(this,m===h?"onComplete":"onReverseComplete",!0),this._prom&&!(m<h&&this.timeScale()>0)&&this._prom()))}}else td(this,e,t,n);return this},n.targets=function(){return this._targets},n.invalidate=function(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){$||t2.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||nm(this,o),nv(this,e,t,n,r,this._ease(o/this._dur),o,i))?this.resetTo(e,t,n,r,1):(to(this,0),this.parent||e3(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(e,t){if(void 0===t&&(t="all"),!e&&(!t||"all"===t))return this._lazy=this._pt=0,this.parent?tV(this):this.scrollTrigger&&this.scrollTrigger.kill(!!F),this;if(this.timeline){var n=this.timeline.totalDuration();
vendor: 9,940 bytes, line 23
23return this.timeline.killTweensOf(e,t,nc&&!0!==nc.vars.overwrite)._first||tV(this),this.parent&&n!==this.timeline.totalDuration()&&tp(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,o,a,s,u,l,c=this._targets,f=e?tO(e):c,d=this._ptLookup,h=this._pt;if((!t||"all"===t)&&e5(c,f))return"all"===t&&(this._pt=0),tV(this);for(r=this._op=this._op||[],"all"!==t&&(er(t)&&(s={},eQ(t,function(e){return s[e]=1}),t=s),t=ny(c,t)),l=c.length;l--;)if(~f.indexOf(c[l]))for(s in i=d[l],"all"===t?(r[l]=t,a=i,o={}):(o=r[l]=r[l]||{},a=t),a)(u=i&&i[s])&&("kill"in u.d&&!0!==u.d.kill(s)||e4(this,u,"_pt"),delete i[s]),"all"!==o&&(o[s]=1);return this._initted&&!this._pt&&h&&tV(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return ty(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return ty(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return U.killTweensOf(e,t,n)},t}(nu);eK(nE.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),eQ("staggerTo,staggerFrom,staggerFromTo",function(e){nE[e]=function(){var t=new nl,n=tE.call(arguments,0);return n.splice("staggerFromTo"===e?5:4,0,0),t[e].apply(t,n)}});var nx=function(e,t,n){return e[t]=n},nC=function(e,t,n){return e[t](n)},nO=function(e,t,n,r){return e[t](r.fp,n)},nk=function(e,t,n){return e.setAttribute(t,n)},nP=function(e,t){return ei(e[t])?nC:ea(e[t])&&e.setAttribute?nk:nx},nN=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},nS=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},nI=function(e,t){var n=t._pt,r="";if(!e&&t.b)r=t.b;else if(1===e&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},nM=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},nj=function(e,t,n,r){for(var i,o=this._pt;o;)i=o._next,o.p===r&&o.modifier(e,t,n),o=i},nA=function(e){for(var t,n,r=this._pt;r;)n=r._next,(r.p!==e||r.op)&&r.op!==e?r.dep||(t=1):e4(this,r,"_pt"),r=n;return!t},nD=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},nR=function(e){for(var t,n,r,i,o=e._pt;o;){for(t=o._next,n=r;n&&n.pr>o.pr;)n=n._next;(o._prev=n?n._prev:i)?o._prev._next=o:r=o,(o._next=n)?n._prev=o:i=o,o=t}e._pt=r},nF=function(){function e(e,t,n,r,i,o,a,s,u){this.t=t,this.s=r,this.c=i,this.p=n,this.r=o||nN,this.d=a||this,this.set=s||nx,this.pr=u||0,this._next=e,e&&(e._prev=this)}return e.prototype.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=nD,this.m=e,this.mt=n,this.tween=t},e}();eQ(eF+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(e){return eS[e]=1}),e_.TweenMax=e_.TweenLite=nE,e_.TimelineLite=e_.TimelineMax=nl,U=new nl({sortChildren:!1,defaults:W,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Y.stringFilter=t1;var nL=[],nU={},nq=[],nQ=0,nB=0,nz=function(e){return(nU[e]||nq).map(function(e){return e()})},nV=function(){var e=Date.now(),t=[];e-nQ>2&&(nz("matchMediaInit"),nL.forEach(function(e){var n,r,i,o,a=e.queries,s=e.conditions;for(r in a)(n=q.matchMedia(a[r]).matches)&&(i=1),n!==s[r]&&(s[r]=n,o=1);o&&(e.revert(),i&&t.push(e))}),nz("matchMediaRevert"),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),nQ=e,nz("matchMedia"))},nG=function(){function e(e,t){this.selector=t&&tk(t),this.data=[],this._r=[],this.isReverted=!1,this.id=nB++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){ei(e)&&(n=t,t=e,e=ei);var r=this,i=function(){var e,i=L,o=r.selector;return i&&i!==r&&i.data.push(r),n&&(r.selector=tk(n)),L=r,e=t.apply(r,arguments),ei(e)&&r._r.push(e),L=i,r.selector=o,r.isReverted=!1,e};return r.last=i,e===ei?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=L;L=null,e(this),L=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof nE&&!(n.parent&&"nested"===n.parent.data)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?function(){for(var t,r=n.getTweens(),i=n.data.length;i--;)"isFlip"===(t=n.data[i]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(e){return r.splice(r.indexOf(e),1)}));for(r.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),i=n.data.length;i--;)(t=n.data[i])instanceof nl?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof nE||!t.revert||t.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0}():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=nL.length;r--;)nL[r].id===this.id&&nL.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),n$=function(){function e(e){this.contexts=[],this.scope=e,L&&L.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){es(e)||(e={matches:e});var r,i,o,a=new nG(0,n||this.scope),s=a.conditions={};for(i in L&&!a.selector&&(a.selector=L.selector),this.contexts.push(a),t=a.add("onMatch",t),a.queries=e,e)"all"===i?o=1:(r=q.matchMedia(e[i]))&&(0>nL.indexOf(a)&&nL.push(a),(s[i]=r.matches)&&(o=1),r.addListener?r.addListener(nV):r.addEventListener("change",nV));return o&&t(a,function(e){return a.add(null,e)}),this},t.revert=function(e){this.kill(e||{})},t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),nY={registerPlugin:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];t.forEach(function(e){return t$(e)})},timeline:function(e){return new nl(e)},getTweensOf:function(e,t){return U.getTweensOf(e,t)},getProperty:function(e,t,n,r){er(e)&&(e=tO(e)[0]);var i=eU(e||{}).get,o=n?eZ:eH;return"native"===n&&(n=""),e?t?o((ej[t]&&ej[t].get||i)(e,t,n,r)):function(t,n,r){return o((ej[t]&&ej[t].get||i)(e,t,n,r))}:e},quickSetter:function(e,t,n){if((e=tO(e)).length>1){var r=e.map(function(e){return nK.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var o=ej[t],a=eU(e),s=a.harness&&(a.harness.aliases||{})[t]||t,u=o?function(t){var r=new o;G._pt=0,r.init(e,n?t+n:t,G,0,[e]),r.render(1,r),G._pt&&nM(1,G)}:a.set(e,s);return o?u:function(t){return u(e,s,n?t+n:t,a,1)}},quickTo:function(e,t,n){var r,i=nK.to(e,eK(((r={})[t]="+=0.1",r.paused=!0,r.stagger=0,r),n||{})),o=function(e,n,r){return i.resetTo(t,e,n,r)};return o.tween=i,o},isTweening:function(e){return U.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=nn(e.ease,W.ease)),e0(W,e||{})},config:function(e){return e0(Y,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,o=e.extendTimeline;(r||"").split(",").forEach(function(e){return e&&!ej[e]&&!e_[e]&&ex(t+" effect requires "+e+" plugin.")}),eA[t]=function(e,t,r){return n(tO(e),eK(t||{},i),r)},o&&(nl.prototype[t]=function(e,n,r){return this.add(eA[t](e,es(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){t3[e]=nn(t)},parseEase:function(e,t){return arguments.length?nn(e,t):t3},getById:function(e){return U.getById(e)},exportRoot:function(e,t){void 0===e&&(e={});var n,r,i=new nl(e);for(i.smoothChildTiming=eu(e.smoothChildTiming),U.remove(i),i._dp=0,i._time=i._tTime=U._time,n=U._first;n;)r=n._next,(t||!(!n._dur&&n instanceof nE&&n.vars.onComplete===n._targets[0]))&&ts(i,n,n._start-n._delay),n=r;return ts(U,i,0),i},context:function(e,t){return e?new nG(e,t):L},matchMedia:function(e){return new n$(e)},matchMediaRefresh:function(){return nL.forEach(function(e){var t,n,r=e.conditions;for(n in r)r[n]&&(r[n]=!1,t=1);t&&e.revert()})||nV()},addEventListener:function(e,t){var n=nU[e]||(nU[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=nU[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:tF,wrapYoyo:tL,distribute:tN,random:tM,snap:tI,normalize:tD,getUnit:tT,clamp:tw,splitColor:tZ,toArray:tO,selector:tk,mapRange:tq,pipe:tj,unitize:tA,interpolate:tQ,shuffle:tP},install:ew,effects:eA,ticker:t2,updateRoot:nl.updateRoot,plugins:ej,globalTimeline:U,core:{PropTween:nF,globals:eC,Tween:nE,Timeline:nl,Animation:nu,getCache:eU,_removeLinkedListItem:e4,reverting:function(){return F},context:function(e){return e&&L&&(L.data.push(e),e._ctx=L),L},suppressOverwrites:function(e){return R=e}}};eQ("to,from,fromTo,delayedCall,set,killTweensOf",function(e){return nY[e]=nE[e]}),t2.add(nl.updateRoot),G=nY.to({},{duration:0});var nW=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},nH=function(e,t){var n,r,i,o=e._targets;for(n in t)for(r=o.length;r--;)(i=e._ptLookup[r][n])&&(i=i.d)&&(i._pt&&(i=nW(i,n)),i&&i.modifier&&i.modifier(t[n],e,o[r],n))},nZ=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(er(n)&&(r={},eQ(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}nH(e,n)}}}},nK=nY.registerPlugin({name:"attr",init:function(e,t,n,r,i){var o,a,s;for(o in this.tween=n,t)s=e.getAttribute(o)||"",(a=this.add(e,"setAttribute",(s||0)+"",t[o],r,i,0,0,o)).op=o,a.b=s,this._props.push(o)},render:function(e,t){for(var n=t._pt;n;)F?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:"endArray",headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},nZ("roundProps",tS),nZ("modifiers"),nZ("snap",tI))||nY;nE.version=nl.version=nK.version="3.13.0",z=1,el()&&t5(),t3.Power0,t3.Power1,t3.Power2,t3.Power3,t3.Power4,t3.Linear,t3.Quad,t3.Cubic,t3.Quart,t3.Quint,t3.Strong,t3.Elastic,t3.Back,t3.SteppedEase,t3.Bounce,t3.Sine,t3.Expo,t3.Cir
vendor: 5,361 bytes, line 23
23c;var nJ,nX,n0,n1,n2,n5,n3,n4,n6=function(){return"undefined"!=typeof window},n8={},n7=180/Math.PI,n9=Math.PI/180,re=Math.atan2,rt=1e8,rn=/([A-Z])/g,rr=/(left|right|width|margin|padding|x)/i,ri=/[\s,\(]\S/,ro={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ra=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},rs=function(e,t){return t.set(t.t,t.p,1===e?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},ru=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},rl=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},rc=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},rf=function(e,t){return t.set(t.t,t.p,1!==e?t.b:t.e,t)},rd=function(e,t,n){return e.style[t]=n},rh=function(e,t,n){return e.style.setProperty(t,n)},rp=function(e,t,n){return e._gsap[t]=n},rg=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},rm=function(e,t,n,r,i){var o=e._gsap;o.scaleX=o.scaleY=n,o.renderTransform(i,o)},rv=function(e,t,n,r,i){var o=e._gsap;o[t]=n,o.renderTransform(i,o)},ry="transform",rb=ry+"Origin",r_=function e(t,n){var r=this,i=this.target,o=i.style,a=i._gsap;if(t in n8&&o){if(this.tfm=this.tfm||{},"transform"===t)return ro.transform.split(",").forEach(function(t){return e.call(r,t,n)});if(~(t=ro[t]||t).indexOf(",")?t.split(",").forEach(function(e){return r.tfm[e]=rL(i,e)}):this.tfm[t]=a.x?a[t]:rL(i,t),t===rb&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(ry)>=0)return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(rb,n,"")),t=ry}(o||n)&&this.props.push(t,n,o[t])},rT=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},rw=function(){var e,t,n=this.props,r=this.target,i=r.style,o=r._gsap;for(e=0;e<n.length;e+=3)n[e+1]?2===n[e+1]?r[n[e]](n[e+2]):r[n[e]]=n[e+2]:n[e+2]?i[n[e]]=n[e+2]:i.removeProperty("--"===n[e].substr(0,2)?n[e]:n[e].replace(rn,"-$1").toLowerCase());if(this.tfm){for(t in this.tfm)o[t]=this.tfm[t];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(e=n3())&&e.isStart||i[ry]||(rT(i),o.zOrigin&&i[rb]&&(i[rb]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},rE=function(e,t){var n={target:e,props:[],revert:rw,save:r_};return e._gsap||nK.core.getCache(e),t&&e.style&&e.nodeType&&t.split(",").forEach(function(e){return n.save(e)}),n},rx=function(e,t){var n=nJ.createElementNS?nJ.createElementNS((t||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):nJ.createElement(e);return n&&n.style?n:nJ.createElement(e)},rC=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(rn,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&e(t,rk(n)||n,1)||""},rO="O,Moz,ms,Ms,Webkit".split(","),rk=function(e,t,n){var r=(t||n1).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(rO[i]+e in r););return i<0?null:(3===i?"ms":i>=0?rO[i]:"")+e},rP=function(){n6()&&window.document&&(nX=(nJ=window.document).documentElement,n1=rx("div")||{style:{}},n2=rx("div"),rb=(ry=rk(ry))+"Origin",n1.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",n4=!!rk("perspective"),n3=nK.core.reverting,n0=1)},rN=function(e){var t,n=e.ownerSVGElement,r=rx("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0);i.style.display="block",r.appendChild(i),nX.appendChild(r);try{t=i.getBBox()}catch(e){}return r.removeChild(i),nX.removeChild(r),t},rS=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},rI=function(e){var t,n;try{t=e.getBBox()}catch(r){t=rN(e),n=1}return t&&(t.width||t.height)||n||(t=rN(e)),!t||t.width||t.x||t.y?t:{x:+rS(e,["x","cx","x1"])||0,y:+rS(e,["y","cy","y1"])||0,width:0,height:0}},rM=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&rI(e))},rj=function(e,t){if(t){var n,r=e.style;t in n8&&t!==rb&&(t=ry),r.removeProperty?(("ms"===(n=t.substr(0,2))||"webkit"===t.substr(0,6))&&(t="-"+t),r.removeProperty("--"===n?t:t.replace(rn,"-$1").toLowerCase())):r.removeAttribute(t)}},rA=function(e,t,n,r,i,o){var a=new nF(e._pt,t,n,0,1,o?rf:rc);return e._pt=a,a.b=r,a.e=i,e._props.push(n),a},rD={deg:1,rad:1,turn:1},rR={grid:1,flex:1},rF=function e(t,n,r,i){var o,a,s,u,l=parseFloat(r)||0,c=(r+"").trim().substr((l+"").length)||"px",f=n1.style,d=rr.test(n),h="svg"===t.tagName.toLowerCase(),p=(h?"client":"offset")+(d?"Width":"Height"),g=100,m="px"===i,v="%"===i;if(i===c||!l||rD[i]||rD[c])return l;if("px"===c||m||(l=e(t,n,r,"px")),u=t.getCTM&&rM(t),(v||"%"===c)&&(n8[n]||~n.indexOf("adius")))return o=u?t.getBBox()[d?"width":"height"]:t[p],eB(v?l/o*g:l/100*o);if(f[d?"width":"height"]=g+(m?c:i),a="rem"!==i&&~n.indexOf("adius")||"em"===i&&t.appendChild&&!h?t:t.parentNode,u&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==nJ&&a.appendChild||(a=nJ.body),(s=a._gsap)&&v&&s.width&&d&&s.time===t2.time&&!s.uncache)return eB(l/s.width*g);if(v&&("height"===n||"width"===n)){var y=t.style[n];t.style[n]=g+i,o=t[p],y?t.style[n]=y:rj(t,n)}else(v||"%"===c)&&!rR[rC(a,"display")]&&(f.position=rC(t,"position")),a===t&&(f.position="static"),a.appendChild(n1),o=n1[p],a.removeChild(n1),f.position="absolute";return d&&v&&((s=eU(a)).time=t2.time,s.width=a[p]),eB(m?o*l/g:o&&l?g/o*l:0)},rL=function(e,t,n,r){var i;return n0||rP(),t in ro&&"transform"!==t&&~(t=ro[t]).indexOf(",")&&(t=t.
vendor: 6,946 bytes, line 23
23split(",")[0]),n8[t]&&"transform"!==t?(i=rZ(e,r),i="transformOrigin"!==t?i[t]:i.svg?i.origin:rK(rC(e,rb))+" "+i.zOrigin+"px"):(!(i=e.style[t])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=rz[t]&&rz[t](e,t,n)||rC(e,t)||eq(e,t)||("opacity"===t?1:0)),n&&!~(i+"").trim().indexOf(" ")?rF(e,t,i,n)+n:i},rU=function(e,t,n,r){if(!n||"none"===n){var i=rk(t,e,1),o=i&&rC(e,i,1);o&&o!==n?(t=i,n=o):"borderColor"===t&&(n=rC(e,"borderTopColor"))}var a,s,u,l,c,f,d,h,p,g,m,v=new nF(this._pt,e.style,t,0,1,nI),y=0,b=0;if(v.b=n,v.e=r,n+="","var(--"===(r+="").substring(0,6)&&(r=rC(e,r.substring(4,r.indexOf(")")))),"auto"===r&&(f=e.style[t],e.style[t]=r,r=rC(e,t)||r,f?e.style[t]=f:rj(e,t)),t1(a=[n,r]),n=a[0],r=a[1],u=n.match(eg)||[],(r.match(eg)||[]).length){for(;s=eg.exec(r);)d=s[0],p=r.substring(y,s.index),c?c=(c+1)%5:("rgba("===p.substr(-5)||"hsla("===p.substr(-5))&&(c=1),d!==(f=u[b++]||"")&&(l=parseFloat(f)||0,m=f.substr((l+"").length),"="===d.charAt(1)&&(d=eV(l,d)+m),h=parseFloat(d),g=d.substr((h+"").length),y=eg.lastIndex-g.length,g||(g=g||Y.units[t]||m,y!==r.length||(r+=g,v.e+=g)),m!==g&&(l=rF(e,t,f,g)||0),v._pt={_next:v._pt,p:p||1===b?p:",",s:l,c:h-l,m:c&&c<4||"zIndex"===t?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===t&&"none"===r?rf:rc;return ev.test(r)&&(v.e=0),this._pt=v,v},rq={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},rQ=function(e){var t=e.split(" "),n=t[0],r=t[1]||"50%";return("top"===n||"bottom"===n||"left"===r||"right"===r)&&(e=n,n=r,r=e),t[0]=rq[n]||n,t[1]=rq[r]||r,t.join(" ")},rB=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n,r,i,o=t.t,a=o.style,s=t.u,u=o._gsap;if("all"===s||!0===s)a.cssText="",r=1;else for(i=(s=s.split(",")).length;--i>-1;)n8[n=s[i]]&&(r=1,n="transformOrigin"===n?rb:ry),rj(o,n);r&&(rj(o,ry),u&&(u.svg&&o.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",rZ(o,1),u.uncache=1,rT(a)))}},rz={clearProps:function(e,t,n,r,i){if("isFromStart"!==i.data){var o=e._pt=new nF(e._pt,t,n,0,0,rB);return o.u=r,o.pr=-10,o.tween=i,e._props.push(n),1}}},rV=[1,0,0,1,0,0],rG={},r$=function(e){return"matrix(1, 0, 0, 1, 0, 0)"===e||"none"===e||!e},rY=function(e){var t=rC(e,ry);return r$(t)?rV:t.substr(7).match(ep).map(eB)},rW=function(e,t){var n,r,i,o,a=e._gsap||eU(e),s=e.style,u=rY(e);return a.svg&&e.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(i=e.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?rV:u:(u!==rV||e.offsetParent||e===nX||a.svg||(i=s.display,s.display="block",(n=e.parentNode)&&(e.offsetParent||e.getBoundingClientRect().width)||(o=1,r=e.nextElementSibling,nX.appendChild(e)),u=rY(e),i?s.display=i:rj(e,"display"),o&&(r?n.insertBefore(e,r):n?n.appendChild(e):nX.removeChild(e))),t&&u.length>6?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)},rH=function(e,t,n,r,i,o){var a,s,u,l,c=e._gsap,f=i||rW(e,!0),d=c.xOrigin||0,h=c.yOrigin||0,p=c.xOffset||0,g=c.yOffset||0,m=f[0],v=f[1],y=f[2],b=f[3],_=f[4],T=f[5],w=t.split(" "),E=parseFloat(w[0])||0,x=parseFloat(w[1])||0;n?f!==rV&&(s=m*b-v*y)&&(u=b/s*E+-y/s*x+(y*T-b*_)/s,l=-v/s*E+m/s*x-(m*T-v*_)/s,E=u,x=l):(E=(a=rI(e)).x+(~w[0].indexOf("%")?E/100*a.width:E),x=a.y+(~(w[1]||w[0]).indexOf("%")?x/100*a.height:x)),r||!1!==r&&c.smooth?(_=E-d,T=x-h,c.xOffset=p+(_*m+T*y)-_,c.yOffset=g+(_*v+T*b)-T):c.xOffset=c.yOffset=0,c.xOrigin=E,c.yOrigin=x,c.smooth=!!r,c.origin=t,c.originIsAbsolute=!!n,e.style[rb]="0px 0px",o&&(rA(o,c,"xOrigin",d,E),rA(o,c,"yOrigin",h,x),rA(o,c,"xOffset",p,c.xOffset),rA(o,c,"yOffset",g,c.yOffset)),e.setAttribute("data-svg-origin",E+" "+x)},rZ=function(e,t){var n=e._gsap||new ns(e);if("x"in n&&!t&&!n.uncache)return n;var r,i,o,a,s,u,l,c,f,d,h,p,g,m,v,y,b,_,T,w,E,x,C,O,k,P,N,S,I,M,j,A,D=e.style,R=n.scaleX<0,F="px",L="deg",U=getComputedStyle(e),q=rC(e,rb)||"0";return r=i=o=u=l=c=f=d=h=0,a=s=1,n.svg=!!(e.getCTM&&rM(e)),U.translate&&(("none"!==U.translate||"none"!==U.scale||"none"!==U.rotate)&&(D[ry]=("none"!==U.translate?"translate3d("+(U.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==U.rotate?"rotate("+U.rotate+") ":"")+("none"!==U.scale?"scale("+U.scale.split(" ").join(",")+") ":"")+("none"!==U[ry]?U[ry]:"")),D.scale=D.rotate=D.translate="none"),m=rW(e,n.svg),n.svg&&(n.uncache?(k=e.getBBox(),q=n.xOrigin-k.x+"px "+(n.yOrigin-k.y)+"px",O=""):O=!t&&e.getAttribute("data-svg-origin"),rH(e,O||q,!!O||n.originIsAbsolute,!1!==n.smooth,m)),p=n.xOrigin||0,g=n.yOrigin||0,m!==rV&&(_=m[0],T=m[1],w=m[2],E=m[3],r=x=m[4],i=C=m[5],6===m.length?(a=Math.sqrt(_*_+T*T),s=Math.sqrt(E*E+w*w),u=_||T?re(T,_)*n7:0,(f=w||E?re(w,E)*n7+u:0)&&(s*=Math.abs(Math.cos(f*n9))),n.svg&&(r-=p-(p*_+g*w),i-=g-(p*T+g*E))):(A=m[6],M=m[7],N=m[8],S=m[9],I=m[10],j=m[11],r=m[12],i=m[13],o=m[14],l=(v=re(A,I))*n7,v&&(O=x*(y=Math.cos(-v))+N*(b=Math.sin(-v)),k=C*y+S*b,P=A*y+I*b,N=-(x*b)+N*y,S=-(C*b)+S*y,I=-(A*b)+I*y,j=-(M*b)+j*y,x=O,C=k,A=P),c=(v=re(-w,I))*n7,v&&(O=_*(y=Math.cos(-v))-N*(b=Math.sin(-v)),k=T*y-S*b,P=w*y-I*b,j=E*b+j*y,_=O,T=k,w=P),u=(v=re(T,_))*n7,v&&(O=_*(y=Math.cos(v))+T*(b=Math.sin(v)),k=x*y+C*b,T=T*y-_*b,C=C*y-x*b,_=O,x=k),l&&Math.abs(l)+Math.abs(u)>359.9&&(l=u=0,c=180-c),a=eB(Math.sqrt(_*_+T*T+w*w)),s=eB(Math.sqrt(C*C+A*A)),f=Math.abs(v=re(x,C))>2e-4?v*n7:0,h=j?1/(j<0?-j:j):0),n.svg&&(O=e.getAttribute("transform"),n.forceCSS=e.setAttribute("transform","")||!r$(rC(e,ry)),O&&e.setAttribute("transform",O))),Math.abs(f)>90&&270>Math.abs(f)&&(R?(a*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(s*=-1,f+=f<=0?180:-180)),t=t||n.uncache,n.x=r-((n.xPercent=r&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-r)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+F,n.y=i-((n.yPercent=i&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-i)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+F,n.z=o+F,n.scaleX=eB(a),n.scaleY=eB(s),n.rotation=eB(u)+L,n.rotationX=eB(l)+L,n.rotationY=eB(c)+L,n.skewX=f+L,n.skewY=d+L,n.transformPerspective=h+F,(n.zOrigin=parseFloat(q.split(" ")[2])||!t&&n.zOrigin||0)&&(D[rb]=rK(q)),n.xOffset=n.yOffset=0,n.force3D=Y.force3D,n.renderTransform=n.svg?r3:n4?r5:rX,n.uncache=0,n},rK=function(e){return(e=e.split(" "))[0]+" "+e[1]},rJ=function(e,t,n){var r=tT(t);return eB(parseFloat(t)+parseFloat(rF(e,"x",n+"px",r)))+r},rX=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,r5(e,t)},r0="0deg",r1="0px",r2=") ",r5=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,o=n.x,a=n.y,s=n.z,u=n.rotation,l=n.rotationY,c=n.rotationX,f=n.skewX,d=n.skewY,h=n.scaleX,p=n.scaleY,g=n.transformPerspective,m=n.force3D,v=n.target,y=n.zOrigin,b="",_="auto"===m&&e&&1!==e||!0===m;if(y&&(c!==r0||l!==r0)){var T,w=parseFloat(l)*n9,E=Math.sin(w),x=Math.cos(w);o=rJ(v,o,-(E*(T=Math.cos(w=parseFloat(c)*n9))*y)),a=rJ(v,a,-(-Math.sin(w)*y)),s=rJ(v,s,-(x*T*y)+y)}g!==r1&&(b+="perspective("+g+r2),(r||i)&&(b+="translate("+r+"%, "+i+"%) "),(_||o!==r1||a!==r1||s!==r1)&&(b+=s!==r1||_?"translate3d("+o+", "+a+", "+s+") ":"translate("+o+", "+a+r2),u!==r0&&(b+="rotate("+u+r2),l!==r0&&(b+="rotateY("+l+r2),c!==r0&&
23(b+="rotateX("+c+r2),(f!==r0||d!==r0)&&(b+="skew("+f+", "+d+r2),(1!==h||1!==p)&&(b+="scale("+h+", "+p+r2),v.style[ry]=b||"translate(0, 0)"},r3=function(e,t){var n,r,i,o,a,s=t||this,u=s.xPercent,l=s.yPercent,c=s.x,f=s.y,d=s.rotation,h=s.skewX,p=s.skewY,g=s.scaleX,m=s.scaleY,v=s.target,y=s.xOrigin,b=s.yOrigin,_=s.xOffset,T=s.yOffset,w=s.forceCSS,E=parseFloat(c),x=parseFloat(f);d=parseFloat(d),h=parseFloat(h),(p=parseFloat(p))&&(h+=p=parseFloat(p),d+=p),d||h?(d*=n9,h*=n9,n=Math.cos(d)*g,r=Math.sin(d)*g,i=-(Math.sin(d-h)*m),o=Math.cos(d-h)*m,h&&(p*=n9,i*=a=Math.sqrt(1+(a=Math.tan(h-p))*a),o*=a,p&&(n*=a=Math.sqrt(1+(a=Math.tan(p))*a),r*=a)),n=eB(n),r=eB(r),i=eB(i),o=eB(o)):(n=g,o=m,r=i=0),(E&&!~(c+"").indexOf("px")||x&&!~(f+"").indexOf("px"))&&(E=rF(v,"x",c,"px"),x=rF(v,"y",f,"px")),(y||b||_||T)&&(E=eB(E+y-(y*n+b*i)+_),x=eB(x+b-(y*r+b*o)+T)),(u||l)&&(E=eB(E+u/100*(a=v.getBBox()).width),x=eB(x+l/100*a.height)),a="matrix("+n+","+r+","+i+","+o+","+E+","+x+")",v.setAttribute("transform",a),w&&(v.style[ry]=a)},r4=function(e,t,n,r,i){var o,a,s=360,u=er(i),l=parseFloat(i)*(u&&~i.indexOf("rad")?n7:1)-r,c=r+l+"deg";return u&&("short"===(o=i.split("_")[1])&&(l%=s)!=l%(s/2)&&(l+=l<0?s:-s),"cw"===o&&l<0?l=(l+s*rt)%s-~~(l/s)*s:"ccw"===o&&l>0&&(l=(l-s*rt)%s-~~(l/s)*s)),e._pt=a=new nF(e._pt,t,n,r,l,rs),a.e=c,a.u="deg",e._props.push(n),a},r6=function(e,t){for(var n in t)e[n]=t[n];return e},r8=function(e,t,n){var r,i,o,a,s,u,l,c=r6({},n._gsap),f="perspective,force3D,transformOrigin,svgOrigin",d=n.style;for(i in c.svg?(o=n.getAttribute("transform"),n.setAttribute("transform",""),d[ry]=t,r=rZ(n,1),rj(n,ry),n.setAttribute("transform",o)):(o=getComputedStyle(n)[ry],d[ry]=t,r=rZ(n,1),d[ry]=o),n8)(o=c[i])!==(a=r[i])&&0>f.indexOf(i)&&(s=tT(o)!==(l=tT(a))?rF(n,i,o,l):parseFloat(o),u=parseFloat(a),e._pt=new nF(e._pt,r,i,s,u-s,ra),e._pt.u=l||0,e._props.push(i));r6(r,c)};eQ("padding,margin,Width,Radius",function(e,t){var n="Top",r="Right",i="Bottom",o="Left",a=(t<3?[n,r,i,o]:[n+o,n+r,i+r,i+o]).map(function(n){return t<2?e+n:"border"+n+e});rz[t>1?"border"+e:e]=function(e,t,n,r,i){var o,s;if(arguments.length<4)return 5===(s=(o=a.map(function(t){return rL(e,t,n)})).join(" ")).split(o[0]).length?o[0]:s;o=(r+"").split(" "),s={},a.forEach(function(e,t){return s[e]=o[t]=o[t]||o[(t-1)/2|0]}),e.init(t,s,i)}});var r7={name:"css",register:rP,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,p,g,m,v,y,b,_,T=this._props,w=e.style,E=n.vars.startAt;for(f in n0||rP(),this.styles=this.styles||rE(e),_=this.styles.props,this.tween=n,t)if("autoRound"!==f&&(a=t[f],!(ej[f]&&ng(f,t,n,r,e,i)))){if(l=typeof a,c=rz[f],"function"===l&&(l=typeof(a=a.call(n,r,e,i))),"string"===l&&~a.indexOf("random(")&&(a=tU(a)),c)c(this,e,f,a,n)&&(b=1);else if("--"===f.substr(0,2))o=(getComputedStyle(e).getPropertyValue(f)+"").trim(),a+="",tX.lastIndex=0,tX.test(o)||(d=tT(o),h=tT(a)),h?d!==h&&(o=rF(e,f,o,h)+h):d&&(a+=d),this.add(w,"setProperty",o,a,r,i,0,0,f),T.push(f),_.push(f,0,w[f]);else if("undefined"!==l){if(E&&f in E?(er(o="function"==typeof E[f]?E[f].call(n,r,e,i):E[f])&&~o.indexOf("random(")&&(o=tU(o)),tT(o+"")||"auto"===o||(o+=Y.units[f]||tT(rL(e,f))||""),"="===(o+"").charAt(1)&&(o=rL(e,f))):o=rL(e,f),u=parseFloat(o),(p="string"===l&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),s=parseFloat(a),f in ro&&("autoAlpha"===f&&(1===u&&"hidden"===rL(e,"visibility")&&s&&(u=0),_.push("visibility",0,w.visibility),rA(this,w,"visibility",u?"inherit":"hidden",s?"inherit":"hidden",!s)),"scale"!==f&&"transform"!==f&&~(f=ro[f]).indexOf(",")&&(f=f.split(",")[0])),g=f in n8){if(this.styles.save(f),"string"===l&&"var(--"===a.substring(0,6)&&(s=parseFloat(a=rC(e,a.substring(4,a.indexOf(")"))))),m||((v=e._gsap).renderTransform&&!t.parseTransform||rZ(e,t.parseTransform),y=!1!==t.smoothOrigin&&v.smooth,(m=this._pt=new nF(this._pt,w,ry,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===f)this._pt=new nF(this._pt,v,"scaleY",v.scaleY,(p?eV(v.scaleY,p+s):s)-v.scaleY||0,ra),this._pt.u=0,T.push("scaleY",f),f+="X";else if("transformOrigin"===f){_.push(rb,0,w[rb]),a=rQ(a),v.svg?rH(e,a,0,y,0,this):((h=parseFloat(a.split(" ")[2])||0)!==v.zOrigin&&rA(this,v,"zOrigin",v.zOrigin,h),rA(this,w,f,rK(o),rK(a)));continue}else if("svgOrigin"===f){rH(e,a,1,y,0,this);continue}else if(f in rG){r4(this,v,f,u,p?eV(u,p+a):a);continue}else if("smoothOrigin"===f){rA(this,v,"smooth",v.smooth,a);continue}else if("force3D"===f){v[f]=a;continue}else if("transform"===f){r8(this,a,e);continue}}else f in w||(f=rk(f)||f);if(g||(s||0===s)&&(u||0===u)&&!ri.test(a)&&f in w)d=(o+"").substr((u+"").length),s||(s=0),h=tT(a)||(f in Y.units?Y.units[f]:d),d!==h&&(u=rF(e,f,o,h)),this._pt=new nF(this._pt,g?v:w,f,u,(p?eV(u,p+s):s)-u,g||"px"!==h&&"zIndex"!==f||!1===t.autoRound?ra:rl),this._pt.u=h||0,d!==h&&"%"!==h&&(this._pt.b=o,this._pt.r=ru);else if(f in w)rU.call(this,e,f,o,p?p+a:a);else if(f in e)this.add(e,f,o||e[f],p?p+a:a,r,i);else if("parseTransform"!==f){eE(f,a);continue}g||(f in w?_.push(f,0,w[f]):"function"==typeof e[f]?_.push(f,2,e[f]()):_.push(f,1,o||e[f])),T.push(f)}}b&&nR(this)},render:function(e,t){if(t.tween._time||!n3())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()}
23,get:rL,aliases:ro,getSetter:function(e,t,n){var r=ro[t];return r&&0>r.indexOf(",")&&(t=r),t in n8&&t!==rb&&(e._gsap.x||rL(e,"x"))?n&&n5===n?"scale"===t?rg:rp:(n5=n||{},"scale"===t?rm:rv):e.style&&!ea(e.style[t])?rd:~t.indexOf("-")?rh:nP(e,t)},core:{_removeProperty:rj,_getMatrix:rW}};nK.utils.checkPrefix=rk,nK.core.getStyleSaver=rE,function(e,t,n,r){var i=eQ(e+","+t+","+n,function(e){n8[e]=1});eQ(t,function(e){Y.units[e]="deg",rG[e]=1}),ro[i[13]]=e+","+t,eQ(r,function(e){var t=e.split(":");ro[t[1]]=i[t[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),eQ("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(e){Y.units[e]="px"}),nK.registerPlugin(r7);var r9=nK.registerPlugin(r7)||nK;r9.core.Tween;let ie="undefined"!=typeof document?x.useLayoutEffect:x.useEffect,it=e=>e&&!Array.isArray(e)&&"object"==typeof e,ir=[],ii={},io=r9,ia=(e,t=ir)=>{let n=ii;it(e)?(n=e,e=null,t="dependencies"in n?n.dependencies:ir):it(t)&&(t="dependencies"in(n=t)?n.dependencies:ir),e&&"function"!=typeof e&&console.warn("First parameter must be a function or config object");let{scope:r,revertOnUpdate:i}=n,o=(0,x.useRef)(!1),a=(0,x.useRef)(io.context(()=>{},r)),s=(0,x.useRef)(e=>a.current.add(null,e)),u=t&&t.length&&!i;return u&&ie(()=>(o.current=!0,()=>a.current.revert()),ir),ie(()=>{if(e&&a.current.add(e,r),!u||!o.current)return()=>a.current.revert()},t),{context:a.current,contextSafe:s.current}};ia.register=e=>{io=e},ia.headless=!0;var is=n(3069);function iu(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function il(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add(()=>e.removeEventListener(n,r,i))),requestAnimationFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];let i={current:!0};return iu(()=>{i.current&&n[0]()}),t.add(()=>{i.current=!1})},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:r})})},group(e){let t=il();return e(t),this.add(()=>t.dispose())},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function ic(){let[e]=(0,x.useState)(il);return(0,x.useEffect)(()=>()=>e.dispose(),[e]),e}var id=Object.defineProperty,ih=(e,t,n)=>t in e?id(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ip=(e,t,n)=>(ih(e,"symbol"!=typeof t?t+"":t,n),n);class ig{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){ip(this,"current",this.detect()),ip(this,"handoffState","pending"),ip(this,"currentId",0)}}let im=new ig,iv=(e,t)=>{im.isServer?(0,x.useEffect)(e,t):(0,x.useLayoutEffect)(e,t)};function iy(e){let t=(0,x.useRef)(e);return iv(()=>{t.current=e},[e]),t}let ib=function(e){let t=iy(e);return x.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.current(...n)},[t])};function i_(){let e=(0,x.useRef)(!1);return iv(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function iT(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,n]=(0,x.useState)(e),r=i_(),i=(0,x.useCallback)(e=>{r.current&&n(t=>t|e)},[t,r]),o=(0,x.useCallback)(e=>!!(t&e),[t]);return{flags:t,addFlag:i,hasFlag:o,removeFlag:(0,x.useCallback)(e=>{r.current&&n(t=>t&~e)},[n,r]),toggleFlag:(0,x.useCallback)(e=>{r.current&&n(t=>t^e)},[n])}}function iw(){let e="undefined"==typeof document;return(0,C.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)}function iE(){let e=iw(),[t,n]=x.useState(im.isHandoffComplete);return t&&!1===im.isHandoffComplete&&n(!1),x.useEffect(()=>{!0!==t&&n(!0)},[t]),x.useEffect(()=>im.handoff(),[]),!e&&t}let ix=Symbol();function iC(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[ix]:t})}function iO(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=(0,x.useRef)(t);(0,x.useEffect)(()=>{r.current=t},[t]);let i=ib(e=>{for(let t of r.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[ix]))?void 0:i}function ik(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(e in t){let n=t[e];return"function"==typeof n?n(...r):n}let o=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(o,ik),o}function iP(e){let t={called:!1};return function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];if(!t.called)return t.called=!0,e(...r)}}function iN(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.add(...n)}function iS(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e&&n.length>0&&e.classList.remove(...n)}function iI(e,t){let n=il();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[o,a]=[r,i].map(e=>
23{let[t=0]=e.split(",").filter(Boolean).map(e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e)).sort((e,t)=>t-e);return t}),s=o+a;if(0!==s){n.group(n=>{n.setTimeout(()=>{t(),n.dispose()},s),n.addEventListener(e,"transitionrun",e=>{e.target===e.currentTarget&&n.dispose()})});let r=n.addEventListener(e,"transitionend",e=>{e.target===e.currentTarget&&(t(),r())})}else t();return n.add(()=>t()),n.dispose}function iM(e,t,n,r){let i=n?"enter":"leave",o=il(),a=void 0!==r?iP(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let s=ik(i,{enter:()=>t.enter,leave:()=>t.leave}),u=ik(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),l=ik(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return iS(e,...t.base,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),iN(e,...t.base,...s,...l),o.nextFrame(()=>{iS(e,...t.base,...s,...l),iN(e,...t.base,...s,...u),iI(e,()=>(iS(e,...t.base,...s),iN(e,...t.base,...t.entered),a()))}),o.dispose}function ij(e){let{immediate:t,container:n,direction:r,classes:i,onStart:o,onStop:a}=e,s=i_(),u=ic(),l=iy(r);iv(()=>{t&&(l.current="enter")},[t]),iv(()=>{let e=il();u.add(e.dispose);let t=n.current;if(t&&"idle"!==l.current&&s.current)return e.dispose(),o.current(l.current),e.add(iM(t,i.current,"enter"===l.current,()=>{e.dispose(),a.current(l.current)})),e.dispose},[r])}let iA=(0,x.createContext)(null);iA.displayName="OpenClosedContext";var iD=((r=iD||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function iR(){return(0,x.useContext)(iA)}function iF(e){let{value:t,children:n}=e;return x.createElement(iA.Provider,{value:t},n)}function iL(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}var iU=((i=iU||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),iq=((o=iq||{})[o.Unmount=0]="Unmount",o[o.Hidden=1]="Hidden",o);function iQ(e){let{ourProps:t,theirProps:n,slot:r,defaultTag:i,features:o,visible:a=!0,name:s,mergeRefs:u}=e;u=null!=u?u:iz;let l=iV(n,t);if(a)return iB(l,r,i,s,u);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=l;if(e)return iB(t,r,i,s,u)}if(1&c){let{unmount:e=!0,...t}=l;return ik(e?0:1,{0:()=>null,1:()=>iB({...t,hidden:!0,style:{display:"none"}},r,i,s,u)})}return iB(l,r,i,s,u)}function iB(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,{as:o=n,children:a,refName:s="ref",...u}=iY(e,["unmount","static"]),l=void 0!==e.ref?{[s]:e.ref}:{},c="function"==typeof a?a(t):a;"className"in u&&u.className&&"function"==typeof u.className&&(u.className=u.className(t));let f={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(f["data-headlessui-state"]=n.join(" "))}if(o===x.Fragment&&Object.keys(i$(u)).length>0){if(!(0,x.isValidElement)(c)||Array.isArray(c)&&c.length>1)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(r,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(u).map(e=>"  - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>"  - ".concat(e)).join("\n")].join("\n"));let e=c.props,t="function"==typeof(null==e?void 0:e.className)?function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return iL(null==e?void 0:e.className(...n),u.className)}:iL(null==e?void 0:e.className,u.className),n=t?{className:t}:{};return(0,x.cloneElement)(c,Object.assign({},iV(c.props,i$(iY(u,["ref"]))),f,l,{ref:i(c.ref,l.ref)},n))}return(0,x.createElement)(o,Object.assign({},iY(u,["ref"]),o!==x.Fragment&&l,o!==x.Fragment&&f),c)}function iz(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.every(e=>null==e)?void 0:e=>{for(let n of t)null!=n&&("function"==typeof n?n(e):n.current=e)}}function iV(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(0===n.length)return{};if(1===n.length)return n[0];let i={},o={};for(let t of n)for(let n in t)n.startsWith("on")&&"function"==typeof t[n]?(null!=(e=o[n])||(o[n]=[]),o[n].push(t[n])):i[n]=t[n];if(i.disabled||i["aria-disabled"])return Object.assign(i,Object.fromEntries(Object.keys(o).map(e=>[e,void 0])));for(let e in o)Object.assign(i,{[e](t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];for(let n of o[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...r)}}});return i}function iG(e){var t;return Object.assign((0,x.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function i$(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function iY(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function iW(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.split(/\s+/).filter(e=>e.length>1)}let iH=(0,x.createContext)(null);iH.displayName="TransitionContext";var iZ=((a=iZ||{}).Visible="visible",a.Hidden="hidden",a);function iK(){let e=(0,x.useContext)(iH);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function iJ(){let e=(0,x.useContext)(iX);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let iX=(0,x.createContext)(null);function i0(e){return"children"in e?i0(e.children):e.current.filter(e=>{let{el:t}=e;return null!==t.current}).filter(e=>{let{state:t}=e;return"visible"===t}).length>0}function i1(e,t){let n=iy(e),r=(0,x.useRef)([]),i=i_(),o=ic(),a=ib(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:iq.Hidden,a=r.current.findIndex(t=>{let{el:n}=t;return n===e});-1!==a&&(ik(t,{[iq.Unmount](){r.current.splice(a,1)},[iq.Hidden](){r.current[a].state="hidden"}}),o.microTask(()=>{var e;!i0(r)&&i.current&&(null==(e=n.current)||e.call(n))}))}),s=ib(e=>{let t=r.current.find(t=>{let{el:n}=t;return n===e});return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,iq.Unmount)}),u=(0,x.useRef)([]),l=(0,x.useRef)(Promise.resolve()),c=(0,x.useRef)({enter:[],leave:[],idle:[]}),f=ib((e,n,r)=>{u.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(t=>{let[n]=t;return n!==e})),null==t||t.chains.current[n].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(c.current[n].map(e=>{let[t,n]=e;return n})).then(()=>e())}
23)]),"enter"===n?l.current=l.current.then(()=>null==t?void 0:t.wait.current).then(()=>r(n)):r(n)}),d=ib((e,t,n)=>{Promise.all(c.current[t].splice(0).map(e=>{let[t,n]=e;return n})).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>n(t))});return(0,x.useMemo)(()=>({children:r,register:s,unregister:a,onStart:f,onStop:d,wait:l,chains:c}),[s,a,r,f,d,c,l])}function i2(){}iX.displayName="NestingContext";let i5=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function i3(e){var t;let n={};for(let r of i5)n[r]=null!=(t=e[r])?t:i2;return n}function i4(e){let t=(0,x.useRef)(i3(e));return(0,x.useEffect)(()=>{t.current=i3(e)},[e]),t}let i6="div",i8=iU.RenderStrategy;function i7(e,t){var n,r;let{beforeEnter:i,afterEnter:o,beforeLeave:a,afterLeave:s,enter:u,enterFrom:l,enterTo:c,entered:f,leave:d,leaveFrom:h,leaveTo:p,...g}=e,m=(0,x.useRef)(null),v=iO(m,t),y=null==(n=g.unmount)||n?iq.Unmount:iq.Hidden,{show:b,appear:_,initial:T}=iK(),[w,E]=(0,x.useState)(b?"visible":"hidden"),C=iJ(),{register:O,unregister:k}=C;(0,x.useEffect)(()=>O(m),[O,m]),(0,x.useEffect)(()=>{if(y===iq.Hidden&&m.current){if(b&&"visible"!==w){E("visible");return}return ik(w,{hidden:()=>k(m),visible:()=>O(m)})}},[w,m,O,k,b,y]);let P=iy({base:iW(g.className),enter:iW(u),enterFrom:iW(l),enterTo:iW(c),entered:iW(f),leave:iW(d),leaveFrom:iW(h),leaveTo:iW(p)}),N=i4({beforeEnter:i,afterEnter:o,beforeLeave:a,afterLeave:s}),S=iE();(0,x.useEffect)(()=>{if(S&&"visible"===w&&null===m.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[m,w,S]);let I=T&&!_,M=_&&b&&T,j=!S||I?"idle":b?"enter":"leave",A=iT(0),D=ib(e=>ik(e,{enter:()=>{A.addFlag(iD.Opening),N.current.beforeEnter()},leave:()=>{A.addFlag(iD.Closing),N.current.beforeLeave()},idle:()=>{}})),R=ib(e=>ik(e,{enter:()=>{A.removeFlag(iD.Opening),N.current.afterEnter()},leave:()=>{A.removeFlag(iD.Closing),N.current.afterLeave()},idle:()=>{}})),F=i1(()=>{E("hidden"),k(m)},C),L=(0,x.useRef)(!1);ij({immediate:M,container:m,classes:P,direction:j,onStart:iy(e=>{L.current=!0,F.onStart(m,e,D)}),onStop:iy(e=>{L.current=!1,F.onStop(m,e,R),"leave"!==e||i0(F)||(E("hidden"),k(m))})});let U=g,q={ref:v};return M?U={...U,className:iL(g.className,...P.current.enter,...P.current.enterFrom)}:L.current&&(U.className=iL(g.className,null==(r=m.current)?void 0:r.className),""===U.className&&delete U.className),x.createElement(iX.Provider,{value:F},x.createElement(iF,{value:ik(w,{visible:iD.Open,hidden:iD.Closed})|A.flags},iQ({ourProps:q,theirProps:U,defaultTag:i6,features:i8,visible:"visible"===w,name:"Transition.Child"})))}function i9(e,t){let n=null!==(0,x.useContext)(iH),r=null!==iR();return x.createElement(x.Fragment,null,!n&&r?x.createElement(oe,{ref:t,...e}):x.createElement(ot,{ref:t,...e}))}let oe=iG(function(e,t){let{show:n,appear:r=!1,unmount:i=!0,...o}=e,a=(0,x.useRef)(null),s=iO(a,t);iE();let u=iR();if(void 0===n&&null!==u&&(n=(u&iD.Open)===iD.Open),![!0,!1].includes(n))throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[l,c]=(0,x.useState)(n?"visible":"hidden"),f=i1(()=>{c("hidden")}),[d,h]=(0,x.useState)(!0),p=(0,x.useRef)([n]);iv(()=>{!1!==d&&p.current[p.current.length-1]!==n&&(p.current.push(n),h(!1))},[p,n]);let g=(0,x.useMemo)(()=>({show:n,appear:r,initial:d}),[n,r,d]);(0,x.useEffect)(()=>{if(n)c("visible");else if(i0(f)){let e=a.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&c("hidden")}else c("hidden")},[n,f]);let m={unmount:i},v=ib(()=>{var t;d&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),y=ib(()=>{var t;d&&h(!1),null==(t=e.beforeLeave)||t.call(e)});return x.createElement(iX.Provider,{value:f},x.createElement(iH.Provider,{value:g},iQ({ourProps:{...m,as:x.Fragment,children:x.createElement(ot,{ref:s,...m,...o,beforeEnter:v,beforeLeave:y})},theirProps:{},defaultTag:x.Fragment,features:i8,visible:"visible"===l,name:"Transition"})))}),ot=iG(i7),on=Object.assign(oe,{Child:iG(i9),Root:oe});function or(e,t,n,r){let i=iy(n);(0,x.useEffect)(()=>{function n(e){i.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}function oi(e){let t=ib(e),n=(0,x.useRef)(!1);(0,x.useEffect)(()=>(n.current=!1,()=>{n.current=!0,iu(()=>{n.current&&t()})}),[t])}function oo(e){return im.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}function oa(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,x.useMemo)(()=>oo(...t),[...t])}function os(e,t,n){let r=iy(t);(0,x.useEffect)(()=>{function t(e){r.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)},[e,n])}var ou=((s=ou||{})[s.Forwards=0]="Forwards",s[s.Backwards=1]="Backwards",s);function ol(){let e=(0,x.useRef)(0);
23return os("keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}function oc(e,t){let n=(0,x.useRef)([]),r=ib(e);(0,x.useEffect)(()=>{let e=[...n.current];for(let[i,o]of t.entries())if(n.current[i]!==o){let i=r(t,e);return n.current=t,i}},[r,...t])}let of="div";var od=((u=od||{})[u.None=1]="None",u[u.Focusable=2]="Focusable",u[u.Hidden=4]="Hidden",u);let oh=iG(function(e,t){var n;let{features:r=1,...i}=e;return iQ({ourProps:{ref:t,"aria-hidden":(2&r)==2||(null!=(n=i["aria-hidden"])?n:void 0),hidden:(4&r)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&r)==4&&(2&r)!=2&&{display:"none"}}},theirProps:i,slot:{},defaultTag:of,name:"Hidden"})}),op=[];!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&op[0]!==e.target&&(op.unshift(e.target),(op=op.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});let og=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>"".concat(e,":not([tabindex='-1'])")).join(",");var om=((l=om||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l),ov=((c=ov||{})[c.Error=0]="Error",c[c.Overflow=1]="Overflow",c[c.Success=2]="Success",c[c.Underflow=3]="Underflow",c),oy=((f=oy||{})[f.Previous=-1]="Previous",f[f.Next=1]="Next",f);function ob(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.body;return null==e?[]:Array.from(e.querySelectorAll(og)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var o_=((d=o_||{})[d.Strict=0]="Strict",d[d.Loose=1]="Loose",d);function oT(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e!==(null==(t=oo(e))?void 0:t.body)&&ik(n,{0:()=>e.matches(og),1(){let t=e;for(;null!==t;){if(t.matches(og))return!0;t=t.parentElement}return!1}})}var ow=((h=ow||{})[h.Keyboard=0]="Keyboard",h[h.Mouse=1]="Mouse",h);function oE(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let ox="textarea,input";function oC(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,ox))&&n}function oO(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.slice().sort((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let o=r.compareDocumentPosition(i);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function ok(e,t){let{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,a=Array.isArray(e)?n?oO(e):e:ob(e);i.length>0&&a.length>1&&(a=a.filter(e=>!i.includes(e))),r=null!=r?r:o.activeElement;let s=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,a.indexOf(r))-1;if(4&t)return Math.max(0,a.indexOf(r))+1;if(8&t)return a.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=32&t?{preventScroll:!0}:{}
23,c=0,f=a.length,d;do{if(c>=f||c+f<=0)return 0;let e=u+c;if(16&t)e=(e+f)%f;else{if(e<0)return 3;if(e>=f)return 1}null==(d=a[e])||d.focus(l),c+=s}while(d!==o.activeElement);return 6&t&&oC(d)&&d.select(),2}function oP(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let oN="div";var oS=((p=oS||{})[p.None=1]="None",p[p.InitialFocus=2]="InitialFocus",p[p.TabLock=4]="TabLock",p[p.FocusLock=8]="FocusLock",p[p.RestoreFocus=16]="RestoreFocus",p[p.All=30]="All",p);let oI=Object.assign(iG(function(e,t){let n=(0,x.useRef)(null),r=iO(n,t),{initialFocus:i,containers:o,features:a=30,...s}=e;iE()||(a=1);let u=oa(n);oj({ownerDocument:u},!!(16&a));let l=oA({ownerDocument:u,container:n,initialFocus:i},!!(2&a));oD({ownerDocument:u,container:n,containers:o,previousActiveElement:l},!!(8&a));let c=ol(),f=ib(e=>{let t=n.current;t&&(()=>{ik(c.current,{[ou.Forwards]:()=>{ok(t,om.First,{skipElements:[e.relatedTarget]})},[ou.Backwards]:()=>{ok(t,om.Last,{skipElements:[e.relatedTarget]})}})})()}),d=ic(),h=(0,x.useRef)(!1),p={ref:r,onKeyDown(e){"Tab"==e.key&&(h.current=!0,d.requestAnimationFrame(()=>{h.current=!1}))},onBlur(e){let t=oP(o);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(oR(t,r)||(h.current?ok(n.current,ik(c.current,{[ou.Forwards]:()=>om.Next,[ou.Backwards]:()=>om.Previous})|om.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&oE(e.target)))}};return x.createElement(x.Fragment,null,!!(4&a)&&x.createElement(oh,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:od.Focusable}),iQ({ourProps:p,theirProps:s,defaultTag:oN,name:"FocusTrap"}),!!(4&a)&&x.createElement(oh,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:f,features:od.Focusable}))}),{features:oS});function oM(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=(0,x.useRef)(op.slice());return oc((e,n)=>{let[r]=e,[i]=n;!0===i&&!1===r&&iu(()=>{t.current.splice(0)}),!1===i&&!0===r&&(t.current=op.slice())},[e,op,t]),ib(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}function oj(e,t){let{ownerDocument:n}=e,r=oM(t);oc(()=>{t||(null==n?void 0:n.activeElement)===(null==n?void 0:n.body)&&oE(r())},[t]),oi(()=>{t&&oE(r())})}function oA(e,t){let{ownerDocument:n,container:r,initialFocus:i}=e,o=(0,x.useRef)(null),a=i_();return oc(()=>{if(!t)return;let e=r.current;e&&iu(()=>{if(!a.current)return;let t=null==n?void 0:n.activeElement;if(null!=i&&i.current){if((null==i?void 0:i.current)===t){o.current=t;return}}else if(e.contains(t)){o.current=t;return}null!=i&&i.current?oE(i.current):ok(e,om.First)===ov.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),o.current=null==n?void 0:n.activeElement})},[t]),o}function oD(e,t){let{ownerDocument:n,container:r,containers:i,previousActiveElement:o}=e,a=i_();or(null==n?void 0:n.defaultView,"focus",e=>{if(!t||!a.current)return;let n=oP(i);r.current instanceof HTMLElement&&n.add(r.current);let s=o.current;if(!s)return;let u=e.target;u&&u instanceof HTMLElement?oR(n,u)?(o.current=u,oE(u)):(e.preventDefault(),e.stopPropagation(),oE(s)):oE(o.current)},!0)}function oR(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var oF=n(3935);let oL=(0,x.createContext)(!1);function oU(){return(0,x.useContext)(oL)}function oq(e){return x.createElement(oL.Provider,{value:e.force},e.children)}function oQ(e){let t=oU(),n=(0,x.useContext)(oG),r=oa(e),[i,o]=(0,x.useState)(()=>{if(!t&&null!==n||im.isServer)return null;let e=null==r?void 0:r.getElementById("headlessui-portal-root");if(e)return e;if(null===r)return null;let i=r.createElement("div");return i.setAttribute("id","headlessui-portal-root"),r.body.appendChild(i)});return(0,x.useEffect)(()=>{null!==i&&(null!=r&&r.body.contains(i)||null==r||r.body.appendChild(i))},[i,r]),(0,x.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),i}let oB=x.Fragment;function oz(e,t){let n=e,r=(0,x.useRef)(null),i=iO(iC(e=>{r.current=e}),t),o=oa(r),a=oQ(r),[s]=(0,x.useState)(()=>{var e;return im.isServer?null:null!=(e=null==o?void 0:o.createElement("div"))?e:null}),u=(0,x.useContext)(oY),l=iE();return iv(()=>{!a||!s||a.contains(s)||(s.setAttribute("data-headlessui-portal",""),a.appendChild(s))},[a,s]),iv(()=>{if(s&&u)return u.register(s)},[u,s]),oi(()=>{var e;a&&s&&(s instanceof Node&&a.contains(s)&&a.removeChild(s),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))}),l&&a&&s?(0,oF.createPortal)(iQ({ourProps:{ref:i},theirProps:n,defaultTag:oB,name:"Portal"}),s):null}let oV=x.Fragment,oG=(0,x.createContext)(null);function o$(e,t){let{target:n,...r}=e,i={ref:iO(t)};return x.createElement(oG.Provider,{value:n},iQ({ourProps:i,theirProps:r,defaultTag:oV,name:"Popover.Group"}))}let oY=(0,x.createContext)(null);function oW(){let e=(0,x.useContext)(oY),t=(0,x.useRef)([]),n=ib(n=>(t.current.push(n),e&&e.register(n),()=>r(n))),r=ib(n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)}),i=(0,x.useMemo)(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,(0,x.useMemo)(()=>function(e){let{children:t}=e;return x.createElement(oY.Provider,{value:i},t)},[i])]}let oH=Object.assign(iG(oz),{Group:iG(o$)});function oZ(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}let oK="function"==typeof Object.is?Object.is:oZ,{useState:oJ,useEffect:oX,useLayoutEffect:o0,useDebugValue:o1}=C;void 0!==window.document&&window.document.createElement;let o2=C.useSyncExternalStore;function o5(e){return o2(e.subscribe,e.getSnapshot,e.getSnapshot)}function o3(){let e;return{before(t){var n;let{doc:r}=t,i=r.documentElement;e=(null!=(n=r.defaultView)?n:window).innerWidth-i.clientWidth},after(t){let{doc:n,d:r}=t,i=n.documentElement,o=i.clientWidth-i.offsetWidth,a=e-o;r.style(i,"paddingRight","".concat(a,"px"))}}}function o4(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function o6(){return/Android/gi.test(window.navigator.userAgent)}function o8(){return o4()||o6()}function o7(){return o4()?{before(e){let{doc:t,d:n,meta:r}=e;function i(e){return r.containers.flatMap(e=>e()).some(t=>t.contains(e))}n.microTask(()=>{var e;if("auto"!==window.getComputedStyle(t.documentElement).scrollBehavior){let e=il();e.style(t.documentElement,"scrollBehavior","auto"),n.add(()=>n.microTask(()=>
23e.dispose()))}let r=null!=(e=window.scrollY)?e:window.pageYOffset,o=null;n.addEventListener(t,"click",e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=t.querySelector(r);a&&!i(a)&&(o=a)}catch(e){}},!0),n.addEventListener(t,"touchstart",e=>{if(e.target instanceof HTMLElement){if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")}}),n.addEventListener(t,"touchmove",e=>{if(e.target instanceof HTMLElement){if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),n.add(()=>{var e;r!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{}}function o9(){return{before(e){let{doc:t,d:n}=e;n.style(t.documentElement,"overflow","hidden")}}}function ae(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let at=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=t[e].call(n,...o);s&&(n=s,r.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:il(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT(e){let{doc:t,d:n,meta:r}=e,i={doc:t,d:n,meta:ae(r)},o=[o7(),o3(),o9()];o.forEach(e=>{let{before:t}=e;return null==t?void 0:t(i)}),o.forEach(e=>{let{after:t}=e;return null==t?void 0:t(i)})},SCROLL_ALLOW(e){let{d:t}=e;t.dispose()},TEARDOWN(e){let{doc:t}=e;this.delete(t)}});function an(e,t,n){let r=o5(at),i=e?r.get(e):void 0,o=!!i&&i.count>0;return iv(()=>{if(!(!e||!t))return at.dispatch("PUSH",e,n),()=>at.dispatch("POP",e,n)},[t,e]),o}at.subscribe(()=>{let e=at.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&at.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&at.dispatch("TEARDOWN",n)}});let ar=null!=(b=x.useId)?b:function(){let e=iE(),[t,n]=x.useState(e?()=>im.nextId():null);return iv(()=>{null===t&&n(im.nextId())},[t]),null!=t?""+t:void 0},ai=new Map,ao=new Map;function aa(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];iv(()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;function i(){var e;if(!r)return;let t=null!=(e=ao.get(r))?e:1;if(1===t?ao.delete(r):ao.set(r,t-1),1!==t)return;let n=ai.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,ai.delete(r))}let o=null!=(n=ao.get(r))?n:0;return ao.set(r,o+1),0!==o||(ai.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),i},[e,t])}function as(e,t,n){let r=iy(t);(0,x.useEffect)(()=>{function t(e){r.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)},[e,n])}function au(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=(0,x.useRef)(!1);function i(n,i){if(!r.current||n.defaultPrevented)return;let o=i(n);if(null!==o&&o.getRootNode().contains(o)&&o.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e)){if(null===t)continue;let e=t instanceof HTMLElement?t:t.current;if(null!=e&&e.contains(o)||n.composed&&n.composedPath().includes(e))return}return oT(o,o_.Loose)||-1===o.tabIndex||n.preventDefault(),t(n,o)}}(0,x.useEffect)(()=>{requestAnimationFrame(()=>{r.current=n})},[n]);let o=(0,x.useRef)(null);as("pointerdown",e=>{var t,n;r.current&&(o.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),as("mousedown",e=>{var t,n;r.current&&(o.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),as("click",e=>{o8()||o.current&&(i(e,()=>o.current),o.current=null)},!0),as("touchend",e=>i(e,()=>e.target instanceof HTMLElement?e.target:null),!0),os("blur",e=>i(e,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function al(){var e;let{defaultContainers:t=[],portals:n,mainTreeNodeRef:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=(0,x.useRef)(null!=(e=null==r?void 0:r.current)?e:null),o=oa(i),a=ib(()=>{var e,r,a;let s=[];for(let e of t)null!==e&&(e instanceof HTMLElement?s.push(e):"current"in e&&e.current instanceof HTMLElement&&s.push(e.current));if(null!=n&&n.current)for(let e of n.current)s.push(e);for(let t of null!=(e=null==o?void 0:o.querySelectorAll("html > *, body > *"))?e:[])t!==document.body&&t!==document.head&&t instanceof HTMLElement&&"headlessui-portal-root"!==t.id&&(t.contains(i.
23current)||t.contains(null==(a=null==(r=i.current)?void 0:r.getRootNode())?void 0:a.host)||s.some(e=>t.contains(e))||s.push(t));return s});return{resolveContainers:a,contains:ib(e=>a().some(t=>t.contains(e))),mainTreeNodeRef:i,MainTreeNode:(0,x.useMemo)(()=>function(){return null!=r?null:x.createElement(oh,{features:od.Hidden,ref:i})},[i,r])}}let ac=(0,x.createContext)(()=>{});ac.displayName="StackContext";var af=((g=af||{})[g.Add=0]="Add",g[g.Remove=1]="Remove",g);function ad(){return(0,x.useContext)(ac)}function ah(e){let{children:t,onUpdate:n,type:r,element:i,enabled:o}=e,a=ad(),s=ib(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];null==n||n(...t),a(...t)});return iv(()=>{let e=void 0===o||!0===o;return e&&s(0,r,i),()=>{e&&s(1,r,i)}},[s,r,i,o]),x.createElement(ac.Provider,{value:s},t)}function ap(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=(null==t?void 0:t.getAttribute("disabled"))==="";return!(r&&ag(n))&&r}function ag(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}let am=(0,x.createContext)(null);function av(){let e=(0,x.useContext)(am);
23if(null===e){let e=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,av),e}return e}function ay(){let[e,t]=(0,x.useState)([]);return[e.length>0?e.join(" "):void 0,(0,x.useMemo)(()=>function(e){let n=ib(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),r=n.indexOf(e);return -1!==r&&n.splice(r,1),n}))),r=(0,x.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return x.createElement(am.Provider,{value:r},e.children)},[t])]}let ab="p",a_=Object.assign(iG(function(e,t){let n=ar(),{id:r="headlessui-description-".concat(n),...i}=e,o=av(),a=iO(t);return iv(()=>o.register(r),[r,o.register]),iQ({ourProps:{ref:a,...o.props,id:r},theirProps:i,slot:o.slot||{},defaultTag:ab,name:o.name||"Description"})}),{});var aT=((m=aT||{}).Space=" ",m.Enter="Enter",m.Escape="Escape",m.Backspace="Backspace",m.Delete="Delete",m.ArrowLeft="ArrowLeft",m.ArrowUp="ArrowUp",m.ArrowRight="ArrowRight",m.ArrowDown="ArrowDown",m.Home="Home",m.End="End",m.PageUp="PageUp",m.PageDown="PageDown",m.Tab="Tab",m),aw=((v=aw||{})[v.Open=0]="Open",v[v.Closed=1]="Closed",v),aE=((y=aE||{})[y.SetTitleId=0]="SetTitleId",y);let ax={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},aC=(0,x.createContext)(null);function aO(e){let t=(0,x.useContext)(aC);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Dialog /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,aO),t}return t}function ak(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>[document.body];an(e,t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}function aP(e,t){return ik(t.type,ax,e,t)}aC.displayName="DialogContext";let aN="div",aS=iU.RenderStrategy|iU.Static,aI="div";function aM(e,t){let n=ar(),{id:r="headlessui-dialog-overlay-".concat(n),...i}=e,[{dialogState:o,close:a}]=aO("Dialog.Overlay");return iQ({ourProps:{ref:iO(t),id:r,"aria-hidden":!0,onClick:ib(e=>{if(e.target===e.currentTarget){if(ap(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),a()}})},theirProps:i,slot:(0,x.useMemo)(()=>({open:0===o}),[o]),defaultTag:aI,name:"Dialog.Overlay"})}let aj="div";function aA(e,t){let n=ar(),{id:r="headlessui-dialog-backdrop-".concat(n),...i}=e,[{dialogState:o},a]=aO("Dialog.Backdrop"),s=iO(t);(0,x.useEffect)(()=>{if(null===a.panelRef.current)throw Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.")},[a.panelRef]);let u=(0,x.useMemo)(()=>({open:0===o}),[o]);return x.createElement(oq,{force:!0},x.createElement(oH,null,iQ({ourProps:{ref:s,id:r,"aria-hidden":!0},theirProps:i,slot:u,defaultTag:aj,name:"Dialog.Backdrop"})))}let aD="div";function aR(e,t){let n=ar(),{id:r="headlessui-dialog-panel-".concat(n),...i}=e,[{dialogState:o},a]=aO("Dialog.Panel"),s=iO(t,a.panelRef),u=(0,x.useMemo)(()=>({open:0===o}),[o]);return iQ({ourProps:{ref:s,id:r,onClick:ib(e=>{e.stopPropagation()})},theirProps:i,slot:u,defaultTag:aD,name:"Dialog.Panel"})}let aF="h2";function aL(e,t){let n=ar(),{id:r="headlessui-dialog-title-".concat(n),...i}=e,[{dialogState:o,setTitleId:a}]=aO("Dialog.Title"),s=iO(t);return(0,x.useEffect)(()=>(a(r),()=>a(null)),[r,a]),iQ({ourProps:{ref:s,id:r},theirProps:i,slot:(0,x.useMemo)(()=>({open:0===o}),[o]),defaultTag:aF,name:"Dialog.Title"})}let aU=Object.assign(iG(function(e,t){let n=ar(),{id:r="headlessui-dialog-".concat(n),open:i,onClose:o,initialFocus:a,role:s="dialog",__demoMode:u=!1,...l}=e,[c,f]=(0,x.useState)(0),d=(0,x.useRef)(!1);s=function(){return"dialog"===s||"alertdialog"===s?s:(d.current||(d.current=!0,console.warn("Invalid role [".concat(s,"] passed to <Dialog />. Only `dialog` and and `alertdialog` are supported. Using `dialog` instead."))),"dialog")}();let h=iR();void 0===i&&null!==h&&(i=(h&iD.Open)===iD.Open);let p=(0,x.useRef)(null),g=iO(p,t),m=oa(p),v=e.hasOwnProperty("open")||null!==h,y=e.hasOwnProperty("onClose");if(!v&&!y)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!v)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!y)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof i)throw Error("You provided an `open` prop to the `Dialog`, but the value is not a boolean. Received: ".concat(i));if("function"!=typeof o)throw Error("You provided an `onClose` prop to the `Dialog`, but the value is not a function. Received: ".concat(o));let b=i?0:1,[_,T]=(0,x.useReducer)(aP,{titleId:null,descriptionId:null,panelRef:(0,x.createRef)()}),w=ib(()=>o(!1)),E=ib(e=>T({type:0,id:e})),C=!!iE()&&!u&&0===b,O=c>1,k=null!==(0,x.useContext)(aC),[P,N]=oW(),{resolveContainers:S,mainTreeNodeRef:I,MainTreeNode:M}=al({portals:P,defaultContainers:[{get current(){var j;return null!=(j=_.panelRef.current)?j:p.current}}]}),A=O?"parent":"leaf",D=null!==h&&(h&iD.Closing)===iD.Closing,R=!k&&!D&&C;aa((0,x.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("body > *"))?e:[]).find(e=>"headlessui-portal-root"!==e.id&&e.contains(I.current)&&e instanceof HTMLElement))?t:null},[I]),R);let F=!!O||C;aa((0,x.useCallback)(()=>{var e,t;return null!=(t=Array.from(null!=(e=null==m?void 0:m.querySelectorAll("[data-headlessui-portal]"))?e:[]).find(e=>e.contains(I.current)&&e instanceof HTMLElement))?t:null},[I]),F),au(S,e=>{e.preventDefault(),w()},!(!C||O));let L=!(O||0!==b);or(null==m?void 0:m.defaultView,"keydown",e=>{L&&(e.defaultPrevented||e.key===aT.Escape&&(e.preventDefault(),e.stopPropagation(),w()))}),ak(m,!(D||0!==b||k),S),(0,x.useEffect)(()=>
23{if(0!==b||!p.current)return;let e=new ResizeObserver(e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&w()}});return e.observe(p.current),()=>e.disconnect()},[b,p,w]);let[U,q]=ay(),Q=(0,x.useMemo)(()=>[{dialogState:b,close:w,setTitleId:E},_],[b,_,w,E]),B=(0,x.useMemo)(()=>({open:0===b}),[b]),z={ref:g,id:r,role:s,"aria-modal":0===b||void 0,"aria-labelledby":_.titleId,"aria-describedby":U};return x.createElement(ah,{type:"Dialog",enabled:0===b,element:p,onUpdate:ib((e,t)=>{"Dialog"===t&&ik(e,{[af.Add]:()=>f(e=>e+1),[af.Remove]:()=>f(e=>e-1)})})},x.createElement(oq,{force:!0},x.createElement(oH,null,x.createElement(aC.Provider,{value:Q},x.createElement(oH.Group,{target:p},x.createElement(oq,{force:!1},x.createElement(q,{slot:B,name:"Dialog.Description"},x.createElement(oI,{initialFocus:a,containers:S,features:C?ik(A,{parent:oI.features.RestoreFocus,leaf:oI.features.All&~oI.features.FocusLock}):oI.features.None},x.createElement(N,null,iQ({ourProps:z,theirProps:l,slot:B,defaultTag:aN,features:aS,visible:0===b,name:"Dialog"}))))))))),x.createElement(M,null))}),{Backdrop:iG(aA),Panel:iG(aR),Overlay:iG(aM),Title:iG(aL),Description:a_});var aq=n(1768),aQ=n(9332),aB=n(8937),az=n(3250);function aV(){return(0,_.jsx)("hr",{className:"border-accent-2 mt-6 mb-6"})}var aG=n(2677);function a$(e){var t,n;let{title:r,date:i,excerpt:o,id:a,tags:s,uri:u,closeModal:l}=e;return console.log("TAGS IN PREVIEW: ",s),(0,_.jsx)(I(),{href:u,onClick:l,children:(0,_.jsxs)("li",{className:"search-preview-link",title:r,children:[(0,_.jsx)("div",{className:"flex ",children:(0,_.jsxs)("div",{className:"flex flex-col lg:flex-row post-date mb-4",children:[(0,_.jsx)("strong",{className:"text-search-preview-title m-0",children:r}),!!i&&(0,_.jsxs)("div",{className:"flex mx-0 lg:mx-2",children:[(0,_.jsx)("div",{className:"text-date-color",children:(0,_.jsx)(az.Z,{dateString:i})}),(null==s?void 0:null===(n=s.nodes)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.name)&&(0,_.jsxs)("div",{className:"flex items-center",children:[(0,_.jsx)(aG.Z,{}),(0,_.jsx)("span",{children:s.nodes[0].name})]})]})]})}),(0,_.jsx)("div",{className:"post-excerpt",dangerouslySetInnerHTML:{__html:o}}),(0,_.jsx)(aV,{})]},a)})}function aY(e){let{searchResults:t,closeModal:n}=e;return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)("div",{className:"search-results-preview-list my-6",children:(0,_.jsx)("ul",{className:"list-none px-0",children:t&&t.map((e,t)=>(0,_.jsx)(a$,{title:e.node.title,date:e.node.date,excerpt:e.node.excerpt,tags:e.node.tags,uri:e.node.uri,id:e.node.id,closeModal:n},e.node.id))})})})}var aW=n(4891);function aH(e){let{closeModal:t,displayPreviews:n}=e,[r,i]=(0,x.useState)(""),[o,a]=(0,x.useState)([]),s=(0,aQ.useRouter)();(0,aQ.usePathname)();let u=async e=>{if(e.length>=3){let t=await (0,aB.BP)(e);console.log(t.length),a(t.slice(0,3))}else a([])},l=async e=>{e.preventDefault();try{s.push("/search?query=".concat(r))}catch(e){console.error("Failed to fetch posts:",e)}finally{console.log("Finally")}t()},c=()=>{i(""),a([])};return(0,_.jsxs)("div",{className:"search-form-container",children:[(0,_.jsxs)("form",{action:"",onSubmit:l,className:"search-form",children:[(0,_.jsx)("input",{type:"search",value:r,onChange:e=>{i(e.target.value),u(e.target.value)},placeholder:"S\xf6k...",className:"search-input bg-transparent text-4xl md:text-4xl"}),""===r?(0,_.jsx)(is.Z,{className:"search-icon w-8 h-8"}):(0,_.jsx)(aW.Z,{clear:c})]}),(0,_.jsx)(aY,{searchResults:o,closeModal:t}),o&&o.length>2?(0,_.jsxs)("p",{className:"text-search-info-text",children:["... och ytterligare tr\xe4ffar"," ",(0,_.jsx)("span",{className:"search-click-text",onClick:l,children:"h\xe4r"})]}):null]})}var aZ=function(e){let{isOpen:t,closeModal:n}=e;return(0,_.jsx)(on,{appear:!0,show:t,as:x.Fragment,children:(0,_.jsxs)(aU,{as:"div",className:"relative z-10",onClose:n,children:[(0,_.jsx)(on.Child,{as:x.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,_.jsx)("div",{className:"fixed inset-0 bg-white"})}),(0,_.jsx)("div",{className:"fixed inset-0 overflow-y-auto ",children:(0,_.jsxs)("div",{className:"flex min-h-full items-start justify-center pt-20 md:pt-20 text-center",children:[(0,_.jsx)("div",{className:"fixed w-[40px] h-[40p
23x] top-[20px] right-[24px] lg:right-[36px] cursor-pointer",children:(0,_.jsx)(aq.Z,{onClick:n,className:"text-[#f0a001]"})}),(0,_.jsx)(on.Child,{as:x.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,_.jsx)(aU.Panel,{className:"w-full px-0 lg:px-container-content-padding transform overflow-hidden rounded-2xl text-left align-middle transition-all  container-lg",children:(0,_.jsx)(aH,{closeModal:n,displayPreviews:!0})})})]})})]})})};function aK(){let[e,t]=(0,x.useState)(!1);function n(){t(!0)}function r(){t(!1)}return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)("button",{type:"button",onClick:n,className:"text-sm font-medium focus:outline-none",children:(0,_.jsx)(is.Z,{className:"search-icon-button mr-[16px] xl:mr-[32px]",color:"#FFA001 "})}),(0,_.jsx)(aZ,{isOpen:e,closeModal:r})]})}var aJ=n(876);function aX(e,t){let{title:n,titleId:r,...i}=e;return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":r},i),n?x.createElement("title",{id:r},n):null,x.createElement("path",{fillRule:"evenodd",d:"M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",clipRule:"evenodd"}))}var a0=x.forwardRef(aX);function a1(e){let{}=e;return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(a0,{className:"date-icon"})})}var a2=e=>{let{items:t}=e;(0,x.useEffect)(()=>()=>{document.body.style.overflow=""},[]);let n=[...t].sort((e,t)=>e.node.name.localeCompare(t.node.name,"sv")),[r,i]=(0,x.useState)(!1);(0,x.useRef)(null);let o=(0,x.useRef)(null),a=(0,x.useRef)([]),s=(0,x.useRef)(null),u=(0,x.useRef)(null),[l,c]=(0,x.useState)(!1),f=M();a.current=[],(0,x.useEffect)(()=>{window.innerWidth<1023&&(f.y>350&&f.y-f.lastY>0&&c(!0),f.y<f.lastY&&c(!1))},[f]),t[t.length-1],t[0];let d=(()=>{let e=[];for(let t=2004;t<=2015;t++)e.push(String(t));return e})(),h=e=>{e&&!a.current.includes(e)&&a.current.push(e)},p=()=>{i(!r)};return ia(()=>{let e=r9.timeline({paused:!0,reversed:!0,onStart:()=>{document.body.style.overflow="hidden"},onComplete:()=>{document.body.style.overflow="hidden"},onReverseComplete:()=>{document.body.style.overflow=""}});e.add("rotate").to(".top",{margin:0,duration:.2,y:"6"},"rotate").to(".bot",{margin:0,duration:.2,y:"-6"},"rotate").to(".top",{duration:.2,rotationZ:45,transformOrigin:"50% 50%"},"rotate").to(".bot",{duration:.2,rotationZ:-45,transformOrigin:"50% 50%"},"rotate").to(o.current,{autoAlpha:1,duration:.5,visibility:"visible"},"burg"),u.current.addEventListener("click",()=>{e.reversed()?e.restart():e.reverse(1)}),s.current.addEventListener("click",()=>{e.reverse(1)}),a.current.map(t=>{t.addEventListener("click",()=>{e.reverse(1)})})},[]),(0,_.jsxs)("nav",{children:[(0,_.jsx)("div",{className:"menu-modal",ref:o,children:(0,_.jsxs)("div",{className:"background-image",children:[(0,_.jsxs)("div",{className:"image-text-container",children:[(0,_.jsx)("p",{className:"text-menu-bodil-name sm:text-menu-bodil-name-sm menu-name mb-[16px]",children:(0,_.jsx)(I(),{ref:s,href:"/",children:"Bodil Malmsten"})}),(0,_.jsx)("p",{className:"text-menu-bodil-years sm:text-menu-bodil-years-sm menu-years mb-[16px]",children:"1944–2016"}),(0,_.jsxs)("p",{className:"text-[16px] mb-5 md:-mb-5 md:text-[20px]",style:{lineHeight:"30px"},children:["L\xe4nka g\xe4rna eller citera enligt god sed. F\xf6r all annan anv\xe4ndning kontakta ",(0,_.jsx)("a",{className:"!underline",href:"mailto:[email protected]",children:"[email protected]"}),"."]})]}),(0,_.jsxs)("div",{className:"links-container",children:[(0,_.jsxs)("div",{className:"publisher-container mb-[8px]",children:[(0,_.jsx)("p",{className:"mb-0 text-[16px] md:text-[20px]",style:{lineHeight:"30px"},children:"Utgivning"}),(0,_.jsxs)("ul",{className:"publisher-links px-0",style:{lineHeight:"30px",textDecoration:"underline"},children:[(0,_.jsxs)("li",{children:[" ",(0,_.jsx)(I(),{href:"https://www.albertbonniersforlag.se/forfattare/6550/bodil-malmsten/",className:"text-custom-menulink-md md:text-custom-menulink-lg",children:"Albert bonniers f\xf6rlag"})]}),(0,_.jsx)("li",{children:(0,_.jsx)(I(),{href:"https://www.modernista.se/bocker/loggbockerna-2005-2013",className:"text-custom-menulink-md md:text-custom-menulink-lg",children:"Modernista"})})]})]}),(0,_.jsx)("ul",{className:"menu-items-list mb-[16px] px-0",style:{lineHeight:"30px"},children:d.map((e,t)=>(0,_.jsxs)("li",{className:0===t?"ml-8 md:ml-10":void 0,ref:h,children:[0===t&&(0,_.jsx)(a1,{}),(0,_.jsx)(I(),{className:"text-custom-menulink-md md:text-custom-menulink-lg",href:"/date/".concat(e),children:e})]},t))}),(0,_.jsx)("div",{className:"menu-items-wrapper",children:(0,_.jsx)("ul",{tabIndex:0,className:"menu-items-list pb-10 md:pb-0 px-0",style:{lineHeight:"30px"},children:n.map((e,t)=>(0,_.jsxs)("li",{className:0===t?"ml-8 md:ml-10":void 0,ref:h,children:[0===t&&(0,_.jsx)(aJ.Z,{className:"tag-icon-menu size-6",height:"1rem",width:"1rem"}),(0,_.jsx)(I(),{href:e.node.uri,className:"text-custom-menulink-md md:text-custom-menulink-lg",children:e.node.name})]},t))})})]})]})}),(0,_.jsxs)("div",{className:"".concat(l?"hamb-search-container hideHamb":"hamb-search-container"," right-[20px] lg:right-[32px]"),children:[(0,_.jsx)(aK,{}),(0,_.jsxs)("div",{className:"hamb",onClick:p,ref:u,children:[(0,_.jsx)("span",{className:"hamb-top top"}),(0,_.jsx)("span",{className:"hamb-bot bot"})]})]})]})},a5=n(9692);function a3(e){var t,n;let{seo:r={},tags:i,children:o,epilogue:a}=e,s=(t="G-KJJG1Q1YYX","G-KJJG1Q1YYX"),u=(n="","");return(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(j,{}),(0,_.jsx)(a2,{items:i}),u&&(0,_.jsx)(a5.GoogleTagManager,{gtmId:u}),(0,_.jsx)(E,{seo:r}),(0,_.jsx)("div",{className:"min-h-screen",children:(0,_.jsx)("main",{children:o})}),(0,_.jsx)(N,{}),s&&(0,_.jsx)(a5.GoogleAnalytics,{gaId:s})]})}},1929:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(5893),i=n(9526),o=n.n(i),a=n(3250),s=n(1664),u=n.n(s),l=n(2677);function c(e){var t;let{content:n,excerpt:i="",date:s="",featuredImage:c=null,title:f="",tags:d=[]}=e;return(0,r.jsxs)("div",{className:"mx-auto mb-4",children:[(0,r.jsxs)("div",{className:"post-date mt-2 mb-8",children:[!!s&&(0,r.jsx)("span",{className:"text-date-color",children:(0,r.jsx)(a.Z,{dateString:s})}),d.length>0&&(0,r.jsxs)("span",{children:[(0,r.jsx)(l.Z,{}),!!d&&d.map((e,t)=>(0,r.jsx)(u(),{href:e.uri,children:e.name},t))]})]}
23),null!==c?(0,r.jsx)("img",{className:"my-6",src:null==c?void 0:null===(t=c.node)||void 0===t?void 0:t.sourceUrl,alt:"Bild som tillh\xf6r blogginl\xe4gget ".concat(f)}):null,n&&(0,r.jsx)("div",{className:"".concat(o().content," post-content content-text"),dangerouslySetInnerHTML:{__html:n}})]})}},9415:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5893);function i(e){let{children:t,animate:n=!0}=e;return(0,r.jsx)("h2",{className:"post-title ".concat(n?"animate-title":""),dangerouslySetInnerHTML:{__html:t||""}})}},4748:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893),i=n(8357);function o(e){let{children:t,classNameInView:n,onIntersectionChange:o}=e;return(0,r.jsx)(i.df,{triggerOnce:!1,threshold:0,rootMargin:"3000px 0px",onChange:(e,t)=>{e&&(null==t?void 0:t.target.children[0].id)&&o(t.target.children[0].id)},children:e=>{let{inView:i,ref:o}=e;return(0,r.jsx)("div",{ref:o,className:i?n:void 0,children:t})}})}},4830:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(5893),i=n(4748),o=n(9147),a=n(9415),s=n(1929),u=n(7294),l=n(8937),c=n(9332),f=n(6616),d=n(1664),h=n.n(d);function p(e){var t;let{data:n}=e,{title:i,content:a,featuredImage:s}=n.data,u="animate-fade animate-ease-in-out  animate-duration-[2000ms]";return(0,r.jsx)(o.Z,{classNameInView:u,children:(0,r.jsxs)("div",{className:"px-0 lg:px-container-content-padding h-[100vh]",children:[i&&(0,r.jsx)("h1",{className:"post-title-details",dangerouslySetInnerHTML:{__html:i}}),a&&(0,r.jsx)("div",{className:"text-custom-p-md md:text-custom-p-lg mb-content leading-content-lineheight content-text",dangerouslySetInnerHTML:{__html:a}}),null!==s?(0,r.jsx)("img",{className:"my-6",src:null==s?void 0:null===(t=s.node)||void 0===t?void 0:t.sourceUrl,alt:"Bild som tillh\xf6r blogginl\xe4gget ".concat(i)}):null]})})}function g(e){let{posts:t,slug:n,hasNextPage:l}=e,[c,d]=(0,u.useState)(l),[g,y]=(0,u.useState)(null),b=(0,u.useCallback)(async()=>{y(await v())},[]);(0,u.useEffect)(()=>{l||b()},[l]);let[_,T]=(0,u.useState)(t),[w,E]=(0,u.useState)(""),[x,C]=(0,u.useState)(t[t.length-1].node.id),O=e=>{E(e)},k=(0,u.useCallback)(async()=>{let e=_[_.length-1].cursor,t=await m(e,n);if(t.posts.length>0){let e=[..._,...t.posts];T(e),C(e[e.length-1].node.id),d(t.hasNextPage)}},[_,n]);(0,u.useEffect)(()=>{w===x&&_.length>0&&k()},[w,x,_,k]);let P="animate-fade animate-ease-in-out  animate-duration-[2000ms]";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"px-0 lg:px-container-content-padding",children:[(0,r.jsx)(f.Z,{}),_&&_.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(i.Z,{onIntersectionChange:O,children:(0,r.jsxs)("article",{id:e.node.id,children:[(0,r.jsx)(o.Z,{classNameInView:P,children:(0,r.jsx)(h(),{href:e.node.uri,children:(0,r.jsx)(a.Z,{children:e.node.title})})}),(0,r.jsxs)(o.Z,{classNameInView:P,children:[(0,r.jsx)(s.Z,{content:e.node.content,date:e.node.date,excerpt:e.node.excerpt,featuredImage:e.node.featuredImage,title:e.node.title,tags:e.node.tags.nodes}),(0,r.jsx)(f.Z,{})]})]},e.node.id)})},e.node.id))]}),!g||n||c?null:(0,r.jsx)(p,{data:g})]})}let m=async(e,t)=>{let n=!1,r=t?await (0,l.J4)(t,e):await (0,l.Cz)(n,e);return r||(0,c.notFound)(),{posts:t?r:r.posts.edges,hasNextPage:!t&&r.posts.pageInfo.hasNextPage}},v=async()=>({data:await (0,l.kj)()})},4891:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(5893),i=n(1768);function o(e){let{clear:t}=e;return(0,r.jsx)("button",{className:"search-clear-button",onClick:t,type:"button",children:(0,r.jsx)(i.Z,{})})}},6616:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(5893);function i(){return(0,r.jsx)("hr",{className:"border-accent-2 mt-12 mb-12"})}},8937:function(e,t,n){"use strict";n.d(t,{BP:function(){return c},Cz:function(){return s},J4:function(){return u},kj:function(){return l}});var r=n(3454),i=n(8764).lW;let o="https://bodilmalmsten2021.hemsida.eu/graphql";async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",{variables:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={"Content-Type":"application/json"};r.env.WORDPRESS_AUTH_REFRESH_TOKEN&&(n.Authorization="Bearer ".concat(r.env.WORDPRESS_AUTH_REFRESH_TOKEN));let i=await fetch(o,{headers:n,method:"POST",body:JSON.stringify({query:e,variables:t})}),a=await i.json();if(a.errors)throw console.error(a.errors),Error("Failed to fetch API");return a.data}async function s(e,t){return await a('\n    query getPostsAndMorePosts {\n        posts(\n          first: 10\n          where: {orderby: {field: DATE, order: ASC}}\n          after: "'.concat(t,'"\n          ) {\n                          edges {\n                            node {\n                              title\n                              excerpt\n                              content\n                              slug\n                              date\n                              uri\n                              tags {\n                                nodes {\n                                  name\n                                  uri\n                                }\n                              }\n                              featuredImage {\n                                node {\n                                  sourceUrl\n                                }\n                              }\n                              id\n                            }\n                            cursor\n                          }\n                          pageInfo {\n                            endCursor\n                            hasNextPage\n                          }\n                        }\n                      }\n    '),{variables:{onlyEnabled:!e,preview:e}})}async function u(e,t){let n=await a('\n      query NewQuery {\n        posts(\n        first: 10,\n        where: {orderby: {field: DATE, order: ASC}, tagSlugIn: "'.concat(e,'"}\n        after: "').concat(t,'"\n        ) {\n          edges {\n            node {\n              id\n              content\n              title\n              excerpt\n              content\n              slug\n              date\n              uri\n              seo {\n                breadcrumbs {\n                  text\n                  url\n                }\n              }\n              featuredImage {\n                node {\n                  sourceUrl\n                }\n              }\n                tags {\n                  nodes {\n                    name\n                    uri\n                  }\n                }\n            }\n            cursor\n          }\n            pageInfo {\n        endCursor\n        hasNextPage\n      }\n        }\n      }\n    '));return null==n?void 0:n.posts.edges}async function l(){return(await a('\n    query getEpilogue {\n      epilogue: innehallsdel(id: "epilogue", idType: SLUG) {\n        id\n        title\n        content\n        featuredImage {\n          node {\n            sourceUrl\n          }\n        }\n      }\n    }\n    \n    ')).epilogue}async function c(e,t){try{let n=await a('\n      query getSearchResults {\n        posts(where: {search: "'.concat(e,'", orderby: {field: DATE, order: DESC}}, first: 5, after: "').concat(t,'") {\n          edges {\n            node {\n              id\n              excerpt\n              title\n              date\n              uri\n              seo {\n                breadcrumbs {\n                  text\n                  url\n                }\n              }\n              tags {\n                nodes {\n                  name\n                  uri\n                }\n              }\n              featuredImage {\n                node {\n                  sourceUrl\n                }\n              }\n            }\n            cursor\n          }\n          pageInfo {\n            endCursor\n            hasNextPage\n            hasPreviousPage\n            startCursor\n          }\n        }\n      }\n      '));return(null==n?void 0:n.posts.edges)||[]}catch(e){throw console.error(e),e}}i.from("".concat(r.env.NEXT_PUBLIC_USERNAME,":").concat(r.env.NEXT_PUBLIC_PASSWORD)).toString("base64")},568:function(e,t,n){"use strict";function r(e,t){if(t.length<e)throw TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},3024:function(e,t,n){"use strict";function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,{Z:function(){return r}})},623:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return eC}});var i=n(568);function o(e){return(0,i.Z)(1,arguments),e instanceof Date||"object"===r(e)&&"[object Date]"===Object.prototype.toString.call(e)}function a(e){(0,i.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===r(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.
231 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}function s(e){return(0,i.Z)(1,arguments),(!!o(e)||"number"==typeof e)&&!isNaN(Number(a(e)))}var u=n(3024);function l(e,t){return(0,i.Z)(2,arguments),new Date(a(e).getTime()+(0,u.Z)(t))}function c(e,t){return(0,i.Z)(2,arguments),l(e,-(0,u.Z)(t))}var f=864e5;function d(e){(0,i.Z)(1,arguments);var t=a(e),n=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((n-t.getTime())/f)+1}function h(e){(0,i.Z)(1,arguments);var t=1,n=a(e),r=n.getUTCDay(),o=(r<t?7:0)+r-t;return n.setUTCDate(n.getUTCDate()-o),n.setUTCHours(0,0,0,0),n}function p(e){(0,i.Z)(1,arguments);var t=a(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var o=h(r),s=new Date(0);s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0);var u=h(s);return t.getTime()>=o.getTime()?n+1:t.getTime()>=u.getTime()?n:n-1}function g(e){(0,i.Z)(1,arguments);var t=p(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),h(n)}var m=6048e5;function v(e){(0,i.Z)(1,arguments);var t=a(e);return Math.round((h(t).getTime()-g(t).getTime())/m)+1}var y={};function b(){return y}function _(e,t){(0,i.Z)(1,arguments);var n,r,o,s,l,c,f,d,h=b(),p=(0,u.Z)(null!==(n=null!==(r=null!==(o=null!==(s=null==t?void 0:t.weekStartsOn)&&void 0!==s?s:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==o?o:h.weekStartsOn)&&void 0!==r?r:null===(f=h.locale)||void 0===f?void 0:null===(d=f.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==n?n:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=a(e),m=g.getUTCDay(),v=(m<p?7:0)+m-p;return g.setUTCDate(g.getUTCDate()-v),g.setUTCHours(0,0,0,0),g}function T(e,t){(0,i.Z)(1,arguments);var n,r,o,s,l,c,f,d,h=a(e),p=h.getUTCFullYear(),g=b(),m=(0,u.Z)(null!==(n=null!==(r=null!==(o=null!==(s=null==t?void 0:t.firstWeekContainsDate)&&void 0!==s?s:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==o?o:g.firstWeekContainsDate)&&void 0!==r?r:null===(f=g.locale)||void 0===f?void 0:null===(d=f.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1);if(!(m>=1&&m<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var v=new Date(0);v.setUTCFullYear(p+1,0,m),v.setUTCHours(0,0,0,0);var y=_(v,t),T=new Date(0);T.setUTCFullYear(p,0,m),T.setUTCHours(0,0,0,0);var w=_(T,t);return h.getTime()>=y.getTime()?p+1:h.getTime()>=w.getTime()?p:p-1}function w(e,t){(0,i.Z)(1,arguments);var n,r,o,a,s,l,c,f,d=b(),h=(0,u.Z)(null!==(n=null!==(r=null!==(o=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(s=t.locale)||void 0===s?void 0:null===(l=s.options)||void 0===l?void 0:l.firstWeekContainsDate)&&void 0!==o?o:d.firstWeekContainsDate)&&void 0!==r?r:null===(c=d.locale)||void 0===c?void 0:null===(f=c.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==n?n:1),p=T(e,t),g=new Date(0);return g.setUTCFullYear(p,0,h),g.setUTCHours(0,0,0,0),_(g,t)}var E=6048e5;function x(e,t){(0,i.Z)(1,arguments);var n=a(e);return Math.round((_(n,t).getTime()-w(n,t).getTime())/E)+1}function C(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var O={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return C("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):C(n+1,2)},d:function(e,t){return C(e.getUTCDate(),t.length)},h:function(e,t){return C(e.getUTCHours()%12||12,t.length)},H:function(e,t){return C(e.getUTCHours(),t.length)},m:function(e,t){return C(e.getUTCMinutes(),t.length)},s:function(e,t){return C(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length;return C(Math.floor(e.getUTCMilliseconds()*Math.pow(10,n-3)),t.length)}},k={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function P(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),o=r%60;if(0===o)return n+String(i);var a=t||"";return n+String(i)+a+C(o,2)}function N(e,t){return e%60==0?(e>0?"-":"+")+C(Math.abs(e)/60,2):S(e,t)}function S(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+C(Math.floor(i/60),2)+n+C(i%60,2)}var I={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return O.y(e,t)},Y:function(e,t,n,r){var i=T(e,r),o=i>0?i:1-i;return"YY"===t?C(o%100,2):"Yo"===t?n.ordinalNumber(o,{unit:"year"}):C(o,t.length)},R:function(e,t){return C(p(e),t.length)},u:function(e,t){return C(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return C(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return C(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return O.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return C(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=x(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):C(i,t.length)},I:function(e,t,n){var r=v(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):C(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):O.d(e,t)},D:function(e,t,n){var r=d(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):C(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return C(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),o=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return C(o,t.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return C(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?k.noon:0===i?k.midnight:i/12>
23=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?k.evening:i>=12?k.afternoon:i>=4?k.morning:k.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return O.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):O.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):C(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):O.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):O.s(e,t)},S:function(e,t){return O.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return N(i);case"XXXX":case"XX":return S(i);default:return S(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return N(i);case"xxxx":case"xx":return S(i);default:return S(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+P(i,":");default:return"GMT"+S(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+P(i,":");default:return"GMT"+S(i,":")}},t:function(e,t,n,r){return C(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,n,r){return C((r._originalDate||e).getTime(),t.length)}},M=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},j=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},A=function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],o=r[2];if(!o)return M(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",M(i,t)).replace("{{time}}",j(o,t))},D={p:j,P:A};function R(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var F=["D","DD"],L=["YY","YYYY"];function U(e){return -1!==F.indexOf(e)}function q(e){return -1!==L.indexOf(e)}function Q(e,t,n){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").
23concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var B={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},z=function(e,t,n){var r,i=B[e];return(r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},V=n(47),G={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Y={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},W={date:(0,V.Z)({formats:G,defaultWidth:"full"}),time:(0,V.Z)({formats:$,defaultWidth:"full"}),dateTime:(0,V.Z)({formats:Y,defaultWidth:"full"})},H={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Z=function(e,t,n,r){return H[e]},K=n(2834),J={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ee={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},et={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},en={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},er={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ei={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,K.Z)({values:J,defaultWidth:"wide"}),quarter:(0,K.Z)({values:X,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,K.Z)({values:ee,defaultWidth:"wide"}),day:(0,K.Z)({values:et,defaultWidth:"wide"}),dayPeriod:(0,K.Z)({values:en,defaultWidth:"wide",formattingValues:er,defaultFormattingWidth:"wide"})},eo=n(7632),ea=n(6669),es=/^(\d+)(th|st|nd|rd)?/i,eu=/\d+/i,el={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},ec={any:[/^b/i,/^(a|c)/i]},ef={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ed={any:[/1/i,/2/i,/3/i,/4/i]},eh={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},ep={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},eg={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},em={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},ev={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},ey={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},eb={code:"en-US",formatDistance:z,formatLong:W,formatRelative:Z,localize:ei,match:{ordinalNumber:(0,ea.Z)({matchPattern:es,parsePattern:eu,valueCallback:function(e){return parseInt(e,10)}}),era:(0,eo.Z)({matchPatterns:el,defaultMatchWidth:"wide",parsePatterns:ec,defaultParseWidth:"any"}),quarter:(0,eo.Z)({matchPatterns:ef,defaultMatchWidth:"wide",parsePatterns:ed,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,eo.Z)({matchPatterns:eh,defaultMatchWidth:"wide",parsePatterns:ep,defaultParseWidth:"any"}),day:(0,eo.Z)({matchPatterns:eg,defaultMatchWidth:"wide",parsePatterns:em,defaultParseWidth:"any"}),dayPeriod:(0,eo.Z)({matchPatterns:ev,defaultMatchWidth:"any",parsePatterns:ey,defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},e_=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eT=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ew=/^'([^]*?)'?$/,eE=/''/g,ex=/[a-zA-Z]/;function eC(e,t,n){(0,i.Z)(2,arguments);var r,o,l,f,d,h,p,g,m,v,y,_,T,w,E,x,C,O,k=String(t),P=b(),N=null!==(r=null!==(o=null==n?void 0:n.locale)&&void 0!==o?o:P.locale)&&void 0!==r?r:eb,S=(0,u.Z)(null!==(l=null!==(f=null!==(d=null!==(h=null==n?void 0:n.firstWeekContainsDate)&&void 0!==h?h:null==n?void 0:null===(p=n.locale)||void 0===p?void 0:null===(g=p.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==d?d:P.firstWeekContainsDate)&&void 0!==f?f:null===(m=P.locale)||void 0===m?void 0:null===(v=m.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==l?l:1);if(!(S>=1&&S<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=(0,u.Z)(null!==(y=null!==(_=null!==(T=null!==(w=null==n?void 0:n.weekStartsOn)&&void 0!==w?w:null==n?void 0:null===(E=n.locale)||void 0===E?void 0:null===(x=E.options)||void 0===x?void 0:x.weekStartsOn)&&void 0!==T?T:P.weekStartsOn)&&void 0!==_?_:null===(C=P.locale)||void 0===C?void 0:null===(O=C.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==y?y:0);if(!(M>=0&&M<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw RangeError("locale must contain localize property");if(!N.formatLong)throw RangeError("locale must contain formatLong property");var j=a(e);if(!s(j))throw RangeError("Invalid time value");var A=R(j),F=c(j,A),L={firstWeekContainsDate:S,weekStartsOn:M,locale:N,_originalDate:j};return k.match(eT).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,D[t])(e,N.formatLong):e}).join("").match(e_).map(function(r){if("''"===r)return"'";var i=r[0];if("'"===i)return eO(r);var o=I[i];if(o)return!(null!=n&&n.useAdditionalWeekYearTokens)&&q(r)&&Q(r,t,String(e)),!(null!=n&&n.useAdditionalDayOfYearTokens)&&U(r)&&Q(r,t,String(e)),o(F,r,N.localize,L);
23if(i.match(ex))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");return r}).join("")}function eO(e){var t=e.match(ew);return t?t[1].replace(eE,"'"):e}},47:function(e,t,n){"use strict";function r(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{Z:function(){return r}})},2834:function(e,t,n){"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):i;r=e.formattingValues[o]||e.formattingValues[i]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{Z:function(){return r}})},7632:function(e,t,n){"use strict";function r(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.width,s=a&&e.matchPatterns[a]||e.matchPatterns[e.defaultMatchWidth],u=t.match(s);if(!u)return null;var l=u[0],c=a&&e.parsePatterns[a]||e.parsePatterns[e.defaultParseWidth],f=Array.isArray(c)?o(c,function(e){return e.test(l)}):i(c,function(e){return e.test(l)});return n=e.valueCallback?e.valueCallback(f):f,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(l.length)}}}function i(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function o(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}n.d(t,{Z:function(){return r}})},6669:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],o=t.match(e.parsePattern);if(!o)return null;var a=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(i.length)}}}n.d(t,{Z:function(){return r}})},2609:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r={lessThanXSeconds:{one:"mindre \xe4n en sekund",other:"mindre \xe4n {{count}} sekunder"},xSeconds:{one:"en sekund",other:"{{count}} sekunder"},halfAMinute:"en halv minut",lessThanXMinutes:{one:"mindre \xe4n en minut",other:"mindre \xe4n {{count}} minuter"},xMinutes:{one:"en minut",other:"{{count}} minuter"},aboutXHours:{one:"ungef\xe4r en timme",other:"ungef\xe4r {{count}} timmar"},xHours:{one:"en timme",other:"{{count}} timmar"},xDays:{one:"en dag",other:"{{count}} dagar"},aboutXWeeks:{one:"ungef\xe4r en vecka",other:"ungef\xe4r {{count}} vecka"},xWeeks:{one:"en vecka",other:"{{count}} vecka"},aboutXMonths:{one:"ungef\xe4r en m\xe5nad",other:"ungef\xe4r {{count}} m\xe5nader"},xMonths:{one:"en m\xe5nad",other:"{{count}} m\xe5nader"},aboutXYears:{one:"ungef\xe4r ett \xe5r",other:"ungef\xe4r {{count}} \xe5r"},xYears:{one:"ett \xe5r",other:"{{count}} \xe5r"},overXYears:{one:"\xf6ver ett \xe5r",other:"\xf6ver {{count}} \xe5r"},almostXYears:{one:"n\xe4stan ett \xe5r",other:"n\xe4stan {{count}} \xe5r"}},i=["noll","en","tv\xe5","tre","fyra","fem","sex","sju","\xe5tta","nio","tio","elva","tolv"],o=function(e,t,n){var o,a=r[e];return(o="string"==typeof a?a:1===t?a.one:n&&n.onlyNumeric?a.other.replace("{{count}}",String(t)):a.other.replace("{{count}}",t<13?i[t]:String(t)),null!=n&&n.addSuffix)?n.comparison&&n.comparison>0?"om "+o:o+" sedan":o},a=n(47),s={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"y-MM-dd"},u={full:"'kl'. HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l={full:"{{date}} 'kl.' {{time}}",long:"{{date}} 'kl.' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c={date:(0,a.Z)({formats:s,defaultWidth:"full"}),time:(0,a.Z)({formats:u,defaultWidth:"full"}),dateTime:(0,a.Z)({formats:l,defaultWidth:"full"})},f={lastWeek:"'i' EEEE's kl.' p",yesterday:"'ig\xe5r kl.' p",today:"'idag kl.' p",tomorrow:"'imorgon kl.' p",nextWeek:"EEEE 'kl.' p",other:"P"},d=function(e,t,n,r){return f[e]},h=n(2834),p={narrow:["f.Kr.","e.Kr."],abbreviated:["f.Kr.","e.Kr."],wide:["f\xf6re Kristus","efter Kristus"]},g={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1:a kvartalet","2:a kvartalet","3:e kvartalet","4:e kvartalet"]},m={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mars","apr.","maj","juni","juli","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","mars","april","maj","juni","juli","augusti","september","oktober","november","december"]},v={narrow:["S","M","T","O","T","F","L"],short:["s\xf6","m\xe5","ti","on","to","fr","l\xf6"],abbreviated:["s\xf6n","m\xe5n","tis","ons","tors","fre","l\xf6r"],wide:["s\xf6ndag","m\xe5ndag","tisdag","onsdag","torsdag","fredag","l\xf6rdag"]},y={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"morg.",afternoon:"efterm.",evening:"kv\xe4ll",night:"natt"},abbreviated:{am:"f.m.",pm:"e.m.",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"efterm.",evening:"kv\xe4ll",night:"natt"},wide:{am:"f\xf6rmiddag",pm:"eftermiddag",midnight:"midnatt",noon:"middag",morning:"morgon",afternoon:"eftermiddag",evening:"kv\xe4ll",night:"natt"}},b={narrow:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xe5 morg.",afternoon:"p\xe5 efterm.",evening:"p\xe5 kv\xe4llen",night:"p\xe5 natten"},abbreviated:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xe5 morg.",afternoon:"p\xe5 efterm.",evening:"p\xe5 kv\xe4llen",night:"p\xe5 natten"},wide:{am:"fm",pm:"em",midnight:"midnatt",noon:"middag",morning:"p\xe5 morgonen",afternoon:"p\xe5 eftermiddagen",evening:"p\xe5 kv\xe4llen",night:"p\xe5 natten"}},_={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:case 2:return n+":a"}return n+":e"},era:(0,h.Z)({values:p,defaultWidth:"wide"}),quarter:(0,h.Z)({values:g,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,h.Z)({values:m,defaultWidth:"wide"}),day:(0,h.Z)({values:v,defaultWidth:"wide"}),dayPeriod:(0,h.Z)({values:y,defaultWidth:"wide",formattingValues:b,defaultFormattingWidth:"wide"})},T=n(7632),w=n(6669),E=/^(\d+)(:a|:e)?/i,x=/\d+/i,C={narrow:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,abbreviated:/^(f\.? ?Kr\.?|f\.? ?v\.? ?t\.?|e\.? ?Kr\.?|v\.? ?t\.?)/i,wide:/^(före Kristus|före vår tid|efter Kristus|vår tid)/i},O={any:[/^f/i,/^[ev]/i]},k={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](:a|:e)? kvartalet/i},P={any:[/1/i,/2/i,/3/i,/4/i]},N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar[s]?|apr|maj|jun[i]?|jul[i]?|aug|sep|okt|nov|dec)\.?/i,wide:/^(januari|februari|mars|april|maj|juni|juli|augusti|september|oktober|november|december)/i},S={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^maj/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},I={narrow:/^[smtofl]/i,short:/^(sö|må|ti|on|to|fr|lö)/i,abbreviated:/^(sön|mån|tis|ons|tors|fre|lör)/i,wide:/^(söndag|måndag|tisdag|onsdag|torsdag|fredag|lördag)/i},M={any:[/^s/i,/^m/i,/^ti/i,/^o/i,/^to/i,/^f/i,/^l/i]}
23,j={any:/^([fe]\.?\s?m\.?|midn(att)?|midd(ag)?|(på) (morgonen|eftermiddagen|kvällen|natten))/i},A={any:{am:/^f/i,pm:/^e/i,midnight:/^midn/i,noon:/^midd/i,morning:/morgon/i,afternoon:/eftermiddag/i,evening:/kväll/i,night:/natt/i}},D={code:"sv",formatDistance:o,formatLong:c,formatRelative:d,localize:_,match:{ordinalNumber:(0,w.Z)({matchPattern:E,parsePattern:x,valueCallback:function(e){return parseInt(e,10)}}),era:(0,T.Z)({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:O,defaultParseWidth:"any"}),quarter:(0,T.Z)({matchPatterns:k,defaultMatchWidth:"wide",parsePatterns:P,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,T.Z)({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),day:(0,T.Z)({matchPatterns:I,defaultMatchWidth:"wide",parsePatterns:M,defaultParseWidth:"any"}),dayPeriod:(0,T.Z)({matchPatterns:j,defaultMatchWidth:"any",parsePatterns:A,defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},8352:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=6e4,i=36e5,o=n(568),a=n(3024);function s(e,t){(0,o.Z)(1,arguments);var n,r,i,s=(0,a.Z)(null!==(n=null==t?void 0:t.additionalDigits)&&void 0!==n?n:2);if(2!==s&&1!==s&&0!==s)throw RangeError("additionalDigits must be 0, 1 or 2");if(!("string"==typeof e||"[object String]"===Object.prototype.toString.call(e)))return new Date(NaN);var u=d(e);if(u.date){var l=h(u.date,s);r=p(l.restDateString,l.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var c=r.getTime(),f=0;if(u.time&&isNaN(f=m(u.time)))return new Date(NaN);if(u.timezone){if(isNaN(i=y(u.timezone)))return new Date(NaN)}else{var g=new Date(c+f),v=new Date(0);return v.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),v.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),v}return new Date(c+f+i)}var u={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,f=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(e){var t,n={},r=e.split(u.dateTimeDelimiter);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],u.timeZoneDelimiter.test(n.date)&&(n.date=e.split(u.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){var i=u.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}function h(e,t){var n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};var i=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?i:100*o,restDateString:e.slice((r[1]||r[2]).length)}}function p(e,t){if(null===t)return new Date(NaN);var n=e.match(l);if(!n)return new Date(NaN);var r=!!n[4],i=g(n[1]),o=g(n[2])-1,a=g(n[3]),s=g(n[4]),u=g(n[5])-1;if(r)return x(t,s,u)?b(t,s,u):new Date(NaN);var c=new Date(0);return w(t,o,a)&&E(t,i)?(c.setUTCFullYear(t,o,Math.max(i,a)),c):new Date(NaN)}function g(e){return e?parseInt(e):1}function m(e){var t=e.match(c);if(!t)return NaN;var n=v(t[1]),o=v(t[2]),a=v(t[3]);return C(n,o,a)?n*i+o*r+1e3*a:NaN}function v(e){return e&&parseFloat(e.replace(",","."))||0}function y(e){if("Z"===e)return 0;var t=e.match(f);if(!t)return 0;var n="+"===t[1]?-1:1,o=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return O(o,a)?n*(o*i+a*r):NaN}function b(e,t,n){var r=new Date(0);r.setUTCFullYear(e,0,4);var i=(t-1)*7+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}var _=[31,null,31,30,31,30,31,31,30,31,30,31];function T(e){return e%400==0||e%4==0&&e%100!=0}function w(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(_[t]||(T(e)?29:28))}function E(e,t){return t>=1&&t<=(T(e)?366:365)}function x(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function C(e,t,n){return 24===e?0===t&&0===n:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function O(e,t){return t>=0&&t<=59}},3525:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(4001).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
23dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6361:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(3525);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4001:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return o}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let i=globalThis.AsyncLocalStorage;function o(){return i?new i:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return u.ReadonlyURLSearchParams},RedirectType:function(){return u.RedirectType},ServerInsertedHTMLContext:function(){return l.ServerInsertedHTMLContext},notFound:function(){return u.notFound},permanentRedirect:function(){return u.permanentRedirect},redirect:function(){return u.redirect},useParams:function(){return h},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return c},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return l.useServerInsertedHTML}});let r=n(7294),i=n(257),o=n(2608),a=n(1288),s=n(6406),u=n(2717),l=n(5988);function c(){let e=(0,r.useContext)(o.SearchParamsContext);return(0,r.useMemo)(()=>e?new u.ReadonlyURLSearchParams(e):null,[e])}function f(){return(0,r.useContext)(o.PathnameContext)}function d(){let e=(0,r.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,r.useContext)(o.PathParamsContext)}function p(e,t,n,r){let i;if(void 0===n&&(n=!0),void 0===r&&(r=[]),n)i=e[1][t];else{var o;let t=e[1];i=null!=(o=t.children)?o:Object.values(t)[0]}if(!i)return r;let u=i[0],l=(0,a.getSegmentValue)(u);return!l||l.startsWith(s.PAGE_SEGMENT_KEY)?r:(r.push(l),p(i,t,!1,r))}function g(e){void 0===e&&(e="children");let t=(0,r.useContext)(i.LayoutRouterContext);return t?p(t.tree,e):null}function m(e){void 0===e&&(e="children");let t=g(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===s.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2717:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return a},RedirectType:function(){return r.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(7511),i=n(3394);class o extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class a extends URLSearchParams{append(){throw new o}delete(){throw new o}set(){throw new o}sort(){throw new o}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3394:function(e,t){"use strict";
23Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return i},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4234:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7511:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return u},getRedirectStatusCodeFromError:function(){return p},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return d},isRedirectError:function(){return f},permanentRedirect:function(){return c},redirect:function(){return l}});let i=n(2595),o=n(6361),a=n(4234),s="NEXT_REDIRECT";function u(e,t,n){void 0===n&&(n=a.RedirectStatusCode.TemporaryRedirect);let r=Error(s);r.digest=s+";"+t+";"+e+";"+n+";";let o=i.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function l(e,t){void 0===t&&(t="replace");let n=o.actionAsyncStorage.getStore();throw u(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.TemporaryRedirect)}function c(e,t){void 0===t&&(t="replace");let n=o.actionAsyncStorage.getStore();throw u(e,t,(null==n?void 0:n.isAction)?a.RedirectStatusCode.SeeOther:a.RedirectStatusCode.PermanentRedirect)}function f(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,i]=e.digest.split(";",4),o=Number(i);return t===s&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(o)&&o in a.RedirectStatusCode}function d(e){return f(e)?e.digest.split(";",3)[2]:null}function h(e){if(!f(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function p(e){if(!f(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}!function(e){e.push="push",e.replace="replace"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(4001).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(5329);function i(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1288:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}
23Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8199:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return l},ACTION_NAVIGATE:function(){return o},ACTION_PREFETCH:function(){return u},ACTION_REFRESH:function(){return i},ACTION_RESTORE:function(){return a},ACTION_SERVER_ACTION:function(){return c},ACTION_SERVER_PATCH:function(){return s},PrefetchCacheEntryStatus:function(){return r},PrefetchKind:function(){return n},isThenable:function(){return f}});let i="refresh",o="navigate",a="restore",s="server-patch",u="prefetch",l="fast-refresh",c="server-action";function f(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}!function(e){e.AUTO="auto",e.FULL="full",e.TEMPORARY="temporary"}(n||(n={})),function(e){e.fresh="fresh",e.reusable="reusable",e.expired="expired",e.stale="stale"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let r=n(8337),i="";function o(e,t,o,a){{let s=n(5183).normalizeLocalePath,u=n(4166).detectDomainLocale,l=t||s(e,o).detectedLocale,c=u(a,void 0,l);if(c){let t="http"+(c.http?"":"s")+"://",n=l===c.defaultLocale?"":"/"+l;return""+t+c.domain+(0,r.normalizePathTrailingSlash)(""+i+n+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let r=n(8754),i=n(5893),o=r._(n(7294)),a=n(6075),s=n(3955),u=n(8041),l=n(9903),c=n(5490),f=n(1928),d=n(257),h=n(4229),p=n(7195),g=n(9470),m=n(8199),v=new Set;function y(e,t,n,r,i,o){if(o||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}(async()=>o?e.prefetch(t,i):e.prefetch(t,n,r))().catch(e=>{})}}function b(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function _(e,t,n,r,i,a,u,l,c){let{nodeName:f}=e.currentTarget;if("A"===f.toUpperCase()&&(b(e)||!c&&!(0,s.isLocalURL)(n)))return;e.preventDefault();let d=()=>{let e=null==u||u;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:a,locale:l,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})};c?o.default.startTransition(d):d()}function T(e){return"string"==typeof e?e:(0,u.formatUrl)(e)}let w=o.default.forwardRef(function(e,t){let n,r;let{href:s,as:u,children:v,prefetch:b=null,passHref:w,replace:E,shallow:x,scroll:C,locale:O,onClick:k,onMouseEnter:P,onTouchStart:N,legacyBehavior:S=!1,...I}=e;n=v,S&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let M=o.default.useContext(f.RouterContext),j=o.default.useContext(d.AppRouterContext),A=null!=M?M:j,D=!M,R=!1!==b,F=null===b?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:L,as:U}=o.default.useMemo(()=>{if(!M){let e=T(s);return{href:e,as:u?T(u):e}}let[e,t]=(0,a.resolveHref)(M,s,!0);return{href:e,as:u?(0,a.resolveHref)(M,u):t||e}},[M,s,u]),q=o.default.useRef(L),Q=o.default.useRef(U);S&&(r=o.default.Children.only(n));let B=S?r&&"object"==typeof r&&r.ref:t,[z,V,G]=(0,h.useIntersection)({rootMargin:"200px"}),$=o.default.useCallback(e=>{(Q.current!==U||q.current!==L)&&(G(),Q.current=U,q.current=L),z(e),B&&("function"==typeof B?B(e):"object"==typeof B&&(B.current=e))},[U,B,L,G,z]);o.default.useEffect(()=>{A&&V&&R&&y(A,L,U,{locale:O},{kind:F},D)},[U,L,V,O,R,null==M?void 0:M.locale,A,D,F]);let Y={ref:$,onClick(e){S||"function"!=typeof k||k(e),S&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),A&&!e.defaultPrevented&&_(e,A,L,U,E,x,C,O,D)},onMouseEnter(e){S||"function"!=typeof P||P(e),S&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),A&&(R||!D)&&y(A,L,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:F},D)}
23,onTouchStart:function(e){S||"function"!=typeof N||N(e),S&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),A&&(R||!D)&&y(A,L,U,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:F},D)}};if((0,l.isAbsoluteUrl)(U))Y.href=U;else if(!S||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==O?O:null==M?void 0:M.locale,t=(null==M?void 0:M.isLocaleDomain)&&(0,p.getDomainLocale)(U,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales);Y.href=t||(0,g.addBasePath)((0,c.addLocale)(U,e,null==M?void 0:M.defaultLocale))}return S?o.default.cloneElement(r,Y):(0,i.jsx)("a",{...I,...Y,children:n})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5183:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(4165).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return c}});let r=n(7294),i=n(4474),o="function"==typeof IntersectionObserver,a=new Map,s=[];function u(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}function l(e,t,n){let{id:r,observer:i,elements:o}=u(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}function c(e){let{rootRef:t,rootMargin:n,disabled:a}=e,s=a||!o,[u,c]=(0,r.useState)(!1),f=(0,r.useRef)(null),d=(0,r.useCallback)(e=>{f.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(s||u)return;let e=f.current;if(e&&e.tagName)return l(e,e=>e&&c(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!u){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,n,t,u,f.current]),[d,u,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5988:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return o}});let r=n(1757)._(n(7294)),i=r.default.createContext(null);function o(e){let t=(0,r.useContext)(i);t&&t(e)}},3076:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S}});var r=n(5893),i=n(7294),o=n(8256);function a(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var s=n(8806);n(876);var u=n(6616),l=n(4830),c=n(839),f=n(4245),d=n(2858);function h(){let e=a(["\n  query GetTagPage($uri: String!) {\n    allTags: tags(first: 1000, where: { hideEmpty: true }) {\n      edges {\n        node {\n          id\n          name\n          uri\n          slug\n        }\n      }\n    }\n    allPosts: nodeByUri(uri: $uri) {\n      ... on Tag {\n        name\n        slug\n        posts(where: { orderby: { field: DATE, order: ASC } }, first: 10) {\n          edges {\n            node {\n              id\n              content\n              title\n              excerpt\n              content\n              slug\n              date\n              uri\n              seo {\n                breadcrumbs {\n                  text\n                  url\n                }\n              }\n              featuredImage {\n                node {\n                  sourceUrl\n                }\n              }\n              tags {\n                nodes {\n                  name\n                  uri\n                }\n              }\n            }\n            cursor\n          }\n          pageInfo {\n            endCursor\n            hasNextPage\n          }\n        }\n        seo {\n          breadcrumbs {\n            text\n            url\n          }\n          opengraphTitle\n          opengraphSiteName\n          opengraphUrl\n          opengraphDescription\n          opengraphImage {\n            sourceUrl(size: LARGE)\n          }\n        }\n      }\n    }\n  }\n"]);return h=function(){return e},e}function p(e){var t,n,i;let{name:o,posts:a,seo:s}=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.allPosts,u=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.allTags;a.edges[0].node.tags.nodes[0].name;let h=a.edges[0].node.tags.nodes[0],p=null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.allPosts.slug;return(0,r.jsx)(f.Z,{seo:s,tags:null==u?void 0:u.edges,children:(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(d.Z,{tagData:h}),(0,r.jsx)(l.Z,{posts:null==a?void 0:a.edges,slug:p})]})})}p.query=(0,s.Ps)(h()),p.variables=e=>{let{uri:t}=e;return{uri:t}},n(9415);var g=n(1929),m=n(9147);function v(){let e=a(["\n  query GetPost($databaseId: ID!, $asPreview: Boolean = false) {\n    allTags: tags(first: 1000, where: {hideEmpty: true}) {\n        edges {\n            node {\n                id\n                name\n                uri\n                slug\n            }\n        }\n    }\n    page(id: $databaseId, idType: DATABASE_ID, asPreview: $asPreview) {\n        id\n        content\n        title\n        uri\n        slug\n        date\n        featuredImage {\n            node {\n                sourceUrl(size: LARGE)\n                altText\n            }\n        }\n        seo {\n            breadcrumbs {\n            text\n            url\n            }\n            opengraphTitle\n            opengraphSiteName\n            opengraphUrl\n            opengraphDescription\n            opengraphImage {\n            sourceUrl(size: LARGE)\n            }\n        }\n    }\n  }\n"]);return v=function(){return e},e}function y(e){var t,n;if(e.loading)return(0,r.jsx)(r.Fragment,{children:"Loading..."});let{title:i="",date:o="",content:a="",featuredImage:s="",tags:u=null,seo:l}=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.page,d=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.allTags,h="animate-fade animate-ease-in-out  animate-duration-[2000ms]";return(0,r.jsx)(f.Z,{seo:l,tags:null==d?void 0:d.edges,children:(0,r.jsx)(c.Z,{children:(0,r.jsx)(m.Z,{classNameInView:h,children:(0,r.jsxs)("div",{className:"px-0 lg:px-container-content-padding",children:[(0,r.jsx)("h1",{children:i}),(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:a}})]})})})})}y.query=(0,s.Ps)(v()),y.variables=e=>{let{databaseId:t}=e;return{databaseId:t}};var b=n(1794);let _="PRIMARY",T="FOOTER";function w(e){var t;let{data:n,animate:i=!1}=e,{title:o,content:a,featuredImage:s}=n;return(0,r.jsxs)("div",{className:"mx-auto mb-4",children:[a&&(0,r.jsx)("div",{className:"text-custom-p-md md:text-custom-p-lg mb-content content-text",dangerouslySetInnerHTML:{__html:a}}
23),null!==s?(0,r.jsx)("img",{className:"my-6",src:null==s?void 0:null===(t=s.node)||void 0===t?void 0:t.sourceUrl,alt:"Bild som tillh\xf6r blogginl\xe4gget ".concat(o)}):null]})}function E(){let e=a(['\n  query GetPageData {\n    allTags: tags(first: 1000, where: { hideEmpty: true }) {\n      edges {\n        node {\n          id\n          name\n          uri\n          slug\n        }\n      }\n    }\n    allPosts: posts(\n      first: 10\n      where: { orderby: { field: DATE, order: ASC } }\n    ) {\n      edges {\n        node {\n          title\n          excerpt\n          content\n          slug\n          date\n          uri\n          tags {\n            nodes {\n              name\n              uri\n            }\n          }\n          featuredImage {\n            node {\n              sourceUrl\n            }\n          }\n          id\n        }\n        cursor\n      }\n      pageInfo {\n        endCursor\n        hasNextPage\n      }\n    }\n    preamble: innehallsdel(id: "preamble", idType: SLUG) {\n      id\n      title\n      content\n      featuredImage {\n        node {\n          sourceUrl\n        }\n      }\n    }\n    epilogue: innehallsdel(id: "epilogue", idType: SLUG) {\n      id\n      title\n      content\n      featuredImage {\n        node {\n          sourceUrl\n        }\n      }\n    }\n  }\n']);return E=function(){return e},e}function x(){var e;let{data:t}=(0,b.aM)(x.query,{variables:x.variables()}),n="animate-fade animate-ease-in-out  animate-duration-[2000ms]";return(0,r.jsx)(f.Z,{epilogue:null==t?void 0:t.epilogue,tags:null==t?void 0:null===(e=t.allTags)||void 0===e?void 0:e.edges,children:(0,r.jsxs)(c.Z,{children:[(0,r.jsx)("div",{className:"px-0 pt-20 lg:px-container-content-padding",children:(0,r.jsx)(m.Z,{classNameInView:n,children:(0,r.jsx)(w,{data:null==t?void 0:t.preamble})})}),(0,r.jsx)("div",{children:(0,r.jsx)(l.Z,{posts:t.allPosts.edges,hasNextPage:t.allPosts.pageInfo.hasNextPage,epilogueData:t.epilogue})})]})})}function C(){let e=a(['\n  query GetPost($databaseId: ID!, $asPreview: Boolean = false) {\n    allTags: tags(first: 1000, where: {hideEmpty: true}) {\n        edges {\n            node {\n                id\n                name\n                uri\n                slug\n            }\n        }\n    }\n    post(id: $databaseId, idType: DATABASE_ID, asPreview: $asPreview) {\n        id\n        content\n        title\n        uri\n        slug\n        date\n        tags {\n            nodes {\n            name\n            uri\n            }\n        }\n        featuredImage {\n            node {\n                sourceUrl(size: LARGE)\n                altText\n            }\n        }\n        seo {\n            breadcrumbs {\n            text\n            url\n            }\n            opengraphTitle\n            opengraphSiteName\n            opengraphUrl\n            opengraphDescription\n            opengraphImage {\n            sourceUrl(size: LARGE)\n            }\n        }\n    }\n    epilogue: innehallsdel(id: "epilogue", idType: SLUG) {\n      id\n      title\n      content\n      featuredImage {\n        node {\n          sourceUrl\n        }\n      }\n    }    \n  }\n']);return C=function(){return e},e}function O(e){var t,n,i;if(e.loading)return(0,r.jsx)(r.Fragment,{children:"Loading..."});let{title:o="",date:a="",content:s="",featuredImage:l="",tags:h=null,seo:p}=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.post,v=null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.allTags,y="animate-fade animate-ease-in-out  animate-duration-[2000ms]";return(0,r.jsx)(f.Z,{seo:p,tags:null==v?void 0:v.edges,epilogue:null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.epilogue,children:(0,r.jsx)(c.Z,{children:(0,r.jsxs)(m.Z,{classNameInView:y,children:[(0,r.jsx)(d.Z,{postDate:a}),(0,r.jsxs)("div",{className:"px-0 lg:px-container-content-padding",children:[(0,r.jsx)(u.Z,{mt:2,mb:2}),(0,r.jsxs)("article",{children:[(0,r.jsx)("h1",{className:"post-title-details",children:o}),(0,r.jsx)(g.Z,{date:a,content:s,featuredImage:l,title:o,tags:h.nodes})]})]})]})})})}x.query=(0,s.Ps)(E()),x.variables=()=>({headerLocation:_,footerLocation:T}),O.query=(0,s.Ps)(C()),O.variables=e=>{let{databaseId:t}=e;return{databaseId:t}};var k={"front-page":x,page:y,tag:p,single:O},P=JSON.parse('{"CategoryConnection":["RootQueryToCategoryConnection","CategoryToAncestorsCategoryConnection","CategoryToCategoryConnection","PostToCategoryConnection"],"Connection":["RootQueryToCategoryConnection","TermNodeToEnqueuedScriptConnection","TermNodeToEnqueuedStylesheetConnection","CategoryToAncestorsCategoryConnection","CategoryToCategoryConnection","CategoryToContentNodeConnection","ContentTypeToTaxonomyConnection","TaxonomyToContentTypeConnection","TaxonomyToTermNodeConnection","ContentTypeToContentNodeConnection","UserToCommentConnection","CommentToCommentConnection","UserToEnqueuedScriptConnection","UserToEnqueuedStylesheetConnection","UserToMediaItemConnection","HierarchicalContentNodeToContentNodeAncestorsConnection","HierarchicalContentNodeToContentNodeChildrenConnection","ContentNodeToEnqueuedScriptConnection","ContentNodeToEnqueuedStylesheetConnection","MediaItemToCommentConnection","UserToPageConnection","PageToCommentConnection","PageToRevisionConnection","PageToTagConnection","TagToContentNodeConnection","TagToPageConnection","TagToPostConnection","PostToPostConnection","PostToCategoryConnection","PostToCommentConnection","PostToPostFormatConnection","PostFormatToContentNodeConnection","PostFormatToPostConnection","PostToRevisionConnection","PostToTagConnection","PostToTermNodeConnection","PageToTermNodeConnection","UserToPostConnection","UserToRevisionsConnection","UserToUserRoleConnection","CategoryToPostConnection","RootQueryToCommentConnection","RootQueryToContentNodeConnection","RootQueryToContentTypeConnection","RootQueryToMediaItemConnection","MenuToMenuItemConnection","MenuItemToMenuItemConnection","RootQueryToMenuItemConnection","RootQueryToMenuConnection","RootQueryToPageConnection","RootQueryToPluginConnection","RootQueryToPostFormatConnection","RootQueryToPostConnection","RootQueryToEnqueuedScriptConnection","RootQueryToEnqueuedStylesheetConnection","RootQueryToRevisionsConnection","RootQueryToTagConnection","RootQueryToTaxonomyConnection","RootQueryToTermNodeConnection","RootQueryToThemeConnection","RootQueryToUserRoleConnection","RootQueryToUserConnection"],"Edge":["TermNodeToEnqueuedScriptConnectionEdge","TermNodeToEnqueuedStylesheetConnectionEdge","CategoryToAncestorsCategoryConnectionEdge","CategoryToCategoryConnectionEdge","ContentNodeToContentTypeConnectionEdge","TaxonomyToContentTypeConnectionEdge","TaxonomyToTermNodeConnectionEdge","ContentTypeToTaxonomyConnectionEdge","ContentTypeToContentNodeConnectionEdge","ContentNodeToEditLockConnectionEdge","CommentToCommenterConnectionEdge","CommentToContentNodeConnectionEdge","CommentToParentCommentConnectionEdge","CommentToCommentConnectionEdge","UserToCommentConnectionEdge","UserToEnqueuedScriptConnectionEdge","UserToEnqueuedStylesheetConnectionEdge","NodeWithAuthorToUserConnectionEdge","HierarchicalContentNodeToContentNodeAncestorsConnectionEdge","HierarchicalContentNodeToContentNodeChildrenConnectionEdge","ContentNodeToEnqueuedScriptConnectionEdge","ContentNodeToEnqueuedStylesheetConnectionEdge","ContentNodeToEditLastConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","MediaItemToCommentConnectionEdge","UserToMediaItemConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","PageToCommentConnectionEdge","PageToPreviewConnectionEdge","PageToRevisionConnectionEdge","TagToContentNodeConnectionEdge","TagToPageConnectionEdge","PostToPostConnectionEdge","PostToCategoryConnectionEdge","PostToCommentConnectionEdge","PostToParentConnectionEdge","PostFormatToContentNodeConnectionEdge","PostFormatToPostConnectionEdge","PostFormatToTaxonomyConnectionEdge","PostToPostFormatConnectionEdge","PostToPreviewConnectionEdge","PostToRevisionConnectionEdge","PostToTagConnectionEdge","PostToTermNodeConnectionEdge","TagToPostConnectionEdge","TagToTaxonomyConnectionEdge","PageToTagConnectionEdge","PageToTermNodeConnectionEdge","UserToPageConnectionEdge","UserToPostConnectionEdge","UserToRevisionsConnectionEdge","UserToUserRoleConnectionEdge","CategoryToContentNodeConnectionEdge","CategoryToParentCategoryConnectionEdge","CategoryToPostConnectionEdge","CategoryToTaxonomyConnectionEdge","RootQueryToCategoryConnectionEdge","RootQueryToCommentConnectionEdge","RootQueryToContentNodeConnectionEdge","RootQueryToContentTypeConnectionEdge","RootQueryToMediaItemConnectionEdge","MenuItemToMenuItemConnectionEdge","MenuItemToMenuItemLinkableConnectionEdge","MenuItemToMenuConnectionEdge","MenuToMenuItemConnectionEdge","RootQueryToMenuItemConnectionEdge","RootQueryToMenuConnectionEdge","RootQueryToPageConnectionEdge","RootQueryToPluginConnectionEdge","RootQueryToPostFormatConnectionEdge","RootQueryToPostConnectionEdge","RootQueryToEnqueuedScriptConnectionEdge","RootQueryToEnqueuedStylesheetConnectionEdge","RootQueryToRevisionsConnectionEdge","RootQueryToTagConnectionEdge","RootQueryToTaxonomyConnectionEdge","RootQueryToTermNodeConnectionEdge","RootQueryToThemeConnectionEdge","RootQueryToUserRoleConnectionEdge","RootQueryToUserConnectionEdge"],"Node":["Category","EnqueuedScript","EnqueuedStylesheet","ContentType","Taxonomy","User","Comment","MediaItem","Page","Tag","Post","PostFormat","UserRole","Menu","MenuItem","Plugin","Theme","CommentAuthor"],"PageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","TermNodeToEnqueuedStylesheetConnectionPageInfo","CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","TaxonomyToContentTypeConnectionPageInfo","TaxonomyToTermNodeConnectionPageInfo","ContentTypeToTaxonomyConnectionPageInfo","ContentTypeToContentNodeConnectionPageInfo","CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","MediaItemToCommentConnectionPageInfo","UserToMediaItemConnectionPageInfo","PageToCommentConnectionPageInfo","PageToRevisionConnectionPageInfo","TagToContentNodeConnectionPageInfo","TagToPageConnectionPageInfo","PostToPostConnectionPageInfo","PostToCategoryConnectionPageInfo","PostToCommentConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","PostFormatToPostConnectionPageInfo","PostToPostFormatConnectionPageInfo","PostToRevisionConnectionPageInfo","PostToTagConnectionPageInfo","PostToTermNodeConnectionPageInfo","TagToPostConnectionPageInfo","PageToTagConnectionPageInfo","PageToTermNodeConnectionPageInfo","UserToPageConnectionPageInfo","UserToPostConnectionPageInfo","UserToRevisionsConnectionPageInfo","UserToUserRoleConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToCategoryConnectionPageInfo","RootQueryToCommentConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo","MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo","RootQueryToMenuConnectionPageInfo","RootQueryToPageConnectionPageInfo","RootQueryToPluginConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo","RootQueryToPostConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo","RootQueryToTagConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo","RootQueryToThemeConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo","RootQueryToUserConnectionPageInfo"],"CategoryConnectionEdge":["CategoryToAncestorsCategoryConnectionEdge","CategoryToCategoryConnectionEdge","PostToCategoryConnectionEdge","CategoryToParentCategoryConnectionEdge","RootQueryToCategoryConnectionEdge"],"TermNode":["Category","Tag","PostFormat"],"UniformResourceIdentifiable":["Category","ContentType","User","Comment","MediaItem","Page","Tag","Post","PostFormat"],"EnqueuedScriptConnection":["TermNodeToEnqueuedScriptConnection","UserToEnqueuedScriptConnection","ContentNodeToEnqueuedScriptConnection","RootQueryToEnqueuedScriptConnection"],"EnqueuedScriptConnectionEdge":["TermNodeToEnqueuedScriptConnectionEdge","UserToEnqueuedScriptConnectionEdge","ContentNodeToEnqueuedScriptConnectionEdge","RootQueryToEnqueuedScriptConnectionEdge"],"EnqueuedAsset":["EnqueuedScript","EnqueuedStylesheet"],"EnqueuedScriptConnectionPageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo"],"WPPageInfo":["TermNodeToEnqueuedScriptConnectionPageInfo","TermNodeToEnqueuedStylesheetConnectionPageInfo","CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","TaxonomyToContentTypeConnectionPageInfo","TaxonomyToTermNodeConnectionPageInfo","ContentTypeToTaxonomyConnectionPageInfo","ContentTypeToContentNodeConnectionPageInfo","CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","UserToEnqueuedScriptConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","ContentNodeToEnqueuedScriptConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","MediaItemToCommentConnectionPageInfo","UserToMediaItemConnectionPageInfo","PageToCommentConnectionPageInfo","PageToRevisionConnectionPageInfo","TagToContentNodeConnectionPageInfo","TagToPageConnectionPageInfo","PostToPostConnectionPageInfo","PostToCategoryConnectionPageInfo","PostToCommentConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","PostFormatToPostConnectionPageInfo","PostToPostFormatConnectionPageInfo","PostToRevisionConnectionPageInfo","PostToTagConnectionPageInfo","PostToTermNodeConnectionPageInfo","TagToPostConnectionPageInfo","PageToTagConnectionPageInfo","PageToTermNodeConnectionPageInfo","UserToPageConnectionPageInfo","UserToPostConnectionPageInfo","UserToRevisionsConnectionPageInfo","UserToUserRoleConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToCategoryConnectionPageInfo","RootQueryToCommentConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo","MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo","RootQueryToMenuConnectionPageInfo","RootQueryToPageConnectionPageInfo","RootQueryToPluginConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo","RootQueryToPostConnectionPageInfo","RootQueryToEnqueuedScriptConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo","RootQueryToTagConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo","RootQueryToThemeConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo","RootQueryToUserConnectionPageInfo"],"EnqueuedStylesheetConnection":["TermNodeToEnqueuedStylesheetConnection","UserToEnqueuedStylesheetConnection","ContentNodeToEnqueuedStylesheetConnection","RootQueryToEnqueuedStylesheetConnection"],"EnqueuedStylesheetConnectionEdge":["TermNodeToEnqueuedStylesheetConnectionEdge","UserToEnqueuedStylesheetConnectionEdge","ContentNodeToEnqueuedStylesheetConnectionEdge","RootQueryToEnqueuedStylesheetConnectionEdge"],"EnqueuedStylesheetConnectionPageInfo":["TermNodeToEnqueuedStylesheetConnectionPageInfo","UserToEnqueuedStylesheetConnectionPageInfo","ContentNodeToEnqueuedStylesheetConnectionPageInfo","RootQueryToEnqueuedStylesheetConnectionPageInfo"],"DatabaseIdentifier":["Category","User","Comment","MediaItem","Page","Tag","Post","PostFormat","Menu","MenuItem","CommentAuthor"],"HierarchicalTermNode":["Category"],"HierarchicalNode":["Category","MediaItem","Page"],"MenuItemL
23inkable":["Category","Page","Tag","Post","PostFormat"],"CategoryConnectionPageInfo":["CategoryToAncestorsCategoryConnectionPageInfo","CategoryToCategoryConnectionPageInfo","PostToCategoryConnectionPageInfo","RootQueryToCategoryConnectionPageInfo"],"ContentNodeConnection":["CategoryToContentNodeConnection","ContentTypeToContentNodeConnection","HierarchicalContentNodeToContentNodeAncestorsConnection","HierarchicalContentNodeToContentNodeChildrenConnection","TagToContentNodeConnection","PostFormatToContentNodeConnection","UserToRevisionsConnection","RootQueryToContentNodeConnection","RootQueryToRevisionsConnection"],"ContentNodeConnectionEdge":["ContentTypeToContentNodeConnectionEdge","CommentToContentNodeConnectionEdge","HierarchicalContentNodeToContentNodeAncestorsConnectionEdge","HierarchicalContentNodeToContentNodeChildrenConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","TagToContentNodeConnectionEdge","PostFormatToContentNodeConnectionEdge","UserToRevisionsConnectionEdge","CategoryToContentNodeConnectionEdge","RootQueryToContentNodeConnectionEdge","RootQueryToRevisionsConnectionEdge"],"ContentNode":["MediaItem","Page","Post"],"OneToOneConnection":["ContentNodeToContentTypeConnectionEdge","ContentNodeToEditLockConnectionEdge","CommentToCommenterConnectionEdge","CommentToContentNodeConnectionEdge","CommentToParentCommentConnectionEdge","NodeWithAuthorToUserConnectionEdge","ContentNodeToEditLastConnectionEdge","HierarchicalContentNodeToParentContentNodeConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","NodeWithRevisionsToContentNodeConnectionEdge","PageToPreviewConnectionEdge","PostToParentConnectionEdge","PostFormatToTaxonomyConnectionEdge","PostToPreviewConnectionEdge","TagToTaxonomyConnectionEdge","CategoryToParentCategoryConnectionEdge","CategoryToTaxonomyConnectionEdge","MenuItemToMenuItemLinkableConnectionEdge","MenuItemToMenuConnectionEdge"],"ContentTypeConnectionEdge":["ContentNodeToContentTypeConnectionEdge","TaxonomyToContentTypeConnectionEdge","RootQueryToContentTypeConnectionEdge"],"TaxonomyConnection":["ContentTypeToTaxonomyConnection","RootQueryToTaxonomyConnection"],"TaxonomyConnectionEdge":["ContentTypeToTaxonomyConnectionEdge","PostFormatToTaxonomyConnectionEdge","TagToTaxonomyConnectionEdge","CategoryToTaxonomyConnectionEdge","RootQueryToTaxonomyConnectionEdge"],"ContentTypeConnection":["TaxonomyToContentTypeConnection","RootQueryToContentTypeConnection"],"ContentTypeConnectionPageInfo":["TaxonomyToContentTypeConnectionPageInfo","RootQueryToContentTypeConnectionPageInfo"],"TermNodeConnection":["TaxonomyToTermNodeConnection","PostToTermNodeConnection","PageToTermNodeConnection","RootQueryToTermNodeConnection"],"TermNodeConnectionEdge":["TaxonomyToTermNodeConnectionEdge","PostToTermNodeConnectionEdge","PageToTermNodeConnectionEdge","RootQueryToTermNodeConnectionEdge"],"TermNodeConnectionPageInfo":["TaxonomyToTermNodeConnectionPageInfo","PostToTermNodeConnectionPageInfo","PageToTermNodeConnectionPageInfo","RootQueryToTermNodeConnectionPageInfo"],"TaxonomyConnectionPageInfo":["ContentTypeToTaxonomyConnectionPageInfo","RootQueryToTaxonomyConnectionPageInfo"],"ContentNodeConnectionPageInfo":["ContentTypeToContentNodeConnectionPageInfo","HierarchicalContentNodeToContentNodeAncestorsConnectionPageInfo","HierarchicalContentNodeToContentNodeChildrenConnectionPageInfo","TagToContentNodeConnectionPageInfo","PostFormatToContentNodeConnectionPageInfo","UserToRevisionsConnectionPageInfo","CategoryToContentNodeConnectionPageInfo","RootQueryToContentNodeConnectionPageInfo","RootQueryToRevisionsConnectionPageInfo"],"UserConnectionEdge":["ContentNodeToEditLockConnectionEdge","NodeWithAuthorToUserConnectionEdge","ContentNodeToEditLastConnectionEdge","RootQueryToUserConnectionEdge"],"Commenter":["User","CommentAuthor"],"CommentConnection":["UserToCommentConnection","CommentToCommentConnection","MediaItemToCommentConnection","PageToCommentConnection","PostToCommentConnection","RootQueryToCommentConnection"],"CommentConnectionEdge":["CommentToParentCommentConnectionEdge","CommentToCommentConnectionEdge","UserToCommentConnectionEdge","MediaItemToCommentConnectionEdge","PageToCommentConnectionEdge","PostToCommentConnectionEdge","RootQueryToCommentConnectionEdge"],"CommenterConnectionEdge":["CommentToCommenterConnectionEdge"],"CommentConnectionPageInfo":["CommentToCommentConnectionPageInfo","UserToCommentConnectionPageInfo","MediaItemToCommentConnectionPageInfo","PageToCommentConnectionPageInfo","PostToCommentConnectionPageInfo","RootQueryToCommentConnectionPageInfo"],"MediaItemConnection":["UserToMediaItemConnection","RootQueryToMediaItemConnection"],"MediaItemConnectionEdge":["UserToMediaItemConnectionEdge","NodeWithFeaturedImageToMediaItemConnectionEdge","RootQueryToMediaItemConnectionEdge"],"NodeWithTemplate":["MediaItem","Page","Post"],"ContentTemplate":["DefaultTemplate"],"
23NodeWithTitle":["MediaItem","Page","Post"],"NodeWithAuthor":["MediaItem","Page","Post"],"NodeWithComments":["MediaItem","Page","Post"],"HierarchicalContentNode":["MediaItem","Page"],"MediaItemConnectionPageInfo":["UserToMediaItemConnectionPageInfo","RootQueryToMediaItemConnectionPageInfo"],"PageConnection":["UserToPageConnection","PageToRevisionConnection","TagToPageConnection","RootQueryToPageConnection"],"PageConnectionEdge":["PageToPreviewConnectionEdge","PageToRevisionConnectionEdge","TagToPageConnectionEdge","UserToPageConnectionEdge","RootQueryToPageConnectionEdge"],"Previewable":["Page","Post"],"NodeWithContentEditor":["Page","Post"],"NodeWithFeaturedImage":["Page","Post"],"NodeWithRevisions":["Page","Post"],"NodeWithPageAttributes":["Page"],"PageConnectionPageInfo":["PageToRevisionConnectionPageInfo","TagToPageConnectionPageInfo","UserToPageConnectionPageInfo","RootQueryToPageConnectionPageInfo"],"TagConnection":["PageToTagConnection","PostToTagConnection","RootQueryToTagConnection"],"TagConnectionEdge":["PostToTagConnectionEdge","PageToTagConnectionEdge","RootQueryToTagConnectionEdge"],"PostConnection":["TagToPostConnection","PostToPostConnection","PostFormatToPostConnection","PostToRevisionConnection","UserToPostConnection","CategoryToPostConnection","RootQueryToPostConnection"],"PostConnectionEdge":["PostToPostConnectionEdge","PostToParentConnectionEdge","PostFormatToPostConnectionEdge","PostToPreviewConnectionEdge","PostToRevisionConnectionEdge","TagToPostConnectionEdge","UserToPostConnectionEdge","CategoryToPostConnectionEdge","RootQueryToPostConnectionEdge"],"NodeWithExcerpt":["Post"],"NodeWithTrackbacks":["Post"],"PostConnectionPageInfo":["PostToPostConnectionPageInfo","PostFormatToPostConnectionPageInfo","PostToRevisionConnectionPageInfo","TagToPostConnectionPageInfo","UserToPostConnectionPageInfo","CategoryToPostConnectionPageInfo","RootQueryToPostConnectionPageInfo"],"PostFormatConnection":["PostToPostFormatConnection","RootQueryToPostFormatConnection"],"PostFormatConnectionEdge":["PostToPostFormatConnectionEdge","RootQueryToPostFormatConnectionEdge"],"PostFormatConnectionPageInfo":["PostToPostFormatConnectionPageInfo","RootQueryToPostFormatConnectionPageInfo"],"TagConnectionPageInfo":["PostToTagConnectionPageInfo","PageToTagConnectionPageInfo","RootQueryToTagConnectionPageInfo"],"UserRoleConnection":["UserToUserRoleConnection","RootQueryToUserRoleConnection"],"UserRoleConnectionEdge":["UserToUserRoleConnectionEdge","RootQueryToUserRoleConnectionEdge"],"UserRoleConnectionPageInfo":["UserToUserRoleConnectionPageInfo","RootQueryToUserRoleConnectionPageInfo"],"MenuItemConnection":["MenuToMenuItemConnection","MenuItemToMenuItemConnection","RootQueryToMenuItemConnection"],"MenuItemConnectionEdge":["MenuItemToMenuItemConnectionEdge","MenuToMenuItemConnectionEdge","RootQueryToMenuItemConnectionEdge"],"MenuItemConnectionPageInfo":["MenuItemToMenuItemConnectionPageInfo","MenuToMenuItemConnectionPageInfo","RootQueryToMenuItemConnectionPageInfo"],"MenuItemLinkableConnectionEdge":["MenuItemToMenuItemLinkableConnectionEdge"],"MenuItemObjectUnion":["Post","Page","Category","Tag","PostFormat"],"MenuConnectionEdge":["MenuItemToMenuConnectionEdge","RootQueryToMenuConnectionEdge"],"MenuConnection":["RootQueryToMenuConnection"],"MenuConnectionPageInfo":["RootQueryToMenuConnectionPageInfo"],"PluginConnection":["RootQueryToPluginConnection"],"PluginConnectionEdge":["RootQueryToPluginConnectionEdge"],"PluginConnectionPageInfo":["RootQueryToPluginConnectionPageInfo"],"ThemeConnection":["RootQueryToThemeConnection"],"ThemeConnectionEdge":["RootQueryToThemeConnectionEdge"],"ThemeConnectionPageInfo":["RootQueryToThemeConnectionPageInfo"],"UserConnection":["RootQueryToUserConnection"],"UserConnectionPageInfo":["RootQueryToUserConnectionPageInfo"]}');(0,o.v6)({templates:k,plugins:[],experimentalToolbar:!0,possibleTypes:P});var N=n(1163);function S(e){let{Component:t,pageProps:n}=e,a=(0,N.useRouter)();return(0,r.jsx)(o.Ou,{pageProps:n,children:(0,i.createElement)(t,{...n,key:a.asPath})})}n(7277),n(5650),n(484),n(9008)},7277:function(){},5650:function(){},484:function(){},9526:function(e){e.exports={content:"post-body_content__GrSuH"}},7663:function(e){var t="/";!function(){var n={229:function(e){var t,n,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function u(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l=[],c=!1,f=-1;function d(){c&&r&&(c=!1,r.length?l=r.concat(l):f=-1,l.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=l.length;t;){for(r=l,l=[];++f<t;)r&&r[f].run();f=-1,t=l.length}r=null,c=!1,u(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={exports:{}},a=!0;try{n[e](o,o.exports,i),a=!1}finally{a&&delete r[e]}return o.exports}i.ab=t+"/";var o=i(229);e.exports=o}()},9008:function(e,t,n){e.exports=n(3867)},1664:function(e,t,n){e.exports=n(8342)},9332:function(e,t,n){e.exports=n(6432)},1163:function(e,t,n){e.exports=n(3079)},4298:function(e,t,n){e.exports=n(3381)},3914:function(e,t,n){"use strict";
23e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(7294))},4153:function(e){let t=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,r={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function i(e,i={}){if(i=Object.assign({},r,i),!e||"string"!=typeof e)return e;let s=e.trim();if(void 0!==i.skipLike&&i.skipLike.test(s))return e;if("0"===e)return 0;if(i.hex&&t.test(s))return a(s,16);if(-1!==s.search(/[eE]/)){let t=s.match(/^([-\+])?(0*)([0-9]*(\.[0-9]*)?[eE][-\+]?[0-9]+)$/);if(!t)return e;if(i.leadingZeros)s=(t[1]||"")+t[3];else if("0"!==t[2]||"."!==t[3][0])return e;return i.eNotation?Number(s):e}{let t=n.exec(s);if(!t)return e;{let n=t[1],r=t[2],a=o(t[3]);if(!i.leadingZeros&&r.length>0&&n&&"."!==s[2])return e;{if(!i.leadingZeros&&r.length>0&&!n&&"."!==s[1])return e;if(i.leadingZeros&&r===e)return 0;let t=Number(s),o=""+t;return -1!==o.search(/[eE]/)?i.eNotation?t:e:-1!==s.indexOf(".")?"0"===o&&""===a?t:o===a?t:n&&o==="-"+a?t:e:r?a===o||n+a===o?t:e:s===o||s===n+o?t:e}}}}function o(e){return e&&-1!==e.indexOf(".")&&("."===(e=e.replace(/0+$/,""))?e="0":"."===e[0]?e="0"+e:"."===e[e.length-1]&&(e=e.substr(0,e.length-1))),e}function a(e,t){if(parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}e.exports=i},8555:function(e){"use strict";e.exports={stdout:!1,stderr:!1}},6257:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var r=n(3494);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}});var i=n(4248);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var o=n(2239);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return o.YouTubeEmbed}})},3494:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let o=i(n(9426)),a=n(7058),s=e=>{var t=r(e,[]);return(0,a.formatData)(o.default,t)};t.GoogleAnalytics=s},4248:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let o=i(n(7395)),a=n(7058),s=e=>{var t=r(e,[]);return(0,a.formatData)(o.default,t)};t.GoogleMapsEmbed=s},2239:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let o=i(n(8420)),a=n(7058),s=e=>{var t=r(e,[]);return(0,a.formatData)(o.default,t)};t.YouTubeEmbed=s},7058:function(e,t){"use strict";function n(e,t,n=!1){return t?Object.keys(e).filter(e=>n?!t.includes(e):t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}):{}}function r(e,t,n,r){let i=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],e):new URL(e);
23return t&&n&&t.forEach(e=>{n[e]&&i.searchParams.set(e,n[e])}),i.toString()}function i(e,t,n,i,o){var a;if(!t)return`<${e}></${e}>`;let s=(null===(a=t.src)||void 0===a?void 0:a.url)?Object.assign(Object.assign({},t),{src:r(t.src.url,t.src.params,i,o)}):t,u=Object.keys(Object.assign(Object.assign({},s),n)).reduce((e,t)=>{let r=null==n?void 0:n[t],i=s[t],o=null!=r?r:i,a=!0===o?t:`${t}="${o}"`;return o?e+` ${a}`:e},"");return`<${e}${u}></${e}>`}function o(e,t){var o,a,s,u,l;let c=n(t,null===(o=e.scripts)||void 0===o?void 0:o.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),f=n(t,null===(s=null===(a=e.html)||void 0===a?void 0:a.attributes.src)||void 0===s?void 0:s.params),d=n(t,[null===(l=null===(u=e.html)||void 0===u?void 0:u.attributes.src)||void 0===l?void 0:l.slugParam]),h=n(t,[...Object.keys(c),...Object.keys(f),...Object.keys(d)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,h,f,d):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:r(e.url,e.params,c)})):null})}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=r,t.createHtml=i,t.formatData=o},3967:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0!==(n=(function(){return i}).apply(t,[]))&&(e.exports=n)}()},2599:function(e,t,n){"use strict";n.d(t,{u:function(){return _},D:function(){return w}});var r=n(7582),i=n(8287),o=n(20),a=n(1644),s=n(6765),u=n(3712),l=n(9487);function c(e){return e.catch(function(){}),e}var f=n(8263),d=n(8216),h=n(6403),p=n(990),g=n(9613),m=n(6275),v=n(2747),y=Object.assign,b=Object.hasOwnProperty,_=function(e){function t(n){var i=n.queryManager,o=n.queryInfo,a=n.options,u=this,l=t.inactiveOnCreation.getValue();(u=e.call(this,function(e){u._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=T)}catch(e){}var n=!u.observers.size;u.observers.add(e);var r=u.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(u.maskResult(r.result)),n&&u.reobserve().catch(function(){}),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}})||this).observers=new Set,u.subscriptions=new Set,u.dirty=!1,u._getOrCreateQuery=function(){return l&&(i.queries.set(u.queryId,o),l=!1),u.queryManager.getOrCreateQuery(u.queryId)},u.queryInfo=o,u.queryManager=i,u.waitForOwnResult=E(a.fetchPolicy),u.isTornDown=!1,u.subscribeToMore=u.subscribeToMore.bind(u),u.maskResult=u.maskResult.bind(u);var c=i.defaultOptions.watchQuery,f=(void 0===c?{}:c).fetchPolicy,d=void 0===f?"cache-first":f,h=a.fetchPolicy,p=void 0===h?d:h,g=a.initialFetchPolicy,m=void 0===g?"standby"===p?d:p:g;u.options=(0,r.pi)((0,r.pi)({},a),{initialFetchPolicy:m,fetchPolicy:p}),u.queryId=o.queryId||i.generateQueryId();var v=(0,s.$H)(u.query);return u.queryName=v&&v.name&&v.name.value,u}return(0,r.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,v.Jp)("observableQuery.result",function(){!1!==globalThis.__DEV__&&i.kG.warn(23)}),new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:n},i=e.subscribe(r)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var n=(0,v.P6)("getLastResult",function(){return t.getLastResult(!0)}),i=this.queryInfo.networkStatus||n&&n.networkStatus||a.Ie.ready,s=(0,r.pi)((0,r.pi)({},n),{loading:(0,a.Oj)(i),networkStatus:i}
23),u=this.options.fetchPolicy,l=void 0===u?"cache-first":u;if(E(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(s.data=c.result),(0,o.D)(s.data,{})&&(s.data=void 0),c.complete?(delete s.partial,c.complete&&s.networkStatus===a.Ie.loading&&("cache-first"===l||"cache-only"===l)&&(s.networkStatus=a.Ie.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.Ie.ready&&(s.error||s.errors)&&(s.networkStatus=a.Ie.error),!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||s.loading||s.data||s.error||w(c.missing)}return e&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,i=r?n.nonReactiveQuery:this.query;return(r||n.hasNonreactiveDirective?!(0,g.W)(i,this.last.result,e,this.variables):!(0,o.D)(this.last.result,e))||t&&!(0,o.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,o.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,v.Jp)("getLastResult",function(){!1!==globalThis.__DEV__&&i.kG.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,v.Jp)("getLastError",function(){!1!==globalThis.__DEV__&&i.kG.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,v.Jp)("resetLastResults",function(){!1!==globalThis.__DEV__&&i.kG.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.kG.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0};if("no-cache"===this.options.fetchPolicy?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&b.call(e,"variables")){var u=(0,s.iW)(this.query),l=u.variableDefinitions;l&&l.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.kG.warn(28,e,(null===(t=u.name)||void 0===t?void 0:t.value)||u)}return e&&!(0,o.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.pi)((0,r.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,a.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.pi)((0,r.pi)({},e.query?e:(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},this.options),{query:this.options.query}),e),{variables:(0,r.pi)((0,r.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var s=this.queryInfo,u=s.networkStatus;
23s.networkStatus=a.Ie.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var l=new Set,c=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,i.kG)(c,29),this.queryManager.fetchQuery(o,n,a.Ie.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.Ie.fetchMore&&(s.networkStatus=u),f)t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:n.variables})}):r.writeQuery({query:n.query,variables:n.variables,data:i.data})},onWatchUpdated:function(e){l.add(e.query)}});else{var d=t.getLast("result"),h=c(d.data,{fetchMoreResult:i.data,variables:n.variables});t.reportResult((0,r.pi)((0,r.pi)({},d),{networkStatus:u,loading:(0,a.Oj)(u),data:h}),t.variables)}return t.maskResult(i)}).finally(function(){f&&!l.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,r.pi)({subscriptionData:n},t))})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&i.kG.error(30,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,v.MH)(e,"canonizeResults","setOptions"),(0,v.Jp)("setOptions",function(){!1!==globalThis.__DEV__&&i.kG.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});y(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,o.D)(this.variables,e)?this.observers.size?(0,v.P6)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),r=n.result,i=n.complete,o=e(r,{variables:this.variables,complete:!!i,previousData:r});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){var r=this._getOrCreateQuery();return r.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(r,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,n=t.pollingInfo,r=t.options.pollInterval;if(!r||!this.hasObservers()){n&&(clearTimeout(n.timeout),delete this.pollingInfo);return}if(!n||n.interval!==r){(0,i.kG)(r,32),(n||(this.pollingInfo={})).interval=r;var o=function(){var t,n;e.pollingInfo&&((0,a.Oj)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?s():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.Ie.poll).then(s,s))},s=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(o,t.interval))};s()}}},t.prototype.updateLastResult=function(e,t){var n=this;void 0===t&&(t=this.variables);var i=(0,v.P6)("getLastError",function(){return n.getLastError()});return i&&this.last&&!(0,o.D)(t,this.last.variables)&&(i=void 0),this.last=(0,r.pi)({result:this.queryManager.assumeImmutableResults?e:(0,l.X)(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;
23var i=t===a.Ie.refetch||t===a.Ie.fetchMore||t===a.Ie.poll,s=this.options.variables,l=this.options.fetchPolicy,c=(0,u.o)(this.options,e||{}),f=i?c:y(this.options,c),d=this.transformDocument(f.query);this.lastQuery=d,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.D)(e.variables,s)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===l||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=E(f.fetchPolicy));var h=function(){n.concast===v&&(n.waitForOwnResult=!1)},g=f.variables&&(0,r.pi)({},f.variables),m=this.fetch(f,t,d),v=m.concast,b=m.fromLink,_={next:function(e){(0,o.D)(n.variables,g)&&(h(),n.reportResult(e,g))},error:function(e){(0,o.D)(n.variables,g)&&((0,p.MS)(e)||(e=new p.cA({networkError:e})),h(),n.reportError(e,g))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=_),v.addObserver(_),v},t.prototype.reobserve=function(e,t){return c(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.last;(0,v.P6)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=r,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this,r=(0,v.P6)("getLastError",function(){return n.getLastError()}),i=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||i)&&(0,f.p)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=this,i=(0,r.pi)((0,r.pi)({},(0,v.P6)("getLastResult",function(){return n.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.Ie.error,loading:!1});this.updateLastResult(i,t),(0,f.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.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)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,r.pi)((0,r.pi)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,a.Oj)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,r){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,r):t}}):this.reobserve()},t.inactiveOnCreation=new m.g7,t}(d.y);function T(e){!1!==globalThis.__DEV__&&i.kG.error(33,e.message,e.stack)}function w(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(34,e)}function E(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,h.D)(_)},9613:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var r=n(7582),i=n(20),o=n(6765),a=n(3361),s=n(9065),u=n(1761);function l(e,t,n,s){var u=t.data,l=(0,r._T)(t,["data"]),f=n.data,d=(0,r._T)(n,["data"]);return(0,i.Z)(l,d)&&c((0,o.p$)(e).selectionSet,u,f,{fragmentMap:(0,a.F)((0,o.kU)(e)),variables:s})}function c(e,t,n,r){if(t===n)return!0;var o=new Set;
23return e.selections.every(function(e){if(o.has(e)||(o.add(e),!(0,s.LZ)(e,r.variables)||f(e)))return!0;if((0,u.My)(e)){var l=(0,u.u2)(e),d=t&&t[l],h=n&&n[l],p=e.selectionSet;if(!p)return(0,i.Z)(d,h);var g=Array.isArray(d),m=Array.isArray(h);if(g!==m)return!1;if(g&&m){var v=d.length;if(h.length!==v)return!1;for(var y=0;y<v;++y)if(!c(p,d[y],h[y],r))return!1;return!0}return c(p,d,h,r)}var b=(0,a.hi)(e,r.fragmentMap);if(b)return!!f(b)||c(b.selectionSet,t,n,r)})}function f(e){return!!e.directives&&e.directives.some(d)}function d(e){return"nonreactive"===e.name.value}},1644:function(e,t,n){"use strict";var r;function i(e){return!!e&&e<7}n.d(t,{Ie:function(){return r},Oj:function(){return i}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},990:function(e,t,n){"use strict";n.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return l},ls:function(){return a}});var r=n(7582);n(8287);var i=n(3154),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,r.ev)((0,r.ev)((0,r.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},l=function(e){function t(n){var i=n.graphQLErrors,o=n.protocolErrors,a=n.clientErrors,s=n.networkError,l=n.errorMessage,c=n.extraInfo,f=e.call(this,l)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=l||u(f),f.extraInfo=c,f.cause=(0,r.ev)((0,r.ev)((0,r.ev)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,r.ZT)(t,e),t}(Error)},5317:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var r,i=n(3914),o=n(320),a=n(8287),s=o.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.kG)("createContext"in(r||(r=n.t(i,2))),69);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},1794:function(e,t,n){"use strict";n.d(t,{aM:function(){return R}});var r,i,o=n(7582),a=n(8287),s=n(3914),u=n.t(s,2),l=n(320),c=!1,f=u.useSyncExternalStore||function(e,t,n){var r=t();!1===globalThis.__DEV__||c||r===t()||(c=!0,!1!==globalThis.__DEV__&&a.kG.error(92));var i=s.useState({inst:{value:r,getSnapshot:t}}),o=i[0].inst,u=i[1];return l.JC?s.useLayoutEffect(function(){Object.assign(o,{value:r,getSnapshot:t}),d(o)&&u({inst:o})},[e,r,t]):Object.assign(o,{value:r,getSnapshot:t}),s.useEffect(function(){return d(o)&&u({inst:o}),e(function(){d(o)&&u({inst:o})})},[e]),r};function d(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(e){return!0}}var h=n(20),p=n(4012),g=n(5317),m=n(990),v=n(2599),y=n(1644),b=n(8991),_=n(6331),T=n(8244),w=n(2747);function E(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function x(e){(0,w.Jp)("parser",function(){!1!==globalThis.__DEV__&&a.kG.warn(94)}),i||(i=new b.s(_.Q.parser||1e3));var t,n,o,s=i.get(e);if(s)return s;(0,a.kG)(!!e&&!!e.kind,95,e);for(var u=[],l=[],c=[],f=[],d=0,h=e.definitions;d<h.length;d++){var p=h[d];if("FragmentDefinition"===p.kind){u.push(p);continue}if("OperationDefinition"===p.kind)switch(p.operation){case"query":l.push(p);break;case"mutation":c.push(p);break;case"subscription":f.push(p)}}(0,a.kG)(!u.length||l.length||c.length||f.length,96),(0,a.kG)(l.length+c.length+f.length<=1,97,e,l.length,f.length,c.length),n=l.length?r.Query:r.Mutation,l.length||c.length||(n=r.Subscription);var g=l.length?l:c.length?c:f;(0,a.kG)(1===g.length,98,e,g.length);var m=g[0];t=m.variableDefinitions||[];var v={name:o=m.name&&"Name"===m.name.kind?m.name.value:"data",type:n,variables:t};return i.set(e,v),v}function C(e,t){var n=(0,w.P6)("parser",x,[e]),r=E(t),i=E(n.type);(0,a.kG)(n.type===t,99,r,r,i)}function O(e){var t=s.useContext((0,g.K)()),n=e||t.client;return(0,a.kG)(!!n,79),n}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={})),x.resetCache=function(){i=void 0},!1!==globalThis.__DEV__&&(0,T.zP)("parser",function(){return i?i.size:0});var k=n(3712),P=n(1436),N=n(8702),S=Symbol.for("apollo.hook.wrappers");function I(e,t,n){var r=n.queryManager,i=r&&r[S],o=i&&i[e];return o?o(t):t}function M(e,t,n,r){void 0===r&&(r="Please remove this option.");var i=s.useRef(!1);t in e&&!i.current&&(!1!==globalThis.__DEV__&&a.kG.warn(78,n,t,r),i.current=!0)}var j=Object.prototype.hasOwnProperty;function A(){}var D=Symbol();function R(e,t){return void 0===t&&(t=Object.create(null)),I("useQuery",F,O(t&&t.client))(e,t)}function F(e,t){!1!==globalThis.__DEV__&&(M(t,"canonizeResults","useQuery"),M(t,"partialRefetch","useQuery"),M(t,"defaultOptions","useQuery","Pass the options directly to the hook instead."),M(t,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),M(t,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var n=U(e,t),r=n.result,i=n.obsQueryFields;return s.useMemo(function(){return(0,o.pi)((0,o.pi)({},r),i)},[r,i])}function L(e,t,n,i,a){function u(o){var s;return C(t,r.Query),{client:e,query:t,observable:i&&i.getSSRObservable(a())||v.u.inactiveOnCreation.withValue(!i,function(){return(0,w.P6)("canonizeResults",function(){return e.watchQuery(V(void 0,e,n,a()))})}),resultData:{previousData:null===(s=null==o?void 0:o.resultData.current)||void 0===s?void 0:s.data}}}var l=s.useState(u),c=l[0],f=l[1];function d(e){Object.assign(c.observable,((t={})[D]=e,t));var t,n,r=c.resultData;f((0,o.pi)((0,o.pi)({},c),{query:e.query,resultData:Object.assign(r,{previousData:(null===(n=r.current)||void 0===n?void 0:n.data)||r.previousData,current:void 0})}))}if(e!==c.client||t!==c.query){var h=u(c);return f(h),[h,d]}return[c,d]}function U(e,t){var n=O(t.client),r=s.useContext((0,g.K)()).renderPromises,i=!!r,o=n.disableNetworkFetches,a=!1!==t.ssr&&!t.skip,u=t.partialRefetch,l=z(n,e,t,i),c=L(n,e,t,r,l),f=c[0],d=f.observable,h=f.resultData,p=c[1],m=l(d);B(h,d,n,t,m);var v=s.useMemo(function(){return ee(d)},[d]);return Q(d,r,a),{result:q(h,d,n,t,m,o,u,i,{onCompleted:t.onCompleted||A,onError:t.onError||A}),obsQueryFields:v,observable:d,resultData:h,client:n,onQueryExecuted:p}}function q(e,t,n,r,i,o,a,u,l){var c=s.useRef(l);s.useEffect(function(){c.current=l});
23var d=(u||o)&&!1===r.ssr&&!r.skip?J:r.skip||"standby"===i.fetchPolicy?X:void 0,p=e.previousData,g=s.useMemo(function(){return d&&Z(d,p,t,n)},[n,t,d,p]);return f(s.useCallback(function(r){if(u)return function(){};var i=function(){var i=e.current,o=t.getCurrentResult();i&&i.loading===o.loading&&i.networkStatus===o.networkStatus&&(0,h.D)(i.data,o.data)||G(o,e,t,n,a,r,c.current)},o=function(u){if(s.current.unsubscribe(),s.current=t.resubscribeAfterError(i,o),!j.call(u,"graphQLErrors"))throw u;var l=e.current;(!l||l&&l.loading||!(0,h.D)(u,l.error))&&G({data:l&&l.data,error:u,loading:!1,networkStatus:y.Ie.error},e,t,n,a,r,c.current)},s={current:t.subscribe(i,o)};return function(){setTimeout(function(){return s.current.unsubscribe()})}},[o,u,t,e,a,n]),function(){return g||Y(e,t,c.current,a,n)},function(){return g||Y(e,t,c.current,a,n)})}function Q(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}function B(e,t,n,r,i){var o;t[D]&&!(0,h.D)(t[D],i)&&(t.reobserve(V(t,n,r,i)),e.previousData=(null===(o=e.current)||void 0===o?void 0:o.data)||e.previousData,e.current=void 0),t[D]=i}function z(e,t,n,r){void 0===n&&(n={});var i=n.skip,a=(n.ssr,n.onCompleted,n.onError,n.defaultOptions),s=(0,o._T)(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var o=Object.assign(s,{query:t});return r&&("network-only"===o.fetchPolicy||"cache-and-network"===o.fetchPolicy)&&(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),i?(o.initialFetchPolicy=o.initialFetchPolicy||o.fetchPolicy||W(a,e.defaultOptions),o.fetchPolicy="standby"):o.fetchPolicy||(o.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||W(a,e.defaultOptions)),o}}function V(e,t,n,r){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),n.defaultOptions&&i.push(n.defaultOptions),i.push((0,k.o)(e&&e.options,r)),i.reduce(p.J)}function G(e,t,n,r,i,o,a){var s=t.current;s&&s.data&&(t.previousData=s.data),!e.error&&(0,P.O)(e.errors)&&(e.error=new m.cA({graphQLErrors:e.errors})),t.current=Z(K(e,n,i),t.previousData,n,r),o(),$(e,null==s?void 0:s.networkStatus,a)}function $(e,t,n){if(!e.loading){var r=H(e);Promise.resolve().then(function(){r?n.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===y.Ie.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&a.kG.warn(e)})}}function Y(e,t,n,r,i){return e.current||G(t.getCurrentResult(),e,t,i,r,function(){},n),e.current}function W(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function H(e){return(0,P.O)(e.errors)?new m.cA({graphQLErrors:e.errors}):e.error}function Z(e,t,n,r){var i=e.data,a=(e.partial,(0,o._T)(e,["data","partial"]));return(0,o.pi)((0,o.pi)({data:i},a),{client:r,observable:n,variables:n.variables,called:e!==J&&e!==X,previousData:t})}function K(e,t,n){return e.partial&&n&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy?(t.refetch(),(0,o.pi)((0,o.pi)({},e),{loading:!0,networkStatus:y.Ie.refetch})):e}var J=(0,N.J)({loading:!0,data:void 0,error:void 0,networkStatus:y.Ie.loading}),X=(0,N.J)({loading:!1,data:void 0,error:void 0,networkStatus:y.Ie.ready});function ee(e){return{refetch:e.refetch.bind(e),reobserve:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&a.kG.warn(84),e.reobserve.apply(e,t)},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)}}},8991:function(e,t,n){"use strict";n.d(t,{L:function(){return u},s:function(){return s}});var r=n(9869),i=n(2379),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var n=new r.k(e,t);return n.set=function(e,t){var n=r.k.prototype.set.call(this,e,t);return a(this),n},n},u=function(e,t){var n=new i.e(e,t);return n.set=function(e,t){var n=i.e.prototype.set.call(this,e,t);return a(this),n},n}},8244:function(e,t,n){"use strict";n.d(t,{Kb:function(){return l},q4:function(){return u},su:function(){return s},zP:function(){return a}});var r=n(7582),i=n(6331),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?f:void 0,u=!1!==globalThis.__DEV__?h:void 0,l=!1!==globalThis.__DEV__?d:void 0;function c(){return Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,i.Q[t]||n]}))}function f(){var e,t,n,i,a;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:c(),sizes:(0,r.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(n=o.canonicalStringify)||void 0===n?void 0:n.call(o),links:b(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:v(this.queryManager.documentTransform)}},null===(a=(i=this.cache).getMemoryInternals)||void 0===a?void 0:a.call(i))}}function d(){return{cache:{fragmentQueryDocuments:g(this.getFragmentDoc)}}}function h(){var e=this.config.fragments;return(0,r.pi)((0,r.pi)({},d.apply(this)),{addTypenameDocumentTransform:v(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:g(this.storeReader.executeSelectionSet),executeSubSelectedArray:g(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:g(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:g(null==e?void 0:e.findFragmentSpreads),lookup:g(null==e?void 0:e.lookup),transform:g(null==e?void 0:e.transform)}})}function p(e){return!!e&&"dirtyKey"in e}function g(e){return p(e)?e.size:void 0}function m(e){return null!=e}function v(e){return y(e).map(function(e){return{cache:e}})}function y(e){return e?(0,r.ev)((0,r.ev)([g(null==e?void 0:e.performWork)],y(null==e?void 0:e.left),
23!0),y(null==e?void 0:e.right),!0).filter(m):[]}function b(e){var t;return e?(0,r.ev)((0,r.ev)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],b(null==e?void 0:e.left),!0),b(null==e?void 0:e.right),!0).filter(m):[]}},6331:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(7582),i=n(8287),o=Symbol.for("apollo.cacheSize"),a=(0,r.pi)({},i.CO[o])},1436:function(e,t,n){"use strict";n.d(t,{O:function(){return i},k:function(){return r}});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},320:function(e,t,n){"use strict";n.d(t,{DN:function(){return u},JC:function(){return f},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var r=n(8287),i="ReactNative"==(0,r.wY)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,l="function"==typeof(0,r.wY)(function(){return window.document.createElement}),c=(0,r.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(l||i)&&!c},5466:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});var r,i=n(8991),o=n(6331),a=n(8244),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){r=new i.L(o.Q.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var i=Object.keys(t);if(i.every(l))return t;var o=JSON.stringify(i),a=r.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=r.get(s)||i,r.set(o,a),r.set(s,a)}var u=Object.create(n);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function l(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return r.size}),s.reset()},9487:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(r.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach(function(e,r){n[r]=o(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach(function(n){i[n]=o(e[n],t)}),i;default:return e}}},3712:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}n.d(t,{o:function(){return r}})},897:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},8702:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(3154);function i(e){var t=new Set([e]);return t.forEach(function(e){(0,r.s)(e)&&o(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.s)(e[n])&&t.add(e[n])})}),e}function o(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}function a(e){return!1!==globalThis.__DEV__&&i(e),e}},4012:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(7582),i=n(3712);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,r.pi)((0,r.pi)({},e&&e.variables),t.variables))})}},3154:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{s:function(){return r}})},3887:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(897);function i(e,t){void 0===t&&(t=0);var n=(0,r.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},2747:function(e,t,n){"use strict";n.d(t,{Jp:function(){return d},MH:function(){return f},P6:function(){return c}});var r=n(7582),i=n(6275),o=n(8287),a=Symbol.for("apollo.deprecations"),s=o.CO,u=new i.g7;function l(e){return s[a]||(u.getValue()||[]).includes(e)}function c(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return u.withValue.apply(u,(0,r.ev)([Array.isArray(e)?e:[e]],t,!1))}function f(e,t,n,r){void 0===r&&(r="Please remove this option."),d(t,function(){t in e&&!1!==globalThis.__DEV__&&o.kG.warn(104,n,t,r)})}function d(e,t){l(e)||t()}},8287:function(e,t,n){"use strict";n.d(t,{CO:function(){return p},kG:function(){return v},wY:function(){return h},_K:function(){return y}});
23var r=n(7582),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"==typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var l=["debug","log","warn","error","silent"],c=l.indexOf("log");function f(e){return function(){if(l.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var d=n(9379);function h(e){try{return e()}catch(e){}}var p=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return global})||h(function(){return h.constructor("return this")()}),g=n(3887);function m(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var i=t;(t=T(i))||(t=w(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var v=Object.assign(function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||u(e,T(t,n)||w(t,n))},{debug:m(u.debug),log:m(u.log),warn:m(u.warn),error:m(u.error)});function y(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new s(T(e,t)||w(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+d.i);function _(e){if("string"==typeof e)return e;try{return(0,g.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function T(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(_))}function w(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.i,message:e,args:t.map(_)})))}},9065:function(e,t,n){"use strict";n.d(t,{FS:function(){return s},GT:function(){return f},LZ:function(){return a},mj:function(){return u}});var r=n(8287),i=n(7304),o=n(7359);function a(e,t){var n=e.directives;return!n||!n.length||c(n).every(function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.kG)(void 0!==o,106,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o})}function s(e,t,n){var r=new Set(e),o=r.size;return(0,i.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.$_}}),n?!r.size:r.size<o}function u(e){return e&&s(["client","export"],e,!0)}function l(e){var t=e.name.value;return"skip"===t||"include"===t}function c(e){var t=[];return e&&e.length&&e.forEach(function(e){if(l(e)){var n=e.arguments,i=e.name.value;(0,r.kG)(n&&1===n.length,107,i);var o=n[0];(0,r.kG)(o.name&&"if"===o.name.value,108,i);var a=o.value;(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),109,i),t.push({directive:e,ifArgument:o})}}),t}function f(e){var t,n,i=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null===(n=i.arguments)||void 0===n?void 0:n.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.h.VARIABLE?!1!==globalThis.__DEV__&&r.kG.warn(110):a.value.kind!==o.h.STRING?!1!==globalThis.__DEV__&&r.kG.warn(111):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&r.kG.warn(112,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},3361:function(e,t,n){"use strict";n.d(t,{F:function(){return s},YU:function(){return l},Yk:function(){return a},hi:function(){return u}});var r=n(7582),i=n(8287),o=n(7304);function a(e,t){var n=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(113,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===n&&((0,i.kG)(1===o.length,114,o.length),n=o[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.kG)(r,115,n),r||null;default:return null}}function l(e){var t=!0;return(0,o.Vn)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.$_}}),t}},6765:function(e,t,n){"use strict";n.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return d},iW:function(){return l},kU:function(){return u},p$:function(){return f},pD:function(){return c},rY:function(){return s}});var r=n(8287),i=n(1761);function o(e){(0,r.kG)(e&&"Document"===e.kind,116);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r._K)(117,e.kind);return e});return(0,r.kG)(t.length<=1,118,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=a(e);return(0,r.kG)(t&&"query"===t.operation,119),t}function c(e){(0,r.kG)("Document"===e.kind,120),(0,r.kG)(e.definitions.length<=1,121);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,122),t}function f(e){o(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r._K)(123)}function d(e){var t=Object.create(null),n=e&&e.variableDefinitions;
23return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},1761:function(e,t,n){"use strict";n.d(t,{Ao:function(){return P},JW:function(){return l},My:function(){return k},NC:function(){return x},PT:function(){return E},Yk:function(){return u},kQ:function(){return s},qw:function(){return O},u2:function(){return C},vb:function(){return b},vf:function(){return _}});var r=n(8287),i=n(3154),o=n(3361),a=n(5466);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e){return"StringValue"===e.kind}function f(e){return"BooleanValue"===e.kind}function d(e){return"IntValue"===e.kind}function h(e){return"FloatValue"===e.kind}function p(e){return"Variable"===e.kind}function g(e){return"ObjectValue"===e.kind}function m(e){return"ListValue"===e.kind}function v(e){return"EnumValue"===e.kind}function y(e){return"NullValue"===e.kind}function b(e,t,n,i){if(d(n)||h(n))e[t.value]=Number(n.value);else if(f(n)||c(n))e[t.value]=n.value;else if(g(n)){var o={};n.fields.map(function(e){return b(o,e.name,e.value,i)}),e[t.value]=o}else if(p(n)){var a=(i||{})[n.name.value];e[t.value]=a}else if(m(n))e[t.value]=n.values.map(function(e){var n={};return b(n,t,e,i),n[t.value]});else if(v(n))e[t.value]=n.value;else if(y(n))e[t.value]=null;else throw(0,r._K)(124,t.value,n.kind)}function _(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return b(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return b(r,n,i,t)})),E(e.name.value,r,n)}var T=["connection","include","skip","client","rest","export","nonreactive"],w=a.B,E=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(w(i),")")}var o=e;if(t){var a=w(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===T.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(w(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=w;return w=e,t}});function x(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return b(n,e.name,e.value,t)}),n}return null}function C(e){return e.alias?e.alias.value:e.name.value}function O(e,t,n){for(var r,i=0,a=t.selections;i<a.length;i++){var s=a[i];if(k(s)){if("__typename"===s.name.value)return e[C(s)]}else r?r.push(s):r=[s]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var u=0,l=r;u<l.length;u++){var s=l[u],c=O(e,(0,o.hi)(s,n).selectionSet,n);if("string"==typeof c)return c}}function k(e){return"Field"===e.kind}function P(e){return"InlineFragment"===e.kind}},8263:function(e,t,n){"use strict";function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}n.d(t,{p:function(){return r}})},6403:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(8216),i=n(320);function o(e){function t(t){Object.defineProperty(e,t,{value:r.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},9379:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="3.14.0"},8256:function(e,t,n){"use strict";let r,i,o,a,s;n.d(t,{Ou:function(){return i_},a4:function(){return ik},v6:function(){return rA},aC:function(){return r5}});var u,l=n(7294),c=n(7582),f=n(8287),d=n(3914),h=n(5317),p=function(e){var t=e.client,n=e.children,r=(0,h.K)(),i=d.useContext(r),o=d.useMemo(function(){return(0,c.pi)((0,c.pi)({},i),{client:t||i.client})},[i,t]);return(0,f.kG)(o.client,71),d.createElement(r.Provider,{value:o},n)},g=n(1163),m=n(8216);function v(e,t){var n=(0,c.pi)({},e),r=function(){return(0,c.pi)({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,c.pi)((0,c.pi)({},n),e(n)):(0,c.pi)((0,c.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:r}),t}var y=n(6765);function b(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,y.rY)(t.query)||void 0:""),t}function _(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(0>t.indexOf(i))throw(0,f._K)(58,i)}return e}var T=n(2747);function w(e,t){return t?t(e):m.y.of()}function E(e){return"function"==typeof e?new C(e):e}function x(e){return e.request.length<=1}var C=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return m.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(E).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var i,o=E(n),a=E(r||new e(w));return Object.assign(i=new e(x(o)&&x(a)?function(e){return t(e)?o.request(e)||m.y.of(
23):a.request(e)||m.y.of()}:function(e,n){return t(e)?o.request(e,n)||m.y.of():a.request(e,n)||m.y.of()}),{left:o,right:a})},e.execute=function(e,t){return e.request(v(t.context,b(_(t))))||m.y.of()},e.concat=function(t,n){var r,i=E(t);if(x(i))return!1!==globalThis.__DEV__&&f.kG.warn(47,i),i;var o=E(n);return Object.assign(r=new e(x(o)?function(e){return i.request(e,function(e){return o.request(e)||m.y.of()})||m.y.of()}:function(e,t){return i.request(e,function(e){return o.request(e,t)||m.y.of()})||m.y.of()}),{left:i,right:o})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(w)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,f._K)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,T.Jp)("onError",function(){!1!==globalThis.__DEV__&&f.kG.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&f.kG.warn(50),this.onError=e,this},e}(),O=n(9065),k=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var r=(0,f._K)(54,t,e.message);throw r.parseError=e,r}return n},P=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")},N=n(320);function S(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}function I(e){var t=null,n=null,r=!1,i=[],o=[];function a(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){r=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}function l(){return new Promise(function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])})}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return l()}};return N.DN&&(c[Symbol.asyncIterator]=function(){return this}),c}function M(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return N.DN&&(n[Symbol.asyncIterator]=function(){return this}),n}function j(e){var t={next:function(){return e.read()}};return N.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function A(e){return!!e.body}function D(e){return!!e.getReader}function R(e){return!!(N.DN&&e[Symbol.asyncIterator])}function F(e){return!!e.stream}function L(e){return!!e.arrayBuffer}function U(e){return!!e.pipe}function q(e){var t=e;if(A(e)&&(t=e.body),R(t))return S(t);if(D(t))return j(t.getReader());if(F(t))return j(t.stream().getReader());if(L(t))return M(t.arrayBuffer());if(U(t))return I(t);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Q=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},B=n(990),z=n(3154),V=n(1436),G=Object.prototype.hasOwnProperty;function $(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Y(e)}function Y(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new H,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var W=function(e,t,n){return this.merge(e[n],t[n])},H=function(){function e(e){void 0===e&&(e=W),this.reconciler=e,this.isObject=z.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return(0,z.s)(t)&&(0,z.s)(e)?(Object.keys(t).forEach(function(i){if(G.call(e,i)){var o=e[i];if(t[i]!==o){var a=n.reconciler.apply(n,(0,c.ev)([e,t,i],r,!1));a!==o&&((e=n.shallowCopyForMerge(e))[i]=a)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,z.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 Z(e){return"incremental"in e}function K(e){return"hasNext"in e&&"data"in e}function J(e){return Z(e)||K(e)}function X(e){return(0,z.s)(e)&&"payload"in e}function ee(e,t){var n=e,r=new H;return Z(t)&&(0,V.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}
23n=r.merge(n,t)}),n}var et=Object.prototype.hasOwnProperty;function en(e,t){return(0,c.mG)(this,void 0,void 0,function(){var n,r,i,o,a,s,u,l,f,d,h,p,g,m,v,y,b,_,T,w,E,x,C;return(0,c.Jh)(this,function(O){switch(O.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(C=e.headers)||void 0===C?void 0:C.get("content-type"),i="boundary=",o=(null==r?void 0:r.includes(i))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",u=q(e),l=!0,O.label=1;case 1:if(!l)return[3,3];return[4,u.next()];case 2:for(d=(f=O.sent()).value,h=f.done,p="string"==typeof d?d:n.decode(d),g=s.length-a.length+1,l=!h,s+=p,m=s.indexOf(a,g);m>-1;){if(v=void 0,v=(E=[s.slice(0,m),s.slice(m+a.length)])[0],s=E[1],y=v.indexOf("\r\n\r\n"),(b=er(v.slice(0,y))["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(_=v.slice(y)){if(Object.keys(T=ei(e,_)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T){if(X(T)){if(w={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];w=(0,c.pi)({},T.payload)}"errors"in T&&(w=(0,c.pi)((0,c.pi)({},w),{extensions:(0,c.pi)((0,c.pi)({},"extensions"in w?w.extensions:null),((x={})[B.YG]=T.errors,x))})),t(w)}else t(T)}else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}m=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function er(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}function ei(e,t){e.status>=300&&Q(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function eo(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function ea(e){return function(t){return t.text().then(function(e){return ei(t,e)}).then(function(n){return Array.isArray(n)||et.call(n,"data")||et.call(n,"errors")||Q(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n})}}var es=function(e){if(!e&&"undefined"==typeof fetch)throw(0,f._K)(51)},eu=n(7392);function el(e){return`"${e.replace(ec,ef)}"`}let ec=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function ef(e){return ed[e.charCodeAt(0)]}let ed=["\\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 eh=n(7304);function ep(e){return(0,eh.Vn)(e,em)}let eg=80,em={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ev(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=eb("(",ev(e.variableDefinitions,", "),")"),n=ev([e.operation,ev([e.name,t]),ev(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+eb(" = ",n)+eb(" ",ev(r," "))},SelectionSet:{leave:({selections:e})=>ey(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=eb("",e,": ")+t,a=o+eb("(",ev(n,", "),")");return a.length>eg&&(a=o+eb("(\n",e_(ev(n,"\n")),"\n)")),ev([a,ev(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+eb(" ",ev(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>ev(["...",eb("on ",e),ev(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${eb("(",ev(n,", "),")")} on ${t} ${eb("",ev(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
23,StringValue:{leave:({value:e,block:t})=>t?(0,eu.LZ)(e):el(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ev(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ev(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+eb("(",ev(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>eb("",e,"\n")+ev(["schema",ev(t," "),ey(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>eb("",e,"\n")+ev(["scalar",t,ev(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>eb("",e,"\n")+ev(["type",t,eb("implements ",ev(n," & ")),ev(r," "),ey(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>eb("",e,"\n")+t+(eT(n)?eb("(\n",e_(ev(n,"\n")),"\n)"):eb("(",ev(n,", "),")"))+": "+r+eb(" ",ev(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>eb("",e,"\n")+ev([t+": "+n,eb("= ",r),ev(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>eb("",e,"\n")+ev(["interface",t,eb("implements ",ev(n," & ")),ev(r," "),ey(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>eb("",e,"\n")+ev(["union",t,ev(n," "),eb("= ",ev(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>eb("",e,"\n")+ev(["enum",t,ev(n," "),ey(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>eb("",e,"\n")+ev([t,ev(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>eb("",e,"\n")+ev(["input",t,ev(n," "),ey(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>eb("",e,"\n")+"directive @"+t+(eT(n)?eb("(\n",e_(ev(n,"\n")),"\n)"):eb("(",ev(n,", "),")"))+(r?" repeatable":"")+" on "+ev(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ev(["extend schema",ev(e," "),ey(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ev(["extend scalar",e,ev(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ev(["extend type",e,eb("implements ",ev(t," & ")),ev(n," "),ey(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ev(["extend interface",e,eb("implements ",ev(t," & ")),ev(n," "),ey(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>ev(["extend union",e,ev(t," "),eb("= ",ev(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>ev(["extend enum",e,ev(t," "),ey(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>ev(["extend input",e,ev(t," "),ey(n)]," ")}};function ev(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function ey(e){return eb("{\n",e_(ev(e,"\n")),"\n}")}function eb(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function e_(e){return eb("  ",e.replace(/\n/g,"\n  "))}function eT(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var ew=n(8991),eE=n(6331),ex=n(8244),eC=Object.assign(function(e){var t=u.get(e);return t||(t=ep(e),u.set(e,t)),t},{reset:function(){u=new ew.s(eE.Q.print||2e3)}});eC.reset(),!1!==globalThis.__DEV__&&(0,ex.zP)("print",function(){return u?u.size:0});var eO={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},ek=function(e,t){return t(e)};function eP(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},o={};n.forEach(function(e){i=(0,c.pi)((0,c.pi)((0,c.pi)({},i),e.options),{headers:(0,c.pi)((0,c.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,c.pi)((0,c.pi)({},o),e.http)}),i.headers&&(i.headers=eN(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,l=e.query,f={operationName:a,variables:u};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=t(l,eC)),{options:i,body:f}}function eN(e,t){if(!t){var n={};
23return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r={};Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}function eS(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=k(t.variables,"Variables map")}catch(e){return{parseError:e}}r("variables",i)}if(t.extensions){var o=void 0;try{o=k(t.extensions,"Extensions map")}catch(e){return{parseError:e}}r("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+n.join("&")+a}}function eI(e){return new m.y(function(t){t.error(e)})}function eM(e,t){var n=(0,c.pi)({},e),r=new Set(Object.keys(e));return(0,eh.Vn)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&r.delete(e.name.value)}}),r.forEach(function(e){delete n[e]}),n}var ej=n(7359),eA=n(1761),eD=n(3361),eR={kind:ej.h.FIELD,name:{kind:ej.h.NAME,value:"__typename"}};function eF(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===ej.h.FRAGMENT_SPREAD&&eF(t[e.name.value],t)})}function eL(e){return eF((0,y.$H)(e)||(0,y.pD)(e),(0,eD.F)((0,y.kU)(e)))?null:e}function eU(e){var t=new Map,n=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach(function(t,n){n(e)&&(r=t)}),r}}function eq(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function eQ(e,t){(0,y.A$)(t);for(var n=eq(""),r=eq(""),i=function(e){for(var t=0,i=void 0;t<e.length&&(i=e[t]);
23++t)if(!(0,V.k)(i)){if(i.kind===ej.h.OPERATION_DEFINITION)return n(i.name&&i.name.value);if(i.kind===ej.h.FRAGMENT_DEFINITION)return r(i.name.value)}return!1!==globalThis.__DEV__&&f.kG.error(125),null},o=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===ej.h.OPERATION_DEFINITION&&++o;var s=eU(e),u=function(e){return(0,V.O)(e)&&e.map(s).some(function(e){return e&&e.remove})},l=new Map,d=!1,h={enter:function(e){if(u(e.directives))return d=!0,null}},p=(0,eh.Vn)(t,{Field:h,InlineFragment:h,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,o){var a=i(o);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,o){if(u(e.directives))return d=!0,null;var a=i(o);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){l.set(JSON.stringify(r),e)},leave:function(e,t,n,i){return e===l.get(JSON.stringify(i))?e:o>0&&e.selectionSet.selections.every(function(e){return e.kind===ej.h.FIELD&&"__typename"===e.name.value})?(r(e.name.value).removed=!0,d=!0,null):void 0}},Directive:{leave:function(e){if(s(e))return d=!0,null}}});if(!d)return t;var g=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){g(r(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},m=new Set;
23p.definitions.forEach(function(e){e.kind===ej.h.OPERATION_DEFINITION?g(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){m.add(e)}):e.kind!==ej.h.FRAGMENT_DEFINITION||0!==o||r(e.name.value).removed||m.add(e.name.value)}),m.forEach(function(e){g(r(e)).fragmentSpreads.forEach(function(e){m.add(e)})});var v=function(e){return!!(!m.has(e)||r(e).removed)},b={enter:function(e){if(v(e.name.value))return null}};return eL((0,eh.Vn)(p,{FragmentSpread:b,FragmentDefinition:b,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,c.pi)((0,c.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var eB=Object.assign(function(e){return(0,eh.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==ej.h.OPERATION_DEFINITION){var r=e.selections;if(!(!r||r.some(function(e){return(0,eA.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!((0,eA.My)(i)&&i.directives&&i.directives.some(function(e){return"export"===e.name.value})))return(0,c.pi)((0,c.pi)({},e),{selections:(0,c.ev)((0,c.ev)([],r,!0),[eR],!1)})}}}}})},{added:function(e){return e===eR}});function ez(e){return"query"===(0,y.p$)(e).operation?e:(0,eh.Vn)(e,{OperationDefinition:{enter:function(e){return(0,c.pi)((0,c.pi)({},e),{operation:"query"})}}})}function eV(e){return(0,y.A$)(e),eQ([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function eG(e){return(0,y.A$)(e),(0,eh.Vn)(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return(0,c.pi)((0,c.pi)({},e),{directives:(0,c.ev)((0,c.ev)([],e.directives||[],!0),[{kind:ej.h.DIRECTIVE,name:{kind:ej.h.NAME,value:"nonreactive"}}
23],!1)})}})}var e$=(0,f.wY)(function(){return fetch}),eY=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.print,o=void 0===i?ek:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,l=e.includeUnusedVariables,d=void 0!==l&&l,h=(0,c._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&es(r||e$);var p={http:{includeExtensions:a,preserveHeaderCase:s},options:h.fetchOptions,credentials:h.credentials,headers:h.headers};return new C(function(e){var t,i=P(e,n),a=e.getContext(),s={};if(a.clientAwareness){var l=a.clientAwareness,h=l.name,g=l.version;h&&(s["apollographql-client-name"]=h),g&&(s["apollographql-client-version"]=g)}var v=(0,c.pi)((0,c.pi)({},s),a.headers),b={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:v};if((0,O.FS)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&f.kG.warn(52);var _=eV(e.query);if(!_)return eI(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=_}var T=eP(e,o,eO,p,b),w=T.options,E=T.body;E.variables&&!d&&(E.variables=eM(E.variables,e.query)),w.signal||"undefined"==typeof AbortController||(t=new AbortController,w.signal=t.signal);var x=function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation},C=function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}((0,y.p$)(e.query)),N=(0,O.FS)(["defer"],e.query);if(u&&!e.query.definitions.some(x)&&(w.method="GET"),N||C){w.headers=w.headers||{};var S="multipart/mixed;";C&&N&&!1!==globalThis.__DEV__&&f.kG.warn(53),C?S+="boundary=graphql;subscriptionSpec=1.0,application/json":N&&(S+="deferSpec=20220824,application/json"),w.headers.accept=S}if("GET"===w.method){var I=eS(i,E),M=I.newURI,j=I.parseError;if(j)return eI(j);i=M}else try{w.body=k(E,"Payload")}catch(e){return eI(e)}return new m.y(function(n){var o=r||(0,f.wY)(function(){return fetch})||e$,a=n.next.bind(n);return o(i,w).then(function(t){e.setContext({response:t});var n,r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?en(t,a):ea(e)(t).then(a)}).then(function(){t=void 0,n.complete()}).catch(function(e){t=void 0,eo(e,n)}),function(){t&&t.abort()}})})}
23,eW=n(6275),eH=n(20),eZ=n(9869),eK=n(9613),eJ=N.mr?WeakMap:Map,eX=N.sy?WeakSet:Set,e0=new eW.g7,e1=!1;function e2(){e1||(e1=!0,!1!==globalThis.__DEV__&&f.kG.warn(64))}var e5=n(8702);function e3(e,t,n){return e0.withValue(!0,function(){var r=e6(e,t,n,!1);return Object.isFrozen(e)&&(0,e5.J)(r),r})}function e4(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}function e6(e,t,n,r,i){var o,a=n.knownChanged,s=e4(e,n.mutableTargets);if(Array.isArray(e)){for(var u=0,l=Array.from(e.entries());u<l.length;u++){var c=l[u],d=c[0],h=c[1];if(null===h){s[d]=null;continue}var p=e6(h,t,n,r,!1!==globalThis.__DEV__?"".concat(i||"","[").concat(d,"]"):void 0);a.has(p)&&a.add(s),s[d]=p}return a.has(s)?s:e}for(var g=0,m=t.selections;g<m.length;g++){var v=m[g],y=void 0;if(r&&a.add(s),v.kind===ej.h.FIELD){var b=(0,eA.u2)(v),_=v.selectionSet;if(void 0===(y=s[b]||e[b]))continue;if(_&&null!==y){var p=e6(e[b],_,n,r,!1!==globalThis.__DEV__?"".concat(i||"",".").concat(b):void 0);a.has(p)&&(y=p)}!1!==globalThis.__DEV__||(s[b]=y),!1!==globalThis.__DEV__&&(!r||"__typename"===b||(null===(o=Object.getOwnPropertyDescriptor(s,b))||void 0===o?void 0:o.value)?(delete s[b],s[b]=y):Object.defineProperty(s,b,e8(b,y,i||"",n.operationName,n.operationType)))}if(v.kind===ej.h.INLINE_FRAGMENT&&(!v.typeCondition||n.cache.fragmentMatches(v,e.__typename))&&(y=e6(e,v.selectionSet,n,r,i)),v.kind===ej.h.FRAGMENT_SPREAD){var T=v.name.value,w=n.fragmentMap[T]||(n.fragmentMap[T]=n.cache.lookupFragment(T));(0,f.kG)(w,59,T);var E=(0,O.GT)(v);"mask"!==E&&(y=e6(e,w.selectionSet,n,"migrate"===E,i))}a.has(y)&&a.add(s)}return"__typename"in e&&!("__typename"in s)&&(s.__typename=e.__typename),Object.keys(s).length!==Object.keys(e).length&&a.add(s),a.has(s)?s:e}function e8(e,t,n,r,i){var o=function(){return e0.getValue()||(!1!==globalThis.__DEV__&&f.kG.warn(60,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}function e7(e,t,n,r){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&e2(),e;var i=t.definitions.filter(function(e){return e.kind===ej.h.FRAGMENT_DEFINITION});void 0===r&&((0,f.kG)(1===i.length,61,i.length),r=i[0].name.value);var o=i.find(function(e){return e.name.value===r});return((0,f.kG)(!!o,62,r),null==e||(0,eH.Z)(e,{}))?e:e3(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:(0,eD.F)((0,y.kU)(t)),cache:n,mutableTargets:new eJ,knownChanged:new eX})}var e9=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,eW.re)(eD.Yk,{max:eE.Q["cache.fragmentQueryDocuments"]||1e3,cache:eZ.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},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,t){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.readQuery"),(0,T.P6)("canonizeResults",function(){return n.read((0,c.pi)((0,c.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,n=this,r=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=void 0===a||a,u=(0,c._T)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(r,i),d=void 0===o||"string"==typeof o?o:this.identify(o),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=i||(0,y.pD)(r).name.value;d||!1===globalThis.__DEV__||f.kG.warn(1,p)}var g=(0,c.pi)((0,c.pi)({},u),{returnPartialData:!0,id:d,query:l,optimistic:s});return new m.y(function(o){return n.watch((0,c.pi)((0,c.pi)({},g),{immediate:!0,callback:function(a){var s=h?e7(a.result,r,n,i):a.result;if(!(t&&(0,eK.W)(l,{data:t.result},{data:s},e.variables))){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=Y(a.missing.map(function(e){return e.missing}))),t=(0,c.pi)((0,c.pi)({},a),{result:s}),o.next(u)}}}))})},e.prototype.readFragment=function(e,t){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.readFragment"),(0,T.P6)("canonizeResults",function(){return n.read((0,c.pi)((0,c.pi)({},e),{query:n.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,c._T)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,o=(0,c._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(n){var r=(0,T.P6)("canonizeResults",function(){return n.readQuery(e)}),i=t(r);return null==i?r:(n.writeQuery((0,c.pi)((0,c.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(n){var r=(0,T.P6)("canonizeResults",function(){return n.readFragment(e)}),i=t(r);return null==i?r:(n.writeFragment((0,c.pi)((0,c.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(e9.prototype.getMemoryInternals=ex.Kb);var te=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,c.ZT)(t,e),t}(Error),tt=n(5028);function tn(e){return e}var tr=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=N.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(tn,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new tt.B(N.mr);this.performWork=(0,eW.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,f.kG)(Array.isArray(r),105),n.lookupArray(r)},max:eE.Q["documentTransform.cache"],cache:eZ.k})}},e.prototype.performWork=function(e){return(0,y.A$)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}(),ti=n(5466),to=n(3712),ta=Object.prototype.hasOwnProperty;function ts(e){return null==e}function tu(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=ts(r)?ts(i)?void 0:{_id:i}:{id:r}),ts(r)&&!ts(i)&&(r=i),!ts(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var tl={dataIdFromObject:tu,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tc(e){return(0,to.o)(tl,e)}function tf(e){var t=e.canonizeResults;return void 0===t?tl.canonizeResults:t}function td(e,t){return(0,eA.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var th=/^[_a-z][_0-9a-z]*/i;function tp(e){var t=e.match(th);return t?t[0]:e}function tg(e,t,n){return!!(0,z.s)(t)&&((0,V.k)(t)?t.every(function(t){return tg(e,t,n)}):e.selections.every(function(e){if((0,eA.My)(e)&&(0,O.LZ)(e,n)){var r=(0,eA.u2)(e);return ta.call(t,r)&&(!e.selectionSet||tg(e.selectionSet,t[r],n))}return!0}))}function tm(e){return(0,z.s)(e)&&!(0,eA.Yk)(e)&&!(0,V.k)(e)}function tv(){return new H}function ty(e,t){var n=(0,eD.F)((0,y.kU)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var tb=Object.create(null),t_=function(){return tb},tT=Object.create(null),tw=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,e5.J)((0,eA.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,eA.Yk)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,eA.kQ)(e);if((0,eA.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,eA.kQ)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,c.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)}
23,e.prototype.get=function(e,t){if(this.group.depend(e,t),ta.call(this.data,e)){var n=this.data[e];if(n&&ta.call(n,t))return n[t]}return"__typename"===t&&ta.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof tO?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),ta.call(this.data,e))?this.data[e]:this instanceof tO?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,eA.Yk)(e)&&(e=e.__ref),(0,eA.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){(0,f.kG)("string"==typeof n,2);var a=new H(tP).merge(i,o);if(this.data[n]=a,a!==i&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=tp(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof tO||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,a=!0,s={DELETE:tb,INVALIDATE:tT,isReference:eA.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,eA.kQ)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(u){var l=tp(u),d=r[u];if(void 0!==d){var h="function"==typeof t?t:t[u]||t[l];if(h){var p=h===t_?tb:h((0,e5.J)(d),(0,c.pi)((0,c.pi)({},s),{fieldName:l,storeFieldName:u,storage:n.getStorage(e,u)}));if(p===tT)n.group.dirty(e,u);
23else if(p===tb&&(p=void 0),p!==d&&(i[u]=p,o=!0,d=p,!1!==globalThis.__DEV__)){var g=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&f.kG.warn(3,e),!0};if((0,eA.Yk)(p))g(p);else if(Array.isArray(p))for(var m=!1,v=void 0,y=0,b=p;y<b.length;y++){var _=b[y];if((0,eA.Yk)(_)){if(m=!0,g(_))break}else"object"==typeof _&&_&&n.policies.identify(_)[0]&&(v=_);if(m&&void 0!==v){!1!==globalThis.__DEV__&&f.kG.warn(4,v);break}}}}void 0!==d&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof tO?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=t_,r):t_)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(ta.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof tO&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){ta.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&ta.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,c._T)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.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 t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof tO?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){ta.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof tO;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!ta.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){(0,eA.Yk)(e)&&(t[e.__ref]=!0),(0,z.s)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,z.s)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),tE=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,eW.dP)():null,this.keyMaker=new tt.B(N.mr)}
23,e.prototype.depend=function(e,t){if(this.d){this.d(tx(e,t));var n=tp(t);n!==t&&this.d(tx(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(tx(e,t),"__exists"===t?"forget":"setDirty")},e}();function tx(e,t){return t+"#"+e}function tC(e,t){tN(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,a=e.call(this,n,new tE(i))||this;return a.stump=new tk(a),a.storageTrie=new tt.B(N.mr),o&&a.replace(o),a}return(0,c.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(tw||(tw={}));var tO=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,c.ZT)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){(0,eH.D)(r[n],i[n])||t.group.dirty(e,n)}
23):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,c.pi)((0,c.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return ta.call(this.data,t)?(0,c.pi)((0,c.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(tw),tk=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new tE(t.group.caching,t.group))||this}return(0,c.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(tO);function tP(e,t,n){var r=e[n],i=t[n];return(0,eH.D)(r,i)?r:i}function tN(e){return!!(e instanceof tw&&e.group.caching)}function tS(e){return(0,z.s)(e)?(0,V.k)(e)?e.slice(0):(0,c.pi)({__proto__:Object.getPrototypeOf(e)},e):e}var tI=function(){function e(){this.known=new(N.sy?WeakSet:Set),this.pool=new tt.B(N.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,z.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,z.s)(e)){var t=tS(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,z.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(n){a.push(t.admit(e[n]))});var i=this.pool.lookupArray(a);if(!i.object){var l=i.object=Object.create(o);this.known.add(l),s.sorted.forEach(function(e,t){l[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function tM(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var tj=function(){function e(e){var t=this;this.knownResults=new(N.mr?WeakMap:Map),this.config=(0,to.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:tf(e)}),this.canon=e.canon||new tI,this.executeSelectionSet=(0,eW.re)(function(e){var n,r=e.context.canonizeResults,i=tM(e);i[3]=!r;var o=(n=t.executeSelectionSet).peek.apply(n,i);return o?r?(0,c.pi)((0,c.pi)({},o),{result:t.canon.admit(o.result)}):o:(tC(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||eE.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:tM,makeCacheKey:function(e,t,n,r){if(tN(n.store))return n.store.makeCacheKey(e,(0,eA.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,eW.re)(function(e){return tC(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||eE.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(tN(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new tI},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=void 0===s||s,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,d=this.config.cache.policies;a=(0,c.pi)((0,c.pi)({},(0,y.O4)((0,y.iW)(r))),a);var h=(0,eA.kQ)(o),p=this.executeSelectionSet({selectionSet:(0,y.p$)(r).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,c.pi)({store:n,query:r,policies:d,variables:a,varString:(0,ti.B)(a),canonizeResults:f},ty(r,this.config.fragments))});if(p.missing&&(t=[new te(tA(p.missing),p.missing,r,a)],!u))throw t[0];return{result:p.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if(tN(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,eA.Yk)(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,l=a.store.getFieldValue(i,"__typename"),c=[],d=new H;function h(e,n){var r;return e.missing&&(t=d.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof l&&!u.rootIdsByTypename[l]&&c.push({__typename:l});var p=new Set(r.selections);p.forEach(function(e){var r,g;if((0,O.LZ)(e,s)){if((0,eA.My)(e)){var m=u.readField({fieldName:e.n
23ame.value,field:e,variables:a.variables,from:i},a),v=(0,eA.u2)(e);void 0===m?eB.added(e)||(t=d.merge(t,((r={})[v]="Can't find field '".concat(e.name.value,"' on ").concat((0,eA.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),r))):(0,V.k)(m)?m.length>0&&(m=h(n.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:a}),v)):e.selectionSet?null!=m&&(m=h(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,eA.Yk)(m)?m:o,context:a}),v)):a.canonizeResults&&(m=n.canon.pass(m)),void 0!==m&&c.push(((g={})[v]=m,g))}else{var y=(0,eD.hi)(e,a.lookupFragment);if(!y&&e.kind===ej.h.FRAGMENT_SPREAD)throw(0,f._K)(10,e.name.value);y&&u.fragmentMatches(y,l)&&y.selectionSet.selections.forEach(p.add,p)}}});var g={result:Y(c),missing:t},m=a.canonizeResults?this.canon.admit(g):(0,e5.J)(g);return m.result&&this.knownResults.set(m.result,r),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new H;function u(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,V.k)(e)?u(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:a}),t):r.selectionSet?u(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,eA.Yk)(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&tD(a.store,r,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function tA(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}function tD(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,z.s)(n)&&((0,f.kG)(!(0,eA.Yk)(n),11,td(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}var tR=n(9487),tF=n(3887),tL=new eW.g7,tU=new WeakMap;function tq(e){var t=tU.get(e);return t||tU.set(e,t={vars:new Set,dep:(0,eW.dP)()}),t}function tQ(e){tq(e).vars.forEach(function(t){return t.forgetCache(e)})}function tB(e){tq(e).vars.forEach(function(t){return t.attachCache(e)})}function tz(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){tq(e).dep.dirty(r),tV(e)});var a=Array.from(n);n.clear(),a.forEach(function(t){return t(e)})}}else{var s=tL.getValue();s&&(i(s),tq(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),tq(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function tV(e){e.broadcastWatches&&e.broadcastWatches()}var tG=Object.create(null);function t$(e){var t=JSON.stringify(e);return tG[t]||(tG[t]=Object.create(null))}function tY(e){var t=t$(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=tH(e,function(e){var i=tJ(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&ta.call(t,e[0])&&(i=tJ(t,e,tK)),(0,f.kG)(void 0!==i,5,e.join("."),t),i});return"".concat(n.typename,":").concat(JSON.stringify(i))})}function tW(e){var t=t$(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=JSON.stringify(tH(e,function(e){var n=e[0],o=n.charAt(0);if("@"===o){if(r&&(0,V.O)(r.directives)){var a=n.slice(1),s=r.directives.find(function(e){return e.name.value===a}),u=s&&(0,eA.NC)(s,i);return u&&tJ(u,e.slice(1))}return}if("$"===o){var l=n.slice(1);if(i&&ta.call(i,l)){var c=e.slice(0);return c[0]=l,tJ(i,c)}return}if(t)return tJ(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function tH(e,t){var n=new H;return tZ(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function tZ(e){var t=t$(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(t,i){(0,V.k)(t)?(tZ(t).forEach(function(e){return n.push(r.concat(e))}),r.length=0):(r.push(t),(0,V.k)(e[i+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function tK(e,t){return e[t]}function tJ(e,t,n){return n=n||tK,tX(t.reduce(function e(t,r){return(0,V.k)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function tX(e){return(0,z.s)(e)?(0,V.k)(e)?e.map(tX):tH(Object.keys(e).sort(),function(t){return tJ(e,t)}):e}
23function t0(e){return void 0!==e.args?e.args:e.field?(0,eA.NC)(e.field,e.variables):null}var t1=function(){},t2=function(e,t){return t.fieldName},t5=function(e,t,n){return(0,n.mergeObjects)(e,t)},t3=function(e,t){return t},t4=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:tu},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,t){var n,r,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=t&&t.storeObject||e,s=(0,c.pi)((0,c.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=t8(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;return e0.withValue(!0,function(){for(;l;){var t=l((0,c.pi)((0,c.pi)({},e),a),s);if((0,V.k)(t))l=tY(t);else{r=t;break}}}),r=r?String(r):void 0,s.keyObject?[r,s.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],i=r.queryType,o=r.mutationType,a=r.subscriptionType,s=(0,c._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),ta.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t,n){var r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?t5:!1===t?t3:e.merge}a(r,t.merge),r.keyFn=!1===i?t1:(0,V.k)(i)?tY(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach(function(t){var r=n[t];r&&(null==r?void 0:r.typename)===e||(r=n[t]={typename:e});var i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;r.keyFn=!1===s?t2:(0,V.k)(s)?tW(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||t2)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,f.kG)(!r||r===e,6,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(th);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!ta.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,i){if(n.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),i=r.fields;Object.assign(n,(0,c._T)(r,["fields"])),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(n){t.updateTypePolicy(e,n,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},l=!!(n&&this.fuzzySubtypes.size),c=!1,d=0;d<s.length;++d){var h=s[d];
23if(h.has(o))return a.has(o)||(c&&!1!==globalThis.__DEV__&&f.kG.warn(7,t,o),a.add(o)),!0;h.forEach(u),l&&d===s.length-1&&tg(e.selectionSet,n,r)&&(l=!1,c=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&u(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r),o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=t0(e);o;){var u=o(s,a);if((0,V.k)(u))o=tW(u);else{t=u||r;break}}return(void 0===t&&(t=e.field?(0,eA.vf)(e.field,e.variables):(0,eA.PT)(r,t0(e))),!1===t)?r:r===tp(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=tp(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o),u=s&&s.read;if(u){var l=t6(this,n,e,t,t.store.getStorage((0,eA.Yk)(n)?n.__ref:n,i));return tL.withValue(this.cache,u,[a,l])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===t5?t7(r.store)(e,t):s===t3?t:(r.overwrite&&(e=void 0),s(e,t,t6(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function t6(e,t,n,r,i){var o=e.getStoreFieldName(n),a=tp(o),s=n.variables||r.variables,u=r.store,l=u.toReference,c=u.canRead;return{args:t0(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:eA.Yk,toReference:l,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(t8(arguments,t,s),r)},mergeObjects:t7(r.store)}}function t8(e,t,n){var r,i=e[0],o=e[1],a=e.length;return"string"==typeof i?r={fieldName:i,from:a>1?o:t}
23:(r=(0,c.pi)({},i),ta.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&f.kG.warn(8,(0,tF.v)(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function t7(e){return function(t,n){if((0,V.k)(t)||(0,V.k)(n))throw(0,f._K)(9);if((0,z.s)(t)&&(0,z.s)(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if((0,eA.Yk)(t)&&tm(n))return e.merge(t.__ref,n),t;if(tm(t)&&(0,eA.Yk)(n))return e.merge(t,n.__ref),n;if(tm(t)&&tm(n))return(0,c.pi)((0,c.pi)({},t),n)}return n}}function t9(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,c.pi)((0,c.pi)({},e),{clientOnly:t,deferred:n})),i}var ne=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,u=(0,y.$H)(r),l=tv();a=(0,c.pi)((0,c.pi)({},(0,y.O4)(u)),a);var d=(0,c.pi)((0,c.pi)({store:e,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:(0,ti.B)(a)},ty(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),h=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,eA.Yk)(h))throw(0,f._K)(12,i);return d.incomingById.forEach(function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=(0,eA.kQ)(r);if(o&&o.map.size){var u=n.applyMerges(o,s,i,d);if((0,eA.Yk)(u))return;i=u}if(!1!==globalThis.__DEV__&&!d.overwrite){var l=Object.create(null);a.forEach(function(e){e.selectionSet&&(l[e.name.value]=!0)});var c=function(e){return!0===l[tp(e)]},f=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};
23Object.keys(i).forEach(function(e){c(e)&&!f(e)&&ns(s,i,e,d.store)})}e.merge(r,i)}),e.retain(h.__ref),h},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,u=Object.create(null),l=n&&s.rootTypenamesById[n]||(0,eA.qw)(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof l&&(u.__typename=l);var d=function(){var e=t8(arguments,u,o.variables);if((0,eA.Yk)(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,c.pi)((0,c.pi)({},e),{from:t.storeObject}),o);if(void 0!==n)return n}}return s.readField(e,o)},h=new Set;this.flattenFields(i,r,o,l).forEach(function(e,n){var i,o=r[(0,eA.u2)(n)];if(h.add(n),void 0!==o){var c=s.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),p=nn(a,c),g=t.processFieldValue(o,n,n.selectionSet?t9(e,!1,!1):e,p),m=void 0;n.selectionSet&&((0,eA.Yk)(g)||tm(g))&&(m=d("__typename",g));var v=s.getMergeFunction(l,n.name.value,m);v?p.info={field:n,typename:l,merge:v}:no(a,c),u=e.merge(u,((i={})[c]=g,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eB.added(n)||s.getReadFunction(l,n.name.value)||!1===globalThis.__DEV__||f.kG.error(13,(0,eA.u2)(n),r)});try{var p=s.identify(r,{typename:l,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:u,readField:d}),g=p[0],m=p[1];n=n||g,m&&(u=o.merge(u,m))}catch(e){if(!n)throw e}if("string"==typeof n){var v=(0,eA.kQ)(n),y=o.written[n]||(o.written[n]=[]);if(y.indexOf(i)>=0||(y.push(i),this.reader&&this.reader.isFresh(r,v,i,o)))return v;var b=o.incomingById.get(n);return b?(b.storeObject=o.merge(b.storeObject,u),b.mergeTree=nr(b.mergeTree,a),h.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(n,{storeObject:u,mergeTree:ni(a)?void 0:a,fieldNodeSet:h}),v}return u},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,V.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,n,nn(r,o));return no(r,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,tR.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,eA.qw)(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,a=new tt.B(!1);return function e(s,u){var l=a.lookup(s,u.clientOnly,u.deferred);l.visited||(l.visited=!0,s.selections.forEach(function(a){if((0,O.LZ)(a,n.variables)){var s=u.clientOnly,l=u.deferred;if(!(s&&l)&&(0,V.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=(0,eA.NC)(e,n.variables);r&&!1===r.if||(l=!0)}}),(0,eA.My)(a)){var c=i.get(a);c&&(s=s&&c.clientOnly,l=l&&c.deferred),i.set(a,t9(n,s,l))}else{var d=(0,eD.hi)(a,n.lookupFragment);if(!d&&a.kind===ej.h.FRAGMENT_SPREAD)throw(0,f._K)(14,a.name.value);d&&o.fragmentMatches(d,r,t,n.variables)&&e(d.selectionSet,t9(n,s,l))}}}))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var o=this;if(e.map.size&&!(0,eA.Yk)(n)){var a,s,u=!(0,V.k)(n)&&((0,eA.Yk)(t)||tm(t))?t:void 0,l=n;u&&!i&&(i=[(0,eA.Yk)(u)?u.__ref:u]);var d=function(e,t){return(0,V.k)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=d(u,t),a=d(l,t);if(void 0!==a){i&&i.push(t);var c=o.applyMerges(e,n,a,r,i);c!==a&&(s=s||new Map).set(t,c),i&&(0,f.kG)(i.pop()===t)}}),s&&(n=(0,V.k)(l)?l.slice(0):(0,c.pi)({},l),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(a=r.store).getStorage.apply(a,i)):n},e}(),nt=[];function nn(e,t){var n=e.map;return n.has(t)||n.set(t,nt.pop()||{map:new Map}),n.get(t)}function nr(e,t){if(e===t||!t||ni(t))return e;if(!e||ni(e))return t;var n=e.info&&t.info?(0,c.pi)((0,c.pi)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var o=new Set(t.map.keys());e.map.forEach(function(e,n){i.map.set(n,nr(e,t.map.get(n))),o.delete(n)}),o.forEach(function(n){i.map.set(n,nr(t.map.get(n),e.map.get(n)))})}return i}function ni(e){return!e||!(e.info||e.map.size)}function no(e,t){var n=e.map,r=n.get(t);r&&ni(r)&&(nt.push(r),n.delete(t))}var na=new Set;function ns(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||(0,eA.Yk)(o)||(0,eH.D)(o,a)||Object.keys(o).every(function(e){return void 0!==r.getFieldValue(a,e)}))){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),u=tp(n),l="".concat(s,".").concat(u);if(!na.has(l)){na.add(l);var d=[];
23(0,V.k)(o)||(0,V.k)(a)||[o,a].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)}),!1!==globalThis.__DEV__&&f.kG.warn(15,u,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",l,(0,c.pi)({},o),(0,c.pi)({},a))}}}}var nu=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new tr(eB),n.assumeImmutableResults=!0,n.makeVar=tz,n.txCount=0,!1!==globalThis.__DEV__&&((0,T.MH)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,T.MH)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=tc(t),n.addTypename=!!n.config.addTypename,n.policies=new t4({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,c.ZT)(t,e),t.prototype.init=function(){var e=this.data=new tw.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.addTypenameTransform.resetCache(),null==r||r.resetCaches(),this.storeWriter=new ne(this,this.storeReader=new tj({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:tf(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,eW.re)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||eE.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(tN(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,ti.B)({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.read");var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,c.pi)((0,c.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(e){if(e instanceof te)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(ta.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return!1!==globalThis.__DEV__&&(0,T.MH)(e,"canonizeResults","cache.diff"),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}))},t.prototype.watch=function(e){var t=this;return this.watches.size||tB(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&tQ(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,T.MH)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),ti.B.reset(),eC.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,eA.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&f.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(ta.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()}},t.prototype.reset=function(e){var t=this;return this.init(),ti.B.reset(),e&&e.discardWatches?(this.watches.forEac
23h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),tQ(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=n,o=i.data,a=i.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},l=new Set;return s&&!this.txCount&&this.broadcastWatches((0,c.pi)((0,c.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&l.size?(this.broadcastWatches((0,c.pi)((0,c.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach(function(e){return n.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=this,r=e.lastDiff,i=(0,T.P6)("canonizeResults",function(){return n.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,r)))&&(r&&(0,eH.D)(r.result,i.result)||e.callback(e.lastDiff=i,r))},t}(e9);!1!==globalThis.__DEV__&&(nu.prototype.getMemoryInternals=ex.q4);var nl=C.execute,nc=n(9379),nf=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,eY(t).request)||this;return n.options=t,n}return(0,c.ZT)(t,e),t}(C);function nd(e,t,n){return new m.y(function(r){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function nh(e){var t=np(e);return(0,V.O)(t)}function np(e){var t=(0,V.O)(e.errors)?e.errors.slice(0):[];return Z(e)&&(0,V.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var ng=n(897),nm=n(8263),nv=n(6403);function ny(e){return e&&"function"==typeof e.then}var nb=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,nm.p)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,nm.p)(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources,i=void 0===r?[]:r;if(null!==t){var o=i.shift();o?ny(o)?o.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=o.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,nm.p)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new m.y(t)]),ny(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,c.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
23n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(m.y);(0,nv.D)(nb);var n_=n(2599),nT=n(1644),nw=new(N.mr?WeakMap:Map);function nE(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return nw.set(e,(nw.get(e)+1)%1e15),n.apply(this,arguments)})}var nx=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var n=this.cache=e.cache;nw.has(n)||(nw.set(n,0),nE(n,"evict"),nE(n,"modify"),nE(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||nT.Ie.loading;return this.variables&&this.networkStatus!==nT.Ie.loading&&!(0,eH.D)(this.variables,e.variables)&&(t=nT.Ie.setVariables),(0,eH.D)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,eH.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=(0,T.P6)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(0,T.P6)("getLastError",function(){var e;return null===(e=n.observableQuery)||void 0===e?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,eH.D)(r&&r.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null===(e=this.observableQuery)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,c.pi)((0,c.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,eH.D)(r,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===nw.get(this.cache)&&(0,eH.D)(t,n.variables)&&(0,eH.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i,o=this,a=new H,s=(0,V.O)(e.errors)?e.errors.slice(0):[];if(null===(i=this.observableQuery)||void 0===i||i.resetNotifications(),"incremental"in e&&(0,V.O)(e.incremental)){var u=ee(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=a.merge(l.result,e.data)}this.graphQLErrors=s,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(nC(e,n.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:nw.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(n.variables),s=(0,T.P6)("canonizeResults",function(){return i.diff(a)});!o.stopped&&(0,eH.D)(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=nT.Ie.ready},e.prototype.markError=function(e){var t;return this.networkStatus=nT.Ie.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function nC(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!nh(e);return!r&&n&&e.data&&(r=!0),r}function nO(e,t,n){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&e2(),e;var r,i=(0,y.$H)(t);return((0,f.kG)(i,63),null==e)?e:e3(e,i.selectionSet,{operationType:i.operation,operationName:null===(r=i.name)||void 0===r?void 0:r.value,fragmentMap:(0,eD.F)((0,y.kU)(t)),cache:n,mutableTargets:new eJ,knownChanged:new eX})}var nk=Object.prototype.hasOwnProperty,nP=Object.create(null),nN=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ew.s(eE.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new tt.B(!1),this.noCacheWarningsByQueryId=new Set;var n=new tr(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
23this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,f._K)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,c.mG)(this,arguments,void 0,function(e){var t,n,r,i,o,a,s,u=e.mutation,l=e.variables,d=e.optimisticResponse,h=e.updateQueries,p=e.refetchQueries,g=void 0===p?[]:p,m=e.awaitRefetchQueries,v=void 0!==m&&m,y=e.update,b=e.onQueryUpdated,_=e.fetchPolicy,T=void 0===_?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":_,w=e.errorPolicy,E=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,x=e.keepRootFields,C=e.context;return(0,c.Jh)(this,function(e){switch(e.label){case 0:if((0,f.kG)(u,36),(0,f.kG)("network-only"===T||"no-cache"===T,37),t=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),n=this.getDocumentInfo(u).hasClientExports,l=this.getVariables(u,l),!n)return[3,2];return[4,this.localState.addExportedVariables(u,l,C)];case 1:l=e.sent(),e.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:u,variables:l,loading:!0,error:null}),i=d&&this.markMutationOptimistic(d,{mutationId:t,document:u,variables:l,fetchPolicy:T,errorPolicy:E,context:C,updateQueries:h,update:y,keepRootFields:x}),this.broadcastQueries(),o=this,[2,new Promise(function(e,n){return nd(o.getObservableFromLink(u,(0,c.pi)((0,c.pi)({},C),{optimisticResponse:i?d:void 0}),l,{},!1),function(e){if(nh(e)&&"none"===E)throw new B.cA({graphQLErrors:np(e)});r&&(r.loading=!1,r.error=null);var n=(0,c.pi)({},e);return"function"==typeof g&&(g=g(n)),"ignore"===E&&nh(n)&&delete n.errors,o.markMutationResult({mutationId:t,result:n,document:u,variables:l,fetchPolicy:T,errorPolicy:E,context:C,update:y,updateQueries:h,awaitRefetchQueries:v,refetchQueries:g,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:x})}).subscribe({next:function(n){o.broadcastQueries(),"hasNext"in n&&!1!==n.hasNext||e((0,c.pi)((0,c.pi)({},n),{data:o.maskOperation({document:u,data:n.data,fetchPolicy:T,id:t})}))},error:function(e){r&&(r.loading=!1,r.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),n(e instanceof B.cA?e:new B.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&nC(r,e.errorPolicy)){if(Z(r)||i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Z(r)&&(0,V.O)(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=ee(a.result,r)),void 0!==s&&(r.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&nk.call(u,s)){var l=u[s],c=n.queries.get(o),f=c.document,d=c.variables,h=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),p=h.result;if(h.complete&&p){var g=l(p,{mutationResult:r,queryName:f&&(0,y.rY)(f)||void 0,queryVariables:d});g&&i.push({result:g,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a=e.update,s=!J(r)||Z(r)&&!r.hasNext;if(a){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(r=(0,c.pi)((0,c.pi)({},r),{data:u.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}s&&a(t,r,{context:e.context,variables:e.variables})}o||e.keepRootFields||!s||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}
23).forEach(function(e){return l.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then(function(){return r})}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables,{IGNORE:nP}):e;return r!==nP&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,c.pi)((0,c.pi)({},t),{result:{data:r}}),e)}catch(e){!1!==globalThis.__DEV__&&f.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,O.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,O.FS)(["nonreactive"],e),nonReactiveQuery:eG(e),clientQuery:this.localState.clientQuery(e),serverQuery:eQ([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,y.O4)((0,y.$H)(e)),asQuery:(0,c.pi)((0,c.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,c.pi)((0,c.pi)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,c.pi)((0,c.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,c.pi)((0,c.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new nx(this),r=new n_.u({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,n_.u.inactiveOnCreation.getValue()||this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;void 0===t&&(t=this.generateQueryId()),(0,f.kG)(e.query,38),(0,f.kG)("Document"===e.query.kind,39),(0,f.kG)(!e.returnPartialData,40),(0,f.kG)(!e.pollInterval,41);var r=this.transform(e.query);return this.fetchQuery(t,(0,c.pi)((0,c.pi)({},e),{query:r})).then(function(i){return i&&(0,c.pi)((0,c.pi)({},i),{data:n.maskOperation({document:r,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return n.stopQuery(t)})},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 t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,f._K)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=nT.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)r.set(e,e),i.set(e,!1);else if((0,eA.JW)(e)){var n=eC(t.transform(e));r.set(n,(0,y.rY)(e)),i.set(n,!1)}else(0,z.s)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(t,r){var o=t.observableQuery,a=t.document;if(o){if("all"===e){n.set(r,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&i.has(s)||a&&i.has(eC(a)))&&(n.set(r,o),s&&i.set(s,!0),a&&i.set(eC(a),!0))}}),o.size&&o.forEach(function(e){var r=(0,ng.X)("legacyOneTimeQuery"),i=t.getOrCreateQuery(r).init({document:e.query,variables:e.variables}),o=new n_.u({queryManager:t,queryInfo:i,options:(0,c.pi)((0,c.pi)({},e),{fetchPolicy:"network-only"})});(0,f.kG)(o.queryId===r),i.setObservableQuery(o),n.set(r,o)}
23),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var n=r.get(t);n?!1!==globalThis.__DEV__&&f.kG.warn(43,n):!1!==globalThis.__DEV__&&f.kG.warn(44)}}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,i){var o=r.options.fetchPolicy;(0,T.P6)("resetLastResults",function(){return r.resetLastResults()}),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),(t.queries.get(i)||r.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,l=e.extensions,c=void 0===l?{}:l;n=this.transform(n),r=this.getVariables(n,r);var f=function(e){return t.getObservableFromLink(n,u,e,c).map(function(r){"no-cache"!==i&&(nC(r,a)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=nh(r),s=(0,B.ls)(r);if(o||s){var u={};if(o&&(u.graphQLErrors=r.errors),s&&(u.protocolErrors=r.extensions[B.YG]),"none"===a||s)throw new B.cA(u)}return"ignore"===a&&delete r.errors,r})};if(this.getDocumentInfo(n).hasClientExports){var d=this.localState.addExportedVariables(n,r,u).then(f);return new m.y(function(e){var t=null;return d.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(r)},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){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null===(t=e.observableQuery)||void 0===t?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),l=u.serverQuery,f=u.clientQuery;if(l){var d=this,h=d.inFlightLinkObservables,p=d.link,g={query:l,variables:n,operationName:(0,y.rY)(l)||void 0,context:this.prepareContext((0,c.pi)((0,c.pi)({},t),{forceFetch:!i})),extensions:r};if(t=g.context,i){var v=eC(l),b=(0,ti.B)(n),_=h.lookup(v,b);if(!(a=_.observable)){var T=new nb([nl(p,g)]);a=_.observable=T,T.beforeNext(function e(t,n){"next"===t&&"hasNext"in n&&n.hasNext?T.beforeNext(e):h.remove(v,b)})}}else a=new nb([nl(p,g)])}else a=new nb([m.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=nd(a,function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:n})})),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return nd(this.getObservableFromLink(i,n.context,n.variables),function(o){var a=np(o),s=a.length>0,u=n.errorPolicy;if(r>=e.lastRequestId){if(s&&"none"===u)throw e.markError(new B.cA({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var l={data:o.data,loading:!1,networkStatus:nT.Ie.ready};return s&&"none"===u&&(l.data=void 0),s&&"ignore"!==u&&(l.errors=a,l.networkStatus=nT.Ie.error),l},function(t){var n=(0,B.MS)(t)?t:new B.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i,o,a=this;void 0===n&&(n=nT.Ie.loading),void 0===r&&(r=t.query);var s=this.getVariables(r,t.variables),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,c=void 0===l?u&&u.fetchPolicy||"cache-first":l,f=t.errorPolicy,d=void 0===f?u&&u.errorPolicy||"none":f,h=t.returnPartialData,p=void 0!==h&&h,g=t.notifyOnNetworkStatusChange,m=void 0!==g&&g,v=t.context,y=Object.assign({},t,{query:r,variables:s,fetchPolicy:c,errorPolicy:d,returnPartialData:p,notifyOnNetworkStatusChange:m,context:void 0===v?{}:v}),b=function(r){y.variables=r;var i=a.fetchQueryByPolicy(e,y,n);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},_=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){_(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new nb(this.localState.addExportedVariables(y.query,y.variables,y.context).then(b).then(function(e){return e.sources})),o=!0;else{var T=b(y.variables);o=T.fromLink,i=new nb(T.sources)}return i.promise.then(_,_),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,ng.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,l=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){l.set(n,{oq:e,lastDiff:(t.queries.get(n)||e.queryInfo).getDiff()})});var c=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof nx&&e.watcher.observableQuery;if(r){if(u){l.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&c.set(r,i),i}null!==u&&l.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),l.size&&l.forEach(function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=(0,T.P6)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),r=u(i,a,o)),u&&!0!==r||(r=i.refetch()),!1!==r&&c.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,n,r,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,u=null===(t=(0,y.$H)(i))||void 0===t?void 0:t.operation,l=(null!==(n=null==u?void 0:u[0])&&void 0!==n?n:"o")+s;!this.dataMasking||"no-cache"!==a||(0,eD.YU)(i)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&f.kG.warn(45,null!==(r=(0,y.rY)(i))&&void 0!==r?r:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?nO(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,n=e.fragment,r=e.fragmentName;return this.dataMasking?e7(t,n,this.cache,r):t},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,l=t.returnPartialData,f=t.context,d=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:i,variables:o,networkStatus:n});var p=function(){return e.getDiff()},g=function(t,n){void 0===n&&(n=e.networkStatus||nT.Ie.loading);var a=t.result;!1===globalThis.__DEV__||l||(0,eH.D)(a,{})||(0,n_.D)(t.missing);var s=function(e){return m.y.of((0,c.pi)({data:e,loading:(0,nT.Oj)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.getDocumentInfo(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===u&&n===nT.Ie.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},v="no-cache"===a?0:n===nT.Ie.refetch&&"merge"!==s?1:2,y=function(){return r.getResultsFromLink(e,v,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:u})},b=d&&"number"==typeof h&&h!==n&&(0,nT.Oj)(n);switch(a){default:case"cache-first":var _=p();if(_.complete)return{fromLink:!1,sources:[g(_,e.markReady())]};if(l||b)return{fromLink:!0,sources:[g(_),y()]};return{fromLink:!0,sources:[y()]};case"cache-and-network":var _=p();if(_.complete||l||b)return{fromLink:!0,sources:[g(_),y()]};return{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[g(p(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[g(p()),y()]};return{fromLink:!0,sources:[y()]};case"no-cache":if(b)return{fromLink:!0,sources:[g(e.getDiff()),y()]};return{fromLink:!0,sources:[y()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new nx(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,c.pi)((0,c.pi)((0,c.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();
23function nS(e){return e.kind===ej.h.FIELD||e.kind===ej.h.FRAGMENT_SPREAD||e.kind===ej.h.INLINE_FRAGMENT}var nI=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=$(t.resolvers,e)}):this.resolvers=$(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){return(0,c.mG)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,c.Jh)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,a).then(function(e){return(0,c.pi)((0,c.pi)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,O.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return eV(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,c.pi)((0,c.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,c.mG)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,c.Jh)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,c.pi)((0,c.pi)({},t),e.exportedVariables)})]:[2,(0,c.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,eh.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return eh.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:ez(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,c.mG)(this,arguments,void 0,function(e,t,n,r,i,o){var a,s,u,l,f,d,h,p,g,m,v;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,c.Jh)(this,function(b){return a=(0,y.p$)(e),s=(0,y.kU)(e),u=(0,eD.F)(s),l=this.collectSelectionsToResolve(a,u),d=(f=a.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=this,p=h.cache,g=h.client,m={fragmentMap:u,context:(0,c.pi)((0,c.pi)({},n),{cache:p,client:g}),variables:r,fragmentMatcher:i,defaultOperationType:d,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:o},v=!1,[2,this.resolveSelectionSet(a.selectionSet,v,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,c.mG)(this,void 0,void 0,function(){var i,o,a,s,u,l=this;return(0,c.Jh)(this,function(d){return i=r.fragmentMap,o=r.context,a=r.variables,s=[n],u=function(e){return(0,c.mG)(l,void 0,void 0,function(){var u,l;return(0,c.Jh)(this,function(c){return(t||r.selectionsToResolve.has(e))&&(0,O.LZ)(e,a)?(0,eA.My)(e)?[2,this.resolveField(e,t,n,r).then(function(t){var n;void 0!==t&&s.push(((n={})[(0,eA.u2)(e)]=t,n))})]:((0,eA.Ao)(e)?u=e:(u=i[e.name.value],(0,f.kG)(u,21,e.name.value)),u&&u.typeCondition&&(l=u.typeCondition.name.value,r.fragmentMatcher(n,l,o)))?[2,this.resolveSelectionSet(u.selectionSet,t,n,r).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return Y(s)})]})})},e.prototype.resolveField=function(e,t,n,r){return(0,c.mG)(this,void 0,void 0,function(){var i,o,a,s,u,l,f,d,h,p=this;return(0,c.Jh)(this,function(c){return n?(i=r.variables,s=(o=e.name.value)!==(a=(0,eA.u2)(e)),l=Promise.resolve(u=n[a]||n[o]),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||r.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(h=d[s?o:a])&&(l=Promise.resolve(tL.withValue(this.cache,h,[n,(0,eA.NC)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then(function(n){if(void 0===n&&(n=u),e.directives&&e.directives.forEac
23h(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=n)})}),!e.selectionSet||null==n)return n;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(n)?p.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;function i(e){if(!r.has(e)){var o=new Set;r.set(e,o),(0,eh.Vn)(e,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&nS(e)&&o.add(e)})},FragmentSpread:function(e,r,a,s,u){var l=t[e.name.value];(0,f.kG)(l,22,e.name.value);var c=i(l);c.size>0&&(u.forEach(function(e){n(e)&&nS(e)&&o.add(e)}),o.add(e),c.forEach(function(e){o.add(e)}))}})}return r.get(e)}return i(e)},e}(),nM=n(4012),nj=!1,nA=function(){function e(e){var t,n,r,i=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,f._K)(16);var o=e.uri,a=e.credentials,s=e.headers,u=e.cache,l=e.documentTransform,d=e.ssrMode,h=void 0!==d&&d,p=e.ssrForceFetchDelay,g=void 0===p?0:p,m=e.connectToDevTools,v=e.queryDeduplication,y=void 0===v||v,b=e.defaultOptions,_=e.defaultContext,w=e.assumeImmutableResults,E=void 0===w?u.assumeImmutableResults:w,x=e.resolvers,O=e.typeDefs,k=e.fragmentMatcher,P=e.clientAwareness,N=e.name,S=e.version,I=e.devtools,M=e.dataMasking;!1===globalThis.__DEV__||((0,T.MH)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,T.MH)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,T.MH)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,T.MH)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,T.MH)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,T.MH)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,T.MH)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||f.kG.warn(17));var j=e.link;j||(j=o?new nf({uri:o,credentials:a,headers:s}):C.empty()),this.link=j,this.cache=u,this.disableNetworkFetches=h||g>0,this.queryDeduplication=y,this.defaultOptions=b||Object.create(null),this.typeDefs=O,this.devtoolsConfig=(0,c.pi)((0,c.pi)({},I),{enabled:null!==(t=null==I?void 0:I.enabled)&&void 0!==t?t:m}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),g&&setTimeout(function(){return i.disableNetworkFetches=!1},g),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=nc.i,this.localState=new nI({cache:u,client:this,resolvers:x,fragmentMatcher:k}),this.queryManager=new nN({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:l,queryDeduplication:y,ssrMode:h,dataMasking:!!M,clientAwareness:{name:null!==(n=null==P?void 0:P.name)&&void 0!==n?n:N,version:null!==(r=null==P?void 0:P.version)&&void 0!==r?r:S},localState:this.localState,assumeImmutableResults:E,onBroadcast:this.devtoolsConfig.enabled?function(){i.devToolsHookCb&&i.devToolsHookCb({action:{},state:{queries:i.queryManager.getQueryStore(),mutations:i.queryManager.mutationStore||{}},dataWithOptimisticResults:i.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
23,enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!nj&&!1!==globalThis.__DEV__&&(nj=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&f.kG.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,nM.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"})),!1!==globalThis.__DEV__&&((0,T.MH)(e,"canonizeResults","client.watchQuery"),(0,T.MH)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,nM.J)(this.defaultOptions.query,e)),(0,f.kG)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,c.pi)((0,c.pi)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,T.MH)(e,"canonizeResults","client.query"),(0,T.MH)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&f.kG.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,nM.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(r){return(0,c.pi)((0,c.pi)({},r),{data:t.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,id:n})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,c.pi)((0,c.pi)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return nl(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 t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var i=Promise.all(r);return i.queries=n,i.results=r,i.catch(function(e){!1!==globalThis.__DEV__&&f.kG.debug(20,e)}),i},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},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
23,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(nA.prototype.getMemoryInternals=ex.su);var nD=n(9996),nR=n(8446);function nF(e){return new C(function(t,n){var r=(0,c._T)(t,[]);return new m.y(function(i){var o,a=!1;return Promise.resolve(r).then(function(n){return e(n,t.getContext())}).then(t.setContext).then(function(){a||(o=n(t).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})})}var nL=1;function nU(e){var t=Object.create(null),n=Object.create(null);return(0,V.O)(e)&&e.forEach(function(e){var r;t[e.message]=e,"string"==typeof(null===(r=e.extensions)||void 0===r?void 0:r.code)&&(n[e.extensions.code]=e)}),{persistedQueryNotSupported:!!(t.PersistedQueryNotSupported||n.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!!(t.PersistedQueryNotFound||n.PERSISTED_QUERY_NOT_FOUND)}}var nq={disable:function(e){return e.meta.persistedQueryNotSupported},retry:function(e){var t=e.meta;return t.persistedQueryNotSupported||t.persistedQueryNotFound},useGETForHashedQueries:!1};function nQ(e){return e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})}var nB=function(e){function t(){n=void 0}(0,f.kG)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),55);var n,r=(0,to.o)(nq,e),i=r.sha256,o=r.generateHash,a=void 0===o?function(e){return Promise.resolve(i(eC(e)))}:o,s=r.disable,u=r.retry,l=r.useGETForHashedQueries,d=!0,h=function(e){return new Promise(function(t){return t(a(e))})};function p(e){if(!e||"object"!=typeof e)return h(e);n||(n=new ew.s(eE.Q["PersistedQueryLink.persistedQueryHashes"]||2e3));var t=n.get(e);return t||n.set(e,t=h(e)),t}return Object.assign(new C(function(e,n){(0,f.kG)(n,56);var r=e.query;return new m.y(function(i){var o,a,f=!1,h=!1,g=function(r,i){var l=r.response,c=r.networkError;if(!f&&(l&&l.errors||c)){f=!0;var p=[],g=l&&l.errors;(0,V.O)(g)&&p.push.apply(p,g);var v=void 0;"string"!=typeof(null==c?void 0:c.result)&&(v=c&&c.result&&c.result.errors),(0,V.O)(v)&&p.push.apply(p,v);var y={response:l,networkError:c,operation:e,graphQLErrors:(0,V.O)(p)?p:void 0,meta:nU(p)};if((d=!s(y))||t(),u(y)){o&&o.unsubscribe(),e.setContext({http:{includeQuery:!0,includeExtensions:d},fetchOptions:{method:"POST"}}),h&&e.setContext({fetchOptions:a}),o=n(e).subscribe(m);return}}i()},m={next:function(e){g({response:e},function(){return i.next(e)})},error:function(e){g({networkError:e},function(){return i.error(e)})},complete:i.complete.bind(i)};return e.setContext({http:{includeQuery:!d,includeExtensions:d}}),l&&d&&!nQ(e)&&(e.setContext(function(e){var t=e.fetchOptions,n=void 0===t?{}:t;return a=n,{fetchOptions:(0,c.pi)((0,c.pi)({},n),{method:"GET"})}}),h=!0),d?p(r).then(function(t){e.extensions.persistedQuery={version:nL,sha256Hash:t},o=n(e).subscribe(m)}).catch(i.error.bind(i)):o=n(e).subscribe(m),function(){o&&o.unsubscribe()}})}),{resetHashCache:t},!1!==globalThis.__DEV__?{getMemoryInternals:function(){var e;return{PersistedQueryLink:{persistedQueryHashes:null!==(e=null==n?void 0:n.size)&&void 0!==e?e:0}}}}:{})},nz=n(2023),nV=n(4061);n(3454);let nG={brand:nV.bold.whiteBright,info:nV.cyan,warn:nV.yellow,error:nV.red,success:nV.blueBright,debug:nV.magenta.italic},n$=(e,t,...n)=>{let r="";switch(e){case"info":r=nG.info("info");break;case"warn":r=nG.warn("warn");break;case"error":r=nG.error("error");break;case"debug":r=nG.debug("debug")}console.log(`${r} - ${t}`,...n)},nY=(e,...t)=>{n$("warn",e,...t)},nW=(e,...t)=>{n$("error",e,...t)};function nH(e){return"object"==typeof e&&null!==e&&"response"in e&&"result"in e&&"statusCode"in e}class nZ extends C{request(e,t){return new m.y(n=>{let r=t(e).subscribe({next:e=>{e.errors&&e.errors.length>0&&nW("GraphQL errors:",e.errors),n.next(e)},error:e=>{nH(e)?(nW("Server error:",e),nW("Fetch result:",e.result)):nW("Network error:",e),n.error(e)},complete:()=>{n.complete()}});return()=>{r.unsubscribe()}})}}n(4301);var nK=n(7037),nJ=n(2742),nX=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},n0=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},n1=function(e,t){return function(n,r,i,o=10){let a=e[t];if(!n0(n)||!nX(r))return;if("function"!=typeof i){console.error("The hook callback must be a function.");return}if("number"!=typeof o){console.error("If specified, the hook priority must be a number.");return}let s={callback:i,priority:o,namespace:r};if(a[n]){let e;let t=a[n].handlers;for(e=t.length;e>0&&!(o>=t[e-1].priority);e--);e===t.length?t[e]=s:t.splice(e,0,s),a.__current.forEach(t=>{t.name===n&&t.currentIndex>=e&&t.currentIndex++})}else a[n]={handlers:[s],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,i,o)}},n2=function(e,t,n=!1){return function(r,i){let o=e[t];if(!n0(r)||!n&&!nX(i))return;if(!o[r])return 0;let a=0;if(n)a=o[r].handlers.length,o[r]={runs:o[r].runs,handlers:[]};else{let e=o[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===i&&(e.splice(t,1),a++,o.__current.forEach(e
23=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,i),a}},n5=function(e,t){return function(n,r){let i=e[t];return void 0!==r?n in i&&i[n].handlers.some(e=>e.namespace===r):n in i}},n3=function(e,t,n=!1){return function(r,...i){let o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;let a=o[r].handlers;if(!a||!a.length)return n?i[0]:void 0;let s={name:r,currentIndex:0};for(o.__current.push(s);s.currentIndex<a.length;){let e=a[s.currentIndex].callback.apply(null,i);n&&(i[0]=e),s.currentIndex++}if(o.__current.pop(),n)return i[0]}},n4=function(e,t){return function(){var n;let r=e[t];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}},n6=function(e,t){return function(n){let r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}},n8=function(e,t){return function(n){let r=e[t];if(n0(n))return r[n]&&r[n].runs?r[n].runs:0}};class n7{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=n1(this,"actions"),this.addFilter=n1(this,"filters"),this.removeAction=n2(this,"actions"),this.removeFilter=n2(this,"filters"),this.hasAction=n5(this,"actions"),this.hasFilter=n5(this,"filters"),this.removeAllActions=n2(this,"actions",!0),this.removeAllFilters=n2(this,"filters",!0),this.doAction=n3(this,"actions"),this.applyFilters=n3(this,"filters",!0),this.currentAction=n4(this,"actions"),this.currentFilter=n4(this,"filters"),this.doingAction=n6(this,"actions"),this.doingFilter=n6(this,"filters"),this.didAction=n8(this,"actions"),this.didFilter=n8(this,"filters")}}var n9=function(){return new n7};let{addAction:re,addFilter:rt,removeAction:rn,removeFilter:rr,hasAction:ri,hasFilter:ro,removeAllActions:ra,removeAllFilters:rs,doAction:ru,applyFilters:rl,currentAction:rc,currentFilter:rf,doingAction:rd,doingFilter:rh,didAction:rp,didFilter:rg,actions:rm,filters:rv}=n9(),ry=n9();function rb(e=""){let t=nJ("https://bodilmalmsten2021.hemsida.eu","/");return(t=ry.applyFilters("wpUrl",t,{}),e)?`${t}/${e}`:t}function r_(){return"undefined"==typeof window}var rT=n(8612),rw=n(1609),rE=n(2353);n(8764).lW;let rx=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;function rC(e){if(!e)return;let t=rx.exec(e);if(!(!rT(t)||rw(t)||rE(t[4])&&"/"!==e[0]))return{href:t[0],protocol:t[1],baseUrl:`${t[1]}${t[3]}`,host:t[4],pathname:t[5],search:t[6],hash:t[8]}}function rO(e,t){if(!nK(e)||!nK(t)||rw(e)||rw(t))return"";let n=rC(e);if(rE(n)||!nK(n.search))return"";let r=n.search;"?"===r[0]&&(r=r.substring(1));let i=r.split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");if(decodeURIComponent(n[0])===t)return decodeURIComponent(n[1])}return""}function rk(e,t){let n=e.split("?");if(n.length>=2){let e=`${encodeURIComponent(t)}=`,r=n[1].split(/[&;]/g);for(let t=r.length;t-- >0;)-1!==r[t].lastIndexOf(e,0)&&r.splice(t,1);return n[0]+(r.length>0?`?${r.join("&")}`:"")}return e}let rP="/api/faust",rN="auth/token",rS="auth/logout";var rI=n(1747),rM=n(2205),rj=n(5892);function rA(e){return rj(()=>{r=e;let{experimentalPlugins:t,plugins:n}=e,i=[...t||[],...n||[]];null==i||i.forEach(e=>{var t;null===(t=null==e?void 0:e.apply)||void 0===t||t.call(e,ry)}),(null==t?void 0:t.length)&&nY('Plugin System: The "experimentalPlugins" configuration option will be deprecated 
23in the near future. Please use "plugins" instead in the faust.config.js.')})()}function rD(e){let t=rI({},e,{loginPagePath:"/login",experimentalToolbar:!1,usePersistedQueries:!1,useGETForQueries:!0,basePath:""});return Object.keys(t).forEach(e=>{let n=e,r=t[n];nK(r)&&(t[n]=r.trim())}),t.experimentalToolbar&&console.warn("[Faust.js] As the team shifts focus to new work on [Headless WordPress](https://github.com/wpengine/hwptoolkit), the Admin Toolbar, which was ~~experimental~~, will no longer be actively maintained. No further updates will be made."),rM(t,{})}function rR(){return rD(r)}function rF(){let{basePath:e}=rR();return null!=e?e:""}let rL=60;function rU(){return i}function rq(e){i=e}function rQ(){return null==o?void 0:o.token}function rB(){return null==o?void 0:o.expiration}function rz(e,t){r_()||(o={token:e,expiration:t})}function rV(){let e=Math.floor(Date.now()/1e3),t=rB();void 0!==t&&rq(setTimeout(()=>void r$(),1e3*(t-e-rL)))}function rG(){let e=rU();void 0!==e&&clearTimeout(e)}async function r$(e){let t=`${rF()}${rP}/${rN}`;nK(e)&&e.length>0&&(t+=`?code=${encodeURIComponent(e)}`);try{let e=await fetch(t,{method:"GET",headers:{"Content-Type":"application/json"}}),n=await e.json();if(!e.ok)return rz(void 0,void 0),null;return rz(n.accessToken,n.accessTokenExpiration),rG(),rV(),n.accessToken}catch(e){return rz(void 0,void 0),null}}async function rY(e){if(rQ())return!0;let t=rb(),{redirectUri:n,loginPageUri:r}=e||{},i="undefined"!=typeof window?rO(window.location.href,"code"):void 0,o={};return(nK(n)&&(o.redirect=`${t}/generate?redirect_uri=${encodeURIComponent(n)}`),nK(r)&&(o.login=r),await r$(i))?(i&&window.history.replaceState({},document.title,rk(window.location.href,"code")),!0):o}function rW(){let e=rb(),t=`${e}/index.php?graphql`;return ry.applyFilters("graphqlEndpoint",t,{wpUrl:e})}let rH="__APOLLO_STATE__",rZ="undefined"!=typeof window?window[rH]:{};function rK(e=!1){let{possibleTypes:t,usePersistedQueries:n,useGETForQueries:r}=rR(),i={possibleTypes:t,typePolicies:{RootQuery:{queryType:!0,fields:{viewer:{merge:!0}}},RootMutation:{mutationType:!0}}};i=ry.applyFilters("apolloClientInMemoryCacheOptions",i,{});let o=C.from([new nZ,eY({uri:rW(),useGETForQueries:r&&!n})]);n&&(o=nB({sha256:nz.sha256,useGETForHashedQueries:r}).concat(o)),e&&(o=nF((e,{headers:t})=>{let n=rQ();return{headers:Object.assign(Object.assign({},t),{authorization:n?`Bearer ${n}`:""})}}).concat(o));let a={ssrMode:"undefined"==typeof window,devtools:{enabled:"undefined"!=typeof window},link:o,cache:new nu(i).restore(rZ)};return new nA(a=ry.applyFilters("apolloClientOptions",a,{}))}function rJ(e=null){let t=null!=a?a:rK();if(e){let n=nD(t.extract(),e,{arrayMerge:(e,t)=>[...t,...e.filter(e=>t.every(t=>!nR(e,t)))]});t.cache.restore(n)}return"undefined"==typeof window||a||(a=t),t}function rX(){let e=null!=s?s:rK(!0);return s||(s=e),e}function r0(e){let t=e[rH];return(0,l.useMemo)(()=>rJ(t),[t])}var r1=n(1794),r2=n(8806);function r5(e){let t=rI(e,{strategy:"redirect",shouldRedirect:!1,skip:!1});if("local"===t.strategy&&!t.loginPageUrl)throw Error('useAuth: Local strategies must specify the "loginPageUrl"');let[n,r]=(0,l.useState)(null),[i,o]=(0,l.useState)(!1),[a,s]=(0,l.useState)(null),[u,c]=(0,l.useState)(!1),[f,d]=(0,l.useState)(null);return(0,l.useEffect)(()=>{if(!0===t.skip||u)return;c(!0);let e={redirectUri:window.location.href};"local"===t.strategy&&(e.loginPageUri=`/${nJ(t.loginPageUrl,"/")}?redirect_uri=${encodeURIComponent(window.location.href)}`),(async()=>{let n=await rY(e);r(!0===n),!0!==n&&(null==n?void 0:n.login)&&"local"===t.strategy&&s(n.login),!0!==n&&(null==n?void 0:n.redirect)&&"redirect"===t.strategy&&s(n.redirect),o(!0)})()},[u,t]),(0,l.useEffect)(()=>{!0!==t.skip&&t.shouldRedirect&&i&&!1===n&&a&&setTimeout(()=>{window.location.assign(a)},200)},[i,n,a,t]),(0,l.useEffect)(()=>{!0!==t.skip&&!0===n&&(async()=>{let e=rX(),{data:t}=await e.query({query:(0,r2.Ps)`
24					query GetFaustViewer {
25						viewer {
26							name
27							username
28							capabilities
29							databaseId
30							description
31							email
32							firstName
33							id
34							lastName
35							nickname
36							locale
37							registeredDate
38							slug
39							templates
40							uri
41							url
42							userId
43							avatar {
44								url
45							}
46						}
47					}
48				`});d(t.viewer)})()},[n,t.skip]),{isAuthenticated:n,isReady:i,loginUrl:a,viewer:f}}function r3(e=""){let t=rb("wp-admin");return e?`${t}/${e}`:t}function r4({seedNode:e}){var t,n;let{query:{p:r,typeName:i}}=(0,g.useRouter)();if((null==e?void 0:e.isFrontPage)||(null==e?void 0:e.isPostsPage))return null;let o=null!==(t=null==e?void 0:e.__typename)&&void 0!==t?t:i,a=null!==(n=null==e?void 0:e.databaseId)&&void 0!==n?n:r;if(!a||!o)return null;let s=r3(`post.php?post=${a}&action=edit`);return l.createElement(ip,{href:s},"Edit ",o)}let r6={backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0MDAgNDAwIj48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNNTcuNDY4IDMwMi42NmwtMTQuMzc2LTguMyAxNjAuMTUtMjc3LjM4IDE0LjM3NiA4LjN6Ii8+PHBhdGggZmlsbD0iI0UxMDA5OCIgZD0iTTM5LjggMjcyLjJoMzIwLjN2MTYuNkgzOS44eiIvPjxwYXRoIGZpbGw9IiNFMTAwOTgiIGQ9Ik0yMDYuMzQ4IDM3NC4wMjZsLTE2MC4yMS05Mi41IDguMy0xNC4zNzYgMTYwLjIxIDkyLjV6TTM0NS41MjIgMTMyLjk0N2wtMTYwLjIxLTkyLjUgOC4zLTE0LjM3NiAxNjAuMjEgOTIuNXoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNNTQuNDgyIDEzMi44ODNsLTguMy0xNC4zNzUgMTYwLjIxLTkyLjUgOC4zIDE0LjM3NnoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMzQyLjU2OCAzMDIuNjYzbC0xNjAuMTUtMjc3LjM4IDE0LjM3Ni04LjMgMTYwLjE1IDI3Ny4zOHpNNTIuNSAxMDcuNWgxNi42djE4NUg1Mi41ek0zMzAuOSAxMDcuNWgxNi42djE4NWgtMTYuNnoiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMjAzLjUyMiAzNjdsLTcuMjUtMTIuNTU4IDEzOS4zNC04MC40NSA3LjI1IDEyLjU1N3oiLz48cGF0aCBmaWxsPSIjRTEwMDk4IiBkPSJNMzY5LjUgMjk3LjljLTkuNiAxNi43LTMxIDIyLjQtNDcuNyAxMi44LTE2LjctOS42LTIyLjQtMzEtMTIuOC00Ny43IDkuNi0xNi43IDMxLTIyLjQgNDcuNy0xMi44IDE2LjggOS43IDIyLjUgMzEgMTIuOCA0Ny43TTkwLjkgMTM3Yy05LjYgMTYuNy0zMSAyMi40LTQ3LjcgMTIuOC0xNi43LTkuNi0yMi40LTMxLTEyLjgtNDcuNyA5LjYtMTYuNyAzMS0yMi40IDQ3LjctMTIuOCAxNi43IDkuNyAyMi40IDMxIDEyLjggNDcuN00zMC41IDI5Ny45Yy05LjYtMTYuNy0zLjktMzggMTIuOC00Ny43IDE2LjctOS42IDM4LTMuOSA0Ny43IDEyLjggOS42IDE2LjcgMy45IDM4LTEyLjggNDcuNy0xNi44IDkuNi0zOC4xIDMuOS00Ny43LTEyLjhNMzA5LjEgMTM3Yy05LjYtMTYuNy0zLjktMzggMTIuOC00Ny43IDE2LjctOS42IDM4LTMuOSA0Ny43IDEyLjggOS42IDE2LjcgMy45IDM4LTEyLjggNDcuNy0xNi43IDkuNi0zOC4xIDMuOS00Ny43LTEyLjhNMjAwIDM5NS44Yy0xOS4zIDAtMzQuOS0xNS42LTM0LjktMzQuOSAwLTE5LjMgMTUuNi0zNC45IDM0LjktMzQuOSAxOS4zIDAgMzQuOSAxNS42IDM0LjkgMzQuOSAwIDE5LjItMTUuNiAzNC45LTM0LjkgMzQuOU0yMDAgNzRjLTE5LjMgMC0zNC45LTE1LjYtMzQuOS0zNC45IDAtMTkuMyAxNS42LTM0LjkgMzQuOS0zNC45IDE5LjMgMCAzNC45IDE1LjYgMzQuOSAzNC45IDAgMTkuMy0xNS42IDM0LjktMzQuOSAzNC45Ii8+PC9zdmc+')",float:"left",width:"22px",height:"22px",marginLeft:"5px",marginTop:"5px",marginRight:"5px"};function r8({url:e=r3("admin.php?page=graphiql-ide"),title:t="GraphiQL IDE"}){return l.createElement(ip,{href:e},l.createElement("span",{className:"custom-icon",style:r6}),t)}function r7(){let[e,t]=(0,l.useState)(void 0),[n,r]=(0,l.useState)(!1);return{error:e,logout:async function(e){var n,i;r(!0);let o=`${rF()}${rP}/${rS}`,a=await fetch(o,{method:"POST"});if(!a.ok){t(a),r(!1);return}let s=null===(i=null===(n=null==window?void 0:window.location)||void 0===n?void 0:n.search)||void 0===i?void 0:i.includes("preview=true");e?window.location.assign(e):s?window.location.assign("/"):window.location.reload(),r(!1)},loading:n}}function r9(){var e,t,n,r,i,o,a,s,u,c,f,d,h,p,g;let m=rX(),{logout:v}=r7(),{data:y,loading:b}=(0,r1.aM)((0,r2.Ps)`
49			{
50				viewer {
51					name
52					username
53					avatar26: avatar(size: 26) {
54						url
55					}
56					avatar52: avatar(size: 52) {
57						url
58					}
59					avatar64: avatar(size: 64) {
60						url
61					}
62					avatar128: avatar(size: 128) {
63						url
64					}
65				}
66			}
67		`,{client:m});if(b)return l.createElement(id,null);let _=e=>{"Enter"===e.key&&(e.preventDefault(),v())},T=e=>{e.preventDefault(),v()};return l.createElement(l.Fragment,null,l.createElement(ip,{"aria-haspopup":"true"},"Howdy, ",l.createElement("span",{className:"display-name"},null===(e=null==y?void 0:y.viewer)||void 0===e?void 0:e.name),(null===(n=null===(t=null==y?void 0:y.viewer)||void 0===t?void 0:t.avatar64)||void 0===n?void 0:n.url)?l.createElement("img",{alt:"",src:null===(i=null===(r=null==y?void 0:y.viewer)||void 0===r?void 0:r.avatar26)||void 0===i?void 0:i.url,srcSet:`${null===(a=null===(o=null==y?void 0:y.viewer)||void 0===o?void 0:o.avatar52)||void 0===a?void 0:a.url} 2x`,className:"avatar avatar-26 photo",height:"26",width:"26",loading:"lazy",decoding:"async"}):null),l.createElement(iy,null,l.createElement(im,{id:"wp-admin-bar-user-actions"},l.createElement("li",{id:"wp-admin-bar-user-info"},l.createElement(ip,{tabIndex:-1,href:r3("profile.php")},(null===(u=null===(s=null==y?void 0:y.viewer)||void 0===s?void 0:s.avatar64)||void 0===u?void 0:u.url)?l.createElement("img",{alt:"",src:null===(f=null===(c=null==y?void 0:y.viewer)||void 0===c?void 0:c.avatar64)||void 0===f?void 0:f.url,srcSet:`${null===(h=null===(d=null==y?void 0:y.viewer)||void 0===d?void 0:d.avatar128)||void 0===h?void 0:h.url} 2x`,className:"avatar avatar-64 photo",height:"64",width:"64",loading:"lazy",decoding:"async"}):null,l.createElement("span",{className:"display-name"},null===(p=null==y?void 0:y.viewer)||void 0===p?void 0:p.name),l.createElement("span",{className:"username"},null===(g=null==y?void 0:y.viewer)||void 0===g?void 0:g.username))),l.createElement("li",{id:"wp-admin-bar-edit-profile"},l.createElement(ip,{href:r3("profile.php")},"Edit Profile")),l.createElement("li",{id:"wp-admin-bar-logout"},l.createElement(ip,{href:"#",onKeyDown:_,onClick:T},"Log Out")))))}function ie(){let{isAuthenticated:e,isReady:t}=r5({strategy:"redirect",shouldRedirect:!1});return t?!0===e?l.createElement(r9,null):null:l.createElement(id,null)}function it({url:e=r3(),title:t="WordPress"}){return l.createElement(ip,{href:e},t)}var ir=n(3967),ii=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function io(e){return e?`wp-admin-bar-${e}`:""}function ia(e){var{id:t="",children:n,additionalClassNames:r=""}=e,i=ii(e,["id","children","additionalClassNames"]);let[o,a]=(0,l.useState)(!1),s=e=>{"Enter"===e.key?a(!o):"Escape"===e.key&&a(!1)};return l.createElement("li",Object.assign({id:io(t),className:ir("menupop",{hover:o},r),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),onKeyDown:s},i),n)}var is=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function iu({seedNode:e}){let t=(0,l.useMemo)(()=>[{id:"site-name",location:"primary",component:l.createElement(it,null)},{id:"edit",location:"primary",component:l.createElement(r4,{seedNode:e})},{id:"graphiql",location:"primary",component:l.createElement(r8,null)},{id:"my-account",location:"secondary",component:l.createElement(ie,null),additionalClassNames:"with-avatar"}],[e]),[n,r]=(0,l.useState)(t);(0,l.useEffect)(()=>{let n=ry.applyFilters("toolbarNodes",t,{seedNode:e});if(new Set(n.map(e=>e.id)).size<n.length)throw Error("Toolbar Nodes must have unique keys.");r(n)},[t,e]),(0,l.useEffect)(()=>(null==document||document.body.classList.add("admin-bar"),()=>{null==document||document.body.classList.remove("admin-bar")}),[]);let i=n.filter(({location:e})=>"primary"===e),o=n.filter(({location:e})=>"secondary"===e);return l.createElement("div",{id:"wpadminbar",className:"nojq"},l.createElement("div",{id:"wp-toolbar",className:"quicklinks",role:"navigation","aria-label":"Toolbar"},l.createElement("ul",{id:"wp-admin-bar-root-default",className:"ab-top-menu","aria-label":"primary toolbar menu items"},i.map(e=>{var{component:t,id:n}=e,r=is(e,["component","id"]);return l.createElement(ia,Object.assign({key:n,id:n},r),t)})),l.createElement("ul",{id:"wp-admin-bar-top-secondary",className:"ab-top-secondary ab-top-menu","aria-label":"secondary toolbar menu items"},o.map(e=>{var{component:t,id:n}=e,r=is(e,["component","id"]);return l.createElement(ia,Object.assign({key:n,id:n},r),t)}))))}function il({seedNode:e}){let t=rX(),{data:n,error:r}=(0,r1.aM)((0,r2.Ps)`
68			{
69				viewer {
70					shouldShowFaustToolbar
71				}
72			}
73		`,{client:t});return r?l.createElement(iu,{seedNode:e}):n&&!1!==n.viewer.shouldShowFaustToolbar?l.createElement(iu,{seedNode:e}):null}function ic({seedNode:e}){let{isAuthenticated:t}=r5();
73return(console.warn("[Faust.js] As the team shifts focus to new work on [Headless WordPress](https://github.com/wpengine/hwptoolkit), the Admin Toolbar, which was ~~experimental~~, will no longer be actively maintained. No further updates will be made."),!0!==t)?null:l.createElement(il,{seedNode:e})}function id(){return l.createElement("div",{className:"toolbar-node-skeleton-wrapper"},l.createElement("div",{"aria-hidden":"true",className:"toolbar-node-skeleton"}))}var ih=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function ip(e){var{href:t,children:n}=e,r=ih(e,["href","children"]);return l.createElement("a",Object.assign({role:"menuitem",tabIndex:0,className:"ab-item",href:t},r),n)}var ig=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function im(e){var{secondary:t,children:n}=e,r=ig(e,["secondary","children"]);return l.createElement("ul",Object.assign({className:ir("ab-submenu",{"ab-sub-secondary":t})},r),n)}var iv=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function iy(e){var{children:t}=e,n=iv(e,["children"]);return l.createElement("div",Object.assign({className:"ab-sub-wrapper"},n),t)}let ib=(0,l.createContext)(void 0);function i_(e){let{pageProps:t,children:n}=e,{experimentalToolbar:r}=rR(),i=(0,g.useRouter)(),o=r0(t),a=e=>{u(t=>Object.assign(Object.assign({},t),{queries:e}))},[s,u]=(0,l.useState)({queries:t.__FAUST_QUERIES__,setQueries:a});return(0,l.useEffect)(()=>{t.__FAUST_QUERIES__&&a(t.__FAUST_QUERIES__)},[t.__FAUST_QUERIES__]),l.createElement(ib.Provider,{value:s},l.createElement(p,{client:o},r&&l.createElement(ic,{key:`faust-toolbar-${i.asPath}`,seedNode:t.__SEED_NODE__}),n))}function iT(e){var t,n,r,i,o,a,s,u,l,c,f,d,h,p,g,m,v,y;let b=[];if((null===(t=e.template)||void 0===t?void 0:t.templateName)&&"Default"!==e.template.templateName&&b.push(`template-${e.template.templateName}`),e.isFrontPage&&b.push("front-page"),e.isPostsPage&&b.push("home"),"ContentType"===e.__typename&&!1===e.isPostsPage&&(e.name&&b.push(`archive-${e.name}`),b.push("archive")),e.isTermNode){let{taxonomyName:t}=e;switch(t){case"category":e.slug&&b.push(`category-${e.slug}`),e.databaseId&&b.push(`category-${e.databaseId}`),b.push("category");break;case"post_tag":e.slug&&b.push(`tag-${e.slug}`),e.databaseId&&b.push(`tag-${e.databaseId}`),b.push("tag");break;default:t&&(e.slug&&b.push(`taxonomy-${t}-${e.slug}`),e.databaseId&&b.push(`taxonomy-${t}-${e.databaseId}`),b.push(`taxonomy-${t}`)),b.push("taxonomy")}b.push("archive")}return e.userId&&(e.name&&b.push(`author-${null===(n=e.name)||void 0===n?void 0:n.toLocaleLowerCase()}`),b.push(`author-${e.userId}`),b.push("author"),b.push("archive")),e.isContentNode&&((null===(i=null===(r=null==e?void 0:e.contentType)||void 0===r?void 0:r.node)||void 0===i?void 0:i.name)!=="page"&&(null===(a=null===(o=null==e?void 0:e.contentType)||void 0===o?void 0:o.node)||void 0===a?void 0:a.name)!=="post"&&((null===(u=null===(s=e.contentType)||void 0===s?void 0:s.node)||void 0===u?void 0:u.name)&&e.slug&&b.push(`single-${null===(c=null===(l=e.contentType)||void 0===l?void 0:l.node)||void 0===c?void 0:c.name}-${e.slug}`),(null===(d=null===(f=e.contentType)||void 0===f?void 0:f.node)||void 0===d?void 0:d.name)&&b.push(`single-${null===(p=null===(h=e.contentType)||void 0===h?void 0:h.node)||void 0===p?void 0:p.name}`)),(null===(m=null===(g=null==e?void 0:e.contentType)||void 0===g?void 0:g.node)||void 0===m?void 0:m.name)==="page"&&(e.slug&&b.push(`page-${e.slug}`),e.databaseId&&b.push(`page-${e.databaseId}`),b.push("page")),(null===(y=null===(v=null==e?void 0:e.contentType)||void 0===v?void 0:v.node)||void 0===y?void 0:y.name)==="post"&&(e.slug&&b.push(`single-${e.contentType.node.name}-${e.slug}`),b.push(`single-${e.contentType.node.name}`),b.push("single")),b.push("singular")),b.push("index"),b=ry.applyFilters("possibleTemplatesList",b,{seedNode:e})}function iw(e,t){if(!e)return null;let n=iT(e);for(let e=0;e<n.length;e++){let r=n[e];if(t[r])return t[r]}return null}let iE=(0,r2.Ps)`
74	query GetSeedNode(
75		$id: ID! = 0
76		$uri: String! = ""
77		$asPreview: Boolean = false
78	) {
79		... on RootQuery @skip(if: $asPreview) {
80			nodeByUri(uri: $uri) {
81				__typename
82				...GetNode
83			}
84		}
85		... on RootQuery @include(if: $asPreview) {
86			contentNode(id: $id, idType: DATABASE_ID, asPreview: true) {
87				__typename
88				...GetNode
89			}
90		}
91	}
92
93	fragment GetNode on UniformResourceIdentifiable {
94		__typename
95		uri
96		id
97		...DatabaseIdentifier
98		...ContentType
99		...User
100		...TermNode
101		...ContentNode
102		...MediaItem
103		...Page
104	}
105
106	fragment DatabaseIdentifier on DatabaseIdentifier {
107		databaseId
108	}
109
110	fragment MediaItem on MediaItem {
111		id
112		mimeType
113	}
114
115	fragment ContentType on ContentType {
116		name
117		isFrontPage
118
119		# This is currently broken. The home page (blog page) can not be
120		# resolved when set to a custom page until the below issue is resolved.
121		# Link: https://github.com/wp-graphql/wp-graphql/issues/2514
122		isPostsPage
123	}
124
125	fragment Page on Page {
126		isFrontPage
127		isPostsPage
128	}
129
130	fragment TermNode on TermNode {
131		isTermNode
132		slug
133		taxonomyName
134	}
135
136	fragment ContentNode on ContentNode {
137		isContentNode
138		slug
139		contentType {
140			node {
141				name
142			}
143		}
144		template {
145			templateName
146		}
147	}
148
149	fragment User on User {
150		name
151		userId
152		databaseId
153	}
154`;function ix(e){let t=new URLSearchParams(e);return t.has("preview")&&"true"===t.get("preview")}var iC=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function iO(e){let{templates:t}=rR();if(!t)throw Error("Templates are required. Please add them to your config.");let{seedNode:n,isAuthenticated:r,isPreview:i,__TEMPLATE_QUERY_DATA__:o,loading:a,setLoa
154ding:s}=e,u=iC(e,["seedNode","isAuthenticated","isPreview","__TEMPLATE_QUERY_DATA__","loading","setLoading"]),c=iw(n,t),[f,d]=(0,l.useState)(o),{setQueries:h}=(0,l.useContext)(ib)||{};if(c&&c.queries&&c.query)throw Error("`Only either `Component.query` or `Component.queries` can be provided, but not both.");if((0,l.useEffect)(()=>{(async()=>{let e=i?rX():rJ();if(!c||c.query||!c.queries||!h)return;let t=null,r=c.queries.map(({query:t,variables:r})=>{let o=r?r(n,{asPreview:i}):void 0;return e.query({query:t,variables:o})}),o=await Promise.all(r);t={},o.forEach((e,n)=>{t&&c.queries&&(t[(0,nz.sha256)(eC(c.queries[n].query))]=e.data)}),h(t),s(!1)})()},[r,i,n,c,h,s]),(0,l.useEffect)(()=>{(async()=>{let e=i?rX():rJ();if(!c||!(null==c?void 0:c.query)||(null==c?void 0:c.queries)||!n||f)return;s(!0);let t={query:null==c?void 0:c.query,variables:(null==c?void 0:c.variables)?null==c?void 0:c.variables(n,{asPreview:i}):void 0};d((await e.query(t)).data),s(!1)})()},[f,c,n,i,r,s]),!c)return null;let p=c,g=Object.assign(Object.assign({},u),{__TEMPLATE_QUERY_DATA__:o,data:f,loading:a});return l.createElement(p,g,null)}function ik(e){let{basePath:t,templates:n}=rR();if(!n)throw Error("Templates are required. Please add them to your config.");let{__SEED_NODE__:r,__TEMPLATE_QUERY_DATA__:i}=e,[o,a]=(0,l.useState)(null!=r?r:null),s=iw(o,n),[u,c]=(0,l.useState)(null===s),[f,d]=(0,l.useState)(!i&&null),{isAuthenticated:h,loginUrl:p}=r5({strategy:"redirect",shouldRedirect:!1,skip:!f});return((0,l.useEffect)(()=>{window&&d(ix(window.location.search))},[]),(0,l.useEffect)(()=>{window&&f&&!1===h&&p&&window.location.assign(p)},[h,f,p]),(0,l.useEffect)(()=>{null===f||f&&!h||o||(async()=>{var e,n;let r=f?rX():rJ(),i=window.location.href.replace(window.location.origin,""),o="";if(f&&(i=rO(window.location.href,"previewPathname"),o=rO(window.location.href,"p"),t&&(i=i.replace(t,"")),""===i))throw Error('The URL must contain the proper "previewPathname" query param for previews.');let s={query:iE,variables:Object.assign(Object.assign(Object.assign({},!f&&{uri:i}),f&&{id:o}),f&&{asPreview:!0})};c(!0);let u=await r.query(s);a(f?null===(e=null==u?void 0:u.data)||void 0===e?void 0:e.contentNode:null===(n=null==u?void 0:u.data)||void 0===n?void 0:n.nodeByUri)})()},[o,f,h,t]),o&&(!f||h))?l.createElement(iO,Object.assign({},e,{seedNode:o,isPreview:!0===f,isAuthenticated:!0===h,loading:u,setLoading:c})):null}n(1584),n(3218),n(6489),n(4293),n(1763),n(3454),n(691),n(3560),n(1469),n(6932),(0,r2.Ps)`
155	mutation GenerateAuthorizationCode(
156		$email: String
157		$username: String
158		$password: String!
159	) {
160		generateAuthorizationCode(
161			input: { email: $email, username: $username, password: $password }
162		) {
163			code
164			error
165		}
166	}
167`},2379:function(e,t,n){"use strict";function r(){}n.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},9869:function(e,t,n){"use strict";function r(){}n.d(t,{k:function(){return l}});let i=r,o="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}},u=10024;class l{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<u;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new o(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
167return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},20:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});let{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return u(e,t)}finally{a.clear()}}function u(e,t){if(e===t)return!0;let n=r.call(e);if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)break;case"[object Object]":{if(h(e,t))return!0;let n=l(e),r=l(t),o=n.length;if(o!==r.length)return!1;for(let e=0;e<o;++e)if(!i.call(t,n[e]))return!1;for(let r=0;r<o;++r){let i=n[r];if(!u(e[i],t[i]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(h(e,t))return!0;let r=e.entries(),i="[object Map]"===n;for(;;){let e=r.next();if(e.done)break;let[n,o]=e.value;if(!t.has(n)||i&&!u(o,t.get(n)))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]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return -1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let n=o.call(e);if(n!==o.call(t))return!1;return!d(n,f)}}return!1}function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}t.Z=s;let f="{ [native code] }";function d(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function h(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},5028:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});let r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);!i||(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&u(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}},7826:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});let r=10,i=2;function o(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return s(e,t);default:return String(e)}}function s(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";let n=[...t,e];if(u(e)){let t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,n)}else if(Array.isArray(e))return c(e,n);return l(e,n)}function u(e){return"function"==typeof e.toJSON}function l(e,t){let n=Object.entries(e);return 0===n.length?"{}":t.length>i?"["+f(e)+"]":"{ "+n.map(([e,n])=>e+": "+a(n,t)).join(", ")+" }"}function c(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";let n=Math.min(r,e.length),o=e.length-n,s=[];for(let r=0;r<n;++r)s.push(a(e[r],t));return 1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}function f(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}},2380:function(e,t,n){"use strict";var r;n.d(t,{UG:function(){return u},WU:function(){return o},Ye:function(){return i},h8:function(){return a},ku:function(){return r}});class i{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,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 a={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
167Value:[],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"]},s=new Set(Object.keys(a));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},7392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},wv:function(){return i}});var r=n(8297);function i(e){var t,n;let r=Number.MAX_SAFE_INTEGER,i=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=o(s);u!==s.length&&(i=null!==(n=i)&&void 0!==n?n:t,a=t,0!==t&&u<r&&(r=u))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!==(t=i)&&void 0!==t?t:0,a+1)}function o(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function a(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.FD)(e.charCodeAt(0))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,l=e.endsWith("\\"),c=u||l,f=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),d="",h=o&&(0,r.FD)(e.charCodeAt(0));return(f&&!h||a)&&(d+="\n"),d+=n,(f||c)&&(d+="\n"),'"""'+d+'"""'}},8297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},7359:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},7304:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},Vn:function(){return u}});var r=n(7826),i=n(5821),o=n(2380),a=n(7359);let s=Object.freeze({});function u(e,t,n=o.h8){let u,c,f;let d=new Map;for(let e of Object.values(a.h))d.set(e,l(t,e));let h=Array.isArray(e),p=[e],g=-1,m=[],v=e,y=[],b=[];do{var _,T,w;let e;let a=++g===p.length,l=a&&0!==m.length;if(a){if(c=0===b.length?void 0:y[y.length-1],v=f,f=b.pop(),l){if(h){v=v.slice();let e=0;for(let[t,n]of m){let r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else for(let[e,t]of(v={...v},m))v[e]=t}g=u.index,p=u.keys,m=u.edits,h=u.inArray,u=u.prev}else if(f){if(null==(v=f[c=h?g:p[g]]))continue;y.push(c)}if(!Array.isArray(v)){(0,o.UG)(v)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(v)}.`);let n=a?null===(_=d.get(v.kind))||void 0===_?void 0:_.leave:null===(T=d.get(v.kind))||void 0===T?void 0:T.enter;if((e=null==n?void 0:n.call(t,v,c,f,y,b))===s)break;if(!1===e){if(!a){y.pop();continue}}
167else if(void 0!==e&&(m.push([c,e]),!a)){if((0,o.UG)(e))v=e;else{y.pop();continue}}}void 0===e&&l&&m.push([c,v]),a?y.pop():(u={inArray:h,index:g,keys:p,edits:m,prev:u},p=(h=Array.isArray(v))?v:null!==(w=n[v.kind])&&void 0!==w?w:[],g=-1,m=[],f&&b.push(f),f=v)}while(void 0!==u);return 0!==m.length?m[m.length-1][1]:e}function l(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}},3069:function(e,t,n){"use strict";var r=n(7294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}let o=r.forwardRef(i);t.Z=o},1768:function(e,t,n){"use strict";var r=n(7294);function i(e,t){let{title:n,titleId:i,...o}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),n?r.createElement("title",{id:i},n):null,r.createElement("path",{fillRule:"evenodd",d:"M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))}let o=r.forwardRef(i);t.Z=o},6275:function(e,t,n){"use strict";let r;n.d(t,{g7:function(){return h},dP:function(){return B},re:function(){return G}});var i=n(5028),o=n(2379);let a=null,s={},u=1,l=()=>class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(r,n)}finally{a=o}}static bind(e){let t=a;return function(){let n=a;try{return a=t,e.apply(this,arguments)}finally{a=n}}}static noContext(e,t,n){if(!a)return e.apply(n,t);{let r=a;try{return a=null,e.apply(n,t)}finally{a=r}}}};function c(e){try{return e()}catch(e){}}let f="@wry/context:Slot",d=c(()=>globalThis)||c(()=>global)||Object.create(null),h=d[f]||Array[f]||function(e){try{Object.defineProperty(d,f,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(l()),{bind:p,noContext:g}=h,m=new h,{hasOwnProperty:v}=Object.prototype,y=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function b(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let _=[],T=100;function w(e,t){if(!e)throw Error(t||"assertion failure")}function E(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function x(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function C(e){return e.slice(0)}class O{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++O.count}peek(){if(1===this.value.length&&!S(this))return k(this),this.value[0]}recompute(e){return w(!this.recomputing,"already recomputing"),k(this),S(this)?P(this,e):x(this.value)}setDirty(){this.dirty||(this.dirty=!0,M(this),b(this))}dispose(){this.setDirty(),L(this),A(this,(e,t)=>{e.setDirty(),U(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=_.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(y(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),_.push(this.deps),this.deps=null)}}function k(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),S(e)?D(t,e):R(t,e),t}function P(e,t){return L(e),m.withValue(e,N,[e,t]),q(e,t)&&I(e),x(e.value)}function N(e,t){let n;
167e.recomputing=!0;let{normalizeResult:r}=e;r&&1===e.value.length&&(n=C(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!E(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function S(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function I(e){e.dirty=!1,S(e)||j(e)}function M(e){A(e,D)}function j(e){A(e,R)}function A(e,t){let n=e.parents.size;if(n){let r=y(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function D(e,t){w(e.childValues.has(t)),w(S(t));let n=!S(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=_.pop()||new Set;e.dirtyChildren.add(t),n&&M(e)}function R(e,t){w(e.childValues.has(t)),w(!S(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,C(t.value)):E(n,t.value)||e.setDirty(),F(e,t),S(e)||j(e)}function F(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(_.length<T&&_.push(n),e.dirtyChildren=null))}function L(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{U(e,n)}),e.forgetDeps(),w(null===e.dirtyChildren)}function U(e,t){t.parents.delete(e),e.childValues.delete(t),F(e,t)}function q(e,t){if("function"==typeof e.subscribe)try{b(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}O.count=0;let Q={setDirty:!0,dispose:!0,forget:!0};function B(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=m.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(b(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&v.call(Q,n)?n:"setDirty";y(r).forEach(e=>e[i]()),t.delete(e),b(r)}},r}function z(...e){return(r||(r=new i.B("function"==typeof WeakMap))).lookupArray(e)}let V=new Set;function G(e,{max:t=65536,keyArgs:n,makeCacheKey:r=z,normalizeResult:i,subscribe:a,cache:s=o.e}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,l=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new O(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),V.add(u),m.hasValue()||(V.forEach(e=>e.clean()),V.clear()),s};function c(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function d(e){return!!e&&u.delete(e)}return Object.defineProperty(l,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:a,cache:u}),l.dirtyKey=c,l.dirty=function(){c(r.apply(null,arguments))},l.peekKey=f,l.peek=function(){return f(r.apply(null,arguments))},l.forgetKey=d,l.forget=function(){return d(r.apply(null,arguments))},l.makeCacheKey=r,l.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(l)}},8357:function(e,t,n){"use strict";n.d(t,{df:function(){return m}});var r=n(7294),i=Object.defineProperty,o=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,a=(e,t,n)=>o(e,"symbol"!=typeof t?t+"":t,n),s=new Map,u=new WeakMap,l=0,c=void 0;function f(e){return e?(u.has(e)||(l+=1,u.set(e,l.toString())),u.get(e)):"0"}function d(e){return Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>`${t}_${"root"===t?f(e.root):e[t]}`).toString()}function h(e){let t=d(e),n=s.get(t);if(!n){let r;let i=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var n;let o=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=i.get(t.target))||n.forEach(e=>{e(o,t)})})},e);r=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:i},s.set(t,n)}return n}function p(e,t,n={},r=c){if(void 0===window.IntersectionObserver&&void 0!==r){let i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:i,observer:o,elements:a}=h(n),u=a.get(e)||[];return a.has(e)||a.set(e,u),u.push(t),o.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(a.delete(e),o.unobserve(e)),0===a.size&&(o.disconnect(),s.delete(i))}}function g(e){return"function"!=typeof e.children}var m=class extends r.Component{constructor(e){super(e),a(this,"node",null),a(this,"_unobserveCb",null),a(this,"handleNode",e=>{!this.node||(this.unobserve(),e||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=e||null,this.observeNode()}),a(this,"handleChange",(e,t)=>{e&&this.props.triggerOnce&&this.unobserve(),g(this.props)||this.setState({inView:e,entry:t}),this.props.onChange&&this.props.onChange(e,t)}),this.state={inView:!!e.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;let{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i,fallbackInView:o}=this.props;this._unobserveCb=p(this.node,this.handleChange,{threshold:e,root:t,rootMargin:n,trackVisibility:r,delay:i},o)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){let{children:e}=this.props;if("function"==typeof e){let{inView:t,entry:n}=this.state;return e({inView:t,entry:n,ref:this.handleNode})}let{as:t,triggerOnce:n,threshold:i,root:o,rootMargin:a,onChange:s,skip:u,trackVisibility:l,delay:c,initialInView:f,fallbackInView:d,...h}=this.props;return r.createElement(t||"div",{ref:this.handleNode,...h},e)}}},7582:function(e,t,n){"use strict";n.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return l},mG:function(){return s},pi:function(){return o}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
167)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||(n=Promise))(function(n,o){function a(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())})}function u(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}function l(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},8216:function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{y:function(){return O}});var u=function(){return"function"==typeof Symbol},l=function(e){return u()&&!!Symbol[e]},c=function(e){return l(e)?Symbol[e]:"@@"+e};u()&&!l("observable")&&(Symbol.observable=Symbol("observable"));var f=c("iterator"),d=c("observable"),h=c("species");function p(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function g(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:O}function m(e){return e instanceof O}function v(e){v.log?v.log(e):setTimeout(function(){throw e})}function y(e){Promise.resolve().then(function(){try{e()}catch(e){v(e)}})}function b(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=p(t,"unsubscribe");n&&n.call(t)}}catch(e){v(e)}}}function _(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function T(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(w(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}function w(e,t,n){e._state="running";var r=e._observer;try{var i=p(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(_(e),i)i.call(r,n);else throw n;break;case"complete":_(e),i&&i.call(r)}}catch(e){v(e)}"closed"===e._state?b(e):"running"===e._state&&(e._state="ready")}function E(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],y(function(){return T(e)});return}w(e,t,n)}}var x=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new C(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(_(this),b(this))},s(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),C=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){E(this._subscription,"next",e)},t.error=function(e){E(this._subscription,"error",e)},t.complete=function(){E(this._subscription,"complete")},s(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),O=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new x(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(g(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(g(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=g(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=g(this);return new i(function(t){var r,o=0;function a(e){r=e.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):a(i.from(n[o++]))}})}return a(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=g(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
167return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[d]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=p(t,d);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return m(o)&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(l("iterator")&&(i=p(t,f)))return new n(function(e){y(function(){if(!e.closed){for(var n,o=r(i.call(t));!(n=o()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){y(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){y(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},s(e,null,[{key:h,get:function(){return this}}]),e}();u()&&Object.defineProperty(O,Symbol("extensions"),{value:{symbol:d,hostReportError:v},configurable:!0})},9426:function(e){"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},7395:function(e){"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},8420:function(e){"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(3079)}),_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.