1"use strict";(globalThis.webpackChunkgolfnow_web||=[]).push([[31689,35575],{28927(e,l,a){a.d(l,{C:()=>u,v:()=>o});var i=a(6934),t=a(742),n=a(78559),r=a(49642);function u(e){return{shouldShowFeeLabel:(0,i.EW)(()=>{var l,a,i,u,o,d,s,v;if(!e.value)return!1;if(e.value instanceof r.L){if(null==(a=null==(l=e.value.ttResults)?void 0:l.teeTimes)?void 0:a.length){for(let l of e.value.ttResults.teeTimes)if(null==(i=l.value)?void 0:i.length){for(let e of l.value)if(null==e?void 0:e.displayFeeRates)return!0}}return!1}return e.value instanceof n.$?null!=(d=null==(o=null==(u=e.value.ttResults)?void 0:u.facilities)?void 0:o.some(e=>e.displayFeeRates))&&d:e.value instanceof t.$&&null!=(v=null==(s=e.value.ttResults)?void 0:s.some(e=>e.displayFeeRates))&&v})}}function o(){let e=(0,i.KR)(!1),l=(0,i.KR)(void 0),a=(0,i.KR)(void 0),t=(0,i.KR)(void 0),n=(0,i.EW)(()=>{var a,i,t,n;return!!(e.value&&!(null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.isPriceTotalRangeZero)&&(null==(n=null==(t=l.value)?void 0:t.feeMessagingFacilityDisplayRates)?void 0:n.maxPriceTotal))}
1),r=(0,i.EW)(()=>{var a,i,t,n,r;return e.value?null==(t=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.minPriceTotal)?void 0:t.formattedValue2:null==(r=null==(n=l.value)?void 0:n.minPrice)?void 0:r.formattedValue2}),u=(0,i.EW)(()=>{var a,i,t,r,u,o;return e.value?n.value?null==(t=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.maxPriceTotal)?void 0:t.formattedValue2:"":(null==(r=l.value)?void 0:r.maxPrice)&&!(null==(u=l.value)?void 0:u.isPriceRangeZero)?null==(o=l.value)?void 0:o.maxPrice.formattedValue2:""}),o=(0,i.EW)(()=>{var a,i,t,n,r;return e.value?null==(t=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.minPriceTotal)?void 0:t.superScriptFormattedValue:null==(r=null==(n=l.value)?void 0:n.minPrice)?void 0:r.superScriptFormattedValue}),d=(0,i.EW)(()=>{var a,i,t,r,u,o;return e.value?n.value?null==(t=null==(i=null==(a=l.value)?void 0:a.feeMessagingFacilityDisplayRates)?void 0:i.maxPriceTotal)?void 0:t.superScriptFormattedValue:"":(null==(r=l.value)?void 0:r.maxPrice)&&!(null==(u=l.value)?void 0:u.isPriceRangeZero)?null==(o=l.value)?void 0:o.maxPrice.superScriptFormattedValue:""}),s=(0,i.EW)(()=>{var a,i;return e.value?n.value:!!((null==(a=l.value)?void 0:a.maxPrice)&&!(null==(i=l.value)?void 0:i.isPriceRangeZero))}),v=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.minPriceGreenFees)?void 0:i.formattedValue2}),m=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.minPriceTransactionFee)?void 0:i.formattedValue2}),c=(0,i.EW)(()=>{var e,a,i;return null==(i=null==(a=null==(e=l.value)?void 0:e.feeMessagingFacilityDisplayRates)?void 0:a.maxPriceTransactionFee)?void 0:i.formattedValue2}),p=(0,i.EW)(()=>{var l,i;return e.value?null==(i=null==(l=a.value)?void 0:l.greensFees)?void 0:i.superScriptFormattedValue:""});return{init:function(i,n,r,u){e.value=i,l.value=n,a.value=r,t.value=u},minPrice:o,maxPrice:d,hasPriceRange:s,minPriceGreenFees:v,minPriceTransactionFee:m,maxPriceTransactionFee:c,greensFees:p,transactionFeesTotal:(0,i.EW)(()=>{var l,i;return e.value?null==(i=null==(l=a.value)?void 0:l.transactionFeesTotal)?void 0:i.superScriptFormattedValue:""}),discountedSubtotal:(0,i.EW)(()=>{var e,l;return null==(l=null==(e=t.value)?void 0:e.discountedSubtotal)?void 0:l.superScriptFormattedValue}),minPriceFormatted2:r,maxPriceFormatted2:u}}},59513(e,l,a){a.r(l),a.d(l,{default:()=>v});var i=a(6934),t=a(28927);let n={key:0},r=["innerHTML"],u=["innerHTML"],o={key:1},d=["innerHTML"],s=["innerHTML"],v=(0,i.pM)({__name:"TeeTimeFeeMessagingRate",props:{teeTimeRateModel:{},rateCopy:{},feeCopy:{},showMemberBreakdown:{type:Boolean,default:void 0}},setup(e){let{init:l,greensFees:a,transactionFeesTotal:v,discountedSubtotal:m}=(0,t.v)();(0,i.wB)(()=>{var l;return[e.teeTimeRateModel.displayFeeRates,null==(l=e.teeTimeRateModel.singlePlayerPrice)?void 0:l.feeMessagingDisplayRates,e.teeTimeRateModel.memberPricing]},()=>{var a,i;l(null!=(a=e.teeTimeRateModel.displayFeeRates)&&a,void 0,null==(i=e.teeTimeRateModel.singlePlayerPrice)?void 0:i.feeMessagingDisplayRates,e.teeTimeRateModel.memberPricing)},{immediate:!0});let c=(0,i.EW)(()=>e.rateCopy),p=(0,i.EW)(()=>e.feeCopy),f=(0,i.EW)(()=>{var l;return!!e.teeTimeRateModel.hasMemberPricingWithFees&&(null!=(l=e.showMemberBreakdown)?l:!!e.teeTimeRateModel.isGolfPassMember)}),g=(0,i.EW)(()=>e.teeTimeRateModel.displayFeeRates);return(e,l)=>f.value?((0,i.uX)(),(0,i.CE)("p",n,[(0,i.eW)((0,i.v_)(c.value)+" ",1),(0,i.Lk)("span",{innerHTML:(0,i.R1)(m)},null,8,r),l[0]||(l[0]=(0,i.eW)(" + ",-1)),(0,i.Lk)("span",{innerHTML:(0,i.R1)(v)},null,8,u),(0,i.eW)(" "+(0,i.v_)(p.value),1)])):g.value?((0,i.uX)(),(0,i.CE)("p",o,[(0,i.eW)((0,i.v_)(c.value)+" ",1),(0,i.Lk)("span",{innerHTML:(0,i.R1)(a)},null,8,d),l[1]||(l[1]=(0,i.eW)(" + ",-1)),(0,i.Lk)("span",{innerHTML:(0,i.R1)(v)},null,8,s),(0,i.eW)(" "+(0,i.v_)(p.value),1)])):(0,i.Q3)("v-if",!0)}})},19405(e,l,a){a.r(l),a.d(l,{default:()=>v});var i=a(6934),t=a(59513);let n=["disabled"],r={class:"grid grid-cols-2 gap-x-1 md:grid-cols-1 md:gap-x-0"},u={class:"order-1 inline-block font-semibold font-display md:block"},o={key:0,class:"order-3 col-span-2 mt-3 text-sm text-gray-700 md:mt-2 md:order-2 md:col-span-1"},d={class:"order-3 text-sm text-gray-700 md:order-2"},s=["innerHTML"],v=(0,i.pM)({__name:"FittingTypeChip",props:{fitting:{},selected:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:l}){let a=[{id:1,name:"Full bag fitting",match:e=>e.has("full")&&e.has("bag")},{id:2,name:"Driver fitting",match:e=>e.has("driver")||e.has("drivers")},{id:3,name:"Iron fitting",match:e=>e.has("iron")||e.has("irons")},{id:4,name:"Putter fitting",match:e=>e.has("putter")||e.has("putters")},{id:5,name:"Wedge fitting",match:e=>e.has("wedge")||e.has("wedges")}],v=(0,i.EW)(()=>e.selected),m=(0,i.EW)(()=>{var l;return null==(l=e.fitting)?void 0:l.teeTimeRate}),c=(0,i.EW)(()=>
1{if(!e.fitting)return null;let l=new Set(e.fitting.name.toLowerCase().trim().split(/[^a-z0-9]+/).filter(Boolean)),i=a.find(e=>e.match(l));return Object.assign(Object.assign({},e.fitting),{name:(null==i?void 0:i.name)||e.fitting.name})}),p=()=>{!e.disabled&&e.fitting&&l("click",e.fitting)};return(l,a)=>{var f,g,y;return(0,i.uX)(),(0,i.CE)("button",{type:"button",class:(0,i.C4)(["grid md:items-center p-4 border shadow-md rounded-xl transition-all w-full md:w-52 lg:w-56 flex-none text-left md:text-center min-h-24 md:min-h-[168px]","hover:border-black hover:shadow-md md:pt-6 md:pb-2 md:px-4",v.value?"border-black border-2":"border-black/15",e.disabled?"bg-gray-150 text-gray-600 cursor-not-allowed disabled:hover:shadow-md disabled:hover:border-black/15":"cursor-pointer"]),disabled:e.disabled,onClick:p},[(0,i.Lk)("div",r,[(0,i.Lk)("h3",u,(0,i.v_)((null==(f=c.value)?void 0:f.name)||"Fitting Type"),1),e.disabled?((0,i.uX)(),(0,i.CE)("p",o,"Unavailable for this date")):((0,i.uX)(),(0,i.CE)(i.FK,{key:1},[(0,i.Lk)("p",d,(0,i.v_)((null==(g=c.value)?void 0:g.duration)||"Duration"),1),(0,i.Lk)("p",{class:"order-2 text-xl font-semibold text-right md:order-3 md:text-center md:mt-3 font-display md:float-none",innerHTML:(null==(y=c.value)?void 0:y.price)||"Price"},null,8,s)],64))]),m.value?((0,i.uX)(),(0,i.Wv)(t.default,{key:0,class:"self
1-end order-4 mt-1 text-xs text-gray-600","tee-time-rate-model":m.value,rateCopy:"*Rate is",feeCopy:"fee"},null,8,["tee-time-rate-model"])):(0,i.Q3)("v-if",!0)],10,n)}}})}}]);
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.