@corti/dictation-web 0.1.16-rc → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/bundle.js +441 -502
  2. package/package.json +2 -2
package/dist/bundle.js CHANGED
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  mod
29
29
  ));
30
30
 
31
- // ../corti-sdk-typescript/node_modules/ws/browser.js
31
+ // node_modules/ws/browser.js
32
32
  var require_browser = __commonJS({
33
- "../corti-sdk-typescript/node_modules/ws/browser.js"(exports, module) {
33
+ "node_modules/ws/browser.js"(exports, module) {
34
34
  "use strict";
35
35
  module.exports = function() {
36
36
  throw new Error(
@@ -46,16 +46,16 @@ var e = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "a
46
46
  var s = Symbol();
47
47
  var o = /* @__PURE__ */ new WeakMap();
48
48
  var n = class {
49
- constructor(t4, e5, o5) {
50
- if (this._$cssResult$ = true, o5 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
49
+ constructor(t4, e5, o6) {
50
+ if (this._$cssResult$ = true, o6 !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
51
51
  this.cssText = t4, this.t = e5;
52
52
  }
53
53
  get styleSheet() {
54
54
  let t4 = this.o;
55
- const s3 = this.t;
55
+ const s4 = this.t;
56
56
  if (e && void 0 === t4) {
57
- const e5 = void 0 !== s3 && 1 === s3.length;
58
- e5 && (t4 = o.get(s3)), void 0 === t4 && ((this.o = t4 = new CSSStyleSheet()).replaceSync(this.cssText), e5 && o.set(s3, t4));
57
+ const e5 = void 0 !== s4 && 1 === s4.length;
58
+ e5 && (t4 = o.get(s4)), void 0 === t4 && ((this.o = t4 = new CSSStyleSheet()).replaceSync(this.cssText), e5 && o.set(s4, t4));
59
59
  }
60
60
  return t4;
61
61
  }
@@ -65,35 +65,35 @@ var n = class {
65
65
  };
66
66
  var r = (t4) => new n("string" == typeof t4 ? t4 : t4 + "", void 0, s);
67
67
  var i = (t4, ...e5) => {
68
- const o5 = 1 === t4.length ? t4[0] : e5.reduce((e6, s3, o6) => e6 + ((t5) => {
68
+ const o6 = 1 === t4.length ? t4[0] : e5.reduce((e6, s4, o7) => e6 + ((t5) => {
69
69
  if (true === t5._$cssResult$) return t5.cssText;
70
70
  if ("number" == typeof t5) return t5;
71
71
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t5 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
72
- })(s3) + t4[o6 + 1], t4[0]);
73
- return new n(o5, t4, s);
72
+ })(s4) + t4[o7 + 1], t4[0]);
73
+ return new n(o6, t4, s);
74
74
  };
75
- var S = (s3, o5) => {
76
- if (e) s3.adoptedStyleSheets = o5.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
77
- else for (const e5 of o5) {
78
- const o6 = document.createElement("style"), n5 = t.litNonce;
79
- void 0 !== n5 && o6.setAttribute("nonce", n5), o6.textContent = e5.cssText, s3.appendChild(o6);
75
+ var S = (s4, o6) => {
76
+ if (e) s4.adoptedStyleSheets = o6.map((t4) => t4 instanceof CSSStyleSheet ? t4 : t4.styleSheet);
77
+ else for (const e5 of o6) {
78
+ const o7 = document.createElement("style"), n5 = t.litNonce;
79
+ void 0 !== n5 && o7.setAttribute("nonce", n5), o7.textContent = e5.cssText, s4.appendChild(o7);
80
80
  }
81
81
  };
82
82
  var c = e ? (t4) => t4 : (t4) => t4 instanceof CSSStyleSheet ? ((t5) => {
83
83
  let e5 = "";
84
- for (const s3 of t5.cssRules) e5 += s3.cssText;
84
+ for (const s4 of t5.cssRules) e5 += s4.cssText;
85
85
  return r(e5);
86
86
  })(t4) : t4;
87
87
 
88
88
  // node_modules/@lit/reactive-element/reactive-element.js
89
- var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: r2, getOwnPropertyNames: h, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
89
+ var { is: i2, defineProperty: e2, getOwnPropertyDescriptor: h, getOwnPropertyNames: r2, getOwnPropertySymbols: o2, getPrototypeOf: n2 } = Object;
90
90
  var a = globalThis;
91
91
  var c2 = a.trustedTypes;
92
92
  var l = c2 ? c2.emptyScript : "";
93
93
  var p = a.reactiveElementPolyfillSupport;
94
- var d = (t4, s3) => t4;
95
- var u = { toAttribute(t4, s3) {
96
- switch (s3) {
94
+ var d = (t4, s4) => t4;
95
+ var u = { toAttribute(t4, s4) {
96
+ switch (s4) {
97
97
  case Boolean:
98
98
  t4 = t4 ? l : null;
99
99
  break;
@@ -102,9 +102,9 @@ var u = { toAttribute(t4, s3) {
102
102
  t4 = null == t4 ? t4 : JSON.stringify(t4);
103
103
  }
104
104
  return t4;
105
- }, fromAttribute(t4, s3) {
105
+ }, fromAttribute(t4, s4) {
106
106
  let i5 = t4;
107
- switch (s3) {
107
+ switch (s4) {
108
108
  case Boolean:
109
109
  i5 = null !== t4;
110
110
  break;
@@ -121,37 +121,35 @@ var u = { toAttribute(t4, s3) {
121
121
  }
122
122
  return i5;
123
123
  } };
124
- var f = (t4, s3) => !i2(t4, s3);
125
- var y = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
124
+ var f = (t4, s4) => !i2(t4, s4);
125
+ var b = { attribute: true, type: String, converter: u, reflect: false, useDefault: false, hasChanged: f };
126
126
  Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
127
- var b = class extends HTMLElement {
127
+ var y = class extends HTMLElement {
128
128
  static addInitializer(t4) {
129
129
  this._$Ei(), (this.l ??= []).push(t4);
130
130
  }
131
131
  static get observedAttributes() {
132
132
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
133
133
  }
134
- static createProperty(t4, s3 = y) {
135
- if (s3.state && (s3.attribute = false), this._$Ei(), this.elementProperties.set(t4, s3), !s3.noAccessor) {
136
- const i5 = Symbol(), r7 = this.getPropertyDescriptor(t4, i5, s3);
137
- void 0 !== r7 && e2(this.prototype, t4, r7);
134
+ static createProperty(t4, s4 = b) {
135
+ if (s4.state && (s4.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t4) && ((s4 = Object.create(s4)).wrapped = true), this.elementProperties.set(t4, s4), !s4.noAccessor) {
136
+ const i5 = Symbol(), h3 = this.getPropertyDescriptor(t4, i5, s4);
137
+ void 0 !== h3 && e2(this.prototype, t4, h3);
138
138
  }
139
139
  }
140
- static getPropertyDescriptor(t4, s3, i5) {
141
- const { get: e5, set: h3 } = r2(this.prototype, t4) ?? { get() {
142
- return this[s3];
140
+ static getPropertyDescriptor(t4, s4, i5) {
141
+ const { get: e5, set: r6 } = h(this.prototype, t4) ?? { get() {
142
+ return this[s4];
143
143
  }, set(t5) {
144
- this[s3] = t5;
144
+ this[s4] = t5;
145
145
  } };
146
- return { get() {
147
- return e5?.call(this);
148
- }, set(s4) {
149
- const r7 = e5?.call(this);
150
- h3.call(this, s4), this.requestUpdate(t4, r7, i5);
146
+ return { get: e5, set(s5) {
147
+ const h3 = e5?.call(this);
148
+ r6?.call(this, s5), this.requestUpdate(t4, h3, i5);
151
149
  }, configurable: true, enumerable: true };
152
150
  }
153
151
  static getPropertyOptions(t4) {
154
- return this.elementProperties.get(t4) ?? y;
152
+ return this.elementProperties.get(t4) ?? b;
155
153
  }
156
154
  static _$Ei() {
157
155
  if (this.hasOwnProperty(d("elementProperties"))) return;
@@ -161,31 +159,31 @@ var b = class extends HTMLElement {
161
159
  static finalize() {
162
160
  if (this.hasOwnProperty(d("finalized"))) return;
163
161
  if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
164
- const t5 = this.properties, s3 = [...h(t5), ...o2(t5)];
165
- for (const i5 of s3) this.createProperty(i5, t5[i5]);
162
+ const t5 = this.properties, s4 = [...r2(t5), ...o2(t5)];
163
+ for (const i5 of s4) this.createProperty(i5, t5[i5]);
166
164
  }
167
165
  const t4 = this[Symbol.metadata];
168
166
  if (null !== t4) {
169
- const s3 = litPropertyMetadata.get(t4);
170
- if (void 0 !== s3) for (const [t5, i5] of s3) this.elementProperties.set(t5, i5);
167
+ const s4 = litPropertyMetadata.get(t4);
168
+ if (void 0 !== s4) for (const [t5, i5] of s4) this.elementProperties.set(t5, i5);
171
169
  }
172
170
  this._$Eh = /* @__PURE__ */ new Map();
173
- for (const [t5, s3] of this.elementProperties) {
174
- const i5 = this._$Eu(t5, s3);
171
+ for (const [t5, s4] of this.elementProperties) {
172
+ const i5 = this._$Eu(t5, s4);
175
173
  void 0 !== i5 && this._$Eh.set(i5, t5);
176
174
  }
177
175
  this.elementStyles = this.finalizeStyles(this.styles);
178
176
  }
179
- static finalizeStyles(s3) {
177
+ static finalizeStyles(s4) {
180
178
  const i5 = [];
181
- if (Array.isArray(s3)) {
182
- const e5 = new Set(s3.flat(1 / 0).reverse());
183
- for (const s4 of e5) i5.unshift(c(s4));
184
- } else void 0 !== s3 && i5.push(c(s3));
179
+ if (Array.isArray(s4)) {
180
+ const e5 = new Set(s4.flat(1 / 0).reverse());
181
+ for (const s5 of e5) i5.unshift(c(s5));
182
+ } else void 0 !== s4 && i5.push(c(s4));
185
183
  return i5;
186
184
  }
187
- static _$Eu(t4, s3) {
188
- const i5 = s3.attribute;
185
+ static _$Eu(t4, s4) {
186
+ const i5 = s4.attribute;
189
187
  return false === i5 ? void 0 : "string" == typeof i5 ? i5 : "string" == typeof t4 ? t4.toLowerCase() : void 0;
190
188
  }
191
189
  constructor() {
@@ -201,8 +199,8 @@ var b = class extends HTMLElement {
201
199
  this._$EO?.delete(t4);
202
200
  }
203
201
  _$E_() {
204
- const t4 = /* @__PURE__ */ new Map(), s3 = this.constructor.elementProperties;
205
- for (const i5 of s3.keys()) this.hasOwnProperty(i5) && (t4.set(i5, this[i5]), delete this[i5]);
202
+ const t4 = /* @__PURE__ */ new Map(), s4 = this.constructor.elementProperties;
203
+ for (const i5 of s4.keys()) this.hasOwnProperty(i5) && (t4.set(i5, this[i5]), delete this[i5]);
206
204
  t4.size > 0 && (this._$Ep = t4);
207
205
  }
208
206
  createRenderRoot() {
@@ -217,34 +215,37 @@ var b = class extends HTMLElement {
217
215
  disconnectedCallback() {
218
216
  this._$EO?.forEach((t4) => t4.hostDisconnected?.());
219
217
  }
220
- attributeChangedCallback(t4, s3, i5) {
218
+ attributeChangedCallback(t4, s4, i5) {
221
219
  this._$AK(t4, i5);
222
220
  }
223
- _$EC(t4, s3) {
221
+ _$ET(t4, s4) {
224
222
  const i5 = this.constructor.elementProperties.get(t4), e5 = this.constructor._$Eu(t4, i5);
225
223
  if (void 0 !== e5 && true === i5.reflect) {
226
- const r7 = (void 0 !== i5.converter?.toAttribute ? i5.converter : u).toAttribute(s3, i5.type);
227
- this._$Em = t4, null == r7 ? this.removeAttribute(e5) : this.setAttribute(e5, r7), this._$Em = null;
224
+ const h3 = (void 0 !== i5.converter?.toAttribute ? i5.converter : u).toAttribute(s4, i5.type);
225
+ this._$Em = t4, null == h3 ? this.removeAttribute(e5) : this.setAttribute(e5, h3), this._$Em = null;
228
226
  }
229
227
  }
230
- _$AK(t4, s3) {
228
+ _$AK(t4, s4) {
231
229
  const i5 = this.constructor, e5 = i5._$Eh.get(t4);
232
230
  if (void 0 !== e5 && this._$Em !== e5) {
233
- const t5 = i5.getPropertyOptions(e5), r7 = "function" == typeof t5.converter ? { fromAttribute: t5.converter } : void 0 !== t5.converter?.fromAttribute ? t5.converter : u;
234
- this._$Em = e5, this[e5] = r7.fromAttribute(s3, t5.type), this._$Em = null;
231
+ const t5 = i5.getPropertyOptions(e5), h3 = "function" == typeof t5.converter ? { fromAttribute: t5.converter } : void 0 !== t5.converter?.fromAttribute ? t5.converter : u;
232
+ this._$Em = e5;
233
+ const r6 = h3.fromAttribute(s4, t5.type);
234
+ this[e5] = r6 ?? this._$Ej?.get(e5) ?? r6, this._$Em = null;
235
235
  }
236
236
  }
237
- requestUpdate(t4, s3, i5) {
237
+ requestUpdate(t4, s4, i5) {
238
238
  if (void 0 !== t4) {
239
- if (i5 ??= this.constructor.getPropertyOptions(t4), !(i5.hasChanged ?? f)(this[t4], s3)) return;
240
- this.P(t4, s3, i5);
239
+ const e5 = this.constructor, h3 = this[t4];
240
+ if (i5 ??= e5.getPropertyOptions(t4), !((i5.hasChanged ?? f)(h3, s4) || i5.useDefault && i5.reflect && h3 === this._$Ej?.get(t4) && !this.hasAttribute(e5._$Eu(t4, i5)))) return;
241
+ this.C(t4, s4, i5);
241
242
  }
242
- false === this.isUpdatePending && (this._$ES = this._$ET());
243
+ false === this.isUpdatePending && (this._$ES = this._$EP());
243
244
  }
244
- P(t4, s3, i5) {
245
- this._$AL.has(t4) || this._$AL.set(t4, s3), true === i5.reflect && this._$Em !== t4 && (this._$Ej ??= /* @__PURE__ */ new Set()).add(t4);
245
+ C(t4, s4, { useDefault: i5, reflect: e5, wrapped: h3 }, r6) {
246
+ i5 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t4) && (this._$Ej.set(t4, r6 ?? s4 ?? this[t4]), true !== h3 || void 0 !== r6) || (this._$AL.has(t4) || (this.hasUpdated || i5 || (s4 = void 0), this._$AL.set(t4, s4)), true === e5 && this._$Em !== t4 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t4));
246
247
  }
247
- async _$ET() {
248
+ async _$EP() {
248
249
  this.isUpdatePending = true;
249
250
  try {
250
251
  await this._$ES;
@@ -261,27 +262,30 @@ var b = class extends HTMLElement {
261
262
  if (!this.isUpdatePending) return;
262
263
  if (!this.hasUpdated) {
263
264
  if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
264
- for (const [t6, s4] of this._$Ep) this[t6] = s4;
265
+ for (const [t6, s5] of this._$Ep) this[t6] = s5;
265
266
  this._$Ep = void 0;
266
267
  }
267
268
  const t5 = this.constructor.elementProperties;
268
- if (t5.size > 0) for (const [s4, i5] of t5) true !== i5.wrapped || this._$AL.has(s4) || void 0 === this[s4] || this.P(s4, this[s4], i5);
269
+ if (t5.size > 0) for (const [s5, i5] of t5) {
270
+ const { wrapped: t6 } = i5, e5 = this[s5];
271
+ true !== t6 || this._$AL.has(s5) || void 0 === e5 || this.C(s5, void 0, i5, e5);
272
+ }
269
273
  }
270
274
  let t4 = false;
271
- const s3 = this._$AL;
275
+ const s4 = this._$AL;
272
276
  try {
273
- t4 = this.shouldUpdate(s3), t4 ? (this.willUpdate(s3), this._$EO?.forEach((t5) => t5.hostUpdate?.()), this.update(s3)) : this._$EU();
274
- } catch (s4) {
275
- throw t4 = false, this._$EU(), s4;
277
+ t4 = this.shouldUpdate(s4), t4 ? (this.willUpdate(s4), this._$EO?.forEach((t5) => t5.hostUpdate?.()), this.update(s4)) : this._$EM();
278
+ } catch (s5) {
279
+ throw t4 = false, this._$EM(), s5;
276
280
  }
277
- t4 && this._$AE(s3);
281
+ t4 && this._$AE(s4);
278
282
  }
279
283
  willUpdate(t4) {
280
284
  }
281
285
  _$AE(t4) {
282
286
  this._$EO?.forEach((t5) => t5.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t4)), this.updated(t4);
283
287
  }
284
- _$EU() {
288
+ _$EM() {
285
289
  this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
286
290
  }
287
291
  get updateComplete() {
@@ -294,14 +298,14 @@ var b = class extends HTMLElement {
294
298
  return true;
295
299
  }
296
300
  update(t4) {
297
- this._$Ej &&= this._$Ej.forEach((t5) => this._$EC(t5, this[t5])), this._$EU();
301
+ this._$Eq &&= this._$Eq.forEach((t5) => this._$ET(t5, this[t5])), this._$EM();
298
302
  }
299
303
  updated(t4) {
300
304
  }
301
305
  firstUpdated(t4) {
302
306
  }
303
307
  };
304
- b.elementStyles = [], b.shadowRootOptions = { mode: "open" }, b[d("elementProperties")] = /* @__PURE__ */ new Map(), b[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: b }), (a.reactiveElementVersions ??= []).push("2.0.4");
308
+ y.elementStyles = [], y.shadowRootOptions = { mode: "open" }, y[d("elementProperties")] = /* @__PURE__ */ new Map(), y[d("finalized")] = /* @__PURE__ */ new Map(), p?.({ ReactiveElement: y }), (a.reactiveElementVersions ??= []).push("2.1.1");
305
309
 
306
310
  // node_modules/lit-html/lit-html.js
307
311
  var t2 = globalThis;
@@ -325,7 +329,7 @@ var m = RegExp(`>|${d2}(?:([^\\s"'>=/]+)(${d2}*=${d2}*(?:[^
325
329
  var p2 = /'/g;
326
330
  var g = /"/g;
327
331
  var $ = /^(?:script|style|textarea|title)$/i;
328
- var y2 = (t4) => (i5, ...s3) => ({ _$litType$: t4, strings: i5, values: s3 });
332
+ var y2 = (t4) => (i5, ...s4) => ({ _$litType$: t4, strings: i5, values: s4 });
329
333
  var x = y2(1);
330
334
  var b2 = y2(2);
331
335
  var w = y2(3);
@@ -338,59 +342,59 @@ function P(t4, i5) {
338
342
  return void 0 !== s2 ? s2.createHTML(i5) : i5;
339
343
  }
340
344
  var V = (t4, i5) => {
341
- const s3 = t4.length - 1, o5 = [];
342
- let r7, l3 = 2 === i5 ? "<svg>" : 3 === i5 ? "<math>" : "", c4 = f2;
343
- for (let i6 = 0; i6 < s3; i6++) {
344
- const s4 = t4[i6];
345
+ const s4 = t4.length - 1, o6 = [];
346
+ let r6, l3 = 2 === i5 ? "<svg>" : 3 === i5 ? "<math>" : "", c4 = f2;
347
+ for (let i6 = 0; i6 < s4; i6++) {
348
+ const s5 = t4[i6];
345
349
  let a3, u3, d3 = -1, y3 = 0;
346
- for (; y3 < s4.length && (c4.lastIndex = y3, u3 = c4.exec(s4), null !== u3); ) y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r7 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r7 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r7 = void 0);
350
+ for (; y3 < s5.length && (c4.lastIndex = y3, u3 = c4.exec(s5), null !== u3); ) y3 = c4.lastIndex, c4 === f2 ? "!--" === u3[1] ? c4 = v : void 0 !== u3[1] ? c4 = _ : void 0 !== u3[2] ? ($.test(u3[2]) && (r6 = RegExp("</" + u3[2], "g")), c4 = m) : void 0 !== u3[3] && (c4 = m) : c4 === m ? ">" === u3[0] ? (c4 = r6 ?? f2, d3 = -1) : void 0 === u3[1] ? d3 = -2 : (d3 = c4.lastIndex - u3[2].length, a3 = u3[1], c4 = void 0 === u3[3] ? m : '"' === u3[3] ? g : p2) : c4 === g || c4 === p2 ? c4 = m : c4 === v || c4 === _ ? c4 = f2 : (c4 = m, r6 = void 0);
347
351
  const x2 = c4 === m && t4[i6 + 1].startsWith("/>") ? " " : "";
348
- l3 += c4 === f2 ? s4 + n3 : d3 >= 0 ? (o5.push(a3), s4.slice(0, d3) + e3 + s4.slice(d3) + h2 + x2) : s4 + h2 + (-2 === d3 ? i6 : x2);
352
+ l3 += c4 === f2 ? s5 + n3 : d3 >= 0 ? (o6.push(a3), s5.slice(0, d3) + e3 + s5.slice(d3) + h2 + x2) : s5 + h2 + (-2 === d3 ? i6 : x2);
349
353
  }
350
- return [P(t4, l3 + (t4[s3] || "<?>") + (2 === i5 ? "</svg>" : 3 === i5 ? "</math>" : "")), o5];
354
+ return [P(t4, l3 + (t4[s4] || "<?>") + (2 === i5 ? "</svg>" : 3 === i5 ? "</math>" : "")), o6];
351
355
  };
352
356
  var N = class _N {
353
- constructor({ strings: t4, _$litType$: s3 }, n5) {
354
- let r7;
357
+ constructor({ strings: t4, _$litType$: s4 }, n5) {
358
+ let r6;
355
359
  this.parts = [];
356
360
  let c4 = 0, a3 = 0;
357
- const u3 = t4.length - 1, d3 = this.parts, [f3, v2] = V(t4, s3);
358
- if (this.el = _N.createElement(f3, n5), C.currentNode = this.el.content, 2 === s3 || 3 === s3) {
361
+ const u3 = t4.length - 1, d3 = this.parts, [f3, v2] = V(t4, s4);
362
+ if (this.el = _N.createElement(f3, n5), C.currentNode = this.el.content, 2 === s4 || 3 === s4) {
359
363
  const t5 = this.el.content.firstChild;
360
364
  t5.replaceWith(...t5.childNodes);
361
365
  }
362
- for (; null !== (r7 = C.nextNode()) && d3.length < u3; ) {
363
- if (1 === r7.nodeType) {
364
- if (r7.hasAttributes()) for (const t5 of r7.getAttributeNames()) if (t5.endsWith(e3)) {
365
- const i5 = v2[a3++], s4 = r7.getAttribute(t5).split(h2), e5 = /([.?@])?(.*)/.exec(i5);
366
- d3.push({ type: 1, index: c4, name: e5[2], strings: s4, ctor: "." === e5[1] ? H : "?" === e5[1] ? I : "@" === e5[1] ? L : k }), r7.removeAttribute(t5);
367
- } else t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r7.removeAttribute(t5));
368
- if ($.test(r7.tagName)) {
369
- const t5 = r7.textContent.split(h2), s4 = t5.length - 1;
370
- if (s4 > 0) {
371
- r7.textContent = i3 ? i3.emptyScript : "";
372
- for (let i5 = 0; i5 < s4; i5++) r7.append(t5[i5], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
373
- r7.append(t5[s4], l2());
366
+ for (; null !== (r6 = C.nextNode()) && d3.length < u3; ) {
367
+ if (1 === r6.nodeType) {
368
+ if (r6.hasAttributes()) for (const t5 of r6.getAttributeNames()) if (t5.endsWith(e3)) {
369
+ const i5 = v2[a3++], s5 = r6.getAttribute(t5).split(h2), e5 = /([.?@])?(.*)/.exec(i5);
370
+ d3.push({ type: 1, index: c4, name: e5[2], strings: s5, ctor: "." === e5[1] ? H : "?" === e5[1] ? I : "@" === e5[1] ? L : k }), r6.removeAttribute(t5);
371
+ } else t5.startsWith(h2) && (d3.push({ type: 6, index: c4 }), r6.removeAttribute(t5));
372
+ if ($.test(r6.tagName)) {
373
+ const t5 = r6.textContent.split(h2), s5 = t5.length - 1;
374
+ if (s5 > 0) {
375
+ r6.textContent = i3 ? i3.emptyScript : "";
376
+ for (let i5 = 0; i5 < s5; i5++) r6.append(t5[i5], l2()), C.nextNode(), d3.push({ type: 2, index: ++c4 });
377
+ r6.append(t5[s5], l2());
374
378
  }
375
379
  }
376
- } else if (8 === r7.nodeType) if (r7.data === o3) d3.push({ type: 2, index: c4 });
380
+ } else if (8 === r6.nodeType) if (r6.data === o3) d3.push({ type: 2, index: c4 });
377
381
  else {
378
382
  let t5 = -1;
379
- for (; -1 !== (t5 = r7.data.indexOf(h2, t5 + 1)); ) d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
383
+ for (; -1 !== (t5 = r6.data.indexOf(h2, t5 + 1)); ) d3.push({ type: 7, index: c4 }), t5 += h2.length - 1;
380
384
  }
381
385
  c4++;
382
386
  }
383
387
  }
384
388
  static createElement(t4, i5) {
385
- const s3 = r3.createElement("template");
386
- return s3.innerHTML = t4, s3;
389
+ const s4 = r3.createElement("template");
390
+ return s4.innerHTML = t4, s4;
387
391
  }
388
392
  };
389
- function S2(t4, i5, s3 = t4, e5) {
393
+ function S2(t4, i5, s4 = t4, e5) {
390
394
  if (i5 === T) return i5;
391
- let h3 = void 0 !== e5 ? s3._$Co?.[e5] : s3._$Cl;
392
- const o5 = c3(i5) ? void 0 : i5._$litDirective$;
393
- return h3?.constructor !== o5 && (h3?._$AO?.(false), void 0 === o5 ? h3 = void 0 : (h3 = new o5(t4), h3._$AT(t4, s3, e5)), void 0 !== e5 ? (s3._$Co ??= [])[e5] = h3 : s3._$Cl = h3), void 0 !== h3 && (i5 = S2(t4, h3._$AS(t4, i5.values), h3, e5)), i5;
395
+ let h3 = void 0 !== e5 ? s4._$Co?.[e5] : s4._$Cl;
396
+ const o6 = c3(i5) ? void 0 : i5._$litDirective$;
397
+ return h3?.constructor !== o6 && (h3?._$AO?.(false), void 0 === o6 ? h3 = void 0 : (h3 = new o6(t4), h3._$AT(t4, s4, e5)), void 0 !== e5 ? (s4._$Co ??= [])[e5] = h3 : s4._$Cl = h3), void 0 !== h3 && (i5 = S2(t4, h3._$AS(t4, i5.values), h3, e5)), i5;
394
398
  }
395
399
  var M = class {
396
400
  constructor(t4, i5) {
@@ -403,29 +407,29 @@ var M = class {
403
407
  return this._$AM._$AU;
404
408
  }
405
409
  u(t4) {
406
- const { el: { content: i5 }, parts: s3 } = this._$AD, e5 = (t4?.creationScope ?? r3).importNode(i5, true);
410
+ const { el: { content: i5 }, parts: s4 } = this._$AD, e5 = (t4?.creationScope ?? r3).importNode(i5, true);
407
411
  C.currentNode = e5;
408
- let h3 = C.nextNode(), o5 = 0, n5 = 0, l3 = s3[0];
412
+ let h3 = C.nextNode(), o6 = 0, n5 = 0, l3 = s4[0];
409
413
  for (; void 0 !== l3; ) {
410
- if (o5 === l3.index) {
414
+ if (o6 === l3.index) {
411
415
  let i6;
412
- 2 === l3.type ? i6 = new R(h3, h3.nextSibling, this, t4) : 1 === l3.type ? i6 = new l3.ctor(h3, l3.name, l3.strings, this, t4) : 6 === l3.type && (i6 = new z(h3, this, t4)), this._$AV.push(i6), l3 = s3[++n5];
416
+ 2 === l3.type ? i6 = new R(h3, h3.nextSibling, this, t4) : 1 === l3.type ? i6 = new l3.ctor(h3, l3.name, l3.strings, this, t4) : 6 === l3.type && (i6 = new z(h3, this, t4)), this._$AV.push(i6), l3 = s4[++n5];
413
417
  }
414
- o5 !== l3?.index && (h3 = C.nextNode(), o5++);
418
+ o6 !== l3?.index && (h3 = C.nextNode(), o6++);
415
419
  }
416
420
  return C.currentNode = r3, e5;
417
421
  }
418
422
  p(t4) {
419
423
  let i5 = 0;
420
- for (const s3 of this._$AV) void 0 !== s3 && (void 0 !== s3.strings ? (s3._$AI(t4, s3, i5), i5 += s3.strings.length - 2) : s3._$AI(t4[i5])), i5++;
424
+ for (const s4 of this._$AV) void 0 !== s4 && (void 0 !== s4.strings ? (s4._$AI(t4, s4, i5), i5 += s4.strings.length - 2) : s4._$AI(t4[i5])), i5++;
421
425
  }
422
426
  };
423
427
  var R = class _R {
424
428
  get _$AU() {
425
429
  return this._$AM?._$AU ?? this._$Cv;
426
430
  }
427
- constructor(t4, i5, s3, e5) {
428
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t4, this._$AB = i5, this._$AM = s3, this.options = e5, this._$Cv = e5?.isConnected ?? true;
431
+ constructor(t4, i5, s4, e5) {
432
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t4, this._$AB = i5, this._$AM = s4, this.options = e5, this._$Cv = e5?.isConnected ?? true;
429
433
  }
430
434
  get parentNode() {
431
435
  let t4 = this._$AA.parentNode;
@@ -451,11 +455,11 @@ var R = class _R {
451
455
  this._$AH !== E && c3(this._$AH) ? this._$AA.nextSibling.data = t4 : this.T(r3.createTextNode(t4)), this._$AH = t4;
452
456
  }
453
457
  $(t4) {
454
- const { values: i5, _$litType$: s3 } = t4, e5 = "number" == typeof s3 ? this._$AC(t4) : (void 0 === s3.el && (s3.el = N.createElement(P(s3.h, s3.h[0]), this.options)), s3);
458
+ const { values: i5, _$litType$: s4 } = t4, e5 = "number" == typeof s4 ? this._$AC(t4) : (void 0 === s4.el && (s4.el = N.createElement(P(s4.h, s4.h[0]), this.options)), s4);
455
459
  if (this._$AH?._$AD === e5) this._$AH.p(i5);
456
460
  else {
457
- const t5 = new M(e5, this), s4 = t5.u(this.options);
458
- t5.p(i5), this.T(s4), this._$AH = t5;
461
+ const t5 = new M(e5, this), s5 = t5.u(this.options);
462
+ t5.p(i5), this.T(s5), this._$AH = t5;
459
463
  }
460
464
  }
461
465
  _$AC(t4) {
@@ -465,12 +469,12 @@ var R = class _R {
465
469
  k(t4) {
466
470
  a2(this._$AH) || (this._$AH = [], this._$AR());
467
471
  const i5 = this._$AH;
468
- let s3, e5 = 0;
469
- for (const h3 of t4) e5 === i5.length ? i5.push(s3 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s3 = i5[e5], s3._$AI(h3), e5++;
470
- e5 < i5.length && (this._$AR(s3 && s3._$AB.nextSibling, e5), i5.length = e5);
472
+ let s4, e5 = 0;
473
+ for (const h3 of t4) e5 === i5.length ? i5.push(s4 = new _R(this.O(l2()), this.O(l2()), this, this.options)) : s4 = i5[e5], s4._$AI(h3), e5++;
474
+ e5 < i5.length && (this._$AR(s4 && s4._$AB.nextSibling, e5), i5.length = e5);
471
475
  }
472
476
  _$AR(t4 = this._$AA.nextSibling, i5) {
473
- for (this._$AP?.(false, true, i5); t4 && t4 !== this._$AB; ) {
477
+ for (this._$AP?.(false, true, i5); t4 !== this._$AB; ) {
474
478
  const i6 = t4.nextSibling;
475
479
  t4.remove(), t4 = i6;
476
480
  }
@@ -486,19 +490,19 @@ var k = class {
486
490
  get _$AU() {
487
491
  return this._$AM._$AU;
488
492
  }
489
- constructor(t4, i5, s3, e5, h3) {
490
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t4, this.name = i5, this._$AM = e5, this.options = h3, s3.length > 2 || "" !== s3[0] || "" !== s3[1] ? (this._$AH = Array(s3.length - 1).fill(new String()), this.strings = s3) : this._$AH = E;
493
+ constructor(t4, i5, s4, e5, h3) {
494
+ this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t4, this.name = i5, this._$AM = e5, this.options = h3, s4.length > 2 || "" !== s4[0] || "" !== s4[1] ? (this._$AH = Array(s4.length - 1).fill(new String()), this.strings = s4) : this._$AH = E;
491
495
  }
492
- _$AI(t4, i5 = this, s3, e5) {
496
+ _$AI(t4, i5 = this, s4, e5) {
493
497
  const h3 = this.strings;
494
- let o5 = false;
495
- if (void 0 === h3) t4 = S2(this, t4, i5, 0), o5 = !c3(t4) || t4 !== this._$AH && t4 !== T, o5 && (this._$AH = t4);
498
+ let o6 = false;
499
+ if (void 0 === h3) t4 = S2(this, t4, i5, 0), o6 = !c3(t4) || t4 !== this._$AH && t4 !== T, o6 && (this._$AH = t4);
496
500
  else {
497
501
  const e6 = t4;
498
- let n5, r7;
499
- for (t4 = h3[0], n5 = 0; n5 < h3.length - 1; n5++) r7 = S2(this, e6[s3 + n5], i5, n5), r7 === T && (r7 = this._$AH[n5]), o5 ||= !c3(r7) || r7 !== this._$AH[n5], r7 === E ? t4 = E : t4 !== E && (t4 += (r7 ?? "") + h3[n5 + 1]), this._$AH[n5] = r7;
502
+ let n5, r6;
503
+ for (t4 = h3[0], n5 = 0; n5 < h3.length - 1; n5++) r6 = S2(this, e6[s4 + n5], i5, n5), r6 === T && (r6 = this._$AH[n5]), o6 ||= !c3(r6) || r6 !== this._$AH[n5], r6 === E ? t4 = E : t4 !== E && (t4 += (r6 ?? "") + h3[n5 + 1]), this._$AH[n5] = r6;
500
504
  }
501
- o5 && !e5 && this.j(t4);
505
+ o6 && !e5 && this.j(t4);
502
506
  }
503
507
  j(t4) {
504
508
  t4 === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t4 ?? "");
@@ -521,21 +525,21 @@ var I = class extends k {
521
525
  }
522
526
  };
523
527
  var L = class extends k {
524
- constructor(t4, i5, s3, e5, h3) {
525
- super(t4, i5, s3, e5, h3), this.type = 5;
528
+ constructor(t4, i5, s4, e5, h3) {
529
+ super(t4, i5, s4, e5, h3), this.type = 5;
526
530
  }
527
531
  _$AI(t4, i5 = this) {
528
532
  if ((t4 = S2(this, t4, i5, 0) ?? E) === T) return;
529
- const s3 = this._$AH, e5 = t4 === E && s3 !== E || t4.capture !== s3.capture || t4.once !== s3.once || t4.passive !== s3.passive, h3 = t4 !== E && (s3 === E || e5);
530
- e5 && this.element.removeEventListener(this.name, this, s3), h3 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
533
+ const s4 = this._$AH, e5 = t4 === E && s4 !== E || t4.capture !== s4.capture || t4.once !== s4.once || t4.passive !== s4.passive, h3 = t4 !== E && (s4 === E || e5);
534
+ e5 && this.element.removeEventListener(this.name, this, s4), h3 && this.element.addEventListener(this.name, this, t4), this._$AH = t4;
531
535
  }
532
536
  handleEvent(t4) {
533
537
  "function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t4) : this._$AH.handleEvent(t4);
534
538
  }
535
539
  };
536
540
  var z = class {
537
- constructor(t4, i5, s3) {
538
- this.element = t4, this.type = 6, this._$AN = void 0, this._$AM = i5, this.options = s3;
541
+ constructor(t4, i5, s4) {
542
+ this.element = t4, this.type = 6, this._$AN = void 0, this._$AM = i5, this.options = s4;
539
543
  }
540
544
  get _$AU() {
541
545
  return this._$AM._$AU;
@@ -545,19 +549,20 @@ var z = class {
545
549
  }
546
550
  };
547
551
  var j = t2.litHtmlPolyfillSupport;
548
- j?.(N, R), (t2.litHtmlVersions ??= []).push("3.2.1");
549
- var B = (t4, i5, s3) => {
550
- const e5 = s3?.renderBefore ?? i5;
552
+ j?.(N, R), (t2.litHtmlVersions ??= []).push("3.3.1");
553
+ var B = (t4, i5, s4) => {
554
+ const e5 = s4?.renderBefore ?? i5;
551
555
  let h3 = e5._$litPart$;
552
556
  if (void 0 === h3) {
553
- const t5 = s3?.renderBefore ?? null;
554
- e5._$litPart$ = h3 = new R(i5.insertBefore(l2(), t5), t5, void 0, s3 ?? {});
557
+ const t5 = s4?.renderBefore ?? null;
558
+ e5._$litPart$ = h3 = new R(i5.insertBefore(l2(), t5), t5, void 0, s4 ?? {});
555
559
  }
556
560
  return h3._$AI(t4), h3;
557
561
  };
558
562
 
559
563
  // node_modules/lit-element/lit-element.js
560
- var r4 = class extends b {
564
+ var s3 = globalThis;
565
+ var i4 = class extends y {
561
566
  constructor() {
562
567
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
563
568
  }
@@ -566,8 +571,8 @@ var r4 = class extends b {
566
571
  return this.renderOptions.renderBefore ??= t4.firstChild, t4;
567
572
  }
568
573
  update(t4) {
569
- const s3 = this.render();
570
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t4), this._$Do = B(s3, this.renderRoot, this.renderOptions);
574
+ const r6 = this.render();
575
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t4), this._$Do = B(r6, this.renderRoot, this.renderOptions);
571
576
  }
572
577
  connectedCallback() {
573
578
  super.connectedCallback(), this._$Do?.setConnected(true);
@@ -579,51 +584,51 @@ var r4 = class extends b {
579
584
  return T;
580
585
  }
581
586
  };
582
- r4._$litElement$ = true, r4["finalized"] = true, globalThis.litElementHydrateSupport?.({ LitElement: r4 });
583
- var i4 = globalThis.litElementPolyfillSupport;
584
- i4?.({ LitElement: r4 });
585
- (globalThis.litElementVersions ??= []).push("4.1.1");
587
+ i4._$litElement$ = true, i4["finalized"] = true, s3.litElementHydrateSupport?.({ LitElement: i4 });
588
+ var o4 = s3.litElementPolyfillSupport;
589
+ o4?.({ LitElement: i4 });
590
+ (s3.litElementVersions ??= []).push("4.2.1");
586
591
 
587
592
  // node_modules/@lit/reactive-element/decorators/custom-element.js
588
- var t3 = (t4) => (e5, o5) => {
589
- void 0 !== o5 ? o5.addInitializer(() => {
593
+ var t3 = (t4) => (e5, o6) => {
594
+ void 0 !== o6 ? o6.addInitializer(() => {
590
595
  customElements.define(t4, e5);
591
596
  }) : customElements.define(t4, e5);
592
597
  };
593
598
 
594
599
  // node_modules/@lit/reactive-element/decorators/property.js
595
- var o4 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
596
- var r5 = (t4 = o4, e5, r7) => {
597
- const { kind: n5, metadata: i5 } = r7;
598
- let s3 = globalThis.litPropertyMetadata.get(i5);
599
- if (void 0 === s3 && globalThis.litPropertyMetadata.set(i5, s3 = /* @__PURE__ */ new Map()), s3.set(r7.name, t4), "accessor" === n5) {
600
- const { name: o5 } = r7;
601
- return { set(r8) {
600
+ var o5 = { attribute: true, type: String, converter: u, reflect: false, hasChanged: f };
601
+ var r4 = (t4 = o5, e5, r6) => {
602
+ const { kind: n5, metadata: i5 } = r6;
603
+ let s4 = globalThis.litPropertyMetadata.get(i5);
604
+ if (void 0 === s4 && globalThis.litPropertyMetadata.set(i5, s4 = /* @__PURE__ */ new Map()), "setter" === n5 && ((t4 = Object.create(t4)).wrapped = true), s4.set(r6.name, t4), "accessor" === n5) {
605
+ const { name: o6 } = r6;
606
+ return { set(r7) {
602
607
  const n6 = e5.get.call(this);
603
- e5.set.call(this, r8), this.requestUpdate(o5, n6, t4);
608
+ e5.set.call(this, r7), this.requestUpdate(o6, n6, t4);
604
609
  }, init(e6) {
605
- return void 0 !== e6 && this.P(o5, void 0, t4), e6;
610
+ return void 0 !== e6 && this.C(o6, void 0, t4, e6), e6;
606
611
  } };
607
612
  }
608
613
  if ("setter" === n5) {
609
- const { name: o5 } = r7;
610
- return function(r8) {
611
- const n6 = this[o5];
612
- e5.call(this, r8), this.requestUpdate(o5, n6, t4);
614
+ const { name: o6 } = r6;
615
+ return function(r7) {
616
+ const n6 = this[o6];
617
+ e5.call(this, r7), this.requestUpdate(o6, n6, t4);
613
618
  };
614
619
  }
615
620
  throw Error("Unsupported decorator location: " + n5);
616
621
  };
617
622
  function n4(t4) {
618
- return (e5, o5) => "object" == typeof o5 ? r5(t4, e5, o5) : ((t5, e6, o6) => {
619
- const r7 = e6.hasOwnProperty(o6);
620
- return e6.constructor.createProperty(o6, r7 ? { ...t5, wrapped: true } : t5), r7 ? Object.getOwnPropertyDescriptor(e6, o6) : void 0;
621
- })(t4, e5, o5);
623
+ return (e5, o6) => "object" == typeof o6 ? r4(t4, e5, o6) : ((t5, e6, o7) => {
624
+ const r6 = e6.hasOwnProperty(o7);
625
+ return e6.constructor.createProperty(o7, t5), r6 ? Object.getOwnPropertyDescriptor(e6, o7) : void 0;
626
+ })(t4, e5, o6);
622
627
  }
623
628
 
624
629
  // node_modules/@lit/reactive-element/decorators/state.js
625
- function r6(r7) {
626
- return n4({ ...r7, state: true, attribute: false });
630
+ function r5(r6) {
631
+ return n4({ ...r6, state: true, attribute: false });
627
632
  }
628
633
 
629
634
  // dist/utils.js
@@ -754,7 +759,7 @@ var AudioService = class {
754
759
  }
755
760
  };
756
761
 
757
- // ../corti-sdk-typescript/dist/esm/core/json.mjs
762
+ // node_modules/@corti/sdk/dist/esm/core/json.mjs
758
763
  var toJson = (value, replacer, space) => {
759
764
  return JSON.stringify(value, replacer, space);
760
765
  };
@@ -762,7 +767,7 @@ function fromJson(text, reviver) {
762
767
  return JSON.parse(text, reviver);
763
768
  }
764
769
 
765
- // ../corti-sdk-typescript/dist/esm/errors/CortiError.mjs
770
+ // node_modules/@corti/sdk/dist/esm/errors/CortiError.mjs
766
771
  var CortiError = class _CortiError extends Error {
767
772
  constructor({ message, statusCode, body, rawResponse }) {
768
773
  super(buildMessage({ message, statusCode, body }));
@@ -786,7 +791,7 @@ function buildMessage({ message, statusCode, body }) {
786
791
  return lines.join("\n");
787
792
  }
788
793
 
789
- // ../corti-sdk-typescript/dist/esm/errors/CortiTimeoutError.mjs
794
+ // node_modules/@corti/sdk/dist/esm/errors/CortiTimeoutError.mjs
790
795
  var CortiTimeoutError = class _CortiTimeoutError extends Error {
791
796
  constructor(message) {
792
797
  super(message);
@@ -794,7 +799,7 @@ var CortiTimeoutError = class _CortiTimeoutError extends Error {
794
799
  }
795
800
  };
796
801
 
797
- // ../corti-sdk-typescript/dist/esm/api/errors/ForbiddenError.mjs
802
+ // node_modules/@corti/sdk/dist/esm/api/errors/ForbiddenError.mjs
798
803
  var ForbiddenError = class _ForbiddenError extends CortiError {
799
804
  constructor(body, rawResponse) {
800
805
  super({
@@ -807,7 +812,7 @@ var ForbiddenError = class _ForbiddenError extends CortiError {
807
812
  }
808
813
  };
809
814
 
810
- // ../corti-sdk-typescript/dist/esm/api/errors/GatewayTimeoutError.mjs
815
+ // node_modules/@corti/sdk/dist/esm/api/errors/GatewayTimeoutError.mjs
811
816
  var GatewayTimeoutError = class _GatewayTimeoutError extends CortiError {
812
817
  constructor(body, rawResponse) {
813
818
  super({
@@ -820,7 +825,7 @@ var GatewayTimeoutError = class _GatewayTimeoutError extends CortiError {
820
825
  }
821
826
  };
822
827
 
823
- // ../corti-sdk-typescript/dist/esm/api/errors/BadRequestError.mjs
828
+ // node_modules/@corti/sdk/dist/esm/api/errors/BadRequestError.mjs
824
829
  var BadRequestError = class _BadRequestError extends CortiError {
825
830
  constructor(body, rawResponse) {
826
831
  super({
@@ -833,7 +838,7 @@ var BadRequestError = class _BadRequestError extends CortiError {
833
838
  }
834
839
  };
835
840
 
836
- // ../corti-sdk-typescript/dist/esm/api/errors/InternalServerError.mjs
841
+ // node_modules/@corti/sdk/dist/esm/api/errors/InternalServerError.mjs
837
842
  var InternalServerError = class _InternalServerError extends CortiError {
838
843
  constructor(body, rawResponse) {
839
844
  super({
@@ -846,7 +851,7 @@ var InternalServerError = class _InternalServerError extends CortiError {
846
851
  }
847
852
  };
848
853
 
849
- // ../corti-sdk-typescript/dist/esm/api/errors/NotFoundError.mjs
854
+ // node_modules/@corti/sdk/dist/esm/api/errors/NotFoundError.mjs
850
855
  var NotFoundError = class _NotFoundError extends CortiError {
851
856
  constructor(body, rawResponse) {
852
857
  super({
@@ -859,7 +864,7 @@ var NotFoundError = class _NotFoundError extends CortiError {
859
864
  }
860
865
  };
861
866
 
862
- // ../corti-sdk-typescript/dist/esm/api/errors/UnauthorizedError.mjs
867
+ // node_modules/@corti/sdk/dist/esm/api/errors/UnauthorizedError.mjs
863
868
  var UnauthorizedError = class _UnauthorizedError extends CortiError {
864
869
  constructor(body, rawResponse) {
865
870
  super({
@@ -872,7 +877,7 @@ var UnauthorizedError = class _UnauthorizedError extends CortiError {
872
877
  }
873
878
  };
874
879
 
875
- // ../corti-sdk-typescript/dist/esm/core/auth/OAuthTokenProvider.mjs
880
+ // node_modules/@corti/sdk/dist/esm/core/auth/OAuthTokenProvider.mjs
876
881
  var __awaiter = function(thisArg, _arguments, P2, generator) {
877
882
  function adopt(value) {
878
883
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -933,7 +938,7 @@ var OAuthTokenProvider = class {
933
938
  }
934
939
  };
935
940
 
936
- // ../corti-sdk-typescript/dist/esm/core/fetcher/Headers.mjs
941
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/Headers.mjs
937
942
  var Headers;
938
943
  if (typeof globalThis.Headers !== "undefined") {
939
944
  Headers = globalThis.Headers;
@@ -1011,7 +1016,7 @@ if (typeof globalThis.Headers !== "undefined") {
1011
1016
  };
1012
1017
  }
1013
1018
 
1014
- // ../corti-sdk-typescript/dist/esm/core/fetcher/RawResponse.mjs
1019
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/RawResponse.mjs
1015
1020
  var abortRawResponse = {
1016
1021
  headers: new Headers(),
1017
1022
  redirected: false,
@@ -1039,7 +1044,7 @@ function toRawResponse(response) {
1039
1044
  };
1040
1045
  }
1041
1046
 
1042
- // ../corti-sdk-typescript/dist/esm/core/fetcher/Supplier.mjs
1047
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/Supplier.mjs
1043
1048
  var __awaiter2 = function(thisArg, _arguments, P2, generator) {
1044
1049
  function adopt(value) {
1045
1050
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1077,7 +1082,7 @@ var Supplier = {
1077
1082
  })
1078
1083
  };
1079
1084
 
1080
- // ../corti-sdk-typescript/dist/esm/core/url/qs.mjs
1085
+ // node_modules/@corti/sdk/dist/esm/core/url/qs.mjs
1081
1086
  var defaultQsOptions = {
1082
1087
  arrayFormat: "indices",
1083
1088
  encode: true
@@ -1137,13 +1142,13 @@ function toQueryString(obj, options) {
1137
1142
  return parts.join("&");
1138
1143
  }
1139
1144
 
1140
- // ../corti-sdk-typescript/dist/esm/core/fetcher/createRequestUrl.mjs
1145
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/createRequestUrl.mjs
1141
1146
  function createRequestUrl(baseUrl, queryParameters) {
1142
1147
  const queryString = toQueryString(queryParameters, { arrayFormat: "repeat" });
1143
1148
  return queryString ? `${baseUrl}?${queryString}` : baseUrl;
1144
1149
  }
1145
1150
 
1146
- // ../corti-sdk-typescript/dist/esm/core/fetcher/BinaryResponse.mjs
1151
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/BinaryResponse.mjs
1147
1152
  function getBinaryResponse(response) {
1148
1153
  const binaryResponse = {
1149
1154
  get bodyUsed() {
@@ -1159,12 +1164,12 @@ function getBinaryResponse(response) {
1159
1164
  return binaryResponse;
1160
1165
  }
1161
1166
 
1162
- // ../corti-sdk-typescript/dist/esm/core/fetcher/ResponseWithBody.mjs
1167
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/ResponseWithBody.mjs
1163
1168
  function isResponseWithBody(response) {
1164
1169
  return response.body != null;
1165
1170
  }
1166
1171
 
1167
- // ../corti-sdk-typescript/dist/esm/core/fetcher/getResponseBody.mjs
1172
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/getResponseBody.mjs
1168
1173
  var __awaiter3 = function(thisArg, _arguments, P2, generator) {
1169
1174
  function adopt(value) {
1170
1175
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1231,7 +1236,7 @@ function getResponseBody(response, responseType) {
1231
1236
  });
1232
1237
  }
1233
1238
 
1234
- // ../corti-sdk-typescript/dist/esm/core/fetcher/getErrorResponseBody.mjs
1239
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/getErrorResponseBody.mjs
1235
1240
  var __awaiter4 = function(thisArg, _arguments, P2, generator) {
1236
1241
  function adopt(value) {
1237
1242
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1288,7 +1293,7 @@ function getErrorResponseBody(response) {
1288
1293
  });
1289
1294
  }
1290
1295
 
1291
- // ../corti-sdk-typescript/dist/esm/core/fetcher/getFetchFn.mjs
1296
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/getFetchFn.mjs
1292
1297
  var __awaiter5 = function(thisArg, _arguments, P2, generator) {
1293
1298
  function adopt(value) {
1294
1299
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1322,7 +1327,7 @@ function getFetchFn() {
1322
1327
  });
1323
1328
  }
1324
1329
 
1325
- // ../corti-sdk-typescript/dist/esm/core/fetcher/getRequestBody.mjs
1330
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/getRequestBody.mjs
1326
1331
  var __awaiter6 = function(thisArg, _arguments, P2, generator) {
1327
1332
  function adopt(value) {
1328
1333
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1360,7 +1365,7 @@ function getRequestBody(_a) {
1360
1365
  });
1361
1366
  }
1362
1367
 
1363
- // ../corti-sdk-typescript/dist/esm/core/fetcher/signals.mjs
1368
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/signals.mjs
1364
1369
  var TIMEOUT = "timeout";
1365
1370
  function getTimeoutSignal(timeoutMs) {
1366
1371
  const controller = new AbortController();
@@ -1382,7 +1387,7 @@ function anySignal(...args) {
1382
1387
  return controller.signal;
1383
1388
  }
1384
1389
 
1385
- // ../corti-sdk-typescript/dist/esm/core/fetcher/makeRequest.mjs
1390
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/makeRequest.mjs
1386
1391
  var __awaiter7 = function(thisArg, _arguments, P2, generator) {
1387
1392
  function adopt(value) {
1388
1393
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1437,7 +1442,7 @@ var makeRequest = (fetchFn, url, method, headers, requestBody, timeoutMs, abortS
1437
1442
  return response;
1438
1443
  });
1439
1444
 
1440
- // ../corti-sdk-typescript/dist/esm/core/fetcher/requestWithRetries.mjs
1445
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/requestWithRetries.mjs
1441
1446
  var __awaiter8 = function(thisArg, _arguments, P2, generator) {
1442
1447
  function adopt(value) {
1443
1448
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1490,7 +1495,7 @@ function requestWithRetries(requestFn_1) {
1490
1495
  });
1491
1496
  }
1492
1497
 
1493
- // ../corti-sdk-typescript/dist/esm/core/fetcher/Fetcher.mjs
1498
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/Fetcher.mjs
1494
1499
  var __awaiter9 = function(thisArg, _arguments, P2, generator) {
1495
1500
  function adopt(value) {
1496
1501
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1612,7 +1617,7 @@ function fetcherImpl(args) {
1612
1617
  }
1613
1618
  var fetcher = fetcherImpl;
1614
1619
 
1615
- // ../corti-sdk-typescript/dist/esm/core/fetcher/HttpResponsePromise.mjs
1620
+ // node_modules/@corti/sdk/dist/esm/core/fetcher/HttpResponsePromise.mjs
1616
1621
  var __awaiter10 = function(thisArg, _arguments, P2, generator) {
1617
1622
  function adopt(value) {
1618
1623
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -1727,7 +1732,7 @@ var HttpResponsePromise = class _HttpResponsePromise extends Promise {
1727
1732
  }
1728
1733
  };
1729
1734
 
1730
- // ../corti-sdk-typescript/dist/esm/core/runtime/runtime.mjs
1735
+ // node_modules/@corti/sdk/dist/esm/core/runtime/runtime.mjs
1731
1736
  var RUNTIME = evaluateRuntime();
1732
1737
  function evaluateRuntime() {
1733
1738
  var _a, _b, _c, _d, _e;
@@ -1789,14 +1794,14 @@ function evaluateRuntime() {
1789
1794
  };
1790
1795
  }
1791
1796
 
1792
- // ../corti-sdk-typescript/dist/esm/core/url/index.mjs
1797
+ // node_modules/@corti/sdk/dist/esm/core/url/index.mjs
1793
1798
  var url_exports = {};
1794
1799
  __export(url_exports, {
1795
1800
  join: () => join,
1796
1801
  toQueryString: () => toQueryString
1797
1802
  });
1798
1803
 
1799
- // ../corti-sdk-typescript/dist/esm/core/url/join.mjs
1804
+ // node_modules/@corti/sdk/dist/esm/core/url/join.mjs
1800
1805
  function join(base, ...segments) {
1801
1806
  if (!base) {
1802
1807
  return "";
@@ -1862,7 +1867,7 @@ function trimSlashes(str) {
1862
1867
  return start === 0 && end === str.length ? str : str.slice(start, end);
1863
1868
  }
1864
1869
 
1865
- // ../corti-sdk-typescript/dist/esm/core/schemas/index.mjs
1870
+ // node_modules/@corti/sdk/dist/esm/core/schemas/index.mjs
1866
1871
  var schemas_exports = {};
1867
1872
  __export(schemas_exports, {
1868
1873
  JsonError: () => JsonError,
@@ -1897,7 +1902,7 @@ __export(schemas_exports, {
1897
1902
  withParsedProperties: () => withParsedProperties
1898
1903
  });
1899
1904
 
1900
- // ../corti-sdk-typescript/dist/esm/core/schemas/Schema.mjs
1905
+ // node_modules/@corti/sdk/dist/esm/core/schemas/Schema.mjs
1901
1906
  var SchemaType = {
1902
1907
  BIGINT: "bigint",
1903
1908
  DATE: "date",
@@ -1920,7 +1925,7 @@ var SchemaType = {
1920
1925
  OPTIONAL_NULLABLE: "optionalNullable"
1921
1926
  };
1922
1927
 
1923
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.mjs
1928
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/getErrorMessageForIncorrectType.mjs
1924
1929
  function getErrorMessageForIncorrectType(value, expectedType) {
1925
1930
  return `Expected ${expectedType}. Received ${getTypeAsString(value)}.`;
1926
1931
  }
@@ -1946,7 +1951,7 @@ function getTypeAsString(value) {
1946
1951
  return typeof value;
1947
1952
  }
1948
1953
 
1949
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/maybeSkipValidation.mjs
1954
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/maybeSkipValidation.mjs
1950
1955
  function maybeSkipValidation(schema) {
1951
1956
  return Object.assign(Object.assign({}, schema), { json: transformAndMaybeSkipValidation(schema.json), parse: transformAndMaybeSkipValidation(schema.parse) });
1952
1957
  }
@@ -1969,7 +1974,7 @@ function transformAndMaybeSkipValidation(transform2) {
1969
1974
  };
1970
1975
  }
1971
1976
 
1972
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.mjs
1977
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/stringifyValidationErrors.mjs
1973
1978
  function stringifyValidationError(error) {
1974
1979
  if (error.path.length === 0) {
1975
1980
  return error.message;
@@ -1977,7 +1982,7 @@ function stringifyValidationError(error) {
1977
1982
  return `${error.path.join(" -> ")}: ${error.message}`;
1978
1983
  }
1979
1984
 
1980
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/schema-utils/JsonError.mjs
1985
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/JsonError.mjs
1981
1986
  var JsonError = class _JsonError extends Error {
1982
1987
  constructor(errors) {
1983
1988
  super(errors.map(stringifyValidationError).join("; "));
@@ -1986,7 +1991,7 @@ var JsonError = class _JsonError extends Error {
1986
1991
  }
1987
1992
  };
1988
1993
 
1989
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/schema-utils/ParseError.mjs
1994
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/ParseError.mjs
1990
1995
  var ParseError = class _ParseError extends Error {
1991
1996
  constructor(errors) {
1992
1997
  super(errors.map(stringifyValidationError).join("; "));
@@ -1995,7 +2000,7 @@ var ParseError = class _ParseError extends Error {
1995
2000
  }
1996
2001
  };
1997
2002
 
1998
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.mjs
2003
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/schema-utils/getSchemaUtils.mjs
1999
2004
  function getSchemaUtils(schema) {
2000
2005
  return {
2001
2006
  nullable: () => nullable(schema),
@@ -2129,7 +2134,7 @@ function transform(schema, transformer) {
2129
2134
  return Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema));
2130
2135
  }
2131
2136
 
2132
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/bigint/bigint.mjs
2137
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/bigint/bigint.mjs
2133
2138
  function bigint() {
2134
2139
  const baseSchema = {
2135
2140
  parse: (raw, { breadcrumbsPrefix = [] } = {}) => {
@@ -2177,7 +2182,7 @@ function bigint() {
2177
2182
  return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
2178
2183
  }
2179
2184
 
2180
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/date/date.mjs
2185
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/date/date.mjs
2181
2186
  var ISO_8601_REGEX = /^([+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([.,]\d+(?!:))?)?(\17[0-5]\d([.,]\d+)?)?([zZ]|([+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;
2182
2187
  function date() {
2183
2188
  const baseSchema = {
@@ -2232,7 +2237,7 @@ function date() {
2232
2237
  return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
2233
2238
  }
2234
2239
 
2235
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/createIdentitySchemaCreator.mjs
2240
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/createIdentitySchemaCreator.mjs
2236
2241
  function createIdentitySchemaCreator(schemaType, validate) {
2237
2242
  return () => {
2238
2243
  const baseSchema = {
@@ -2244,7 +2249,7 @@ function createIdentitySchemaCreator(schemaType, validate) {
2244
2249
  };
2245
2250
  }
2246
2251
 
2247
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/enum/enum.mjs
2252
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/enum/enum.mjs
2248
2253
  function enum_(values) {
2249
2254
  const validValues = new Set(values);
2250
2255
  const schemaCreator = createIdentitySchemaCreator(SchemaType.ENUM, (value, { allowUnrecognizedEnumValues, breadcrumbsPrefix = [] } = {}) => {
@@ -2278,7 +2283,7 @@ function enum_(values) {
2278
2283
  return schemaCreator();
2279
2284
  }
2280
2285
 
2281
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/lazy/lazy.mjs
2286
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/lazy/lazy.mjs
2282
2287
  function lazy(getter) {
2283
2288
  const baseSchema = constructLazyBaseSchema(getter);
2284
2289
  return Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema));
@@ -2298,12 +2303,12 @@ function getMemoizedSchema(getter) {
2298
2303
  return castedGetter.__zurg_memoized;
2299
2304
  }
2300
2305
 
2301
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/entries.mjs
2306
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/entries.mjs
2302
2307
  function entries(object2) {
2303
2308
  return Object.entries(object2);
2304
2309
  }
2305
2310
 
2306
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/filterObject.mjs
2311
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/filterObject.mjs
2307
2312
  function filterObject(obj, keysToInclude) {
2308
2313
  const keysToIncludeSet = new Set(keysToInclude);
2309
2314
  return Object.entries(obj).reduce((acc, [key, value]) => {
@@ -2314,7 +2319,7 @@ function filterObject(obj, keysToInclude) {
2314
2319
  }, {});
2315
2320
  }
2316
2321
 
2317
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/isPlainObject.mjs
2322
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/isPlainObject.mjs
2318
2323
  function isPlainObject(value) {
2319
2324
  if (typeof value !== "object" || value === null) {
2320
2325
  return false;
@@ -2329,12 +2334,12 @@ function isPlainObject(value) {
2329
2334
  return Object.getPrototypeOf(value) === proto;
2330
2335
  }
2331
2336
 
2332
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/keys.mjs
2337
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/keys.mjs
2333
2338
  function keys(object2) {
2334
2339
  return Object.keys(object2);
2335
2340
  }
2336
2341
 
2337
- // ../corti-sdk-typescript/dist/esm/core/schemas/utils/partition.mjs
2342
+ // node_modules/@corti/sdk/dist/esm/core/schemas/utils/partition.mjs
2338
2343
  function partition(items, predicate) {
2339
2344
  const trueItems = [], falseItems = [];
2340
2345
  for (const item of items) {
@@ -2347,7 +2352,7 @@ function partition(items, predicate) {
2347
2352
  return [trueItems, falseItems];
2348
2353
  }
2349
2354
 
2350
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.mjs
2355
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/object-like/getObjectLikeUtils.mjs
2351
2356
  function getObjectLikeUtils(schema) {
2352
2357
  return {
2353
2358
  withParsedProperties: (properties) => withParsedProperties(schema, properties)
@@ -2390,7 +2395,7 @@ function withParsedProperties(objectLike, properties) {
2390
2395
  return Object.assign(Object.assign(Object.assign({}, objectSchema), getSchemaUtils(objectSchema)), getObjectLikeUtils(objectSchema));
2391
2396
  }
2392
2397
 
2393
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/object/property.mjs
2398
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/property.mjs
2394
2399
  function property(rawKey, valueSchema) {
2395
2400
  return {
2396
2401
  rawKey,
@@ -2402,7 +2407,7 @@ function isProperty(maybeProperty) {
2402
2407
  return maybeProperty.isProperty;
2403
2408
  }
2404
2409
 
2405
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/object/object.mjs
2410
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/object.mjs
2406
2411
  function object(schemas) {
2407
2412
  const baseSchema = {
2408
2413
  _getRawProperties: () => Object.entries(schemas).map(([parsedKey, propertySchema]) => isProperty(propertySchema) ? propertySchema.rawKey : parsedKey),
@@ -2638,18 +2643,18 @@ function isSchemaOptional(schema) {
2638
2643
  }
2639
2644
  }
2640
2645
 
2641
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.mjs
2646
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/object/objectWithoutOptionalProperties.mjs
2642
2647
  function objectWithoutOptionalProperties(schemas) {
2643
2648
  return object(schemas);
2644
2649
  }
2645
2650
 
2646
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/lazy/lazyObject.mjs
2651
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/lazy/lazyObject.mjs
2647
2652
  function lazyObject(getter) {
2648
2653
  const baseSchema = Object.assign(Object.assign({}, constructLazyBaseSchema(getter)), { _getRawProperties: () => getMemoizedSchema(getter)._getRawProperties(), _getParsedProperties: () => getMemoizedSchema(getter)._getParsedProperties() });
2649
2654
  return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), getSchemaUtils(baseSchema)), getObjectLikeUtils(baseSchema)), getObjectUtils(baseSchema));
2650
2655
  }
2651
2656
 
2652
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/list/list.mjs
2657
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/list/list.mjs
2653
2658
  function list(schema) {
2654
2659
  const baseSchema = {
2655
2660
  parse: (raw, opts) => validateAndTransformArray(raw, (item, index) => {
@@ -2698,7 +2703,7 @@ function validateAndTransformArray(value, transformItem) {
2698
2703
  }, { ok: true, value: [] });
2699
2704
  }
2700
2705
 
2701
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/literals/stringLiteral.mjs
2706
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/literals/stringLiteral.mjs
2702
2707
  function stringLiteral(literal) {
2703
2708
  const schemaCreator = createIdentitySchemaCreator(SchemaType.STRING_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
2704
2709
  if (value === literal) {
@@ -2721,7 +2726,7 @@ function stringLiteral(literal) {
2721
2726
  return schemaCreator();
2722
2727
  }
2723
2728
 
2724
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/literals/booleanLiteral.mjs
2729
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/literals/booleanLiteral.mjs
2725
2730
  function booleanLiteral(literal) {
2726
2731
  const schemaCreator = createIdentitySchemaCreator(SchemaType.BOOLEAN_LITERAL, (value, { breadcrumbsPrefix = [] } = {}) => {
2727
2732
  if (value === literal) {
@@ -2744,10 +2749,10 @@ function booleanLiteral(literal) {
2744
2749
  return schemaCreator();
2745
2750
  }
2746
2751
 
2747
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/primitives/any.mjs
2752
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/any.mjs
2748
2753
  var any = createIdentitySchemaCreator(SchemaType.ANY, (value) => ({ ok: true, value }));
2749
2754
 
2750
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/primitives/boolean.mjs
2755
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/boolean.mjs
2751
2756
  var boolean = createIdentitySchemaCreator(SchemaType.BOOLEAN, (value, { breadcrumbsPrefix = [] } = {}) => {
2752
2757
  if (typeof value === "boolean") {
2753
2758
  return {
@@ -2767,7 +2772,7 @@ var boolean = createIdentitySchemaCreator(SchemaType.BOOLEAN, (value, { breadcru
2767
2772
  }
2768
2773
  });
2769
2774
 
2770
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/primitives/number.mjs
2775
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/number.mjs
2771
2776
  var number = createIdentitySchemaCreator(SchemaType.NUMBER, (value, { breadcrumbsPrefix = [] } = {}) => {
2772
2777
  if (typeof value === "number") {
2773
2778
  return {
@@ -2787,7 +2792,7 @@ var number = createIdentitySchemaCreator(SchemaType.NUMBER, (value, { breadcrumb
2787
2792
  }
2788
2793
  });
2789
2794
 
2790
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/primitives/string.mjs
2795
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/string.mjs
2791
2796
  var string = createIdentitySchemaCreator(SchemaType.STRING, (value, { breadcrumbsPrefix = [] } = {}) => {
2792
2797
  if (typeof value === "string") {
2793
2798
  return {
@@ -2807,10 +2812,10 @@ var string = createIdentitySchemaCreator(SchemaType.STRING, (value, { breadcrumb
2807
2812
  }
2808
2813
  });
2809
2814
 
2810
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/primitives/unknown.mjs
2815
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/primitives/unknown.mjs
2811
2816
  var unknown = createIdentitySchemaCreator(SchemaType.UNKNOWN, (value) => ({ ok: true, value }));
2812
2817
 
2813
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/record/record.mjs
2818
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/record/record.mjs
2814
2819
  function record(keySchema, valueSchema) {
2815
2820
  const baseSchema = {
2816
2821
  parse: (raw, opts) => {
@@ -2896,7 +2901,7 @@ function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transfo
2896
2901
  }, { ok: true, value: {} });
2897
2902
  }
2898
2903
 
2899
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/set/set.mjs
2904
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/set/set.mjs
2900
2905
  function set(schema) {
2901
2906
  const listSchema = list(schema);
2902
2907
  const baseSchema = {
@@ -2932,7 +2937,7 @@ function set(schema) {
2932
2937
  return Object.assign(Object.assign({}, maybeSkipValidation(baseSchema)), getSchemaUtils(baseSchema));
2933
2938
  }
2934
2939
 
2935
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.mjs
2940
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.mjs
2936
2941
  function undiscriminatedUnion(schemas) {
2937
2942
  const baseSchema = {
2938
2943
  parse: (raw, opts) => {
@@ -2966,7 +2971,7 @@ function validateAndTransformUndiscriminatedUnion(transform2, schemas, opts) {
2966
2971
  };
2967
2972
  }
2968
2973
 
2969
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/union/discriminant.mjs
2974
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/union/discriminant.mjs
2970
2975
  function discriminant(parsedDiscriminant, rawDiscriminant) {
2971
2976
  return {
2972
2977
  parsedDiscriminant,
@@ -2974,15 +2979,15 @@ function discriminant(parsedDiscriminant, rawDiscriminant) {
2974
2979
  };
2975
2980
  }
2976
2981
 
2977
- // ../corti-sdk-typescript/dist/esm/core/schemas/builders/union/union.mjs
2978
- var __rest = function(s3, e5) {
2982
+ // node_modules/@corti/sdk/dist/esm/core/schemas/builders/union/union.mjs
2983
+ var __rest = function(s4, e5) {
2979
2984
  var t4 = {};
2980
- for (var p3 in s3) if (Object.prototype.hasOwnProperty.call(s3, p3) && e5.indexOf(p3) < 0)
2981
- t4[p3] = s3[p3];
2982
- if (s3 != null && typeof Object.getOwnPropertySymbols === "function")
2983
- for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s3); i5 < p3.length; i5++) {
2984
- if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s3, p3[i5]))
2985
- t4[p3[i5]] = s3[p3[i5]];
2985
+ for (var p3 in s4) if (Object.prototype.hasOwnProperty.call(s4, p3) && e5.indexOf(p3) < 0)
2986
+ t4[p3] = s4[p3];
2987
+ if (s4 != null && typeof Object.getOwnPropertySymbols === "function")
2988
+ for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s4); i5 < p3.length; i5++) {
2989
+ if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s4, p3[i5]))
2990
+ t4[p3[i5]] = s4[p3[i5]];
2986
2991
  }
2987
2992
  return t4;
2988
2993
  };
@@ -3091,10 +3096,10 @@ function transformAndValidateUnion({ value, discriminant: discriminant2, transfo
3091
3096
  };
3092
3097
  }
3093
3098
 
3094
- // ../corti-sdk-typescript/dist/esm/core/websocket/ws.mjs
3099
+ // node_modules/@corti/sdk/dist/esm/core/websocket/ws.mjs
3095
3100
  var import_ws = __toESM(require_browser(), 1);
3096
3101
 
3097
- // ../corti-sdk-typescript/dist/esm/core/websocket/events.mjs
3102
+ // node_modules/@corti/sdk/dist/esm/core/websocket/events.mjs
3098
3103
  var Event = class {
3099
3104
  constructor(type, target) {
3100
3105
  this.target = target;
@@ -3117,7 +3122,7 @@ var CloseEvent = class extends Event {
3117
3122
  }
3118
3123
  };
3119
3124
 
3120
- // ../corti-sdk-typescript/dist/esm/core/websocket/ws.mjs
3125
+ // node_modules/@corti/sdk/dist/esm/core/websocket/ws.mjs
3121
3126
  var getGlobalWebSocket = () => {
3122
3127
  if (typeof WebSocket !== "undefined") {
3123
3128
  return WebSocket;
@@ -3504,7 +3509,7 @@ var ReconnectingWebSocket = class _ReconnectingWebSocket {
3504
3509
  }
3505
3510
  };
3506
3511
 
3507
- // ../corti-sdk-typescript/dist/esm/core/utils/setObjectProperty.mjs
3512
+ // node_modules/@corti/sdk/dist/esm/core/utils/setObjectProperty.mjs
3508
3513
  function setObjectProperty(object2, path, value) {
3509
3514
  if (object2 == null) {
3510
3515
  return object2;
@@ -3532,7 +3537,7 @@ function setObjectProperty(object2, path, value) {
3532
3537
  return object2;
3533
3538
  }
3534
3539
 
3535
- // ../corti-sdk-typescript/dist/esm/core/pagination/Page.mjs
3540
+ // node_modules/@corti/sdk/dist/esm/core/pagination/Page.mjs
3536
3541
  var __awaiter11 = function(thisArg, _arguments, P2, generator) {
3537
3542
  function adopt(value) {
3538
3543
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -3591,8 +3596,8 @@ var __asyncGenerator = function(thisArg, _arguments, generator) {
3591
3596
  settle(q[0][3], e5);
3592
3597
  }
3593
3598
  }
3594
- function step(r7) {
3595
- r7.value instanceof __await ? Promise.resolve(r7.value.v).then(fulfill, reject) : settle(q[0][2], r7);
3599
+ function step(r6) {
3600
+ r6.value instanceof __await ? Promise.resolve(r6.value.v).then(fulfill, reject) : settle(q[0][2], r6);
3596
3601
  }
3597
3602
  function fulfill(value) {
3598
3603
  resume("next", value);
@@ -3604,16 +3609,16 @@ var __asyncGenerator = function(thisArg, _arguments, generator) {
3604
3609
  if (f3(v2), q.shift(), q.length) resume(q[0][0], q[0][1]);
3605
3610
  }
3606
3611
  };
3607
- var __asyncValues = function(o5) {
3612
+ var __asyncValues = function(o6) {
3608
3613
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
3609
- var m2 = o5[Symbol.asyncIterator], i5;
3610
- return m2 ? m2.call(o5) : (o5 = typeof __values === "function" ? __values(o5) : o5[Symbol.iterator](), i5 = {}, verb("next"), verb("throw"), verb("return"), i5[Symbol.asyncIterator] = function() {
3614
+ var m2 = o6[Symbol.asyncIterator], i5;
3615
+ return m2 ? m2.call(o6) : (o6 = typeof __values === "function" ? __values(o6) : o6[Symbol.iterator](), i5 = {}, verb("next"), verb("throw"), verb("return"), i5[Symbol.asyncIterator] = function() {
3611
3616
  return this;
3612
3617
  }, i5);
3613
3618
  function verb(n5) {
3614
- i5[n5] = o5[n5] && function(v2) {
3619
+ i5[n5] = o6[n5] && function(v2) {
3615
3620
  return new Promise(function(resolve, reject) {
3616
- v2 = o5[n5](v2), settle(resolve, reject, v2.done, v2.value);
3621
+ v2 = o6[n5](v2), settle(resolve, reject, v2.done, v2.value);
3617
3622
  });
3618
3623
  };
3619
3624
  }
@@ -3687,14 +3692,14 @@ var Page = class {
3687
3692
  }
3688
3693
  };
3689
3694
 
3690
- // ../corti-sdk-typescript/dist/esm/core/pagination/Pageable.mjs
3695
+ // node_modules/@corti/sdk/dist/esm/core/pagination/Pageable.mjs
3691
3696
  var Pageable = class extends Page {
3692
3697
  constructor(args) {
3693
3698
  super(args);
3694
3699
  }
3695
3700
  };
3696
3701
 
3697
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigStatusMessageType.mjs
3702
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigStatusMessageType.mjs
3698
3703
  var StreamConfigStatusMessageType = schemas_exports.enum_([
3699
3704
  "CONFIG_ACCEPTED",
3700
3705
  "CONFIG_DENIED",
@@ -3704,24 +3709,24 @@ var StreamConfigStatusMessageType = schemas_exports.enum_([
3704
3709
  "CONFIG_TIMEOUT"
3705
3710
  ]);
3706
3711
 
3707
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigStatusMessage.mjs
3712
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigStatusMessage.mjs
3708
3713
  var StreamConfigStatusMessage = schemas_exports.object({
3709
3714
  type: StreamConfigStatusMessageType,
3710
3715
  reason: schemas_exports.string().optional()
3711
3716
  });
3712
3717
 
3713
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamParticipant.mjs
3718
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamParticipant.mjs
3714
3719
  var StreamParticipant = schemas_exports.object({
3715
3720
  channel: schemas_exports.number()
3716
3721
  });
3717
3722
 
3718
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamTranscriptTime.mjs
3723
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscriptTime.mjs
3719
3724
  var StreamTranscriptTime = schemas_exports.object({
3720
3725
  start: schemas_exports.number(),
3721
3726
  end: schemas_exports.number()
3722
3727
  });
3723
3728
 
3724
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamTranscript.mjs
3729
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscript.mjs
3725
3730
  var StreamTranscript = schemas_exports.object({
3726
3731
  id: schemas_exports.string(),
3727
3732
  transcript: schemas_exports.string(),
@@ -3731,13 +3736,13 @@ var StreamTranscript = schemas_exports.object({
3731
3736
  time: StreamTranscriptTime
3732
3737
  });
3733
3738
 
3734
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamTranscriptMessage.mjs
3739
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamTranscriptMessage.mjs
3735
3740
  var StreamTranscriptMessage = schemas_exports.object({
3736
3741
  type: schemas_exports.stringLiteral("transcript"),
3737
3742
  data: schemas_exports.list(StreamTranscript)
3738
3743
  });
3739
3744
 
3740
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamFact.mjs
3745
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamFact.mjs
3741
3746
  var StreamFact = schemas_exports.object({
3742
3747
  id: schemas_exports.string(),
3743
3748
  text: schemas_exports.string(),
@@ -3751,24 +3756,24 @@ var StreamFact = schemas_exports.object({
3751
3756
  updatedAtTzOffset: schemas_exports.date().optional()
3752
3757
  });
3753
3758
 
3754
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamFactsMessage.mjs
3759
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamFactsMessage.mjs
3755
3760
  var StreamFactsMessage = schemas_exports.object({
3756
3761
  type: schemas_exports.stringLiteral("facts"),
3757
3762
  fact: schemas_exports.list(StreamFact)
3758
3763
  });
3759
3764
 
3760
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamEndedMessage.mjs
3765
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamEndedMessage.mjs
3761
3766
  var StreamEndedMessage = schemas_exports.object({
3762
3767
  type: schemas_exports.stringLiteral("ENDED")
3763
3768
  });
3764
3769
 
3765
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamUsageMessage.mjs
3770
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamUsageMessage.mjs
3766
3771
  var StreamUsageMessage = schemas_exports.object({
3767
3772
  type: schemas_exports.stringLiteral("usage"),
3768
3773
  credits: schemas_exports.number()
3769
3774
  });
3770
3775
 
3771
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamErrorDetail.mjs
3776
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamErrorDetail.mjs
3772
3777
  var StreamErrorDetail = schemas_exports.object({
3773
3778
  id: schemas_exports.string(),
3774
3779
  title: schemas_exports.string(),
@@ -3777,13 +3782,13 @@ var StreamErrorDetail = schemas_exports.object({
3777
3782
  doc: schemas_exports.string()
3778
3783
  });
3779
3784
 
3780
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamErrorMessage.mjs
3785
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamErrorMessage.mjs
3781
3786
  var StreamErrorMessage = schemas_exports.object({
3782
3787
  type: schemas_exports.stringLiteral("error"),
3783
3788
  error: StreamErrorDetail
3784
3789
  });
3785
3790
 
3786
- // ../corti-sdk-typescript/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs
3791
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs
3787
3792
  var StreamSocketResponse = schemas_exports.undiscriminatedUnion([
3788
3793
  StreamConfigStatusMessage,
3789
3794
  StreamTranscriptMessage,
@@ -3793,28 +3798,28 @@ var StreamSocketResponse = schemas_exports.undiscriminatedUnion([
3793
3798
  StreamErrorMessage
3794
3799
  ]);
3795
3800
 
3796
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeConfigStatusMessageType.mjs
3801
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigStatusMessageType.mjs
3797
3802
  var TranscribeConfigStatusMessageType = schemas_exports.enum_(["CONFIG_ACCEPTED", "CONFIG_DENIED", "CONFIG_TIMEOUT"]);
3798
3803
 
3799
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeConfigStatusMessage.mjs
3804
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigStatusMessage.mjs
3800
3805
  var TranscribeConfigStatusMessage = schemas_exports.object({
3801
3806
  type: TranscribeConfigStatusMessageType,
3802
3807
  reason: schemas_exports.string().optional(),
3803
3808
  sessionId: schemas_exports.string()
3804
3809
  });
3805
3810
 
3806
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeUsageMessage.mjs
3811
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeUsageMessage.mjs
3807
3812
  var TranscribeUsageMessage = schemas_exports.object({
3808
3813
  type: schemas_exports.stringLiteral("usage"),
3809
3814
  credits: schemas_exports.number()
3810
3815
  });
3811
3816
 
3812
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeEndedMessage.mjs
3817
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeEndedMessage.mjs
3813
3818
  var TranscribeEndedMessage = schemas_exports.object({
3814
3819
  type: schemas_exports.stringLiteral("ended")
3815
3820
  });
3816
3821
 
3817
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeErrorMessageError.mjs
3822
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeErrorMessageError.mjs
3818
3823
  var TranscribeErrorMessageError = schemas_exports.object({
3819
3824
  id: schemas_exports.string(),
3820
3825
  title: schemas_exports.string(),
@@ -3823,13 +3828,13 @@ var TranscribeErrorMessageError = schemas_exports.object({
3823
3828
  doc: schemas_exports.string()
3824
3829
  });
3825
3830
 
3826
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeErrorMessage.mjs
3831
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeErrorMessage.mjs
3827
3832
  var TranscribeErrorMessage = schemas_exports.object({
3828
3833
  type: schemas_exports.stringLiteral("error"),
3829
3834
  error: TranscribeErrorMessageError
3830
3835
  });
3831
3836
 
3832
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeTranscriptData.mjs
3837
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeTranscriptData.mjs
3833
3838
  var TranscribeTranscriptData = schemas_exports.object({
3834
3839
  text: schemas_exports.string(),
3835
3840
  rawTranscriptText: schemas_exports.string(),
@@ -3838,13 +3843,13 @@ var TranscribeTranscriptData = schemas_exports.object({
3838
3843
  isFinal: schemas_exports.boolean()
3839
3844
  });
3840
3845
 
3841
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs
3846
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs
3842
3847
  var TranscribeTranscriptMessage = schemas_exports.object({
3843
3848
  type: schemas_exports.stringLiteral("transcript"),
3844
3849
  data: TranscribeTranscriptData
3845
3850
  });
3846
3851
 
3847
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeCommandData.mjs
3852
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandData.mjs
3848
3853
  var TranscribeCommandData = schemas_exports.object({
3849
3854
  id: schemas_exports.string(),
3850
3855
  variables: schemas_exports.record(schemas_exports.string(), schemas_exports.string().optionalNullable()).optionalNullable(),
@@ -3853,13 +3858,13 @@ var TranscribeCommandData = schemas_exports.object({
3853
3858
  end: schemas_exports.number()
3854
3859
  });
3855
3860
 
3856
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeCommandMessage.mjs
3861
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandMessage.mjs
3857
3862
  var TranscribeCommandMessage = schemas_exports.object({
3858
3863
  type: schemas_exports.stringLiteral("command"),
3859
3864
  data: TranscribeCommandData
3860
3865
  });
3861
3866
 
3862
- // ../corti-sdk-typescript/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs
3867
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs
3863
3868
  var TranscribeSocketResponse = schemas_exports.undiscriminatedUnion([
3864
3869
  TranscribeConfigStatusMessage,
3865
3870
  TranscribeUsageMessage,
@@ -3869,25 +3874,25 @@ var TranscribeSocketResponse = schemas_exports.undiscriminatedUnion([
3869
3874
  TranscribeCommandMessage
3870
3875
  ]);
3871
3876
 
3872
- // ../corti-sdk-typescript/dist/esm/serialization/resources/interactions/types/InteractionsListRequestSort.mjs
3877
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/types/InteractionsListRequestSort.mjs
3873
3878
  var InteractionsListRequestSort = schemas_exports.enum_(["id", "assignedUserId", "patient", "createdAt", "endedAt", "updatedAt"]);
3874
3879
 
3875
- // ../corti-sdk-typescript/dist/esm/serialization/types/Uuid.mjs
3880
+ // node_modules/@corti/sdk/dist/esm/serialization/types/Uuid.mjs
3876
3881
  var Uuid = schemas_exports.string();
3877
3882
 
3878
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterStatusEnum.mjs
3883
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterStatusEnum.mjs
3879
3884
  var InteractionsEncounterStatusEnum = schemas_exports.enum_(["planned", "in-progress", "on-hold", "completed", "cancelled", "deleted"]);
3880
3885
 
3881
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterTypeEnum.mjs
3886
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterTypeEnum.mjs
3882
3887
  var InteractionsEncounterTypeEnum = schemas_exports.enum_(["first_consultation", "consultation", "emergency", "inpatient", "outpatient"]);
3883
3888
 
3884
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterPeriod.mjs
3889
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterPeriod.mjs
3885
3890
  var InteractionsEncounterPeriod = schemas_exports.object({
3886
3891
  startedAt: schemas_exports.date(),
3887
3892
  endedAt: schemas_exports.date().optionalNullable()
3888
3893
  });
3889
3894
 
3890
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterCreateRequest.mjs
3895
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterCreateRequest.mjs
3891
3896
  var InteractionsEncounterCreateRequest = schemas_exports.object({
3892
3897
  identifier: schemas_exports.string(),
3893
3898
  status: InteractionsEncounterStatusEnum,
@@ -3896,10 +3901,10 @@ var InteractionsEncounterCreateRequest = schemas_exports.object({
3896
3901
  title: schemas_exports.string().optionalNullable()
3897
3902
  });
3898
3903
 
3899
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsGenderEnum.mjs
3904
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsGenderEnum.mjs
3900
3905
  var InteractionsGenderEnum = schemas_exports.enum_(["male", "female", "unknown", "other"]);
3901
3906
 
3902
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsPatient.mjs
3907
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsPatient.mjs
3903
3908
  var InteractionsPatient = schemas_exports.object({
3904
3909
  identifier: schemas_exports.string(),
3905
3910
  name: schemas_exports.string().optionalNullable(),
@@ -3908,14 +3913,14 @@ var InteractionsPatient = schemas_exports.object({
3908
3913
  pronouns: schemas_exports.string().optionalNullable()
3909
3914
  });
3910
3915
 
3911
- // ../corti-sdk-typescript/dist/esm/serialization/resources/interactions/client/requests/InteractionsCreateRequest.mjs
3916
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/client/requests/InteractionsCreateRequest.mjs
3912
3917
  var InteractionsCreateRequest = schemas_exports.object({
3913
3918
  assignedUserId: Uuid.optional(),
3914
3919
  encounter: InteractionsEncounterCreateRequest,
3915
3920
  patient: InteractionsPatient.optional()
3916
3921
  });
3917
3922
 
3918
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterUpdateRequest.mjs
3923
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterUpdateRequest.mjs
3919
3924
  var InteractionsEncounterUpdateRequest = schemas_exports.object({
3920
3925
  identifier: schemas_exports.string().optional(),
3921
3926
  status: InteractionsEncounterStatusEnum.optional(),
@@ -3924,26 +3929,26 @@ var InteractionsEncounterUpdateRequest = schemas_exports.object({
3924
3929
  title: schemas_exports.string().optionalNullable()
3925
3930
  });
3926
3931
 
3927
- // ../corti-sdk-typescript/dist/esm/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.mjs
3932
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/interactions/client/requests/InteractionsUpdateRequest.mjs
3928
3933
  var InteractionsUpdateRequest = schemas_exports.object({
3929
3934
  assignedUserId: Uuid.optional(),
3930
3935
  encounter: InteractionsEncounterUpdateRequest.optional(),
3931
3936
  patient: InteractionsPatient.optional()
3932
3937
  });
3933
3938
 
3934
- // ../corti-sdk-typescript/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs
3939
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs
3935
3940
  var TranscriptsCreateRequestModelName = schemas_exports.enum_(["base", "enhanced", "premier"]);
3936
3941
 
3937
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.mjs
3942
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsParticipantRoleEnum.mjs
3938
3943
  var TranscriptsParticipantRoleEnum = schemas_exports.enum_(["doctor", "patient", "multiple"]);
3939
3944
 
3940
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsParticipant.mjs
3945
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsParticipant.mjs
3941
3946
  var TranscriptsParticipant = schemas_exports.object({
3942
3947
  channel: schemas_exports.number(),
3943
3948
  role: TranscriptsParticipantRoleEnum
3944
3949
  });
3945
3950
 
3946
- // ../corti-sdk-typescript/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs
3951
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs
3947
3952
  var TranscriptsCreateRequest = schemas_exports.object({
3948
3953
  recordingId: Uuid,
3949
3954
  primaryLanguage: schemas_exports.string(),
@@ -3954,7 +3959,7 @@ var TranscriptsCreateRequest = schemas_exports.object({
3954
3959
  modelName: TranscriptsCreateRequestModelName
3955
3960
  });
3956
3961
 
3957
- // ../corti-sdk-typescript/dist/esm/serialization/resources/auth/types/GetTokenResponse.mjs
3962
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/auth/types/GetTokenResponse.mjs
3958
3963
  var GetTokenResponse = schemas_exports.object({
3959
3964
  accessToken: schemas_exports.property("access_token", schemas_exports.string()),
3960
3965
  tokenType: schemas_exports.property("token_type", schemas_exports.string()),
@@ -3963,28 +3968,28 @@ var GetTokenResponse = schemas_exports.object({
3963
3968
  refreshExpiresIn: schemas_exports.property("refresh_expires_in", schemas_exports.number().optional())
3964
3969
  });
3965
3970
 
3966
- // ../corti-sdk-typescript/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.mjs
3971
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/auth/client/requests/AuthGetTokenRequest.mjs
3967
3972
  var AuthGetTokenRequest = schemas_exports.object({
3968
3973
  clientId: schemas_exports.property("client_id", schemas_exports.string()),
3969
3974
  clientSecret: schemas_exports.property("client_secret", schemas_exports.string())
3970
3975
  });
3971
3976
 
3972
- // ../corti-sdk-typescript/dist/esm/serialization/types/CommonSourceEnum.mjs
3977
+ // node_modules/@corti/sdk/dist/esm/serialization/types/CommonSourceEnum.mjs
3973
3978
  var CommonSourceEnum = schemas_exports.enum_(["core", "system", "user"]);
3974
3979
 
3975
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsCreateInput.mjs
3980
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateInput.mjs
3976
3981
  var FactsCreateInput = schemas_exports.object({
3977
3982
  text: schemas_exports.string(),
3978
3983
  group: schemas_exports.string(),
3979
3984
  source: CommonSourceEnum.optional()
3980
3985
  });
3981
3986
 
3982
- // ../corti-sdk-typescript/dist/esm/serialization/resources/facts/client/requests/FactsCreateRequest.mjs
3987
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsCreateRequest.mjs
3983
3988
  var FactsCreateRequest = schemas_exports.object({
3984
3989
  facts: schemas_exports.list(FactsCreateInput)
3985
3990
  });
3986
3991
 
3987
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsBatchUpdateInput.mjs
3992
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateInput.mjs
3988
3993
  var FactsBatchUpdateInput = schemas_exports.object({
3989
3994
  factId: Uuid,
3990
3995
  isDiscarded: schemas_exports.boolean().optional(),
@@ -3992,12 +3997,12 @@ var FactsBatchUpdateInput = schemas_exports.object({
3992
3997
  group: schemas_exports.string().optional()
3993
3998
  });
3994
3999
 
3995
- // ../corti-sdk-typescript/dist/esm/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.mjs
4000
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsBatchUpdateRequest.mjs
3996
4001
  var FactsBatchUpdateRequest = schemas_exports.object({
3997
4002
  facts: schemas_exports.list(FactsBatchUpdateInput)
3998
4003
  });
3999
4004
 
4000
- // ../corti-sdk-typescript/dist/esm/serialization/resources/facts/client/requests/FactsUpdateRequest.mjs
4005
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/facts/client/requests/FactsUpdateRequest.mjs
4001
4006
  var FactsUpdateRequest = schemas_exports.object({
4002
4007
  text: schemas_exports.string().optional(),
4003
4008
  group: schemas_exports.string().optional(),
@@ -4005,7 +4010,7 @@ var FactsUpdateRequest = schemas_exports.object({
4005
4010
  isDiscarded: schemas_exports.boolean().optional()
4006
4011
  });
4007
4012
 
4008
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsSectionInput.mjs
4013
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsSectionInput.mjs
4009
4014
  var DocumentsSectionInput = schemas_exports.object({
4010
4015
  key: schemas_exports.string(),
4011
4016
  name: schemas_exports.string().optional(),
@@ -4013,23 +4018,23 @@ var DocumentsSectionInput = schemas_exports.object({
4013
4018
  sort: schemas_exports.number().optional()
4014
4019
  });
4015
4020
 
4016
- // ../corti-sdk-typescript/dist/esm/serialization/resources/documents/client/requests/DocumentsUpdateRequest.mjs
4021
+ // node_modules/@corti/sdk/dist/esm/serialization/resources/documents/client/requests/DocumentsUpdateRequest.mjs
4017
4022
  var DocumentsUpdateRequest = schemas_exports.object({
4018
4023
  name: schemas_exports.string().optional(),
4019
4024
  sections: schemas_exports.list(DocumentsSectionInput).optional()
4020
4025
  });
4021
4026
 
4022
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsContextTypeEnum.mjs
4027
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextTypeEnum.mjs
4023
4028
  var DocumentsContextTypeEnum = schemas_exports.enum_(["facts", "transcript", "string"]);
4024
4029
 
4025
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsContext.mjs
4030
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsContext.mjs
4026
4031
  var FactsContext = schemas_exports.object({
4027
4032
  text: schemas_exports.string(),
4028
4033
  group: schemas_exports.string().optional(),
4029
4034
  source: CommonSourceEnum
4030
4035
  });
4031
4036
 
4032
- // ../corti-sdk-typescript/dist/esm/serialization/types/CommonTranscript.mjs
4037
+ // node_modules/@corti/sdk/dist/esm/serialization/types/CommonTranscript.mjs
4033
4038
  var CommonTranscript = schemas_exports.object({
4034
4039
  channel: schemas_exports.number(),
4035
4040
  participant: schemas_exports.number(),
@@ -4039,20 +4044,20 @@ var CommonTranscript = schemas_exports.object({
4039
4044
  end: schemas_exports.number()
4040
4045
  });
4041
4046
 
4042
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsContextData.mjs
4047
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContextData.mjs
4043
4048
  var DocumentsContextData = schemas_exports.undiscriminatedUnion([
4044
4049
  schemas_exports.list(FactsContext),
4045
4050
  CommonTranscript,
4046
4051
  schemas_exports.string()
4047
4052
  ]);
4048
4053
 
4049
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsContext.mjs
4054
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsContext.mjs
4050
4055
  var DocumentsContext = schemas_exports.object({
4051
4056
  type: DocumentsContextTypeEnum,
4052
4057
  data: DocumentsContextData
4053
4058
  });
4054
4059
 
4055
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsSection.mjs
4060
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsSection.mjs
4056
4061
  var DocumentsSection = schemas_exports.object({
4057
4062
  key: schemas_exports.string(),
4058
4063
  name: schemas_exports.string(),
@@ -4062,7 +4067,7 @@ var DocumentsSection = schemas_exports.object({
4062
4067
  updatedAt: schemas_exports.date()
4063
4068
  });
4064
4069
 
4065
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsTemplate.mjs
4070
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsTemplate.mjs
4066
4071
  var DocumentsTemplate = schemas_exports.object({
4067
4072
  sectionIds: schemas_exports.list(Uuid).optional(),
4068
4073
  sectionKeys: schemas_exports.list(schemas_exports.string()).optional(),
@@ -4070,7 +4075,7 @@ var DocumentsTemplate = schemas_exports.object({
4070
4075
  additionalInstructions: schemas_exports.string().optional()
4071
4076
  });
4072
4077
 
4073
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsEncounterResponse.mjs
4078
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsEncounterResponse.mjs
4074
4079
  var InteractionsEncounterResponse = schemas_exports.object({
4075
4080
  identifier: schemas_exports.string(),
4076
4081
  status: InteractionsEncounterStatusEnum,
@@ -4079,7 +4084,7 @@ var InteractionsEncounterResponse = schemas_exports.object({
4079
4084
  title: schemas_exports.string().optionalNullable()
4080
4085
  });
4081
4086
 
4082
- // ../corti-sdk-typescript/dist/esm/serialization/types/ErrorResponse.mjs
4087
+ // node_modules/@corti/sdk/dist/esm/serialization/types/ErrorResponse.mjs
4083
4088
  var ErrorResponse = schemas_exports.object({
4084
4089
  requestid: schemas_exports.string().optional(),
4085
4090
  type: schemas_exports.string(),
@@ -4089,21 +4094,21 @@ var ErrorResponse = schemas_exports.object({
4089
4094
  instance: schemas_exports.string().optional()
4090
4095
  });
4091
4096
 
4092
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsFactGroupsItemTranslationsItem.mjs
4097
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsItemTranslationsItem.mjs
4093
4098
  var FactsFactGroupsItemTranslationsItem = schemas_exports.object({
4094
4099
  id: schemas_exports.number().optional(),
4095
4100
  languagesId: schemas_exports.property("languages_id", schemas_exports.string().optional()),
4096
4101
  name: schemas_exports.string().optional()
4097
4102
  });
4098
4103
 
4099
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsFactGroupsItem.mjs
4104
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsItem.mjs
4100
4105
  var FactsFactGroupsItem = schemas_exports.object({
4101
4106
  id: Uuid.optional(),
4102
4107
  key: schemas_exports.string().optional(),
4103
4108
  translations: schemas_exports.list(FactsFactGroupsItemTranslationsItem).optional()
4104
4109
  });
4105
4110
 
4106
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs
4111
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs
4107
4112
  var DocumentsCreateRequestWithTemplateKey = schemas_exports.object({
4108
4113
  context: schemas_exports.list(DocumentsContext),
4109
4114
  templateKey: schemas_exports.string(),
@@ -4112,7 +4117,7 @@ var DocumentsCreateRequestWithTemplateKey = schemas_exports.object({
4112
4117
  outputLanguage: schemas_exports.string()
4113
4118
  });
4114
4119
 
4115
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs
4120
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs
4116
4121
  var DocumentsCreateRequestWithTemplateId = schemas_exports.object({
4117
4122
  context: schemas_exports.list(DocumentsContext),
4118
4123
  templateId: Uuid,
@@ -4121,7 +4126,7 @@ var DocumentsCreateRequestWithTemplateId = schemas_exports.object({
4121
4126
  outputLanguage: schemas_exports.string()
4122
4127
  });
4123
4128
 
4124
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs
4129
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs
4125
4130
  var DocumentsCreateRequestWithTemplate = schemas_exports.object({
4126
4131
  context: schemas_exports.list(DocumentsContext),
4127
4132
  template: DocumentsTemplate,
@@ -4130,26 +4135,26 @@ var DocumentsCreateRequestWithTemplate = schemas_exports.object({
4130
4135
  outputLanguage: schemas_exports.string()
4131
4136
  });
4132
4137
 
4133
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsCreateRequest.mjs
4138
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsCreateRequest.mjs
4134
4139
  var DocumentsCreateRequest = schemas_exports.undiscriminatedUnion([
4135
4140
  DocumentsCreateRequestWithTemplateKey,
4136
4141
  DocumentsCreateRequestWithTemplateId,
4137
4142
  DocumentsCreateRequestWithTemplate
4138
4143
  ]);
4139
4144
 
4140
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesWritingStyle.mjs
4145
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesWritingStyle.mjs
4141
4146
  var TemplatesWritingStyle = schemas_exports.object({
4142
4147
  name: schemas_exports.string()
4143
4148
  });
4144
4149
 
4145
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesTranslation.mjs
4150
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesTranslation.mjs
4146
4151
  var TemplatesTranslation = schemas_exports.object({
4147
4152
  languagesId: schemas_exports.property("languages_id", schemas_exports.string()),
4148
4153
  name: schemas_exports.string().optionalNullable(),
4149
4154
  description: schemas_exports.string().optionalNullable()
4150
4155
  });
4151
4156
 
4152
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesSection.mjs
4157
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSection.mjs
4153
4158
  var TemplatesSection = schemas_exports.object({
4154
4159
  dateUpdated: schemas_exports.property("date_updated", schemas_exports.date().optionalNullable()),
4155
4160
  name: schemas_exports.string(),
@@ -4161,18 +4166,18 @@ var TemplatesSection = schemas_exports.object({
4161
4166
  translations: schemas_exports.list(TemplatesTranslation)
4162
4167
  });
4163
4168
 
4164
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesSectionListResponse.mjs
4169
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSectionListResponse.mjs
4165
4170
  var TemplatesSectionListResponse = schemas_exports.object({
4166
4171
  data: schemas_exports.list(TemplatesSection)
4167
4172
  });
4168
4173
 
4169
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesSectionSorted.mjs
4174
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesSectionSorted.mjs
4170
4175
  var TemplatesSectionSorted = schemas_exports.object({
4171
4176
  sort: schemas_exports.number(),
4172
4177
  sectionsId: schemas_exports.property("sections_id", TemplatesSection)
4173
4178
  });
4174
4179
 
4175
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesItem.mjs
4180
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesItem.mjs
4176
4181
  var TemplatesItem = schemas_exports.object({
4177
4182
  dateUpdated: schemas_exports.property("date_updated", schemas_exports.date().optionalNullable()),
4178
4183
  name: schemas_exports.string(),
@@ -4183,17 +4188,17 @@ var TemplatesItem = schemas_exports.object({
4183
4188
  translations: schemas_exports.list(TemplatesTranslation)
4184
4189
  });
4185
4190
 
4186
- // ../corti-sdk-typescript/dist/esm/serialization/types/TemplatesListResponse.mjs
4191
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TemplatesListResponse.mjs
4187
4192
  var TemplatesListResponse = schemas_exports.object({
4188
4193
  data: schemas_exports.list(TemplatesItem)
4189
4194
  });
4190
4195
 
4191
- // ../corti-sdk-typescript/dist/esm/serialization/types/CommonUsageInfo.mjs
4196
+ // node_modules/@corti/sdk/dist/esm/serialization/types/CommonUsageInfo.mjs
4192
4197
  var CommonUsageInfo = schemas_exports.object({
4193
4198
  creditsConsumed: schemas_exports.number()
4194
4199
  });
4195
4200
 
4196
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsGetResponse.mjs
4201
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsGetResponse.mjs
4197
4202
  var DocumentsGetResponse = schemas_exports.object({
4198
4203
  id: Uuid,
4199
4204
  name: schemas_exports.string(),
@@ -4206,19 +4211,19 @@ var DocumentsGetResponse = schemas_exports.object({
4206
4211
  usageInfo: CommonUsageInfo
4207
4212
  });
4208
4213
 
4209
- // ../corti-sdk-typescript/dist/esm/serialization/types/DocumentsListResponse.mjs
4214
+ // node_modules/@corti/sdk/dist/esm/serialization/types/DocumentsListResponse.mjs
4210
4215
  var DocumentsListResponse = schemas_exports.object({
4211
4216
  data: schemas_exports.list(DocumentsGetResponse)
4212
4217
  });
4213
4218
 
4214
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsEvidence.mjs
4219
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsEvidence.mjs
4215
4220
  var FactsEvidence = schemas_exports.object({
4216
4221
  type: schemas_exports.string().optional(),
4217
4222
  reference: schemas_exports.string().optional(),
4218
4223
  quote: schemas_exports.string().optional()
4219
4224
  });
4220
4225
 
4221
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsListItem.mjs
4226
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsListItem.mjs
4222
4227
  var FactsListItem = schemas_exports.object({
4223
4228
  id: Uuid.optional(),
4224
4229
  text: schemas_exports.string().optional(),
@@ -4231,7 +4236,7 @@ var FactsListItem = schemas_exports.object({
4231
4236
  evidence: schemas_exports.list(FactsEvidence).optional()
4232
4237
  });
4233
4238
 
4234
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsCreateItem.mjs
4239
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateItem.mjs
4235
4240
  var FactsCreateItem = schemas_exports.object({
4236
4241
  id: Uuid.optional(),
4237
4242
  text: schemas_exports.string().optional(),
@@ -4242,12 +4247,12 @@ var FactsCreateItem = schemas_exports.object({
4242
4247
  updatedAt: schemas_exports.date().optional()
4243
4248
  });
4244
4249
 
4245
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsFactGroupsListResponse.mjs
4250
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsFactGroupsListResponse.mjs
4246
4251
  var FactsFactGroupsListResponse = schemas_exports.object({
4247
4252
  data: schemas_exports.list(FactsFactGroupsItem)
4248
4253
  });
4249
4254
 
4250
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsUpdateResponse.mjs
4255
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsUpdateResponse.mjs
4251
4256
  var FactsUpdateResponse = schemas_exports.object({
4252
4257
  id: Uuid,
4253
4258
  text: schemas_exports.string(),
@@ -4259,17 +4264,17 @@ var FactsUpdateResponse = schemas_exports.object({
4259
4264
  updatedAt: schemas_exports.date()
4260
4265
  });
4261
4266
 
4262
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsCreateResponse.mjs
4267
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsCreateResponse.mjs
4263
4268
  var FactsCreateResponse = schemas_exports.object({
4264
4269
  facts: schemas_exports.list(FactsCreateItem)
4265
4270
  });
4266
4271
 
4267
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsListResponse.mjs
4272
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsListResponse.mjs
4268
4273
  var FactsListResponse = schemas_exports.object({
4269
4274
  facts: schemas_exports.list(FactsListItem)
4270
4275
  });
4271
4276
 
4272
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsBatchUpdateItem.mjs
4277
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateItem.mjs
4273
4278
  var FactsBatchUpdateItem = schemas_exports.object({
4274
4279
  id: Uuid,
4275
4280
  text: schemas_exports.string(),
@@ -4281,12 +4286,12 @@ var FactsBatchUpdateItem = schemas_exports.object({
4281
4286
  updatedAt: schemas_exports.date()
4282
4287
  });
4283
4288
 
4284
- // ../corti-sdk-typescript/dist/esm/serialization/types/FactsBatchUpdateResponse.mjs
4289
+ // node_modules/@corti/sdk/dist/esm/serialization/types/FactsBatchUpdateResponse.mjs
4285
4290
  var FactsBatchUpdateResponse = schemas_exports.object({
4286
4291
  facts: schemas_exports.list(FactsBatchUpdateItem)
4287
4292
  });
4288
4293
 
4289
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsGetResponse.mjs
4294
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsGetResponse.mjs
4290
4295
  var InteractionsGetResponse = schemas_exports.object({
4291
4296
  id: Uuid,
4292
4297
  assignedUserId: Uuid,
@@ -4299,33 +4304,33 @@ var InteractionsGetResponse = schemas_exports.object({
4299
4304
  lastUpdated: schemas_exports.date()
4300
4305
  });
4301
4306
 
4302
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsCreateResponse.mjs
4307
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsCreateResponse.mjs
4303
4308
  var InteractionsCreateResponse = schemas_exports.object({
4304
4309
  interactionId: Uuid,
4305
4310
  websocketUrl: schemas_exports.string()
4306
4311
  });
4307
4312
 
4308
- // ../corti-sdk-typescript/dist/esm/serialization/types/InteractionsListResponse.mjs
4313
+ // node_modules/@corti/sdk/dist/esm/serialization/types/InteractionsListResponse.mjs
4309
4314
  var InteractionsListResponse = schemas_exports.object({
4310
4315
  interactions: schemas_exports.list(InteractionsGetResponse)
4311
4316
  });
4312
4317
 
4313
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsMetadata.mjs
4318
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsMetadata.mjs
4314
4319
  var TranscriptsMetadata = schemas_exports.object({
4315
4320
  participantsRoles: schemas_exports.list(TranscriptsParticipant).optionalNullable()
4316
4321
  });
4317
4322
 
4318
- // ../corti-sdk-typescript/dist/esm/serialization/types/RecordingsCreateResponse.mjs
4323
+ // node_modules/@corti/sdk/dist/esm/serialization/types/RecordingsCreateResponse.mjs
4319
4324
  var RecordingsCreateResponse = schemas_exports.object({
4320
4325
  recordingId: Uuid
4321
4326
  });
4322
4327
 
4323
- // ../corti-sdk-typescript/dist/esm/serialization/types/RecordingsListResponse.mjs
4328
+ // node_modules/@corti/sdk/dist/esm/serialization/types/RecordingsListResponse.mjs
4324
4329
  var RecordingsListResponse = schemas_exports.object({
4325
4330
  recordings: schemas_exports.list(Uuid)
4326
4331
  });
4327
4332
 
4328
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsResponse.mjs
4333
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsResponse.mjs
4329
4334
  var TranscriptsResponse = schemas_exports.object({
4330
4335
  id: Uuid,
4331
4336
  metadata: TranscriptsMetadata,
@@ -4333,40 +4338,40 @@ var TranscriptsResponse = schemas_exports.object({
4333
4338
  usageInfo: CommonUsageInfo
4334
4339
  });
4335
4340
 
4336
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsData.mjs
4341
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsData.mjs
4337
4342
  var TranscriptsData = schemas_exports.object({
4338
4343
  metadata: TranscriptsMetadata,
4339
4344
  transcripts: schemas_exports.list(CommonTranscript)
4340
4345
  });
4341
4346
 
4342
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsListItem.mjs
4347
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsListItem.mjs
4343
4348
  var TranscriptsListItem = schemas_exports.object({
4344
4349
  id: Uuid,
4345
4350
  transcriptSample: schemas_exports.string(),
4346
4351
  transcript: TranscriptsData.optional()
4347
4352
  });
4348
4353
 
4349
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscriptsListResponse.mjs
4354
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscriptsListResponse.mjs
4350
4355
  var TranscriptsListResponse = schemas_exports.object({
4351
4356
  transcripts: schemas_exports.list(TranscriptsListItem).optionalNullable()
4352
4357
  });
4353
4358
 
4354
- // ../corti-sdk-typescript/dist/esm/serialization/types/CommonSortingDirectionEnum.mjs
4359
+ // node_modules/@corti/sdk/dist/esm/serialization/types/CommonSortingDirectionEnum.mjs
4355
4360
  var CommonSortingDirectionEnum = schemas_exports.enum_(["asc", "desc"]);
4356
4361
 
4357
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamSupportedLanguage.mjs
4362
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamSupportedLanguage.mjs
4358
4363
  var StreamSupportedLanguage = schemas_exports.string();
4359
4364
 
4360
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigParticipantRole.mjs
4365
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigParticipantRole.mjs
4361
4366
  var StreamConfigParticipantRole = schemas_exports.enum_(["doctor", "patient", "multiple"]);
4362
4367
 
4363
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigParticipant.mjs
4368
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigParticipant.mjs
4364
4369
  var StreamConfigParticipant = schemas_exports.object({
4365
4370
  channel: schemas_exports.number(),
4366
4371
  role: StreamConfigParticipantRole
4367
4372
  });
4368
4373
 
4369
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigTranscription.mjs
4374
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigTranscription.mjs
4370
4375
  var StreamConfigTranscription = schemas_exports.object({
4371
4376
  primaryLanguage: StreamSupportedLanguage,
4372
4377
  isDiarization: schemas_exports.boolean().optional(),
@@ -4374,51 +4379,51 @@ var StreamConfigTranscription = schemas_exports.object({
4374
4379
  participants: schemas_exports.list(StreamConfigParticipant)
4375
4380
  });
4376
4381
 
4377
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigModeType.mjs
4382
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigModeType.mjs
4378
4383
  var StreamConfigModeType = schemas_exports.enum_(["facts", "transcription", "documentation"]);
4379
4384
 
4380
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigMode.mjs
4385
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigMode.mjs
4381
4386
  var StreamConfigMode = schemas_exports.object({
4382
4387
  type: StreamConfigModeType,
4383
4388
  outputLocale: StreamSupportedLanguage.optional(),
4384
4389
  templateId: schemas_exports.string().optional()
4385
4390
  });
4386
4391
 
4387
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfig.mjs
4392
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfig.mjs
4388
4393
  var StreamConfig = schemas_exports.object({
4389
4394
  transcription: StreamConfigTranscription,
4390
4395
  mode: StreamConfigMode
4391
4396
  });
4392
4397
 
4393
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamConfigMessage.mjs
4398
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamConfigMessage.mjs
4394
4399
  var StreamConfigMessage = schemas_exports.object({
4395
4400
  type: schemas_exports.stringLiteral("config"),
4396
4401
  configuration: StreamConfig
4397
4402
  });
4398
4403
 
4399
- // ../corti-sdk-typescript/dist/esm/serialization/types/StreamEndMessage.mjs
4404
+ // node_modules/@corti/sdk/dist/esm/serialization/types/StreamEndMessage.mjs
4400
4405
  var StreamEndMessage = schemas_exports.object({
4401
4406
  type: schemas_exports.stringLiteral("end")
4402
4407
  });
4403
4408
 
4404
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeSupportedLanguage.mjs
4409
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeSupportedLanguage.mjs
4405
4410
  var TranscribeSupportedLanguage = schemas_exports.string();
4406
4411
 
4407
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeCommandVariable.mjs
4412
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommandVariable.mjs
4408
4413
  var TranscribeCommandVariable = schemas_exports.object({
4409
4414
  key: schemas_exports.string(),
4410
4415
  type: schemas_exports.stringLiteral("enum"),
4411
4416
  enum: schemas_exports.list(schemas_exports.string())
4412
4417
  });
4413
4418
 
4414
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeCommand.mjs
4419
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeCommand.mjs
4415
4420
  var TranscribeCommand = schemas_exports.object({
4416
4421
  id: schemas_exports.string(),
4417
4422
  phrases: schemas_exports.list(schemas_exports.string()),
4418
4423
  variables: schemas_exports.list(TranscribeCommandVariable).optional()
4419
4424
  });
4420
4425
 
4421
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeConfig.mjs
4426
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfig.mjs
4422
4427
  var TranscribeConfig = schemas_exports.object({
4423
4428
  primaryLanguage: TranscribeSupportedLanguage,
4424
4429
  interimResults: schemas_exports.boolean().optional(),
@@ -4427,18 +4432,18 @@ var TranscribeConfig = schemas_exports.object({
4427
4432
  commands: schemas_exports.list(TranscribeCommand).optional()
4428
4433
  });
4429
4434
 
4430
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeConfigMessage.mjs
4435
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeConfigMessage.mjs
4431
4436
  var TranscribeConfigMessage = schemas_exports.object({
4432
4437
  type: schemas_exports.stringLiteral("config"),
4433
4438
  configuration: TranscribeConfig
4434
4439
  });
4435
4440
 
4436
- // ../corti-sdk-typescript/dist/esm/serialization/types/TranscribeEndMessage.mjs
4441
+ // node_modules/@corti/sdk/dist/esm/serialization/types/TranscribeEndMessage.mjs
4437
4442
  var TranscribeEndMessage = schemas_exports.object({
4438
4443
  type: schemas_exports.stringLiteral("end")
4439
4444
  });
4440
4445
 
4441
- // ../corti-sdk-typescript/dist/esm/core/headers.mjs
4446
+ // node_modules/@corti/sdk/dist/esm/core/headers.mjs
4442
4447
  function mergeHeaders(...headersArray) {
4443
4448
  const result = {};
4444
4449
  for (const [key, value] of headersArray.filter((headers) => headers != null).flatMap((headers) => Object.entries(headers))) {
@@ -4460,7 +4465,7 @@ function mergeOnlyDefinedHeaders(...headersArray) {
4460
4465
  return result;
4461
4466
  }
4462
4467
 
4463
- // ../corti-sdk-typescript/dist/esm/api/resources/auth/client/Client.mjs
4468
+ // node_modules/@corti/sdk/dist/esm/api/resources/auth/client/Client.mjs
4464
4469
  var __awaiter12 = function(thisArg, _arguments, P2, generator) {
4465
4470
  function adopt(value) {
4466
4471
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -4574,7 +4579,7 @@ var Auth = class {
4574
4579
  }
4575
4580
  };
4576
4581
 
4577
- // ../corti-sdk-typescript/dist/esm/custom/CortiAuth.mjs
4582
+ // node_modules/@corti/sdk/dist/esm/custom/CortiAuth.mjs
4578
4583
  var __awaiter13 = function(thisArg, _arguments, P2, generator) {
4579
4584
  function adopt(value) {
4580
4585
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -4728,7 +4733,7 @@ var Auth2 = class extends Auth {
4728
4733
  }
4729
4734
  };
4730
4735
 
4731
- // ../corti-sdk-typescript/dist/esm/api/resources/interactions/client/Client.mjs
4736
+ // node_modules/@corti/sdk/dist/esm/api/resources/interactions/client/Client.mjs
4732
4737
  var __awaiter14 = function(thisArg, _arguments, P2, generator) {
4733
4738
  function adopt(value) {
4734
4739
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -5258,7 +5263,7 @@ var Interactions = class {
5258
5263
  }
5259
5264
  };
5260
5265
 
5261
- // ../corti-sdk-typescript/dist/esm/api/resources/recordings/client/Client.mjs
5266
+ // node_modules/@corti/sdk/dist/esm/api/resources/recordings/client/Client.mjs
5262
5267
  var __awaiter15 = function(thisArg, _arguments, P2, generator) {
5263
5268
  function adopt(value) {
5264
5269
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -5655,7 +5660,7 @@ var Recordings = class {
5655
5660
  }
5656
5661
  };
5657
5662
 
5658
- // ../corti-sdk-typescript/dist/esm/api/resources/transcripts/client/Client.mjs
5663
+ // node_modules/@corti/sdk/dist/esm/api/resources/transcripts/client/Client.mjs
5659
5664
  var __awaiter16 = function(thisArg, _arguments, P2, generator) {
5660
5665
  function adopt(value) {
5661
5666
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -6081,7 +6086,7 @@ var Transcripts = class {
6081
6086
  }
6082
6087
  };
6083
6088
 
6084
- // ../corti-sdk-typescript/dist/esm/api/resources/facts/client/Client.mjs
6089
+ // node_modules/@corti/sdk/dist/esm/api/resources/facts/client/Client.mjs
6085
6090
  var __awaiter17 = function(thisArg, _arguments, P2, generator) {
6086
6091
  function adopt(value) {
6087
6092
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -6521,7 +6526,7 @@ var Facts = class {
6521
6526
  }
6522
6527
  };
6523
6528
 
6524
- // ../corti-sdk-typescript/dist/esm/api/resources/documents/client/Client.mjs
6529
+ // node_modules/@corti/sdk/dist/esm/api/resources/documents/client/Client.mjs
6525
6530
  var __awaiter18 = function(thisArg, _arguments, P2, generator) {
6526
6531
  function adopt(value) {
6527
6532
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7034,7 +7039,7 @@ var Documents = class {
7034
7039
  }
7035
7040
  };
7036
7041
 
7037
- // ../corti-sdk-typescript/dist/esm/api/resources/templates/client/Client.mjs
7042
+ // node_modules/@corti/sdk/dist/esm/api/resources/templates/client/Client.mjs
7038
7043
  var __awaiter19 = function(thisArg, _arguments, P2, generator) {
7039
7044
  function adopt(value) {
7040
7045
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7334,7 +7339,7 @@ var Templates = class {
7334
7339
  }
7335
7340
  };
7336
7341
 
7337
- // ../corti-sdk-typescript/dist/esm/api/resources/stream/client/Socket.mjs
7342
+ // node_modules/@corti/sdk/dist/esm/api/resources/stream/client/Socket.mjs
7338
7343
  var __awaiter20 = function(thisArg, _arguments, P2, generator) {
7339
7344
  function adopt(value) {
7340
7345
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7499,7 +7504,7 @@ var StreamSocket = class {
7499
7504
  }
7500
7505
  };
7501
7506
 
7502
- // ../corti-sdk-typescript/dist/esm/api/resources/stream/client/Client.mjs
7507
+ // node_modules/@corti/sdk/dist/esm/api/resources/stream/client/Client.mjs
7503
7508
  var __awaiter21 = function(thisArg, _arguments, P2, generator) {
7504
7509
  function adopt(value) {
7505
7510
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7560,7 +7565,7 @@ var Stream = class {
7560
7565
  }
7561
7566
  };
7562
7567
 
7563
- // ../corti-sdk-typescript/dist/esm/custom/CustomStreamSocket.mjs
7568
+ // node_modules/@corti/sdk/dist/esm/custom/CustomStreamSocket.mjs
7564
7569
  var StreamSocket2 = class extends StreamSocket {
7565
7570
  sendAudio(message) {
7566
7571
  if (typeof message === "string") {
@@ -7590,7 +7595,7 @@ var StreamSocket2 = class extends StreamSocket {
7590
7595
  }
7591
7596
  };
7592
7597
 
7593
- // ../corti-sdk-typescript/dist/esm/custom/CustomStream.mjs
7598
+ // node_modules/@corti/sdk/dist/esm/custom/CustomStream.mjs
7594
7599
  var __awaiter22 = function(thisArg, _arguments, P2, generator) {
7595
7600
  function adopt(value) {
7596
7601
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7618,14 +7623,14 @@ var __awaiter22 = function(thisArg, _arguments, P2, generator) {
7618
7623
  step((generator = generator.apply(thisArg, _arguments || [])).next());
7619
7624
  });
7620
7625
  };
7621
- var __rest2 = function(s3, e5) {
7626
+ var __rest2 = function(s4, e5) {
7622
7627
  var t4 = {};
7623
- for (var p3 in s3) if (Object.prototype.hasOwnProperty.call(s3, p3) && e5.indexOf(p3) < 0)
7624
- t4[p3] = s3[p3];
7625
- if (s3 != null && typeof Object.getOwnPropertySymbols === "function")
7626
- for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s3); i5 < p3.length; i5++) {
7627
- if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s3, p3[i5]))
7628
- t4[p3[i5]] = s3[p3[i5]];
7628
+ for (var p3 in s4) if (Object.prototype.hasOwnProperty.call(s4, p3) && e5.indexOf(p3) < 0)
7629
+ t4[p3] = s4[p3];
7630
+ if (s4 != null && typeof Object.getOwnPropertySymbols === "function")
7631
+ for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s4); i5 < p3.length; i5++) {
7632
+ if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s4, p3[i5]))
7633
+ t4[p3[i5]] = s4[p3[i5]];
7629
7634
  }
7630
7635
  return t4;
7631
7636
  };
@@ -7673,7 +7678,7 @@ var Stream2 = class extends Stream {
7673
7678
  if (parsedResponse.ok && parsedResponse.value.type === "error") {
7674
7679
  ws.socket.dispatchEvent(new ErrorEvent({
7675
7680
  name: "error",
7676
- message: JSON.stringify(parsedResponse.value.error)
7681
+ message: JSON.stringify(parsedResponse.value)
7677
7682
  }, ""));
7678
7683
  ws.close();
7679
7684
  return;
@@ -7688,7 +7693,7 @@ var Stream2 = class extends Stream {
7688
7693
  }
7689
7694
  };
7690
7695
 
7691
- // ../corti-sdk-typescript/dist/esm/api/resources/transcribe/client/Socket.mjs
7696
+ // node_modules/@corti/sdk/dist/esm/api/resources/transcribe/client/Socket.mjs
7692
7697
  var __awaiter23 = function(thisArg, _arguments, P2, generator) {
7693
7698
  function adopt(value) {
7694
7699
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7853,7 +7858,7 @@ var TranscribeSocket = class {
7853
7858
  }
7854
7859
  };
7855
7860
 
7856
- // ../corti-sdk-typescript/dist/esm/api/resources/transcribe/client/Client.mjs
7861
+ // node_modules/@corti/sdk/dist/esm/api/resources/transcribe/client/Client.mjs
7857
7862
  var __awaiter24 = function(thisArg, _arguments, P2, generator) {
7858
7863
  function adopt(value) {
7859
7864
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7914,7 +7919,7 @@ var Transcribe = class {
7914
7919
  }
7915
7920
  };
7916
7921
 
7917
- // ../corti-sdk-typescript/dist/esm/custom/CustomTranscribeSocket.mjs
7922
+ // node_modules/@corti/sdk/dist/esm/custom/CustomTranscribeSocket.mjs
7918
7923
  var TranscribeSocket2 = class extends TranscribeSocket {
7919
7924
  sendAudio(message) {
7920
7925
  if (typeof message === "string") {
@@ -7944,7 +7949,7 @@ var TranscribeSocket2 = class extends TranscribeSocket {
7944
7949
  }
7945
7950
  };
7946
7951
 
7947
- // ../corti-sdk-typescript/dist/esm/custom/CustomTranscribe.mjs
7952
+ // node_modules/@corti/sdk/dist/esm/custom/CustomTranscribe.mjs
7948
7953
  var __awaiter25 = function(thisArg, _arguments, P2, generator) {
7949
7954
  function adopt(value) {
7950
7955
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -7972,14 +7977,14 @@ var __awaiter25 = function(thisArg, _arguments, P2, generator) {
7972
7977
  step((generator = generator.apply(thisArg, _arguments || [])).next());
7973
7978
  });
7974
7979
  };
7975
- var __rest3 = function(s3, e5) {
7980
+ var __rest3 = function(s4, e5) {
7976
7981
  var t4 = {};
7977
- for (var p3 in s3) if (Object.prototype.hasOwnProperty.call(s3, p3) && e5.indexOf(p3) < 0)
7978
- t4[p3] = s3[p3];
7979
- if (s3 != null && typeof Object.getOwnPropertySymbols === "function")
7980
- for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s3); i5 < p3.length; i5++) {
7981
- if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s3, p3[i5]))
7982
- t4[p3[i5]] = s3[p3[i5]];
7982
+ for (var p3 in s4) if (Object.prototype.hasOwnProperty.call(s4, p3) && e5.indexOf(p3) < 0)
7983
+ t4[p3] = s4[p3];
7984
+ if (s4 != null && typeof Object.getOwnPropertySymbols === "function")
7985
+ for (var i5 = 0, p3 = Object.getOwnPropertySymbols(s4); i5 < p3.length; i5++) {
7986
+ if (e5.indexOf(p3[i5]) < 0 && Object.prototype.propertyIsEnumerable.call(s4, p3[i5]))
7987
+ t4[p3[i5]] = s4[p3[i5]];
7983
7988
  }
7984
7989
  return t4;
7985
7990
  };
@@ -8042,7 +8047,7 @@ var Transcribe2 = class extends Transcribe {
8042
8047
  }
8043
8048
  };
8044
8049
 
8045
- // ../corti-sdk-typescript/dist/esm/custom/RefreshBearerProvider.mjs
8050
+ // node_modules/@corti/sdk/dist/esm/custom/RefreshBearerProvider.mjs
8046
8051
  var __awaiter26 = function(thisArg, _arguments, P2, generator) {
8047
8052
  function adopt(value) {
8048
8053
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -8106,10 +8111,10 @@ var RefreshBearerProvider = class {
8106
8111
  }
8107
8112
  };
8108
8113
 
8109
- // ../corti-sdk-typescript/dist/esm/version.mjs
8110
- var SDK_VERSION = "0.1.2-alpha";
8114
+ // node_modules/@corti/sdk/dist/esm/version.mjs
8115
+ var SDK_VERSION = "0.1.3-alpha";
8111
8116
 
8112
- // ../corti-sdk-typescript/dist/esm/custom/CortiClient.mjs
8117
+ // node_modules/@corti/sdk/dist/esm/custom/CortiClient.mjs
8113
8118
  var __awaiter27 = function(thisArg, _arguments, P2, generator) {
8114
8119
  function adopt(value) {
8115
8120
  return value instanceof P2 ? value : new P2(function(resolve) {
@@ -8561,12 +8566,12 @@ var callout_default = CalloutStyles;
8561
8566
 
8562
8567
  // dist/components/settings-menu.js
8563
8568
  var __decorate = function(decorators, target, key, desc) {
8564
- var c4 = arguments.length, r7 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8565
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r7 = Reflect.decorate(decorators, target, key, desc);
8566
- else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r7 = (c4 < 3 ? d3(r7) : c4 > 3 ? d3(target, key, r7) : d3(target, key)) || r7;
8567
- return c4 > 3 && r7 && Object.defineProperty(target, key, r7), r7;
8569
+ var c4 = arguments.length, r6 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8570
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r6 = Reflect.decorate(decorators, target, key, desc);
8571
+ else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r6 = (c4 < 3 ? d3(r6) : c4 > 3 ? d3(target, key, r6) : d3(target, key)) || r6;
8572
+ return c4 > 3 && r6 && Object.defineProperty(target, key, r6), r6;
8568
8573
  };
8569
- var SettingsMenu = class SettingsMenu2 extends r4 {
8574
+ var SettingsMenu = class SettingsMenu2 extends i4 {
8570
8575
  get effectiveSelectedLanguage() {
8571
8576
  return this.selectedLanguage || LANGUAGES_SUPPORTED[0] || "";
8572
8577
  }
@@ -8726,7 +8731,7 @@ __decorate([
8726
8731
  n4({ type: Boolean })
8727
8732
  ], SettingsMenu.prototype, "settingsDisabled", void 0);
8728
8733
  __decorate([
8729
- r6()
8734
+ r5()
8730
8735
  ], SettingsMenu.prototype, "_devices", void 0);
8731
8736
  SettingsMenu = __decorate([
8732
8737
  t3("settings-menu")
@@ -8734,12 +8739,12 @@ SettingsMenu = __decorate([
8734
8739
 
8735
8740
  // dist/components/audio-visualiser.js
8736
8741
  var __decorate2 = function(decorators, target, key, desc) {
8737
- var c4 = arguments.length, r7 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8738
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r7 = Reflect.decorate(decorators, target, key, desc);
8739
- else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r7 = (c4 < 3 ? d3(r7) : c4 > 3 ? d3(target, key, r7) : d3(target, key)) || r7;
8740
- return c4 > 3 && r7 && Object.defineProperty(target, key, r7), r7;
8742
+ var c4 = arguments.length, r6 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8743
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r6 = Reflect.decorate(decorators, target, key, desc);
8744
+ else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r6 = (c4 < 3 ? d3(r6) : c4 > 3 ? d3(target, key, r6) : d3(target, key)) || r6;
8745
+ return c4 > 3 && r6 && Object.defineProperty(target, key, r6), r6;
8741
8746
  };
8742
- var AudioVisualiser = class AudioVisualiser2 extends r4 {
8747
+ var AudioVisualiser = class AudioVisualiser2 extends i4 {
8743
8748
  constructor() {
8744
8749
  super(...arguments);
8745
8750
  this.level = 0;
@@ -8796,12 +8801,12 @@ AudioVisualiser = __decorate2([
8796
8801
 
8797
8802
  // dist/icons/icons.js
8798
8803
  var __decorate3 = function(decorators, target, key, desc) {
8799
- var c4 = arguments.length, r7 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8800
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r7 = Reflect.decorate(decorators, target, key, desc);
8801
- else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r7 = (c4 < 3 ? d3(r7) : c4 > 3 ? d3(target, key, r7) : d3(target, key)) || r7;
8802
- return c4 > 3 && r7 && Object.defineProperty(target, key, r7), r7;
8804
+ var c4 = arguments.length, r6 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
8805
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r6 = Reflect.decorate(decorators, target, key, desc);
8806
+ else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r6 = (c4 < 3 ? d3(r6) : c4 > 3 ? d3(target, key, r6) : d3(target, key)) || r6;
8807
+ return c4 > 3 && r6 && Object.defineProperty(target, key, r6), r6;
8803
8808
  };
8804
- var IconMicOn = class IconMicOn2 extends r4 {
8809
+ var IconMicOn = class IconMicOn2 extends i4 {
8805
8810
  render() {
8806
8811
  return x`
8807
8812
  <div style="display: flex">
@@ -8828,7 +8833,7 @@ var IconMicOn = class IconMicOn2 extends r4 {
8828
8833
  IconMicOn = __decorate3([
8829
8834
  t3("icon-mic-on")
8830
8835
  ], IconMicOn);
8831
- var IconMicOff = class IconMicOff2 extends r4 {
8836
+ var IconMicOff = class IconMicOff2 extends i4 {
8832
8837
  render() {
8833
8838
  return x` <div style="display: flex">
8834
8839
  <svg
@@ -8856,7 +8861,7 @@ var IconMicOff = class IconMicOff2 extends r4 {
8856
8861
  IconMicOff = __decorate3([
8857
8862
  t3("icon-mic-off")
8858
8863
  ], IconMicOff);
8859
- var IconRecording = class IconRecording2 extends r4 {
8864
+ var IconRecording = class IconRecording2 extends i4 {
8860
8865
  render() {
8861
8866
  return x`
8862
8867
  <div style="display: flex;">
@@ -8882,7 +8887,7 @@ var IconRecording = class IconRecording2 extends r4 {
8882
8887
  IconRecording = __decorate3([
8883
8888
  t3("icon-recording")
8884
8889
  ], IconRecording);
8885
- var IconSettings = class IconSettings2 extends r4 {
8890
+ var IconSettings = class IconSettings2 extends i4 {
8886
8891
  render() {
8887
8892
  return x`<div style="display: flex">
8888
8893
  <svg
@@ -8908,7 +8913,7 @@ var IconSettings = class IconSettings2 extends r4 {
8908
8913
  IconSettings = __decorate3([
8909
8914
  t3("icon-settings")
8910
8915
  ], IconSettings);
8911
- var IconLoadingSpinner = class IconLoadingSpinner2 extends r4 {
8916
+ var IconLoadingSpinner = class IconLoadingSpinner2 extends i4 {
8912
8917
  render() {
8913
8918
  return x`<div style="display: flex">
8914
8919
  <svg
@@ -9056,12 +9061,12 @@ var ComponentStyles_default = ComponentStyles;
9056
9061
 
9057
9062
  // dist/CortiDictation.js
9058
9063
  var __decorate4 = function(decorators, target, key, desc) {
9059
- var c4 = arguments.length, r7 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
9060
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r7 = Reflect.decorate(decorators, target, key, desc);
9061
- else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r7 = (c4 < 3 ? d3(r7) : c4 > 3 ? d3(target, key, r7) : d3(target, key)) || r7;
9062
- return c4 > 3 && r7 && Object.defineProperty(target, key, r7), r7;
9064
+ var c4 = arguments.length, r6 = c4 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d3;
9065
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r6 = Reflect.decorate(decorators, target, key, desc);
9066
+ else for (var i5 = decorators.length - 1; i5 >= 0; i5--) if (d3 = decorators[i5]) r6 = (c4 < 3 ? d3(r6) : c4 > 3 ? d3(target, key, r6) : d3(target, key)) || r6;
9067
+ return c4 > 3 && r6 && Object.defineProperty(target, key, r6), r6;
9063
9068
  };
9064
- var CortiDictation = class extends r4 {
9069
+ var CortiDictation = class extends i4 {
9065
9070
  constructor() {
9066
9071
  super(...arguments);
9067
9072
  this.dictationConfig = DEFAULT_DICTATION_CONFIG;
@@ -9233,19 +9238,19 @@ __decorate4([
9233
9238
  n4({ type: Boolean })
9234
9239
  ], CortiDictation.prototype, "debug_displayAudio", void 0);
9235
9240
  __decorate4([
9236
- r6()
9241
+ r5()
9237
9242
  ], CortiDictation.prototype, "_serverConfig", void 0);
9238
9243
  __decorate4([
9239
- r6()
9244
+ r5()
9240
9245
  ], CortiDictation.prototype, "_audioLevel", void 0);
9241
9246
  __decorate4([
9242
- r6()
9247
+ r5()
9243
9248
  ], CortiDictation.prototype, "_recordingState", void 0);
9244
9249
  __decorate4([
9245
- r6()
9250
+ r5()
9246
9251
  ], CortiDictation.prototype, "_selectedDevice", void 0);
9247
9252
  __decorate4([
9248
- r6()
9253
+ r5()
9249
9254
  ], CortiDictation.prototype, "_devices", void 0);
9250
9255
  var CortiDictation_default = CortiDictation;
9251
9256
 
@@ -9267,86 +9272,27 @@ export {
9267
9272
  *)
9268
9273
 
9269
9274
  @lit/reactive-element/reactive-element.js:
9270
- (**
9271
- * @license
9272
- * Copyright 2017 Google LLC
9273
- * SPDX-License-Identifier: BSD-3-Clause
9274
- *)
9275
-
9276
9275
  lit-html/lit-html.js:
9277
- (**
9278
- * @license
9279
- * Copyright 2017 Google LLC
9280
- * SPDX-License-Identifier: BSD-3-Clause
9281
- *)
9282
-
9283
9276
  lit-element/lit-element.js:
9284
- (**
9285
- * @license
9286
- * Copyright 2017 Google LLC
9287
- * SPDX-License-Identifier: BSD-3-Clause
9288
- *)
9289
-
9290
- lit-html/is-server.js:
9291
- (**
9292
- * @license
9293
- * Copyright 2022 Google LLC
9294
- * SPDX-License-Identifier: BSD-3-Clause
9295
- *)
9296
-
9297
9277
  @lit/reactive-element/decorators/custom-element.js:
9298
- (**
9299
- * @license
9300
- * Copyright 2017 Google LLC
9301
- * SPDX-License-Identifier: BSD-3-Clause
9302
- *)
9303
-
9304
9278
  @lit/reactive-element/decorators/property.js:
9305
- (**
9306
- * @license
9307
- * Copyright 2017 Google LLC
9308
- * SPDX-License-Identifier: BSD-3-Clause
9309
- *)
9310
-
9311
9279
  @lit/reactive-element/decorators/state.js:
9312
- (**
9313
- * @license
9314
- * Copyright 2017 Google LLC
9315
- * SPDX-License-Identifier: BSD-3-Clause
9316
- *)
9317
-
9318
9280
  @lit/reactive-element/decorators/event-options.js:
9319
- (**
9320
- * @license
9321
- * Copyright 2017 Google LLC
9322
- * SPDX-License-Identifier: BSD-3-Clause
9323
- *)
9324
-
9325
9281
  @lit/reactive-element/decorators/base.js:
9326
- (**
9327
- * @license
9328
- * Copyright 2017 Google LLC
9329
- * SPDX-License-Identifier: BSD-3-Clause
9330
- *)
9331
-
9332
9282
  @lit/reactive-element/decorators/query.js:
9333
- (**
9334
- * @license
9335
- * Copyright 2017 Google LLC
9336
- * SPDX-License-Identifier: BSD-3-Clause
9337
- *)
9338
-
9339
9283
  @lit/reactive-element/decorators/query-all.js:
9284
+ @lit/reactive-element/decorators/query-async.js:
9285
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
9340
9286
  (**
9341
9287
  * @license
9342
9288
  * Copyright 2017 Google LLC
9343
9289
  * SPDX-License-Identifier: BSD-3-Clause
9344
9290
  *)
9345
9291
 
9346
- @lit/reactive-element/decorators/query-async.js:
9292
+ lit-html/is-server.js:
9347
9293
  (**
9348
9294
  * @license
9349
- * Copyright 2017 Google LLC
9295
+ * Copyright 2022 Google LLC
9350
9296
  * SPDX-License-Identifier: BSD-3-Clause
9351
9297
  *)
9352
9298
 
@@ -9356,11 +9302,4 @@ lit-html/is-server.js:
9356
9302
  * Copyright 2021 Google LLC
9357
9303
  * SPDX-License-Identifier: BSD-3-Clause
9358
9304
  *)
9359
-
9360
- @lit/reactive-element/decorators/query-assigned-nodes.js:
9361
- (**
9362
- * @license
9363
- * Copyright 2017 Google LLC
9364
- * SPDX-License-Identifier: BSD-3-Clause
9365
- *)
9366
9305
  */