PageSourceSearch

https://gatewayapi.com/_nuxt/CYBO_A_y.js

js gatewayapi.com collected 2026-09-24 20:18:27 UTC 20,650 bytes, 14 lines download raw bytes

1import{d as L,j as q,A as R,o as a,b as o,a as s,f as r,t as x,e as h,y as F,p as H,B as A,C as Y,D as z,z as T,g as D,E as lt,F as C,r as j,c as E,G as rt,H as Q,w as $,q as U,_ as X,i as ct,I as it,m as ut,n as dt,J as gt,K as pt}from"./CEaaJ6Xr.js";import{G as mt,a as ht,b as _t}from"./BhRCQju3.js";import{u as ft,t as xt,c as bt,r as yt,s as vt,k as wt,a as kt,j as $t,x as Ct,b as jt,d as Lt,y as Pt,m as At}from"./DBbUryOd.js";import{H as m,j as Tt,p as Ot,r as Et,g as Bt,a as St,b as Ht,c as Ft,d as Ut}from"./DwKHORRv.js";import{S as Dt,N as Mt,C as It}from"./BQKyk22G.js";import{u as Nt}from"./CBkzx4Ym.js";import{u as Z}from"./h4CPmr8s.js";import{u as qt}from"./Du91AM7F.js";import{u as Rt}from"./DRjfsUA9.js";import{u as zt}from"./Chn-iteA.js";import{u as Vt,d as Gt,a as Wt}from"./Pf3ay-y9.js";const Kt={key:0,class:"container mx-auto blog-footer mb-[60px]"},Jt=["src","alt"],Yt={class:"lg:text-[32px] mb-8"},Qt=["innerHTML"],Xt=L({__name:"BlogFooter",props:{data:{type:Object,default:()=>({})}},async setup(t){let e,d;const n=([e,d]=q(async()=>R("blogFooter",async()=>(await mt()).acfOptionsOptions?.options)),e=await e,d(),e);return(c,l)=>t.data.blogFooter?(a(),o("div",Kt,[s("img",{class:"rounded-[15px] mb-[60px]",src:r(n).data.value?.blogFooter?.image?.sourceUrl,alt:r(n).data.value?.blogFooter?.image?.altText},null,8,Jt),s("h2",Yt,[s("strong",null,x(r(n).data.value?.blogFooter?.title),1)]),s("div",{class:"text-gateway-text-gray",innerHTML:r(n).data.value?.blogFooter?.description},null,8,Qt)])):h("",!0)}}),Zt=Object.assign(Xt,{__name:"SectionElementsBlogFooter"});function te(t){return t[0].replace(`
2`,"<WPPreserveNewline />")}const ee=()=>({wpautop:(t,e=!0)=>{if(!t||t===null||t===void 0)return"";typeof e>"u"&&(e=!0);const d={};if(t.trim()==="")return"";if(t=t+`
3`,t.indexOf("<pre")>-1){const l=t.split("</pre>"),_=l.pop();t="",l.forEach(function(y,P){const u=y.indexOf("<pre");if(u===-1){t+=y;return}const v="<pre wp-pre-tag-"+P+"></pre>";d[v]=y.substr(u)+"</pre>",t+=y.substr(0,u)+v}),t+=_}t=t.replace(/<br \/>\s*<br \/>/,`
4
5`);const n="(?:table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|form|map|area|blockquote|address|math|style|p|h[1-6]|hr|fieldset|legend|section|article|aside|hgroup|header|footer|nav|figure|figcaption|details|menu|summary)";t=t.replace(new RegExp("(<"+n+"[^>]*>)","gmi"),`
6$1`),t=t.replace(new RegExp("(</"+n+">)","gmi"),`$1
7
8`),t=t.replace(/\r\n|\r/,`
9`),t.indexOf("<option")>-1&&(t=t.replace(/\s*<option'/gim,"<option"),t=t.replace(/<\/option>\s*/gim,"</option>")),t.indexOf("</object>")>-1&&(t=t.replace(/(<object[^>]*>)\s*/gim,"$1"),t=t.replace(/\s*<\/object>/gim,"</object>"),t=t.replace(/\s*(<\/?(?:param|embed)[^>]*>)\s*/gim,"$1")),(t.indexOf("<source")>-1||t.indexOf("<track")>-1)&&(t=t.replace(/([<\[](?:audio|video)[^>\]]*[>\]])\s*/gim,"$1"),t=t.replace(/\s*([<\[]\/(?:audio|video)[>\]])/gim,"$1"),t=t.replace(/\s*(<(?:source|track)[^>]*>)\s*/gim,"$1")),t=t.replace(/\n\n+/gim,`
10
11`);const c=t.split(/\n\s*\n/);return t="",c.forEach(function(l){t+="<p>"+l.replace(/^\s+|\s+$/g,"")+`</p>
12`}),t=t.replace(/<p>\s*<\/p>/gim,""),t=t.replace(/<p>([^<]+)<\/(div|address|form)>/gim,"<p>$1</p></$2>"),t=t.replace(new RegExp("<p>s*(</?"+n+"[^>]*>)s*</p>","gmi"),"$1",t),t=t.replace(/<p>(<li.+?)<\/p>/gim,"$1"),t=t.replace(/<p><blockquote([^>]*)>/gim,"<blockquote$1><p>"),t=t.replace(/<\/blockquote><\/p>/gim,"</p></blockquote>"),t=t.replace(new RegExp("<p>s*(</?"+n+"[^>]*>)","gmi"),"$1"),t=t.replace(new RegExp("(</?"+n+"[^>]*>)s*</p>","gmi"),"$1"),e&&(t=t.replace(/<(script|style)(?:.|\n)*?<\/\\1>/gim,te),t=t.replace(/(<br \/>)?\s*\n/gim,`<br />
13`),t=t.replace("<WPPreserveNewline />",`
14`)),t=t.replace(new RegExp("(</?"+n+"[^>]*>)s*<br />","gmi"),"$1"),t=t.replace(/<br \/>(\s*<\/?(?:p|li|div|dl|dd|dt|th|pre|td|ul|ol)[^>]*>)/gim,"$1"),t=t.replace(/\n<\/p>$/gim,"</p>"),Object.keys(d).length&&(t=t.replace(new RegExp(Object.keys(d).join("|"),"gi"),function(l){return d[l]})),t}}),ae=["innerHTML"],se=L({__name:"Wysiwyg",props:{data:{type:Object,default:()=>({})}},setup(t){const e=ee(),n=F(t.data.text);return(c,l)=>r(n)?(a(),o("div",{key:0,class:"blog-content mb-10",innerHTML:r(e).wpautop(r(n))},null,8,ae)):h("",!0)}}),oe=Object.assign(se,{__name:"SectionElementsBlogWysiwyg"}),ne={class:"mb-[60px] flex justify-center"},le=L({__name:"Image",props:{data:{type:Object,default:()=>({})}},setup(t){const e=t,d=T(()=>{const n=e.data.widthInPercent;return n&&n>0&&n<=100?`${n}%`:"100%"});return(n,c)=>{const l=z;return a(),o("div",ne,[H(l,{format:"webp",src:e.data.image?.node.mediaItemUrl,alt:e.data.image?.node.altText,style:Y({width:r(d)}
14),class:A(["rounded-[15px]",{"blog-media-border":e.data.border}])},null,8,["src","alt","style","class"])])}}}),re=Object.assign(le,{__name:"SectionElementsBlogImage"}),ce={class:"mb-[60px]"},ie=["width","src"],ue=L({__name:"Video",props:{data:{type:Object,default:()=>({})}},setup(t){const{embedUrl:e}=ft();return(d,n)=>(a(),o("div",ce,[s("iframe",{width:t.data.widthInPercent?`${t.data.widthInPercent}%`:"100%",height:"auto",loading:"lazy",class:"rounded-[16px] aspect-video",src:r(e)(t.data?.url.url),frameborder:"0",autoplay:"false",allow:"accelerometer; autoplay; fullscreen; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:"",referrerpolicy:"strict-origin-when-cross-origin"},null,8,ie)]))}}),de=Object.assign(ue,{__name:"SectionElementsBlogVideo"}),ge={};function pe(t,e){return a(),o("div")}const me=Object.assign(D(ge,[["render",pe]]),{__name:"SectionElementsBlogButton"}),he={key:0,class:"mb-[60px] code-container bg-white border-l-[12px] border-gateway-purple"},_e={key:0,class:"flex items-center justify-between rounded-t-lg px-4 py-2"},fe={class:"flex gap-2"},xe=["onClick"],be={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 h-5"},ye={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-5 h-5 text-green-400"},ve={key:0,class:"absolute top-4 left-[52px] z-10 px-1 bg-[#123981] text-white rounded text-xs font-medium"},we={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4"},ke={key:1,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-4 h-4 text-green-400"},$e=["innerHTML"],Ce=L({__name:"Code",props:{data:{type:Object,default:()=>({})}},setup(t){m.registerLanguage("javascript",Tt),m.registerLanguage("typescript",xt),m.registerLanguage("python",Ot),m.registerLanguage("ruby",Et),m.registerLanguage("go",Bt),m.registerLanguage("java",St),m.registerLanguage("php",Ht),m.registerLanguage("csharp",Ft),m.registerLanguage("cpp",bt),m.registerLanguage("rust",yt),m.registerLanguage("swift",vt),m.registerLanguage("kotlin",wt),m.registerLanguage("bash",Ut),m.registerLanguage("sql",kt),m.registerLanguage("json",$t),m.registerLanguage("xml",Ct),m.registerLanguage("css",jt),m.registerLanguage("scss",Lt),m.registerLanguage("yaml",Pt),m.registerLanguage("markdown",At);const e=t,d=F(0),n=F(!1),c=F(null),l=T(()=>!e.data?.sourceCode||e.data.sourceCode.length===0?null:e.data.sourceCode[d.value]),_=T(()=>l.value?.source||""),y=T(()=>{if(!_.value)return"";const f=P().replace("language-","");try{return f&&m.getLanguage(f)?m.highlight(_.value,{language:f}).value:m.highlightAuto(_.value).value}catch{return _.value}});function P(){if(!l.value?.language)return"";const b=Array.isArray(l.value.language)?l.value.language[0]:l.value.language;return`language-${{nodejs:"javascript","node.js":"javascript",js:"javascript",ts:"typescript",py:"python",rb:"ruby",go:"go",java:"java",php:"php",csharp:"csharp","c#":"csharp",cpp:"cpp","c++":"cpp",rust:"rust",swift:"swift",kotlin:"kotlin",bash:"bash",shell:"bash",terminal:"bash",sql:"sql",json:"json",xml:"xml",html:"xml",css:"css",scss:"scss",yaml:"yaml",markdown:"markdown"}[b.toLowerCase()]||b.toLowerCase()}`}function u(b){return b&&(Array.isArray(b)?b[1]||b[0]:b)||"Code"}async function v(){try{await navigator.clipboard.writeText(_.value),n.value=!0,setTimeout(()=>{n.value=!1},2e3)}catch{}}return lt(d,()=>{n.value=!1}),(b,f)=>t.data?.sourceCode&&t.data.sourceCode.length>0?(a(),o("div",he,[t.data.sourceCode.length>1?(a(),o("div",_e,[s("div",fe,[(a(!0),o(C,null,j(t.data.sourceCode,(B,O)=>(a(),o("button",{key:O,class:A(["px-4 py-2 text-sm font-medium rounded transition-colors",d.value===O?"text-white":"text-gray-400 hover:text-white"]),onClick:M=>d.value=O},x(u(B.language)),11,xe))),128))]),s("button",{class:"flex items-center gap-2 text-gray-400 transition-colors text-sm",onClick:v},[n.value?(a(),o("svg",ye,[...f[1]||(f[1]=[s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1)])])):(a(),o("svg",be,[...f[0]||(f[0]=[s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.7
145"},null,-1)])])),s("span",null,x(n.value?"Copied!":"Copy"),1)])])):h("",!0),s("div",{class:A(["relative",t.data.sourceCode.length>1?"":"rounded-lg"])},[t.data.sourceCode.length===1?(a(),o("div",ve,x(u(l.value?.language)),1)):h("",!0),t.data.sourceCode.length===1?(a(),o("button",{key:1,class:"absolute top-4 right-4 z-10 flex items-center gap-2 px-3 py-1.5 text-gray-400 hover:text-white transition-colors text-sm",onClick:v},[n.value?(a(),o("svg",ke,[...f[3]||(f[3]=[s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1)])])):(a(),o("svg",we,[...f[2]||(f[2]=[s("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.75"},null,-1)])])),s("span",null,x(n.value?"Copied!":"Copy"),1)])):h("",!0),s("pre",{class:A(["overflow-x-auto text-sm leading-relaxed",[t.data.sourceCode.length>1?"rounded-b-lg":"rounded-lg",t.data.sourceCode.length===1?"py-[25px] pt-10 pb-10 px-[52px]":"py-6 px-2"]])},[s("code",{ref_key:"codeElement",ref:c,class:A(P()),innerHTML:y.value},null,10,$e)],2)],2)])):h("",!0)}}),je=Object.assign(D(Ce,[["__scopeId","data-v-6ec3b02f"]]),{__name:"SectionElementsBlogCode"}),Le={key:0,class:"mb-[60px] overflow-x-auto"},Pe={class:"min-w-full border-collapse bg-white shadow-sm rounded-lg overflow-hidden"},Ae={key:0,class:"text-left p-4 font-semibold text-gray-700 bg-red-600"},Te={key:1,class:"bg-gateway-purple text-white"},Oe={key:2},Ee=["innerHTML"],Be=L({__name:"Table",props:{data:{type:Object,default:()=>({})}},setup(t){const e=t;return(d,n)=>t.data?.tabel?(a(),o("div",Le,[s("table",Pe,[e.data.tabel.caption?(a(),o("caption",Ae,x(e.data.tabel.caption),1)):h("",!0),e.data.tabel.header&&e.data.tabel.header.length>0?(a(),o("thead",Te,[(a(!0),o(C,null,j(e.data.tabel.header,(c,l)=>(a(),o("tr",{key:`header-${l}`},[(a(!0),o(C,null,j(c.c,(_,y)=>(a(),o("th",{key:`header-${l}-${y}`,class:"px-4 py-3 text-left text-sm font-semibold"},x(_),1))),128))]))),128))])):h("",!0),e.data.tabel.body&&e.data.tabel.body.length>0?(a(),o("tbody",Oe,[(a(!0),o(C,null,j(e.data.tabel.body,(c,l)=>(a(),o("tr",{key:`body-${l}`,class:A([l===0?"bg-gateway-blue":l%2!==0?"bg-white":"bg-gray-50","border-b border-gray-200 transition-colors"]),style:Y(l===0?"":"hover:bg-gray-100")},[(a(!0),o(C,null,j(c.c,(_,y)=>(a(),o("td",{key:`body-${l}-${y}`,class:A(l===0?"px-4 py-3 font-semibold text-white align-top":"px-4 py-3 text-gray-700 align-top"),innerHTML:_},null,10,Ee))),128))],6))),128))])):h("",!0)])])):h("",!0)}}),Se=Object.assign(D(Be,[["__scopeId","data-v-8470ba3e"]]),{__name:"SectionElementsBlogTable"}),He=L({__name:"DynamicBlogComponentHandler",props:{data:{type:Array,default:()=>[]}},setup(t){const e=t,d={PostArticlesContentText:oe,PostArticlesContentImage:re,PostArticlesContentVideo:de,PostArticlesContentButton:me,PostArticlesContentCode:je,PostArticlesContentBlogFooter:Zt,PostArticlesContentTable:Se},n=T(()=>!e.data||!e.data.map?[]:e.data.filter(c=>c!=null).map(c=>({component:c.__typename?c.__typename.replace(/Layout$/,""):"Unknown",data:c})));return(c,l)=>(a(!0),o(C,null,j(n.value,_=>(a(),E(rt(d[_.component]),{data:_.data},null,8,["data"]))),256))}}),Fe=Object.assign(He,{__name:"DynamicBlogComponentHandler"}),Ue={key:0,class:"related-posts-section bg-[#FAFCFF]"},De={class:"text-2xl lg:text-[40px] font-black text-center mb-6 text-gateway-gray text-pretty"},Me={key:0,class:"related-post-card rounded-[10px] max-w-[530px] overflow-hidden h-full bg-white"},Ie={class:"flex flex-col lg:flex-row lg:gap-5 h-full p-5 relative"},Ne={class:"w-full lg:w-1/2"},qe={class:"w-full lg:w-1/2 flex flex-col mt-2"},Re={class:"text-sm font-black text-gateway-gray mb-[10px] line-clamp-2"},ze={class:"flex flex-wrap items-center text-xs text-gateway-blue mb-[10px]"},Ve={key:0},Ge={key:1,class:"mx-2"},We={key:0},Ke=["innerHTML"],Je=L({__name:"RelatedPostsCarousel",props:{posts:{}},setup(t){const{t:e}=Q({useScope:"global"}),d=l=>{if(!l)return"#";const{normalizedUrl:_}=Nt(l);return _.value},{formatDate:n}=Z(),c={768:{itemsToShow:2,snapAlign:"start"},1024:{itemsToShow:2,snapAlign:"start"},0:{itemsToShow:1,snapAlign:"center"}};return(l,_)=>{const y=z,P=X;return t.posts&&t.posts.length>0?(a(),o("div",Ue,[s("h2",De,x(r(e)("blog.relatedPostsTitle")),1),H(r(It),{"items-to-show":2,breakpoints:c,class:"related-posts-carousel","wrap-around":!1,transition:300},{addons:$(()=>[H(r(Mt))]),default:$(()=>
14[(a(!0),o(C,null,j(t.posts,(u,v)=>(a(),E(r(Dt),{key:u.slug||u.id},{default:$(()=>[s("div",{class:A(["carousel-slide-wrapper",{"mr-5":v%2===0,"ml-5":v%2===1}])},[u.slug?(a(),o("div",Me,[s("div",Ie,[s("div",Ne,[u.postArticles?.listCover?.node?.sourceUrl?(a(),E(y,{key:0,src:u.postArticles.listCover.node.sourceUrl,format:"webp",quality:"100",densities:"x1 x2",class:"w-full h-full max-w-[480px] max-h-[360px] rounded-sm lg:aspect-[4/3] lg:h-auto object-cover",alt:u.postArticles.listCover.node.altText||u.title||""},null,8,["src","alt"])):h("",!0)]),s("div",qe,[s("h3",Re,x(u.title),1),s("div",ze,[u.date?(a(),o("span",Ve,x(r(n)(u.date)),1)):h("",!0),u.date&&u.categories?.nodes?.length?(a(),o("span",Ge,"|")):h("",!0),(a(!0),o(C,null,j(u.categories?.nodes?.slice(0,2),(b,f)=>(a(),o("span",{key:b.name||f,class:"me-1"},[U(x(b.name||"Uncategorized"),1),u.categories?.nodes&&f<Math.min(u.categories.nodes.length,2)-1?(a(),o("span",We,", ")):h("",!0)]))),128))]),s("div",{class:"text-gateway-text-gray text-xs line-clamp-3",innerHTML:u?.postArticles?.listText},null,8,Ke),H(P,{class:"w-full text-center bg-success-300 hover:bg-success-700 mt-5 rounded-[5px] py-[5px] text-white lg:mt-auto",to:d(u.link)},{default:$(()=>[U(x(r(e)("blog.relatedPostButton")),1)]),_:1},8,["to"])])])])):h("",!0)],2)]),_:2},1024))),128))]),_:1})])):h("",!0)}}}),Ye=Object.assign(D(Je,[["__scopeId","data-v-f7526a7c"]]),{__name:"RelatedPostsCarousel"}),Qe={class:"row overflow-hidden max-w-277.5 pt-15 mx-auto"},Xe={class:"container mx-auto"},Ze={class:"flex flex-col p-7 lg:flex-row"},ta={class:"w-full justify-center flex text-gatewayblue text-2xl"},ea={class:"lg:inline-block text-gateway-blue"},aa={key:0,class:"mx-2"},sa={class:"ml-2"},oa={class:"flex flex-wrap lg:p-0"},na={class:"z-5 w-full"},la={class:"text-[32px] px-5 mb-10 text-center font-black break max-w-xl mx-auto lg:text-4xl text-gateway-gray lg:leading-12"},ra={class:"flex"},ca={class:"bg-white author-card rounded-2.5 inline-flex justify-center items-center mx-auto mb-10 p-5"},ia={class:"bg-gray-300 rounded-full mr-2.5"},ua=["src"],da={class:"flex flex-col"},ga={class:"text-[#323C4A] font-black"},pa={class:"text-[#323C4A] text-xs"},ma={class:"flex flex-wrap"},ha={class:"md:w-full"},_a={class:"mx-auto mt-[100px] px-5"},K="https://gatewayapi.com",fa=L({__name:"[slug]",async setup(t){let e,d;const n=ct(),{locale:c,t:l}=Q({useScope:"global"}),{formatDate:_}=Z(),{rewriteCmsUrl:y}=qt(),P=T(()=>{const g=c.value.substring(0,2);return g==="en"?"/blog/":`/${g}/blog/`}),{rewriteObject:u}=Rt(),{slug:v}=n.params,b=([e,d]=q(async()=>R(`post-${v}-${c.value}`,async()=>{try{const p=(await ht({slug:`${v}`,lang:c.value})).posts?.nodes[0]||null;return p?u(p):null}catch{return null}})),e=await e,d(),e),f=["en","da","de"],B={en:"en-US",da:"da-DK",de:"de-DE"},O=c.value.substring(0,2),M=String(v),S={},V=`${O==="en"?"":"/"+O}/blog/${M}/`;S[O]={slug:M,path:V},b.data.value?.translated?.forEach(g=>{const p=g.locale?.locale?.substring(0,2);if(p&&f.includes(p)){const w=`${p==="en"?"":"/"+p}/blog/${g.slug}/`;S[p]={slug:g.slug,path:w}}});const G={};for(const[g,p]of Object.entries(S))G[g]={slug:p.slug};it(G);const I=[],tt=S.en?.path||V;for(const[g,p]of Object.entries(S)){const w=B[g]||g;I.push({key:`hreflang:${w}`,rel:"alternate",hreflang:w,href:`${K}${p.path}`,tagPriority:"critical"})}I.push({key:"hreflang:x-default",rel:"alternate",hreflang:"x-default",href:`${K}${tt}`,tagPriority:"critical"}),ut({link:I});const i=T(()=>b?.data?.value),N=([e,d]=q(async()=>R(`related-${v}-${c.value}`,async()=>{if(!i.value?.categories?.nodes?.length)return[];const g=i.value.categories.nodes.map(p=>p.id);if(g.some(p=>!p))return[];try{const w=(await _t({categoryIds:g,excludeId:i.value.id,lang:c.value,first:6})).posts?.nodes||[];return u(w)}catch{return[]}})),e=await e,d(),e);if(!i.value)throw dt({statusCode:404,statusMessage:"Page Not Found",fatal:!1});const et=T(()=>{if(!i.value?.translated){if(!i.value?.slug)return;const k=c.value.substring(0,2)==="en"?"en_US":c.value.substring(0,2)==="de"?"de_DE":"da_DK";return[{slug:i.value.slug,locale:{locale:k}}]}const g=[...i.value.translated],p=c.value.substring(0,2)==="en"?"en_US":c.value.substring(0,2)==="de"?"de_DE":"da_DK";return!g.some(k=>k&&k.locale?.locale===p)&&i.value?.slug&&g.push({slug:i.value.slug,locale:{locale:p}}),g.filter(k=>k&&k.locale?.locale)});pt("pageTranslations",et);const W=i.value?.seo;return W&&zt(W),Vt([Gt({itemListElement:[...i.value?.seo?.breadcrumbs?.map((g,p)=>({position:p+1,name:g.text,item:y(g.url)}))||[]]}),Wt({headline:i.value?.title,datePublished:i.value?.date,author(){return{"@type":"Person",name:i.value?.author?.node.name}},publisher:{"@type":"Organization",name:"GatewayAPI",url:"https://gatewayapi.com"},description:i.value?.seo?.metaDesc})]),(g,p)=>{const w=X,k=z,at=Fe,st=Ye,ot=gt;return a(),E(ot,{name:"blog-single"},{header:$(()=>
14[s("div",Qe,[s("div",Xe,[s("div",Ze,[s("div",ta,[s("span",ea,[U(x(r(i)?.date?r(_)(r(i).date):"")+" ",1),r(i)?.date?(a(),o("span",aa,"|")):h("",!0),(a(!0),o(C,null,j(r(i)?.categories?.nodes,nt=>(a(),o("span",sa,x(nt.name),1))),256))])])]),s("div",oa,[s("div",na,[s("h1",la,x(r(i)?.title),1),s("div",ra,[s("div",ca,[s("div",ia,[s("img",{class:"h-12.5 w-12.5 rounded-full",src:r(i)?.author?.node.userOptions?.user?.userAvatar?.node.sourceUrl,alt:""},null,8,ua)]),s("div",da,[s("div",ga,x(r(i)?.author?.node.name),1),s("div",pa,x(r(i)?.author?.node.description),1)])])])]),s("div",null,[H(w,{to:r(P),class:"text-gatewayblue back-to-list text-gateway-blue"},{default:$(()=>[U(x(r(l)("blog.backToList")),1)]),_:1},8,["to"])])])])])]),"content-header":$(()=>[s("div",null,[r(i)?.postArticles?.cover?.node.sourceUrl?(a(),E(k,{key:0,src:r(i).postArticles.cover.node.sourceUrl,format:"webp",width:"1110",height:"582",class:"max-w-full w-full rounded-t-2.5",alt:r(i).postArticles.cover.node.altText||""},null,8,["src","alt"])):h("",!0)])]),content:$(()=>[s("div",ma,[s("div",ha,[r(i)?.postArticles?.content?(a(),E(at,{key:0,data:r(i).postArticles.content},null,8,["data"])):h("",!0)])])]),relatedposts:$(()=>[s("div",_a,[r(N).data.value&&r(N).data.value.length>0?(a(),E(st,{key:0,posts:r(N).data.value},null,8,["posts"])):h("",!0)])]),_:1})}}});function J(t){const e=t;e.__i18n=e.__i18n||[],e.__i18n.push({locale:"",resource:{en:{author:{t:0,b:{t:2,i:[{t:3}],s:"Written by"}}},da:{author:{t:0,b:{t:2,i:[{t:3}],s:"Skrevet af"}}}}})}typeof J=="function"&&J(fa);export{fa as default};

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.