function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
import { locales } from '@pisell/utils';
export var getNoResource = function getNoResource() {
  return {
    "form_tag": null,
    "policy": 148,
    "partyroom_package": {
      "type": "product_all"
    },
    "sort": "2",
    "status": "active",
    "description": "<p>1</p>",
    "media": "",
    "subtitle": "无资源",
    "room_name": locales.getText('pisell1.text.no-resource'),
    "labelText": locales.getText('pisell1.text.no-resource'),
    "form_record_id": 0,
    "item_type": "resources",
    "main_field": "",
    "form_id": 0,
    "form_resource_sort": 0,
    "form_title": "资源",
    "form": {
      "id": 0,
      "shop_id": 265,
      "title": "资源",
      "navigation_display": 1,
      "button": "保存",
      "describe": "",
      "status": "published",
      "resource_sort": 0,
      "code": "resources",
      "type": "manual",
      "version": 1,
      "setting": null,
      "created_at": "2023-08-08 20:10:13",
      "updated_at": "2023-10-13 15:21:02"
    },
    "times": [{
      "keys": "20c04d77e571b082fe504777879f7261",
      "schedule_id": 0,
      "item_type": "resources",
      "item_id": 0,
      "start_date": "2000-01-01",
      "end_date": "2300-01-01",
      "start_time": "00:00",
      "end_time": "23:59",
      "is_all": 1,
      "max_participants_type": "custom-limit",
      "max_participants_limit": 0,
      "relation_type": "form",
      "start_at": "2000-01-01 00:00",
      "end_at": "2300-01-05 23:59",
      "is_blocked": 0,
      "blocked_times": [],
      "order_event_count": 3,
      "unique": "IomNIL9OPQsSjosiu7EqhhgXGviqUxk1"
    }]
  };
};
export var getNoResource2 = function getNoResource2(other) {
  return _objectSpread({
    "form_tag": null,
    "policy": 148,
    "partyroom_package": {
      "type": "product_all"
    },
    "sort": "2",
    "status": "active",
    "description": "<p>1</p>",
    "media": "",
    "main_field": locales.getText('pisell1.text.no-resource'),
    "subtitle": "无资源",
    "room_name": locales.getText('pisell1.text.no-resource'),
    "labelText": locales.getText('pisell1.text.no-resource'),
    "form_record_id": 0,
    "item_type": "resources",
    "form_id": 0,
    "id": 0,
    "form_resource_sort": 0,
    "form_title": "资源",
    "capacity": 999999,
    "form": {
      "id": 0,
      "shop_id": 265,
      "title": "资源",
      "navigation_display": 1,
      "button": "保存",
      "describe": "",
      "status": "published",
      "resource_sort": 0,
      "code": "resources",
      "type": "manual",
      "version": 1,
      "setting": null,
      "created_at": "2023-08-08 20:10:13",
      "updated_at": "2023-10-13 15:21:02"
    },
    "times": [{
      "keys": "20c04d77e571b082fe504777879f7261",
      "schedule_id": 0,
      "item_type": "resources",
      "item_id": 0,
      "start_date": "2000-01-01",
      "end_date": "2300-01-01",
      "start_time": "00:00",
      "end_time": "23:59",
      "is_all": 1,
      "max_participants_type": "custom-limit",
      "max_participants_limit": 0,
      "relation_type": "form",
      "start_at": "2000-01-01 00:00",
      "end_at": "2300-01-05 23:59",
      "is_blocked": 0,
      "blocked_times": [],
      "order_event_count": 3,
      "unique": "IomNIL9OPQsSjosiu7EqhhgXGviqUxk1"
    }]
  }, other);
};