1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2853],{2853:(e,t,o)=>{o.d(t,{C:()=>j});var n=o(74534),r=o(87142);let l=!1,i=[],a=e=>new Promise((t,o)=>{if(typeof window>"u"||(window.storyblokRegisterEvent=e=>{if(window.location===window.parent.location)return void console.warn("You are not in Draft Mode or in the Visual Editor.");l?e():i.push(e)},document.getElementById("storyblok-javascript-bridge")))return;let n=document.createElement("script");n.async=!0,n.src=e,n.id="storyblok-javascript-bridge",n.onerror=e=>o(e),n.onload=e=>{i.forEach(e=>e()),l=!0,t(e)},document.getElementsByTagName("head")[0].appendChild(n)});var s=Object.defineProperty,c=(e,t,o)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,u=(e,t,o)=>c(e,"symbol"!=typeof t?t+"":t,o),d=(e=>(e.DOCUMENT="doc",e.HEADING="heading",e.PARAGRAPH="paragraph",e.QUOTE="blockquote",e.OL_LIST="ordered_list",e.UL_LIST="bullet_list",e.LIST_ITEM="list_item",e.CODE_BLOCK="code_block",e.HR="horizontal_rule",e.BR="hard_break",e.IMAGE="image",e.EMOJI="emoji",e.COMPONENT="blok",e))(d||{}),p=(e=>(e.BOLD="bold",e.STRONG="strong",e.STRIKE="strike",e.UNDERLINE="underline",e.ITALIC="italic",e.CODE="code",e.LINK="link",e.ANCHOR="anchor",e.STYLED="styled",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.TEXT_STYLE="textStyle",e.HIGHLIGHT="highlight",e))(p||{}),b=(e=>(e.TEXT="text",e))(b||{}),k=(e=>(e.URL="url",e.STORY="story",e.ASSET="asset",e.EMAIL="email",e))(k||{});let f=(e={})=>Object.keys(e).map(t=>`${t}="${e[t]}"`).join(" "),v=()=>a("https://app.storyblok.com/f/storyblok-v2-latest.js");var h=o(84211),m=o(59617);let j=e=>{let{story:t,bridgeLess:o,...l}=e,{onPublished:i}=(0,m.u)(),[a,s]=(0,r.useState)(t.content),c=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{c.current||o||v().then(()=>{let{StoryblokBridge:e}=window,t=new e;t.on(["change","published"],()=>{null==i||i()}),t.on(["input"],e=>{var t;s(null==e||null==(t=e.story)?void 0:t.content)}),c.current=!0})},[o]),(0,n.jsx)(r.Suspense,{children:(0,n.jsx)(h.S,{...l,blok:a,preview:!0})})}},45185:(e,t,o)=>{o.d(t,{d:()=>l,g:()=>r});let n={blokMap:{}},r=e=>n.blokMap[e];function l({bloks:e}){return n.blokMap=e,{bloks:e}}},59617:(e,t,o)=>{o.d(t,{S:()=>i,u:()=>a});var n=o(74534),r=o(87142);let l=(0,r.createContext)(null),i=e=>{let{children:t,onPublished:o}=e;return(0,n.jsx)(l.Provider,{value:{onPublished:o},children:t})},a=()=>(0,r.useContext)(l)},65929:(e,t,o)=>{o.d(t,{C:()=>i});var n=o(74534),r=o(27755),l=o(45185);let i=e=>{let{blok:t,preview:o,...r}=e,i=(0,l.g)(t.component);if(!i){let e='Component: "'.concat(t.component,'" not found');return(0,n.jsx)("div",{children:e})}return"object"==typeof i&&"fetcher"in i?(0,n.jsx)(s,{componentData:i,preview:o,...r,blok:t}):(0,n.jsx)(a,{preview:o,...r,blok:t,componentData:i})},a=e=>{let{blok:t,componentData:o,preview:r,...l}=e,i="function"==typeof o?o:o.blok;return(0,n.jsx)(i,{preview:r,...l,blok:t})},s=e=>{let{blok:t,preview:o,componentData:l,...i}=e,a=null==l.getKey?void 0:l.getKey.call(l,{blok:t,preview:o}),s=Array.isArray(a)?a:[a],{data:c,isLoading:u}=(0,r.I)({queryKey:["blok",t._uid,...s.filter(Boolean)],queryFn:()=>l.fetcher({blok:t,preview:o})}),d=l.blok,p=l.fallback;return u?p?(0,n.jsx)(p,{blok:t,preview:o}):null:(0,n.jsx)(d,{...i,preview:o,blok:t,data:c})}},84211:(e,t,o)=>{o.d(t,{S:()=>u,a:()=>d});var n=o(74534),r=o(65929),l=o(87142),i=o(45185);let a=({blok:e,...t})=>{let o=(0,i.g)(e.component);if(!o){let t=`Component: "${e.component}" not found`;return(0,n.jsx)("div",{children:t})}return o&&"object"==typeof o?"fetcher"in o?(0,n.jsx)(l.Suspense,{fallback:o.fallback?(0,n.jsx)(o.fallback,{...t,blok:e}):null,children:(0,n.jsx)(c,{...t,blok:e,componentData:o})}):(0,n.jsx)(s,{...t,blok:e,componentData:o}):(0,n.jsx)(o,{...t,blok:e})},s=({blok:e,componentData:t,...o})=>{if(!t){let t=`Component: "${e.component}" not found`;return(0,n.jsx)("div",{children:t})}let r=t.blok;return(0,n.jsx)(r,{...o,blok:e})},c=async({blok:e,componentData:t,...o})=>{if(!t){let t=`Component: "${e.component}" not found`;return(0,n.jsx)("div",{children:t})}let r=await t.fetcher({blok:e,preview:o.preview}),l=t.blok;return(0,n.jsx)(l,{...o,blok:e,data:r})},u=({blok:e,preview:t,...o})=>{if(void 0===t)throw Error("Preview was not passed down as a prop to StoryblokComponent, this will cause a fetch overflow",{cause:e.component});if(!e){let e="Please provide a blok";return console.error(e),(0,n.jsx)("div",{children:e})}if(!e.component){let e="Component is not listed in bloks";return console.error(e),(0,n.jsx)("div",{children:e})}return t?(0,n.jsx)(r.C,{...o,blok:e,preview:!0}):(0,n.jsx)(a,{...o,preview:!1,blok:e})},d=({bloks:e,preview:t,...o})=>(0,n.jsx)(n.Fragment,{children:e.map(e=>(0,n.jsx)(u,{blok:e,preview:t,...o},e._uid))})}}]); 2//#
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.