!function(e,r){for(var t in r)e[t]=r[t]}(exports,function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=97)}({1:function(e,r){e.exports=require("path")},13:function(e,r){e.exports=require("http")},4:function(e,r){e.exports=require("fs")},6:function(e,r){e.exports=require("vscode-nls")},97:function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});const n=t(13),o=t(4),s=t(6).loadMessageBundle(t(1).join(__dirname,"askpass-main.ts"));function u(e){console.error(s(0,null)),console.error(e),process.exit(1)}!function(e){if(5!==e.length)return u("Wrong number of arguments");if(!process.env.VSCODE_GIT_ASKPASS_HANDLE)return u("Missing handle");if(!process.env.VSCODE_GIT_ASKPASS_PIPE)return u("Missing pipe");if("fetch"===process.env.VSCODE_GIT_COMMAND)return u("Skip fetch commands");const r=process.env.VSCODE_GIT_ASKPASS_PIPE,t=process.env.VSCODE_GIT_ASKPASS_HANDLE,s=e[2],i=e[4].substring(1,e[4].length-2),c={socketPath:t,path:"/",method:"POST"},f=n.request(c,e=>{if(200!==e.statusCode)return u(`Bad status code: ${e.statusCode}`);const t=[];e.setEncoding("utf8"),e.on("data",e=>t.push(e)),e.on("end",()=>{const e=t.join("");try{const t=JSON.parse(e);o.writeFileSync(r,t+"\n")}catch(e){return u("Error parsing response")}setTimeout(()=>process.exit(0),0)})});f.on("error",()=>u("Error in request")),f.write(JSON.stringify({request:s,host:i})),f.end()}(process.argv)}}));
//# sourceMappingURL=https://ticino.blob.core.windows.net/sourcemaps/5944e81f3c46a3938a82c701f96d7a59b074cfdc/extensions/git/dist/askpass-main.js.map