1import{_ as N}from"./tDyExLl2.js";import{_ as v}from"./DdOo7UcD.js";import{_ as E}from"./_p5P2Lne.js";import{_ as g}from"./Q4Yf3E-h.js";import{e as P,i as x,r as H,o as n,c as a,h as t,j as d,a as h,t as L,k as S,w as k,F as I,l as M,b as f,K as O}from"./BhoUdJaZ.js";import{_ as U}from"./C-4ABav7.js";import{c as C}from"./BtGaiUkv.js";import{_ as b}from"./DlAUqK2U.js";import"./CIQ-TjyP.js";import"./BmwF9hd0.js";function B(r){return{query:`site.shipments.findByType("${r}")`,select:{title:!0,description:"page.description.permalinksToResolvedUrls",icon:"page.icon.yaml",shipment_type:!0}}}const w={class:"tile__label"},A=["innerHTML"],D=P({__name:"ShipmentButton",props:{shipmentType:{default:"POSTAL_SHIPMENT"}},setup(r){const c=r,{data:s}=x(B(c.shipmentType)),e=H(!1),o=()=>{e.value=!0},i=()=>{e.value=!1};return(y,l)=>{var m;const p=v,_=E,u=g;return n(),a(I,null,[((m=t(s))==null?void 0:m.code)===200?(n(),a("button",{key:0,class:"tile",onClick:o},[t(s).result.icon.length?(n(),d(p,{key:0,media:t(s).result.icon[0]},null,8,["media"])):(n(),d(_,{key:1})),h("span",w,L(t(s).result.title),1),l[0]||(l[0]=h("span",{class:"tile__info","aria-hidden":"true"},"i",-1))])):S("",!0),t(e)?(n(),d(u,{key:1,"close-overlay":i},{default:k(()=>{var T;return[h("div",{class:"overlay-inner-content",innerHTML:(T=t(s))==null?void 0:T.result.description},null,8,A)]}),_:1})):S("",!0)],64)}}}),R={key:0,class:"shipments content content--background"},$=P({__name:"Shipments",props:{block:{}},setup(r){const c=C(),s=M(()=>{const e=[...c.value.shipments],o=e.findIndex(i=>i==="POSTAL_SHIPMENT");return o!==-1&&!e.includes("POSTAL_SHIPMENT_UNINSURED")&&!e.includes("POSTAL_SHIPMENT_INSURED")&&!e.includes("PICKUP")&&e.splice(o+1,0,"POSTAL_SHIPMENT_UNINSURED","POSTAL_SHIPMENT_INSURED","PICKUP"),e});return(e,o)=>{var p,_;const i=N,y=D,l=U;return t(c).shipments?(n(),a("section",R,[f(i,{headline:(_=(p=e.block)==null?void 0:p.content)==null?void 0:_.headline,appearance:"headline--3",semantic:"h2"},null,8,["headline"]),f(l,{"slides-per-view":"auto","slides-per-view-mobile":"auto"},{default:k(()=>[(n(!0),a(I,null,O(t(s),(u,m)=>(n(),a("swiper-slide",{key:m,class:"tile-slider-slide"},[f(y,{"shipment-type":u},null,8,["shipment-type"])]))),128))]),_:1})])):S("",!0)}}}),X=b($,[["__scopeId","data-v-6c6f8fdc"]]);export{X as default};
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.