PageSourceSearch

https://www.all4golf.com/_nuxt/builds/20261008-054902-/CVMGfpjM.js

js all4golf.com collected 2026-10-08 18:56:08 UTC 3,255 bytes, 2 lines download raw bytes

1import{aF as C,aG as F,c5 as P,aI as o,aJ as c,aM as s,aP as O,a_ as k,a$ as S,bp as x,b5 as E,aN as i,b1 as M,ce as N}from"./DPie0MZL.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"a4g-pwa-v20261008-"};var l=new t.Error().stack;l&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[l]="0e364654-46e6-4c76-9c80-feff479e9fb5",t._sentryDebugIdIdentifier="sentry-dbid-0e364654-46e6-4c76-9c80-feff479e9fb5")}catch{}})();const j={class:"flex justify-between items-start gap-2"},L={class:"font-semibold"},H={class:"shrink-0"},B={class:"badge badge-primary badge-sm"},R={class:"mt-2"},V={key:0,class:"text-base-content-subtle mt-2"},W={key:1,class:"font-weight-bold text-success mt-2"},Y={class:"font-bold"},_=C({__name:"CustomerAddressFormPackStationItem",props:{packStation:{}},emits:["stationSelected"],setup(t,{expose:l,emit:g}){const u=t,v=g,m=N("customerAddressFormData"),{t:h}=F(),w=P(),y=E();l({$el:y,id:w.id});function D(n){const e={};return n.map(a=>{a.opens==="00:00:00"&&a.closes==="23:59:00"&&(e[a.dayOfWeek]=!0)}),Object.keys(e).length===7}function T(n){const e={};return n.map(a=>{const d=new Date("1970-01-01T"+a.opens),p=`${d.getHours().toString().padStart(2,"0")}:${d.getMinutes().toString().padStart(2,"0")}`,r=new Date("1970-01-01T"+a.closes),A=`${r.getHours().toString().padStart(2,"0")}:${r.getMinutes().toString().padStart(2,"0")}`,f=`${p} - ${A}`,$=h(`packStation.days.${a.dayOfWeek.toLowerCase().replace("http://schema.org/","")}`);f in e?e[f]=`${e[f]}, ${$}`:e[f]=$}),e}function b(n){const e=new Date(n);return`${e.getDate()}.${e.getMonth()+1}.${e.getFullYear()}`}function I(){m?.value!=null&&(m.value.street=`${u?.packStation?.location?.keyword} ${u?.packStation?.location?.keywordId}`,m.value.zipcode=u?.packStation?.place?.address?.postalCode,m.value.city=u?.packStation?.place?.address?.addressLocality),v("stationSelected")}return(n,e)=>(i(),o("div",{ref_key:"$el",ref:y},[c("div",j,[c("div",L,s(t.packStation.name),1),c("div",H,[c("span",B,s(Math.round(t.packStation.distance/1e3).toFixed(1))+" km",1)])]),c("div",R,s(t.packStation.place.address.streetAddress),1),c("div",null,s(t.packStation.place.address.postalCode)+" "+s(t.packStation.place.address.addressLocality),1),t.packStation.place.containedInPlace!=null?(i(),o("div",V,s(t.packStation.place.containedInPlace.name),1)):O("",!0),D(t.packStation.openingHours)?(i(),o("div",W,s(n.$t("packStation.openAllDay")),1)):(i(!0),o(k,{key:2},S(T(t.packStation.openingHours),(a,d,p)=>(i(),o("div",{key:`${t.packStation.location.keywordId}${p}`,class:"mt-1"},[c("span",Y,s(d),1),e[1]||(e[1]=M(": ",-1)),(i(!0),o(k,null,S(a,r=>(i(),o("span",{key:r},s(r),1))),128))]))),128)),(i(!0),o(k,null,S(t.packStation.closurePeriods,(a,d)=>(i(),o("div",{key:d,class:"font-semibold text-error mt-2"},s(n.$t("packStation.closed"))+": "+s(b(a.fromDate))+" - "+s(b(a.toDate)),1))),128)),c("button",{type:"button",class:"btn btn-primary btn-outline mt-2 w-full",onClick:e[0]||(e[0]=x(a=>I(),["prevent"]))},s(n.$t("packStation.selectPackStation")),1)],512))}}),G=Object.assign(_,{__name:"CustomerAddressFormPackStationItem"});export{G as default};
2//# sourceMappingURL=CVMGfpjM.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.