1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./zBE6-b-b2.js","./C8Sp3kZq.js","./D68gzzeZ.js","./D-sh_kZf.js","./B9syrMNE.js","./B8gos503.js","./C91l2Ng-.js","./Z48sHCxj.js","./99fnwngM.js","./BLy1aWYT.js","./CXZsmow8.js","./hePW80VL.js","./FWeq2G30.js","./BDNMzG2s.js","./Dr9j64dL2.js","./DyRus09N.js","./DCacuFzU.js","./Bh0Rzw-o.js","./UBieCTOY.js","./Bk5H4pIM.js","./B0cSiK85.js","./z4cSkdZm2.js","./FSkcWAX-2.js","./BCrnWzpA.js","./BkHDY04b.js","./DLX5OaAR.js","./SFG331hZ.js","./BGicGsEe.js","./C0FNskcH.js","./KtYuo0hI2.js","./nV60KNA5.js","./Carousel.BuU8cZkB.css","./FullRichText.ChcF2hpR.css","./D1ILO6rB2.js","./kdwIiRqd2.js","./Dyg9cDDM2.js","./BXOggDxS2.js","./PpH0IKZw2.js","./D7qOxH-M2.js","./BwjWmIKu2.js","./CPwK-UGz2.js","./Db7of7v72.js","./DQLNVWIy2.js","./UIxkeHDI2.js","./2UQaDp0t2.js","./vdX5rdsP2.js","./udXJ1oQ6.js","./CBigaB7N2.js","./demander-une-brochure.CNBNalgG.css","./BbY37E33.js","./DEIMlACU.js","./g7cB0rBu.js","./form.CfcAwcXj.css","./DX3xaG2F.js","./BbeB2NoP2.js","./CNs_Ozdc.js","./Ck672v62.js","./DLfZW3UV.js","./CqKY5Vk-2.js","./IY4WX0M7.js","./rocCIFmO.js","./DFg7wxSe.js","./CE4czthN.js","./BD0BAUuN.js","./pozj6_yP.js","./DZlVl32S.js","./OGp0bAPq.js","./Dqe1xZF7.js","./BKwD1cgZ.js","./DV_xYrZl2.js","./DAdvImED2.js","./Tk6Zo6472.js","./BlockCtaSimple.OXL66vKO.css","./CEdlrkDG2.js","./Cf-R3eZm2.js","./CqlpQlja2.js","./CPLGSVsJ2.js","./DCJKWTU72.js","./BotuB-Su2.js","./C7_WOLtf.js","./B-Nrziba.js","./Bp5V9tZi.js","./CTnFia8d.js","./DjGGG6vK.js","./1BmS7xf0.js","./Dv4tTeMb.js","./DynamicArea.BHctCGu6.css","./B4rC6Abd.js","./CXKwyMU-.js","./B3pl1SZx2.js","./ByVlVdus2.js","./cCZN7RlD2.js","./C2hSNK8z2.js","./Aa3qYA6I2.js","./Bd4F5D8p2.js","./_slug_.BHT2p8cj.css","./DaX9JXil.js","./-69AiCxR.js","./carousel.N50ODTH5.css","./Dcr3UmHp.js","./DAHKWRKa.js","./C8qvl09H.js","./C-m-oiKM.js","./Ai5tv--L.js","./DNI7IhTz.js","./_slug_.fEn2C8CP.css","./DUHBMTrr.js","./D0qiAD0U.js","./0LSmlnNb2.js","./DGdc1W3C.js","./7-gveZwx.js","./ihbEakMe.js","./DG-uoHaD.js","./CF0I1M5i.js","./BKC8M6Ws.js","./BMr0nhQ9.js","./annuaire.d9yiDMe6.css","./leaflet.DCrRFQdY.css","./DV331XSZ.js","./BouTtsdx2.js","./gh7y7M92.js","./CKeZf8vM2.js","./oktaSessionConsts.BtUcc7qO.css","./BU5eyKWX2.js","./contact.D3t4MyH0.css","./DI6Rolsw2.js","./B-V98fOJ2.js","./BvpXE0Ly2.js","./zSx_BBbw2.js","./faq.Cg2Xu5bG.css","./BfSu9EfM.js","./NYkQxr4o2.js","./DWIeldDy.js","./CWVGkiJe2.js","./DXwot4hs2.js","./integration.CQzZ1EzN.css","./D0IAFhWU.js","./BRsJ_reV.js","./D-8AL0ns.js","./jobSuggestionsMapper.CsH7MtBA.css","./JobAlertSubscription.CEX5GCRT.css","./BP3RnNGW.js","./JobsSearchBar.O6M9QNsl.css","./jobs.j7NDB2Vn.css","./DkVLpW3r.js","./BbWS_7oM2.js","./BNfwWEr0.js","./BYgexbPY2.js","./C7g28w2B.js","./D9h7Z7nR.js","./D5dgEfsb.js","./CL64dqhJ.js","./DqjSKNYj.js","./CdQF6vI6.js","./C_LS84pD.js","./ghLyuUON.js","./Vcjge-JF.js","./ZpaS93dQ.js","./C8PmlwjG.js","./Dsws3ImI.js","./B43aHjxC.js"])))=>i.map(i=>d[i]); 2import{r as e,t}from"./hePW80VL.js";import{B as n,Ct as r,D as i,E as a,Et as o,F as s,G as c,H as l,I as u,K as d,L as f,Mt as p,Nt as m,O as h,Ot as g,P as _,Q as v,T as y,Tt as b,Z as ee,_t as te,a as x,an as ne,b as re,bt as ie,dt as ae,en as oe,et as S,h as C,i as se,k as w,kt as T,l as ce,m as le,mt as ue,n as E,o as D,ot as O,p as de,r as k,rn as A,rt as fe,s as pe,t as me,tt as j,v as he,vt as ge,wt as _e,xt as ve}from"./C8Sp3kZq.js";import{$ as ye,At as M,Dt as be,Et as N,J as xe,Nt as Se,Ot as Ce,Pt as we,Q as Te,St as Ee,Tt as De,X as P,Y as Oe,Z as ke,_t as Ae,at as je,bt as F,dt as Me,et as Ne,ft as Pe,gt as Fe,ht as Ie,jt as Le,kt as Re,l as ze,n as Be,ot as Ve,pt as He,rt as Ue,st as We,t as Ge,tt as Ke,vt as qe,wt as Je}from"./D68gzzeZ.js";import{C as I,D as Ye,E as Xe,O as Ze,S as Qe,T as $e,_ as et,a as tt,b as nt,c as rt,d as it,g as at,h as ot,i as st,l as ct,n as lt,r as ut,s as dt,t as ft,v as pt,w as mt,x as ht,y as gt}from"./D-sh_kZf.js";/* empty css *//* empty css */import{a as _t,c as vt,d as yt,f as bt,i as xt,l as St,n as Ct,o as wt,r as Tt,s as Et,u as Dt}from"./B9syrMNE.js";import{a as Ot,i as kt,n as At,r as jt}from"./BCrnWzpA.js";import{i as Mt,r as Nt,t as Pt}from"./Z48sHCxj.js";import{n as Ft,r as It,t as Lt}from"./Dsws3ImI.js";import{i as Rt}from"./C8qvl09H.js";import{Cn as zt,Dn as Bt,En as Vt,Sn as Ht,Tn as Ut,bn as Wt,wn as Gt,xn as Kt,yn as qt}from"./B8gos503.js";import{n as Jt,t as Yt}from"./C91l2Ng-.js";import{t as Xt}from"./gh7y7M92.js";import{t as Zt}from"./DAHKWRKa.js";import{_ as Qt,a as $t,c as en,d as tn,f as nn,g as rn,h as an,i as on,l as sn,m as cn,n as ln,o as un,p as L,r as dn,s as fn,t as pn,u as mn}from"./99fnwngM.js";import{n as hn}from"./BkHDY04b.js";import{a as gn,i as _n,n as vn,r as yn,t as R}from"./y1p6UJBD.js";import{n as bn,t as xn}from"./ghLyuUON.js";import{a as Sn,c as Cn,d as wn,f as Tn,i as En,l as Dn,o as On,p as kn,r as An,s as jn,t as Mn,u as Nn}from"./Bh0Rzw-o.js";import"./DLX5OaAR.js";import{o as Pn}from"./SFG331hZ.js";import{t as Fn}from"./BLy1aWYT.js";import{t as In}from"./BKwD1cgZ.js";import{t as Ln}from"./z4cSkdZm2.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);function Rn(e,t){return t&&typeof e==`function`&&(e.key=t),e}var zn=/\\/g,Bn=/</g,Vn=/"/g,Hn=/%\w+(?:\.\w+)?/g,Un=`%separator`;function Wn(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0)return n?(r||``).replace(zn,`\\\\`).replace(Bn,`\\u003C`).replace(Vn,`\\"`):r||``}function Gn(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(Hn);if(!a)return e;let o=e.includes(Un);return e=e.replace(Hn,e=>{if(e===Un||!a.includes(e))return e;let n=Wn(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(Un).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var Kn=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,qn=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),Jn=Rn({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=qn(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=qn(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(Kn))}}}),Yn=Rn({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`
2in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function Xn(e){return typeof e?.then==`function`}function Zn(e){if(typeof e==`function`)return e;if(Xn(e))return Promise.resolve(e).then(Zn);if(Array.isArray(e)){let t=e.map(Zn);return t.some(Xn)?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=t.map(t=>Zn(e[t]));if(n.some(Xn))return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var Qn=Rn(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=Zn(a);if(!Xn(o)){t.delete(i);continue}t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})}}}}},`promises`),$n={meta:`content`,link:`href`,htmlAttrs:`lang`},er=[`innerHTML`,`textContent`],tr=Rn(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=Gn(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=$n[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=Gn(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of er)typeof e[t]==`string`&&(e[t]=Gn(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=Gn(n.textContent,e._templateParams,e._separator))}}}),`template-params`);function nr(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function rr(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>nr(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}var ir=se(()=>{at(`skipHydrate`,e=>!Mt(e)&&1),et(`skipHydrate`,e=>void 0)});function ar(e){try{return JSON.parse(e)}catch{return e}}var or=[[`NuxtError`,e=>ke(e)],[`EmptyShallowRef`,e=>g(e===`_`?void 0:e===`0n`?BigInt(0):ar(e))],[`EmptyRef`,e=>b(e===`_`?void 0:e===`0n`?BigInt(0):ar(e))],[`ShallowRef`,e=>g(e)],[`ShallowReactive`,e=>o(e)],[`Ref`,e=>b(e)],[`Reactive`,e=>_e(e)]],sr=k({name:`nuxt:revive-payload:client`,order:-30,async setup(e){let t,n;for(let[e,t]of or)et(e,t);Object.assign(e.payload,([t,n]=C(()=>e.runWithContext(pt)),t=await t,n(),t)),delete window.__NUXT__}},1);function cr(e,t){t.push(pe),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function lr(e,t,n){let r=e.push,i=e;return i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>nr(i,e),i.render=()=>n(i),i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,t.callHook(`entries:updated`,i)},i.push=(n,a)=>{let o=a?.onRendered?t.hook(`dom:rendered`,a.onRendered):void 0,s=r(n,a),c=e.entries.get(s._i);return c&&(c._o=n),i.dirty=!0,t.callHook(`entries:updated`,i),{_i:s._i,patch(e){s.patch(e),i.dirty=!0,t.callHook(`entries:updated`,i)},dispose(){o?.(),e.entries.has(s._i)&&(s.dispose(),i.invalidate())}}},t.hook(`entries:updated`,()=>{i.render()}),i}var ur=/\s+/;function dr(e={}){return t=>hr(t,e)}function fr(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function pr(e){for(let t in e._s)e._s[t]();for(let t in e._p)e._p[t]();e._s={},e._p={},e._e.clear(),e._l.clear()}function mr(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let e of[...t.body.children,...t.head.children]){let t=e.tagName.toLowerCase();if(!yt.has(t))continue;let r={innerHTML:e.innerHTML};for(let t of e.getAttributeNames())r[t]=e.getAttribute(t);let i=Et({tag:t,props:{}},r);i.key=e.getAttribute(`data-hid`)||void 0;let a=xt(i)||_t(i),o=a,s=1;for(;n._e.has(o);)o=`${a}:${s++}
2`;n._e.set(o,e)}for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(ur))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function hr(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom,i=!!r&&r._d!==n;if(!n||r&&!i&&!e.dirty&&!fr(e)||e._du)return!1;let a=n.defaultView;e._du=!0;let o=!1;try{let r=function(e,t,n,r){let i=`${e}:${t}`;d._s[i]=!r&&d._p[i]||n,delete d._p[i]},i=function(e){let t=d._p[e];return delete d._p[e],t},s=function(e,t,n,i,a,o){let s=`event:${t}`,c=`${e}:${s}`,l=d._l.get(c);if(l&&l[0]===o&&l[1]===n&&l[2]===i){r(e,s,l[4]);return}l?.[4]();let u=`data-${t}`,f=(e=>i.call(a,e)),p=()=>{o.removeEventListener(n,f),a.getAttribute(u)===``&&a.removeAttribute(u),d._l.get(c)?.[3]===f&&d._l.delete(c)};o.addEventListener(n,f),d._l.set(c,[o,n,i,f,p]),a.setAttribute(u,``),r(e,s,p,!0)},c=function({id:e,$el:t,tag:n}){let o=n.tag.endsWith(`Attrs`);if(d._e.set(e,t),!o){let a=n.textContent;a!=null&&a!==``&&(a!==t.textContent&&(t.textContent=a),r(e,`text`,()=>{t.textContent===a&&(t.textContent=``)},!0));let o=n.innerHTML;o!=null&&o!==``&&(o!==t.innerHTML&&(t.innerHTML=o),r(e,`html`,()=>{t.innerHTML===o&&(t.innerHTML=``)},!0));let s=`${e}:el`;d._s[s]=i(s)||(()=>{t?.remove(),d._e.delete(e)})}for(let r in n.props){let o=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof o==`function`){let i=r.slice(2);t?.dataset?.[`${r}fired`]&&o.call(t,new((a?.Event)||Event)(i)),s(e,r,i,o,t,n.tag===`bodyAttrs`&&a?a:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&o)for(let e of o){let n=`${c}:${e}`;d._s[n]=i(n)||(()=>t.classList.remove(e)),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&o)for(let[e,n]of o){let r=`${c}:${e}`;d._s[r]=i(r)||(()=>t.style.removeProperty(e)),t.style.setProperty(e,n)}else o!==!1&&o!==null&&(t.getAttribute(r)!==o&&t.setAttribute(r,o===!0?``:String(o)),d._s[c]=i(c)||(()=>t.removeAttribute(r)))}},l={shouldRender:!0,tags:[]};if(St(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=e._dom;u?._d!==n&&(u&&pr(u),u=void 0),u?u._p=u._s:u=mr(e,n),u._s={};let d=u,f=[],p={};e.dirty=!1;let m=vt(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),h=[],g={};for(let e of m){let t=g[e._d]||0,i=(t?`${e._d}:${t}`:e._d)||e._h,a={tag:e,id:i,shouldRender:!0};if(e.tag===`meta`&&e._d&&wt(e._d)&&(g[e._d]=t+1),h.push(a),e.tag===`title`){n.title=e.textContent,r(`title`,``,()=>n.title=d._t);continue}a.$el=d._e.get(i),a.$el?c(a):yt.has(e.tag)&&f.push(a)}for(let e of f)e.$el=n.createElement(e.tag.tag),c(e),(p[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el);p.head&&n.head.appendChild(p.head),p.bodyOpen&&n.body.insertBefore(p.bodyOpen,n.body.firstChild),p.bodyClose&&n.body.appendChild(p.bodyClose);for(let e in d._p)d._p[e]();e._dom=d,o=!0,St(e,`dom:rendered`,{renders:h})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return o&&(e.dirty||fr(e))&&hr(e,t),o}var gr=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(bt[e.tagPriority]||0);function _r(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||dr({document:e.document}),n=lr(rr(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:gr,init:[]}),Dt(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function vr(e={}){let t=dr(),n,r=0;return n=_r({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=Tt(n),n}var yr={disableDefaults:!0,plugins:[Yn,Qn,tr,Jn]},br=k({name:`nuxt:head`,enforce:`pre`,setup(e){cr(e,vr(yr))}}),xr=Ke(async e=>{let t,n;if(!e.meta?.validate)return;let r=([t,n]=C(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r!==!0)return ke({fatal:!0,status:r&&(r.status||r.statusCode)||404,statusText:r&&(r.statusText||r.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})},1);function Sr(e){let t=new URLSearchParams;if(e.query){for(let[n,r]of Object.entries(e.query))if(r!=null)if(Array.isArray(r))for(let e of r)t.append(n,String(e));else t.set(n,String(r))}let n=t.toString();return`${e.path}${n?`?${n}`:``}${e.hash??``}`}function Cr(e){let t=e.$cookies.get(`TOKENS`);if(!t?.accessToken||!t?.idToken)return!1;try{let n=t.accessToken.split(`.`);if(n.length===3){let t=JSON.parse(atob(n[1].replace(/-/g,`+`).replace(/_/g,`/`)));if(t.exp&&t.exp<Math.floor(Date.now()/1e3))return console.warn(`[oktaAuth] access token in cookie is expired, clearing session`),e.$cookies.remove(`TOKENS`),e.$cookies.remove(`USER_INFO`),!1}}catch{return!1}return!0}var wr=[xr,Ke(e=>{let{siteType:t,oktaLoginEnabled:n}=D().public;if(t!==Rt.INTERNAL_RH_SITE||!n)return;let r=e,i=String(r.path??``).split(`?`)[0];if(i===`/auth-callback`)return;let a=Cr(x());if(i===`/signing-in`)return a?Ue(`/`):void 0;if(!a){let e=Sr(r);return Ue(`/signing-in?redirect=${encodeURIComponent(e)}`,{external:!0})}}),Ke(e=>{try{if(D().public.siteType!==Rt.INTERNAL_RH_SITE)return;let t=e.fullPath?.split(`?`)[0]||e.path||``;return[`/__nuxt_devtools__`,`/_healthcheck`,`/api/`].some(e=>e.endsWith(`/`)?t.startsWith(e):t===e||t.startsWith(e+`/`))||[`/`,`/jobs`,`/jobs/`,`/auth-callback`].some(e=>e.endsWith(`/`)?t.startsWith(e)||t===e.slice(0,-1):t===e||t.startsWith(e+`/`))?void 0:Ue(`/`,{redirectCode:301})}catch{return}}),Ke(e=>{let t=e.path;if(t&&(t!==`/`&&t.endsWith(`/`)||t.endsWith(`%20`)||/[A-Z]/.test(decodeURIComponent(t))))return t.endsWith(`/`)?t=t.replace(/\/+$/,``)||`/`:t.endsWith(`%20`)&&(t=t.replace(/%20$/,``)),t=t.toLowerCase(),t===e.path?void 0:Ue({path:t,query:e.query,hash:e.hash},{redirectCode:301})}),Ke(e=>{let t=Qe({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return Me(n,{acceptRelative:!0})?(window.location.href=n,!1):n}}
2)],Tr={},Er=[{name:`formation-professionnelle-demander-une-brochure`,path:`/formation-professionnelle/demander-une-brochure`,component:()=>I(()=>import(`./zBE6-b-b2.js`),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48]),import.meta.url)},{name:`formation-professionnelle-demander-une-inscription`,path:`/formation-professionnelle/demander-une-inscription`,component:()=>I(()=>import(`./BbY37E33.js`),__vite__mapDeps([49,1,2,3,4,5,6,7,8,9,10,11,12,14,15,16,17,18,19,13,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47]),import.meta.url)},{name:`formation-professionnelle-resultats-selection-en-formation`,path:`/formation-professionnelle/resultats-selection-en-formation`,component:()=>I(()=>import(`./DEIMlACU.js`),__vite__mapDeps([50,1,2,3,4,5,6,7,8,9,10,11,12,28,19,13,15,16,17]),import.meta.url)},{name:`jobs-form`,path:`/jobs/form`,component:()=>I(()=>import(`./g7cB0rBu.js`),__vite__mapDeps([51,1,19,13,52]),import.meta.url)},{name:`projets-deposer-un-projet`,path:`/projets/deposer-un-projet`,meta:{layout:`default`},component:()=>I(()=>import(`./DX3xaG2F.js`),__vite__mapDeps([53,1,2,3,4,23,5,6,7,8,26,11,25,10,12,27,13,28,19,20,29,30,31,21,32,9,33,39,40,41,42,43,35,36,37,14,54,46,55,56,16,17,57,15,58,59]),import.meta.url)},{name:`rlf-crise-slug-je-recherche-un-proche`,path:`/rlf-crise/:slug()/je-recherche-un-proche`,component:()=>I(()=>import(`./rocCIFmO.js`),__vite__mapDeps([60,1,2,3,4,5,8,9,10,11,12,19,13,28,40,7,14,38,23,6,26,25,27,20,29,30,31,21,32,33,34,39,41,42,43,35,36,37,44,15,16,17,61,62,63,64]),import.meta.url)},{name:`rlf-crise-slug-je-soumets-une-recherche`,path:`/rlf-crise/:slug()/je-soumets-une-recherche`,component:()=>I(()=>import(`./DZlVl32S.js`),__vite__mapDeps([65,1,2,3,4,5,8,9,10,11,12,28,19,13,33,35,37,14,7,46,15,16,6,17,63]),import.meta.url)},{name:`rlf-crise-slug-je-suis-en-securite`,path:`/rlf-crise/:slug()/je-suis-en-securite`,component:()=>I(()=>import(`./OGp0bAPq.js`),__vite__mapDeps([66,1,2,3,4,5,8,9,10,11,12,28,19,13,33,35,37,14,7,46,15,16,6,17,63]),import.meta.url)},{name:`appels-d-offres-slug`,path:`/appels-d-offres/:slug()`,component:()=>I(()=>import(`./Dqe1xZF7.js`),__vite__mapDeps([67,1,2,3,4,23,5,6,7,8,26,11,25,10,12,27,13,28,19,20,29,30,31,21,32,68,24,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,56,87,88,16,17]),import.meta.url)},{name:`dossiers-slug`,path:`/dossiers/:slug()`,component:()=>I(()=>import(`./B3pl1SZx2.js`),__vite__mapDeps([89,1,2,3,4,23,5,8,9,10,11,12,27,68,6,7,24,26,25,13,28,19,20,29,30,31,21,32,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,16,17]),import.meta.url)},{name:`espace-presse-slug`,path:`/espace-presse/:slug()`,component:()=>I(()=>import(`./ByVlVdus2.js`),__vite__mapDeps([90,1,2,3,4,23,5,8,26,11,6,7,25,10,12,27,13,28,19,20,29,30,31,21,32,68,24,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,87,88,16,17]),import.meta.url)},{name:`formation-professionnelle-slug`,path:`/formation-professionnelle/:slug()`,component:()=>I(()=>import(`./cCZN7RlD2.js`),__vite__mapDeps([91,1,2,3,4,23,7,5,6,8,25,26,11,10,12,27,13,28,19,20,29,30,31,21,32,68,24,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,56,16,17,62,18,92,93,94,22,47,95]),import.meta.url)},{name:`formation-slug`,path:`/formation/:slug()`,component:()=>I(()=>import(`./DaX9JXil.js`),__vite__mapDeps([96,1,2,3,4,5,8,26,11,6,7,25,10,12,27,13,28,19,20,29,30,31,21,32,68,23,24,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,16,17,97,62,98]),import.meta.url)},{name:`jobs-slug`,path:`/jobs/:slug()`,component:()=>I(()=>import(`./Dcr3UmHp.js`),__vite__mapDeps([99,1,2,3,4,23,5,6,7,100,101,12,11,9,10,27,13,28,19,20,69,30,80,81,15,102,8,103,16,17,57,104,105]),import.meta.url)},{name:`projets-slug`,path:`/projets/:slug()`,component:()=>I(()=>import(`./DUHBMTrr.js`),__vite__mapDeps([106,1,2,3,4,23,5,6,7,8,26,11,25,10,12,27,13,28,19,20,29,30,31,21,32,71,72,15,56,16,17,57,107,81,108,59]),import.meta.url)},{name:`actualite`,path:`/actualite`,component:()=>I(()=>import(`./DGdc1W3C.js`),__vite__mapDeps([109,1,2,3,4,5,6,7,8,25,10,11,28,19,13,20,12,40,14,75,23,29,30,31,69,76,84,15,16,17,61,42,35,62,110]),import.meta.url)},{name:`annuaire`,path:`/annuaire`,component:()=>I(()=>
2import(`./ihbEakMe.js`),__vite__mapDeps([111,11,1,2,3,4,23,7,5,6,8,25,10,28,19,13,30,40,77,41,42,43,36,15,16,17,61,35,62,110,112,113,27,85,63,114,115,116,117]),import.meta.url)},{name:`appels-d-offres`,path:`/appels-d-offres`,component:()=>I(()=>import(`./DV331XSZ.js`),__vite__mapDeps([118,1,2,3,4,23,5,6,7,8,25,9,10,11,12,19,13,28,30,15,56,16,17,110,40]),import.meta.url)},{name:`auth-callback`,path:`/auth-callback`,component:()=>I(()=>import(`./BouTtsdx2.js`),__vite__mapDeps([119,1,2,3,120,7,88,19,13,21,121,122]),import.meta.url)},{name:`contact`,path:`/contact`,meta:{layout:`default`},component:()=>I(()=>import(`./BU5eyKWX2.js`),__vite__mapDeps([123,1,2,3,4,5,6,7,8,9,10,11,12,14,38,23,26,25,27,13,28,19,20,29,30,31,21,32,33,34,39,40,41,42,43,35,36,37,55,56,16,17,124]),import.meta.url)},{name:`demande-poste-secours`,path:`/demande-poste-secours`,component:()=>I(()=>import(`./DI6Rolsw2.js`),__vite__mapDeps([125,1,2,3,4,23,5,6,7,8,24,26,11,25,10,12,27,13,28,19,20,29,30,31,21,32,9,33,39,40,41,42,43,35,37,14,46,56,16,17,57,15]),import.meta.url)},{name:`dossiers`,path:`/dossiers`,component:()=>I(()=>import(`./B-V98fOJ2.js`),__vite__mapDeps([126,1,2,3,4,23,5,8,25,9,10,11,12,28,19,13,76,6,7,15,16,17,110,40]),import.meta.url)},{name:`espace-presse`,path:`/espace-presse`,component:()=>I(()=>import(`./BvpXE0Ly2.js`),__vite__mapDeps([127,1,2,3,4,23,5,6,7,8,25,9,10,11,12,27,68,24,26,13,28,19,20,29,30,31,21,32,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,16,17,110]),import.meta.url)},{name:`faq`,path:`/faq`,component:()=>I(()=>import(`./zSx_BBbw2.js`),__vite__mapDeps([128,1,2,3,4,5,9,10,11,12,13,30,16,6,7,17,129]),import.meta.url)},{name:`formation-professionnelle`,path:`/formation-professionnelle`,component:()=>I(()=>import(`./BfSu9EfM.js`),__vite__mapDeps([130,1,2,3,4,7,5,6,8,25,9,10,11,12,27,19,13,28,30,34,40,74,20,29,31,85,15,16,17,18,21,110,131,94,64,23,35]),import.meta.url)},{name:`integration`,path:`/integration`,meta:{layout:`default`},component:()=>I(()=>import(`./DWIeldDy.js`),__vite__mapDeps([132,1,9,3,2,10,11,12,13,28,5,19,35,37,70,23,6,7,26,25,27,20,29,30,31,21,32,45,46,54,71,72,74,55,133,134,113,85,63,135]),import.meta.url)},{name:`jobs`,path:`/jobs`,component:()=>I(()=>import(`./D0IAFhWU.js`),__vite__mapDeps([136,1,2,3,4,101,5,6,7,100,10,11,9,12,27,19,13,28,36,44,69,30,46,80,81,15,137,120,20,43,138,42,139,102,8,140,103,16,17,57,141,23,142,104,143]),import.meta.url)},{name:`politique-de-cookies`,path:`/politique-de-cookies`,component:()=>I(()=>import(`./DkVLpW3r.js`),__vite__mapDeps([144,1,2,4,5,15,87,3,10,11,81,88,19,13,21,16,6,7,17,58,145]),import.meta.url)},{name:`projets`,path:`/projets`,meta:{layout:`default`},component:()=>I(()=>import(`./BNfwWEr0.js`),__vite__mapDeps([146,1,2,3,4,5,6,7,8,25,9,10,11,12,28,19,13,40,15,55,16,17,61,30,42,35,62,110,112,57,92,108,147,21,81,148]),import.meta.url)},{name:`recherche`,path:`/recherche`,component:()=>I(()=>import(`./D9h7Z7nR.js`),__vite__mapDeps([149,1,2,3,4,5,6,7,25,9,10,11,12,13,28,19,30,34,36,71,20,72,15,16,17,113,27,85,63,64,23,35]),import.meta.url)},{name:`signing-in`,path:`/signing-in`,component:()=>I(()=>import(`./D5dgEfsb.js`),__vite__mapDeps([150,1,2,3,121,13,122]),import.meta.url)},{name:`trouver-une-mission-benevole`,path:`/trouver-une-mission-benevole`,component:()=>I(()=>import(`./CL64dqhJ.js`),__vite__mapDeps([151,1,2,3,4,23,5,6,7,8,9,10,11,12,28,19,13,20,30,40,14,71,72,77,25,41,42,43,36,16,17,61,35,62,112,57,15,148,152]),import.meta.url)}
2,{name:`slug`,path:`/:slug(.*)*`,meta:{validate:e=>!e.path.startsWith(`/__nuxt_devtools__`)&&!e.path.startsWith(`/sitemap`)&&!e.path.endsWith(`.xml`)&&e.path!==`/signing-in`&&e.path!==`/auth-callback`},component:()=>I(()=>import(`./CdQF6vI6.js`),__vite__mapDeps([153,1,2,3,6,7,100,101,8,27,15,102,55,56,103]),import.meta.url)},{name:`index`,path:`/`,component:()=>I(()=>import(`./C_LS84pD.js`),__vite__mapDeps([154,1,2,3,4,5,6,7,100,101,8,155,25,9,10,11,12,27,19,13,68,23,24,26,28,20,29,30,31,21,32,34,38,33,39,40,41,42,43,35,36,37,14,44,69,70,45,46,54,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,15,86,156,16,17,18,57,145,141,138,139,102,142]),import.meta.url)},{name:void 0,path:`/sitemap.xml`,component:{}}];function Dr(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Je(n,``)}let s=Je(r,e),c=!n||Pe(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var Or=k({name:`nuxt:router`,enforce:`pre`,async setup(e){let t,n,r=D().app.baseURL;mt&&!r.includes(`#`)&&(r+=`#`);let i=$e.history?.(r)??(mt?jt(r):kt(r)),a=$e.routes?([t,n]=C(()=>$e.routes(Er)),t=await t,n(),t??Er):Er,s,c=At({...$e,scrollBehavior:(e,t,n)=>{if(t===ze){s=n;return}if($e.scrollBehavior){if(c.options.scrollBehavior=$e.scrollBehavior,`scrollRestoration`in window.history){let e=c.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return $e.scrollBehavior(e,ze,s||n)}},history:i,routes:a});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(c);let l=g(c.currentRoute.value);c.afterEach((e,t)=>{l.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});let u=Dr(r,window.location,e.payload.path),d=g(c.currentRoute.value),f=()=>{d.value=c.currentRoute.value};c.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;if(n===r){Ft({route:e,Component:{type:n}})===Ft({route:t,Component:{type:r}})&&f();return}e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&f()});let p={sync:f};for(let e in d.value)Object.defineProperty(p,e,{get:()=>d.value[e],enumerable:!0});e._route=o(p),e._middleware||={global:[],named:{}};let m=Ne();c.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&m.value&&await e.runWithContext(P),r&&await e.callHook(`page:loading:end`)});try{[t,n]=C(()=>c.isReady()),await t,n()}catch(r){[t,n]=C(()=>Oe(e,r)),await t,n()}let h=u===c.currentRoute.value.fullPath?c.currentRoute.value:c.resolve(u),_=c.currentRoute.value.fullPath,v=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&u!==e.payload.path&&Pe(c.currentRoute.value.path,e.payload.path);f();function y(t){!e.isHydrating&&t.fullPath!==Dr(r,window.location)&&i.push(t.fullPath)}let b=e.payload.state._layout;return c.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=_e(t.meta),e.isHydrating&&b&&!ie(t.meta.layout)&&(t.meta.layout=b),e._processingMiddleware=!0;{let r=new Set([...wr,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of It(t))r.add(e)}let i=Qe({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await Tr[i]?.().then(e=>e.default||e):i;if(!r)throw be.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||ke({status:404,statusText:`Page Not Found: ${u}`});return await e.runWithContext(()=>ye(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return Te(i)&&i.fatal&&(await e.runWithContext(()=>ye(i)),y(t)),i}catch(n){let r=ke(n);return r.fatal&&(await e.runWithContext(()=>ye(r)),y(t)),r}}}}),c.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)}),c.afterEach(t=>{if(t.matched.length===0&&!m.value)return e.runWithContext(()=>ye(ke({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>
2{try{if(`name`in h&&(h.name=void 0),c.currentRoute.value.fullPath===_)if(v){let t=c.resolve(e.payload.path);`name`in t&&(t.name=void 0),await c.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,c.currentRoute.value=c.resolve(u),f(),c.replace({...h,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await c.replace({...h,force:!0});c.options.scrollBehavior=$e.scrollBehavior}catch(t){await Oe(e,t)}}),{provide:{router:c}}}},1);function kr(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw be.NUXT_E2010({path:t});if(n.protocol&&He(n.protocol))throw be.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:x().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}function Ar(e){e.indexable!==void 0&&(e.indexable=String(e.indexable)!==`false`),e.trailingSlash!==void 0&&!e.trailingSlash&&(e.trailingSlash=String(e.trailingSlash)!==`false`),e.url&&!Me(String(e.url),{acceptRelative:!0,strict:!1})&&(e.url=F(String(e.url)));let t=Object.keys(e).sort((e,t)=>e.localeCompare(t)),n={};for(let r of t)n[r]=e[r];return n}function jr(e){let t=e?.debug||!1,n=[];function r(e){if(!e||typeof e!=`object`||Object.keys(e).length===0)return()=>{};if(!e._context&&t){let t=Error(`tmp`).stack?.split(` 3`)[2]?.split(` `)[5];t?.includes(`/`)&&(t=`anonymous`),e._context=t}let r={};for(let t in e){let n=e[t];n!==void 0&&n!==``&&(r[t]=n)}let i;return Object.keys(r).filter(e=>!e.startsWith(`_`)).length>0&&(i=n.push(r)),()=>{i!==void 0&&n.splice(i-1,1)}}function i(e){let t={};e?.debug&&(t._context={}),t._priority={};for(let r in n.sort((e,t)=>(e._priority||0)-(t._priority||0)))for(let i in n[r]){let a=i,o=e?.resolveRefs?p(n[r][i]):n[r][i];!i.startsWith(`_`)&&o!==void 0&&o!==``&&(t[i]=o,n[r]._priority!==void 0&&n[r]._priority!==-1&&(t._priority[a]=n[r]._priority),e?.debug&&(t._context[a]=n[r]._context?.[a]||n[r]._context||`anonymous`))}return e?.skipNormalize?t:Ar(t)}return{stack:n,push:r,get:i}}var Mr=k({name:`nuxt-site-config:init`,enforce:`pre`,async setup(e){let t=jr(),n=ct(`site-config`);{let e=n.value||window.__NUXT_SITE_CONFIG__||{};for(let n in e)n[0]!==`_`&&t.push({[n]:e[n],_priority:e._priority?.[n]||-1})}return{provide:{nuxtSiteConfig:t}}}}),Nr=k({name:`nuxt:payload`,setup(e){let t=new Set;Ve().beforeResolve(async(n,r)=>{let i=gt(n.path),a=i?De(n.fullPath):n.path;if(a===(i?De(r.fullPath):r.path))return;let o=await nt(a);if(o){for(let n of t)delete e.static.data[n];for(let n in o.data)n in e.static.data||t.add(n),e.static.data[n]=o.data[n]}}),ot(()=>{e.hooks.hook(`link:prefetch`,async e=>{let{hostname:t,pathname:n}=new URL(e,window.location.href);t===window.location.hostname&&await nt(e).catch(()=>{Xe.NUXT_E7003({url:e})})}),navigator.connection?.effectiveType!==`slow-2g`&&setTimeout(ht,1e3)})}}),Pr=k(()=>{let e=Ve();ot(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),Fr=k(e=>{let t;async function n(){let r;try{r=await ht()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,de);try{let n=await Ye(Ze(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}ot(()=>{t=setTimeout(n,de)})}),Ir=k({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Le(navigator.userAgent)&&kr()})}}),Lr=k({name:`nuxt:chunk-reload`,setup(e){let t=Ve(),n=D(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){kr({path:Ie(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),Rr=k({name:`pinia`,setup(e){let t=Pt();return e.vueApp.use(t),Nt(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=x();e.payload.pinia=T(e.$pinia).state.value,Nt(void 0)}}}),zr=k({name:`nuxt:global-components`}),Br={default:u(()=>I(()=>import(`./ZpaS93dQ.js`).then(e=>e.default||e),__vite__mapDeps([157,1,2,3,4,7,5,6,120,100,101,8,24,19,13,28,21,42,14,137,20,12,11,43,44,138,139,102,140]),import.meta.url)),empty:u(()=>I(()=>import(`./C8PmlwjG.js`).then(e=>e.default||e),__vite__mapDeps([158,1,159,2,23,13]),import.meta.url))},Vr=k({name:`nuxt:prefetch`,setup(e){let t=Ve();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;t&&typeof Br[t]==`function`&&await Br[t]()})}),e.hooks.hook(`link:prefetch`,e=>
3{if(Me(e))return;let n=t.resolve(e);if(!n)return;let r=n.meta.layout,i=It(n.meta.middleware).filter(e=>typeof e==`string`);for(let e of i){let t=Tr[e];typeof t==`function`&&t()}typeof r==`string`&&r in Br&&st(Br[r])})}}),Hr=k({name:`nuxt-site-config:i18n`,dependsOn:[`i18n:plugin`,`i18n:plugin:ssg-detect`,`i18n:plugin:route-locale-detect`],setup(e){let t=e.$i18n;if(!t)return;let n=x().$nuxtSiteConfig,r=p(t.baseUrl);if(r){let e=n.get({resolveRefs:!0}),t=e.url;if(t&&!t.includes(`localhost`)){let n=qe(r,`https://`),i=qe(t,`https://`);n.host!==i.host&&e.env===`production`&&console.error(`[Nuxt Site Config] Your I18n baseUrl \`${n.host}\` doesn't match your site url ${i.host}. This will cause production SEO issues. Either provide a matching baseUrl or remove the site url config.`)}}let i;ae(t.locale,()=>{i&&i();let e=y(()=>{let e=p(t.locales).find(e=>e.code===t.defaultLocale);return e?.language||e?.iso||t.defaultLocale});i=n.push({_priority:-1,_context:`@nuxtjs/i18n`,url:y(()=>p(t.baseUrl)||void 0),defaultLocale:e,currentLocale:y(()=>{let n=p(t.localeProperties);return n.language?n.language:e.value}),description:y(()=>t.te(`nuxtSiteConfig.description`)?t.t(`nuxtSiteConfig.description`):void 0),name:y(()=>t.te(`nuxtSiteConfig.name`)?t.t(`nuxtSiteConfig.name`):void 0)})},{immediate:!0})}}),Ur=[`fr`],Wr={fr:[{key:`locale_fr_46json_04510cf7`,load:()=>I(()=>import(`./UA6GK6XS.js`),[],import.meta.url),cache:!0}]},Gr=[],Kr=[{code:`fr`,name:`Français`,language:void 0}],qr=new Map,Jr=We((e,t,n)=>{if(t===`messages`||t===`datetimeFormats`||t===`numberFormats`)return e[t]??=Ht(null),zt(n,e[t]),!0});async function Yr(e){let t=x(),n={messages:Ht(null)};for(let r of e){let e=await r().then(e=>e.default),i=Ut(e)?await t.runWithContext(()=>e()):e;n=Jr(Ht(null),i,n)}return n.fallbackLocale??=!1,n}var Xr=e=>Bt(e)===`[object Module]`,Zr=e=>Xr(e)||!1;async function Qr(e,t){let n=x();try{let r=await n.runWithContext(t.load).then(e=>Zr(e)?e.default:e);return Ut(r)?await n.runWithContext(()=>r(e)):r}catch(t){throw Error(`Failed loading locale (${e}): `+t.message)}}async function $r(e,t=[]){let n=x(),r=await Promise.all(t.map(async t=>{let r=ei(t),i=r||await n.runWithContext(()=>Qr(e,t));return!r&&t.cache!==!1&&qr.set(t.key,{ttl:Date.now()+864e5,value:i}),i})),i={};for(let e of r)zt(e,i);return i}function ei(e){if(e.cache===!1)return;let t=qr.get(e.key);if(t!=null)return t.ttl>Date.now()?t.value:void 0}function ti(e=0){return t=>{let n=(typeof t==`string`?t:t.pathname).split(`?`)[0].split(`/`);return n[0]===``&&n.shift(),n.length>e&&n[e]||``}}var ni=`___`;function ri(e){return typeof e==`string`?e:e==null?``:e.toString()}function ii(e){return ri(typeof e==`object`?e?.name:e).split(ni)[0]}var ai=ti(0),oi=e=>ai(e),si=e=>e.split(ni).at(1)??``;function ci(e){return String(typeof e==`object`?e?.name||e?.path||``:e)}function li(e){let t=ci(e);return t[0]===`/`?oi(t):si(t)}function ui(e){return e=>ri(e)}function di(e){return e=>e}function fi(e,t,n=e.getLocale()){if(Vt(t)&&Me(t,{acceptRelative:!0}))return t;try{return hi(e,t,n).fullPath}catch{return``}}function pi(e,t,n=e.getLocale()){try{return hi(e,t,n)}catch{return}}function mi(e){if(!Vt(e))return Kt({},e);if(e[0]===`/`){let{pathname:t,search:n,hash:r}=Fe(e);return{path:t,query:Ae(n),hash:r}}return{name:e}}function hi(e,t,n){let r=mi(t),i=e.router.resolve(e.resolveLocalizedRouteObject(r,n));return i.name?i:e.router.resolve(t)}function gi(e,t,n=e.router.currentRoute.value){let r=e.getRouteBaseName(n);if(!r)return``;let i=fi(e,{name:r,params:Kt({},n.params,e.getLocalizedDynamicParams(t)),fullPath:n.fullPath,query:n.query,hash:n.hash,path:n.path,meta:n.meta},t);return e.afterSwitchLocalePath(i,t)}function _i(e){let t={};for(let n of Ur){let r=vi(e,[n]);t[n]={fallbacks:r,cacheable:bi(n,r)}}return t}function vi(e,t){if(e===!1)return[];if(Gt(e))return e;let n=[];if(Vt(e))return t.every(t=>t!==e)&&n.push(e),n;let r=[...t,`default`];for(let t of r)t in e!=0&&(n=[...n,...e[t].filter(Boolean)]);return n}function yi(e){return Wr[e]!=null&&Wr[e].every(e=>e.cache!==!1)}function bi(e,t){return yi(e)&&t.every(e=>yi(e))}function xi(e){return Kr.find(t=>!!t.defaultForDomains?.includes(e))?.code}var Si=e=>Ur.includes(e||``),Ci=e=>Si(e)?e:void 0;function wi(e,t){let n=[];for(let[r,i]of t.entries()){let a=e.find(e=>e.language?.toLowerCase()===i.toLowerCase());if(a){n.push({code:a.code,score:1-r/t.length});break}}for(let[r,i]of t.entries()){let a=i.split(`-`)[0].toLowerCase(),o=e.find(e=>e.language?.split(`-`)[0].toLowerCase()===a);if(o){n.push({code:o.code,score:.999-r/t.length});break}}return n}function Ti(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}function Ei(e,t){return wi(e.map(e=>({code:e.code,language:e.language||e.code})),t).sort(Ti).at(0)?.code??``}function Di(e,t){return e?e.$config.public.i18n:D(t).public.i18n}function Oi(e){let t=Di(e).detectBrowserLanguage,n=t||{};
3return{...n,enabled:!!t,cookieKey:n.cookieKey||`i18n_redirected`}}function ki(e){if(e)return{path:`/`+(Vt(e)?e:e.path).replace(/^\//,``),code:!Vt(e)&&e.statusCode||302}}function Ai(e){return Array.isArray(e)?e:[e]}function ji(e,t,n){let r=(e=``)=>e.replace(/https?:\/\//,``),i=e.filter(e=>r(e.domain)===t||Ai(e.domains).includes(t));return i.length<=1?i[0]?.code:i.find(e=>e.code===n)?.code||i.find(e=>e.defaultForDomains?.includes(t)??e.domainDefault)?.code}function Mi(e,t,n){let r=Kr.find(e=>e.code===n),i=e?.[n]?.domain||r?.domain||r?.domains?.find(e=>e===t.host);if(i)return Me(i,{strict:!0})?i:t.protocol+`//`+i}var Ni=(e,t)=>tt(t).value||void 0,Pi=(e,t)=>li(t),Fi=e=>Ei(Kr,navigator.languages),Ii=(e,t,n)=>{let r=new URL(window.location.href).host;return ji(Kr.map(e=>({...e,domain:n[e.code]?.domain??e.domain})),r,oi(t))},Li=(e,t,n)=>{let r=Di(n);return{cookie:()=>Ni(e,t.cookieKey),header:()=>void 0,navigator:()=>Fi(e),host:t=>Ii(e,t,r.domainLocales),route:t=>Pi(e,t)}},Ri=e=>!!e.path&&!e.name;function zi(e){let t=e?._nuxtI18n?.composableCtx;if(!t)throw Error(`i18n context is not initialized. Ensure the i18n plugin is installed and the composable is used within a Vue component or setup function.`);return t}var Bi=N;function Vi(e,t=x()){let n=Ve();Li(rt(),Oi(t),t);let r=e.getDefaultLocale(),i=ui(r);function a(e,t){e.name=ii(e.name||n.currentRoute.value);let r=i(e.name,t);return n.hasRoute(r)&&(e.name=r),e}let o=di(n);function s(e,t){let n=o(e,t),a=ii(n);return a?(n.name=i(a,t),n):(Ki(t,r)&&(n.path=`/`+t+n.path),n.path=Bi(n.path,!0),n)}let c={router:n,_head:void 0,get head(){return this._head??=Ct({}),this._head},metaState:{htmlAttrs:{},meta:[],link:[]},seoSettings:{dir:!1,lang:!1,seo:!1},localePathPayload:Hi(),routingOptions:{defaultLocale:r,strictCanonicals:e.config.experimental.alternateLinkCanonicalQueries??!0,hreflangLinks:!1},getLocale:e.getLocale,getLocales:e.getLocales,getBaseUrl:e.getBaseUrl,getRouteBaseName:ii,getRouteLocalizedParams:()=>n.currentRoute.value.meta.nuxtI18nInternal??{},getLocalizedDynamicParams:e=>c.getRouteLocalizedParams()?.[e],afterSwitchLocalePath:(e,t)=>(c.getRouteLocalizedParams(),e),resolveLocalizedRouteObject:(e,t)=>Ri(e)?s(e,t):a(e,t)};return c}function Hi(e=x()){let t=document.querySelector(`[data-nuxt-i18n-slp="${e._id}"]`)?.textContent;return JSON.parse(t||`{}`)}async function Ui(e,t){let n=ea(e),r=n.getLocale();if(t===r&&!n.initial)return t;let i={oldLocale:r,newLocale:t,initialSetup:n.initial,context:e},a=await e.callHook(`i18n:beforeLocaleSwitch`,i);return a??=i.newLocale,Si(a)&&(t=a),await n.loadMessages(t),await n.setLocaleSuspend(t),t}function Wi(e,t,n){return!1}function Gi(e,t){let n=Oi(e),r=Li(rt(e),n,e),i=ea(e),a=Vt(t)?t:t.path;function*o(){i.initial&&n.enabled&&!Wi(n,a,r.route(a))&&(yield r.cookie(),yield r.header(),yield r.navigator(),yield n.fallbackLocale)}for(let e of o())if(e&&Si(e))return e;return i.getLocale()||i.getDefaultLocale()||``}function Ki(e,t){return!1}function qi(e,t,n,r){return Ut(t)?()=>t(e):()=>t??``}function Ji(e){return e!=null&&`global`in e&&`mode`in e?e.global:e}function Yi(e){let t=Ji(e);return`__composer`in t?t.__composer:t}var Xi=()=>ct(`i18n:cached-locale-configs`,()=>void 0),Zi=()=>ct(`i18n:resolved-locale`,()=>``);function Qi({cookieCrossOrigin:e,cookieDomain:t,cookieSecure:n,cookieKey:r}){let i=new Date;return tt(r||`i18n_redirected`,{path:`/`,readonly:!1,expires:new Date(i.setDate(i.getDate()+365)),sameSite:e?`none`:`lax`,domain:t||void 0,secure:e||n})}function $i(e,t,n){let r=Ji(t),i=Di(e),a=Oi(e),o=Xi(),s=Qi(a),c=new Set,l=e=>o.value[e],u=e=>Mi(i.domainLocales,ut({xForwardedHost:!0}),e),d=qi(e,i.baseUrl,n,u),f=Zi(),p=async t=>{let n=l(t)?.fallbacks??[];n.includes(t)||n.push(t);for(let t of n){let n=await e.runWithContext(()=>$r(t,Wr[t]));r.mergeLocaleMessage(t,n)}},h=async e=>{if(!(e in Wr))return;let t=l(e)?.cacheable?{}:{"Cache-Control":`no-cache`},n=await $fetch(`/_i18n/WA4qcuO6/${e}/messages.json`,{headers:t});for(let e of Object.keys(n))r.mergeLocaleMessage(e,n[e])},g={vueI18n:t,initial:!0,preloaded:!1,config:i,rootRedirect:ki(i.rootRedirect),redirectStatusCode:i.redirectStatusCode??302,dynamicResourcesSSG:!1,getDefaultLocale:()=>n,getLocale:()=>m(r.locale),setLocale:async t=>{let n=g.getLocale();t===n||!Si(t)||(ve(r.locale)?r.locale.value=t:r.locale=t,await e.callHook(`i18n:localeSwitched`,{newLocale:t,oldLocale:n}),f.value=t)},setLocaleSuspend:async t=>{Si(t)&&(g.vueI18n.__pendingLocale=t,g.vueI18n.__pendingLocalePromise=new Promise(e=>{g.vueI18n.__resolvePendingLocalePromise=async()=>{g.setCookieLocale(t),await g.setLocale(t),g.vueI18n.__pendingLocale=void 0,e()}}),(e.isHydrating||!g.config.skipSettingLocaleOnNavigate)&&await g.vueI18n.__resolvePendingLocalePromise?.())},getLocales:()=>m(r.locales).map(e=>Vt(e)?{code:e}:e),setCookieLocale:e=>{a.useCookie&&Si(e)&&(s.value=e)},getBaseUrl:t=>Ie(t&&u(t)||d(),e.$config.app.baseURL),loadMessages:async t=>{if(!(e.isHydrating&&c.has(t)))try{return g.dynamicResourcesSSG?await p(t):await h(t)}catch(e){console.warn(`Failed to load messages for locale "${t}"`,e)}finally{c.add(t)}},composableCtx:void 0};return g.composableCtx=Vi(g,e),g}
3function ea(e){if(e._nuxtI18n==null)throw Error(`Nuxt I18n context has not been set up yet.`);return e._nuxtI18n}var ta=k({name:`i18n:plugin:route-locale-detect`,dependsOn:[`i18n:plugin`],async setup(e){let t,n,r=x(e._id),i=ea(r),a=Zi();[t,n]=C(()=>r.runWithContext(()=>Ui(r,i.initial&&a.value||Gi(r,r.$router.currentRoute.value)))),await t,n()}},1);function na(e,{extendComposer:t,extendComposerInstance:n}){let r=te(),i=e.install.bind(e);e.install=(a,...o)=>{let s=Kt({},o[0]);s.__composerExtend=t=>(n(t,Yi(e)),()=>{}),e.mode===`legacy`&&(s.__vueI18nExtend=e=>(n(e,Yi(e)),()=>{})),Reflect.apply(i,e,[a,s]);let c=Yi(e);if(r.run(()=>{t(c),e.mode===`legacy`&&`__composer`in e.global&&n(e.global,Yi(e.global))}),e.mode===`composition`&&a.config.globalProperties.$i18n!=null&&n(a.config.globalProperties.$i18n,c),a.unmount){let e=a.unmount.bind(a);a.unmount=()=>{r.stop(),e()}}}}function ra(e,t=e.getCurrentLanguage(),n=e.getCurrentDirection()){let r={htmlAttrs:{},link:[],meta:[]};if(e.dir&&(r.htmlAttrs.dir=n),e.lang&&t&&(r.htmlAttrs.lang=t),e.seo){let t=aa(e);r.link=r.link.concat(t,ca(e)),r.meta=r.meta.concat(ua(e),da(e),fa(e,e.locales.map(e=>e.language||e.code)))}return r}function ia(e){let t=new Map;for(let n of e){if(!n.language){console.warn("Locale `language` ISO code is required to generate alternate link");continue}let[e,r]=n.language.split(`-`);e&&r&&(n.isCatchallLocale||!t.has(e))&&t.set(e,n),t.set(n.language,n)}return t}function aa(e){if(!e.hreflangLinks)return[];let t=[],n=ia(e.locales);for(let[r,i]of n.entries()){let n=oa(r,i,e);n&&(t.push(n),e.defaultLocale&&e.defaultLocale===i.code&&t[0].hreflang!==`x-default`&&t.unshift({[e.key]:`i18n-xd`,rel:`alternate`,href:n.href,hreflang:`x-default`}))}return t}function oa(e,t,n,r=n.strictCanonicals?n.getRouteWithoutQuery():void 0){let i=n.getLocalizedRoute(t.code,r);if(!i)return;let a=Ee(Me(i)?i:Ie(n.baseUrl,i),n.strictCanonicals?la(n):{});return{[n.key]:`i18n-alt-${e}`,rel:`alternate`,href:a,hreflang:e}}function sa(e,t=e.getCurrentRoute()){let n=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}));return n?Ee(Ie(e.baseUrl,n.path),la(e)):``}function ca(e,t=sa(e)){return t?[{[e.key]:`i18n-can`,rel:`canonical`,href:t}]:[]}function la(e,t=e.getCurrentRoute()){let n=e.getLocaleRoute(Object.assign({},t,{path:void 0,name:e.getRouteBaseName(t)}))?.query??{},r={};for(let t of e.canonicalQueries.filter(e=>e in n)){r[t]??=[];for(let e of ma(n[t]))r[t].push(e||``)}return r}function ua(e,t=sa(e)){return t?[{[e.key]:`i18n-og-url`,property:`og:url`,content:t}]:[]}function da(e,t=e.getCurrentLanguage()){return t?[{[e.key]:`i18n-og`,property:`og:locale`,content:pa(t)}]:[]}function fa(e,t,n=e.getCurrentLanguage()){return t.filter(e=>e&&e!==n).map(t=>({[e.key]:`i18n-og-alt-${t}`,property:`og:locale:alternate`,content:pa(t)}))}function pa(e=``){return e.replace(/-/g,`_`)}function ma(e){return Array.isArray(e)?e:[e]}function ha(e,t,n=e.getLocale(),r=e.getLocales(),i=e.getBaseUrl()){let a=r.find(e=>e.code===n)||{code:n},o=typeof t.seo==`object`&&t.seo?.canonicalQueries||[];return i||console.warn("I18n `baseUrl` is required to generate valid SEO tag links."),{...t,key:`id`,locales:r,baseUrl:i,canonicalQueries:o,hreflangLinks:e.routingOptions.hreflangLinks,defaultLocale:e.routingOptions.defaultLocale,strictCanonicals:e.routingOptions.strictCanonicals,getRouteBaseName:e.getRouteBaseName,getCurrentRoute:()=>e.router.currentRoute.value,getCurrentLanguage:()=>a.language,getCurrentDirection:()=>a.dir||`ltr`,getLocaleRoute:t=>pi(e,t),getLocalizedRoute:(t,n)=>gi(e,t,n),getRouteWithoutQuery:()=>{try{return Kt({},e.router.resolve({query:{}}),{meta:e.router.currentRoute.value.meta})}catch{return}}}}function ga(e,{dir:t=!0,lang:n=!0,seo:r=!0}){return ra(ha(e,{dir:t,lang:n,seo:r}))}function _a(e=x()){let t=zi(e);return e=>{if(e!=null)return t.getRouteBaseName(e)||void 0}}function va(e=x()){let t=zi(e);return(e,n)=>fi(t,e,n)}function ya(e=x()){let t=zi(e);return(e,n)=>pi(t,e,n)}function ba(e=x()){let t=zi(e);return e=>gi(t,e)}var xa=async e=>{let t=await Yr(Gr);t.locale=e||t.locale||`en-US`,t.defaultLocale=e,t.fallbackLocale??=!1,t.messages??={};for(let e of Ur)t.messages[e]??={};return t},Sa=k({name:`i18n:plugin`,parallel:!1,async setup(e){let t,n;Object.defineProperty(e.versions,"nuxtI18n",{get:()=>`10.2.1`});let r=x(e._id),i=Di(r),a=r.ssrContext?.event?.context?.nuxtI18n?.vueI18nOptions,o=xi(ut({xForwardedHost:!0}).host)||i.defaultLocale||``,s=a||([t,n]=C(()=>xa(o)),t=await t,n(),t),c=Xi();c.value??=_i(s.fallbackLocale),dt(Ur.map(e=>`/_i18n/WA4qcuO6/${e}/messages.json`));let l=qt(s),u=Li(rt(r),Oi(r),r),d=$i(r,l,s.defaultLocale);r._nuxtI18n=d,na(l,{extendComposer(e){e.locales=y(()=>i.locales),e.localeCodes=y(()=>Ur);let t=b(d.getBaseUrl());e.baseUrl=y(()=>t.value),ae(e.locale,()=>t.value=d.getBaseUrl()),e.strategy=`no_prefix`,e.localeProperties=y(()=>Kr.find(t=>t.code===e.locale.value)||{code:e.locale.value}),e.setLocale=async e=>{await Ui(r,e),await r.runWithContext(()=>(r.$router.currentRoute.value,void 0))},e.loadLocaleMessages=d.loadMessages,e.differentDomains=!1,e.defaultLocale=s.defaultLocale,e.getBrowserLocale=()=>Ci(u.navigator()),e.getLocaleCookie=()=>
3Ci(u.cookie()),e.setLocaleCookie=d.setCookieLocale,e.finalizePendingLocaleChange=async()=>{l.__pendingLocale&&await l.__resolvePendingLocalePromise?.()},e.waitForPendingLocaleChange=async()=>{await l?.__pendingLocalePromise}},extendComposerInstance(e,t){let n=[[`locales`,()=>t.locales],[`localeCodes`,()=>t.localeCodes],[`baseUrl`,()=>t.baseUrl],[`strategy`,()=>`no_prefix`],[`localeProperties`,()=>t.localeProperties],[`setLocale`,()=>e=>Reflect.apply(t.setLocale,t,[e])],[`loadLocaleMessages`,()=>e=>Reflect.apply(t.loadLocaleMessages,t,[e])],[`differentDomains`,()=>!1],[`defaultLocale`,()=>t.defaultLocale],[`getBrowserLocale`,()=>()=>Reflect.apply(t.getBrowserLocale,t,[])],[`getLocaleCookie`,()=>()=>Reflect.apply(t.getLocaleCookie,t,[])],[`setLocaleCookie`,()=>e=>Reflect.apply(t.setLocaleCookie,t,[e])],[`finalizePendingLocaleChange`,()=>()=>Reflect.apply(t.finalizePendingLocaleChange,t,[])],[`waitForPendingLocaleChange`,()=>()=>Reflect.apply(t.waitForPendingLocaleChange,t,[])]];for(let[t,r]of n)Object.defineProperty(e,t,{get:r})}}),r.vueApp.use(l),Object.defineProperty(r,"$i18n",{get:()=>Ji(l)}),r.provide(`localeHead`,e=>ga(r._nuxtI18n.composableCtx,e)),r.provide(`localePath`,va(r)),r.provide(`localeRoute`,ya(r)),r.provide(`routeBaseName`,_a(r)),r.provide(`getRouteBaseName`,_a(r)),r.provide(`switchLocalePath`,ba(r))}},1),Ca=`nuxt-i18n-slp`,wa=new RegExp([`<!--${Ca}-\\[(\\w+)\\]-->`,`.+?`,`<!--/${Ca}-->`].join(``),`g`),Ta=k({name:`i18n:plugin:switch-locale-path-ssr`,dependsOn:[`i18n:plugin`],setup(e){let t=x(e._id),n=ba(t);t.hook(`app:rendered`,e=>{e.renderResult?.html!=null&&(e.renderResult.html=e.renderResult.html.replaceAll(wa,(e,t)=>{let r=encodeURI(n(t??``));return e.replace(/href="([^"]+)"/,`href="${r||`#`}" `)}))})}}),Ea=k({name:`i18n:plugin:preload`,dependsOn:[`i18n:plugin`],async setup(e){}},1);function Da(){return{token:{getWithRedirect:()=>{},parseFromUrl:()=>Promise.reject(Error(`Okta authClient is no-op`)),getUserInfo:()=>Promise.reject(Error(`Okta authClient is no-op`))},tokenManager:{setTokens:()=>{},add:()=>{},remove:()=>{}}}}var Oa=k(e=>{let{siteType:t,oktaLoginEnabled:n,oktaIssuer:r,oktaClientId:i,oktaRedirectUri:a}=D().public,o=null;return{provide:{authClient:()=>(o||=(async()=>{let{OktaAuth:e}=await I(async()=>{let{OktaAuth:e}=await import(`./B43aHjxC.js`).then(e=>e.t);return{OktaAuth:e}},__vite__mapDeps([160,11]),import.meta.url);if(t===Rt.INTERNAL_RH_SITE){if(!n||!r||!i)return Da();try{return new e({issuer:r,clientId:i,redirectUri:a||void 0,scopes:[`openid`,`profile`,`email`],tokenManager:{autoRenew:!0}})}catch{return Da()}}try{return new e({issuer:Jt.okta?.issuer,clientId:Jt.okta?.clientId,redirectUri:Jt.okta?.redirectUri,scopes:[`openid`,`profile`,`email`]})}catch{return Da()}})(),o)}}});function ka(e){return ge()?(r(e),!0):!1}typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var Aa={},ja;function Ma(){if(ja)return Aa;ja=1,Aa.parse=o,Aa.serialize=l;var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty,n=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,r=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,i=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,a=/^[\u0020-\u003A\u003D-\u007E]*$/;function o(e,n){if(typeof e!=`string`)throw TypeError(`argument str must be a string`);var r={},i=e.length;if(i<2)return r;var a=n&&n.decode||u,o=0,l=0,d=0;do{if(l=e.indexOf(`=`,o),l===-1)break;if(d=e.indexOf(`;`,o),d===-1)d=i;else if(l>d){o=e.lastIndexOf(`;`,l-1)+1;continue}var p=s(e,o,l),m=c(e,l,p),h=e.slice(p,m);if(!t.call(r,h)){var g=s(e,l+1,d),_=c(e,d,g);e.charCodeAt(g)===34&&e.charCodeAt(_-1)===34&&(g++,_--),r[h]=f(e.slice(g,_),a)}o=d+1}while(o<i);return r}function s(e,t,n){do{var r=e.charCodeAt(t);if(r!==32&&r!==9)return t}while(++t<n);return n}function c(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(r!==32&&r!==9)return t+1}return n}function l(e,t,o){var s=o&&o.encode||encodeURIComponent;if(typeof s!=`function`)throw TypeError(`option encode is invalid`);if(!n.test(e))throw TypeError(`argument name is invalid`);var c=s(t);
3if(!r.test(c))throw TypeError(`argument val is invalid`);var l=e+`=`+c;if(!o)return l;if(o.maxAge!=null){var u=Math.floor(o.maxAge);if(!isFinite(u))throw TypeError(`option maxAge is invalid`);l+=`; Max-Age=`+u}if(o.domain){if(!i.test(o.domain))throw TypeError(`option domain is invalid`);l+=`; Domain=`+o.domain}if(o.path){if(!a.test(o.path))throw TypeError(`option path is invalid`);l+=`; Path=`+o.path}if(o.expires){var f=o.expires;if(!d(f)||isNaN(f.valueOf()))throw TypeError(`option expires is invalid`);l+=`; Expires=`+f.toUTCString()}if(o.httpOnly&&(l+=`; HttpOnly`),o.secure&&(l+=`; Secure`),o.partitioned&&(l+=`; Partitioned`),o.priority)switch(typeof o.priority==`string`?o.priority.toLowerCase():o.priority){case`low`:l+=`; Priority=Low`;break;case`medium`:l+=`; Priority=Medium`;break;case`high`:l+=`; Priority=High`;break;default:throw TypeError(`option priority is invalid`)}if(o.sameSite)switch(typeof o.sameSite==`string`?o.sameSite.toLowerCase():o.sameSite){case!0:l+=`; SameSite=Strict`;break;case`lax`:l+=`; SameSite=Lax`;break;case`strict`:l+=`; SameSite=Strict`;break;case`none`:l+=`; SameSite=None`;break;default:throw TypeError(`option sameSite is invalid`)}return l}function u(e){return e.indexOf(`%`)===-1?e:decodeURIComponent(e)}function d(t){return e.call(t)===`[object Date]`}function f(e,t){try{return t(e)}catch{return e}}return Aa}var Na=Ma();function Pa(){let e=typeof global>`u`?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e==`boolean`?e:typeof document==`object`&&typeof document.cookie==`string`}function Fa(e){return typeof e==`string`?Na.parse(e):typeof e==`object`&&e?e:{}}function Ia(e,t={}){let n=La(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function La(e){return e&&e[0]===`j`&&e[1]===`:`?e.substr(2):e}var Ra=class{constructor(e,t={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;let e=this.cookies;this.cookies=Na.parse(document.cookie),this._checkChanges(e)};let n=typeof document>`u`?``:document.cookie;this.cookies=Fa(e||n),this.defaultSetOptions=t,this.HAS_DOCUMENT_COOKIE=Pa()}_emitChange(e){for(let t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(t=>{e[t]!==this.cookies[t]&&this._emitChange({name:t,value:Ia(this.cookies[t])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,t={}){return t.doNotUpdate||this.update(),Ia(this.cookies[e],t)}getAll(e={}){e.doNotUpdate||this.update();let t={};for(let n in this.cookies)t[n]=Ia(this.cookies[n],e);return t}set(e,t,n){n=n?Object.assign(Object.assign({},this.defaultSetOptions),n):this.defaultSetOptions;let r=typeof t==`string`?t:JSON.stringify(t);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:r}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Na.serialize(e,r,n)),this._emitChange({name:e,value:t,options:n})}remove(e,t){let n=t=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),t),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Na.serialize(e,``,n)),this._emitChange({name:e,value:void 0,options:t})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window==`object`&&`cookieStore`in window?window.cookieStore.addEventListener(`change`,this.update):this._startPolling())}removeChangeListener(e){let t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window==`object`&&`cookieStore`in window?window.cookieStore.removeEventListener(`change`,this.update):this._stopPolling())}};function za(e,{doNotParse:t=!1,autoUpdateDependencies:n=!1}={},r=new Ra){let i=n?[...e||[]]:e,a=r.getAll({doNotParse:!0}),o=b(0),s=()=>{let e=r.getAll({doNotParse:!0});Ba(i||null,e,a)&&o.value++,a=e};return r.addChangeListener(s),ka(()=>{r.removeChangeListener(s)}),{get:(...e)=>(n&&i&&!i.includes(e[0])&&i.push(e[0]),o.value,r.get(e[0],{doNotParse:t,...e[1]})),getAll:(...e)=>(o.value,r.getAll({doNotParse:t,...e[0]})),set:(...e)=>r.set(...e),remove:(...e)=>r.remove(...e),addChangeListener:(...e)=>r.addChangeListener(...e),removeChangeListener:(...e)=>r.removeChangeListener(...e)}}
3function Ba(e,t,n){if(!e)return!0;for(let r of e)if(t[r]!==n[r])return!0;return!1}var Va=k(e=>{let t;return t=za(),{provide:{cookies:{get(e){let n=t.get(e);if(n!=null)try{return JSON.parse(n)}catch{return n}},set(e,n,r){let i=typeof n==`string`?n:JSON.stringify(n);t.set(e,i,{path:`/`,...r})},remove(e,n){t.remove(e,{path:`/`,...n})}}}}}),Ha=k(async()=>{let e,t,n=D().public,{siteType:r,oktaLoginEnabled:i}=n,a=n.mockUser;if(r!==Rt.INTERNAL_RH_SITE)return;let o=Xt();if(a?.sub!=null&&a?.email!=null){o.setUserInfo({sub:a.sub,email:a.email}),o.setUserAccessToken(`mock.${btoa(JSON.stringify({sub:a.sub,email:a.email}))}`);return}i&&([e,t]=C(()=>o.nuxtServerInit()),await e,t())},1);function Ua(e){return`"${e.replace(Wa,Ga)}"`}var Wa=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Ga(e){return Ka[e.charCodeAt(0)]}var Ka=`\\u0000.\\u0001.\\u0002.\\u0003.\\u0004.\\u0005.\\u0006.\\u0007.\\b.\\t.\\n.\\u000B.\\f.\\r.\\u000E.\\u000F.\\u0010.\\u0011.\\u0012.\\u0013.\\u0014.\\u0015.\\u0016.\\u0017.\\u0018.\\u0019.\\u001A.\\u001B.\\u001C.\\u001D.\\u001E.\\u001F...\\"..........................................................\\\\...................................\\u007F.\\u0080.\\u0081.\\u0082.\\u0083.\\u0084.\\u0085.\\u0086.\\u0087.\\u0088.\\u0089.\\u008A.\\u008B.\\u008C.\\u008D.\\u008E.\\u008F.\\u0090.\\u0091.\\u0092.\\u0093.\\u0094.\\u0095.\\u0096.\\u0097.\\u0098.\\u0099.\\u009A.\\u009B.\\u009C.\\u009D.\\u009E.\\u009F`.split(`.`),qa=Object.freeze({});function Ja(e,t,n=an){let r=new Map;for(let e of Object.values(L))r.set(e,Ya(t,e));let i,a=Array.isArray(e),o=[e],s=-1,c=[],l=e,u,d,f=[],p=[];do{s++;let e=s===o.length,m=e&&c.length!==0;if(e){if(u=p.length===0?void 0:f[f.length-1],l=d,d=p.pop(),m)if(a){l=l.slice();let e=0;for(let[t,n]of c){let r=t-e;n===null?(l.splice(r,1),e++):l[r]=n}}else{l={...l};for(let[e,t]of c)l[e]=t}s=i.index,o=i.keys,c=i.edits,a=i.inArray,i=i.prev}else if(d){if(u=a?s:o[s],l=d[u],l==null)continue;f.push(u)}let h;if(!Array.isArray(l)){if(rn(l)||Qt(!1,`Invalid AST Node: ${tn(l)}.`),h=(e?r.get(l.kind)?.leave:r.get(l.kind)?.enter)?.call(t,l,u,d,f,p),h===qa)break;if(h===!1){if(!e){f.pop();continue}}else if(h!==void 0&&(c.push([u,h]),!e))if(rn(h))l=h;else{f.pop();continue}}h===void 0&&m&&c.push([u,l]),e?f.pop():(i={inArray:a,index:s,keys:o,edits:c,prev:i},a=Array.isArray(l),o=a?l:n[l.kind]??[],s=-1,c=[],d&&p.push(d),d=l)}while(i!==void 0);return c.length===0?e:c[c.length-1][1]}function Ya(e,t){let n=e[t];return typeof n==`object`?n:typeof n==`function`?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function Xa(e){return Ja(e,Qa)}var Za=80,Qa={Name:{leave:e=>e.value},Variable:{leave:e=>`$`+e.name},Document:{leave:e=>z(e.definitions,` 4 5`)},OperationDefinition:{leave(e){let t=eo(e.variableDefinitions)?V(`( 6`,z(e.variableDefinitions,` 7`),` 8)`):V(`(`,z(e.variableDefinitions,`, `),`)`),n=V(``,e.description,` 9`)+z([e.operation,z([e.name,t]),z(e.directives,` `)],` `);return(n===`query`?``:n+` `)+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>V(``,i,` 10`)+e+`: `+t+V(` = `,n)+V(` `,z(r,` `))},SelectionSet:{leave:({selections:e})=>B(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let a=V(``,e,`: `)+t,o=a+V(`(`,z(n,`, `),`)`);return o.length>Za&&(o=a+V(`( 11`,$a(z(n,` 12`)),` 13)`)),z([o,z(r,` `),i],` `)}},Argument:{leave:({name:e,value:t})=>e+`: `+t},FragmentSpread:{leave:({name:e,directives:t})=>`...`+e+V(` `,z(t,` `))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>z([`...`,V(`on `,e),z(t,` `),n],` `)},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:a})=>V(``,a,` 14`)+`fragment ${e}${V(`(`,z(n,`, `),`)`)} on ${t} ${V(``,z(r,` `),` `)}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?nn(e):Ua(e)},BooleanValue:{leave:({value:e})=>e?`true`:`false`},NullValue:{leave:()=>`null`},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>`[`+z(e,`, `)+`]`},ObjectValue:{leave:({fields:e})=>`{`+z(e,`, `)+`}`},ObjectField:{leave:({name:e,value:t})=>e+`: `+t},Directive:{leave:({name:e,arguments:t})=>`@`+e+V(`(`,z(t,`, `),`)`)},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>`[`+e+`]`},NonNullType:{leave:({type:e})=>e+`!`},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>V(``,e,` 15`)+z([`schema`,z(t,` `),B(n)],` `)},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+`: `+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>V(``,e,` 16`)+z([`scalar`,t,z(n,` `)],` `)},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V(``,e,` 17`)+z([`type`,t,V(`implements `,z(n,` & `)),z(r,` `),B(i)],` `)},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>V(``,e,` 18`)+t+(eo(n)?V(`( 19`,$a(z(n,` 20`)),` 21)`):V(`(`,z(n,`, `),`)`))+`: `+r+V(` `,z(i,` `))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>V(``,e,` 22`)+z([t+`: `+n,V(`= `,r),z(i,` `)],` `)},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>V(``,e,` 23`)+z([`interface`,t,V(`implements `,z(n,` & `)),z(r,` `),B(i)],` `)},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>V(``,e,` 24`)+z([`union`,t,z(n,` `),V(`= `,z(r,` | `))],` `)},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>V(``,e,` 25`)+z([`enum`,t,z(n,` `),B(r)],` `)},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>V(``,e,` 26`)+z([t,z(n,` `)],` `)},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>V(``,e,` 27`)+z([`input`,t,z(n,` `),B(r)],` `)},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>V(``,e,` 28`)+`directive @`+t+(eo(n)?V(`( 29`,$a(z(n,` 30`)),` 31)`):V(`(`,z(n,`, `),`)`))+(r?` repeatable`:``)+` on `+z(i,` | `)},SchemaExtension:{leave:({directives:e,operationTypes:t})=>z([`extend schema`,z(e,` `),B(t)],` `)},ScalarTypeExtension:{leave:({name:e,directives:t})=>z([`extend scalar`,e,z(t,` `)],` `)},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z([`extend type`,e,V(`implements `,z(t,` & `)),z(n,` `),B(r)],` `)},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>z([`extend interface`,e,V(`implements `,z(t,` & `)),z(n,` `),B(r)],` `)},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>z([`extend union`,e,z(t,` `),V(`= `,z(n,` | `))],` `)},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>z([`extend enum`,e,z(t,` `),B(n)],` `)},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>z([`extend input`,e,z(t,` `),B(n)],` `)},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>z([e,V(`.`,t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>z([e,V(`.`,t),V(`(`,n,`:)`)])},DirectiveCoordinate:{leave:({name:e})=>z([`@`,e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>z([`@`,e,V(`(`,t,`:)`)])}};function z(e,t=``){return e?.filter(e=>e).join(t)??``}function B(e){return V(`{ 32`,$a(z(e,`
33`)),` 34}`)}function V(e,t,n=``){return t!=null&&t!==``?e+t+n:``}function $a(e){return V(` `,e.replace(/\n/g,` 35 `))}function eo(e){return e?.some(e=>e.includes(` 36`))??!1}function H(e){return typeof e==`function`}function to(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var no=to(function(e){return function(t){e(this),this.message=t?t.length+` errors occurred during unsubscription: 37`+t.map(function(e,t){return t+1+`) `+e.toString()}).join(` 38 `):``,this.name=`UnsubscriptionError`,this.errors=t}});function ro(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var io=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=mn(a),s=o.next();!s.done;s=o.next())s.value.remove(this)}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var c=this.initialTeardown;if(H(c))try{c()}catch(e){i=e instanceof no?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var u=mn(l),d=u.next();!d.done;d=u.next()){var f=d.value;try{so(f)}catch(e){i??=[],e instanceof no?i=sn(sn([],en(i)),en(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new no(i)}},e.prototype.add=function(t){if(t&&t!==this)if(this.closed)so(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=this._finalizers??[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&ro(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ro(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=(function(){var t=new e;return t.closed=!0,t})(),e}(),ao=io.EMPTY;function oo(e){return e instanceof io||e&&`closed`in e&&H(e.remove)&&H(e.add)&&H(e.unsubscribe)}function so(e){H(e)?e():e.unsubscribe()}var co={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},lo={setTimeout:function(e,t){var n=[...arguments].slice(2),r=lo.delegate;return r?.setTimeout?r.setTimeout.apply(r,sn([e,t],en(n))):setTimeout.apply(void 0,sn([e,t],en(n)))},clearTimeout:function(e){return(lo.delegate?.clearTimeout||clearTimeout)(e)},delegate:void 0};function uo(e){lo.setTimeout(function(){var t=co.onUnhandledError;if(t)t(e);else throw e})}function fo(){}var po=(function(){return go(`C`,void 0,void 0)})();function mo(e){return go(`E`,void 0,e)}function ho(e){return go(`N`,e,void 0)}function go(e,t,n){return{kind:e,value:t,error:n}}var _o=null;function vo(e){if(co.useDeprecatedSynchronousErrorHandling){var t=!_o;if(t&&(_o={errorThrown:!1,error:null}),e(),t){var n=_o,r=n.errorThrown,i=n.error;if(_o=null,r)throw i}}else e()}function yo(e){co.useDeprecatedSynchronousErrorHandling&&_o&&(_o.errorThrown=!0,_o.error=e)}var bo=function(e){un(t,e);function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,oo(t)&&t.add(n)):n.destination=Oo,n}return t.create=function(e,t,n){return new wo(e,t,n)},t.prototype.next=function(e){this.isStopped?Do(ho(e),this):this._next(e)},t.prototype.error=function(e){this.isStopped?Do(mo(e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?Do(po,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(io),xo=Function.prototype.bind;function So(e,t){return xo.call(e,t)}var Co=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){To(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){To(e)}else To(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){To(e)}},e}(),wo=function(e){un(t,e);function t(t,n,r){var i=e.call(this)||this,a;if(H(t)||!t)a={next:t??void 0,error:n??void 0,complete:r??void 0};else{var o;
vendor: 9,651 bytes, line 38
38i&&co.useDeprecatedNextContext?(o=Object.create(t),o.unsubscribe=function(){return i.unsubscribe()},a={next:t.next&&So(t.next,o),error:t.error&&So(t.error,o),complete:t.complete&&So(t.complete,o)}):a=t}return i.destination=new Co(a),i}return t}(bo);function To(e){co.useDeprecatedSynchronousErrorHandling?yo(e):uo(e)}function Eo(e){throw e}function Do(e,t){var n=co.onStoppedNotification;n&&lo.setTimeout(function(){return n(e,t)})}var Oo={closed:!0,next:fo,error:Eo,complete:fo},ko=(function(){return typeof Symbol==`function`&&Symbol.observable||`@@observable`})();function Ao(e){return e}function jo(e){return e.length===0?Ao:e.length===1?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}var U=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r=this,i=Po(e)?e:new wo(e,t,n);return vo(function(){var e=r,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?r._subscribe(i):r._trySubscribe(i))}),i},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return t=Mo(t),new t(function(t,r){var i=new wo({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)})},e.prototype._subscribe=function(e){return this.source?.subscribe(e)},e.prototype[ko]=function(){return this},e.prototype.pipe=function(){return jo([...arguments])(this)},e.prototype.toPromise=function(e){var t=this;return e=Mo(e),new e(function(e,n){var r;t.subscribe(function(e){return r=e},function(e){return n(e)},function(){return e(r)})})},e.create=function(t){return new e(t)},e}();function Mo(e){return e??co.Promise??Promise}function No(e){return e&&H(e.next)&&H(e.error)&&H(e.complete)}function Po(e){return e&&e instanceof bo||No(e)&&oo(e)}function Fo(e){return H(e?.lift)}function Io(e){return function(t){if(Fo(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError(`Unable to lift unknown Observable type`)}}function Lo(e,t,n,r,i){return new Ro(e,t,n,r,i)}var Ro=function(e){un(t,e);function t(t,n,r,i,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=r?function(){try{r()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&((t=this.onFinalize)==null||t.call(this))}},t}(bo),zo=to(function(e){return function(){e(this),this.name=`ObjectUnsubscribedError`,this.message=`object unsubscribed`}}),Bo=function(e){un(t,e);function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return t.prototype.lift=function(e){var t=new Vo(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new zo},t.prototype.next=function(e){var t=this;vo(function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||=Array.from(t.observers);try{for(var i=mn(t.currentObservers),a=i.next();!a.done;a=i.next())a.value.next(e)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}})},t.prototype.error=function(e){var t=this;vo(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}})},t.prototype.complete=function(){var e=this;vo(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){return this.observers?.length>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?ao:(this.currentObservers=null,a.push(e),new io(function(){t.currentObservers=null,ro(a,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new U;return e.source=this,e},t.create=function(e,t){return new Vo(e,t)},t}(U),Vo=function(e){un(t,e);function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return t.prototype.next=function(e){var t,n;(n=(t=this.destination)?.next)==null||n.call(t,e)},t.prototype.error=function(e){var t,n;(n=(t=this.destination)?.error)==null||n.call(t,e)},t.prototype.complete=function(){var e,t;(t=(e=this.destination)?.complete)==null||t.call(e)},t.prototype._subscribe=function(e){return this.source?.subscribe(e)??ao},t}(Bo),Ho=function(e){un(t,e);function t(t){var n=e.call(this)||this;return n._value=t,n}return Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(Bo),Uo={now:function(){return(Uo.delegate||Date).now()},delegate:void 0},Wo=function(e){un(t,e);function t(t,n,r){t===void 0&&(t=1/0),n===void 0&&(n=1/0),r===void 0&&(r=Uo);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this,r=n._infiniteTimeWindow,i=n._buffer.slice(),a=0;a<i.length&&!e.closed;a+=r?1:2)e.next(i[a]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,c=1;c<r.length&&r[c]<=o;c+=2)s=c;s&&r.splice(0,s+1)}},t}(Bo),Go=new U(function(e){return e.complete()});function Ko(e){return e&&H(e.schedule)}function qo(e){return e[e.length-1]}function Jo(e){return Ko(qo(e))?e.pop():void 0}var Yo=(function(e){return e&&typeof e.length==`number`&&typeof e!=`function`});function Xo(e){return H(e?.then)}function Zo(e){return H(e[ko])}function Qo(e){return Symbol.asyncIterator&&H(e?.[Symbol.asyncIterator])}function $o(e){return TypeError(`You provided `+(typeof e==`object`&&e?`an invalid object`:`'`+e+`'`)+` where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}function es(){return typeof Symbol!=`function`||!Symbol.iterator?`@@iterator`:Symbol.iterator}var ts=es();function ns(e){return H(e?.[ts])}function rs(e){return ln(this,arguments,function(){var t,n,r,i;return fn(this,function(a){switch(a.label){case 0:t=e.getReader(),a.label=1;case 1:a.trys.push([1,,9,10]),a.label=2;case 2:return[4,on(t.read())];case 3:return n=a.sent(),r=n.value,i=n.done,i?[4,on(void 0)]:[3,5];case 4:return[2,a.sent()];case 5:return[4,on(r)];case 6:return[4,a.sent()];case 7:return a.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function is(e){return H(e?.getReader)}function as(e){if(e instanceof U)return e;if(e!=null){if(Zo(e))return os(e);if(Yo(e))return ss(e);if(Xo(e))return cs(e);if(Qo(e))return us(e);if(ns(e))return ls(e);if(is(e))return ds(e)}throw $o(e)}function os(e){return new U(function(t){var n=e[ko]();if(H(n.subscribe))return n.subscribe(t);throw TypeError(`Provided object does not correctly implement Symbol.observable`)})}function ss(e){return new U(function(t){for(var n=0;n<e.length&&!t.closed;n++)t.next(e[n]);t.complete()})}function cs(e){return new U(function(t){e.then(function(e){t.closed||(t.next(e),t.complete())},function(e){return t.error(e)}).then(null,uo)})}function ls(e){return new U(function(t){var n,r;try{for(var i=mn(e),a=i.next();!a.done;a=i.next()){var o=a.value;if(t.next(o),t.closed)return}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}t.complete()})}function us(e){return new U(function(t){fs(e,t).catch(function(e){return t.error(e)})})}function ds(e){return us(rs(e))}function fs(e,t){var n,r,i,a;return $t(this,void 0,void 0,function(){var o,s;return fn(this,function(c){switch(c.label){case 0:c.trys.push([0,5,6,11]),n=dn(e),c.label=1;case 1:return[4,n.next()];case 2:if(r=c.sent(),r.done)return[3,4];if(o=r.value,t.next(o),t.closed)return[2];c.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s=c.sent(),i={error:s},[3,11];case 6:return c.trys.push([6,,9,10]),r&&!r.done&&(a=n.return)?[4,a.call(n)]:[3,8];case 7:c.sent(),c.label=8;case 8:return[3,10];case 9:if(i)throw i.error;return[7];
38case 10:return[7];case 11:return t.complete(),[2]}})})}function ps(e,t,n,r,i){r===void 0&&(r=0),i===void 0&&(i=!1);var a=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(a),!i)return a}function ms(e,t){return t===void 0&&(t=0),Io(function(n,r){n.subscribe(Lo(r,function(n){return ps(r,e,function(){return r.next(n)},t)},function(){return ps(r,e,function(){return r.complete()},t)},function(n){return ps(r,e,function(){return r.error(n)},t)}))})}function hs(e,t){return t===void 0&&(t=0),Io(function(n,r){r.add(e.schedule(function(){return n.subscribe(r)},t))})}function gs(e,t){return as(e).pipe(hs(t),ms(t))}function _s(e,t){return as(e).pipe(hs(t),ms(t))}function vs(e,t){return new U(function(n){var r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}function ys(e,t){return new U(function(n){var r;return ps(n,t,function(){r=e[ts](),ps(n,t,function(){var e,t,i;try{e=r.next(),t=e.value,i=e.done}catch(e){n.error(e);return}i?n.complete():n.next(t)},0,!0)}),function(){return H(r?.return)&&r.return()}})}function bs(e,t){if(!e)throw Error(`Iterable cannot be null`);return new U(function(n){ps(n,t,function(){var r=e[Symbol.asyncIterator]();ps(n,t,function(){r.next().then(function(e){e.done?n.complete():n.next(e.value)})},0,!0)})})}function xs(e,t){return bs(rs(e),t)}function Ss(e,t){if(e!=null){if(Zo(e))return gs(e,t);if(Yo(e))return vs(e,t);if(Xo(e))return _s(e,t);if(Qo(e))return bs(e,t);if(ns(e))return ys(e,t);if(is(e))return xs(e,t)}throw $o(e)}function Cs(e,t){return t?Ss(e,t):as(e)}function ws(){var e=[...arguments];return Cs(e,Jo(e))}function Ts(e,t){var n=H(e)?e:function(){return e},r=function(e){return e.error(n())};return new U(t?function(e){return t.schedule(r,0,e)}:r)}var Es;(function(e){e.NEXT=`N`,e.ERROR=`E`,e.COMPLETE=`C`})(Es||={});var Ds=function(){function e(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue=e===`N`}return e.prototype.observe=function(e){return Os(this,e)},e.prototype.do=function(e,t,n){var r=this,i=r.kind,a=r.value,o=r.error;return i===`N`?e?.(a):i===`E`?t?.(o):n?.()},e.prototype.accept=function(e,t,n){return H(e?.next)?this.observe(e):this.do(e,t,n)},e.prototype.toObservable=function(){var e=this,t=e.kind,n=e.value,r=e.error,i=t===`N`?ws(n):t===`E`?Ts(function(){return r}):t===`C`?Go:0;if(!i)throw TypeError(`Unexpected notification kind `+t);return i},e.createNext=function(t){return new e(`N`,t)},e.createError=function(t){return new e(`E`,void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e(`C`),e}();function Os(e,t){var n,r,i,a=e,o=a.kind,s=a.value,c=a.error;if(typeof o!=`string`)throw TypeError(`Invalid notification, missing "kind"`);o===`N`?(n=t.next)==null||n.call(t,s):o===`E`?(r=t.error)==null||r.call(t,c):(i=t.complete)==null||i.call(t)}var ks=to(function(e){return function(){e(this),this.name=`EmptyError`,this.message=`no elements in sequence`}});function As(e,t){var n=typeof t==`object`;return new Promise(function(r,i){var a=!1,o;e.subscribe({next:function(e){o=e,a=!0},error:i,complete:function(){a?r(o):n?r(t.defaultValue):i(new ks)}})})}function js(e,t){return Io(function(n,r){var i=0;n.subscribe(Lo(r,function(n){r.next(e.call(t,n,i++))}))})}function Ms(e,t,n,r,i,a,o,s){var c=[],l=0,u=0,d=!1,f=function(){d&&!c.length&&!l&&t.complete()},p=function(e){return l<r?m(e):c.push(e)},m=function(e){a&&t.next(e),l++;var s=!1;as(n(e,u++)).subscribe(Lo(t,function(e){i?.(e),a?p(e):t.next(e)},function(){s=!0},void 0,function(){if(s)try{l--;for(var e=function(){var e=c.shift();o?ps(t,o,function(){return m(e)}):m(e)};c.length&&l<r;)e();f()}catch(e){t.error(e)}}))};return e.subscribe(Lo(t,p,function(){d=!0,f()})),function(){s?.()}}function Ns(e,t,n){return n===void 0&&(n=1/0),H(t)?Ns(function(n,r){return js(function(e,i){return t(n,e,r,i)})(as(e(n,r)))},n):(typeof t==`number`&&(n=t),Io(function(t,r){return Ms(t,r,e,n)}))}function Ps(e){return e===void 0&&(e=1/0),Ns(Ao,e)}function Fs(){return Ps(1)}function Is(){var e=[...arguments];return Fs()(Cs(e,Jo(e)))}function Ls(e,t){return Io(function(n,r){var i=0;n.subscribe(Lo(r,function(n){return e.call(t,n,i++)&&r.next(n)}))})}function Rs(e){return Io(function(t,n){var r=null,i=!1,a;r=t.subscribe(Lo(n,void 0,void 0,function(o){a=as(e(o,Rs(e)(t))),r?
38(r.unsubscribe(),r=null,a.subscribe(n)):i=!0})),i&&(r.unsubscribe(),r=null,a.subscribe(n))})}function zs(e){return Io(function(t,n){try{t.subscribe(n)}finally{n.add(e)}})}function Bs(){return Io(function(e,t){e.subscribe(Lo(t,function(e){t.next(Ds.createNext(e))},function(){t.next(Ds.createComplete()),t.complete()},function(e){t.next(Ds.createError(e)),t.complete()}))})}function Vs(e){e===void 0&&(e={});var t=e.connector,n=t===void 0?function(){return new Bo}:t,r=e.resetOnError,i=r===void 0||r,a=e.resetOnComplete,o=a===void 0||a,s=e.resetOnRefCountZero,c=s===void 0||s;return function(e){var t,r,a,s=0,l=!1,u=!1,d=function(){r?.unsubscribe(),r=void 0},f=function(){d(),t=a=void 0,l=u=!1},p=function(){var e=t;f(),e?.unsubscribe()};return Io(function(e,m){s++,!u&&!l&&d();var h=a??=n();m.add(function(){s--,s===0&&!u&&!l&&(r=Hs(p,c))}),h.subscribe(m),!t&&s>0&&(t=new wo({next:function(e){return h.next(e)},error:function(e){u=!0,d(),r=Hs(f,i,e),h.error(e)},complete:function(){l=!0,d(),r=Hs(f,o),h.complete()}}),as(e).subscribe(t))})(e)}}function Hs(e,t){var n=[...arguments].slice(2);if(t===!0){e();return}if(t!==!1){var r=new wo({next:function(){r.unsubscribe(),e()}});return as(t.apply(void 0,sn([],en(n)))).subscribe(r)}}function Us(e,t,n){var r,i,a,o,s=!1;return e&&typeof e==`object`?(r=e.bufferSize,o=r===void 0?1/0:r,i=e.windowTime,t=i===void 0?1/0:i,a=e.refCount,s=a!==void 0&&a,n=e.scheduler):o=e??1/0,Vs({connector:function(){return new Wo(o,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}function Ws(e,t,n){var r=H(e)||t||n?{next:e,error:t,complete:n}:e;return r?Io(function(e,t){var n;(n=r.subscribe)==null||n.call(r);var i=!0;e.subscribe(Lo(t,function(e){var n;(n=r.next)==null||n.call(r,e),t.next(e)},function(){var e;i=!1,(e=r.complete)==null||e.call(r),t.complete()},function(e){var n;i=!1,(n=r.error)==null||n.call(r,e),t.error(e)},function(){var e,t;i&&((e=r.unsubscribe)==null||e.call(r)),(t=r.finalize)==null||t.call(r)}))}):Ao}function Gs(e){try{return e()}catch{}}var Ks=Gs(()=>globalThis)||Gs(()=>window)||Gs(()=>self)||Gs(()=>global)||Gs(function(){return Gs.constructor(`return this`)()}),qs=`4.0.9`,Js=new Map;function Ys(e){let t=Js.get(e)||1;return Js.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}function Xs(e,t=0){let n=Ys(`stringifyForDisplay`);return JSON.stringify(e,(e,t)=>t===void 0?n:t,t).split(JSON.stringify(n)).join(`<undefined>`)}var Zs=`Invariant Violation`,Qs=class e extends Error{constructor(t=Zs){super(t),this.name=Zs,Object.setPrototypeOf(this,e.prototype)}},$s=[`debug`,`log`,`warn`,`error`,`silent`],ec=$s.indexOf(`silent`);function W(e,...t){if(!e)throw G(...t)}function tc(e){return function(t,...n){if($s.indexOf(e)>=ec){let r=console[e]||console.log;if(typeof t==`number`){let e=t;t=ic(e),t||(t=ac(e,n),n=[])}r(t,...n)}}}W.debug=tc(`debug`),W.log=tc(`log`),W.warn=tc(`warn`),W.error=tc(`error`);function G(e,...t){return new Qs(ic(e,t)||ac(e,t))}var nc=Symbol.for(`ApolloErrorMessageHandler_`+qs);function rc(e){if(typeof e==`string`)return e;try{return Xs(e,2).slice(0,1e3)}catch{return`<non-serializable>`}}function ic(e,t=[]){if(e)return Ks[nc]&&Ks[nc](e,t.map(rc))}function ac(e,t=[]){if(e)return typeof e==`string`?t.reduce((e,t)=>e.replace(/%[sdfo]/,rc(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:qs,message:e,args:t.map(rc)}))}`}function oc(e,t,n,r){if(n.kind===L.INT||n.kind===L.FLOAT)e[t.value]=Number(n.value);else if(n.kind===L.BOOLEAN||n.kind===L.STRING)e[t.value]=n.value;else if(n.kind===L.OBJECT){let i={};n.fields.map(e=>oc(i,e.name,e.value,r)),e[t.value]=i}else if(n.kind===L.VARIABLE){let i=(r||{})[n.name.value];e[t.value]=i}else if(n.kind===L.LIST)e[t.value]=n.values.map(e=>{let n={};return oc(n,t,e,r),n[t.value]});else if(n.kind===L.ENUM)e[t.value]=n.value;else if(n.kind===L.NULL)e[t.value]=null;else throw G(19,t.value,n.kind)}function sc(e,t){if(e.arguments&&e.arguments.length){let n={};return e.arguments.forEach(({name:e,value:r})=>
38oc(n,e,r,t)),n}return null}function cc(){}var lc=class{constructor(e=1/0,t=cc){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return t?(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0):!1}};function uc(){}var dc=uc,fc=typeof WeakRef<`u`?WeakRef:function(e){return{deref:()=>e}},pc=typeof WeakMap<`u`?WeakMap:Map,mc=typeof FinalizationRegistry<`u`?FinalizationRegistry:function(){return{register:uc,unregister:uc}},hc=10024,gc=class{constructor(e=1/0,t=dc){this.max=e,this.dispose=t,this.map=new pc,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<hc;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let n=t.key;delete t.key,t.keyRef=new fc(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new mc(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return t?(this.deleteNode(t),!0):!1}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}},_c=()=>Object.create(null),{forEach:vc,slice:yc}=Array.prototype,{hasOwnProperty:bc}=Object.prototype,xc=class e{constructor(e=!0,t=_c){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return vc.call(e,e=>t=t.getChildTrie(e)),bc.call(t,`data`)?t.data:t.data=this.makeData(yc.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(yc.call(e,1)),!i.data&&!i.weak&&!(i.strong&&i.strong.size)&&r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(t){let n=this.mapFor(t,!0),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&Sc(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}};function Sc(e){switch(typeof e){case`object`:if(e===null)break;case`function`:return!0}return!1}var K=null,Cc={},wc=1,Tc=()=>class{constructor(){this.id=[`slot`,wc++,Date.now(),Math.random().toString(36).slice(2)].join(`:`)}hasValue(){for(let e=K;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===Cc)break;return e!==K&&(K.slots[this.id]=t),!0}return K&&(K.slots[this.id]=Cc),!1}getValue(){if(this.hasValue())return K.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},a=K;K={parent:a,slots:i};try{return t.apply(r,n)}finally{K=a}}static bind(e){let t=K;return function(){let n=K;try{return K=t,e.apply(this,arguments)}finally{K=n}}}static noContext(e,t,n){if(K){let r=K;try{return K=null,e.apply(n,t)}finally{K=r}}return e.apply(n,t)}};function Ec(e){try{return e()}catch{}}var Dc=`@wry/context:Slot`,Oc=Ec(()=>globalThis)||Ec(()=>global)||Object.create(null),kc=Oc[Dc]||Array[Dc]||(function(e){try{Object.defineProperty(Oc,Dc,{value:e,enumerable:!1,writable:!1,
38configurable:!0})}finally{return e}})(Tc()),{bind:Ac,noContext:jc}=kc,Mc=new kc,{hasOwnProperty:Nc}=Object.prototype,Pc=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function Fc(e){let{unsubscribe:t}=e;typeof t==`function`&&(e.unsubscribe=void 0,t())}var Ic=[],Lc=100;function Rc(e,t){if(!e)throw Error(t||`assertion failure`)}function zc(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function Bc(e){switch(e.length){case 0:throw Error(`unknown value`);case 1:return e[0];case 2:throw e[1]}}function Vc(e){return e.slice(0)}var Hc=class e{constructor(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}peek(){if(this.value.length===1&&!Kc(this))return Uc(this),this.value[0]}recompute(e){return Rc(!this.recomputing,`already recomputing`),Uc(this),Kc(this)?Wc(this,e):Bc(this.value)}setDirty(){this.dirty||(this.dirty=!0,Jc(this),Fc(this))}dispose(){this.setDirty(),el(this),Xc(this,(e,t)=>{e.setDirty(),tl(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||=Ic.pop()||new Set,this.deps.add(e)}forgetDeps(){this.deps&&=(Pc(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),Ic.push(this.deps),null)}};Hc.count=0;function Uc(e){let t=Mc.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Kc(e)?Zc(t,e):Qc(t,e),t}function Wc(e,t){return el(e),Mc.withValue(e,Gc,[e,t]),nl(e,t)&&qc(e),Bc(e.value)}function Gc(e,t){e.recomputing=!0;let{normalizeResult:n}=e,r;n&&e.value.length===1&&(r=Vc(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!zc(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch{}}catch(t){e.value[1]=t}e.recomputing=!1}function Kc(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function qc(e){e.dirty=!1,!Kc(e)&&Yc(e)}function Jc(e){Xc(e,Zc)}function Yc(e){Xc(e,Qc)}function Xc(e,t){let n=e.parents.size;if(n){let r=Pc(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Zc(e,t){Rc(e.childValues.has(t)),Rc(Kc(t));let n=!Kc(e);if(!e.dirtyChildren)e.dirtyChildren=Ic.pop()||new Set;else if(e.dirtyChildren.has(t))return;e.dirtyChildren.add(t),n&&Jc(e)}function Qc(e,t){Rc(e.childValues.has(t)),Rc(!Kc(t));let n=e.childValues.get(t);n.length===0?e.childValues.set(t,Vc(t.value)):zc(n,t.value)||e.setDirty(),$c(e,t),!Kc(e)&&Yc(e)}function $c(e,t){let n=e.dirtyChildren;n&&(n.delete(t),n.size===0&&(Ic.length<Lc&&Ic.push(n),e.dirtyChildren=null))}function el(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{tl(e,n)}),e.forgetDeps(),Rc(e.dirtyChildren===null)}function tl(e,t){t.parents.delete(e),e.childValues.delete(t),$c(e,t)}function nl(e,t){if(typeof e.subscribe==`function`)try{Fc(e),e.unsubscribe=e.subscribe.apply(null,t)}catch{return e.setDirty(),!1}return!0}var rl={setDirty:!0,dispose:!0,forget:!0};function il(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=Mc.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),typeof n==`function`&&(Fc(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&Nc.call(rl,n)?n:`setDirty`;Pc(r).forEach(e=>e[i]()),t.delete(e),Fc(r)}},r}var al;function ol(...e){return(al||=new xc(typeof WeakMap==`function`)).lookupArray(e)}var sl=new Set;function cl(e,{max:t=2**16,keyArgs:n,makeCacheKey:r=ol,normalizeResult:i,subscribe:a,cache:o=lc}=Object.create(null)){let s=typeof o==`function`?new o(t,e=>e.dispose()):o,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(t===void 0)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new Hc(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>s.delete(t));let c=o.recompute(Array.prototype.slice.call(arguments));return s.set(t,o),sl.add(s),Mc.hasValue()||(sl.forEach(e=>e.clean()),sl.clear()),c};Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:a,cache:s});function l(e){let t=e&&s.get(e);t&&t.setDirty()}c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))};function u(e){let t=e&&s.get(e);if(t)return t.peek()}
38c.peekKey=u,c.peek=function(){return u(r.apply(null,arguments))};function d(e){return e?s.delete(e):!1}return c.forgetKey=d,c.forget=function(){return d(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}var ll={...Ks[Symbol.for(`apollo.cacheSize`)]};function ul(e,t){return e.definitions.find(e=>e.kind===`OperationDefinition`&&!!e.name)?.name.value??t}var dl=cl((e,t)=>{W(e&&e.kind===`Document`,1);let n=e.definitions.filter(e=>e.kind===`OperationDefinition`);t&&W(n.length==1&&n[0].operation===t,4,t,t,n[0].operation),Ja(e,{Field(t,r,i,a){if(t.alias&&(t.alias.value===`__typename`||t.alias.value.startsWith(`__ac_`))&&t.alias.value!==t.name.value){let r=e,i=[];for(let e of a)r=r[e],r.kind===L.FIELD&&i.push(r.alias?.value||r.name.value);throw i.splice(-1,1,t.name.value),G(5,t.alias.value,i.join(`.`),n[0].operation,ul(e,`(anonymous)`))}}})},{max:ll.checkDocument||2e3,cache:gc}),{toString:fl}=Object.prototype;function q(...e){let t={};return e.forEach(e=>{e&&Object.keys(e).forEach(n=>{let r=e[n];r!==void 0&&(t[n]=r)})}),t}function pl(e=[]){let t={};return e.forEach(e=>{t[e.name.value]=e}),t}function J(e){return typeof e==`object`&&!!e}var{hasOwnProperty:ml}=Object.prototype,hl=function(e,t,n){return this.merge(e[n],t[n])},gl=class{reconciler;constructor(e=hl){this.reconciler=e}merge(e,t,...n){return J(t)&&J(e)?(Object.keys(t).forEach(r=>{if(ml.call(e,r)){let i=e[r];if(t[r]!==i){let a=this.reconciler(e,t,r,...n);a!==i&&(e=this.shallowCopyForMerge(e),e[r]=a)}}else e=this.shallowCopyForMerge(e),e[r]=t[r]}),e):t}isObject=J;pastCopies=new Set;shallowCopyForMerge(e){return J(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e))),e}};function _l(e){let t={},n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(e=>{e.defaultValue&&oc(t,e.variable.name,e.defaultValue)}),t}function vl(e,t){switch(e.kind){case`InlineFragment`:return e;case`FragmentSpread`:{let n=e.name.value;if(typeof t==`function`)return t(n);let r=t&&t[n];return W(r,9,n),r||null}default:return null}}function yl(e,t){let n=t,r=[];return e.definitions.forEach(e=>{if(e.kind===`OperationDefinition`)throw G(10,e.operation,e.name?` named '${e.name.value}'`:``);e.kind===`FragmentDefinition`&&r.push(e)}),n===void 0&&(W(r.length===1,11,r.length),n=r[0].name.value),{...e,definitions:[{kind:`OperationDefinition`,operation:`query`,selectionSet:{kind:`SelectionSet`,selections:[{kind:`FragmentSpread`,name:{kind:`Name`,value:n}}]}},...e.definitions]}}function bl(e){W(e.kind===`Document`,6),W(e.definitions.length<=1,7);let t=e.definitions[0];return W(t.kind===`FragmentDefinition`,8),t}function xl(e){return e.definitions.filter(e=>e.kind===`FragmentDefinition`)}function Sl(e){dl(e);let t;for(let n of e.definitions){if(n.kind===`OperationDefinition`)return n;n.kind===`FragmentDefinition`&&!t&&(t=n)}if(t)return t;throw G(12)}function Cl(e){return dl(e),e.definitions.filter(e=>e.kind===`OperationDefinition`)[0]}function wl(e){let t=Cl(e);return W(t&&t.operation===`query`,13),t}var Tl=new WeakSet;function El(e){e.size<=(e.max||-1)||Tl.has(e)||(Tl.add(e),setTimeout(()=>{e.clean(),Tl.delete(e)},100))}var Dl=function(e,t){let n=new gc(e,t);return n.set=function(e,t){let n=gc.prototype.set.call(this,e,t);return El(this),n},n},Ol=function(e,t){let n=new lc(e,t);return n.set=function(e,t){let n=lc.prototype.set.call(this,e,t);return El(this),n},n},kl=Object.assign(function(e){return JSON.stringify(e,jl)},{reset(){Al=new Ol(ll.canonicalStringify||1e3)}}),Al;kl.reset();function jl(e,t){if(t&&typeof t==`object`){let e=Object.getPrototypeOf(t);if(e===Object.prototype||e===null){let n=Object.keys(t);if(n.every(Ml))return t;let r=JSON.stringify(n),i=Al.get(r);if(!i){n.sort();let e=JSON.stringify(n);i=Al.get(e)||n,Al.set(r,i),Al.set(e,i)}let a=Object.create(e);return i.forEach(e=>{a[e]=t[e]}),a}}return t}function Ml(e,t,n){return t===0||n[t-1]<=e}var Nl=[`connection`,`include`,`skip`,`client`,`rest`,`export`,`nonreactive`],Pl=kl,Fl=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.c
38onnection.key){if(n.connection.filter&&n.connection.filter.length>0){let e=n.connection.filter?n.connection.filter:[];e.sort();let r={};e.forEach(e=>{r[e]=t[e]});let i=Pl(r);if(i!==`{}`)return`${n.connection.key}(${i})`}return n.connection.key}let r=e;if(t){let e=Pl(t);e!==`{}`&&(r+=`(${e})`)}return n&&Object.keys(n).forEach(e=>{Nl.indexOf(e)===-1&&(n[e]&&Object.keys(n[e]).length?r+=`@${e}(${Pl(n[e])})`:r+=`@${e}`)}),r},{setStringify(e){let t=Pl;return Pl=e,t}});function Il(e){return!!e.errors?.length}function Ll(e,t,n){let r=new Set(e),i=r.size;return Ja(t,{Directive(e){if(r.delete(e.name.value)&&(!n||!r.size))return qa}}),n?!r.size:r.size<i}function Rl(e){let t=!1;return Ja(e,{Directive:{enter(e){if(e.name.value===`client`&&e.arguments&&(t=e.arguments.some(e=>e.name.value===`always`&&e.value.kind===`BooleanValue`&&e.value.value===!0),t))return qa}}}),t}var Y=Array.isArray;function zl(e){return J(e)&&e.kind===`Document`&&Array.isArray(e.definitions)}function Bl(e){return e.kind===`Field`}function Vl(e){return Array.isArray(e)&&e.length>0}function Hl(e){return{__ref:String(e)}}function Ul(e){return e}function Wl(e){let t=e[0]||{},n=e.length;if(n>1){let r=new gl;for(let i=1;i<n;++i)t=r.merge(t,e[i])}return t}function Gl(e,t){return q(e,t,t.variables&&{variables:q({...e&&e.variables,...t.variables})})}function Kl(e){return e.catch(()=>{}),e}function ql(e,t){dl(t);let n=Jl(``),r=Jl(``),i=e=>{for(let t=0,i;t<e.length&&(i=e[t]);++t)if(!Y(i)){if(i.kind===L.OPERATION_DEFINITION)return n(i.name&&i.name.value);if(i.kind===L.FRAGMENT_DEFINITION)return r(i.name.value)}return W.error(14),null},a=0;for(let e=t.definitions.length-1;e>=0;--e)t.definitions[e].kind===L.OPERATION_DEFINITION&&++a;let o=Yl(e),s=e=>Vl(e)&&e.map(o).some(e=>e&&e.remove),c=new Map,l=!1,u={enter(e){if(s(e.directives))return l=!0,null}},d=Ja(t,{Field:u,InlineFragment:u,VariableDefinition:{enter(){return!1}},Variable:{enter(e,t,n,r,a){let o=i(a);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,n,r,a){if(s(e.directives))return l=!0,null;let o=i(a);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,n,r){c.set(JSON.stringify(r),e)},leave(e,t,n,i){if(e===c.get(JSON.stringify(i)))return e;if(a>0&&e.selectionSet.selections.every(e=>e.kind===L.FIELD&&e.name.value===`__typename`))return r(e.name.value).removed=!0,l=!0,null}},Directive:{leave(e){if(o(e))return l=!0,null}}});if(!l)return t;let f=e=>(e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>{f(r(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),p=new Set;d.definitions.forEach(e=>{e.kind===L.OPERATION_DEFINITION?f(n(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{p.add(e)}):e.kind===L.FRAGMENT_DEFINITION&&a===0&&!r(e.name.value).removed&&p.add(e.name.value)}),p.forEach(e=>{f(r(e)).fragmentSpreads.forEach(e=>{p.add(e)})});let m=e=>!!(!p.has(e)||r(e).removed),h={enter(e){if(m(e.name.value))return null}};return Zl(Ja(d,{FragmentSpread:h,FragmentDefinition:h,OperationDefinition:{leave(e){if(e.variableDefinitions){let t=f(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}))}function Jl(e){let t=new Map;return function(n=e){let r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function Yl(e){let t=new Map,n=new Map;return e.forEach(e=>{e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),e=>{let r=t.get(e.name.value);return!r&&n.size&&n.forEach((t,n)=>{n(e)&&(r=t)}),r}}function Xl(e,t){return!e||e.selectionSet.selections.every(e=>e.kind===L.FRAGMENT_SPREAD&&Xl(t[e.name.value],t))}function Zl(e){return Xl(Cl(e)||bl(e),pl(xl(e)))?null:e}function Ql(e){return Ja(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>e.value===`unmask`))return null}})}function $l(e){return e.alias?e.alias.value:e.name.value}function eu({directives:e},t){return!e||!e.length||nu(e).every(({directive:e,ifArgument:n})=>{let r=!1;return n.value.kind===`Variable`?(r=t&&t[n.value.name.value],W(r!==void 0,15,e.name.value)):r=n.value.value,e.name.value===`skip`?!r:r})}function tu({name:{value:e}}){return e===`skip`||e===`include`}function nu(e){let t=[];
38return e&&e.length&&e.forEach(e=>{if(!tu(e))return;let n=e.arguments,r=e.name.value;W(n&&n.length===1,16,r);let i=n[0];W(i.name&&i.name.value===`if`,17,r);let a=i.value;W(a&&(a.kind===`Variable`||a.kind===`BooleanValue`),18,r),t.push({directive:e,ifArgument:i})}),t}function ru(e,t){let n=null;e.directives&&(n={},e.directives.forEach(e=>{n[e.name.value]={},e.arguments&&e.arguments.forEach(({name:r,value:i})=>oc(n[e.name.value],r,i,t))}));let r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(({name:e,value:n})=>oc(r,e,n,t))),Fl(e.name.value,r,n)}function iu(e){let t={data:e.data};return e.error&&(t.error=e.error),t}function au(e,t=()=>void 0){return n=>new U(r=>{let i=t();return n.subscribe({next(t){let n;try{n=e(t,i)}catch(e){r.error(e)}n!==void 0&&r.next(n)},error(e){r.error(e)},complete(){r.complete()}})})}var{toString:ou,hasOwnProperty:su}=Object.prototype,cu=Function.prototype.toString,lu=new Map;function X(e,t){try{return uu(e,t)}finally{lu.clear()}}function uu(e,t){if(e===t)return!0;let n=ou.call(e);if(n!==ou.call(t))return!1;switch(n){case`[object Array]`:if(e.length!==t.length)return!1;case`[object Object]`:{if(hu(e,t))return!0;let n=du(e),r=du(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!su.call(t,n[e]))return!1;for(let r=0;r<i;++r){let i=n[r];if(!uu(e[i],t[i]))return!1}return!0}case`[object Error]`:return e.name===t.name&&e.message===t.message;case`[object Number]`:if(e!==e)return t!==t;case`[object Boolean]`:case`[object Date]`:return+e==+t;case`[object RegExp]`:case`[object String]`:return e==`${t}`;case`[object Map]`:case`[object Set]`:{if(e.size!==t.size)return!1;if(hu(e,t))return!0;let r=e.entries(),i=n===`[object Map]`;for(;;){let e=r.next();if(e.done)break;let[n,a]=e.value;if(!t.has(n)||i&&!uu(a,t.get(n)))return!1}return!0}case`[object Uint16Array]`:case`[object Uint8Array]`:case`[object Uint32Array]`:case`[object Int32Array]`:case`[object Int8Array]`:case`[object Int16Array]`:case`[object ArrayBuffer]`:e=new Uint8Array(e),t=new Uint8Array(t);case`[object DataView]`:{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}case`[object AsyncFunction]`:case`[object GeneratorFunction]`:case`[object AsyncGeneratorFunction]`:case`[object Function]`:{let n=cu.call(e);return n===cu.call(t)&&!mu(n,pu)}}return!1}function du(e){return Object.keys(e).filter(fu,e)}function fu(e){return this[e]!==void 0}var pu=`{ [native code] }`;function mu(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function hu(e,t){let n=lu.get(e);if(n){if(n.has(t))return!0}else lu.set(e,n=new Set);return n.add(t),!1}function gu(e,{data:t,...n},{data:r,...i},a){return X(n,i)&&_u(Sl(e).selectionSet,t,r,{fragmentMap:pl(xl(e)),variables:a})}function _u(e,t,n,r){if(t===n)return!0;let i=new Set;return e.selections.every(e=>{if(i.has(e)||(i.add(e),!eu(e,r.variables))||vu(e))return!0;if(Bl(e)){let i=$l(e),a=t&&t[i],o=n&&n[i],s=e.selectionSet;if(!s)return X(a,o);let c=Array.isArray(a),l=Array.isArray(o);if(c!==l)return!1;if(c&&l){let e=a.length;if(o.length!==e)return!1;for(let t=0;t<e;++t)if(!_u(s,a[t],o[t],r))return!1;return!0}return _u(s,a,o,r)}{let i=vl(e,r.fragmentMap);if(i)return vu(i)?!0:_u(i.selectionSet,t,n,r)}})}function vu(e){return!!e.directives&&e.directives.some(yu)}function yu(e){return e.name.value===`nonreactive`}var bu=class{isIncrementalResult(e){return!1}prepareRequest(e){return W(!Ll([`defer`],e.query),64),e}extractErrors(){}startRequest=void 0};function xu(e,{client:t}){let n={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:ul(e.query),operationType:Cl(e.query).operation},r={...e.context},i=e=>{r=typeof e==`function`?{...r,...e(a())}:{...r,...e}},a=()=>Object.freeze({...r});return Object.defineProperty(n,"setContext",{enumerable:!1,value:i}),Object.defineProperty(n,"getContext",{enumerable:!1,value:a}),Object.defineProperty(n,"client",{enumerable:!1,value:t}),n}function Su(e,t){let n={...e},r=new Set(Object.keys(e));return Ja(t,{Variable(e,t,n){n&&n.kind!==`VariableDefinition`&&r.delete(e.name.value)}}),r.forEach(e=>{delete n[e]}),n}var Cu=class e{static empty(){return new e(()=>Go)}static from(t){if(t.length===0)return e.empty();let[n,...r]=t;return n.concat(...r)}static split(t,n,r=new e((e,t)=>t(e))){let i=new e((e,i)=>t(e)?n.request(e,i):r.request(e,i));return Object.assign(i,{left:n,right:r})}static execute(e,t,n){return e.request(xu(t,n),()=>Go)}static concat(...t){return e.from(t)}constructor(e){e&&(this.request=e)}split(t,n,r){return this.concat(e.split(t,n,r))}concat(...e){return e.length===0?this:e.reduce(this.combine.bind(this),this)}combine(t,n){let r=new e((e,r)=>t.request(e,e=>n.request(e,r)));return Object.assign(r,{left:t,right:n})}request(e,t){throw G(63)}left;right},wu=Cu.from,Tu=Cu.execute;function Eu(e){return e}var Du=class e{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new e(Eu,{cache:!1})}static split(t,n,r=e.identity()){return Object.assign(new e(e=>(t(e)?n:r).transformDocument(e),{cache:!1}),{left:n,right:r})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=t.cache!==!1,this.resetCache()}resetCache(){if(this.cached){let t=new xc;this.performWork=cl(e.prototype.performWork.bind(this),{makeCacheKey:e=>{let n=this.getCacheKey(e);if(n)return W(Array.isArray(n),20),t.lookupArray(n)},max:ll[`documentTransform.cache`],cache:gc})}}performWork(e){return dl(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let t=this.performWork(e);return this.resultCache.add(t),t}concat(t){return Object.assign(new e(e=>t.transformDocument(this.transformDocument(e)),{cache:!1}),{left:this,right:t})}left;
38right},Ou,ku=Object.assign(e=>{let t=Ou.get(e);return t||(t=Xa(e),Ou.set(e,t)),t},{reset(){Ou=new Dl(ll.print||2e3)}});ku.reset();function Z(e){return!!(e&&typeof e==`object`&&typeof e.__ref==`string`)}var Au={kind:L.FIELD,name:{kind:L.NAME,value:`__typename`}},ju=Object.assign(function(e){return Ja(e,{SelectionSet:{enter(e,t,n){if(n&&n.kind===L.OPERATION_DEFINITION)return;let{selections:r}=e;if(!r||r.some(e=>e.kind===L.FIELD&&(e.name.value===`__typename`||e.name.value.lastIndexOf(`__`,0)===0)))return;let i=n;if(!(i.kind===L.FIELD&&i.directives&&i.directives.some(e=>e.name.value===`export`)))return{...e,selections:[...r,Au]}}}})},{added(e){return e===Au}});function Mu(e,t){return Cl(e)?.operation===t}function Nu(e){return Mu(e,`mutation`)}function Pu(e){return Mu(e,`subscription`)}function Fu(e){return e===7||e===8}function Iu(e){return!Fu(e)}var Lu=class{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){let t=typeof e.optimistic==`string`?e.optimistic:e.optimistic===!1?null:void 0,n;return this.performTransaction(()=>n=e.update(this),t),n}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||`ROOT_QUERY`,optimistic:t})}watchFragment(e){let{fragment:t,fragmentName:n,from:r,optimistic:i=!0,...a}=e,o=this.getFragmentDoc(t,n),s=r===void 0||typeof r==`string`?r:this.identify(r),c={...a,returnPartialData:!0,id:s,query:o,optimistic:i},l;return new U(t=>this.watch({...c,immediate:!0,callback:n=>{let r=n.result;if(r===null&&(r={}),l&&gu(o,{data:l.result},{data:r},e.variables))return;let i={data:r,dataState:n.complete?`complete`:`partial`,complete:!!n.complete};n.missing&&(i.missing=n.missing.missing),l={...n,result:r},t.next(i)}}))}getFragmentDoc=cl(yl,{max:ll[`cache.fragmentQueryDocuments`]||1e3,cache:gc});readFragment(e,t=!!e.optimistic){return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t})}writeQuery({id:e,data:t,...n}){return this.write(Object.assign(n,{dataId:e||`ROOT_QUERY`,result:t}))}writeFragment({id:e,data:t,fragment:n,fragmentName:r,...i}){return this.write(Object.assign(i,{query:this.getFragmentDoc(n,r),dataId:e,result:t}))}updateQuery(e,t){return this.batch({update(n){let r=n.readQuery(e),i=t(r);return i==null?r:(n.writeQuery({...e,data:i}),i)}})}updateFragment(e,t){return this.batch({update(n){let r=n.readFragment(e),i=t(r);return i==null?r:(n.writeFragment({...e,data:i}),i)}})}},Ru=class e extends Error{message;path;query;variables;constructor(t,n,r,i){if(super(t),this.message=t,this.path=n,this.query=r,this.variables=i,this.name=`MissingFieldError`,Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=e.prototype}missing},{hasOwnProperty:Q}=Object.prototype;function zu({__typename:e,id:t,_id:n},r){if(typeof e==`string`&&(r&&(r.keyObject=t==null?n==null?void 0:{_id:n}:{id:t}),t==null&&n!=null&&(t=n),t!=null))return`${e}:${typeof t==`number`||typeof t==`string`?t:JSON.stringify(t)}`}var Bu={dataIdFromObject:zu,resultCaching:!0};function Vu(e){return q(Bu,e)}var Hu=/^[_a-z][_0-9a-z]*/i;function Uu(e){let t=e.match(Hu);return t?t[0]:e}function Wu(e,t,n){return J(t)?Y(t)?t.every(t=>Wu(e,t,n)):e.selections.every(e=>{if(Bl(e)&&eu(e,n)){let r=$l(e);return Q.call(t,r)&&(!e.selectionSet||Wu(e.selectionSet,t[r],n))}return!0}):!1}function Gu(e){return J(e)&&!Z(e)&&!Y(e)}function Ku(){return new gl}function qu(e,t){let n=pl(xl(e));return{fragmentMap:n,lookupFragment(e){let r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var Ju={},Yu=()=>Ju,Xu={},Zu=class{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return this.lookup(e,!0)!==void 0}get(e,t){if(this.group.depend(e,t),Q.call(this.data,e)){let n=this.data[e];if(n&&Q.call(n,t))return n[t]}if(t===`__typename`&&Q.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof td)return this.parent.get(e,t)}lookup(e,t){if(t&&this.group.depend(e,`__exists`),Q.call(this.data,e))return this.data[e];if(this instanceof td)return this.parent.lookup(e,t);if(this.policies.rootTypenamesById[e])return{}}merge(e,t){let n;Z(e)&&(e=e.__ref),Z(t)&&(t=t.__ref);let r=typeof e==`string`?this.lookup(n=e):e,i=typeof t==`string`?this.lookup(n=t):t;if(!i)return;W(typeof n==`string`,95);let a=new gl(rd).merge(r,i);if(this.data[n]=a,a!==r&&(delete this.refs[n],this.group.caching)){let e={};
38r||(e.__exists=1),Object.keys(i).forEach(t=>{if(!r||r[t]!==a[t]){e[t]=1;let n=Uu(t);n!==t&&!this.policies.hasKeyArgs(a.__typename,n)&&(e[n]=1),a[t]===void 0&&!(this instanceof td)&&delete a[t]}}),e.__typename&&!(r&&r.__typename)&&this.policies.rootTypenamesById[n]===a.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(n,e))}}modify(e,t,n){let r=this.lookup(e);if(r){let i={},a=!1,o=!0,s={DELETE:Ju,INVALIDATE:Xu,isReference:Z,toReference:this.toReference,canRead:this.canRead,readField:(t,n)=>this.policies.readField(typeof t==`string`?{fieldName:t,from:n||Hl(e)}:t,{store:this})};if(Object.keys(r).forEach(c=>{let l=Uu(c),u=r[c];if(u===void 0)return;let d=typeof t==`function`?t:t[c]||(n?void 0:t[l]);if(d){let t=d===Yu?Ju:d(Ul(u),{...s,fieldName:l,storeFieldName:c,storage:this.getStorage(e,c)});t===Xu?this.group.dirty(e,c):(t===Ju&&(t=void 0),t!==u&&(i[c]=t,a=!0,u=t))}u!==void 0&&(o=!1)}),a)return this.merge(e,i),o&&(this instanceof td?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,`__exists`)),!0}return!1}delete(e,t,n){let r=this.lookup(e);if(r){let i=this.getFieldValue(r,`__typename`),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?{[a]:Yu}:Yu,!!n)}return!1}evict(e,t){let n=!1;return e.id&&(Q.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof td&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||`__exists`)),n}clear(){this.replace(null)}extract(){let e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{Q.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&Q.call(e,t)||this.delete(t)}),e){let{__META:t,...n}=e;Object.keys(n).forEach(e=>{this.merge(e,n[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof td?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),t=this.toObject();e.forEach(n=>{Q.call(t,n)&&(Object.keys(this.findChildRefIds(n)).forEach(e.add,e),delete t[n])});let n=Object.keys(t);if(n.length){let e=this;for(;e instanceof td;)e=e.parent;n.forEach(t=>e.delete(t))}return n}refs={};findChildRefIds(e){if(!Q.call(this.refs,e)){let t=this.refs[e]={},n=this.data[e];if(!n)return t;let r=new Set([n]);r.forEach(e=>{Z(e)&&(t[e.__ref]=!0),J(e)&&Object.keys(e).forEach(t=>{let n=e[t];J(n)&&r.add(n)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>Ul(Z(e)?this.get(e.__ref,t):e&&e[t]);canRead=e=>Z(e)?this.has(e.__ref):typeof e==`object`;toReference=(e,t)=>{if(typeof e==`string`)return Hl(e);if(Z(e))return e;let[n]=this.policies.identify(e);if(n){let r=Hl(n);return t&&this.merge(n,e),r}};get supportsResultCaching(){return this.group.caching}},Qu=class{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?il():null,this.keyMaker=new xc}depend(e,t){if(this.d){this.d($u(e,t));let n=Uu(t);n!==t&&this.d($u(e,n)),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty($u(e,t),t===`__exists`?`forget`:`setDirty`)}};function $u(e,t){return t+`#`+e}function ed(e,t){id(e)&&e.group.depend(t,`__exists`)}Zu.Root=class extends Zu{constructor({policies:e,resultCaching:t=!0,seed:n}){super(e,new Qu(t)),n&&this.replace(n)}stump=new nd(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new xc;getStorage(){return this.storageTrie.lookupArray(arguments)}};var td=class e extends Zu{id;parent;replay;group;constructor(e,t,n,r){super(t.policies,r),this.id=e,this.parent=t,this.replay=n,this.group=r,n(this)}addLayer(t,n){return new e(t,this,n,this.group)}removeLayer(e){let t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEac
38h(e=>{let n=this.data[e],r=t.lookup(e);r?n?n!==r&&Object.keys(n).forEach(t=>{X(n[t],r[t])||this.group.dirty(e,t)}):(this.group.dirty(e,`__exists`),Object.keys(r).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let t=this.parent.findChildRefIds(e);return Q.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}},nd=class extends td{constructor(e){super(`EntityStore.Stump`,e,()=>{},new Qu(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}};function rd(e,t,n){let r=e[n],i=t[n];return X(r,i)?r:i}function id(e){return!!(e&&e.supportsResultCaching)}var ad=new kc;function od(e){let t=e.directives?.find(({name:e})=>e.value===`unmask`);if(!t)return`mask`;let n=t.arguments?.find(({name:e})=>e.value===`mode`);return n&&`value`in n.value&&n.value.value===`migrate`?`migrate`:`unmask`}function sd(e,t,n){return ad.withValue(!0,()=>{let r=ld(e,t,n,!1);return Object.isFrozen(e),r})}function cd(e,t){if(t.has(e))return t.get(e);let n=Array.isArray(e)?[]:{};return t.set(e,n),n}function ld(e,t,n,r,i){let{knownChanged:a}=n,o=cd(e,n.mutableTargets);if(Array.isArray(e)){for(let[i,s]of Array.from(e.entries())){if(s===null){o[i]=null;continue}let e=ld(s,t,n,r,void 0);a.has(e)&&a.add(o),o[i]=e}return a.has(o)?o:e}for(let s of t.selections){let t;if(r&&a.add(o),s.kind===L.FIELD){let i=$l(s),c=s.selectionSet;if(t=o[i]||e[i],t===void 0)continue;if(c&&t!==null){let o=ld(e[i],c,n,r,void 0);a.has(o)&&(t=o)}o[i]=t}if(s.kind===L.INLINE_FRAGMENT&&(!s.typeCondition||n.cache.fragmentMatches(s,e.__typename))&&(t=ld(e,s.selectionSet,n,r,i)),s.kind===L.FRAGMENT_SPREAD){let r=s.name.value,a=n.fragmentMap[r]||(n.fragmentMap[r]=n.cache.lookupFragment(r));W(a,39,r);let o=od(s);o!==`mask`&&(t=ld(e,a.selectionSet,n,o===`migrate`,i))}a.has(t)&&a.add(o)}return`__typename`in e&&!(`__typename`in o)&&(o.__typename=e.__typename),Object.keys(o).length!==Object.keys(e).length&&a.add(o),a.has(o)?o:e}function ud(e,t,n,r){let i=t.definitions.filter(e=>e.kind===L.FRAGMENT_DEFINITION);r===void 0&&(W(i.length===1,41,i.length),r=i[0].name.value);let a=i.find(e=>e.name.value===r);return W(!!a,42,r),e==null||X(e,{})?e:sd(e,a.selectionSet,{operationType:`fragment`,operationName:a.name.value,fragmentMap:pl(xl(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}function dd(e,t,n){let r=Cl(t);return W(r,43),e==null?e:sd(e,r.selectionSet,{operationType:r.operation,operationName:r.name?.value,fragmentMap:pl(xl(t)),cache:n,mutableTargets:new WeakMap,knownChanged:new WeakSet})}var fd={};function pd(e){let t=JSON.stringify(e);return fd[t]||(fd[t]={})}function md(e){let t=pd(e);return t.keyFieldsFn||=(t,n)=>{let r=(e,t)=>n.readField(t,e),i=n.keyObject=gd(e,e=>{let i=yd(n.storeObject,e,r);return i===void 0&&t!==n.storeObject&&Q.call(t,e[0])&&(i=yd(t,e,vd)),W(i!==void 0,98,e.join(`.`),t),i});return`${n.typename}:${JSON.stringify(i)}`}}function hd(e){let t=pd(e);return t.keyArgsFn||=(t,{field:n,variables:r,fieldName:i})=>{let a=gd(e,e=>{let i=e[0],a=i.charAt(0);if(a===`@`){if(n&&Vl(n.directives)){let t=i.slice(1),a=n.directives.find(e=>e.name.value===t),o=a&&sc(a,r);return o&&yd(o,e.slice(1))}return}if(a===`$`){let t=i.slice(1);if(r&&Q.call(r,t)){let n=e.slice(0);return n[0]=t,yd(r,n)}return}if(t)return yd(t,e)}),o=JSON.stringify(a);return(t||o!==`{}`)&&(i+=`:`+o),i}}function gd(e,t){let n=new gl;return _d(e).reduce((e,r)=>{let i=t(r);if(i!==void 0){for(let e=r.length-1;e>=0;--e)i={[r[e]]:i};e=n.merge(e,i)}return e},{})}function _d(e){let t=pd(e);if(!t.paths){let n=t.paths=[],r=[];e.forEach((t,i)=>{Y(t)?(_d(t).forEach(e=>n.push(r.concat(e))),r.length=0):(r.push(t),Y(e[i+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function vd(e,t){return e[t]}function yd(e,t,n){return n||=vd,bd(t.reduce(function e(t,r){return Y(t)?t.map(t=>e(t,r)):t&&n(t,r)},e))}function bd(e){return J(e)?Y(e)?e.map(bd):gd(Object.keys(e).sort(),t=>yd(e,t)):e}var xd=new kc,Sd=new WeakMap;function Cd(e){let t=Sd.get(e);return t||Sd.set(e,t={vars:new Set,dep:il()}),t}
38function wd(e){Cd(e).vars.forEach(t=>t.forgetCache(e))}function Td(e){Cd(e).vars.forEach(t=>t.attachCache(e))}function Ed(e){let t=new Set,n=new Set,r=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(e=>{Cd(e).dep.dirty(r),Dd(e)});let i=Array.from(n);n.clear(),i.forEach(t=>t(e))}}else{let e=xd.getValue();e&&(i(e),Cd(e).dep(r))}return e};r.onNextChange=e=>(n.add(e),()=>{n.delete(e)});let i=r.attachCache=e=>(t.add(e),Cd(e).vars.add(r),r);return r.forgetCache=e=>t.delete(e),r}function Dd(e){e.broadcastWatches&&e.broadcastWatches()}function Od(e){return e.args===void 0?e.field?sc(e.field,e.variables):null:e.args}var kd=()=>void 0,Ad=(e,t)=>t.fieldName,jd=(e,t,{mergeObjects:n})=>n(e,t),Md=(e,t)=>t,Nd=class{config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:zu,...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)}identify(e,t){let n=this,r=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return[`ROOT_QUERY`];let i=t&&t.storeObject||e,a={...t,typename:r,storeObject:i,readField:t&&t.readField||((...e)=>{let t=Fd(e,i);return n.readField(t,{store:n.cache.data,variables:t.variables})})},o,s=r&&this.getTypePolicy(r),c=s&&s.keyFn||this.config.dataIdFromObject;return ad.withValue(!0,()=>{for(;c;){let t=c({...e,...i},a);if(Y(t))c=md(t);else{o=t;break}}}),o=o?String(o):void 0,a.keyObject?[o,a.keyObject]:[o]}addTypePolicies(e){Object.keys(e).forEach(t=>{let{queryType:n,mutationType:r,subscriptionType:i,...a}=e[t];n&&this.setRootTypename(`Query`,t),r&&this.setRootTypename(`Mutation`,t),i&&this.setRootTypename(`Subscription`,t),Q.call(this.toBeAdded,t)?this.toBeAdded[t].push(a):this.toBeAdded[t]=[a]})}updateTypePolicy(e,t,n){let r=this.getTypePolicy(e),{keyFields:i,fields:a}=t;function o(e,t){e.merge=typeof t==`function`?t:t===!0?jd:t===!1?Md:e.merge}o(r,t.merge),r.keyFn=i===!1?kd:Y(i)?md(i):typeof i==`function`?i:r.keyFn,a&&Object.keys(a).forEach(t=>{let r=n[t];(!r||r?.typename!==e)&&(r=n[t]={typename:e});let i=a[t];if(typeof i==`function`)r.read=i;else{let{keyArgs:e,read:t,merge:n}=i;r.keyFn=e===!1?Ad:Y(e)?hd(e):typeof e==`function`?e:r.keyFn,typeof t==`function`&&(r.read=t),o(r,n)}r.read&&r.merge&&(r.keyFn=r.keyFn||Ad)})}setRootTypename(e,t=e){let n=`ROOT_`+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(W(!r||r===e,99,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);let n=e.match(Hu);(!n||n[0]!==e)&&this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!Q.call(this.typePolicies,e)){let t=this.typePolicies[e]={};t.fields={};let n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,r)=>{if(t.test(e)){let e=this.supertypeMap.get(r);e&&e.forEach(e=>n.add(e))}})),n&&n.size&&n.forEach(e=>{let{fields:n,...r}=this.getTypePolicy(e);Object.assign(t,r),Object.assign(t.fields,n)})}let t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n}fragmentMatches(e,t,n,r){if(!e.typeCondition)return!0;if(!t)return!1;let i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i)){let a=this.getSupertypeSet(t,!0),o=[a],s=e=>{let t=this.getSupertypeSet(e,!1);t&&t.size&&o.indexOf(t)<0&&o.push(t)},c=!!(n&&this.fuzzySubtypes.size);for(let l=0;l<o.length;++l){let u=o[l];if(u.has(i))return a.has(i)||a.add(i),!0;u.forEach(s),c&&l===o.length-1&&Wu(e.selectionSet,n,r)&&(c=!1,this.fuzzySubtypes.forEac
38h((e,n)=>{let r=t.match(e);r&&r[0]===t&&s(n)}))}}return!1}hasKeyArgs(e,t){let n=this.getFieldPolicy(e,t);return!!(n&&n.keyFn)}getStoreFieldName(e){let{typename:t,fieldName:n}=e,r=this.getFieldPolicy(t,n),i,a=r&&r.keyFn;if(a&&t){let r={typename:t,fieldName:n,field:e.field||null,variables:e.variables},o=Od(e);for(;a;){let e=a(o,r);if(Y(e))a=hd(e);else{i=e||n;break}}}return i===void 0&&(i=e.field?ru(e.field,e.variables):Fl(n,Od(e))),i===!1?n:n===Uu(i)?i:n+`:`+i}readField(e,t){let n=e.from;if(!n||!(e.field||e.fieldName))return;if(e.typename===void 0){let r=t.store.getFieldValue(n,`__typename`);r&&(e.typename=r)}let r=this.getStoreFieldName(e),i=Uu(r),a=t.store.getFieldValue(n,r),o=this.getFieldPolicy(e.typename,i),s=o&&o.read;if(s){let i=Pd(this,n,e,t,t.store.getStorage(Z(n)?n.__ref:n,r));return xd.withValue(this.cache,s,[a,i])}return a}getReadFunction(e,t){let n=this.getFieldPolicy(e,t);return n&&n.read}getMergeFunction(e,t,n){let r=this.getFieldPolicy(e,t),i=r&&r.merge;return!i&&n&&(r=this.getTypePolicy(n),i=r&&r.merge),i}runMergeFunction(e,t,{field:n,typename:r,merge:i},a,o){return i===jd?Id(a.store)(e,t):i===Md?t:(a.overwrite&&(e=void 0),i(e,t,Pd(this,void 0,{typename:r,fieldName:n.name.value,field:n,variables:a.variables},a,o||{})))}};function Pd(e,t,n,r,i){let a=e.getStoreFieldName(n),o=Uu(a),s=n.variables||r.variables,{toReference:c,canRead:l}=r.store;return{args:Od(n),field:n.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:Z,toReference:c,storage:i,cache:e.cache,canRead:l,readField(...n){return e.readField(Fd(n,t,s),r)},mergeObjects:Id(r.store)}}function Fd(e,t,n){let{0:r,1:i,length:a}=e,o;return typeof r==`string`?o={fieldName:r,from:a>1?i:t}:(o={...r},Q.call(o,`from`)||(o.from=t)),o.variables===void 0&&(o.variables=n),o}function Id(e){return function(t,n){if(Y(t)||Y(n))throw G(102);if(J(t)&&J(n)){let r=e.getFieldValue(t,`__typename`),i=e.getFieldValue(n,`__typename`);if(r&&i&&r!==i)return n;if(Z(t)&&Gu(n))return e.merge(t.__ref,n),t;if(Gu(t)&&Z(n))return e.merge(t,n.__ref),n;if(Gu(t)&&Gu(n))return{...t,...n}}return n}}function Ld(e){return[e.selectionSet,e.objectOrReference,e.context]}var Rd=class{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=cl(e=>{let t=Ld(e);return this.executeSelectionSet.peek(...t)||(ed(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:ll[`inMemoryCache.executeSelectionSet`]||5e4,keyArgs:Ld,makeCacheKey(e,t,n){if(id(n.store))return n.store.makeCacheKey(e,Z(t)?t.__ref:t,n.varString)}}),this.executeSubSelectedArray=cl(e=>(ed(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:ll[`inMemoryCache.executeSubSelectedArray`]||1e4,makeCacheKey({field:e,array:t,context:n}){if(id(n.store))return n.store.makeCacheKey(e,t,n.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:n=`ROOT_QUERY`,variables:r,returnPartialData:i=!0}){let a=this.config.cache.policies;r={..._l(wl(t)),...r};let o=Hl(n),s=this.executeSelectionSet({selectionSet:Sl(t).selectionSet,objectOrReference:o,enclosingRef:o,context:{store:e,query:t,policies:a,variables:r,varString:kl(r),...qu(t,this.config.fragments)}}),c;s.missing&&(c=new Ru(zd(s.missing),s.missing,t,r));let l=!c,{result:u}=s;return{result:l||i?Object.keys(u).length===0?null:u:null,complete:l,missing:c}}isFresh(e,t,n,r){if(id(r.store)&&this.knownResults.get(e)===n){let i=this.executeSelectionSet.peek(n,t,r);if(i&&e===i.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:n,context:r}){if(Z(t)&&!r.policies.rootTypenamesById[t.__ref]&&!r.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};let{variables:i,policies:a,store:o}=r,s=o.getFieldValue(t,`__typename`),c=[],l,u=new gl;typeof s==`string`&&!a.rootIdsByTypename[s]&&c.push({__typename:s});function d(e,t){return e.missing&&(l=u.merge(l,{[t]:e.missing})),e.result}let f=new Set(e.selections);f.forEach(e=>{if(eu(e,i))if(Bl(e)){let i=a.readField({fieldName:e.name.value,field:e,variables:r.variables,from:t},r),o=$l(e);i===void 0?ju.added(e)||(l=u.merge(l,{[o]:`Can't find field '${e.name.value}' on ${Z(t)?t.__ref+` object`:`object `+JSON.stringify(t,null,2)}`})):Y(i)?i.length>0&&(i=d(this.executeSubSelectedArray({field:e,array:i,enclosingRef:n,context:r}),o)):e.selectionSet&&i!=null&&(i=d(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:i,enclosingRef:Z(i)?i:n,context:r}),o)),i!==void 0&&c.push({[o]:i})}else{let t=vl(e,r.lookupFragment);if(!t&&e.kind===L.FRAGMENT_SPREAD)throw G(103,e.name.value);t&&a.fragmentMatches(t,s)&&t.selectionSet.selections.forEach(f.add,f)}});let p=Ul({result:Wl(c),missing:l});return p.result&&this.knownResults.set(p.result,e),p}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:n,context:r}){let i,a=new gl;function o(e,t){return e.missing&&(i=a.merge(i,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(r.store.canRead)),t=t.map((t,i)=>t===null?null:Y(t)?o(this.executeSubSelectedArray({field:e,array:t,enclosingRef:n,context:r}),i):e.selectionSet?o(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:Z(t)?t:n,context:r}),i):t),{result:t,missing:i}}};function zd(e){try{JSON.stringify(e,(e,t)=>{if(typeof t==`string`)throw t;return t})}catch(e){return e}}
38function Bd(e,t,n){let r=`${t}${n}`,i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:{...e,clientOnly:t,deferred:n}),i}var Vd=class{cache;reader;fragments;constructor(e,t,n){this.cache=e,this.reader=t,this.fragments=n}writeToStore(e,{query:t,result:n,dataId:r,variables:i,overwrite:a}){let o=Cl(t),s=Ku();i={..._l(o),...i};let c={store:e,written:{},merge(e,t){return s.merge(e,t)},variables:i,varString:kl(i),...qu(t,this.fragments),overwrite:!!a,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},l=this.processSelectionSet({result:n||{},dataId:r,selectionSet:o.selectionSet,mergeTree:{map:new Map},context:c});if(!Z(l))throw G(105,n);return c.incomingById.forEach(({storeObject:t,mergeTree:n,fieldNodeSet:r},i)=>{let a=Hl(i);if(n&&n.map.size){let e=this.applyMerges(n,a,t,c);if(Z(e))return;t=e}e.merge(i,t)}),e.retain(l.__ref),l}processSelectionSet({dataId:e,result:t,selectionSet:n,context:r,mergeTree:i}){let{policies:a}=this.cache,o={},s=e&&a.rootTypenamesById[e]||qd(t,n,r.fragmentMap)||e&&r.store.get(e,`__typename`);typeof s==`string`&&(o.__typename=s);let c=(...e)=>{let t=Fd(e,o,r.variables);if(Z(t.from)){let e=r.incomingById.get(t.from.__ref);if(e){let n=a.readField({...t,from:e.storeObject},r);if(n!==void 0)return n}}return a.readField(t,r)},l=new Set;this.flattenFields(n,t,r,s).forEach((e,n)=>{let r=t[$l(n)];if(l.add(n),r!==void 0){let t=a.getStoreFieldName({typename:s,fieldName:n.name.value,field:n,variables:e.variables}),l=Ud(i,t),u=this.processFieldValue(r,n,n.selectionSet?Bd(e,!1,!1):e,l),d;n.selectionSet&&(Z(u)||Gu(u))&&(d=c(`__typename`,u));let f=a.getMergeFunction(s,n.name.value,d);f?l.info={field:n,typename:s,merge:f}:Kd(i,t),o=e.merge(o,{[t]:u})}});try{let[i,l]=a.identify(t,{typename:s,selectionSet:n,fragmentMap:r.fragmentMap,storeObject:o,readField:c});e||=i,l&&(o=r.merge(o,l))}catch(t){if(!e)throw t}if(typeof e==`string`){let a=Hl(e),s=r.written[e]||(r.written[e]=[]);if(s.indexOf(n)>=0||(s.push(n),this.reader&&this.reader.isFresh(t,a,n,r)))return a;let c=r.incomingById.get(e);return c?(c.storeObject=r.merge(c.storeObject,o),c.mergeTree=Wd(c.mergeTree,i),l.forEach(e=>c.fieldNodeSet.add(e))):r.incomingById.set(e,{storeObject:o,mergeTree:Gd(i)?void 0:i,fieldNodeSet:l}),a}return o}processFieldValue(e,t,n,r){return!t.selectionSet||e===null?e:Y(e)?e.map((e,i)=>{let a=this.processFieldValue(e,t,n,Ud(r,i));return Kd(r,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r})}flattenFields(e,t,n,r=qd(t,e,n.fragmentMap)){let i=new Map,{policies:a}=this.cache,o=new xc(!1);return(function e(s,c){let l=o.lookup(s,c.clientOnly,c.deferred);l.visited||(l.visited=!0,s.selections.forEach(o=>{if(!eu(o,n.variables))return;let{clientOnly:s,deferred:l}=c;if(!(s&&l)&&Vl(o.directives)&&o.directives.forEach(e=>{let t=e.name.value;if(t===`client`&&(s=!0),t===`defer`){let t=sc(e,n.variables);(!t||t.if!==!1)&&(l=!0)}}),Bl(o)){let e=i.get(o);e&&(s&&=e.clientOnly,l&&=e.deferred),i.set(o,Bd(n,s,l))}else{let i=vl(o,n.lookupFragment);if(!i&&o.kind===L.FRAGMENT_SPREAD)throw G(107,o.name.value);i&&a.fragmentMatches(i,r,t,n.variables)&&e(i.selectionSet,Bd(n,s,l))}}))})(e,n),i}applyMerges(e,t,n,r,i){if(e.map.size&&!Z(n)){let a=!Y(n)&&(Z(t)||Gu(t))?t:void 0,o=n;a&&!i&&(i=[Z(a)?a.__ref:a]);let s,c=(e,t)=>Y(e)?typeof t==`number`?e[t]:void 0:r.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{let n=c(a,t),l=c(o,t);if(l===void 0)return;i&&i.push(t);let u=this.applyMerges(e,n,l,r,i);u!==l&&(s||=new Map,s.set(t,u)),i&&W(i.pop()===t)}),s&&(n=Y(o)?o.slice(0):{...o},s.forEach((e,t)=>{n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&r.store.getStorage(...i)):n}},Hd=[];function Ud({map:e},t){return e.has(t)||e.set(t,Hd.pop()||{map:new Map}),e.get(t)}function Wd(e,t){if(e===t||!t||Gd(t))return e;if(!e||Gd(e))return t;let n=e.info&&t.info?{...e.info,...t.info}:e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){let n=new Set(t.map.keys());e.map.forEach((e,r)=>{i.map.set(r,Wd(e,t.map.get(r))),n.delete(r)}
38),n.forEach(n=>{i.map.set(n,Wd(t.map.get(n),e.map.get(n)))})}return i}function Gd(e){return!e||!(e.info||e.map.size)}function Kd({map:e},t){let n=e.get(t);n&&Gd(n)&&(Hd.push(n),e.delete(t))}function qd(e,t,n){let r;for(let n of t.selections)if(Bl(n)){if(n.name.value===`__typename`)return e[$l(n)]}else r?r.push(n):r=[n];if(typeof e.__typename==`string`)return e.__typename;if(r)for(let t of r){let r=qd(e,vl(t,n).selectionSet,n);if(typeof r==`string`)return r}}var Jd=class extends Lu{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new Du(ju);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=Ed;constructor(e={}){super(),this.config=Vu(e),this.policies=new Nd({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new Zu.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new Vd(this,this.storeReader=new Rd({cache:this,fragments:e}),e),this.maybeBroadcastWatch=cl((e,t)=>this.broadcastWatch(e,t),{max:ll[`inMemoryCache.maybeBroadcastWatch`]||5e3,makeCacheKey:e=>{let t=e.optimistic?this.optimisticData:this.data;if(id(t)){let{optimistic:n,id:r,variables:i}=e;return t.makeCacheKey(e.query,e.callback,kl({optimistic:n,id:r,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(e=!1){return(e?this.optimisticData:this.data).extract()}read(e){let{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}modify(e){if(Q.call(e,`id`)&&!e.id)return!1;let t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||`ROOT_QUERY`,e.fields,!1)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||`ROOT_QUERY`,config:this.config})}watch(e){return this.watches.size||Td(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&wd(this),this.maybeBroadcastWatch.forget(e)}}gc(e){kl.reset(),ku.reset();let t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(Z(e))return e.__ref;try{return this.policies.identify(e)[0]}catch{}}evict(e){if(!e.id){if(Q.call(e,`id`))return!1;e={...e,id:`ROOT_QUERY`}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{!--this.txCount&&e.broadcast!==!1&&this.broadcastWatches()}}reset(e){return this.init(),kl.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),wd(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){let{update:t,optimistic:n=!0,removeOptimistic:r,onWatchUpdated:i}=e,a,o=e=>{let{data:n,optimisticData:r}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return a=t(this)}finally{--this.txCount,this.data=n,this.optimisticData=r}},s=new Set;return i&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated(e){return s.add(e),!1}}),typeof n==`string`?this.optimisticData=this.optimisticData.addLayer(n,o):n===!1?o(this.data):o(),typeof r==`string`&&(this.optimisticData=this.optimisticData.removeLayer(r)),i&&s.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){let n=i.call(this,e,t);return n!==!1&&s.delete(e),n}}
38),s.size&&s.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),a}performTransaction(e,t){return this.batch({update:e,optimistic:t||t!==null})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}broadcastWatches(e){this.txCount||this.watches.forEach(t=>this.maybeBroadcastWatch(t,e))}addFragmentsToDocument(e){let{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){let{lastDiff:n}=e,r=this.diff(e);t&&(e.optimistic&&typeof t.optimistic==`string`&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&t.onWatchUpdated.call(this,e,r,n)===!1)||(!n||!X(n.result,r.result))&&e.callback(e.lastDiff=r,n)}};function Yd(e,t){return typeof e==`object`&&!!e&&e[Symbol.for(`apollo.error`)]===t}function Xd(e){Object.defineProperty(e,Symbol.for(`apollo.error`),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}function Zd(e){return e.map(e=>e.message||`Error message not found.`).join(` 39`)}var Qd=class e extends Error{static is(e){return Yd(e,`CombinedProtocolErrors`)}static formatMessage=Zd;errors;constructor(t){super(e.formatMessage(t,{defaultFormatMessage:Zd})),this.name=`CombinedProtocolErrors`,this.errors=t,Xd(this),Object.setPrototypeOf(this,e.prototype)}};function $d(e){return typeof e==`object`&&!!e&&typeof e.message==`string`&&typeof e.name==`string`&&(typeof e.stack==`string`||e.stack===void 0)}var ef=class e extends Error{static is(e){return Yd(e,`UnconventionalError`)}constructor(t){super(`An error of unexpected shape occurred.`,{cause:t}),this.name=`UnconventionalError`,Xd(this),Object.setPrototypeOf(this,e.prototype)}};function tf(e){return e.filter(e=>e).map(e=>e.message||`Error message not found.`).join(` 40`)}var nf=class e extends Error{static is(e){return Yd(e,`CombinedGraphQLErrors`)}static formatMessage=tf;errors;data;extensions;constructor(t,n=t.errors||[]){super(e.formatMessage(n,{result:t,defaultFormatMessage:tf})),this.errors=n,this.data=t.data,this.extensions=t.extensions,this.name=`CombinedGraphQLErrors`,Xd(this),Object.setPrototypeOf(this,e.prototype)}},rf=new WeakSet;function af(e){rf.add(e)}var of=class e extends Error{static is(e){return Yd(e,`ServerError`)}response;statusCode;bodyText;constructor(t,n){super(t),this.name=`ServerError`,this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,Xd(this),Object.setPrototypeOf(this,e.prototype)}},sf=class e extends Error{static is(e){return Yd(e,`ServerParseError`)}response;statusCode;bodyText;constructor(t,n){super(t instanceof Error?t.message:`Could not parse server response`,{cause:t}),this.name=`ServerParseError`,this.response=n.response,this.statusCode=n.response.status,this.bodyText=n.bodyText,Xd(this),Object.setPrototypeOf(this,e.prototype)}},cf=Symbol();function lf(e){return`extensions`in e&&Qd.is(e.extensions[cf])}function uf(e){return $d(e)?e:typeof e==`string`?Error(e,{cause:e}):new ef(e)}var $;(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`,e[e.streaming=9]=`streaming`})($||={});var{assign:df,hasOwnProperty:ff}=Object,pf={loading:!0,networkStatus:$.loading,data:void 0,dataState:`empty`,partial:!0},mf={loading:!1,networkStatus:$.ready,data:void 0,dataState:`empty`,partial:!0},hf=class{options;queryName;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}constructor({queryManager:e,options:t,transformedQuery:n=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult=t.fetchPolicy===`network-only`,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);let{watchQuery:{fetchPolicy:r=`cache-first`}={}}=e.defaultOptions,{fetchPolicy:i=r,initialFetchPolicy:a=i===`standby`?r:i}=t;this.lastQuery=n,this.options={...t,initialFetchPolicy:a,fetchPolicy:i,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this[`@@observable`]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);let o=Cl(this.query);this.queryName=o&&o.name&&o.name.value}
40initializeObservablesQueue(){this.subject=new Ho({query:this.query,variables:this.variables,result:pf,meta:{}});let e=this.subject.pipe(Ws({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),au(({query:e,variables:t,result:n,meta:r},i)=>{let{shouldEmit:a}=r;if(n===pf&&(i.previous=void 0,i.previousVariables=void 0),this.options.fetchPolicy===`standby`||a===2)return;if(a===1)return c();let{previous:o,previousVariables:s}=i;if(o){let r=this.queryManager.getDocumentInfo(e),i=this.queryManager.dataMasking,a=i?r.nonReactiveQuery:e;if((i||r.hasNonreactiveDirective?gu(a,o,n,t):X(o,n))&&X(s,t))return}if(a===3&&(!this.options.notifyOnNetworkStatusChange||X(o,n)))return;return c();function c(){return i.previous=n,i.previousVariables=t,n}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new Bo,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.queryManager.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=this.queryManager.prioritizeCacheValues?`cache-first`:e||this.options.fetchPolicy,n=()=>{let e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?`complete`:t===void 0?`empty`:`partial`,loading:!e.complete,networkStatus:e.complete?$.ready:$.loading,partial:!e.complete})};switch(t){case`cache-only`:return{...n(),loading:!1,networkStatus:$.ready};case`cache-first`:return n();case`cache-and-network`:return{...n(),loading:!0,networkStatus:$.loading};case`standby`:return mf;default:return pf}}resubscribeCache(){let{variables:e,fetchPolicy:t}=this.options,n=this.query,r=t===`standby`||t===`no-cache`||this.waitForNetworkResult,i=!gf({query:n,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((r||i)&&this.unsubscribeFromCache?.(),r||!i)return;let a={query:n,variables:e,optimistic:!0,watcher:this,callback:e=>{let t=this.queryManager.getDocumentInfo(n);if((t.hasClientExports||t.hasForcedResolvers)&&(a.lastDiff=void 0),a.lastOwnDiff===e)return;let{result:r}=this.subject.getValue();!e.complete&&(r.error||r===pf||r===mf)||X(r.data,e.result)||this.scheduleNotify()}},o=this.queryManager.cache.watch(a);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,o()},{query:n,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),t=e.networkStatus===$.error||this.hasObservers()||this.options.fetchPolicy===`no-cache`?e:this.getInitialResult();return t===pf&&(t=this.getInitialResult()),X(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){let{fetchPolicy:t}=this.options,n={pollInterval:0};return n.fetchPolicy=t===`no-cache`?`no-cache`:`network-only`,e&&!X(this.variables,e)&&(n.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(n,{newNetworkStatus:$.refetch})}fetchMore({query:e,variables:t,context:n,errorPolicy:r,updateQuery:i}){W(this.options.fetchPolicy!==`cache-only`,78,ul(this.query,`(anonymous)`));let a={...q(this.options,{errorPolicy:`none`},{query:e,context:n,errorPolicy:r}),variables:e?t:{...this.variables,...t},fetchPolicy:`no-cache`,notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};a.query=this.transformDocument(a.query),this.lastQuery=e?this.transformDocument(this.options.query):a.query;let o=!1,s=this.options.fetchPolicy!==`no-cache`;s||W(i,79);let{finalize:c,pushNotification:l}=this.pushOperation($.fetchMore);return l({source:`newNetworkStatus`,kind:`N`,value:{}},{shouldEmit:3}),this.queryManager.fetchQuery(a,$.fetchMore).then(e=>{if(c(),s){let t=this.getCacheDiff();this.queryManager.cache.batch({update:t=>{i?t.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1},t=>i(t,{fetchMoreResult:e.data,variables:a.variables})):t.writeQuery({query:a.query,variables:a.variables,data:e.data})},onWatchUpdated:(e,n)=>{e.watcher===this&&!X(n.result,t.result)&&(o=!0)}})}else{let t=this.getCurrentResult(),n=i(t.data,{fetchMoreResult:e.data,variables:a.variables});l({kind:`N`,value:{...t,networkStatus:$.ready,loading:!1,data:n,dataState:t.dataState===`streaming`?`streaming`:`complete`},source:`network`})}return this.maskResult(e)}).finally(()=>{c(),s&&!o&&l({kind:`N`,source:`newNetworkStatus`,value:{}},{shouldEmit:1})})}subscribeToMore(e){let t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{let{updateQuery:n,onError:r}=e,{error:i}=t;if(i){r?r(i):W.error(80,i);return}n&&this.updateQuery((e,r)=>n(e,{subscriptionData:t,...r}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){let t=q(this.options,e||{});df(this.options,t),this.updatePolling()}async setVariables(e){return e=this.getVariablesWithDefaults(e),X(this.variables,e)||(this.options.variables=e,!this.hasObservers())?iu(this.getCurrentResult()):this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:$.setVariables})}updateQuery(e){let{queryManager:t}=this,{result:n,complete:r}=this.getCacheDiff({optimistic:!1}),i=e(n,{variables:this.variables,complete:!!r,previousData:n});i&&(t.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){let{fetchPolicy:n=`cache-first`,initialFetchPolicy:r=n}=t;n===`standby`||(t.fetchPolicy=typeof t.nextFetchPolicy==`function`?t.nextFetchPolicy.call(t,n,{reason:e,options:t,observable:this,initialFetchPolicy:r}):e===`variables-changed`?r:t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,n,r){let i=this.options.fetchPolicy;e.context??={};let a=!1,{observable:o,fromLink:s}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:n,onCacheHit:()=>{a=!0},fetchQueryOperator:e=>new U(n=>{try{return e.subscribe({next(e){a=!0,n.next(e)},error:e=>n.error(e),complete:()=>n.complete()})}finally{a||(u.override=t,this.input.next({kind:`N`,source:`newNetworkStatus`,value:{resetError:!0},query:c,variables:l,meta:{shouldEmit:3,fetchPolicy:i}}))}}),observableQuery:this}),{query:c,variables:l}=this,u={abort:()=>{f.unsubscribe()},query:c,variables:l};this.activeOperations.add(u);let d=t==$.refetch||t==$.setVariables;o=o.pipe(r,Vs());let f=o.pipe(Ws({next:e=>{e.source===`newNetworkStatus`||e.kind===`N`&&e.value.loading?u.override=t:delete u.override},finalize:()=>this.activeOperations.delete(u)})).subscribe({next:e=>{let t={};d&&e.kind===`N`&&`loading`in e.value&&!e.value.loading&&(d=!1,t.shouldEmit=1),this.input.next({...e,query:c,variables:l,meta:t})}});return{fromLink:s,subscription:f,observable:o}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:t,pollInterval:n}}=this;if(!n||!this.hasObservers()||t===`cache-only`){this.cancelPolling();return}if(e?.interval===n)return;let r=e||(this.pollingInfo={});r.interval=n;let i=()=>{this.pollingInfo&&(!Iu(this.networkStatus)&&!this.options.skipPollAttempt?.()?this._reobserve({fetchPolicy:this.options.initialFetchPolicy===`no-cache`?`no-cache`:`network-only`},{newNetworkStatus:$.poll}).then(a,a):a())},a=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(i,e.interval))};a()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:n}=t||{};this.queryManager.obsQueries.add(this);let r=n===$.refetch||n===$.poll,i=this.variables,a=this.options.fetchPolicy,o=q(this.options,e||{}),s=r?o:df(this.options,o),c=this.transformDocument(s.query);this.lastQuery=c,e&&`variables`in e&&(s.variables=this.getVariablesWithDefaults(e.variables)),r||(this.updatePolling(),e&&e.variables&&!X(e.variables,i)&&s.fetchPolicy!==`standby`&&(s.fetchPolicy===a||typeof s.nextFetchPolicy==`function`)&&(this.applyNextFetchPolicy(`variables-changed`,s),n===void 0&&(n=$.setVariables)));let l=this.networkStatus;n||(n=$.loading,l!==$.loading&&e?.variables&&!X(e.variables,i)&&(n=$.setVariables),s.fetchPolicy===`standby`&&(n=$.ready)),s.fetchPolicy===`standby`&&this.cancelPolling(),this.resubscribeCache();let{promise:u,operator:d}=_f(e=>{switch(e.kind){case`E`:throw e.error;case`N`:if(e.source!==`newNetworkStatus`&&!e.value.loading)return e.value}},s.fetchPolicy===`standby`?{data:void 0}:void 0),{subscription:f,observable:p,fromLink:m}=this.fetch(s,n,c,d);!r&&(m||!this.linkSubscription)&&(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=f);let h=Object.assign(Kl(u.then(e=>iu(this.maskResult(e))).finally(()=>{!this.hasObservers()&&this.activeOperations.size===0&&this.tearDownQuery()})),{retain:()=>{let e=p.subscribe({}),t=()=>e.unsubscribe();return u.then(t,t),h}});return h}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e
40=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&=(clearTimeout(this.notifyTimeout),void 0),this.dirty=!1}scheduleNotify(){this.dirty||(this.dirty=!0,this.notifyTimeout||=setTimeout(()=>this.notify(!0),0))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:t}=this;if(this.resetNotifications(),t&&(this.options.fetchPolicy==`cache-only`||this.options.fetchPolicy==`cache-and-network`||!this.activeOperations.size)){let e=this.getCacheDiff();X(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:`N`,value:{data:e.result,dataState:e.complete?`complete`:e.result?`partial`:`empty`,networkStatus:$.ready,loading:!1,error:void 0,partial:!e.complete},source:`cache`,query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1,{query:n,variables:r}=this,i=()=>{this.activeOperations.delete(a)},a={override:e,abort:()=>{t=!0,i()},query:n,variables:r};return this.activeOperations.add(a),{finalize:i,pushNotification:(e,i)=>{t||this.input.next({...e,query:n,variables:r,meta:{...i}})}}}calculateNetworkStatus(e){return e===$.streaming?e:Array.from(this.activeOperations.values()).findLast(e=>gf(e,this)&&e.override!==void 0)?.override??e}abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e=this.options.fetchPolicy===`cache-only`;this.setResult(e?mf:pf,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:`setResult`,kind:`N`,value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=au(e=>{let{query:t,variables:n,meta:r}=e;if(e.source===`setResult`)return{query:t,variables:n,result:e.value,meta:r};if(e.kind===`C`||!gf(e,this))return;let i,a=this.subject.getValue();if(e.source===`cache`){if(i=e.value,i.networkStatus===$.ready&&i.partial&&(!this.options.returnPartialData||a.result.networkStatus===$.error)&&this.options.fetchPolicy!==`cache-only`)return}else if(e.source===`network`)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),i=e.kind===`E`?{...gf(a,e)?a.result:{data:void 0,dataState:`empty`,partial:!0},error:e.error,networkStatus:$.error,loading:!1}:e.value,e.kind===`E`&&i.dataState===`streaming`&&(i.dataState=`complete`),i.error&&(r.shouldEmit=1);else if(e.source===`newNetworkStatus`){let t=gf(a,e)?a.result:this.getInitialResult(r.fetchPolicy),{resetError:n}=e.value,o=n?void 0:t.error,s=o?$.error:$.ready;i={...t,error:o,networkStatus:s}}return W(i),i.error||delete i.error,i.networkStatus=this.calculateNetworkStatus(i.networkStatus),i.loading=Iu(i.networkStatus),i=this.maskResult(i),{query:t,variables:n,result:i,meta:r}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:t}=this.options;e===`cache-and-network`||e===`network-only`?this.reobserve({fetchPolicy:`cache-first`,nextFetchPolicy(n,r){return this.nextFetchPolicy=t,typeof this.nextFetchPolicy==`function`?this.nextFetchPolicy(n,r):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}};function gf(e,t){return!!(e&&t&&e.query===t.query&&X(e.variables,t.variables))}function _f(e,t){let n=t,r,i;return{promise:new Promise((e,t)=>{r=e,i=t}),operator:Ws({next(t){try{let r=e(t);r!==void 0&&(n=r)}catch(e){i(e)}},finalize:()=>{if(n)r(n);else{let e=`The operation was aborted.`,t=`AbortError`;i(typeof DOMException<`u`?new DOMException(e,t):Object.assign(Error(e),{name:t}))}}})}}var vf={},yf=new WeakMap;function bf(e,t){let n=e[t];typeof n==`function`&&(e[t]=function(){return yf.set(e,(yf.get(e)+1)%0x38d7ea4c68000),n.apply(this,arguments)})}var xf=new WeakMap,Sf=class{lastRequestId=1;cache;queryManager;id;observableQuery;incremental;constructor(e,t){let n=this.cache=e.cache,r=(xf.get(e)||0)+1;xf.set(e,r),this.id=r+``,this.observableQuery=t,this.queryManager=e,yf.has(n)||(yf.set(n,0),bf(n,`evict`),bf(n,`modify`),bf(n,`reset`))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){let{lastWrite:n}=this;return!(n&&n.dmCount===yf.get(this.cache)&&X(t,n.variables)&&X(e.data,n.result.data))}get hasNext(){return this.incremental?this.incremental.hasNext:!1}maybeHandleIncrementalResult(e,t,n){let{incrementalHandler:r}=this.queryManager;return r.isIncrementalResult(t)?(this.incremental||=r.startRequest
40({query:n}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:i}){let a={query:t,variables:n,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let o=i===0,s=o?void 0:this.cache.diff(a),c=this.maybeHandleIncrementalResult(s?.result,e,t);return o||(Cf(c,r)?this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)},update:e=>{if(this.shouldWrite(c,n))e.writeQuery({query:t,data:c.data,variables:n,overwrite:i===1}),this.lastWrite={result:c,variables:n,dmCount:yf.get(this.cache)};else if(s&&s.complete){c={...c,data:s.result};return}let r=e.diff(a);r.complete&&(c={...c,data:r.result})}}):this.lastWrite=void 0),c}markMutationResult(e,t,n=this.cache){let r=[],i=t.cacheWriteBehavior===0,a=this.maybeHandleIncrementalResult(i?void 0:n.diff({id:`ROOT_MUTATION`,query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if(t.errorPolicy===`ignore`&&(a={...a,errors:[]}),Il(a)&&t.errorPolicy===`none`)return Promise.resolve(a);let o=()=>({...a,dataState:this.hasNext?`streaming`:`complete`});if(!i&&Cf(a,t.errorPolicy)){r.push({result:a.data,dataId:`ROOT_MUTATION`,query:t.document,variables:t.variables});let{updateQueries:e}=t;e&&this.queryManager.getObservableQueries(`all`).forEach(t=>{let n=t&&t.queryName;if(!n||!Object.hasOwnProperty.call(e,n))return;let i=e[n],{query:a,variables:s}=t,{result:c,complete:l}=t.getCacheDiff({optimistic:!1});if(l&&c){let e=i(c,{mutationResult:o(),queryName:a&&ul(a)||void 0,queryVariables:s});e&&r.push({result:e,dataId:`ROOT_QUERY`,query:a,variables:s})}})}let s=t.refetchQueries;if(typeof s==`function`&&(s=s(o())),r.length>0||(s||``).length>0||t.update||t.onQueryUpdated||t.removeOptimistic){let e=[];
40if(this.queryManager.refetchQueries({updateCache:e=>{i||r.forEach(t=>e.write(t));let{update:n}=t;if(n){if(!i){let n=e.diff({id:`ROOT_MUTATION`,query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});n.complete&&(a={...a,data:n.result})}this.hasNext||n(e,a,{context:t.context,variables:t.variables})}!i&&!t.keepRootFields&&!this.hasNext&&e.modify({id:`ROOT_MUTATION`,fields(e,{fieldName:t,DELETE:n}){return t===`__typename`?e:n}})},include:s,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>a)}return Promise.resolve(a)}markMutationOptimistic(e,t){let n=typeof e==`function`?e(t.variables,{IGNORE:vf}):e;return n!==vf&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:n},t,e)}catch(e){W.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:n,errorPolicy:r,cacheWriteBehavior:i}){i!==0&&(Cf(e,r)&&this.cache.write({query:t,result:e.data,dataId:`ROOT_SUBSCRIPTION`,variables:n}),this.queryManager.broadcastQueries())}};function Cf(e,t=`none`){let n=t===`ignore`||t===`all`,r=!Il(e);return!r&&n&&e.data&&(r=!0),r}var wf=class{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){let t=new Du(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;let n=e.documentTransform;this.documentTransform=n?t.concat(n).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches(G(83))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:n,updateQueries:r,refetchQueries:i=[],awaitRefetchQueries:a=!1,update:o,onQueryUpdated:s,fetchPolicy:c,errorPolicy:l,keepRootFields:u,context:d}){let f=new Sf(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:p}=this.getDocumentInfo(e);t=this.getVariables(e,t),p&&(t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:d}));let m=this.mutationStore&&(this.mutationStore[f.id]={mutation:e,variables:t,loading:!0,error:null}),h=n&&f.markMutationOptimistic(n,{document:e,variables:t,cacheWriteBehavior:c===`no-cache`?0:2,errorPolicy:l,context:d,updateQueries:r,update:o,keepRootFields:u});return this.broadcastQueries(),new Promise((p,g)=>{let _={};return this.getObservableFromLink(e,{...d,optimisticResponse:h?n:void 0},t,{},!1).observable.pipe(Tf(),Ns(n=>{let p={...n};return Cs(f.markMutationResult(p,{document:e,variables:t,cacheWriteBehavior:c===`no-cache`?0:2,errorPolicy:l,context:d,update:o,updateQueries:r,awaitRefetchQueries:a,refetchQueries:i,removeOptimistic:h?f.id:void 0,onQueryUpdated:s,keepRootFields:u}))})).pipe(js(e=>{if(Il(e)&&l===`none`)throw new nf(e);return m&&(m.loading=!1,m.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!f.hasNext){let n={data:this.maskOperation({document:e,data:t.data,fetchPolicy:c,cause:_})};Il(t)&&(n.error=new nf(t)),Object.keys(t.extensions||{}).length&&(n.extensions=t.extensions),p(n)}},error:e=>{if(m&&(m.loading=!1,m.error=e),h&&this.cache.removeOptimistic(f.id),this.broadcastQueries(),l===`ignore`)return p({data:void 0});if(l===`all`)return p({data:void 0,error:e});g(e)}})})}fetchQuery(e,t){return dl(e.query,cn.QUERY),(async()=>As(this.fetchObservableWithInfo(e,{networkStatus:t}).observable.pipe(au(e=>{switch(e.kind){case`E`:throw e.error;case`N`:if(e.source!==`newNetworkStatus`)return iu(e.value)}})),{defaultValue:{data:void 0}}))()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new Dl(ll[`queryManager.getDocumentInfo`]||2e3);getDocumentInfo(e){let{transformCache:t}=this;if(!t.has(e)){let n=Cl(e),r={hasClientExports:Ll([`client`,`export`],e,!0),hasForcedResolvers:Rl(e),hasNonreactiveDirective:Ll([`nonreactive`],e),hasIncrementalDirective:Ll([`defer`],e),nonReactiveQuery:Ef(e),clientQuery:Ll([`client`],e)?e:null,serverQuery:ql([{name:`client`,remove:!0},{name:`connection`},{name:`nonreactive`},{name:`unmask`}],e),operationType:n?.operation,defaultVars:_l(n),asQuery:{...e,definitions:e.definitions.map(e=>e.kind===`OperationDefinition`&&e.operation!==`query`?{...e,operation:`query`}:e)}};t.set(e,r)}let n=t.get(e);if(n.violation)throw n.violation;return n}getVariables(e,t){let n=this.getDocumentInfo(e).defaultVars,r=Object.entries(t??{}).map(([e,t])=>[e,t===void 0?n[e]:t]);return{...n,...Object.fromEntries(r)}}watchQuery(e){dl(e.query,cn.QUERY);let t=this.transform(e.query);return e={...e,variables:this.getVariables(t,e.variables)},e.notifyOnNetworkStatusChange===void 0&&(e.notifyOnNetworkStatusChange=!0),new hf({queryManager:this,options:e,transformedQuery:t})}query(e){let t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(n=>({...n,data:this.maskOperation({document:t,data:n?.data,fetchPolicy:e.fetchPolicy})}))}requestIdCounter=1;generateRequestId(){return this.requestIdCounter++}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches(G(85)),this.obsQueries.forEac
40h(e=>{e.reset()}),this.mutationStore&&={},this.cache.reset(e)}getObservableQueries(e=`active`){let t=new Set,n=new Map,r=new Map,i=new Set;return Array.isArray(e)&&e.forEach(e=>{if(typeof e==`string`)n.set(e,e),r.set(e,!1);else if(zl(e)){let t=ku(this.transform(e));n.set(t,ul(e)),r.set(t,!1)}else J(e)&&e.query&&i.add(e)}),this.obsQueries.forEach(n=>{let i=ku(this.transform(n.options.query));if(e===`all`){t.add(n);return}let{queryName:a,options:{fetchPolicy:o}}=n;(e!==`active`||o!==`standby`)&&(e===`active`||a&&r.has(a)||i&&r.has(i))&&(t.add(n),a&&r.set(a,!0),i&&r.set(i,!0))}),i.size&&i.forEach(e=>{let n=new hf({queryManager:this,options:{...e,fetchPolicy:`network-only`}});t.add(n)}),t}refetchObservableQueries(e=!1){let t=[];return this.getObservableQueries(e?`all`:`active`).forEach(n=>{let{fetchPolicy:r}=n.options;(e||r!==`standby`)&&r!==`cache-only`&&t.push(n.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let{query:t,variables:n}=e,{fetchPolicy:r,errorPolicy:i=`none`,context:a={},extensions:o={}}=e;dl(t,cn.SUBSCRIPTION),t=this.transform(t),n=this.getVariables(t,n);let s,c=(this.getDocumentInfo(t).hasClientExports?Cs(this.localState.getExportedVariables({client:this.client,document:t,variables:n,context:a})):ws(n)).pipe(Ns(e=>{let{observable:n,restart:c}=this.getObservableFromLink(t,a,e,o),l=new Sf(this);return s=c,n.pipe(js(n=>{l.markSubscriptionResult(n,{document:t,variables:e,errorPolicy:i,cacheWriteBehavior:r===`no-cache`?0:2});let a={data:n.data??void 0};return Il(n)?a.error=new nf(n):lf(n)&&(a.error=n.extensions[cf],delete n.extensions[cf]),n.extensions&&Object.keys(n.extensions).length&&(a.extensions=n.extensions),a.error&&i===`none`&&(a.data=void 0),i===`ignore`&&delete a.error,a}),Rs(e=>ws(i===`ignore`?{data:void 0}:{data:void 0,error:e})),Ls(e=>!!(e.data||e.error)))}));return Object.assign(c,{restart:()=>s?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new xc(!1);getObservableFromLink(e,t,n,r,i=t?.queryDeduplication??this.queryDeduplication){let a={},{serverQuery:o,clientQuery:s,operationType:c,hasIncrementalDirective:l}=this.getDocumentInfo(e),u=ul(e),d={client:this.client};if(o){let{inFlightLinkObservables:e,link:s}=this;try{let l=this.incrementalHandler.prepareRequest({query:o,variables:n,context:{...this.defaultContext,...t,queryDeduplication:i},extensions:r});t=l.context;function u(e){return new U(t=>{function n(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let r=n();return a.restart||=()=>{r.unsubscribe(),r=n()},()=>{r.unsubscribe(),a.restart=void 0}})}if(i){let t=ku(o),r=kl(n);a=e.lookup(t,r),a.observable||(a.observable=Tu(s,l,d).pipe(u,zs(()=>{e.peek(t,r)===a&&e.remove(t,r)}),c===cn.SUBSCRIPTION?Vs():Us({refCount:!0})))}else a.observable=Tu(s,l,d).pipe(u)}catch(e){a.observable=Ts(()=>e)}}else a.observable=ws({data:{}});if(s){let{operation:r}=Cl(e);W(!l,90,r[0].toUpperCase()+r.slice(1),u??`(anonymous)`),a.observable=a.observable.pipe(Ns(e=>Cs(this.localState.execute({client:this.client,document:s,remoteResult:e,context:t,variables:n}))))}return{restart:()=>a.restart?.(),observable:a.observable.pipe(Rs(e=>{throw e=uf(e),af(e),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:n,observableQuery:r}){let i=t.lastRequestId=this.generateRequestId(),{errorPolicy:a}=e,o=this.cache.transformForLink(e.query);return this.getObservableFromLink(o,e.context,e.variables).observable.pipe(js(i=>{let s=t.markQueryResult(i,{...e,document:o,cacheWriteBehavior:n}),c=Il(s);if(c&&a===`none`)throw t.resetLastWrite(),r?.resetNotifications(),new nf(s);let l={data:s.data,...t.hasNext?{loading:!0,networkStatus:$.streaming,dataState:`streaming`,partial:!0}:{dataState:s.data?`complete`:`empty`,loading:!1,networkStatus:$.ready,partial:!s.data}};return c&&(a===`none`&&(l.data=void 0,l.dataState=`empty`),a!==`ignore`&&(l.error=new nf(s),l.dataState!==`streaming`&&(l.networkStatus=$.error))),l}),Rs(e=>{if(i>=t.lastRequestId&&a===`none`)throw t.resetLastWrite(),r?.resetNotifications(),e;let n={data:void 0,dataState:`empty`,loading:!1,networkStatus:$.ready,partial:!0};return a!==`ignore`&&(n.error=e,n.networkStatus=$.error),ws(n)}))}fetchObservableWithInfo(e,{networkStatus:t=$.loading,query:n=e.query,fetchQueryOperator:r=e=>e,onCacheHit:i=()=>{},observableQuery:a}){let o=this.getVariables(n,e.variables),s=this.defaultOptions.watchQuery,{fetchPolicy:c=s&&s.fetchPolicy||`cache-first`,errorPolicy:l=s&&s.errorPolicy||`none`,returnPartialData:u=!1,notifyOnNetworkStatusChange:d=!0,context:f={}}=e;this.prioritizeCacheValues&&(c===`network-only`||c===`cache-and-network`)&&(c=`cache-first`);let p=Object.assign({},e,{query:n,variables:o,fetchPolicy:c,errorPolicy:l,returnPartialData:u,notifyOnNetworkStatusChange:d,context:f}),m=new Sf(this,a),h=n=>{p.variables=n;let o=c===`no-cache`?0:t===$.refetch&&p.refetchWritePolicy!==`merge`?1:2,s=this.fetchQueryByPolicy(p,{queryInfo:m,cacheWriteBehavior:o,onCacheHit:i,observableQuery:a});return s.observable=s.observable.pipe(r),p.fetchPolicy!==`standby`&&a?.applyNextFetchPolicy(`after-fetch`,e),s},g=()=>{this.fetchCancelFns.delete(m.id)};this.fetchCancelFns.set(m.id,e=>{_.next({kind:`E`,error:e,source:`network`})});let _=new Bo,v,y;
40if(this.getDocumentInfo(p.query).hasClientExports)v=Cs(this.localState.getExportedVariables({client:this.client,document:p.query,variables:p.variables,context:p.context})).pipe(Ns(e=>h(e).observable)),y=!0;else{let e=h(p.variables);y=e.fromLink,v=e.observable}return{observable:new U(e=>{e.add(g),v.subscribe(e),_.subscribe(e)}).pipe(Vs()),fromLink:y}}refetchQueries({updateCache:e,include:t,optimistic:n=!1,removeOptimistic:r=n?Ys(`refetchQueries`):void 0,onQueryUpdated:i}){let a=new Map;t&&this.getObservableQueries(t).forEach(e=>{if(e.options.fetchPolicy===`cache-only`)return;let t=e.getCurrentResult();a.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});let o=new Map;if(e){let t=new Set;this.cache.batch({update:e,optimistic:n&&r||!1,removeOptimistic:r,onWatchUpdated(e,n,r){let s=e.watcher;if(s instanceof hf&&!t.has(s)){if(t.add(s),i){a.delete(s);let e=i(s,n,r);return e===!0&&(e=s.refetch().retain()),e!==!1&&o.set(s,e),e}i!==null&&s.options.fetchPolicy!==`cache-only`&&a.set(s,{oq:s,lastDiff:r,diff:n})}}})}return a.size&&a.forEach(({oq:e,lastDiff:t,diff:n})=>{let r;i&&(n||=e.getCacheDiff(),r=i(e,n,t)),(!i||r===!0)&&(r=e.refetch().retain()),r!==!1&&o.set(e,r)}),r&&this.cache.removeOptimistic(r),o}noCacheWarningsByCause=new WeakSet;maskOperation(e){let{document:t,data:n}=e;return this.dataMasking?dd(n,t,this.cache):n}maskFragment(e){let{data:t,fragment:n,fragmentName:r}=e;return this.dataMasking?ud(t,n,this.cache,r):t}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:n,errorPolicy:r,returnPartialData:i,context:a},{cacheWriteBehavior:o,onCacheHit:s,queryInfo:c,observableQuery:l}){let u=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),d=(n,o)=>{let c=n.result,l=e=>(!n.complete&&!i&&(e=void 0),{data:e,dataState:n.complete?`complete`:e?`partial`:`empty`,loading:Iu(o),networkStatus:o,partial:!n.complete}),u=e=>ws({kind:`N`,value:l(e),source:`cache`});return(n.complete||i)&&this.getDocumentInfo(e).hasForcedResolvers?(s(),Cs(this.localState.execute({client:this.client,document:e,remoteResult:c?{data:c}:void 0,context:a,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0}).then(e=>({kind:`N`,value:l(e.data||void 0),source:`cache`})))):r===`none`&&o===$.refetch&&n.missing?u(void 0):u(c||void 0)},f=()=>this.getResultsFromLink({query:e,variables:t,context:a,fetchPolicy:n,errorPolicy:r},{cacheWriteBehavior:o,queryInfo:c,observableQuery:l}).pipe(Tf(),Bs(),js(e=>({...e,source:`network`})));switch(n){default:case`cache-first`:{let e=u();return e.complete?{fromLink:!1,observable:d(e,$.ready)}:i?{fromLink:!0,observable:Is(d(e,$.loading),f())}:{fromLink:!0,observable:f()}}case`cache-and-network`:{let e=u();return e.complete||i?{fromLink:!0,observable:Is(d(e,$.loading),f())}:{fromLink:!0,observable:f()}}case`cache-only`:return{fromLink:!1,observable:Is(d(u(),$.ready))};case`network-only`:return{fromLink:!0,observable:f()};case`no-cache`:return{fromLink:!0,observable:f()};case`standby`:return{fromLink:!1,observable:Go}}}};function Tf(){let e=!1;return Ws({next(){e=!0},complete(){W(e,94)}})}function Ef(e){return Ja(e,{FragmentSpread:e=>{if(!e.directives?.some(e=>e.name.value===`unmask`))return{...e,directives:[...e.directives||[],{kind:L.DIRECTIVE,name:{kind:L.NAME,value:`nonreactive`}}]}}})}var Df=class{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){let{cache:t,documentTransform:n,ssrMode:r=!1,ssrForceFetchDelay:i=0,queryDeduplication:a=!0,defaultOptions:o,defaultContext:s,assumeImmutableResults:c=t.assumeImmutableResults,localState:l,devtools:u,dataMasking:d,link:f,incrementalHandler:p=new bu}=e;this.link=f,this.cache=t,this.queryDeduplication=a,this.defaultOptions=o||{},this.devtoolsConfig={...u,enabled:u?.enabled??!1},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=this.refetchObservableQueries.bind(this),this.version=qs,this.queryManager=new wf({client:this,defaultOptions:this.defaultOptions,defaultContext:s,documentTransform:n,queryDeduplication:a,ssrMode:r,dataMasking:!!d,clientOptions:e,incrementalHandler:p,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:l}),this.prioritizeCacheValues=r||i>0,i&&setTimeout(()=>{this.prioritizeCacheValues=!1},i),this.devtoolsConfig.enabled&&this.connectToDevTools()}connectToDevTools(){if(typeof window>`u`)return;let e=window,t=Symbol.for(`apollo.devtools`);(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop()}watchQuery(e){return this.defaultOptions.watchQuery&&(e=Gl(this.defaultOptions.watchQuery,e)),this.queryManager.watchQuery(e)}query(e){return this.defaultOptions.query&&(e=Gl(this.defaultOptions.query,e)),this.queryManager.query(e)}mutate(e){let t=Gl(q({fetchPolicy:`network-only`,errorPolicy:`none`},this.defaultOptions.mutate),e);return dl(t.mutation,cn.MUTATION),this.queryManager.mutate(t)}subscribe(e){let t={},n=this.queryManager.startGraphQLSubscription(e),r=n.pipe(js(n=>({...n,data:this.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,cause:t})})));return Object.assign(r,{restart:n.restart})}readQuery(e,t=!1){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){let t=this.queryManager.dataMasking;return this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)}).pipe(js(e=>e))}
40readFragment(e,t=!1){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){let t=this.cache.writeQuery(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}writeFragment(e){let t=this.cache.writeFragment(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return Tu(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((e,t)=>{n.push(t),r.push(e)});let i=Promise.all(r);return i.queries=n,i.results=r,i.catch(e=>{}),i}getObservableQueries(e=`active`){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new Du(Ql);transform(e,t=!1){let n=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(n):n}},{hasOwnProperty:Of}=Object.prototype;function kf(e){return J(e)&&`payload`in e}async function*Af(e){let t=new TextDecoder(`utf-8`),n=`\r 41--`+(((e.headers?.get(`content-type`))?.match(/;\s*boundary=(?:'([^']+)'|"([^"]+)"|([^"'].+?))\s*(?:;|$)/i))?.findLast(e=>!!e)||`-`),r=``;W(e.body&&typeof e.body.getReader==`function`,60);let i=e.body.getReader(),a=!1,o=!1,s,c=()=>o&&r[0]==`-`&&r[1]==`-`;try{for(;!a;){({value:s,done:a}=await i.read());let e=typeof s==`string`?s:t.decode(s),l=r.length-n.length+1;r+=e;let u=r.indexOf(n,l);for(;u>-1&&!c();){o=!0;let e;[e,r]=[r.slice(0,u),r.slice(u+n.length)];let t=e.indexOf(`\r 42\r 43`),i=Mf(e.slice(0,t))[`content-type`];if(i&&i.toLowerCase().indexOf(`application/json`)===-1)throw Error(`Unsupported patch content type: application/json is required.`);let a=e.slice(t);a&&(yield a),u=r.indexOf(n)}if(c())return}throw Error(`premature end of multipart body`)}finally{i.cancel()}}async function jf(e,t){for await(let n of Af(e)){let r=Nf(e,n);if(Object.keys(r).length!=0)if(kf(r)){if(Object.keys(r).length===1&&r.payload===null)return;let e={...r.payload};`errors`in r&&(e.extensions={...e.extensions,[cf]:new Qd(r.errors??[])}),t(e)}else t(r)}}function Mf(e){let t={};return e.split(` 44`).forEach(e=>{let n=e.indexOf(`:`);if(n>-1){let r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}function Nf(e,t){if(e.status>=300)throw new of(`Response not successful: Received status code ${e.status}`,{response:e,bodyText:t});try{return JSON.parse(t)}catch(n){throw new sf(n,{response:e,bodyText:t})}}function Pf(e,t){try{return JSON.parse(t)}catch(n){throw new sf(n,{response:e,bodyText:t})}}function Ff(e,t){return e.headers.get(`content-type`)?.includes(`application/graphql-response+json`)?Pf(e,t):Nf(e,t)}function If(e){return t=>t.text().then(n=>{let r=Ff(t,n);if(!Array.isArray(r)&&!Of.call(r,`data`)&&!Of.call(r,`errors`))throw new of(`Server response was malformed for query '${Array.isArray(e)?e.map(e=>e.operationName):e.operationName}'.`,{response:t,bodyText:n});return r})}var Lf={http:{includeQuery:!0,includeExtensions:!0,preserveHeaderCase:!1},headers:{accept:`application/graphql-response+json,application/json;q=0.9`,"content-type":`application/json`},options:{method:`POST`}},Rf=(e,t)=>t(e);function zf(e,t,...n){let r={},i={};n.forEach(e=>{r={...r,...e.options,headers:{...r.headers,...e.headers}},e.credentials&&(r.credentials=e.credentials),r.headers.accept=(e.http?.accept||[]).concat(r.headers.accept).join(`,`),i={...i,...e.http}}),r.headers=Bf(r.headers,i.preserveHeaderCase);let{operationName:a,extensions:o,variables:s,query:c}=e,l={operationName:a,variables:s};return i.includeExtensions&&Object.keys(o||{}).length&&(l.extensions=o),i.includeQuery&&(l.query=t(c,ku)),{options:r,body:l}}function Bf(e,t){if(!t){let t={};
44return Object.keys(Object(e)).forEach(n=>{t[n.toLowerCase()]=e[n]}),t}let n={};Object.keys(Object(e)).forEach(t=>{n[t.toLowerCase()]={originalName:t,value:e[t]}});let r={};return Object.keys(n).forEach(e=>{r[n[e].originalName]=n[e].value}),r}var Vf=(e,t)=>e.getContext().uri||(typeof t==`function`?t(e):t||`/graphql`);function Hf(e,t){let n=[],r=(e,t)=>{n.push(`${e}=${encodeURIComponent(t)}`)};if(`query`in t&&r(`query`,t.query),t.operationName&&r(`operationName`,t.operationName),t.variables){let e;try{e=JSON.stringify(t.variables)}catch(e){return{parseError:e}}r(`variables`,e)}if(t.extensions){let e;try{e=JSON.stringify(t.extensions)}catch(e){return{parseError:e}}r(`extensions`,e)}let i=``,a=e,o=e.indexOf(`#`);o!==-1&&(i=e.substr(o),a=e.substr(0,o));let s=a.indexOf(`?`)===-1?`?`:`&`;return{newURI:a+s+n.join(`&`)+i}}var Uf=Gs(()=>fetch);function Wf(){}var Gf=class extends Cu{constructor(e={}){let{uri:t=`/graphql`,fetch:n,print:r=Rf,includeExtensions:i,preserveHeaderCase:a,useGETForQueries:o,includeUnusedVariables:s=!1,...c}=e,l={http:q({includeExtensions:i,preserveHeaderCase:a}),options:c.fetchOptions,credentials:c.credentials,headers:c.headers};super(e=>{let i=Vf(e,t),a=e.getContext(),c={...a.http};Pu(e.query)&&(c.accept=[`multipart/mixed;boundary=graphql;subscriptionSpec=1.0`,...c.accept||[]]);let u={http:c,options:a.fetchOptions,credentials:a.credentials,headers:a.headers},{options:d,body:f}=zf(e,r,Lf,l,u);f.variables&&!s&&(f.variables=Su(f.variables,e.query));let p=new AbortController,m=()=>{p=void 0};if(d.signal){let e=d.signal,t=()=>{p?.abort(e.reason)};e.addEventListener(`abort`,t,{once:!0}),m=()=>{p?.signal.removeEventListener(`abort`,m),p=void 0,e.removeEventListener(`abort`,t),m=Wf},p.signal.addEventListener(`abort`,m,{once:!0})}return d.signal=p.signal,o&&!Nu(e.query)&&(d.method=`GET`),new U(t=>{if(d.method===`GET`){let{newURI:e,parseError:t}=Hf(i,f);if(t)throw t;i=e}else d.body=JSON.stringify(f);let r=n||Gs(()=>fetch)||Uf,a=t.next.bind(t);return r(i,d).then(t=>{e.setContext({response:t});let n=t.headers?.get(`content-type`);return n!==null&&/^multipart\/mixed/i.test(n)?jf(t,a):If(e)(t).then(a)}).then(()=>{m(),t.complete()}).catch(e=>{m(),t.error(e)}),()=>{p&&p.abort()}})})}},Kf=class extends Cu{constructor(e={}){super((t,n)=>{let r=t.client,i=r.queryManager.clientOptions,a=t.getContext();{let{name:n,version:r,transport:o=`headers`}=q({},i.clientAwareness,e.clientAwareness,a.clientAwareness);o===`headers`&&t.setContext(({headers:e,extensions:t})=>({headers:q({"apollographql-client-name":n,"apollographql-client-version":r},e)}))}{let{transport:n=`extensions`}=q({},i.enhancedClientAwareness,e.enhancedClientAwareness);n===`extensions`&&(t.extensions=q({clientLibrary:{name:`@apollo/client`,version:r.version}},t.extensions))}return n(t)})}},qf=class extends Cu{constructor(e={}){let{left:t,right:n,request:r}=Cu.from([new Kf(e),new Gf(e)]);super(r),Object.assign(this,{left:t,right:n})}},Jf=class extends Cu{constructor(e){super((t,n)=>new U(r=>{let i,a,o;try{i=n(t).subscribe({next:i=>{let s=t.client.queryManager.incrementalHandler,c=s.isIncrementalResult(i)?s.extractErrors(i):i.errors;c?o=e({error:new nf(i,c),result:i,operation:t,forward:n}):lf(i)&&(o=e({error:i.extensions[cf],result:i,operation:t,forward:n})),a=o?.subscribe(r),a||r.next(i)},error:i=>{o=e({operation:t,error:uf(i),forward:n}),a=o?.subscribe(r),a||r.error(i)},complete:()=>{o||r.complete()}})}catch(i){e({error:uf(i),operation:t,forward:n}),r.error(i)}return()=>{i&&i.unsubscribe(),a&&a.unsubscribe()}}))}},Yf={LinkedStructure:[`Establishment`,`Structure`]};function Xf(e,t){let{siteType:n}=Zt(),r=t&&typeof globalThis.fetch==`function`?globalThis.fetch:fetch,i=new qf({uri:e,fetch:(e,t={})=>{let i={...t.headers,"X-Site-Type":n};if(n===Rt.INTERNAL_RH_SITE){let e=Xt().currentUserAccessToken;if(e){i.Authorization=`Bearer ${e}`;try{let t=e.split(`.`);if(t.length===3){let e=JSON.parse(atob(t[1].replace(/-/g,`+`).replace(/_/g,`/`))),n=Math.floor(Date.now()/1e3);e.exp&&e.exp<n&&console.warn(`[apollo] SENDING EXPIRED TOKEN!`,{expiredSince:`${n-e.exp}s ago`,sub:e.sub})}}catch{}}else console.warn(`[apollo] No access token available for RH request!`)}return r(e,{...t,headers:i})}}),a=new Jf(({error:e})=>
44{nf.is(e)?e.errors.forEach(({message:e,locations:t,path:n})=>{if(console.error(`[GraphQL error]: Message: ${e}, Location: ${t}, Path: ${n}`),n?.includes(`trainingBySlug`))throw ke({statusCode:404,statusMessage:`Training not found`})}):Qd.is(e)?e.errors.forEach(({message:e,extensions:t})=>console.log(`[Protocol error]: Message: ${e}, Extensions: ${JSON.stringify(t)}`)):console.error(`[Network error]: ${e}`)}),o=new Jd({possibleTypes:Yf,...t&&{resultCaching:!1}});return new Df({link:wu([a,i]),cache:o,ssrMode:t,...t&&{defaultOptions:{query:{fetchPolicy:`no-cache`}}}})}var Zf=k(()=>{let e=D();e.graphqlInternalEndpoint;let t=e.public.graphqlEndpoint;return{provide:{apollo:Xf(t,!1)}}}),Qf=k(()=>{let e=hn(),t=t=>{e.addXContentIds(t)},n=function(e,t){let r=[];if(Array.isArray(e))for(let i of e)typeof i==`object`&&i&&(r=r.concat(n(i,t)));else if(typeof e==`object`&&e)for(let i in e)typeof e[i]==`object`&&e[i]!==null?r=r.concat(n(e[i],t)):i===t&&e[i]!==null&&r.push(e[i]);return[...new Set(r)]};return{provide:{cacheHelper:{addXContentIdToExistingHeader:t,getRecursiveAssetsIdsToCache:n,getXContentId:()=>Array.from(e.xContentIds).join(` `),setHttpHeader:function(e,t){console.warn(`setHttpHeader called directly. Use cacheStore instead.`)},setCacheMaxAge:function(t){e.setMaxAge(t)},setVaryMobile:function(){e.setVaryMobile()},setXContentId:t=>{e.addXContentIds(t)}}}}}),$f=k(()=>{}),ep=k(e=>{let t=()=>new URL(window.location.href).searchParams.has(`_cb`),n=()=>{if(t())return;let e=new URL(window.location.href);e.searchParams.set(`_cb`,Date.now().toString()),window.location.href=e.toString()};window.addEventListener(`vite:preloadError`,e=>{e.preventDefault(),n()}),e.hook(`app:chunkError`,()=>{n()})}),tp=k(e=>{let t=(e,t)=>t.replace(/\[([^[\]]*)]/g,`.$1.`).split(`.`).filter(e=>e!==``).reduce((e,t)=>typeof e!=`object`||!e?null:e[t]??null,e),n=(e,t)=>{if(typeof e!=`object`||!t)return null;let n=null;for(let[r,i]of Object.entries(e))if(i===t){n=r;break}return n},r=e=>Object.entries(e).reduce((e,[t,n])=>{let i=n;return e[t]||(n===`Oui`&&(i=!0),n===`Non`&&(i=!1),typeof n==`object`&&n&&(i=r(n)),e={...e,[t]:i}),e},{});return{provide:{codeHelper:{deepGet:t,findKey:n,transformBooleanValues:r}}}});
44function np(e,t,n){let r=R(e,n?.in);return isNaN(t)?vn(n?.in||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function rp(e,t,n){let r=R(e,n?.in);if(isNaN(t))return vn(n?.in||e,NaN);if(!t)return r;let i=r.getDate(),a=vn(n?.in||e,r.getTime());return a.setMonth(r.getMonth()+t+1,0),i>=a.getDate()?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function ip(e,t,n){let{years:r=0,months:i=0,weeks:a=0,days:o=0,hours:s=0,minutes:c=0,seconds:l=0}=t,u=R(e,n?.in),d=i||r?rp(u,i+r*12):u,f=o||a?np(d,o+a*7):d,p=(l+(c+s*60)*60)*1e3;return vn(n?.in||e,+f+p)}function ap(e){let t=R(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),e-+n}function op(e,...t){let n=vn.bind(null,e||t.find(e=>typeof e==`object`));return t.map(n)}function sp(e,t){let n=R(e,t?.in);return n.setHours(0,0,0,0),n}function cp(e,t,n){let[r,i]=op(n?.in,e,t),a=sp(r),o=sp(i),s=+a-ap(a),c=+o-ap(o);return Math.round((s-c)/yn)}function lp(e,t){let n=R(e)-+R(t);return n<0?-1:n>0?1:n}function up(e,t,n){let[r,i]=op(n?.in,e,t),a=r.getFullYear()-i.getFullYear(),o=r.getMonth()-i.getMonth();return a*12+o}function dp(e,t,n){let[r,i]=op(n?.in,e,t);return r.getFullYear()-i.getFullYear()}function fp(e,t,n){let[r,i]=op(n?.in,e,t),a=pp(r,i),o=Math.abs(cp(r,i));r.setDate(r.getDate()-a*o);let s=a*(o-Number(pp(r,i)===-a));return s===0?0:s}function pp(e,t){let n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}function mp(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return n===0?0:n}}function hp(e,t,n){let[r,i]=op(n?.in,e,t),a=(r-+i)/_n;return mp(n?.roundingMethod)(a)}function gp(e,t){return R(e)-+R(t)}function _p(e,t,n){let r=gp(e,t)/gn;return mp(n?.roundingMethod)(r)}function vp(e,t){let n=R(e,t?.in);return n.setHours(23,59,59,999),n}function yp(e,t){let n=R(e,t?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function bp(e,t){let n=R(e,t?.in);return+vp(n,t)==+yp(n,t)}function xp(e,t,n){let[r,i,a]=op(n?.in,e,e,t),o=lp(i,a),s=Math.abs(up(i,a));if(s<1)return 0;i.getMonth()===1&&i.getDate()>27&&i.setDate(30),i.setMonth(i.getMonth()-o*s);let c=lp(i,a)===-o;bp(r)&&s===1&&lp(r,a)===1&&(c=!1);let l=o*(s-+c);return l===0?0:l}function Sp(e,t,n){let r=gp(e,t)/1e3;return mp(n?.roundingMethod)(r)}function Cp(e,t,n){let[r,i]=op(n?.in,e,t),a=lp(r,i),o=Math.abs(dp(r,i));r.setFullYear(1584),i.setFullYear(1584);let s=a*(o-+(lp(r,i)===-a));return s===0?0:s}function wp(e,t){let[n,r]=op(e,t.start,t.end);return{start:n,end:r}}function Tp(e,t){let{start:n,end:r}=wp(t?.in,e),i={},a=Cp(r,n);a&&(i.years=a);let o=ip(n,{years:i.years}),s=xp(r,o);s&&(i.months=s);let c=ip(o,{months:i.months}),l=fp(r,c);l&&(i.days=l);let u=ip(c,{days:i.days}),d=hp(r,u);d&&(i.hours=d);let f=ip(u,{hours:i.hours}),p=_p(r,f);p&&(i.minutes=p);let m=Sp(r,ip(f,{minutes:i.minutes}));return m&&(i.seconds=m),i}var Ep=k(e=>{let t=(e,t=!1,n=!1)=>!e||(e instanceof Date||(e=o(e)?new Date(parseInt(e,10)):new Date(e.split(`+`)[0])),isNaN(e.getTime()))?null:n?e.toLocaleString(`fr`,{month:t?`long`:`numeric`,year:`numeric`,day:`numeric`,hour:`numeric`,minute:`numeric`}):e.toLocaleString(`fr`,{month:t?`long`:`numeric`,year:`numeric`,day:`numeric`}),n=(t,n,r,i=!1,a=!1)=>{let o=``;t&&!(t instanceof Date)&&(t=new Date(t.split(`+`)[0])),n&&!(n instanceof Date)&&(n=new Date(n.split(`+`)[0])),r&&!(r instanceof Date)&&(r=new Date(r.split(`+`)[0])),typeof t==`string`&&(t=new Date(t.split(`+`)[0])),typeof n==`string`&&(n=new Date(n.split(`+`)[0]));let s=t instanceof Date&&isNaN(t.getTime()),c=n instanceof Date&&isNaN(n.getTime()),l=r instanceof Date&&isNaN(r.getTime());if(s&&c&&l)return o;let u={day:`numeric`,month:i?`long`:`numeric`,year:i?`numeric`:`2-digit`},d=t?.toLocaleString(`fr`,u),f=n?.toLocaleString(`fr`,u),p=r?.toLocaleString(`fr`,u),m=e.$i18n.t;return o=d&&f&&d!==`Invalid Date`&&f!==`Invalid Date`?d===f?`${m(`dates.the`)} ${d}`:`${m(`dates.from`)} ${d} ${m(`dates.to`)} ${f}`:d&&d!==`Invalid Date`&&!f?`${m(`dates.from_only`)} ${d}`:a?`${m(`dates.created_at`)} ${p}`:`${p&&p!==`Invalid Date`?p:``}`,o},r=e=>{if(e===null)return null;let t=[`janvier`,`février`,`mars`,`avril`,`mai`,`juin`,`juillet`,`août`,`septembre`,`octobre`,`novembre`,`décembre`],[n,r,i]=e.slice(0,10).split(`-`),a=parseInt(i,10),o=t[parseInt(r,10)-1],s=parseInt(n,10);return`${a<10?`0`+a:a} ${o} ${s}`},i=(e,t)=>{let n=Tp({start:new Date(e),end:new Date(t)});return`P${n.years}Y${n.months}M${n.days}DT${n.hours}H${n.minutes}M${n.seconds}S`},a=e=>{if(!Number.isInteger(e)&&!(typeof e==`string`&&/^\d+$/.test(e)))return``;let t=new Date(0),n=ip(t,{hours:Number(e)}),r=Cp(n,t),i=xp(n,ip(t,{years:r})),a=fp(n,ip(t,{years:r,months:i})),o=hp(n,ip(t,{years:r,months:i,days:a})),s=_p(n,ip(t,{years:r,months:i,days:a,hours:o})),c=Sp(n,ip(t,{years:r,months:i,days:a,hours:o,minutes:s}
44)),l=`P`;return r>0&&(l+=`${r}Y`),i>0&&(l+=`${i}M`),a>0&&(l+=`${a}D`),(o>0||s>0||c>0)&&(l+=`T`,o>0&&(l+=`${o}H`),s>0&&(l+=`${s}M`),c>0&&(l+=`${c}S`)),l},o=e=>typeof e==`number`||typeof e==`string`&&/^\d{10,13}$/.test(e);return{provide:{dateFormatter:{convertHoursToISO8601:a,formatDateForDisplay:t,formatDateIsoForDisplay:r,formatEventDatesForDisplay:n,getISODuration:i}}}}),Dp=k(e=>({provide:{distanceCalculator:{calculateDistanceBetweenCoordinates:(e,t)=>{let n=(t.lat-e.lat)*(Math.PI/180),r=(t.lon-e.lon)*(Math.PI/180),i=Math.sin(n/2)*Math.sin(n/2)+Math.cos(e.lat*(Math.PI/180))*Math.cos(t.lat*(Math.PI/180))*Math.sin(r/2)*Math.sin(r/2);return 6371*(2*Math.atan2(Math.sqrt(i),Math.sqrt(1-i)))*1e3}}}})),Op=k(e=>{let t=D(),n=t.public.crfEnv===`development`||t.public.crfEnv===`recette`;if(typeof window<`u`&&(window.dataLayer=window.dataLayer||[],n)){let e=window.dataLayer.push.bind(window.dataLayer);window.dataLayer.push=function(...t){for(let e of t)e&&typeof e==`object`&&`event`in e&&e.event===`gtm.custom_event`&&console.log(`[GTM event]`,e);return e.apply(window.dataLayer,t)}}let r=bn({id:`GTM-WP6QW2W`,enabled:!1,debug:!1,loadScript:!0,defer:!0,compatibility:!1,trackOnNextTick:!1,vueRouter:e.$router});return e.vueApp.use(r),ot(()=>{xn()?.enable(!0)}),{provide:{gtm:{push:e=>{typeof window<`u`&&window.dataLayer&&window.dataLayer.push(e)},trackEvent:r.trackEvent,trackView:r.trackView}}}}),kp=t(((e,t)=>{(function(n,r){typeof e==`object`&&typeof t<`u`?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.createAutoConsoleGroup={}))})(e,function(e){let t=`font-weight: normal;`,n=`font-weight: bold;`,r=`default`,i=Object.freeze({assert:!0,error:!0,warn:!0}),a={expand:!1,defaultEvent:void 0,event:void 0,label:`AutoConsoleGroup`,showTime:!0},o={profile:0,profileEnd:0,timeStamp:0,trace:0},s=e=>{let t=e.event||e.defaultEvent;return t?`${t}`:``},c=Object.assign(console);function l(){let e=new Date,t=(t,n)=>e[t]().toString().padStart(n,`0`);return`@ ${t(`getHours`,2)}:${t(`getMinutes`,2)}:${t(`getSeconds`,2)}.${t(`getMilliseconds`,3)}`}let{fromEntries:u,keys:d}=Object,f=e=>[e,c[e]],p=e=>t=>[t,function(n){e[t]=n}],m=(e,t)=>u(d(e).map(t));function h(e={}){let u={},d={},h=[],g={...a,expand:!e.collapsed||a.expanded,...e},_=``;function v(){h.length=0,_=``}function y(){delete g.event,v()}let b=()=>h.some(([e])=>e in i),ee=()=>b()?!0:!!g.expand,te=()=>g.showTime?_:``;function x(){if(h.length===0){y();return}c[ee()?`group`:`groupCollapsed`](`%c${g.label}%c ${s(g)} %c${te()}`,t,n,`font-weight: normal;font-style: italic;`);for(let[e,...t]of h)c.assert(e in c,`Unknown console method: ${e}`),e in c&&c[e](...t);c.groupEnd(),y()}function ne(){_===``&&(_=l(),queueMicrotask(()=>queueMicrotask(x)))}function re(e){ne(),g.event=e}function ie(e,...t){h.length===0&&ne(),h.push([e,...t])}let ae=e=>(...t)=>{let n;try{n=e(...t)}catch(e){if(!Error.prototype.isPrototypeOf(e))throw e;ie(`error`,e),x()}return n};function oe(e,...t){e!==!0&&ie(`assert`,e,...t)}function S(e=r){d[e]?d[e]+=1:d[e]=1,ie(`log`,`${e}: ${d[e]}`)}function C(e=r){delete d[e]}function se(e=r){ne(),u[e]=performance.now()}function w(e=r,...t){if(!u[e]){ie(`timeLog`,e,...t);return}ie(`log`,`${e}: ${performance.now()-u[e]} ms`,...t)}function T(e=r){w(e),delete u[e]}let ce=e=>[e,(...t)=>ie(e,...t)];return{...m(g,p(g)),...m(console,ce),...m(o,f),assert:oe,count:S,countReset:C,endAutoGroup:x,errorBoundary:ae,event:re,purge:v,time:se,timeEnd:T,timeLog:w,touch:ne}}let g=typeof window>`u`||typeof window.matchMedia!=`function`?!1:window.matchMedia(`(prefers-color-scheme: dark)`).matches,_=g?`color: #A9C7FB;`:`color: #135CD2;`,v=g?`color: #E3E3E3;`:`color: #1F1F1F;`;e.BOLD=n,e.FOREGROUND=v,e.HIGHLIGHT=_,e.ITALIC=`font-style: italic;`,e.NORMAL=t,e.default=h,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}})})})),Ap=e(t(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(kp()):typeof define==`function`&&define.amd?define([`auto-console-group`],r):(n=typeof globalThis<`u`?globalThis:n||self).createResizer=r(n.acg)})(e,function(e){let t=`5.5.9`,n=`iframeResizer`,r=`autoResize`,i=`
44init`,a=`iframeReady`,o=`load`,s=`message`,c=`onload`,l=`pageInfo`,u=`parentInfo`,d=`reset`,f=`resize`,p=`scroll`,m=`parent`,h=`string`,g=`object`,_=`function`,v=`auto`,y=`none`,b=`both`,ee=`vertical`,te=`horizontal`,x=`[iFrameSizer]`,ne=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),re=Object.freeze({[c]:1,[i]:1,[a]:1}),ie=`expanded`,ae=`collapsed`,oe=Object.freeze({[ie]:1,[ae]:1}),S=`Use of the old name will be removed in a future version of <i>iframe-resizer</>.`,C=(e,t,n,r)=>e.addEventListener(t,n,r||!1),se=(e,t,n)=>e.removeEventListener(t,n,!1),w=e=>{if(!e)return``;let t=-559038744,n=1103547984;for(let r,i=0;i<e.length;i++)r=e.codePointAt(i),t=Math.imul(t^r,2246822519),n=Math.imul(n^r,3266489917);return t^=Math.imul(t^n>>>15,1935289751),n^=Math.imul(n^t>>>15,3405138345),t^=n>>>16,n^=t>>>16,(2097152*(n>>>0)+(t>>>11)).toString(36)},T=e=>e.replace(/[A-Za-z]/g,e=>String.fromCodePoint((e<=`Z`?90:122)>=(e=e.codePointAt(0)+19)?e:e-26)),ce=[`spjluzl`,`rlf`,`clyzpvu`],le=[`<yi>Puchspk Spjluzl Rlf</><iy><iy>`,`<yi>Tpzzpun Spjluzl Rlf</><iy><iy>`,`Aopz spiyhyf pz hchpshisl dpao ivao Jvttlyjphs huk Vwlu-Zvbyjl spjluzlz.<iy><iy><i>Jvttlyjphs Spjluzl</><iy>Mvy jvttlyjphs bzl, <p>pmyhtl-ylzpgly</> ylxbpylz h svd jvza vul aptl spjluzl mll. Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.<iy><iy><i>Vwlu Zvbyjl Spjluzl</><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-jvttlyjphs vwlu zvbyjl wyvqlja aolu fvb jhu bzl pa mvy myll bukly aol alytz vm aol NWS C3 Spjluzl. Av jvumpyt fvb hjjlwa aolzl alytz, wslhzl zla aol <i>spjluzl</> rlf pu <p>pmyhtl-ylzpgly</> vwapvuz av <i>NWSc3</>.<iy><iy>Mvy tvyl pumvythapvu wslhzl zll: <b>oaawz://pmyhtl-ylzpgly.jvt/nws</>`,`<i>NWSc3 Spjluzl Clyzpvu</><iy><iy>Aopz clyzpvu vm <p>pmyhtl-ylzpgly</> pz ilpun bzlk bukly aol alytz vm aol <i>NWS C3</> spjluzl. Aopz spjluzl hssvdz fvb av bzl <p>pmyhtl-ylzpgly</> pu Vwlu Zvbyjl wyvqljaz, iba pa ylxbpylz fvby wyvqlja av il wbispj, wyvcpkl haaypibapvu huk il spjluzlk bukly clyzpvu 3 vy shaly vm aol NUB Nlulyhs Wbispj Spjluzl.<iy><iy>Pm fvb hyl bzpun aopz spiyhyf pu h uvu-vwlu zvbyjl wyvqlja vy dlizpal, fvb dpss ullk av wbyjohzl h svd jvza vul aptl jvttlyjphs spjluzl.<iy><iy>Mvy tvyl pumvythapvu cpzpa <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</>.`,`<iy><yi>Zvsv spjluzl kvlz uva zbwwvya jyvzz-kvthpu</><iy><iy>Av bzl <p>pmyhtl-ylzpgly</> dpao jyvzz kvthpu pmyhtlz fvb ullk lpaoly aol Wyvmlzzpvuhs vy Ibzpulzz spjluzlz. Mvy klahpsz vu bwnyhkl wypjpun wslhzl jvuahja [email protected].`,`Pu whnl spurpun ylxbpylz h Wyvmlzzpvuhs vy Ibzpulzz spjluzl. Wslhzl zll <b>oaawz://pmyhtl-ylzpgly.jvt/wypjpun</> mvy tvyl klahpsz.`],ue=[`NWSc3`,`zvsv`,`wyv`,`ibzpulzz`,`vlt`],E=Object.fromEntries([`2cgs7fdf4xb`,`1c9ctcccr4z`,`1q2pc4eebgb`,`ueokt0969w`,`w2zxchhgqz`,`1umuxblj2e5`,`2b5sdlfhbev`,`zo4ui3arjo`,`oclbb4thgl`].map((e,t)=>[e,Math.max(0,t-1)])),D=e=>T(le[e]),O=e=>{let t=e[T(ce[0])]||e[T(ce[1])]||e[T(ce[2])];if(!t)return-1;let n=t.split(`-`),r=function(e=``){let t=-2,n=w(T(e));return n in E&&(t=E[n]),t>4?t-4:t}(n[0]);return r===0||(e=>e[2]===w(e[0]+e[1]))(n)||(r=-2),r},de=Object.hasOwn||((e,t)=>Object.prototype.hasOwnProperty.call(e,t)),k={br:` 45`,rb:`\x1B[31;1m`,bb:`\x1B[34;1m`,b:`\x1B[1m`,i:`\x1B[3m`,u:`\x1B[4m`,"/":`\x1B[m`},A=Object.keys(k),fe=RegExp(`<(${A.join(`|`)})>`,`gi`),pe=(e,t)=>k[t]??``,me=e=>t=>e(typeof t==h?window.chrome?t.replace(fe,pe):(e=>e.replaceAll(`<br>`,` 46`).replaceAll(/<\/?[^>]+>/gi,``))(t):t),j={},he=(ge=e,ge?.__esModule?ge.default:ge);var ge;let _e=!0,ve=he({expand:!1,label:m}),ye=e=>window.top===window.self?`parent(${e})`:`nested parent(${e})`,M=e=>(t,...n)=>j[t]?j[t].console[e](...n):ve[e](...n);var be;let N=(be=`log`,(e,...t)=>!0===(e=>j[e]?j[e].log:_e)(e)?M(be)(e,...t):null),xe=M(`warn`),Se=M(`error`),Ce=M(`event`),we=M(`purge`),Te=M(`endAutoGroup`),Ee=M(`errorBoundary`),De=me(e=>e),P=(e,...t)=>j[e]?j[e].console.warn(...t.map(De)):queueMicrotask(()=>{let r=me((e=>(...t)=>[`${n}(${e})`,...t].join(` `))(e));console?.warn(...t.map(r))}),Oe=(e=>(t,n=`renamed to`)=>(r,i,a=``,o=``)=>e(o,`<rb>Deprecated ${t}(${r.replace(`()`,``)})</>\n\nThe <b>${r}</> ${t.toLowerCase()} has been ${n} <b>${i}</>. ${a}Use of the old ${t.toLowerCase()} will be removed in a future version of <i>iframe-resizer</>.`))(P)(`Option`);function ke(e){let{checkOrigin:t,iframe:{id:n,src:r,sandbox:i},initialisedFirstPage:a,waitForLoad:o,warningTimeout:s}
46=e,c=(e=>{try{return new URL(e).origin}catch{return null}})(r);Ce(n,`noResponse`),P(n,`<rb>No response from iframe</>\n\nThe iframe (<i>${n}</>) has not responded within ${s/1e3} seconds. Check <b>@iframe-resizer/child</> package has been loaded in the iframe.\n${t&&c?`\nThe <b>checkOrigin</> option is currently enabled. If the iframe redirects away from <i>${c}</>, then the connection to the iframe may be blocked by the browser. To disable this option, set <b>checkOrigin</> to <bb>false</> or an array of allowed origins. See <u>https://iframe-resizer.com/checkorigin</> for more information.\n`:``}${o&&!a?` 47The <b>waitForLoad</> option is currently set to <bb>true</>. If the iframe loads before <i>iframe-resizer</> runs, this option will prevent <i>iframe-resizer</> initialising. To disable this option, set <b>waitForLoad</> to <bb>false</>. 48`:``}${(e=>typeof e==g&&e.length>0&&!(e.contains(`allow-scripts`)&&e.contains(`allow-same-origin`)))(i)?` 49The iframe has the <b>sandbox</> attribute, please ensure it contains both the <bb>allow-same-origin</> and <bb>allow-scripts</> values. 50`:``}\nThis message can be ignored if everything is working, or you can set the <b>warningTimeout</> option to a higher value or zero to suppress this warning.\n`)}let Ae={},je=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyPadding:null,checkOrigin:!0,direction:ee,firstRun:!0,inPageLinks:!1,heightCalculationMethod:v,id:`iFrameResizer`,log:!1,logExpand:!1,license:void 0,mouseEvents:!0,offsetHeight:null,offsetWidth:null,postMessageTarget:null,sameDomain:!1,scrolling:!1,sizeHeight:!0,sizeWidth:!1,tolerance:0,waitForLoad:!1,warningTimeout:5e3,widthCalculationMethod:v,onBeforeClose:()=>!0,onAfterClose(){},onInit:!1,onMessage:null,onMouseEnter(){},onMouseLeave(){},onReady:e=>{typeof j[e.id].onInit==_&&(Oe(`init()`,`onReady()`,``,e.id),j[e.id].onInit(e))},onResized(){},onScroll:()=>!0}),F={position:null,version:t};function Me(n){function a(){Be(O),Re(A),ce(`onResized`,O)}function c(e){return e.boxSizing===`border-box`?(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0):0}function g(e){return e.boxSizing===`border-box`?(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0):0}let _=e=>E.slice(E.indexOf(`:`)+7+e),v=(e,t)=>(n,r)=>{let i={};var a=function(){He(`${n} (${e})`,`${e}:${t()}`,r)},o;i[o=r]||(a(),i[o]=requestAnimationFrame(()=>{i[o]=null}))},y=(e,t)=>()=>{let n=!1,r=t=>()=>{j[l]?n&&n!==t||(e(t,l),n=t,requestAnimationFrame(()=>{n=!1})):c()},i=r(p),a=r(`resize window`);function s(e,t){t(window,p,i),t(window,f,a)}function c(){Ce(l,`stop${t}`),s(0,se),u.disconnect(),d.disconnect(),se(j[l].iframe,o,c)}let l=A,u=new ResizeObserver(r(`pageObserver`)),d=new ResizeObserver(r(`iframeObserver`));j[l]&&(j[l][`stop${t}`]=c,C(j[l].iframe,o,c),s(0,C),u.observe(document.body,{attributes:!0,childList:!0,subtree:!0}),d.observe(j[l].iframe,{attributes:!0,childList:!1,subtree:!1}))},b=e=>()=>{e in j[A]&&(j[A][e](),delete j[A][e])},ee=v(l,function(){let e=document.body.getBoundingClientRect(),t=O.iframe.getBoundingClientRect(),{scrollY:n,scrollX:r,innerHeight:i,innerWidth:a}=window,{clientHeight:o,clientWidth:s}=document.documentElement;return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(o,i||0),clientWidth:Math.max(s,a||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:n,scrollLeft:r,documentHeight:o,documentWidth:s,windowHeight:i,windowWidth:a})}),te=v(u,function(){let{iframe:e}=O,{scrollWidth:t,scrollHeight:n}=document.documentElement,{width:r,height:i,offsetLeft:a,offsetTop:o,pageLeft:s,pageTop:c,scale:l}=window.visualViewport;return JSON.stringify({iframe:e.getBoundingClientRect(),document:{scrollWidth:t,scrollHeight:n},viewport:{width:r,height:i,offsetLeft:a,offsetTop:o,pageLeft:s,pageTop:c,scale:l}})}),ne=y(ee,`PageInfo`),re=y(te,`ParentInfo`),ie=b(`stopPageInfo`),ae=b(`stopParentInfo`);function oe(e){let t=e.getBoundingClientRect();return Ie(),{x:Number(t.left)+Number(F.position.x),y:Number(t.top)+Number(F.position.y)}}function S(t){let n=t?oe(O.iframe):{x:0,y:0};N(A,`Reposition requested (offset x:%c${n.x}%c y:%c${n.y})`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT);let r=((e,t)=>({x:e.width+t.x,y:e.height+t.y}))(O,n),i=window.parentIframe||window.parentIFrame;i?function(e,n){setTimeout(()=>e[`scrollTo`+(t?`Offset`:``)](n.x,n.y))}(i,r):function(e){F.position=e,w(A)}(r)}function w(e){let{x:t,y:n}=F.position,r=j[e]?.iframe;!1===ce(`onScroll`,{iframe:r,top:n,left:t,x:t,y:n})?Le():Re(e)}function T(e){let t={};
50if(O.width===0&&O.height===0){let e=_(9).split(`:`);t={x:e[1],y:e[0]}}else t={x:O.width,y:O.height};ce(e,{iframe:O.iframe,screenX:Number(t.x),screenY:Number(t.y),type:O.type})}let ce=(e,t)=>Ne(A,e,t);function le(){let{height:n,iframe:o,msg:c,type:f,width:p}=O;switch(j[A]?.firstRun&&function(){j[A]&&(Ke(A,O.mode),j[A].firstRun=!1)}(),f){case`close`:Fe(o);break;case s:h=_(6),ce(`onMessage`,{iframe:O.iframe,message:JSON.parse(h)});break;case`mouseenter`:T(`onMouseEnter`);break;case`mouseleave`:T(`onMouseLeave`);break;case`beforeUnload`:N(A,`Ready state reset`),j[A].initialised=!1;break;case r:j[A].autoResize=JSON.parse(_(9));break;case`scrollBy`:(function(){let t=O.width,n=O.height,r=window.parentIframe||window.parentIFrame||window;N(A,`scrollBy: x: %c${t}%c y: %c${n}`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),r.scrollBy(t,n)})();break;case`scrollTo`:S(!1);break;case`scrollToOffset`:S(!0);break;case l:ne();break;case u:re();break;case`pageInfoStop`:ie();break;case`parentInfoStop`:ae();break;case`inPageLink`:(function(t){let n=t.split(`#`)[1]||``,r=decodeURIComponent(n),i=document.getElementById(r)||document.getElementsByName(r)[0];i?function(){let t=oe(i);N(A,`Moving to in page link: %c#${n}`,e.HIGHLIGHT),F.position={x:t.x,y:t.y},w(A),window.location.hash=n}():window.top!==window.self&&function(){let e=window.parentIframe||window.parentIFrame;e&&e.moveToAnchor(n)}()})(_(9));break;case`title`:(function(t,n){j[n]?.syncTitle&&(j[n].iframe.title=t,N(n,`Set iframe title attribute: %c${t}`,e.HIGHLIGHT))})(c,A);break;case d:ze(O);break;case i:a(),function(e){try{j[e].sameOrigin=!!j[e]?.iframe?.contentWindow?.iframeChildListener}catch{j[e].sameOrigin=!1}}(A),(m=c)!==t&&(m!==void 0||P(A,`<rb>Legacy version detected in iframe</> 51 52Detected legacy version of child page script. It is recommended to update the page in the iframe to use <b>@iframe-resizer/child</>. 53 54See <u>https://iframe-resizer.com/setup/#child-page-setup</> for more details. 55`)),j[A].initialised=!0,ce(`onReady`,o);break;default:if(p===0&&n===0)return void xe(A,`Unsupported message received (${f}), this is likely due to the iframe containing a later version of iframe-resizer than the parent page`);if(p===0||n===0||document.hidden)return;a()}var m,h}function ue(e){if(!j[e])throw Error(`${O.type} No settings for ${e}. Message was: ${E}`)}let E=n.data;if(E===`[iFrameResizerChild]Ready`)return D=n.source,void Object.values(j).forEach((e=>({initChild:t,postMessageTarget:n})=>{e===n&&t()})(D));var D;if(!(e=>x===`${e}`.slice(0,13)&&e.slice(13).split(`:`)[0]in j)(E)){if(typeof E!=h)return;Ce(m,`ignoredMessage`);return}let O=function(e){let t=e.slice(13).split(`:`),n=t[1]?Number(t[1]):0,r=j[t[0]]?.iframe,i=getComputedStyle(r),a={iframe:r,id:t[0],height:n+c(i)+g(i),width:Number(t[2]),type:t[3],msg:t[4]};return t[5]&&(a.mode=t[5]),a}(E),{id:de,type:k}=O,A=de;A?(Ce(A,k),Ee(A,function(e){ue(A),O.type in{true:1,false:1,undefined:1}||(O.iframe!==null||(xe(A,`The iframe (${O.id}) was not found.`),0))&&function(){let{origin:e,sameOrigin:t}=n;if(t)return!0;let r=j[A]?.checkOrigin;if(r&&`${e}`!=`null`&&!(r.constructor===Array?function(){let t=0,n=!1;for(;t<r.length;t++)if(r[t]===e){n=!0;break}return n}():function(){let t=j[A]?.remoteHost;return e===t}()))throw Error(`Unexpected message received from: ${e} for ${O.iframe.id}. Message was: ${n.data}. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.`);return!0}()&&le()})(E)):xe(``,`iframeResizer received messageData without id, message was: `,E)}function Ne(e,t,n){let r=null,i=null;if(j[e]){if(r=j[e][t],typeof r!=_)throw TypeError(`${t} on iFrame[${e}] is not a function`);if(t===`onBeforeClose`||t===`onScroll`)try{i=r(n)}catch(n){console.error(n),xe(e,`Error in ${t} callback`)}else((e,...t)=>{setTimeout(()=>e(...t),0)})(r,n)}return i}function Pe(e){let{id:t}=e;delete j[t],delete e.iframeResizer}function Fe(e){let{id:t}=e;if(!1!==Ne(t,`onBeforeClose`,t)){try{e.parentNode&&e.remove()}catch(e){xe(t,e)}Ne(t,`onAfterClose`,t),Pe(e)}}function Ie(e){F.position===null&&(F.position={x:window.scrollX,y:window.scrollY})}function Le(){F.position=null}function Re(t){F.position!==null&&(window.scrollTo(F.position.x,F.position.y),N(t,`Set page position: %c${F.position.x}%c, %c${F.position.y}`,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),Le())}function ze(e){Ie(e.id),Be(e),He(d,d,e.id)}function Be(t){function n(n){let i=`${t[n]}px`;
55t.iframe.style[n]=i,N(r,`Set ${n}: %c${i}`,e.HIGHLIGHT)}let{id:r}=t,{sizeHeight:i,sizeWidth:a}=j[r];i&&n(`height`),a&&n(`width`)}let Ve=e=>e.split(`:`).filter((e,t)=>t!==19).join(`:`);function He(t,n,r){function i(i){let a=t in re?Ve(n):n;N(r,i,e.HIGHLIGHT,e.FOREGROUND,e.HIGHLIGHT),N(r,`Message data: %c${a}`,e.HIGHLIGHT)}Ce(r,t),j[r]&&(j[r]?.postMessageTarget?function(){let{iframe:e,postMessageTarget:a,sameOrigin:o,targetOrigin:s}=j[r];if(o)try{e.contentWindow.iframeChildListener(x+n),i(`Sending message to iframe %c${r}%c via same origin%c`);return}catch{t in re?j[r].sameOrigin=!1:xe(r,`Same origin messaging failed, falling back to postMessage`)}i(`Sending message to iframe: %c${r}%c targetOrigin: %c${s}`),a.postMessage(x+n,s)}():xe(r,`Iframe(${r}) not found`))}let Ue=0,We=!1,Ge=!1;function Ke(n,r=-3){if(We)return;let i=Math.max(j[n].mode,r);if(i>j[n].mode&&(j[n].mode=i),i<0)throw we(n),j[n].vAdvised||P(n||`Parent`,`${D(i+2)}${D(2)}`),j[n].vAdvised=!0,D(i+2).replace(/<\/?[a-z][^>]*>|<\/>/gi,``);i>0&&Ge||function(t,n){queueMicrotask(()=>console.info(`%ciframe-resizer ${t}`,_e||n<1?`font-weight: bold;`:e.NORMAL))}(`v${t} (${(e=>T(ue[e]))(i)})`,i),i<1&&P(`Parent`,D(3)),We=!0}function qe(){!0!==document.hidden&&((e,t)=>{Object.values(j).filter(({autoResize:e,firstRun:t})=>e&&!t).forEach(({iframe:n})=>He(e,t,n.id))})(`tabVisible`,f)}let Je=(e=>{let t=!1;return function(){return t?void 0:(t=!0,Reflect.apply(e,this,arguments))}})(()=>{C(window,s,Me),C(document,`visibilitychange`,qe),window.iframeParentListener=e=>setTimeout(()=>Me({data:e,sameOrigin:!0}))});return t=>l=>{function u(){j[T]?.heightCalculationMethod in ne&&ze({iframe:l,height:1,width:1,type:i})}function d(){if(j[T]){let{iframe:e}=j[T],t={close:Fe.bind(null,e),disconnect:Pe.bind(null,e),removeListeners(){P(T,`<rb>Deprecated Method Name</>\n\nThe <b>removeListeners()</> method has been renamed to <b>disconnect()</>. ${S}\n`),this.disconnect()},resize(){P(T,`<rb>Deprecated Method</> 56 57Use of the <b>resize()</> method from the parent page is deprecated and will be removed in a future version of <i>iframe-resizer</>. As their are no longer any edge cases that require triggering a resize from the parent page, it is recommended to remove this method from your code.`),He.bind(null,`Window resize`,f,T)},moveToAnchor(e){((e,t,n)=>{if(typeof e!==t)throw TypeError(`${n} is not a ${r=t,r.charAt(0).toUpperCase()+r.slice(1)}`);var r})(e,h,`moveToAnchor(anchor) anchor`),He(`Move to anchor`,`moveToAnchor:${e}`,T)},sendMessage(e){e=JSON.stringify(e),He(s,`${s}:${e}`,T)}};e.iframeResizer=t,e.iFrameResizer=t}}function p(e,t){let n=n=>()=>{if(!j[e])return;let{firstRun:r,iframe:a}=j[e];He(n,t,e),(e=>e===i)(n)&&(e=>e.loading===`lazy`)(a)||function(e,t){let n=t[e],{msgTimeout:r,warningTimeout:i}=n;i&&(r&&clearTimeout(r),n.msgTimeout=setTimeout(function(){let n=t[e];n!==void 0&&((e=>{e.msgTimeout=void 0})(n),function(e){let{initialised:t}=e;return t&&(e.initialisedFirstPage=!0),t}(n)||ke(n))},i))}(e,j),r||u()},{iframe:r}=j[e];j[e].initChild=n(a),function(e,t){C(e,o,()=>setTimeout(t,1))}(r,n(c)),function(e,t){let{iframe:n,waitForLoad:r}=j[e];!0!==r&&((e=>{let{src:t,srcdoc:n}=e;return!n&&(t==null||t===``||t===`about:blank`)})(n)?setTimeout(()=>{Ce(e,`noContent`),N(e,`No content detected in the iframe, delaying initialisation`)}):setTimeout(t))}(e,n(i))}function m(e){return e?((`sizeWidth`in e||`sizeHeight`in e||r in e)&&P(T,`<rb>Deprecated Option</>\n\nThe <b>sizeWidth</>, <b>sizeHeight</> and <b>autoResize</> options have been replaced with new <b>direction</> option which expects values of <bb>${ee}</>, <bb>${te}</>, <bb>${b}</> or <bb>${y}</>.\n`),e):{}}function _(e){let t=j[e]?.iframe?.title;return t===``||t===void 0}function x(e,t){de(j[T],e)&&(P(T,`<rb>Deprecated option</>\n\nThe <b>${e}</> option has been renamed to <b>${t}</>. ${S}`),j[T][t]=j[T][e],delete j[T][e])}let re=e=>de(e,`onMouseEnter`)||de(e,`onMouseLeave`);function se(t){var n,r;j[T]={...j[T],iframe:l,remoteHost:l?.src.split(`/`).slice(0,3).join(`/`),...je,...m(t),mouseEvents:re(t),mode:O(t),syncTitle:_(T)},x(`offset`,`offsetSize`),x(`onClose`,`onBeforeClose`),x(`onClosed`,`onAfterClose`),Ce(T,`setup`),function(){let{direction:e}=j[T];switch(e){case ee:break;case te:j[T].sizeHeight=!1;case b:j[T].sizeWidth=!0;break;case y:j[T].sizeWidth=!1,j[T].sizeHeight=!1,j[T].autoResize=!1;break;default:throw TypeError(T,`Direction value of "${e}
57" is not valid`)}}(),(n=t?.offsetSize||t?.offset)&&(j[T].direction===ee?j[T].offsetHeight=n:j[T].offsetWidth=n),j[T].warningTimeout||N(T,`warningTimeout:%c disabled`,e.HIGHLIGHT),j[T].postMessageTarget===null&&(j[T].postMessageTarget=l.contentWindow),j[T].targetOrigin=!0===j[T].checkOrigin?(r=j[T].remoteHost)===``||r.match(/^(about:blank|javascript:|file:\/\/)/)!==null?`*`:r:`*`}let w=()=>n in l,T=function(e){if(e&&typeof e!=h)throw TypeError(`Invalid id for iFrame. Expected String`);return e!==``&&e||(e=function(){let e=t?.id||je.id+Ue++;return document.getElementById(e)!==null&&(e+=Ue++),e}(),l.id=e,Ce(e,`assignId`)),e}(l.id);if(typeof t!=g)throw TypeError(`Options is not an object`);return function(e){let{search:t}=window.location;t.includes(`ifrlog`)&&(e.log=ae,e.logExpand=t.includes(`ifrlog=expanded`))}(t),function(e,t){let n=de(t,`log`),r=typeof t.log==h,i=n?!!r||t.log:je.log;de(t,`logExpand`)||(t.logExpand=n&&r?t.log===ie:je.logExpand),function(e){e?.log===-1&&(e.log=!1,Ge=!0)}(t),function({enabled:e,expand:t,iframeId:n}){let r=he({expand:t,label:ye(n)});_e=e,j[n]||(j[n]={console:r})}({enabled:i,expand:t.logExpand,iframeId:e}),r&&!(t.log in oe)&&Se(e,`Invalid value for options.log: Accepted values are "expanded" and "collapsed"`),t.log=i}(T,t),Ee(T,function(e){w()?xe(T,`Ignored iframe (${T}), already setup.`):(se(e),function(e){if(!0===Ae[e])return!1;let t=document.querySelectorAll(`iframe#${CSS.escape(e)}`);if(t.length<=1)return!0;Ae[e]=!0;let n=Array.from(t).flatMap(e=>[` 58`,e,` 59`]);P(e,`<rb>Duplicate ID attributes detected</>\n\nThe <b>${e}</> ID is not unique. Having multiple iframes on the same page with the same ID causes problems with communication between the iframe and parent page. Please ensure that the ID of each iframe has a unique value.\n\nFound <bb>${t.length}</> iframes with the <b>${e}</> ID:`,...n,` 60`)}(T),function(){if(We)return;let{mode:e}=j[T];e!==-1&&Ke(T,e)}(),Je(),function(){switch(l.style.overflow=!1===j[T]?.scrolling?`hidden`:v,j[T]?.scrolling){case`omit`:break;case!0:l.scrolling=`yes`;break;case!1:l.scrolling=`no`;break;default:l.scrolling=j[T]?j[T].scrolling:`no`}}(),function(){let{bodyMargin:e}=j[T];typeof e!=`number`&&e!==`0`||(j[T].bodyMargin=`${e}px`)}(),p(T,function(e){let{autoResize:t,bodyBackground:n,bodyMargin:r,bodyPadding:i,heightCalculationMethod:a,inPageLinks:o,license:s,log:c,logExpand:l,mouseEvents:u,offsetHeight:d,offsetWidth:f,mode:p,sizeHeight:m,sizeWidth:h,tolerance:g,widthCalculationMethod:_}=j[e];return[e,`8`,h,c,`32`,!0,t,r,a,n,i,g,o,`child`,_,u,d,f,m,s,F.version,p,``,l].join(`:`)}(T)),d(),Te(T))})(t),l?.iframeResizer}})}))()),jp=`font-weight: normal;`,Mp=`font-weight: bold;`,Np=`font-weight: normal;font-style: italic;`,Pp=`default`,Fp=`error`,Ip=`log`,Lp=Object.freeze({assert:!0,error:!0,warn:!0}),Rp={expand:!1,defaultEvent:void 0,event:void 0,label:`AutoConsoleGroup`,showTime:!0},zp={profile:0,profileEnd:0,timeStamp:0,trace:0},Bp=e=>{let t=e.event||e.defaultEvent;return t?`${t}`:``},Vp=Object.assign(console);function Hp(){let e=new Date,t=(t,n)=>e[t]().toString().padStart(n,`0`);return`@ ${t(`getHours`,2)}:${t(`getMinutes`,2)}:${t(`getSeconds`,2)}.${t(`getMilliseconds`,3)}`}var{fromEntries:Up,keys:Wp}=Object,Gp=e=>[e,Vp[e]],Kp=e=>t=>[t,function(n){e[t]=n}],qp=(e,t)=>Up(Wp(e).map(t));function Jp(e={}){let t={},n={},r=[],i={...Rp,expand:!e.collapsed||Rp.expanded,...e},a=``;function o(){r.length=0,a=``}function s(){delete i.event,o()}let c=()=>r.some(([e])=>e in Lp),l=()=>c()?!0:!!i.expand,u=()=>i.showTime?a:``;function d(){if(r.length===0){s();return}Vp[l()?`group`:`groupCollapsed`](`%c${i.label}%c ${Bp(i)} %c${u()}`,jp,Mp,Np);for(let[e,...t]of r)Vp.assert(e in Vp,`Unknown console method: ${e}`),e in Vp&&Vp[e](...t);Vp.groupEnd(),s()}function f(){a===``&&(a=Hp(),queueMicrotask(()=>queueMicrotask(d)))}function p(e){f(),i.event=e}function m(e,...t){r.length===0&&f(),r.push([e,...t])}let h=e=>(...t)=>{let n;try{n=e(...t)}catch(e){if(!Error.prototype.isPrototypeOf(e))throw e;m(Fp,e),d()}return n};function g(e,...t){e!==!0&&m(`assert`,e,...t)}function _(e=Pp){n[e]?n[e]+=1:n[e]=1,m(Ip,`${e}: ${n[e]}`)}function v(e=Pp){delete n[e]}function y(e=Pp){f(),t[e]=performance.now()}function b(e=Pp,...n){if(!t[e]){m(`timeLog`,e,...n);return}m(Ip,`${e}: ${performance.now()-t[e]} ms`,...n)}function ee(e=Pp){b(e),delete t[e]}let te=e=>[e,(...t)=>m(e,...t)];return{...qp(i,Kp(i)),...qp(console,te),...qp(zp,Gp),assert:g,count:_,countReset:v,endAutoGroup:d,errorBoundary:h,event:p,purge:o,time:y,timeEnd:ee,t
60imeLog:b,touch:f}}typeof window>`u`||typeof window.matchMedia!=`function`||window.matchMedia(`(prefers-color-scheme: dark)`).matches;var Yp=`expanded`,Xp=`collapsed`,Zp=(e=>e?.__esModule?e.default:e)(Jp),Qp={name:`IframeResizer`,props:{license:{type:String,required:!0},bodyBackground:{type:String},bodyMargin:{type:String},bodyPadding:{type:String},checkOrigin:{type:Boolean,default:!0},direction:{type:String},log:{type:[String,Boolean,Number],validator:e=>{switch(e){case Xp:case Yp:case!1:case!0:case-1:return!0;default:return!1}},default:void 0},inPageLinks:{type:Boolean},offset:{type:Number},scrolling:{type:Boolean},tolerance:{type:Number},warningTimeout:{type:Number}},mounted(){let e=this,{iframe:t}=this.$refs,n={...Object.fromEntries(Object.entries(this.$props).filter(([e,t])=>t!==void 0)),waitForLoad:!0,onBeforeClose:()=>(r.event(`Blocked Close Event`),r.warn(`Close method is disabled, use Vue to remove iframe`),!1),onReady:(...t)=>e.$emit(`onReady`,...t),onMessage:(...t)=>e.$emit(`onMessage`,...t),onResized:(...t)=>e.$emit(`onResized`,...t)};e.resizer=(0,Ap.default)(n)(t);let r=Zp({label:`vue(${t.id})`,expand:n.logExpand});r.event(`setup`),[Xp,Yp,!0].includes(n.log)&&r.log(`Created Vue component`)},beforeUnmount(){this.resizer?.disconnect()},methods:{moveToAnchor(e){this.resizer.moveToAnchor(e)},resize(){this.resizer.resize()},sendMessage(e,t){this.resizer.sendMessage(e,t)}}};function $p(e,t,n,r,i,a){return S(),w(`iframe`,c({ref:`iframe`},e.$attrs),null,16)}Qp.render=$p,Qp.__file=`./iframe-resizer.vue`;var em={install(e){e.component(`IframeResizer`,Qp)}},tm=k(e=>{e.vueApp.use(em)}),nm=k(()=>{let e=e=>e===null?`/${An}`:e,t=e=>e!==null&&(e.startsWith(`https`)||e.startsWith(`http`)||e.startsWith(`//`));return{provide:{imageHandler:{getNuxtImageUrl:e,getNuxtImageProvider:e=>t(e)?Mn:`ipx`,getNuxtPresetContentfulCard:e=>t(e)?En:Dn,getNuxtPresetContentfulEditorialContent:e=>t(e)?Sn:Nn,getNuxtPresetContentfulFeatured:e=>t(e)?On:wn,getNuxtPresetContentfulPageHeaderImgFullWidth:e=>t(e)?jn:Tn,getNuxtPresetContentfulPageHeaderImgMiddleWidth:e=>t(e)?Cn:kn}}}}),rm=k(e=>({provide:{locationHelper:{buildGeoApiGouvQuery:t=>{let n=e.$i18n.t,r=/^\d{2,4}$/;if(t&&t.match(`^(97|98).*`)&&r.test(t))return`https://geo.api.gouv.fr/departements/${t.slice(0,3)}/communes?fields=nom,centre,codesPostaux&boost=population`;if(t&&r.test(t))return`https://geo.api.gouv.fr/departements/${t.slice(0,2)}/communes?fields=nom,centre,codesPostaux&boost=population`;let i=/(.*)?(?:0[1-9]|[1-8]\d|9[0-8])\d{3}(.*)?$/,a=t?t.split(` `).filter(e=>e.match(i))[0]:null;return a?t===n(`search.near_me`)?``:`https://geo.api.gouv.fr/communes?codePostal=${a}&fields=nom,centre,codesPostaux&boost=population`:t&&t!==n(`search.near_me`)?`https://geo.api.gouv.fr/communes?nom=${t.split(` `).join(`+`)}&fields=nom,centre,codesPostaux&boost=population`:``}}}}));if(typeof window<`u`){let e=EventTarget.prototype.addEventListener,t=[`touchstart`,`touchmove`,`touchend`,`wheel`,`mousewheel`,`DOMMouseScroll`,`scroll`];EventTarget.prototype.addEventListener=function(n,r,i){return t.includes(n)&&(i===void 0||i===!0)&&(i={passive:!0}),e.call(this,n,r,i)}}var im=k(()=>{}),am=t((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[`.`,`/`],e.BLANK_URL=`about:blank`})),om=t((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.sanitizeUrl=void 0;var t=am();function n(e){return t.relativeFirstCharacters.indexOf(e[0])>-1}function r(e){return e.replace(t.ctrlCharactersRegex,``).replace(t.htmlEntitiesRegex,function(e,t){return String.fromCharCode(t)})}function i(e){return URL.canParse(e)}function a(e){try{return decodeURIComponent(e)}catch{return e}}function o(e){if(!e)return t.BLANK_URL;var o,s=a(e.trim());do s=r(s).replace(t.htmlCtrlEntityRegex,``).replace(t.ctrlCharactersRegex,``).replace(t.whitespaceEscapeCharsRegex,``).trim(),s=a(s),o=s.match(t.ctrlCharactersRegex)||s.match(t.htmlEntitiesRegex)||s.match(t.htmlCtrlEntityRegex)||s.match(t.whitespaceEscapeCharsRegex);while(o&&o.length>0);var c=s;if(!c)return t.BLANK_URL;if(n(c))return c;var l=c.trimStart(),u=l.match(t.urlSchemeRegex);if(!u)return c;var d=u[0].toLowerCase().trim();
60if(t.invalidProtocolRegex.test(d))return t.BLANK_URL;var f=l.replace(/\\/g,`/`);if(d===`mailto:`||d.includes(`://`))return f;if(d===`http:`||d===`https:`){if(!i(f))return t.BLANK_URL;var p=new URL(f);return p.protocol=p.protocol.toLowerCase(),p.hostname=p.hostname.toLowerCase(),p.toString()}return f}e.sanitizeUrl=o}))();typeof URL<`u`&&URL.canParse===void 0&&(URL.canParse=(e,t)=>{try{return new URL(e,t),!0}catch{return!1}});var sm=k(()=>({provide:{sanitizeUrl:om.sanitizeUrl}})),cm=k(()=>{`scrollRestoration`in window.history&&(window.history.scrollRestoration=`manual`)}),lm=k(e=>{let t=D().public.frontend_base_url;return{provide:{seoLinkHeadFormatter:{formatRelPrevNextLink:(e,n,r)=>{let i=n===`annuaire`?`&hidden=true`:``,a={rel:`prev`,href:t+`/`+n+`?page=`+(e-1)+i},o={rel:`next`,href:t+`/`+n+`?page=`+(e+1)+i};return e===1?[o]:e===2?e===r?[{rel:`prev`,href:t+`/`+n+i}]:[{rel:`prev`,href:t+`/`+n+i},o]:e===r?[a]:[a,o]}}}}}),um=k(e=>{let t=D().public.frontend_base_url,n=(t,n=`title`)=>{let r=e.$i18n.t,i=r(`pro_training.crc`);return t?t.seo_meta_title?`${t.seo_meta_title} | ${i}`:t[n]||t.name?`${t[n]||t.name} | ${i}`:`${r(`error_page.not_found_title`)} | ${i}`:`${r(`error_page.not_found_title`)} | ${i}`},r=t=>{let n=e.$i18n.t;return`${t} | ${n(`pro_training.crc`)}`},i=e=>({hid:`description`,name:`description`,content:e?.seo_meta_description}),a=e=>{let t=``;return e?.seo_meta_description?t=e?.seo_meta_description:e?.teaser&&(t=e?.teaser.slice(0,160)),{hid:`description`,name:`description`,content:t}};return{provide:{seoMetaDataCRCFormatter:{formatDescription:i,formatDescriptionWithTeaser:a,formatDescriptionWithAnyFields:(e,t=`title`)=>({hid:`description`,name:`description`,content:e[t]}),formatDescriptionWithValue:e=>({hid:`description`,name:`description`,content:e}),formatTitle:n,formatTitleWithValue:r,generateOpenGraph:(e,r=null,i=null,o)=>{let s=i||a(e).content,c=r||n(e),l=o||(e&&e.cover_url?e.cover_url:t+`/crf_logo.png`);return[{hid:`og:title`,name:`og:title`,content:c},{hid:`og:description`,name:`og:description`,content:s},{hid:`og:image`,name:`og:image`,content:l}]}}}}}),dm=k(e=>{let t=Yt(),n=D().public.frontend_base_url,r=(n,r=`title`)=>{let i=e.$i18n.t,a=``;return n?(n.country&&(a=`- ${n.country} `),n.seo_meta_title?`${n.seo_meta_title} ${a}| ${t.siteName}`:`${n[r]} ${a}| ${t.siteName}`):`${i(`error_page.not_found_title`)} | ${t.siteName}`},i=e=>`${e} | ${t.siteName}`,a=e=>({name:`description`,content:e?.seo_meta_description||``}),o=e=>{let t=``;return e?.seo_meta_description?t=e?.seo_meta_description:e?.teaser&&(t=e?.teaser.slice(0,160)),{name:`description`,content:t}};return{provide:{seoMetaDataFormatter:{formatDescription:a,formatDescriptionWithTeaser:o,formatDescriptionWithAnyFields:(e,t=`title`)=>({name:`description`,content:String(e[t]||``)}),formatTitle:r,formatTitleWithValue:i,generateOpenGraph:(e,t=null,i=null,a=null)=>{let s=String(i||o(e).content),c=t||r(e),l=a||(e&&e.cover_url?e.cover_url:n+`/crf_logo.png`);return[{name:`og:title`,content:c},{name:`og:description`,content:s},{name:`og:image`,content:l}]},setCurrentPageTitle:e=>{setTimeout(()=>{t.setCurrentPageTitle(e)},250)}}}}}),fm=k(e=>{e.vueApp.component(`ssr-carousel`,{name:`SsrCarouselStub`,props:{autoplayDelay:{type:Number,default:0},loop:{type:Boolean,default:!1},overflowVisible:{type:Boolean,default:!1},paginateBySlide:{type:Boolean,default:!1},pauseOnFocus:{type:Boolean,default:!0},peekRight:{type:[Number,null],default:null},peekLeft:{type:[Number,null],default:null},gutter:{type:Number,default:0},responsive:{type:Array,default:()=>[]},shouldLoop:{type:Boolean,default:!1},showArrows:{type:Boolean,default:!1},showDots:{type:Boolean,default:!1},slidesPerPage:{type:[Boolean,Number],default:1}},setup(e,{slots:t}){return()=>n(`div`,{tabindex:`0`},t.slides?t.slides():t.default?t.default():[])}})}),pm=k(()=>({provide:{textTruncater:{truncate:(e,t=50)=>{if(e.length<t)return e;let n=e.substring(0,t);return n=n.substring(0,Math.min(n.length,n.lastIndexOf(` `))),`${n}...`}}}})),mm=k(()=>{let e=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series([46])0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,t=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br([ev])w|bumb|bw-([nu])|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do([cp])o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly([-_])|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c([- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac([ \-/])|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja([tv])a|jbro|jemu|jigs|kddi|keji|kgt([ /])|klon|kpt |kwc-|kyo([ck])|le(no|xi)|lg( g|\/([klu])|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t([- ov])|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30([02])|n50([025])|n7(0([01])|10)|ne(([cm])-|on|tf|wf|wg|wt)|nok([6i])|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan([adt])|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c([-01])|47|mc|nd|ri)|sgh-|shar|sie([-m])|sk-0|
60sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel([im])|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c([- ])|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i,n=()=>typeof navigator<`u`?navigator.userAgent:``;return{provide:{userAgentHelper:{deviceType:()=>{let e=n();return{isAndroid:/Android/i.test(e),isIOS:/iPhone|iPad|iPod/i.test(e)}},isMobile:()=>{let e=n();return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series([46])0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br([ev])w|bumb|bw-([nu])|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do([cp])o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly([-_])|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-([mpt])|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c([- _agpst])|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac([ \-/])|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja([tv])a|jbro|jemu|jigs|kddi|keji|kgt([ /])|klon|kpt |kwc-|kyo([ck])|le(no|xi)|lg( g|\/([klu])|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t([- ov])|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30([02])|n50([025])|n7(0([01])|10)|ne(([cm])-|on|tf|wf|wg|wt)|nok([6i])|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan([adt])|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c([-01])|47|mc|nd|ri)|sgh-|shar|sie([-m])|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel([im])|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c([- ])|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e.substr(0,4))||/mobile/i.test(e)},isMobileOrTablet:()=>{let r=n();return r?e.test(r)||t.test(r.slice(0,4)):!1}}}}}),hm=class{t;o=0;i=[];l(e){if(e.hadRecentInput)return;let t=this.i[0],n=this.i.at(-1);this.o&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.o+=e.value,this.i.push(e)):(this.o=e.value,this.i=[e]),this.t?.(e)}},gm=()=>{let e=performance.getEntriesByType(`navigation`)[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},_m=e=>{if(document.readyState===`loading`)return`loading`;let t=gm();if(t){if(e<t.domInteractive)return`loading`;if(t.domContentLoadedEventStart===0||e<t.domContentLoadedEventStart)return`dom-interactive`;if(t.domComplete===0||e<t.domComplete)return`dom-content-loaded`}return`complete`},vm=e=>{let t=e.nodeName;return e.nodeType===1?t.toLowerCase():t.toUpperCase().replace(/^#/,``)},ym=e=>{let t=``;try{for(;e?.nodeType!==9;){let n=e,r=n.id?`#`+n.id:[vm(n),...Array.from(n.classList??[]).sort()].join(`.`);if(t.length+r.length>99)return t||r;if(t=t?r+`>`+t:r,n.id)break;e=n.parentNode}}catch{}return t},bm=new WeakMap;function xm(e,t){let n=bm.get(t);return n||(n=new WeakMap,bm.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var Sm=-1,Cm=()=>Sm,wm=e=>{addEventListener(`pageshow`,t=>{t.persisted&&(Sm=t.timeStamp,e(t))},!0)},Tm=(e,t,n,r)=>{let i,a;return o=>{t.value>=0&&(o||r)&&(a=t.value-(i??0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=((e,t)=>e>t[1]?`poor`:e>t[0]?`needs-improvement`:`good`)(t.value,n),e(t)))}},Em=e=>{requestAnimationFrame(()=>requestAnimationFrame(e))},Dm=()=>gm()?.activationStart??0,Om=-1,km=new Set,Am=()=>document.visibilityState!==`hidden`||document.prerendering?1/0:0,jm=e=>{if(document.visibilityState===`hidden`){if(e.type===`visibilitychange`)for(let e of km)e();isFinite(Om)||(Om=e.type===`visibilitychange`?e.timeStamp:0,removeEventListener(`prerenderingchange`,jm,!0))}},Mm=(e=!1)=>
60{if(e&&(Om=1/0),Om<0){let e=Dm();Om=(document.prerendering?void 0:globalThis.performance.getEntriesByType(`visibility-state`).find(t=>t.name===`hidden`&&t.startTime>=e)?.startTime)??Am(),addEventListener(`visibilitychange`,jm,!0),addEventListener(`prerenderingchange`,jm,!0),wm(()=>{setTimeout(()=>{Om=Am()})})}return{get firstHiddenTime(){return Om},onHidden(e){km.add(e)}}},Nm=(e,t=-1,n,r=0,i,a,o)=>{let s=gm(),c=s?.navigationId||0,l=`navigate`;return n?l=n:Cm()>=0?l=`back-forward-cache`:s&&(document.prerendering||Dm()>0?l=`prerender`:document.wasDiscarded?l=`restore`:s.type&&(l=s.type.replace(/_/g,`-`))),{name:e,value:t,rating:`good`,delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+0xe8d4a51000}`,navigationType:l,navigationId:r||c,navigationInteractionId:i,navigationURL:a||s?.name,navigationStartTime:o||0}},Pm=(e,t,n={})=>{try{let r=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(r.length>0){let e=new PerformanceObserver(e=>{queueMicrotask(()=>{let n=e.getEntries();r.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(let t of r)e.observe({type:t,buffered:!0,...n});return e}}catch{}},Fm=e=>PerformanceObserver.supportedEntryTypes.includes(`soft-navigation`)&&typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint==`function`&&e&&e.reportSoftNavs,Im
60=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){let t=e.keys().next().value;t!==void 0&&e.delete(t)}},Lm=e=>{let t=!1;return()=>{t||=(e(),!0)}},Rm=class{u},zm=e=>{document.prerendering?addEventListener(`prerenderingchange`,e,!0):e()},Bm=[1800,3e3],Vm=(e,t={})=>{let n=Fm(t);zm(()=>{let r=xm(t,Rm),i=Mm(),a,o=Nm(`FCP`),s=Pm([`paint`],e=>{for(let t of e)t.name===`first-contentful-paint`&&(s.disconnect(),t.startTime<i.firstHiddenTime&&(o.value=Math.max(t.startTime-Dm(),0),o.entries.push(t),o.navigationId=t.navigationId||o.navigationId,a(!0)))});s&&(a=Tm(e,o,Bm,t.reportAllChanges),wm(n=>{o=Nm(`FCP`,-1,`back-forward-cache`,o.navigationId,o.navigationInteractionId,o.navigationURL,Cm()),a=Tm(e,o,Bm,t.reportAllChanges),Em(()=>{o.value=performance.now()-n.timeStamp,a(!0)})})),n&&Pm([`soft-navigation`],n=>{n.forEach(n=>{r.u&&n.navigationId&&Im(r.u,n),o=Nm(`FCP`,Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0),`soft-navigation`,n.navigationId,n.interactionId,n.name,n.startTime),a=Tm(e,o,Bm,t.reportAllChanges),a(!0)})},t)})},Hm=[.1,.25],Um=e=>e.find(e=>e.node?.nodeType===1)||e[0],Wm=(e,t={})=>{let n=xm(t=Object.assign({},t),hm),r=new WeakMap;n.t=e=>{if(e?.sources?.length){let n=Um(e.sources),i=n?.node;if(i){let e=t.generateTarget?.(i)??ym(i);r.set(n,e)}}},((e,t={})=>{let n=Mm();Vm(Lm(()=>{let r,i=Nm(`CLS`,0),a=xm(t,hm),o=(n,o,s,c,l)=>{i=Nm(`CLS`,0,n,o,s,c,l),a.o=0,r=Tm(e,i,Hm,t.reportAllChanges)},s=(e=!1)=>{a.o>i.value&&(i.value=a.o,i.entries=a.i),r(e)},c=e=>{s(!0),o(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime)},l=e=>{for(let t of e)t.entryType===`soft-navigation`?c(t):a.l(t);s()},u=[`layout-shift`];Fm(t)&&u.push(`soft-navigation`);let d=Pm(u,l);d&&(r=Tm(e,i,Hm,t.reportAllChanges),n.onHidden(()=>{l(d.takeRecords()),r(!0)}),wm(()=>{o(`back-forward-cache`,i.navigationId,i.navigationInteractionId,i.navigationURL,Cm()),Em(r)}),setTimeout(r))}))})(t=>{e((e=>{let t={};if(e.entries.length){let n=e.entries.reduce((e,t)=>e.value>t.value?e:t);if(n?.sources?.length){let e=Um(n.sources);e&&(t={largestShiftTarget:r.get(e),largestShiftTime:n.startTime,largestShiftValue:n.value,largestShiftSource:e,largestShiftEntry:n,loadState:_m(n.startTime)})}}return Object.assign(e,{attribution:t})})(t))},t)},Gm=0,Km=1/0,qm=0,Jm=e=>{for(let t of e)t.interactionId&&(Km=Math.min(Km,t.interactionId),qm=Math.max(qm,t.interactionId),Gm=qm?(qm-Km)/7+1:0)},Ym,Xm=()=>Ym?Gm:performance.interactionCount??0,Zm=()=>{`interactionCount`in performance||Ym||(Ym=Pm([`event`],Jm,{durationThreshold:0}))},Qm=0,$m=class{h=[];v=new Map;p;m;M(){Qm=Xm(),this.h.length=0,this.v.clear()}T(e){let t=Xm()-Qm,n=Math.min(this.h.length-1,Math.floor(t/50));return!t||n!==-1||e!==`soft-navigation`&&e!==`back-forward-cache`?this.h[n]:{D:8,id:-1,entries:[]}}l(e){if(this.p?.(e),!e.interactionId&&e.entryType!==`first-input`)return;let t=this.h.at(-1),n=this.v.get(e.interactionId);if(n||this.h.length<10||e.duration>t.D){if(n?e.duration>n.D?(n.entries=[e],n.D=e.duration):e.duration===n.D&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],D:e.duration},this.v.set(n.id,n),this.h.push(n)),this.h.sort((e,t)=>t.D-e.D),this.h.length>10){let e=this.h.splice(10);for(let t of e)this.v.delete(t.id)}this.m?.(n)}}},eh=e=>{let t=`requestIdleCallback`in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState===`hidden`)e();else{let i=Lm(e),a=-1,o=()=>{r(a),i()};addEventListener(`visibilitychange`,o,{once:!0,capture:!0}),a=n(()=>{removeEventListener(`visibilitychange`,o,{capture:!0}),i()},{timeout:t})}},th=[200,500],nh=(e,t={})=>{let n=xm(t=Object.assign({},t),$m),r=[],i=[],a=0,o=new WeakMap,s=new WeakMap,c=!1,l=()=>{c||=(eh(u),!0)},u=()=>{let e=new Set(n.h.map(e=>o.get(e.entries[0]))),t=i.length-10;i=i.filter((n,r)=>r>=t||e.has(n));let s=new Set;for(let e of i){let t=d(e.startTime,e.processingEnd);for(let e of t)s.add(e)}r=r.filter(e=>e.startTime>a||s.has(e)),c=!1};n.p=e=>{let n=e.startTime+e.duration,r;a=Math.max(a,e.processingEnd);for(let a=i.length-1;a>=0;a--){let o=i[a];if(Math.abs(n-o.renderTime)<=8){r=o,r.startTime=Math.min(e.startTime,r.startTime),r.processingStart=Math.min(e.processingStart,r.processingStart),r.processingEnd=Math.max(e.processingEnd,r.processingEnd),t.includeProcessedEventEntries&&r.entries.push(e);break}}r||(r={startTime:e.startTime,processingStart:e.processingStart,processingEnd:e.processingEnd,renderTime:n,entries:t.includeProcessedEventEntries?[e]:[]},i.push(r)),(e.interactionId||e.entryType===`first-input`)&&o.set(e,r),l()},n.m=e=>{if(!s.get(e)){let n=e.entries.find(e=>e.target)?.target;if(n){let r=t.generateTarget?.(n)??ym(n);s.set(e,r)}else{let t=e.entries.find(e=>e.targetSelector)?.targetSelector;t&&s.set(e,t)}}};let d=(e,t)=>{let n=[];
60for(let i of r)if(!(i.startTime+i.duration<e)){if(i.startTime>t)break;n.push(i)}return n},f=e=>{if(e.entries.length===0){let t=e.navigationStartTime||0,n={processedEventEntries:[],longAnimationFrameEntries:[],inputDelay:0,processingDuration:0,presentationDelay:e.value,loadState:_m(t)};return Object.assign(e,{attribution:n})}let t=e.entries[0],r=o.get(t),i=r.processingStart,a=Math.max(t.startTime+t.duration,i),c=Math.min(r.processingEnd,a),l=r.entries.sort((e,t)=>e.processingStart-t.processingStart),u=d(t.startTime,c),f=n.v.get(t.interactionId),p={interactionTarget:s.get(f),interactionType:t.name.startsWith(`key`)?`keyboard`:`pointer`,interactionTime:t.startTime,nextPaintTime:a,processedEventEntries:l,longAnimationFrameEntries:u,inputDelay:i-t.startTime,processingDuration:c-i,presentationDelay:a-c,loadState:_m(t.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(e=>{let t=e.interactionTime,n=e.nextPaintTime;if(!e.longAnimationFrameEntries?.length||!t||!n)return;let r=e.inputDelay,i=e.processingDuration,a,o,s=0,c=0,l=0,u=0;for(let n of e.longAnimationFrameEntries){c=c+n.startTime+n.duration-n.styleAndLayoutStart;for(let e of n.scripts){let n=e.startTime+e.duration;if(n<t)continue;let l=n-Math.max(t,e.startTime),d=e.duration?l/e.duration*e.forcedStyleAndLayoutDuration:0;s+=l-d,c+=d,l>u&&(o=e.startTime<t+r?`input-delay`:e.startTime>=t+r+i?`presentation-delay`:`processing-duration`,a=e,u=l)}}let d=e.longAnimationFrameEntries.at(-1),f=d?d.startTime+d.duration:0;f>=t+r+i&&(l=n-f),a&&o&&(e.longestScript={entry:a,subpart:o,intersectingDuration:u}),e.totalScriptDuration=s,e.totalStyleAndLayoutDuration=c,e.totalPaintDuration=l,e.totalUnattributedDuration=n-t-s-c-l})(p),Object.assign(e,{attribution:p})};Pm([`long-animation-frame`],e=>{r=r.concat(e),l()},t),((e,t={})=>{if(!globalThis.PerformanceEventTiming||!(`interactionId`in PerformanceEventTiming.prototype))return;let n=Mm();zm(()=>{Zm();let r,i=Nm(`INP`),a=xm(t,$m),o=(n,o,s,c,l)=>{a.M(),i=Nm(`INP`,-1,n,o,s,c,l),r=Tm(e,i,th,t.reportAllChanges)},s=()=>{let e=a.T(i.navigationType);e&&e.D!==i.value&&(i.value=e.D,i.entries=e.entries,r())},c=e=>{s(),r(!0),o(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime)},l=(e,t=!1)=>{eh(()=>{for(let t of e)t.entryType===`soft-navigation`?c(t):a.l(t);s(),t&&r(!0)})},u=[`event`,`first-input`];Fm(t)&&u.push(`soft-navigation`);let d=Pm(u,l,{...t,durationThreshold:t.durationThreshold??40});r=Tm(e,i,th,t.reportAllChanges),d&&(n.onHidden(()=>{l(d.takeRecords(),!0)}),wm(()=>{o(`back-forward-cache`,i.navigationId,i.navigationInteractionId,i.navigationURL,Cm())}))})})(t=>{e(f(t))},t)},rh=class{p;u;l(e){this.p?.(e)}},ih=[2500,4e3],ah=(e,t={})=>{let n=xm(t=Object.assign({},t),rh),r=new WeakMap;Fm(t)&&(n.u=new Map),n.p=e=>{let n=e.element;if(n){let i=t.generateTarget?.(n)??ym(n);r.set(e,i)}else e.id&&r.set(e,`#${e.id}`)},((e,t={})=>{let n=!1,r=Fm(t);zm(()=>{let i,a=Mm(),o=Nm(`LCP`),s=xm(t,rh),c=(r,s,c,l,u)=>{o=Nm(`LCP`,-1,r,s,c,l,u),i=Tm(e,o,ih,t.reportAllChanges),n=!1,r===`soft-navigation`&&(a=Mm(!0))},l=e=>{s.u&&e.navigationId&&Im(s.u,e),n||i(!0),c(`soft-navigation`,e.navigationId,e.interactionId,e.name,e.startTime);let t=e.getLargestInteractionContentfulPaint?.();t&&u([t])},u=e=>{t.reportAllChanges||r||(e=e.slice(-1));for(let t of e){if(!t)continue;if(t.entryType===`soft-navigation`){l(t);continue}let e=0,n=[],r=t.startTime;if(t.entryType===`largest-contentful-paint`)e=Math.max(t.startTime-Dm(),0),s.l(t),n=[t];else if(t.entryType===`interaction-contentful-paint`){let i=t;if(!o.navigationId||`interactionId`in i&&i.interactionId!=o.navigationInteractionId)continue;r=i.largestContentfulPaint?.renderTime||0,e=Math.max(r-t.startTime,0),i.largestContentfulPaint&&(s.l(i.largestContentfulPaint),n=[i.largestContentfulPaint])}r<a.firstHiddenTime&&(o.value=e,o.entries=n,i())}},d=[`largest-contentful-paint`];r&&d.push(`interaction-contentful-paint`,`soft-navigation`);let f=Pm(d,u);if(f){i=Tm(e,o,ih,t.reportAllChanges);let a=[`keydown`,`click`,`visibilitychange`],s=e=>{if(e.isTrusted&&!n){let e=o.id;eh(()=>
60{if(!n){if(!r){f.disconnect();for(let e of a)removeEventListener(e,s,{capture:!0})}e===o.id&&(n=!0,i(!0))}})}};for(let e of a)addEventListener(e,s,{capture:!0});wm(r=>{c(`back-forward-cache`,o.navigationId,o.navigationInteractionId,o.navigationURL,Cm()),i=Tm(e,o,ih,t.reportAllChanges),Em(()=>{o.value=performance.now()-r.timeStamp,n=!0,i(!0)})})}})})(t=>{e((e=>{let t={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:e.value};if(e.entries.length){let i=e.entries.at(-1),a=i.url&&performance.getEntriesByType(`resource`).find(e=>e.name===i.url),o;t.target=r.get(i),t.lcpEntry=i,i.url&&(t.url=i.url),a&&(t.lcpResourceEntry=a);let s=0,c=0;if(e.navigationType===`soft-navigation`?(s=e.navigationStartTime||0,o=n.u?.get(e.navigationId)):(o=gm(),s=o?.activationStart??0,c=o?.responseStart??0),o){let n=Math.max(0,c-s),r=Math.max(n,a?(a.requestStart||a.startTime)-s:0),i=Math.min(e.value,Math.max(r,a?a.responseEnd-s:0));t={...t,timeToFirstByte:n,resourceLoadDelay:r-n,resourceLoadDuration:i-r,elementRenderDelay:e.value-i,navigationEntry:o}}}return Object.assign(e,{attribution:t})})(t))},t)},oh=[ir,sr,br,Or,Mr,Nr,Pr,Fr,Ir,Lr,Rr,zr,Vr,Hr,ta,Sa,Ta,Ea,Oa,Va,Ha,Zf,Qf,$f,ep,tp,Ep,Dp,Op,tm,nm,rm,im,sm,cm,lm,um,dm,fm,pm,mm,k(e=>{let t=e.$router,n=e=>({path:e.path,route:e.matched[e.matched.length-1]?.path??e.path}),r=e=>typeof e==`number`?Math.round(e):0;t.isReady().then(()=>{let e=n(t.currentRoute.value),i=e;t.afterEach(e=>{i=n(e)});let a=(e,t,n,r={})=>{window.newrelic?.addPageAction&&window.newrelic.addPageAction(`webVitals`,{metricName:e.name,metricId:e.id,value:e.value,delta:e.delta,rating:e.rating,target:t??``,path:n.path,route:n.route,...r})};ah(t=>{let n=t.attribution;a(t,n.target,e,{lcpTimeToFirstByte:r(n.timeToFirstByte),lcpResourceLoadDelay:r(n.resourceLoadDelay),lcpResourceLoadDuration:r(n.resourceLoadDuration),lcpElementRenderDelay:r(n.elementRenderDelay),lcpUrl:n.url??``})}),nh(e=>{let t=e.attribution,n=t.longestScript;a(e,t.interactionTarget,i,{inpInputDelay:r(t.inputDelay),inpProcessingDuration:r(t.processingDuration),inpPresentationDelay:r(t.presentationDelay),inpInteractionType:t.interactionType??``,inpLoadState:t.loadState??``,inpScriptSubpart:n?.subpart??``,inpScriptDuration:r(n?.intersectingDuration),inpScriptSource:n?.entry?.sourceURL??``,inpScriptInvoker:n?.entry?.invoker??``})},{reportAllChanges:!0}),Wm(e=>a(e,e.attribution.largestShiftTarget,i),{reportAllChanges:!0})})}),k({name:`i18n:plugin:ssg-detect`,dependsOn:[`i18n:plugin`,`i18n:plugin:route-locale-detect`],enforce:`post`,setup(e){}})],sh=f({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>n(Br[e.name],e.layoutProps,t.slots)}}),ch=f({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let r=x(),i=l(M),a=!i||i===je()?Ot():i,o=y(()=>{let t=lt(a,e.name);return t&&!(t in Br)&&e.fallback&&(t=m(e.fallback)),t});j(Re,o);let s=g();t.expose({layoutRef:s});let u=r.deferHydration();if(r.isHydrating){let e=r.hooks.hookOnce(`app:error`,u),t=Ve().beforeEach(()=>{e(),t()})}let f;return()=>{let i=!!o.value&&o.value in Br&&!!(a?.meta.layoutTransition??!1),l=i&&Ge([a?.meta.layoutTransition,!1,{onBeforeLeave(){r[`~transitionPromise`]=new Promise(e=>{r[`~transitionFinish`]=e})},onAfterLeave(){r[`~transitionFinish`]?.(),delete r[`~transitionFinish`],delete r[`~transitionPromise`]}}]),p=f;return f=o.value,Be(l,{default:()=>n(re,{suspensible:!0,onResolve:async()=>{await d(u)}},{default:()=>n(lh,{layoutProps:c(t.attrs,a.meta.layoutProps??{},{ref:s}),key:o.value||void 0,name:o.value,shouldProvide:!e.name,isRenderingNewLayout:e=>e!==p&&e===o.value,hasTransition:i},t.slots)})}).default()}}}),lh=f({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(e,t){let r=e.name;e.shouldProvide&&j(Ce,{isCurrent:e=>r===!1||r===lt(e)});let i=l(M),a=i&&i===je(),s=l(Ce,null);if(a){let t=Ot(),n={};for(let r in t){let a=r;Object.defineProperty(n,a,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!s||s.isCurrent(t))?t[a]:i[a]})}j(M,o(n))}return()=>!r||typeof r==`string`&&!(r in Br)?t.slots.default?.():n(sh,{key:r,layoutProps:e.layoutProps,name:r},t.slots)}}),uh=f({__name:`app`,setup(e){return D(),Ct({title:Jt.site_name,htmlAttrs:{lang:`fr`},meta:[{charset:`utf-8`},{name:`viewport`,content:`width=device-width, initial-scale=1`},{name:`description`,content:``},{name:`format-detection`,content:`telephone=no`}
60],link:[{rel:`icon`,type:`image/x-icon`,href:`/favicon.ico`},{rel:`apple-touch-icon`,sizes:`180x180`,href:`/apple-touch-icon.png`},{rel:`icon`,sizes:`32x32`,href:`/favicon-32x32.png`},{rel:`icon`,sizes:`16x16`,href:`/favicon-16x16.png`},{rel:`icon`,type:`image/svg+xml`,href:`/favicon.svg`},{rel:`manifest`,href:`/site.webmanifest`,crossorigin:`use-credentials`},{rel:`mask-icon`,href:`/safari-pinned-tab.svg`,color:`#5bbad5`}],script:[]}),(e,t)=>{let n=Lt,r=ch;return S(),i(r,null,{default:ue(()=>[s(n)]),_:1})}}}),dh={key:0},fh={class:`error__buttons error__buttons--no-overlap`},ph={key:1},mh={key:1,class:`error__buttons`},hh={key:2},gh=f({__name:`error`,props:{error:{type:Object,required:!0}},setup(e){let t=e,n=y(()=>t.error),r=pn` 61 query GET_ERROR_404_QUERY { 62 error { 63 buttons 64 contentful_content_id 65 dynamic_area 66 subtitle 67 title 68 } 69 } 70`,{t:o}=Wt(),{$apollo:c,$cacheHelper:l,$seoMetaDataFormatter:u,$gtm:d}=x(),{isInternalRhSite:f}=Zt(),{data:p}=it(`error-page`,async()=>{if(f.value||n.value?.statusCode!==404)return null;try{let{data:e}=await c.query({query:r});return e?.error}catch(e){return console.error(`Failed to fetch error page data:`,e),null}},{default:()=>null});return Ct(()=>({title:u.formatTitleWithValue(o(`error_page.not_found_title`))})),v(()=>{n.value?.statusCode===404&&(u.setCurrentPageTitle(u.formatTitleWithValue(o(`error_page.not_found_title`))),d.push({nav_page_template:o(`error_page.not_found_title`)}))}),(e,t)=>{let r=ft,o=ch;return S(),i(o,{name:`default`},{default:ue(()=>[m(f)?(S(),w(`div`,dh,[s(Fn,{title:`Oups,`,"title-size":`large`,background:``,subtitle:`la page que vous cherchez n'existe pas !`}),t[1]||=_(),a(`div`,fh,[s(Ln,{class:`btn btn--plain btn--color-primary`,to:`/`,label:`Retour à la page d'accueil`}),t[0]||=_(),s(Ln,{class:`btn btn--plain btn--color-primary`,to:`/jobs`,label:`Consulter les offres de mobilité`})])])):m(p)?(S(),w(`div`,ph,[s(Fn,{title:m(p).title,"title-size":`large`,subtitle:m(p).subtitle,background:``},null,8,[`title`,`subtitle`]),t[2]||=_(),m(p).dynamic_area?(S(),i(In,{key:0,"dynamic-area":m(p).dynamic_area},null,8,[`dynamic-area`])):h(``,!0),t[3]||=_(),m(p).buttons?(S(),w(`div`,mh,[(S(!0),w(he,null,fe(m(p).buttons,(e,t)=>(S(),i(Ln,{key:t,class:oe([`btn btn--plain btn--color-primary error__button`,m(Pn)[e.style]?`btn--color-${m(Pn)[e.style]}`:``]),to:e.url,label:e.label},null,8,[`class`,`to`,`label`]))),128))])):h(``,!0)])):(S(),w(`div`,hh,[a(`h1`,null,A(m(n)?.statusCode||`Error`),1),t[5]||=_(),a(`p`,null,A(m(n)?.statusMessage||m(n)?.message||`An error occurred`),1),t[6]||=_(),s(r,{to:`/`},{default:ue(()=>[...t[4]||=[_(`Go back home`,-1)]]),_:1})]))]),_:1})}}}),_h=()=>null,vh={key:0},yh={__name:`nuxt-root`,setup(e){let t=x(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=Ve().beforeEach(()=>{e(),r()})}window.location.pathname,j(M,je()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Ne();function a(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return ee((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Le(navigator.userAgent))return xe(t,e),!1;if(Te(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>ye(e)),a(e,n,r),!1}),(e,t)=>(S(),i(re,{onResolve:m(n)},{default:ue(()=>[m(!1)?(S(),w(`div`,vh)):m(r)?(S(),i(m(gh),{key:1,error:m(r)},null,8,[`error`])):m(!1)?(S(),i(m(_h),{key:2,context:m(!1)},null,8,[`context`])):m(!1)?(S(),i(O(m(!1)),{key:3})):(S(),i(m(uh),{key:4}))]),_:1},8,[`onResolve`]))}},bh;{let e;bh=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?we(yh):Se(yh),r=E({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=ke(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&ce.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(ce.id)?.remove()});try{await me(r,oh)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(le),await r.hooks.callHook(`app:mounted`,n),await d()}catch(e){i(e)}return n},e=bh().catch(e=>{throw ne.NUXT_E1009({cause:e}),e})}
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.