1import{c as i,d as e,e as s,a as n,I as m,M as c,L as h,N as x}from"./C4w5uusx.js";import{_ as y}from"./DUMaJtp_.js";import{_}from"./CfLoxJM9.js";import"./aZBBtZZc.js";import"./CHMGjU82.js";import"./D9COXpFO.js";import"./BA4UPN2C.js";import"./BhzweTYa.js";import"./F6mnmLIJ.js";import"./ZhWAdK_X.js";import"./Dj1I241F.js";import"./CN9K5sb7.js";import"./C6mZJc4A.js";const g={class:"quote",style:{display:"flex","flex-direction":"column",padding:"48px",gap:"14px"}},f={key:0,style:{display:"flex","flex-direction":"row","min-height":"600px",padding:"0px 48px"}},k={style:{padding:"24px",flex:"1"}},w={class:"quote__container_summary",style:{padding:"24px"}},v={style:{background:"white",display:"flex","flex-direction":"column",width:"340px","border-radius":"12px",padding:"16px"}},C={style:{display:"flex","flex-direction":"row",gap:"6px","justify-content":"center","margin-top":"20px"}};function S(a,t,o,b,l,r){const p=y,d=_;return n(),i("div",g,[(n(),i("div",f,[e("div",k,[s(p,{propItemID:l.itemID,style:{"max-width":"600px",margin:"0px auto"}},null,8,["propItemID"])]),e("div",w,[e("div",v,[t[4]||(t[4]=e("h2",null,"Cart Summary",-1)),t[5]||(t[5]=e("div",{style:{background:"black",height:"1px",opacity:"0.1",margin:"10px 0px"}},null,-1)),s(d),e("div",C,[e("div",{class:"addQuoteButton",onClick:t[0]||(t[0]=u=>r.checkoutWithQuote())},[...t[2]||(t[2]=[e("h1",null,"Email Quote",-1)])]),e("div",{class:"addCartButton",onClick:t[1]||(t[1]=u=>r.checkoutWithShopify())},[...t[3]||(t[3]=[e("h1",null,"Buy Now",-1)])])])])])]))])}const I={data(){return{generalStore:null,itemID:null,browserQuery:x()}},created(){this.generalStore=h()},async mounted(){this.generalStore.hideCheckoutCart(),this.generalStore.updateCartAd("subcriptions"),await c(),this.browserQuery.itemID!=null&&(this.itemID=this.browserQuery.itemID)},unmounted(){},beforeRouteLeave(a,t,o){this.generalStore.showCheckoutCart(),o()},methods:{cartPriceTotalString(){return"$"+this.generalStore.cart_purchaseEstimateTotal().toFixed(2)},checkoutWithShopify(){this.generalStore.hideReplacmentParts(),this.generalStore.createCartWithProducts()},checkoutWithQuote(){this.$router.push("/quote")}}},V=m(I,[["render",S],["__scopeId","data-v-d820542e"]]);export{V 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.