@seatlayer/js 0.109.0 → 0.109.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -346,7 +346,7 @@ import{b as V,c as be,d as ls,f as $e,g as He}from"./chunk-HHV7F37Y.js";import{m
346
346
  .slm .slm-trendcard button{display:inline-flex;margin-top:10px;height:26px;align-items:center;padding:0 9px;border-radius:8px;border:1px solid var(--slm-accent);background:color-mix(in srgb,var(--slm-accent) 14%,var(--slm-surface));font-size:12px;font-weight:600;color:var(--slm-text)}
347
347
  .slm.compact .slm-arrival-why{display:none}
348
348
  .slm.compact .slm-arrival{top:56px}.slm.compact .slm-arrival-note{top:100px}
349
- `;var j={free:"#1f9d6b",sold:"#9ca3af",held:"#f4b740",ring:"#d99a0b",reserved:"#c026d3",blocked:"#d64545",typeA:"#2f9d46",typeB:"#5b7bff",typeC:"#e8456b",typeD:"#bc800b",pub:"#c9d0dc",box:"#e8782a",member:"#7c5cff"};function ae(e,t=""){let o="";for(let a=0;a<6;a++)for(let n=0;n<12;n++){let i=22+n*18.5,x=24+a*17+Math.pow(n-5.5,2)*.22,h=e(a,n);h&&(o+=`<circle cx="${i.toFixed(1)}" cy="${x.toFixed(1)}" r="6" fill="${h.fill}"${h.fill==="#ffffff"?' stroke="#9ca3af" stroke-width="1"':""}/>`,h.ring&&(o+=`<circle cx="${i.toFixed(1)}" cy="${x.toFixed(1)}" r="8.4" fill="none" stroke="${h.ring}" stroke-width="1.6"/>`),h.cross&&(o+=`<path d="M${(i-3).toFixed(1)} ${(x-3).toFixed(1)}l6 6" stroke="${j.blocked}" stroke-width="1.6" stroke-linecap="round"/>`))}return`<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/>${o}${t}</svg>`}var ue=(e,t)=>(e*7+t*3)%5===0,me=(e,t)=>(e===2||e===3)&&t>=3&&t<=8&&!ue(e,t),Bt=(e,t)=>({fill:ue(e,t)?j.sold:j.free});function Nt(e){let t=(o,a,n)=>`<path d="M${o} 104 q34 -64 68 0 z" fill="${a}"${n?' opacity=".55"':""}/>`+(n?`<path d="M${o+14} 100l20 -30M${o+26} 102l20 -30M${o+38} 102l14 -20" stroke="#64748b" stroke-width="1.4"/>`:"");return'<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/><rect x="85" y="14" width="80" height="14" rx="4" fill="#64748b" opacity=".45"/>'+t(12,j.free,!1)+t(91,e?j.sold:j.free,e)+t(170,j.free,!1)+"</svg>"}function qt(e){let t="";for(let a=0;a<8;a++){let n=a/8*Math.PI*2,i=e?j.free:a===1||a===2?j.sold:j.free;t+=`<circle cx="${(125+Math.cos(n)*44).toFixed(1)}" cy="${(65+Math.sin(n)*44).toFixed(1)}" r="8" fill="${i}"/>`}let o=e?`<circle cx="125" cy="65" r="56" fill="none" stroke="${j.ring}" stroke-width="2" stroke-dasharray="5 4"/>`:"";return`<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/><circle cx="125" cy="65" r="28" fill="#94a3b8" opacity=".35"/>${t}${o}</svg>`}function nn(e){let t=e?"Tap":"Click",o=(a,n)=>a===3&&n===6;return{watch:{title:"How Watch works",glyph:"eye",hue:"#3b82f6",before:ae(Bt),after:ae((a,n)=>({fill:ue(a,n)||o(a,n)?j.sold:j.free,ring:o(a,n)?j.ring:void 0}),'<rect x="150" y="6" width="92" height="30" rx="7" fill="#0f172a" opacity=".85"/><text x="158" y="19" fill="#fff" font-size="9" font-weight="700">Sold \xB7 Stalls C D-7</text><text x="158" y="30" fill="#cbd5e1" font-size="8">Booking #9845</text>'),name:"Answer any question about a seat",purpose:`${t} a seat, or search it, to see its status, booking and buyer, and its history.`,steps:[e?"Tap the search icon and type a seat, booking or buyer.":"Press \u2318K and type a seat, booking or buyer.","Read the seat card and its history.","Open the order if it needs changing."],not:"changing seats; pick a task first."},reserve:{title:"How Reserve works",glyph:"bookmark",hue:"#c026d3",before:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:ue(a,n)?j.sold:me(a,n)?"#ffffff":j.free,ring:me(a,n)?j.reserved:void 0})),name:"Keep seats aside under a name",purpose:"Reserved seats leave sale for guests, press or comps, and come back when you release them or their time runs out.",steps:["Pick free seats.","Name it and choose when it goes back on sale.","Press Reserve. Release any time from On this event."],not:"seats that should never be sold; Block them."},block:{title:"How Block works",glyph:"ban",hue:"#d64545",before:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:ue(a,n)?j.sold:me(a,n)?"#ffffff":j.free,cross:me(a,n)})),name:"Take seats off sale",purpose:"Buyers cannot pick blocked seats. Give a reason so the team knows why.",steps:["Pick seats (sold seats and seats in a cart are skipped).","Add a reason and, if you like, when they go back on sale.","Press Block."],not:"keeping seats for named guests; Reserve them."},types:{title:"How Ticket types works",glyph:"tag",hue:"#8b5cf6",before:ae((a,n)=>({fill:j.typeA,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:me(a,n)?j.typeB:j.typeA})),name:"Move seats to another ticket type",purpose:"For this event only. The chart keeps its design, and sold seats keep what the buyer paid.",steps:["Pick seats on the map.",'Choose the ticket type under "Move them to".',"Press Move. Undo from the footer."],not:"changing the price of a ticket type; that is Pricing and availability."},sections:{title:"How Sections works",glyph:"layers",hue:"#0ea5a5",before:Nt(!1),after:Nt(!0),name:"Open, close or hide whole sections",purpose:"For this event: now, at a set time, or when the rest of the venue sells.",steps:["Pick a section in the list.","Choose Open, Close or Hide, now or at a time.","It saves at once. Buyers with seats in their cart can still finish."],not:"single seats; Block them."},tables:{title:"How Tables works",glyph:"table",hue:"#65a30d",before:qt(!1),after:qt(!0),name:"Sell a table whole, or chair by chair",purpose:"For this event. A whole table goes to one buyer; chairs already sold keep their buyer.",steps:["Pick tables in the list or on the map.","Switch Per chair or Whole table.","Save."],not:"moving chairs or changing the room; that is the chart designer."},channels:{title:"How Channels works",glyph:"route",hue:"#ea7a1e",before:ae((a,n)=>({fill:j.pub,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:me(a,n)?j.box:j.pub})),name:"Give seats to a sales channel",purpose:"Box office, a partner or members sell these seats; public sale stops seeing them.",steps:["Choose the channel.","Pick seats on the map.","Review the counts and save."],not:"changing prices; channels can have their own in Pricing."},search:{title:"How search works",glyph:"search",hue:"#4c6fff",before:ae(Bt),after:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:o(a,n)?j.ring:void 0}),'<rect x="40" y="4" width="170" height="16" rx="8" fill="#0f172a" opacity=".85"/><text x="52" y="15.5" fill="#fff" font-size="8.5">\u2315 D-7</text>'),name:"Find a seat, row, section, booking or buyer",purpose:e?"Tap the search icon anywhere in the room. Results show status and price; bookings show their buyer.":"Press \u2318K anywhere in the room. Results show status and price; bookings show their buyer.",steps:["Type what you know: G-5, \u201CStalls C\u201D, #9845, a name or an email.",e?"Tap a result to show it; in a seat task it selects it.":"\u21B5 shows it; in a seat task it selects it; \u21E7\u21B5 adds it.","Open order goes to the booking."],not:"changing seats; that is a task."}}}var an=[{key:"status",label:"Status",hint:"What a buyer can buy right now",paint:(e,t)=>({fill:ue(e,t)?j.sold:(e+t)%9===0?j.held:j.free})},{key:"type",label:"Ticket type",hint:"Which ticket type each seat sells as",paint:e=>({fill:[j.typeD,j.typeD,j.typeC,j.typeA,j.typeA,j.typeB][e]})},{key:"price",label:"Price",hint:"What each seat costs, darker costs more",paint:e=>({fill:["#1f43a8","#3a62d2","#5f88ee","#5f88ee","#8db0fa","#bfd3ff"][e]})},{key:"channel",label:"Channel",hint:"Who can sell each seat",paint:(e,t)=>({fill:t<3?j.box:e===0?j.member:j.pub})}],ln='<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg>',on='<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg>';function rn(e,t){e.root.querySelector(".slm-ex-scrim")?.remove();let o=e.touch&&e.root.clientWidth<820,a=document.activeElement,n=document.createElement("div");n.className=`slm-ex-scrim${o?" sheet":""}`;let i,x,h,w,d=!1;if(t==="colours")i="How colours work",x="palette",h="#8b5cf6",d=!0,w=`<p class="slm-ex-lead">The map can colour seats four ways. Pick the one that answers your question; nothing about the seats changes.</p><div class="slm-ex-modes">${an.map(r=>`<div class="slm-ex-card">${ae(r.paint)}<b>${H(r.label)}</b><span>${H(r.hint)}.</span></div>`).join("")}</div><ol class="slm-ex-steps3"><li><span>Open <b>Colour by</b> at the top-left of the map.</span></li><li><span>Choose a mode. The legend counts free seats of each colour, live.</span></li><li><span>${e.touch?"Tap a legend item to light up those seats.":"Click a legend item to light those seats up; \u21E7 click selects them."}</span></li></ol>`;else{let r=nn(e.touch)[t];i=r.title,x=r.glyph,h=r.hue,w=`<div class="slm-ex-card"><div class="slm-ex-pics"><div>${r.before}</div><i>${on}</i><div>${r.after}</div></div><b>${H(r.name)}</b><p>${H(r.purpose)}</p><ol>${r.steps.map(c=>`<li>${H(c)}</li>`).join("")}</ol><p class="slm-ex-not"><b>Not for:</b> ${H(r.not)}</p></div>`}let u=t==="search"?e.touch?"Try search now":"Try \u2318K now":t==="colours"?"Try it on this map":"Try it here";n.innerHTML=`<div class="slm-ex${d?" wide":""}" role="dialog" aria-modal="true" aria-labelledby="slm-ex-title">`+(o?'<span class="slm-ex-grab" aria-hidden="true"></span>':"")+`<div class="slm-ex-head">${e.plate(x,h,34)}<b id="slm-ex-title">${H(i)}</b><button type="button" class="slm-ex-x" data-ex-close aria-label="Close">${ln}</button></div><div class="slm-ex-body">${w}</div><div class="slm-ex-foot">${e.guideUrl?`<a href="${H(e.guideUrl)}" target="_blank" rel="noopener">Full guide in docs \u2197</a>`:""}<span></span><button type="button" class="slm-btn ghost s" data-ex-try>${H(u)}</button><button type="button" class="slm-btn s" data-ex-close>Got it</button></div></div>`;let T=()=>{n.remove(),document.removeEventListener("keydown",k,!0),a?.focus?.({preventScroll:!0})},k=r=>{if(r.key==="Escape"){r.stopPropagation(),T();return}if(r.key!=="Tab")return;let c=[...n.querySelectorAll("button, a[href]")],b=c[0],S=c[c.length-1];r.shiftKey&&document.activeElement===b?(r.preventDefault(),S.focus()):!r.shiftKey&&document.activeElement===S&&(r.preventDefault(),b.focus())};return n.addEventListener("click",r=>{let c=r.target;if(c===n||c.closest("[data-ex-close]")){T();return}c.closest("[data-ex-try]")&&(T(),e.tryIt(t))}),document.addEventListener("keydown",k,!0),e.root.append(n),n.querySelector("[data-ex-close].slm-btn")?.focus({preventScroll:!0}),{close:T}}var Dt=`
349
+ `;var j={free:"#1f9d6b",sold:"#9ca3af",held:"#f4b740",ring:"#d99a0b",reserved:"#c026d3",blocked:"#d64545",typeA:"#2f9d46",typeB:"#5b7bff",typeC:"#e8456b",typeD:"#bc800b",pub:"#c9d0dc",box:"#e8782a",member:"#7c5cff"};function ae(e,t=""){let o="";for(let a=0;a<6;a++)for(let n=0;n<12;n++){let i=22+n*18.5,x=24+a*17+Math.pow(n-5.5,2)*.22,h=e(a,n);h&&(o+=`<circle cx="${i.toFixed(1)}" cy="${x.toFixed(1)}" r="6" fill="${h.fill}"${h.fill==="#ffffff"?' stroke="#9ca3af" stroke-width="1"':""}/>`,h.ring&&(o+=`<circle cx="${i.toFixed(1)}" cy="${x.toFixed(1)}" r="8.4" fill="none" stroke="${h.ring}" stroke-width="1.6"/>`),h.cross&&(o+=`<path d="M${(i-3).toFixed(1)} ${(x-3).toFixed(1)}l6 6" stroke="${j.blocked}" stroke-width="1.6" stroke-linecap="round"/>`))}return`<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/>${o}${t}</svg>`}var ue=(e,t)=>(e*7+t*3)%5===0,me=(e,t)=>(e===2||e===3)&&t>=3&&t<=8&&!ue(e,t),Bt=(e,t)=>({fill:ue(e,t)?j.sold:j.free});function Nt(e){let t=(o,a,n)=>`<path d="M${o} 104 q34 -64 68 0 z" fill="${a}"${n?' opacity=".55"':""}/>`+(n?`<path d="M${o+14} 100l20 -30M${o+26} 102l20 -30M${o+38} 102l14 -20" stroke="#64748b" stroke-width="1.4"/>`:"");return'<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/><rect x="85" y="14" width="80" height="14" rx="4" fill="#64748b" opacity=".45"/>'+t(12,j.free,!1)+t(91,e?j.sold:j.free,e)+t(170,j.free,!1)+"</svg>"}function qt(e){let t="";for(let a=0;a<8;a++){let n=a/8*Math.PI*2,i=e?j.free:a===1||a===2?j.sold:j.free;t+=`<circle cx="${(125+Math.cos(n)*44).toFixed(1)}" cy="${(65+Math.sin(n)*44).toFixed(1)}" r="8" fill="${i}"/>`}let o=e?`<circle cx="125" cy="65" r="56" fill="none" stroke="${j.ring}" stroke-width="2" stroke-dasharray="5 4"/>`:"";return`<svg viewBox="0 0 250 130" aria-hidden="true"><rect width="250" height="130" class="slm-ex-ground"/><circle cx="125" cy="65" r="28" fill="#94a3b8" opacity=".35"/>${t}${o}</svg>`}function nn(e){let t=e?"Tap":"Click",o=(a,n)=>a===3&&n===6;return{watch:{title:"How Watch works",glyph:"eye",hue:"#3b82f6",before:ae(Bt),after:ae((a,n)=>({fill:ue(a,n)||o(a,n)?j.sold:j.free,ring:o(a,n)?j.ring:void 0}),'<rect x="150" y="6" width="92" height="30" rx="7" fill="#0f172a" opacity=".85"/><text x="158" y="19" fill="#fff" font-size="9" font-weight="700">Sold \xB7 Stalls C D-7</text><text x="158" y="30" fill="#cbd5e1" font-size="8">Booking #9845</text>'),name:"Answer any question about a seat",purpose:`${t} a seat, or search it, to see its status, booking and buyer, and its history.`,steps:[e?"Tap the search icon and type a seat, booking or buyer.":"Press \u2318K and type a seat, booking or buyer.","Read the seat card and its history.","Open the order if it needs changing."],not:"changing seats; pick a task first."},reserve:{title:"How Reserve works",glyph:"bookmark",hue:"#c026d3",before:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:ue(a,n)?j.sold:me(a,n)?"#ffffff":j.free,ring:me(a,n)?j.reserved:void 0})),name:"Keep seats aside under a name",purpose:"Reserved seats leave sale for guests, press or comps, and come back when you release them or their time runs out.",steps:["Pick free seats.","Name it and choose when it goes back on sale.","Press Reserve. Release any time from On this event."],not:"seats that should never be sold; Block them."},block:{title:"How Block works",glyph:"ban",hue:"#d64545",before:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:ue(a,n)?j.sold:me(a,n)?"#ffffff":j.free,cross:me(a,n)})),name:"Take seats off sale",purpose:"Buyers cannot pick blocked seats. Give a reason so the team knows why.",steps:["Pick seats (sold seats and seats in a cart are skipped).","Add a reason and, if you like, when they go back on sale.","Press Block."],not:"keeping seats for named guests; Reserve them."},types:{title:"How Ticket types works",glyph:"tag",hue:"#8b5cf6",before:ae((a,n)=>({fill:j.typeA,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:me(a,n)?j.typeB:j.typeA})),name:"Move seats to another ticket type",purpose:"For this event only. The chart keeps its design, and sold seats keep what the buyer paid.",steps:["Pick seats on the map.",'Choose the ticket type under "Move them to".',"Press Move. Undo from the footer."],not:"changing the price of a ticket type; that is Pricing and availability."},sections:{title:"How Sections works",glyph:"layers",hue:"#0ea5a5",before:Nt(!1),after:Nt(!0),name:"Open, close or hide whole sections",purpose:"For this event: now, at a set time, or when the rest of the venue sells.",steps:["Pick a section in the list.","Choose Open, Close or Hide, now or at a time.","It saves at once. Buyers with seats in their cart can still finish."],not:"single seats; Block them."},tables:{title:"How Tables works",glyph:"table",hue:"#65a30d",before:qt(!1),after:qt(!0),name:"Sell a table whole, or chair by chair",purpose:"For this event. A whole table goes to one buyer; chairs already sold keep their buyer.",steps:["Pick tables in the list or on the map.","Switch Per chair or Whole table.","Save."],not:"moving chairs or changing the room; that is the chart designer."},channels:{title:"How Channels works",glyph:"route",hue:"#ea7a1e",before:ae((a,n)=>({fill:j.pub,ring:me(a,n)?j.ring:void 0})),after:ae((a,n)=>({fill:me(a,n)?j.box:j.pub})),name:"Give seats to a sales channel",purpose:"Box office, a partner or members sell these seats; public sale stops seeing them.",steps:["Choose the channel.","Pick seats on the map.","Review the counts and save."],not:"changing prices; channels can have their own in Pricing."},search:{title:"How search works",glyph:"search",hue:"#4c6fff",before:ae(Bt),after:ae((a,n)=>({fill:ue(a,n)?j.sold:j.free,ring:o(a,n)?j.ring:void 0}),'<rect x="40" y="4" width="170" height="16" rx="8" fill="#0f172a" opacity=".85"/><text x="52" y="15.5" fill="#fff" font-size="8.5">\u2315 D-7</text>'),name:"Find a seat, row, section, booking or buyer",purpose:e?"Tap the search icon anywhere in the room. Results show status and price; bookings show their buyer.":"Press \u2318K anywhere in the room. Results show status and price; bookings show their buyer.",steps:["Type what you know: G-5, \u201CStalls C\u201D, #9845, a name or an email.",e?"Tap a result to show it; in a seat task it selects it.":"\u21B5 shows it; in a seat task it selects it; \u21E7\u21B5 adds it.","Open order goes to the booking."],not:"changing seats; that is a task."}}}var an=[{key:"status",label:"Status",hint:"What a buyer can buy right now",paint:(e,t)=>({fill:ue(e,t)?j.sold:(e+t)%9===0?j.held:j.free})},{key:"type",label:"Ticket type",hint:"Which ticket type each seat sells as",paint:e=>({fill:[j.typeD,j.typeD,j.typeC,j.typeA,j.typeA,j.typeB][e]})},{key:"price",label:"Price",hint:"What each seat costs, darker costs more",paint:e=>({fill:["#1f43a8","#3a62d2","#5f88ee","#5f88ee","#8db0fa","#bfd3ff"][e]})},{key:"channel",label:"Channel",hint:"Who can sell each seat",paint:(e,t)=>({fill:t<3?j.box:e===0?j.member:j.pub})}],ln='<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18"/></svg>',on='<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9 6l6 6-6 6"/></svg>';function rn(e,t){e.root.querySelector(".slm-ex-scrim")?.remove();let o=e.touch&&e.root.clientWidth<820,a=document.activeElement,n=document.createElement("div");n.className=`slm-ex-scrim${o?" sheet":""}`;let i,x,h,w,d=!1;if(t==="colours")i="How colours work",x="palette",h="#8b5cf6",d=!0,w=`<p class="slm-ex-lead">The map can colour seats four ways. Pick the one that answers your question; nothing about the seats changes.</p><div class="slm-ex-modes">${an.map(r=>`<div class="slm-ex-card">${ae(r.paint)}<b>${H(r.label)}</b><span>${H(r.hint)}.</span></div>`).join("")}</div><ol class="slm-ex-steps3"><li><span>Open <b>Colour by</b> at the top-left of the map.</span></li><li><span>Choose a mode. The legend counts free seats of each colour, live.</span></li><li><span>${e.touch?"Tap a legend item to light up those seats and go to them.":"Click a legend item to light those seats up and go to them; \u21E7 click selects them."}</span></li></ol>`;else{let r=nn(e.touch)[t];i=r.title,x=r.glyph,h=r.hue,w=`<div class="slm-ex-card"><div class="slm-ex-pics"><div>${r.before}</div><i>${on}</i><div>${r.after}</div></div><b>${H(r.name)}</b><p>${H(r.purpose)}</p><ol>${r.steps.map(c=>`<li>${H(c)}</li>`).join("")}</ol><p class="slm-ex-not"><b>Not for:</b> ${H(r.not)}</p></div>`}let u=t==="search"?e.touch?"Try search now":"Try \u2318K now":t==="colours"?"Try it on this map":"Try it here";n.innerHTML=`<div class="slm-ex${d?" wide":""}" role="dialog" aria-modal="true" aria-labelledby="slm-ex-title">`+(o?'<span class="slm-ex-grab" aria-hidden="true"></span>':"")+`<div class="slm-ex-head">${e.plate(x,h,34)}<b id="slm-ex-title">${H(i)}</b><button type="button" class="slm-ex-x" data-ex-close aria-label="Close">${ln}</button></div><div class="slm-ex-body">${w}</div><div class="slm-ex-foot">${e.guideUrl?`<a href="${H(e.guideUrl)}" target="_blank" rel="noopener">Full guide in docs \u2197</a>`:""}<span></span><button type="button" class="slm-btn ghost s" data-ex-try>${H(u)}</button><button type="button" class="slm-btn s" data-ex-close>Got it</button></div></div>`;let T=()=>{n.remove(),document.removeEventListener("keydown",k,!0),a?.focus?.({preventScroll:!0})},k=r=>{if(r.key==="Escape"){r.stopPropagation(),T();return}if(r.key!=="Tab")return;let c=[...n.querySelectorAll("button, a[href]")],b=c[0],S=c[c.length-1];r.shiftKey&&document.activeElement===b?(r.preventDefault(),S.focus()):!r.shiftKey&&document.activeElement===S&&(r.preventDefault(),b.focus())};return n.addEventListener("click",r=>{let c=r.target;if(c===n||c.closest("[data-ex-close]")){T();return}c.closest("[data-ex-try]")&&(T(),e.tryIt(t))}),document.addEventListener("keydown",k,!0),e.root.append(n),n.querySelector("[data-ex-close].slm-btn")?.focus({preventScroll:!0}),{close:T}}var Dt=`
350
350
  .slm-ex-scrim{position:absolute;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:color-mix(in srgb,var(--slm-bg) 62%,transparent);animation:slm-ex-fade var(--slm-mo-base) var(--slm-mo-out)}
351
351
  @keyframes slm-ex-fade{from{opacity:0}to{opacity:1}}
352
352
  .slm-ex{width:620px;max-width:100%;max-height:100%;display:flex;flex-direction:column;border-radius:18px;border:1px solid var(--slm-line);background:var(--slm-surface);box-shadow:0 30px 80px rgba(0,0,0,.28);overflow:hidden;animation:slm-alert-in var(--slm-mo-base) var(--slm-mo-out)}
@@ -453,10 +453,6 @@ import{b as V,c as be,d as ls,f as $e,g as He}from"./chunk-HHV7F37Y.js";import{m
453
453
  <div class="slm-ch-seatlist grid" data-ch-seatlist>${m}</div>`,foot:E?A:`${A}<button type="button" class="slm-btn ghost" data-ch-clear-all ${o.size?"":"disabled"}>Clear</button>`}}function Ut(e,t){if(e.seatListSection&&t.some(n=>n.id===e.seatListSection))return e.seatListSection;let o=e.host.selectionLabels()[0],a=o?e.host.sectionOfLabel(o)?.id:null;return a&&t.some(n=>n.id===a)?a:t[0]?.id??null}var Xt=`
454
454
  .slm-ch-seatlist{max-height:44vh;overflow:auto;overscroll-behavior:contain;border:1px solid var(--slm-line);
455
455
  border-radius:10px;background:var(--slm-surface);margin-top:10px}
456
- .slm-ch-seatgroup{padding:8px 10px;border-bottom:1px solid var(--slm-line);display:flex;align-items:center;
457
- justify-content:space-between;gap:8px;font-size:11px;font-weight:800;color:var(--slm-muted);position:sticky;top:0;
458
- background:var(--slm-surface)}
459
- .slm-ch-seatgroup button{color:var(--slm-accent);font-weight:800;font-size:11px;min-height:32px}
460
456
  .slm-ch-seatitem{display:flex;width:100%;min-height:40px;align-items:center;gap:9px;padding:8px 10px;border-bottom:1px solid var(--slm-line);
461
457
  text-align:left;font-size:12.5px;line-height:1.3;color:var(--slm-text)}
462
458
  .slm-ch-seatitem:hover:not(:disabled){background:var(--slm-tint)}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seatlayer/js",
3
- "version": "0.109.0",
3
+ "version": "0.109.2",
4
4
  "description": "SeatLayer's official JavaScript seating chart and seat map SDK — live availability, seat selection, temporary holds, and a typed API for any web ticketing app.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": {
@@ -68,7 +68,7 @@
68
68
  "typescript"
69
69
  ],
70
70
  "dependencies": {
71
- "@seatlayer/core": "0.109.0"
71
+ "@seatlayer/core": "0.109.2"
72
72
  },
73
73
  "devDependencies": {
74
74
  "tsup": "^8.5.1",