PageSourceSearch

https://www.ragoarts.com/build/assets/RetractBidModal-7594fcc9.js

js ragoarts.com collected 2026-09-24 21:16:35 UTC 4,653 bytes, 1 lines download raw bytes

1import{j as i,a as l,y as _,n as m}from"./app-210f66d7.js";/* empty css             */const c={props:{modalProps:{}},computed:{...i("item",["selectedItem"]),...i("user",["selected_registration","selected_bid"]),...i("auction",["selectedSession"]),item(){return this.selectedItem},session(){return this.selectedSession},bid(){return this.selected_bid},computedBackupBidEditing(){let s=this.bid.bid_type==="phone"?"bid_to_amount":"bid_amount",e=this.bid[s]||0,t=parseInt(e||0)||"none";return t!=="none"?this.formatNumber(t):t}},methods:{...l("modals",["hideModal","closeModalContainer","showEditBidModal"]),...l("user",["deleteUserBidOnServer"]),urlTo(s){return _(s)},deleteBid(){this.deleteUserBidOnServer(this.bid),this.closeModalContainer()},formatNumber(s){return"".concat(s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,","))},hasBackupBid(s){return s.bid_to_amount&&parseInt(s.bid_to_amount)!==0&&s.bid_to_amount.length},formatEstimate(s){return"$".concat(this.formatNumber(s.estimate_low),"–").concat(this.formatNumber(s.estimate_high))},formatBackupBid(s){return s?this.formatNumber(s):"none"}},mounted(){},beforeDestroy(){}};var u=function(){var r,a,n,d,o;var e=this,t=e._self._c;return t("div",[e.bid?t("div",[t("h2",{staticClass:"flex items-center"},[t("svg",{staticClass:"mr-4",attrs:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32ZM17.78 14.04C17.213 15.258 16.625 16.707 16.478 18.954H16.226C16.079 16.707 15.491 15.258 14.924 14.04C14.8684 13.9161 14.8128 13.7944 14.758 13.6745C14.3575 12.7978 14 12.0153 14 11.184C14 9.882 15.008 9 16.352 9C17.696 9 18.704 9.882 18.704 11.184C18.704 12.0153 18.3465 12.7978 17.946 13.6745C17.8912 13.7944 17.8356 13.9161 17.78 14.04ZM18.41 21.831C18.41 22.965 17.528 23.847 16.352 23.847C15.176 23.847 14.294 22.965 14.294 21.831C14.294 20.697 15.176 19.815 16.352 19.815C17.528 19.815 18.41 20.697 18.41 21.831Z",fill:"#1F1F1F"}})]),e._v(" "),t("span",{staticClass:"mr-20"},[e._v("Are you sure you want to retract your bid?")])]),e._v(" "),e.bid.bid_type==="absentee"?t("div",{staticClass:"modal-notice-banner flex w-full m-auto mb-10"},[t("p",{staticClass:"text-red-500"},[e._v("\n        We understand that sometimes bids need to be adjusted, but retractions are disruptive. We reserve the right to\n        suspend bidders that frequently retract bids.\n      ")])]):e._e(),e._v(" "),t("div",{staticClass:"flex bid-item"},[t("div",{staticClass:"flex-none image mr-10"},[t("img",{attrs:{src:e.urlTo(e.item.primary_index_image)}})]),e._v(" "),t("div",{staticClass:"flex flex-row bid-item-details"},[t("div",{staticClass:"flex pr-8 md:w-2/3"},[t("div",{staticClass:"flex flex-col"},[t("h2",[e._v(e._s(e.item.lot_number))]),e._v(" "),t("p",[t("strong",{staticClass:"artist_name",domProps:{innerHTML:e._s(e.item.artist_name)}})]),e._v(" "),t("p",{staticClass:"title",domProps:{innerHTML:e._s(e.item.name)}}),e._v(" "),e.item.estimate_formatted?t("p",{domProps:{innerHTML:e._s("".concat(e.item.estimate_formatted))}}):e._e(),e._v(" "),t("item-bid-activity-status",{attrs:{session_fd_key:e.session.fd_key,item_fd_key:e.item.fd_key,context:"retract-bid-modal"}})],1)]),e._v(" "),t("div",{class:e.bid.bid_type==="phone"?"flex flex-col bid-amount my-auto w-2/3":"flex-1 flex-col bid-amount my-auto"},[e.bid.bid_type==="phone"?t("span",[t("strong",[e._v("Phone Bid")]),e._v(" "),t("p",[e._v("primary: "+e._s((r=e.selected_registration)==null?void 0:r.dos_phone_1))]),e._v(" "),t("p",{domProps:{innerHTML:e._s("alternate #1: ".concat((n=(a=e.selected_registration)==null?void 0:a.dos_phone_2)!=null?n:"none"))}}),e._v(" "),t("p",{domProps:{innerHTML:e._s("alternate #2: ".concat((o=(d=e.selected_registration)==null?void 0:d.dos_phone_3)!=null?o:"none"))}}),e._v(" "),e.computedBackupBidEditing!=="none"?t("p",[e._v("backup bid: "),t("span",{staticStyle:{"font-weight":"500"}}
1,[e._v(e._s(e.computedBackupBidEditing))])]):e._e()]):e._e(),e._v(" "),e.bid.bid_type==="absentee"?t("span",[t("item-bid-activity-status",{attrs:{session_fd_key:e.session.fd_key,item_fd_key:e.item.fd_key,context:"bid-modal-large-callout",show_premium:!1}})],1):e._e()])])]),e._v(" "),t("div",{staticClass:"flex w-full m-auto mt-12 justify-center"},[t("button",{staticClass:"!w-1/2 !min-w-0 mr-3 w-btn w-btn-grey-outline btn-retract-bid",on:{click:e.deleteBid}},[e._v("retract bid\n      ")])])]):t("div",[t("spinner")],1)])},p=[],b=m(c,u,p,!1,null,"1e0eb98b",null,null);const h=b.exports;export{h 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.