1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[730],{1844:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/blog/[id]/preview",function(){return a(7074)}])},2004:function(e,t,a){"use strict";a.d(t,{Fc:function(){return c},ap:function(){return n},jd:function(){return i}});let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/<[^>]*>/g," ").replace(/ /gi," ").replace(/&/gi,"&").replace(/'/gi,"'").replace(/"/gi,'"').replace(/\s+/g," ").trim()},o=e=>{if("string"!=typeof e)return"";let t=e.trim();return t?t=(t=(t=(t=(t=(t=(t=(t=t.replace(/<script\b[^>]*>[\s\S]*?<\/script>/gi,"")).replace(/<style\b[^>]*>[\s\S]*?<\/style>/gi,"")).replace(/\son\w+\s*=\s*"[^"]*"/gi,"")).replace(/\son\w+\s*=\s*'[^']*'/gi,"")).replace(/\son\w+\s*=\s*[^\s>]+/gi,"")).replace(/(href|src)\s*=\s*(['"])\s*javascript:[\s\S]*?\2/gi,'$1="#"')).replace(RegExp("<(?!/?(?:".concat("p|br|strong|b|em|i|u|ul|ol|li|h2|h3|a",")\\b)[^>]+>"),"gi"),"")).replace(/<a\b([^>]*)>/gi,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=t.match(/\bhref\s*=\s*("([^"]*)"|'([^']*)')/i),l=a?a[2]||a[3]||"":"#",o=/^https?:\/\//i.test(l)||l.startsWith("/")||l.startsWith("#")?l:"#";return'<a href="'.concat(r(o),'" rel="noopener noreferrer">')}):""},n=e=>0===l(e).length,i=e=>{if("string"!=typeof e||!e.trim())return"";let t=/<\/?[a-z][\s\S]*>/i.test(e);if(t)return o(e);let a=e.split(/\n{2,}/).map(e=>e.trim()).filter(Boolean);return a.map(e=>"<p>".concat(r(e).replace(/\n/g,"<br>"),"</p>")).join("")},c=e=>l(i(e))},7074:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return p},default:function(){return b}});var r=a(5893),l=a(9008),o=a.n(l),n=a(1664),i=a.n(n),c=a(2004),s=a(4691),_=a.n(s),g=a(9547),d=a.n(g);let h=e=>e?new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"}):"Preview",u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.trim().split(/\s+/).filter(Boolean).length;return"".concat(Math.max(1,Math.ceil(t/225))," min read")};var p=!0;function b(e){let{post:t,error:a}=e;return a?(0,r.jsx)("main",{className:d().page,children:(0,r.jsxs)("section",{className:d().card,style:{maxWidth:"720px",margin:"0 auto"},children:[(0,r.jsx)("h1",{children:a.title}),(0,r.jsx)("p",{className:d().helper,children:a.message}),(0,r.jsx)("div",{className:d().actions,children:(0,r.jsx)(i(),{className:d().secondaryButton,href:"/admin/blog",children:"Back to Blog Posts"})})]})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:"Preview: ".concat(t.title)}),(0,r.jsx)("meta",{name:"robots",content:"noindex,nofollow"})]}),(0,r.jsx)("main",{children:(0,r.jsxs)("article",{className:_().article,"data-contain":"true",children:[(0,r.jsxs)("div",{className:_().metaRow,children:[(0,r.jsx)(i(),{href:"/admin/blog/".concat(t.id,"/edit"),className:_().backToBlog,children:"â Back to Edit"}),(0,r.jsxs)("p",{className:_().date,children:[h(t.publishedAt)," ",(0,r.jsx)("span",{"aria-hidden":"true",children:"â¢"})," ",u((0,c.Fc)(t.body))]})]}),(0,r.jsx)("h1",{className:_().articleTitle,children:t.title}),t.category?(0,r.jsx)("p",{className:_().categoryPill,children:(0,r.jsx)("span",{children:t.category.name})}):null,t.featuredImageUrl?(0,r.jsx)("img",{src:t.featuredImageUrl,alt:t.title,className:_().featuredImage}):null,(0,r.jsx)("div",{className:_().content,dangerouslySetInnerHTML:{__html:(0,c.jd)(t.body)}})]})})]})}b.noLayout=!0},4691:function(e){e.exports={section:"blog_section__DuoL5",pageTitle:"blog_pageTitle___fOlp",blogHeaderRow:"blog_blogHeaderRow__AQWwA",headerActions:"blog_headerActions__8mduY",archiveLink:"blog_archiveLink__D5lhU",loginLink:"blog_loginLink__JbXNx",filtersRow:"blog_filtersRow__IYCi_",searchControl:"blog_searchControl__GCPlp",searchToggleButton:"blog_searchToggleButton__Pibhw",searchInputWrap:"blog_searchInputWrap__PHgEz",searchInput:"blog_searchInput__MnvIF",categoryFilter:"blog_categoryFilter__u3qFp",searchClearButton:"blog_searchClearButton__BXPJO",grid:"blog_grid__SCUL2",emptyState:"blog_emptyState__G9iQT",card:"blog_card__ygzov",cardImageLink:"blog_cardImageLink__hErNe",cardImage:"blog_cardImage__8UIvT",cardBody:"blog_cardBody__DcCC9",date:"blog_date__xpgoT",cardTitle:"blog_cardTitle__n4PWe",categoryPill:"blog_categoryPill__7zALv",article:"blog_article__dQHbU",articleTitle:"blog_articleTitle__hbxFx",featuredImage:"blog_featuredImage__ZvKu9",shareRow:"blog_shareRow__DvDgv",shareLabel:"blog_shareLabel__CR9Hv",shareLink:"blog_shareLink__glzuo",shareButton:"blog_shareButton__Cb9Mj",shareIcon:"blog_shareIcon__C9XM5",breadcrumbs:"blog_breadcrumbs__gUs2A",metaRow:"blog_metaRow__E88Uk",backToBlog:"blog_backToBlog__t7atF",content:"blog_content__ssJTN",postNav:"blog_postNav__ksjWx",postNavLink:"blog_postNavLink__tqC5y",postNavPlaceholder:"blog_postNavPlaceholder__qFq_g",paginationRow:"blog_paginationRow__DsDWz",secondaryButton:"blog_secondaryButton__fNEmf",archiveGrid:"blog_archiveGrid__3
1C1Ku",archiveGroup:"blog_archiveGroup__ktTIP"}}},function(e){e.O(0,[774,888,179],function(){return e(e.s=1844)}),_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.