"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1114],{5565:(e,t,i)=>{i.r(t),i.d(t,{default:()=>n.a});var r=i(4146),n=i.n(r),a={};for(let e in r)"default"!==e&&(a[e]=()=>r[e]);i.d(t,a)},87970:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let r=i(60306),n=i(29955),a=i(95155),o=n._(i(12115)),s=r._(i(47650)),l=r._(i(36107)),d=i(40666),u=i(41159),c=i(83621);i(42363);let p=i(63576),g=r._(i(65514)),f=i(45353),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function h(e,t,i,r,n,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),null==i?void 0:i.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,n=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}(null==r?void 0:r.current)&&r.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,o.forwardRef)((e,t)=>{let{src:i,srcSet:r,sizes:n,height:s,width:l,decoding:d,className:u,style:c,fetchPriority:p,placeholder:g,loading:m,unoptimized:b,fill:S,onLoadRef:w,onLoadingCompleteRef:v,setBlurComplete:T,setShowAltText:P,sizesInput:R,onLoad:M,onError:k,...j}=e,L=(0,o.useCallback)(e=>{e&&(k&&(e.src=e.src),e.complete&&h(e,g,w,v,T,b,R))},[i,g,w,v,T,k,b,R]),E=(0,f.useMergedRef)(t,L);return(0,a.jsx)("img",{...j,...y(p),loading:m,width:l,height:s,decoding:d,"data-nimg":S?"fill":"1",className:u,style:c,sizes:n,srcSet:r,src:i,ref:E,onLoad:e=>{h(e.currentTarget,g,w,v,T,b,R)},onError:e=>{P(!0),"empty"!==g&&T(!0),k&&k(e)}})});function S(e){let{isAppRouter:t,imgAttributes:i}=e,r={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...y(i.fetchPriority)};return t&&s.default.preload?(s.default.preload(i.src,r),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...r},"__nimg-"+i.src+i.srcSet+i.sizes)})}let w=(0,o.forwardRef)((e,t)=>{let i=(0,o.useContext)(p.RouterContext),r=(0,o.useContext)(c.ImageConfigContext),n=(0,o.useMemo)(()=>{var e;let t=m||r||u.imageConfigDefault,i=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),n=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:i,deviceSizes:n,qualities:a}},[r]),{onLoad:s,onLoadingComplete:l}=e,f=(0,o.useRef)(s);(0,o.useEffect)(()=>{f.current=s},[s]);let h=(0,o.useRef)(l);(0,o.useEffect)(()=>{h.current=l},[l]);let[y,w]=(0,o.useState)(!1),[v,T]=(0,o.useState)(!1),{props:P,meta:R}=(0,d.getImgProps)(e,{defaultLoader:g.default,imgConf:n,blurComplete:y,showAltText:v});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b,{...P,unoptimized:R.unoptimized,placeholder:R.placeholder,fill:R.fill,onLoadRef:f,onLoadingCompleteRef:h,setBlurComplete:w,setShowAltText:T,sizesInput:e.sizes,ref:t}),R.priority?(0,a.jsx)(S,{isAppRouter:!i,imgAttributes:P}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53003:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=i(60306)._(i(12115)).default.createContext({})},675:(e,t)=>{function i(e){let{ampFirst:t=!1,hybrid:i=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||i&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return i}})},40666:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),i(42363);let r=i(35859),n=i(41159);function a(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function s(e,t){var i,s;let l,d,u,{src:c,sizes:p,unoptimized:g=!1,priority:f=!1,loading:m,className:h,quality:y,width:b,height:S,fill:w=!1,style:v,overrideSrc:T,onLoad:P,onLoadingComplete:R,placeholder:M="empty",blurDataURL:k,fetchPriority:j,decoding:L="async",layout:E,objectFit:_,objectPosition:O,lazyBoundary:A,lazyRoot:x,...I}=e,{imgConf:D,showAltText:F,blurComplete:C,defaultLoader:N}=t,U=D||n.imageConfigDefault;if("allSizes"in U)l=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),r=null==(i=U.qualities)?void 0:i.sort((e,t)=>e-t);l={...U,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===N)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let $=I.loader||N;delete I.loader,delete I.srcSet;let z="__next_img_default"in $;if(z){if("custom"===l.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=$;$=t=>{let{config:i,...r}=t;return e(r)}}if(E){"fill"===E&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];e&&(v={...v,...e});let t={responsive:"100vw",fill:"100vw"}[E];t&&!p&&(p=t)}let q="",B=o(b),W=o(S);if((s=c)&&"object"==typeof s&&(a(s)||void 0!==s.src)){let e=a(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(d=e.blurWidth,u=e.blurHeight,k=k||e.blurDataURL,q=e.src,!w){if(B||W){if(B&&!W){let t=B/e.width;W=Math.round(e.height*t)}else if(!B&&W){let t=W/e.height;B=Math.round(e.width*t)}}else B=e.width,W=e.height}}let G=!f&&("lazy"===m||void 0===m);(!(c="string"==typeof c?c:q)||c.startsWith("data:")||c.startsWith("blob:"))&&(g=!0,G=!1),l.unoptimized&&(g=!0),z&&!l.dangerouslyAllowSVG&&c.split("?",1)[0].endsWith(".svg")&&(g=!0);let H=o(y),Q=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:_,objectPosition:O}:{},F?{}:{color:"transparent"},v),Z=C||"empty"===M?null:"blur"===M?'url("data:image/svg+xml;charset=utf-8,'+(0,r.getImageBlurSvg)({widthInt:B,heightInt:W,blurWidth:d,blurHeight:u,blurDataURL:k||"",objectFit:Q.objectFit})+'")':'url("'+M+'")',V=Z?{backgroundSize:Q.objectFit||"cover",backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},J=function(e){let{config:t,src:i,unoptimized:r,width:n,quality:a,sizes:o,loader:s}=e;if(r)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:d}=function(e,t,i){let{deviceSizes:r,allSizes:n}=e;if(i){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(i);r)t.push(parseInt(r[2]));if(t.length){let e=.01*Math.min(...t);return{widths:n.filter(t=>t>=r[0]*e),kind:"w"}}return{widths:n,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>n.find(t=>t>=e)||n[n.length-1]))],kind:"x"}}(t,n,o),u=l.length-1;return{sizes:o||"w"!==d?o:"100vw",srcSet:l.map((e,r)=>s({config:t,src:i,quality:a,width:e})+" "+("w"===d?e:r+1)+d).join(", "),src:s({config:t,src:i,quality:a,width:l[u]})}}({config:l,src:c,unoptimized:g,width:B,quality:H,sizes:p,loader:$});return{props:{...I,loading:G?"lazy":m,fetchPriority:j,width:B,height:W,decoding:L,className:h,style:{...Q,...V},sizes:J.sizes,srcSet:J.srcSet,src:T||J.src},meta:{unoptimized:g,priority:f,placeholder:M,fill:w}}}},36107:(e,t,i)=>{var r=i(87358);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{default:function(){return h},defaultHead:function(){return p}});let n=i(60306),a=i(29955),o=i(95155),s=a._(i(12115)),l=n._(i(31172)),d=i(53003),u=i(81147),c=i(675);function p(e){void 0===e&&(e=!1);let t=[(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function g(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}i(42363);let f=["name","httpEquiv","charSet","itemProp"];function m(e,t){let{inAmpMode:i}=t;return e.reduce(g,[]).reverse().concat(p(i).reverse()).filter(function(){let e=new Set,t=new Set,i=new Set,r={};return n=>{let a=!0,o=!1;if(n.key&&"number"!=typeof n.key&&n.key.indexOf("$")>0){o=!0;let t=n.key.slice(n.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}switch(n.type){case"title":case"base":t.has(n.type)?a=!1:t.add(n.type);break;case"meta":for(let e=0,t=f.length;e{let n=e.key||t;if(r.env.__NEXT_OPTIMIZE_FONTS&&!i&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:n})})}let h=function(e){let{children:t}=e,i=(0,s.useContext)(d.AmpStateContext),r=(0,s.useContext)(u.HeadManagerContext);return(0,o.jsx)(l.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,c.isInAmpMode)(i),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},35859:(e,t)=>{function i(e){let{widthInt:t,heightInt:i,blurWidth:r,blurHeight:n,blurDataURL:a,objectFit:o}=e,s=r?40*r:t,l=n?40*n:i,d=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+d+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(d?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},83621:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return a}});let r=i(60306)._(i(12115)),n=i(41159),a=r.default.createContext(n.imageConfigDefault)},41159:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{VALID_LOADERS:function(){return i},imageConfigDefault:function(){return r}});let i=["default","imgix","cloudinary","akamai","custom"],r={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}},4146:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{default:function(){return l},getImageProps:function(){return s}});let r=i(60306),n=i(40666),a=i(87970),o=r._(i(65514));function s(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let l=a.Image},65514:(e,t)=>{function i(e){var t;let{config:i,src:r,width:n,quality:a}=e,o=a||(null==(t=i.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return r}});let r=i(60306)._(i(12115)).default.createContext(null)},31172:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=i(12115),n="undefined"==typeof window,a=n?()=>{}:r.useLayoutEffect,o=n?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:i}=e;function s(){if(t&&t.mountedInstances){let n=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(i(n,e))}}if(n){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return a(()=>{var i;return null==t||null==(i=t.mountedInstances)||i.add(e.children),()=>{var i;null==t||null==(i=t.mountedInstances)||i.delete(e.children)}}),a(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},17561:(e,t,i)=>{var r;Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let n=i(79975),a=i(82561),o=i(32884),s=i(63833),l=i(18676),d=i(42066),u=i(69111),c=i(93722),p=i(26051),g=i(40373),f=i(94149),m=i(48210),h=i(33518),y=i(71929),b=i(88053),S=i(79368),w=i(4346),v=i(44517),T=i(7220),P=i(47602),R=i(74021),M=i(12290),k=i(64237),j=i(43018),L=i(64057),E=i(52575),_=i(80447);!function(e){e.Master="Master",e.ReleaseID="ReleaseID",e.ReleaseLabel="ReleaseLabel",e.Manual="Manual"}(r||(r={}));class O{fetchFn;fetchOptions;#e;set repositoryName(e){this.#e=e}get repositoryName(){if(!this.#e)throw new v.PrismicError(`A repository name is required for this method but one could not be inferred from the provided API endpoint (\`${this.documentAPIEndpoint}\`). To fix this error, provide a repository name when creating the client. For more details, see ${o.devMsg("prefer-repository-name")}`,void 0,void 0);return this.#e}documentAPIEndpoint;set endpoint(e){this.documentAPIEndpoint=e}get endpoint(){return this.documentAPIEndpoint}accessToken;routes;brokenRoute;defaultParams;refState={mode:r.Master,autoPreviewsEnabled:!0};cachedRepository;cachedRepositoryExpiration=0;constructor(e,t={}){if(this.fetchOptions=t.fetchOptions,"function"==typeof t.fetch)this.fetchFn=t.fetch;else if("function"==typeof globalThis.fetch)this.fetchFn=globalThis.fetch;else throw new v.PrismicError("A valid fetch implementation was not provided. In environments where fetch is not available (including Node.js), a fetch implementation must be provided via a polyfill or the `fetch` option.",void 0,void 0);if(this.fetchFn===globalThis.fetch&&(this.fetchFn=this.fetchFn.bind(globalThis)),t.documentAPIEndpoint||_.isRepositoryEndpoint(e),_.isRepositoryEndpoint(e)){this.documentAPIEndpoint=e;try{this.repositoryName=E.getRepositoryName(e)}catch(t){console.warn(`[@prismicio/client] A repository name could not be inferred from the provided endpoint (\`${e}\`). Some methods will be disabled. Create the client using a repository name to prevent this warning. For more details, see ${o.devMsg("prefer-repository-name")}`)}}else this.documentAPIEndpoint=t.documentAPIEndpoint||L.getRepositoryEndpoint(e),this.repositoryName=e;this.accessToken=t.accessToken,this.routes=t.routes,this.brokenRoute=t.brokenRoute,this.defaultParams=t.defaultParams,t.ref&&this.queryContentFromRef(t.ref),this.graphQLFetch=this.graphQLFetch.bind(this)}enableAutoPreviews(){this.refState.autoPreviewsEnabled=!0}enableAutoPreviewsFromReq(e){this.refState.httpRequest=e,this.refState.autoPreviewsEnabled=!0}disableAutoPreviews(){this.refState.autoPreviewsEnabled=!1}async get(e){let{data:t}=await this._get(e);return t}async getFirst(e){let t={...e};e&&e.page||e?.pageSize||(t.pageSize=this.defaultParams?.pageSize??1);let{data:i,url:r}=await this._get(t),n=i.results[0];if(n)return n;throw new b.NotFoundError("No documents were returned",r,void 0)}async dangerouslyGetAll(e={}){let t;let{limit:i=1/0,...r}=e,n={...r,pageSize:Math.min(i,r.pageSize||this.defaultParams?.pageSize||100)},a=[];for(;(!t||t.next_page)&&a.lengthsetTimeout(e,500))}return a.slice(0,i)}async getByID(e,t){return await this.getFirst(n.appendFilters(t,j.filter.at("document.id",e)))}async getByIDs(e,t){return await this.get(n.appendFilters(t,j.filter.in("document.id",e)))}async getAllByIDs(e,t){return await this.dangerouslyGetAll(n.appendFilters(t,j.filter.in("document.id",e)))}async getByUID(e,t,i){return await this.getFirst(n.appendFilters(i,[h.typeFilter(e),j.filter.at(`my.${e}.uid`,t)]))}async getByUIDs(e,t,i){return await this.get(n.appendFilters(i,[h.typeFilter(e),j.filter.in(`my.${e}.uid`,t)]))}async getAllByUIDs(e,t,i){return await this.dangerouslyGetAll(n.appendFilters(i,[h.typeFilter(e),j.filter.in(`my.${e}.uid`,t)]))}async getSingle(e,t){return await this.getFirst(n.appendFilters(t,h.typeFilter(e)))}async getByType(e,t){return await this.get(n.appendFilters(t,h.typeFilter(e)))}async getAllByType(e,t){return await this.dangerouslyGetAll(n.appendFilters(t,h.typeFilter(e)))}async getByTag(e,t){return await this.get(n.appendFilters(t,f.someTagsFilter(e)))}async getAllByTag(e,t){return await this.dangerouslyGetAll(n.appendFilters(t,f.someTagsFilter(e)))}async getByEveryTag(e,t){return await this.get(n.appendFilters(t,s.everyTagFilter(e)))}async getAllByEveryTag(e,t){return await this.dangerouslyGetAll(n.appendFilters(t,s.everyTagFilter(e)))}async getBySomeTags(e,t){return await this.get(n.appendFilters(t,f.someTagsFilter(e)))}async getAllBySomeTags(e,t){return await this.dangerouslyGetAll(n.appendFilters(t,f.someTagsFilter(e)))}async getRepository(e){let t=new URL(this.documentAPIEndpoint);this.accessToken&&t.searchParams.set("access_token",this.accessToken);let i=await this.#t(t,e);switch(i.status){case 200:return await i.json();case 401:{let e=await i.json();throw new y.ForbiddenError(e.error,t.toString(),e)}case 404:throw new R.RepositoryNotFoundError(`Prismic repository not found. Check that "${this.documentAPIEndpoint}" is pointing to the correct repository.`,t.toString(),void 0);default:throw new v.PrismicError(void 0,t.toString(),await i.text())}}async getRefs(e){return(await this.getRepository(e)).refs}async getRefByID(e,t){let i=await this.getRefs(t);return d.findRefByID(i,e)}async getRefByLabel(e,t){let i=await this.getRefs(t);return u.findRefByLabel(i,e)}async getMasterRef(e){let t=await this.getRefs(e);return l.findMasterRef(t)}async getReleases(e){return(await this.getRefs(e)).filter(e=>!e.isMasterRef)}async getReleaseByID(e,t){let i=await this.getReleases(t);return d.findRefByID(i,e)}async getReleaseByLabel(e,t){let i=await this.getReleases(t);return u.findRefByLabel(i,e)}async getTags(e){let t=(await this.getCachedRepository(e)).forms.tags;if(t){let i=new URL(t.action);this.accessToken&&i.searchParams.set("access_token",this.accessToken);let r=await this.#t(i,e);if(r.ok)return await r.json()}return(await this.getRepository(e)).tags}async buildQueryURL({signal:e,fetchOptions:t,...i}={}){let r=i.ref||await this.getResolvedRefString({signal:e,fetchOptions:t}),n=i.integrationFieldsRef||(await this.getCachedRepository({signal:e,fetchOptions:t})).integrationFieldsRef||void 0;return k.buildQueryURL(this.documentAPIEndpoint,{...this.defaultParams,...i,ref:r,integrationFieldsRef:n,routes:i.routes||this.routes,brokenRoute:i.brokenRoute||this.brokenRoute,accessToken:i.accessToken||this.accessToken})}async resolvePreviewURL(e){let t=e.documentID,i=e.previewToken;if(void 0!==globalThis.location){let e=new URLSearchParams(globalThis.location.search);t=t||e.get("documentId"),i=i||e.get("token")}else if(this.refState.httpRequest){if("query"in this.refState.httpRequest)t=t||this.refState.httpRequest.query?.documentId,i=i||this.refState.httpRequest.query?.token;else if("url"in this.refState.httpRequest&&this.refState.httpRequest.url){let e=new URL(this.refState.httpRequest.url,"missing-host://").searchParams;t=t||e.get("documentId"),i=i||e.get("token")}}if(null!=t&&null!=i){let r=await this.getByID(t,{ref:i,lang:"*",signal:e.signal,fetchOptions:e.fetchOptions}),n=M.asLink(r,{linkResolver:e.linkResolver});if("string"==typeof n)return n}return e.defaultURL}queryLatestContent(){this.refState.mode=r.Master}queryContentFromReleaseByID(e){this.refState={...this.refState,mode:r.ReleaseID,releaseID:e}}queryContentFromReleaseByLabel(e){this.refState={...this.refState,mode:r.ReleaseLabel,releaseLabel:e}}queryContentFromRef(e){this.refState={...this.refState,mode:r.Manual,ref:e}}async graphQLFetch(e,t){let i=await this.getCachedRepository(),r=await this.getResolvedRefString(),n={"Prismic-ref":r,Authorization:this.accessToken?`Token ${this.accessToken}`:"",...t?t.headers:{}};i.integrationFieldsRef&&(n["Prismic-integration-field-ref"]=i.integrationFieldsRef);let a={};for(let e in n)n[e]&&(a[e.toLowerCase()]=n[e]);let o=new URL(e);o.searchParams.set("ref",r);let s=o.searchParams.get("query");return s&&o.searchParams.set("query",p.minifyGraphQLQuery(s)),await this.fetchFn(o.toString(),{...t,headers:a})}async getCachedRepository(e){return(!this.cachedRepository||Date.now()>=this.cachedRepositoryExpiration)&&(this.cachedRepository=await this.getRepository(e),this.cachedRepositoryExpiration=Date.now()+5e3),this.cachedRepository}async getResolvedRefString(e){if(this.refState.autoPreviewsEnabled){let e,t;if(this.refState.httpRequest?.headers?"get"in this.refState.httpRequest.headers&&"function"==typeof this.refState.httpRequest.headers.get?t=this.refState.httpRequest.headers.get("cookie"):"cookie"in this.refState.httpRequest.headers&&(t=this.refState.httpRequest.headers.cookie):globalThis.document?.cookie&&(t=globalThis.document.cookie),t&&(e=c.getPreviewCookie(t)),e)return e}let t=await this.getCachedRepository(e),i=this.refState.mode;if(i===r.ReleaseID)return d.findRefByID(t.refs,this.refState.releaseID).ref;if(i===r.ReleaseLabel)return u.findRefByLabel(t.refs,this.refState.releaseLabel).ref;if(i===r.Manual){let e=await a.castThunk(this.refState.ref)();if("string"==typeof e)return e}return l.findMasterRef(t.refs).ref}async _get(e,t=0){let i=await this.buildQueryURL(e);try{let t=await this.#t(new URL(i),e);switch(t.status){case 200:try{return{data:await t.clone().json(),url:i}}catch{throw new v.PrismicError(void 0,i,await t.text())}case 400:{let e=await t.json();throw new S.ParsingError(e.message,i,e)}case 401:{let e=await t.json();throw new y.ForbiddenError(e.message,i,e)}case 404:{let e=await t.json();switch(e.type){case"api_notfound_error":throw new P.RefNotFoundError(e.message,i,e);case"api_security_error":if(/preview token.*expired/i.test(e.message))throw new w.PreviewTokenExpiredError(e.message,i,e);default:throw new b.NotFoundError(e.message,i,e)}}case 410:{let e=await t.json();throw new T.RefExpiredError(e.message,i,e)}default:throw new v.PrismicError(void 0,i,await t.text())}}catch(o){if(!(o instanceof P.RefNotFoundError||o instanceof T.RefExpiredError)||t>=2)throw o;e?.ref||(this.cachedRepository=void 0);let r=o.message.match(/Master ref is: (?.*)$/)?.groups?.ref;if(!r)throw o;let n=new URL(i).searchParams.get("ref"),a=o instanceof P.RefNotFoundError?"invalid":"expired";return m.throttledLog(`[@prismicio/client] The ref (${n}) was ${a}. Now retrying with the latest master ref (${r}). If you were previewing content, the response will not include draft content.`,{level:"warn"}),await this._get({...e,ref:r},t+1)}}async #t(e,t){return await g.request(e,this._buildRequestInit(t),this.fetchFn)}_buildRequestInit(e){return{...this.fetchOptions,...e?.fetchOptions,headers:{...this.fetchOptions?.headers,...e?.fetchOptions?.headers},signal:e?.fetchOptions?.signal||e?.signal||this.fetchOptions?.signal}}}t.Client=O,t.GET_ALL_QUERY_DELAY=500,t.REPOSITORY_CACHE_TTL=5e3},90610:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(77237),n=i(84229),a=i(47955),o=i(96057),s=i(57002),l=i(36988),d=i(24619);class u{_assets=new Map;_documents=[];createAsset(e,t,{notes:i,credits:r,alt:n,tags:s}={}){let l,d;if("object"==typeof e&&"url"in e){if("dimensions"in e||"link_type"in e){let t=e.url.split("?")[0],i="name"in e?e.name:t.split("/").pop().split("_").pop(),r="copyright"in e&&e.copyright?e.copyright:void 0,n="alt"in e&&e.alt?e.alt:void 0;"dimensions"in e&&(d=e),l={id:e.id,file:t,filename:i,notes:void 0,credits:r,alt:n,tags:void 0}}else l={id:e.id,file:e.url,filename:e.filename,notes:e.notes,credits:e.credits,alt:e.alt,tags:e.tags?.map(({name:e})=>e)}}else l={id:e,file:e,filename:t,notes:i,credits:r,alt:n,tags:s};a.validateAssetMetadata(l);let u=new o.PrismicMigrationAsset(l,d),c=this._assets.get(l.id);return c?(c.config.notes=c.config.notes||l.notes,c.config.credits=c.config.credits||l.credits,c.config.alt=c.config.alt||l.alt,c.config.tags=Array.from(new Set([...c.config.tags||[],...l.tags||[]]))):this._assets.set(l.id,u),u}createDocument(e,t,i){let r=new s.PrismicMigrationDocument(e,t,i);return this._documents.push(r),r}updateDocument(e,t){let i=new s.PrismicMigrationDocument(e,t);return this._documents.push(i),i}createDocumentFromPrismic(e,t){let i=new s.PrismicMigrationDocument(this.#i({type:e.type,lang:e.lang,uid:e.uid,tags:e.tags,data:e.data}),t,{originalPrismicDocument:e});return this._documents.push(i),i}getByUID(e,t){return this._documents.find(i=>i.document.type===e&&i.document.uid===t)}getSingle(e){return this._documents.find(t=>t.document.type===e)}#i(e){if(r.filledContentRelationship(e)){let t=n.getOptionalLinkProperties(e);return e.isBroken?{...t,link_type:l.LinkType.Document,id:"_____broken_____",isBroken:!0}:{...t,link_type:l.LinkType.Document,id:()=>this._getByOriginalID(e.id)}}if(r.filledLinkToMedia(e))return{...n.getOptionalLinkProperties(e),link_type:l.LinkType.Media,id:this.createAsset(e)};if(r.rtImageNode(e)){let t={type:d.RichTextNodeType.image,id:this.createAsset(e)};return e.linkTo&&(t.linkTo=this.#i(e.linkTo)),t}if(r.filledImage(e)){let t={id:this.createAsset(e)},{id:i,url:n,dimensions:a,edit:o,alt:s,copyright:l,...d}=e;for(let e in d)r.filledImage(d[e])&&(t[e]=this.createAsset(d[e]));return t}if(Array.isArray(e))return e.map(e=>this.#i(e));if(e&&"object"==typeof e){let t={};for(let i in e)t[i]=this.#i(e[i]);return t}return e}_getByOriginalID(e){return this._documents.find(t=>t.originalPrismicDocument?.id===e)}}t.Migration=u},64178:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(32884),n=i(5377),a=i(40373),o=i(26827),s=i(71929),l=i(4575),d=i(88053),u=i(44517),c=i(44820),p=i(17561),g=`${c.name.replace("@","").replace("/","-")}/${c.version}`;class f extends p.Client{writeToken;assetAPIEndpoint="https://asset-api.prismic.io/";migrationAPIEndpoint="https://migration.prismic.io/";constructor(e,t){super(e,t),void 0!==globalThis.window&&console.warn(`[@prismicio/client] Prismic write client appears to be running in a browser environment. This is not recommended as it exposes your write token. Consider using Prismic write client in a server environment only, preferring the regular client for browser environment. For more details, see ${r.devMsg("avoid-write-client-in-browser")}`),this.writeToken=t.writeToken,t.assetAPIEndpoint&&(this.assetAPIEndpoint=`${t.assetAPIEndpoint}/`),t.migrationAPIEndpoint&&(this.migrationAPIEndpoint=`${t.migrationAPIEndpoint}/`)}async migrate(e,t={}){t.reporter?.({type:"start",data:{pending:{documents:e._documents.length,assets:e._assets.size}}}),await this.migrateCreateAssets(e,t),await this.migrateCreateDocuments(e,t),await this.migrateUpdateDocuments(e,t),t.reporter?.({type:"end",data:{migrated:{documents:e._documents.length,assets:e._assets.size}}})}async migrateCreateAssets(e,{reporter:t,...i}={}){let r=0;for(let[n,a]of e._assets){let n;t?.({type:"assets:creating",data:{current:++r,remaining:e._assets.size-r,total:e._assets.size,asset:a}});let{file:o,filename:s,notes:l,credits:d,alt:u,tags:c}=a.config;if("string"==typeof o){let e;try{e=new URL(o)}catch(e){}n=e?await this.fetchForeignAsset(e.toString(),i):o}else o instanceof URL?n=await this.fetchForeignAsset(o.toString(),i):n=o;let p=await this.createAsset(n,s,{notes:l,credits:d,alt:u,tags:c,...i});a.asset=p}t?.({type:"assets:created",data:{created:r}})}async migrateCreateDocuments(e,{reporter:t,...i}={}){let r=(await this.getRepository(i)).languages.find(e=>e.is_master).id;t?.({type:"documents:masterLocale",data:{masterLocale:r}});let n=[];for(let t of e._documents)t.document.id||(t.document.lang===r?n.unshift(t):n.push(t));let a=0;for(let s of n){let l;if(t?.({type:"documents:creating",data:{current:++a,remaining:n.length-a,total:n.length,document:s}}),s.masterLanguageDocument){let e=await o.resolveMigrationContentRelationship(s.masterLanguageDocument);l="id"in e?e.id:void 0}else if(s.originalPrismicDocument){let t=s.originalPrismicDocument.alternate_languages.find(({lang:e})=>e===r)?.id;t&&(l=e._getByOriginalID(t)?.document.id)}let{id:d}=await this.createDocument({...s.document,data:{}},s.title,{masterLanguageDocumentID:l,...i});s.document.id=d}t?.({type:"documents:created",data:{created:a}})}async migrateUpdateDocuments(e,{reporter:t,...i}={}){let r=0;for(let n of e._documents)t?.({type:"documents:updating",data:{current:++r,remaining:e._documents.length-r,total:e._documents.length,document:n}}),await this.updateDocument(n.document.id,{...n.document,documentTitle:n.title,data:await o.resolveMigrationDocumentData(n.document.data,e)},i);t?.({type:"documents:updated",data:{updated:e._documents.length}})}async createAsset(e,t,{notes:i,credits:r,alt:n,tags:a,...o}={}){let s=new URL("assets",this.assetAPIEndpoint),l=new FormData;l.append("file",new File([e],t,{type:e instanceof File?e.type:void 0})),i&&l.append("notes",i),r&&l.append("credits",r),n&&l.append("alt",n);let d=await this.#t(s,o,{method:"POST",body:l});if(200===d.status){let e=await d.json();return a&&a.length?this.updateAsset(e.id,{tags:a}):e}return await this.#r(d)}async updateAsset(e,{notes:t,credits:i,alt:r,filename:n,tags:a,...o}={}){let s=new URL(`assets/${e}`,this.assetAPIEndpoint);a&&a.length&&(a=await this.resolveAssetTagIDs(a,{createTags:!0,...o}));let l=await this.#t(s,o,{method:"PATCH",body:JSON.stringify({notes:t,credits:i,alt:r,filename:n,tags:a}),headers:{"content-type":"application/json"}});return 200===l.status?await l.json():await this.#r(l)}async fetchForeignAsset(e,t={}){let i=await this.fetchFn(e,this._buildRequestInit(t));if(!i.ok)throw new u.PrismicError("Could not fetch foreign asset",e,void 0);return new File([await i.blob()],"",{type:i.headers.get("content-type")||void 0})}_resolveAssetTagIDsLimit=n.pLimit();async resolveAssetTagIDs(e=[],{createTags:t,...i}={}){return this._resolveAssetTagIDsLimit(async()=>{let r=await this.getAssetTags(i),n={};for(let e of r)n[e.name]=e;let a=[];for(let r of e)!n[r]&&t&&(n[r]=await this.createAssetTag(r,i)),n[r]&&a.push(n[r].id);return a})}async createAssetTag(e,t){let i=new URL("tags",this.assetAPIEndpoint),r=await this.#t(i,t,{method:"POST",body:JSON.stringify({name:e}),headers:{"content-type":"application/json"}});return 201===r.status?await r.json():await this.#r(r)}async getAssetTags(e){let t=new URL("tags",this.assetAPIEndpoint),i=await this.#t(t,e);return 200===i.status?(await i.json()).items:await this.#r(i)}async createDocument(e,t,{masterLanguageDocumentID:i,...r}={}){let n=new URL("documents",this.migrationAPIEndpoint),a=await this.#t(n,r,{method:"POST",body:JSON.stringify({title:t,type:e.type,uid:e.uid||void 0,lang:e.lang,alternate_language_id:i,tags:e.tags,data:e.data}),headers:{"content-type":"application/json","x-client":g}});return 201===a.status?{id:(await a.json()).id}:await this.#n(a)}async updateDocument(e,t,i){let r=new URL(`documents/${e}`,this.migrationAPIEndpoint),n=await this.#t(r,i,{method:"PUT",body:JSON.stringify({title:t.documentTitle,uid:t.uid||void 0,tags:t.tags,data:t.data}),headers:{"content-type":"application/json","x-client":g}});200!==n.status&&await this.#n(n)}async #t(e,t,i){let r=this._buildRequestInit(t);return await a.request(e,{...r,...i,headers:{...r.headers,...i?.headers,repository:this.repositoryName,authorization:`Bearer ${this.writeToken}`}},this.fetchFn)}async #r(e){let t=await e.json();switch(e.status){case 401:case 403:throw new s.ForbiddenError(t.error,e.url,t);case 404:throw new d.NotFoundError(t.error,e.url,t);case 400:throw new l.InvalidDataError(t.error,e.url,t);default:throw new u.PrismicError(t.error,e.url,t)}}async #n(e){let t;let i=await e.text();try{t=JSON.parse(i)}catch{}switch(e.status){case 400:if(t)throw new l.InvalidDataError("Validation failed, check the response property of the error for details",e.url,t);throw new l.InvalidDataError(i,e.url,i);case 401:throw new s.ForbiddenError(i,e.url,i);case 403:if(t)throw new s.ForbiddenError(t.Message,e.url,t);throw new s.ForbiddenError(i,e.url,i);case 404:throw new d.NotFoundError(i,e.url,i);default:throw new u.PrismicError(i,e.url,i)}}}t.WriteClient=f},64237:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44138);i(32884);let n=i(44820),a={accessToken:"access_token"},o=e=>"string"==typeof e?e:"desc"===e.direction?`${e.field} desc`:e.field;t.buildQueryURL=(e,t)=>{let{filters:i,predicates:s,...l}=t,d=new URL("documents/search",`${e}/`);if(i)for(let e of r.castArray(i))d.searchParams.append("q",`[${e}]`);if(s)for(let e of r.castArray(s))d.searchParams.append("q",`[${e}]`);for(let e in l){let t=a[e]||e,i=l[e];if("orderings"===t){let e=l[t];if(null!=e){let t=r.castArray(e).map(e=>o(e)).join(",");i=`[${t}]`}}else"routes"===t&&"object"==typeof l[t]&&(i=JSON.stringify(r.castArray(l[t])));null!=i&&d.searchParams.set(t,r.castArray(i).join(","))}return d.searchParams.set("x-c",`js-${n.version}`),d.toString()}},95194:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.preview="io.prismic.preview"},86793:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(17561);t.createClient=(e,t)=>new r.Client(e,t)},79810:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(90610);t.createMigration=()=>new r.Migration},33282:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(64178);t.createWriteClient=(e,t)=>new r.WriteClient(e,t)},71929:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);class n extends r.PrismicError{}t.ForbiddenError=n},4575:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);class n extends r.PrismicError{}t.InvalidDataError=n},88053:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);class n extends r.PrismicError{}t.NotFoundError=n},79368:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);class n extends r.PrismicError{}t.ParsingError=n},4346:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(71929);class n extends r.ForbiddenError{}t.PreviewTokenExpiredError=n},44517:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});class i extends Error{url;response;constructor(e="An invalid API response was returned",t,i){super(e),this.url=t,this.response=i}}t.PrismicError=i},7220:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(71929);class n extends r.ForbiddenError{}t.RefExpiredError=n},47602:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(71929);class n extends r.ForbiddenError{}t.RefNotFoundError=n},74021:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(88053);class n extends r.NotFoundError{}t.RepositoryNotFoundError=n},43018:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=e=>Array.isArray(e)?`[${e.map(i).join(", ")}]`:"string"==typeof e?`"${e}"`:e instanceof Date?`${e.getTime()}`:`${e}`,r=e=>(t,...r)=>{let n=r.map(i).join(", "),a=t&&r.length?", ":"";return`[${e}(${t}${a}${n})]`},n=e=>{let t=r(e);return e=>t(e)},a={at:r("at"),not:r("not"),any:r("any"),in:r("in"),fulltext:r("fulltext"),has:n("has"),missing:n("missing"),similar:(e=>{let t=r(e);return(...e)=>t("",...e)})("similar"),geopointNear:r("geopoint.near"),numberLessThan:r("number.lt"),numberGreaterThan:r("number.gt"),numberInRange:r("number.inRange"),dateAfter:r("date.after"),dateBefore:r("date.before"),dateBetween:r("date.between"),dateDayOfMonth:r("date.day-of-month"),dateDayOfMonthAfter:r("date.day-of-month-after"),dateDayOfMonthBefore:r("date.day-of-month-before"),dateDayOfWeek:r("date.day-of-week"),dateDayOfWeekAfter:r("date.day-of-week-after"),dateDayOfWeekBefore:r("date.day-of-week-before"),dateMonth:r("date.month"),dateMonthAfter:r("date.month-after"),dateMonthBefore:r("date.month-before"),dateYear:r("date.year"),dateHour:r("date.hour"),dateHourAfter:r("date.hour-after"),dateHourBefore:r("date.hour-before")};t.filter=a},6320:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517),n=i(59493);t.getGraphQLEndpoint=e=>{if(n.isRepositoryName(e))return`https://${e}.cdn.prismic.io/graphql`;throw new r.PrismicError(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)}},64057:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517),n=i(59493);t.getRepositoryEndpoint=e=>{if(n.isRepositoryName(e))return`https://${e}.cdn.prismic.io/api/v2`;throw new r.PrismicError(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)}},52575:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);t.getRepositoryName=e=>{try{let t=new URL(e).hostname;if(t.endsWith("prismic.io")||t.endsWith("wroom.io")||t.endsWith("wroom.test"))return t.split(".")[0]}catch{}throw new r.PrismicError(`An invalid Prismic Document API endpoint was provided: ${e}`,void 0,void 0)}},39095:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517),n=i(59493);t.getToolbarSrc=e=>{if(n.isRepositoryName(e))return`https://static.cdn.prismic.io/prismic.js?new=true&repo=${e}`;throw new r.PrismicError(`An invalid Prismic repository name was given: ${e}`,void 0,void 0)}},4250:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.asDate=e=>e?new Date(24===e.length?e.replace(/(\+|-)(\d{2})(\d{2})$/,".000$1$2:$3"):e):null},4969:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(75913),n=i(33232),a=i(88392),o=i(56815),s=(e,t)=>{let i=(e,t)=>"function"==typeof e?i=>e?.(i)||t(i):t;return l({heading1:i(t?.heading1,r.serializeStandardTag("h1",t?.heading1)),heading2:i(t?.heading2,r.serializeStandardTag("h2",t?.heading2)),heading3:i(t?.heading3,r.serializeStandardTag("h3",t?.heading3)),heading4:i(t?.heading4,r.serializeStandardTag("h4",t?.heading4)),heading5:i(t?.heading5,r.serializeStandardTag("h5",t?.heading5)),heading6:i(t?.heading6,r.serializeStandardTag("h6",t?.heading6)),paragraph:i(t?.paragraph,r.serializeStandardTag("p",t?.paragraph)),preformatted:i(t?.preformatted,r.serializePreFormatted(t?.preformatted)),strong:i(t?.strong,r.serializeStandardTag("strong",t?.strong)),em:i(t?.em,r.serializeStandardTag("em",t?.em)),listItem:i(t?.listItem,r.serializeStandardTag("li",t?.listItem)),oListItem:i(t?.oListItem,r.serializeStandardTag("li",t?.oListItem)),list:i(t?.list,r.serializeStandardTag("ul",t?.list)),oList:i(t?.oList,r.serializeStandardTag("ol",t?.oList)),image:i(t?.image,r.serializeImage(e,t?.image)),embed:i(t?.embed,r.serializeEmbed(t?.embed)),hyperlink:i(t?.hyperlink,r.serializeHyperlink(e,t?.hyperlink)),label:i(t?.label,r.serializeStandardTag("span",t?.label)),span:i(t?.span,r.serializeSpan())})},l=e=>{let t={};for(let i in e){let r=e[i];r&&(t[i]=e=>r({...e,children:e.children.join("")}))}return a.wrapMapSerializer(t)};t.asHTML=(e,...t)=>{if(!e)return null;{let i,r;let[a,l]=t;return r=(i="function"==typeof a||null==a?{linkResolver:a,serializer:l}:{...a}).serializer?"function"==typeof i.serializer?o.composeSerializers((e,t,r,n,a)=>i.serializer(e,t,r,n.join(""),a),s(i.linkResolver)):s(i.linkResolver,i.serializer):s(i.linkResolver),n.serialize(e,r).join("")}}},75337:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(86940),n=i(11042),a=[1,2,3];t.asImagePixelDensitySrcSet=(e,t={})=>{if(!(e&&n.imageThumbnail(e)))return null;{let{pixelDensities:i=a,...n}=t;return{src:r.buildURL(e.url,n),srcset:r.buildPixelDensitySrcSet(e.url,{...n,pixelDensities:i})}}}},63601:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(86940),n=i(11042);t.asImageSrc=(e,t={})=>e&&n.imageThumbnail(e)?r.buildURL(e.url,t):null},14069:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(86940),n=i(11042),a=[640,828,1200,2048,3840];t.asImageWidthSrcSet=(e,t={})=>{if(!(e&&n.imageThumbnail(e)))return null;{let{widths:i=a,...n}=t,{url:o,dimensions:s,id:l,alt:d,copyright:u,edit:c,...p}=e,g=Object.values(p);return"thumbnails"===i&&g.length<1&&(i=a),{src:r.buildURL(o,n),srcset:"thumbnails"===i?[r.buildWidthSrcSet(o,{...n,widths:[s.width]}),...g.map(e=>r.buildWidthSrcSet(e.url,{...n,widths:[e.dimensions.width]}))].join(", "):r.buildWidthSrcSet(e.url,{...n,widths:i})}}}},12290:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(36988),n=i(30440);t.asLink=(e,...t)=>{let i;if(!e)return null;let a="link_type"in e?e:n.documentToLinkField(e),[o]=t;switch(i="function"==typeof o||null==o?{linkResolver:o}:{...o},a.link_type){case r.LinkType.Media:case r.LinkType.Web:return"url"in a?a.url:null;case r.LinkType.Document:if("id"in a&&i.linkResolver){let e=i.linkResolver(a);if(null!=e)return e}if("url"in a&&a.url)return a.url;return null;case r.LinkType.Any:default:return null}}},51004:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(56404),n=i(12290),a=i(11042);t.asLinkAttrs=(e,t={})=>{if(e&&("link_type"in e?a.link(e):e)){let i="target"in e?e.target:void 0,a=n.asLink(e,t.linkResolver),o=null==a?void 0:a,s="string"==typeof o&&!r.isInternalURL(o),l=t.rel?t.rel({href:o,isExternal:s,target:i}):s?"noreferrer":void 0;return{href:o,target:i,rel:null==l?void 0:l}}return{}}},92947:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(29749);t.asText=(e,...t)=>{if(!e)return null;{let i;let[n]=t;return i="string"==typeof n?{separator:n}:{...n},r.asText(e,i.separator)}}},30440:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(36988);t.documentToLinkField=e=>({link_type:r.LinkType.Document,id:e.id,uid:e.uid||void 0,type:e.type,tags:e.tags,lang:e.lang,url:null==e.url?void 0:e.url,slug:e.slugs?.[0],...e.data&&Object.keys(e.data).length>0?{data:e.data}:{}})},11042:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=e=>null!=e,r=e=>!!e.length,n=e=>!!i(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length),a=e=>i(e)&&!!e.url,o=e=>i(e)&&("id"in e||"url"in e);t.color=i,t.contentRelationship=o,t.date=i,t.embed=e=>i(e)&&!!e.embed_url,t.geoPoint=e=>i(e)&&"longitude"in e,t.group=e=>i(e)&&r(e),t.image=a,t.imageThumbnail=a,t.integration=i,t.integrationField=i,t.integrationFields=i,t.keyText=e=>!!e,t.link=o,t.linkToMedia=o,t.number=i,t.repeatable=e=>i(e)&&r(e),t.richText=n,t.select=i,t.sliceZone=e=>i(e)&&r(e),t.table=i,t.timestamp=i,t.title=n},91540:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.mapSliceZone=function(e,t,i){return Promise.all(e.map(async(e,r,n)=>{let a="slice_type"in e,o=a?e.slice_type:e.type,s=t[o];if(!s)return e;let l={slice:e,slices:n,index:r,context:i},d=await s(l);return(s.length<1&&("function"==typeof d||"object"==typeof d&&"default"in d)&&(d="default"in d?d.default:d,d=await d(l)),a)?{__mapped:!0,id:e.id,slice_type:o,...d}:{__mapped:!0,type:o,...d}}))}},82150:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(24619),n=i(91540),a=i(43018),o=i(86793),s=i(17561),l=i(33282),d=i(64178),u=i(79810),c=i(90610),p=i(64057),g=i(52575),f=i(6320),m=i(59493),h=i(80447),y=i(64237),b=i(39095),S=i(95194),w=i(4250),v=i(12290),T=i(51004),P=i(92947),R=i(4969),M=i(63601),k=i(14069),j=i(75337),L=i(11042),E=i(30440),_=i(44517),O=i(71929),A=i(88053),x=i(47602),I=i(7220),D=i(4346),F=i(79368),C=i(74021),N=i(36988),U=i(7677),$=i(29713),z=i(42636),q=i(74698),B=i(67480),W=i(57002),G=i(96057),H=i(49429),Q=a.filter,Z=n.mapSliceZone,V=r.RichTextNodeType;t.RichTextNodeType=r.RichTextNodeType,t.mapSliceZone=n.mapSliceZone,t.filter=a.filter,t.createClient=o.createClient,t.Client=s.Client,t.createWriteClient=l.createWriteClient,t.WriteClient=d.WriteClient,t.createMigration=u.createMigration,t.Migration=c.Migration,t.getRepositoryEndpoint=p.getRepositoryEndpoint,t.getRepositoryName=g.getRepositoryName,t.getGraphQLEndpoint=f.getGraphQLEndpoint,t.isRepositoryName=m.isRepositoryName,t.isRepositoryEndpoint=h.isRepositoryEndpoint,t.buildQueryURL=y.buildQueryURL,t.getToolbarSrc=b.getToolbarSrc,t.cookie=S,t.asDate=w.asDate,t.asLink=v.asLink,t.asLinkAttrs=T.asLinkAttrs,t.asText=P.asText,t.asHTML=R.asHTML,t.asImageSrc=M.asImageSrc,t.asImageWidthSrcSet=k.asImageWidthSrcSet,t.asImagePixelDensitySrcSet=j.asImagePixelDensitySrcSet,t.isFilled=L,t.documentToLinkField=E.documentToLinkField,t.PrismicError=_.PrismicError,t.ForbiddenError=O.ForbiddenError,t.NotFoundError=A.NotFoundError,t.RefNotFoundError=x.RefNotFoundError,t.RefExpiredError=I.RefExpiredError,t.PreviewTokenExpiredError=D.PreviewTokenExpiredError,t.ParsingError=F.ParsingError,t.RepositoryNotFoundError=C.RepositoryNotFoundError,t.LinkType=N.LinkType,t.OEmbedType=U.OEmbedType,t.CustomTypeModelFieldType=$.CustomTypeModelFieldType,t.CustomTypeModelLinkSelectType=z.CustomTypeModelLinkSelectType,t.CustomTypeModelSliceType=q.CustomTypeModelSliceType,t.CustomTypeModelSliceDisplay=B.CustomTypeModelSliceDisplay,t.PrismicMigrationDocument=W.PrismicMigrationDocument,t.PrismicMigrationAsset=G.PrismicMigrationAsset,t.WebhookType=H.WebhookType,t.Element=V,t.predicate=Q,t.unstable_mapSliceZone=Z},80447:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isRepositoryEndpoint=e=>{try{return new URL(e),!0}catch{return!1}}},59493:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isRepositoryName=e=>/^[a-zA-Z0-9][-a-zA-Z0-9]{2,}[a-zA-Z0-9]$/.test(e)},79975:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44138);t.appendFilters=(e={},t)=>({...e,filters:[...e.filters||[],...r.castArray(t)]})},44138:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.castArray=e=>Array.isArray(e)?e:[e]},82561:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.castThunk=e=>"function"==typeof e?e:()=>e},32884:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44820);t.devMsg=e=>`https://prismic.dev/msg/client/v${r.version}/${e}`},81858:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=/["'&<>]/;t.escapeHTML=e=>{let t;let r=""+e,n=i.exec(r);if(!n)return r;let a="",o=0,s=0;for(o=n.index;o{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(43018),n=i(44138);t.everyTagFilter=e=>r.filter.at("document.tags",n.castArray(e))},18676:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(68726);t.findMasterRef=e=>r.findRef(e,e=>e.isMasterRef)},68726:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);t.findRef=(e,t)=>{let i=e.find(e=>t(e));if(!i)throw new r.PrismicError("Ref could not be found.",void 0,void 0);return i}},42066:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(68726);t.findRefByID=(e,t)=>r.findRef(e,e=>e.id===t)},69111:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(68726);t.findRefByLabel=(e,t)=>r.findRef(e,e=>e.label===t)},84229:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.getOptionalLinkProperties=e=>{let t={};return"text"in e&&(t.text=e.text),"variant"in e&&(t.variant=e.variant),t}},93722:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(95194),n=e=>e.replace(/%3B/g,";");t.getPreviewCookie=e=>{let t;for(let i of e.split("; ")){let e=i.split("=");if(n(e[0]).replace(/%3D/g,"=")===r.preview){t=n(e.slice(1).join("="));break}}return t}},56404:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isInternalURL=e=>{let t=/^(\/(?!\/)|#)/.test(e),i=!t&&!/^https?:\/\//.test(e);return t&&!i}},683:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(96057),n=i(57002),a=i(36988),o=i(24619),s=i(77237),l=e=>e instanceof n.PrismicMigrationDocument||s.prismicDocument(e)||"object"==typeof e&&null!==e&&"link_type"in e&&e.link_type===a.LinkType.Document&&"id"in e&&(l(e.id)||"function"==typeof e.id);t.contentRelationship=l,t.image=e=>e instanceof r.PrismicMigrationAsset||"object"==typeof e&&null!==e&&"id"in e&&Object.values(e).every(e=>e instanceof r.PrismicMigrationAsset),t.linkToMedia=e=>"object"==typeof e&&null!==e&&"id"in e&&e.id instanceof r.PrismicMigrationAsset&&"link_type"in e&&e.link_type===a.LinkType.Media,t.rtImageNode=e=>"object"==typeof e&&null!==e&&"id"in e&&e.id instanceof r.PrismicMigrationAsset&&"type"in e&&e.type===o.RichTextNodeType.image},77237:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(36988),n=i(24619),a=e=>!!e&&"object"==typeof e&&(!("version"in e)||"object"==typeof e.version)&&"id"in e&&"url"in e&&"string"==typeof e.url&&"dimensions"in e&&"edit"in e&&"alt"in e&&"copyright"in e;t.filledContentRelationship=e=>!!e&&"object"==typeof e&&!("version"in e)&&"link_type"in e&&e.link_type===r.LinkType.Document&&"id"in e&&"type"in e&&"tags"in e&&"lang"in e,t.filledImage=e=>!!a(e)&&(!("type"in e)||e.type!==n.RichTextNodeType.image),t.filledLinkToMedia=e=>!!e&&"object"==typeof e&&!("version"in e)&&"link_type"in e&&e.link_type===r.LinkType.Media&&"id"in e&&"name"in e&&"kind"in e&&"url"in e&&"size"in e,t.prismicDocument=e=>{try{return"object"==typeof e&&null!==e&&"id"in e&&"href"in e&&"string"==typeof e.href&&new URL(e.href)&&"type"in e&&"lang"in e&&"tags"in e&&Array.isArray(e.tags)}catch{return!1}},t.rtImageNode=e=>!!a(e)&&"type"in e&&e.type===n.RichTextNodeType.image},26051:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.minifyGraphQLQuery=e=>e.replace(/(\n| )*( |{|})(\n| )*/gm,(e,t,i)=>i)},5377:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=e=>new Promise(t=>setTimeout(t,e));t.pLimit=({interval:e}={})=>{let t=[],r=!1,n=0,a=()=>{!r&&t.length>0&&(t.shift()?.(),r=!0)},o=()=>{r=!1,a()},s=async(t,r,a)=>{let s=Date.now()-n;e&&st(...a))();r(l);try{await l}catch{}n=Date.now(),o()},l=(e,i,n)=>{new Promise(e=>{t.push(e)}).then(s.bind(void 0,e,i,n)),(async()=>{await Promise.resolve(),r||a()})()};return(e,...t)=>new Promise(i=>{l(e,i,t)})}},40373:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(5377),n={},a={};async function o(e,t,i){let s;let l=e.toString();if(t?.body)s=(n[e.hostname]||=r.pLimit({interval:1500}))(()=>i(l,t));else{let e=a[l]?.get(t?.signal);e?s=e:(s=i(l,t).finally(()=>{a[l]?.delete(t?.signal),a[l]?.size===0&&delete a[l]}),(a[l]||=new Map).set(t?.signal,s))}let d=await s;if(429===d.status){let r=Number(d.headers.get("retry-after")),n=Number.isNaN(r)?1500:1e3*r;return await new Promise(e=>setTimeout(e,n)),o(e,t,i)}return d.clone()}t.DEFAULT_RETRY_AFTER=1500,t.request=o},26827:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(96057),n=i(57002),a=i(36988),o=i(24619),s=i(11042),l=i(683),d=i(84229);async function u(e){if("function"==typeof e)return u(await e());if(e instanceof n.PrismicMigrationDocument)return e.document.id?{link_type:a.LinkType.Document,id:e.document.id}:{link_type:a.LinkType.Any};let t=e&&"link_type"in e?d.getOptionalLinkProperties(e):void 0;return e?l.contentRelationship(e.id)||"string"!=typeof e.id?{...t,...await u(e.id)}:{...t,link_type:a.LinkType.Document,id:e.id}:{...t,link_type:a.LinkType.Any}}let c=(e,t,i)=>{let{id:n,...a}=e instanceof r.PrismicMigrationAsset?{id:e}:e,o=t._assets.get(n.config.id)?.asset,s=n.originalField;if(o){let e=(s?.url||o.url).split("?")[1],r=`${o.url.split("?")[0]}${e?`?${e}`:""}`,l={width:o.width,height:o.height},d=s&&"edit"in s?s?.edit:{x:0,y:0,zoom:1,background:"transparent"},u=n.config.alt||o.alt||null,p={};if(i)for(let[e,i]of Object.entries(a)){let r=c(i,t);r&&(p[e]=r)}return{id:o.id,url:r,dimensions:l,edit:d,alt:u,copyright:o.credits||null,...p}}},p=async(e,t)=>{let i=c(e.id,t);if(i){let r=await f(e.linkTo,t);return{...i,type:o.RichTextNodeType.image,linkTo:s.link(r)?r:void 0}}},g=(e,t)=>{let i=t._assets.get(e.id.config.id)?.asset,r=d.getOptionalLinkProperties(e);return i?{...r,id:i.id,link_type:a.LinkType.Media}:{...r,link_type:a.LinkType.Any}};async function f(e,t){if(l.contentRelationship(e))return u(e);if(l.image(e))return c(e,t,!0);if(l.linkToMedia(e))return g(e,t);if(l.rtImageNode(e))return p(e,t);if("function"==typeof e)return await f(await e(),t);if(Array.isArray(e)){let i=[];for(let r of e)i.push(await f(r,t));return i.filter(Boolean)}if(e&&"object"==typeof e){let i={};for(let r in e)i[r]=await f(e[r],t);return i}return e}t.resolveMigrationContentRelationship=u,t.resolveMigrationDocumentData=f,t.resolveMigrationImage=c,t.resolveMigrationLinkToMedia=g,t.resolveMigrationRTImageNode=p},75913:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(36988),n=i(12290),a=i(81858),o=(e,t)=>{let i={...t};"direction"in e&&"rtl"===e.direction&&(i.dir=e.direction),"data"in e&&"label"in e.data&&e.data.label&&(i.class=i.class?`${i.class} ${e.data.label}`:e.data.label);let r=[];for(let e in i){let t=i[e];t&&("boolean"==typeof t?r.push(e):r.push(`${e}="${a.escapeHTML(t)}"`))}return r.length&&r.unshift(""),r.join(" ")},s=e=>e&&"function"!=typeof e?e:{},l=(e,t)=>{let i=s(t);return({node:t,children:a})=>{let s={...i};return t.data.link_type===r.LinkType.Web?(s.href=t.data.url,s.target=t.data.target,s.rel="noopener noreferrer"):t.data.link_type===r.LinkType.Document?s.href=n.asLink(t.data,{linkResolver:e}):t.data.link_type===r.LinkType.Media&&(s.href=t.data.url),`${a}`}};t.serializeEmbed=e=>{let t=s(e);return({node:e})=>{let i={...t,"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name};return`${e.oembed.html}`}},t.serializeHyperlink=l,t.serializeImage=(e,t)=>{let i=s(t);return({node:t})=>{let r={...i,src:t.url,alt:t.alt,copyright:t.copyright},n=``;return t.linkTo&&(n=l(e)({type:"hyperlink",node:{type:"hyperlink",data:t.linkTo,start:0,end:0},text:"",children:n,key:""})),`

${n}

`}},t.serializePreFormatted=e=>{let t=s(e);return({node:e})=>`${a.escapeHTML(e.text)}`},t.serializeSpan=()=>({text:e})=>e?a.escapeHTML(e).replace(/\n/g,"
"):"",t.serializeStandardTag=(e,t)=>{let i=s(t);return({node:t,children:r})=>`<${e}${o(t,i)}>${r}`}},94149:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(43018),n=i(44138);t.someTagsFilter=e=>r.filter.any("document.tags",n.castArray(e))},48210:(e,t)=>{let i;Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=0;t.throttledLog=(e,t={})=>{let{level:n="log"}=t;if(e===i&&Date.now()-r<5e3){r=Date.now();return}r=Date.now(),i=e,console[n](e)}},33518:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(43018);t.typeFilter=e=>r.filter.at("document.type",e)},47955:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(44517);t.validateAssetMetadata=({notes:e,credits:t,alt:i,tags:n})=>{let a=[];if(e&&e.length>500&&a.push("`notes` must be at most 500 characters"),t&&t.length>500&&a.push("`credits` must be at most 500 characters"),i&&i.length>500&&a.push("`alt` must be at most 500 characters"),n&&n.length&&n.some(e=>e.length<3||e.length>20)&&a.push("tags must be at least 3 characters long and 20 characters at most"),a.length)throw new r.PrismicError(`Errors validating asset metadata: ${a.join(", ")}`,void 0,{notes:e,credits:t,alt:i,tags:n})}},44820:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.name="@prismicio/client",t.version="7.20.3"},29749:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.asText=(e,t=" ")=>{let i="";for(let r=0;r{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(24619),n=()=>(++n.i).toString();n.i=0;let a=(e,t=[])=>({key:n(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:t}),o=e=>a({type:r.RichTextNodeType.span,text:e,spans:[]}),s=e=>{let t=e.slice(0);for(let e=0;e{if("text"in e)return a(e,d(e.spans,e));if("items"in e){let t=[];for(let i=0;i{if(!e.length)return[o(t.text)];let r=e.slice(0);r.sort((e,t)=>e.start-t.start||t.end-e.end);let n=[];for(let e=0;e=s.start&&e.end<=s.end?(g.push(e),r.splice(t,1),t--):e.starts.start&&(g.push({...e,end:s.end}),r[t]={...e,start:s.end}))}0===e&&u>0&&n.push(o(t.text.slice(0,u)));let f={...s,text:p};n.push(a(f,d(g,{...t,text:p},s))),c{let t=s(e),i=[];for(let e=0;e{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.composeSerializers=(...e)=>(...t)=>{for(let i=0;i{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(1156),n=(e,t)=>{let i=[];for(let r=0;rn(r.asTree(e).children,t)},98021:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(24619),n={[r.RichTextNodeType.listItem]:"listItem",[r.RichTextNodeType.oListItem]:"oListItem",[r.RichTextNodeType.list]:"list",[r.RichTextNodeType.oList]:"oList"};t.RichTextReversedNodeType=n},88392:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(98021);t.wrapMapSerializer=e=>(t,i,n,a,o)=>{let s=e[r.RichTextReversedNodeType[t]||t];if(s)return s({type:t,node:i,text:n,children:a,key:o})}},96057:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});class i{asset;config;originalField;constructor(e,t){this.config=e,this.originalField=t}}t.PrismicMigrationAsset=i},57002:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});class i{document;title;masterLanguageDocument;originalPrismicDocument;constructor(e,t,i){this.document=e,this.title=t,this.masterLanguageDocument=i?.masterLanguageDocument,this.originalPrismicDocument=i?.originalPrismicDocument}}t.PrismicMigrationDocument=i},42636:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.CustomTypeModelLinkSelectType={Document:"document",Media:"media",Web:"web"}},67480:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.CustomTypeModelSliceDisplay={List:"list",Grid:"grid"}},74698:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.CustomTypeModelSliceType={Slice:"Slice",SharedSlice:"SharedSlice"}},29713:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.CustomTypeModelFieldType={Boolean:"Boolean",Color:"Color",Date:"Date",Embed:"Embed",GeoPoint:"GeoPoint",Group:"Group",Image:"Image",Integration:"IntegrationFields",Link:"Link",Number:"Number",Select:"Select",Slices:"Slices",StructuredText:"StructuredText",Table:"Table",Text:"Text",Timestamp:"Timestamp",UID:"UID",IntegrationFields:"IntegrationFields",Range:"Range",Separator:"Separator",LegacySlices:"Choice"}},7677:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.OEmbedType={Photo:"photo",Video:"video",Link:"link",Rich:"rich"}},36988:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.LinkType={Any:"Any",Document:"Document",Media:"Media",Web:"Web"}},24619:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.RichTextNodeType={heading1:"heading1",heading2:"heading2",heading3:"heading3",heading4:"heading4",heading5:"heading5",heading6:"heading6",paragraph:"paragraph",preformatted:"preformatted",strong:"strong",em:"em",listItem:"list-item",oListItem:"o-list-item",list:"group-list-item",oList:"group-o-list-item",image:"image",embed:"embed",hyperlink:"hyperlink",label:"label",span:"span"}},49429:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.WebhookType={APIUpdate:"api-update",TestTrigger:"test-trigger"}},29623:(e,t,i)=>{var r=Object.defineProperty,n=(e,t,i)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,a=(e,t,i)=>n(e,"symbol"!=typeof t?t+"":t,i);Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=i(33702),s=i(20433),l=i(41680);class d{constructor(e){a(this,"baseURL"),this.baseURL=e.baseURL}buildURLForPath(e,t={}){return s.buildURL(`${new URL(e,this.baseURL)}`,t)}buildWidthSrcSetForPath(e,t){return l.buildWidthSrcSet(`${new URL(e,this.baseURL)}`,t)}buildPixelDensitySrcSetForPath(e,t){return o.buildPixelDensitySrcSet(`${new URL(e,this.baseURL)}`,t)}}t.Client=d},33702:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(20433);t.buildPixelDensitySrcSet=(e,{pixelDensities:t,...i})=>t.map(t=>`${r.buildURL(e,{...i,dpr:t})} ${t}x`).join(", ")},20433:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`);t.buildURL=(e,t)=>{let r=new URL(e);for(let e in t){let n=i(e),a=t[e];void 0===a?r.searchParams.delete(n):Array.isArray(a)?r.searchParams.set(n,a.join(",")):r.searchParams.set(n,`${a}`)}let n=r.searchParams.get("s");return n&&(r.searchParams.delete("s"),r.searchParams.append("s",n)),r.toString()}},41680:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(20433);t.buildWidthSrcSet=(e,{widths:t,...i})=>t.map(t=>`${r.buildURL(e,{...i,w:void 0,h:void 0,height:void 0,width:t})} ${t}w`).join(", ")},86940:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(29623),n=i(20433),a=i(41680),o=i(33702);t.Client=r.Client,t.buildURL=n.buildURL,t.buildWidthSrcSet=a.buildWidthSrcSet,t.buildPixelDensitySrcSet=o.buildPixelDensitySrcSet},37405:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(95155),n=i(12115),a=i(5565),o=i(25159),s=i(82150);i(46102);let l=i(1295),d=i(68947),u=e=>{if("number"==typeof e||void 0===e)return e;{let t=Number.parseInt(e);if(Number.isNaN(t))return;return t}},c=n.forwardRef(function(e,t){let{field:i,imgixParams:n={},alt:c,fallbackAlt:p,fill:g,width:f,height:m,fallback:h=null,loader:y=d.imgixLoader,...b}=e;if(!s.isFilled.imageThumbnail(i))return r.jsx(r.Fragment,{children:h});for(let e in n)null===n[e]&&(n[e]=void 0);let S=o.buildURL(i.url,n),w=i.dimensions.width/i.dimensions.height,v=u(f),T=u(m),P=null!=v?v:i.dimensions.width,R=null!=T?T:i.dimensions.height;null!=v&&null==T?R=v/w:null==v&&null!=T&&(P=T*w);let M=null!=c?c:i.alt||p,k=l.resolveDefaultExport(a);return r.jsx(k,{ref:t,src:S,width:g?void 0:P,height:g?void 0:R,alt:M,fill:g,loader:null===y?void 0:y,...b})});t.PrismicNextImage=c},76094:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(12115),n=i(82150),a=i(76046);t.PrismicPreviewClient=e=>{let{repositoryName:t,isDraftMode:i,updatePreviewURL:o="/api/preview",exitPreviewURL:s="/api/exit-preview"}=e,{refresh:l}=a.useRouter();return r.useEffect(()=>{let e=new AbortController;window.addEventListener("prismicPreviewUpdate",function(e){e.preventDefault(),l()},{signal:e.signal}),window.addEventListener("prismicPreviewEnd",function(t){t.preventDefault(),globalThis.fetch(s,{signal:e.signal}).then(e=>{if(!e.ok){console.error('[] Failed to exit Preview Mode using the "'.concat(s,'" API endpoint. Does it exist?'));return}l()}).catch(()=>{})},{signal:e.signal});let r=function(e){let t;function i(e){return e.replace(/%3B/g,";")}for(let r of e.split("; ")){let e=r.split("=");if(i(e[0]).replace(/%3D/g,"=")===n.cookie.preview){t=i(e.slice(1).join("="));continue}}return t}(window.document.cookie);return(r?(decodeURIComponent(r).match(/"([^"]+)\.prismic\.io"/)||[])[1]:void 0)!==t||i||(console.log("starting preview link"),globalThis.fetch(o,{redirect:"manual",signal:e.signal}).then(e=>{if("opaqueredirect"!==e.type){console.error('[] Failed to start the preview using "'.concat(o,'". Does it exist?'));return}l()}).catch(()=>{})),()=>e.abort()},[t,i,o,s,l]),null}},68947:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(25159);t.imgixLoader=e=>{let t={fit:new URL(e.src).searchParams.get("fit")||"max",w:e.width,h:void 0};return e.quality&&(t.q=e.quality),r.buildURL(e.src,t)}},46102:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(57554);t.devMsg=e=>`https://prismic.dev/msg/next/v${r.version}/${e}`},1295:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.resolveDefaultExport=function(e){return"default"in e?e.default:e}},57554:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.version="2.0.2"},65326:(e,t,i)=>{var r=Object.defineProperty,n=(e,t,i)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,a=(e,t,i)=>n(e,"symbol"!=typeof t?t+"":t,i);Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let o=i(33037),s=i(97500),l=i(53289);class d{constructor(e){a(this,"baseURL"),this.baseURL=e.baseURL}buildURLForPath(e,t={}){return s.buildURL(`${new URL(e,this.baseURL)}`,t)}buildWidthSrcSetForPath(e,t){return l.buildWidthSrcSet(`${new URL(e,this.baseURL)}`,t)}buildPixelDensitySrcSetForPath(e,t){return o.buildPixelDensitySrcSet(`${new URL(e,this.baseURL)}`,t)}}t.Client=d},33037:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(97500);t.buildPixelDensitySrcSet=(e,{pixelDensities:t,...i})=>t.map(t=>`${r.buildURL(e,{...i,dpr:t})} ${t}x`).join(", ")},97500:(e,t)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=e=>e.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`);t.buildURL=(e,t)=>{let r=new URL(e);for(let e in t){let n=i(e),a=t[e];void 0===a?r.searchParams.delete(n):Array.isArray(a)?r.searchParams.set(n,a.join(",")):r.searchParams.set(n,`${a}`)}let n=r.searchParams.get("s");return n&&(r.searchParams.delete("s"),r.searchParams.append("s",n)),r.toString()}},53289:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(97500);t.buildWidthSrcSet=(e,{widths:t,...i})=>t.map(t=>`${r.buildURL(e,{...i,w:void 0,width:t})} ${t}w`).join(", ")},25159:(e,t,i)=>{Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let r=i(65326),n=i(97500),a=i(53289),o=i(33037);t.Client=r.Client,t.buildURL=n.buildURL,t.buildWidthSrcSet=a.buildWidthSrcSet,t.buildPixelDensitySrcSet=o.buildPixelDensitySrcSet}}]);