1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9668],{26143:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/articles/tag/[tag]",function(){return s(68791)}])},11183:function(e,t,s){"use strict";var n=s(52676),a=s(24543),r=s(75271),i=s(85399),c=s(77984),l=s(84810),o=s(56940),u=s.n(o);t.Z=e=>{let{initSearchTerm:t}=e,[s,o]=(0,r.useState)(t),d=(0,a.useRouter)();return(0,n.jsx)("div",{className:"d-flex flex-grow-1",children:(0,n.jsx)("form",{className:u().search,onSubmit:e=>{e.preventDefault();let t=(null==s?void 0:s.trim())||"";if(t){d.push({pathname:"/articles/search",query:{q:t}});return}d.push("/articles")},children:(0,n.jsxs)(i.Z,{children:[(0,n.jsx)(c.Z.Control,{onChange:e=>o(e.target.value),placeholder:"Search Articles",value:s}),(0,n.jsx)(i.Z.Text,{children:(0,n.jsx)(l.Z,{icon:"magnifyingGlass"})})]})})})}},10103:function(e,t,s){"use strict";s.d(t,{Z:function(){return w}});var n=s(52676),a=s(87459),r=s(24543),i=s(82187),c=s.n(i),l=s(75271),o=s(22953),u=s(79630);let d=l.forwardRef((e,t)=>{let{active:s=!1,disabled:a=!1,className:r,style:i,activeLabel:l="(current)",children:o,linkStyle:d,linkClassName:h,as:p=u.Z,...x}=e,f=s||a?"span":p;return(0,n.jsx)("li",{ref:t,style:i,className:c()(r,"page-item",{active:s,disabled:a}),children:(0,n.jsxs)(f,{className:c()("page-link",h),style:d,...x,children:[o,s&&l&&(0,n.jsx)("span",{className:"visually-hidden",children:l})]})})});function h(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,a=l.forwardRef((e,a)=>{let{children:r,...i}=e;return(0,n.jsxs)(d,{...i,ref:a,children:[(0,n.jsx)("span",{"aria-hidden":"true",children:r||t}),(0,n.jsx)("span",{className:"visually-hidden",children:s})]})});return a.displayName=e,a}d.displayName="PageItem";let p=h("First","\xab"),x=h("Prev","â¹","Previous"),f=h("Ellipsis","â¦","More"),g=h("Next","âº"),m=h("Last","\xbb"),j=l.forwardRef((e,t)=>{let{bsPrefix:s,className:a,size:r,...i}=e,l=(0,o.vE)(s,"pagination");return(0,n.jsx)("ul",{ref:t,...i,className:c()(a,l,r&&"".concat(l,"-").concat(r))})});j.displayName="Pagination";var v=Object.assign(j,{First:p,Prev:x,Ellipsis:f,Item:d,Next:g,Last:m}),N=s(33030),_=s.n(N),E=e=>{let{page:t,pageCount:s,path:a,route:i}=e,c=(0,r.useRouter)(),l=e=>{if(!i)return"".concat(a,"/").concat(e);let t=new URLSearchParams;Object.entries(i.query||{}).forEach(e=>{let[s,n]=e;"".concat(n).length>0&&t.set(s,"".concat(n))}),e>1&&t.set("page","".concat(e));let s=t.toString();return s?"".concat(i.pathname,"?").concat(s):i.pathname};if(s<2)return null;let o=e=>{let{children:t,...s}=e;return(0,n.jsx)(v.Item,{onClick:e=>{e.preventDefault(),s.href&&c.push(s.href)},...s,children:t})},u=e=>{let s=Math.abs(e-t);return Array.from({length:s<2?s:2},(e,t)=>t+1)};return(0,n.jsxs)(v,{className:_().pagination,children:[t>3&&(0,n.jsx)(o,{href:l(1),children:"1"}),s>4&&t>3&&(0,n.jsx)(v.Ellipsis,{disabled:!0}),u(1).reverse().map(e=>(0,n.jsx)(o,{active:!1,href:l(t-e),children:t-e},t-e)),(0,n.jsx)(o,{active:!0,children:t},t),u(s).map(e=>(0,n.jsx)(o,{active:!1,href:l(t+e),children:t+e},t+e)),s>4&&2+t<s&&(0,n.jsx)(v.Ellipsis,{disabled:!0}),s>2&&2+t<s&&(0,n.jsx)(o,{href:l(s),children:s})]})},w=e=>{let{page:t,pageCount:s,paginationRoute:r,path:i,posts:c}=e,l=(i="guides"===i?"/".concat(i,"/page"):i.startsWith("guides/page/")?"/".concat(i,"/page"):"/articles/".concat(i)).includes("guides")?"guides":void 0;return(0,n.jsxs)(n.Fragment,{children:[0===c.length&&(0,n.jsx)("meta",{content:"noindex",name:"robots"}),(0,n.jsxs)("div",{className:"d-flex flex-column gap-3",children:[0===c.length&&(0,n.jsx)("p",{children:"No articles found."}),c.map(e=>(0,n.jsx)(a.Z,{context:l,...e},e.slug))]}),(0,n.jsx)(E,{page:t,pageCount:s,path:i,route:r})]})}},68791:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return d}});var n=s(52676),a=s(86712),r=s(17438),i=s(48545),c=s(22087),l=s(11183),o=s(10103),u=s(16471),d=!0;t.default=e=>{let{enableAdhesion:t,page:s,pageCount:d,posts:h,tag:p}=e;return(0,n.jsx)(i.Z,{children:(0,n.jsxs)(a.Z,{children:[(0,n.jsx)(r.AN,{description:'EDHREC Articles tagged with "'.concat(p,'"'),keywords:"EDHREC,articles,".concat(p),title:'Articles tagged with "'.concat(p,'" | EDHREC')}),(0,n.jsxs)("div",{className:"mx-3",children:[(0,n.jsxs)(c.Z,{className:"d-flex gap-3 mb-3",children:[(0,u.nY)(p),(0,n.jsx)(l.Z,{})]}),(0,n.jsx)(o.Z,{page:s,pageCount:d,path:"tag/".concat(p),posts:h})]}),t&&(0,n.jsx)("div",{className:"mvHomeAdhesion"})]})})}},56940:function(e){e.exports={search:"ArticleSearch_search__x9VNB"}},33030:function(e){e.exports={pagination:"ArticlePagination_pagination__iQlan"}}},function(e){e.O(0,[7459,2888,9774,179],function(){return e(e.s=26143)}),_N_E=e.O()}]); 2//# sourceMappingURL=[tag]-91f9678b927d6979.js.map
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.