{"version":3,"sources":["webpack:///./src/Nav/Toolbars/USAV.vue?f73d","webpack:///src/Nav/Toolbars/USAV.vue","webpack:///./src/Nav/Toolbars/USAV.vue?c534","webpack:///./src/Nav/Toolbars/USAV.vue","webpack:///./src/Nav/Toolbars/USAV.vue?1a69"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","minibar","scopedSlots","_u","on","$event","stopPropagation","$emit","_v","class","shown","showLogo","staticStyle","_s","logoUrl","_e","view","admin","tournament","user","bidPrograms","length","notifications","staticClass","staticRenderFns","data","drawer","signInDialog","computed","headHeight","$vuetify","breakpoint","smAndDown","methods","goToCart","$router","push","onPropChange","x","val","parseInt","components","CartFab","QuickSettingsDialog","BidAssignDialog","ScopedSlotWatcher","UserMenu","component","VAppBar","VAppBarNavIcon","VBtn","VFabTransition","VIcon","VImg","VSpacer"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,YAAY,CAACE,MAAM,CAAC,MAAQ,0BAA0B,IAAM,GAAG,eAAe,GAAG,MAAQ,GAAG,WAAaN,EAAIO,QAAQ,oBAAoBP,EAAIO,QAAQ,sBAAsBP,EAAIO,QAAQ,MAAQP,EAAIO,SAASC,YAAYR,EAAIS,GAAG,EAAGT,EAAIO,QAEuP,OAAM,MAAK,IAAO,CAACH,EAAG,qBAAqB,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,IAAII,GAAG,CAAC,MAAQ,SAASC,GAAiC,OAAzBA,EAAOC,kBAAyBZ,EAAIa,MAAM,oBAAoB,CAACT,EAAG,SAAS,CAACJ,EAAIc,GAAG,kBAAkB,IAAI,GAAId,EAAW,QAAEI,EAAG,cAAc,CAACW,MAAM,CAACC,MAAOhB,EAAIiB,UAAUC,YAAY,CAAC,OAAS,OAAO,aAAa,OAAO,SAAW,YAAYZ,MAAM,CAAC,GAAK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SAAW2B,EAAI,MAI1BG,WAAY,CACVC,QAAJ,EACIC,oBAAJ,EACIC,gBAAJ,EACIC,kBAAJ,OACIC,SAAJ,IC1H6V,I,iICQzVC,EAAY,eACd,EACAtD,EACA+B,GACA,EACA,KACA,WACA,MAIa,aAAAuB,EAAiB,QAWhC,IAAkBA,EAAW,CAACC,UAAA,KAAQC,iBAAA,KAAeC,OAAA,KAAKC,eAAA,OAAeC,QAAA,KAAMC,OAAA,KAAKC,UAAA,Q,yDC9BpF,yBAAqf,EAAG","file":"js/chunk-529ab591.7a6d4c6d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-app-bar',{attrs:{\"color\":\"color1 color1Text--text\",\"app\":\"\",\"clipped-left\":\"\",\"fixed\":\"\",\"prominent\":!_vm.minibar,\"shrink-on-scroll\":!_vm.minibar,\"fade-img-on-scroll\":!_vm.minibar,\"dense\":_vm.minibar},scopedSlots:_vm._u([(!_vm.minibar && false)?{key:\"img\",fn:function(ref){\nvar props = ref.props;\nreturn [_c('v-img',_vm._b({attrs:{\"src\":\"https://vblimages.blob.core.windows.net/images/c6dfde61-9779-431e-9086-9389fac8e6f2.pngx\",\"height\":\"100%\",\"position\":\"center 80%\"}},'v-img',props,false),[_c('scoped-slot-watcher',{attrs:{\"data\":props.height},on:{\"change\":_vm.onPropChange}}),_c('div',{staticClass:\"d-flex align-center justify-center fill-height\",staticStyle:{\"text-shadow\":\"#000 1px 0 3px\"}},[_c('v-img',{attrs:{\"src\":\"https://vblimages.blob.core.windows.net/images/e42f5205-3c6f-45f7-b622-7f0b7f41decd.svg\",\"height\":\"100%\",\"max-width\":\"80%\",\"contain\":\"\"}})],1)],1)]}}:null],null,true)},[_c('v-app-bar-nav-icon',[_c('v-btn',{attrs:{\"color\":\"color1Text\",\"icon\":\"\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('toggle-drawer')}}},[_c('v-icon',[_vm._v(\"far fa-bars\")])],1)],1),(_vm.logoUrl)?_c('router-link',{class:{shown: _vm.showLogo},staticStyle:{\"height\":\"100%\",\"max-height\":\"100%\",\"position\":\"relative\"},attrs:{\"to\":\"/\",\"tag\":\"img\",\"src\":\"https://vblimages.blob.core.windows.net/images/e42f5205-3c6f-45f7-b622-7f0b7f41decd.svg\"}},[_vm._v(_vm._s(_vm.logoUrl))]):_vm._e(),_c('v-spacer'),_c('cart-fab',{attrs:{\"btn-class\":\"mr-2\"}}),_c('v-fab-transition',[(_vm.view.admin && _vm.tournament)?_c('quick-settings-dialog'):_vm._e()],1),_c('v-fab-transition',[(_vm.user && _vm.user.bidPrograms && _vm.user.bidPrograms.length && _vm.tournament)?_c('bid-assign-dialog'):_vm._e()],1),(_vm.user)?[_c('v-fab-transition',[(_vm.notifications && _vm.notifications.length)?_c('notifications'):_vm._e()],1),_c('user-menu')]:[_c('v-btn',{attrs:{\"text\":\"\",\"color\":\"color1Text\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.$emit('login-click')}}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"fas fa-unlock-alt\")]),_vm._v(\" Sign In \")],1)]],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n  <v-app-bar\r\n    color=\"color1 color1Text--text\"\r\n    app\r\n    clipped-left\r\n    fixed\r\n    :prominent=\"!minibar\"\r\n    :shrink-on-scroll=\"!minibar\"\r\n    :fade-img-on-scroll=\"!minibar\"\r\n    :dense=\"minibar\"\r\n  >\r\n    <v-app-bar-nav-icon>\r\n      <v-btn color=\"color1Text\" icon @click.stop=\"$emit('toggle-drawer')\">\r\n        <v-icon>far fa-bars</v-icon>\r\n      </v-btn>\r\n    </v-app-bar-nav-icon>\r\n    <router-link\r\n      v-if=\"logoUrl\"\r\n      to=\"/\"\r\n      tag=\"img\"\r\n      :class=\"{shown: showLogo}\"\r\n      src=\"https://vblimages.blob.core.windows.net/images/e42f5205-3c6f-45f7-b622-7f0b7f41decd.svg\"\r\n      style=\"height: 100%; max-height: 100%; position: relative\"\r\n    >{{logoUrl}}</router-link>\r\n    <template v-slot:img=\"{ props }\" v-if=\"!minibar && false\">\r\n      <v-img\r\n        v-bind=\"props\"\r\n        src=\"https://vblimages.blob.core.windows.net/images/c6dfde61-9779-431e-9086-9389fac8e6f2.pngx\"\r\n        height=\"100%\"\r\n        position=\"center 80%\"\r\n      >\r\n        <scoped-slot-watcher :data=\"props.height\" @change=\"onPropChange\"></scoped-slot-watcher>\r\n        <div class=\"d-flex align-center justify-center fill-height\" style=\"text-shadow: #000 1px 0 3px;\">\r\n          <v-img\r\n            src=\"https://vblimages.blob.core.windows.net/images/e42f5205-3c6f-45f7-b622-7f0b7f41decd.svg\"\r\n            height=\"100%\"\r\n            max-width=\"80%\"\r\n            contain\r\n          >\r\n          </v-img>\r\n        </div>\r\n      </v-img>\r\n    </template>\r\n\r\n    <v-spacer></v-spacer>\r\n    <!-- CART FAB  -->\r\n    <cart-fab btn-class=\"mr-2\"></cart-fab>\r\n    <!-- TOURNAMENT QUICK SETTINGS  -->\r\n    <v-fab-transition>\r\n      <quick-settings-dialog v-if=\"view.admin && tournament\"></quick-settings-dialog>\r\n    </v-fab-transition>\r\n    <v-fab-transition>\r\n      <bid-assign-dialog v-if=\"user && user.bidPrograms && user.bidPrograms.length && tournament\"></bid-assign-dialog>\r\n    </v-fab-transition>\r\n    <!-- USER -->\r\n    <template v-if=\"user\">\r\n      <!-- NOTIFICATIONS -->\r\n      <v-fab-transition>\r\n        <notifications v-if=\"notifications && notifications.length\"/>\r\n      </v-fab-transition>\r\n      <!-- USER NAME  -->\r\n      <user-menu></user-menu>\r\n    </template>\r\n    <template v-else>\r\n      <v-btn text color=color1Text @click.stop=\"$emit('login-click')\">\r\n        <v-icon class=\"mr-2\">fas fa-unlock-alt</v-icon>\r\n        Sign In\r\n      </v-btn>\r\n    </template>\r\n  </v-app-bar>\r\n</template>\r\n\r\n<script>\r\nimport ScopedSlotWatcher from '@/components/Utils/ScopedSlotWatcher'\r\nimport { mapGetters } from 'vuex'\r\nconst QuickSettingsDialog = () => import('@/components/Tournament/QuickSettings/Dialog')\r\nconst BidAssignDialog = () => import('@/components/Tournament/Bids/BidAssignDialog')\r\nconst CartFab = () => import('@/components/Utils/CartFab')\r\nconst UserMenu = () => import('@/Nav/Toolbars/UserMenu')\r\n\r\nexport default {\r\n  data () {\r\n    return {\r\n      drawer: null,\r\n      signInDialog: false,\r\n      showLogo: false\r\n    }\r\n  },\r\n  computed: {\r\n    ...mapGetters([\r\n      'user',\r\n      'cart',\r\n      'organizationName',\r\n      'logoUrl',\r\n      'tournament',\r\n      'view'\r\n    ]),\r\n    minibar () {\r\n      return [\r\n        'tournament-players'\r\n      ].includes(this.$route.name) && this.$vuetify.breakpoint.xsOnly\r\n    },\r\n    headHeight () {\r\n      return this.$vuetify.breakpoint.smAndDown ? 56 : 112\r\n    }\r\n  },\r\n  methods: {\r\n    goToCart () {\r\n      this.$router.push({ name: 'checkout' })\r\n    },\r\n    onPropChange (val) {\r\n      var x = val && val && parseInt(val)\r\n      if (x) {\r\n        this.showLogo = x < 61\r\n      }\r\n    }\r\n  },\r\n  components: {\r\n    CartFab,\r\n    QuickSettingsDialog,\r\n    BidAssignDialog,\r\n    ScopedSlotWatcher,\r\n    UserMenu\r\n  }\r\n}\r\n</script>\r\n<style scoped>\r\n.noW {\r\n  padding: 0;\r\n  min-width: 0;\r\n}\r\n.logo {\r\n  display: none !important;\r\n  height: 48px;\r\n}\r\n.logo.shown {\r\n  display: flex !important;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./USAV.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./USAV.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./USAV.vue?vue&type=template&id=5fbff836&scoped=true&\"\nimport script from \"./USAV.vue?vue&type=script&lang=js&\"\nexport * from \"./USAV.vue?vue&type=script&lang=js&\"\nimport style0 from \"./USAV.vue?vue&type=style&index=0&id=5fbff836&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"5fbff836\",\n  null\n  \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAppBar } from 'vuetify/lib/components/VAppBar';\nimport { VAppBarNavIcon } from 'vuetify/lib/components/VAppBar';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VFabTransition } from 'vuetify/lib/components/transitions';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VAppBar,VAppBarNavIcon,VBtn,VFabTransition,VIcon,VImg,VSpacer})\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./USAV.vue?vue&type=style&index=0&id=5fbff836&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./USAV.vue?vue&type=style&index=0&id=5fbff836&scoped=true&lang=css&\""],"sourceRoot":""}