PageSourceSearch

https://themailx.com/_feather/build/_shared/chunk-IVXE4TBP.js

js themailx.com collected 2026-10-04 14:22:05 UTC 39,344 bytes, 1 lines download raw bytes

1import{O as xe,a as b,b as re,c as Re,d as We,ha as Me,ja as oe,ka as ye,la as _e,ma as He,na as J,oa as pt,pa as Ve,qa as Ze,ra as B,sa as Je}from"/_feather/build/_shared/chunk-FZKUV4H5.js";import{C as ae,g as Ie,w as X,x as Oe,y as ne}from"/_feather/build/_shared/chunk-KGJKBBAF.js";import{a as ft}from"/_feather/build/_shared/chunk-G6O3LCYK.js";import{a as $}from"/_feather/build/_shared/chunk-RA3TLO7C.js";import{b as Ee,j as Ge,l as Be,p as Te,q as we,x as be}from"/_feather/build/_shared/chunk-23UC2UNS.js";import{c as Fe,e as S}from"/_feather/build/_shared/chunk-WKCTKT6D.js";var at=Fe((ke,rt)=>{(function(t,s){typeof define=="function"&&define.amd?define(s):typeof ke=="object"?rt.exports=s():t.NProgress=s()})(ke,function(){var t={};t.version="0.2.0";var s=t.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};t.configure=function(o){var i,g;for(i in o)g=o[i],g!==void 0&&o.hasOwnProperty(i)&&(s[i]=g);return this},t.status=null,t.set=function(o){var i=t.isStarted();o=e(o,s.minimum,1),t.status=o===1?null:o;var g=t.render(!i),d=g.querySelector(s.barSelector),P=s.speed,x=s.easing;return g.offsetWidth,l(function(u){s.positionUsing===""&&(s.positionUsing=t.getPositioningCSS()),n(d,c(o,P,x)),o===1?(n(g,{transition:"none",opacity:1}),g.offsetWidth,setTimeout(function(){n(g,{transition:"all "+P+"ms linear",opacity:0}),setTimeout(function(){t.remove(),u()},P)},P)):setTimeout(u,P)}),this},t.isStarted=function(){return typeof t.status=="number"},t.start=function(){t.status||t.set(0);var o=function(){setTimeout(function(){!t.status||(t.trickle(),o())},s.trickleSpeed)};return s.trickle&&o(),this},t.done=function(o){return!o&&!t.status?this:t.inc(.3+.5*Math.random()).set(1)},t.inc=function(o){var i=t.status;return i?(typeof o!="number"&&(o=(1-i)*e(Math.random()*i,.1,.95)),i=e(i+o,0,.994),t.set(i)):t.start()},t.trickle=function(){return t.inc(Math.random()*s.trickleRate)},function(){var o=0,i=0;t.promise=function(g){return!g||g.state()==="resolved"?this:(i===0&&t.start(),o++,i++,g.always(function(){i--,i===0?(o=0,t.done()):t.set((o-i)/o)}),this)}}(),t.render=function(o){if(t.isRendered())return document.getElementById("nprogress");a(document.documentElement,"nprogress-busy");var i=document.createElement("div");i.id="nprogress",i.innerHTML=s.template;var g=i.querySelector(s.barSelector),d=o?"-100":r(t.status||0),P=document.querySelector(s.parent),x;return n(g,{transition:"all 0 linear",transform:"translate3d("+d+"%,0,0)"}),s.showSpinner||(x=i.querySelector(s.spinnerSelector),x&&p(x)),P!=document.body&&a(P,"nprogress-custom-parent"),P.appendChild(i),i},t.remove=function(){m(document.documentElement,"nprogress-busy"),m(document.querySelector(s.parent),"nprogress-custom-parent");var o=document.getElementById("nprogress");o&&p(o)},t.isRendered=function(){return!!document.getElementById("nprogress")},t.getPositioningCSS=function(){var o=document.body.style,i="WebkitTransform"in o?"Webkit":"MozTransform"in o?"Moz":"msTransform"in o?"ms":"OTransform"in o?"O":"";return i+"Perspective"in o?"translate3d":i+"Transform"in o?"translate":"margin"};function e(o,i,g){return o<i?i:o>g?g:o}function r(o){return(-1+o)*100}function c(o,i,g){var d;return s.positionUsing==="translate3d"?d={transform:"translate3d("+r(o)+"%,0,0)"}:s.positionUsing==="translate"?d={transform:"translate("+r(o)+"%,0)"}:d={"margin-left":r(o)+"%"},d.transition="all "+i+"ms "+g,d}var l=function(){var o=[];function i(){var g=o.shift();g&&g(i)}return function(g){o.push(g),o.length==1&&i()}}(),n=function(){var o=["Webkit","O","Moz","ms"],i={};function g(u){return u.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(y,v){return v.toUpperCase()})}function d(u){var y=document.body.style;if(u in y)return u;for(var v=o.length,C=u.charAt(0).toUpperCase()+u.slice(1),L;v--;)if(L=o[v]+C,L in y)return L;return u}function P(u){return u=g(u),i[u]||(i[u]=d(u))}function x(u,y,v){y=P(y),u.style[y]=v}return function(u,y){var v=arguments,C,L;if(v.length==2)for(C in y)L=y[C],L!==void 0&&y.hasOwnProperty(C)&&x(u,C,L);else x(u,v[1],v[2])}}();
1function h(o,i){var g=typeof o=="string"?o:f(o);return g.indexOf(" "+i+" ")>=0}function a(o,i){var g=f(o),d=g+i;h(g,i)||(o.className=d.substring(1))}function m(o,i){var g=f(o),d;!h(o,i)||(d=g.replace(" "+i+" "," "),o.className=d.substring(1,d.length-1))}function f(o){return(" "+(o.className||"")+" ").replace(/\s+/gi," ")}function p(o){o&&o.parentNode&&o.parentNode.removeChild(o)}return t})});var nt=Fe($e=>{"use strict";Object.defineProperty($e,"__esModule",{value:!0});$e.useScript=void 0;var ot=Ee();function xt(t){let[s,e]=ot.useState(t?"loading":"idle");return ot.useEffect(()=>{if(!t){e("idle");return}let r=document.querySelector(`script[src="${t}"]`);if(r)e(r.getAttribute("data-status"));else{r=document.createElement("script"),r.src=t,r.async=!0,r.setAttribute("data-status","loading"),document.body.appendChild(r);let l=n=>{r.setAttribute("data-status",n.type==="load"?"ready":"error")};r.addEventListener("load",l),r.addEventListener("error",l)}let c=l=>{e(l.type==="load"?"ready":"error")};return r.addEventListener("load",c),r.addEventListener("error",c),()=>{r&&(r.removeEventListener("load",c),r.removeEventListener("error",c))}},[t]),s}$e.useScript=xt});var ut=S(ft());var he=S($()),Se="a-z",Le="z-a";function Xe({openSearch:t}){var o,i,g,d,P,x,u,y,v,C,L,H,k,R,z,U,F,G,N;let{posts:s,tags:e,publication:r}=b(),c=we(),{content:l,tags:n}=X({publication:r}),[h]=Te(),a=h.get("sortBy"),m=Oe(),f=B({publication:r});function p(){return e.sort((w,Z)=>{if(a===l.plural){let te=_e({tag:w,allPosts:s}).length,se=_e({tag:Z,allPosts:s}).length;if(te!==se)return se-te}let K=w.title.toLocaleLowerCase(),Y=Z.title.toLocaleLowerCase(),M=a===Se?1:a===Le?-1:0;return(K<Y?-1:K>Y?1:0)*M})}return(0,he.jsxs)(he.Fragment,{children:[(0,he.jsx)(f.TagsTitle,{tagsDatabaseName:n,localization:{findAllTheTags:((i=(o=r==null?void 0:r.settings.localization)==null?void 0:o.tagsIndex)==null?void 0:i.findAllTheTags)||`Find all the ${n.plural}`,tagsDescription:((d=(g=r==null?void 0:r.settings.localization)==null?void 0:g.tagsIndex)==null?void 0:d.tagsDescription)||((x=(P=r.databases.tags)==null?void 0:P.page)==null?void 0:x.description)||"",searchPlaceholder:((y=(u=r==null?void 0:r.settings.localization)==null?void 0:u.search)==null?void 0:y.search)||"Search..."},tagsIndexPageLink:`/${m.generatedPages}${ae({title:n.plural})}`,contentIndexPageLink:J({publication:r,urlPrefixes:m}),openSearch:t}),(0,he.jsx)(f.TagsGrid,{tags:p(),allPosts:s,settings:(v=r==null?void 0:r.settings.features)==null?void 0:v.helpDocsSettings,localization:{sortBy:((L=(C=r==null?void 0:r.settings.localization)==null?void 0:C.tagsIndex)==null?void 0:L.sortBy)||"Sort by",noOfPosts:((k=(H=r==null?void 0:r.settings.localization)==null?void 0:H.tagsIndex)==null?void 0:k.noOfPosts)||`No. of ${l.plural}`,titleAtoZ:((z=(R=r==null?void 0:r.settings.localization)==null?void 0:R.tagsIndex)==null?void 0:z.titleAtoZ)||"Title (A-Z)",titleZtoA:((F=(U=r==null?void 0:r.settings.localization)==null?void 0:U.tagsIndex)==null?void 0:F.titleZtoA)||"Title (Z-A)",featuredPosts:((N=(G=r==null?void 0:r.settings.localization)==null?void 0:G.blogIndex)==null?void 0:N.featuredPosts)||`Featured ${l.plural}`},ALPHABETICAL:Se,REVERSE_ALPHABETICAL:Le,formAction:`/${m.generatedPages}${ae({title:n.plural})}`,defaultSortByValue:a,sortByOnChange:w=>{c(w.currentTarget.form)},tagsDatabaseName:n,contentDatabaseName:l,contentIndexPageLink:J({publication:r,urlPrefixes:m})})]})}var Pe=S($());function Ke(){var p,o,i,g,d,P,x,u,y,v,C,L,H,k;let{posts:t,authors:s,publication:e}=b(),r=we(),{content:c,authors:l}=X({publication:e}),n=Oe(),[h]=Te(),a=h.get("sortBy"),m=B({publication:e});function f(){return s.sort((R,z)=>{if(a===c.plural){let N=He({author:R,allPosts:t}).length,w=He({author:z,allPosts:t}).length;if(N!==w)return w-N}let U=R.title.toLocaleLowerCase(),F=z.title.toLocaleLowerCase(),G=a===Se?1:a===Le?-1:0;return(U<F?-1:U>F?1:0)*G})}return(0,Pe.jsxs)(Pe.Fragment,{children:[(0,Pe.jsx)(m.AuthorsTitle,{authorsDatabaseName:l,localization:{findAllTheAuthors:((o=(p=e==null?void 0:e.settings.localization)==null?void 0:p.authorsIndex)==null?void 0:o.findAllTheAuthors)||`Find all the ${l.plural}
1`,authorsDescription:((g=(i=e==null?void 0:e.settings.localization)==null?void 0:i.authorsIndex)==null?void 0:g.authorsDescription)||((P=(d=e.databases.authors)==null?void 0:d.page)==null?void 0:P.description)||""},authorsIndexPageLink:`/${n.generatedPages}${ae({title:l.plural})}`,contentIndexPageLink:J({publication:e,urlPrefixes:n})}),(0,Pe.jsx)(m.AuthorsGrid,{authors:f(),allPosts:t,localization:{sortBy:((u=(x=e==null?void 0:e.settings.localization)==null?void 0:x.tagsIndex)==null?void 0:u.sortBy)||"Sort by",noOfPosts:((v=(y=e==null?void 0:e.settings.localization)==null?void 0:y.tagsIndex)==null?void 0:v.noOfPosts)||`No. of ${c.plural}`,nameAtoZ:((L=(C=e==null?void 0:e.settings.localization)==null?void 0:C.authorsIndex)==null?void 0:L.nameAtoZ)||"Name (A-Z)",nameZtoA:((k=(H=e==null?void 0:e.settings.localization)==null?void 0:H.authorsIndex)==null?void 0:k.nameZtoA)||"Name (Z-A)"},ALPHABETICAL:Se,REVERSE_ALPHABETICAL:Le,formAction:`/${n.generatedPages}${ae({title:l.plural})}`,defaultSortByValue:a,sortByOnChange:R=>{r(R.currentTarget.form)},contentDatabaseName:c})]})}var Ye=S(Ee());var T=S($());function je({posts:t,allTags:s,allAuthors:e,localization:r}){return(0,T.jsx)("section",{className:"featured-articles-list bg-secondary-50 py-12 sm:py-16 lg:py-20",children:(0,T.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,T.jsx)("h2",{className:"text-xl font-bold text-secondary-900 sm:text-2xl",children:r.featuredPosts}),(0,T.jsx)(ht,{posts:t,allTags:s,allAuthors:e})]})})}function ht({posts:t,allTags:s,allAuthors:e}){return(0,T.jsx)("div",{className:"featured-articles-wrapper grid grid-cols-2 gap-x-16 mt-8",children:t.slice(0,2).map(r=>(0,T.jsx)(Pt,{post:r,allAuthors:e,allTags:s},r.id))})}function Pt({post:t,allAuthors:s,allTags:e}){return(0,T.jsx)(T.Fragment,{children:(0,T.jsxs)("div",{className:"featured-article",children:[(0,T.jsxs)("div",{className:"flex items-center space-x-4",children:[(0,T.jsx)("p",{className:"text-base font-bold text-secondary-900",children:(0,T.jsx)("time",{dateTime:t.publish_date,children:Ie(t.publish_date)})}),ye({post:t,allAuthors:s}).slice(0,1).map(r=>(0,T.jsxs)(Ye.Fragment,{children:[(0,T.jsx)("span",{className:"text-sm text-secondary-400",children:"/"}),(0,T.jsx)("div",{className:"flex items-center space-x-3",children:(0,T.jsxs)("div",{className:"relative flex items-center",children:[r.photo&&(0,T.jsx)(Re,{className:"h-6 w-6 shrink-0 rounded-full",src:r.photo,alt:r.title}),(0,T.jsx)("p",{className:"flex-1 text-sm font-semibold text-secondary-900 ml-2",children:(0,T.jsxs)(re,{href:r.derivedHref,children:[r.title,(0,T.jsx)("span",{className:"absolute inset-0","aria-hidden":"true"})]})})]})})]},r.id))]}),(0,T.jsx)("p",{className:"text-xl font-bold text-secondary-900 mt-4 group-hover:text-opacity-70",children:(0,T.jsx)(re,{href:t.derivedHref,className:"",children:t.title})}),t.excerpt&&(0,T.jsx)("p",{className:"text-base font-medium leading-7 text-secondary-500 mt-4",children:t.excerpt}),oe({post:t,allTags:e}).length>0&&(0,T.jsx)("div",{className:"flex flex-wrap mt-4 space-x-2",children:oe({post:t,allTags:e}).map(r=>(0,T.jsx)(re,{href:r.derivedHref,className:"inline-flex items-center bg-secondary-100 text-xs font-bold text-secondary-500 transition-all duration-200 rounded-full px-2.5 py-0.5 hover:bg-secondary-200 hover:text-secondary-900",children:r.title},r.id))}),(0,T.jsx)("div",{className:"mt-6",children:(0,T.jsxs)(re,{href:t.derivedHref,className:"inline-flex items-center text-xs font-bold uppercase tracking-widest text-secondary-500 transition-all duration-200 focus:outline-none group-hover:text-secondary-900",children:["Read more",(0,T.jsx)("svg",{className:"h-4 w-4 transform transition-all duration-100 ml-2 group-hover:translate-x-1",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,T.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})})]})})}var A=S($());function qe({allPosts:t,allTags:s,allAuthors:e,removePaddingTop:r,contentDatabaseName:c,tagsDatabaseName:l,showCategoryFilters:n,selectedTagSlugs:h,totalPages:a,currentPageNumber:m,posts:f,cumulativePosts:p,paginationFormActionPath:o,categoryFiltersFormActionPath:i,localization:g,showPagination:d}){return(0,A.jsx)(A.Fragment,{children:(0,A.jsx)(Ze,{allPosts:t,allTags:s,allAuthors:e,contentDatabaseName:c,tagsDatabaseName:l,showCategoryFilters:n,selectedTagSlugs:h,totalPages:a,currentPageNumber:m,posts:f,cumulativePosts:p,paginationFormActionPath:o,categoryFiltersFormActionPath:i,removePaddingTop:r,localization:g,showPagination:d,children:(0,A.jsx)("div",{children:(0,A.jsx)("div",{className:"flow-root",children:(0,A.jsx)("div",{className:"divide-secondary-200 -my-12 divide-y",children:f.map(P=>(0,A.jsx)(Tt,{post:P,allAuthors:e,allTags:s},P.id))})})})})})}function Tt({post:t,allAuthors:s,allTags:e}){var n,h,a,m,f,p;let{publication:r}=b(),c=(a=(h=(n=r==null?void 0:r.settings.features)==null?void 0:n.normalSettings)==null?void 0:h.hideAuthor)!=null?a:!1,l=(p=(f=(m=r==null?void 0:r.settings.features)==null?void 0:m.normalSettings)==null?void 0:f.hidePublishDate)!=null?p:!1;return(0,A.jsx)(A.Fragment,{children:(0,A.jsxs)("div",{className:"normal-article py-8 sm:flex sm:items-start sm:py-12",children:[(0,A.jsxs)("div",{className:"shrink-0 sm:w-40 lg:w-48",children:[!l&&(0,A.jsx)("p",{className:"article-publish-date text-base font-bold text-secondary-900",children:(0,A.jsx)("time",{dateTime:t.publish_date,children:Ie(t.publish_date)})}),!c&&ye({post:t,allAuthors:s}).map(o=>(0,A.jsxs)("div",{className:"article-author relative flex items-center mt-3",children:[o.photo&&(0,A.jsx)(Re,{className:"h-6 w-6 shrink-0 mr-2 rounded-full",src:o.photo,alt:o.title}),(0,A.jsx)("p",{className:"flex-1 text-sm font-semibold text-secondary-900",children:(0,A.jsxs)(re,{href:o.derivedHref,children:[o.title,(0,A.jsx)("span",{className:"absolute inset-0","aria-hidden":"true"})]})})]},o.id))]}),(0,A.jsxs)("div",{className:"group relative min-w-0 flex-1 mt-5 sm:mt-0 sm:ml-12",children:[(0,A.jsx)("h3",{className:"article-title text-xl font-bold text-secondary-900 group-hover:text-opacity-70",children:(0,A.jsx)(re,{href:t.derivedHref,className:"",children:t.title})}),t.excerpt&&(0,A.jsx)("p",{className:"article-excerpt text-base font-medium leading-7 text-secondary-500 mt-4",children:t.excerpt}),oe({post:t,allTags:e}).length>0&&(0,A.jsx)("div",{className:"article-tags-list flex flex-wrap mt-4",children:oe({post:t,allTags:e}).map(o=>(0,A.jsx)(re,{href:o.derivedHref,className:"article-tag inline-flex items-center bg-secondary-100 text-xs font-bold text-secondary-500 transition-all duration-200 mr-2 mb-2 rounded-full px-2.5 py-0.5 hover:bg-secondary-200 hover:text-secondary-900",children:o.slug},o.id))}),(0,A.jsx)("div",{className:"mt-6",children:(0,A.jsxs)(re,{href:t.derivedHref,className:"inline-flex items-center text-xs font-bold uppercase tracking-widest text-secondary-500 transition-all duration-200 focus:outline-none group-hover:text-secondary-900",children:["Read more",(0,A.jsx)("svg",{className:"h-4 w-4 transform transition-all duration-100 ml-2 group-hover:translate-x-1",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,A.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"})})]})})]})]})})}var ee=S($());function Ae(t){var a,m,f,p,o,i,g,d;let{currentPageFeaturedPosts:s,layout:e,allAuthors:r,allTags:c,publication:l,databaseNames:n,Template:h}=Qe(t);return(0,ee.jsx)(ee.Fragment,{children:s.length>0&&(0,ee.jsx)(ee.Fragment,{children:(!((a=l==null?void 0:l.settings)!=null&&a.template)||((m=l==null?void 0:l.settings)==null?void 0:m.template)==="NORMAL")&&e==="TEXT_ONLY"?(0,ee.jsx)(je,{posts:s,allAuthors:r,allTags:c,localization:{featuredPosts:((o=(p=(f=l==null?void 0:l.settings)==null?void 0:f.localization)==null?void 0:p.blogIndex)==null?void 0:o.featuredPosts)||`Featured ${n.content.plural}`},removePaddingTop:t.removePaddingTop}):(0,ee.jsx)(h.FeaturedPosts,{posts:s,allAuthors:r,allTags:c,localization:{featuredPosts:((d=(g=(i=l==null?void 0:l.settings)==null?void 0:i.localization)==null?void 0:g.blogIndex)==null?void 0:d.featuredPosts)||`Featured ${n.content.plural}`},removePaddingTop:t.removePaddingTop})})})}function ve(t){var d,P,x,u,y,v,C,L,H,k,R,z,U,F,G,N,w,Z,K,Y,M,te,se,ge,de,ce,me,ue,j,q,E,O,W,V,I;let{allPosts:s,allTags:e,layout:r,allAuthors:c,databaseNames:l,publication:n,selectedTagSlugs:h,totalPages:a,currentPageNumber:m,currentPagePosts:f,currentPageCumulativePosts:p,location:o,paginationFormActionPathSearch:i,Template:g}=Qe(t);return(0,ee.jsx)(ee.Fragment,{children:(!((d=n==null?void 0:n.settings)!=null&&d.template)||((P=n==null?void 0:n.settings)==null?void 0:P.template)==="NORMAL")&&r==="TEXT_ONLY"?(0,ee.jsx)(qe,{allPosts:s,allTags:e,allAuthors:c,removePaddingTop:t.removePaddingTop,contentDatabaseName:l.content,tagsDatabaseName:l.tags,showCategoryFilters:!!((u=(x=n==null?void 0:n.settings)==null?void 0:x.features)!=null&&u.categoryFilters),selectedTagSlugs:h,totalPages:a,currentPageNumber:m,posts:f,cumulativePosts:p,categoryFiltersFormActionPath:`${o.pathname}?page=${m}`,paginationFormActionPath:`${o.pathname}${i}`,localization:{allPosts:((v=(y=n==null?void 0:n.settings.localization)==null?void 0:y.blogIndex)==null?void 0:v.allPosts)||`All ${l.content.plural}`,allTags:((L=(C=n==null?void 0:n.settings.localization)==null?void 0:C.blogIndex)==null?void 0:L.allTags)||`All ${xe(l.tags.plural)}`,viewTags:((k=(H=n==null?void 0:n.settings.localization)==null?void 0:H.blogIndex)==null?void 0:k.viewTags)||`View ${xe(l.tags.plural)}`,previous:((z=(R=n==null?void 0:n.settings.localization)==null?void 0:R.blogIndex)==null?void 0:z.previous)||"Previous",next:((F=(U=n==null?void 0:n.settings.localization)==null?void 0:U.blogIndex)==null?void 0:F.next)||"Next",no_articles_found_here:((N=(G=n==null?void 0:n.settings.localization)==null?void 0:G.blogIndex)==null?void 0:N.no_articles_found_here)||`No ${l.content.plural} found in this page! Try other pages.`,loadMore:((Z=(w=n==null?void 0:n.settings.localization)==null?void 0:w.blogIndex)==null?void 0:Z.loadM
1ore)||"Load More"},showPagination:!!((K=n==null?void 0:n.settings.features)!=null&&K.pagination)}):(0,ee.jsx)(g.NormalPosts,{allPosts:s,allTags:e,allAuthors:c,removePaddingTop:t.removePaddingTop,contentDatabaseName:l.content,tagsDatabaseName:l.tags,showCategoryFilters:!!((Y=n==null?void 0:n.settings.features)!=null&&Y.categoryFilters),selectedTagSlugs:h,totalPages:a,currentPageNumber:m,posts:f,cumulativePosts:p,categoryFiltersFormActionPath:`${o.pathname}?page=${m}`,paginationFormActionPath:`${o.pathname}${i}`,localization:{allPosts:((te=(M=n==null?void 0:n.settings.localization)==null?void 0:M.blogIndex)==null?void 0:te.allPosts)||`All ${l.content.plural}`,allTags:((ge=(se=n==null?void 0:n.settings.localization)==null?void 0:se.blogIndex)==null?void 0:ge.allTags)||`All ${xe(l.tags.plural)}`,viewTags:((ce=(de=n==null?void 0:n.settings.localization)==null?void 0:de.blogIndex)==null?void 0:ce.viewTags)||`View ${xe(l.tags.plural)}`,previous:((ue=(me=n==null?void 0:n.settings.localization)==null?void 0:me.blogIndex)==null?void 0:ue.previous)||"Previous",next:((q=(j=n==null?void 0:n.settings.localization)==null?void 0:j.blogIndex)==null?void 0:q.next)||"Next",no_articles_found_here:((O=(E=n==null?void 0:n.settings.localization)==null?void 0:E.blogIndex)==null?void 0:O.no_articles_found_here)||`No ${l.content.plural} found in this page! Try other pages.`,loadMore:((V=(W=n==null?void 0:n.settings.localization)==null?void 0:W.blogIndex)==null?void 0:V.loadMore)||"Load More"},showPagination:!!((I=n==null?void 0:n.settings.features)!=null&&I.pagination)})})}function Qe({filterPosts:t,excludedTags:s}){var H,k,R,z,U,F,G;let{publication:e,posts:r,tags:c,authors:l}=b(),n=(H=e==null?void 0:e.settings.layout)!=null?H:"GRID",h=t({posts:r}),a=X({publication:e}),[m]=Te(),f=a.tags.singular,p=Number(m.get("page")||"1"),o=m.getAll(f).map(N=>decodeURIComponent(N)),i=Ve({tagsDatabaseName:a.tags,localization:{allTags:((R=(k=e==null?void 0:e.settings.localization)==null?void 0:k.blogIndex)==null?void 0:R.allTags)||`All ${xe(a.tags.plural)}`}});o.length===0&&(o=[i.slug]);let g=h.filter(N=>o.includes(i.slug)?!0:o.every(w=>oe({post:N,allTags:c}).map(Z=>Z.slug).includes(w))),d=(U=(z=e==null?void 0:e.settings.features)==null?void 0:z.pageSize)!=null?U:6,P=d>0?Math.ceil(g.length/d):0,x=(F=e==null?void 0:e.settings.features)!=null&&F.pagination?g.slice((p-1)*d,p*d):g,u=(G=e==null?void 0:e.settings.features)!=null&&G.pagination?g.slice(0,p*d):g,y=h.filter(N=>N.featured),v=Ge(),C=o.length>0?`?${f}=${o.join(`&${f}=`)}`:"",L=B({publication:e});return{currentPageFeaturedPosts:y,layout:n,allAuthors:l,allTags:c.filter(N=>!s.some(w=>w.id===N.id)).filter(N=>_e({tag:N,allPosts:h}).length>0),publication:e,databaseNames:a,allPosts:h,selectedTagSlugs:o,totalPages:P,currentPageNumber:p,currentPagePosts:x,currentPageCumulativePosts:u,location:v,paginationFormActionPathSearch:C,Template:L}}var ie=S($());function et({currentAuthor:t,children:s}){var a;let{authors:e,publication:r}=b(),c=X({publication:r}),l=ne({publication:r}),n=B({publication:r}),h=({posts:m})=>m.filter(f=>ye({post:f,allAuthors:e}).map(p=>p.id).includes(t.id));return(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(n.AuthorTitle,{author:t,authorsDatabaseName:c.authors,authorsIndexPageLink:`/${l.generatedPages}${ae({title:c.authors.plural})}`,contentIndexPageLink:J({publication:r,urlPrefixes:l})}),s,((a=r==null?void 0:r.settings.features)==null?void 0:a.featuredPostsInAuthorPage)&&(0,ie.jsx)(n.HeroWrapper,{removePadding:!0,children:(0,ie.jsx)(Ae,{filterPosts:h,removePaddingTop:!1,excludedTags:[]})}),(0,ie.jsx)(ve,{filterPosts:h,removePaddingTop:!1,excludedTags:[]})]})}var Q=S($()),tt=({posts:t})=>t.filter(s=>!s.hide_in_main_feed);function st({heroPageRecordMap:t,isFullPageHero:s}){var f,p,o,i,g,d,P,x,u,y,v,C,L,H,k,R,z,U,F,G,N,w,Z,K,Y;let{publication:e,tags:r,posts:c}=b(),l=B({publication:e}),n=r.filter(M=>M.featured),h=Je({template:(f=e==null?void 0:e.settings)==null?void 0:f.template,customTemplate:e==null?void 0:e.settings.customTemplate}),a=(i=(o=(p=e==null?void 0:e.settings)==null?void 0:p.features)==null?void 0:o.normalSettings)==null?void 0:i.ctaButtons,m=(a!=null&&a.show?(g=a.values)!=null?g:[]:[]).flatMap(M=>!M.label||!M.url||!M.type?[]:[{label:M.label,url:M.url,type:M.type}]);return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(l.HeroWrapper,{removePadding:!1,children:[(0,Q.jsx)(l.Hero,{heading:(e==null?void 0:e.settings.blogIndexTitle)||(e==null?void 0:e.settings.metaTitle)||"",subHeading:(e==null?void 0:e.settings.blogIndexDescription)||(e==null?void 0:e.settings.metaDescription)||"",ctaButtons:((d=e==null?void 0:e.settings)==null?void 0:d.template)==="NORMAL"?m:[]}),((P=e==null?void 0:e.settings.features)==null?void 0:P.newsletterInHero)&&(0,Q.jsx)(We,{newsletterSectionId:"newsletter-in-header-wrapper",className:"newsletter-in-header bg-white",id:"hero-email",heading:((x=e==null?void 0:e.settings.cta)==null?void 0:x.headlineInHeader)||"",subHeading:((u=e==null?void 0:e.settings.cta)==null?void 0:u.textInHeader)||"",formAction:"/_feather/subscribe",publicationId:e.id,formInput:{defaultValue:"",placeholder:((v=(y=e==null?void 0:e.settings.localization)==null?void 0:y.newsletter)==null?void 0:v.placeholder)||"Enter your email address",name:"email",ariaLabel:"Email"},submitButton:{localization:{subscribing:"Subscribing...",subscribe:((L=(C=e==null?void 0:e.settings.localization)==null?void 0:C.newsletter)==null?void 0:L.subscribe)||((H=e==null?void 0:e.settings.cta)==null?void 0:H.ctaButtonTextInHeader)||"Subscribe to newsletter"}},submitButtonValue:"subscribe",submitButtonName:"_action",disclaimer:(R=(k=e==null?void 0:e.settings.cta)==null?void 0:k.disclaimerInHeader)!=null?R:"",newsletter:l.Newsletter}),t&&(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)(l.TemplateNotionPage,{recordMap:t,fullPage:s,currentSlug:"HERO_SPECIAL_BLOCK",imageZoom:(U=(z=e==null?void 0:e.settings.features)==null?void 0:z.imageZoom)!=null?U:!1,interactiveCheckboxes:(G=(F=e==null?void 0:e.settings.features)==null?void 0:F.interactiveCheckboxes)!=null?G:!1,hideCover:!1,mergeTags:null,className:"hero-special-block"})}),(0,Q.jsx)(Ae,{filterPosts:tt,removePaddingTop:!t,excludedTags:[]})]}),h&&n.length>0&&(0,Q.jsx)(l.FeaturedTags,{tags:r.filter(M=>M.featured),allPosts:c,allTags:r,maxPostsInEachFeaturedTag:3,localization:{viewAll:((Z=(w=(N=e==null?void 0:e.settings)==null?void 0:N.localization)==null?void 0:w.blogIndex)==null?void 0:Z.viewAll)||"View all"}}),(0,Q.jsx)(ve,{filterPosts:tt,removePaddingTop:h&&n.length===0||((K=e==null?void 0:e.settings)==null?void 0:K.template)==="PRODUCT_UPDATES"||((Y=e==null?void 0:e.settings)==null?void 0:Y.template)==="HELP_DOCS",excludedTags:[]})]})}
1var dt=S(pt()),De=S(at()),Ue=S(Ee());var ze=S(Ee()),it=S(nt()),Ne=S($());function lt(t){let s=ze.default.useRef(null),e=t.attrs.host||"https://cusdis.com";return(0,it.useScript)("https://cusdis.feather.so/js/cusdis.es.js"),ze.default.useLayoutEffect(()=>{let c=window.renderCusdis;c&&c(s.current)},[t.attrs.appId,t.attrs.host,t.attrs.pageId,t.attrs.pageTitle,t.attrs.pageUrl,t.lang]),(0,Ne.jsx)(Ne.Fragment,{children:(0,Ne.jsx)("div",{id:"cusdis_thread","data-host":e,"data-page-id":t.attrs.pageId,"data-app-id":t.attrs.appId,"data-page-title":t.attrs.pageTitle,"data-page-url":t.attrs.pageUrl,"data-theme":t.attrs.theme,style:t.style,ref:s})})}function gt(t){var e,r,c;let s=(e=t==null?void 0:t.settings)==null?void 0:e.template;return s==="GLOSSARY"?!0:s==="CUSTOM"?((c=(r=t==null?void 0:t.settings)==null?void 0:r.customTemplate)==null?void 0:c.RelatedPosts)==="GLOSSARY":!1}var D=S($());function ct({recordMap:t,currentPost:s,toc:e,relatedPosts:r,currentNotionRecord:c,allTags:l,allAuthors:n,allPosts:h}){var i,g,d,P,x,u,y,v,C,L,H,k,R,z,U,F,G,N,w,Z,K,Y,M,te,se,ge,de,ce,me,ue;let{publication:a}=b(),m=X({publication:a}),f=ne({publication:a}),p=B({publication:a}),o={host:"https://cusdis.com",appId:(g=(i=a==null?void 0:a.settings.features)==null?void 0:i.cusdisId)!=null?g:"",pageId:s.id,pageTitle:s.title,pageUrl:s.canonical};return(0,Ue.useEffect)(()=>{var j;(j=a==null?void 0:a.settings.features)!=null&&j.disqusShortName&&(window.disqus_config=function(){this.page.url=s.canonical,this.page.identifier=s.id},function(){var O;let q=document,E=q.createElement("script");E.src=`https://${(O=a==null?void 0:a.settings.features)==null?void 0:O.disqusShortName}.disqus.com/embed.js`,E.dataset.timestamp=`${Date.now()}`,(q.head||q.body).append(E)}())},[s.canonical,s.id,(d=a==null?void 0:a.settings.features)==null?void 0:d.disqusShortName]),(0,Ue.useEffect)(()=>{let j=(0,dt.default)(()=>{let{scrollTop:q,clientHeight:E,scrollHeight:O}=document.documentElement,W=O-E,V=q/W;De.default.configure({showSpinner:!1,minimum:0}),De.default.set(V)},100);return window.addEventListener("scroll",j),()=>{De.default.done(),window.removeEventListener("scroll",j)}},[]),(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)(p.PostTitle,{post:s,allAuthors:n,allTags:l,contentIndexPageLink:J({publication:a,urlPrefixes:f}),contentDatabaseName:m.content,localization:{publishedOn:((x=(P=a==null?void 0:a.settings.localization)==null?void 0:P.blogPostContentPage)==null?void 0:x.publishedOn)||"Published on"},showLastUpdated:(y=(u=a==null?void 0:a.settings.features)==null?void 0:u.showLastUpdated)!=null?y:!1}),(0,D.jsx)(p.PostContent,{post:s,allAuthors:n,allTags:l,allPosts:h,contentIndexPageLink:J({publication:a,urlPrefixes:f}),contentDatabaseName:m.content,tagsDatabaseName:m.tags,showSidebar:(C=(v=a==null?void 0:a.settings.features)==null?void 0:v.postSidebar)!=null?C:!0,toc:e,localization:{publishedOn:((H=(L=a==null?void 0:a.settings.localization)==null?void 0:L.blogPostContentPage)==null?void 0:H.publishedOn)||"Published on",tableOfContents:((R=(k=a==null?void 0:a.settings.localization)==null?void 0:k.blogPostContentPage)==null?void 0:R.tableOfContents)||"Table of Contents",writtenBy:((U=(z=a==null?void 0:a.settings.localization)==null?void 0:z.blogPostContentPage)==null?void 0:U.writtenBy)||"Written by",shareThisArticle:((G=(F=a==null?void 0:a.settings.localization)==null?void 0:F.blogPostContentPage)==null?void 0:G.shareThisArticle)||`Share this ${m.content.singular}`,urlCopied:((w=(N=a==null?void 0:a.settings.localization)==null?void 0:N.blogPostContentPage)==null?void 0:w.urlCopied)||"Copied the URL to the clipboard"},recordMap:t,imageZoom:(K=(Z=a==null?void 0:a.settings.features)==null?void 0:Z.imageZoom)!=null?K:!1,interactiveCheckboxes:(M=(Y=a==null?void 0:a.settings.features)==null?void 0:Y.interactiveCheckboxes)!=null?M:!1,notionRecord:c,showCTAButton:!!((te=a==null?void 0:a.settings.features)!=null&&te.ctaButton),ctaButton:()=>{var j,q,E,O,W,V,I,fe;return(0,D.jsx)(p.CTA,{heading:(q=(j=a==null?void 0:a.settings.cta)==null?void 0:j.ctaButtonHeading)!=null?q:"",subHeading:(O=(E=a==null?void 0:a.settings.cta)==null?void 0:E.
1ctaButtonSubHeading)!=null?O:"",buttonLink:(V=(W=a==null?void 0:a.settings.cta)==null?void 0:W.ctaButtonLink)!=null?V:"",buttonText:(fe=(I=a==null?void 0:a.settings.cta)==null?void 0:I.ctaButtonText)!=null?fe:""})},isFullNotionPage:!1,showLastUpdated:(ge=(se=a==null?void 0:a.settings.features)==null?void 0:se.showLastUpdated)!=null?ge:!1}),((de=a==null?void 0:a.settings.features)==null?void 0:de.comments)&&o.appId&&(0,D.jsx)("section",{className:"bg-white py-12",children:(0,D.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,D.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,D.jsxs)("div",{className:"space-y-8",children:[(0,D.jsxs)("p",{className:"text-xl font-bold text-secondary-900",children:[(0,D.jsx)("span",{"data-cusdis-count-page-id":o.pageId,children:"0"})," ","comments"]}),(0,D.jsx)("script",{defer:!0,"data-host":"https://cusdis.com","data-app-id":o.appId,src:"https://cusdis.feather.so/js/cusdis-count.umd.js"}),(0,D.jsx)(lt,{attrs:o,style:{width:"100%"}})]})})})}),((ce=a==null?void 0:a.settings.features)==null?void 0:ce.comments)&&(a==null?void 0:a.settings.features.disqusShortName)&&(0,D.jsx)("section",{className:"bg-white py-12",children:(0,D.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,D.jsx)("div",{className:"max-w-2xl mx-auto",children:(0,D.jsx)("div",{className:"space-y-8",children:(0,D.jsx)("div",{id:"disqus_thread"})})})})}),r.length>0&&(0,D.jsx)(p.RelatedPosts,{posts:r,allTags:l,allAuthors:n,localization:{relatedPosts:gt(a)?"Related terms":((ue=(me=a==null?void 0:a.settings.localization)==null?void 0:me.blogPostContentPage)==null?void 0:ue.relatedPosts)||`Related ${m.content.plural}`},contentIndexPageLink:J({publication:a,urlPrefixes:f}),contentDatabaseName:m.content})]})}var le=S($());function mt({currentTag:t,children:s}){var a;let{tags:e,publication:r}=b(),c=X({publication:r}),l=ne({publication:r}),n=B({publication:r}),h=({posts:m})=>m.filter(f=>oe({post:f,allTags:e}).map(p=>p.id).includes(t.id));return(0,le.jsxs)(le.Fragment,{children:[(0,le.jsx)(n.TagTitle,{tag:t,tagsDatabaseName:c.tags,tagsIndexPageLink:`/${l.generatedPages}${ae({title:c.tags.plural})}`,contentIndexPageLink:J({publication:r,urlPrefixes:l})}),s,((a=r==null?void 0:r.settings.features)==null?void 0:a.featuredPostsInTagPage)&&(0,le.jsx)(n.HeroWrapper,{removePadding:!0,children:(0,le.jsx)(Ae,{filterPosts:h,removePaddingTop:!1,excludedTags:[t]})}),(0,le.jsx)(ve,{filterPosts:h,removePaddingTop:!1,excludedTags:[t]})]})}var _=S($());var Ys=({data:t,parentsData:s})=>{var o,i,g;let e=t,r=(e==null?void 0:e.routeType)==="POST"?e==null?void 0:e.currentPost:(e==null?void 0:e.routeType)==="PAGE"||(e==null?void 0:e.routeType)==="CUSTOM_HOME_PAGE"||(e==null?void 0:e.routeType)==="ALL_ARTICLES_PAGE"?e==null?void 0:e.currentPage:(e==null?void 0:e.routeType)==="TAG"?e==null?void 0:e.currentTag:(e==null?void 0:e.routeType)==="AUTHOR"?e==null?void 0:e.currentAuthor:(e==null?void 0:e.routeType)==="INTERNAL_PAGE"?e==null?void 0:e.currentInternalPage:{meta_title:"",meta_description:"",cover:"",og_image:""},c=Me({text:r==null?void 0:r.meta_title}),l=r==null?void 0:r.cover,n=r==null?void 0:r.og_image,h=Me({text:r==null?void 0:r.meta_description}),a=()=>{var d,P,x,u;if(!((d=s==null?void 0:s.root)!=null&&d.indexing))return"noindex";switch(e==null?void 0:e.routeType){case"POST":return e!=null&&e.currentPost.do_not_index?"noindex":"index,follow";case"PAGE":return e!=null&&e.currentPage.do_not_index?"noindex":"index,follow";case"TAG":return e!=null&&e.currentTag.do_not_index?"noindex":"index,follow";case"AUTHOR":return e!=null&&e.currentAuthor.do_not_index?"noindex":"index,follow";case"ALL_TAGS":return(u=(x=(P=e==null?void 0:e.publication)==null?void 0:P.settings)==null?void 0:x.features)!=null&&u.noIndexTagsIndex?"noindex,follow":"index,follow";default:return"index,follow"}},m=(e==null?void 0:e.routeType)==="POST"?e.api_og_image:void 0,f=(e==null?void 0:e.routeType)==="POST"?m||n||l:n||l,p=(g=(i=(o=e==null?void 0:e.publication)==null?void 0:o.settings)==null?void 0:i.features)!=null&&g.autoGenerateCovers?f||(e==null?void 0:e.og_image)||"":f||"";return{...c?{title:c,"og:title":c}:{},...h?{description:h,"og:description":h}:{},"og:url":e==null?void 0:e.canonical,"og:image":p,"og:image:alt":c,robots:a()}},yt=({data:t})=>[{rel:"canonical",href:t==null?void 0:t.canonical}];function At(){var h,a,m,f,p,o,i,g,d,P,x,u,y,v,C,L,H,k,R,z,U,F,G,N,w,Z,K,Y,M,te,se,ge,de,ce,me,ue,j,q;let t=be(),{publication:s,tags:e,authors:r,posts:c}
1=b(),{isSearchOpen:l,setIsSearchOpen:n}=Be();if(t.routeType==="ALL_ARTICLES_PAGE")return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(st,{heroPageRecordMap:t.heroPageRecordMap,isFullPageHero:t.isFullPageHero})});if(t.routeType==="POST"){let{currentPost:E,relatedPosts:O,toc:W,recordMap:V,canonical:I,currentNotionRecord:fe}=t;return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(ct,{currentPost:{...E,canonical:I},toc:W,relatedPosts:O,recordMap:V,currentNotionRecord:fe,allTags:e,allAuthors:r,allPosts:c})})}if(t.routeType==="PAGE"||t.routeType==="CUSTOM_HOME_PAGE"){let{currentPage:E,toc:O,canonical:W,recordMap:V,currentNotionRecord:I}=t,fe=B({publication:s}),Ce=ne({publication:s}),pe=X({publication:s});return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(fe.PostContent,{post:{...E,publish_date:E.last_edited_time,canonical:W,authors:[],tags:[],page_icon:typeof((h=I==null?void 0:I.page_icon)==null?void 0:h.value)=="string"?I.page_icon.value:""},allAuthors:r,allTags:e,contentIndexPageLink:J({publication:s,urlPrefixes:Ce}),contentDatabaseName:pe.content,tagsDatabaseName:pe.tags,showSidebar:(m=(a=s==null?void 0:s.settings.features)==null?void 0:a.pagesSidebar)!=null?m:!1,toc:O,localization:{publishedOn:((p=(f=s==null?void 0:s.settings.localization)==null?void 0:f.blogPostContentPage)==null?void 0:p.publishedOn)||"Published on",tableOfContents:((i=(o=s==null?void 0:s.settings.localization)==null?void 0:o.blogPostContentPage)==null?void 0:i.tableOfContents)||"Table of Contents",writtenBy:((d=(g=s==null?void 0:s.settings.localization)==null?void 0:g.blogPostContentPage)==null?void 0:d.writtenBy)||"Written by",shareThisArticle:((x=(P=s==null?void 0:s.settings.localization)==null?void 0:P.blogPostContentPage)==null?void 0:x.shareThisArticle)||`Share this ${pe.content.singular}`,urlCopied:((y=(u=s==null?void 0:s.settings.localization)==null?void 0:u.blogPostContentPage)==null?void 0:y.urlCopied)||"Copied the URL to the clipboard"},recordMap:V,imageZoom:(C=(v=s==null?void 0:s.settings.features)==null?void 0:v.imageZoom)!=null?C:!1,interactiveCheckboxes:(H=(L=s==null?void 0:s.settings.features)==null?void 0:L.interactiveCheckboxes)!=null?H:!1,notionRecord:I,showCTAButton:!1,ctaButton:()=>(0,_.jsx)(_.Fragment,{}),isFullNotionPage:!0,showLastUpdated:(R=(k=s==null?void 0:s.settings.features)==null?void 0:k.showLastUpdated)!=null?R:!0})})}if(t.routeType==="INTERNAL_PAGE"){let{currentInternalPage:E,toc:O,canonical:W,recordMap:V,currentNotionRecord:I}=t,fe=B({publication:s}),Ce=ne({publication:s}),pe=X({publication:s});return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(fe.PostContent,{post:{title:E.title,canonical:W,slug:E.slug,authors:[],cover:"",excerpt:"",derivedHref:`/${Ce.internalPages}${E.slug}`,publish_date:new Date().toISOString(),last_edited_time:new Date().toISOString(),tags:[],page_icon:typeof((z=I==null?void 0:I.page_icon)==null?void 0:z.value)=="string"?I.page_icon.value:"",hide_cover:!0},allAuthors:r,allTags:e,contentIndexPageLink:J({publication:s,urlPrefixes:Ce}),contentDatabaseName:pe.content,tagsDatabaseName:pe.tags,showSidebar:(F=(U=s==null?void 0:s.settings.features)==null?void 0:U.internalPageSidebar)!=null?F:!1,toc:O,localization:{publishedOn:((N=(G=s==null?void 0:s.settings.localization)==null?void 0:G.blogPostContentPage)==null?void 0:N.publishedOn)||"Published on",tableOfContents:((Z=(w=s==null?void 0:s.settings.localization)==null?void 0:w.blogPostContentPage)==null?void 0:Z.tableOfContents)||"Table of Contents",writtenBy:((Y=(K=s==null?void 0:s.settings.localization)==null?void 0:K.blogPostContentPage)==null?void 0:Y.writtenBy)||"Written by",shareThisArticle:((te=(M=s==null?void 0:s.settings.localization)==null?void 0:M.blogPostContentPage)==null?void 0:te.shareThisArticle)||`Share this ${pe.content.singular}`,urlCopied:((ge=(se=s==null?void 0:s.settings.localization)==null?void 0:se.blogPostContentPage)==null?void 0:ge.urlCopied)||"Copied the URL to the clipboard"},recordMap:V,imageZoom:(ce=(de=s==null?void 0:s.settings.features)==null?void 0:de.imageZoom)!=null?ce:!1,interactiveCheckboxes:(ue=(me=s==null?void 0:s.settings.features)==null?void 0:me.interactiveCheckboxes)!=null?ue:!1,notionRecord:I,showCTAButton:!1,isFullNotionPage:!0,ctaButton:()=>(0,_.jsx)(_.Fragment,{}),showLastUpdated:(q=(j=s==null?void 0:s.settings.features)==null?void 0:j.showLastUpdated)!=null?q:!1})})}if(t.routeType==="TAG"){let{recordMap:E,currentTag:O,canonical:W,currentNotionRecord:V}=t,I=B({publication:s});return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(mt,{currentTag:{...O,canonical:W},children:(0,_.jsx)(I.TagsPostContentWrapper,{recordMap:E,publication:s,currentNotionRecord:V,currentSlug:O.slug})})})}if(t.routeType==="AUTHOR"){let{recordMap:E,currentAuthor:O,canonical:W,currentNotionRecord:V}=t,I=B({publication:s});return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(et,{currentAuthor:{...O,canonical:W},children:(0,_.jsx)(I.TagsPostContentWrapper,{recordMap:E,publication:s,currentNotionRecord:V,currentSlug:O.slug})})})}return t.routeType==="ALL_TAGS"?(0,_.jsx)(Xe,{openSearch:()=>{n(!0)}}):t.routeType==="ALL_AUTHORS"?(0,_.jsx)(Ke,{}):(0,_.jsx)(_.Fragment,{})}var vt=t=>{try{return(t==null?void 0:t.routeType)==="POST"?t.structuredData:[]}catch(s){return console.error({error:s}),[]}},js={dynamicLinks:yt,structuredData:vt};export{Ys as a,At as b,js as c};

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.