1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="82b0ac37-1bf3-340e-fc0e-ba193f80ad01")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,958879,e=>{"use strict";class t extends Error{constructor(e,t,r,n,i,a,o){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),r&&(this.source=r),n&&(this.positions=n),a&&(this.originalError=a);var s=o;if(!s&&a){var l=a.extensions;l&&"object"==typeof l&&(s=l)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function r(e){return new t(`Syntax Error: Unexpected token at ${a} in ${e}`)}function n(e){if(e.lastIndex=a,e.test(i))return i.slice(a,a=e.lastIndex)}var i,a,o=/ +(?=[^\s])/y;function s(){for(var e=0|i.charCodeAt(a++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|i.charCodeAt(a++))if(35===e)for(;(e=0|i.charCodeAt(a++))&&10!==e&&13!==e;);a--}function l(){for(var e=a,t=0|i.charCodeAt(a++);t>=48&&t<=57||t>=65&&t<=90||95===t||t>=97&&t<=122;t=0|i.charCodeAt(a++));if(e===a-1)throw r("Name");var n=i.slice(e,--a);return s(),n}function c(){return{kind:"Name",value:l()}}var u=/(?:"""|(?:[\s\S]*?[^\\])""")/y,d=/(?:(?:\.\d+)?[eE][+-]?\d+|\.\d+)/y;function f(e){var t;switch(i.charCodeAt(a)){case 91:a++,s();for(var h=[];93!==i.charCodeAt(a);)h.push(f(e));return a++,s(),{kind:"ListValue",values:h};case 123:a++,s();for(var p=[];125!==i.charCodeAt(a);){var v=c();if(58!==i.charCodeAt(a++))throw r("ObjectField");s(),p.push({kind:"ObjectField",name:v,value:f(e)})}return a++,s(),{kind:"ObjectValue",fields:p};case 36:if(e)throw r("Variable");return a++,{kind:"Variable",name:c()};case 34:if(34===i.charCodeAt(a+1)&&34===i.charCodeAt(a+2)){if(a+=3,null==(t=n(u)))throw r("StringValue");return s(),{kind:"StringValue",value:function(e){for(var t=e.split("\n"),r="",n=0,i=0,a=t.length-1,s=0;s<t.length;s++)o.lastIndex=0,o.test(t[s])&&(s&&(!n||o.lastIndex<n)&&(n=o.lastIndex),i=i||s,a=s);for(var l=i;l<=a;l++)l!==i&&(r+="\n"),r+=t[l].slice(n).replace(/\\"""/g,'"""');return r}(t.slice(0,-3)),block:!0}}var y,g=a;a++;var m=!1;
2for(y=0|i.charCodeAt(a++);92===y&&(a++,m=!0)||10!==y&&13!==y&&34!==y&&y;y=0|i.charCodeAt(a++));if(34!==y)throw r("StringValue");return t=i.slice(g,a),s(),{kind:"StringValue",value:m?JSON.parse(t):t.slice(1,-1),block:!1};case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:for(var _,b=a++;(_=0|i.charCodeAt(a++))>=48&&_<=57;);var S=i.slice(b,--a);if(46!==(_=i.charCodeAt(a))&&69!==_&&101!==_)return s(),{kind:"IntValue",value:S};if(null==(t=n(d)))throw r("FloatValue");return s(),{kind:"FloatValue",value:S+t};case 110:if(117===i.charCodeAt(a+1)&&108===i.charCodeAt(a+2)&&108===i.charCodeAt(a+3))return a+=4,s(),{kind:"NullValue"};break;case 116:if(114===i.charCodeAt(a+1)&&117===i.charCodeAt(a+2)&&101===i.charCodeAt(a+3))return a+=4,s(),{kind:"BooleanValue",value:!0};break;case 102:if(97===i.charCodeAt(a+1)&&108===i.charCodeAt(a+2)&&115===i.charCodeAt(a+3)&&101===i.charCodeAt(a+4))return a+=5,s(),{kind:"BooleanValue",value:!1}}return{kind:"EnumValue",value:l()}}function h(e){if(40===i.charCodeAt(a)){var t=[];a++,s();do{var n=c();if(58!==i.charCodeAt(a++))throw r("Argument");s(),t.push({kind:"Argument",name:n,value:f(e)})}while(41!==i.charCodeAt(a))return a++,s(),t}}function p(e){if(64===i.charCodeAt(a)){var t=[];do a++,t.push({kind:"Directive",name:c(),arguments:h(e)});while(64===i.charCodeAt(a))return t}}function v(){if(123!==i.charCodeAt(a++))throw r("SelectionSet");return s(),y()}function y(){var e=[];do if(46===i.charCodeAt(a)){if(46!==i.charCodeAt(++a)||46!==i.charCodeAt(++a))throw r("SelectionSet");switch(a++,s(),i.charCodeAt(a)){case 64:e.push({kind:"InlineFragment",typeCondition:void 0,directives:p(!1),selectionSet:v()});break;case 111:110===i.charCodeAt(a+1)?(a+=2,s(),e.push({kind:"InlineFragment",typeCondition:{kind:"NamedType",name:c()},directives:p(!1),selectionSet:v()})):e.push({kind:"FragmentSpread",name:c(),directives:p(!1)});break;case 123:a++,s(),e.push({kind:"InlineFragment",typeCondition:void 0,directives:void 0,selectionSet:y()});break;default:e.push({kind:"FragmentSpread",name:c(),directives:p(!1)})}}else{var t=c(),n=void 0;58===i.charCodeAt(a)&&(a++,s(),n=t,t=c());var o=h(!1),l=p(!1),u=void 0;123===i.charCodeAt(a)&&(a++,s(),u=y()),e.push({kind:"Field",alias:n,name:t,arguments:o,directives:l,selectionSet:u})}while(125!==i.charCodeAt(a))return a++,s(),{kind:"SelectionSet",selections:e}}function g(){var e=[];do{var t=void 0;if(34===i.charCodeAt(a)&&(t=f(!0)),123===i.charCodeAt(a)){if(t)throw r("Document");a++,s(),e.push({kind:"OperationDefinition",operation:"query",name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:y()})}else{var n=l();switch(n){case"fragment":e.push(function(e){var t=c();if(111!==i.charCodeAt(a++)||110!==i.charCodeAt(a++))throw r("FragmentDefinition");s();var n={kind:"FragmentDefinition",name:t,typeCondition:{kind:"NamedType",name:c()},directives:p(!1),selectionSet:v()};return e&&(n.description=e),n}(t));break;case"query":case"mutation":case"subscription":var o,u=void 0;40!==(o=i.charCodeAt(a))&&64!==o&&123!==o&&(u=c());var d={kind:"OperationDefinition",operation:n,name:u,variableDefinitions:function(){if(s(),40===i.charCodeAt(a)){var e=[];a++,s();do{var t=void 0;if(34===i.charCodeAt(a)&&(t=f(!0)),36!==i.charCodeAt(a++))throw r("Variable");var n=c();if(58!==i.charCodeAt(a++))throw r("VariableDefinition");s();var o=function(){for(var e=0;91===i.charCodeAt(a);)e++,a++,s();var t={kind:"NamedType",name:c()};do if(33===i.charCodeAt(a)&&(a++,s(),t={kind:"NonNullType",type:t}),e){if(93!==i.charCodeAt(a++))throw r("NamedType");s(),t={kind:"ListType",type:t}}while(e--)return t}(),l=void 0;61===i.charCodeAt(a)&&(a++,s(),l=f(!0)),s();var u={kind:"VariableDefinition",variable:{kind:"Variable",name:n},type:o,defaultValue:l,directives:p(!0)};t&&(u.description=t),e.push(u)}while(41!==i.charCodeAt(a))return a++,s(),e}}(),directives:p(!1),selectionSet:v()};t&&(d.description=t),e.push(d);break;default:throw r("Document")}}}while(a<i.length)return e}function m(e,t,r){for(var n="",i=0;i<e.length;i++)i&&(n+=t),n+=r(e[i]);return n}var _="\n",b={OperationDefinition(e){var t="";e.description&&(t+=b.StringValue(e.description)+"\n"),t+=e.operation,e.name&&(t+=" "+e.name.value),e.variableDefinitions&&e.variableDefinitions.length&&(e.name||(t+=" "),t+="("+m(e.variableDefinitions,", ",b.VariableDefinition)+")"),e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive));var r=b.SelectionSet(e.selectionSet);return"query"!==t?t+" "+r:r}
2,VariableDefinition(e){var t="";return e.description&&(t+=b.StringValue(e.description)+" "),t+=b.Variable(e.variable)+": "+S(e.type),e.defaultValue&&(t+=" = "+S(e.defaultValue)),e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive)),t},Field(e){var t=e.alias?e.alias.value+": "+e.name.value:e.name.value;if(e.arguments&&e.arguments.length){var r=m(e.arguments,", ",b.Argument);t.length+r.length+2>80?t+="("+(_+=" ")+m(e.arguments,_,b.Argument)+(_=_.slice(0,-2))+")":t+="("+r+")"}return e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive)),e.selectionSet&&e.selectionSet.selections.length&&(t+=" "+b.SelectionSet(e.selectionSet)),t},StringValue:e=>e.block?('"""\n'+e.value.replace(/"""/g,'\\"""')+'\n"""').replace(/\n/g,_):JSON.stringify(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+m(e.values,", ",S)+"]",ObjectValue:e=>"{"+m(e.fields,", ",b.ObjectField)+"}",ObjectField:e=>e.name.value+": "+S(e.value),Document:e=>e.definitions&&e.definitions.length?m(e.definitions,"\n\n",S):"",SelectionSet:e=>"{"+(_+=" ")+m(e.selections,_,S)+(_=_.slice(0,-2))+"}",Argument:e=>e.name.value+": "+S(e.value),FragmentSpread(e){var t="..."+e.name.value;return e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive)),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive)),t+" "+b.SelectionSet(e.selectionSet)},FragmentDefinition(e){var t="";return e.description&&(t+=b.StringValue(e.description)+"\n"),t+="fragment "+e.name.value+" on "+e.typeCondition.name.value,e.directives&&e.directives.length&&(t+=" "+m(e.directives," ",b.Directive)),t+" "+b.SelectionSet(e.selectionSet)},Directive(e){var t="@"+e.name.value;return e.arguments&&e.arguments.length&&(t+="("+m(e.arguments,", ",b.Argument)+")"),t},NamedType:e=>
2e.name.value,ListType:e=>"["+S(e.type)+"]",NonNullType:e=>S(e.type)+"!"},S=e=>b[e.kind](e);e.s(["GraphQLError",0,t,"Kind",0,{NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},"parse",0,function(e,t){return(i=e.body?e.body:e,a=0,s(),t&&t.noLocation)?{kind:"Document",definitions:g()}:{kind:"Document",definitions:g(),loc:{start:0,end:i.length,startToken:void 0,endToken:void 0,source:{body:i,name:"graphql.web",locationOffset:{line:1,column:1}}}}},"print",0,function(e){return _="\n",b[e.kind]?b[e.kind](e):""}])},558740,e=>{"use strict";var t=e.i(958879),r=e.i(64786),n=e=>e&&"string"==typeof e.message&&(e.extensions||"GraphQLError"===e.name)?e:"object"==typeof e&&"string"==typeof e.message?new t.GraphQLError(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new t.GraphQLError(e);class i extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(n),r=((e,t)=>{var r="";if(e)return`[Network] ${e.message}`;if(t)for(var n=0,i=t.length;n<i;n++)r&&(r+="\n"),r+=`[GraphQL] ${t[n].message}`;return r})(e.networkError,t);super(r),this.name="CombinedError",this.message=r,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var a=(e,t)=>{for(var r=0|(t||5381),n=0,i=0|e.length;n<i;n++)r=(r<<5)+r+e.charCodeAt(n);return r},o=new Set,s=new WeakMap,l=(e,t)=>{if(null===e||o.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return l(e.toJSON(),t);if(Array.isArray(e)){for(var r="[",n=0,i=e.length;n<i;n++)r.length>1&&(r+=","),r+=l(e[n],t)||"null";return r+"]"}if(!t&&(f!==d&&e instanceof f||h!==d&&e instanceof h))return"null";var a=Object.keys(e).sort();if(!a.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var c=s.get(e)||Math.random().toString(36).slice(2);return s.set(e,c),l({__key:c},t)}o.add(e);for(var u="{",p=0,v=a.length;p<v;p++){var y=l(e[a[p]],t);y&&(u.length>1&&(u+=","),u+=l(a[p],t)+":"+y)}return o.delete(e),u+"}"},c=(e,t,r)=>{if(null==r||"object"!=typeof r||r.toJSON||o.has(r));else if(Array.isArray(r))for(var n=0,i=r.length;n<i;n++)c(e,`${t}.${n}`,r[n]);else if(r instanceof f||r instanceof h)e.set(t,r);else for(var a in o.add(r),r)c(e,`${t}.${a}`,r[a])},u=(e,t)=>(o.clear(),l(e,t||!1));class d{}var f="u">typeof File?File:d,h="u">typeof Blob?Blob:d,p=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,v=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,y=(e,t)=>t%2==0?e.replace(v,"\n"):e,g=e=>e.split(p).map(y).join("").trim(),m=new Map,_=new Map,b=e=>{var r;return"string"==typeof e?r=g(e):e.loc&&_.get(e.__key)===e?r=e.loc.source.body:(r=m.get(e)||g((0,t.print)(e)),m.set(e,r)),"string"==typeof e||e.loc||(e.loc={start:0,end:r.length,source:{body:r,name:"gql",locationOffset:{line:1,column:1}}}),r},S=e=>{var t;if(e.documentId)t=a(e.documentId);else if(t=a(b(e)),e.definitions){var r=w(e);r&&(t=a(` 3# ${r}`,t))}return t},k=e=>{var r,n;return"string"==typeof e?(r=S(e),n=_.get(r)||(0,t.parse)(e,{noLocation:!0})):(r=e.__key||S(e),n=_.get(r)||e),n.loc||b(n),n.__key=r,_.set(r,n),n},w=e=>{for(var r=0,n=e.definitions.length;r<n;r++){var i=e.definitions[r];if(i.kind===t.Kind.OPERATION_DEFINITION)return i.name?i.name.value:void 0}},A=(e,t,r)=>{var n=t.payload||t;if(!("data"in n||"errors"in n&&Array.isArray(n.errors)))throw Error("No Content");var a="subscription"===e.kind;return{operation:e,data:n.data,error:Array.isArray(n.errors)?new i({graphQLErrors:n.errors,response:r}):void 0,extensions:n.extensions?{...n.extensions}:void 0,hasNext:null==t.hasNext?a:t.hasNext,stale:!1}},x=(e,t)=>{if("object"==typeof e&&null!=e){if(Array.isArray(e)){e=[...e];for(var r=0,n=t.length;r<n;r++)e[r]=x(e[r],t[r]);return e}if(!e.constructor||e.constructor===Object){for(var i in e={...e},t)e[i]=x(e[i],t[i]);return e}}return t},C=(e,t,r,n)=>{var a=e.error?e.error.graphQLErrors:[],o=!!e.extensions||!!(t.payload||t).extensions,s={...e.extensions,...(t.payload||t).extensions},l=t.incremental;"path"in t&&(l=[t]);var c={data:e.data};if(l)for(var u=0,d=l.length;u<d;u++)!function(){var e=l[u];Array.isArray(e.errors)&&a.push(...e.errors),e.extensions&&(Object.assign(s,e.extensions),o=!0);var t="data",r=c,i=[];if(e.path)i=e.path;else if(n){var d=n.find(t=>
3t.id===e.id);i=e.subPath?[...d.path,...e.subPath]:d.path}for(var f=0,h=i.length;f<h;t=i[f++])r=r[t]=Array.isArray(r[t])?[...r[t]]:{...r[t]};if(e.items)for(var p=+t>=0?t:0,v=0,y=e.items.length;v<y;v++)r[p+v]=x(r[p+v],e.items[v]);else void 0!==e.data&&(r[t]=x(r[t],e.data))}();else c.data=(t.payload||t).data||e.data,a=t.errors||t.payload&&t.payload.errors||a;return{operation:e.operation,data:c.data,error:a.length?new i({graphQLErrors:a,response:r}):void 0,extensions:o?s:void 0,hasNext:null!=t.hasNext?t.hasNext:e.hasNext,stale:!1}},E=(e,t,r)=>({operation:e,data:void 0,error:new i({networkError:t,response:r}),extensions:void 0,hasNext:!1,stale:!1}),N=/boundary="?([^=";]+)"?/i,O=/data: ?([^\n]+)/;async function*I(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield t;else{var r,n=e.body.getReader();try{for(;!(r=await n.read()).done;)yield r.value}finally{n.cancel()}}}async function*P(e,t){var r,n="u">typeof TextDecoder?new TextDecoder:null,i="";for await(var a of e)for(i+="Buffer"===a.constructor.name?a.toString():n.decode(a,{stream:!0});(r=i.indexOf(t))>-1;)yield i.slice(0,r),i=i.slice(r+t.length)}async function*T(e,t,r){var n=!0,i=null;try{yield await Promise.resolve();var a,o,s=(a=await (e.context.fetch||fetch)(t,r)).headers.get("Content-Type")||"";for await(var l of/multipart\/mixed/i.test(s)?async function*(e,t){var r,n=e.match(N),i="--"+(n?n[1]:"-"),a=!0;for await(var o of P(I(t),"\r\n"+i)){if(a){a=!1;var s=o.indexOf(i);if(!(s>-1))continue;o=o.slice(s+i.length)}try{yield r=JSON.parse(o.slice(o.indexOf("\r\n\r\n")+4))}catch(e){if(!r)throw e}if(r&&!1===r.hasNext)break}r&&!1!==r.hasNext&&(yield{hasNext:!1})}(s,a):/text\/event-stream/i.test(s)?async function*(e){var t;for await(var r of P(I(e),"\n\n")){var n=r.match(O);if(n){var i=n[1];try{yield t=JSON.parse(i)}catch(e){if(!t)throw e}if(t&&!1===t.hasNext)break}}t&&!1!==t.hasNext&&(yield{hasNext:!1})}(a):/text\//i.test(s)?async function*(e){var t=await e.text();try{var r=JSON.parse(t);yield r}catch(e){throw Error(t)}}(a):async function*(e){yield JSON.parse(await e.text())}(a))l.pending&&!i?o=l.pending:l.pending&&(o=[...o,...l.pending]),i=i?C(i,l,a,o):A(e,l,a),n=!1,yield i,n=!0;i||(yield i=A(e,{},a))}catch(t){if(!n)throw t;yield E(e,a&&(a.status<200||a.status>=300)&&a.statusText?Error(a.statusText):t,a)}}e.s(["C",0,i,"a",0,function(e){var t={query:void 0,documentId:void 0,operationName:w(e.query),variables:e.variables||void 0,extensions:e.extensions};return"documentId"in e.query&&e.query.documentId&&(!e.query.definitions||!e.query.definitions.length)?t.documentId=e.query.documentId:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss||(t.query=b(e.query)),t},"b",0,E,"c",0,C,"d",0,(e,t)=>{var r,n,i="query"===e.kind&&e.context.preferGetMethod;if(!i||!t)return e.context.url;var a=(n=(r=e.context.url).indexOf("?"))>
3-1?[r.slice(0,n),new URLSearchParams(r.slice(n+1))]:[r,new URLSearchParams];for(var o in t){var s=t[o];s&&a[1].set(o,"object"==typeof s?u(s):s)}var l=a.join("?");return l.length>2047&&"force"!==i?(e.context.preferGetMethod=!1,e.context.url):l},"e",0,(e,t)=>{var r={accept:"subscription"===e.kind?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},n=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(n.headers){let e;if("has"in(e=n.headers)&&!Object.keys(e).length)n.headers.forEach((e,t)=>{r[t]=e});else if(Array.isArray(n.headers))n.headers.forEach((e,t)=>{Array.isArray(e)?r[e[0]]?r[e[0]]=`${r[e[0]]},${e[1]}`:r[e[0]]=e[1]:r[t]=e});else for(var i in n.headers)r[i.toLowerCase()]=n.headers[i]}var a=((e,t)=>{if(t&&!("query"===e.kind&&e.context.preferGetMethod)){var r,n,i=u(t),a=(r=t.variables,n=new Map,(f!==d||h!==d)&&(o.clear(),c(n,"variables",r)),n);if(a.size){var s=new FormData;s.append("operations",i),s.append("map",u({...[...a.keys()].map(e=>[e])}));var l=0;for(var p of a.values())s.append(""+l++,p);return s}return i}})(e,t);return"string"!=typeof a||r["content-type"]||(r["content-type"]="application/json"),{...n,method:a?"POST":"GET",body:a,headers:r}},"f",0,function(e,t,n){var i;return"u">typeof AbortController&&(n.signal=(i=new AbortController).signal),(0,r.onEnd)(()=>{i&&i.abort()})((0,r.filter)(e=>!!e)((0,r.fromAsyncIterable)(T(e,t,n))))},"g",0,e=>{for(var r=0,n=e.definitions.length;r<n;r++){var i=e.definitions[r];if(i.kind===t.Kind.OPERATION_DEFINITION)return i.operation}},"h",0,(e,t,r)=>{var n=t||{},i=k(e),o=u(n,!0),s=i.__key;return"{}"!==o&&(s=a(o,s)),{key:s,query:i,variables:n,extensions:r}},"k",0,k,"m",0,A,"s",0,b])},746530,e=>{"use strict";var t=e.i(558740),t=t,r=e.i(191788),n=e.i(64786),i=r.createContext({}),a=i.Provider;i.Consumer,i.displayName="UrqlContext";var o={fetching:!1,stale:!1,hasNext:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},s=(e,t)=>e===t||!(!e||!t||e.key!==t.key),l=(e,t)=>
3{var r={...e,...t,data:void 0!==t.data||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale,error:t.fetching?e.error:t.error};return((e,t)=>{for(var r in e)if(!(r in t))return!0;for(var n in t)if("operation"===n?!s(e[n],t[n]):e[n]!==t[n])return!0;return!1})(e,r)?r:e},c=!1;function u(e,t){if(c&&void 0!==t)Promise.resolve(t).then(e);else try{return c=!0,e(t)}finally{c=!1}}e.s(["Context",0,i,"Provider",0,a,"useQuery",0,function(e){let a;var s,c,d,f=r.useContext(i),h=(e=>{if(!e._react){var t=new Set,r=new Map;e.operations$&&(0,n.subscribe)(e=>{"teardown"===e.kind&&t.has(e.key)&&(t.delete(e.key),r.delete(e.key))})(e.operations$),e._react={get:e=>r.get(e),set(e,n){t.delete(e),r.set(e,n)},clear(e){t.delete(e),r.delete(e)},dispose(e){t.add(e)}}}return e._react})(f),p=(a=e.context)&&void 0!==a.suspense?!!a.suspense:f.suspense,v=(s=e.query,c=e.variables,d=r.useRef(void 0),r.useMemo(()=>{var e=(0,t.h)(s,c);return void 0!==d.current&&d.current.key===e.key?d.current:(d.current=e,e)},[s,c])),y=r.useMemo(()=>{if(e.pause)return null;var t=f.executeQuery(v,{requestPolicy:e.requestPolicy,...e.context});return p?(0,n.onPush)(e=>{h.set(v.key,e)})(t):t},[h,f,v,p,e.pause,e.requestPolicy,e.context]),g=r.useCallback((e,t)=>{if(!e)return{fetching:!1};var r=h.get(v.key);if(r){if(t&&null!=r&&"then"in r){var i=r,a=()=>{h.get(v.key)===i&&h.clear(v.key)};throw i.then(a,a),r}}else{var o,s,l=(0,n.subscribe)(e=>{r=e,o&&o(r)})((0,n.onEnd)(()=>{s&&!r&&(h.get(v.key)===s&&h.clear(v.key),o&&o(void 0))})((0,n.takeWhile)(()=>t&&!o||!r||"hasNext"in r&&r.hasNext)(e)));if(null==r&&t)throw s=new Promise(e=>{o=e}),h.set(v.key,s),s;l.unsubscribe()}if(t&&null!=r&&!("then"in r)&&r.error){var c=r;queueMicrotask(()=>{h.get(v.key)===c&&h.clear(v.key)})}return r||{fetching:!0}},[h,v]),m=[f,v,e.requestPolicy,e.context,e.pause],[_,b]=r.useState(()=>[y,l(o,u(()=>g(y,p))),m]),S=_[1];return y!==_[0]&&((e,t)=>{for(var r=0,n=t.length;r<n;r++)if(e[r]!==t[r])return!0;return!1})(_[2],m)&&b([y,S=l(_[1],u(()=>g(y,p))),m]),r.useEffect(()=>{var e=_[0],t=_[2][1],r=!1,i=e=>{r=!0,u(b,t=>{var r=l(t[1],e);return t[1]!==r?[t[0],r,t[2]]:t})};if(e){var a=(0,n.subscribe)(i)((0,n.onEnd)(()=>{i({fetching:!1})})(e));return r||i({fetching:!0}),()=>{h.dispose(t.key),a.unsubscribe()}}i({fetching:!1})},[h,_[0],_[2][1]]),[S,r.useCallback(t=>{var r={requestPolicy:e.requestPolicy,...e.context,...t};u(b,e=>[p?(0,n.onPush)(e=>{h.set(v.key,e)})(f.executeQuery(v,r)):f.executeQuery(v,r),e[1],m])},[f,h,v,p,e.requestPolicy,e.context,e.pause])]}],746530)},64786,e=>{"use strict";var t=()=>{};function r(e){return{tag:0,0:e}}function n(e){return{tag:1,0:e}}var i=()=>"function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator",a=e=>e;function o(e){return n=>i=>{var a=[],o=t,s=!1,l=!1;n(r=>{if(l);else if(0===r)l=!0,a.length||i(0);else if(0===r.tag)o=r[0];else{var n,c;s=!1,n=e(r[0]),c=t,n(e=>{if(0===e){if(a.length){var t=a.indexOf(c);t>-1&&(a=a.slice()).splice(t,1),!a.length&&(l?i(0):s||(s=!0,o(0)))}}else 0===e.tag?(a.push(c=e[0]),c(0)):a.length&&(i(e),c(0))}),s||(s=!0,o(0))}}),i(r(e=>{if(1===e){l||(l=!0,o(1));for(var t=0,r=a,n=a.length;t<n;t++)r[t](1);a.length=0}else{l||s?s=!1:(s=!0,o(0));for(var i=0,c=a,u=a.length;i<u;i++)c[i](0)}}))}}function s(e){return t=>n=>{var i=!1;t(t=>{if(i);else if(0===t)i=!0,n(0);else if(0===t.tag){var a=t[0];n(r(e=>{1===e&&(i=!0),a(e)}))}else e(t[0]),n(t)})}}function l(e){var n=[],i=t,a=!1;return t=>{n.push(t),1===n.length&&e(e=>{if(0===e){for(var t=0,r=n,o=n.length;t<o;t++)r[t](0);n.length=0}else if(0===e.tag)i=e[0];else{a=!1;for(var s=0,l=n,c=n.length;s<c;s++)l[s](e)}}),t(r(e=>{if(1===e){var r=n.indexOf(t);r>-1&&(n=n.slice()).splice(r,1),n.length||i(1)}else a||(a=!0,i(0))}))}}function c(e){return t=>{var a,o=e[i()]&&e[i()]()||e,s=!1,l=!1,c=!1;t(r(async e=>{if(1===e)s=!0,o.return&&o.return();else if(l)c=!0;else{for(c=l=!0;c&&!s;)if((a=await o.next()).done)s=!0,o.return&&await o.return(),t(0);else try{c=!1,t(n(a.value))}catch(e){if(o.throw)(s=!!(await o.throw(e)).done)&&t(0);else throw e}l=!1}}
3))}}function u(e){return t=>{var i=!1,a=e({next(e){i||t(n(e))},complete(){i||(i=!0,t(0))}});t(r(e=>{1!==e||i||(i=!0,a())}))}}function d(e){return r=>{var n=t,i=!1;return r(t=>{0===t?i=!0:0===t.tag?(n=t[0])(0):i||(e(t[0]),n(0))}),{unsubscribe(){i||(i=!0,n(1))}}}}e.s(["debounce",0,function(e){return t=>n=>{var i,a=!1,o=!1;t(t=>{if(o);else if(0===t)o=!0,i?a=!0:n(0);else if(0===t.tag){var s=t[0];n(r(e=>{1!==e||o?o||s(0):(o=!0,a=!1,i&&clearTimeout(i),s(1))}))}else i&&clearTimeout(i),i=setTimeout(()=>{i=void 0,n(t),a&&n(0)},e(t[0]))})}},"filter",0,function(e){return r=>n=>{var i=t;r(t=>{0===t?n(0):0===t.tag?(i=t[0],n(t)):e(t[0])?n(t):i(0)})}},"fromAsyncIterable",0,c,"fromPromise",0,function(e){return u(r=>(e.then(e=>{Promise.resolve(e).then(()=>{r.next(e),r.complete()})}),t))},"fromValue",0,function(e){return t=>{var i=!1;t(r(r=>{1===r?i=!0:i||(i=!0,t(n(e)),t(0))}))}},"lazy",0,function(e){return t=>e()(t)},"make",0,u,"makeSubject",0,function(){var e,r;return{source:l(u(n=>(e=n.next,r=n.complete,t))),next(t){e&&e(t)},complete(){r&&r()}}},"map",0,function(e){return t=>r=>t(t=>{0===t||0===t.tag?r(t):r(n(e(t[0])))})},"merge",0,function(e){var t,s;return t=(s=e)[i()]?c(s):e=>{var t,i=s[Symbol.iterator](),a=!1,o=!1,l=!1;e(r(r=>{if(1===r)a=!0,i.return&&i.return();else if(o)l=!0;else{for(l=o=!0;l&&!a;)if((t=i.next()).done)a=!0,i.return&&i.return(),e(0);else try{l=!1,e(n(t.value))}catch(t){if(i.throw)(a=!!i.throw(t).done)&&e(0);else throw t}o=!1}}))},o(a)(t)},"mergeMap",0,o,"onEnd",0,function(e){return t=>n=>{var i=!1;t(t=>{if(i);else if(0===t)i=!0,n(0),e();else if(0===t.tag){var a=t[0];n(r(t=>{1===t?(i=!0,a(1),e()):a(t)}))}else n(t)})}},"onPush",0,s,"onStart",0,function(e){return t=>r=>t(t=>{0===t?r(0):0===t.tag?(r(t),e()):r(t)})},"pipe",0,function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n=t[0],i=1,a=t.length;i<a;i++)n=t[i](n);return n},"publish",0,function(e){d(e=>{})(e)},"share",0,l,"subscribe",0,d,"switchMap",0,function(e){return n=>i=>{var a=t,o=t,s=!1,l=!1,c=!1,u=!1;n(r=>{if(u);else if(0===r)u=!0,c||i(0);else if(0===r.tag)a=r[0];else{var n;c&&(o(1),o=t),s?s=!1:(s=!0,a(0)),n=e(r[0]),c=!0,n(e=>{c&&(0===e?(c=!1,u?i(0):s||(s=!0,a(0))):0===e.tag?(l=!1,(o=e[0])(0)):(i(e),l?l=!1:o(0)))})}}),i(r(e=>{1===e?(u||(u=!0,a(1)),c&&(c=!1,o(1))):(u||s||(s=!0,a(0)),c&&!l&&(l=!0,o(0)))}))}},"take",0,function(e){return n=>i=>{var a=t,o=!1,s=0;n(t=>{o||(0===t?(o=!0,i(0)):0===t.tag?e<=0?(o=!0,i(0),t[0](1)):a=t[0]:s++<e?(i(t),!o&&s>=e&&(o=!0,i(0),a(1))):i(t))}),i(r(t=>{1!==t||o?0===t&&!o&&s<e&&a(0):(o=!0,a(1))}))}},"takeUntil",0,function(e){return n=>i=>{var a=t,o=t,s=!1;n(t=>{s||(0===t?(s=!0,o(1),i(0)):0===t.tag?(a=t[0],e(e=>{0===e||(0===e.tag?(o=e[0])(0):(s=!0,o(1),a(1),i(0)))})):i(t))}),i(r(e=>{1!==e||s?s||a(0):(s=!0,a(1),o(1))}))}},"takeWhile",0,function(e,r){return n=>i=>{var a=t,o=!1;n(t=>{o||(0===t?(o=!0,i(0)):0===t.tag?(a=t[0],i(t)):e(t[0])?i(t):(o=!0,r&&i(t),i(0),a(1)))})}},"tap",0,s,"toPromise",0,function(e){return new Promise(r=>{var n,i=t;e(e=>{0===e?Promise.resolve(n).then(r):0===e.tag?(i=e[0])(0):(n=e[0],i(0))})})}])},749679,e=>{"use strict";var t=e.i(655131),r=e.i(931843),n=e.i(833546),i=e.i(144543),a=e.i(610686),o=e.i(854583),s=e.i(191788),l=e.i(746530);let c=e=>!!e&&(null!=e.networkError||e.graphQLErrors?.length!==0);async function u(e,t){let r=await e.query(t.query,(0,o.merge)({},t.variables)).toPromise();return d(r,e),{...r,data:f(r.data)}}function d(e,r){if(!e.error)return;let{graphQLErrors:a,networkError:o,name:s,message:l,response:u}=e.error;if(o)throw(0,i.isBrowser)()||(0,n.captureException)(e.error,u),r.reset(e.error),new t.ServerError(s,l);if(a.length>0){if(a.some(e=>e.extensions?.contentful?.code==="RATE_LIMIT_EXCEEDED"))throw r.reset("Rate limit exceeded"),new t.RateLimitError("Contentful rate limit exceeded after retries",JSON.stringify(a,null,4));let e=`GraphQL Errors: ${JSON.stringify(a,null,4)}`;throw r.reset(e),new t.BadRequestError(e,l)}c(e.error)&&(0,n.captureException)(e.error)}function f(e){return e?(0,a.produce)(e,e=>{(0,r.omit)(e,e=>null==e)}):e}e.s(["isFatalError",0,c,"makeQueryFunction",0,function(e){return async function(t,r){let n=await t.query(e.query,(0,o.merge)({},e.variables,r?.variables)).toPromise();return d(n,t),{...n,data:f(n.data)}}},"makeUseQueryHook",0,function(e){return function(t){let r=(0,s.useContext)(l.Context),[n]=(0,l.useQuery)((0,o.merge)({},e,t));return d(n,r),{...n,data:f(n.data)}}},"requestQuery",0,u])},655131,610686,854583,e=>{"use strict";var t,r=e.i(144543),n=e.i(430899);
3class i extends Error{statusCode;description;constructor(e,t,r){super((0,n.trimToUndefined)(r)??t),this.statusCode=e,this.description=t}static async try(e,t){try{await t()}catch(t){if(t instanceof i&&e.res&&(e.res.statusCode=t.statusCode),!(t instanceof a)){if(t instanceof Error)throw t;throw Error(`A non-error was thrown: ${t}`)}if((0,r.isBrowser)())return void t.handleOnClient(e);e.res&&t.handleOnServer(e)}}}class a extends i{link;constructor(e,t){super(302,void 0,t),this.link=e}handleOnClient(e){let{router:t}=e;this.link.query={...t.query,...this.link.query},t.replace(this.link.serialize(t))}handleOnServer(e){let{res:t,query:r}=e;t.statusCode=302,this.link.query={...r,...this.link.query},t.writeHead(302,{Location:encodeURI(this.link.serialize())}),t.end()}toNextProps(){return{redirect:{destination:this.link.serialize(),permanent:!1}}}}e.s(["BadRequestError",0,class extends i{constructor(e,t){super(400,e,t)}},"RateLimitError",0,class extends i{constructor(e,t){super(429,e??"Too many requests",t)}toNextProps(){return{redirect:{destination:"/504",permanent:!1}}}},"RedirectError",0,a,"ServerError",0,class extends i{constructor(e="Internal server error",t,r){super(500,e,t),this.stack=r}}],655131);var o=Symbol.for("immer-nothing"),s=Symbol.for("immer-draftable"),l=Symbol.for("immer-state");function c(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var u=Object,d=u.getPrototypeOf,f="constructor",h="prototype",p="configurable",v="enumerable",y="writable",g="value",m=e=>!!e&&!!e[l];function _(e){return!!e&&(k(e)||N(e)||!!e[s]||!!e[f]?.[s]||O(e)||I(e))}var b=u[h][f].toString(),S=new WeakMap;function k(e){if(!e||!P(e))return!1;let t=d(e);if(null===t||t===u[h])return!0;let r=u.hasOwnProperty.call(t,f)&&t[f];if(r===Object)return!0;if(!T(r))return!1;let n=S.get(r);return void 0===n&&(n=Function.toString.call(r),S.set(r,n)),n===b}function w(e,t){let r=!(arguments.length>2)||void 0===arguments[2]||arguments[2];0===A(e)?(r?Reflect.ownKeys(e):u.keys(e)).forEach(r=>{t(r,e[r],e)}):e.forEach((r,n)=>t(n,r,e))}function A(e){let t=e[l];return t?t.type_:N(e)?1:O(e)?2:3*!!I(e)}var x=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A(e);return 2===r?e.has(t):u[h].hasOwnProperty.call(e,t)},C=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:A(e);return 2===r?e.get(t):e[t]},E=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:A(e);2===n?e.set(t,r):3===n?e.add(r):e[t]=r},N=Array.isArray,O=e=>e instanceof Map,I=e=>e instanceof Set,P=e=>"object"==typeof e,T=e=>"function"==typeof e,D=e=>e.modified_?e.copy_:e.base_;function F(e,t){if(O(e))return new Map(e);if(I(e))return new Set(e);if(N(e))return Array[h].slice.call(e);let r=k(e);if(!0!==t&&("class_only"!==t||r)){let t=d(e);if(null!==t&&r)return{...e};let n=u.create(t);return u.assign(n,e)}{let t=u.getOwnPropertyDescriptors(e);delete t[l];let r=Reflect.ownKeys(t);for(let n=0;n<r.length;n++){let i=r[n],a=t[i];!1===a[y]&&(a[y]=!0,a[p]=!0),(a.get||a.set)&&(t[i]={[p]:!0,[y]:!0,[v]:a[v],[g]:e[i]})}return u.create(d(e),t)}}function V(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return q(e)||m(e)||!_(e)||(A(e)>1&&u.defineProperties(e,{set:L,add:L,clear:L,delete:L}),u.freeze(e),t&&w(e,(e,t)=>{V(t,!0)},!1)),e}var L={[g]:function(){c(2)}};function q(e){return!(null!==e&&P(e))||u.isFrozen(e)}var M="MapSet",R="Patches",j="ArrayMethods",z={};function Q(e){let t=z[e];return t||c(0,e),t}var U=e=>!!z[e];function B(e,t){t&&(e.patchPlugin_=Q(R),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function $(e){G(e),e.drafts_.forEach(K),e.drafts_=null}function G(e){e===t&&(t=e.parent_)}var J=e=>t={drafts_:[],parent_:t,immer_:e,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:U(M)?Q(M):void 0,arrayMethodsPlugin_:U(j)?Q(j):void 0};function K(e){let t=e[l];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function W(e,t){t.unfinalizedDrafts_=t.drafts_.length;let r=t.drafts_[0];if(void 0!==e&&e!==r){r[l].modified_&&($(t),c(4)),_(e)&&(e=Y(t,e));let{patchPlugin_:n}=t;n&&n.generateReplacementPatches_(r[l].base_,e,t)}else e=Y(t,r);return function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&V(t,r)}(t,e,!0),$(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==o?e:void 0}function Y(e,t){if(q(t))return t;let r=t[l];if(!r)return er(t,e.handledSet_,e);if(!X(r,e))return t;if(!r.modified_)return r.base_;if(!r.finalized_){let{callbacks_:t}=r;if(t)for(;t.length>0;)t.pop()(e);et(r,e)}return r.copy_}function H(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var X=(e,t)=>e.scope_===t,Z=[];function ee(e,t,r,n){let i=e.copy_||e.base_,a=e.type_;if(void 0!==n&&C(i,n,a)===t)return void E(i,n,r,a);if(!e.draftLocations_){let t=e.draftLocations_=new Map;w(i,(e,r)=>{if(m(r)){let n=t.get(r)||[];n.push(e),t.set(r,n)}})}for(let n of e.draftLocations_.get(t)??Z)E(i,n,r,a)}function et(e,t){if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(e.assigned_?.size??0)>0)){let{patchPlugin_:r}=t;if(r){let n=r.getPath(e);n&&r.generatePatches_(e,n,t)}H(e)}}function er(e,t,r){return!r.immer_.autoFreeze_&&r.unfinalizedDrafts_<1||m(e)||t.has(e)||!_(e)||q(e)||(t.add(e),w(e,(n,i)=>{if(m(i)){let t=i[l];X(t,r)&&(E(e,n,D(t),e.type_),H(t))}else _(i)&&er(i,t,r)})),e}var en={get(e,t){var r,n,i,a;let o;if(t===l)return e;let s=e.scope_.arrayMethodsPlugin_,c=1===e.type_&&"string"==typeof t;if(c&&s?.isArrayOperationMethod(t))return s.createMethodInterceptor(e,t);let u=e.copy_||e.base_;if(!x(u,t,e.type_)){let n;return r=e,(n=eo(u,t))?g in n?n[g]:n.get?.call(r.draft_):void 0}let d=u[t];if(e.finalized_||!_(d)||c&&e.operationMethod&&s?.isMutatingArrayMethod(e.operationMethod)&&Number.isInteger(o=+t)&&String(o)===t)return d;if(d===ea(e.base_,t)||(n=e,i=t,a=d,!(1!==n.type_||!n.allIndicesReassigned_||n.assigned_?.get(i))&&_(a)&&!a[l]&&n.baseRefs_.has(a))){el(e);let r=1===e.type_?+t:t,n=eu(e.scope_,d,e,r);return e.copy_[r]=n}return d},has:(e,t)=>t in(e.copy_||e.base_),ownKeys:e=>Reflect.ownKeys(e.copy_||e.base_),set(e,t,r){let n=eo(e.copy_||e.base_,t);if(n?.set)return n.set.call(e.draft_,r),!0;if(!e.modified_){let n=ea(e.copy_||e.base_,t),i=n?.[l];if(i&&i.base_===r)return e.copy_[t]=r,e.assigned_.set(t,!1),!0;if((r===n?0!==r||1/r==1/n:r!=r&&n!=n)&&(void 0!==r||x(e.base_,t,e.type_)))return!0;el(e),es(e)}return!!(e.copy_[t]===r&&(void 0!==r||x(e.copy_,t,e.type_))||Number.isNaN(r)&&Number.isNaN(e.copy_[t]))||
3(e.copy_[t]=r,e.assigned_.set(t,!0),!function(e,t,r){let{scope_:n}=e;if(m(r)){let i=r[l];X(i,n)&&i.callbacks_.push(function(){el(e),ee(e,r,D(i),t)})}else _(r)&&e.callbacks_.push(function(){let i=e.copy_||e.base_;3===e.type_?i.has(r)&&er(r,n.handledSet_,n):C(i,t,e.type_)===r&&n.drafts_.length>1&&(e.assigned_.get(t)??!1)===!0&&e.copy_&&er(C(e.copy_,t,e.type_),n.handledSet_,n)})}(e,t,r),!0)},deleteProperty:(e,t)=>(el(e),void 0!==ea(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),es(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let r=e.copy_||e.base_,n=Reflect.getOwnPropertyDescriptor(r,t);return n?{[y]:!0,[p]:1!==e.type_||"length"!==t,[v]:n[v],[g]:r[t]}:n},defineProperty(){c(11)},getPrototypeOf:e=>d(e.base_),setPrototypeOf(){c(12)}},ei={};for(let e in en){let t=en[e];ei[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}function ea(e,t){let r=e[l];return(r?r.copy_||r.base_:e)[t]}function eo(e,t){if(!(t in e))return;let r=d(e);for(;r;){let e=Object.getOwnPropertyDescriptor(r,t);if(e)return e;r=d(r)}}function es(e){!e.modified_&&(e.modified_=!0,e.parent_&&es(e.parent_))}function el(e){e.copy_||(e.assigned_=new Map,e.copy_=F(e.base_,e.scope_.immer_.useStrictShallowCopy_))}ei.deleteProperty=function(e,t){return ei.set.call(this,e,t,void 0)},ei.set=function(e,t,r){return en.set.call(this,e[0],t,r,e[0])};var ec=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,r)=>{let n;if(T(e)&&!T(t)){let r=t;t=e;let n=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r;for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return n.produce(e,e=>t.call(this,e,...a))}}if(T(t)||c(6),void 0===r||T(r)||c(7),_(e)){let i=J(this),a=eu(i,e,void 0),o=!0;try{n=t(a),o=!1}finally{o?$(i):G(i)}return B(i,r),W(n,i)}if(e&&P(e))c(1,e);else{if(void 0===(n=t(e))&&(n=e),n===o&&(n=void 0),this.autoFreeze_&&V(n,!0),r){let t=[],i=[];Q(R).generateReplacementPatches_(e,n,{patches_:t,inversePatches_:i}),r(t,i)}return n}},this.produceWithPatches=(e,t)=>{let r,n;if(T(e)){var i=this;return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return i.produceWithPatches(t,t=>e(t,...n))}}return[this.produce(e,t,(e,t)=>{r=e,n=t}),r,n]},(e=>"boolean"==typeof e)(e?.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),(e=>"boolean"==typeof e)(e?.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),(e=>"boolean"==typeof e)(e?.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}createDraft(e){var t;_(e)||c(8),m(e)&&(m(t=e)||c(10,t),e=function e(t){let r;if(!_(t)||q(t))return t;let n=t[l],i=!0;if(n){if(!n.modified_)return n.base_;n.finalized_=!0,r=F(t,n.scope_.immer_.useStrictShallowCopy_),i=n.scope_.immer_.shouldUseStrictIteration()}else r=F(t,!0);return w(r,(t,n)=>{E(r,t,e(n))},i),n&&(n.finalized_=!1),r}(t));let r=J(this),n=eu(r,e,void 0);return n[l].isManual_=!0,G(r),n}finishDraft(e,t){let r=e&&e[l];r&&r.isManual_||c(9);let{scope_:n}=r;return B(n,t),W(void 0,n)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let r;for(r=t.length-1;r>=0;r--){let n=t[r];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}r>-1&&(t=t.slice(r+1));let n=Q(R).applyPatches_;return m(e)?n(e,t):this.produce(e,e=>n(e,t))}};function eu(e,r,n,i){let[a,o]=O(r)?Q(M).proxyMap_(r,n):I(r)?Q(M).proxySet_(r,n):function(e,r){let n=N(e),i={type_:+!!n,scope_:r?r.scope_:t,modified_:!1,finalized_:!1,assigned_:void 0,parent_:r,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},a=i,o=en;n&&(a=[i],o=ei);let{revoke:s,proxy:l}=Proxy.revocable(a,o);return i.draft_=l,i.revoke_=s,[l,i]}(r,n);if((n?.scope_??t).drafts_.push(a),o.callbacks_=n?.callbacks_??[],o.key_=i,n&&void 0!==i)n.callbacks_.push(function(e){if(!o||!X(o,e))return;e.mapSetPlugin_?.fixSetContents(o);let t=D(o);
3ee(n,o.draft_??o,t,i),et(o,e)});else o.callbacks_.push(function(e){e.mapSetPlugin_?.fixSetContents(o);let{patchPlugin_:t}=e;o.modified_&&t&&t.generatePatches_(o,[],e)});return a}var ed=globalThis.Iterator;ed?.from;var ef=new ec().produce;e.s(["produce",0,ef],610686);var eh=e.i(608554),ep=(0,e.i(344948).default)(function(e,t,r){(0,eh.default)(e,t,r)});e.s(["merge",0,ep],854583)}]); 4 5//# debugId=82b0ac37-1bf3-340e-fc0e-ba193f80ad01
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.