1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5848],{6296:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(12588).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},9339:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return i.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var l in n)Object.defineProperty(t,l,{enumerable:!0,get:n[l]});let i=r(77304),o=r(4060),a=r(77197)},10662:(e,t,r)=>{r.d(t,{o:()=>s});let n=({apiPath:e,data:t,endpoint:r,serverURL:n})=>fetch(`${n}${e}/${r}`,{body:JSON.stringify(t),credentials:"include",headers:{"Content-Type":"application/json","X-Payload-HTTP-Method-Override":"GET"},method:"POST"}),l=async e=>{let{apiRoute:t,collectionSlug:r,depth:l,globalSlug:i,incomingData:o,initialData:a,locale:s,serverURL:c}=e,d=e.requestHandler||n;return await d({apiPath:t||"/api",data:{data:o,depth:l,flattenLocales:!1,locale:s},endpoint:encodeURI(`${i?"globals/":""}${r??i}${r?`/${a.id}`:""}`),serverURL:c}).then(e=>e.json())},i={previousData:void 0},o=async e=>{let{apiRoute:t,depth:r,event:n,initialData:o,requestHandler:a,serverURL:s}=e;if(n.origin===s&&n.data&&"object"==typeof n.data&&"payload-live-preview"===n.data.type){let{collectionSlug:e,data:c,globalSlug:d,locale:u}=n.data;if(!e&&!d)return o;let h=await l({apiRoute:t,collectionSlug:e,depth:r,globalSlug:d,incomingData:c,initialData:i?.previousData||o,locale:u,requestHandler:a,serverURL:s});return i.previousData=h,h}return i.previousData||(i.previousData=o),i.previousData};var a=r(12115);let s=e=>{let{apiRoute:t,depth:r,initialData:n,requestHandler:l,serverURL:s}=e,[c,d]=(0,a.useState)(n),[u,h]=(0,a.useState)(!0),p=(0,a.useRef)(!1),f=(0,a.useCallback)(e=>{d(e),h(!1)},[]);return(0,a.useEffect)(()=>{let e=(e=>{let{apiRoute:t,callback:r,depth:n,initialData:l,requestHandler:a,serverURL:s}=e;i.previousData=void 0;let c=async e=>{r(await o({apiRoute:t,depth:n,event:e,initialData:l,requestHandler:a,serverURL:s}))};return"u">typeof window&&window.addEventListener("message",c),c})({apiRoute:t,callback:f,depth:r,initialData:n,requestHandler:l,serverURL:s});return p.current||(p.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:s})),()=>{"u">typeof window&&window.removeEventListener("message",e)}},[s,f,r,n,t,l]),{data:c,isLoading:u}}},50363:(e,t,r)=>{r.d(t,{s:()=>h});var n=r(95155),l=r(12115);let i={horizontalrule:(0,n.jsx)("hr",{})},o={linebreak:(0,n.jsx)("br",{})};var a=r(98825);let s="Ö-ß¿ï¬-﷽ﹰ-ﻼ",c="A-Za-z\xc0-\xd6\xd8-\xf6\xf8-ʸÌ-Öà -á¿¿ââ°-ï¬ï¸-﹯﻽-ï¿¿";RegExp("^[^"+c+"]*["+s+"]"),RegExp("^[^"+s+"]*["+c+"]");let d={paragraph:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children});return r?.length?(0,n.jsx)("p",{children:r}):(0,n.jsx)("p",{children:(0,n.jsx)("br",{})})},text:({node:e})=>{let t=e.text;return 1&e.format&&(t=(0,n.jsx)("strong",{children:t})),2&e.format&&(t=(0,n.jsx)("em",{children:t})),4&e.format&&(t=(0,n.jsx)("span",{style:{textDecoration:"line-through"},children:t})),8&e.format&&(t=(0,n.jsx)("span",{style:{textDecoration:"underline"},children:t})),16&e.format&&(t=(0,n.jsx)("code",{children:t})),32&e.format&&(t=(0,n.jsx)("sub",{children:t})),64&e.format&&(t=(0,n.jsx)("sup",{children:t})),t},...o,quote:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children});return(0,n.jsx)("blockquote",{children:r})},table:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children});return(0,n.jsx)("div",{className:"lexical-table-container",children:(0,n.jsx)("table",{className:"lexical-table",style:{borderCollapse:"collapse"},children:(0,n.jsx)("tbody",{children:r})})})},tablecell:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children}),l=e.headerState>0?"th":"td",i=`lexical-table-cell-header-${e.headerState}`,o={backgroundColor:e.backgroundColor||void 0,border:"1px solid #ccc",padding:"8px"},a=e.colSpan&&e.colSpan>1?e.colSpan:void 0,s=e.rowSpan&&e.rowSpan>1?e.rowSpan:void 0;return(0,n.jsx)(l,{className:`lexical-table-cell ${i}`,colSpan:a,rowSpan:s,style:o,children:r})},tablerow:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children});return(0,n.jsx)("tr",{className:"lexical-table-row",children:r})},heading:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children}),l=e.tag;return(0,n.jsx)(l,{children:r})},...i,list:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children}),l=e.tag;return(0,n.jsx)(l,{className:`list-${e?.listType}`,children:r})},listitem:({node:e,nodesToJSX:t,parent:r})=>{let l=e.children.some(e=>"list"===e.type),i=t({nodes:e.children});if(!("listType"in r)||r?.listType!=="check")return(0,n.jsx)("li",{className:`${l?"nestedListItem":""}`,style:l?{listStyleType:"none"}:void 0,value:e?.value,children:i});{let t=(0,a.A)();return(0,n.jsx)("li",{"aria-checked":e.checked?"true":"false",className:`list-item-checkbox${e.checked?" list-item-checkbox-checked":" list-item-checkbox-unchecked"}${l?" nestedListItem":""}`,role:"checkbox",style:{listStyleType:"none"},tabIndex:-1,value:e?.value,children:l?i:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("input",{checked:e.checked,id:t,readOnly:!0,t
1ype:"checkbox"}),(0,n.jsx)("label",{htmlFor:t,children:i}),(0,n.jsx)("br",{})]})})}},...(({internalDocToHref:e})=>({autolink:({node:e,nodesToJSX:t})=>{let r=t({nodes:e.children}),l=e.fields.newTab?"noopener noreferrer":void 0,i=e.fields.newTab?"_blank":void 0;return(0,n.jsx)("a",{href:e.fields.url,rel:l,target:i,children:r})},link:({node:t,nodesToJSX:r})=>{let l=r({nodes:t.children}),i=t.fields.newTab?"noopener noreferrer":void 0,o=t.fields.newTab?"_blank":void 0,a=t.fields.url??"";return"internal"===t.fields.linkType&&(e?a=e({linkNode:t}):(console.error("Lexical => JSX converter: Link converter: found internal link, but internalDocToHref is not provided"),a="#")),(0,n.jsx)("a",{href:a,rel:i,target:o,children:l})}}))({}),upload:({node:e})=>{if("object"!=typeof e.value)return null;let t=e.value,r=e.fields?.alt||t?.alt||"",l=t.url;if(!t.mimeType.startsWith("image"))return(0,n.jsx)("a",{href:l,rel:"noopener noreferrer",children:t.filename});if(!t.sizes||!Object.keys(t.sizes).length)return(0,n.jsx)("img",{alt:r,height:t.height,src:l,width:t.width});let i=[];for(let e in t.sizes){let r=t.sizes[e];if(!r||!r.width||!r.height||!r.mimeType||!r.filesize||!r.filename||!r.url)continue;let l=r?.url;i.push((0,n.jsx)("source",{media:`(max-width: ${r.width}px)`,srcSet:l,type:r.mimeType},e))}return i.push((0,n.jsx)("img",{alt:r,height:t?.height,src:l,width:t?.width},"image")),(0,n.jsx)("picture",{children:i})},tab:" "};function u(e){return t=>{if(e.Component){let r={...t,isEditor:!1,isJSXConverter:!0};return e.Component(r)}if(e.Block){let r=t.node,n={childIndex:t.childIndex,converters:t.converters,formData:r.fields??{},isEditor:!1,isJSXConverter:!0,node:r,nodesToJSX:t.nodesToJSX,parent:t.parent};return l.createElement(e.Block,n)}if(e.html){let r={...t,isEditor:!1,isJSXConverter:!0},l="function"==typeof e.html?e.html(r):e.html;return(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})}return null}}function h({className:e,converters:t,data:r,disableContainer:i,disableIndent:o,disableTextAlign:a,nodeMap:s}){if(!r)return null;let c={};c=t?"function"==typeof t?t({defaultConverters:d}):t:d;let p=r&&!Array.isArray(r)&&"object"==typeof r&&"root"in r&&function({converters:e,data:t,disableIndent:r,disableTextAlign:i,nodeMap:o}){if(function(e){if(!e?.root?.children?.length)return!1;let t=!1;if(e?.root?.children?.length===1&&e?.root?.children[0]?.type==="paragraph"){let r=e?.root?.children[0];if(r?.children&&r?.children?.length!==0){if(r?.children?.length===1){let e=r?.children[0];e?.type!=="text"||e?.text?.length||(t=!0)}}else t=!0}return!t}(t)){let a=o?function(e){let t={};for(let[r,l]of Object.entries(e))if(l&&"object"==typeof l){if("blocks"===r){for(let[e,r]of(t.blocks={},Object.entries(l)))(r.Component||r.Block||r.html)&&(t.blocks[e]=u(r));continue}if("inlineBlocks"===r){for(let[e,r]of(t.inlineBlocks={},Object.entries(l)))(r.Component||r.Block||r.html)&&(t.inlineBlocks[e]=u(r));continue}(l.Component||l.html)&&(t[r]=function(e){return t=>{let r={...t,isEditor:!1,isJSXConverter:!0};if(e.Component)return e.Component(r);if(e.html){let t="function"==typeof e.html?e.html(r):e.html;return(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})}return null}}(l))}return t}(o):void 0;return function e({converters:t,disableIndent:r,disableTextAlign:i,nodes:o,parent:a}){let s=t.unknown;return o.map((o,c)=>{let d;"block"===o.type?(d=t?.blocks?.[o?.fields?.blockType])||s||console.error(`Lexical => JSX converter: Blocks converter: found ${o?.fields?.blockType} block, but no converter is provided`):"inlineBlock"===o.type?(d=t?.inlineBlocks?.[o?.fields?.blockType])||s||console.error(`Lexical => JSX converter: Inline Blocks converter: found ${o?.fields?.blockType} inline block, but no converter is provided`):d=t[o.type];try{let u;!d&&s&&(d=s),u=d?"function"==typeof d?d({childIndex:c,converters:t,node:o,nodesToJSX:n=>e({converters:n.converters??t,disableIndent:n.disableIndent??r,disableTextAlign:n.disableTextAlign??i,nodes:n.nodes,parent:n.parent??{...o,parent:a}}),parent:a}):d:(0,n.jsx)("span",{children:"unknown node"},c);let h={};if(!i&&(!Array.isArray(i)||!i?.includes(o.type))&&"format"in o&&o.format)switch(o.format){case"center":h.textAlign="center";break;case"end":case"right":h.textAlign="right";break;case"justify":h.textAlign="justify";break;case"left":break;case"start":h.textAlign="left"}if(!r&&(!Array.isArray(r)||!r?.includes(o.type))&&"indent"in o&&o.indent&&"listitem"!==o.type&&(h.paddingInlineStart=`${40*Number(o.indent)}
1px`),l.isValidElement(u)){if(h.textAlign||h.paddingInlineStart){let e={...h,...u?.props?.style??{}};return l.cloneElement(u,{key:c,style:e})}return l.cloneElement(u,{key:c})}return u}catch(e){return console.error("Error converting lexical node to JSX:",e,"node:",o),null}}).filter(Boolean)}({converters:a?{...e,...a,blocks:{...e.blocks,...a.blocks},inlineBlocks:{...e.inlineBlocks,...a.inlineBlocks}}:e,disableIndent:r,disableTextAlign:i,nodes:t.root.children,parent:t.root})}return(0,n.jsx)(n.Fragment,{})}({converters:c,data:r,disableIndent:o,disableTextAlign:a,nodeMap:s});return i?(0,n.jsx)(n.Fragment,{children:p}):(0,n.jsx)("div",{className:e??"payload-richtext",children:p})}},52484:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(12588).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},98825:(e,t,r)=>{let n;r.d(t,{A:()=>a});let l="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i=new Uint8Array(16),o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));let a=function(e,t,r){if(l&&!t&&!e)return l();let a=(e=e||{}).random??e.rng?.()??function(){if(!n){if("u"<typeof crypto||!crypto.getRandomValues)throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");n=crypto.getRandomValues.bind(crypto)}return n(i)}();if(a.length<16)throw Error("Random bytes length must be >= 16");if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){if((r=r||0)<0||r+16>t.length)throw RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=a[e];return t}return function(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}(a)}}}]);
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.