(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,176246,e=>{"use strict";e.s(["useEventProvider",()=>s],176246);let t=(0,e.i(985016).create)((e,t)=>({setOriginalUrl:t=>{e({originalUrl:t})},isReady:!1,setIsReady:t=>{e({isReady:t})},queue:[],addToQueue:n=>{e({queue:[...t().queue,n]})},addFirstInQueue:n=>{e({queue:[n,...t().queue]})},resetQueue:()=>{e({queue:[]})}}));var n=e.i(210977),r=e.i(887272),i=e.i(831393);let s=()=>{let e=(0,n.usePathname)(),s=e.match(RegExp(/^\/\w{2}-\w{2}/,"ig"))?e.split("/")[1].split("-"):null,l=t(e=>e.originalUrl),a=(0,r.useMemo)(()=>{let t;return i.isBrowser&&(t="".concat(window.location.origin).concat(e)),{trackers:[],environment:null!==i.environmentName&&void 0!==i.environmentName?i.environmentName:"dev",originalUrl:t,isReady:!0}},[]),o=(0,r.useMemo)(()=>({currentLanguage:null==s?void 0:s[0],currentMarket:null==s?void 0:s[1]}),[s]);return{value:{...a,...o,...!!l&&{originalUrl:l}}}}},950936,e=>{"use strict";e.s([],950936),e.i(486897),e.i(688997),e.i(187048),e.i(176246),e.i(384891)},384812,e=>{"use strict";e.s(["cubicBezier",()=>r]);var t=e.i(264024);let n=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function r(e,r,i,s){return e===r&&i===s?t.noop:t=>0===t||1===t?t:n(function(e,t,r,i,s){let l,a,o=0;do(l=n(a=t+(r-t)/2,i,s)-e)>0?r=a:t=a;while(Math.abs(l)>1e-7&&++o<12)return a}(t,0,1,e,i),r,s)}},49123,e=>{"use strict";e.s(["millisecondsToSeconds",()=>n,"secondsToMilliseconds",()=>t]);let t=e=>1e3*e,n=e=>e/1e3},411045,654370,e=>{"use strict";e.s(["keyframes",()=>w],411045);var t=e.i(384812);let n=(0,t.cubicBezier)(.42,0,1,1),r=(0,t.cubicBezier)(0,0,.58,1),i=(0,t.cubicBezier)(.42,0,.58,1);e.s(["isEasingArray",()=>s],654370);let s=e=>Array.isArray(e)&&"number"!=typeof e[0];var l=e.i(327141),a=e.i(264024);let o=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,u=e=>t=>1-e(1-t),c=e=>1-Math.sin(Math.acos(e)),d=u(c),f=o(c),h=(0,t.cubicBezier)(.33,1.53,.69,.99),v=u(h),p=o(v),y={linear:a.noop,easeIn:n,easeInOut:i,easeOut:r,circIn:c,circInOut:f,circOut:d,backIn:v,backInOut:p,backOut:h,anticipate:e=>(e*=2)<1?.5*v(e):.5*(2-Math.pow(2,-10*(e-1)))},m=e=>{if(Array.isArray(e)){(0,l.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[n,r,i,s]=e;return(0,t.cubicBezier)(n,r,i,s)}return"string"==typeof e?((0,l.invariant)(void 0!==y[e],"Invalid easing type '".concat(e,"'")),y[e]):e};var b=e.i(840636),g=e.i(89927);function w(e){var t;let{duration:n=300,keyframes:r,times:l,ease:a="easeInOut"}=e,o=s(a)?a.map(m):m(a),u={done:!1,value:r[0]},c=(t=l&&l.length===r.length?l:(0,g.defaultOffset)(r),t.map(e=>e*n)),d=(0,b.interpolate)(c,r,{ease:Array.isArray(o)?o:r.map(()=>o||i).splice(0,r.length-1)});return{calculatedDuration:n,next:e=>(u.value=d(e),u.done=e>=n,u)}}},150050,831931,737957,e=>{"use strict";e.s(["animateValue",()=>g],150050),e.i(486897);var t=e.i(411045);e.s(["spring",()=>d],831931);var n=e.i(49123),r=e.i(843356);function i(e,t,n){let i=Math.max(t-5,0);return(0,r.velocityPerSecond)(n-e(i),t-i)}var s=e.i(327141),l=e.i(565675);function a(e,t){return e*Math.sqrt(1-t*t)}let o=["duration","bounce"],u=["stiffness","damping","mass"];function c(e,t){return t.some(t=>void 0!==e[t])}function d(e){let t,{keyframes:r,restDelta:d,restSpeed:f,...h}=e,v=r[0],p=r[r.length-1],y={done:!1,value:v},{stiffness:m,damping:b,mass:g,duration:w,velocity:M,isResolvedFromDuration:_}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!c(e,u)&&c(e,o)){let r=function(e){let t,r,{duration:i=800,bounce:o=.25,velocity:u=0,mass:c=1}=e;(0,s.warning)(i<=(0,n.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less");let d=1-o;d=(0,l.clamp)(.05,1,d),i=(0,l.clamp)(.01,10,(0,n.millisecondsToSeconds)(i)),d<1?(t=e=>{let t=e*d,n=t*i;return .001-(t-u)/a(e,d)*Math.exp(-n)},r=e=>{let n=e*d*i,r=Math.pow(d,2)*Math.pow(e,2)*i,s=Math.exp(-n),l=a(Math.pow(e,2),d);return(n*u+u-r)*s*(-t(e)+.001>0?-1:1)/l}):(t=e=>-.001+Math.exp(-e*i)*((e-u)*i+1),r=e=>i*i*(u-e)*Math.exp(-e*i));let f=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(t,r,5/i);if(i=(0,n.secondsToMilliseconds)(i),isNaN(f))return{stiffness:100,damping:10,duration:i};{let e=Math.pow(f,2)*c;return{stiffness:e,damping:2*d*Math.sqrt(c*e),duration:i}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...h,velocity:-(0,n.millisecondsToSeconds)(h.velocity||0)}),k=M||0,O=b/(2*Math.sqrt(m*g)),x=p-v,E=(0,n.millisecondsToSeconds)(Math.sqrt(m/g)),S=5>Math.abs(x);if(f||(f=S?.01:2),d||(d=S?.005:.5),O<1){let e=a(E,O);t=t=>p-Math.exp(-O*E*t)*((k+O*E*x)/e*Math.sin(e*t)+x*Math.cos(e*t))}else if(1===O)t=e=>p-Math.exp(-E*e)*(x+(k+E*x)*e);else{let e=E*Math.sqrt(O*O-1);t=t=>{let n=Math.exp(-O*E*t),r=Math.min(e*t,300);return p-n*((k+O*E*x)*Math.sinh(r)+e*x*Math.cosh(r))/e}}return{calculatedDuration:_&&w||null,next:e=>{let n=t(e);if(_)y.done=e>=w;else{let r=k;0!==e&&(r=O<1?i(t,e,n):0);let s=Math.abs(p-n)<=d;y.done=Math.abs(r)<=f&&s}return y.value=y.done?p:n,y}}}function f(e){let t,n,{keyframes:r,velocity:s=0,power:l=.8,timeConstant:a=325,bounceDamping:o=10,bounceStiffness:u=500,modifyTarget:c,min:f,max:h,restDelta:v=.5,restSpeed:p}=e,y=r[0],m={done:!1,value:y},b=l*s,g=y+b,w=void 0===c?g:c(g);w!==g&&(b=w-y);let M=e=>-b*Math.exp(-e/a),_=e=>w+M(e),k=e=>{let t=M(e),n=_(e);m.done=Math.abs(t)<=v,m.value=m.done?w:n},O=e=>{let r;if(r=m.value,void 0!==f&&rh){var s;t=e,n=d({keyframes:[m.value,(s=m.value,void 0===f?h:void 0===h||Math.abs(f-s){let r=!1;return(n||void 0!==t||(r=!0,k(e),O(e)),void 0!==t&&e>t)?n.next(e-t):(r||k(e),m)}}}var h=e.i(527482);let v=e=>{let t=t=>{let{timestamp:n}=t;return e(n)};return{start:()=>h.frame.update(t,!0),stop:()=>(0,h.cancelFrame)(t),now:()=>h.frameData.isProcessing?h.frameData.timestamp:performance.now()}};var p=e.i(840636);e.s(["calcGeneratorDuration",()=>m,"maxGeneratorDuration",()=>y],737957);let y=2e4;function m(e){let t=0,n=e.next(t);for(;!n.done&&t=y?1/0:t}let b={decay:f,inertia:f,tween:t.keyframes,keyframes:t.keyframes,spring:d};function g(e){let r,i,s,a,o,{autoplay:u=!0,delay:c=0,driver:d=v,keyframes:f,type:h="keyframes",repeat:y=0,repeatDelay:g=0,repeatType:w="loop",onPlay:M,onStop:_,onComplete:k,onUpdate:O,...x}=e,E=1,S=!1,P=()=>{i=new Promise(e=>{r=e})};P();let T=b[h]||t.keyframes;T!==t.keyframes&&"number"!=typeof f[0]&&(a=(0,p.interpolate)([0,100],f,{clamp:!1}),f=[0,100]);let j=T({...x,keyframes:f});"mirror"===w&&(o=T({...x,keyframes:[...f].reverse(),velocity:-(x.velocity||0)}));let I="idle",C=null,L=null,q=null;null===j.calculatedDuration&&y&&(j.calculatedDuration=m(j));let{calculatedDuration:A}=j,D=1/0,F=1/0;null!==A&&(F=(D=A+g)*(y+1)-g);let R=0,z=e=>{if(null===L)return;E>0&&(L=Math.min(L,e)),E<0&&(L=Math.min(e-F/E,L));let t=(R=null!==C?C:Math.round(e-L)*E)-c*(E>=0?1:-1),n=E>=0?t<0:t>F;R=Math.max(t,0),"finished"===I&&null===C&&(R=F);let r=R,i=j;if(y){let e=Math.min(R,F)/D,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,y+1))%2&&("reverse"===w?(n=1-n,g&&(n-=g/D)):"mirror"===w&&(i=o)),r=(0,l.clamp)(0,1,n)*D}let s=n?{done:!1,value:f[0]}:i.next(r);a&&(s.value=a(s.value));let{done:u}=s;n||null===A||(u=E>=0?R>=F:R<=0);let d=null===C&&("finished"===I||"running"===I&&u);return O&&O(s.value),d&&U(),s},B=()=>{s&&s.stop(),s=void 0},N=()=>{I="idle",B(),r(),P(),L=q=null},U=()=>{I="finished",k&&k(),B(),r()},K=()=>{if(S)return;s||(s=d(z));let e=s.now();M&&M(),null!==C?L=e-C:L&&"finished"!==I||(L=e),"finished"===I&&P(),q=L,C=null,I="running",s.start()};u&&K();let H={then:(e,t)=>i.then(e,t),get time(){return(0,n.millisecondsToSeconds)(R)},set time(newTime){R=newTime=(0,n.secondsToMilliseconds)(newTime),null===C&&s&&0!==E?L=s.now()-newTime/E:C=newTime},get duration(){let e=null===j.calculatedDuration?m(j):j.calculatedDuration;return(0,n.millisecondsToSeconds)(e)},get speed(){return E},set speed(newSpeed){if(newSpeed===E||!s)return;E=newSpeed,H.time=(0,n.millisecondsToSeconds)(R)},get state(){return I},play:K,pause:()=>{I="paused",C=R},stop:()=>{S=!0,"idle"!==I&&(I="idle",_&&_(),N())},cancel:()=>{null!==q&&z(q),N()},complete:()=>{I="finished"},sample:e=>(L=0,z(e))};return H}},396624,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{cancelIdleCallback:function(){return i},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},i="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},572069,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{default:function(){return m},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return p}});let r=e.r(481258),i=e.r(744066),s=e.r(688997),l=r._(e.r(403426)),a=i._(e.r(887272)),o=e.r(24582),u=e.r(555780),c=e.r(396624),d=new Map,f=new Set,h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:a="",strategy:o="afterInteractive",onError:c,stylesheets:h}=e,v=n||t;if(v&&f.has(v))return;if(d.has(t)){f.add(v),d.get(t).then(r,c);return}let p=()=>{i&&i(),f.add(v)},y=document.createElement("script"),m=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),r&&r.call(this,t),p()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});s?(y.innerHTML=s.__html||"",p()):a?(y.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",p()):t&&(y.src=t,d.set(t,m)),(0,u.setAttributesFromProps)(y,e),"worker"===o&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",o),h&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(h),document.body.appendChild(y)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}):h(e)}function p(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function y(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:d,stylesheets:v,...p}=e,{updateScripts:y,scripts:m,getIsSsr:b,appDir:g,nonce:w}=(0,a.useContext)(o.HeadManagerContext);w=p.nonce||w;let M=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;M.current||(i&&e&&f.has(e)&&i(),M.current=!0)},[i,t,n]);let _=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{if(!_.current){if("afterInteractive"===u)h(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>h(e))}));_.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(y?(m[u]=(m[u]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:d,...p,nonce:w}]),y(m)):b&&b()?f.add(t||n):b&&!b()&&h({...e,nonce:w})),g){if(v&&v.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p,id:t}])+")"}});else return l.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...p,id:t}])+")"}});"afterInteractive"===u&&n&&l.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let m=y;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},115701,970049,e=>{"use strict";e.s(["initPrefersReducedMotion",()=>i],115701);var t=e.i(428343);e.s(["hasReducedMotionListener",()=>r,"prefersReducedMotion",()=>n],970049);let n={current:null},r={current:!1};function i(){if(r.current=!0,t.isBrowser)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>n.current=e.matches;e.addListener(t),t()}else n.current=!1}},42297,474754,e=>{"use strict";function t(e,t,n){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return n}e.s(["_",()=>t],42297),e.s(["_",()=>r],474754);var n=e.i(463075);function r(e,t){(0,n._)(e,t),t.add(e)}},868275,e=>{"use strict";function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.s(["_",()=>t])},463075,e=>{"use strict";function t(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}e.s(["_",()=>t])},376054,473471,303069,136927,54763,550475,e=>{"use strict";function t(e,t){return t.get?t.get.call(e):t.value}function n(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function r(e,r){var i=n(e,r,"get");return t(e,i)}e.s(["_",()=>r],376054),e.s(["_",()=>t],473471),e.s(["_",()=>n],303069),e.s(["_",()=>s],136927);var i=e.i(463075);function s(e,t,n){(0,i._)(e,t),t.set(e,n)}function l(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}function a(e,t,r){var i=n(e,t,"set");return l(e,i,r),r}e.s(["_",()=>a],550475),e.s(["_",()=>l],54763)},382717,e=>{"use strict";e.s(["FrameProvider",()=>s,"useFrameContext",()=>l]);var t=e.i(688997),n=e.i(187048),r=e.i(887272);let i=(0,r.createContext)({});function s(e){let r,s=(0,n.c)(3),{children:l,frame:a}=e;if(!a)throw Error("[FrameProvider] No frame provided.");return s[0]!==l||s[1]!==a?(r=(0,t.jsx)(i.Provider,{value:a,children:l}),s[0]=l,s[1]=a,s[2]=r):r=s[2],r}let l=()=>(0,r.useContext)(i)},681701,e=>{"use strict";e.s(["locales",()=>t]);let t=["cs-cz","da-dk","de-at","de-ch","de-de","el-gr","en-ae","en-au","en-bh","en-ca","en-cy","en-ee","en-es","en-gb","en-hk","en-hr","en-id","en-ie","en-in","en-it","en-ke","en-kr","en-lb","en-lt","en-lv","en-mt","en-my","en-ng","en-nz","en-ph","en-qa","en-ro","en-sa","en-sg","en-th","en-us","en-vn","en-za","es-ar","es-cl","es-co","es-cr","es-ec","es-mx","es-pa","es-pe","es-uy","es-ve","fi-fi","fr-be","fr-ca","fr-ci","fr-fr","fr-lu","hu-hu","ja-jp","nl-be","nl-nl","pl-pl","pt-pt","ru-ru","sk-sk","sv-se","uk-ua","zh-cn","zh-tw","es-es","no-no"]},316628,812456,568579,207761,985326,37171,e=>{"use strict";e.s(["addToEnd",()=>O,"addToStart",()=>x,"functionalUpdate",()=>u,"hashKey",()=>p,"hashQueryKeyByOptions",()=>v,"isServer",()=>a,"isValidTimeout",()=>c,"keepPreviousData",()=>k,"matchMutation",()=>h,"matchQuery",()=>f,"noop",()=>o,"partialMatchKey",()=>y,"replaceData",()=>_,"shallowEqualObjects",()=>m,"sleep",()=>M,"timeUntilStale",()=>d],316628);var t,n,r,i,s,l,a="undefined"==typeof window||"Deno"in window;function o(){}function u(e,t){return"function"==typeof e?e(t):e}function c(e){return"number"==typeof e&&e>=0&&e!==1/0}function d(e,t){return Math.max(e+(t||0)-Date.now(),0)}function f(e,t){let{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:l,stale:a}=e;if(l){if(r){if(t.queryHash!==v(l,t.options))return!1}else if(!y(t.queryKey,l))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof a||t.isStale()===a)&&(void 0===i||i===t.state.fetchStatus)&&(!s||!!s(t))}function h(e,t){let{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(p(t.options.mutationKey)!==p(s))return!1}else if(!y(t.options.mutationKey,s))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))}function v(e,t){return((null==t?void 0:t.queryKeyHashFn)||p)(e)}function p(e){return JSON.stringify(e,(e,t)=>g(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function y(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(n=>!y(e[n],t[n]))}function m(e,t){if(e&&!t||t&&!e)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function b(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function g(e){if(!w(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function M(e){return new Promise(t=>{setTimeout(t,e)})}function _(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?function e(t,n){if(t===n)return t;let r=b(t)&&b(n);if(r||g(t)&&g(n)){let i=r?t:Object.keys(t),s=i.length,l=r?n:Object.keys(n),a=l.length,o=r?[]:{},u=0;for(let s=0;s2&&void 0!==arguments[2]?arguments[2]:0,r=[...e,t];return n&&r.length>n?r.slice(1):r}function x(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}e.s(["notifyManager",()=>E],812456);var E=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=e=>setTimeout(e,0),s=r=>{t?e.push(r):i(()=>{n(r)})};return{batch:s=>{let l;t++;try{l=s()}finally{--t||(()=>{let t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return l},batchCalls:e=>function(){for(var t=arguments.length,n=Array(t),r=0;r{e(...n)})},schedule:s,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}();e.s(["canFetch",()=>q,"createRetryer",()=>F,"isCancelledError",()=>D],37171),e.s(["focusManager",()=>I],207761);var S=e.i(376054),P=e.i(136927),T=e.i(550475);e.s(["Subscribable",()=>j],568579);var j=class{subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}},I=new(t=new WeakMap,n=new WeakMap,r=new WeakMap,class extends j{onSubscribe(){(0,S._)(this,n)||this.setEventListener((0,S._)(this,r))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=(0,S._)(this,n))||e.call(this),(0,T._)(this,n,void 0))}setEventListener(e){var t;(0,T._)(this,r,e),null==(t=(0,S._)(this,n))||t.call(this),(0,T._)(this,n,e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){(0,S._)(this,t)!==e&&((0,T._)(this,t,e),this.onFocus())}onFocus(){this.listeners.forEach(e=>{e()})}isFocused(){var e;return"boolean"==typeof(0,S._)(this,t)?(0,S._)(this,t):(null==(e=globalThis.document)?void 0:e.visibilityState)!=="hidden"}constructor(){super(),(0,P._)(this,t,{writable:!0,value:void 0}),(0,P._)(this,n,{writable:!0,value:void 0}),(0,P._)(this,r,{writable:!0,value:void 0}),(0,T._)(this,r,e=>{if(!a&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}})}});e.s(["onlineManager",()=>C],985326);var C=new(i=new WeakMap,s=new WeakMap,l=new WeakMap,class extends j{onSubscribe(){(0,S._)(this,s)||this.setEventListener((0,S._)(this,l))}onUnsubscribe(){var e;this.hasListeners()||(null==(e=(0,S._)(this,s))||e.call(this),(0,T._)(this,s,void 0))}setEventListener(e){var t;(0,T._)(this,l,e),null==(t=(0,S._)(this,s))||t.call(this),(0,T._)(this,s,e(this.setOnline.bind(this)))}setOnline(e){(0,S._)(this,i)!==e&&((0,T._)(this,i,e),this.listeners.forEach(t=>{t(e)}))}isOnline(){return(0,S._)(this,i)}constructor(){super(),(0,P._)(this,i,{writable:!0,value:!0}),(0,P._)(this,s,{writable:!0,value:void 0}),(0,P._)(this,l,{writable:!0,value:void 0}),(0,T._)(this,l,e=>{if(!a&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}})}});function L(e){return Math.min(1e3*2**e,3e4)}function q(e){return(null!=e?e:"online")!=="online"||C.isOnline()}var A=class{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}};function D(e){return e instanceof A}function F(e){let t,n,r,i=!1,s=0,l=!1,o=new Promise((e,t)=>{n=e,r=t}),u=()=>!I.isFocused()||"always"!==e.networkMode&&!C.isOnline(),c=r=>{if(!l){var i;l=!0,null==(i=e.onSuccess)||i.call(e,r),null==t||t(),n(r)}},d=n=>{if(!l){var i;l=!0,null==(i=e.onError)||i.call(e,n),null==t||t(),r(n)}},f=()=>new Promise(n=>{var r;t=e=>{let t=l||!u();return t&&n(e),t},null==(r=e.onPause)||r.call(e)}).then(()=>{if(t=void 0,!l){var n;null==(n=e.onContinue)||n.call(e)}}),h=()=>{let t;if(!l){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(c).catch(t=>{var n,r,o;if(l)return;let c=null!=(r=e.retry)?r:3*!a,v=null!=(o=e.retryDelay)?o:L,p="function"==typeof v?v(s,t):v,y=!0===c||"number"==typeof c&&s{if(u())return f()}).then(()=>{i?d(t):h()})})}};return q(e.networkMode)?h():f().then(h),{promise:o,cancel:t=>{if(!l){var n;d(new A(t)),null==(n=e.abort)||n.call(e)}},continue:()=>(null==t?void 0:t())?o:Promise.resolve(),cancelRetry:()=>{i=!0},continueRetry:()=>{i=!1}}}},736477,e=>{"use strict";e.s(["QueryClientProvider",()=>i,"useQueryClient",()=>r]);var t=e.i(887272),n=t.createContext(void 0),r=e=>{let r=t.useContext(n);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r},i=e=>{let{client:r,children:i}=e;return t.useEffect(()=>(r.mount(),()=>{r.unmount()}),[r]),t.createElement(n.Provider,{value:r},i)}}]);