{"version":3,"sources":["webpack:///./node_modules/bootstrap-vue/esm/mixins/pagination.js","webpack:///./node_modules/bootstrap-vue/esm/components/pagination/pagination.js","webpack:///./src/graphql/entity-manager/incubator-portal/queries.gql","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-addon.js","webpack:///./src/graphql/common/mutations.gql","webpack:///./src/graphql/entity-manager/common/queries.gql","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-prepend.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group.js","webpack:///./src/graphql/entity-manager/incubator-portal/mutations.gql","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./node_modules/core-js/modules/es.array.find-index.js","webpack:///./src/components/common/EditableText.vue?aeff","webpack:///src/components/common/EditableText.vue","webpack:///./src/components/common/EditableText.vue?9a46","webpack:///./src/components/common/EditableText.vue","webpack:///./src/constants/ui/msgBoxConfirmConfig.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-append.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-text.js","webpack:///./src/views/incubator/manager/MemberList.vue?6508","webpack:///./src/components/entity-manager/incubator-portal/modals/MemberAdd.vue?448d","webpack:///src/components/entity-manager/incubator-portal/modals/MemberAdd.vue","webpack:///./src/components/entity-manager/incubator-portal/modals/MemberAdd.vue?0cac","webpack:///./src/components/entity-manager/incubator-portal/modals/MemberAdd.vue","webpack:///src/views/incubator/manager/MemberList.vue","webpack:///./src/views/incubator/manager/MemberList.vue?4d54","webpack:///./src/views/incubator/manager/MemberList.vue"],"names":["_watch","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","value","configurable","writable","_makeModelMixin","type","defaultValue","validator","warn","modelMixin","mixin","modelProps","props","MODEL_PROP_NAME","prop","MODEL_EVENT_NAME","event","ELLIPSIS_THRESHOLD","DEFAULT_LIMIT","startNumber","numberOfPages","_","number","classes","limit","val","page","keyCode","immediatePropagation","currentTarget","click","align","ariaLabel","disabled","ellipsisClass","ellipsisText","firstClass","firstNumber","firstText","hideEllipsis","hideGotoEndButtons","labelFirstPage","labelLastPage","labelNextPage","labelPage","labelPrevPage","lastClass","lastNumber","lastText","nextClass","nextText","pageClass","pills","prevClass","prevText","size","paginationMixin","extend","mixins","data","currentPage","this","localNumberOfPages","localLimit","computed","btnSize","concat","alignment","styleClass","computedCurrentPage","paginationParams","showFirstDots","showLastDots","numberOfLinks","math","lastPageNumber","pageList","_this$paginationParam","pages","idx","_i","_i2","_i3","watch","newValue","oldValue","$emit","created","_this","$nextTick","methods","handleKeyNav","shiftKey","isNav","propagation","focusFirst","focusPrev","focusLast","focusNext","getButtons","$el","btn","focusCurrent","_this2","find","el","_this3","_this4","reverse","_this5","buttons","index","indexOf","_this6","render","h","_this7","pageNumbers","map","p","_this$paginationParam2","fill","$buttons","isActivePage","pageNumber","noCurrentPage","makeEndBtn","linkTo","btnSlot","btnText","btnClass","pageTest","isDisabled","scope","$btnContent","normalizeSlot","$inner","staticClass","class","linkProps","attrs","role","tabindex","ariaControls","on","onClick","keydown","makeEllipsis","isLast","makePageButton","active","tabIndex","btnContent","makePage","content","$firstPageBtn","offset","$lastPageBtn","$pagination","ref","DEFAULT_PER_PAGE","DEFAULT_TOTAL_ROWS","perPage","totalRows","BPagination","name","result","pageSizeNumberOfPages","clickEvent","cancelable","vueTarget","defaultPrevented","contains","pageNum","doc","loc","collectFragmentReferences","node","refs","kind","add","selectionSet","selections","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","element","oneQuery","operationName","newDoc","hasOwnProperty","opRefs","Set","allRefs","newRefs","refName","prevRefs","has","childRefs","childRef","op","module","exports","append","id","isText","tag","BInputGroupAddon","functional","_ref","children","BInputGroupPrepend","appendHtml","prepend","prependHtml","BInputGroup","slots","scopedSlots","$scopedSlots","$slots","slotScope","$prepend","hasPrependSlot","domProps","html","$append","hasAppendSlot","$","toAbsoluteIndex","toInteger","toLength","toObject","arraySpeciesCreate","createProperty","arrayMethodHasSpeciesSupport","arrayMethodUsesToLength","HAS_SPECIES_SUPPORT","USES_TO_LENGTH","ACCESSORS","0","1","max","Math","min","MAX_SAFE_INTEGER","MAXIMUM_ALLOWED_LENGTH_EXCEEDED","proto","forced","splice","start","deleteCount","insertCount","actualDeleteCount","A","k","from","to","O","len","actualStart","argumentsLength","TypeError","$findIndex","findIndex","addToUnscopables","FIND_INDEX","SKIPS_HOLES","Array","callbackfn","undefined","_vm","_h","$createElement","_c","_self","isEditing","_u","fn","directives","rawName","title","delay","show","hide","expression","modifiers","save","proxy","$event","_k","cancel","model","callback","$$v","currentValue","_v","_s","previousValue","_e","displayValue","stopPropagation","enableEditing","staticRenderFns","components","BFormInput","BButton","String","required","Boolean","default","hasChanged","newVal","mounted","document","addEventListener","handleClickOutside","beforeDestroy","removeEventListener","$refs","inputField","focus","editableText","component","DELETE_CONFIRM_CONFIG","okTitle","cancelTitle","buttonSize","centered","okVariant","cancelVariant","BInputGroupAppend","BInputGroupText","$apollo","loading","mutationLoading","showAddManagerModal","columns","enabled","managers","column","field","row","selectedOrg","associationId","deleteManager","formattedRow","designation","newDesignation","editDesignation","perPageChanged","currentPerPage","pageLength","total","pageChanged","currentModalComponent","unmountModal","isValid","handleModalClose","handleFormSubmit","isLoading","preventDefault","emailValidation","state","searchResult","isUserAlreadyMember","debouncedFetchUser","member","$set","trim","message","startupCount","BOverlay","BModal","BFormRow","BFormGroup","BCol","BForm","BFormInvalidFeedback","email","listMemberEmail","mapGetters","e","emailRegex","test","$bvModal","debounce","fetchUser","getStartupCount","resetForm","bvModalEvent","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","showAlert","abrupt","addMember","stop","_callee2","_yield$_this3$$apollo","_context2","query","CountStartupsInNetworkOfUserByEmail","variables","userEmail","incubatorId","orgId","sent","users_associationtable_aggregate","aggregate","count","t0","finish","_callee3","_yield$_this4$$apollo","user","_context3","GetUserByEmail","users_customuser","full_name","_callee4","_context4","mutate","mutation","AddIncubatorAdmin","userId","refetchQueries","awaitRefetchQueries","apollo","GetIncubatorMembers","update","users_associationtable","PageHeader","VueGoodTable","MemberAdd","EditableText","label","formatFn","v","formatDate","sortable","showAddManager","msgBoxConfirm","then","gql","_templateObject","_taggedTemplateLiteral","Id","catch","finally","_x","assocId","oldDesignation","UpdateDesignation","association","_association$users_cu","_association$users_cu2","joinedOn","created_at","currentUser","manager","unshift"],"mappings":"wJAAIA,E,gPAEJ,SAASC,EAAQC,EAAQC,GAAkB,IAAIC,EAAOC,OAAOD,KAAKF,GAAS,GAAIG,OAAOC,sBAAuB,CAAE,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAASC,IAAmBI,EAAUA,EAAQC,QAAO,SAAUC,GAAO,OAAOJ,OAAOK,yBAAyBR,EAAQO,GAAKE,eAAiBP,EAAKQ,KAAKC,MAAMT,EAAMG,GAAY,OAAOH,EAE9U,SAASU,EAAcC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAS,MAAQF,UAAUD,GAAKC,UAAUD,GAAK,GAAIA,EAAI,EAAIf,EAAQI,OAAOc,IAAS,GAAIC,SAAQ,SAAUC,GAAOC,EAAgBP,EAAQM,EAAKF,EAAOE,OAAYhB,OAAOkB,0BAA4BlB,OAAOmB,iBAAiBT,EAAQV,OAAOkB,0BAA0BJ,IAAWlB,EAAQI,OAAOc,IAASC,SAAQ,SAAUC,GAAOhB,OAAOoB,eAAeV,EAAQM,EAAKhB,OAAOK,yBAAyBS,EAAQE,OAAa,OAAON,EAEjf,SAASO,EAAgBI,EAAKL,EAAKM,GAAiK,OAApJN,KAAOK,EAAOrB,OAAOoB,eAAeC,EAAKL,EAAK,CAAEM,MAAOA,EAAOhB,YAAY,EAAMiB,cAAc,EAAMC,UAAU,IAAkBH,EAAIL,GAAO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OAAAA,EAAApQ,KAAA2I,KAKA,OAJAwH,IACA7H,EAAA1F,OAAA0F,EAAArO,QAAAkW,GAAA,GACA7H,EAAA+H,QAAAF,IAEA7H,MCjPiX,ICO7W,EAAY,eACd,EACAnO,EACA+L,GACA,EACA,KACA,KACA,MAIa,e","file":"js/chunk-f5d23eba.c0f17c16.js","sourcesContent":["var _watch;\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue } from '../vue';\nimport { NAME_PAGINATION } from '../constants/components';\nimport { CODE_DOWN, CODE_LEFT, CODE_RIGHT, CODE_SPACE, CODE_UP } from '../constants/key-codes';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_BOOLEAN_NUMBER_STRING, PROP_TYPE_FUNCTION_STRING, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../constants/props';\nimport { SLOT_NAME_ELLIPSIS_TEXT, SLOT_NAME_FIRST_TEXT, SLOT_NAME_LAST_TEXT, SLOT_NAME_NEXT_TEXT, SLOT_NAME_PAGE, SLOT_NAME_PREV_TEXT } from '../constants/slots';\nimport { createArray } from '../utils/array';\nimport { attemptFocus, getActiveElement, getAttr, isDisabled, isVisible, selectAll } from '../utils/dom';\nimport { stopEvent } from '../utils/events';\nimport { isFunction, isNull } from '../utils/inspect';\nimport { mathFloor, mathMax, mathMin } from '../utils/math';\nimport { makeModelMixin } from '../utils/model';\nimport { toInteger } from '../utils/number';\nimport { sortKeys } from '../utils/object';\nimport { hasPropFunction, makeProp, makePropsConfigurable } from '../utils/props';\nimport { toString } from '../utils/string';\nimport { warn } from '../utils/warn';\nimport { normalizeSlotMixin } from '../mixins/normalize-slot';\nimport { BLink } from '../components/link/link'; // Common props, computed, data, render function, and methods\n// for `<b-pagination>` and `<b-pagination-nav>`\n// --- Constants ---\n\nvar _makeModelMixin = makeModelMixin('value', {\n  type: PROP_TYPE_BOOLEAN_NUMBER_STRING,\n  defaultValue: null,\n\n  /* istanbul ignore next */\n  validator: function validator(value) {\n    if (!isNull(value) && toInteger(value, 0) < 1) {\n      warn('\"v-model\" value must be a number greater than \"0\"', NAME_PAGINATION);\n      return false;\n    }\n\n    return true;\n  }\n}),\n    modelMixin = _makeModelMixin.mixin,\n    modelProps = _makeModelMixin.props,\n    MODEL_PROP_NAME = _makeModelMixin.prop,\n    MODEL_EVENT_NAME = _makeModelMixin.event;\n\nexport { MODEL_PROP_NAME, MODEL_EVENT_NAME }; // Threshold of limit size when we start/stop showing ellipsis\n\nvar ELLIPSIS_THRESHOLD = 3; // Default # of buttons limit\n\nvar DEFAULT_LIMIT = 5; // --- Helper methods ---\n// Make an array of N to N+X\n\nvar makePageArray = function makePageArray(startNumber, numberOfPages) {\n  return createArray(numberOfPages, function (_, i) {\n    return {\n      number: startNumber + i,\n      classes: null\n    };\n  });\n}; // Sanitize the provided limit value (converting to a number)\n\n\nvar sanitizeLimit = function sanitizeLimit(value) {\n  var limit = toInteger(value) || 1;\n  return limit < 1 ? DEFAULT_LIMIT : limit;\n}; // Sanitize the provided current page number (converting to a number)\n\n\nvar sanitizeCurrentPage = function sanitizeCurrentPage(val, numberOfPages) {\n  var page = toInteger(val) || 1;\n  return page > numberOfPages ? numberOfPages : page < 1 ? 1 : page;\n}; // Links don't normally respond to SPACE, so we add that\n// functionality via this handler\n\n\nvar onSpaceKey = function onSpaceKey(event) {\n  if (event.keyCode === CODE_SPACE) {\n    // Stop page from scrolling\n    stopEvent(event, {\n      immediatePropagation: true\n    }); // Trigger the click event on the link\n\n    event.currentTarget.click();\n    return false;\n  }\n}; // --- Props ---\n\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, modelProps), {}, {\n  align: makeProp(PROP_TYPE_STRING, 'left'),\n  ariaLabel: makeProp(PROP_TYPE_STRING, 'Pagination'),\n  disabled: makeProp(PROP_TYPE_BOOLEAN, false),\n  ellipsisClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  ellipsisText: makeProp(PROP_TYPE_STRING, \"\\u2026\"),\n  // '…'\n  firstClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  firstNumber: makeProp(PROP_TYPE_BOOLEAN, false),\n  firstText: makeProp(PROP_TYPE_STRING, \"\\xAB\"),\n  // '«'\n  hideEllipsis: makeProp(PROP_TYPE_BOOLEAN, false),\n  hideGotoEndButtons: makeProp(PROP_TYPE_BOOLEAN, false),\n  labelFirstPage: makeProp(PROP_TYPE_STRING, 'Go to first page'),\n  labelLastPage: makeProp(PROP_TYPE_STRING, 'Go to last page'),\n  labelNextPage: makeProp(PROP_TYPE_STRING, 'Go to next page'),\n  labelPage: makeProp(PROP_TYPE_FUNCTION_STRING, 'Go to page'),\n  labelPrevPage: makeProp(PROP_TYPE_STRING, 'Go to previous page'),\n  lastClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  lastNumber: makeProp(PROP_TYPE_BOOLEAN, false),\n  lastText: makeProp(PROP_TYPE_STRING, \"\\xBB\"),\n  // '»'\n  limit: makeProp(PROP_TYPE_NUMBER_STRING, DEFAULT_LIMIT,\n  /* istanbul ignore next */\n  function (value) {\n    if (toInteger(value, 0) < 1) {\n      warn('Prop \"limit\" must be a number greater than \"0\"', NAME_PAGINATION);\n      return false;\n    }\n\n    return true;\n  }),\n  nextClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  nextText: makeProp(PROP_TYPE_STRING, \"\\u203A\"),\n  // '›'\n  pageClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  pills: makeProp(PROP_TYPE_BOOLEAN, false),\n  prevClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n  prevText: makeProp(PROP_TYPE_STRING, \"\\u2039\"),\n  // '‹'\n  size: makeProp(PROP_TYPE_STRING)\n})), 'pagination'); // --- Mixin ---\n// @vue/component\n\nexport var paginationMixin = Vue.extend({\n  mixins: [modelMixin, normalizeSlotMixin],\n  props: props,\n  data: function data() {\n    // `-1` signifies no page initially selected\n    var currentPage = toInteger(this[MODEL_PROP_NAME], 0);\n    currentPage = currentPage > 0 ? currentPage : -1;\n    return {\n      currentPage: currentPage,\n      localNumberOfPages: 1,\n      localLimit: DEFAULT_LIMIT\n    };\n  },\n  computed: {\n    btnSize: function btnSize() {\n      var size = this.size;\n      return size ? \"pagination-\".concat(size) : '';\n    },\n    alignment: function alignment() {\n      var align = this.align;\n\n      if (align === 'center') {\n        return 'justify-content-center';\n      } else if (align === 'end' || align === 'right') {\n        return 'justify-content-end';\n      } else if (align === 'fill') {\n        // The page-items will also have 'flex-fill' added\n        // We add text centering to make the button appearance better in fill mode\n        return 'text-center';\n      }\n\n      return '';\n    },\n    styleClass: function styleClass() {\n      return this.pills ? 'b-pagination-pills' : '';\n    },\n    computedCurrentPage: function computedCurrentPage() {\n      return sanitizeCurrentPage(this.currentPage, this.localNumberOfPages);\n    },\n    paginationParams: function paginationParams() {\n      // Determine if we should show the the ellipsis\n      var limit = this.localLimit,\n          numberOfPages = this.localNumberOfPages,\n          currentPage = this.computedCurrentPage,\n          hideEllipsis = this.hideEllipsis,\n          firstNumber = this.firstNumber,\n          lastNumber = this.lastNumber;\n      var showFirstDots = false;\n      var showLastDots = false;\n      var numberOfLinks = limit;\n      var startNumber = 1;\n\n      if (numberOfPages <= limit) {\n        // Special case: Less pages available than the limit of displayed pages\n        numberOfLinks = numberOfPages;\n      } else if (currentPage < limit - 1 && limit > ELLIPSIS_THRESHOLD) {\n        if (!hideEllipsis || lastNumber) {\n          showLastDots = true;\n          numberOfLinks = limit - (firstNumber ? 0 : 1);\n        }\n\n        numberOfLinks = mathMin(numberOfLinks, limit);\n      } else if (numberOfPages - currentPage + 2 < limit && limit > ELLIPSIS_THRESHOLD) {\n        if (!hideEllipsis || firstNumber) {\n          showFirstDots = true;\n          numberOfLinks = limit - (lastNumber ? 0 : 1);\n        }\n\n        startNumber = numberOfPages - numberOfLinks + 1;\n      } else {\n        // We are somewhere in the middle of the page list\n        if (limit > ELLIPSIS_THRESHOLD) {\n          numberOfLinks = limit - (hideEllipsis ? 0 : 2);\n          showFirstDots = !!(!hideEllipsis || firstNumber);\n          showLastDots = !!(!hideEllipsis || lastNumber);\n        }\n\n        startNumber = currentPage - mathFloor(numberOfLinks / 2);\n      } // Sanity checks\n\n      /* istanbul ignore if */\n\n\n      if (startNumber < 1) {\n        startNumber = 1;\n        showFirstDots = false;\n      } else if (startNumber > numberOfPages - numberOfLinks) {\n        startNumber = numberOfPages - numberOfLinks + 1;\n        showLastDots = false;\n      }\n\n      if (showFirstDots && firstNumber && startNumber < 4) {\n        numberOfLinks = numberOfLinks + 2;\n        startNumber = 1;\n        showFirstDots = false;\n      }\n\n      var lastPageNumber = startNumber + numberOfLinks - 1;\n\n      if (showLastDots && lastNumber && lastPageNumber > numberOfPages - 3) {\n        numberOfLinks = numberOfLinks + (lastPageNumber === numberOfPages - 2 ? 2 : 3);\n        showLastDots = false;\n      } // Special handling for lower limits (where ellipsis are never shown)\n\n\n      if (limit <= ELLIPSIS_THRESHOLD) {\n        if (firstNumber && startNumber === 1) {\n          numberOfLinks = mathMin(numberOfLinks + 1, numberOfPages, limit + 1);\n        } else if (lastNumber && numberOfPages === startNumber + numberOfLinks - 1) {\n          startNumber = mathMax(startNumber - 1, 1);\n          numberOfLinks = mathMin(numberOfPages - startNumber + 1, numberOfPages, limit + 1);\n        }\n      }\n\n      numberOfLinks = mathMin(numberOfLinks, numberOfPages - startNumber + 1);\n      return {\n        showFirstDots: showFirstDots,\n        showLastDots: showLastDots,\n        numberOfLinks: numberOfLinks,\n        startNumber: startNumber\n      };\n    },\n    pageList: function pageList() {\n      // Generates the pageList array\n      var _this$paginationParam = this.paginationParams,\n          numberOfLinks = _this$paginationParam.numberOfLinks,\n          startNumber = _this$paginationParam.startNumber;\n      var currentPage = this.computedCurrentPage; // Generate list of page numbers\n\n      var pages = makePageArray(startNumber, numberOfLinks); // We limit to a total of 3 page buttons on XS screens\n      // So add classes to page links to hide them for XS breakpoint\n      // Note: Ellipsis will also be hidden on XS screens\n      // TODO: Make this visual limit configurable based on breakpoint(s)\n\n      if (pages.length > 3) {\n        var idx = currentPage - startNumber; // THe following is a bootstrap-vue custom utility class\n\n        var classes = 'bv-d-xs-down-none';\n\n        if (idx === 0) {\n          // Keep leftmost 3 buttons visible when current page is first page\n          for (var i = 3; i < pages.length; i++) {\n            pages[i].classes = classes;\n          }\n        } else if (idx === pages.length - 1) {\n          // Keep rightmost 3 buttons visible when current page is last page\n          for (var _i = 0; _i < pages.length - 3; _i++) {\n            pages[_i].classes = classes;\n          }\n        } else {\n          // Hide all except current page, current page - 1 and current page + 1\n          for (var _i2 = 0; _i2 < idx - 1; _i2++) {\n            // hide some left button(s)\n            pages[_i2].classes = classes;\n          }\n\n          for (var _i3 = pages.length - 1; _i3 > idx + 1; _i3--) {\n            // hide some right button(s)\n            pages[_i3].classes = classes;\n          }\n        }\n      }\n\n      return pages;\n    }\n  },\n  watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME, function (newValue, oldValue) {\n    if (newValue !== oldValue) {\n      this.currentPage = sanitizeCurrentPage(newValue, this.localNumberOfPages);\n    }\n  }), _defineProperty(_watch, \"currentPage\", function currentPage(newValue, oldValue) {\n    if (newValue !== oldValue) {\n      // Emit `null` if no page selected\n      this.$emit(MODEL_EVENT_NAME, newValue > 0 ? newValue : null);\n    }\n  }), _defineProperty(_watch, \"limit\", function limit(newValue, oldValue) {\n    if (newValue !== oldValue) {\n      this.localLimit = sanitizeLimit(newValue);\n    }\n  }), _watch),\n  created: function created() {\n    var _this = this;\n\n    // Set our default values in data\n    this.localLimit = sanitizeLimit(this.limit);\n    this.$nextTick(function () {\n      // Sanity check\n      _this.currentPage = _this.currentPage > _this.localNumberOfPages ? _this.localNumberOfPages : _this.currentPage;\n    });\n  },\n  methods: {\n    handleKeyNav: function handleKeyNav(event) {\n      var keyCode = event.keyCode,\n          shiftKey = event.shiftKey;\n      /* istanbul ignore if */\n\n      if (this.isNav) {\n        // We disable left/right keyboard navigation in `<b-pagination-nav>`\n        return;\n      }\n\n      if (keyCode === CODE_LEFT || keyCode === CODE_UP) {\n        stopEvent(event, {\n          propagation: false\n        });\n        shiftKey ? this.focusFirst() : this.focusPrev();\n      } else if (keyCode === CODE_RIGHT || keyCode === CODE_DOWN) {\n        stopEvent(event, {\n          propagation: false\n        });\n        shiftKey ? this.focusLast() : this.focusNext();\n      }\n    },\n    getButtons: function getButtons() {\n      // Return only buttons that are visible\n      return selectAll('button.page-link, a.page-link', this.$el).filter(function (btn) {\n        return isVisible(btn);\n      });\n    },\n    focusCurrent: function focusCurrent() {\n      var _this2 = this;\n\n      // We do this in `$nextTick()` to ensure buttons have finished rendering\n      this.$nextTick(function () {\n        var btn = _this2.getButtons().find(function (el) {\n          return toInteger(getAttr(el, 'aria-posinset'), 0) === _this2.computedCurrentPage;\n        });\n\n        if (!attemptFocus(btn)) {\n          // Fallback if current page is not in button list\n          _this2.focusFirst();\n        }\n      });\n    },\n    focusFirst: function focusFirst() {\n      var _this3 = this;\n\n      // We do this in `$nextTick()` to ensure buttons have finished rendering\n      this.$nextTick(function () {\n        var btn = _this3.getButtons().find(function (el) {\n          return !isDisabled(el);\n        });\n\n        attemptFocus(btn);\n      });\n    },\n    focusLast: function focusLast() {\n      var _this4 = this;\n\n      // We do this in `$nextTick()` to ensure buttons have finished rendering\n      this.$nextTick(function () {\n        var btn = _this4.getButtons().reverse().find(function (el) {\n          return !isDisabled(el);\n        });\n\n        attemptFocus(btn);\n      });\n    },\n    focusPrev: function focusPrev() {\n      var _this5 = this;\n\n      // We do this in `$nextTick()` to ensure buttons have finished rendering\n      this.$nextTick(function () {\n        var buttons = _this5.getButtons();\n\n        var index = buttons.indexOf(getActiveElement());\n\n        if (index > 0 && !isDisabled(buttons[index - 1])) {\n          attemptFocus(buttons[index - 1]);\n        }\n      });\n    },\n    focusNext: function focusNext() {\n      var _this6 = this;\n\n      // We do this in `$nextTick()` to ensure buttons have finished rendering\n      this.$nextTick(function () {\n        var buttons = _this6.getButtons();\n\n        var index = buttons.indexOf(getActiveElement());\n\n        if (index < buttons.length - 1 && !isDisabled(buttons[index + 1])) {\n          attemptFocus(buttons[index + 1]);\n        }\n      });\n    }\n  },\n  render: function render(h) {\n    var _this7 = this;\n\n    var disabled = this.disabled,\n        labelPage = this.labelPage,\n        ariaLabel = this.ariaLabel,\n        isNav = this.isNav,\n        numberOfPages = this.localNumberOfPages,\n        currentPage = this.computedCurrentPage;\n    var pageNumbers = this.pageList.map(function (p) {\n      return p.number;\n    });\n    var _this$paginationParam2 = this.paginationParams,\n        showFirstDots = _this$paginationParam2.showFirstDots,\n        showLastDots = _this$paginationParam2.showLastDots;\n    var fill = this.align === 'fill';\n    var $buttons = []; // Helper function and flag\n\n    var isActivePage = function isActivePage(pageNumber) {\n      return pageNumber === currentPage;\n    };\n\n    var noCurrentPage = this.currentPage < 1; // Factory function for prev/next/first/last buttons\n\n    var makeEndBtn = function makeEndBtn(linkTo, ariaLabel, btnSlot, btnText, btnClass, pageTest, key) {\n      var isDisabled = disabled || isActivePage(pageTest) || noCurrentPage || linkTo < 1 || linkTo > numberOfPages;\n      var pageNumber = linkTo < 1 ? 1 : linkTo > numberOfPages ? numberOfPages : linkTo;\n      var scope = {\n        disabled: isDisabled,\n        page: pageNumber,\n        index: pageNumber - 1\n      };\n      var $btnContent = _this7.normalizeSlot(btnSlot, scope) || toString(btnText) || h();\n      var $inner = h(isDisabled ? 'span' : isNav ? BLink : 'button', {\n        staticClass: 'page-link',\n        class: {\n          'flex-grow-1': !isNav && !isDisabled && fill\n        },\n        props: isDisabled || !isNav ? {} : _this7.linkProps(linkTo),\n        attrs: {\n          role: isNav ? null : 'menuitem',\n          type: isNav || isDisabled ? null : 'button',\n          tabindex: isDisabled || isNav ? null : '-1',\n          'aria-label': ariaLabel,\n          'aria-controls': _this7.ariaControls || null,\n          'aria-disabled': isDisabled ? 'true' : null\n        },\n        on: isDisabled ? {} : {\n          '!click': function click(event) {\n            _this7.onClick(event, linkTo);\n          },\n          keydown: onSpaceKey\n        }\n      }, [$btnContent]);\n      return h('li', {\n        key: key,\n        staticClass: 'page-item',\n        class: [{\n          disabled: isDisabled,\n          'flex-fill': fill,\n          'd-flex': fill && !isNav && !isDisabled\n        }, btnClass],\n        attrs: {\n          role: isNav ? null : 'presentation',\n          'aria-hidden': isDisabled ? 'true' : null\n        }\n      }, [$inner]);\n    }; // Ellipsis factory\n\n\n    var makeEllipsis = function makeEllipsis(isLast) {\n      return h('li', {\n        staticClass: 'page-item',\n        class: ['disabled', 'bv-d-xs-down-none', fill ? 'flex-fill' : '', _this7.ellipsisClass],\n        attrs: {\n          role: 'separator'\n        },\n        key: \"ellipsis-\".concat(isLast ? 'last' : 'first')\n      }, [h('span', {\n        staticClass: 'page-link'\n      }, [_this7.normalizeSlot(SLOT_NAME_ELLIPSIS_TEXT) || toString(_this7.ellipsisText) || h()])]);\n    }; // Page button factory\n\n\n    var makePageButton = function makePageButton(page, idx) {\n      var pageNumber = page.number;\n      var active = isActivePage(pageNumber) && !noCurrentPage; // Active page will have tabindex of 0, or if no current page and first page button\n\n      var tabIndex = disabled ? null : active || noCurrentPage && idx === 0 ? '0' : '-1';\n      var attrs = {\n        role: isNav ? null : 'menuitemradio',\n        type: isNav || disabled ? null : 'button',\n        'aria-disabled': disabled ? 'true' : null,\n        'aria-controls': _this7.ariaControls || null,\n        'aria-label': hasPropFunction(labelPage) ?\n        /* istanbul ignore next */\n        labelPage(pageNumber) : \"\".concat(isFunction(labelPage) ? labelPage() : labelPage, \" \").concat(pageNumber),\n        'aria-checked': isNav ? null : active ? 'true' : 'false',\n        'aria-current': isNav && active ? 'page' : null,\n        'aria-posinset': isNav ? null : pageNumber,\n        'aria-setsize': isNav ? null : numberOfPages,\n        // ARIA \"roving tabindex\" method (except in `isNav` mode)\n        tabindex: isNav ? null : tabIndex\n      };\n      var btnContent = toString(_this7.makePage(pageNumber));\n      var scope = {\n        page: pageNumber,\n        index: pageNumber - 1,\n        content: btnContent,\n        active: active,\n        disabled: disabled\n      };\n      var $inner = h(disabled ? 'span' : isNav ? BLink : 'button', {\n        props: disabled || !isNav ? {} : _this7.linkProps(pageNumber),\n        staticClass: 'page-link',\n        class: {\n          'flex-grow-1': !isNav && !disabled && fill\n        },\n        attrs: attrs,\n        on: disabled ? {} : {\n          '!click': function click(event) {\n            _this7.onClick(event, pageNumber);\n          },\n          keydown: onSpaceKey\n        }\n      }, [_this7.normalizeSlot(SLOT_NAME_PAGE, scope) || btnContent]);\n      return h('li', {\n        staticClass: 'page-item',\n        class: [{\n          disabled: disabled,\n          active: active,\n          'flex-fill': fill,\n          'd-flex': fill && !isNav && !disabled\n        }, page.classes, _this7.pageClass],\n        attrs: {\n          role: isNav ? null : 'presentation'\n        },\n        key: \"page-\".concat(pageNumber)\n      }, [$inner]);\n    }; // Goto first page button\n    // Don't render button when `hideGotoEndButtons` or `firstNumber` is set\n\n\n    var $firstPageBtn = h();\n\n    if (!this.firstNumber && !this.hideGotoEndButtons) {\n      $firstPageBtn = makeEndBtn(1, this.labelFirstPage, SLOT_NAME_FIRST_TEXT, this.firstText, this.firstClass, 1, 'pagination-goto-first');\n    }\n\n    $buttons.push($firstPageBtn); // Goto previous page button\n\n    $buttons.push(makeEndBtn(currentPage - 1, this.labelPrevPage, SLOT_NAME_PREV_TEXT, this.prevText, this.prevClass, 1, 'pagination-goto-prev')); // Show first (1) button?\n\n    $buttons.push(this.firstNumber && pageNumbers[0] !== 1 ? makePageButton({\n      number: 1\n    }, 0) : h()); // First ellipsis\n\n    $buttons.push(showFirstDots ? makeEllipsis(false) : h()); // Individual page links\n\n    this.pageList.forEach(function (page, idx) {\n      var offset = showFirstDots && _this7.firstNumber && pageNumbers[0] !== 1 ? 1 : 0;\n      $buttons.push(makePageButton(page, idx + offset));\n    }); // Last ellipsis\n\n    $buttons.push(showLastDots ? makeEllipsis(true) : h()); // Show last page button?\n\n    $buttons.push(this.lastNumber && pageNumbers[pageNumbers.length - 1] !== numberOfPages ? makePageButton({\n      number: numberOfPages\n    }, -1) : h()); // Goto next page button\n\n    $buttons.push(makeEndBtn(currentPage + 1, this.labelNextPage, SLOT_NAME_NEXT_TEXT, this.nextText, this.nextClass, numberOfPages, 'pagination-goto-next')); // Goto last page button\n    // Don't render button when `hideGotoEndButtons` or `lastNumber` is set\n\n    var $lastPageBtn = h();\n\n    if (!this.lastNumber && !this.hideGotoEndButtons) {\n      $lastPageBtn = makeEndBtn(numberOfPages, this.labelLastPage, SLOT_NAME_LAST_TEXT, this.lastText, this.lastClass, numberOfPages, 'pagination-goto-last');\n    }\n\n    $buttons.push($lastPageBtn); // Assemble the pagination buttons\n\n    var $pagination = h('ul', {\n      staticClass: 'pagination',\n      class: ['b-pagination', this.btnSize, this.alignment, this.styleClass],\n      attrs: {\n        role: isNav ? null : 'menubar',\n        'aria-disabled': disabled ? 'true' : 'false',\n        'aria-label': isNav ? null : ariaLabel || null\n      },\n      // We disable keyboard left/right nav when `<b-pagination-nav>`\n      on: isNav ? {} : {\n        keydown: this.handleKeyNav\n      },\n      ref: 'ul'\n    }, $buttons); // If we are `<b-pagination-nav>`, wrap in `<nav>` wrapper\n\n    if (isNav) {\n      return h('nav', {\n        attrs: {\n          'aria-disabled': disabled ? 'true' : null,\n          'aria-hidden': disabled ? 'true' : 'false',\n          'aria-label': isNav ? ariaLabel || null : null\n        }\n      }, [$pagination]);\n    }\n\n    return $pagination;\n  }\n});","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue } from '../../vue';\nimport { NAME_PAGINATION } from '../../constants/components';\nimport { EVENT_NAME_CHANGE, EVENT_NAME_PAGE_CLICK } from '../../constants/events';\nimport { PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { BvEvent } from '../../utils/bv-event.class';\nimport { attemptFocus, isVisible } from '../../utils/dom';\nimport { isUndefinedOrNull } from '../../utils/inspect';\nimport { mathCeil, mathMax } from '../../utils/math';\nimport { toInteger } from '../../utils/number';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { MODEL_PROP_NAME, paginationMixin, props as paginationProps } from '../../mixins/pagination'; // --- Constants ---\n\nvar DEFAULT_PER_PAGE = 20;\nvar DEFAULT_TOTAL_ROWS = 0; // --- Helper methods ---\n// Sanitize the provided per page number (converting to a number)\n\nvar sanitizePerPage = function sanitizePerPage(value) {\n  return mathMax(toInteger(value) || DEFAULT_PER_PAGE, 1);\n}; // Sanitize the provided total rows number (converting to a number)\n\n\nvar sanitizeTotalRows = function sanitizeTotalRows(value) {\n  return mathMax(toInteger(value) || DEFAULT_TOTAL_ROWS, 0);\n}; // --- Props ---\n\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, paginationProps), {}, {\n  ariaControls: makeProp(PROP_TYPE_STRING),\n  perPage: makeProp(PROP_TYPE_NUMBER_STRING, DEFAULT_PER_PAGE),\n  totalRows: makeProp(PROP_TYPE_NUMBER_STRING, DEFAULT_TOTAL_ROWS)\n})), NAME_PAGINATION); // --- Main component ---\n// @vue/component\n\nexport var BPagination = /*#__PURE__*/Vue.extend({\n  name: NAME_PAGINATION,\n  // The render function is brought in via the `paginationMixin`\n  mixins: [paginationMixin],\n  props: props,\n  computed: {\n    numberOfPages: function numberOfPages() {\n      var result = mathCeil(sanitizeTotalRows(this.totalRows) / sanitizePerPage(this.perPage));\n      return result < 1 ? 1 : result;\n    },\n    // Used for watching changes to `perPage` and `numberOfPages`\n    pageSizeNumberOfPages: function pageSizeNumberOfPages() {\n      return {\n        perPage: sanitizePerPage(this.perPage),\n        totalRows: sanitizeTotalRows(this.totalRows),\n        numberOfPages: this.numberOfPages\n      };\n    }\n  },\n  watch: {\n    pageSizeNumberOfPages: function pageSizeNumberOfPages(newValue, oldValue) {\n      if (!isUndefinedOrNull(oldValue)) {\n        if (newValue.perPage !== oldValue.perPage && newValue.totalRows === oldValue.totalRows) {\n          // If the page size changes, reset to page 1\n          this.currentPage = 1;\n        } else if (newValue.numberOfPages !== oldValue.numberOfPages && this.currentPage > newValue.numberOfPages) {\n          // If `numberOfPages` changes and is less than\n          // the `currentPage` number, reset to page 1\n          this.currentPage = 1;\n        }\n      }\n\n      this.localNumberOfPages = newValue.numberOfPages;\n    }\n  },\n  created: function created() {\n    var _this = this;\n\n    // Set the initial page count\n    this.localNumberOfPages = this.numberOfPages; // Set the initial page value\n\n    var currentPage = toInteger(this[MODEL_PROP_NAME], 0);\n\n    if (currentPage > 0) {\n      this.currentPage = currentPage;\n    } else {\n      this.$nextTick(function () {\n        // If this value parses to `NaN` or a value less than `1`\n        // trigger an initial emit of `null` if no page specified\n        _this.currentPage = 0;\n      });\n    }\n  },\n  methods: {\n    // These methods are used by the render function\n    onClick: function onClick(event, pageNumber) {\n      var _this2 = this;\n\n      // Dont do anything if clicking the current active page\n      if (pageNumber === this.currentPage) {\n        return;\n      }\n\n      var target = event.target; // Emit a user-cancelable `page-click` event\n\n      var clickEvent = new BvEvent(EVENT_NAME_PAGE_CLICK, {\n        cancelable: true,\n        vueTarget: this,\n        target: target\n      });\n      this.$emit(clickEvent.type, clickEvent, pageNumber);\n\n      if (clickEvent.defaultPrevented) {\n        return;\n      } // Update the `v-model`\n\n\n      this.currentPage = pageNumber; // Emit event triggered by user interaction\n\n      this.$emit(EVENT_NAME_CHANGE, this.currentPage); // Keep the current button focused if possible\n\n      this.$nextTick(function () {\n        if (isVisible(target) && _this2.$el.contains(target)) {\n          attemptFocus(target);\n        } else {\n          _this2.focusCurrent();\n        }\n      });\n    },\n    makePage: function makePage(pageNum) {\n      return pageNum;\n    },\n\n    /* istanbul ignore next */\n    linkProps: function linkProps() {\n      // No props, since we render a plain button\n      return {};\n    }\n  }\n});","\n    var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"CountStartupsInNetworkOfUserByEmail\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userEmail\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users_associationtable_aggregate\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}}}]}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"users_organizationtable\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"users_associationtables\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"users_customuser\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userEmail\"}}}]}}]}}]}}]}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"aggregate\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"count\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetIncubatorDetails\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"incubator\"},\"name\":{\"kind\":\"Name\",\"value\":\"users_organizationtable_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"title\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"official_email\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"logo\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"official_phone\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"url\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"industry\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"startup_stage\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"city\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"state\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"country\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"founded_on\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"address_line_1\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"address_line_2\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"postal_code\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"key_people\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"notable_startups\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"grants_offered\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"academic_affiliation\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetIncubatorMembers\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"defaultValue\":{\"kind\":\"StringValue\",\"value\":\"incubator_admin\",\"block\":false},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users_associationtable\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}}}]}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}}}]}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"order_by\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"created_at\"},\"value\":{\"kind\":\"EnumValue\",\"value\":\"desc\"}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"organization_id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"created_at\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updated_at\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users_customuser\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"full_name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":1253}};\n    doc.loc.source = {\"body\":\"\\nquery CountStartupsInNetworkOfUserByEmail($incubatorId:bigint!, $userEmail:String!){\\n    users_associationtable_aggregate(where: {incubator_id: {_eq: $incubatorId}, users_organizationtable: {users_associationtables: {users_customuser: {email: {_eq: $userEmail}}}}}) {\\n        aggregate {\\n            count\\n        }\\n    }\\n}\\n\\nquery GetIncubatorDetails($incubatorId: bigint!) {\\n    incubator: users_organizationtable_by_pk(id: $incubatorId) {\\n        title,\\n        description,\\n        official_email,\\n        logo,\\n        official_phone,\\n        url,\\n        industry,\\n        startup_stage,\\n        city,\\n        state,\\n        country,\\n        founded_on,\\n        address_line_1,\\n        address_line_2,\\n        postal_code,\\n        key_people,\\n        notable_startups,\\n        grants_offered,\\n        academic_affiliation,\\n    }\\n}\\n\\nquery GetIncubatorMembers($incubatorId: bigint!, $role: String = \\\"incubator_admin\\\") {\\n    users_associationtable(where: { incubator_id: { _eq: $incubatorId }, role: { _eq: $role } }, order_by: { created_at: desc }) {\\n        id\\n        organization_id\\n        incubator_id\\n        created_at\\n        updated_at\\n        designation\\n        users_customuser{\\n            full_name\\n            email\\n        }\\n    }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n  \n\n    var names = {};\n    function unique(defs) {\n      return defs.filter(\n        function(def) {\n          if (def.kind !== 'FragmentDefinition') return true;\n          var name = def.name.value\n          if (names[name]) {\n            return false;\n          } else {\n            names[name] = true;\n            return true;\n          }\n        }\n      )\n    }\n  \n\n    // Collect any fragment/type references from a node, adding them to the refs Set\n    function collectFragmentReferences(node, refs) {\n      if (node.kind === \"FragmentSpread\") {\n        refs.add(node.name.value);\n      } else if (node.kind === \"VariableDefinition\") {\n        var type = node.type;\n        if (type.kind === \"NamedType\") {\n          refs.add(type.name.value);\n        }\n      }\n\n      if (node.selectionSet) {\n        node.selectionSet.selections.forEach(function(selection) {\n          collectFragmentReferences(selection, refs);\n        });\n      }\n\n      if (node.variableDefinitions) {\n        node.variableDefinitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n\n      if (node.definitions) {\n        node.definitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n    }\n\n    var definitionRefs = {};\n    (function extractReferences() {\n      doc.definitions.forEach(function(def) {\n        if (def.name) {\n          var refs = new Set();\n          collectFragmentReferences(def, refs);\n          definitionRefs[def.name.value] = refs;\n        }\n      });\n    })();\n\n    function findOperation(doc, name) {\n      for (var i = 0; i < doc.definitions.length; i++) {\n        var element = doc.definitions[i];\n        if (element.name && element.name.value == name) {\n          return element;\n        }\n      }\n    }\n\n    function oneQuery(doc, operationName) {\n      // Copy the DocumentNode, but clear out the definitions\n      var newDoc = {\n        kind: doc.kind,\n        definitions: [findOperation(doc, operationName)]\n      };\n      if (doc.hasOwnProperty(\"loc\")) {\n        newDoc.loc = doc.loc;\n      }\n\n      // Now, for the operation we're running, find any fragments referenced by\n      // it or the fragments it references\n      var opRefs = definitionRefs[operationName] || new Set();\n      var allRefs = new Set();\n      var newRefs = new Set();\n\n      // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n      opRefs.forEach(function(refName) {\n        newRefs.add(refName);\n      });\n\n      while (newRefs.size > 0) {\n        var prevRefs = newRefs;\n        newRefs = new Set();\n\n        prevRefs.forEach(function(refName) {\n          if (!allRefs.has(refName)) {\n            allRefs.add(refName);\n            var childRefs = definitionRefs[refName] || new Set();\n            childRefs.forEach(function(childRef) {\n              newRefs.add(childRef);\n            });\n          }\n        });\n      }\n\n      allRefs.forEach(function(refName) {\n        var op = findOperation(doc, refName);\n        if (op) {\n          newDoc.definitions.push(op);\n        }\n      });\n\n      return newDoc;\n    }\n    \n    module.exports = doc;\n    \n        module.exports[\"CountStartupsInNetworkOfUserByEmail\"] = oneQuery(doc, \"CountStartupsInNetworkOfUserByEmail\");\n        \n        module.exports[\"GetIncubatorDetails\"] = oneQuery(doc, \"GetIncubatorDetails\");\n        \n        module.exports[\"GetIncubatorMembers\"] = oneQuery(doc, \"GetIncubatorMembers\");\n        \n","import { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_ADDON } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupText } from './input-group-text'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n  append: makeProp(PROP_TYPE_BOOLEAN, false),\n  id: makeProp(PROP_TYPE_STRING),\n  isText: makeProp(PROP_TYPE_BOOLEAN, false),\n  tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP_ADDON); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupAddon = /*#__PURE__*/Vue.extend({\n  name: NAME_INPUT_GROUP_ADDON,\n  functional: true,\n  props: props,\n  render: function render(h, _ref) {\n    var props = _ref.props,\n        data = _ref.data,\n        children = _ref.children;\n    var append = props.append;\n    return h(props.tag, mergeData(data, {\n      class: {\n        'input-group-append': append,\n        'input-group-prepend': !append\n      },\n      attrs: {\n        id: props.id\n      }\n    }), props.isText ? [h(BInputGroupText, children)] : children);\n  }\n});","\n    var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"JoinIncubatorAsNetworkStartup\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"startupId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"insert_users_associationtable_one\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"object\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"organization_id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"startupId\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"},\"value\":{\"kind\":\"StringValue\",\"value\":\"network_startup\",\"block\":false}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"on_conflict\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"constraint\"},\"value\":{\"kind\":\"EnumValue\",\"value\":\"users_associationtable_organization_id_incubator_id_user_id_nor\"}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"update_columns\"},\"value\":{\"kind\":\"ListValue\",\"values\":[]}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateDesignation\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"assocId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"update_users_associationtable_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"pk_columns\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"assocId\"}}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"_set\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"}}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":605}};\n    doc.loc.source = {\"body\":\"mutation JoinIncubatorAsNetworkStartup($incubatorId: bigint!, $startupId: bigint!) {\\n    insert_users_associationtable_one(\\n        object: {\\n            organization_id: $startupId,\\n            incubator_id: $incubatorId,\\n            role: \\\"network_startup\\\",\\n        }, on_conflict: {constraint: users_associationtable_organization_id_incubator_id_user_id_nor, update_columns: []}\\n    ) {\\n        id\\n    }\\n}\\n\\nmutation UpdateDesignation($assocId: bigint!, $designation: String!) {\\n    update_users_associationtable_by_pk(pk_columns: {id: $assocId}, _set: {designation: $designation}) {\\n        id\\n    }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n  \n\n    var names = {};\n    function unique(defs) {\n      return defs.filter(\n        function(def) {\n          if (def.kind !== 'FragmentDefinition') return true;\n          var name = def.name.value\n          if (names[name]) {\n            return false;\n          } else {\n            names[name] = true;\n            return true;\n          }\n        }\n      )\n    }\n  \n\n    // Collect any fragment/type references from a node, adding them to the refs Set\n    function collectFragmentReferences(node, refs) {\n      if (node.kind === \"FragmentSpread\") {\n        refs.add(node.name.value);\n      } else if (node.kind === \"VariableDefinition\") {\n        var type = node.type;\n        if (type.kind === \"NamedType\") {\n          refs.add(type.name.value);\n        }\n      }\n\n      if (node.selectionSet) {\n        node.selectionSet.selections.forEach(function(selection) {\n          collectFragmentReferences(selection, refs);\n        });\n      }\n\n      if (node.variableDefinitions) {\n        node.variableDefinitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n\n      if (node.definitions) {\n        node.definitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n    }\n\n    var definitionRefs = {};\n    (function extractReferences() {\n      doc.definitions.forEach(function(def) {\n        if (def.name) {\n          var refs = new Set();\n          collectFragmentReferences(def, refs);\n          definitionRefs[def.name.value] = refs;\n        }\n      });\n    })();\n\n    function findOperation(doc, name) {\n      for (var i = 0; i < doc.definitions.length; i++) {\n        var element = doc.definitions[i];\n        if (element.name && element.name.value == name) {\n          return element;\n        }\n      }\n    }\n\n    function oneQuery(doc, operationName) {\n      // Copy the DocumentNode, but clear out the definitions\n      var newDoc = {\n        kind: doc.kind,\n        definitions: [findOperation(doc, operationName)]\n      };\n      if (doc.hasOwnProperty(\"loc\")) {\n        newDoc.loc = doc.loc;\n      }\n\n      // Now, for the operation we're running, find any fragments referenced by\n      // it or the fragments it references\n      var opRefs = definitionRefs[operationName] || new Set();\n      var allRefs = new Set();\n      var newRefs = new Set();\n\n      // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n      opRefs.forEach(function(refName) {\n        newRefs.add(refName);\n      });\n\n      while (newRefs.size > 0) {\n        var prevRefs = newRefs;\n        newRefs = new Set();\n\n        prevRefs.forEach(function(refName) {\n          if (!allRefs.has(refName)) {\n            allRefs.add(refName);\n            var childRefs = definitionRefs[refName] || new Set();\n            childRefs.forEach(function(childRef) {\n              newRefs.add(childRef);\n            });\n          }\n        });\n      }\n\n      allRefs.forEach(function(refName) {\n        var op = findOperation(doc, refName);\n        if (op) {\n          newDoc.definitions.push(op);\n        }\n      });\n\n      return newDoc;\n    }\n    \n    module.exports = doc;\n    \n        module.exports[\"JoinIncubatorAsNetworkStartup\"] = oneQuery(doc, \"JoinIncubatorAsNetworkStartup\");\n        \n        module.exports[\"UpdateDesignation\"] = oneQuery(doc, \"UpdateDesignation\");\n        \n","\n    var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetUserByEmail\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"users_customuser\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_eq\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"}}}]}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"limit\"},\"value\":{\"kind\":\"IntValue\",\"value\":\"1\"}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"full_name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetProfileIdByUserId\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"user\"},\"name\":{\"kind\":\"Name\",\"value\":\"users_customuser_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile_id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"GetUserProfileByUserId\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"user\"},\"name\":{\"kind\":\"Name\",\"value\":\"users_customuser_by_pk\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"name\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"bio\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"website\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"avatar_s3_key\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"official_phone\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"official_email\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"social\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"experience\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"expertise\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"interests\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"ListOptionsForInterests\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"customerType\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_customer_type\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"fundingStage\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_funding_stage\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"industry\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_industry\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"where\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"_neq\"},\"value\":{\"kind\":\"StringValue\",\"value\":\"AGNOSTIC\",\"block\":false}}]}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"startupStage\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_startup_stage\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"offeringsType\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_offerings_type\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}},{\"kind\":\"Field\",\"alias\":{\"kind\":\"Name\",\"value\":\"lifecycleStage\"},\"name\":{\"kind\":\"Name\",\"value\":\"common_lifecycle_stage\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"value\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"description\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":1261}};\n    doc.loc.source = {\"body\":\"\\nquery GetUserByEmail($email: String!) {\\n    users_customuser(\\n        where: { email: { _eq: $email } },\\n        limit: 1\\n    ) {\\n        full_name\\n        email\\n        role\\n        id\\n    }\\n}\\n\\nquery GetProfileIdByUserId($userId: bigint!) {\\n    user: users_customuser_by_pk(id: $userId) {\\n        profile {\\n            profile_id\\n        }\\n    }\\n}\\n\\nquery GetUserProfileByUserId($userId: bigint!) {\\n    user: users_customuser_by_pk(id: $userId) {\\n        profile {\\n            name\\n            bio\\n            website\\n            avatar_s3_key\\n            official_phone\\n            official_email\\n            social\\n            experience\\n            expertise\\n            interests\\n        }\\n    }\\n}\\n\\nquery ListOptionsForInterests {\\n    customerType: common_customer_type {\\n        value\\n        description\\n    }\\n    fundingStage: common_funding_stage {\\n        value\\n        description\\n    }\\n    industry: common_industry(where: { value: { _neq: \\\"AGNOSTIC\\\" } }) {\\n        value\\n        description\\n    }\\n    startupStage: common_startup_stage {\\n        value\\n        description\\n    }\\n    offeringsType: common_offerings_type {\\n        value\\n        description\\n    }\\n    lifecycleStage: common_lifecycle_stage {\\n        value\\n        description\\n    }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n  \n\n    var names = {};\n    function unique(defs) {\n      return defs.filter(\n        function(def) {\n          if (def.kind !== 'FragmentDefinition') return true;\n          var name = def.name.value\n          if (names[name]) {\n            return false;\n          } else {\n            names[name] = true;\n            return true;\n          }\n        }\n      )\n    }\n  \n\n    // Collect any fragment/type references from a node, adding them to the refs Set\n    function collectFragmentReferences(node, refs) {\n      if (node.kind === \"FragmentSpread\") {\n        refs.add(node.name.value);\n      } else if (node.kind === \"VariableDefinition\") {\n        var type = node.type;\n        if (type.kind === \"NamedType\") {\n          refs.add(type.name.value);\n        }\n      }\n\n      if (node.selectionSet) {\n        node.selectionSet.selections.forEach(function(selection) {\n          collectFragmentReferences(selection, refs);\n        });\n      }\n\n      if (node.variableDefinitions) {\n        node.variableDefinitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n\n      if (node.definitions) {\n        node.definitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n    }\n\n    var definitionRefs = {};\n    (function extractReferences() {\n      doc.definitions.forEach(function(def) {\n        if (def.name) {\n          var refs = new Set();\n          collectFragmentReferences(def, refs);\n          definitionRefs[def.name.value] = refs;\n        }\n      });\n    })();\n\n    function findOperation(doc, name) {\n      for (var i = 0; i < doc.definitions.length; i++) {\n        var element = doc.definitions[i];\n        if (element.name && element.name.value == name) {\n          return element;\n        }\n      }\n    }\n\n    function oneQuery(doc, operationName) {\n      // Copy the DocumentNode, but clear out the definitions\n      var newDoc = {\n        kind: doc.kind,\n        definitions: [findOperation(doc, operationName)]\n      };\n      if (doc.hasOwnProperty(\"loc\")) {\n        newDoc.loc = doc.loc;\n      }\n\n      // Now, for the operation we're running, find any fragments referenced by\n      // it or the fragments it references\n      var opRefs = definitionRefs[operationName] || new Set();\n      var allRefs = new Set();\n      var newRefs = new Set();\n\n      // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n      opRefs.forEach(function(refName) {\n        newRefs.add(refName);\n      });\n\n      while (newRefs.size > 0) {\n        var prevRefs = newRefs;\n        newRefs = new Set();\n\n        prevRefs.forEach(function(refName) {\n          if (!allRefs.has(refName)) {\n            allRefs.add(refName);\n            var childRefs = definitionRefs[refName] || new Set();\n            childRefs.forEach(function(childRef) {\n              newRefs.add(childRef);\n            });\n          }\n        });\n      }\n\n      allRefs.forEach(function(refName) {\n        var op = findOperation(doc, refName);\n        if (op) {\n          newDoc.definitions.push(op);\n        }\n      });\n\n      return newDoc;\n    }\n    \n    module.exports = doc;\n    \n        module.exports[\"GetUserByEmail\"] = oneQuery(doc, \"GetUserByEmail\");\n        \n        module.exports[\"GetProfileIdByUserId\"] = oneQuery(doc, \"GetProfileIdByUserId\");\n        \n        module.exports[\"GetUserProfileByUserId\"] = oneQuery(doc, \"GetUserProfileByUserId\");\n        \n        module.exports[\"ListOptionsForInterests\"] = oneQuery(doc, \"ListOptionsForInterests\");\n        \n","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_PREPEND } from '../../constants/components';\nimport { omit } from '../../utils/object';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAddon, props as BInputGroupAddonProps } from './input-group-addon'; // --- Props ---\n\nexport var props = makePropsConfigurable(omit(BInputGroupAddonProps, ['append']), NAME_INPUT_GROUP_PREPEND); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupPrepend = /*#__PURE__*/Vue.extend({\n  name: NAME_INPUT_GROUP_PREPEND,\n  functional: true,\n  props: props,\n  render: function render(h, _ref) {\n    var props = _ref.props,\n        data = _ref.data,\n        children = _ref.children;\n    // Pass all our data down to child, and set `append` to `true`\n    return h(BInputGroupAddon, mergeData(data, {\n      props: _objectSpread(_objectSpread({}, props), {}, {\n        append: false\n      })\n    }), children);\n  }\n});","function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_APPEND, SLOT_NAME_DEFAULT, SLOT_NAME_PREPEND } from '../../constants/slots';\nimport { htmlOrText } from '../../utils/html';\nimport { hasNormalizedSlot, normalizeSlot } from '../../utils/normalize-slot';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAppend } from './input-group-append';\nimport { BInputGroupPrepend } from './input-group-prepend';\nimport { BInputGroupText } from './input-group-text'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n  append: makeProp(PROP_TYPE_STRING),\n  appendHtml: makeProp(PROP_TYPE_STRING),\n  id: makeProp(PROP_TYPE_STRING),\n  prepend: makeProp(PROP_TYPE_STRING),\n  prependHtml: makeProp(PROP_TYPE_STRING),\n  size: makeProp(PROP_TYPE_STRING),\n  tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP); // --- Main component ---\n// @vue/component\n\nexport var BInputGroup = /*#__PURE__*/Vue.extend({\n  name: NAME_INPUT_GROUP,\n  functional: true,\n  props: props,\n  render: function render(h, _ref) {\n    var props = _ref.props,\n        data = _ref.data,\n        slots = _ref.slots,\n        scopedSlots = _ref.scopedSlots;\n    var prepend = props.prepend,\n        prependHtml = props.prependHtml,\n        append = props.append,\n        appendHtml = props.appendHtml,\n        size = props.size;\n    var $scopedSlots = scopedSlots || {};\n    var $slots = slots();\n    var slotScope = {};\n    var $prepend = h();\n    var hasPrependSlot = hasNormalizedSlot(SLOT_NAME_PREPEND, $scopedSlots, $slots);\n\n    if (hasPrependSlot || prepend || prependHtml) {\n      $prepend = h(BInputGroupPrepend, [hasPrependSlot ? normalizeSlot(SLOT_NAME_PREPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {\n        domProps: htmlOrText(prependHtml, prepend)\n      })]);\n    }\n\n    var $append = h();\n    var hasAppendSlot = hasNormalizedSlot(SLOT_NAME_APPEND, $scopedSlots, $slots);\n\n    if (hasAppendSlot || append || appendHtml) {\n      $append = h(BInputGroupAppend, [hasAppendSlot ? normalizeSlot(SLOT_NAME_APPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {\n        domProps: htmlOrText(appendHtml, append)\n      })]);\n    }\n\n    return h(props.tag, mergeData(data, {\n      staticClass: 'input-group',\n      class: _defineProperty({}, \"input-group-\".concat(size), size),\n      attrs: {\n        id: props.id || null,\n        role: 'group'\n      }\n    }), [$prepend, normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots), $append]);\n  }\n});","\n    var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"AddIncubatorAdmin\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}}},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}},\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"String\"}},\"defaultValue\":{\"kind\":\"StringValue\",\"value\":\"invited\",\"block\":false},\"directives\":[]},{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"bigint\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"insert_users_associationtable_one\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"object\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"incubator_id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"incubatorId\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"designation\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"role\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"status\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"user_id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"userId\"}}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"is_deleted\"},\"value\":{\"kind\":\"BooleanValue\",\"value\":false}}]}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"on_conflict\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"constraint\"},\"value\":{\"kind\":\"EnumValue\",\"value\":\"users_associationtable_organization_id_incubator_id_user_id_nor\"}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"update_columns\"},\"value\":{\"kind\":\"ListValue\",\"values\":[{\"kind\":\"EnumValue\",\"value\":\"status\"},{\"kind\":\"EnumValue\",\"value\":\"is_deleted\"},{\"kind\":\"EnumValue\",\"value\":\"designation\"}]}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateIncubatorDetails\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"object\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"users_organizationtable_insert_input\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"insert_users_organizationtable_one\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"object\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"object\"}}},{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"on_conflict\"},\"value\":{\"kind\":\"ObjectValue\",\"fields\":[{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"constraint\"},\"value\":{\"kind\":\"EnumValue\",\"value\":\"users_organizationtable_pkey\"}},{\"kind\":\"ObjectField\",\"name\":{\"kind\":\"Name\",\"value\":\"update_columns\"},\"value\":{\"kind\":\"ListValue\",\"values\":[{\"kind\":\"EnumValue\",\"value\":\"title\"},{\"kind\":\"EnumValue\",\"value\":\"description\"},{\"kind\":\"EnumValue\",\"value\":\"official_email\"},{\"kind\":\"EnumValue\",\"value\":\"logo\"},{\"kind\":\"EnumValue\",\"value\":\"official_phone\"},{\"kind\":\"EnumValue\",\"value\":\"url\"},{\"kind\":\"EnumValue\",\"value\":\"industry\"},{\"kind\":\"EnumValue\",\"value\":\"startup_stage\"},{\"kind\":\"EnumValue\",\"value\":\"city\"},{\"kind\":\"EnumValue\",\"value\":\"state\"},{\"kind\":\"EnumValue\",\"value\":\"country\"},{\"kind\":\"EnumValue\",\"value\":\"founded_on\"},{\"kind\":\"EnumValue\",\"value\":\"address_line_1\"},{\"kind\":\"EnumValue\",\"value\":\"address_line_2\"},{\"kind\":\"EnumValue\",\"value\":\"postal_code\"},{\"kind\":\"EnumValue\",\"value\":\"key_people\"},{\"kind\":\"EnumValue\",\"value\":\"notable_startups\"},{\"kind\":\"EnumValue\",\"value\":\"grants_offered\"},{\"kind\":\"EnumValue\",\"value\":\"academic_affiliation\"}]}}]}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}],\"loc\":{\"start\":0,\"end\":1417}};\n    doc.loc.source = {\"body\":\"mutation AddIncubatorAdmin($incubatorId: bigint!, $designation: String!, $role: String!, $status: String = \\\"invited\\\", $userId: bigint!) {\\n    # Handles duplicate entries by updating status for existing user-incubator-role combinations\\n    insert_users_associationtable_one(object: { incubator_id: $incubatorId, designation: $designation, role: $role, status: $status, user_id: $userId, is_deleted: false }, on_conflict: { constraint: users_associationtable_organization_id_incubator_id_user_id_nor, update_columns: [status,is_deleted,designation] }) {\\n        id\\n    }\\n}\\n\\n\\nmutation UpdateIncubatorDetails($object: users_organizationtable_insert_input!) {\\n    insert_users_organizationtable_one(\\n        object: $object,\\n        on_conflict: {\\n            constraint: users_organizationtable_pkey,\\n            update_columns: [\\n                title,\\n                description,\\n                official_email,\\n                logo,\\n                official_phone,\\n                url,\\n                industry,\\n                startup_stage,\\n                city,\\n                state,\\n                country,\\n                founded_on,\\n                address_line_1,\\n                address_line_2,\\n                postal_code,\\n                key_people,\\n                notable_startups,\\n                grants_offered,\\n                academic_affiliation,\\n            ]\\n        }\\n    ) {\\n        id\\n    }\\n}\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n  \n\n    var names = {};\n    function unique(defs) {\n      return defs.filter(\n        function(def) {\n          if (def.kind !== 'FragmentDefinition') return true;\n          var name = def.name.value\n          if (names[name]) {\n            return false;\n          } else {\n            names[name] = true;\n            return true;\n          }\n        }\n      )\n    }\n  \n\n    // Collect any fragment/type references from a node, adding them to the refs Set\n    function collectFragmentReferences(node, refs) {\n      if (node.kind === \"FragmentSpread\") {\n        refs.add(node.name.value);\n      } else if (node.kind === \"VariableDefinition\") {\n        var type = node.type;\n        if (type.kind === \"NamedType\") {\n          refs.add(type.name.value);\n        }\n      }\n\n      if (node.selectionSet) {\n        node.selectionSet.selections.forEach(function(selection) {\n          collectFragmentReferences(selection, refs);\n        });\n      }\n\n      if (node.variableDefinitions) {\n        node.variableDefinitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n\n      if (node.definitions) {\n        node.definitions.forEach(function(def) {\n          collectFragmentReferences(def, refs);\n        });\n      }\n    }\n\n    var definitionRefs = {};\n    (function extractReferences() {\n      doc.definitions.forEach(function(def) {\n        if (def.name) {\n          var refs = new Set();\n          collectFragmentReferences(def, refs);\n          definitionRefs[def.name.value] = refs;\n        }\n      });\n    })();\n\n    function findOperation(doc, name) {\n      for (var i = 0; i < doc.definitions.length; i++) {\n        var element = doc.definitions[i];\n        if (element.name && element.name.value == name) {\n          return element;\n        }\n      }\n    }\n\n    function oneQuery(doc, operationName) {\n      // Copy the DocumentNode, but clear out the definitions\n      var newDoc = {\n        kind: doc.kind,\n        definitions: [findOperation(doc, operationName)]\n      };\n      if (doc.hasOwnProperty(\"loc\")) {\n        newDoc.loc = doc.loc;\n      }\n\n      // Now, for the operation we're running, find any fragments referenced by\n      // it or the fragments it references\n      var opRefs = definitionRefs[operationName] || new Set();\n      var allRefs = new Set();\n      var newRefs = new Set();\n\n      // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n      opRefs.forEach(function(refName) {\n        newRefs.add(refName);\n      });\n\n      while (newRefs.size > 0) {\n        var prevRefs = newRefs;\n        newRefs = new Set();\n\n        prevRefs.forEach(function(refName) {\n          if (!allRefs.has(refName)) {\n            allRefs.add(refName);\n            var childRefs = definitionRefs[refName] || new Set();\n            childRefs.forEach(function(childRef) {\n              newRefs.add(childRef);\n            });\n          }\n        });\n      }\n\n      allRefs.forEach(function(refName) {\n        var op = findOperation(doc, refName);\n        if (op) {\n          newDoc.definitions.push(op);\n        }\n      });\n\n      return newDoc;\n    }\n    \n    module.exports = doc;\n    \n        module.exports[\"AddIncubatorAdmin\"] = oneQuery(doc, \"AddIncubatorAdmin\");\n        \n        module.exports[\"UpdateIncubatorDetails\"] = oneQuery(doc, \"UpdateIncubatorDetails\");\n        \n","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n  splice: function splice(start, deleteCount /* , ...items */) {\n    var O = toObject(this);\n    var len = toLength(O.length);\n    var actualStart = toAbsoluteIndex(start, len);\n    var argumentsLength = arguments.length;\n    var insertCount, actualDeleteCount, A, k, from, to;\n    if (argumentsLength === 0) {\n      insertCount = actualDeleteCount = 0;\n    } else if (argumentsLength === 1) {\n      insertCount = 0;\n      actualDeleteCount = len - actualStart;\n    } else {\n      insertCount = argumentsLength - 2;\n      actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n    }\n    if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n      throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n    }\n    A = arraySpeciesCreate(O, actualDeleteCount);\n    for (k = 0; k < actualDeleteCount; k++) {\n      from = actualStart + k;\n      if (from in O) createProperty(A, k, O[from]);\n    }\n    A.length = actualDeleteCount;\n    if (insertCount < actualDeleteCount) {\n      for (k = actualStart; k < len - actualDeleteCount; k++) {\n        from = k + actualDeleteCount;\n        to = k + insertCount;\n        if (from in O) O[to] = O[from];\n        else delete O[to];\n      }\n      for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n    } else if (insertCount > actualDeleteCount) {\n      for (k = len - actualDeleteCount; k > actualStart; k--) {\n        from = k + actualDeleteCount - 1;\n        to = k + insertCount - 1;\n        if (from in O) O[to] = O[from];\n        else delete O[to];\n      }\n    }\n    for (k = 0; k < insertCount; k++) {\n      O[k + actualStart] = arguments[k + 2];\n    }\n    O.length = len - actualDeleteCount + insertCount;\n    return A;\n  }\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"editableText\",staticClass:\"editable-text\"},[(!_vm.isEditing)?_c('div',{staticClass:\"d-flex align-items-center\"},[_c('span',[_vm._v(_vm._s(_vm.displayValue))]),_c('b-button',{staticClass:\"ml-auto px-1 py-0\",attrs:{\"aria-label\":\"Edit\",\"variant\":\"link\",\"disabled\":_vm.disabled},on:{\"click\":function($event){$event.stopPropagation();return _vm.enableEditing.apply(null, arguments)}}},[_c('feather-icon',{attrs:{\"aria-hidden\":\"true\",\"icon\":\"Edit2Icon\"}})],1)],1):_c('div',[_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-input-group',{scopedSlots:_vm._u([{key:\"append\",fn:function(){return [_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",value:({ title: 'Save', delay: { show: 600, hide: 0 } }),expression:\"{ title: 'Save', delay: { show: 600, hide: 0 } }\",modifiers:{\"hover\":true}}],staticClass:\"px-1\",attrs:{\"aria-label\":\"Save\",\"size\":\"sm\",\"variant\":\"outline-primary\"},on:{\"click\":_vm.save}},[_c('feather-icon',{attrs:{\"icon\":\"CheckIcon\"}})],1)]},proxy:true}])},[_c('b-form-input',{ref:\"inputField\",staticClass:\"font-medium-1 py-0\",attrs:{\"aria-label\":\"Edit text\"},on:{\"keyup\":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.save.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.cancel.apply(null, arguments)}]},model:{value:(_vm.currentValue),callback:function ($$v) {_vm.currentValue=$$v},expression:\"currentValue\"}})],1)],1),(_vm.hasChanged)?_c('small',{staticClass:\"text-muted\"},[_vm._v(\" Previous value: \"+_vm._s(_vm.previousValue)+\" \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div\n    ref=\"editableText\"\n    class=\"editable-text\"\n  >\n    <!-- Display Mode -->\n    <div\n      v-if=\"!isEditing\"\n      class=\"d-flex align-items-center\"\n    >\n      <span>{{ displayValue }}</span>\n      <b-button\n        aria-label=\"Edit\"\n        class=\"ml-auto px-1 py-0\"\n        variant=\"link\"\n        :disabled=\"disabled\"\n        @click.stop=\"enableEditing\"\n      >\n        <feather-icon\n          aria-hidden=\"true\"\n          icon=\"Edit2Icon\"\n        />\n      </b-button>\n    </div>\n\n    <!-- Edit Mode -->\n    <div\n      v-else\n    >\n      <div class=\"d-flex align-items-center\">\n        <b-input-group>\n          <b-form-input\n            ref=\"inputField\"\n            v-model=\"currentValue\"\n            class=\"font-medium-1 py-0\"\n            aria-label=\"Edit text\"\n            @keyup.enter=\"save\"\n            @keyup.esc=\"cancel\"\n          />\n          <template #append>\n            <b-button\n              v-b-tooltip.hover=\"{ title: 'Save', delay: { show: 600, hide: 0 } }\"\n              aria-label=\"Save\"\n              class=\"px-1\"\n              size=\"sm\"\n              variant=\"outline-primary\"\n              @click=\"save\"\n            >\n              <feather-icon icon=\"CheckIcon\" />\n            </b-button>\n          </template>\n        </b-input-group>\n      </div>\n      <small\n        v-if=\"hasChanged\"\n        class=\"text-muted\"\n      >\n        Previous value: {{ previousValue }}\n      </small>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { BFormInput, BButton, BInputGroup } from 'bootstrap-vue'\n\nexport default {\n  name: 'EditableText',\n  components: {\n    BInputGroup,\n    BFormInput,\n    BButton,\n  },\n  props: {\n    value: {\n      type: String,\n      required: true,\n    },\n    /**\n     * When true, prevents the text from being edited\n     */\n    disabled: {\n      type: Boolean,\n      default: false,\n    },\n  },\n  data() {\n    return {\n      isEditing: false,\n      currentValue: this.value,\n      previousValue: '',\n    }\n  },\n  computed: {\n    displayValue() {\n      return this.value\n    },\n    hasChanged() {\n      return this.currentValue !== this.previousValue\n    },\n  },\n  watch: {\n    value(newVal) {\n      if (!this.isEditing) {\n        this.currentValue = newVal\n      }\n    },\n  },\n  mounted() {\n    document.addEventListener('click', this.handleClickOutside)\n  },\n  beforeDestroy() {\n    document.removeEventListener('click', this.handleClickOutside)\n  },\n  methods: {\n    enableEditing() {\n      this.isEditing = true\n      this.currentValue = this.value\n      this.previousValue = this.value\n      this.$emit('editing', true)\n      this.$nextTick(() => {\n        if (this.$refs.inputField) {\n          this.$refs.inputField.focus()\n        }\n      })\n    },\n    save() {\n      if (this.currentValue !== this.value) {\n        this.$emit('input', this.currentValue)\n      }\n      this.isEditing = false\n      this.$emit('editing', false)\n    },\n    cancel() {\n      this.currentValue = this.value\n      this.isEditing = false\n      this.$emit('editing', false)\n    },\n    handleClickOutside(event) {\n      if (this.isEditing && !this.$refs.editableText.contains(event.target)) {\n        this.cancel()\n      }\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditableText.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditableText.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./EditableText.vue?vue&type=template&id=62817a9a\"\nimport script from \"./EditableText.vue?vue&type=script&lang=js\"\nexport * from \"./EditableText.vue?vue&type=script&lang=js\"\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","const DELETE_CONFIRM_CONFIG = {\n  title: 'Are you sure?',\n  okTitle: 'Yes, Delete',\n  cancelTitle: 'No, Thanks',\n  buttonSize: 'sm',\n  centered: true,\n  okVariant: 'danger',\n  cancelVariant: 'flat-primary',\n}\n\nexport default DELETE_CONFIRM_CONFIG\n","function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_APPEND } from '../../constants/components';\nimport { omit } from '../../utils/object';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAddon, props as BInputGroupAddonProps } from './input-group-addon'; // --- Props ---\n\nexport var props = makePropsConfigurable(omit(BInputGroupAddonProps, ['append']), NAME_INPUT_GROUP_APPEND); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupAppend = /*#__PURE__*/Vue.extend({\n  name: NAME_INPUT_GROUP_APPEND,\n  functional: true,\n  props: props,\n  render: function render(h, _ref) {\n    var props = _ref.props,\n        data = _ref.data,\n        children = _ref.children;\n    // Pass all our data down to child, and set `append` to `true`\n    return h(BInputGroupAddon, mergeData(data, {\n      props: _objectSpread(_objectSpread({}, props), {}, {\n        append: true\n      })\n    }), children);\n  }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_TEXT } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n  tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP_TEXT); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupText = /*#__PURE__*/Vue.extend({\n  name: NAME_INPUT_GROUP_TEXT,\n  functional: true,\n  props: props,\n  render: function render(h, _ref) {\n    var props = _ref.props,\n        data = _ref.data,\n        children = _ref.children;\n    return h(props.tag, mergeData(data, {\n      staticClass: 'input-group-text'\n    }), children);\n  }\n});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{attrs:{\"no-body\":\"\"}},[_c('b-overlay',{attrs:{\"show\":_vm.$apollo.loading || _vm.mutationLoading}},[_c('page-header',{attrs:{\"show-add-button\":true,\"item-title\":\"Manager\"},on:{\"add\":_vm.showAddManagerModal}}),_c('b-card-body',[_c('vue-good-table',{attrs:{\"columns\":_vm.columns,\"pagination-options\":{ enabled: true, perPage: 10 },\"rows\":_vm.managers},scopedSlots:_vm._u([{key:\"table-row\",fn:function(props){return [(props.column.field === 'action')?_c('span',[(props.row.id !== _vm.selectedOrg.associationId)?_c('b-button',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover\",value:({ title: 'Remove Manager' }),expression:\"{ title: 'Remove Manager' }\",modifiers:{\"hover\":true}}],attrs:{\"size\":\"sm\",\"variant\":\"flat-danger\"},on:{\"click\":function($event){return _vm.deleteManager(props.row.id)}}},[_c('feather-icon',{attrs:{\"icon\":\"UserXIcon\",\"size\":\"18\"}})],1):_vm._e()],1):(props.column.field === 'email')?_c('span',[_c('b-link',{staticClass:\"text-lowercase text-secondary\",attrs:{\"href\":'mailto:' + props.formattedRow[props.column.field]}},[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \")])],1):(props.column.field === 'designation')?_c('span',[_c('editable-text',{attrs:{\"value\":props.row.designation},on:{\"input\":function (newDesignation) { return _vm.editDesignation(props.row.id, newDesignation); }}})],1):_c('span',[_vm._v(\" \"+_vm._s(props.formattedRow[props.column.field])+\" \"),(props.column.field === 'name' && props.row.id === _vm.selectedOrg.associationId)?_c('b-badge',{staticClass:\"text-capitalize\",attrs:{\"variant\":\"light-primary\"}},[_vm._v(\" You \")]):_vm._e()],1)]}},{key:\"pagination-bottom\",fn:function(props){return [_c('div',{staticClass:\"d-flex justify-content-between flex-wrap\"},[_c('div',{staticClass:\"d-flex align-items-center mb-0 mt-1\"},[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\" Showing 1 to \")]),_c('b-form-select',{staticClass:\"mx-1\",attrs:{\"options\":['3','5','10']},on:{\"input\":function (value){ return props.perPageChanged({currentPerPage:value}); }},model:{value:(_vm.pageLength),callback:function ($$v) {_vm.pageLength=$$v},expression:\"pageLength\"}}),_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\" of \"+_vm._s(props.total)+\" Managers \")])],1),_c('div',[_c('b-pagination',{staticClass:\"mt-1 mb-0\",attrs:{\"per-page\":_vm.pageLength,\"total-rows\":props.total,\"value\":1,\"align\":\"right\",\"first-number\":\"\",\"last-number\":\"\",\"next-class\":\"next-item\",\"prev-class\":\"prev-item\"},on:{\"input\":function (value){ return props.pageChanged({currentPage:value}); }},scopedSlots:_vm._u([{key:\"prev-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronLeftIcon\",\"size\":\"18\"}})]},proxy:true},{key:\"next-text\",fn:function(){return [_c('feather-icon',{attrs:{\"icon\":\"ChevronRightIcon\",\"size\":\"18\"}})]},proxy:true}],null,true)})],1)])]}}])})],1),_c(_vm.currentModalComponent,{tag:\"component\",on:{\"modal-close\":_vm.unmountModal}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"id\":\"add-member-modal\",\"no-close-on-backdrop\":\"\",\"ok-title\":\"Add\",\"title\":\"Add Member\",\"ok-disabled\":!_vm.isValid},on:{\"hidden\":_vm.handleModalClose,\"ok\":_vm.handleFormSubmit}},[_c('b-overlay',{attrs:{\"show\":_vm.isLoading}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();}}},[_c('b-form-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Email\",\"label-size\":\"sm\"}},[_c('b-form-input',{attrs:{\"id\":\"member\",\"placeholder\":\"Enter Email\",\"required\":\"\",\"type\":\"email\",\"aria-label\":\"Member email address\",\"state\":_vm.emailValidation.state && _vm.searchResult !== 'NO_USER_FOUND' && !_vm.isUserAlreadyMember},on:{\"input\":_vm.debouncedFetchUser},model:{value:(_vm.member.email),callback:function ($$v) {_vm.$set(_vm.member, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"member.email\"}}),_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.emailValidation.state}},[_vm._v(\" \"+_vm._s(_vm.emailValidation.message)+\" \")]),(_vm.isUserAlreadyMember || _vm.searchResult)?_c('p',{staticClass:\"px-1 py-25 rounded mb-0 font-small-3 shadow-sm font-weight-bold\"},[(_vm.isUserAlreadyMember)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\" User is already a member \")]):(_vm.searchResult === 'NO_USER_FOUND')?_c('span',{staticClass:\"text-danger\"},[_c('feather-icon',{staticClass:\"mb-25\",attrs:{\"icon\":\"AlertTriangleIcon\"}}),_vm._v(\" No User Found! \")],1):_c('span',{staticClass:\"text-primary\"},[_c('feather-icon',{attrs:{\"icon\":\"UserIcon\"}}),_vm._v(\" \"+_vm._s(_vm.searchResult)+\" \"),(_vm.startupCount)?_c('span',{staticClass:\"text-warning\"},[_c('feather-icon',{staticClass:\"mb-25\",attrs:{\"icon\":\"AlertTriangleIcon\"}}),_vm._v(\" Associated with \"+_vm._s(_vm.startupCount)+\" startup(s) in your network \")],1):_vm._e()],1)]):_vm._e()],1)],1)],1),_c('b-form-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Designation\",\"label-size\":\"sm\"}},[_c('b-form-input',{attrs:{\"id\":\"memberDesignation\",\"placeholder\":\"Designation of member\",\"required\":\"\",\"type\":\"text\"},model:{value:(_vm.member.designation),callback:function ($$v) {_vm.$set(_vm.member, \"designation\", $$v)},expression:\"member.designation\"}})],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <b-modal\n    id=\"add-member-modal\"\n    no-close-on-backdrop\n    ok-title=\"Add\"\n    title=\"Add Member\"\n    :ok-disabled=\"!isValid\"\n    @hidden=\"handleModalClose\"\n    @ok=\"handleFormSubmit\"\n  >\n    <b-overlay :show=\"isLoading\">\n      <b-form @submit.prevent>\n        <b-form-row>\n          <b-col>\n            <b-form-group\n              label=\"Email\"\n              label-size=\"sm\"\n            >\n              <b-form-input\n                id=\"member\"\n                v-model.trim=\"member.email\"\n                placeholder=\"Enter Email\"\n                required\n                type=\"email\"\n                aria-label=\"Member email address\"\n                :state=\"emailValidation.state && searchResult !== 'NO_USER_FOUND' && !isUserAlreadyMember\"\n                @input=\"debouncedFetchUser\"\n              />\n              <b-form-invalid-feedback :state=\"emailValidation.state\">\n                {{ emailValidation.message }}\n              </b-form-invalid-feedback>\n              <p\n                v-if=\"isUserAlreadyMember || searchResult\"\n                class=\"px-1 py-25 rounded mb-0 font-small-3 shadow-sm font-weight-bold\"\n              >\n                <span\n                  v-if=\"isUserAlreadyMember\"\n                  class=\"text-danger\"\n                >\n                  User is already a member\n                </span>\n                <span\n                  v-else-if=\"searchResult === 'NO_USER_FOUND'\"\n                  class=\"text-danger\"\n                >\n                  <feather-icon\n                    class=\"mb-25\"\n                    icon=\"AlertTriangleIcon\"\n                  />\n                  No User Found!\n                </span>\n                <span\n                  v-else\n                  class=\"text-primary\"\n                >\n                  <feather-icon icon=\"UserIcon\" />\n                  {{ searchResult }}\n                  <span\n                    v-if=\"startupCount\"\n                    class=\"text-warning\"\n                  >\n                    <feather-icon\n                      class=\"mb-25\"\n                      icon=\"AlertTriangleIcon\"\n                    />\n                    Associated with {{ startupCount }} startup(s) in your network\n                  </span>\n                </span>\n              </p>\n            </b-form-group>\n          </b-col>\n        </b-form-row>\n        <b-form-row>\n          <b-col>\n            <b-form-group\n              label=\"Designation\"\n              label-size=\"sm\"\n            >\n              <b-form-input\n                id=\"memberDesignation\"\n                v-model=\"member.designation\"\n                placeholder=\"Designation of member\"\n                required\n                type=\"text\"\n              />\n            </b-form-group>\n          </b-col>\n        </b-form-row>\n      </b-form>\n    </b-overlay>\n  </b-modal>\n</template>\n\n<script>\nimport {\n  BCol, BForm, BFormGroup, BFormInput, BFormInvalidFeedback, BFormRow, BModal, BOverlay,\n} from 'bootstrap-vue'\nimport { mapGetters } from 'vuex'\nimport {\n  CountStartupsInNetworkOfUserByEmail,\n  GetIncubatorMembers,\n} from '@/graphql/entity-manager/incubator-portal/queries.gql'\nimport { GetUserByEmail } from '@/graphql/entity-manager/common/queries.gql'\nimport { AddIncubatorAdmin } from '@/graphql/entity-manager/incubator-portal/mutations.gql'\nimport { debounce } from 'lodash'\n\nexport default {\n  name: 'MemberAdd',\n  components: {\n    BOverlay,\n    BModal,\n    BFormInput,\n    BFormRow,\n    BFormGroup,\n    BCol,\n    BForm,\n    BFormInvalidFeedback,\n  },\n  data() {\n    return {\n      isLoading: false,\n      searchResult: null,\n      member: {\n        id: null,\n        email: null,\n        designation: null,\n        role: '',\n      },\n      listMemberEmail: [],\n      startupCount: 0,\n    }\n  },\n  computed: {\n    ...mapGetters({\n      selectedOrg: 'user/getSelectedOrgDetails',\n    }),\n    isUserAlreadyMember() {\n      return this.listMemberEmail.findIndex(e => e === this.member.email) !== -1\n    },\n    isValid() {\n      return (\n        !this.isLoading\n          && this.member.email\n          && this.member.designation\n          && this.emailValidation.state\n          && this.searchResult !== 'NO_USER_FOUND'\n          && !this.isUserAlreadyMember\n      )\n    },\n    emailValidation() {\n      if (!this.member.email) {\n        return { state: null, message: '' }\n      }\n      const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/\n      const isValid = emailRegex.test(this.member.email)\n      return {\n        state: isValid,\n        message: isValid ? '' : 'Please enter a valid email address',\n      }\n    },\n  },\n  mounted() {\n    this.$bvModal.show('add-member-modal')\n  },\n  methods: {\n    debouncedFetchUser: debounce(function fetchUserWrapper() {\n      if (!this.emailValidation.state) return\n      this.fetchUser()\n      this.getStartupCount()\n    }, 500),\n\n    handleModalClose() {\n      this.resetForm()\n      this.$emit('modal-close')\n    },\n\n    resetForm() {\n      this.member = {\n        id: null,\n        email: null,\n        designation: null,\n        role: '',\n      }\n      this.searchResult = ''\n    },\n\n    async handleFormSubmit(bvModalEvent) {\n      bvModalEvent.preventDefault()\n      if (!this.isValid) {\n        this.showAlert('Please fill in all required fields', 'danger')\n        return false\n      }\n      await this.addMember()\n      return true\n    },\n\n    async getStartupCount() {\n      this.isLoading = true\n      try {\n        const { data } = await this.$apollo.query({\n          query: CountStartupsInNetworkOfUserByEmail,\n          variables: {\n            userEmail: this.member.email,\n            incubatorId: this.selectedOrg.orgId,\n          },\n        })\n        this.startupCount = data.users_associationtable_aggregate.aggregate.count\n      } catch {\n        this.showAlert('Error counting startups in network', 'danger')\n      } finally {\n        this.isLoading = false\n      }\n      return 0\n    },\n\n    async fetchUser() {\n      this.searchResult = null\n      if (!this.member.email || this.isUserAlreadyMember || !this.emailValidation.state) {\n        return false\n      }\n\n      this.isLoading = true\n      try {\n        const { data } = await this.$apollo.query({\n          query: GetUserByEmail,\n          variables: {\n            email: this.member.email,\n          },\n        })\n        const user = data.users_customuser[0]\n        this.searchResult = user ? user.full_name : 'NO_USER_FOUND'\n        this.member.id = user?.id || null\n        this.member.role = user?.role\n      } catch {\n        this.showAlert('Error searching for user', 'danger')\n      } finally {\n        this.isLoading = false\n      }\n      return true\n    },\n\n    async addMember() {\n      this.isLoading = true\n      try {\n        await this.$apollo.mutate({\n          mutation: AddIncubatorAdmin,\n          variables: {\n            incubatorId: this.selectedOrg.orgId,\n            designation: this.member.designation,\n            role: 'incubator_admin',\n            userId: this.member.id,\n          },\n          refetchQueries: ['GetIncubatorMembers'],\n          awaitRefetchQueries: true,\n        })\n        this.showAlert('Member added to Incubator', 'success')\n        this.$emit('db-update')\n        this.$bvModal.hide('add-member-modal')\n      } catch {\n        this.showAlert('Error adding member', 'danger')\n      } finally {\n        this.isLoading = false\n      }\n    },\n  },\n  apollo: {\n    listMemberEmail: {\n      query: GetIncubatorMembers,\n      variables() {\n        return {\n          incubatorId: this.selectedOrg.id,\n        }\n      },\n      update(data) {\n        return data.users_associationtable.map(({ users_customuser }) => users_customuser.email)\n      },\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberAdd.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberAdd.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MemberAdd.vue?vue&type=template&id=bf0c99a4\"\nimport script from \"./MemberAdd.vue?vue&type=script&lang=js\"\nexport * from \"./MemberAdd.vue?vue&type=script&lang=js\"\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","<template>\n  <b-card no-body>\n    <b-overlay :show=\"$apollo.loading || mutationLoading\">\n      <page-header\n        :show-add-button=\"true\"\n        item-title=\"Manager\"\n        @add=\"showAddManagerModal\"\n      />\n      <b-card-body>\n        <vue-good-table\n          :columns=\"columns\"\n          :pagination-options=\"{ enabled: true, perPage: 10 }\"\n          :rows=\"managers\"\n        >\n          <template #table-row=\"props\">\n            <span v-if=\"props.column.field === 'action'\">\n              <b-button\n                v-if=\"props.row.id !== selectedOrg.associationId\"\n                v-b-tooltip.hover=\"{ title: 'Remove Manager' }\"\n                size=\"sm\"\n                variant=\"flat-danger\"\n                @click=\"deleteManager(props.row.id)\"\n              >\n                <feather-icon\n                  icon=\"UserXIcon\"\n                  size=\"18\"\n                />\n              </b-button>\n            </span>\n            <span v-else-if=\"props.column.field === 'email'\">\n              <b-link\n                :href=\"'mailto:' + props.formattedRow[props.column.field]\"\n                class=\"text-lowercase text-secondary\"\n              >\n                {{ props.formattedRow[props.column.field] }}\n              </b-link>\n            </span>\n            <span v-else-if=\"props.column.field === 'designation'\">\n              <editable-text\n                :value=\"props.row.designation\"\n                @input=\"newDesignation => editDesignation(props.row.id, newDesignation)\"\n              />\n            </span>\n            <span v-else>\n              {{ props.formattedRow[props.column.field] }}\n              <b-badge\n                v-if=\"props.column.field === 'name' && props.row.id === selectedOrg.associationId\"\n                class=\"text-capitalize\"\n                variant=\"light-primary\"\n              >\n                You\n              </b-badge>\n            </span>\n          </template>\n          <!-- pagination -->\n          <template\n            #pagination-bottom=\"props\"\n          >\n            <div class=\"d-flex justify-content-between flex-wrap\">\n              <div class=\"d-flex align-items-center mb-0 mt-1\">\n                <span class=\"text-nowrap\">\n                  Showing 1 to\n                </span>\n                <b-form-select\n                  v-model=\"pageLength\"\n                  :options=\"['3','5','10']\"\n                  class=\"mx-1\"\n                  @input=\"(value)=>props.perPageChanged({currentPerPage:value})\"\n                />\n                <span class=\"text-nowrap\"> of {{ props.total }} Managers </span>\n              </div>\n              <div>\n                <b-pagination\n                  :per-page=\"pageLength\"\n                  :total-rows=\"props.total\"\n                  :value=\"1\"\n                  align=\"right\"\n                  class=\"mt-1 mb-0\"\n                  first-number\n                  last-number\n                  next-class=\"next-item\"\n                  prev-class=\"prev-item\"\n                  @input=\"(value)=>props.pageChanged({currentPage:value})\"\n                >\n                  <template #prev-text>\n                    <feather-icon\n                      icon=\"ChevronLeftIcon\"\n                      size=\"18\"\n                    />\n                  </template>\n                  <template #next-text>\n                    <feather-icon\n                      icon=\"ChevronRightIcon\"\n                      size=\"18\"\n                    />\n                  </template>\n                </b-pagination>\n              </div>\n            </div>\n          </template>\n        </vue-good-table>\n      </b-card-body>\n      <component\n        :is=\"currentModalComponent\"\n        @modal-close=\"unmountModal\"\n      />\n    </b-overlay>\n  </b-card>\n</template>\n\n<script>\nimport PageHeader from '@/components/common/PageHeader.vue'\nimport { mapGetters } from 'vuex'\nimport { BButton, BPagination } from 'bootstrap-vue'\nimport { VueGoodTable } from 'vue-good-table'\nimport MemberAdd from '@/components/entity-manager/incubator-portal/modals/MemberAdd.vue'\nimport gql from 'graphql-tag'\nimport { GetIncubatorMembers } from '@/graphql/entity-manager/incubator-portal/queries.gql'\nimport { formatDate } from '@core/utils/utils'\nimport DELETE_CONFIRM_CONFIG from '@/constants/ui/msgBoxConfirmConfig'\nimport EditableText from '@/components/common/EditableText.vue'\nimport { UpdateDesignation } from '@/graphql/common/mutations.gql'\n\nexport default {\n  components: {\n    BPagination,\n    PageHeader,\n    BButton,\n    VueGoodTable,\n    MemberAdd,\n    EditableText,\n  },\n  data() {\n    return {\n      columns: [\n        { label: 'Name', field: 'name' },\n        { label: 'Email', field: 'email' },\n        { label: 'Designation', field: 'designation' },\n        {\n          label: 'Joined On',\n          field: 'joinedOn',\n          formatFn(v) {\n            return v ? formatDate(v, 'LLL dd, yyyy') : ''\n          },\n        },\n        { label: 'Action', field: 'action', sortable: false },\n      ],\n      managers: [],\n      pageLength: '10',\n      showAddManager: false,\n      currentModalComponent: null,\n      mutationLoading: false,\n    }\n  },\n  computed: {\n    ...mapGetters({\n      selectedOrg: 'user/getSelectedOrgDetails',\n    }),\n  },\n  methods: {\n    showAddManagerModal() {\n      this.currentModalComponent = 'MemberAdd'\n    },\n    unmountModal() {\n      this.currentModalComponent = null\n    },\n    deleteManager(id) {\n      this.$bvModal.msgBoxConfirm('Are you sure you want to remove this manager?', {\n        ...DELETE_CONFIRM_CONFIG,\n        title: 'Remove Manager',\n      })\n        .then(async value => {\n          if (!value) return\n          this.mutationLoading = true\n          await this.$apollo.mutate({\n            mutation: gql`\n              mutation ($Id: bigint!){\n                update_users_associationtable_by_pk(pk_columns: {id: $Id}, _set: {is_deleted: true}) {\n                  id\n                }\n              }`,\n            variables: {\n              Id: id,\n            },\n            refetchQueries: ['GetIncubatorMembers'],\n          }).then(() => {\n            this.showAlert('Manager removed successfully', 'success')\n          }).catch(() => {\n            this.showAlert('Failed to remove manager', 'danger')\n          }).finally(() => {\n            this.mutationLoading = false\n          })\n        })\n    },\n    async editDesignation(assocId, newDesignation) {\n      if (!newDesignation) return this.showAlert('Designation cannot be empty', 'danger')\n      const oldDesignation = this.managers.find(e => e.id === assocId).designation\n      if (oldDesignation === newDesignation) return false\n      this.mutationLoading = true\n      await this.$apollo.mutate({\n        mutation: UpdateDesignation,\n        variables: {\n          assocId,\n          designation: newDesignation,\n        },\n        refetchQueries: ['GetIncubatorMembers'],\n      }).then(() => {\n        this.showAlert('Designation updated successfully', 'success')\n      }).catch(() => {\n        this.showAlert('Failed to update designation', 'danger')\n      }).finally(() => {\n        this.mutationLoading = false\n      })\n      return true\n    },\n  },\n  apollo: {\n    managers: {\n      query: GetIncubatorMembers,\n      variables() {\n        return {\n          incubatorId: this.selectedOrg.id,\n        }\n      },\n      update(data) {\n        const { users_associationtable } = data\n        const { associationId } = this.selectedOrg\n        const managers = users_associationtable.map(association => ({\n          id: association.id,\n          name: association.users_customuser?.full_name || '-',\n          email: association.users_customuser?.email || '-',\n          designation: association.designation,\n          joinedOn: association.created_at,\n        }))\n\n        // Show current user on top of the list\n        const currentUser = managers.find(manager => manager.id === associationId)\n        if (currentUser) {\n          managers.splice(managers.indexOf(currentUser), 1)\n          managers.unshift(currentUser)\n        }\n        return managers\n      },\n    },\n  },\n}\n</script>\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberList.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MemberList.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./MemberList.vue?vue&type=template&id=4181bc1c\"\nimport script from \"./MemberList.vue?vue&type=script&lang=js\"\nexport * from \"./MemberList.vue?vue&type=script&lang=js\"\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":""}