PageSourceSearch

https://www.recraft.ai/_next/static/chunks/0r7b7q4pq6wuv.js?dpl=35895827138-1

js recraft.ai collected 2026-09-24 08:29:20 UTC 45,801 bytes, 9 lines download raw bytes

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]="6842cebb-1345-14fc-bf53-3abe4656a1a1")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,210524,e=>{"use strict";var t=e.i(486533),n=e.i(191788),i=e.i(410381);e.i(804554);var r=e.i(503534);e.s(["useSignOut",0,()=>({signOut:(0,n.useCallback)(async e=>{let n;r.toast.dismiss(),await (0,t.signOut)({redirect:!1}),(n=new URL("https://id.recraft.ai/realms/recraft/protocol/openid-connect/logout")).searchParams.set("client_id","frontend-client"),n.searchParams.set("post_logout_redirect_uri",window.location.origin+(e||i.routes.main.url)),window.location.href=n.toString()},[])})],210524)},968008,e=>{"use strict";e.s(["AGE_VERIFICATION_TEST_IDS",0,{step:"age-verification-step",dateField:"age-verification-date-field",submit:"age-verification-submit",invalidDateError:"age-verification-invalid-date-error",restrictedScreen:"age-restricted-screen"},"AGE_VERIFY_COOLDOWN_DAYS",0,1,"AGE_VERIFY_REGISTRATION_THRESHOLD",0,"2026-08-15T00:00:00.000Z","DOB_MAX_AGE_YEARS",0,100,"MIN_AGE_YEARS",0,18])},88764,e=>{"use strict";var t,n=e.i(285307),i=e.i(9356),r=e.i(523986),o=e.i(728085),a=e.i(968008);let s=(0,r.parseISO)(a.AGE_VERIFY_REGISTRATION_THRESHOLD).getTime();var l=((t={}).Skipped="skipped",t.Unset="unset",t.Passed="passed",t.Failed="failed",t);e.s(["AgeGateState",()=>l,"readAgeGateState",0,({registrationTime:e,onboarding:t})=>{var a;if(!(({registrationTime:e})=>{if(!e)return!1;let t=(0,r.parseISO)(e).getTime();return!Number.isNaN(t)&&t>=s})({registrationTime:e}))return"skipped";let l=t?.[o.ONBOARDING.AGE_VERIFICATION];if(!l)return"unset";let u="object"!=typeof(a=l.data)||null===a?{}:{passed:"passed"in a&&"boolean"==typeof a.passed?a.passed:void 0,retryAvailableAt:"retryAvailableAt"in a&&"string"==typeof a.retryAvailableAt?a.retryAvailableAt:null};if(u.passed)return"passed";let c=u.retryAvailableAt?(0,r.parseISO)(u.retryAvailableAt):null;return c&&(0,i.isValid)(c)&&(0,n.isBefore)(new Date,c)?"failed":"unset"}],88764)},424084,e=>{"use strict";var t=e.i(391398),n=e.i(168489),i=e.i(191788),r=e.i(615264),o=e.i(329053),a=e.i(88764);let s=(0,n.default)(()=>e.A(860897).then(e=>e.AgeRestrictedScreen),{loadableGenerated:{modules:[893582]}});e.s(["AgeGateGuard",0,({children:e})=>{let{user:n,isFullUserFetching:l}=(0,o.useUser)(),u=(0,r.useFeatureFlags)("age-restrictions");return n&&u?l?null:(0,a.readAgeGateState)(n)===a.AgeGateState.Failed?(0,t.jsx)(i.Suspense,{fallback:null,children:(0,t.jsx)(s,{})}):e:e}])},771512,907900,898184,e=>{"use strict";var t=e.i(191788),n=e.i(514062);e.s(["useManageCookies",0,()=>{let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{window.DG_BANNER_API?i(!0):(window.dgEvent=window.dgEvent||[],window.dgEvent.push({event:"initial_preference_callback",params:()=>i(!0)}))},[]),(0,t.useMemo)(()=>({isInitialized:e,openCookiePreferences:()=>{(0,n.trackEvent)("SettingsManageCookiesClick"),window.DG_BANNER_API?.showLayer("categories-layer")}}),[e])}],907900);var i=e.i(291258);let r=".dg-consent-banner",o=()=>{let e;e=document.querySelector(r),e?.setAttribute(i.PERSISTENT_OVERLAY_ATTRIBUTE,"");let t=new MutationObserver(e=>{for(let t of e)for(let e of t.addedNodes)if(e instanceof Element&&e.matches(r))return void e.setAttribute(i.PERSISTENT_OVERLAY_ATTRIBUTE,"")});return t.observe(document.body,{childList:!0}),()=>t.disconnect()};e.s(["useMarkCookieBannerAsPersistentOverlay",0,()=>{(0,t.useEffect)(o,[])}],898184),e.s([],771512)},807011,e=>{"use strict";var t,n=e.i(391398),i=e.i(329053),r=e.i(285307),o=e.i(352819),a=e.i(191788);e.i(822111);var s=e.i(882140),l=e.i(785060),u=e.i(99221),c=e.i(138235);e.i(131666);var d=e.i(590264),f=e.i(476596),p=e.i(451877),h=e.i(90058);let m="2026-03-16";var g=((t={}).PersonalNoVideo="personal-no-video",t.PersonalWithVideo="personal-with-video",t.TeamAdmin="team-admin",t.TeamMember="team-member",t);let y=()=>{let e=(0,o.useTranslations)(),{plan:t,subscription:y,hasSubscription:v,isWorkspaceUser:w}=(0,i.useUser)(),{isAdmin:b,isBillingAdmin:_,isLoading:E}=(0,p.useCurrentWorkspace)(),O=(0,a.useRef)(null),{value:D,set:A,isLoading:S}=(0,c.useUserSettings)(u.SettingsKeyEnum.PRICING_PLANS_ACCEPTED),{open:C}=(0,l.useDialog)(),P=(0,h.useIsMobile)(),{mode:x}=(0,f.useMobilePurchaseOptions)({});return(0,a.useEffect)(()=>
2{if(S||E||!y?.createTime||O.current)return;let i=(0,r.isBefore)(y?.createTime,new Date(m)),o="string"!=typeof D||(0,r.isBefore)(new Date(D),new Date(m));if(!i||!v||!o)return;let a=(({segment:e,onAccept:t,openPricing:i,t:r})=>{let o={"personal-no-video":{description:r.rich("pricingPlansDialog.personalNoVideo.description",{b:e=>(0,n.jsx)("span",{className:"font-semibold",children:e})}),confirmLabel:r("pricingPlansDialog.personalNoVideo.primaryButton"),cancelLabel:r("pricingPlansDialog.personalNoVideo.secondaryButton"),hasCancel:!0,onConfirm:()=>{t(),i()},onCancel:t},"personal-with-video":{description:r.rich("pricingPlansDialog.personalWithVideo.description",{b:e=>(0,n.jsx)("span",{className:"font-semibold",children:e})}),confirmLabel:r("pricingPlansDialog.personalWithVideo.primaryButton"),cancelLabel:r("pricingPlansDialog.personalWithVideo.secondaryButton"),hasCancel:!0,onConfirm:()=>{t(),i()},onCancel:t},"team-admin":{description:r.rich("pricingPlansDialog.teamAdmin.description",{b:e=>(0,n.jsx)("span",{className:"font-semibold",children:e})}),confirmLabel:r("pricingPlansDialog.teamAdmin.primaryButton"),cancelLabel:r("pricingPlansDialog.teamAdmin.secondaryButton"),hasCancel:!0,onConfirm:()=>{t(),i()},onCancel:t},"team-member":{description:r.rich("pricingPlansDialog.teamMember.description",{b:e=>(0,n.jsx)("span",{className:"font-semibold",children:e})}),confirmLabel:r("pricingPlansDialog.teamMember.primaryButton"),hasCancel:!1,onConfirm:t}}[e];return{modal:s.Modals.ConfirmModal,config:{source:`pricing-plans-confirm-${m}-${e}`,titleLabel:r("pricingPlansDialog.titleLabel"),descriptionClassName:"text-left",titleClassName:"text-left",hasOverflow:!0,...o}}})({segment:w?b||_?g.TeamAdmin:g.TeamMember:t?.features.videoModels?g.PersonalWithVideo:g.PersonalNoVideo,onAccept:()=>A(m),t:e,openPricing:()=>{if(P){let e=(0,d.getUpgradeSubscriptionModal)(x);e&&C(e,{source:"overlay-on-pricing-plans-update"})}else C(s.Modals.PricingModal,{source:"overlay-on-pricing-plans-update"})}});O.current=C(a.modal,a.config).promise},[D,S,E,A,C,e,y?.createTime,t,v,w,b,_,P,x]),null};e.i(175739);var v=e.i(669577),w=e.i(554881);e.i(804554);var b=e.i(503534),_=e.i(896056);let E=({actionLabel:e,description:t,onAction:i,title:r})=>(0,n.jsxs)("div",{className:"flex w-full flex-col gap-3",children:[(0,n.jsx)("div",{children:r}),(0,n.jsx)("div",{className:"min-h-0 flex-1",children:t}),(0,n.jsx)(_.Button,{size:"s",className:"self-start",onClick:i,children:e})]}),O=({actionLabel:e,description:t,id:i,onAction:r,title:o})=>(0,b.toast)((0,n.jsx)(E,{actionLabel:e,description:t,onAction:r,title:o}),{id:i,position:"bottom-right",duration:1/0,dismissible:!1,classNames:{content:"w-full!",title:"w-full!"}});var D=e.i(556589),A=e.i(410381),S=e.i(628283);let C="2026-03-12",P="privacy-policy-update",x=({hasEligibleOnboarding:e,isRegistryReady:t})=>{let d=(0,h.useIsMobile)(),f=(0,o.useTranslations)(),{user:p}=(0,i.useUser)(),m=(0,a.useRef)(null),{set:g,value:y,isLoading:v}=(0,c.useUserSettings)(u.SettingsKeyEnum.PRIVACY_POLICY_ACCEPTED),{open:w}=(0,l.useDialog)();return(0,a.useEffect)(()=>{if(!t||e||!p?.registrationTime||v||m.current)return;let i=!!p?.registrationTime&&(0,r.isBefore)(p.registrationTime,new Date(C)),o="string"!=typeof y||(0,r.isBefore)(new Date(y),new Date(C));if(i&&o){let e=(({onConfirm:e,t})=>({modal:s.Modals.ConfirmModal,config:{source:`privacy-policy-confirm-${C}`,confirmLabel:t("privacyPolicyDialog.confirmLabel"),titleLabel:t("privacyPolicyDialog.titleLabel"),hasCancel:!1,hasOverflow:!0,description:t.rich("privacyPolicyDialog.description",{policy:e=>(0,n.jsx)(D.ExternalLink,{href:(0,S.generateAbsoluteUrl)({path:A.routes.legalPrivacy.url}),className:"text-accent-purple-1 no-underline",children:e})}),onConfirm:e}}))({onConfirm:()=>{g(C),b.toast.dismiss(P)},t:f});if(!d)return void O({actionLabel:e.config.confirmLabel,description:e.config.description,id:P,onAction:e.config.onConfirm,title:e.config.titleLabel});m.current=w(e.modal,e.config).promise}},[e,d,t,p,y,v,g,w,f]),null},R=()=>{let{hasEligibleCommunication:e,isRegistryReady:t}=(0,w.useHasEligibleInAppCommunication)(v.InAppCommunicationType.Onboarding);return(0,n.jsx)(x,{hasEligibleOnboarding:e,isRegistryReady:t})},T=()=>(0,n.jsx)(x,{hasEligibleOnboarding:!1,isRegistryReady:!0}),I="2026-08-11",j=["termsDialog.changeAge","termsDialog.changeRealPeople","termsDialog.changeUseFramework","termsDialog.changeSafety","termsDialog.changeInactive","termsDialog.changeDeveloper"],L="terms-update",M=({hasEligibleOnboarding:e,isRegistryReady:t})=>{let d=(0,h.useIsMobile)(),f=(0,o.useTranslations)(),{user:p}=(0,i.useUser)(),m=(0,a.useRef)(null),{set:g,value:y,isLoading:v}=(0,c.useUserSettings)(u.SettingsKeyEnum.TERMS_ACCEPTED),{open:w}=(0,l.useDialog)();return(0,a.useEffect)(()=>
2{if(!t||e||!p?.registrationTime||v||m.current)return;let i=!!p?.registrationTime&&(0,r.isBefore)(p.registrationTime,new Date(I)),o="string"!=typeof y||(0,r.isBefore)(new Date(y),new Date(I));if(i&&o){let e=(({onConfirm:e,t})=>({modal:s.Modals.ConfirmModal,config:{source:`terms-confirm-${I}`,confirmLabel:t("termsDialog.confirmLabel"),titleLabel:t("termsDialog.titleLabel"),hasCancel:!1,hasOverflow:!0,description:(0,n.jsxs)("div",{className:"flex flex-col gap-3 text-left",children:[(0,n.jsx)("p",{className:"m-0",children:t("termsDialog.intro")}),(0,n.jsx)("ul",{className:"m-0 space-y-2 pl-5",children:j.map(e=>(0,n.jsx)("li",{className:"list-disc",children:t(e)},e))}),(0,n.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,n.jsx)(D.ExternalLink,{href:(0,S.generateAbsoluteUrl)({path:A.routes.legalTerms.url}),className:"text-accent-purple-1 no-underline",children:t("termsDialog.viewTermsCta")}),(0,n.jsx)(D.ExternalLink,{href:(0,S.generateAbsoluteUrl)({path:A.routes.legalDeveloperTerms.url}),className:"text-accent-purple-1 no-underline",children:t("termsDialog.viewDeveloperTermsCta")})]})]}),onConfirm:e}}))({onConfirm:()=>{g(I),b.toast.dismiss(L)},t:f});if(!d)return void O({actionLabel:e.config.confirmLabel,description:e.config.description,id:L,onAction:e.config.onConfirm,title:e.config.titleLabel});m.current=w(e.modal,e.config).promise}},[e,d,t,p,y,v,g,w,f]),null},B=()=>{let{hasEligibleCommunication:e,isRegistryReady:t}=(0,w.useHasEligibleInAppCommunication)(v.InAppCommunicationType.Onboarding);return(0,n.jsx)(M,{hasEligibleOnboarding:e,isRegistryReady:t})},N=()=>(0,n.jsx)(M,{hasEligibleOnboarding:!1,isRegistryReady:!0}),k=({children:e})=>{let{user:t}=(0,i.useUser)();return t?(0,n.jsxs)(n.Fragment,{children:[e,(0,n.jsx)(y,{})]}):null};e.s(["DesktopPolicyAgreementOverlays",0,()=>(0,n.jsxs)(k,{children:[(0,n.jsx)(B,{}),(0,n.jsx)(R,{})]}),"PolicyAgreementOverlays",0,()=>(0,n.jsxs)(k,{children:[(0,n.jsx)(N,{}),(0,n.jsx)(T,{})]})],807011)},749572,e=>{"use strict";var t,n=e.i(391398),i=e.i(236821),r=e.i(191788),o=e.i(586385),a=["idPrefix"];function s(){return(s=Object.assign.bind()).apply(null,arguments)}let l=function(e){var n=r.useId(),i=null!=e?e:{},l=i.idPrefix,u=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(i,a),c=(null!=l?l:n+"__").toString().replace(/[^A-Za-z0-9_:]/g,"_"),d=r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",width:1e3,height:1e3,viewBox:"0 0 1000 1000"},e),t||(t=r.createElement("path",{fill:"currentColor",d:"M707.096 588.185H544.157c98.267-31.075 163.778-97.427 163.778-198.213C707.935 265.669 608.829 180 491.244 180c-89.868 0-159.578 80.629-159.578 209.972 0 41.154 8.399 85.668 19.317 120.944h-63.831L225 778h239.368V608.711L563.946 778h248.135zm-233.489-91.547c-22.677 0-44.514-43.675-44.514-106.666 0-59.632 21.837-101.626 44.514-101.626s44.514 41.994 44.514 101.626c0 62.991-21.837 106.666-44.514 106.666"}))),f=r.cloneElement(d,u);return(0,o.default)(f,c)},u=(0,i.tv)({base:"",variants:{inverted:{false:"bg-base-12 text-content-inverted-1",true:"text-base-12 bg-content-inverted-1"}}});e.s(["Logo",0,({className:e,inverted:t=!1})=>(0,n.jsx)(l,{className:u({className:e,inverted:t})})],749572)},623827,e=>{"use strict";var t=e.i(111053);function n(e){let t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}e.s(["getEnvelopeEndpointWithUrlEncodedAuth",0,function(e,t,i){let r;return t||`${n(e)}${e.projectId}/envelope/?${r={sentry_version:"7"},e.publicKey&&(r.sentry_key=e.publicKey),i&&(r.sentry_client=`${i.name}/${i.version}`),new URLSearchParams(r).toString()}`},"getReportDialogEndpoint",0,function(e,i){let r=(0,t.makeDsn)(e);if(!r)return"";let o=`${n(r)}embed/error-page/`,a=`dsn=${(0,t.dsnToString)(r)}`;for(let e in i)if("dsn"!==e&&"onClose"!==e)if("user"===e){let e=i.user;if(!e)continue;e.name&&(a+=`&name=${encodeURIComponent(e.name)}
2`),e.email&&(a+=`&email=${encodeURIComponent(e.email)}`)}else a+=`&${encodeURIComponent(e)}=${encodeURIComponent(i[e])}`;return`${o}?${a}`}])},329622,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},788423,e=>{"use strict";var t=e.i(597164),n=e.i(899619),i=e.i(451048),r=e.i(387395),o=e.i(275885),a=e.i(530011);let s=t.GLOBAL_OBJ,l=0;e.s(["WINDOW",0,s,"getHttpRequestData",0,function(){let e=(0,a.getLocationHref)(),{referrer:t}=s.document||{},{userAgent:n}=s.navigator||{};return{url:e,headers:{...t&&{Referer:t},...n&&{"User-Agent":n}}}},"shouldIgnoreOnError",0,function(){return l>0},"wrap",0,function e(a,s={}){if("function"!=typeof a)return a;try{let e=a.__sentry_wrapped__;if(e)if("function"==typeof e)return e;else return a;if((0,n.getOriginalFunction)(a))return a}catch{return a}let u=function(...n){t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)+1;try{let t=n.map(t=>e(t,s));return a.apply(this,t)}catch(e){throw l++,setTimeout(()=>{l--}),(0,i.withScope)(t=>{t.addEventProcessor(e=>(s.mechanism&&((0,r.addExceptionTypeValue)(e,void 0,void 0),(0,r.addExceptionMechanism)(e,s.mechanism)),e.extra={...e.extra,arguments:n},e)),(0,o.captureException)(e)}),e}finally{t.GLOBAL_OBJ._sentryWrappedDepth=(t.GLOBAL_OBJ._sentryWrappedDepth||0)-1}};try{for(let e in a)Object.prototype.hasOwnProperty.call(a,e)&&(u[e]=a[e])}catch{}(0,n.markFunctionWrapped)(u,a),(0,n.addNonEnumerableProperty)(a,"__sentry_wrapped__",u);try{Object.getOwnPropertyDescriptor(u,"name").configurable&&Object.defineProperty(u,"name",{get:()=>a.name})}catch{}return u}])},503074,e=>{"use strict";var t=e.i(182021),n=e.i(451048),i=e.i(275885),r=e.i(623827),o=e.i(329622),a=e.i(788423);e.s(["showReportDialog",0,function(e={}){let s=a.WINDOW.document,l=s?.head||s?.body;if(!l){o.DEBUG_BUILD&&t.debug.error("[showReportDialog] Global document not defined");return}let u=(0,n.getCurrentScope)(),c=(0,n.getClient)(),d=c?.getDsn();if(!d){o.DEBUG_BUILD&&t.debug.error("[showReportDialog] DSN not configured");return}let f={...e,user:{...u.getUser(),...e.user},eventId:e.eventId||(0,i.lastEventId)()},p=a.WINDOW.document.createElement("script");p.async=!0,p.crossOrigin="anonymous",p.src=(0,r.getReportDialogEndpoint)(d,f);let{onLoad:h,onClose:m}=f;if(h&&(p.onload=h),m){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{m()}finally{a.WINDOW.removeEventListener("message",e)}};a.WINDOW.addEventListener("message",e)}l.appendChild(p)}])},12982,e=>{"use strict";let t="u"<typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;e.s(["DEBUG_BUILD",0,t])},512668,776843,e=>{"use strict";var t=e.i(451048),n=e.i(275885),i=e.i(914046),r=e.i(191788);function o(e,{componentStack:a},s){let l;if(null!==(l=r.version.match(/^([^.]+)/))&&parseInt(l[0])>=17&&(0,i.isError)(e)&&a){let t,n=Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=a,t=new WeakSet,function e(n,i){if(!t.has(n)){if(n.cause)return t.add(n),e(n.cause,i);n.cause=i}}(e,n)}return(0,t.withScope)(t=>(t.setContext("react",{componentStack:a}),(0,n.captureException)(e,s)))}e.s(["captureReactException",0,o,"reactErrorHandler",0,function(e){return(t,n)=>{let i=!!e,r=o(t,n,{mechanism:{handled:i,type:"auto.function.react.error_handler"}});i&&e(t,n,r)}}],512668);let a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u=Symbol.for("react.forward_ref"),c=Symbol.for("react.memo"),d={};function f(e){if("object"==typeof e&&null!==e&&e.$$typeof===c)return l;let t=e.$$typeof;return t&&d[t]||a}d[u]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},d[c]=l;let p=Object.defineProperty.bind(Object),h=Object.getOwnPropertyNames.bind(Object),m=Object.getOwnPropertySymbols?.bind(Object),g=Object.getOwnPropertyDescriptor.bind(Object),y=Object.getPrototypeOf.bind(Object),v=Object.prototype;e.s(["hoistNonReactStatics",0,function e(t,n,i){if("string"!=typeof n){if(v){let i=y(n);i&&i!==v&&e(t,i)}let i=h(n);m&&(i=i.concat(m(n)));let r=f(t),o=f(n);for(let e of i)if(!s[e]&&!o?.[e]&&!r?.[e]&&!g(t,e)){let i=g(n,e);
2if(i)try{p(t,e,i)}catch(e){}}}return t}],776843)},742678,e=>{"use strict";var t=e.i(451048),n=e.i(503074),i=e.i(182021),r=e.i(191788),o=e.i(12982),a=e.i(512668),s=e.i(776843);let l={componentStack:null,error:null,eventId:null};class u extends r.Component{constructor(e){super(e),this.state=l,this._openFallbackReportDialog=!0;const i=(0,t.getClient)();i&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=i.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&(0,n.showReportDialog)({...e.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(e,i){let{componentStack:r}=i,{beforeCapture:o,onError:s,showDialog:l,dialogOptions:u}=this.props;(0,t.withScope)(t=>{o&&o(t,e,r);let c=null!=this.props.handled?this.props.handled:!!this.props.fallback,d=(0,a.captureReactException)(e,i,{mechanism:{handled:c,type:"auto.function.react.error_boundary"}});s&&s(e,r,d),l&&(this._lastEventId=d,this._openFallbackReportDialog&&(0,n.showReportDialog)({...u,eventId:d})),this.setState({error:e,componentStack:r,eventId:d})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:i}=this.props;i&&(this.state===l?i(null,null,null):i(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:i}=this.state;e&&e(t,n,i),this.setState(l)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;let a="function"==typeof e?r.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return r.isValidElement(a)?a:(e&&o.DEBUG_BUILD&&i.debug.warn("fallback did not produce a valid ReactElement"),null)}}e.s(["ErrorBoundary",0,u,"withErrorBoundary",0,function(e,t){let n=e.displayName||e.name||"unknown",i=r.memo(n=>r.createElement(u,{...t},r.createElement(e,{...n})));return i.displayName=`errorBoundary(${n})`,(0,s.hoistNonReactStatics)(i,e),i}])},285307,e=>{"use strict";var t=e.i(635113);e.s(["isBefore",0,function(e,n){return+(0,t.toDate)(e)<+(0,t.toDate)(n)}])},9356,702369,e=>{"use strict";function t(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}e.s(["isDate",0,t],702369);var n=e.i(635113);e.s(["isValid",0,function(e){return!(!t(e)&&"number"!=typeof e||isNaN(+(0,n.toDate)(e)))}],9356)},502908,e=>{"use strict";var t=e.i(527861),n=e.i(635113);e.s(["startOfWeek",0,function(e,i){let r=(0,t.getDefaultOptions)(),o=i?.weekStartsOn??i?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,a=(0,n.toDate)(e,i?.in),s=a.getDay();return a.setDate(a.getDate()-(7*(s<o)+s-o)),a.setHours(0,0,0,0),a}])},724660,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"useRouter",{enumerable:!0,get:function(){return o}});let i=e.r(191788),r=e.r(425479);function o(){return(0,i.useContext)(r.RouterContext)}("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)},148888,(e,t,n)=>{t.exports=e.r(724660)},958678,(e,t,n)=>{t.exports=e.r(280963)},194182,(e,t,n)=>{t.exports=e.r(161457)},412578,647883,619585,339113,321666,e=>{"use strict";var t=e.i(884762),n=e.i(41224),i=e.i(191788),r=e.i(148888);let o=!1;function a(){o||(0,n.t)()}let s=(0,t.n)(function(){let e=(0,r.useRouter)();return(0,i.useEffect)(()=>(e?.events.on("routeChangeStart",a),e?.events.on("beforeHistoryChange",a),()=>{e?.events.off("routeChangeStart",a),e?.events.off("beforeHistoryChange",a)}),[]),{searchParams:(0,i.useMemo)(()=>{let t=new URLSearchParams;if(null===e)return t;for(let[n,i]of Object.entries(e.query))if("string"==typeof i)t.set(n,i);else if(Array.isArray(i))for(let e of i)t.append(n,e);return t},[JSON.stringify(e?.query)]),updateUrl:(0,i.useCallback)((e,n)=>{let i=window.next?.router,r=function(e,t){let n,i=new Set,r=/\[([^\]]+)\]/g;for(;null!==(n=r.exec(e));){let e=n[1];e&&i.add(e)}let o=Object.fromEntries(Object.entries(t).filter(([e])=>i.has(e))),a=/\[\.{3}([^\]]+)\]$/.exec(e);if(a&&a[1]){let e=a[1];o[e]=t[e]??[]}let s=/\[\[\.{3}([^\]]+)\]\]$/.exec(e);if(s&&s[1]){let e=s[1];o[e]=t[e]??[]}return o}
2(i.pathname,i.query),a=i.asPath.replace(/#.*$/,"").replace(/\?.*$/,"")+(0,t.o)(e)+location.hash;(0,t.c)("[nuqs next/pages] Updating url: %s",a);let s="push"===n.history?i.push:i.replace;o=!0,s.call(i,{pathname:i.pathname,query:{...function(e){let t={};for(let n of e.keys()){let i=e.getAll(n);1===i.length?t[n]=i[0]:i.length>1&&(t[n]=i)}return t}(e),...r}},a,{scroll:n.scroll,shallow:n.shallow}).finally(()=>{o=!1})},[]),autoResetQueueOnUpdate:!1}});e.s(["NuqsAdapter",0,s],412578);var l=e.i(350461),u=e.i(391398),c=e.i(194182),d=e.i(47196),f=e.i(218966),p=e.i(110021),h=e.i(205623);let m=({gtmTagId:e})=>(0,u.jsx)(c.default,{id:"gtm-head",strategy:"beforeInteractive",children:`
3      (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
4      new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
5      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
6      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
7      })(window,document,'script','dataLayer','GTM-${e}')`}),g=({gtmTagId:e})=>(0,u.jsx)("noscript",{children:(0,u.jsx)("iframe",{src:`https://www.googletagmanager.com/ns.html?id=GTM-${e}`,height:"0",width:"0",className:"invisible hidden"})});e.s(["GTM",0,({defaultUser:e})=>{let t="W4P2RDT",n=(0,i.useRef)(!1),r=(0,d.useOptionalUser)()??e,{isE2E:o}=(0,f.useE2E)();return((0,i.useEffect)(()=>{(0,p.isBrowser)()&&r&&!n.current&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"user_data_ready",user_id:r.id,email:r.email}),n.current=!0)},[r]),(0,h.isGtmEnabled)()&&t&&!o)?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(m,{gtmTagId:t}),(0,u.jsx)(g,{gtmTagId:t})]}):null}],647883);var y=e.i(592060),v=e.i(939125);let w="electron",b="phantomjs",_="selenium",E="slimerjs",O="headless_chrome",D="unknown";class A extends Error{constructor(e,t){super(t),this.state=e,this.name="BotdError",Object.setPrototypeOf(this,A.prototype)}}async function S(e){let t={},n=Object.keys(e);return await Promise.all(n.map(async n=>{let i=e[n];try{t[n]={value:await i(),state:0}}catch(e){e instanceof A?t[n]={state:e.state,error:`${e.name}: ${e.message}`}:t[n]={state:-3,error:e instanceof Error?`${e.name}: ${e.message}`:String(e)}}})),t}function C(e,t){return -1!==e.indexOf(t)}function P(e,t){return -1!==e.indexOf(t)}function x(e){return Object.getOwnPropertyNames(e)}function R(e,...t){for(let n of t)if("string"==typeof n){if(C(e,n))return!0}else if(null!=function(e,t){if("find"in e)return e.find(t);for(let n=0;n<e.length;n++)if(t(e[n],n,e))return e[n]}(e,e=>n.test(e)))return!0;return!1}function T(e){return e.reduce((e,t)=>e+ +!!t,0)}let I={detectAppVersion:function({appVersion:e}){return 0===e.state&&(/headless/i.test(e.value)?O:/electron/i.test(e.value)?w:/slimerjs/i.test(e.value)?E:void 0)},detectDocumentAttributes:function({documentElementKeys:e}){return 0===e.state&&(R(e.value,"selenium","webdriver","driver")?_:void 0)},detectErrorTrace:function({errorTrace:e}){return 0===e.state&&(/PhantomJS/i.test(e.value)?b:void 0)},detectEvalLengthInconsistency:function({evalLength:e,browserKind:t,browserEngineKind:n}){if(0!==e.state||0!==t.state||0!==n.state)return;let i=e.value;return"unknown"!==n.value&&(37===i&&!C(["webkit","gecko"],n.value)||39===i&&!C(["internet_explorer"],t.value)||33===i&&!C(["chromium"],n.value))},detectFunctionBind:function({functionBind:e}){if(-2===e.state)return b},detectLanguagesLengthInconsistency:function({languages:e}){if(0===e.state&&0===e.value.length)return O},detectNotificationPermissions:function({notificationPermissions:e,browserKind:t}){return 0===t.state&&"chrome"===t.value&&(0===e.state&&e.value?O:void 0)},detectPluginsArray:function({pluginsArray:e}){if(0===e.state&&!e.value)return O},detectPluginsLengthInconsistency:function({pluginsLength:e,android:t,browserKind:n,browserEngineKind:i}){if(0===e.state&&0===t.state&&0===n.state&&0===i.state&&"chrome"===n.value&&!t.value&&"chromium"===i.value&&0===e.value)return O},detectProcess:function({process:e}){var t;return 0===e.state&&("renderer"===e.value.type||(null==(t=e.value.versions)?void 0:t.electron)!=null?w:void 0)},detectUserAgent:function({userAgent:e}){return 0===e.state&&(/PhantomJS/i.test(e.value)?b:/Headless/i.test(e.value)?O:/Electron/i.test(e.value)?w:/slimerjs/i.test(e.value)?E:void 0)},detectWebDriver:function({webDriver:e}){if(0===e.state&&e.value)return O},detectWebGL:function({webGL:e}){if(0===e.state){let{vendor:t,renderer:n}=e.value;if("Brian Paul"==t&&"Mesa OffScreen"==n)return O}},detectWindowExternal:function({windowExternal:e}){return 0===e.state&&(/Sequentum/i.test(e.value)?"sequentum":void 0)},detectWindowSize:function({windowSize:e,documentFocus:t}){if(0!==e.state||0!==t.state)return!1;let{outerWidth:n,outerHeight:i}=e.value;if(t.value&&0===n&&0===i)return O},detectMimeTypesConsistent:function({mimeTypesConsistent:e}){if(0===e.state&&!e.value)return D},detectProductSub:function({productSub:e,browserKind:t}){return 0===e.state&&0===t.state&&(("chrome"===t.value||"safari"===t.value||"opera"===t.value||"wechat"===t.value)&&"20030107"!==e.value?D:void 0)},detectDistinctiveProperties:function({distinctiveProps:e}){let t;if(0!==e.state)return!1;let n=e.value;for(t in n)if(n[t])return t}};function j(){var e,t;let n=window,i=navigator;return T(["webkitPersistentStorage"in i,"webkitTemporaryStorage"in i,0===i.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in n,"BatteryManager"in n,"webkitMediaStream"in n,"webkitSpeechGrammar"in n])>=5?"chromium":T(["ApplePayError"in n,"CSSPrimitiveValue"in n,"Counter"in n,0===i.vendor.indexOf("Apple"),"getStorageUpdates"in i,"WebKitMediaKeys"in n])>=4?"webkit":T(["buildID"in navigator,"MozAppearance"in(null!=(t=null==(e=
7document.documentElement)?void 0:e.style)?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4?"gecko":"unknown"}let L={android:function(){let e=j(),t=window,n=navigator,i="connection";return"chromium"===e?T([!("SharedWorker"in t),n[i]&&"ontypechange"in n[i],!("sinkId"in new Audio)])>=2:"gecko"===e&&T(["onorientationchange"in t,"orientation"in t,/android/i.test(n.appVersion)])>=2},browserKind:function(){var e;let t=null==(e=navigator.userAgent)?void 0:e.toLowerCase();if(P(t,"edg/"))return"edge";if(P(t,"trident")||P(t,"msie"))return"internet_explorer";if(P(t,"wechat"))return"wechat";if(P(t,"firefox"))return"firefox";if(P(t,"opera")||P(t,"opr"))return"opera";else if(P(t,"chrome"))return"chrome";else if(P(t,"safari"))return"safari";else return"unknown"},browserEngineKind:j,documentFocus:function(){return void 0!==document.hasFocus&&document.hasFocus()},userAgent:function(){return navigator.userAgent},appVersion:function(){let e=navigator.appVersion;if(void 0==e)throw new A(-1,"navigator.appVersion is undefined");return e},rtt:function(){if(void 0===navigator.connection)throw new A(-1,"navigator.connection is undefined");if(void 0===navigator.connection.rtt)throw new A(-1,"navigator.connection.rtt is undefined");return navigator.connection.rtt},windowSize:function(){return{outerWidth:window.outerWidth,outerHeight:window.outerHeight,innerWidth:window.innerWidth,innerHeight:window.innerHeight}},pluginsLength:function(){if(void 0===navigator.plugins)throw new A(-1,"navigator.plugins is undefined");if(void 0===navigator.plugins.length)throw new A(-3,"navigator.plugins.length is undefined");return navigator.plugins.length},pluginsArray:function(){if(void 0===navigator.plugins)throw new A(-1,"navigator.plugins is undefined");if(void 0===window.PluginArray)throw new A(-1,"window.PluginArray is undefined");return navigator.plugins instanceof PluginArray},errorTrace:function(){try{null[0]()}catch(e){if(e instanceof Error&&null!=e.stack)return e.stack.toString()}throw new A(-3,"errorTrace signal unexpected behaviour")},productSub:function(){let{productSub:e}=navigator;if(void 0===e)throw new A(-1,"navigator.productSub is undefined");return e},windowExternal:function(){if(void 0===window.external)throw new A(-1,"window.external is undefined");let{external:e}=window;if("function"!=typeof e.toString)throw new A(-2,"window.external.toString is not a function");return e.toString()},mimeTypesConsistent:function(){if(void 0===navigator.mimeTypes)throw new A(-1,"navigator.mimeTypes is undefined");let{mimeTypes:e}=navigator,t=Object.getPrototypeOf(e)===MimeTypeArray.prototype;for(let n=0;n<e.length;n++)t&&(t=Object.getPrototypeOf(e[n])===MimeType.prototype);return t},evalLength:function(){return eval.toString().length},webGL:function(){let e=document.createElement("canvas");if("function"!=typeof e.getContext)throw new A(-2,"HTMLCanvasElement.getContext is not a function");let t=e.getContext("webgl");if(null===t)throw new A(-4,"WebGLRenderingContext is null");if("function"!=typeof t.getParameter)throw new A(-2,"WebGLRenderingContext.getParameter is not a function");return{vendor:t.getParameter(t.VENDOR),renderer:t.getParameter(t.RENDERER)}},webDriver:function(){if(void 0==navigator.webdriver)throw new A(-1,"navigator.webdriver is undefined");return navigator.webdriver},languages:function(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==n&&t.push([n]),Array.isArray(e.languages)){let n;"chromium"===j()&&T([!("MediaSettingsRange"in(n=window)),"RTCEncodedAudioFrame"in n,""+n.Intl=="[object Intl]",""+n.Reflect=="[object Reflect]"])>=3||t.push(e.languages)}else if("string"==typeof e.languages){let n=e.languages;n&&t.push(n.split(","))}return t},notificationPermissions:async function e(){if(void 0===window.Notification)throw new A(-1,"window.Notification is undefined");if(void 0===navigator.permissions)throw new A(-1,"navigator.permissions is undefined");let{permissions:e}=navigator;if("function"!=typeof e.query)throw new A(-2,"navigator.permissions.query is not a function");try{let t=await e.query({name:"notifications"});return"denied"===window.Notification.permission&&"prompt"===t.state}catch(e){throw new A(-3,"notificationPermissions signal unexpected behaviour")}},documentElementKeys:function(){if(void 0===document.documentElement)throw new A(-1,"document.documentElement is undefined");let{documentElement:e}=document;if("function"!=typeof e.getAttributeNames)throw new A(-2,"document.documentElement.getAttributeNames is not a function");return e.getAttributeNames()},functionBind:function(){if(void 0===Function.prototype.bind)throw new A(-2,"Function.prototype.bind is undefined");return Function.prototype.bind.toString()},process:function(){let{process:e}=window,t="window.process is";if(void 0===e)throw new A(-1,`${t} undefined`);if(e&&"object"!=typeof e)throw new A(-3,`${t} not an object`);return e},distinctiveProps:function(){let e,t={awesomium:{window:["awesomium"]},cef:{window:["RunPerfTest"]},cefsharp:{window:["CefSharp"]},coachjs:{window:["emit"]},fminer:{window:["fmget_targets"]},geb:{window:["geb"]}
7,nightmarejs:{window:["__nightmare","nightmare"]},phantomas:{window:["__phantomas"]},[b]:{window:["callPhantom","_phantom"]},rhino:{window:["spawn"]},[_]:{window:["_Selenium_IDE_Recorder","_selenium","calledSelenium",/^([a-z]){3}_.*_(Array|Promise|Symbol)$/],document:["__selenium_evaluate","selenium-evaluate","__selenium_unwrapped"]},webdriverio:{window:["wdioElectron"]},webdriver:{window:["webdriver","__webdriverFunc","__lastWatirAlert","__lastWatirConfirm","__lastWatirPrompt","_WEBDRIVER_ELEM_CACHE","ChromeDriverw"],document:["__webdriver_script_fn","__driver_evaluate","__webdriver_evaluate","__fxdriver_evaluate","__driver_unwrapped","__webdriver_unwrapped","__fxdriver_unwrapped","__webdriver_script_fn","__webdriver_script_func","__webdriver_script_function","$cdc_asdjflasutopfhvcZLmcf","$cdc_asdjflasutopfhvcZLmcfl_","$chrome_asyncScriptInfo","__$webdriverAsyncExecutor"]},[O]:{window:["domAutomation","domAutomationController"]}},n={},i=x(window),r=[];for(e in void 0!==window.document&&(r=x(window.document)),t){let o=t[e];if(void 0!==o){let t=void 0!==o.window&&R(i,...o.window),a=void 0!==o.document&&!!r.length&&R(r,...o.document);n[e]=t||a}}return n}};class M{constructor(){this.components=void 0,this.detections=void 0}getComponents(){return this.components}getDetections(){return this.detections}detect(){if(void 0===this.components)throw Error("BotDetector.detect can't be called before BotDetector.collect");let[e,t]=function(e,t){let n={},i={bot:!1};for(let r in t){let o=(0,t[r])(e),a={bot:!1};"string"==typeof o?a={bot:!0,botKind:o}:o&&(a={bot:!0,botKind:D}),n[r]=a,a.bot&&(i=a)}return[n,i]}(this.components,I);return this.detections=e,t}async collect(){return this.components=await S(L),this.components}}async function B({monitoring:e=!0}={}){e&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get","https://m1.openfpcdn.io/botd/v2.0.0/npm-monitoring",!0),e.send()}catch(e){console.error(e)}}();let t=new M;return await t.collect(),t}e.s(["BotDetector",0,()=>{let e=(0,y.useBackendApi)();return(0,i.useEffect)(()=>{(async()=>{let t=await B({monitoring:!1});t.detect().bot&&await e.userApi.markClientAsBot({markClientAsBotRequest:{detections:t.getDetections()}},v.OBFUSCATE)})()},[]),null}],619585);var N=e.i(456298),k=e.i(84813),q=e.i(465235),$=e.i(895564),U=class extends $.Subscribable{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,t,n){let i=t.queryKey,r=t.queryHash??(0,N.hashQueryKeyByOptions)(i,t),o=this.get(r);return o||(o=new k.Query({client:e,queryKey:i,queryHash:r,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(o)),o}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#e.get(e.queryHash);t&&(e.destroy(),t===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){q.notifyManager.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,N.matchQuery)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,N.matchQuery)(e,t)):t}notify(e){q.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){q.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){q.notifyManager.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},G=e.i(948123),W=$,F=class extends W.Subscribable{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#n=new Map,this.#i=0}#t;#n;#i;build(e,t,n){let i=new G.Mutation({client:e,mutationCache:this,mutationId:++this.#i,options:e.defaultMutationOptions(t),state:n});return this.add(i),i}add(e){this.#t.add(e);let t=Q(e);if("string"==typeof t){let n=this.#n.get(t);n?n.push(e):this.#n.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){let t=Q(e);if("string"==typeof t){let n=this.#n.get(t);if(n)if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#n.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){let t=Q(e);if("string"!=typeof t)return!0;{let n=this.#n.get(t),i=n?.find(e=>"pending"===e.state.status);return!i||i===e}}runNext(e){let t=Q(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#n.get(t)?.find(t=>
7t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){q.notifyManager.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#n.clear()})}getAll(){return Array.from(this.#t)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,N.matchMutation)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,N.matchMutation)(e,t))}notify(e){q.notifyManager.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return q.notifyManager.batch(()=>Promise.all(e.map(e=>e.continue().catch(N.noop))))}};function Q(e){return e.options.scope?.id}var V=e.i(879971),H=e.i(490140),K=class{#r;#o;#a;#s;#l;#u;#c;#d;constructor(e={}){this.#r=e.queryCache||new U,this.#o=e.mutationCache||new F,this.#a=e.defaultOptions||{},this.#s=new Map,this.#l=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=V.focusManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onFocus())}),this.#d=H.onlineManager.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#r.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#d?.(),this.#d=void 0)}isFetching(e){return this.#r.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#o.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#r.build(this,t),i=n.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime((0,N.resolveStaleTime)(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#r.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let i=this.defaultQueryOptions({queryKey:e}),r=this.#r.get(i.queryHash),o=r?.state.data,a=(0,N.functionalUpdate)(t,o);if(void 0!==a)return this.#r.build(this,i).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return q.notifyManager.batch(()=>this.#r.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#r.get(t.queryHash)?.state}removeQueries(e){let t=this.#r;q.notifyManager.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#r;return q.notifyManager.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(q.notifyManager.batch(()=>this.#r.findAll(e).map(e=>
7e.cancel(n)))).then(N.noop).catch(N.noop)}invalidateQueries(e,t={}){return q.notifyManager.batch(()=>(this.#r.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(q.notifyManager.batch(()=>this.#r.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(N.noop)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(N.noop)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#r.build(this,t);return n.isStaleByTime((0,N.resolveStaleTime)(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(N.noop).catch(N.noop)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(N.noop).catch(N.noop)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return H.onlineManager.isOnline()?this.#o.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#r}getMutationCache(){return this.#o}getDefaultOptions(){return this.#a}setDefaultOptions(e){this.#a=e}setQueryDefaults(e,t){this.#s.set((0,N.hashKey)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#s.values()],n={};return t.forEach(t=>{(0,N.partialMatchKey)(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#l.set((0,N.hashKey)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#l.values()],n={};return t.forEach(t=>{(0,N.partialMatchKey)(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#a.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,N.hashQueryKeyByOptions)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===N.skipToken&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#a.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#r.clear(),this.#o.clear()}};e.s(["QueryClient",0,K],339113);var Y=e.i(217837);function z(){return false}function J(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function X(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function Z(e){(0,i.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!t.current){let n=function(e={},t){var n;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)});let{beforeSend:i,src:r,dataset:o}=function(e,t){var n,i;let r=e;if(t)try{r={...null==(n=JSON.parse(t))?void 0:n.speedInsights,...e}}catch{}let o={sdkn:"@vercel/speed-insights"+(r.framework?`/${r.framework}`:""),sdkv:"2.0.0"};
7return r.sampleRate&&(o.sampleRate=r.sampleRate.toString()),r.route&&(o.route=r.route),z()&&!1===r.debug&&(o.debug="false"),r.dsn&&(o.dsn=r.dsn),r.endpoint?o.endpoint=X(r.endpoint):r.basePath&&(o.endpoint=X(`${r.basePath}/speed-insights/vitals`)),{src:(i=r).scriptSrc?X(i.scriptSrc):z()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":i.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":i.basePath?X(`${i.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:r.beforeSend,dataset:o}}(e,t);if(document.head.querySelector(`script[src*="${r}"]`))return null;i&&(null==(n=window.si)||n.call(window,"beforeSend",i));let a=document.createElement("script");for(let[e,t]of(a.src=r,a.defer=!0,Object.entries(o)))a.dataset[e]=t;return a.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${r}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(a),{setRoute:e=>{a.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());n&&(t.current=n.setRoute)}},[e]),(0,i.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}function ee(e){let t=(()=>{let e=(0,Y.useParams)(),t=(0,Y.useSearchParams)()||new URLSearchParams,n=(0,Y.usePathname)();if(!e)return null;let i=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!n||!i)return n;let r=n;try{let e=Object.entries(i);for(let[t,n]of e)if(!Array.isArray(n)){let e=J(n);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,n]of e)if(Array.isArray(n)){let e=J(n.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch{return n}})();return i.default.createElement(Z,{route:t,...e,framework:"next",basePath:function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
7(),configString:function(){if(void 0!==l.default&&void 0!==l.default.env)return l.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_CLIENT_CONFIG}()})}e.s(["SpeedInsights",0,function(e){return i.default.createElement(i.Suspense,{fallback:null},i.default.createElement(ee,{...e}))}],321666)}]);
8
9//# debugId=6842cebb-1345-14fc-bf53-3abe4656a1a1

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.