| 9196 | var __classPrivateFieldSet2, __classPrivateFieldGet2, _File_name, _File_lastModified, File3; |
| 9197 | var init_File = __esm({ |
| 9198 | "node_modules/formdata-node/lib/esm/File.js"() { |
| 9199 | init_Blob(); |
| 9200 | __classPrivateFieldSet2 = function(receiver, state2, value, kind3, f4) { |
| 9201 | if (kind3 === "m") throw new TypeError("Private method is not writable"); |
| 9202 | if (kind3 === "a" && !f4) throw new TypeError("Private accessor was defined without a setter"); |
| 9203 | if (typeof state2 === "function" ? receiver !== state2 || !f4 : !state2.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); |
| 9204 | return kind3 === "a" ? f4.call(receiver, value) : f4 ? f4.value = value : state2.set(receiver, value), value; |
| 9205 | }; |
| 9206 | __classPrivateFieldGet2 = function(receiver, state2, kind3, f4) { |
| 9207 | if (kind3 === "a" && !f4) throw new TypeError("Private accessor was defined without a getter"); |
| 9208 | if (typeof state2 === "function" ? receiver !== state2 || !f4 : !state2.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); |
| 9209 | return kind3 === "m" ? f4 : kind3 === "a" ? f4.call(receiver) : f4 ? f4.value : state2.get(receiver); |
| 9210 | }; |
| 9211 | File3 = class extends Blob3 { |
| 9212 | constructor(fileBits, name, options = {}) { |
| 9213 | super(fileBits, options); |
| 9214 | _File_name.set(this, void 0); |
| 9215 | _File_lastModified.set(this, 0); |
| 9216 | if (arguments.length < 2) { |
| 9217 | throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`); |
| 9218 | } |
| 9219 | __classPrivateFieldSet2(this, _File_name, String(name), "f"); |
| 9220 | const lastModified = options.lastModified === void 0 ? Date.now() : Number(options.lastModified); |
| 9221 | if (!Number.isNaN(lastModified)) { |
| 9222 | __classPrivateFieldSet2(this, _File_lastModified, lastModified, "f"); |
| 9223 | } |
| 9224 | } |
| 9225 | static [(_File_name = /* @__PURE__ */ new WeakMap(), _File_lastModified = /* @__PURE__ */ new WeakMap(), Symbol.hasInstance)](value) { |
| 9226 | return value instanceof Blob3 && value[Symbol.toStringTag] === "File" && typeof value.name === "string"; |
| 9227 | } |
| 9228 | get name() { |
| 9229 | return __classPrivateFieldGet2(this, _File_name, "f"); |
| 9230 | } |
| 9231 | get lastModified() { |
| 9232 | return __classPrivateFieldGet2(this, _File_lastModified, "f"); |
| 9233 | } |
| 9234 | get webkitRelativePath() { |
| 9235 | return ""; |
| 9236 | } |
| 9237 | get [Symbol.toStringTag]() { |
| 9238 | return "File"; |
| 9239 | } |
| 9240 | }; |
| 9241 | } |
| 9242 | }); |
| 9243 | |
| 9244 | // node_modules/formdata-node/lib/esm/isFile.js |