1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7051],{78029:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/page/[page]",function(){return a(46156)}])},91283:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return u},default:function(){return m}});var r=a(85893),s=a(67294),n=a(9008),l=a.n(n),c=a(41664),o=a.n(c),i=a(11163),d=a(85188);function x(e){return e?e.trim().replace(/^["']+/,"").replace(/["']+$/,"").trim():""}let g={"@context":"https://schema.org","@type":"Blog",name:"TicketsData Blog: Analytics, Market and Insights",url:"https://ticketsdata.com/blog",description:"TicketsData.com Blog â tutorials and insights on ticketing APIs, automation, and event data analytics.",publisher:{"@type":"Organization",name:"TicketsData.com",url:"https://ticketsdata.com",logo:{"@type":"ImageObject",url:"https://ticketsdata.com/android-chrome-512x512.png"}}};var u=!0;function m(e){let{posts:t,page:a,totalPages:n,searchQuery:c}=e,u=(0,i.useRouter)(),[m,p]=(0,s.useState)(c||""),h=!!c,b=!h&&a>1,f=h?null:a>1?"https://ticketsdata.com/blog/page/".concat(a):"https://ticketsdata.com/blog",y="TicketsData Blog: Analytics, Market and Insights",N="TicketsData Blog: Analytics and Insights",j="Official TicketsData.com blog covering Ticketmaster, StubHub, SeatGeek & VividSeats APIs, automation, analytics, and event data insights.";if(h)y="Search: ".concat(c).concat(a>1?" â Page ".concat(a):""," | TicketsData Blog"),j="".concat(a>1?"Page ".concat(a," of search"):"Search",' results for "').concat(c,'" on the TicketsData blog.');else if(b){y="Ticket API Article Archive: Page ".concat(a," of ").concat(n),N="Article archive: page ".concat(a);let e=t.slice(0,2).map(e=>x(e.title)).join("; ");j=function(e,t){if(e.length<=155)return e;let a=e.lastIndexOf(" ",154);return e.slice(0,a>0?a:154)+"â¦"}("Article archive, page ".concat(a," of ").concat(n,". Includes: ").concat(e,"."),155)}function v(e){return h?"/blog?query=".concat(encodeURIComponent(c)).concat(e>1?"&page=".concat(e):""):1===e?"/blog":"/blog/page/".concat(e)}let k=[];for(let e=1;e<=n;e++)k.push(e);return(0,r.jsxs)(d.Z,{title:y,description:j,canonical:f,noindex:h,children:[(0,r.jsx)(l(),{children:(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(g)}})}),(0,r.jsx)("section",{className:"bg-gradient-to-r from-blue-600 to-indigo-700 text-white py-20 text-center px-6",children:(0,r.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,r.jsx)("h1",{className:"text-4xl md:text-5xl font-bold",children:N}),h?(0,r.jsxs)("p",{className:"mt-4 text-lg opacity-90",children:["Showing results for: ",(0,r.jsx)("span",{className:"font-semibold",children:c})]}):b?(0,r.jsxs)("p",{className:"mt-4 text-lg opacity-85 max-w-xl mx-auto",children:["Page ",a," of ",n," in the TicketsData article archive."]}):(0,r.jsx)("p",{className:"mt-4 text-lg opacity-85 max-w-xl mx-auto",children:"Tutorials and insights on ticketing APIs, automation, and event data analytics."}),(0,r.jsxs)("form",{onSubmit:function(e){e.preventDefault();let t=m.trim();u.push(t?"/blog?query=".concat(encodeURIComponent(t)):"/blog")},className:"mt-6 flex gap-2 max-w-md mx-auto",children:[(0,r.jsx)("input",{type:"text",value:m,onChange:e=>p(e.target.value),placeholder:"Search articlesâ¦",className:"flex-1 px-4 py-2.5 rounded-xl text-gray-800 text-sm focus:outline-none focus:ring-2 focus:ring-white/50"}),(0,r.jsx)("button",{type:"submit",className:"bg-white text-blue-700 font-semibold px-4 py-2.5 rounded-xl text-sm hover:bg-gray-100 transition-colors",children:"Search"})]})]})}),(0,r.jsxs)("section",{className:"max-w-4xl mx-auto px-6 py-16",children:[0===t.length?(0,r.jsxs)("div",{className:"text-center py-16",children:[(0,r.jsx)("div",{className:"text-4xl mb-3",children:"\uD83D\uDD0D"}),(0,r.jsx)("p",{className:"text-gray-500 text-lg",children:h?'No articles found for "'.concat(c,'".'):"No articles yet."}),(0,r.jsx)(o(),{href:"/blog",className:"mt-4 inline-block text-blue-600 hover:underline text-sm",children:"â Back to all articles"})]}):(0,r.jsx)("div",{className:"space-y-4",children:t.map(e=>{var t,a;let s=new Date(e.publishedAt||e.createdAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"}),n=((a=e.excerpt||"")?a.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim():"").slice(0,200),l=x(e.title);return(0,r.jsxs)("article",{className:"bg-white rounded-2xl border border-gray-200 shadow-sm p-6 hover:shadow-md transition-shadow",children:[(null===(t=e.keywords)||void 0===t?void 0:t.length)>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5 mb-3",children:e.keywords.slice(0,3).map(e=>(0,r.jsx)("span",{className:"text-xs bg-blue-50 text-blue-600 border border-blue-100 rounded-full px-2.5 py-0.5",children:e},e))}
1),(0,r.jsx)("p",{className:"text-lg font-bold text-gray-800 mb-1 leading-snug",children:(0,r.jsx)(o(),{href:"/blog/".concat(e.slug),className:"hover:text-blue-600 transition-colors",children:l})}),(0,r.jsx)("p",{className:"text-xs text-gray-400 mb-3",children:s}),n&&(0,r.jsx)("p",{className:"text-sm text-gray-500 leading-relaxed line-clamp-2",children:n})]},e.slug)})}),n>1&&(0,r.jsxs)("nav",{"aria-label":"Blog pages",className:"flex justify-center items-center gap-2 mt-12 flex-wrap",children:[a>1?(0,r.jsx)(o(),{href:v(a-1),"aria-label":"Previous page",className:"px-3 py-2 rounded-xl border border-gray-200 text-gray-600 hover:bg-gray-50 text-sm transition-colors",children:"â"}):(0,r.jsx)("span",{className:"px-3 py-2 rounded-xl border border-gray-100 text-gray-300 text-sm cursor-not-allowed",children:"â"}),k.map(e=>e===a?(0,r.jsx)("span",{"aria-current":"page",className:"px-3 py-2 rounded-xl border text-sm bg-blue-600 text-white border-blue-600 font-semibold",children:e},e):(0,r.jsx)(o(),{href:v(e),"aria-label":"Page ".concat(e),className:"px-3 py-2 rounded-xl border text-sm transition-colors border-gray-200 text-gray-600 hover:bg-gray-50",children:e},e)),a<n?(0,r.jsx)(o(),{href:v(a+1),"aria-label":"Next page",className:"px-3 py-2 rounded-xl border border-gray-200 text-gray-600 hover:bg-gray-50 text-sm transition-colors",children:"â"}):(0,r.jsx)("span",{className:"px-3 py-2 rounded-xl border border-gray-100 text-gray-300 text-sm cursor-not-allowed",children:"â"})]})]})]})}},46156:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return s}});var r=a(91283),s=!0;t.default=r.default}},function(e){e.O(0,[1664,5358,5188,2888,9774,179],function(){return e(e.s=78029)}),_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.