-{ defer, extend, before } = require 'underscore'
+{ defer, extend, before, isEqual } = require 'underscore'
 Backbone = require 'backbone'
 { AUCTION, CURRENT_USER } = require('sharify').data
 Form = require '../../../../components/form/index.coffee'

    'change .js-artwork-auction-max-bid': 'setMaxBid'

  initialize: ({ @data }) -> #
    setInterval before(10, @updateBidLabel), 1000

  openBuyersPremium: (e) ->
    e.preventDefault()

    @$('.js-artwork-auction-bid-button')
      .text "Bid #{$(e.target).find('option:selected').attr 'data-display'}"

  updateBidLabel: (remaining) ->
    metaphysics
      query: """
        query artwork($id: String!, $sale_id: String!) {
