{"version":3,"sources":["webpack:////home/git/gitlab/node_modules/@gitlab/ui/dist/components/base/banner/banner.js","webpack:///./vue_shared/components/user_callout_dismisser.vue?7075","webpack:///vue_shared/components/user_callout_dismisser.vue","webpack:///./vue_shared/components/user_callout_dismisser.vue","webpack:///./namespaces/leave_by_url.js","webpack:///./graphql_shared/queries/get_user_callouts.query.graphql","webpack:////home/git/gitlab/node_modules/@gitlab/ui/dist/components/base/card/card.js","webpack:///./projects/clusters_deprecation_alert/components/clusters_deprecation_alert.vue?2976","webpack:///projects/clusters_deprecation_alert/components/clusters_deprecation_alert.vue","webpack:///./projects/clusters_deprecation_alert/components/clusters_deprecation_alert.vue?05b1","webpack:///./projects/clusters_deprecation_alert/components/clusters_deprecation_alert.vue","webpack:///./projects/terraform_notification/constants.js","webpack:///projects/terraform_notification/components/terraform_notification.vue","webpack:///./projects/terraform_notification/components/terraform_notification.vue?5de3","webpack:///./projects/terraform_notification/components/terraform_notification.vue?c1ef","webpack:///./projects/terraform_notification/components/terraform_notification.vue","webpack:///./projects/terraform_notification/index.js","webpack:///projects/details/upload_button.vue","webpack:///./projects/details/upload_button.vue?c365","webpack:///./projects/details/upload_button.vue?e1da","webpack:///./projects/details/upload_button.vue","webpack:///./pages/projects/show/index.js","webpack:///./projects/upload_file.js","webpack:///./projects/clusters_deprecation_alert/index.js","webpack:///./graphql_shared/mutations/dismiss_user_callout.mutation.graphql"],"names":["__vue_script__","name","components","CloseButton","GlButton","GlCard","props","title","type","String","required","buttonAttributes","Object","default","buttonText","buttonLink","svgPath","variant","validator","value","includes","dismissLabel","computed","this","methods","$emit","__vue_component__","render","_vm","_h","$createElement","_c","_self","staticClass","class","isIntroducing","attrs","_e","_v","_s","_t","_b","on","primaryButtonClicked","handleClose","staticRenderFns","undefined","featureName","skipQuery","Boolean","data","currentUser","isDismissedLocal","isLoadingMutation","mutationError","queryError","apollo","query","getUserCalloutsQuery","update","result","slotProps","error","err","skip","featureNameEnumValue","toUpperCase","isLoadingQuery","$apollo","queries","loading","isAnonUser","isDismissedRemote","_this$currentUser$cal","_this$currentUser","_this","callouts","nodes","some","isDismissed","dismiss","shouldShowCallout","_data$userCalloutCrea","_data$userCalloutCrea2","mutate","mutation","dismissUserCalloutMutation","variables","input","errors","userCalloutCreate","length","onDismissalError","message","$scopedSlots","component","leaveByUrl","namespaceType","Error","getParameterByName","initRails","leaveLink","document","querySelector","click","createAlert","sprintf","__","doc","loc","source","definitionRefs","findOperation","i","definitions","element","forEach","def","refs","Set","collectFragmentReferences","node","kind","add","selectionSet","selections","selection","variableDefinitions","module","exports","operationName","newDoc","hasOwnProperty","opRefs","allRefs","newRefs","refName","size","prevRefs","has","childRef","op","push","oneQuery","headerClass","Array","bodyClass","footerClass","GlAlert","GlSprintf","GlLink","inject","docsLink","helpPagePath","deprecationEpic","scopedSlots","_u","key","fn","content","$options","trackingMixin","Tracking","mixin","label","i18n","s__","description","GlBanner","UserCalloutDismisser","mixins","docsUrl","track","$refs","calloutDismisser","buttonClick","ref","terraformImagePath","Vue","use","VueApollo","apolloProvider","defaultClient","createDefaultClient","UploadBlobModal","directives","GlModal","GlModalDirective","targetBranch","originalBranch","canPushCode","path","projectPath","uploadBlobModalId","rawName","expression","getElementById","then","initTree","catch","BlobViewer","Activities","addShortcutsExtension","ShortcutsNavigation","uploadFileTriggerEl","dataset","el","router","createRouter","provide","parseBoolean","h","UploadButton","initUploadFileTrigger","createElement","ClustersDeprecationAlert","initClustersDeprecationAlert","TerraformNotification","initTerraformNotification","initReadMore","initAmbiguousRefModal","initHomePanel","UserCallout","setCalloutPerProject","className","codeDropdownEl","sshUrl","httpUrl","kerberosUrl","CodeDropdown","initCodeDropdown"],"mappings":"2FAAA,yEAoGA,MAAMA,EA9FO,CACXC,KAAM,WACNC,WAAY,CACVC,YAAA,IACAC,SAAA,IACAC,OAAA,KAEFC,MAAO,CAILC,MAAO,CACLC,KAAMC,OACNC,UAAU,GAKZC,iBAAkB,CAChBH,KAAMI,OACNF,UAAU,EACVG,Q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AKjH,KACE,cAAdA,EAAKkH,MACPJ,EAAKK,IAAInH,EAAKP,KAAKkB,OAInBsG,EAAKG,cACPH,EAAKG,aAAaC,WAAWT,SAAQ,SAASU,GAC5CN,EAA0BM,EAAWR,MAIrCG,EAAKM,qBACPN,EAAKM,oBAAoBX,SAAQ,SAASC,GACxCG,EAA0BH,EAAKC,MAI/BG,EAAKP,aACPO,EAAKP,YAAYE,SAAQ,SAASC,GAChCG,EAA0BH,EAAKC,MAU/BE,CAA0BH,EAAKC,GAC/BP,EAAeM,EAAIpH,KAAKkB,OAASmG,MA4DvCU,EAAOC,QAAUrB,EAEboB,EAAOC,QAA4B,mBAhDvC,SAAkBrB,EAAKsB,GAErB,IAAIC,EAAS,CACXT,KAAMd,EAAIc,KACVR,YAAa,CAACF,EAAcJ,EAAKsB,KAE/BtB,EAAIwB,eAAe,SACrBD,EAAOtB,IAAMD,EAAIC,KAKnB,IAAIwB,EAAStB,EAAemB,IAAkB,IAAIX,IAC9Ce,EAAU,IAAIf,IACdgB,EAAU,IAAIhB,IAOlB,IAJAc,EAAOjB,SAAQ,SAASoB,GACtBD,EAAQZ,IAAIa,MAGPD,EAAQE,KAAO,GAAG,CACvB,IAAIC,EAAWH,EACfA,EAAU,IAAIhB,IAEdmB,EAAStB,SAAQ,SAASoB,GACnBF,EAAQK,IAAIH,KACfF,EAAQX,IAAIa,IACIzB,EAAeyB,IAAY,IAAIjB,KACrCH,SAAQ,SAASwB,GACzBL,EAAQZ,IAAIiB,UAapB,OAPAN,EAAQlB,SAAQ,SAASoB,GACvB,IAAIK,EAAK7B,EAAcJ,EAAK4B,GACxBK,GACFV,EAAOjB,YAAY4B,KAAKD,MAIrBV,EAKkCY,CAASnC,EAAK,wB","file":"pages.projects.show.3ea6686a.chunk.js","sourcesContent":["import { bannerVariants } from '../../../utils/constants';\nimport CloseButton from '../../shared_components/close_button/close_button';\nimport GlButton from '../button/button';\nimport GlCard from '../card/card';\nimport __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';\n\nvar script = {\n name: 'GlBanner',\n components: {\n CloseButton,\n GlButton,\n GlCard\n },\n props: {\n /**\n * Used to set the title of the banner.\n */\n title: {\n type: String,\n required: true\n },\n /**\n * HTML attributes to add to the submit button.\n */\n buttonAttributes: {\n type: Object,\n required: false,\n default: () => ({})\n },\n /**\n * Text for the submit button.\n */\n buttonText: {\n type: String,\n required: true\n },\n /**\n * Link for the submit button.\n */\n buttonLink: {\n type: String,\n required: false,\n default: null\n },\n /**\n * The illustration's URL.\n */\n svgPath: {\n type: String,\n required: false,\n default: null\n },\n /**\n * The variant of the banner.\n */\n variant: {\n type: String,\n required: false,\n default: bannerVariants[0],\n validator(value) {\n return bannerVariants.includes(value);\n }\n },\n /**\n * Dismiss button's aria-label.\n */\n dismissLabel: {\n type: String,\n required: false,\n default: 'Dismiss'\n }\n },\n computed: {\n isIntroducing() {\n return this.variant === bannerVariants[1];\n }\n },\n methods: {\n handleClose() {\n /**\n * Emitted when the close button is clicked.\n *\n * @event close\n * @type {object}\n */\n this.$emit('close');\n },\n primaryButtonClicked() {\n /**\n * Emitted when the primary action button is clicked.\n *\n * @event primary\n * @type {object}\n */\n this.$emit('primary');\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('gl-card',{staticClass:\"gl-pl-6 gl-pr-8 gl-py-6\",class:{\n 'gl-banner-introduction': _vm.isIntroducing,\n 'gl-bg-gray-10!': !_vm.isIntroducing,\n },attrs:{\"body-class\":\"gl-display-flex gl-p-0!\"}},[(_vm.svgPath)?_c('div',{staticClass:\"gl-banner-illustration\"},[_c('img',{attrs:{\"src\":_vm.svgPath,\"alt\":\"\"}})]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"gl-banner-content\"},[_c('h2',{staticClass:\"gl-banner-title\"},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_vm._t(\"default\"),_vm._v(\" \"),_c('gl-button',_vm._b({attrs:{\"variant\":\"confirm\",\"category\":\"primary\",\"data-testid\":\"gl-banner-primary-button\",\"href\":_vm.buttonLink},on:{\"click\":_vm.primaryButtonClicked}},'gl-button',_vm.buttonAttributes,false),[_vm._v(_vm._s(_vm.buttonText))]),_vm._v(\" \"),_vm._t(\"actions\")],2),_vm._v(\" \"),_c('close-button',{staticClass:\"gl-banner-close\",attrs:{\"label\":_vm.dismissLabel},on:{\"click\":_vm.handleClose}})],1)};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n /* style inject shadow dom */\n \n\n \n const __vue_component__ = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n false,\n undefined,\n undefined,\n undefined\n );\n\nexport default __vue_component__;\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user_callout_dismisser.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./user_callout_dismisser.vue?vue&type=script&lang=js\"","\n","var render, staticRenderFns\nimport script from \"./user_callout_dismisser.vue?vue&type=script&lang=js\"\nexport * from \"./user_callout_dismisser.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","import { createAlert } from '~/alert';\nimport { initRails } from '~/lib/utils/rails_ujs';\nimport { getParameterByName } from '~/lib/utils/url_utility';\nimport { __, sprintf } from '~/locale';\n\nconst PARAMETER_NAME = 'leave';\nconst LEAVE_LINK_SELECTOR = '.js-leave-link';\n\nexport default function leaveByUrl(namespaceType) {\n if (!namespaceType) throw new Error('namespaceType not provided');\n\n const param = getParameterByName(PARAMETER_NAME);\n if (!param) return;\n\n initRails();\n\n const leaveLink = document.querySelector(LEAVE_LINK_SELECTOR);\n if (leaveLink) {\n leaveLink.click();\n } else {\n createAlert({\n message: sprintf(__('You do not have permission to leave this %{namespaceType}.'), {\n namespaceType,\n }),\n });\n }\n}\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"getUser\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"currentUser\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"callouts\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"nodes\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"featureName\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":108}};\n doc.loc.source = {\"body\":\"query getUser {\\n currentUser {\\n id\\n callouts {\\n nodes {\\n featureName\\n }\\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[\"getUser\"] = oneQuery(doc, \"getUser\");\n \n","import __vue_normalize__ from 'vue-runtime-helpers/dist/normalize-component.js';\n\n//\n\nvar script = {\n name: 'GlCard',\n props: {\n /**\n * Additional CSS class(es) to be applied to the header.\n */\n headerClass: {\n type: [String, Object, Array],\n required: false,\n default: ''\n },\n /**\n * Additional CSS class(es) to be applied to the body.\n */\n bodyClass: {\n type: [String, Object, Array],\n required: false,\n default: ''\n },\n /**\n * Additional CSS class(es) to be applied to the footer.\n */\n footerClass: {\n type: [String, Object, Array],\n required: false,\n default: ''\n }\n }\n};\n\n/* script */\nconst __vue_script__ = script;\n\n/* template */\nvar __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"gl-card\"},[(_vm.$scopedSlots.header)?_c('div',{staticClass:\"gl-card-header\",class:_vm.headerClass},[_vm._t(\"header\")],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"gl-card-body\",class:_vm.bodyClass},[_vm._t(\"default\")],2),_vm._v(\" \"),(_vm.$scopedSlots.footer)?_c('div',{staticClass:\"gl-card-footer\",class:_vm.footerClass},[_vm._t(\"footer\")],2):_vm._e()])};\nvar __vue_staticRenderFns__ = [];\n\n /* style */\n const __vue_inject_styles__ = undefined;\n /* scoped */\n const __vue_scope_id__ = undefined;\n /* module identifier */\n const __vue_module_identifier__ = undefined;\n /* functional template */\n const __vue_is_functional_template__ = false;\n /* style inject */\n \n /* style inject SSR */\n \n /* style inject shadow dom */\n \n\n \n const __vue_component__ = __vue_normalize__(\n { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ },\n __vue_inject_styles__,\n __vue_script__,\n __vue_scope_id__,\n __vue_is_functional_template__,\n __vue_module_identifier__,\n false,\n undefined,\n undefined,\n undefined\n );\n\nexport default __vue_component__;\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clusters_deprecation_alert.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clusters_deprecation_alert.vue?vue&type=script&lang=js\"","\n\n","import { render, staticRenderFns } from \"./clusters_deprecation_alert.vue?vue&type=template&id=0246067a\"\nimport script from \"./clusters_deprecation_alert.vue?vue&type=script&lang=js\"\nexport * from \"./clusters_deprecation_alert.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('gl-alert',{staticClass:\"gl-mt-5\",attrs:{\"dismissible\":false,\"variant\":\"warning\"}},[_c('gl-sprintf',{attrs:{\"message\":_vm.message},scopedSlots:_vm._u([{key:\"link\",fn:function({ content }){return [_c('gl-link',{attrs:{\"href\":_vm.$options.docsLink}},[_vm._v(_vm._s(content))])]}},{key:\"deprecationLink\",fn:function({ content }){return [_c('gl-link',{attrs:{\"href\":_vm.$options.deprecationEpic}},[_vm._v(_vm._s(content))])]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const EVENT_LABEL = 'terraform_banner';\nexport const DISMISS_EVENT = 'dismiss_banner';\nexport const CLICK_EVENT = 'click_button';\n","\n\n","import mod from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./terraform_notification.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./terraform_notification.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./terraform_notification.vue?vue&type=template&id=50b2d1ba\"\nimport script from \"./terraform_notification.vue?vue&type=script&lang=js\"\nexport * from \"./terraform_notification.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('user-callout-dismisser',{ref:\"calloutDismisser\",attrs:{\"feature-name\":\"terraform_notification_dismissed\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ shouldShowCallout }){return [(shouldShowCallout)?_c('div',{staticClass:\"gl-py-5\"},[_c('gl-banner',{attrs:{\"title\":_vm.$options.i18n.title,\"button-text\":_vm.$options.i18n.buttonText,\"button-link\":_vm.docsUrl,\"svg-path\":_vm.terraformImagePath,\"variant\":\"promotion\"},on:{\"primary\":_vm.buttonClick,\"close\":_vm.handleClose}},[_c('p',[_vm._v(_vm._s(_vm.$options.i18n.description))])])],1):_vm._e()]}}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\nimport VueApollo from 'vue-apollo';\nimport createDefaultClient from '~/lib/graphql';\nimport TerraformNotification from './components/terraform_notification.vue';\n\nVue.use(VueApollo);\n\nconst apolloProvider = new VueApollo({\n defaultClient: createDefaultClient(),\n});\n\nexport default () => {\n const el = document.querySelector('.js-terraform-notification');\n\n if (!el) {\n return false;\n }\n\n const { terraformImagePath } = el.dataset;\n\n return new Vue({\n el,\n apolloProvider,\n provide: {\n terraformImagePath,\n },\n render: (createElement) => createElement(TerraformNotification),\n });\n};\n","\n\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./upload_button.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js??ref--7-0!../../../../../node_modules/babel-loader/lib/index.js??ref--7-1!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./upload_button.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./upload_button.vue?vue&type=template&id=4d9fbd00\"\nimport script from \"./upload_button.vue?vue&type=script&lang=js\"\nexport * from \"./upload_button.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('span',[_c('gl-button',{directives:[{name:\"gl-modal\",rawName:\"v-gl-modal\",value:(_vm.$options.uploadBlobModalId),expression:\"$options.uploadBlobModalId\"}],staticClass:\"stat-link gl-px-0!\",attrs:{\"variant\":\"link\",\"icon\":\"upload\",\"button-text-classes\":\"gl-ml-2\",\"data-testid\":\"upload-file-button\"}},[_vm._v(_vm._s(_vm.__('Upload File')))]),_vm._v(\" \"),_c('upload-blob-modal',{attrs:{\"modal-id\":_vm.$options.uploadBlobModalId,\"commit-message\":_vm.__('Upload New File'),\"target-branch\":_vm.targetBranch,\"original-branch\":_vm.originalBranch,\"can-push-code\":_vm.canPushCode,\"path\":_vm.path}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\nimport { addShortcutsExtension } from '~/behaviors/shortcuts';\nimport ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';\nimport initClustersDeprecationAlert from '~/projects/clusters_deprecation_alert';\nimport leaveByUrl from '~/namespaces/leave_by_url';\nimport initTerraformNotification from '~/projects/terraform_notification';\nimport { initUploadFileTrigger } from '~/projects/upload_file';\nimport initReadMore from '~/read_more';\nimport initAmbiguousRefModal from '~/ref/init_ambiguous_ref_modal';\nimport CodeDropdown from '~/vue_shared/components/code_dropdown/code_dropdown.vue';\nimport { initHomePanel } from '../home_panel';\n\n// Project show page loads different overview content based on user preferences\nif (document.getElementById('js-tree-list')) {\n import(/* webpackChunkName: 'treeList' */ 'ee_else_ce/repository')\n .then(({ default: initTree }) => {\n initTree();\n })\n .catch(() => {});\n}\n\nif (document.querySelector('.blob-viewer')) {\n import(/* webpackChunkName: 'blobViewer' */ '~/blob/viewer')\n .then(({ BlobViewer }) => {\n new BlobViewer(); // eslint-disable-line no-new\n })\n .catch(() => {});\n}\n\nif (document.querySelector('.project-show-activity')) {\n import(/* webpackChunkName: 'activitiesList' */ '~/activities')\n .then(({ default: Activities }) => {\n new Activities(); // eslint-disable-line no-new\n })\n .catch(() => {});\n}\n\naddShortcutsExtension(ShortcutsNavigation);\n\ninitUploadFileTrigger();\ninitClustersDeprecationAlert();\ninitTerraformNotification();\ninitReadMore();\ninitAmbiguousRefModal();\ninitHomePanel();\n\nif (document.querySelector('.js-autodevops-banner')) {\n import(/* webpackChunkName: 'userCallOut' */ '~/user_callout')\n .then(({ default: UserCallout }) => {\n // eslint-disable-next-line no-new\n new UserCallout({\n setCalloutPerProject: false,\n className: 'js-autodevops-banner',\n });\n })\n .catch(() => {});\n}\n\nleaveByUrl('project');\n\nconst initCodeDropdown = () => {\n const codeDropdownEl = document.querySelector('#js-project-show-empty-page #js-code-dropdown');\n\n if (!codeDropdownEl) return false;\n\n const { sshUrl, httpUrl, kerberosUrl } = codeDropdownEl.dataset;\n\n return new Vue({\n el: codeDropdownEl,\n render(createElement) {\n return createElement(CodeDropdown, {\n props: {\n sshUrl,\n httpUrl,\n kerberosUrl,\n },\n });\n },\n });\n};\n\ninitCodeDropdown();\n","import Vue from 'vue';\nimport { parseBoolean } from '~/lib/utils/common_utils';\nimport createRouter from '~/repository/router';\nimport UploadButton from './details/upload_button.vue';\n\nexport const initUploadFileTrigger = () => {\n const uploadFileTriggerEl = document.querySelector('.js-upload-file-trigger');\n\n if (!uploadFileTriggerEl) return false;\n\n const {\n targetBranch,\n originalBranch,\n canPushCode,\n path,\n projectPath,\n } = uploadFileTriggerEl.dataset;\n\n return new Vue({\n el: uploadFileTriggerEl,\n router: createRouter(projectPath, originalBranch),\n provide: {\n targetBranch,\n originalBranch,\n canPushCode: parseBoolean(canPushCode),\n path,\n projectPath,\n },\n render(h) {\n return h(UploadButton);\n },\n });\n};\n","import Vue from 'vue';\nimport ClustersDeprecationAlert from './components/clusters_deprecation_alert.vue';\n\nexport default () => {\n const el = document.querySelector('.js-clusters-deprecation-alert');\n\n if (!el) {\n return false;\n }\n\n const { message } = el.dataset;\n\n return new Vue({\n el,\n name: 'ClustersDeprecationAlertRoot',\n provide: {\n message,\n },\n render: (createElement) => createElement(ClustersDeprecationAlert),\n });\n};\n","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"dismissUserCallout\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UserCalloutCreateInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"userCalloutCreate\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"errors\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"userCallout\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"dismissedAt\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"featureName\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":177}};\n doc.loc.source = {\"body\":\"mutation dismissUserCallout($input: UserCalloutCreateInput!) {\\n userCalloutCreate(input: $input) {\\n errors\\n userCallout {\\n dismissedAt\\n featureName\\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[\"dismissUserCallout\"] = oneQuery(doc, \"dismissUserCallout\");\n \n"],"sourceRoot":""}