PageSourceSearch

https://www.allwage.com/_next/static/chunks/pages/blog/[slug]-1033898ba7aa5972.js

js allwage.com collected 2026-10-09 22:39:37 UTC 11,963 bytes, 20 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];if(null!=l)for(var s in l)l.hasOwnProperty(s)&&(e[s]=l[s])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:allwage-marketing-website":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fc0205ec-e6ef-4fa1-8b36-83905168f972",e._sentryDebugIdIdentifier="sentry-dbid-fc0205ec-e6ef-4fa1-8b36-83905168f972")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1787,2812,4011,4434,5273,7812],{5187:e=>{e.exports={card:"post-card_card__W3iUr","card__image-element":"post-card_card__image-element__m0l7w",card__image:"post-card_card__image__w_FHj",card__content:"post-card_card__content__sGJeD",card__attributes:"post-card_card__attributes__HF_RU",card__text:"post-card_card__text__RAYTI",card__title:"post-card_card__title__kSdte","card__title-element":"post-card_card__title-element__Eu5p1",card__loader:"post-card_card__loader__FBo6e","card--is-loading":"post-card_card--is-loading__jup6P","card--display-grid":"post-card_card--display-grid__bUYco","card__paragraph-element":"post-card_card__paragraph-element__7DykT","card--display-list":"post-card_card--display-list__V8zXD",card__paragraph:"post-card_card__paragraph__Ho_uK"}},9779:(e,t,l)=>{"use strict";l.r(t),l.d(t,{PostCard:()=>g});var s=l(6029),a=l(71024),n=l.n(a),i=l(5187),o=l.n(i),r=l(15100),c=l(22852),d=l(20436),_=l(81278),u=l(55729);let p=n()(()=>Promise.all([l.e(9160),l.e(1015),l.e(2270),l.e(8911),l.e(2583),l.e(6300)]).then(l.bind(l,46300)).then(e=>e.Loader),{loadableGenerated:{webpack:()=>[46300]},ssr:!1});function g(e){let{category:t,className:l="",excerpt:a,image:n,slug:i,timeToRead:g,title:h,display:m="grid"}=e,x=(0,_.useRouter)(),[v,b]=(0,u.useState)(!1),f="card";return(0,s.jsxs)("div",{onClick:()=>{b(!0),x.push(`/blog/${i}`)},className:`
2        ${o()[f]}
3        ${o()[`${f}--display-${m}`]}
4        ${v?o()[`${f}--is-loading`]:""}
5        ${l}
6      `,children:[(0,s.jsx)("div",{className:o()[`${f}__image`],children:(0,s.jsx)(r.Image,{...n,className:o()[`${f}__image-element`],fit:"cover",sizes:"grid"===m?"(max-width: 768px) 50vw, 33vw":"112px"})}),(0,s.jsxs)("div",{className:o()[`${f}__content`],children:[(0,s.jsxs)("div",{className:o()[`${f}__attributes`],children:[(0,s.jsx)("div",{className:o()[`${f}__category`],children:(0,s.jsx)(c.Tag,{onClick:()=>{},label:t,shade:"light"})}),(0,s.jsx)("div",{className:o()[`${f}__ttr`],children:(0,s.jsxs)(d.Text,{size:"sm",children:[g," min read"]})})]}),(0,s.jsxs)("div",{className:o()[`${f}__text`],children:[(0,s.jsx)("div",{className:o()[`${f}__title`],children:(0,s.jsx)(d.Text,{className:o()[`${f}__title-element`],renderAs:"grid"===m?"h2":"h3",size:"grid"===m?"sm":"lg",variant:"grid"===m?"title":"body",children:h})}),(0,s.jsx)("div",{className:o()[`${f}__paragraph`],children:(0,s.jsx)(d.Text,{className:o()[`${f}__paragraph-element`],size:"grid"===m?"md":"sm",children:a})})]})]}),v&&(0,s.jsx)("div",{className:o()[`${f}__loader`],children:(0,s.jsx)(p,{size:"grid"===m?"md":"sm"})})]})}},14955:(e,t,l)=>{"use strict";l.r(t),l.d(t,{Post:()=>f,__N_SSG:()=>b,default:()=>$});var s=l(6029),a=l(71984),n=l.n(a),i=l(81278),o=l(95669),r=l.n(o),c=l(76971),d=l(4025),_=l(86652),u=l(22551),p=l(89672),g=l(94434),h=l(25806),m=l(4807),x=l(45168),v=l(36035),b=!0;function f(e){var t,l,a,o,b,f,$,j,y,w,N;let k,I="true"===(0,i.useRouter)().query.preview,{navigation:P,post:T}=e;return(0,s.jsxs)(s.Fragment,{children:[I&&(0,s.jsx)("div",{style:{position:"fixed",top:0,left:0,right:0,backgroundColor:"#ff6b35",color:"white",padding:"8px 16px",fontSize:"14px",fontWeight:"bold",textAlign:"center",zIndex:9999},children:"\uD83D\uDD04 LIVE PREVIEW MODE (Server-side refresh)"}),(0,s.jsxs)(r(),{children:[(0,c.U)((0,d.a3)(T)),(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify([(0,u.kN)({author:T.author,dateModified:T.updatedAt,datePublished:T.publishedAt,description:T.summary||T.excerpt,headline:T.seo.title,image:null==(t=T.seo.ogImage)?void 0:t.url,url:(0,_.qw)(`/blog/${T.slug}`)}),(0,u.Dp)(T.title,(0,_.qw)(`/blog/${T.slug}`),"blog","Blog")])},type:"application/ld+json"})]}),P&&P.length>0&&(0,s.jsx)(h.Header,{...P[0],valueAddedBar:void 0}),(0,s.jsxs)("main",{className:n().post,style:{marginTop:I?"40px":"0"},children:[(0,s.jsx)(m.PostsHero,{...T,category:null==T||null==(l=T.categories)?void 0:l.name,image:{...null==T?void 0:T.image,alt:null==T||null==(a=T.image)?void 0:a.alt,sizes:"(max-width: 768px) 50vw, 400px"}}),(0,s.jsx)(g.BlogContent,{...T,category:null==T||null==(o=T.categories)?void 0:o.name,content:(k=[],null==T||null==(N=T.content)||null==(w=N.root)||null==(y=w.children)||y.forEac
6h(e=>{var t,l,s,a,n,i,o,r;switch(null==e?void 0:e.type){case"heading":e.children.length>0&&k.push(`<${null==e?void 0:e.tag}>${null==e||null==(t=e.children)?void 0:t.map(e=>null==e?void 0:e.text).join("")}</${null==e?void 0:e.tag}>`);break;case"paragraph":(null==e||null==(l=e.children)?void 0:l.length)>0&&k.push(`<p>${null==e||null==(s=e.children)?void 0:s.map(e=>{if("link"===e.type){var t,l,s;return`<a href="${null==e||null==(t=e.fields)?void 0:t.url}" ${(null==e||null==(l=e.fields)?void 0:l.newTab)?'target="_blank"':""}>${null==e||null==(s=e.children)?void 0:s[0].text}</a>`}return(null==e?void 0:e.format)===1?`<b>${null==e?void 0:e.text}</b>`:null==e?void 0:e.text}).join("")}</p>`);break;case"list":(null==e||null==(a=e.children)?void 0:a.length)>0&&k.push(`<${null==e?void 0:e.tag}>
7              ${e.children.map(e=>{var t;return`<li>${null==e||null==(t=e.children)?void 0:t.map(e=>{if((null==e?void 0:e.type)==="link"){var t,l,s,a;return`<a href="${null==e||null==(t=e.fields)?void 0:t.url}" ${(null==e||null==(l=e.fields)?void 0:l.newTab)?'target="_blank"':""}>${null==e||null==(a=e.children)||null==(s=a[0])?void 0:s.text}</a>`}return(null==e?void 0:e.format)===1?`<b>${null==e?void 0:e.text}</b>`:null==e?void 0:e.text}).join("")}</li>`}).join("")}
8            </${null==e?void 0:e.tag}>`);break;case"upload":if(e.value){let t=e.size||"large";k.push(`<figure data-image-size="${t}">
9                <img alt="${(null==e||null==(n=e.value)?void 0:n.alt)||""}" src="${(null==e||null==(i=e.value)?void 0:i.url)||""}" />
10                ${e.caption?`<figcaption>${e.caption}</figcaption>`:""}
11              </figure>`)}break;case"quote":(null==e||null==(o=e.children)?void 0:o.length)>0&&k.push(`<blockquote>${null==e||null==(r=e.children)?void 0:r.map(e=>null==e?void 0:e.text).join("")}</blockquote>`);break;case"table":e.caption&&e.columns&&e.rows&&k.push((0,v.s)({type:"table",caption:e.caption,columns:e.columns,rows:e.rows}))}}),JSON.stringify(k.join("\n")))}),(null==T?void 0:T.relatedPosts)&&(null==T||null==(b=T.relatedPosts)?void 0:b.length)>0&&(0,s.jsx)(x.RelatedPosts,{paragraph:(null==T||null==(f=T.relatedPostsText)?void 0:f.paragraph)??"",posts:null==T||null==($=T.relatedPosts)?void 0:$.map(e=>({...e,category:e.categories.name,image:{...e.image,alt:e.image.alt,sizes:"(max-width: 768px) 50vw, 33vw"}})),title:(null==T||null==(j=T.relatedPostsText)?void 0:j.title)??"Related posts"})]}),P&&P.length>1&&(0,s.jsx)(p.x,{...P[1]})]})}let $=f},18346:e=>{e.exports={section:"related-posts_section__0aPch",section__text:"related-posts_section__text__bOHSW",section__posts:"related-posts_section__posts__yze3e",section__action:"related-posts_section__action__40dPG","section__action-item":"related-posts_section__action-item__iwBFa"}},45168:(e,t,l)=>{"use strict";l.r(t),l.d(t,{RelatedPosts:()=>_});var s=l(6029),a=l(55729),n=l(18346),i=l.n(n),o=l(36954),r=l(37104),c=l(9779),d=l(20436);function _(e){let{className:t="",paragraph:l,posts:n,title:_,url:u="/blog"}=e,p="section";return(0,s.jsxs)("section",{className:`
12      ${i()[p]}
13      ${t}
14    `,children:[(0,s.jsxs)("div",{className:i()[`${p}__text`],children:[(0,s.jsx)("div",{className:i()[`${p}__title`],children:(0,s.jsx)(d.Text,{size:"lg",variant:"title",children:(0,s.jsx)(r.G,{text:_})})}),(0,s.jsx)("div",{className:i()[`${p}__paragraph`],children:(0,s.jsx)(d.Text,{size:"lg",children:l})})]}),n&&n.length>0&&(0,s.jsx)("div",{className:i()[`${p}__posts`],children:n.map((e,t)=>(0,a.createElement)(c.PostCard,{...e,key:`${e.title} ${t}`,display:"grid"}))}),(0,s.jsx)("div",{className:i()[`${p}__action`],children:(0,s.jsx)(o.Button,{href:u,className:i()[`${p}__action-item`],label:"View all posts",render:"link",type:"text",variant:"outlined"})})]})}},47388:e=>{e.exports={social:"social-share_social__cFMoK",social__icon:"social-share_social__icon__JBn6c"}},52812:(e,t,l)=>{"use strict";l.r(t),l.d(t,{SocialShare:()=>o});var s=l(6029),a=l(47388),n=l.n(a),i=l(15100);function o(e){let{body:t,className:l,subject:a,text:o,url:r}=e,c="social",d=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(r)}`;encodeURIComponent(r),encodeURIComponent(o);let _=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(r)}`,u=`mailto:?subject=${encodeURIComponent(a)}&body=${encodeURIComponent(t+" "+r)}`;return(0,s.jsxs)("div",{className:`
15      ${n()[c]}
16      ${l}
17    `,children:[(0,s.jsx)("a",{className:n()[`${c}__icon`],href:d,rel:"noopener noreferrer",target:"_blank",children:(0,s.jsx)(i.Image,{className:n()[`${c}__icon-image`],alt:"Facebook logo",deliveryMode:"source",sizes:"24px",src:"/assets/icons/icon--social_facebook.svg"})}),(0,s.jsx)("a",{className:n()[`${c}__icon`],href:_,rel:"noopener noreferrer",target:"_blank",children:(0,s.jsx)(i.Image,{className:n()[`${c}__icon-image`],alt:"LinkedIn logo",deliveryMode:"source",sizes:"24px",src:"/assets/icons/icon--social_linkedin.svg"})}),(0,s.jsx)("a",{className:n()[`${c}__icon`],href:u,rel:"noopener noreferrer",target:"_blank",children:(0,s.jsx)(i.Image,{className:n()[`${c}__icon-image`],alt:"Email icon",deliveryMode:"source",sizes:"24px",src:"/assets/icons/icon--social_email.svg"})})]})}},65681:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return l(14955)}])},71984:e=>{e.exports={"posts__filters--standalone":"posts_posts__filters--standalone__XTnlb",posts__notification:"posts_posts__notification__Eluyp","posts__notification-inner":"posts_posts__notification-inner___kkfu"}},94434:(e,t,l)=>{"use strict";l.r(t),l.d(t,{BlogContent:()=>c});var s=l(6029),a=l(95956),n=l.n(a),i=l(81278),o=l(52812),r=l(20436);function c(e){let{className:t="",author:l,content:a,excerpt:c,publishedAt:d,title:_}=e,u=(0,i.useRouter)(),p="section";return(0,s.jsxs)("section",{className:`
18      ${n()[p]}
19      ${t}
20    `,children:[(0,s.jsxs)("div",{className:n()[`${p}__details`],children:[(0,s.jsx)("p",{className:n()[`${p}__details-eyebrow`],children:"Article details"}),(0,s.jsxs)("div",{className:n()[`${p}__byline`],children:[(0,s.jsxs)(r.Text,{size:"sm",children:["By ",l]}),(0,s.jsxs)(r.Text,{size:"sm",children:["Published"," ",new Intl.DateTimeFormat("en-ZA",{day:"numeric",month:"long",year:"numeric"}).format(new Date(d))]})]}),(0,s.jsx)("div",{className:n()[`${p}__share`],children:(0,s.jsx)(o.SocialShare,{body:c,subject:_,text:c,url:u.asPath})})]}),(0,s.jsx)("div",{className:n()[`${p}__content`],children:(0,s.jsx)("div",{className:n()[`${p}__content-inner`],dangerouslySetInnerHTML:{__html:JSON.parse(a)}})})]})}},95956:e=>{e.exports={section:"blog-content_section__qIbZv",section__details:"blog-content_section__details__7gYAI","section__details-eyebrow":"blog-content_section__details-eyebrow__pgvK0",section__byline:"blog-content_section__byline__Dav_D",section__share:"blog-content_section__share__Fx7B2",section__content:"blog-content_section__content__0sXQF","section__content-inner":"blog-content_section__content-inner__Gu79p"}}},e=>{e.O(0,[2203,7993,478,912,4807,1797,636,9905,8790,8792],()=>
20e(e.s=65681)),_N_E=e.O()}]);

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.