exports.ids = [47,2,16];
exports.modules = {

/***/ 188:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(190);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(6).default
module.exports.__inject__ = function (context) {
  add("51c0b9ba", content, true, context)
};

/***/ }),

/***/ 189:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(188);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Container_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 190:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(5);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".container{width:100%;padding-left:2rem;padding-right:2rem;margin-left:auto;margin-right:auto;max-width:1000px}@media(min-width:901px){.container{max-width:901px}}@media(min-width:1201px){.container{max-width:1201px}}@media(min-width:1701px){.container{max-width:1400px}}.container--narrow{max-width:1000px}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 192:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/Container.vue?vue&type=template&id=cb69aaa6&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classList},[_vm._t("default")],2)}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/Container.vue?vue&type=template&id=cb69aaa6&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Starlane/Workspaces/vindigo/node_modules/ts-loader??ref--13-1!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/Container.vue?vue&type=script&lang=ts&

/* harmony default export */ var Containervue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'Container',
  props: {
    narrow: Boolean
  },
  computed: {
    classList() {
      return {
        'container': true,
        'container--narrow': this.narrow
      };
    }

  }
}));
// CONCATENATED MODULE: ./components/Container.vue?vue&type=script&lang=ts&
 /* harmony default export */ var components_Containervue_type_script_lang_ts_ = (Containervue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/Container.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(189)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  components_Containervue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "b75d73a6"
  
)

/* harmony default export */ var Container = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 261:
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__(314);
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add CSS to SSR context
var add = __webpack_require__(6).default
module.exports.__inject__ = function (context) {
  add("0c68f5f1", content, true, context)
};

/***/ }),

/***/ 277:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/project/storage/EmptyGraphic.vue?vue&type=template&id=5933080a&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{"color":"var(--accent-color)"},attrs:{"height":"11rem","viewBox":"0 0 822 580"}},[_vm._ssrNode("<path d=\"M948.76455,379.1713c0,118.6-76.18,219.4-182.28,256.14a272.75793,272.75793,0,0,1-132.97,11.26q-6.345-1.035-12.6-2.38-8.47494-1.79993-16.75-4.14c-113.91-32.06-197.4-136.72-197.4-260.88,0-149.67,121.33-271,271-271S948.76455,229.50124,948.76455,379.1713Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#e6e6e6\"></path> <path d=\"M508.0278,462.81409a2.0429,2.0429,0,0,0-.83917,2.76159L609.07742,656.41513a2.04291,2.04291,0,0,0,2.7616.83917L755.8688,580.35709a2.04291,2.04291,0,0,0,.83917-2.7616L654.81912,386.756a2.04292,2.04292,0,0,0-2.7616-.83917Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#3f3d56\"></path> <path d=\"M521.4158,468.39066l93.23865,174.63452L742.4808,574.78055,649.24215,400.144Zm-8.09979,4.324.01794-.009-.02.01Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M553.64547,487.59c-1.98584,1.06024-2.40863,4.15533-.944,6.89846s4.27154,4.11387,6.25744,3.05359l93.61933-49.98318c1.98583-1.06024,2.40863-4.15534.944-6.89847s-4.27161-4.11383-6.25745-3.05359Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M565.18,509.19446c-1.98584,1.06024-2.40863,4.1553-.944,6.89847s4.27155,4.11383,6.25745,3.05358l93.61932-49.98318c1.98584-1.06024,2.40863-4.15533.944-6.89847s-4.2716-4.11386-6.25744-3.05359Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M576.71463,530.79892c-1.98584,1.06024-2.40863,4.15533-.944,6.89844s4.27154,4.11383,6.25744,3.05359l93.61933-49.98319c1.98584-1.06024,2.40863-4.15533.944-6.89847s-4.27161-4.11383-6.25745-3.05359Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M588.24923,552.40335c-1.98584,1.06024-2.40863,4.15534-.944,6.89844s4.27155,4.11383,6.25745,3.05359l93.61926-49.9831c1.98584-1.06024,2.40863-4.15533.944-6.89846s-4.2716-4.11383-6.25744-3.05359Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M599.78378,574.00784c-1.98584,1.06024-2.40863,4.15534-.944,6.89844s4.27155,4.11383,6.25745,3.05359l93.61932-49.98315c1.98584-1.06025,2.40863-4.15534.944-6.89844s-4.2716-4.11383-6.25744-3.05359Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <polygon points=\"397.312 272.193 482.142 277.373 505.899 206.525 431.494 190.804 397.312 272.193\" fill=\"#2f2e41\"></polygon> <circle cx=\"458.4913\" cy=\"220.35056\" r=\"33.92727\" fill=\"#ffb8b8\"></circle> <path d=\"M766.26455,632.6713l.22,2.64a272.75821,272.75821,0,0,1-132.97,11.26l-12.6-2.38,11.99-26.59,7.86-17.43-2.83-60.3-.3-6.24-.37-7.96,5.12-.03,36.4-.22,34.69-.22,5.29-.03C751.93454,565.97128,779.30453,599.13126,766.26455,632.6713Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#2f2e41\"></path> <path d=\"M718.26455,524.6713l-81,9-3-56c-9.50585-24.24439-3.23083-45.88407,16.49769-65.30332l4.01074-15.87582a23.504,23.504,0,0,1,17.36151-17.112h0c13.25891-7.60428,28.278-11.22876,45.13-10.7088h0A33.67559,33.67559,0,0,1,738.589,402.658C735.10348,446.66757,728.84683,487.86447,718.26455,524.6713Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M653.4772,288.437s-17.54272,6.40186-17.99329,29.67661a42.021,42.021,0,0,0,1.55335,11.58923c1.13739,4.27759,2.05005,13.55884-5.59949,25.931a239.88188,239.88188,0,0,0-13.53314,24.91406h0l19.75293,1.906,3.2663-32.74487A162.534,162.534,0,0,1,652.53518,303.542l.12769-.30758s9.06207,15.75033,26.28522,15.26516l-6.3244-5.97784s21.572,8.12366,33.30212,9.7547a7.42868,7.42868,0,0,1,4.47388,12.35312q-.10327.113-.21082.2268c-7.1734,7.58927-21.451,25.22828-12.45819,38.51816s1.71539,17.18848,1.71539,17.18848l13.32453-7.76254,6.04718-3.864.13861,4.9209,31.88189-4.5917s8.57691-1.47281-10.46557-21.86682c0,0-5.10169-7.98426-3.16705-15.049a35.3463,35.3463,0,0,0,.87762-16.56161C733.29953,302.842,715.7883,257.44736,653.4772,288.437Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#2f2e41\"></path> <ellipse cx=\"457.113\" cy=\"674.15746\" rx=\"122\" ry=\"7\" fill=\"#e6e6e6\"></ellipse> <path d=\"M221.39413,430.704a1.001,1.001,0,0,0-.70884,1.22376l27.29014,102.42678a1.001,1.001,0,0,0,1.22374.70881l77.30324-20.59632a1.001,1.001,0,0,0,.70883-1.22375l-27.2901-102.42676a1.001,1.001,0,0,0-1.22375-.70883Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#f2f2f2\"></path> <path d=\"M240.38952,447.62c-1.06584.284-1.61326,1.71335-1.221,3.18564s1.57831,2.43979,2.64415,2.15583l50.2471-13.38764c1.06583-.284,1.61328-1.71335,1.221-3.18561s-1.57831-2.43979-2.64417-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M243.479,459.21545c-1.06584.284-1.61327,1.71335-1.221,3.18561s1.57831,2.43979,2.64415,2.15582l50.2471-13.38763c1.06582-.284,1.61328-1.71335,1.221-3.18564s-1.57831-2.43979-2.64417-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M246.56843,470.81094c-1.06584.284-1.61326,1.71335-1.221,3.18564s1.57831,2.43979,2.64415,2.15582l50.24712-13.3876c1.06582-.284,1.61328-1.71335,1.221-3.18564s-1.5783-2.43979-2.64416-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M249.65788,482.40643c-1.06584.284-1.61327,1.71335-1.221,3.18564s1.57831,2.43979,2.64415,2.15582l50.24711-13.38763c1.06583-.284,1.61328-1.71335,1.221-3.18564s-1.57831-2.43979-2.64416-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M252.74733,494.00192c-1.06584.284-1.61327,1.71335-1.221,3.18561s1.57831,2.43979,2.64415,2.15582l50.24712-13.3876c1.06583-.284,1.61328-1.71335,1.221-3.18564s-1.57831-2.43979-2.64417-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M255.83677,505.59738c-1.06584.284-1.61326,1.71335-1.221,3.18564s1.57831,2.43979,2.64417,2.15582l50.2471-13.38763c1.06582-.284,1.61328-1.71335,1.221-3.18561s-1.57831-2.43979-2.64417-2.15582Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M418.94809,791.597c0,.12774.44824.23168,1,.23168h106c.55175,0,1-.104,1-.23168V773.06039c0-.12774-.44825-.23169-1-.23169h-106c-.55176,0-1,.104-1,.23169Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#f2f2f2\"></path> <path d=\"M440.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M452.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M464.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M476.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M488.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M500.1842,788.35318c0,.25555,1.24024.46344,2.76389.46344s2.76388-.20782,2.76388-.46344V776.30435c0-.25555-1.24023-.46344-2.76388-.46344s-2.76389.20783-2.76389.46344Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M224.22973,356.78873a1.001,1.001,0,0,0-.41116,1.35312L273.742,451.64932a1.001,1.001,0,0,0,1.35312.41117l70.57169-37.67807a1.001,1.001,0,0,0,.41116-1.35312l-49.92346-93.50748a1.001,1.001,0,0,0-1.35312-.41116Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#e6e6e6\"></path> <path d=\"M230.78959,359.52112l45.68505,85.56738L339.107,411.65,293.422,326.0817Zm-3.96875,2.11865.00879-.00439-.00976.00488Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M246.58148,368.92844c-.973.5195-1.18018,2.036-.46257,3.38009s2.093,2.01569,3.066,1.49619L295.05652,349.314c.973-.5195,1.18017-2.036.46255-3.3801s-2.093-2.01569-3.066-1.49619Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M252.2332,379.51419c-.973.5195-1.18018,2.036-.46257,3.3801s2.093,2.01568,3.066,1.49618l45.8716-24.49075c.973-.5195,1.18017-2.036.46255-3.3801s-2.093-2.01568-3.066-1.49618Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M257.88492,390.1c-.973.5195-1.18018,2.036-.46256,3.38009s2.093,2.01569,3.066,1.49619L306.36,370.4855c.973-.5195,1.18018-2.036.46256-3.38009s-2.093-2.01569-3.066-1.49619Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M263.53662,400.68567c-.973.5195-1.18018,2.036-.46256,3.3801s2.093,2.01568,3.066,1.49618l45.87159-24.49075c.973-.5195,1.18017-2.036.46255-3.3801s-2.093-2.01568-3.066-1.49618Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M269.18832,411.27145c-.973.5195-1.18017,2.036-.46255,3.3801s2.093,2.01569,3.066,1.49619L317.66339,391.657c.973-.5195,1.18014-2.036.46255-3.38009s-2.093-2.01569-3.066-1.49619Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M274.84,421.85718c-.973.5195-1.18017,2.036-.46255,3.38009s2.093,2.01569,3.066,1.49619l45.87161-24.49075c.973-.5195,1.18018-2.036.46256-3.3801s-2.093-2.01569-3.066-1.49619Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M909.98428,595.74619a1.001,1.001,0,0,0-1.36969.35217L854.687,687.35519a1.001,1.001,0,0,0,.35217,1.36969L923.91226,729.425a1.001,1.001,0,0,0,1.36969-.35218L979.20956,637.816a1.001,1.001,0,0,0-.35217-1.36969Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#e6e6e6\"></path> <path d=\"M911.06021,602.77048l-49.348,83.50854,61.12414,36.12171,49.34882-83.5091Zm-3.873-2.289.0083.00524-.00927-.00579Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#fff\"></path> <path d=\"M911.23318,621.15115c-.94958-.56115-2.35278.05024-3.12793,1.362s-.63391,2.83582.31568,3.397l44.76751,26.45507c.94959.56116,2.35279-.05023,3.128-1.362s.63392-2.83581-.31567-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M905.1282,631.48215c-.94958-.56116-2.35278.05023-3.128,1.362s-.63391,2.83581.31567,3.397L947.0834,662.6962c.94959.56115,2.35279-.05023,3.128-1.362s.63391-2.83582-.31567-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M899.02316,641.81314c-.94958-.56116-2.35278.05023-3.128,1.362s-.63391,2.83582.31567,3.397l44.76752,26.45508c.94959.56116,2.35278-.05023,3.128-1.362s.63391-2.83581-.31567-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M892.91818,652.144c-.94965-.56115-2.35278.05023-3.128,1.362s-.63391,2.83582.31567,3.397l44.76752,26.455c.94965.56116,2.35278-.05023,3.128-1.362s.63391-2.83581-.31567-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M886.81314,662.475c-.94959-.56116-2.35278.05023-3.128,1.362s-.63391,2.83581.31567,3.397l44.76752,26.455c.94958.56115,2.35278-.05024,3.128-1.362s.63391-2.83582-.31567-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M880.7081,672.80606c-.94959-.56116-2.35279.05023-3.128,1.362s-.63391,2.83582.31567,3.397l44.76752,26.455c.94958.56116,2.35278-.05023,3.128-1.362s.63391-2.83581-.31568-3.397Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path> <path d=\"M661.26438,429.67135l-1.03955,6.44-10.96045,67.56-6.87988,21.97-2.41992,7.73-2.02979,6.5-24.67041,78.8-6.76855,15.90265a18.99473,18.99473,0,1,0,22.21338,7.01306l48.28564-112.32569,1.78955-3.84,5.48-11.75,10.3501-78.09.6499-4.91Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"#ffb8b8\"></path> <path d=\"M701.26455,437.6713c-15.71569-5.6474-30.79174-6.24772-45,0l4.63746-40.19516a19.17077,19.17077,0,0,1,18.15216-19.7938h0A19.17079,19.17079,0,0,1,699.20608,395.819l.00336.06595Z\" transform=\"translate(-220.65155 -108.1713)\" fill=\"currentColor\"></path>")])}
var staticRenderFns = []


// CONCATENATED MODULE: ./components/project/storage/EmptyGraphic.vue?vue&type=template&id=5933080a&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Starlane/Workspaces/vindigo/node_modules/ts-loader??ref--13-1!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./components/project/storage/EmptyGraphic.vue?vue&type=script&lang=ts&

/* harmony default export */ var EmptyGraphicvue_type_script_lang_ts_ = (external_vue_default.a.extend({
  name: 'EmptyGraphic'
}));
// CONCATENATED MODULE: ./components/project/storage/EmptyGraphic.vue?vue&type=script&lang=ts&
 /* harmony default export */ var storage_EmptyGraphicvue_type_script_lang_ts_ = (EmptyGraphicvue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./components/project/storage/EmptyGraphic.vue





/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  storage_EmptyGraphicvue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  null,
  null,
  "ab5bc6fa"
  
)

/* harmony default export */ var EmptyGraphic = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ 313:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_storage_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(261);
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_storage_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_storage_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_storage_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_7_oneOf_1_3_node_modules_sass_resources_loader_lib_loader_js_ref_7_oneOf_1_4_node_modules_nuxt_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_storage_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));


/***/ }),

/***/ 314:
/***/ (function(module, exports, __webpack_require__) {

// Imports
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(5);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(false);
// Module
___CSS_LOADER_EXPORT___.push([module.i, ".project-storage__content{margin-top:4rem;padding-bottom:2rem}.project-storage__list{box-shadow:0 0 0 0 transparent,0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);border-radius:1.5rem;margin-top:.5rem;background-color:var(--color-shade-0);min-height:250px}.project-storage__header{padding:1rem;display:flex;grid-gap:1.25rem;gap:1.25rem}.project-storage__header .simple-subtitle{padding-bottom:0}.project-storage__header .w-select__selection-wrap,.project-storage__header input{padding-right:0;padding-left:0}.project-storage__filter{margin-top:.875rem;font-weight:500;cursor:pointer}.project-storage__search{max-width:20rem}.project-storage .w-table__cell{height:4.5rem}.project-storage .w-table__cell:not(:first-child){white-space:nowrap;width:0}.project-storage .w-table__cell:last-child{padding-left:2rem}.project-storage__preview{border-radius:.5rem;margin-right:1rem;color:grey;display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;background-color:var(--color-shade-2);background-size:cover;background-position:50%}.project-storage__name{font-weight:500;cursor:pointer}.project-storage__name:hover{text-decoration:underline}.project-storage__size{font-size:.875rem;line-height:1.25rem;color:grey}.project-storage__task-id{font-weight:700;font-size:1.125rem;line-height:1.5rem;color:var(--accent-color);cursor:pointer}.project-storage__task-missing{color:grey}.project-storage__pagination{padding:1rem}", ""]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___;


/***/ }),

/***/ 343:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/project/_pid/storage.vue?vue&type=template&id=007276ca&
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"project-storage"},[(!_vm.files.length)?_vm._ssrNode("<div class=\"project-view-empty\">","</div>",[_c('ProjectStorageEmptyGraphic'),_vm._ssrNode(" <h2>\n\t\t\tBrowse your files\n\t\t</h2> <p>\n\t\t\tUpload and share important files and attachments with project members\n\t\t</p> "),_c('w-button',{attrs:{"bg-color":"primary","color":"white","loading":_vm.isUploading},on:{"click":_vm.requestUpload}},[_vm._v("\n\t\t\tUpload file\n\t\t\t"),_c('w-icon',{staticClass:"right"},[_vm._v("\n\t\t\t\tmdi mdi-upload\n\t\t\t")])],1)],2):_c('Container',{staticClass:"project-storage__content"},[_c('section',[_c('VindiTitle',{attrs:{"icon":"mdi mdi-clipboard-check-outline"}},[_vm._v("\n\t\t\t\tFile storage\n\t\t\t")]),_vm._v(" "),_c('div',{staticClass:"project-storage__list"},[_c('div',{staticClass:"project-storage__header"},[_c('div',[_c('div',{staticClass:"simple-subtitle"},[_vm._v("\n\t\t\t\t\t\t\tSorting\n\t\t\t\t\t\t")]),_vm._v(" "),_c('w-select',{attrs:{"items":_vm.sortMethods,"bg-color":"transparent"},model:{value:(_vm.sortMethod),callback:function ($$v) {_vm.sortMethod=$$v},expression:"sortMethod"}})],1),_vm._v(" "),_c('w-divider',{attrs:{"vertical":""}}),_vm._v(" "),_c('VindiSpacer'),_vm._v(" "),_c('w-input',{staticClass:"project-storage__search",attrs:{"inner-icon-left":"mdi mdi-magnify","placeholder":"Search task...","bg-color":"shade-3","autocomplete":"off","color":"#eee","name":"search"},model:{value:(_vm.fileSearch),callback:function ($$v) {_vm.fileSearch=$$v},expression:"fileSearch"}}),_vm._v(" "),_c('w-button',{attrs:{"bg-color":"primary","color":"white","loading":_vm.isUploading},on:{"click":_vm.requestUpload}},[_vm._v("\n\t\t\t\t\t\tUpload file\n\t\t\t\t\t\t"),_c('w-icon',{staticClass:"right"},[_vm._v("\n\t\t\t\t\t\t\tmdi mdi-upload\n\t\t\t\t\t\t")])],1)],1),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('w-table',{attrs:{"headers":_vm.headers,"items":_vm.fileList,"no-headers":""},scopedSlots:_vm._u([{key:"item-cell.name",fn:function(ref){
var item = ref.item;
return [_c('w-flex',{attrs:{"align-center":""}},[_c('div',{staticClass:"project-storage__preview",style:(_vm.computePreviewStyle(item))},[_c('w-icon',{attrs:{"xl":""}},[_vm._v("\n\t\t\t\t\t\t\t\t\tmdi mdi-file-document\n\t\t\t\t\t\t\t\t")])],1),_vm._v(" "),_c('div',[_c('div',{staticClass:"project-storage__name",attrs:{"title":("Open " + (item.name))},on:{"click":function($event){return _vm.openAttachment(item)}}},[_vm._v("\n\t\t\t\t\t\t\t\t\t"+_vm._s(item.name)+"\n\t\t\t\t\t\t\t\t")]),_vm._v(" "),_c('div',{staticClass:"project-storage__size"},[_vm._v("\n\t\t\t\t\t\t\t\t\tUploaded "+_vm._s(_vm.formatDate(item))+" by "+_vm._s(item.uploadedBy.fullName)+" • "+_vm._s(item.size)+"\n\t\t\t\t\t\t\t\t")])])])]}},{key:"item-cell.task",fn:function(ref){
var item = ref.item;
return [(item.task)?[_vm._v("\n\t\t\t\t\t\t\tAttached to \n\t\t\t\t\t\t\t"),_c('span',{staticClass:"project-storage__task-id",on:{"click":function($event){return _vm.openTask(item.task)}}},[_vm._v("\n\t\t\t\t\t\t\t\t#"+_vm._s(item.task.localId)+"\n\t\t\t\t\t\t\t")])]:_c('div',{staticClass:"project-storage__task-missing"},[_vm._v("\n\t\t\t\t\t\t\tNo task attached\n\t\t\t\t\t\t")])]}},{key:"item-cell.options",fn:function(ref){
var item = ref.item;
return [_c('w-button',{attrs:{"icon":"mdi mdi-download","color":"primary","text":"","xl":""},on:{"click":function($event){return _vm.requestDownload(item)}}}),_vm._v(" "),_c('w-button',{attrs:{"icon":"mdi mdi-delete","color":"error","text":"","lg":""},on:{"click":function($event){return _vm.requestDelete(item)}}})]}},{key:"no-data",fn:function(){return [_vm._v("\n\t\t\t\t\t\tNo files match your search criteria\n\t\t\t\t\t")]},proxy:true}],null,true)}),_vm._v(" "),_c('w-divider',{staticClass:"nm"}),_vm._v(" "),_c('VindiPagination',{staticClass:"project-storage__pagination",attrs:{"total":_vm.pageCount,"visible":5},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:"currentPage"}})],1)],1)]),_vm._ssrNode(" "),_c('w-dialog',{attrs:{"width":"350"},model:{value:(_vm.deletionDialog),callback:function ($$v) {_vm.deletionDialog=$$v},expression:"deletionDialog"}},[_c('VindiTitle',{attrs:{"icon":"mdi mdi-delete"}},[_vm._v("\n\t\t\tDelete File\n\t\t")]),_vm._v(" "),_c('w-divider'),_vm._v(" "),_c('div',{staticStyle:{"padding-bottom":"10px"}},[_c('p',{staticStyle:{"padding-bottom":"10px"}},[_vm._v("\n\t\t\t\tAre you sure?\n\t\t\t")]),_vm._v(" "),_c('small',[_vm._v("\n\t\t\t\tYou are about to permanently delete this file. This will also\n\t\t\t\tremove the file as attachment from any task it is connected to.\n\t\t\t")])]),_vm._v(" "),_c('w-flex',[_c('w-button',{attrs:{"text":"","disabled":_vm.deletionActive},on:{"click":function($event){_vm.deletionDialog = false}}},[_c('w-icon',{staticClass:"left"},[_vm._v("\n\t\t\t\t\tmdi mdi-arrow-left\n\t\t\t\t")]),_vm._v("\n\t\t\t\tBack\n\t\t\t")],1),_vm._v(" "),_c('VindiSpacer'),_vm._v(" "),_c('w-button',{attrs:{"bg-color":"error","text":"","loading":_vm.deletionActive},on:{"click":_vm.confirmDelete}},[_vm._v("\n\t\t\t\tConfirm\n\t\t\t")])],1)],1)],2)}
var staticRenderFns = []


// CONCATENATED MODULE: ./pages/project/_pid/storage.vue?vue&type=template&id=007276ca&

// EXTERNAL MODULE: external "vue"
var external_vue_ = __webpack_require__(0);
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);

// EXTERNAL MODULE: ./src/helpers.ts + 1 modules
var helpers = __webpack_require__(3);

// CONCATENATED MODULE: ./assets/query/storage/fetchStoragePage.gql
/* harmony default export */ var fetchStoragePage = ("# > profileEssentials\r\n\r\nquery ProjectTasksPage($pid: Int!) {\r\n\tproject(id: $pid) {\r\n\t\tid\r\n\t\taccentColor\r\n\t\tattachments {\r\n\t\t\tid\r\n\t\t\tname\r\n\t\t\textension\r\n\t\t\tfileSize\r\n\t\t\tfilePath\r\n\t\t\tuploadedAt\r\n\t\t\tuploadedBy {\r\n\t\t\t\t...ProfileEssentials\r\n\t\t\t}\r\n\t\t\ttask {\r\n\t\t\t\tid\r\n\t\t\t\tlocalId\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}");
// CONCATENATED MODULE: ./assets/query/storage/deleteFile.gql
/* harmony default export */ var deleteFile = ("mutation ProjectStorageDelete($id: Int!) {\r\n\tdeleteAttachment(id: $id) {\r\n\t\tid\r\n\t}\r\n}");
// EXTERNAL MODULE: external "dayjs"
var external_dayjs_ = __webpack_require__(4);
var external_dayjs_default = /*#__PURE__*/__webpack_require__.n(external_dayjs_);

// EXTERNAL MODULE: external "graphql-tag"
var external_graphql_tag_ = __webpack_require__(186);
var external_graphql_tag_default = /*#__PURE__*/__webpack_require__.n(external_graphql_tag_);

// CONCATENATED MODULE: D:/Starlane/Workspaces/vindigo/node_modules/babel-loader/lib??ref--13-0!D:/Starlane/Workspaces/vindigo/node_modules/ts-loader??ref--13-1!D:/Starlane/Workspaces/vindigo/node_modules/nuxt/node_modules/@nuxt/components/dist/loader.js??ref--0-0!D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib??vue-loader-options!./pages/project/_pid/storage.vue?vue&type=script&lang=ts&
var __awaiter = undefined && undefined.__awaiter || function (thisArg, _arguments, P, generator) {
  function adopt(value) {
    return value instanceof P ? value : new P(function (resolve) {
      resolve(value);
    });
  }

  return new (P || (P = Promise))(function (resolve, reject) {
    function fulfilled(value) {
      try {
        step(generator.next(value));
      } catch (e) {
        reject(e);
      }
    }

    function rejected(value) {
      try {
        step(generator["throw"](value));
      } catch (e) {
        reject(e);
      }
    }

    function step(result) {
      result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
    }

    step((generator = generator.apply(thisArg, _arguments || [])).next());
  });
};







/* harmony default export */ var storagevue_type_script_lang_ts_ = (external_vue_default.a.extend({
  asyncData(context) {
    return __awaiter(this, void 0, void 0, function* () {
      const result = yield context.$api.query(fetchStoragePage, {
        pid: Object(helpers["l" /* parseSlug */])(context.params.pid)
      });
      return {
        project: result.project,
        files: result.project.attachments
      };
    });
  },

  data: () => ({
    project: null,
    files: [],
    selected: null,
    isUploading: false,
    manager: null,
    currentPage: 0,
    filesPerPage: 10,
    fileSearch: '',
    deletionDialog: false,
    deletionActive: false,
    // Sorting
    sortMethod: 'ALPHABETICAL',
    sortMethods: [{
      label: 'Alphabetical',
      value: 'ALPHABETICAL'
    }, {
      label: 'Upload date',
      value: 'UPLOAD_DATE'
    }, {
      label: 'File size',
      value: 'FILE_SIZE'
    }],
    sortFunctions: {
      ALPHABETICAL: 'sortAlphabetical',
      UPLOAD_DATE: 'sortUploadDate',
      FILE_SIZE: 'sortFileSize'
    },
    // Headers
    headers: [{
      key: 'name'
    }, {
      key: 'task',
      align: 'right'
    }, {
      key: 'options'
    }]
  }),
  computed: {
    fileList() {
      const search = this.fileSearch.toLowerCase();
      const method = this.sortFunctions[this.sortMethod];
      const func = this[method];

      if (!func) {
        throw new Error('Unexpected sort method');
      }

      return [...this.files].filter(file => {
        return file.name.toLowerCase().includes(search);
      }).map(file => Object.assign(Object.assign({}, file), {
        size: Object(helpers["h" /* formatBytes */])(file.fileSize)
      })).sort(func);
    },

    pageCount() {
      return Math.ceil(this.fileList.length / this.filesPerPage);
    }

  },

  mounted() {
    this.manager = this.$api.createManager();
    const slug = Object(helpers["l" /* parseSlug */])(this.$route.params.pid); // Subscription builder utility

    function createQuery(field) {
      return external_graphql_tag_default.a`
				subscription ($pid: Int!) {
					${field}(projectId: $pid) {
						id
					}
				}
			`;
    }

    this.manager.subscribe({
      query: createQuery('attachmentUploaded'),
      next: this.refetchFiles,
      variables: {
        pid: slug
      }
    });
    this.manager.subscribe({
      query: createQuery('attachmentUpdated'),
      next: this.refetchFiles,
      variables: {
        pid: slug
      }
    });
    this.manager.subscribe({
      query: createQuery('attachmentRemoved'),
      next: this.refetchFiles,
      variables: {
        pid: slug
      }
    });
  },

  destroyed() {
    var _a;

    (_a = this.manager) === null || _a === void 0 ? void 0 : _a.dispose();
  },

  methods: {
    refetchFiles() {
      return __awaiter(this, void 0, void 0, function* () {
        const res = yield this.$api.query(fetchStoragePage, {
          pid: this.project.id
        });
        this.project = res.project;
        this.files = res.project.attachments;
      });
    },

    requestUpload() {
      Object(helpers["k" /* openFilePicker */])({
        multiple: true
      }, (...files) => {
        this.uploadFiles(files);
      });
    },

    uploadFiles(files) {
      return __awaiter(this, void 0, void 0, function* () {
        this.isUploading = true;
        const tasks = files.map(file => this.$api.upload('attachment?project=' + this.project.id, file));
        yield Promise.all(tasks);
        this.isUploading = false;
      });
    },

    computePreviewStyle(file) {
      const isImage = helpers["a" /* IMAGE_FILES */].includes(file.extension);
      return isImage && {
        backgroundImage: `url(${file.filePath})`,
        color: 'transparent'
      };
    },

    openTask(task) {
      this.$store.dispatch('openTaskViewer', task.id);
    },

    openAttachment(file) {
      window.open(window.location.origin + file.filePath);
    },

    requestDownload(file) {
      Object(helpers["e" /* downloadURL */])(file.filePath, file.name);
    },

    requestDelete(file) {
      this.selected = file;
      this.deletionDialog = true;
    },

    confirmDelete() {
      return __awaiter(this, void 0, void 0, function* () {
        this.deletionActive = true;
        yield this.$api.query(deleteFile, {
          id: this.selected.id
        });
        this.deletionActive = false;
        this.deletionDialog = false;
      });
    },

    formatDate(file) {
      const lastModified = parseInt(file.uploadedAt);
      const dateFormat = this.$t('SHORT_DATE_FORMAT');
      return external_dayjs_default()(lastModified).format(dateFormat);
    },

    sortAlphabetical(left, right) {
      return left.name.localeCompare(right.name);
    },

    sortFileSize(left, right) {
      return right.fileSize - left.fileSize;
    },

    sortUploadDate(left, right) {
      const aModified = external_dayjs_default()(parseInt(left.uploadedAt));
      const bModified = external_dayjs_default()(parseInt(right.uploadedAt));
      return aModified.isBefore(bModified) ? 1 : -1;
    }

  }
}));
// CONCATENATED MODULE: ./pages/project/_pid/storage.vue?vue&type=script&lang=ts&
 /* harmony default export */ var _pid_storagevue_type_script_lang_ts_ = (storagevue_type_script_lang_ts_); 
// EXTERNAL MODULE: D:/Starlane/Workspaces/vindigo/node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__(2);

// CONCATENATED MODULE: ./pages/project/_pid/storage.vue



function injectStyles (context) {
  
  var style0 = __webpack_require__(313)
if (style0.__inject__) style0.__inject__(context)

}

/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  _pid_storagevue_type_script_lang_ts_,
  render,
  staticRenderFns,
  false,
  injectStyles,
  null,
  "24ce7278"
  
)

/* harmony default export */ var storage = __webpack_exports__["default"] = (component.exports);

/* nuxt-component-imports */
installComponents(component, {ProjectStorageEmptyGraphic: __webpack_require__(277).default,VindiTitle: __webpack_require__(69).default,VindiSpacer: __webpack_require__(11).default,VindiPagination: __webpack_require__(70).default,Container: __webpack_require__(192).default})


/***/ })

};;
//# sourceMappingURL=storage.js.map