var i=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var h=(s,e)=>{for(var a in e)i(s,a,{get:e[a],enumerable:!0})},l=(s,e,a,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of c(e))!u.call(s,r)&&r!==a&&i(s,r,{get:()=>e[r],enumerable:!(t=m(e,r))||t.enumerable});return s};var g=s=>l(i({},"__esModule",{value:!0}),s);var f={};h(f,{createGithubIssue:()=>b});module.exports=g(f);var o=require("electron/main"),n=require("electron/common"),p=require("../../common/modules/client");async function b(s){const e=new URL(p.appInfo.repository.name+"/issues/new","https://github.com");if(new URLSearchParams({assignees:"SpacingBat3",labels:"bug",template:"bug.yml",electron_version:process.versions.electron,app_version:o.app.getVersion(),additional:"**Notice:** This issue was automatically generated by "+o.app.getName()+"."}).forEach((t,r)=>e.searchParams.append(r,t)),s!==void 0&&e.searchParams.append("description",s),e.origin==="https://github.com")return n.shell.openExternal(e.href)}0&&(module.exports={createGithubIssue});
