{"version":3,"sources":["webpack:///./node_modules/vue-loader/lib/runtime/componentNormalizer.js","webpack:///./app/frontend/src/components/status-icon.vue?2b14","webpack:///./app/frontend/src/components/status-icon.vue?44ba","webpack:///./app/frontend/src/components/status-icon.vue?4fcf","webpack:///./app/frontend/src/components/status-icon.vue"],"names":["normalizeComponent","scriptExports","render","staticRenderFns","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","options","_compiled","functional","_scopeId","context","this","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","call","_registeredComponents","add","_ssrRegister","$root","$options","shadowRoot","_injectStyles","originalRender","h","existing","beforeCreate","concat","exports","name","props","status","type","String","Number","required","size","computed","hasSlot","$slots","iconSize","methods","cssClass","icon","variant","component","_vm","_c","_self","staticClass","class","_v","_e","_t"],"mappings":"6FAMe,SAASA,EACtBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAoBIC,EApBAC,EACuB,oBAAlBT,EAA+BA,EAAcS,QAAUT,EAuDhE,GApDIC,IACFQ,EAAQR,OAASA,EACjBQ,EAAQP,gBAAkBA,EAC1BO,EAAQC,WAAY,GAIlBP,IACFM,EAAQE,YAAa,GAInBN,IACFI,EAAQG,SAAW,UAAYP,GAI7BC,GAEFE,EAAO,SAAUK,IAEfA,EACEA,GACCC,KAAKC,QAAUD,KAAKC,OAAOC,YAC3BF,KAAKG,QAAUH,KAAKG,OAAOF,QAAUD,KAAKG,OAAOF,OAAOC,aAEZ,qBAAxBE,sBACrBL,EAAUK,qBAGRd,GACFA,EAAae,KAAKL,KAAMD,GAGtBA,GAAWA,EAAQO,uBACrBP,EAAQO,sBAAsBC,IAAIf,EAEtC,EAGAG,EAAQa,aAAed,GACdJ,IACTI,EAAOD,EACH,WACEH,EAAae,KACXL,MACCL,EAAQE,WAAaG,KAAKG,OAASH,MAAMS,MAAMC,SAASC,WAE7D,EACArB,GAGFI,EACF,GAAIC,EAAQE,WAAY,CAGtBF,EAAQiB,cAAgBlB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__VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n  scriptExports,\n  render,\n  staticRenderFns,\n  functionalTemplate,\n  injectStyles,\n  scopeId,\n  moduleIdentifier /* server only */,\n  shadowMode /* vue-cli only */\n) {\n  // Vue.extend constructor export interop\n  var options =\n    typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n  // render functions\n  if (render) {\n    options.render = render\n    options.staticRenderFns = staticRenderFns\n    options._compiled = true\n  }\n\n  // functional template\n  if (functionalTemplate) {\n    options.functional = true\n  }\n\n  // scopedId\n  if (scopeId) {\n    options._scopeId = 'data-v-' + scopeId\n  }\n\n  var hook\n  if (moduleIdentifier) {\n    // server build\n    hook = function (context) {\n      // 2.3 injection\n      context =\n        context || // cached call\n        (this.$vnode && this.$vnode.ssrContext) || // stateful\n        (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n      // 2.2 with runInNewContext: true\n      if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n        context = __VUE_SSR_CONTEXT__\n      }\n      // inject component styles\n      if (injectStyles) {\n        injectStyles.call(this, context)\n      }\n      // register component module identifier for async chunk inferrence\n      if (context && context._registeredComponents) {\n        context._registeredComponents.add(moduleIdentifier)\n      }\n    }\n    // used by ssr in case component is cached and beforeCreate\n    // never gets called\n    options._ssrRegister = hook\n  } else if (injectStyles) {\n    hook = shadowMode\n      ? function () {\n          injectStyles.call(\n            this,\n            (options.functional ? this.parent : this).$root.$options.shadowRoot\n          )\n        }\n      : injectStyles\n  }\n\n  if (hook) {\n    if (options.functional) {\n      // for template-only hot-reload because in that case the render fn doesn't\n      // go through the normalizer\n      options._injectStyles = hook\n      // register for functional component in vue file\n      var originalRender = options.render\n      options.render = function renderWithStyleInjection(h, context) {\n        hook.call(context)\n        return originalRender(h, context)\n      }\n    } else {\n      // inject component registration as beforeCreate hook\n      var existing = options.beforeCreate\n      options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n    }\n  }\n\n  return {\n    exports: scriptExports,\n    options: options\n  }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',[_c('i',{staticClass:\"fa\",class:_vm.cssClass(_vm.status)}),(_vm.hasSlot)?[_vm._v(\" \")]:_vm._e(),_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/coffee-loader/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./status-icon.vue?vue&type=script&lang=coffee\"; export default mod; export * from \"-!../../../../node_modules/coffee-loader/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./status-icon.vue?vue&type=script&lang=coffee\"","\nexport default\n  name: 'status-icon'\n  props:\n    status:\n      type: [String, Number ]\n      required: false\n    size:\n      type: String\n      required: false\n  computed:\n    hasSlot: -> !!@$slots.default\n    iconSize: ->\n      if @size?\n        ' fa-' + @size\n      else\n        ''\n\n  methods:\n    cssClass: (status) ->\n      @icon(status) + ' ' + @variant(status) + @iconSize\n    icon: (status) ->\n      switch status\n        when 'created', 'initial', 'inactive', 'waiting', 'initialized' then 'fal fa-snooze'\n        when 'active', 'ready', 'true', 'successful', 'accepted', 'processed', 'verified' then 'far fa-check-circle'\n        when 'open' then 'far fa-play-circle'\n        when 'closed' then 'far fa-stop-circle'\n        when 'finished' then 'fal fa-flag-checkered'\n        when 'paid', 'complete' then 'fa-check'\n        when 'unpaid' then 'fal fa-exclamation-circle'\n        when 'error', 'failed' then 'fa-exclamation-triangle'\n        when 'planned', 'frozen' then 'far fa-pause-circle'\n        when 'delivered' then 'fal fa-pause-circle'\n        when 'locked', 'private', 'off' then 'fal fa-lock'\n        when 'refunded', 'reversed' then 'fal fa-undo-alt'\n        when 'partial_refunded' then 'fal fa-undo-alt'\n        when 'transferred' then 'fal fa-exchange'\n        when 'cancelled', 'false', 'rejected' then 'far fa-times-circle'\n        when 'archived' then 'fal fa-archive'\n        when 'male', 'M' then 'fal fa-mars'\n        when 'female', 'F' then 'fal fa-venus'\n        when 'mixed', 'X'  then 'fal fa-venus-mars'\n        when 'unknown'  then 'fal fa-genderless'\n        when 'public', 'on' then 'fal fa-eye'\n        when 'hidden', 'unlisted', 'invisible' then 'fal fa-eye-slash'\n        else\n          'fal fa-question-square'\n    variant: (status) ->\n      switch status\n        when 'active', 'ready', 'open', 'finished', 'refunded', 'public', 'paid', 'complete', 'on', 'true', 'successful', 'accepted', 'processed', 'verified' then 'text-success'\n        when 'unpaid', 'delivered' then 'text-warning'\n        when 'error', 'failed', 'rejected' then 'text-danger'\n        when 'created', 'initial', 'inactive', 'closed', 'transferred', 'unlisted', 'hidden', 'waiting', 'invisible' then 'text-info'\n        when 'cancelled', 'archived', 'planned', 'frozen', 'private', 'off', 'false', 'none' then 'text-secondary'\n        else\n          ''\n\n","import { render, staticRenderFns } from \"./status-icon.vue?vue&type=template&id=47bc8be0&lang=pug\"\nimport script from \"./status-icon.vue?vue&type=script&lang=coffee\"\nexport * from \"./status-icon.vue?vue&type=script&lang=coffee\"\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  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}