PageSourceSearch

https://osfhealthcare-staging.vercel.app/_next/static/chunks/pages…?dpl=dpl_4SrZLe4S9PEUovnAR4eg7G6nttm7

js osfhealthcare-staging.vercel.app collected 2026-10-03 07:27:02 UTC 219,126 bytes, 8 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(817)}])},240:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>l,jq:()=>a,xm:()=>s,yV:()=>u});var n=r(3965),i=r(7318),o=r(542),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new n.DX,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.V1.warn(64))}},427:(e,t,r)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(4232))},445:(e,t,r)=>{"use strict";r.d(t,{aZ:()=>o,ou:()=>a,Ll:()=>s});var n=r(8084);function i(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){throw Error("Unexpected invariant triggered.")}(0),e.prototype.inspect=t,n.A&&(e.prototype[n.A]=t)}var o=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();i(o);var a=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}i(a)},542:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>f,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(7318),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,n.no)(function(){return window.document.createElement}),l=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},592:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(9668),i=r(542),o=r(5813),a=r(7318),s=r(4615),u=r(3965),c=r(593);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),105),r.lookupArray(n)},max:c.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},593:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(4902),i=r(7318),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},712:(e,t,r)=>{"use strict";r.r(t),r.d(t,{EVENTS_NAMESPACE:()=>h,PACKAGE_INITIALIZER_METHOD_NAME:()=>y,PACKAGE_NAME:()=>v,PACKAGE_VERSION:()=>p,addToEventQueue:()=>I,clearEventQueue:()=>x,event:()=>E,form:()=>w,identity:()=>S,pageView:()=>T,processEventQueue:()=>R});var n,i=r(4820);function o(){return"undefined"==typeof window||window.document.documentElement.lang.length<=1?void 0:new Intl.Locale(window.document.documentElement.lang).language.toLocaleUpperCase()}function a(){return"undefined"==typeof window?"":"/"===window.location.pathname?"Home Page":window.location.pathname.split("/").pop()}r(3803);var s=r(9181),u=r(1930),c=r(9103),l=r(3297);r(4906);class f{constructor(e){this._initState=null,this._sideEffects=e.sideEffects,this._settings=e.settings,this._dependencies=e.dependencies??[]}validatePackages(){let e=[];
1return this._dependencies.forEach(t=>{let r=t.name.split("/")[1],n=(0,l.eu)(t.name);if(!n)throw Error(`[IE-0020] - This functionality also requires the "${r}" package. Import "${t.name}/browser", then run ".${t.method}()" on "CloudSDK", before ".initialize()"`);e.push(n)}),e}exec(){let e=this.validatePackages();this._initState=this.wrapSideEffects(e)}async wrapSideEffects(e){await l.B6,await Promise.all(e.map(e=>e.initState)),this._sideEffects()}get initState(){return this._initState}get settings(){return this._settings}}r(2753);let d=JSON.parse('{"UU":"@sitecore-cloudsdk/events","rE":"0.5.1"}'),h="sitecore-cloudsdk:events",p=d.rE,v=d.UU,y="addEvents",m=`${v} ${p}`;async function g(e,t){let r=`${t.sitecoreEdgeUrl}/v1/events/${c.mG}/events?sitecoreContextId=${t.sitecoreEdgeContextId}&siteId=${t.siteName}`,n=Date.now(),i={},o={body:JSON.stringify(e),headers:{"Content-Type":"application/json","X-Client-Software-ID":m,"X-Library-Version":p},method:"POST"};return(0,u.Y)(h)("Events request: %s with options: %O",r,o),await fetch(r,o).then(e=>(i=(0,u.y)(h,e),e.json())).then(e=>(i.body=e,(0,u.Y)(h)("Events response in %dms : %O",Date.now()-n,i),e)).catch(e=>((0,u.Y)(h)("Error: events response: %O",e),null))}!function(e){e.IE_0001='[IE-0001] You are trying to run a browser-side function on the server side. On the server side, run the server-side equivalent of the function, available in "server" modules.',e.IE_0014='[IE-0014] You must first initialize the Cloud SDK and the "events" package. First, import "CloudSDK" from "@sitecore-cloudsdk/core/browser" and import "@sitecore-cloudsdk/events/browser". Then, run "CloudSDK().addEvents().initialize()".',e.IE_0015='[IE-0015] You must first initialize the Cloud SDK and the "events" package. First, import "CloudSDK" from "@sitecore-cloudsdk/core/server" and import "@sitecore-cloudsdk/events/server". Then, run "await CloudSDK().addEvents().initialize()".',e.IV_0002='[IV-0002] Incorrect value for "dob". Format the value according to ISO 8601.',e.IV_0003='[IV-0003] Incorrect value for "email". Set the value to a valid email address.',e.IV_0004='[IV-0004] Incorrect value for "expiryDate". Format the value according to ISO 8601.',e.IV_0005='[IV-0005] "extensionData" supports maximum 50 attributes. Reduce the number of attributes.',e.MV_0003='[MV-0003] "identifiers" is required.'}(n||(n={}));class b{constructor(e,t){this.baseEventData=e,this.browserId=t,this.language=this.baseEventData.language??o(),this.page=this.baseEventData.page??a()}mapBaseEventPayload(){return{browser_id:this.browserId,channel:this.baseEventData.channel,client_key:"",currency:this.baseEventData.currency,language:this.language,page:this.page,pos:"",requested_at:new Date().toISOString()}}}class _ extends b{constructor(e){let{channel:t,currency:r,language:i,page:o,type:a,extensionData:u,searchData:c,...l}=e.eventData;super({channel:t,currency:r,language:i,page:o},e.id),this.extensionData={},this.sendEvent=e.sendEvent,this.settings=e.settings,this.customEventPayload={type:a,...l},u&&(this.extensionData=(0,s.YO)({object:u}));let f=Object.entries(this.extensionData).length;if(f>50)throw Error(n.IV_0005);f>0&&(this.customEventPayload.ext=this.extensionData),c&&(this.customEventPayload.sc_search={data:c,metadata:{ut_api_version:"1.0"}})}async send(){let e=this.mapBaseEventPayload(),t=Object.assign({},this.customEventPayload,e);return await this.sendEvent(t,this.settings)}}async function E(e){await F();let t=(0,l.Dl)();return new _({eventData:e,id:(0,s.kG)(t.cookieSettings.name.browserId),sendEvent:g,settings:t}).send()}async function w(e,t,r){await F();let n=(0,l.Dl)(),i=(0,s.kG)(n.cookieSettings.name.browserId),o=new _({eventData:{extensionData:{componentInstanceId:r,formId:e,interactionType:t.toUpperCase()},type:"FORM"},id:i,sendEvent:g,settings:n});return o.page=void 0,o.send()}class C extends b{constructor(e){let{channel:t,currency:r,language:i,page:o,extensionData:a}=e.identityData;if(super({channel:t,currency:r,language:i,page:o},e.id),this.extensionData={},this.numberOfExtensionDataProperties=0,this.validateAttributes(e.identityData),this.identityData=e.identityData,this.sendEvent=e.sendEvent,this.settings=e.settings,a&&(this.extensionData=(0,s.YO)({object:a})),this.numberOfExtensionDataProperties=Object.entries(this.extensionData).length,this.numberOfExtensionDataProperties>50)throw Error(n.IV_0005)}validateAttributes(e){if(0===e.identifiers.length)throw Error(n.MV_0003);if(void 0!==e.dob&&!(0,s.b0)(e.dob))throw Error(n.IV_0002);
1if(e.identifiers.forEach(e=>{if(e.expiryDate&&!(0,s.b0)(e.expiryDate))throw Error(n.IV_0004)}),e.email&&!(0,s.B9)(e.email))throw Error(n.IV_0003)}mapAttributes(){let e={city:this.identityData.city,country:this.identityData.country,dob:this.identityData.dob,email:this.identityData.email,firstname:this.identityData.firstName,gender:this.identityData.gender,identifiers:this.identityData.identifiers.map(e=>({expiry_date:e.expiryDate,id:e.id,provider:e.provider})),lastname:this.identityData.lastName,mobile:this.identityData.mobile,phone:this.identityData.phone,postal_code:this.identityData.postalCode,state:this.identityData.state,street:this.identityData.street,title:this.identityData.title,type:"IDENTITY"};return this.numberOfExtensionDataProperties>0&&(e.ext=this.extensionData),e}async send(){let e=this.mapBaseEventPayload(),t=Object.assign({},this.mapAttributes(),e);return await this.sendEvent(t,this.settings)}}async function S(e){await F();let t=(0,l.Dl)();return new C({id:(0,s.kG)(t.cookieSettings.name.browserId),identityData:e,sendEvent:g,settings:t}).send()}class O extends b{constructor(e){let{channel:t,currency:r,language:i,page:o,extensionData:a}={...e.pageViewData};if(super({channel:t,currency:r,language:i,page:o},e.id),this.extensionData={},this.pageViewData=e.pageViewData,this.sendEvent=e.sendEvent,this.settings=e.settings,this.urlSearchParams=new URLSearchParams(decodeURI(e.searchParams)),a&&(this.extensionData=(0,s.YO)({object:a})),Object.entries(this.extensionData).length>50)throw Error(n.IV_0005);this.includeUTMParameters=(e.pageViewData&&e.pageViewData.includeUTMParameters)??!0}getPageVariantId(e,t){if(e)return e;let r=this.urlSearchParams.get("variantid");return r||t||null}getReferrer(){if(this.pageViewData?.referrer)return this.pageViewData.referrer;if("undefined"==typeof window||!O.isFirstPageView||!document.referrer)return null;let{hostname:e,href:t}=new URL(document.referrer);return window.location.hostname!==e?t:null}mapAttributes(){let e={type:"VIEW"},t=this.pageViewData&&this.getPageVariantId(this.pageViewData.pageVariantId,this.extensionData.pageVariantId);if(null!==t&&(e.ext={...e.ext,pageVariantId:t}),Object.keys(this.extensionData).length>0&&(delete this.extensionData.pageVariantId,e.ext={...e.ext,...this.extensionData}),this.includeUTMParameters){let t=this.getUTMParameters();e={...e,...t}}let r=this.getReferrer();return null!==r&&(e={...e,referrer:r}),this.pageViewData?.searchData&&(e.sc_search={data:this.pageViewData.searchData,metadata:{ut_api_version:"1.0"}}),e}async send(){let e=this.mapBaseEventPayload(),t=this.mapAttributes();return O.isFirstPageView=!1,await this.sendEvent({...e,...t},this.settings)}getUTMParameters(){let e={};return this.urlSearchParams.forEach((t,r)=>{let n=r.toLowerCase();0===n.indexOf("utm_")&&(e[n]=t)}),e}}async function T(e){await F();let t=(0,l.Dl)();return new O({id:(0,s.kG)(t.cookieSettings.name.browserId),pageViewData:e,searchParams:window.location.search,sendEvent:g,settings:t}).send()}O.isFirstPageView=!0;class D{constructor(){this.key="EventQueue"}getEventQueue(){let e=this.getSessionStorage().getItem(this.key)??'""';try{let t=JSON.parse(e);return Array.isArray(t)?t:[]}catch{return[]}}enqueueEvent(e){let t=this.getSessionStorage();e.eventData.page=e.eventData.page??a(),e.eventData.language=e.eventData.language??o(),new _({sendEvent:g,...e});let r=this.getEventQueue();r.push(e),t.setItem(this.key,JSON.stringify(r))}async sendAllEvents(){for(let e of this.getEventQueue())await new _({eventData:e.eventData,id:e.id,sendEvent:g,settings:e.settings}).send();this.clearQueue()}clearQueue(){this.getSessionStorage().removeItem(this.key)}getSessionStorage(){return sessionStorage}}let k=new D;async function I(e){await F();let t=(0,l.Dl)(),r=(0,s.kG)(t.cookieSettings.name.browserId);k.enqueueEvent({eventData:e,id:r,settings:t})}async function x(){await F(),k.clearQueue()}async function R(){await F(),k.sendAllEvents()}async function P(){window.scCloudSDK={...window.scCloudSDK,events:{addToEventQueue:I,clearEventQueue:x,event:E,form:w,identity:S,pageView:T,processEventQueue:R,version:p}},(0,u.Y)(h)("eventsClient library initialized")}async function F(){let e=(0,l.eu)(v)?.initState;if(!e)throw Error(n.IE_0014);await e}i.Yq.prototype.addEvents=function(){let e=new f({sideEffects:P});return l.N9.set(v,e),this}},817:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>P});var n=r(7876),i=r(9099),o=r.n(i),a=r(4232),s=r(7138);let u=/{{(.*?)}}/g;function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var l=(0,a.createContext)(),f=function(e){var t,r,n=(t="",r=e||{},{set(e,t){r[e]=Object.assign(r[e]||{},t)},locale:e=>t=e||t,table:e=>r[e],t(e,n,i){var o=s(r[i||t],e,"");return"function"==typeof o?o(n):"string"==typeof o?o.replace(u,(e,t,r)=>{for(e=0,r=n,t=t.trim().split(".");r&&e<t.length;)r=r[t[e++]];return null!=r?r:""}):o}});return{_onUpdate:function(){},t:n.t,table:n.table,set:n.set,locale:function(e){if(void 0===e)return n.locale();var t=n.locale(e);return this._onUpdate(),t},withPlural:function(e){var t=this;void 0===e&&(e={type:"ordinal"});var r=new Intl.PluralRules(n.locale(),e);return function(e,n){return Object.keys(n).map(function(e){if("number"==typeof n[e]){var i=r.select(n[e]);n[e]=t.t(e+"."+i)}}),t.t.apply(t,[e,n].concat([].slice.call(arguments,2)))}}}};function d(e){var t=e.children,r=e.locale,n=void 0===r?"en":r,i=e.lngDict,o=e.i18nInstance,s=(0,a.useState)(0)[1],u=(0,a.useMemo)(function(){var e=null!=o?o:f();return e._onUpdate=function(){return s(function(e){return e+1})},e.set(n,i),e.locale(n),e},[o]);return(0,a.useEffect)(function(){u.set(n,i),u.locale(n)},[n,i]),a.createElement(l.Provider,{value:c({},u)},t)}var h=r(2323),p=r.n(h),v=r(2748),y=r(4812),m=r(9080),g=r(2337),b=r(5944);let _=new y.P({uri:"https://sitecoredxp-uat-cms.osfhealthcare.org/api/graph/ISC",headers:{sc_apikey:"{83B432B0-3E2B-41D5-BA34-46569D0C743D}","Access-Control-Allow-Origin":"*"}}),E=new y.P({uri:"https://sitecoredxp-dev-cms.osfhealthcare.org/sitecore/api/graph/edge",headers:{sc_apikey:"{83B432B0-3E2B-41D5-BA34-46569D0C743D}","Access-Control-Allow-Origin":"*"}}),w=new y.P({uri:"https://sitecoredxp-dev-cms.osfhealthcare.org/api/graph/providers",headers:{sc_apikey:"{83B432B0-3E2B-41D5-BA34-46569D0C743D}","Access-Control-Allow-Origin":"*","Apollo-Require-Preflight":"true"}}),C=new m.R({link:g.C.split(e=>"searchByItemId"===e.getContext().clientName,w,g.C.split(e=>"searchOnEdge"===e.getContext().clientName,E,_)),cache:new b.D});r(6317),r(8674),r(7598),r(6602);var S=r(9909),O=r(6222),T=r(8753),D=r(4820);r(712);var k=r(2838),I=r.n(k),x=r(7715);let R=e=>{var t;return(0,a.useEffect)(()=>{var t,r,n;(null==(r=e.layoutData)||null==(t=r.sitecore)?void 0:t.context.pageState)!==x.LayoutServicePageState.Normal?console.debug("Browser Events SDK is not initialized in edit and preview modes"):(0,D.ws)({sitecoreEdgeUrl:I().sitecoreEdgeUrl,sitecoreEdgeContextId:I().sitecoreEdgeContextId,siteName:(null==(n=e.site)?void 0:n.name)||I().sitecoreSiteName,enableBrowserCookie:!0,cookieDomain:window.location.hostname.replace(/^www\./,"")}).addEvents().initialize()},[null==(t=e.site)?void 0:t.name]),null};p().configure({showSpinner:!1,trickleSpeed:100}),o().events.on("routeChangeStart",()=>p().start()),o().events.on("routeChangeComplete",()=>p().done()),o().events.on("routeChangeError",()=>p().done());let P=function(e){let{Component:t,pageProps:r}=e,{dictionary:i,...o}=r;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(R,{...r}),(0,n.jsx)(v.X,{client:C,children:(0,n.jsx)(d,{lngDict:i,locale:r.locale,children:(0,n.jsx)(O.ThemeProvider,{children:(0,n.jsx)(S.FilterProvider,{children:(0,n.jsx)(T.FormTypeProvider,{children:(0,n.jsx)(t,{...o})})})})})})]})}},951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStylesheetUrl=void 0,t.getDesignLibraryStylesheetLinks=function(e,r,n=i.SITECORE_EDGE_URL_DEFAULT){let o=new Set;return e.sitecore.route?(a(e.sitecore.route,o),[...o].map(e=>({href:(0,t.getStylesheetUrl)(e,r,n),rel:"stylesheet"}))):[]};let n=r(7715),i=r(8119),o=/-library--([^\s]+)/;t.getStylesheetUrl=(e,t,r=i.SITECORE_EDGE_URL_DEFAULT)=>`${r}/v1/files/components/styles/${e}.css?sitecoreContextId=${t}`;let a=(e,t)=>{var r,i,s,u,c,l,f;let d;"params"in e&&e.params&&(d=(null==(i=null==(r=e.params.CSSStyles)?void 0:r.match(o))?void 0:i[1])||(null==(u=null==(s=e.params.Styles)?void 0:s.match(o))?void 0:u[1])||e.params.LibraryId||void 0),!d&&"fields"in e&&e.fields&&(d=(null==(c=(0,n.getFieldValue)(e.fields,"CSSStyles","").match(o))?void 0:c[1])||(null==(l=(0,n.getFieldValue)(e.fields,"Styles","").match(o)
1)?void 0:l[1])||(0,n.getFieldValue)(e.fields,"LibraryId","")||void 0),!d&&"attributes"in e&&"string"==typeof e.attributes.class&&(d=null==(f=e.attributes.class.match(o))?void 0:f[1]),d&&t.add(d);let h=e.placeholders||{};Object.keys(h).forEach(e=>{var r;r=h[e],r.map(e=>a(e,t))})}},996:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(d(t,r))return!0;let n=c(t),o=c(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(d(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,f)}}return!1}(e,t)}finally{a.clear()}}let u=s;function c(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}let f="{ [native code] }";function d(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},1039:(e,t,r)=>{"use strict";r.d(t,{U:()=>o});var n=r(9181),i=r(3297);function o(){let e=(0,i.Dl)();return(0,n.kG)(e.cookieSettings.name.browserId)}},1040:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},1055:(e,t,r)=>{"use strict";r.d(t,{XY:()=>p,er:()=>y,iz:()=>h,x3:()=>m,zc:()=>v});var n=r(4902),i=r(7318),o=r(4587),a=r(4968),s=r(5813),u=r(8851),c=r(8922),l=r(5785),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function d(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function h(e,t){(0,s.sw)(t);for(var r,u,f,h=d(""),p=d(""),v=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return h(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return p(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(125),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.b.OPERATION_DEFINITION&&++y;var g=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,l.E)(e)&&e.map(g).some(function(e){return e&&e.remove})},_=new Map,E=!1,w={enter:function(e){if(b(e.directives))return E=!0,null}},C=(0,a.YR)(t,{Field:w,InlineFragment:w,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=v(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return E=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(p(e.name.value).removed=!0,E=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return E=!0,null}}});if(!E)return t;var S=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){S(p(t)).transitiveVars.forEac
1h(function(t){e.transitiveVars.add(t)})})),e},O=new Set;C.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?S(h(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){O.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||p(e.name.value).removed||O.add(e.name.value)}),O.forEach(function(e){S(p(e)).fragmentSpreads.forEach(function(e){O.add(e)})});var T={enter:function(e){var t;if(t=e.name.value,!O.has(t)||p(t).removed)return null}};return f=(0,a.YR)(C,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(h(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,c.JG)((0,s.zK)(f)))?f:null}var p=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function v(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function y(e){return(0,s.sw)(e),h([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function m(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
1],!1)})}})}},1211:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>u,s7:()=>c});var n=r(7318),i=r(4968),o=r(4587);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,107,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,108,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),109,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,106,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function u(e){return e&&s(["client","export"],e,!0)}function c(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(110):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(111):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(112,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},1481:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayoutServiceBase=void 0;class r{}t.LayoutServiceBase=r},1500:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(3957);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},1580:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"!=typeof window&&window.document)}},1673:(e,t,r)=>{var n=r(5364);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG),e},t.useColors=function(){let e;return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#F
1F6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(9630)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1930:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i.a,y:()=>s});var n=r(1673),i=r.n(n),o=r(9181),a=r(5364);function s(e,t){let r={};return i().enabled(e)&&(r={headers:(0,o.qx)(t.headers),redirected:t.redirected,status:t.status,statusText:t.statusText,url:t.url}),r}void 0!==a&&a.env&&"true"===a.env.DEBUG_MULTILINE&&i().formatters&&i().formatters.o&&i().formatters.O&&(i().formatters.o=i().formatters.O)},2091:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(1040);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},2323:function(e,t,r){var n,i;void 0===(i="function"==typeof(n=function(){var e,t,r,n={};n.version="0.2.0";var i=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,r){return e<t?t:e>r?r:e}n.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(i[t]=r);return this},n.status=null,n.set=function(e){var t=n.isStarted();n.status=1===(e=o(e,i.minimum,1))?null:e;var r=n.render(!t),u=r.querySelector(i.barSelector),c=i.speed,l=i.easing;return r.offsetWidth,a(function(t){var o,a,f,d;""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),s(u,(o=e,a=c,f=l,(d="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+a+"ms "+f,d)),1===e?(s(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){s(r,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){n.remove(),t()},c)},c)):setTimeout(t,c)}),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout(function(){n.status&&(n.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()&&(0===t&&n.start(),e++,t++,r.always(function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var r,o=t.querySelector(i.barSelector),a=e?"-100":(-1+(n.status||0))*100,u=document.querySelector(i.parent);return s(o,{transition:"all 0 linear",transform:"translate3d("+a+"%,0,0)"}),!i.showSpinner&&(r=t.querySelector(i.spinnerSelector))&&d(r),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&d(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,n,i){var o;n=t[o=(o=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+o)in r)return n;return t}(o)),r.style[n]=i}return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)void 0!==(i=t[n])&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var r=f(e),n=r+t;u(r,t)||(e.className=n.substring(1))}function l(e,t){var r,n=f(e);u(e,t)&&(e.className=(r=n.replace(" "+t+" "," ")).substring(1,r.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function d(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?n.call(t,r,t,e):n)||(e.exports=i)},2337:(e,t,r)=>{"use strict";r.d(t,{C:()=>f});
1var n=r(7318),i=r(5072),o=r(4902),a=r(5813),s=r(3408);function u(e,t){return t?t(e):i.c.of()}function c(e){return"function"==typeof e?new f(e):e}function l(e){return e.request.length<=1}var f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=c(r),a=c(n||new e(u));return Object.assign(new e(l(o)&&l(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,u,c,l;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(58,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),c=s,l=(0,o.Cl)({},u),Object.defineProperty(c,"setContext",{enumerable:!1,value:function(e){l="function"==typeof e?(0,o.Cl)((0,o.Cl)({},l),e(l)):(0,o.Cl)((0,o.Cl)({},l),e)}}),Object.defineProperty(c,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},l)}}),c))||i.c.of()},e.concat=function(t,r){var o=c(t);if(l(o))return!1!==globalThis.__DEV__&&n.V1.warn(47,o),o;var a=c(r);return Object.assign(new e(l(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(u)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,s.S2)("onError",function(){!1!==globalThis.__DEV__&&n.V1.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&n.V1.warn(50),this.onError=e,this},e}()},2526:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DATE_FIELD_VALUE=t.isDynamicPlaceholder=t.getDynamicPlaceholderPattern=void 0,t.getFieldValue=function(e,t,r){if(!e||!t)return r;let n=e[t];return n&&void 0!==n.value?n.value:e.fields&&e.fields[t]&&void 0!==e.fields[t].value?e.fields[t].value:r},t.getChildPlaceholder=function(e,t){return e&&t&&e.placeholders&&e.placeholders[t]?e.placeholders[t]:[]},t.isFieldValueEmpty=function(e){let r=e=>"string"==typeof e?e===t.EMPTY_DATE_FIELD_VALUE:!("function"==typeof(null==e?void 0:e.getMonth)&&!isNaN(null==e?void 0:e.getMonth())),n=e=>null==e||("object"==typeof e?!e.src&&!e.src&&!e.href&&r(e):"number"!=typeof e&&"boolean"!=typeof e&&(!e||r(e)));return!e||n(void 0!==e.value?e.value:e)},t.getDynamicPlaceholderPattern=e=>RegExp(`^${e.replace(/\{\*\}+/i,"\\d+")}$`),t.isDynamicPlaceholder=e=>-1!==e.indexOf("{*}"),t.EMPTY_DATE_FIELD_VALUE="0001-01-01T00:00:00Z"},2748:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var n=r(4902),i=r(7318),o=r(427),a=r(4852),s=function(e){var t=e.client,r=e.children,s=(0,a.l)(),u=o.useContext(s),c=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},u),{client:t||u.client})},[u,t]);return(0,i.V1)(c.client,71),o.createElement(s.Provider,{value:c},r)}},2753:(e,t,r)=>{"use strict";r.d(t,{d:()=>i});var n=r(9103);async function i(e,t,r){let i=`${r}/v1/events/${n.mG}/browser/${e}/show.json?sitecoreContextId=${t}&client_key=&api_token=`,o=await fetch(i,{headers:{"X-Library-Version":n.Zh}}),a=await o.json();if(!o.ok){let{error_msg:e,moreInfo:t}=a;throw Error(`${e}, for more info: ${t}`)}if(!a.customer.ref)throw Error(n.f9.IE_0011);return a.customer.ref}},2838:(e,t,r)=>{"use strict";var n=r(5364);let i={};i.sitecoreApiKey=n.env.SITECORE_API_KEY||"{83B432B0-3E2B-41D5-BA34-46569D0C743D}",i.sitecoreApiHost=n.env.SITECORE_API_HOST||"https://xmc-osfhealthca8fcc-osfdxp1ad2-prode32d.sitecorecloud.io",i.sitecoreSiteName=n.env.SITECORE_SITE_NAME||"osfhealthcare",i.graphQLEndpointPath=n.env.GRAPH_QL_ENDPOINT_PATH||"/sitecore/api/gra
1ph/edge",i.defaultLanguage=n.env.DEFAULT_LANGUAGE||"en",i.graphQLEndpoint=n.env.GRAPH_QL_ENDPOINT||"https://xmc-osfhealthca8fcc-osfdxp1ad2-prode32d.sitecorecloud.io/sitecore/api/graph/edge",i.layoutServiceConfigurationName=n.env.LAYOUT_SERVICE_CONFIGURATION_NAME||"default",i.publicUrl="https://osfhealthcare-staging.vercel.app",i.nextPublicDeliveryKey="bUorbllLZTJoQndmbEFTM1o0aUF5M0RVVTY5elAwNk1uZmh5VTBiVEg1UT18b3NmaGVhbHRoY2E4ZmNjLW9zZmR4cDFhZDItcHJvZGUzMmQtYThkNw==",i.sitecoreEdgeUrl=n.env.SITECORE_EDGE_URL||"https://edge-platform.sitecorecloud.io",i.sitecoreEdgeContextId=n.env.SITECORE_EDGE_CONTEXT_ID||"4hQ3MKTGqCzid9ipqQkX3Z",e.exports=i},3070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>c,Mn:()=>s,uR:()=>a});var n=r(4902);r(7318);var i=r(3957),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.fX)((0,n.fX)((0,n.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,c=r.errorMessage,l=r.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,f.cause=(0,n.fX)((0,n.fX)((0,n.fX)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,n.C6)(t,e),t}(Error)},3139:e=>{function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,i,o,a,s=typeof e;if("string"===s&&e.length>0){var u=e;if(!((u=String(u)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(u);if(c){var l=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*l;case"weeks":case"week":case"w":return 6048e5*l;case"days":case"day":case"d":return 864e5*l;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*l;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*l;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*l;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:break}}}return}if("number"===s&&isFinite(e)){return r.long?(i=Math.abs(n=e))>=864e5?t(n,i,864e5,"day"):i>=36e5?t(n,i,36e5,"hour"):i>=6e4?t(n,i,6e4,"minute"):i>=1e3?t(n,i,1e3,"second"):n+" ms":(a=Math.abs(o=e))>=864e5?Math.round(o/864e5)+"d":a>=36e5?Math.round(o/36e5)+"h":a>=6e4?Math.round(o/6e4)+"m":a>=1e3?Math.round(o/1e3)+"s":o+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},3297:(e,t,r)=>{"use strict";let n;r.d(t,{ws:()=>y,Yq:()=>h,N9:()=>f,Dl:()=>p,eu:()=>v,B6:()=>d});var i=r(9181),o=r(4906),a=r(1039),s=r(9103),u=r(3803),c=r(1930),l=r(5679);let f=new Map,d=null;class h{constructor(e){if("undefined"==typeof window)throw Error(s.f9.IE_0001);this.validateSettings(e),n=this.createSettings(e)}initialize(){f.size||(0,c.Y)("sitecore-cloudsdk:core")("CloudSDK was initialized with no packages"),d=n.cookieSettings.enableBrowserCookie?this.createCookies():Promise.resolve(),this.sideEffects(),f.forEach(e=>{e.exec()})}sideEffects(){window.scCloudSDK={...window.scCloudSDK,core:{getBrowserId:a.U,getGuestId:l.W,settings:{siteName:n.siteName,sitecoreEdgeContextId:n.sitecoreEdgeContextId,sitecoreEdgeUrl:n.sitecoreEdgeUrl},version:s.Zh}}}validateSettings(e){let{sitecoreEdgeContextId:t,siteName:r,sitecoreEdgeUrl:n}=e;if(!t||0===t.trim().length)throw Error(s.f9.MV_0001);if(!r||0===r.trim().length)throw Error(s.f9.MV_0002);if(void 0!==n)try{new URL(n)}catch(e){throw Error(s.f9.IV_0001)}}createSettings(e){let{siteName:t,sitecoreEdgeContextId:r,cookieDomain:n,cookiePath:i,cookieExpiryDays:o,sitecoreEdgeUrl:a,enableBrowserCookie:u}=e;return{cookieSettings:{domain:n,enableBrowserCookie:u??!1,expiryDays:o||s.xu,name:{browserId:`${s.aG}${r}`},path:i||"/"},siteName:t,sitecoreEdgeContextId:r,sitecoreEdgeUrl:a??s.NW}}async createCookies(){let e=(0,u.X)(n.cookieSettings.expiryDays,n.cookieSettings.domain);if((0,i.Ri)(window.document.cookie,n.cookieSettings.name.browserId))return;let t=await (0,o.H)(n.sitecoreEdgeUrl,n.sitecoreEdgeContextId);document.cookie=(0,i.Of)(n.cookieSettings.name.browserId,t.browserId,e)}}function p(){if(!n)throw Error(s.f9.IE_0012);return n}function v(e){return f.get(e)}function y(e){return new h(e)}},3408:(e,t,r)=>{"use strict";r.d(t,{S2:()=>f,cc:()=>l,lz:()=>c});var n=r(4902),i=r(3965),o=r(7318),a=Symbol.for("apollo.deprecations"),s=o.Sf,u=new i.DX;function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return u.withValue.apply(u,(0,n.fX)([Array.isArray(e)?e:[e]],t,!1))}function l(e,t,r,n){void 0===n&&(n="Please remove this option."),f(t,function(){t in e&&!1!==globalThis.__DEV__&&o.V1.warn(104,r,t,n)})}
1function f(e,t){s[a]||(u.getValue()||[]).includes(e)||t()}},3803:(e,t,r)=>{"use strict";r.d(t,{X:()=>i});var n=r(9103);function i(e=n.xu,t){return{domain:t,maxAge:e*n.UV,path:"/",sameSite:"None",secure:!0}}},3957:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},3965:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>d,yN:()=>A,LV:()=>j});var i=r(9668),o=r(6898);let a=null,s={},u=1;function c(e){try{return e()}catch(e){}}let l="@wry/context:Slot",f=c(()=>globalThis)||c(()=>global)||Object.create(null),d=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:h,noContext:p}=d,v=new d,{hasOwnProperty:y}=Object.prototype,m=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function g(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function _(e,t){if(!e)throw Error(t||"assertion failure")}function E(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function w(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class C{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++C.count}peek(){if(1===this.value.length&&!T(this))return S(this),this.value[0]}recompute(e){var t,r,n;return _(!this.recomputing,"already recomputing"),S(this),T(this)?(t=this,r=e,R(t),v.withValue(t,O,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{g(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,T(n)||function(e){D(e,I)}(n)),w(t.value)):w(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,D(e,k),g(this))}dispose(){this.setDirty(),R(this),D(this,(e,t)=>{e.setDirty(),P(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(m(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function S(e){let t=v.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?k(t,e):I(t,e),t}function O(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!E(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}C.count=0;function D(e,t){let r=e.parents.size;if(r){let n=m(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function k(e,t){_(e.childValues.has(t)),_(T(t));let r=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&D(e,k)}function I(e,t){_(e.childValues.has(t)),_(!T(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):E(r,t.value)||e.setDirty(),x(e,t),T(e)||D(e,I)}function x(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function R(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{P(e,r)}),e.forgetDeps(),_(null===e.dirtyChildren)}function P(e,t){t.parents.delete(e),e.childValues.delete(t),x(e,t)}let F={setDirty:!0,dispose:!0,forget:!0};function A(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=v.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(g(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(F,r)?r:"setDirty";
1m(n).forEach(e=>e[i]()),t.delete(e),g(n)}},n}function N(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let V=new Set;function j(e,{max:t=65536,keyArgs:r,makeCacheKey:n=N,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new C(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),V.add(u),v.hasValue()||(V.forEach(e=>e.clean()),V.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function d(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=d,c.forget=function(){return d(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}},3975:(e,t,r)=>{"use strict";function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},4518:(e,t,r)=>{"use strict";r.d(t,{y:()=>m});var n,i=r(4968),o=r(7518),a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return u(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",u(e.variableDefinitions,", "),")"),i=u(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?u([t,u([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+l(" = ",n)+l(" ",u(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=l("",t,": ")+r,s=a+l("(",u(n,", "),")");return s.length>80&&(s=a+l("(\n",f(u(n,"\n")),"\n)")),u([s,u(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",u(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return u(["...",l("on ",t),u(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",u(n,", "),")")," ")+"on ".concat(r," ").concat(l("",u(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,o.yo)(r,"description"===t?"":"  "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+u(e.values,", ")+"]"},ObjectValue:function(e){return"{"+u(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",u(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s(function(e){var t=e.directives,r=e.operationTypes;return u(["schema",u(t," "),c(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s(function(e){return u(["scalar",e.name,u(e.directives," ")]," ")}),ObjectTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")}
1),FieldDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(h(r)?l("(\n",f(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+": "+n+l(" ",u(i," "))}),InputValueDefinition:s(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return u([t+": "+r,l("= ",n),u(i," ")]," ")}),InterfaceTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")}),UnionTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.types;return u(["union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")}),EnumTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.values;return u(["enum",t,u(r," "),c(n)]," ")}),EnumValueDefinition:s(function(e){return u([e.name,u(e.directives," ")]," ")}),InputObjectTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.fields;return u(["input",t,u(r," "),c(n)]," ")}),DirectiveDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(h(r)?l("(\n",f(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return u(["extend schema",u(t," "),c(r)]," ")},ScalarTypeExtension:function(e){return u(["extend scalar",e.name,u(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return u(["extend union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return u(["extend enum",t,u(r," "),c(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return u(["extend input",t,u(r," "),c(n)]," ")}};function s(e){return function(t){return u([t.description,e(t)],"\n")}}function u(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!=(t=null==e?void 0:e.filter(function(e){return e}).join(r))?t:""}function c(e){return l("{\n",f(u(e,"\n")),"\n}")}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function f(e){return l("  ",e.replace(/\n/g,"\n  "))}function d(e){return -1!==e.indexOf("\n")}function h(e){return null!=e&&e.some(d)}var p=r(5682),v=r(593),y=r(7070),m=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.YR)(e,{leave:a}),n.set(e,t)),t},{reset:function(){n=new p.A(v.v.print||2e3)}});m.reset(),!1!==globalThis.__DEV__&&(0,y.D_)("print",function(){return n?n.size:0})},4587:(e,t,r)=>{"use strict";r.d(t,{b:()=>n});var n=Object.freeze({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",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},4615:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
1,o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},4812:(e,t,r)=>{"use strict";r.d(t,{P:()=>D});var n=r(4902),i=r(2337),o=r(7318),a=r(1211),s=r(5072),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o.vA)(54,t,e.message);throw n.parseError=e,n}return r},c=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},l=r(542);function f(e){var t={next:function(){return e.read()}};return l.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var d=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},h=r(3070),p=r(4868),v=Object.prototype.hasOwnProperty;function y(e,t){e.status>=300&&d(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var m=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o.vA)(51)},g=r(4518),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},_=function(e,t){return t(e)};function E(e){return new s.c(function(t){t.error(e)})}var w=r(4968),C=r(1055),S=r(5813),O=(0,o.no)(function(){return fetch}),T=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,T=e.fetch,D=e.print,k=void 0===D?_:D,I=e.includeExtensions,x=e.preserveHeaderCase,R=e.useGETForQueries,P=e.includeUnusedVariables,F=void 0!==P&&P,A=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&m(T||O);var N={http:{includeExtensions:I,preserveHeaderCase:x},options:A.fetchOptions,credentials:A.credentials,headers:A.headers};return new i.C(function(e){var t,i,m,_,D,I,x=c(e,r),P=e.getContext(),A={};if(P.clientAwareness){var V=P.clientAwareness,j=V.name,M=V.version;j&&(A["apollographql-client-name"]=j),M&&(A["apollographql-client-version"]=M)}var L=(0,n.Cl)((0,n.Cl)({},A),P.headers),q={http:P.http,options:P.fetchOptions,credentials:P.credentials,headers:L};if((0,a.d8)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&o.V1.warn(52);var Q=(0,C.er)(e.query);if(!Q)return E(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=Q}var U=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,g.y)),{options:o,body:f}}(e,k,b,N,q),z=U.options,B=U.body;B.variables&&!F&&(t=B.variables,i=e.query,m=(0,n.Cl)({},t),_=new Set(Object.keys(t)),(0,w.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&_.delete(e.name.value)}}),_.forEach(function(e){delete m[e]}),B.variables=m),z.signal||"undefined"==typeof AbortController||(z.signal=(I=new AbortController).signal);var W="OperationDefinition"===(D=(0,S.Vn)(e.query)).kind&&"subscription"===D.operation,G=(0,a.d8)(["defer"],e.query);if(R&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(z.method="GET"),G||W){z.headers=z.headers||{};var Y="multipart/mixed;";W&&G&&!1!==globalThis.__DEV__&&o.V1.warn(53),W?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":G&&(Y+="deferSpec=20220824,application/json"),z.headers.accept=Y}if("GET"===z.method){var H=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(x,B),$=H.newURI,K=H.parseError;if(K)return E(K);x=$}else try{z.body=u(B,"Payload")}catch(e){return E(e)}return new s.c(function(t){var r=T||(0,o.no)(function(){return fetch})||O,i=t.next.bind(t);return r(x,z).then(function(t){e.setContext({response:t});var r,o=null==(r=t.headers)?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,i,o,a,s,u,c,d,v,m,g,b,_,E,w,C,S,O,T,D,k,I,x;return(0,n.YH)(this,function(R){switch(R.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null==(x=e.headers)?void 0:x.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,l.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return f(s.getReader());if(s.stream)return f(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},l.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return l.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),d=!0,R.label=1;case 1:if(!d)return[3,3];return[4,c.next()];case 2:for(m=(v=R.sent()).value,g=v.done,b="string"==typeof m?m:r.decode(m),_=u.length-s.length+1,d=!g,u+=b,E=u.indexOf(s,_);E>-1;){if(w=void 0,w=(k=[u.slice(0,E),u.slice(E+s.length)])[0],u=k[1],C=w.indexOf("\r\n\r\n"),(S=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(w.slice(0,C))["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(O=w.slice(C)){if(Object.keys(T=y(e,O)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if((0,p.Nw)(T)){if(D={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];D=(0,n.Cl)({},T.payload)}"errors"in T&&(D=(0,n.Cl)((0,n.Cl)({},D),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in D?D.extensions:null),((I={})[h.K$]=T.errors,I))})),t(D)}else t(T);else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}E=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return y(t,e)}).then(function(r){return Array.isArray(r)||v.call(r,"data")||v.call(r,"errors")||d(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){I=void 0,t.complete()}).catch(function(e){I=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){I&&I.abort()}})})},D=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,T(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},4820:(e,t,r)=>{"use strict";r.d(t,{ws:()=>n.ws,Yq:()=>n.Yq});var n=r(3297);r(1039),r(5679)},4844:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseError=void 0,t.fetchData=function(e,t){return n(this,arguments,void 0,function*(e,t,r={}){return(yield t((0,i.resolveUrl)(e,r))).data})};let i=r(9749);class o extends Error{constructor(e,t){super(e),Object.setPrototypeOf(this,o.prototype),this.response=t}}t.ResponseError=o},4852:(e,t,r)=>{"use strict";r.d(t,{l:()=>u});var n,i=r(427),o=r(542),a=r(7318),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),69);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},4868:(e,t,r)=>{"use strict";r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>c});var n=r(3957),i=r(5785),o=r(8131);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function u(e){return(0,n.U)(e)&&"payload"in e}function c(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}},4902:(e,t,r)=>{"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>u,fX:()=>c,sH:()=>s});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){var c=[s,u];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],n=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}Object.create;function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},4906:(e,t,r)=>{"use strict";r.d(t,{H:()=>o});var n=r(9103),i=r(9181);async function o(e,t,r){let o,a={headers:{"X-Library-Version":n.Zh}},s=`${e}/v1/events/${n.mG}/browser/create.json?sitecoreContextId=${t}&client_key=`;if(o=void 0!==r?await (0,i.u9)(s,r,a).then(e=>
1e&&e.json()||null).catch(e=>{if(e.message===i.f9.IV_0006||e.message===i.f9.IE_0002)throw Error(e.message);return null}):await fetch(s,a).then(e=>e.json()).catch(()=>void 0),!o?.ref)throw Error(n.f9.IE_0003);let{ref:u,customer_ref:c}=o;return{browserId:u,guestId:c}}},4918:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.14.0"},4962:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},4968:(e,t,r)=>{"use strict";r.d(t,{YR:()=>s,sP:()=>a});var n=r(7016),i=r(445),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,u=Array.isArray(e),c=[e],l=-1,f=[],d=void 0,h=void 0,p=void 0,v=[],y=[],m=e;do{var g,b=++l===c.length,_=b&&0!==f.length;if(b){if(h=0===y.length?void 0:v[v.length-1],d=p,p=y.pop(),_){if(u)d=d.slice();else{for(var E={},w=0,C=Object.keys(d);w<C.length;w++){var S=C[w];E[S]=d[S]}d=E}for(var O=0,T=0;T<f.length;T++){var D=f[T][0],k=f[T][1];u&&(D-=O),u&&null===k?(d.splice(D,1),O++):d[D]=k}}l=s.index,c=s.keys,f=s.edits,u=s.inArray,s=s.prev}else{if(h=p?u?l:c[l]:void 0,null==(d=p?p[h]:m))continue;p&&v.push(h)}var I=void 0;if(!Array.isArray(d)){if(!(0,i.Ll)(d))throw Error("Invalid AST Node: ".concat((0,n.A)(d),"."));var x=function(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}(t,d.kind,b);if(x){if((I=x.call(t,d,h,p,v,y))===a)break;if(!1===I){if(!b){v.pop();continue}}else if(void 0!==I&&(f.push([h,I]),!b))if((0,i.Ll)(I))d=I;else{v.pop();continue}}}void 0===I&&_&&f.push([h,d]),b?v.pop():(s={inArray:u,index:l,keys:c,edits:f,prev:s},c=(u=Array.isArray(d))?d:null!=(g=r[d.kind])?g:[],l=-1,f=[],p&&y.push(p),p=d)}while(void 0!==s);return 0!==f.length&&(m=f[f.length-1][1]),m}},5063:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.traverseComponent=t.traverseField=t.traversePlaceholder=t.getContentStylesheetUrl=t.getContentStylesheetLink=void 0;let n=r(8119),i=/class=".*(\bck-content\b).*"/g;t.getContentStylesheetLink=(e,r,i=n.SITECORE_EDGE_URL_DEFAULT)=>{if(!e.sitecore.route)return null;let o={loadStyles:!1};return((0,t.traverseComponent)(e.sitecore.route,o),o.loadStyles)?{href:(0,t.getContentStylesheetUrl)(r,i),rel:"stylesheet"}:null},t.getContentStylesheetUrl=(e,t=n.SITECORE_EDGE_URL_DEFAULT)=>`${t}/v1/files/pages/styles/content-styles.css?sitecoreContextId=${e}`,t.traversePlaceholder=(e,r)=>{r.loadStyles||e.forEach(e=>{(0,t.traverseComponent)(e,r)})},t.traverseField=(e,r)=>{e&&"object"==typeof e&&!r.loadStyles&&("editable"in e&&e.editable?r.loadStyles=i.test(e.editable):"value"in e&&"string"==typeof e.value?r.loadStyles=i.test(e.value):"fields"in e?Object.values(e.fields).forEach(e=>{(0,t.traverseField)(e,r)}):Array.isArray(e)&&e.forEach(e=>{(0,t.traverseField)(e,r)}))},t.traverseComponent=(e,r)=>{if(r.loadStyles)return;"fields"in e&&e.fields&&Object.values(e.fields).forEach(e=>{(0,t.traverseField)(e,r)});let n=e.placeholders||{};Object.keys(n).forEach(e=>{(0,t.traversePlaceholder)(n[e],r)})}},5072:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>w});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function d(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:w}function p(e){p.log?p.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=d(t,"unsubscribe");r&&r.call(t)}}catch(e){p(e)}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";var n=e._observer;try{var i=d(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){p(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}g(e,t,r)}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new E(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),w=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=h(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=d(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof w&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=d(t,c)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:l,hostReportError:p},configurable:!0})},5518:(e,t,r)=>{"use strict";r.d(t,{U:()=>b,y:()=>E});var n=r(4902),i=r(7318),o=r(996),a=r(6434),s=r(5813),u=r(9760),c=r(4962),l=r(3975),f=r(5072),d=r(6974),h=r(3070),p=r(9221),v=r(3965),y=r(3408),m=Object.assign,g=Object.hasOwnProperty,b=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,a=r.options,u=this,c=t.inactiveOnCreation.getValue();(u=e.call(this,function(e){u._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=_)}catch(e){}var r=!u.observers.size;u.observers.add(e);var n=u.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(u.maskResult(n.result)),r&&u.reobserve().catch(function(){}),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}})||this).observers=new Set,u.subscriptions=new Set,u.dirty=!1,u._getOrCreateQuery=function(){return c&&(i.queries.set(u.queryId,o),c=!1),u.queryManager.getOrCreateQuery(u.queryId)},u.queryInfo=o,u.queryManager=i,u.waitForOwnResult=w(a.fetchPolicy),u.isTornDown=!1,u.subscribeToMore=u.subscribeToMore.bind(u),u.maskResult=u.maskResult.bind(u);var l=i.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,d=void 0===f?"cache-first":f,h=a.fetchPolicy,p=void 0===h?d:h,v=a.initialFetchPolicy,y=void 0===v?"standby"===p?d:p:v;u.options=(0,n.Cl)((0,n.Cl)({},a),{initialFetchPolicy:y,fetchPolicy:p}),u.queryId=o.queryId||i.generateQueryId();var m=(0,s.Vu)(u.query);return u.queryName=m&&m.name&&m.name.value,u}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables}
1,enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,y.S2)("observableQuery.result",function(){!1!==globalThis.__DEV__&&i.V1.warn(23)}),new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var r=(0,y.lz)("getLastResult",function(){return t.getLastResult(!0)}),i=this.queryInfo.networkStatus||r&&r.networkStatus||a.pT.ready,s=(0,n.Cl)((0,n.Cl)({},r),{loading:(0,a.bi)(i),networkStatus:i}),u=this.options.fetchPolicy,c=void 0===u?"cache-first":u;if(w(c)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),(0,o.L)(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===a.pT.loading&&("cache-first"===c||"cache-only"===c)&&(s.networkStatus=a.pT.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.pT.ready&&(s.error||s.errors)&&(s.networkStatus=a.pT.error),!1===globalThis.__DEV__||l.complete||this.options.partialRefetch||s.loading||s.data||s.error||E(l.missing)}return e&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,p.a)(i,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastResult",function(){!1!==globalThis.__DEV__&&i.V1.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastError",function(){!1!==globalThis.__DEV__&&i.V1.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,y.S2)("resetLastResults",function(){!1!==globalThis.__DEV__&&i.V1.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&g.call(e,"variables")){var u=(0,s.AT)(this.query),c=u.variableDefinitions;c&&c.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(28,e,(null==(t=u.name)?void 0:t.value)||u)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,u=s.networkStatus;s.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,i.V1)(l,29),this.queryManager.fetchQuery(o,r,a.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=u),f)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){c.add(e.query)}});else{var d=t.getLast("result"),h=l(d.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},d),{networkStatus:u,loading:(0,a.bi)(u),data:h}),t.variables)}return t.maskResult(i)}).finally(function(){f&&!c.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.Cl)({subscriptionData:r},t))})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&i.V1.error(30,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,y.cc)(e,"canonizeResults","setOptions"),(0,y.S2)("setOptions",function(){!1!==globalThis.__DEV__&&i.V1.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});m(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,o.L)(this.variables,e)?this.observers.size?(0,y.lz)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,32),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){var r=this;void 0===t&&(t=this.variables);var i=(0,y.lz)("getLastError",function(){return r.getLastError()});return i&&this.last&&!(0,o.L)(t,this.last.variables)&&(i=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,
1c.m)(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,c=this.options.fetchPolicy,l=(0,u.o)(this.options,e||{}),f=i?l:m(this.options,l),d=this.transformDocument(f.query);this.lastQuery=d,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.L)(e.variables,s)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===c||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=w(f.fetchPolicy));var p=function(){r.concast===g&&(r.waitForOwnResult=!1)},v=f.variables&&(0,n.Cl)({},f.variables),y=this.fetch(f,t,d),g=y.concast,b=y.fromLink,_={next:function(e){(0,o.L)(r.variables,v)&&(p(),r.reportResult(e,v))},error:function(e){(0,o.L)(r.variables,v)&&((0,h.Mn)(e)||(e=new h.K4({networkError:e})),p(),r.reportError(e,v))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=_),g.addObserver(_),g},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;(0,y.lz)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this,n=(0,y.lz)("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&(0,l.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=this,i=(0,n.Cl)((0,n.Cl)({},(0,y.lz)("getLastResult",function(){return r.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(i,t),(0,l.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,a.bi)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new v.DX,t}(f.c);function _(e){!1!==globalThis.__DEV__&&i.V1.error(33,e.message,e.stack)}function E(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(34,e)}function w(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,d.r)(b)},5591:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e){this.timeout=e,this.timeoutId=void 0}get start(){return new Promise((e,t)=>{this.timeoutId=setTimeout(()=>{let e=Error(`Request timed out, timeout of ${this.timeout}ms is exceeded`);e.name="AbortError",t(e)},this.timeout)})}clear(){this.timeoutId&&clearTimeout(this.timeoutId)}}t.default=r},5679:(e,t,r)=>{"use strict";r.d(t,{W:()=>a});var n=r(9181),i=r(3297),o=r(2753);async function a(){let e=(0,i.Dl)(),t=(0,n.kG)(e.cookieSettings.name.browserId);return(0,o.d)(t,e.sitecoreEdgeContextId,e.sitecoreEdgeUrl)}},5682:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>u});var n=r(4615),i=r(6898),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},5785:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},5813:(e,t,r)=>{"use strict";r.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>d,zK:()=>u});var n=r(7318),i=r(8851);function o(e){(0,n.V1)(e&&"Document"===e.kind,116);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(117,e.kind);return e});return(0,n.V1)(t.length<=1,118,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,119),t}function l(e){(0,n.V1)("Document"===e.kind,120),(0,n.V1)(e.definitions.length<=1,121);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,122),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(123)}function d(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},5944:(e,t,r)=>{"use strict";r.d(t,{D:()=>eD});var n=r(4902),i=r(7318),o=r(3965),a=r(996),s=r(8922),u=r(593),c=r(5813),l=r(5072),f=r(8131),d=r(4615),h=r(7070),p=r(9221),v=r(8347),y=r(3408),m=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:u.v["cache.fragmentQueryDocuments"]||1e3,cache:d.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.readQuery"),(0,y.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,o=e.fragment,a=e.fragmentName,s=e.from,u=e.optimistic,d=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),h=this.getFragmentDoc(o,a),y=void 0===s||"string"==typeof s?s:this.identify(s),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=a||(0,c.E4)(o).name.value;y||!1===globalThis.__DEV__||i.V1.warn(1,g)}var b=(0,n.Cl)((0,n.Cl)({},d),{returnPartialData:!0,id:y,query:h,optimistic:void 0===u||u});return new l.c(function(i){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(s){var u=m?(0,v.z)(s.result,o,r,a):s.result;if(!(t&&(0,p.a)(h,{data:t.result},{data:u},e.variables))){var c={data:u,complete:!!s.complete};s.missing&&(c.missing=(0,f.IM)(s.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},s),{result:u}),i.next(c)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.readFragment"),(0,y.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var i=(0,y.lz)("canonizeResults",function(){return r.readQuery(e)}),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var i=(0,y.lz)("canonizeResults",function(){return r.readFragment(e)}),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(m.prototype.getMemoryInternals=h.tQ);var g=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(a={})[s.path[u]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),b=r(592),_=r(1055),E=r(6828),w=r(4518),C=r(8851),S=r(4587),O=r(542),T=r(9760),D=r(1211),k=r(1500),I=r
1(3957),x=r(9668),R=r(5785),P=Object.prototype.hasOwnProperty;function F(e){return null==e}function A(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=F(n)?F(i)?void 0:{_id:i}:{id:n}),F(n)&&!F(i)&&(n=i),!F(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var N={dataIdFromObject:A,addTypename:!0,resultCaching:!0,canonizeResults:!1};function V(e){var t=e.canonizeResults;return void 0===t?N.canonizeResults:t}var j=/^[_a-z][_0-9a-z]*/i;function M(e){var t=e.match(j);return t?t[0]:e}function L(e){return(0,I.U)(e)&&!(0,C.A_)(e)&&!(0,R.c)(e)}function q(e,t){var r=(0,s.JG)((0,c.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Q=Object.create(null),U=function(){return Q},z=Object.create(null),B=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,k.G)((0,C.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,C.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,C.WU)(e);if((0,C.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,C.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),P.call(this.data,e)){var r=this.data[e];if(r&&P.call(r,t))return r[t]}return"__typename"===t&&P.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Y?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),P.call(this.data,e))?this.data[e]:this instanceof Y?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,C.A_)(e)&&(e=e.__ref),(0,C.A_)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new f.ZI($).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=M(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof Y||delete s[e]}}),u.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,c={DELETE:Q,INVALIDATE:z,isReference:C.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,C.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(l){var f=M(l),d=o[l];if(void 0!==d){var h="function"==typeof t?t:t[l]||t[f];if(h){var p=h===U?Q:h((0,k.G)(d),(0,n.Cl)((0,n.Cl)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(p===z)r.group.dirty(e,l);else if(p===Q&&(p=void 0),p!==d&&(a[l]=p,s=!0,d=p,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,C.A_)(p))v(p);else if(Array.isArray(p))for(var y=!1,m=void 0,g=0,b=p;g<b.length;g++){var _=b[g];if((0,C.A_)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.V1.warn(4,m);break}}}}void 0!==d&&(u=!1)}}),s)return this.merge(e,a),u&&(this instanceof Y?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=U,n):U)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(P.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Y&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];
1return this.getRootIdSet().forEach(function(t){P.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&P.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Y?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){P.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof Y;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!P.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,C.A_)(e)&&(t[e.__ref]=!0),(0,I.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,I.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),W=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new x.b(O.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=M(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function G(e,t){K(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new W(void 0===n||n))||this;return o.stump=new H(o),o.storageTrie=new x.b(O.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(B||(B={}));var Y=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return P.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(B),H=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new W(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Y);function $(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function K(e){return!!(e instanceof B&&e.group.caching)}var J=function(){function e(){this.known=new(O.En?WeakSet:Set),this.pool=new x.b(O.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,I.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,I.U)(e)){var t=(0,I.U)(e)?(0,R.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,I.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function X(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Z=function(){function e(e){var t=this;this.knownResults=new(O.et?WeakMap:Map),this.config=(0,T.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:V(e)}),this.canon=e.canon||new J,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=X(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(G(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:X,makeCacheKey:function(e,t,r,n){if(K(r.store))return r.store.makeCacheKey(e,(0,C.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return G(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(K(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new J},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,l=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,c.wY)((0,c.AT)(i))),a);var d=(0,C.WU)(void 0===o?"ROOT_QUERY":o),h=this.executeSelectionSet({selectionSet:(0,c.Vn)(i).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,n.Cl)({store:r,query:i,policies:f,variables:a,varString:(0,E.M)(a),canonizeResults:l},q(i,this.config.fragments))});if(h.missing&&(t=[new g(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(K(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,u=e.context;if((0,C.A_)(o)&&!u.policies.rootTypenamesById[o.__ref]&&!u.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var c=u.variables,l=u.policies,d=u.store.getFieldValue(o,"__typename"),h=[],p=new f.ZI;function v(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof d&&!l.rootIdsByTypename[d]&&h.push({__typename:d});var y=new Set(n.selections);
1y.forEach(function(e){var n,f;if((0,D.MS)(e,c))if((0,C.dt)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:u.variables,from:o},u),g=(0,C.ue)(e);void 0===m?_.XY.added(e)||(t=p.merge(t,((n={})[g]="Can't find field '".concat(e.name.value,"' on ").concat((0,C.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,R.c)(m)?m.length>0&&(m=v(r.executeSubSelectedArray({field:e,array:m,enclosingRef:a,context:u}),g)):e.selectionSet?null!=m&&(m=v(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,C.A_)(m)?m:a,context:u}),g)):u.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&h.push(((f={})[g]=m,f))}else{var b=(0,s.HQ)(e,u.lookupFragment);if(!b&&e.kind===S.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);b&&l.fragmentMatches(b,d)&&b.selectionSet.selections.forEach(y.add,y)}});var m={result:(0,f.IM)(h),missing:t},g=u.canonizeResults?this.canon.admit(m):(0,k.G)(m);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new f.ZI;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,R.c)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,C.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,I.U)(r)&&((0,i.V1)(!(0,C.A_)(r),11,(0,C.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),ee=r(4962),et=r(2091),er=r(8235),en=Object.create(null);function ei(e){var t=JSON.stringify(e);return en[t]||(en[t]=Object.create(null))}function eo(e){var t=ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=es(e,function(e){var o=ec(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&P.call(t,e[0])&&(o=ec(t,e,eu)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function ea(e){var t=ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(es(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,R.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,C.MB)(s,i);return u&&ec(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&P.call(i,c)){var l=e.slice(0);return l[0]=c,ec(i,l)}return}if(t)return ec(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function es(e,t){var r=new f.ZI;return(function e(t){var r=ei(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,R.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,R.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function eu(e,t){return e[t]}function ec(e,t,r){return r=r||eu,function e(t){return(0,I.U)(t)?(0,R.c)(t)?t.map(e):es(Object.keys(t).sort(),function(e){return ec(t,e)}):t}(t.reduce(function e(t,n){return(0,R.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var el=r(240);function ef(e){return void 0!==e.args?e.args:e.field?(0,C.MB)(e.field,e.variables):null}var ed=function(){},eh=function(e,t){return t.fieldName},ep=function(e,t,r){return(0,r.mergeObjects)(e,t)},ev=function(e,t){return t},ey=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:A},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=eg(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),l=c&&c.keyFn||this.config.dataIdFromObject;return el.yV.withValue(!0,function(){for(;l;){var t=l((0,n.Cl)((0,n.Cl)({},e),s),u);if((0,R.c)(t))l=eo(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),P.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ep:!1===t?ev:e.merge}a(n,t.merge),n.keyFn=!1===i?ed:(0,R.c)(i)?eo(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r[t];n&&(null==n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?eh:(0,R.c)(s)?ea(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||eh)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(j);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!P.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,d=0;d<u.length;++d){var h=u[d];if(h.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;h.forEach(c),l&&d===u.length-1&&function e(t,r,n){return!!(0,I.U)(r)&&((0,R.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,C.dt)(t)&&(0,D.MS)(t,n)){var i=(0,C.ue)(t);return P.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ef(e);o;){var u=o(s,a);if((0,R.c)(u))o=ea(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,C.Ii)(e.field,e.variables):(0,C.o5)(n,ef(e))),!1===t)?n:n===M(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=M(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o),u=s&&s.read;if(u){var c=em(this,r,e,t,t.store.getStorage((0,C.A_)(r)?r.__ref:r,i));return er.bl.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ep?eb(n.store)(e,t):s===ev?t:(n.overwrite&&(e=void 0),s(e,t,em(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function em(e,t,r,n,i){var o=e.getStoreFieldName(r),a=M(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:ef(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:C.A_,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(eg(arguments,t,s),n)},mergeObjects:eb(n.store)}}function eg(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"==typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.Cl)({},a),P.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,et.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function eb(e){return function(t,r){if((0,R.c)(t)||(0,R.c)(r))throw(0,i.vA)(9);if((0,I.U)(t)&&(0,I.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,C.A_)(t)&&L(r))return e.merge(t.__ref,r),t;if(L(t)&&(0,C.A_)(r))return e.merge(t,r.__ref),r;if(L(t)&&L(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function e_(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var eE=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,l=t.variables,d=t.overwrite,h=(0,c.Vu)(o),p=new f.ZI;l=(0,n.Cl)((0,n.Cl)({},(0,c.wY)(h)),l);var v=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)}
1,variables:l,varString:(0,E.M)(l)},q(o,this.fragments)),{overwrite:!!d,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,C.A_)(y))throw(0,i.vA)(12,s);return v.incomingById.forEach(function(t,o){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,C.WU)(o);if(u&&u.map.size){var f=r.applyMerges(u,l,s,v);if((0,C.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var d=Object.create(null);c.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});var h=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==d[M(e)]||h(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},u=s(e);if(u){var c=s(t);if(!(!c||(0,C.A_)(u)||(0,a.L)(u,c)||Object.keys(u).every(function(e){return void 0!==o.getFieldValue(c,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=M(r),d="".concat(l,".").concat(f);if(!eT.has(d)){eT.add(d);var h=[];(0,R.c)(u)||(0,R.c)(c)||[u,c].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,n.Cl)({},u),(0,n.Cl)({},c))}}}}(l,s,e,v.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,C.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var d=function(){var e=eg(arguments,l,s.variables);if((0,C.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},h=new Set;this.flattenFields(a,o,s,f).forEach(function(e,r){var n,a=o[(0,C.ue)(r)];if(h.add(r),void 0!==a){var s=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),p=eC(u,s),v=t.processFieldValue(a,r,r.selectionSet?e_(e,!1,!1):e,p),y=void 0;r.selectionSet&&((0,C.A_)(v)||L(v))&&(y=d("__typename",v));var m=c.getMergeFunction(f,r.name.value,y);m?p.info={field:r,typename:f,merge:m}:eO(u,s),l=e.merge(l,((n={})[s]=v,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||_.XY.added(r)||c.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,C.ue)(r),o)});try{var p=c.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:d}),v=p[0],y=p[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,C.WU)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(a)>=0||(g.push(a),this.reader&&this.reader.isFresh(o,m,a,s)))return m;var b=s.incomingById.get(r);return b?(b.storeObject=s.merge(b.storeObject,l),b.mergeTree=function e(t,r){if(t===r||!r||eS(r))return t;if(!t||eS(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(b.mergeTree,u),h.forEach(function(e){return b.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eS(u)?void 0:u,fieldNodeSet:h}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,R.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eC(n,o));return eO(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,ee.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,C.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,u=new x.b(!1);return!function e(c,l){var f=u.lookup(c,l.clientOnly,l.deferred);f.visited||(f.visited=!0,c.selections.forEach(function(u){if((0,D.MS)(u,r.variables)){var c=l.clientOnly,f=l.deferred;
1if(!(c&&f)&&(0,R.E)(u.directives)&&u.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var n=(0,C.MB)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,C.dt)(u)){var d=o.get(u);d&&(c=c&&d.clientOnly,f=f&&d.deferred),o.set(u,e_(r,c,f))}else{var h=(0,s.HQ)(u,r.lookupFragment);if(!h&&u.kind===S.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,u.name.value);h&&a.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,e_(r,c,f))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,C.A_)(r)){var u,c,l=!(0,R.c)(r)&&((0,C.A_)(t)||L(t))?t:void 0,f=r;l&&!a&&(a=[(0,C.A_)(l)?l.__ref:l]);var d=function(e,t){return(0,R.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=d(l,t),n=d(f,t);if(void 0!==n){a&&a.push(t);var u=s.applyMerges(e,r,n,o,a);u!==n&&(c=c||new Map).set(t,u),a&&(0,i.V1)(a.pop()===t)}}),c&&(r=(0,R.c)(f)?f.slice(0):(0,n.Cl)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):r},e}(),ew=[];function eC(e,t){var r=e.map;return r.has(t)||r.set(t,ew.pop()||{map:new Map}),r.get(t)}function eS(e){return!e||!(e.info||e.map.size)}function eO(e,t){var r=e.map,n=r.get(t);n&&eS(n)&&(ew.push(n),r.delete(t))}var eT=new Set,eD=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new b.c(_.XY),n.assumeImmutableResults=!0,n.makeVar=er.UT,n.txCount=0,!1!==globalThis.__DEV__&&((0,y.cc)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,y.cc)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r=t,n.config=(0,T.o)(N,r),n.addTypename=!!n.config.addTypename,n.policies=new ey({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new B.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.addTypenameTransform.resetCache(),null==n||n.resetCaches(),this.storeWriter=new eE(this,this.storeReader=new Z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:V(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(K(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,E.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof g)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(P.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return!1!==globalThis.__DEV__&&(0,y.cc)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,er.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,er.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,y.cc)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),E.M.reset(),w.y.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,C.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(P.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),E.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,er.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=this,n=e.lastDiff,i=(0,y.lz)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,n)))&&(n&&(0,a.L)(n.result,i.result)||e.callback(e.lastDiff=i,n))},t}(m);!1!==globalThis.__DEV__&&(eD.prototype.getMemoryInternals=h.cM)},5958:(e,t,r)=>{"use strict";r.d(t,{S:()=>c});var n=r(4587),i=r(1500),o=r(8851),a=r(1211),s=r(240),u=r(7318);function c(e,t,r){return s.yV.withValue(!0,function(){var c=function e(t,r,i,c,l){var f,d=i.knownChanged,h=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var p=0,v=Array.from(t.entries());p<v.length;p++){var y=v[p],m=y[0],g=y[1];if(null===g){h[m]=null;continue}var b=e(g,r,i,c,!1!==globalThis.__DEV__?"".concat(l||"","[").concat(m,"]"):void 0);d.has(b)&&d.add(h),h[m]=b}return d.has(h)?h:t}for(var _=0,E=r.selections;_<E.length;_++){var w=E[_],C=void 0;if(c&&d.add(h),w.kind===n.b.FIELD){var S=(0,o.ue)(w),O=w.selectionSet;if(void 0===(C=h[S]||t[S]))continue;if(O&&null!==C){var b=e(t[S],O,i,c,!1!==globalThis.__DEV__?"".concat(l||"",".").concat(S):void 0);d.has(b)&&(C=b)}!1===globalThis.__DEV__&&(h[S]=C),!1!==globalThis.__DEV__&&(!c||"__typename"===S||(null==(f=Object.getOwnPropertyDescriptor(h,S))?void 0:f.value)?(delete h[S],h[S]=C):Object.defineProperty(h,S,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.V1.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(S,C,l||"",i.operationName,i.operationType)))}if(w.kind===n.b.INLINE_FRAGMENT&&(!w.typeCondition||i.cache.fragmentMatches(w,t.__typename))&&(C=e(t,w.selectionSet,i,c,l)),w.kind===n.b.FRAGMENT_SPREAD){var T=w.name.value,D=i.fragmentMap[T]||(i.fragmentMap[T]=i.cache.lookupFragment(T));(0,u.V1)(D,59,T);var k=(0,a.s7)(w);"mask"!==k&&(C=e(t,D.selectionSet,i,"migrate"===k,l))}d.has(C)&&d.add(h)}return"__typename"in t&&!("__typename"in h)&&(h.__typename=t.__typename),Object.keys(h).length!==Object.keys(t).length&&d.add(h),d.has(h)?h:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(c),c})}},6222:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ThemeProvider:()=>a,default:()=>s});var n=r(7876),i=r(4232);let o=(0,i.createContext)(void 0),a=e=>{let{children:t}=e,[r,a]=(0,i.useState)({theme:""});return(0,n.jsx)(o,{value:{themeState:r,setThemeState:a},children:t})},s=o},6317:()=>{},6328:(e,t)=>
1{"use strict";var r,n,i;Object.defineProperty(t,"__esModule",{value:!0}),t.EDITING_COMPONENT_ID=t.EDITING_COMPONENT_PLACEHOLDER=t.RenderingType=t.EditMode=t.LayoutServicePageState=void 0,function(e){e.Preview="preview",e.Edit="edit",e.Normal="normal"}(r||(t.LayoutServicePageState=r={})),function(e){e.Chromes="chromes",e.Metadata="metadata"}(n||(t.EditMode=n={})),(i||(t.RenderingType=i={})).Component="component",t.EDITING_COMPONENT_PLACEHOLDER="editing-componentmode-placeholder",t.EDITING_COMPONENT_ID="editing-component"},6434:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},6602:()=>{!function(){function e(){let e=window.innerWidth,t=document.querySelector(".right-column > .jss-inner-container");e<1024&&t&&function(e,t){let r=document.querySelector(t);r&&r.appendChild(e)}(t,".left-column")}window.addEventListener("DOMContentLoaded",function(){e()}),e()}()},6828:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,i=r(5682),o=r(593),a=r(7070),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},6898:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},6974:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(5072),i=r(542);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},7016:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(8084);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function e(t,r){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,r){if(-1!==r.indexOf(t))return"[Circular]";var i,o,a,s,u,c=[].concat(r,[t]),l="function"==typeof(o=(i=t)[String(n.A)])?o:"function"==typeof i.inspect?i.inspect:void 0;if(void 0!==l){var f=l.call(t);if(f!==t)return"string"==typeof f?f:e(f,c)}else if(Array.isArray(t)){var d=t,h=c;if(0===d.length)return"[]";if(h.length>2)return"[Array]";for(var p=Math.min(10,d.length),v=d.length-p,y=[],m=0;m<p;++m)y.push(e(d[m],h));return 1===v?y.push("... 1 more item"):v>1&&y.push("... ".concat(v," more items")),"["+y.join(", ")+"]"}return a=t,s=c,0===(u=Object.keys(a)).length?"{}":s.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(a)+"]":"{ "+u.map(function(t){var r=e(a[t],s);return t+": "+r}).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},7070:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>c});var n=r(4902),i=r(593),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]}
1)),sizes:(0,n.Cl)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.fX)((0,n.fX)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:h(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},l.apply(this)),{addTypenameDocumentTransform:h(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function d(e){return null!=e}function h(e){return(function e(t){return t?(0,n.fX)((0,n.fX)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(d):[]})(e).map(function(e){return{cache:e}})}},7138:function(e){e.exports=function(e,t,r,n,i){for(t=t.split?t.split("."):t,n=0;n<t.length;n++)e=e?e[t[n]]:i;return e===i?r:e}},7318:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>p,V1:()=>m,no:()=>h,vA:()=>g});var n=r(4902),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var d=r(4918);function h(e){try{return e()}catch(e){}}let p=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return global})||h(function(){return h.constructor("return this")()});var v=r(2091);function y(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=E(i))||(t=w(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var m=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,E(t,r)||w(t,r))},{debug:y(u.debug),log:y(u.log),warn:y(u.warn),error:y(u.error)});function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(E(e,t)||w(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+d.r);function _(e){if("string"==typeof e)return e;try{return(0,v.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function E(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(_))}function w(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.r,message:e,args:t.map(_)})))}globalThis.__DEV__},7518:(e,t,r)=>{"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!=(t=o)?t:0}(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&i(t[o]);)++o;for(var a=t.length;a>o&&i(t[a-1]);)--a;return t.slice(o,a).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"	"!==e[t])return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"	"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";
1return s&&!(n&&i)&&(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}r.d(t,{i$:()=>n,yo:()=>o})},7598:()=>{},7715:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDesignLibraryStylesheetLinks=t.GRAPHQL_LAYOUT_QUERY_NAME=t.GraphQLLayoutService=t.RestLayoutService=t.getContentStylesheetLink=t.EMPTY_DATE_FIELD_VALUE=t.getDynamicPlaceholderPattern=t.isDynamicPlaceholder=t.isFieldValueEmpty=t.getChildPlaceholder=t.getFieldValue=t.EDITING_COMPONENT_ID=t.EDITING_COMPONENT_PLACEHOLDER=t.RenderingType=t.EditMode=t.LayoutServicePageState=void 0;var n=r(6328);Object.defineProperty(t,"LayoutServicePageState",{enumerable:!0,get:function(){return n.LayoutServicePageState}}),Object.defineProperty(t,"EditMode",{enumerable:!0,get:function(){return n.EditMode}}),Object.defineProperty(t,"RenderingType",{enumerable:!0,get:function(){return n.RenderingType}}),Object.defineProperty(t,"EDITING_COMPONENT_PLACEHOLDER",{enumerable:!0,get:function(){return n.EDITING_COMPONENT_PLACEHOLDER}}),Object.defineProperty(t,"EDITING_COMPONENT_ID",{enumerable:!0,get:function(){return n.EDITING_COMPONENT_ID}});var i=r(2526);Object.defineProperty(t,"getFieldValue",{enumerable:!0,get:function(){return i.getFieldValue}}),Object.defineProperty(t,"getChildPlaceholder",{enumerable:!0,get:function(){return i.getChildPlaceholder}}),Object.defineProperty(t,"isFieldValueEmpty",{enumerable:!0,get:function(){return i.isFieldValueEmpty}}),Object.defineProperty(t,"isDynamicPlaceholder",{enumerable:!0,get:function(){return i.isDynamicPlaceholder}}),Object.defineProperty(t,"getDynamicPlaceholderPattern",{enumerable:!0,get:function(){return i.getDynamicPlaceholderPattern}}),Object.defineProperty(t,"EMPTY_DATE_FIELD_VALUE",{enumerable:!0,get:function(){return i.EMPTY_DATE_FIELD_VALUE}});var o=r(5063);Object.defineProperty(t,"getContentStylesheetLink",{enumerable:!0,get:function(){return o.getContentStylesheetLink}});var a=r(9514);Object.defineProperty(t,"RestLayoutService",{enumerable:!0,get:function(){return a.RestLayoutService}});var s=r(9497);Object.defineProperty(t,"GraphQLLayoutService",{enumerable:!0,get:function(){return s.GraphQLLayoutService}}),Object.defineProperty(t,"GRAPHQL_LAYOUT_QUERY_NAME",{enumerable:!0,get:function(){return s.GRAPHQL_LAYOUT_QUERY_NAME}});var u=r(951);Object.defineProperty(t,"getDesignLibraryStylesheetLinks",{enumerable:!0,get:function(){return u.getDesignLibraryStylesheetLinks}})},8084:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},8119:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.HIDDEN_RENDERING_NAME=t.SITECORE_EDGE_URL_DEFAULT=t.siteNameError=t.JSS_MODE=t.FETCH_WITH=t.SitecoreTemplateId=void 0,function(e){e.JssApp="061cba1554744b918a0617903b102b82",e.DictionaryEntry="6d1cd89719364a3aa511289a94c2a7b1"}(r||(t.SitecoreTemplateId=r={})),t.FETCH_WITH={GRAPHQL:"GraphQL",REST:"REST"},t.JSS_MODE={CONNECTED:"connected",DISCONNECTED:"disconnected"},t.siteNameError="The siteName cannot be empty",t.SITECORE_EDGE_URL_DEFAULT="https://edge-platform.sitecorecloud.io",t.HIDDEN_RENDERING_NAME="Hidden Rendering"},8131:(e,t,r)=>{"use strict";r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>c});var n=r(4902),i=r(3957),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},8235:(e,t,r)=>{"use strict";r.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var n=r(3965),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}
1function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},8299:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NativeDataFetcher=void 0;let a=o(r(8337)),s=o(r(5591));class u{constructor(e={}){this.config=e}fetch(e){return n(this,arguments,void 0,function*(e,t={}){var r;let n=this.config,{debugger:o,fetch:u}=n,c=i(n,["debugger","fetch"]),l=Date.now(),f=u||fetch,d=o||a.default.http,h=this.getRequestInit(Object.assign(Object.assign({},c),t)),p=[f(e,h)];c.timeout&&(this.abortTimeout=new s.default(c.timeout),p.push(this.abortTimeout.start)),d("Request initiated: %o",Object.assign({url:e,headers:this.extractDebugHeaders(h.headers)},h));try{let e=yield Promise.race(p).then(e=>{var t;return null==(t=this.abortTimeout)||t.clear(),e}),t=yield this.parseResponse(e,d);if(!e.ok){let r=this.createError(e,t);throw d("Response error: %o",r.response),r}return d("Response in %dms: %o",Date.now()-l,{status:e.status,statusText:e.statusText,headers:this.extractDebugHeaders(e.headers),url:e.url,data:t}),{data:t,status:e.status,statusText:e.statusText,headers:e.headers}}catch(e){throw null==(r=this.abortTimeout)||r.clear(),d("Request failed: %o",e),e}})}get(e){return n(this,arguments,void 0,function*(e,t={}){return this.fetch(e,Object.assign({method:"GET"},t))})}post(e,t){return n(this,arguments,void 0,function*(e,t,r={}){return this.fetch(e,Object.assign({method:"POST",body:JSON.stringify(t)},r))})}delete(e){return n(this,arguments,void 0,function*(e,t={}){return this.fetch(e,Object.assign({method:"DELETE"},t))})}put(e,t){return n(this,arguments,void 0,function*(e,t,r={}){return this.fetch(e,Object.assign({method:"PUT",body:JSON.stringify(t)},r))})}head(e,t={}){return this.fetch(e,Object.assign({method:"HEAD"},t))}getRequestInit(e={}){let t=new Headers(e.headers);return e.method||(e.method=e.body?"POST":"GET"),e.headers=t,e}extractDebugHeaders(e={}){let t={};return"string"!=typeof(null==e?void 0:e.forEach)&&e.forEach&&(null==e||e.forEach((e,r)=>{t[r]=e})),t}parseResponse(e,t){return n(this,void 0,void 0,function*(){let r=e.headers.get("Content-Type")||"";try{if(r.includes("application/json"))return yield e.json();return yield e.text()}catch(e){t("Response parsing error: %o",e);return}})}createError(e,t){return Object.assign(Object.assign({},Error(`HTTP ${e.status} ${e.statusText}`)),{response:{status:e.status,statusText:e.statusText,headers:this.extractDebugHeaders(e.headers),data:t}})}}t.NativeDataFetcher=u},8337:function(e,t,r){"use strict";var n,i=r(5364),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.enableDebug=void 0;let a=o(r(1673)),s=o(r(1580)),u="sitecore-jss";(0,s.default)()&&(null==(n=null==i?void 0:i.env)?void 0:n.DEBUG_MULTILINE)==="true"&&a.default.formatters.o&&a.default.formatters.O&&(a.default.formatters.o=a.default.formatters.O),t.enableDebug=e=>a.default.enable(e),t.default={form:(0,a.default)(`${u}:form`),common:(0,a.default)(`${u}:common`),http:(0,a.default)(`${u}:http`),layout:(0,a.default)(`${u}:layout`),dictionary:(0,a.default)(`${u}:dictionary`),editing:(0,a.default)(`${u}:editing`),sitemap:(0,a.default)(`${u}:sitemap`),multisite:(0,a.default)(`${u}:multisite`),robots:(0,a.default)(`${u}:robots`),redirects:(0,a.default)(`${u}:redirects`),personalize:(0,a.default)(`${u}:personalize`),errorpages:(0,a.default)(`${u}:errorpages`),proxy:(0,a.default)(`${u}:proxy`)}},8347:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});var n=r(4587),i=r(240),o=r(7318),a=r(996),s=r(5958),u=r(8922),c=r(5813);function l(e,t,r,l){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===l&&((0,o.V1)(1===f.length,61,f.length),l=f[0].name.value);var d=f.find(function(e){return e.name.value===l});return((0,o.V1)(!!d,62,l),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,d.selectionSet,{operationType:"fragment",operationName:d.name.value,fragmentMap:(0,u.JG)((0,c.zK)(t)),c
1ache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},8674:()=>{},8753:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormTypeProvider:()=>a,default:()=>s});var n=r(7876),i=r(4232);let o=(0,i.createContext)(void 0),a=e=>{let{children:t}=e,[r,a]=(0,i.useState)({formType:""});return(0,n.jsx)(o,{value:{FormState:r,setFormState:a},children:t})},s=o},8851:(e,t,r)=>{"use strict";r.d(t,{A_:()=>u,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.HQ)(u,n).selectionSet,n);if("string"==typeof f)return f}},Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>v,WU:()=>s,dt:()=>m,kd:()=>g,o5:()=>p,ue:()=>y});var n=r(7318),i=r(3957),o=r(8922),a=r(6828);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(124,t.value,r.kind)}function f(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),p(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export","nonreactive"],h=a.M,p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(h(i),")")}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(h(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=h;return h=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},8877:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(4902),i=r(9760);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},8922:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>c});var n=r(4902),i=r(7318),o=r(4968);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(113,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,114,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,115,r),n||null;default:return null}}function c(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},9080:(e,t,r)=>{"use strict";r.d(t,{R:()=>en});var n=r(4902),i=r(7318),o=r(2337),a=o.C.execute,s=r(4918),u=r(4812),c=r(996),l=r(4868),f=r(1211),d=r(1055),h=r(8922),p=r(6828),v=r(592),y=r(5072);function m(e,t,r){return new y.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var g=r(5785);function b(e){var t=_(e);return(0,g.E)(t)}function _(e){var t=(0,g.E)(e.errors)?e.errors.slice(0):[];return(0,l.ST)(e)&&(0,g.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var E=r(5813),w=r(8851),C=r(3957),S=r(1040),O=r(3975),T=r(6974);function D(e){return e&&"function"==typeof e.then}var k=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,O.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,O.w)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?D(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,O.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new y.c(t)]),D(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(y.c);(0,T.r)(k);var I=r(3070),x=r(5518),R=r(6434),P=r(8131),F=r(542),A=r(3408),N=new(F.et?WeakMap:Map);function V(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return N.set(e,(N.get(e)+1)%1e15),r.apply(this,arguments)})}var j=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;N.has(r)||(N.set(r,0),V(r,"evict"),V(r,"modify"),V(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||R.pT.loading;return this.variables&&this.networkStatus!==R.pT.loading&&!(0,c.L)(this.variables,e.variables)&&(t=R.pT.setVariables),(0,c.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,c.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=(0,A.lz)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(0,A.lz)("getLastError",function(){var e;return null==(e=r.observableQuery)?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,c.L)(n&&n.result,e&&e.result)||null==(t=this.observableQuery)||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,c.L)(i,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===N.get(this.cache)&&(0,c.L)(t,r.variables)&&(0,c.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new P.ZI,s=(0,g.E)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,g.E)(e.incremental)){var u=(0,l.bd)(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var f=this.getDiff();e.data=a.merge(f.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(M(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:N.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=(0,A.lz)("canonizeResults",function(){return i.diff(a)});!o.stopped&&(0,c.L)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=R.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=R.pT.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function M(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var L=r(4518),q=r(9668),Q=r(5682),U=r(593),z=r(5958),B=r(240),W=r(8347),G=Object.prototype.hasOwnProperty,Y=Object.create(null),H=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Q.A(U.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new q.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new v.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,u,c,l=e.mutation,f=e.variables,d=e.optimisticResponse,h=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,y=e.awaitRefetchQueries,g=void 0!==y&&y,E=e.update,w=e.onQueryUpdated,C=e.fetchPolicy,S=void 0===C?(null==(u=this.defaultOptions.mutate)?void 0:u.fetchPolicy)||"network-only":C,O=e.errorPolicy,T=void 0===O?(null==(c=this.defaultOptions.mutate)?void 0:c.errorPolicy)||"none":O,D=e.keepRootFields,k=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(l,36),(0,i.V1)("network-only"===S||"no-cache"===S,37),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!r)return[3,2];return[4,this.localState.addExportedVariables(l,f,k)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=d&&this.markMutationOptimistic(d,{mutationId:t,document:l,variables:f,fetchPolicy:S,errorPolicy:T,context:k,updateQueries:h,update:E,keepRootFields:D}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return m(s.getObservableFromLink(l,(0,n.Cl)((0,n.Cl)({},k),{optimisticResponse:a?d:void 0}),f,{},!1),function(e){if(b(e)&&"none"===T)throw new I.K4({graphQLErrors:_(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===T&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:S,errorPolicy:T,context:k,update:E,updateQueries:h,awaitRefetchQueries:g,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:w,keepRootFields:D})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:S,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof I.K4?e:new I.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&M(i,e.errorPolicy)){if((0,l.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.ST)(i)&&(0,g.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.bd)(s.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&G.call(c,s)){var u=c[s],l=r.queries.get(n),f=l.document,d=l.variables,h=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),p=h.result;if(h.complete&&p){var v=u(p,{mutationResult:i,queryName:f&&(0,E.n4)(f)||void 0,queryVariables:d});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,u=!(0,l.YX)(i)||(0,l.ST)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:Y}):e;return o!==Y&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.d8)(["nonreactive"],e),nonReactiveQuery:(0,d.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,d.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,E.wY)((0,E.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new j(this),i=new x.U({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,x.U.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,38),(0,i.V1)("Document"===e.query.kind,39),(0,i.V1)(!e.returnPartialData,40),(0,i.V1)(!e.pollInterval,41);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then(function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,i.vA)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=R.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,w.Kc)(e)){var r=(0,L.y)(t.transform(e));o.set(r,(0,E.n4)(e)),a.set(r,!1)}else(0,C.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,L.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,L.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,S.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new x.U({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(43,r):!1!==globalThis.__DEV__&&i.V1.warn(44)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;(0,A.lz)("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&(M(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=b(n),s=(0,I.uR)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[I.K$]),"none"===a||s)throw new I.K4(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,u).then(f);return new y.c(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,u,c=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var l=this.getDocumentInfo(e),f=l.serverQuery,d=l.clientQuery;if(f){var h=this.inFlightLinkObservables,v=this.link,g={query:f,variables:r,operationName:(0,E.n4)(f)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=g.context,o){var b=(0,L.y)(f),_=(0,p.M)(r),w=h.lookup(b,_);if(!(u=w.observable)){var C=new k([a(v,g)]);u=w.observable=C,C.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?C.beforeNext(e):h.remove(b,_)})}}else u=new k([a(v,g)])}else u=new k([y.c.of({data:{}})]),t=this.prepareContext(t);return d&&(u=m(u,function(e){return c.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=_(o),s=a.length>0,u=r.errorPolicy;if(n>
1=e.lastRequestId){if(s&&"none"===u)throw e.markError(new I.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:R.pT.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=R.pT.error),c},function(t){var r=(0,I.Mn)(t)?t:new I.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=R.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,d=void 0===f?u&&u.errorPolicy||"none":f,h=t.returnPartialData,p=t.notifyOnNetworkStatusChange,v=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:d,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===v?{}:v}),m=function(n){y.variables=n;var i=a.fetchQueryByPolicy(e,y,r);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},g=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new k(this.localState.addExportedVariables(y.query,y.variables,y.context).then(m).then(function(e){return e.sources})),o=!0;else{var b=m(y.variables);o=b.fromLink,i=new k(b.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,S.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof j&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=(0,A.lz)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=u(i,a,o)),u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,c=null==(t=(0,E.Vu)(o))?void 0:t.operation,l=(null!=(r=null==c?void 0:c[0])?r:"o")+u;!this.dataMasking||"no-cache"!==s||(0,h.s6)(o)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&i.V1.warn(45,null!=(n=(0,E.n4)(o))?n:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,B.Ki)(),e;var n,o=(0,E.Vu)(t);return((0,i.V1)(o,63),null==e)?e:(0,z.S)(e,o.selectionSet,{operationType:o.operation,operationName:null==(n=o.name)?void 0:n.value,fragmentMap:(0,h.JG)((0,E.zK)(t)),cache:r,mutableTargets:new B.jq,knownChanged:new B.xm})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,W.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,d=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||R.pT.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.L)(s,{})||(0,x.y)(t.missing);var u=function(e){return y.c.of((0,n.Cl)({data:e,loading:(0,R.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:d,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&r===R.pT.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},g="no-cache"===s?0:r===R.pT.refetch&&"merge"!==u?1:2,b=function(){return i.getResultsFromLink(e,g,{query:o,variables:a,context:d,fetchPolicy:s,errorPolicy:l})},_=h&&"number"==typeof p&&p!==r&&(0,R.bi)(r);switch(s){default:case"cache-first":var E=v();if(E.complete)return{fromLink:!1,sources:[m(E,e.markReady())]};if(f||_)return{fromLink:!0,sources:[m(E),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var E=v();if(E.complete||f||_)return{fromLink:!0,sources:[m(E),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(v()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new j(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),$=r(4968),K=r(4587);function J(e){return e.kind===K.b.FIELD||e.kind===K.b.FRAGMENT_SPREAD||e.kind===K.b.INLINE_FRAGMENT}var X=r(8235),Z=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,P.D9)(t.resolvers,e)}):this.resolvers=(0,P.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,f.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,d.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,$.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return $.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,d.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,u,c,l,f,d,p,v,y,m;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(g){return s=(0,E.Vn)(e),u=(0,E.zK)(e),c=(0,h.JG)(u),l=this.collectSelectionsToResolve(s,c),d=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,v=p.cache,y=p.client,m={fragmentMap:c,context:(0,n.Cl)((0,n.Cl)({},r),{cache:v,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,u,c,l,d=this;return(0,n.YH)(this,function(h){return a=o.fragmentMap,s=o.context,u=o.variables,c=[r],l=function(e){return(0,n.sH)(d,void 0,void 0,function(){var l,d;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.MS)(e,u)?(0,w.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&c.push(((r={}
1)[(0,w.ue)(e)]=t,r))})]:((0,w.kd)(e)?l=e:(l=a[e.name.value],(0,i.V1)(l,21,e.name.value)),l&&l.typeCondition&&(d=l.typeCondition.name.value,o.fragmentMatcher(r,d,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then(function(e){c.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,P.IM)(c)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,d,h,p=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,u=(a=e.name.value)!==(s=(0,w.ue)(e)),l=Promise.resolve(c=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(h=d[u?a:s])&&(l=Promise.resolve(X.bl.withValue(this.cache,h,[r,(0,w.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,$.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&J(e)&&a.add(e)})},FragmentSpread:function(n,o,s,u,c){var l=t[n.name.value];(0,i.V1)(l,22,n.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){r(e)&&J(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),ee=r(8877),et=r(7070),er=!1,en=function(){function e(e){var t,r,a,c=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var l=e.uri,f=e.credentials,d=e.headers,h=e.cache,p=e.documentTransform,v=e.ssrMode,y=void 0!==v&&v,m=e.ssrForceFetchDelay,g=void 0===m?0:m,b=e.connectToDevTools,_=e.queryDeduplication,E=void 0===_||_,w=e.defaultOptions,C=e.defaultContext,S=e.assumeImmutableResults,O=void 0===S?h.assumeImmutableResults:S,T=e.resolvers,D=e.typeDefs,k=e.fragmentMatcher,I=e.clientAwareness,x=e.name,R=e.version,P=e.devtools,F=e.dataMasking;!1!==globalThis.__DEV__&&((0,A.cc)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,A.cc)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,A.cc)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,A.cc)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,A.cc)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,A.cc)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,A.cc)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||i.V1.warn(17));var N=e.link;N||(N=l?new u.P({uri:l,credentials:f,headers:d}):o.C.empty()),this.link=N,this.cache=h,this.disableNetworkFetches=y||g>0,this.queryDeduplication=E,this.defaultOptions=w||Object.create(null),this.typeDefs=D,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},P),{enabled:null!=(t=null==P?void 0:P.enabled)?t:b}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),g&&setTimeout(function(){return c.disableNetworkFetches=!1},g),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new Z({cache:h,client:this,resolvers:T,fragmentMatcher:k}
1),this.queryManager=new H({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:C,documentTransform:p,queryDeduplication:E,ssrMode:y,dataMasking:!!F,clientAwareness:{name:null!=(r=null==I?void 0:I.name)?r:x,version:null!=(a=null==I?void 0:I.version)?a:R},localState:this.localState,assumeImmutableResults:O,onBroadcast:this.devtoolsConfig.enabled?function(){c.devToolsHookCb&&c.devToolsHookCb({action:{},state:{queries:c.queryManager.getQueryStore(),mutations:c.queryManager.mutationStore||{}},dataWithOptimisticResults:c.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e},enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!er&&!1!==globalThis.__DEV__&&(er=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ee.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,A.cc)(e,"canonizeResults","client.watchQuery"),(0,A.cc)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ee.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,A.cc)(e,"canonizeResults","client.query"),(0,A.cc)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&i.V1.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ee.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(20,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(en.prototype.getMemoryInternals=et.ep)},9099:(e,t,r)=>{e.exports=r(9603)},9103:(e,t,r)=>{"use strict";var n;r.d(t,{mG:()=>u,aG:()=>o,UV:()=>s,xu:()=>a,f9:()=>n,Zh:()=>i,NW:()=>c});let i="0.5.1",o="sc_",a=730,s=86400,u="v1.2",c="https://edge-platform.sitecorecloud.io";!function(e){e.IE_0001='[IE-0001] You are trying to run a browser-side function on the server side. On the server side, run the server-side equivalent of the function, available in "server" modules.',e.IE_0003='[IE-0003] Unable to set the "sc_{SitecoreEdgeContextId}" cookie because the browser ID could not be retrieved from the server. Make sure to set the correct values for "sitecoreEdgeContextId" and "siteName". If the issue persists, try again later or use try-catch blocks to handle this error.',e.IE_0011='[IE-0011] Unable to set the "sc_{SitecoreEdgeContextId}_personalize" cookie because the guest ID could not be retrieved from the server. Make sure to set the correct values for "sitecoreEdgeContextId" and "siteName". If the issue persists, try again later or use try-catch blocks to handle this error.',e.IE_0012='[IE-0012] You must first initialize the Cloud SDK. Import "CloudSDK" from "@sitecore-cloudsdk/core/browser", then run "CloudSDK().initialize()".',e.IE_0013='[IE-0013] You must first initialize the Cloud SDK. Import "CloudSDK" from "@sitecore-cloudsdk/core/server", then run "await CloudSDK().initialize()".',e.IV_0001='[IV-0001] Incorrect value for "sitecoreEdgeUrl". Set the value to a valid URL string.',e.MV_0001='[MV-0001] "sitecoreEdgeContextId" is required.',e.MV_0002='[MV-0002] "siteName" is required.'}(n||(n={}))},9181:(e,t,r)=>{"use strict";var n;function i(e,t,r){let n=`${e}=${t};`;return n+=` Max-Age=${r.maxAge}; SameSite=${r.sameSite};`,n+=r.secure?" Secure;":"",n+=r.path?` Path=${r.path};`:"",n+=r.domain?` Domain=${r.domain};`:"",n=n.substring(0,n.length-1)}async function o(e,t,r){if(!Number.isInteger(t)||t<0)throw Error(n.IV_0006);let i=new AbortController,o=i.signal,a=setTimeout(()=>{i.abort()},t);return fetch(e,{...r,signal:o}).then(e=>(clearTimeout(a),e)).catch(e=>{if("AbortError"===e.name)throw Error(n.IE_0002);return null})}function a(e,t){if(!e)return;let r=e.split("; ").find(e=>e.indexOf("=")>0&&e.split("=")[0]===t);return void 0!==r?{name:r.split("=")[0],value:r.split("=")[1]}:void 0}function s(e){let t=a(document.cookie,e);return t?.value??""}function u(e){try{return new Date(e+"Z").toISOString().substring(0,16)===e}catch(e){return!1}}function c(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)}function l(e={}){let t={};return"function"==typeof e.forEach?e.forEach((e,r)=>{t[r]=e}):Object.entries(e).forEach(([e,r])=>{t[e]=r}),t}r.d(t,{f9:()=>n,Of:()=>i,u9:()=>o,YO:()=>function e(t){let{currentKey:r,object:n}=t,i=t.newObject??{};for(let t in n){let o=n[t];void 0!==o&&("object"!=typeof o||Array.isArray(o)?i[r?`${r}_${t}`:t]=o:e({currentKey:`${r?`${r}_${t}`:t}`,newObject:i,object:o}))}return i},Ri:()=>a,kG:()=>s,b0:()=>u,B9:()=>c,qx:()=>l}),function(e){e.IV_0006='[IV-0006] Incorrect value for "timeout". Set the value to an integer greater than or equal to 0.',e.IE_0002="[IE-0002] Timeout exceeded. The server did not respond within the allotted time."}(n||(n={}))},9221:(e,t,r)=>{"use strict";r.d(t,{a:()=>c});var n=r(4902),i=r(996),o=r(5813),a=r(8922),s=r(1211),u=r(8851);function c(e,t,r,c){var f=t.data,d=(0,n.Tt)(t,["data"]),h=r.data,p=(0,n.Tt)(r,["data"]);return(0,i.A)(d,p)&&function e(t,r,n,o){if(r===n)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.MS)(t,o.variables)||l(t)))return!0;if((0,u.dt)(t)){var f=(0,u.ue)(t),d=r&&r[f],h=n&&n[f],p=t.selectionSet;if(!p)return(0,i.A)(d,h);var v=Array.isArray(d),y=Array.isArray(h);if(v!==y)return!1;if(v&&y){var m=d.length;if(h.length!==m)return!1;for(var g=0;g<m;++g)if(!e(p,d[g],h[g],o))return!1;return!0}return e(p,d,h,o)}var b=(0,a.HQ)(t,o.fragmentMap);if(b)return!!l(b)||e(b.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,f,h,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},9497:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}
1,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLLayoutService=t.GRAPHQL_LAYOUT_QUERY_NAME=void 0;let o=r(1481),a=i(r(8337));t.GRAPHQL_LAYOUT_QUERY_NAME="JssLayoutQuery";class s extends o.LayoutServiceBase{constructor(e){super(),this.serviceConfig=e,this.graphQLClient=this.getGraphQLClient()}fetchLayoutData(e,t){return n(this,void 0,void 0,function*(){var r,n;let i=this.getLayoutQuery(e,t);a.default.layout("fetching layout data for %s %s %s",e,t,this.serviceConfig.siteName);let o=yield this.graphQLClient.request(i);return(null==(n=null==(r=null==o?void 0:o.layout)?void 0:r.item)?void 0:n.rendered)||{sitecore:{context:{pageEditing:!1,language:t},route:null}}})}getGraphQLClient(){if(!this.serviceConfig.clientFactory)throw Error("clientFactory needs to be provided when initializing GraphQL client.");return this.serviceConfig.clientFactory({debugger:a.default.layout,retries:this.serviceConfig.retries,retryStrategy:this.serviceConfig.retryStrategy})}getLayoutQuery(e,r){let n=r?`, language:"${r}"`:"",i=this.serviceConfig.formatLayoutQuery?this.serviceConfig.formatLayoutQuery(this.serviceConfig.siteName,e,r):`layout(site:"${this.serviceConfig.siteName}", routePath:"${e}"${n})`;return`query ${t.GRAPHQL_LAYOUT_QUERY_NAME} {
2      ${i}{
3        item {
4          rendered
5        }
6      }
7    }`}}t.GraphQLLayoutService=s},9514:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.RestLayoutService=void 0;let o=r(1481),a=r(8299),s=r(4844),u=i(r(8337));class c extends o.LayoutServiceBase{constructor(e){super(),this.serviceConfig=e,this.getFetchParams=e=>{var t;return{sc_apikey:this.serviceConfig.apiKey,sc_site:this.serviceConfig.siteName,sc_lang:e||"",tracking:null==(t=this.serviceConfig.tracking)||t}},this.getFetcher=(e,t)=>this.serviceConfig.dataFetcherResolver?this.serviceConfig.dataFetcherResolver(e,t):this.getDefaultFetcher(e,t),this.getDefaultFetcher=(e,t)=>{let r,i={debugger:u.default.layout};e&&(r=this.setupReqHeaders(e));let o=new a.NativeDataFetcher(i);return(e,i)=>n(this,void 0,void 0,function*(){let n=yield o.fetch(e,Object.assign(Object.assign({},i),{headers:r}));return t&&this.setupResHeaders(t,n),n})}}fetchLayoutData(e,t,r,i){return n(this,void 0,void 0,function*(){var n;let o=this.getFetchParams(t);u.default.layout("fetching layout data for %s %s %s",e,t,this.serviceConfig.siteName);let a=this.getFetcher(r,i),c=this.resolveLayoutServiceUrl("render");try{return yield(0,s.fetchData)(c,a,Object.assign({item:e},o))}catch(e){if((null==(n=e.response)?void 0:n.status)===404)return e.response.data;throw e}})}fetchPlaceholderData(e,t,r,n,i){let o=this.getFetchParams(r);u.default.layout("fetching placeholder data for %s %s %s %s",e,t,r,this.serviceConfig.siteName);let a=this.serviceConfig.dataFetcherResolver?this.serviceConfig.dataFetcherResolver(n,i):this.getDefaultFetcher(n,i),c=this.resolveLayoutServiceUrl("placeholder");return(0,s.fetchData)(c,a,Object.assign({placeholderName:e,item:t},o))}resolveLayoutServiceUrl(e){let{apiHost:t="",configurationName:r="jss"}=this.serviceConfig;return`${t}/sitecore/api/layout/${e}/${r}`}setupReqHeaders(e){let t=new Headers;return(null==e?void 0:e.headers)&&(Object.entries(e.headers).forEach(([e,r])=>{r&&t.set(e,Array.isArray(r)?r.join(", "):r)}),e.headers.cookie&&t.set("cookie",e.headers.cookie),e.headers.referer&&t.set("referer",e.headers.referer),e.headers["user-agent"]&&t.set("user-agent",e.headers["user-agent"]),e.socket.remoteAddress&&t.set("X-Forwarded-For",e.socket.remoteAddress)),t}setupResHeaders(e,t){u.default.layout("performing response header passing");let r=t.headers;if(r instanceof Headers&&r.has("set-cookie")){let t=r.get("set-cookie");if(t){let r=t.includes(", ")&&t.includes(";")?t.split(/,(?=\s*\w+=)/):[t];
7e.setHeader("Set-Cookie",r)}}return t}}t.RestLayoutService=c},9630:(e,t,r)=>{e.exports=function(e){function t(e){let r,i,o,a=null;function s(...e){if(!s.enabled)return;let n=Number(new Date);s.diff=n-(r||n),s.prev=r,s.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let o=t.formatters[n];if("function"==typeof o){let t=e[i];r=o.call(s,t),e.splice(i,1),i--}return r}),t.formatArgs.call(s,e),(s.log||t.log).apply(s,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,o=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,o=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++o}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(i(e,r))return!1;for(let r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(3139),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},9668:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},9749:function(e,t,r){"use strict";var n=r(5364),i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeURLSearchParams=t.escapeNonSpecialQuestionMarks=t.areURLSearchParamsEqual=t.isRegexOrUrl=t.enforceCors=t.getAllowedOriginsFromEnv=t.isTimeoutError=t.isAbsoluteUrl=void 0,t.resolveUrl=function(e,t={}){if(!e)throw RangeError("url must be a non-empty string");if((0,o.default)()){let r=new URL(e);for(let e in t)({}).hasOwnProperty.call(t,e)&&r.searchParams.append(e,String(t[e]));return r.toString()}let r=Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(String(t[e]))}`).join("&");return -1!==e.indexOf("?")?`${e}&${r}`:`${e}?${r}`};let o=i(r(1580));t.isAbsoluteUrl=e=>{if(!e)return!1;if("string"!=typeof e)throw TypeError("Expected a string");return/^[a-z][a-z0-9+.-]*:/.test(e)},t.isTimeoutError=e=>{var t;return(null==(t=e.response)?void 0:t.status)===408||"AbortError"===e.name},t.getAllowedOriginsFromEnv=()=>n.env.JSS_ALLOWED_ORIGINS?n.env.JSS_ALLOWED_ORIGINS.replace(" ","").split(","):[],t.enforceCors=(e,r,n)=>{if(!e.headers.origin)return!0;n=(0,t.getAllowedOriginsFromEnv)().concat(n||[]);
7let i=r.getHeader("Access-Control-Allow-Origin");i&&n.push(i);let o=e.headers.origin;return!!(o&&n.some(e=>o===e||RegExp("^"+e.replace(/\//g,"\\/").replace(/\./g,"\\.").replace(/\*/g,".*")+"$").test(o)))&&(r.setHeader("Access-Control-Allow-Origin",o),r.setHeader("Access-Control-Allow-Methods","GET, POST, OPTIONS, DELETE, PUT, PATCH"),"OPTIONS"===e.method&&r.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization"),!0)},t.isRegexOrUrl=e=>(e=e.slice(0,-1),/^\/[a-zA-Z0-9\-\/]+(\?([a-zA-Z0-9\-_]+=[a-zA-Z0-9\-_]+)(&[a-zA-Z0-9\-_]+=[a-zA-Z0-9\-_]+)*)?$/.test(e))?"url":"regex",t.areURLSearchParamsEqual=(e,t)=>{let r=e=>[...e.entries()].sort(([e],[t])=>e.localeCompare(t)).map(([e,t])=>`${e}=${t}`).join("&");return r(e)===r(t)},t.escapeNonSpecialQuestionMarks=e=>{let t,r=/(\\)?\?/g,n=/\(\?!$/,i=/[.*+)\[\]|\(]$/,o="",a=0;for(;null!==(t=r.exec(e));){let r=t.index,s=e.slice(a,r),u=void 0!==t[1],c=n.test(s.slice(-3)),l=i.test(s.slice(-1));u||c||l?o+=e.slice(a,r+1):o+=e.slice(a,r)+"\\?",a=r+1}return o+e.slice(a)},t.mergeURLSearchParams=(e,t)=>{let r=new URLSearchParams;for(let[t,n]of e.entries())r.set(t,n);for(let[e,n]of t.entries())r.set(e,n);return r.toString()}},9760:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},9909:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FilterProvider:()=>s,useFilter:()=>a});var n=r(7876),i=r(4232);let o=(0,i.createContext)(void 0),a=()=>{let e=(0,i.useContext)(o);if(void 0===e)throw Error("useFilter must be used within a FilterProvider");return e},s=e=>{let{children:t}=e,[r,a]=(0,i.useState)({filter:{author:"",category:"",tag:"",text:""},data:{categoriesList:[],tagsList:[],authorsList:[]},total:0,userLocation:{geolocating:!1,latitude:0,longitude:0,location:""}});return(0,n.jsx)(o.Provider,{value:{filterState:r,setFilterState:a},children:t})}}},e=>{var t=t=>e(e.s=t);e.O(0,[593,792],()=>(t(92),t(9603))),_N_E=e.O()}]);
8//# sourceMappingURL=_app-97647a0115fd93b1.js.map

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.