PageSourceSearch

https://www.hutsoninc.com/component---src-templates-blog-tag-js-7e347dbcb99c10ec44a3.js

js hutsoninc.com collected 2026-10-04 07:06:26 UTC 8,552 bytes, 2 lines download raw bytes

1(self.webpackChunk_hutson_www=self.webpackChunk_hutson_www||[]).push([[5227],{37549:function(e,t,a){"use strict";var n=a(42236);const i=a(92568).default.div.withConfig({displayName:"content-full-width__StyledContentFullWidth",componentId:"sc-1daa5a5-0"})(["margin:auto;padding:"," 0;width:85%;@media ","{padding:",";width:100%;}"],e=>e.theme.size.l,e=>e.theme.mediaQuery.largeUp,e=>e.theme.size.xxl);t.A=e=>{let{children:t,...a}=e;return n.createElement(i,a,t)}},38669:function(e,t,a){"use strict";var n=a(42236),i=a(92568),o=a(68154),l=a(71822),s=a(37549),r=a(24851),c=a(28007),d=a(65873),m=a(14675),p=a(61344),g=a(65264);const u=i.default.h1.withConfig({displayName:"blog-template__Title",componentId:"sc-oucedy-0"})(["margin-top:0;:focus{outline:none;}"]),f=i.default.div.withConfig({displayName:"blog-template__Grid",componentId:"sc-oucedy-1"})(["@media (min-width:800px){"," display:flex;flex-wrap:wrap;}"],m.J),h=e=>{const{authors:t,category:a,first:i,featuredImage:o,slug:l,title:s}=e;return n.createElement(b,{className:i?"featured-post":""},n.createElement(y,{className:i?"featured-post-image":""},n.createElement(w,null,n.createElement(N,{to:l},n.createElement(r.G,{image:o.asset.gatsbyImageData,alt:"",objectFit:"cover",objectPosition:"50% 50%",style:{width:"100%",height:"100%"}})))),n.createElement(x,{className:i?"featured-post-details":""},n.createElement("div",null,a?n.createElement(C,{to:a.slug},a.namePlural):n.createElement(C,{to:"/blog/"},"Blog")),n.createElement(E,{to:l},n.createElement(v,null,s)),t?n.createElement(k,null,"by ",t):null))},b=i.default.div.withConfig({displayName:"blog-template__PostContainer",componentId:"sc-oucedy-2"})(["background-color:",";margin-bottom:30px;@media (min-width:800px){margin-bottom:48px;:not(.featured-post){","}&.featured-post{"," align-items:center;display:flex;}}@media (min-width:1200px){:not(.featured-post){","}}"],e=>e.theme.color.n10,(0,d.f)("1/2"),m.J,(0,d.f)("1/3")),y=i.default.div.withConfig({displayName:"blog-template__ImageColumn",componentId:"sc-oucedy-3"})(["@media (min-width:800px){&.featured-post-image{","}}"],(0,d.f)("3/5",0)),w=i.default.div.withConfig({displayName:"blog-template__RatioContainer",componentId:"sc-oucedy-4"})(["display:block;height:0px;overflow:hidden;padding-bottom:62.5%;position:relative;width:auto;"]),N=(0,i.default)(c.Link).withConfig({displayName:"blog-template__PostImageLink",componentId:"sc-oucedy-5"})(["display:block;height:100%;position:absolute;width:100%;"]),x=i.default.div.withConfig({displayName:"blog-template__DetailsColumn",componentId:"sc-oucedy-6"})(["padding:24px 16px;@media (min-width:800px){&.featured-post-details{display:flex;flex-direction:column;justify-content:center;padding:48px;","}}"],(0,d.f)("2/5",0)),C=(0,i.default)(c.Link).withConfig({displayName:"blog-template__CategoryLink",componentId:"sc-oucedy-7"})(["color:",";display:inline;font-size:16px;font-weight:600;margin:0;text-decoration:none;:hover,:focus{text-decoration:underline;}"],e=>e.theme.color.g400),E=(0,i.default)(c.Link).withConfig({displayName:"blog-template__PostTitleLink",componentId:"sc-oucedy-8"})(["color:",";display:block;margin-top:16px;text-decoration:none;:hover,:focus{text-decoration:underline;}"],e=>e.theme.color.n900),v=i.default.h2.withConfig({displayName:"blog-template__PostTitle",componentId:"sc-oucedy-9"})(["font-size:32px;font-weight:600;padding:0;margin:0;"]),k=i.default.span.withConfig({displayName:"blog-template__PostAuthor",componentId:"sc-oucedy-10"})(["color:",";display:block;font-weight:400;margin-top:16px;"],e=>e.theme.color.n800);t.A=e=>{const{data:{allSanityBlogPost:{nodes:t}},location:a,header:i}=e,r=(0,n.useRef)(null),{0:d,1:m}=(0,n.useState)(1),b=e=>{const t=new URLSearchParams(window.location.search).get("page");/\d/.test(t)?m(Number(t)):m(1)};(0,g.S)(()=>{window.addEventListener("popstate",b);const{search:e}=a;if(e){const t=new URLSearchParams(e).get("page");/\d/.test(t)?m(Number(t)):m(1)}return()=>{window.removeEventListener("popstate",b)}});const y=1===d?10:12,w=[],N=1===d?1:12*(d-2)+10;for(let n=N;n<t.length&&n<N+y-(1===d?1:0);n++)w.push(t[n]);const x=t.length<=10?1:Math.ceil(1+(t.length-10)/12);return n.createElement(l.A,{kind:"white"},n.createElement(o.Helmet,null,n.createElement("title",null,i," | Hutson Inc")),n.createElement(s.A,null,n.createElement(u,{ref:r,tabIndex:"-1"},i),1===d&&n.createElement(h,Object.assign({},t[0],{first:!0})),n.createElement(f,null,w.map(e=>n.createElement(h,Object.assign({},e,{key:e.id})))),x>1&&n.createElement(p.A,{onPageChange:e=>{d!==e&&(m(e),(0,c.navigate)(`${a.pathname}?page=${e}`),r.current.focus())},currentPage:d,totalPages:x})))}},39383:function(e,t,a){"use strict";a.r(t);var n=a(42236),i=a(38669);t.default=e=>n.createElement(i.A,Object.assign({header:`Blog - ${e.pageContext.tag}`},e))},44593:function(e){e.exports=function(e,t,a){void 0===a&&(a=1);let n=e;const i=[];for(;n<=t;)i.push(n),n+=a;return i}},61344:function(e,t,a){"use strict";a.d(t,{A:function(){return x}});var n=a(42236),i=a(92568),o=a(44593),l=a.n(o);var s=e=>{let{currentPage:t,pageNeighbors:a,totalPages:i}=e;const{0:o,1:s}
1=(0,n.useState)(),{0:r,1:c}=(0,n.useState)(),{0:d,1:m}=(0,n.useState)([]);return(0,n.useEffect)(()=>{const e=Math.max(1,t-a),n=Math.min(i,t+a),o=l()(e,n);s(e),c(n),m(o)},[t,a,i]),{first:o,last:r,pages:d}},r=a(86457);const c="PREV",d="NEXT",m="BREAK";var p=a(40907),g=a.n(p),u=a(31435),f=a(64520);const h=e=>{let{className:t,createLink:a,currentPage:i,enableDefaultStyles:o,onPageChange:l,pageNeighbors:r,paginationBreakClassName:p,paginationCurrentItemClassName:g,paginationItemClassName:u,paginationNextClassName:f,paginationPrevClassName:h,totalPages:N,...x}=e;const{first:C,last:E,pages:v}=s({currentPage:i,pageNeighbors:r,totalPages:N});return n.createElement(b,Object.assign({"aria-label":"pagination",className:`${o?"pagination-default-style":""} ${t}`},x),n.createElement(y,null,1!==i&&n.createElement(w,{className:`pagination-prev ${h}`},a(c,{onClick:()=>{l(i-1)}},i)),1!==C&&n.createElement(n.Fragment,null,n.createElement(w,{className:`pagination-item ${u}`},a(1,{onClick:()=>{l(1)}},i)),n.createElement(w,{className:`pagination-break ${p}`},a(m,{},i))),v.map(e=>n.createElement(w,{key:`PaginationListItem${e}`,className:`pagination-item ${u} ${e===i?`pagination-current ${g}`:""}`},a(e,{onClick:()=>l(e)},i))),E!==N&&n.createElement(n.Fragment,null,n.createElement(w,{className:`pagination-break ${p}`},a(m,{},i)),n.createElement(w,{className:`pagination-item ${u}`},a(N,{onClick:()=>{l(N)}},i))),i!==N&&n.createElement(w,{className:`pagination-next ${f}`},a(d,{onClick:()=>{l(i+1)}},i))))};h.defaultProps={className:"",createLink:function(e,t,a){switch(void 0===t&&(t={}),e){case d:e=n.createElement(u.f,{"aria-hidden":"true",focusable:"false",role:"presentation"}),t["aria-label"]="Next";break;case c:e=n.createElement(f.i,{"aria-hidden":"true",focusable:"false",role:"presentation"}),t["aria-label"]="Previous";break;case m:e=n.createElement(n.Fragment,null,"…"),t.as="div",t["aria-hidden"]=!0;break;case a:t["aria-current"]="page"}return n.createElement(N,t,e)},enableDefaultStyles:!0,onPageChange:g(),pageNeighbors:2,paginationBreakClassName:"",paginationCurrentItemClassName:"",paginationItemClassName:"",paginationNextClassName:"",paginationPrevClassName:""};const b=i.default.nav.withConfig({displayName:"pagination__Nav",componentId:"sc-yqs6bu-0"})(["&.pagination-default-style{ul{align-items:stretch;border-left:1px solid #d7d7d7;display:inline-flex;flex-wrap:wrap;}li{align-content:center;align-items:stretch;background-color:#fafafa;border-bottom:1px solid #d7d7d7;border-right:1px solid #d7d7d7;border-top:1px solid #d7d7d7;display:flex;min-width:40px;}.pagination-current{> button,> a{background-color:#377539;color:#fff;font-weight:600;:hover,:focus{text-decoration:underline;}}}.pagination-item:not(.pagination-current),.pagination-next,.pagination-prev{> button,> a{color:#444;:hover,:focus{background-color:#dfdfdf;text-decoration:underline;}}}svg{color:#444;vertical-align:middle;}}"]),y=i.default.ul.withConfig({displayName:"pagination__PaginationList",componentId:"sc-yqs6bu-1"})(["list-style:none;margin:0;padding:0;"]),w=i.default.li.withConfig({displayName:"pagination__PaginationListItem",componentId:"sc-yqs6bu-2"})(["display:inline-block;margin:0;padding:0;"]),N=(0,i.default)(r.A).withConfig({displayName:"pagination__DefaultButton",componentId:"sc-yqs6bu-3"})(["padding:8px;text-align:center;width:100%;"]);var x=h}}]);
2//# sourceMappingURL=component---src-templates-blog-tag-js-7e347dbcb99c10ec44a3.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.