@nylas/web-elements 0.0.0-canary-20250120165013 → 0.0.0-canary-20250122221254

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 (59) hide show
  1. package/dist/cdn/checkbox-component/checkbox-component.es.js +14 -18
  2. package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +275 -278
  3. package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +2 -1
  4. package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +2 -1
  5. package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +3 -7
  6. package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +301 -296
  7. package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +2 -1
  8. package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +23 -18
  9. package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +18 -13
  10. package/dist/cdn/textarea-component/textarea-component.es.js +147 -146
  11. package/dist/cjs/checkbox-component_3.cjs.entry.js +2 -3
  12. package/dist/cjs/checkbox-component_3.cjs.entry.js.map +1 -1
  13. package/dist/cjs/google-logo-icon_4.cjs.entry.js +12 -4
  14. package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
  15. package/dist/cjs/nylas-scheduling.cjs.entry.js +10 -2
  16. package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
  17. package/dist/cjs/textarea-component.cjs.entry.js +2 -1
  18. package/dist/cjs/textarea-component.cjs.entry.js.map +1 -1
  19. package/dist/collection/components/design-system/checkbox-component/checkbox-component.css +4 -0
  20. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -2
  21. package/dist/collection/components/design-system/checkbox-component/checkbox-component.js.map +1 -1
  22. package/dist/collection/components/design-system/textarea-component/textarea-component.js +2 -1
  23. package/dist/collection/components/design-system/textarea-component/textarea-component.js.map +1 -1
  24. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js +25 -1
  25. package/dist/collection/components/scheduler/nylas-booking-form/test/nylas-booking-form.spec.js.map +1 -1
  26. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +10 -2
  27. package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
  28. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +12 -4
  29. package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
  30. package/dist/components/checkbox-component2.js +2 -3
  31. package/dist/components/checkbox-component2.js.map +1 -1
  32. package/dist/components/nylas-editor-tabs2.js +12 -4
  33. package/dist/components/nylas-editor-tabs2.js.map +1 -1
  34. package/dist/components/nylas-scheduling.js +10 -2
  35. package/dist/components/nylas-scheduling.js.map +1 -1
  36. package/dist/components/textarea-component2.js +2 -1
  37. package/dist/components/textarea-component2.js.map +1 -1
  38. package/dist/esm/checkbox-component_3.entry.js +2 -3
  39. package/dist/esm/checkbox-component_3.entry.js.map +1 -1
  40. package/dist/esm/google-logo-icon_4.entry.js +12 -4
  41. package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
  42. package/dist/esm/nylas-scheduling.entry.js +10 -2
  43. package/dist/esm/nylas-scheduling.entry.js.map +1 -1
  44. package/dist/esm/textarea-component.entry.js +2 -1
  45. package/dist/esm/textarea-component.entry.js.map +1 -1
  46. package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
  47. package/dist/nylas-web-elements/{p-a4b25253.entry.js → p-1d12e7e7.entry.js} +2 -2
  48. package/dist/nylas-web-elements/{p-a4b25253.entry.js.map → p-1d12e7e7.entry.js.map} +1 -1
  49. package/dist/nylas-web-elements/p-748f9af9.entry.js +2 -0
  50. package/dist/nylas-web-elements/p-748f9af9.entry.js.map +1 -0
  51. package/dist/nylas-web-elements/p-ea91e5b3.entry.js +2 -0
  52. package/dist/nylas-web-elements/p-ea91e5b3.entry.js.map +1 -0
  53. package/dist/nylas-web-elements/{p-dd830dcc.entry.js → p-f7bd80de.entry.js} +2 -2
  54. package/dist/nylas-web-elements/{p-dd830dcc.entry.js.map → p-f7bd80de.entry.js.map} +1 -1
  55. package/package.json +3 -3
  56. package/dist/nylas-web-elements/p-02488442.entry.js +0 -2
  57. package/dist/nylas-web-elements/p-02488442.entry.js.map +0 -1
  58. package/dist/nylas-web-elements/p-b61dfe09.entry.js +0 -2
  59. package/dist/nylas-web-elements/p-b61dfe09.entry.js.map +0 -1
@@ -9685,23 +9685,23 @@ const Oh = "No date selected", Lh = "Choose another time slot to reschedule your
9685
9685
  tooltip: {
9686
9686
  desc: "예약을 취소하는 데 필요한 최소 시간."
9687
9687
  }
9688
- }, eT = {
9688
+ }, e9 = {
9689
9689
  headerTitle: "페이지 이름",
9690
9690
  headerSubTitle: "스케줄링 페이지 이름을 설정하세요.",
9691
9691
  tooltip: {
9692
9692
  desc: "기본적으로 스케줄링 페이지는 사용자 이름을 페이지 이름으로 사용합니다. 페이지 이름은 캘린더 보기의 왼쪽 상단에 표시됩니다."
9693
9693
  }
9694
- }, tT = {
9694
+ }, t9 = {
9695
9695
  headerTitle: "페이지 스타일 및 맞춤화"
9696
- }, nT = {
9696
+ }, n9 = {
9697
9697
  headerTitle: "이 캘린더에 예약",
9698
9698
  headerSubTitle: "이벤트 예약을 추가할 캘린더를 선택하세요.",
9699
9699
  participantBookingCalendarTitle: "{{participantName}}의 예약 캘린더"
9700
- }, iT = {
9700
+ }, i9 = {
9701
9701
  headerTitle: "참여자 영업 시간",
9702
9702
  headerSubTitle: "설정되지 않은 경우 기본 영업 시간이 이 참여자의 가능 여부 계산에 사용됩니다.",
9703
9703
  participantOpenHoursTitle: "{{participantName}}의 영업 시간"
9704
- }, aT = {
9704
+ }, a9 = {
9705
9705
  headerTitle: "다가오는 회의{{organizerName}}",
9706
9706
  headerSubTitle: "이벤트 전 알림",
9707
9707
  editButtonText: "편집",
@@ -9723,7 +9723,7 @@ const Oh = "No date selected", Lh = "Choose another time slot to reschedule your
9723
9723
  },
9724
9724
  reminderMinutesValidationError: "리마인더 분을 5의 배수로 입력하세요. 시도해보세요 ",
9725
9725
  newReminderButtonText: "새 알림"
9726
- }, rT = {
9726
+ }, r9 = {
9727
9727
  headerTitle: "스케줄링 방법",
9728
9728
  headerSubTitle: "이벤트의 스케줄링 방법을 선택하세요.",
9729
9729
  tooltip: {
@@ -9743,7 +9743,7 @@ const Oh = "No date selected", Lh = "Choose another time slot to reschedule your
9743
9743
  schedulingMethodOptions_collective: "표준 예약",
9744
9744
  schedulingMethodOptions_maxFairness: "라운드 로빈 공정성 최대화",
9745
9745
  schedulingMethodOptions_maxAvailability: "라운드 로빈 가능성 최대화"
9746
- }, oT = {
9746
+ }, o9 = {
9747
9747
  headerTitle: "시간대 설정",
9748
9748
  timeslotInterval: {
9749
9749
  label: "시간대 간격"
@@ -9887,13 +9887,13 @@ const Oh = "No date selected", Lh = "Choose another time slot to reschedule your
9887
9887
  nylasLimitFutureBookings: J7,
9888
9888
  nylasMinBookingNotice: X7,
9889
9889
  nylasMinCancellationNotice: Q7,
9890
- nylasPageName: eT,
9891
- nylasPageStyling: tT,
9892
- nylasParticipantBookingCalendars: nT,
9893
- nylasParticipantCustomAvailability: iT,
9894
- nylasReminderEmails: aT,
9895
- nylasSchedulingMethod: rT,
9896
- nylasTimeslotInterval: oT
9890
+ nylasPageName: e9,
9891
+ nylasPageStyling: t9,
9892
+ nylasParticipantBookingCalendars: n9,
9893
+ nylasParticipantCustomAvailability: i9,
9894
+ nylasReminderEmails: a9,
9895
+ nylasSchedulingMethod: r9,
9896
+ nylasTimeslotInterval: o9
9897
9897
  }, DB = /* @__PURE__ */ Object.freeze({
9898
9898
  __proto__: null,
9899
9899
  noDateSelected: Hw,
@@ -10018,13 +10018,13 @@ const Oh = "No date selected", Lh = "Choose another time slot to reschedule your
10018
10018
  nylasLimitFutureBookings: J7,
10019
10019
  nylasMinBookingNotice: X7,
10020
10020
  nylasMinCancellationNotice: Q7,
10021
- nylasPageName: eT,
10022
- nylasPageStyling: tT,
10023
- nylasParticipantBookingCalendars: nT,
10024
- nylasParticipantCustomAvailability: iT,
10025
- nylasReminderEmails: aT,
10026
- nylasSchedulingMethod: rT,
10027
- nylasTimeslotInterval: oT,
10021
+ nylasPageName: e9,
10022
+ nylasPageStyling: t9,
10023
+ nylasParticipantBookingCalendars: n9,
10024
+ nylasParticipantCustomAvailability: i9,
10025
+ nylasReminderEmails: a9,
10026
+ nylasSchedulingMethod: r9,
10027
+ nylasTimeslotInterval: o9,
10028
10028
  default: BB
10029
10029
  });
10030
10030
  _.init({
@@ -10382,7 +10382,7 @@ const rt = {
10382
10382
  TitleEnd: new Uint8Array([60, 47, 116, 105, 116, 108, 101])
10383
10383
  // `</title`
10384
10384
  };
10385
- class sT {
10385
+ class s9 {
10386
10386
  constructor({ xmlMode: e = !1, decodeEntities: t = !0 }, i) {
10387
10387
  this.cbs = i, this.state = O.Text, this.buffer = "", this.sectionStart = 0, this.index = 0, this.baseState = O.Text, this.isSpecial = !1, this.running = !0, this.offset = 0, this.currentSequence = void 0, this.sequenceIndex = 0, this.trieIndex = 0, this.trieCurrent = 0, this.entityResult = 0, this.entityExcess = 0, this.xmlMode = e, this.decodeEntities = t, this.entityTrie = e ? Nt.xmlDecodeTree : Nt.htmlDecodeTree;
10388
10388
  }
@@ -10848,7 +10848,7 @@ const ai = /* @__PURE__ */ new Set([
10848
10848
  class ec {
10849
10849
  constructor(e, t = {}) {
10850
10850
  var i, a, r, o, s;
10851
- this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.foreignContext = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = e ?? {}, this.lowerCaseTagNames = (i = t.lowerCaseTags) !== null && i !== void 0 ? i : !t.xmlMode, this.lowerCaseAttributeNames = (a = t.lowerCaseAttributeNames) !== null && a !== void 0 ? a : !t.xmlMode, this.tokenizer = new ((r = t.Tokenizer) !== null && r !== void 0 ? r : sT)(this.options, this), (s = (o = this.cbs).onparserinit) === null || s === void 0 || s.call(o, this);
10851
+ this.options = t, this.startIndex = 0, this.endIndex = 0, this.openTagStart = 0, this.tagname = "", this.attribname = "", this.attribvalue = "", this.attribs = null, this.stack = [], this.foreignContext = [], this.buffers = [], this.bufferOffset = 0, this.writeIndex = 0, this.ended = !1, this.cbs = e ?? {}, this.lowerCaseTagNames = (i = t.lowerCaseTags) !== null && i !== void 0 ? i : !t.xmlMode, this.lowerCaseAttributeNames = (a = t.lowerCaseAttributeNames) !== null && a !== void 0 ? a : !t.xmlMode, this.tokenizer = new ((r = t.Tokenizer) !== null && r !== void 0 ? r : s9)(this.options, this), (s = (o = this.cbs).onparserinit) === null || s === void 0 || s.call(o, this);
10852
10852
  }
10853
10853
  // Tokenizer event handlers
10854
10854
  /** @internal */
@@ -11076,26 +11076,26 @@ var he;
11076
11076
  (function(n) {
11077
11077
  n.Root = "root", n.Text = "text", n.Directive = "directive", n.Comment = "comment", n.Script = "script", n.Style = "style", n.Tag = "tag", n.CDATA = "cdata", n.Doctype = "doctype";
11078
11078
  })(he || (he = {}));
11079
- function lT(n) {
11079
+ function l9(n) {
11080
11080
  return n.type === he.Tag || n.type === he.Script || n.type === he.Style;
11081
11081
  }
11082
- const cT = he.Root, dT = he.Text, uT = he.Directive, fT = he.Comment, hT = he.Script, pT = he.Style, mT = he.Tag, gT = he.CDATA, bT = he.Doctype, FB = /* @__PURE__ */ Object.freeze({
11082
+ const c9 = he.Root, d9 = he.Text, u9 = he.Directive, f9 = he.Comment, h9 = he.Script, p9 = he.Style, m9 = he.Tag, g9 = he.CDATA, b9 = he.Doctype, FB = /* @__PURE__ */ Object.freeze({
11083
11083
  __proto__: null,
11084
11084
  get ElementType() {
11085
11085
  return he;
11086
11086
  },
11087
- isTag: lT,
11088
- Root: cT,
11089
- Text: dT,
11090
- Directive: uT,
11091
- Comment: fT,
11092
- Script: hT,
11093
- Style: pT,
11094
- Tag: mT,
11095
- CDATA: gT,
11096
- Doctype: bT
11087
+ isTag: l9,
11088
+ Root: c9,
11089
+ Text: d9,
11090
+ Directive: u9,
11091
+ Comment: f9,
11092
+ Script: h9,
11093
+ Style: p9,
11094
+ Tag: m9,
11095
+ CDATA: g9,
11096
+ Doctype: b9
11097
11097
  });
11098
- class yT {
11098
+ class y9 {
11099
11099
  constructor() {
11100
11100
  this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
11101
11101
  }
@@ -11137,10 +11137,10 @@ class yT {
11137
11137
  * @returns A clone of the node.
11138
11138
  */
11139
11139
  cloneNode(e = !1) {
11140
- return wT(this, e);
11140
+ return w9(this, e);
11141
11141
  }
11142
11142
  }
11143
- class tc extends yT {
11143
+ class tc extends y9 {
11144
11144
  /**
11145
11145
  * @param data The content of the data node
11146
11146
  */
@@ -11166,7 +11166,7 @@ class el extends tc {
11166
11166
  return 3;
11167
11167
  }
11168
11168
  }
11169
- class vT extends tc {
11169
+ class v9 extends tc {
11170
11170
  constructor() {
11171
11171
  super(...arguments), this.type = he.Comment;
11172
11172
  }
@@ -11174,7 +11174,7 @@ class vT extends tc {
11174
11174
  return 8;
11175
11175
  }
11176
11176
  }
11177
- class _T extends tc {
11177
+ class _9 extends tc {
11178
11178
  constructor(e, t) {
11179
11179
  super(t), this.name = e, this.type = he.Directive;
11180
11180
  }
@@ -11182,7 +11182,7 @@ class _T extends tc {
11182
11182
  return 1;
11183
11183
  }
11184
11184
  }
11185
- class nc extends yT {
11185
+ class nc extends y9 {
11186
11186
  /**
11187
11187
  * @param children Children of the node. Only certain node types can have children.
11188
11188
  */
@@ -11210,7 +11210,7 @@ class nc extends yT {
11210
11210
  this.children = e;
11211
11211
  }
11212
11212
  }
11213
- class kT extends nc {
11213
+ class k9 extends nc {
11214
11214
  constructor() {
11215
11215
  super(...arguments), this.type = he.CDATA;
11216
11216
  }
@@ -11226,7 +11226,7 @@ class tl extends nc {
11226
11226
  return 9;
11227
11227
  }
11228
11228
  }
11229
- let xT = class extends nc {
11229
+ let x9 = class extends nc {
11230
11230
  /**
11231
11231
  * @param name Name of the tag, eg. `div`, `span`.
11232
11232
  * @param attribs Object mapping attribute names to attribute values.
@@ -11262,7 +11262,7 @@ let xT = class extends nc {
11262
11262
  }
11263
11263
  };
11264
11264
  function _t(n) {
11265
- return lT(n);
11265
+ return l9(n);
11266
11266
  }
11267
11267
  function po(n) {
11268
11268
  return n.type === he.CDATA;
@@ -11276,36 +11276,36 @@ function ic(n) {
11276
11276
  function NB(n) {
11277
11277
  return n.type === he.Directive;
11278
11278
  }
11279
- function CT(n) {
11279
+ function C9(n) {
11280
11280
  return n.type === he.Root;
11281
11281
  }
11282
11282
  function Bn(n) {
11283
11283
  return Object.prototype.hasOwnProperty.call(n, "children");
11284
11284
  }
11285
- function wT(n, e = !1) {
11285
+ function w9(n, e = !1) {
11286
11286
  let t;
11287
11287
  if (Un(n))
11288
11288
  t = new el(n.data);
11289
11289
  else if (ic(n))
11290
- t = new vT(n.data);
11290
+ t = new v9(n.data);
11291
11291
  else if (_t(n)) {
11292
- const i = e ? Lo(n.children) : [], a = new xT(n.name, { ...n.attribs }, i);
11292
+ const i = e ? Lo(n.children) : [], a = new x9(n.name, { ...n.attribs }, i);
11293
11293
  i.forEach((r) => r.parent = a), n.namespace != null && (a.namespace = n.namespace), n["x-attribsNamespace"] && (a["x-attribsNamespace"] = { ...n["x-attribsNamespace"] }), n["x-attribsPrefix"] && (a["x-attribsPrefix"] = { ...n["x-attribsPrefix"] }), t = a;
11294
11294
  } else if (po(n)) {
11295
- const i = e ? Lo(n.children) : [], a = new kT(i);
11295
+ const i = e ? Lo(n.children) : [], a = new k9(i);
11296
11296
  i.forEach((r) => r.parent = a), t = a;
11297
- } else if (CT(n)) {
11297
+ } else if (C9(n)) {
11298
11298
  const i = e ? Lo(n.children) : [], a = new tl(i);
11299
11299
  i.forEach((r) => r.parent = a), n["x-mode"] && (a["x-mode"] = n["x-mode"]), t = a;
11300
11300
  } else if (NB(n)) {
11301
- const i = new _T(n.name, n.data);
11301
+ const i = new _9(n.name, n.data);
11302
11302
  n["x-name"] != null && (i["x-name"] = n["x-name"], i["x-publicId"] = n["x-publicId"], i["x-systemId"] = n["x-systemId"]), t = i;
11303
11303
  } else
11304
11304
  throw new Error(`Not implemented yet: ${n.type}`);
11305
11305
  return t.startIndex = n.startIndex, t.endIndex = n.endIndex, n.sourceCodeLocation != null && (t.sourceCodeLocation = n.sourceCodeLocation), t;
11306
11306
  }
11307
11307
  function Lo(n) {
11308
- const e = n.map((t) => wT(t, !0));
11308
+ const e = n.map((t) => w9(t, !0));
11309
11309
  for (let t = 1; t < e.length; t++)
11310
11310
  e[t].prev = e[t - 1], e[t - 1].next = e[t];
11311
11311
  return e;
@@ -11344,7 +11344,7 @@ class Nr {
11344
11344
  this.options.withEndIndices && (e.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(e);
11345
11345
  }
11346
11346
  onopentag(e, t) {
11347
- const i = this.options.xmlMode ? he.Tag : void 0, a = new xT(e, t, void 0, i);
11347
+ const i = this.options.xmlMode ? he.Tag : void 0, a = new x9(e, t, void 0, i);
11348
11348
  this.addNode(a), this.tagStack.push(a);
11349
11349
  }
11350
11350
  ontext(e) {
@@ -11361,21 +11361,21 @@ class Nr {
11361
11361
  this.lastNode.data += e;
11362
11362
  return;
11363
11363
  }
11364
- const t = new vT(e);
11364
+ const t = new v9(e);
11365
11365
  this.addNode(t), this.lastNode = t;
11366
11366
  }
11367
11367
  oncommentend() {
11368
11368
  this.lastNode = null;
11369
11369
  }
11370
11370
  oncdatastart() {
11371
- const e = new el(""), t = new kT([e]);
11371
+ const e = new el(""), t = new k9([e]);
11372
11372
  this.addNode(t), e.parent = t, this.lastNode = e;
11373
11373
  }
11374
11374
  oncdataend() {
11375
11375
  this.lastNode = null;
11376
11376
  }
11377
11377
  onprocessinginstruction(e, t) {
11378
- const i = new _T(e, t);
11378
+ const i = new _9(e, t);
11379
11379
  this.addNode(i);
11380
11380
  }
11381
11381
  handleCallback(e) {
@@ -11402,7 +11402,7 @@ const ou = /["&'<>$\x80-\uFFFF]/g, HB = /* @__PURE__ */ new Map([
11402
11402
  (n, e) => (n.charCodeAt(e) & 64512) === 55296 ? (n.charCodeAt(e) - 55296) * 1024 + n.charCodeAt(e + 1) - 56320 + 65536 : n.charCodeAt(e)
11403
11403
  )
11404
11404
  );
11405
- function ET(n) {
11405
+ function E9(n) {
11406
11406
  let e = "", t = 0, i;
11407
11407
  for (; (i = ou.exec(n)) !== null; ) {
11408
11408
  const a = i.index, r = n.charCodeAt(a), o = HB.get(r);
@@ -11410,7 +11410,7 @@ function ET(n) {
11410
11410
  }
11411
11411
  return e + n.substr(t);
11412
11412
  }
11413
- function TT(n, e) {
11413
+ function T9(n, e) {
11414
11414
  return function(i) {
11415
11415
  let a, r = 0, o = "";
11416
11416
  for (; a = n.exec(i); )
@@ -11418,11 +11418,11 @@ function TT(n, e) {
11418
11418
  return o + i.substring(r);
11419
11419
  };
11420
11420
  }
11421
- const UB = TT(/["&\u00A0]/g, /* @__PURE__ */ new Map([
11421
+ const UB = T9(/["&\u00A0]/g, /* @__PURE__ */ new Map([
11422
11422
  [34, "&quot;"],
11423
11423
  [38, "&amp;"],
11424
11424
  [160, "&nbsp;"]
11425
- ])), jB = TT(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
11425
+ ])), jB = T9(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
11426
11426
  [38, "&amp;"],
11427
11427
  [60, "&lt;"],
11428
11428
  [62, "&gt;"],
@@ -11542,7 +11542,7 @@ function VB(n, e) {
11542
11542
  var t;
11543
11543
  if (!n)
11544
11544
  return;
11545
- const i = ((t = e.encodeEntities) !== null && t !== void 0 ? t : e.decodeEntities) === !1 ? YB : e.xmlMode || e.encodeEntities !== "utf8" ? ET : UB;
11545
+ const i = ((t = e.encodeEntities) !== null && t !== void 0 ? t : e.decodeEntities) === !1 ? YB : e.xmlMode || e.encodeEntities !== "utf8" ? E9 : UB;
11546
11546
  return Object.keys(n).map((a) => {
11547
11547
  var r, o;
11548
11548
  const s = (r = n[a]) !== null && r !== void 0 ? r : "";
@@ -11579,20 +11579,20 @@ function ac(n, e = {}) {
11579
11579
  }
11580
11580
  function KB(n, e) {
11581
11581
  switch (n.type) {
11582
- case cT:
11582
+ case c9:
11583
11583
  return ac(n.children, e);
11584
- case bT:
11585
- case uT:
11584
+ case b9:
11585
+ case u9:
11586
11586
  return QB(n);
11587
- case fT:
11587
+ case f9:
11588
11588
  return nD(n);
11589
- case gT:
11589
+ case g9:
11590
11590
  return tD(n);
11591
- case hT:
11592
- case pT:
11593
- case mT:
11591
+ case h9:
11592
+ case p9:
11593
+ case m9:
11594
11594
  return XB(n, e);
11595
- case dT:
11595
+ case d9:
11596
11596
  return eD(n, e);
11597
11597
  }
11598
11598
  }
@@ -11626,7 +11626,7 @@ function QB(n) {
11626
11626
  function eD(n, e) {
11627
11627
  var t;
11628
11628
  let i = n.data || "";
11629
- return ((t = e.encodeEntities) !== null && t !== void 0 ? t : e.decodeEntities) !== !1 && !(!e.xmlMode && n.parent && GB.has(n.parent.name)) && (i = e.xmlMode || e.encodeEntities !== "utf8" ? ET(i) : jB(i)), i;
11629
+ return ((t = e.encodeEntities) !== null && t !== void 0 ? t : e.decodeEntities) !== !1 && !(!e.xmlMode && n.parent && GB.has(n.parent.name)) && (i = e.xmlMode || e.encodeEntities !== "utf8" ? E9(i) : jB(i)), i;
11630
11630
  }
11631
11631
  function tD(n) {
11632
11632
  return `<![CDATA[${n.children[0].data}]]>`;
@@ -11634,11 +11634,11 @@ function tD(n) {
11634
11634
  function nD(n) {
11635
11635
  return `<!--${n.data}-->`;
11636
11636
  }
11637
- function ST(n, e) {
11637
+ function S9(n, e) {
11638
11638
  return ac(n, e);
11639
11639
  }
11640
11640
  function iD(n, e) {
11641
- return Bn(n) ? n.children.map((t) => ST(t, e)).join("") : "";
11641
+ return Bn(n) ? n.children.map((t) => S9(t, e)).join("") : "";
11642
11642
  }
11643
11643
  function cr(n) {
11644
11644
  return Array.isArray(n) ? n.map(cr).join("") : _t(n) ? n.name === "br" ? `
@@ -11650,16 +11650,16 @@ function Hr(n) {
11650
11650
  function nl(n) {
11651
11651
  return Array.isArray(n) ? n.map(nl).join("") : Bn(n) && (n.type === he.Tag || po(n)) ? nl(n.children) : Un(n) ? n.data : "";
11652
11652
  }
11653
- function AT(n) {
11653
+ function A9(n) {
11654
11654
  return Bn(n) ? n.children : [];
11655
11655
  }
11656
- function $T(n) {
11656
+ function $9(n) {
11657
11657
  return n.parent || null;
11658
11658
  }
11659
11659
  function aD(n) {
11660
- const e = $T(n);
11660
+ const e = $9(n);
11661
11661
  if (e != null)
11662
- return AT(e);
11662
+ return A9(e);
11663
11663
  const t = [n];
11664
11664
  let { prev: i, next: a } = n;
11665
11665
  for (; i != null; )
@@ -11742,9 +11742,9 @@ function pD(n, e) {
11742
11742
  n.prev && (n.prev.next = e), e.parent = t, e.prev = n.prev, e.next = n, n.prev = e;
11743
11743
  }
11744
11744
  function mo(n, e, t = !0, i = 1 / 0) {
11745
- return PT(n, Array.isArray(e) ? e : [e], t, i);
11745
+ return P9(n, Array.isArray(e) ? e : [e], t, i);
11746
11746
  }
11747
- function PT(n, e, t, i) {
11747
+ function P9(n, e, t, i) {
11748
11748
  const a = [], r = [e], o = [0];
11749
11749
  for (; ; ) {
11750
11750
  if (o[0] >= r[0].length) {
@@ -11772,8 +11772,8 @@ function rc(n, e, t = !0) {
11772
11772
  }
11773
11773
  return i;
11774
11774
  }
11775
- function BT(n, e) {
11776
- return e.some((t) => _t(t) && (n(t) || BT(n, t.children)));
11775
+ function B9(n, e) {
11776
+ return e.some((t) => _t(t) && (n(t) || B9(n, t.children)));
11777
11777
  }
11778
11778
  function gD(n, e) {
11779
11779
  const t = [], i = [e], a = [0];
@@ -11799,29 +11799,29 @@ const zr = {
11799
11799
  return typeof n == "function" ? (e) => Un(e) && n(e.data) : (e) => Un(e) && e.data === n;
11800
11800
  }
11801
11801
  };
11802
- function DT(n, e) {
11802
+ function D9(n, e) {
11803
11803
  return typeof e == "function" ? (t) => _t(t) && e(t.attribs[n]) : (t) => _t(t) && t.attribs[n] === e;
11804
11804
  }
11805
11805
  function bD(n, e) {
11806
11806
  return (t) => n(t) || e(t);
11807
11807
  }
11808
- function IT(n) {
11808
+ function I9(n) {
11809
11809
  const e = Object.keys(n).map((t) => {
11810
11810
  const i = n[t];
11811
- return Object.prototype.hasOwnProperty.call(zr, t) ? zr[t](i) : DT(t, i);
11811
+ return Object.prototype.hasOwnProperty.call(zr, t) ? zr[t](i) : D9(t, i);
11812
11812
  });
11813
11813
  return e.length === 0 ? null : e.reduce(bD);
11814
11814
  }
11815
11815
  function yD(n, e) {
11816
- const t = IT(n);
11816
+ const t = I9(n);
11817
11817
  return t ? t(e) : !0;
11818
11818
  }
11819
11819
  function vD(n, e, t, i = 1 / 0) {
11820
- const a = IT(n);
11820
+ const a = I9(n);
11821
11821
  return a ? mo(a, e, t, i) : [];
11822
11822
  }
11823
11823
  function _D(n, e, t = !0) {
11824
- return Array.isArray(e) || (e = [e]), rc(DT("id", n), e, t);
11824
+ return Array.isArray(e) || (e = [e]), rc(D9("id", n), e, t);
11825
11825
  }
11826
11826
  function Di(n, e, t = !0, i = 1 / 0) {
11827
11827
  return mo(zr.tag_name(n), e, t, i);
@@ -11849,7 +11849,7 @@ var Et;
11849
11849
  (function(n) {
11850
11850
  n[n.DISCONNECTED = 1] = "DISCONNECTED", n[n.PRECEDING = 2] = "PRECEDING", n[n.FOLLOWING = 4] = "FOLLOWING", n[n.CONTAINS = 8] = "CONTAINS", n[n.CONTAINED_BY = 16] = "CONTAINED_BY";
11851
11851
  })(Et || (Et = {}));
11852
- function OT(n, e) {
11852
+ function O9(n, e) {
11853
11853
  const t = [], i = [];
11854
11854
  if (n === e)
11855
11855
  return 0;
@@ -11869,7 +11869,7 @@ function OT(n, e) {
11869
11869
  }
11870
11870
  function CD(n) {
11871
11871
  return n = n.filter((e, t, i) => !i.includes(e, t + 1)), n.sort((e, t) => {
11872
- const i = OT(e, t);
11872
+ const i = O9(e, t);
11873
11873
  return i & Et.PRECEDING ? -1 : i & Et.FOLLOWING ? 1 : 0;
11874
11874
  }), n;
11875
11875
  }
@@ -11883,7 +11883,7 @@ function wD(n) {
11883
11883
  type: "atom",
11884
11884
  items: Di("entry", t).map((o) => {
11885
11885
  var s;
11886
- const { children: l } = o, d = { media: LT(l) };
11886
+ const { children: l } = o, d = { media: L9(l) };
11887
11887
  ct(d, "id", "id", l), ct(d, "title", "title", l);
11888
11888
  const f = (s = Ur("link", l)) === null || s === void 0 ? void 0 : s.attribs.href;
11889
11889
  f && (d.link = f);
@@ -11905,7 +11905,7 @@ function ED(n) {
11905
11905
  type: n.name.substr(0, 3),
11906
11906
  id: "",
11907
11907
  items: Di("item", n.children).map((o) => {
11908
- const { children: s } = o, l = { media: LT(s) };
11908
+ const { children: s } = o, l = { media: L9(s) };
11909
11909
  ct(l, "id", "guid", s), ct(l, "title", "title", s), ct(l, "link", "link", s), ct(l, "description", "description", s);
11910
11910
  const d = Tn("pubDate", s) || Tn("dc:date", s);
11911
11911
  return d && (l.pubDate = new Date(d)), l;
@@ -11925,7 +11925,7 @@ const TD = ["url", "type", "lang"], SD = [
11925
11925
  "height",
11926
11926
  "width"
11927
11927
  ];
11928
- function LT(n) {
11928
+ function L9(n) {
11929
11929
  return Di("media:content", n).map((e) => {
11930
11930
  const { attribs: t } = e, i = {
11931
11931
  medium: t.medium,
@@ -11957,15 +11957,15 @@ const $D = /* @__PURE__ */ Object.freeze({
11957
11957
  isCDATA: po,
11958
11958
  isText: Un,
11959
11959
  isComment: ic,
11960
- isDocument: CT,
11960
+ isDocument: C9,
11961
11961
  hasChildren: Bn,
11962
- getOuterHTML: ST,
11962
+ getOuterHTML: S9,
11963
11963
  getInnerHTML: iD,
11964
11964
  getText: cr,
11965
11965
  textContent: Hr,
11966
11966
  innerText: nl,
11967
- getChildren: AT,
11968
- getParent: $T,
11967
+ getChildren: A9,
11968
+ getParent: $9,
11969
11969
  getSiblings: aD,
11970
11970
  getAttributeValue: rD,
11971
11971
  hasAttrib: oD,
@@ -11979,10 +11979,10 @@ const $D = /* @__PURE__ */ Object.freeze({
11979
11979
  prependChild: hD,
11980
11980
  prepend: pD,
11981
11981
  filter: mo,
11982
- find: PT,
11982
+ find: P9,
11983
11983
  findOneChild: mD,
11984
11984
  findOne: rc,
11985
- existsOne: BT,
11985
+ existsOne: B9,
11986
11986
  findAll: gD,
11987
11987
  testElement: yD,
11988
11988
  getElements: vD,
@@ -11993,16 +11993,16 @@ const $D = /* @__PURE__ */ Object.freeze({
11993
11993
  get DocumentPosition() {
11994
11994
  return Et;
11995
11995
  },
11996
- compareDocumentPosition: OT,
11996
+ compareDocumentPosition: O9,
11997
11997
  uniqueSort: CD,
11998
11998
  getFeed: oc
11999
11999
  });
12000
- function MT(n, e) {
12000
+ function M9(n, e) {
12001
12001
  const t = new Nr(void 0, e);
12002
12002
  return new ec(t, e).end(n), t.root;
12003
12003
  }
12004
- function RT(n, e) {
12005
- return MT(n, e).children;
12004
+ function R9(n, e) {
12005
+ return M9(n, e).children;
12006
12006
  }
12007
12007
  function PD(n, e, t) {
12008
12008
  const i = new Nr(n, e, t);
@@ -12010,18 +12010,18 @@ function PD(n, e, t) {
12010
12010
  }
12011
12011
  const BD = { xmlMode: !0 };
12012
12012
  function DD(n, e = BD) {
12013
- return oc(RT(n, e));
12013
+ return oc(R9(n, e));
12014
12014
  }
12015
12015
  const ID = /* @__PURE__ */ Object.freeze({
12016
12016
  __proto__: null,
12017
- parseDocument: MT,
12018
- parseDOM: RT,
12017
+ parseDocument: M9,
12018
+ parseDOM: R9,
12019
12019
  createDomStream: PD,
12020
12020
  parseFeed: DD,
12021
12021
  Parser: ec,
12022
12022
  DomHandler: Nr,
12023
12023
  DefaultHandler: Nr,
12024
- Tokenizer: sT,
12024
+ Tokenizer: s9,
12025
12025
  ElementType: FB,
12026
12026
  getFeed: oc,
12027
12027
  DomUtils: $D
@@ -12087,7 +12087,7 @@ function VD(n) {
12087
12087
  function cu(n) {
12088
12088
  return Object.keys(n).concat(VD(n));
12089
12089
  }
12090
- function FT(n, e) {
12090
+ function F9(n, e) {
12091
12091
  try {
12092
12092
  return e in n;
12093
12093
  } catch {
@@ -12095,14 +12095,14 @@ function FT(n, e) {
12095
12095
  }
12096
12096
  }
12097
12097
  function KD(n, e) {
12098
- return FT(n, e) && !(Object.hasOwnProperty.call(n, e) && Object.propertyIsEnumerable.call(n, e));
12098
+ return F9(n, e) && !(Object.hasOwnProperty.call(n, e) && Object.propertyIsEnumerable.call(n, e));
12099
12099
  }
12100
12100
  function ZD(n, e, t) {
12101
12101
  var i = {};
12102
12102
  return t.isMergeableObject(n) && cu(n).forEach(function(a) {
12103
12103
  i[a] = la(n[a], t);
12104
12104
  }), cu(e).forEach(function(a) {
12105
- KD(n, a) || (FT(n, a) && t.isMergeableObject(e[a]) ? i[a] = YD(a, t)(n[a], e[a], t) : i[a] = la(e[a], t));
12105
+ KD(n, a) || (F9(n, a) && t.isMergeableObject(e[a]) ? i[a] = YD(a, t)(n[a], e[a], t) : i[a] = la(e[a], t));
12106
12106
  }), i;
12107
12107
  }
12108
12108
  function ki(n, e, t) {
@@ -12117,7 +12117,7 @@ ki.all = function(e, t) {
12117
12117
  return ki(i, a, t);
12118
12118
  }, {});
12119
12119
  };
12120
- var JD = ki, XD = JD, NT = { exports: {} };
12120
+ var JD = ki, XD = JD, N9 = { exports: {} };
12121
12121
  (function(n) {
12122
12122
  (function(e, t) {
12123
12123
  n.exports ? n.exports = t() : e.parseSrcset = t();
@@ -12181,12 +12181,12 @@ var JD = ki, XD = JD, NT = { exports: {} };
12181
12181
  }
12182
12182
  };
12183
12183
  });
12184
- })(NT);
12185
- var jr = lt.process, sc = { exports: {} }, Be = String, HT = function() {
12184
+ })(N9);
12185
+ var jr = lt.process, sc = { exports: {} }, Be = String, H9 = function() {
12186
12186
  return { isColorSupported: !1, reset: Be, bold: Be, dim: Be, italic: Be, underline: Be, inverse: Be, hidden: Be, strikethrough: Be, black: Be, red: Be, green: Be, yellow: Be, blue: Be, magenta: Be, cyan: Be, white: Be, gray: Be, bgBlack: Be, bgRed: Be, bgGreen: Be, bgYellow: Be, bgBlue: Be, bgMagenta: Be, bgCyan: Be, bgWhite: Be };
12187
12187
  };
12188
- sc.exports = HT();
12189
- sc.exports.createColors = HT;
12188
+ sc.exports = H9();
12189
+ sc.exports.createColors = H9;
12190
12190
  const QD = {}, eI = /* @__PURE__ */ Object.freeze({
12191
12191
  __proto__: null,
12192
12192
  default: QD
@@ -12420,15 +12420,15 @@ class il {
12420
12420
  return a && a.value === i ? a.raw : i;
12421
12421
  }
12422
12422
  }
12423
- var zT = il;
12423
+ var z9 = il;
12424
12424
  il.default = il;
12425
- let nI = zT;
12425
+ let nI = z9;
12426
12426
  function al(n, e) {
12427
12427
  new nI(e).stringify(n);
12428
12428
  }
12429
12429
  var go = al;
12430
12430
  al.default = al;
12431
- let { isClean: Fa, my: iI } = _a, aI = lc, rI = zT, oI = go;
12431
+ let { isClean: Fa, my: iI } = _a, aI = lc, rI = z9, oI = go;
12432
12432
  function rl(n, e) {
12433
12433
  let t = new n.constructor();
12434
12434
  for (let i in n) {
@@ -12742,9 +12742,9 @@ class ll {
12742
12742
  return typeof e != "object" ? !1 : typeof e.mappings == "string" || typeof e._mappings == "string" || Array.isArray(e.sections);
12743
12743
  }
12744
12744
  }
12745
- var UT = ll;
12745
+ var U9 = ll;
12746
12746
  ll.default = ll;
12747
- let { SourceMapConsumer: bI, SourceMapGenerator: yI } = Mt, { fileURLToPath: mu, pathToFileURL: Na } = Mt, { resolve: cl, isAbsolute: dl } = Mt, { nanoid: vI } = fI, Ro = Mt, gu = lc, _I = UT, Fo = Symbol("fromOffsetCache"), kI = !!(bI && yI), bu = !!(cl && dl);
12747
+ let { SourceMapConsumer: bI, SourceMapGenerator: yI } = Mt, { fileURLToPath: mu, pathToFileURL: Na } = Mt, { resolve: cl, isAbsolute: dl } = Mt, { nanoid: vI } = fI, Ro = Mt, gu = lc, _I = U9, Fo = Symbol("fromOffsetCache"), kI = !!(bI && yI), bu = !!(cl && dl);
12748
12748
  class qr {
12749
12749
  constructor(e, t = {}) {
12750
12750
  if (e === null || typeof e > "u" || typeof e == "object" && !e.toString)
@@ -12870,7 +12870,7 @@ class qr {
12870
12870
  var vo = qr;
12871
12871
  qr.default = qr;
12872
12872
  Ro && Ro.registerInput && Ro.registerInput(qr);
12873
- let { SourceMapConsumer: jT, SourceMapGenerator: dr } = Mt, { dirname: ur, resolve: qT, relative: WT, sep: GT } = Mt, { pathToFileURL: yu } = Mt, xI = vo, CI = !!(jT && dr), wI = !!(ur && qT && WT && GT);
12873
+ let { SourceMapConsumer: j9, SourceMapGenerator: dr } = Mt, { dirname: ur, resolve: q9, relative: W9, sep: G9 } = Mt, { pathToFileURL: yu } = Mt, xI = vo, CI = !!(j9 && dr), wI = !!(ur && q9 && W9 && G9);
12874
12874
  class EI {
12875
12875
  constructor(e, t, i, a) {
12876
12876
  this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = a, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute;
@@ -12931,7 +12931,7 @@ class EI {
12931
12931
  applyPrevMaps() {
12932
12932
  for (let e of this.previous()) {
12933
12933
  let t = this.toUrl(this.path(e.file)), i = e.root || ur(e.file), a;
12934
- this.mapOpts.sourcesContent === !1 ? (a = new jT(e.text), a.sourcesContent && (a.sourcesContent = a.sourcesContent.map(() => null))) : a = e.consumer(), this.map.applySourceMap(a, t, this.toUrl(this.path(i)));
12934
+ this.mapOpts.sourcesContent === !1 ? (a = new j9(e.text), a.sourcesContent && (a.sourcesContent = a.sourcesContent.map(() => null))) : a = e.consumer(), this.map.applySourceMap(a, t, this.toUrl(this.path(i)));
12935
12935
  }
12936
12936
  }
12937
12937
  isAnnotation() {
@@ -12969,10 +12969,10 @@ class EI {
12969
12969
  path(e) {
12970
12970
  if (e.indexOf("<") === 0 || /^\w+:\/\//.test(e) || this.mapOpts.absolute) return e;
12971
12971
  let t = this.opts.to ? ur(this.opts.to) : ".";
12972
- return typeof this.mapOpts.annotation == "string" && (t = ur(qT(t, this.mapOpts.annotation))), e = WT(t, e), e;
12972
+ return typeof this.mapOpts.annotation == "string" && (t = ur(q9(t, this.mapOpts.annotation))), e = W9(t, e), e;
12973
12973
  }
12974
12974
  toUrl(e) {
12975
- return GT === "\\" && (e = e.replace(/\\/g, "/")), encodeURI(e).replace(/[#?]/g, encodeURIComponent);
12975
+ return G9 === "\\" && (e = e.replace(/\\/g, "/")), encodeURI(e).replace(/[#?]/g, encodeURIComponent);
12976
12976
  }
12977
12977
  toFileUrl(e) {
12978
12978
  if (yu)
@@ -13010,7 +13010,7 @@ class EI {
13010
13010
  }
13011
13011
  }
13012
13012
  }
13013
- var YT = EI;
13013
+ var Y9 = EI;
13014
13014
  let TI = bo;
13015
13015
  class ul extends TI {
13016
13016
  constructor(e) {
@@ -13019,14 +13019,14 @@ class ul extends TI {
13019
13019
  }
13020
13020
  var _o = ul;
13021
13021
  ul.default = ul;
13022
- let { isClean: VT, my: KT } = _a, ZT = yo, JT = _o, SI = bo, XT, cc, dc, QT;
13023
- function e9(n) {
13024
- return n.map((e) => (e.nodes && (e.nodes = e9(e.nodes)), delete e.source, e));
13022
+ let { isClean: V9, my: K9 } = _a, Z9 = yo, J9 = _o, SI = bo, X9, cc, dc, Q9;
13023
+ function eT(n) {
13024
+ return n.map((e) => (e.nodes && (e.nodes = eT(e.nodes)), delete e.source, e));
13025
13025
  }
13026
- function t9(n) {
13027
- if (n[VT] = !1, n.proxyOf.nodes)
13026
+ function tT(n) {
13027
+ if (n[V9] = !1, n.proxyOf.nodes)
13028
13028
  for (let e of n.proxyOf.nodes)
13029
- t9(e);
13029
+ tT(e);
13030
13030
  }
13031
13031
  class Lt extends SI {
13032
13032
  push(e) {
@@ -13166,7 +13166,7 @@ class Lt extends SI {
13166
13166
  }
13167
13167
  normalize(e, t) {
13168
13168
  if (typeof e == "string")
13169
- e = e9(XT(e).nodes);
13169
+ e = eT(X9(e).nodes);
13170
13170
  else if (Array.isArray(e)) {
13171
13171
  e = e.slice(0);
13172
13172
  for (let a of e)
@@ -13180,16 +13180,16 @@ class Lt extends SI {
13180
13180
  else if (e.prop) {
13181
13181
  if (typeof e.value > "u")
13182
13182
  throw new Error("Value field is missed in node creation");
13183
- typeof e.value != "string" && (e.value = String(e.value)), e = [new ZT(e)];
13183
+ typeof e.value != "string" && (e.value = String(e.value)), e = [new Z9(e)];
13184
13184
  } else if (e.selector)
13185
13185
  e = [new cc(e)];
13186
13186
  else if (e.name)
13187
13187
  e = [new dc(e)];
13188
13188
  else if (e.text)
13189
- e = [new JT(e)];
13189
+ e = [new J9(e)];
13190
13190
  else
13191
13191
  throw new Error("Unknown node type in node creation");
13192
- return e.map((a) => (a[KT] || Lt.rebuild(a), a = a.proxyOf, a.parent && a.parent.removeChild(a), a[VT] && t9(a), typeof a.raws.before > "u" && t && typeof t.raws.before < "u" && (a.raws.before = t.raws.before.replace(/\S/g, "")), a.parent = this.proxyOf, a));
13192
+ return e.map((a) => (a[K9] || Lt.rebuild(a), a = a.proxyOf, a.parent && a.parent.removeChild(a), a[V9] && tT(a), typeof a.raws.before > "u" && t && typeof t.raws.before < "u" && (a.raws.before = t.raws.before.replace(/\S/g, "")), a.parent = this.proxyOf, a));
13193
13193
  }
13194
13194
  getProxyProcessor() {
13195
13195
  return {
@@ -13212,7 +13212,7 @@ class Lt extends SI {
13212
13212
  }
13213
13213
  }
13214
13214
  Lt.registerParse = (n) => {
13215
- XT = n;
13215
+ X9 = n;
13216
13216
  };
13217
13217
  Lt.registerRule = (n) => {
13218
13218
  cc = n;
@@ -13221,29 +13221,29 @@ Lt.registerAtRule = (n) => {
13221
13221
  dc = n;
13222
13222
  };
13223
13223
  Lt.registerRoot = (n) => {
13224
- QT = n;
13224
+ Q9 = n;
13225
13225
  };
13226
13226
  var Kn = Lt;
13227
13227
  Lt.default = Lt;
13228
13228
  Lt.rebuild = (n) => {
13229
- n.type === "atrule" ? Object.setPrototypeOf(n, dc.prototype) : n.type === "rule" ? Object.setPrototypeOf(n, cc.prototype) : n.type === "decl" ? Object.setPrototypeOf(n, ZT.prototype) : n.type === "comment" ? Object.setPrototypeOf(n, JT.prototype) : n.type === "root" && Object.setPrototypeOf(n, QT.prototype), n[KT] = !0, n.nodes && n.nodes.forEach((e) => {
13229
+ n.type === "atrule" ? Object.setPrototypeOf(n, dc.prototype) : n.type === "rule" ? Object.setPrototypeOf(n, cc.prototype) : n.type === "decl" ? Object.setPrototypeOf(n, Z9.prototype) : n.type === "comment" ? Object.setPrototypeOf(n, J9.prototype) : n.type === "root" && Object.setPrototypeOf(n, Q9.prototype), n[K9] = !0, n.nodes && n.nodes.forEach((e) => {
13230
13230
  Lt.rebuild(e);
13231
13231
  });
13232
13232
  };
13233
- let AI = Kn, n9, i9;
13233
+ let AI = Kn, nT, iT;
13234
13234
  class da extends AI {
13235
13235
  constructor(e) {
13236
13236
  super({ type: "document", ...e }), this.nodes || (this.nodes = []);
13237
13237
  }
13238
13238
  toResult(e = {}) {
13239
- return new n9(new i9(), this, e).stringify();
13239
+ return new nT(new iT(), this, e).stringify();
13240
13240
  }
13241
13241
  }
13242
13242
  da.registerLazyResult = (n) => {
13243
- n9 = n;
13243
+ nT = n;
13244
13244
  };
13245
13245
  da.registerProcessor = (n) => {
13246
- i9 = n;
13246
+ iT = n;
13247
13247
  };
13248
13248
  var uc = da;
13249
13249
  da.default = da;
@@ -13263,9 +13263,9 @@ class fl {
13263
13263
  }).message : this.plugin ? this.plugin + ": " + this.text : this.text;
13264
13264
  }
13265
13265
  }
13266
- var a9 = fl;
13266
+ var aT = fl;
13267
13267
  fl.default = fl;
13268
- let $I = a9;
13268
+ let $I = aT;
13269
13269
  class hl {
13270
13270
  constructor(e, t, i) {
13271
13271
  this.processor = e, this.messages = [], this.root = t, this.opts = i, this.css = void 0, this.map = void 0;
@@ -13393,8 +13393,8 @@ var zI = function(e, t = {}) {
13393
13393
  position: M
13394
13394
  };
13395
13395
  };
13396
- let r9 = Kn;
13397
- class Wr extends r9 {
13396
+ let rT = Kn;
13397
+ class Wr extends rT {
13398
13398
  constructor(e) {
13399
13399
  super(e), this.type = "atrule";
13400
13400
  }
@@ -13407,9 +13407,9 @@ class Wr extends r9 {
13407
13407
  }
13408
13408
  var hc = Wr;
13409
13409
  Wr.default = Wr;
13410
- r9.registerAtRule(Wr);
13411
- let o9 = Kn, s9, l9;
13412
- class xi extends o9 {
13410
+ rT.registerAtRule(Wr);
13411
+ let oT = Kn, sT, lT;
13412
+ class xi extends oT {
13413
13413
  constructor(e) {
13414
13414
  super(e), this.type = "root", this.nodes || (this.nodes = []);
13415
13415
  }
@@ -13429,18 +13429,18 @@ class xi extends o9 {
13429
13429
  return a;
13430
13430
  }
13431
13431
  toResult(e = {}) {
13432
- return new s9(new l9(), this, e).stringify();
13432
+ return new sT(new lT(), this, e).stringify();
13433
13433
  }
13434
13434
  }
13435
13435
  xi.registerLazyResult = (n) => {
13436
- s9 = n;
13436
+ sT = n;
13437
13437
  };
13438
13438
  xi.registerProcessor = (n) => {
13439
- l9 = n;
13439
+ lT = n;
13440
13440
  };
13441
13441
  var ka = xi;
13442
13442
  xi.default = xi;
13443
- o9.registerRoot(xi);
13443
+ oT.registerRoot(xi);
13444
13444
  let ua = {
13445
13445
  split(n, e, t) {
13446
13446
  let i = [], a = "", r = !1, o = 0, s = !1, l = "", d = !1;
@@ -13457,10 +13457,10 @@ let ua = {
13457
13457
  return ua.split(n, [","], !0);
13458
13458
  }
13459
13459
  };
13460
- var c9 = ua;
13460
+ var cT = ua;
13461
13461
  ua.default = ua;
13462
- let d9 = Kn, UI = c9;
13463
- class Gr extends d9 {
13462
+ let dT = Kn, UI = cT;
13463
+ class Gr extends dT {
13464
13464
  constructor(e) {
13465
13465
  super(e), this.type = "rule", this.nodes || (this.nodes = []);
13466
13466
  }
@@ -13474,7 +13474,7 @@ class Gr extends d9 {
13474
13474
  }
13475
13475
  var pc = Gr;
13476
13476
  Gr.default = Gr;
13477
- d9.registerRule(Gr);
13477
+ dT.registerRule(Gr);
13478
13478
  let jI = yo, qI = zI, WI = _o, GI = hc, YI = ka, xu = pc;
13479
13479
  const Cu = {
13480
13480
  empty: !0,
@@ -13796,7 +13796,7 @@ function Yr(n, e) {
13796
13796
  var mc = Yr;
13797
13797
  Yr.default = Yr;
13798
13798
  JI.registerParse(Yr);
13799
- let { isClean: Rt, my: eO } = _a, tO = YT, nO = go, iO = Kn, aO = uc, wu = fc, rO = mc, oO = ka;
13799
+ let { isClean: Rt, my: eO } = _a, tO = Y9, nO = go, iO = Kn, aO = uc, wu = fc, rO = mc, oO = ka;
13800
13800
  const sO = {
13801
13801
  document: "Document",
13802
13802
  root: "Root",
@@ -13829,7 +13829,7 @@ const sO = {
13829
13829
  function Hi(n) {
13830
13830
  return typeof n == "object" && typeof n.then == "function";
13831
13831
  }
13832
- function u9(n) {
13832
+ function uT(n) {
13833
13833
  let e = !1, t = sO[n.type];
13834
13834
  return n.type === "decl" ? e = n.prop.toLowerCase() : n.type === "atrule" && (e = n.name.toLowerCase()), e && n.append ? [
13835
13835
  t,
@@ -13841,7 +13841,7 @@ function u9(n) {
13841
13841
  }
13842
13842
  function Eu(n) {
13843
13843
  let e;
13844
- return n.type === "document" ? e = ["Document", Ci, "DocumentExit"] : n.type === "root" ? e = ["Root", Ci, "RootExit"] : e = u9(n), {
13844
+ return n.type === "document" ? e = ["Document", Ci, "DocumentExit"] : n.type === "root" ? e = ["Root", Ci, "RootExit"] : e = uT(n), {
13845
13845
  node: n,
13846
13846
  events: e,
13847
13847
  eventIndex: 0,
@@ -13950,7 +13950,7 @@ class Dn {
13950
13950
  }
13951
13951
  walkSync(e) {
13952
13952
  e[Rt] = !0;
13953
- let t = u9(e);
13953
+ let t = uT(e);
13954
13954
  for (let i of t)
13955
13955
  if (i === Ci)
13956
13956
  e.nodes && e.each((a) => {
@@ -14116,11 +14116,11 @@ class Dn {
14116
14116
  Dn.registerPostcss = (n) => {
14117
14117
  ml = n;
14118
14118
  };
14119
- var f9 = Dn;
14119
+ var fT = Dn;
14120
14120
  Dn.default = Dn;
14121
14121
  oO.registerLazyResult(Dn);
14122
14122
  aO.registerLazyResult(Dn);
14123
- let dO = YT, uO = go, fO = mc;
14123
+ let dO = Y9, uO = go, fO = mc;
14124
14124
  const hO = fc;
14125
14125
  class gl {
14126
14126
  constructor(e, t, i) {
@@ -14198,7 +14198,7 @@ class gl {
14198
14198
  }
14199
14199
  var pO = gl;
14200
14200
  gl.default = gl;
14201
- let mO = pO, gO = f9, bO = uc, yO = ka;
14201
+ let mO = pO, gO = fT, bO = uc, yO = ka;
14202
14202
  class fa {
14203
14203
  constructor(e = []) {
14204
14204
  this.version = "8.4.21", this.plugins = this.normalize(e);
@@ -14226,7 +14226,7 @@ var vO = fa;
14226
14226
  fa.default = fa;
14227
14227
  yO.registerProcessor(fa);
14228
14228
  bO.registerProcessor(fa);
14229
- let _O = yo, kO = UT, xO = _o, CO = hc, wO = vo, EO = ka, TO = pc;
14229
+ let _O = yo, kO = U9, xO = _o, CO = hc, wO = vo, EO = ka, TO = pc;
14230
14230
  function ha(n, e) {
14231
14231
  if (Array.isArray(n)) return n.map((a) => ha(a));
14232
14232
  let { inputs: t, ...i } = n;
@@ -14258,7 +14258,7 @@ function ha(n, e) {
14258
14258
  }
14259
14259
  var SO = ha;
14260
14260
  ha.default = ha;
14261
- let AO = lc, h9 = yo, $O = f9, PO = Kn, gc = vO, BO = go, DO = SO, p9 = uc, IO = a9, m9 = _o, g9 = hc, OO = fc, LO = vo, MO = mc, RO = c9, b9 = pc, y9 = ka, FO = bo;
14261
+ let AO = lc, hT = yo, $O = fT, PO = Kn, gc = vO, BO = go, DO = SO, pT = uc, IO = aT, mT = _o, gT = hc, OO = fc, LO = vo, MO = mc, RO = cT, bT = pc, yT = ka, FO = bo;
14262
14262
  function ye(...n) {
14263
14263
  return n.length === 1 && Array.isArray(n[0]) && (n = n[0]), new gc(n);
14264
14264
  }
@@ -14288,29 +14288,29 @@ ye.stringify = BO;
14288
14288
  ye.parse = MO;
14289
14289
  ye.fromJSON = DO;
14290
14290
  ye.list = RO;
14291
- ye.comment = (n) => new m9(n);
14292
- ye.atRule = (n) => new g9(n);
14293
- ye.decl = (n) => new h9(n);
14294
- ye.rule = (n) => new b9(n);
14295
- ye.root = (n) => new y9(n);
14296
- ye.document = (n) => new p9(n);
14291
+ ye.comment = (n) => new mT(n);
14292
+ ye.atRule = (n) => new gT(n);
14293
+ ye.decl = (n) => new hT(n);
14294
+ ye.rule = (n) => new bT(n);
14295
+ ye.root = (n) => new yT(n);
14296
+ ye.document = (n) => new pT(n);
14297
14297
  ye.CssSyntaxError = AO;
14298
- ye.Declaration = h9;
14298
+ ye.Declaration = hT;
14299
14299
  ye.Container = PO;
14300
14300
  ye.Processor = gc;
14301
- ye.Document = p9;
14302
- ye.Comment = m9;
14301
+ ye.Document = pT;
14302
+ ye.Comment = mT;
14303
14303
  ye.Warning = IO;
14304
- ye.AtRule = g9;
14304
+ ye.AtRule = gT;
14305
14305
  ye.Result = OO;
14306
14306
  ye.Input = LO;
14307
- ye.Rule = b9;
14308
- ye.Root = y9;
14307
+ ye.Rule = bT;
14308
+ ye.Root = yT;
14309
14309
  ye.Node = FO;
14310
14310
  $O.registerPostcss(ye);
14311
14311
  var NO = ye;
14312
14312
  ye.default = ye;
14313
- const HO = OD, Tu = LD, { isPlainObject: zO } = FD, Su = XD, UO = NT.exports, { parse: jO } = NO, qO = [
14313
+ const HO = OD, Tu = LD, { isPlainObject: zO } = FD, Su = XD, UO = N9.exports, { parse: jO } = NO, qO = [
14314
14314
  "img",
14315
14315
  "audio",
14316
14316
  "video",
@@ -14982,7 +14982,7 @@ pa.simpleTransform = function(n, e, t) {
14982
14982
  };
14983
14983
  };
14984
14984
  const JO = VO;
14985
- var v9 = { exports: {} };
14985
+ var vT = { exports: {} };
14986
14986
  (function(n, e) {
14987
14987
  (function(t, i) {
14988
14988
  n.exports = i();
@@ -15055,9 +15055,9 @@ var v9 = { exports: {} };
15055
15055
  };
15056
15056
  };
15057
15057
  });
15058
- })(v9);
15059
- const XO = v9.exports;
15060
- var _9 = { exports: {} };
15058
+ })(vT);
15059
+ const XO = vT.exports;
15060
+ var _T = { exports: {} };
15061
15061
  (function(n, e) {
15062
15062
  (function(t, i) {
15063
15063
  n.exports = i();
@@ -15116,8 +15116,8 @@ var _9 = { exports: {} };
15116
15116
  };
15117
15117
  };
15118
15118
  });
15119
- })(_9);
15120
- const QO = _9.exports;
15119
+ })(_T);
15120
+ const QO = _T.exports;
15121
15121
  Ut.extend(XO);
15122
15122
  Ut.extend(QO);
15123
15123
  const eL = {
@@ -15176,7 +15176,7 @@ function oi(n) {
15176
15176
  const e = Math.floor(n / 60), t = n % 60;
15177
15177
  return `${e}:${t < 10 ? "0" : ""}${t}`;
15178
15178
  }
15179
- function k9() {
15179
+ function kT() {
15180
15180
  const n = navigator.userAgent, e = /Chrome/.test(n) && /Google Inc/.test(navigator.vendor), t = /Safari/.test(n) && /Apple Computer/.test(navigator.vendor), i = /Firefox/.test(n), a = /Trident/.test(n), r = /Edge/.test(n);
15181
15181
  return e && /Edg/.test(n) ? "Edge (Chromium)" : e ? "Chrome" : t ? "Safari" : i ? "Firefox" : a ? "Internet Explorer" : r ? "Edge (Legacy)" : "Unknown";
15182
15182
  }
@@ -15190,7 +15190,7 @@ function tL(n, e) {
15190
15190
  t[i] && (n = n.replace(`{${i}}`, t[i]));
15191
15191
  }), n;
15192
15192
  }
15193
- function x9(n) {
15193
+ function xT(n) {
15194
15194
  if (n.keyCode < 48 || n.keyCode > 90 && n.keyCode < 96 || n.keyCode > 111 && n.keyCode < 186 || n.keyCode > 222 || n.keyCode === 32 || n.keyCode === 91 || n.keyCode === 92 || n.keyCode === 93 || n.keyCode >= 112 && n.keyCode <= 123 || n.keyCode >= 37 && n.keyCode <= 40 || n.ctrlKey || n.altKey || n.metaKey)
15195
15195
  return !0;
15196
15196
  const e = [
@@ -16322,7 +16322,7 @@ function BL() {
16322
16322
  }
16323
16323
  });
16324
16324
  }
16325
- const DL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', IL = DL, OL = z(class extends U {
16325
+ const DL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;width:100%}.checkbox-container{display:flex;flex-direction:column;gap:0.5rem}.checkbox-container p.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family);margin:0}label{display:flex;align-items:center;font-family:var(--nylas-font-family);cursor:pointer;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.readonly{cursor:not-allowed}label span.required{color:var(--nylas-error);padding:0 0.25rem}label input[type=checkbox]{position:absolute;opacity:0;cursor:pointer;border:1px solid var(--nylas-base-300)}label input[type=checkbox]:focus~.checkmark,label input[type=checkbox]:hover~.checkmark{border-color:var(--nylas-primary)}label input[type=checkbox]:checked~.checkmark{color:var(--nylas-base-0);background:var(--nylas-primary) url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnIHdpZHRoPSIxMiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTIgOSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPHBhdGggZD0iTTQuNTc1IDguOTc3cy0uNDA0LS4wMDctLjUzNi0uMTY1TC4wNTcgNS42NGwuODI5LTEuMjI3TDQuNDcgNy4yNjggMTAuOTIxLjA4NmwuOTIzIDEuMTAzLTYuODYzIDcuNjRjLS4xMzQtLjAwMy0uNDA2LjE0OC0uNDA2LjE0OHoiIGZpbGw9IiNGRkYiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPg0KPC9zdmc+) 50% 40% no-repeat;border:2px solid var(--nylas-primary)}label input[type=checkbox]:disabled{cursor:not-allowed;background:var(--nylas-base-100);border:1px solid var(--nylas-base-300)}label .checkmark{border-radius:var(--nylas-border-radius);border:2px solid var(--nylas-base-800);position:absolute;left:0;top:2px;width:18px;height:18px;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label .label{margin-left:32px;font-size:16px;font-weight:400;color:var(--nylas-base-800);line-height:24px}', IL = DL, OL = z(class extends U {
16326
16326
  constructor() {
16327
16327
  super(), this.__registerHost(), this.__attachShadow(), this.nylasFormCheckboxToggled = K(this, "nylasFormCheckboxToggled", 7), this.componentType = "checkbox", this.name = "checkbox", this.checked = void 0, this.label = "", this.readOnly = !1, this.required = !1, this.isChecked = void 0, this.error = "";
16328
16328
  }
@@ -16336,11 +16336,7 @@ const DL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
16336
16336
  this.isChecked = this.checked || !1;
16337
16337
  }
16338
16338
  handleBookingFormSubmitted(e) {
16339
- if (this.required && !this.isChecked) {
16340
- this.error = `${this.label} is required.`;
16341
- return;
16342
- }
16343
- this.error && e.preventDefault();
16339
+ this.required && !this.isChecked && (this.error = `${this.label} is required.`), this.error && e.preventDefault();
16344
16340
  }
16345
16341
  toggleCheck() {
16346
16342
  this.error = "", this.isChecked = !this.isChecked, this.nylasFormCheckboxToggled.emit({
@@ -16350,7 +16346,7 @@ const DL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
16350
16346
  });
16351
16347
  }
16352
16348
  render() {
16353
- return c("div", { key: "436d313659a2d88e1373028efa14ec4422fdeb53", class: "checkbox-container" }, c("label", { key: "9cf84f5a1fa7a35257681afc1bd2a215ebe36aad", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, c("input", { key: "600422d052cd28de6f053fac93c9a753f32637c1", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), c("span", { key: "a3130e18c64555c54cd73695d2392148ef8c49f6", class: "checkmark" }), c("slot", { key: "808de6e68a5c5887ba0ca3b5a997aae2aed035a2", name: "label" }, c("span", { key: "4cb5b6c8d3548976ba9e1e5a5269aad3773e642f", class: "label" }, this.label))), this.error && c("p", { class: "error" }, this.error));
16349
+ return c("div", { key: "595e161a792173db6af97d3d7ef13cdca534052a", class: "checkbox-container" }, c("label", { key: "625bd67ceec40d979d5f4f74ec576569866ff6ec", title: this.readOnly ? "read-only field" : void 0, class: { readonly: this.readOnly } }, c("input", { key: "dc099ed0899a91fe30b67bb0f2981b8bd5254bbb", type: "checkbox", disabled: this.readOnly, readOnly: this.readOnly, name: this.name, title: this.readOnly ? "read-only field" : void 0, checked: this.isChecked, onChange: () => this.toggleCheck() }), c("span", { key: "032c931e0b256a9e948551c9d938e14339f4c45e", class: "checkmark" }), c("slot", { key: "d932f4a7c5aa7e680827beff46f1ff86ce50b1d9", name: "label" }, c("span", { key: "b5ce4490b7be93f936d3061145dcbe4489dd74c9", class: "label" }, this.label, this.required && c("span", { class: "required" }, "*")))), this.error && c("p", { class: "error" }, this.error));
16354
16350
  }
16355
16351
  get el() {
16356
16352
  return this;
@@ -16374,7 +16370,7 @@ const DL = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
16374
16370
  }, [[4, "bookingFormSubmitted", "handleBookingFormSubmitted"]], {
16375
16371
  checked: ["checkedPropChangedHandler"]
16376
16372
  }]);
16377
- function C9() {
16373
+ function CT() {
16378
16374
  if (typeof customElements > "u")
16379
16375
  return;
16380
16376
  ["checkbox-component"].forEach((e) => {
@@ -16399,7 +16395,7 @@ const LL = ".sc-checkmark-icon-h{display:flex}", ML = LL, RL = z(class extends U
16399
16395
  width: [1],
16400
16396
  height: [1]
16401
16397
  }]);
16402
- function w9() {
16398
+ function wT() {
16403
16399
  if (typeof customElements > "u")
16404
16400
  return;
16405
16401
  ["checkmark-icon"].forEach((e) => {
@@ -16499,7 +16495,7 @@ const YL = ".sc-copy-icon-h{display:flex}", VL = YL, KL = z(class extends U {
16499
16495
  width: [1],
16500
16496
  height: [1]
16501
16497
  }]);
16502
- function E9() {
16498
+ function ET() {
16503
16499
  if (typeof customElements > "u")
16504
16500
  return;
16505
16501
  ["copy-icon"].forEach((e) => {
@@ -16524,7 +16520,7 @@ const ZL = ".sc-dragable-icon-h{display:flex}", JL = ZL, XL = z(class extends U
16524
16520
  width: [1],
16525
16521
  height: [1]
16526
16522
  }]);
16527
- function T9() {
16523
+ function TT() {
16528
16524
  if (typeof customElements > "u")
16529
16525
  return;
16530
16526
  ["dragable-icon"].forEach((e) => {
@@ -16724,7 +16720,7 @@ const EM = ".sc-google-meet-icon-h{display:flex}", TM = EM, SM = z(class extends
16724
16720
  width: [1],
16725
16721
  height: [1]
16726
16722
  }]);
16727
- function S9() {
16723
+ function ST() {
16728
16724
  if (typeof customElements > "u")
16729
16725
  return;
16730
16726
  ["google-meet-icon"].forEach((e) => {
@@ -17023,7 +17019,7 @@ var zM = function(n, e, t, i) {
17023
17019
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
17024
17020
  return Reflect.metadata(n, e);
17025
17021
  };
17026
- const A9 = z(class extends U {
17022
+ const AT = z(class extends U {
17027
17023
  constructor() {
17028
17024
  super(), this.__registerHost(), this.__attachShadow(), this.nylasFormInputImageUrlInvalid = K(this, "nylasFormInputImageUrlInvalid", 7), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.componentType = "image-url", this.imageUrl = "", this.errorMessage = "", this.name = "input-image-url", this.currentImageUrl = this.imageUrl;
17029
17025
  }
@@ -17107,14 +17103,14 @@ zM([
17107
17103
  jo("design:type", Function),
17108
17104
  jo("design:paramtypes", []),
17109
17105
  jo("design:returntype", void 0)
17110
- ], A9.prototype, "render", null);
17111
- function $9() {
17106
+ ], AT.prototype, "render", null);
17107
+ function $T() {
17112
17108
  if (typeof customElements > "u")
17113
17109
  return;
17114
17110
  ["input-image-url", "input-component"].forEach((e) => {
17115
17111
  switch (e) {
17116
17112
  case "input-image-url":
17117
- customElements.get(e) || customElements.define(e, A9);
17113
+ customElements.get(e) || customElements.define(e, AT);
17118
17114
  break;
17119
17115
  case "input-component":
17120
17116
  customElements.get(e) || Jt();
@@ -17136,7 +17132,7 @@ const UM = ".sc-location-icon-h{display:flex}", jM = UM, qM = z(class extends U
17136
17132
  width: [1],
17137
17133
  height: [1]
17138
17134
  }]);
17139
- function P9() {
17135
+ function PT() {
17140
17136
  if (typeof customElements > "u")
17141
17137
  return;
17142
17138
  ["location-icon"].forEach((e) => {
@@ -17161,7 +17157,7 @@ const WM = ".sc-location-off-icon-h{display:flex}", GM = WM, YM = z(class extend
17161
17157
  width: [1],
17162
17158
  height: [1]
17163
17159
  }]);
17164
- function B9() {
17160
+ function BT() {
17165
17161
  if (typeof customElements > "u")
17166
17162
  return;
17167
17163
  ["location-off-icon"].forEach((e) => {
@@ -17186,7 +17182,7 @@ const VM = ".sc-microsoft-teams-icon-h{display:flex}", KM = VM, ZM = z(class ext
17186
17182
  width: [1],
17187
17183
  height: [1]
17188
17184
  }]);
17189
- function D9() {
17185
+ function DT() {
17190
17186
  if (typeof customElements > "u")
17191
17187
  return;
17192
17188
  ["microsoft-teams-icon"].forEach((e) => {
@@ -17352,7 +17348,7 @@ var nR = function(n, e, t, i) {
17352
17348
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
17353
17349
  return Reflect.metadata(n, e);
17354
17350
  };
17355
- const I9 = z(class extends U {
17351
+ const IT = z(class extends U {
17356
17352
  constructor() {
17357
17353
  super(), this.__registerHost(), this.__attachShadow(), this.internals = this.attachInternals();
17358
17354
  }
@@ -17390,14 +17386,14 @@ nR([
17390
17386
  qo("design:type", Function),
17391
17387
  qo("design:paramtypes", []),
17392
17388
  qo("design:returntype", void 0)
17393
- ], I9.prototype, "render", null);
17389
+ ], IT.prototype, "render", null);
17394
17390
  function wa() {
17395
17391
  if (typeof customElements > "u")
17396
17392
  return;
17397
17393
  ["nylas-form-card"].forEach((e) => {
17398
17394
  switch (e) {
17399
17395
  case "nylas-form-card":
17400
- customElements.get(e) || customElements.define(e, I9);
17396
+ customElements.get(e) || customElements.define(e, IT);
17401
17397
  break;
17402
17398
  }
17403
17399
  });
@@ -17448,7 +17444,7 @@ var lR = function(n, e, t, i) {
17448
17444
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
17449
17445
  return Reflect.metadata(n, e);
17450
17446
  };
17451
- const O9 = z(class extends U {
17447
+ const OT = z(class extends U {
17452
17448
  constructor() {
17453
17449
  super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.name = "participants", this.selectedConfiguration = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.participantOptions = void 0, this.eventParticipants = void 0, this.selectedLanguage = void 0, this.participants = this.eventParticipants ?? [], this.participantErrors = {}, this.includeOrganizerAsParticipant = !0, this.isRoundRobinConfig = !1, this.error = "";
17454
17450
  }
@@ -17595,14 +17591,14 @@ lR([
17595
17591
  Wo("design:type", Function),
17596
17592
  Wo("design:paramtypes", []),
17597
17593
  Wo("design:returntype", void 0)
17598
- ], O9.prototype, "render", null);
17594
+ ], OT.prototype, "render", null);
17599
17595
  function cR() {
17600
17596
  if (typeof customElements > "u")
17601
17597
  return;
17602
17598
  ["nylas-additional-participants", "add-circle-icon", "close-icon", "info-icon", "input-component", "input-dropdown", "nylas-form-card", "tooltip-component"].forEach((e) => {
17603
17599
  switch (e) {
17604
17600
  case "nylas-additional-participants":
17605
- customElements.get(e) || customElements.define(e, O9);
17601
+ customElements.get(e) || customElements.define(e, OT);
17606
17602
  break;
17607
17603
  case "add-circle-icon":
17608
17604
  customElements.get(e) || xa();
@@ -17628,7 +17624,7 @@ function cR() {
17628
17624
  }
17629
17625
  });
17630
17626
  }
17631
- var L9 = { exports: {} };
17627
+ var LT = { exports: {} };
17632
17628
  (function(n, e) {
17633
17629
  (function(t, i) {
17634
17630
  n.exports = i();
@@ -17746,8 +17742,8 @@ var L9 = { exports: {} };
17746
17742
  };
17747
17743
  };
17748
17744
  });
17749
- })(L9);
17750
- const dR = L9.exports, uR = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}', fR = uR;
17745
+ })(LT);
17746
+ const dR = LT.exports, uR = ':host{display:block;position:relative;--nylas-primary:#2563eb;--nylas-error:#cc4841;--nylas-error-pressed:#992222;--nylas-wraning:#f06c00;--nylas-success:#16a392;--nylas-info:#2b8fc2;--nylas-base-0:#ffffff;--nylas-base-25:#fcfcfd;--nylas-base-50:#f8f9fc;--nylas-base-100:#eaecf5;--nylas-base-200:#d5d9eb;--nylas-base-300:#b3b8d8;--nylas-base-400:#717bbc;--nylas-base-500:#4e5ba6;--nylas-base-600:#3e4784;--nylas-base-700:#263f72;--nylas-base-800:#293056;--nylas-base-900:#101323;--nylas-base-950:#0e101b;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif}.time-picker{display:inline-block;width:150px;font-family:var(--nylas-font-family);position:relative}@media screen and (max-width: 768px){.time-picker{width:auto}}.time-picker input{width:150px;height:48px;text-align:center;font-size:16px;font-family:inherit;cursor:pointer;background:transparent;border:1px solid var(--nylas-base-200);border-radius:var(--nylas-border-radius-2x)}@media screen and (max-width: 768px){.time-picker input{width:88px}}@media screen and (max-width: 504px){.time-picker input{width:68px;font-size:15px}}.time-picker input.focus{background:transparent}.time-picker input:hover,.time-picker input:active{border:1px solid var(--nylas-primary)}.time-picker input:active{outline:2px solid var(--nylas-primary)}.time-picker input span.open{transform:rotate(90deg)}.time-picker input span.closed{transform:rotate(270deg)}.time-picker input.error{border:1px solid var(--nylas-error)}.time-picker p.error{color:var(--nylas-error);font-size:0.875rem;margin:0}.times{display:block;margin-top:0.5rem;background-color:var(--nylas-base-0);width:100%;max-height:336px;overflow:auto;border:1px solid #ddd;z-index:1;border-radius:4px;position:absolute;box-shadow:0px 4px 6px -2px rgba(0, 0, 0, 0.0509803922);box-shadow:0px 10px 15px -3px rgba(0, 0, 0, 0.1019607843)}.times ul{padding:0;list-style-type:none;color:var(--nylas-base-900);max-height:336px}.times ul li{padding:16px, 12px, 16px, 12px;color:var(--nylas-base-900);padding:12px 16px;text-decoration:none;display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:20px;letter-spacing:0px;text-align:center;cursor:pointer}.times ul li.focused{background-color:var(--nylas-base-100)}.times ul li:hover,.times ul li:focus{background-color:var(--nylas-base-100)}.times ul li label{display:flex;align-items:center;gap:0.5rem}.times ul li label input{margin:0}', fR = uR;
17751
17747
  Ut.extend(dR);
17752
17748
  const hR = z(class extends U {
17753
17749
  constructor() {
@@ -18150,7 +18146,7 @@ var xR = function(n, e, t, i) {
18150
18146
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
18151
18147
  return Reflect.metadata(n, e);
18152
18148
  };
18153
- const M9 = z(class extends U {
18149
+ const MT = z(class extends U {
18154
18150
  constructor() {
18155
18151
  super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.name = "availability", this.selectedConfiguration = void 0, this.openHours = void 0, this.defaultTimezone = Intl.DateTimeFormat().resolvedOptions().timeZone, this.hideHeader = !1, this.selectedLanguage = void 0, this.schedule = {
18156
18152
  SUN: [],
@@ -18402,14 +18398,14 @@ xR([
18402
18398
  Go("design:type", Function),
18403
18399
  Go("design:paramtypes", []),
18404
18400
  Go("design:returntype", void 0)
18405
- ], M9.prototype, "render", null);
18406
- function R9() {
18401
+ ], MT.prototype, "render", null);
18402
+ function RT() {
18407
18403
  if (typeof customElements > "u")
18408
18404
  return;
18409
18405
  ["nylas-availability-picker", "add-circle-icon", "chevron-icon", "close-icon", "globe-icon", "info-icon", "nylas-time-window-picker", "search-icon", "select-dropdown", "tooltip-component"].forEach((e) => {
18410
18406
  switch (e) {
18411
18407
  case "nylas-availability-picker":
18412
- customElements.get(e) || customElements.define(e, M9);
18408
+ customElements.get(e) || customElements.define(e, MT);
18413
18409
  break;
18414
18410
  case "add-circle-icon":
18415
18411
  customElements.get(e) || xa();
@@ -18454,7 +18450,7 @@ var ER = function(n, e, t, i) {
18454
18450
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
18455
18451
  return Reflect.metadata(n, e);
18456
18452
  };
18457
- const F9 = z(class extends U {
18453
+ const FT = z(class extends U {
18458
18454
  constructor() {
18459
18455
  super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.calendars = void 0, this.currentUser = void 0, this.currentUserCalendars = void 0, this.name = "booking-calendar", this.defaultBookingCalendar = "", this.hideHeader = !1, this.expressFlow = !1, this.selectedLanguage = void 0, this.selectedCalendar = "";
18460
18456
  }
@@ -18566,14 +18562,14 @@ ER([
18566
18562
  Yo("design:type", Function),
18567
18563
  Yo("design:paramtypes", []),
18568
18564
  Yo("design:returntype", void 0)
18569
- ], F9.prototype, "render", null);
18570
- function N9() {
18565
+ ], FT.prototype, "render", null);
18566
+ function NT() {
18571
18567
  if (typeof customElements > "u")
18572
18568
  return;
18573
18569
  ["nylas-booking-calendar-picker", "chevron-icon", "info-icon", "search-icon", "select-dropdown", "tooltip-component"].forEach((e) => {
18574
18570
  switch (e) {
18575
18571
  case "nylas-booking-calendar-picker":
18576
- customElements.get(e) || customElements.define(e, F9);
18572
+ customElements.get(e) || customElements.define(e, FT);
18577
18573
  break;
18578
18574
  case "chevron-icon":
18579
18575
  customElements.get(e) || Ae();
@@ -18606,7 +18602,7 @@ var AR = function(n, e, t, i) {
18606
18602
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
18607
18603
  return Reflect.metadata(n, e);
18608
18604
  };
18609
- const H9 = z(class extends U {
18605
+ const HT = z(class extends U {
18610
18606
  constructor() {
18611
18607
  super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.selectedConfiguration = void 0, this.name = "confirmation-redirect", this.redirectUrl = "", this.redirectUrlErrorMessage = "", this.selectedLanguage = void 0, this.currentRedirectUrl = "", this.acceptUrl = void 0, this.componentLoaded = !1;
18612
18608
  }
@@ -18728,14 +18724,14 @@ AR([
18728
18724
  Vo("design:type", Function),
18729
18725
  Vo("design:paramtypes", []),
18730
18726
  Vo("design:returntype", void 0)
18731
- ], H9.prototype, "render", null);
18727
+ ], HT.prototype, "render", null);
18732
18728
  function $R() {
18733
18729
  if (typeof customElements > "u")
18734
18730
  return;
18735
18731
  ["nylas-booking-confirmation-redirect", "chevron-icon", "info-icon", "input-component", "search-icon", "select-dropdown", "tooltip-component"].forEach((e) => {
18736
18732
  switch (e) {
18737
18733
  case "nylas-booking-confirmation-redirect":
18738
- customElements.get(e) || customElements.define(e, H9);
18734
+ customElements.get(e) || customElements.define(e, HT);
18739
18735
  break;
18740
18736
  case "chevron-icon":
18741
18737
  customElements.get(e) || Ae();
@@ -18771,7 +18767,7 @@ var DR = function(n, e, t, i) {
18771
18767
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function")
18772
18768
  return Reflect.metadata(n, e);
18773
18769
  };
18774
- const z9 = z(class extends U {
18770
+ const zT = z(class extends U {
18775
18771
  constructor() {
18776
18772
  var e, t;
18777
18773
  super(), this.__registerHost(), this.__attachShadow(), this.valueChanged = K(this, "valueChanged", 7), this.internals = this.attachInternals(), this.selectedConfiguration = void 0, this.name = "confirmation-type", this.bookingType = "booking", this.showComponent = ((t = (e = this.selectedConfiguration) == null ? void 0 : e.event_booking) == null ? void 0 : t.booking_type) !== "custom-confirmation", this.selectedLanguage = void 0, this.selectedBookingType = void 0, this.showDropdown = void 0;
@@ -18878,14 +18874,14 @@ DR([
18878
18874
  Ko("design:type", Function),
18879
18875
  Ko("design:paramtypes", []),
18880
18876
  Ko("design:returntype", void 0)
18881
- ], z9.prototype, "render", null);
18877
+ ], zT.prototype, "render", null);
18882
18878
  function IR() {
18883
18879
  if (typeof customElements > "u")
18884
18880
  return;
18885
18881
  ["nylas-booking-confirmation-type", "chevron-icon", "info-icon", "search-icon", "select-dropdown", "tooltip-component"].forEach((e) => {
18886
18882
  switch (e) {
18887
18883
  case "nylas-booking-confirmation-type":
18888
- customElements.get(e) || customElements.define(e, z9);
18884
+ customElements.get(e) || customElements.define(e, zT);
18889
18885
  break;
18890
18886
  case "chevron-icon":
18891
18887
  customElements.get(e) || Ae();
@@ -18989,7 +18985,7 @@ const OR = ':host{display:block;height:auto;--nylas-primary:#2563eb;--nylas-erro
18989
18985
  }, [[4, "bookingFormSubmitted", "handleBookingFormSubmitted"], [4, "formSubmitted", "handleFormSubmitted"]], {
18990
18986
  defaultValue: ["handleDefaultValueChange"]
18991
18987
  }]);
18992
- function U9() {
18988
+ function UT() {
18993
18989
  if (typeof customElements > "u")
18994
18990
  return;
18995
18991
  ["nylas-date-component"].forEach((e) => {
@@ -19100,15 +19096,15 @@ function ln(n) {
19100
19096
  if (typeof window < "u" && window.navigator)
19101
19097
  return !!/* @__PURE__ */ navigator.userAgent.match(n);
19102
19098
  }
19103
- var gn = ln(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ea = ln(/Edge/i), Ru = ln(/firefox/i), Qi = ln(/safari/i) && !ln(/chrome/i) && !ln(/android/i), j9 = ln(/iP(ad|od|hone)/i), q9 = ln(/chrome/i) && ln(/android/i), W9 = {
19099
+ var gn = ln(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Ea = ln(/Edge/i), Ru = ln(/firefox/i), Qi = ln(/safari/i) && !ln(/chrome/i) && !ln(/android/i), jT = ln(/iP(ad|od|hone)/i), qT = ln(/chrome/i) && ln(/android/i), WT = {
19104
19100
  capture: !1,
19105
19101
  passive: !1
19106
19102
  };
19107
19103
  function me(n, e, t) {
19108
- n.addEventListener(e, t, !gn && W9);
19104
+ n.addEventListener(e, t, !gn && WT);
19109
19105
  }
19110
19106
  function de(n, e, t) {
19111
- n.removeEventListener(e, t, !gn && W9);
19107
+ n.removeEventListener(e, t, !gn && WT);
19112
19108
  }
19113
19109
  function Zr(n, e) {
19114
19110
  if (e) {
@@ -19170,7 +19166,7 @@ function gi(n, e) {
19170
19166
  var a = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
19171
19167
  return a && new a(t);
19172
19168
  }
19173
- function G9(n, e, t) {
19169
+ function GT(n, e, t) {
19174
19170
  if (n) {
19175
19171
  var i = n.getElementsByTagName(e), a = 0, r = i.length;
19176
19172
  if (t)
@@ -19284,7 +19280,7 @@ function Zo(n, e) {
19284
19280
  return Math.round(n.top) === Math.round(e.top) && Math.round(n.left) === Math.round(e.left) && Math.round(n.height) === Math.round(e.height) && Math.round(n.width) === Math.round(e.width);
19285
19281
  }
19286
19282
  var ea;
19287
- function Y9(n, e) {
19283
+ function YT(n, e) {
19288
19284
  return function() {
19289
19285
  if (!ea) {
19290
19286
  var t = arguments, i = this;
@@ -19297,14 +19293,14 @@ function Y9(n, e) {
19297
19293
  function VR() {
19298
19294
  clearTimeout(ea), ea = void 0;
19299
19295
  }
19300
- function V9(n, e, t) {
19296
+ function VT(n, e, t) {
19301
19297
  n.scrollLeft += e, n.scrollTop += t;
19302
19298
  }
19303
- function K9(n) {
19299
+ function KT(n) {
19304
19300
  var e = window.Polymer, t = window.jQuery || window.Zepto;
19305
19301
  return e && e.dom ? e.dom(n).cloneNode(!0) : t ? t(n).clone(!0)[0] : n.cloneNode(!0);
19306
19302
  }
19307
- function Z9(n, e, t) {
19303
+ function ZT(n, e, t) {
19308
19304
  var i = {};
19309
19305
  return Array.from(n.children).forEach(function(a) {
19310
19306
  var r, o, s, l;
@@ -19493,14 +19489,14 @@ function it(n) {
19493
19489
  newDraggableIndex: vn
19494
19490
  }, n));
19495
19491
  }
19496
- var N, Ne, ne, Ie, Rn, pr, Me, Cn, pi, ht, ta, vn, Va, Ze, fi = !1, Jr = !1, Xr = [], On, Pt, Xo, Qo, zu, Uu, Wi, li, na, ia = !1, Ka = !1, mr, Je, es = [], bl = !1, Qr = [], xo = typeof document < "u", Za = j9, ju = Ea || gn ? "cssFloat" : "float", eF = xo && !q9 && !j9 && "draggable" in document.createElement("div"), J9 = function() {
19492
+ var N, Ne, ne, Ie, Rn, pr, Me, Cn, pi, ht, ta, vn, Va, Ze, fi = !1, Jr = !1, Xr = [], On, Pt, Xo, Qo, zu, Uu, Wi, li, na, ia = !1, Ka = !1, mr, Je, es = [], bl = !1, Qr = [], xo = typeof document < "u", Za = jT, ju = Ea || gn ? "cssFloat" : "float", eF = xo && !qT && !jT && "draggable" in document.createElement("div"), JT = function() {
19497
19493
  if (xo) {
19498
19494
  if (gn)
19499
19495
  return !1;
19500
19496
  var n = document.createElement("x");
19501
19497
  return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
19502
19498
  }
19503
- }(), X9 = function(e, t) {
19499
+ }(), XT = function(e, t) {
19504
19500
  var i = X(e), a = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), r = wi(e, 0, t), o = wi(e, 1, t), s = r && X(r), l = o && X(o), d = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Ue(r).width, f = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + Ue(o).width;
19505
19501
  if (i.display === "flex")
19506
19502
  return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -19524,7 +19520,7 @@ var N, Ne, ne, Ie, Rn, pr, Me, Cn, pi, ht, ta, vn, Va, Ze, fi = !1, Jr = !1, Xr
19524
19520
  return i = a;
19525
19521
  }
19526
19522
  }), i;
19527
- }, Q9 = function(e) {
19523
+ }, QT = function(e) {
19528
19524
  function t(r, o) {
19529
19525
  return function(s, l, d, f) {
19530
19526
  var u = s.options.group.name && l.options.group.name && s.options.group.name === l.options.group.name;
@@ -19545,11 +19541,11 @@ var N, Ne, ne, Ie, Rn, pr, Me, Cn, pi, ht, ta, vn, Va, Ze, fi = !1, Jr = !1, Xr
19545
19541
  name: a
19546
19542
  }), i.name = a.name, i.checkPull = t(a.pull, !0), i.checkPut = t(a.put), i.revertClone = a.revertClone, e.group = i;
19547
19543
  }, eS = function() {
19548
- !J9 && ne && X(ne, "display", "none");
19544
+ !JT && ne && X(ne, "display", "none");
19549
19545
  }, tS = function() {
19550
- !J9 && ne && X(ne, "display", "");
19546
+ !JT && ne && X(ne, "display", "");
19551
19547
  };
19552
- xo && !q9 && document.addEventListener("click", function(n) {
19548
+ xo && !qT && document.addEventListener("click", function(n) {
19553
19549
  if (Jr)
19554
19550
  return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), Jr = !1, !1;
19555
19551
  }, !0);
@@ -19586,7 +19582,7 @@ function Q(n, e) {
19586
19582
  // will be set to same as swapThreshold if default
19587
19583
  removeCloneOnHide: !0,
19588
19584
  direction: function() {
19589
- return X9(n, this.options);
19585
+ return XT(n, this.options);
19590
19586
  },
19591
19587
  ghostClass: "sortable-ghost",
19592
19588
  chosenClass: "sortable-chosen",
@@ -19619,7 +19615,7 @@ function Q(n, e) {
19619
19615
  Ta.initializePlugins(this, n, t);
19620
19616
  for (var i in t)
19621
19617
  !(i in e) && (e[i] = t[i]);
19622
- Q9(e);
19618
+ QT(e);
19623
19619
  for (var a in this)
19624
19620
  a.charAt(0) === "_" && typeof this[a] == "function" && (this[a] = this[a].bind(this));
19625
19621
  this.nativeDraggable = e.forceFallback ? !1 : eF, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? me(n, "pointerdown", this._onTapStart) : (me(n, "mousedown", this._onTapStart), me(n, "touchstart", this._onTapStart)), this.nativeDraggable && (me(n, "dragover", this), me(n, "dragenter", this)), Xr.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), un(this, KR());
@@ -19692,7 +19688,7 @@ Q.prototype = /** @lends Sortable.prototype */
19692
19688
  originalEvent: e
19693
19689
  }), ft(N, o.chosenClass, !0);
19694
19690
  }, o.ignore.split(",").forEach(function(f) {
19695
- G9(N, f.trim(), ts);
19691
+ GT(N, f.trim(), ts);
19696
19692
  }), me(s, "dragover", Ln), me(s, "mousemove", Ln), me(s, "touchmove", Ln), me(s, "mouseup", a._onDrop), me(s, "touchend", a._onDrop), me(s, "touchcancel", a._onDrop), Ru && this.nativeDraggable && (this.options.touchStartThreshold = 4, N.draggable = !0), ot("delayStart", this, {
19697
19693
  evt: e
19698
19694
  }), o.delay && (!o.delayOnTouchOnly || t) && (!this.nativeDraggable || !(Ea || gn))) {
@@ -19803,7 +19799,7 @@ Q.prototype = /** @lends Sortable.prototype */
19803
19799
  this._onDrop();
19804
19800
  return;
19805
19801
  }
19806
- ot("setupClone", this), Q.eventCanceled || (Me = K9(N), Me.removeAttribute("id"), Me.draggable = !1, Me.style["will-change"] = "", this._hideClone(), ft(Me, this.options.chosenClass, !1), Q.clone = Me), i.cloneId = gr(function() {
19802
+ ot("setupClone", this), Q.eventCanceled || (Me = KT(N), Me.removeAttribute("id"), Me.draggable = !1, Me.style["will-change"] = "", this._hideClone(), ft(Me, this.options.chosenClass, !1), Q.clone = Me), i.cloneId = gr(function() {
19807
19803
  ot("clone", i), !Q.eventCanceled && (i.options.removeCloneOnHide || Ie.insertBefore(Me, N), i._hideClone(), it({
19808
19804
  sortable: i,
19809
19805
  name: "clone"
@@ -19889,7 +19885,7 @@ Q.prototype = /** @lends Sortable.prototype */
19889
19885
  E = R === 1;
19890
19886
  var C = Ja(Ie, t, N, a, i, r, e, E);
19891
19887
  if (C !== !1)
19892
- return (C === 1 || C === -1) && (E = C === 1), bl = !0, setTimeout(rF, 30), x(), E && !v ? t.appendChild(N) : i.parentNode.insertBefore(N, E ? v : i), k && V9(k, 0, A - k.scrollTop), Ne = N.parentNode, H !== void 0 && !Ka && (mr = Math.abs(H - Ue(i)[P])), M(), w(!0);
19888
+ return (C === 1 || C === -1) && (E = C === 1), bl = !0, setTimeout(rF, 30), x(), E && !v ? t.appendChild(N) : i.parentNode.insertBefore(N, E ? v : i), k && VT(k, 0, A - k.scrollTop), Ne = N.parentNode, H !== void 0 && !Ka && (mr = Math.abs(H - Ue(i)[P])), M(), w(!0);
19893
19889
  }
19894
19890
  if (t.contains(N))
19895
19891
  return w(!1);
@@ -20027,7 +20023,7 @@ Q.prototype = /** @lends Sortable.prototype */
20027
20023
  if (t === void 0)
20028
20024
  return i[e];
20029
20025
  var a = Ta.modifyOption(this, e, t);
20030
- typeof a < "u" ? i[e] = a : i[e] = t, e === "group" && Q9(i);
20026
+ typeof a < "u" ? i[e] = a : i[e] = t, e === "group" && QT(i);
20031
20027
  },
20032
20028
  /**
20033
20029
  * Destroy
@@ -20073,11 +20069,11 @@ function rF() {
20073
20069
  bl = !1;
20074
20070
  }
20075
20071
  function oF(n, e, t) {
20076
- var i = Ue(wi(t.el, 0, t.options, !0)), a = Z9(t.el, t.options, ne), r = 10;
20072
+ var i = Ue(wi(t.el, 0, t.options, !0)), a = ZT(t.el, t.options, ne), r = 10;
20077
20073
  return e ? n.clientX < a.left - r || n.clientY < i.top && n.clientX < i.right : n.clientY < a.top - r || n.clientY < i.bottom && n.clientX < i.left;
20078
20074
  }
20079
20075
  function sF(n, e, t) {
20080
- var i = Ue(Cc(t.el, t.options.draggable)), a = Z9(t.el, t.options, ne), r = 10;
20076
+ var i = Ue(Cc(t.el, t.options.draggable)), a = ZT(t.el, t.options, ne), r = 10;
20081
20077
  return e ? n.clientX > a.right + r || n.clientY > i.bottom && n.clientX > i.left : n.clientY > a.bottom + r || n.clientX > i.right && n.clientY > i.top;
20082
20078
  }
20083
20079
  function lF(n, e, t, i, a, r, o, s) {
@@ -20121,19 +20117,19 @@ Q.utils = {
20121
20117
  on: me,
20122
20118
  off: de,
20123
20119
  css: X,
20124
- find: G9,
20120
+ find: GT,
20125
20121
  is: function(e, t) {
20126
20122
  return !!Dt(e, t, e, !1);
20127
20123
  },
20128
20124
  extend: YR,
20129
- throttle: Y9,
20125
+ throttle: YT,
20130
20126
  closest: Dt,
20131
20127
  toggleClass: ft,
20132
- clone: K9,
20128
+ clone: KT,
20133
20129
  index: wt,
20134
20130
  nextTick: gr,
20135
20131
  cancelNextTick: yl,
20136
- detectDirection: X9,
20132
+ detectDirection: XT,
20137
20133
  getChild: wi
20138
20134
  };
20139
20135
  Q.get = function(n) {
@@ -20213,7 +20209,7 @@ function br() {
20213
20209
  function qu() {
20214
20210
  clearInterval(Yi);
20215
20211
  }
20216
- var as = Y9(function(n, e, t, i) {
20212
+ var as = YT(function(n, e, t, i) {
20217
20213
  if (e.scroll) {
20218
20214
  var a = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, o = e.scrollSensitivity, s = e.scrollSpeed, l = Yt(), d = !1, f;
20219
20215
  vl !== t && (vl = t, br(), Gi = e.scroll, f = e.scrollFn, Gi === !0 && (Gi = An(t, !0)));
@@ -20228,7 +20224,7 @@ var as = Y9(function(n, e, t, i) {
20228
20224
  (He[u].vx != A || He[u].vy != T || He[u].el !== p) && (He[u].el = p, He[u].vx = A, He[u].vy = T, clearInterval(He[u].pid), (A != 0 || T != 0) && (d = !0, He[u].pid = setInterval((function() {
20229
20225
  i && this.layer === 0 && Q.active._onTouchMove(eo);
20230
20226
  var v = He[this.layer].vy ? He[this.layer].vy * s : 0, E = He[this.layer].vx ? He[this.layer].vx * s : 0;
20231
- typeof f == "function" && f.call(Q.dragged.parentNode[gt], E, v, n, eo, He[this.layer].el) !== "continue" || V9(He[this.layer].el, E, v);
20227
+ typeof f == "function" && f.call(Q.dragged.parentNode[gt], E, v, n, eo, He[this.layer].el) !== "continue" || VT(He[this.layer].el, E, v);
20232
20228
  }).bind({
20233
20229
  layer: u
20234
20230
  }), 24))), u++;
@@ -20564,13 +20560,13 @@ function gF() {
20564
20560
  customElements.get(e) || pn();
20565
20561
  break;
20566
20562
  case "dragable-icon":
20567
- customElements.get(e) || T9();
20563
+ customElements.get(e) || TT();
20568
20564
  break;
20569
20565
  case "input-component":
20570
20566
  customElements.get(e) || Jt();
20571
20567
  break;
20572
20568
  case "nylas-date-component":
20573
- customElements.get(e) || U9();
20569
+ customElements.get(e) || UT();
20574
20570
  break;
20575
20571
  case "plus-icon":
20576
20572
  customElements.get(e) || xc();
@@ -21049,6 +21045,7 @@ const BF = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
21049
21045
  this.validate(this.value), this.error && e.preventDefault();
21050
21046
  }
21051
21047
  handleInput(e) {
21048
+ this.error = "";
21052
21049
  const t = e.target;
21053
21050
  this.value = dt(t.value), this.nylasFormInputChanged.emit({
21054
21051
  value: this.value,
@@ -21062,7 +21059,7 @@ const BF = ':host{display:block;--nylas-primary:#2563eb;--nylas-error:#cc4841;--
21062
21059
  this.required && !e ? this.error = `${this.label} is required.` : e.length > this.maxLength ? this.error = `${this.label} cannot exceed ${this.maxLength} characters.` : this.error = "";
21063
21060
  }
21064
21061
  render() {
21065
- return c("label", { key: "383001bd48b1178b4c9126f812175701f570931e", part: "tc__label", class: { error: !!this.error } }, c("p", { key: "17dad29e1c19d24bfb5e1736630c6d43651f1616" }, c("span", { key: "d1077d0eab18709b12e714650a20057b17720ebd", class: "label" }, this.label), this.required && c("span", { class: "required" }, "*"), this.tooltip && c("tooltip-component", null, c("info-icon", { slot: "tooltip-icon" }), c("span", { slot: "tooltip-content" }, this.tooltip))), c("textarea", { key: "b35934b9027ac4c7d27a1720c471d698905e5f62", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && c("span", { class: "error help-text" }, this.error));
21062
+ return c("label", { key: "3b3dd5b1c594e2c3b3594826b1f0379925dd14e9", part: "tc__label", class: { error: !!this.error } }, c("p", { key: "0a544d90a3b087c3479412078b1a454261bf20db" }, c("span", { key: "c37a9e870a3ebe502b2db7fbf0968178fc7cc519", class: "label" }, this.label), this.required && c("span", { class: "required" }, "*"), this.tooltip && c("tooltip-component", null, c("info-icon", { slot: "tooltip-icon" }), c("span", { slot: "tooltip-content" }, this.tooltip))), c("textarea", { key: "1be0e90961ebd6110bffd347a930884768429037", name: this.name, title: this.readOnly ? "read-only field" : void 0, placeholder: this.placeholder, readOnly: this.readOnly, autoFocus: this.autoFocus, value: this.value, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), class: { error: !!this.error }, part: "tc__textarea" }), this.error && c("span", { class: "error help-text" }, this.error));
21066
21063
  }
21067
21064
  static get style() {
21068
21065
  return DF;
@@ -21305,7 +21302,7 @@ function HF() {
21305
21302
  customElements.get(e) || Jt();
21306
21303
  break;
21307
21304
  case "input-image-url":
21308
- customElements.get(e) || $9();
21305
+ customElements.get(e) || $T();
21309
21306
  break;
21310
21307
  case "loading-icon":
21311
21308
  customElements.get(e) || Ii();
@@ -21748,13 +21745,13 @@ function XF() {
21748
21745
  customElements.get(e) || customElements.define(e, uS);
21749
21746
  break;
21750
21747
  case "checkmark-icon":
21751
- customElements.get(e) || w9();
21748
+ customElements.get(e) || wT();
21752
21749
  break;
21753
21750
  case "chevron-icon":
21754
21751
  customElements.get(e) || Ae();
21755
21752
  break;
21756
21753
  case "copy-icon":
21757
- customElements.get(e) || E9();
21754
+ customElements.get(e) || ET();
21758
21755
  break;
21759
21756
  case "info-icon":
21760
21757
  customElements.get(e) || ke();
@@ -21903,7 +21900,7 @@ function nN() {
21903
21900
  customElements.get(e) || customElements.define(e, fS);
21904
21901
  break;
21905
21902
  case "checkbox-component":
21906
- customElements.get(e) || C9();
21903
+ customElements.get(e) || CT();
21907
21904
  break;
21908
21905
  case "info-icon":
21909
21906
  customElements.get(e) || ke();
@@ -22117,7 +22114,7 @@ const pS = z(class extends U {
22117
22114
  var l, d;
22118
22115
  return s.anchorOffset === 0 && s.focusOffset === ((d = (l = s.focusNode) == null ? void 0 : l.nodeValue) == null ? void 0 : d.length);
22119
22116
  };
22120
- switch (k9()) {
22117
+ switch (kT()) {
22121
22118
  case "Chrome":
22122
22119
  const s = (a = this.host.shadowRoot) == null ? void 0 : a.getSelection(), l = s == null ? void 0 : s.focusNode, d = (l == null ? void 0 : l.nodeValue) || "", f = s && t(s);
22123
22120
  return e(d, (s == null ? void 0 : s.focusOffset) || -1, l, f);
@@ -22154,7 +22151,7 @@ const pS = z(class extends U {
22154
22151
  handleInputKeyDown(e) {
22155
22152
  var i, a, r, o;
22156
22153
  const t = this.getCurrentSelectionForBrowser();
22157
- if (t != null && t.allSelected && !x9(e) && (this.descriptionRef.innerHTML = ""), e.key === "Enter") {
22154
+ if (t != null && t.allSelected && !xT(e) && (this.descriptionRef.innerHTML = ""), e.key === "Enter") {
22158
22155
  e.preventDefault();
22159
22156
  const s = (i = this.host.shadowRoot) == null ? void 0 : i.getElementById(this.ariaActivedescendant);
22160
22157
  s && (s.click(), this.ariaActivedescendant = "");
@@ -22867,19 +22864,19 @@ function $N() {
22867
22864
  customElements.get(e) || Ae();
22868
22865
  break;
22869
22866
  case "google-meet-icon":
22870
- customElements.get(e) || S9();
22867
+ customElements.get(e) || ST();
22871
22868
  break;
22872
22869
  case "info-icon":
22873
22870
  customElements.get(e) || ke();
22874
22871
  break;
22875
22872
  case "location-icon":
22876
- customElements.get(e) || P9();
22873
+ customElements.get(e) || PT();
22877
22874
  break;
22878
22875
  case "location-off-icon":
22879
- customElements.get(e) || B9();
22876
+ customElements.get(e) || BT();
22880
22877
  break;
22881
22878
  case "microsoft-teams-icon":
22882
- customElements.get(e) || D9();
22879
+ customElements.get(e) || DT();
22883
22880
  break;
22884
22881
  case "search-icon":
22885
22882
  customElements.get(e) || je();
@@ -23008,7 +23005,7 @@ const _S = z(class extends U {
23008
23005
  var l, d;
23009
23006
  return s.anchorOffset === 0 && s.focusOffset === ((d = (l = s.focusNode) == null ? void 0 : l.nodeValue) == null ? void 0 : d.length);
23010
23007
  };
23011
- switch (k9()) {
23008
+ switch (kT()) {
23012
23009
  case "Chrome":
23013
23010
  const s = (a = this.host.shadowRoot) == null ? void 0 : a.getSelection(), l = s == null ? void 0 : s.focusNode, d = (l == null ? void 0 : l.nodeValue) || "", f = s && t(s);
23014
23011
  return e(d, (s == null ? void 0 : s.focusOffset) || -1, l, f);
@@ -23045,7 +23042,7 @@ const _S = z(class extends U {
23045
23042
  handleInputKeyDown(e) {
23046
23043
  var i, a, r, o, s;
23047
23044
  const t = this.getCurrentSelectionForBrowser();
23048
- if (t != null && t.allSelected && !x9(e) && (this.titleRef.innerHTML = ""), e.key === "Enter") {
23045
+ if (t != null && t.allSelected && !xT(e) && (this.titleRef.innerHTML = ""), e.key === "Enter") {
23049
23046
  e.preventDefault();
23050
23047
  const l = (i = this.host.shadowRoot) == null ? void 0 : i.getElementById(this.ariaActivedescendant);
23051
23048
  l && (l.click(), this.ariaActivedescendant = "");
@@ -24357,7 +24354,7 @@ function uH() {
24357
24354
  customElements.get(e) || ke();
24358
24355
  break;
24359
24356
  case "nylas-booking-calendar-picker":
24360
- customElements.get(e) || N9();
24357
+ customElements.get(e) || NT();
24361
24358
  break;
24362
24359
  case "search-icon":
24363
24360
  customElements.get(e) || je();
@@ -24536,7 +24533,7 @@ function mH() {
24536
24533
  customElements.get(e) || ke();
24537
24534
  break;
24538
24535
  case "nylas-availability-picker":
24539
- customElements.get(e) || R9();
24536
+ customElements.get(e) || RT();
24540
24537
  break;
24541
24538
  case "nylas-time-window-picker":
24542
24539
  customElements.get(e) || kc();
@@ -27487,8 +27484,8 @@ function KU(n, e) {
27487
27484
  return $t().captureException(n, void 0);
27488
27485
  }
27489
27486
  function ZU(n, e) {
27490
- const i = { captureContext: e };
27491
- return $t().captureMessage(n, void 0, i);
27487
+ const t = typeof e == "string" ? e : void 0, i = typeof e != "string" ? { captureContext: e } : void 0;
27488
+ return $t().captureMessage(n, t, i);
27492
27489
  }
27493
27490
  function tA(n, e) {
27494
27491
  return $t().captureEvent(n, e);
@@ -31667,9 +31664,14 @@ const Gc = z(class extends U {
31667
31664
  this.showFeedbackModal = !1;
31668
31665
  }
31669
31666
  feedbackSubmittedHandler(e) {
31670
- var a, r;
31667
+ var a, r, o, s, l, d;
31671
31668
  const i = {
31672
- eventId: ZU("Scheduler Editor User Feedback"),
31669
+ eventId: ZU("Scheduler Editor User Feedback", {
31670
+ extra: {
31671
+ configId: (a = this.selectedConfiguration) == null ? void 0 : a.id,
31672
+ slug: (r = this.selectedConfiguration) == null ? void 0 : r.slug
31673
+ }
31674
+ }),
31673
31675
  message: e.detail.feedback
31674
31676
  };
31675
31677
  cA(i, {
@@ -31677,11 +31679,14 @@ const Gc = z(class extends U {
31677
31679
  captureContext: {
31678
31680
  tags: {
31679
31681
  "nylas-web-element": "nylas-scheduler-editor",
31680
- "nylas-web-element-version": "1.3.5"
31682
+ "nylas-web-element-version": "1.3.5",
31683
+ "nylas-config-id": (o = this.selectedConfiguration) == null ? void 0 : o.id,
31684
+ "nylas-slug": (s = this.selectedConfiguration) == null ? void 0 : s.slug,
31685
+ "host-url": window.location.href
31681
31686
  },
31682
31687
  extra: {
31683
- configId: (a = this.selectedConfiguration) == null ? void 0 : a.id,
31684
- slug: (r = this.selectedConfiguration) == null ? void 0 : r.slug
31688
+ configId: (l = this.selectedConfiguration) == null ? void 0 : l.id,
31689
+ slug: (d = this.selectedConfiguration) == null ? void 0 : d.slug
31685
31690
  }
31686
31691
  }
31687
31692
  }), this.showFeedbackModal = !1;
@@ -31849,16 +31854,16 @@ const Gc = z(class extends U {
31849
31854
  }
31850
31855
  render() {
31851
31856
  var e, t;
31852
- return b("[nylas-editor-tabs]", "render", this.formState), c(ie, { key: "e3a4eed49c9ee61fbbd202558839c0b9fe7bf9d0" }, c("form", { key: "f41fc61161a1c03c92928b0cd2415762afdaff11", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (i) => this.formRef = i, noValidate: !0 }, this.mode === "app" ? c("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, c("div", { class: "tabs", part: "editor__tabs net__tabs" }, c("button", { name: ae.EventInfo, class: { tab: !0, active: this.activeTab == ae.EventInfo, hide: this.hideTab(ae.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (i) => this.setActiveTab(i, ae.EventInfo) }, c("calendar-info-icon", { width: "16", height: "16" }), _.t("eventInfoTab")), c("button", { name: ae.Availability, class: { tab: !0, active: this.activeTab == ae.Availability, hide: this.hideTab(ae.Availability) }, part: "editortab__availability net__tab-availability", onClick: (i) => this.setActiveTab(i, ae.Availability) }, c("calendar-patterns-icon", { width: "16", height: "16" }), _.t("availabilityTab")), c("button", { name: ae.Participants, class: { tab: !0, active: this.activeTab == ae.Participants, hide: this.hideTab(ae.Participants) }, part: "editortab__participants net__tab-participants", onClick: (i) => this.setActiveTab(i, ae.Participants) }, c("people-icon", { width: "16", height: "16" }), _.t("participantsTab")), c("button", { name: ae.BookingOptions, class: { tab: !0, active: this.activeTab == ae.BookingOptions, hide: this.hideTab(ae.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (i) => this.setActiveTab(i, ae.BookingOptions) }, c("flow-icon", { width: "16", height: "16" }), _.t("bookingOptionsTab")), c("button", { name: ae.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(ae.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (i) => this.setActiveTab(i, ae.BookingForm) }, this.activeTab == ae.BookingForm ? c("calendar-agenda-fill-icon", { width: "16", height: "16" }) : c("calendar-agenda-icon", { width: "16", height: "16" }), _.t("bookingFormTab")), c("button", { name: ae.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(ae.Communications) }, onClick: (i) => this.setActiveTab(i, ae.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == ae.Communications ? c("envelope-fill-icon", { width: "16", height: "16" }) : c("envelope-icon", { width: "16", height: "16" }), _.t("communicationsTab")), c("button", { name: ae.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(ae.PageStyles) }, onClick: (i) => this.setActiveTab(i, ae.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == ae.PageStyles ? c("paintbrush-fill-icon", { width: "16", height: "16" }) : c("paintbrush-icon", { width: "16", height: "16" }), _.t("pageStylesTab"))), c("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, c(xG, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: _ }))) : c("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, c("slot", null)), c("div", { key: "4f5a972e86dcb6e8812498bf6ea70095442563a1", class: "footer", part: "editor__footer net__footer" }, c("div", { key: "12c811edba69e577deb48be0157f71032c696381", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && c("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (i) => this.onFeedbackClick(i) }, c("feedback-icon", null))), c("div", { key: "d1479be094e492d2beeab860e496ca2fbaeed8f2", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, c("p", { key: "e1abb07c34703c11fee1f922f069cbfd1df50ad5", class: {
31857
+ return b("[nylas-editor-tabs]", "render", this.formState), c(ie, { key: "6b41766e5e726c094aca62e18595796d43b2f298" }, c("form", { key: "24d68e11a81f94792218353822dd77fd7683c9f4", onSubmit: this.formSubmissionHandler, class: "scheduler-editor", ref: (i) => this.formRef = i, noValidate: !0 }, this.mode === "app" ? c("div", { class: "form-contents", part: "editor__form-contents net__form-contents" }, c("div", { class: "tabs", part: "editor__tabs net__tabs" }, c("button", { name: ae.EventInfo, class: { tab: !0, active: this.activeTab == ae.EventInfo, hide: this.hideTab(ae.EventInfo) }, part: "editortab__event-info net__tab-event-info", onClick: (i) => this.setActiveTab(i, ae.EventInfo) }, c("calendar-info-icon", { width: "16", height: "16" }), _.t("eventInfoTab")), c("button", { name: ae.Availability, class: { tab: !0, active: this.activeTab == ae.Availability, hide: this.hideTab(ae.Availability) }, part: "editortab__availability net__tab-availability", onClick: (i) => this.setActiveTab(i, ae.Availability) }, c("calendar-patterns-icon", { width: "16", height: "16" }), _.t("availabilityTab")), c("button", { name: ae.Participants, class: { tab: !0, active: this.activeTab == ae.Participants, hide: this.hideTab(ae.Participants) }, part: "editortab__participants net__tab-participants", onClick: (i) => this.setActiveTab(i, ae.Participants) }, c("people-icon", { width: "16", height: "16" }), _.t("participantsTab")), c("button", { name: ae.BookingOptions, class: { tab: !0, active: this.activeTab == ae.BookingOptions, hide: this.hideTab(ae.BookingOptions) }, part: "editortab__booking-options net__tab-booking-options", onClick: (i) => this.setActiveTab(i, ae.BookingOptions) }, c("flow-icon", { width: "16", height: "16" }), _.t("bookingOptionsTab")), c("button", { name: ae.BookingForm, class: { tab: !0, active: this.activeTab == "bookingForm", hide: this.hideTab(ae.BookingForm) }, part: "editortab__booking-form net__tab-booking-form", onClick: (i) => this.setActiveTab(i, ae.BookingForm) }, this.activeTab == ae.BookingForm ? c("calendar-agenda-fill-icon", { width: "16", height: "16" }) : c("calendar-agenda-icon", { width: "16", height: "16" }), _.t("bookingFormTab")), c("button", { name: ae.Communications, class: { tab: !0, active: this.activeTab == "communications", hide: this.hideTab(ae.Communications) }, onClick: (i) => this.setActiveTab(i, ae.Communications), part: "editortab__communications net__tab-communications" }, this.activeTab == ae.Communications ? c("envelope-fill-icon", { width: "16", height: "16" }) : c("envelope-icon", { width: "16", height: "16" }), _.t("communicationsTab")), c("button", { name: ae.PageStyles, class: { tab: !0, active: this.activeTab == "pageStyles", hide: this.hideTab(ae.PageStyles) }, onClick: (i) => this.setActiveTab(i, ae.PageStyles), part: "editortab__page-styles net__tab-page-styles" }, this.activeTab == ae.PageStyles ? c("paintbrush-fill-icon", { width: "16", height: "16" }) : c("paintbrush-icon", { width: "16", height: "16" }), _.t("pageStylesTab"))), c("div", { class: "tab-content", part: "editor__tab-content net__tab-content" }, c(xG, { formState: this.formState, activeTab: this.activeTab, currentUser: this.currentUser, calendars: this.calendars, id: ((e = this.selectedConfiguration) == null ? void 0 : e.id) ?? "new", i18next: _ }))) : c("div", { class: "composable", key: (t = this.selectedConfiguration) == null ? void 0 : t.id }, c("slot", null)), c("div", { key: "ba0dd27bf4d718ad8a62df1f79774f97993a39b5", class: "footer", part: "editor__footer net__footer" }, c("div", { key: "0e2787186678d9fdf18654220bf9b8b2fc430b8f", class: "preview", part: "editor__footer-preview net__footer-preview" }, this.enableUserFeedback && c("button-component", { title: "Share your feedback", id: "report-issue", variant: "basic", onClick: (i) => this.onFeedbackClick(i) }, c("feedback-icon", null))), c("div", { key: "f731ed68b6375274254947df08eacc1c6cc4685a", class: "buttons", part: "editor__footer-buttons net__footer-buttons" }, c("p", { key: "9bcf711385ae6cfc4341c7169f44c7e5e484c6e3", class: {
31853
31858
  "unsaved-changes": this.hasUnsavedChanges && !this.changesSaved,
31854
31859
  "saved-changes": this.changesSaved,
31855
31860
  error: this.error !== "",
31856
31861
  "error-full-width": this.error !== "" && this.action === "create"
31857
31862
  } }, this.error !== "" ? this.error : "", this.error == "" && this.hasUnsavedChanges && !this.changesSaved ? "Unsaved changes" : this.error == "" && this.changesSaved ? "Changes saved!" : ""), this.schedulerPreviewLink !== "" && this.action === "edit" && c("button-component", { title: "Preview", type: "button", disabled: this.isLoading, clickHandler: (i) => {
31858
31863
  i.preventDefault(), this.previewButtonClicked.emit(this.host).defaultPrevented || window.open(tL(this.schedulerPreviewLink, this.selectedConfiguration), "_blank");
31859
- }, variant: "basic" }, c("eye-icon", null)), c("button-component", { key: "3de639b520a7f81d6413b77ad500f05a84db746d", type: "button", disabled: this.isLoading, clickHandler: (i) => {
31864
+ }, variant: "basic" }, c("eye-icon", null)), c("button-component", { key: "3e4bf8e88e3b7e9d0e9088520dc1c053b0599bc6", type: "button", disabled: this.isLoading, clickHandler: (i) => {
31860
31865
  i.preventDefault(), this.cancelButtonClick.emit(), this.error = "";
31861
- }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, _.t("backButton")), c("button-component", { key: "31a193032e345491ba94e1b229971b9ec343a184", type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? c("span", null, _.t("savingButtonText"), c("loading-icon", null), " ") : this.action === "create" ? `${_.t("createButtonText")}` : `${_.t("saveChangesButtonText")}`)))), this.showFeedbackModal && c("nylas-feedback-form", null));
31866
+ }, variant: "basic", part: "editor__footer-cancel net__footer-cancel" }, _.t("backButton")), c("button-component", { key: "052505c068878815930d6ed19dda364a609212b8", type: "submit", disabled: this.isLoading, part: "editor__footer-cta, net__footer-cta" }, this.isLoading ? c("span", null, _.t("savingButtonText"), c("loading-icon", null), " ") : this.action === "create" ? `${_.t("createButtonText")}` : `${_.t("saveChangesButtonText")}`)))), this.showFeedbackModal && c("nylas-feedback-form", null));
31862
31867
  }
31863
31868
  get host() {
31864
31869
  return this;
@@ -31976,10 +31981,10 @@ function TG() {
31976
31981
  customElements.get(e) || BL();
31977
31982
  break;
31978
31983
  case "checkbox-component":
31979
- customElements.get(e) || C9();
31984
+ customElements.get(e) || CT();
31980
31985
  break;
31981
31986
  case "checkmark-icon":
31982
- customElements.get(e) || w9();
31987
+ customElements.get(e) || wT();
31983
31988
  break;
31984
31989
  case "chevron-icon":
31985
31990
  customElements.get(e) || Ae();
@@ -31991,10 +31996,10 @@ function TG() {
31991
31996
  customElements.get(e) || pn();
31992
31997
  break;
31993
31998
  case "copy-icon":
31994
- customElements.get(e) || E9();
31999
+ customElements.get(e) || ET();
31995
32000
  break;
31996
32001
  case "dragable-icon":
31997
- customElements.get(e) || T9();
32002
+ customElements.get(e) || TT();
31998
32003
  break;
31999
32004
  case "edit-icon":
32000
32005
  customElements.get(e) || yc();
@@ -32018,7 +32023,7 @@ function TG() {
32018
32023
  customElements.get(e) || vc();
32019
32024
  break;
32020
32025
  case "google-meet-icon":
32021
- customElements.get(e) || S9();
32026
+ customElements.get(e) || ST();
32022
32027
  break;
32023
32028
  case "info-icon":
32024
32029
  customElements.get(e) || ke();
@@ -32030,19 +32035,19 @@ function TG() {
32030
32035
  customElements.get(e) || mn();
32031
32036
  break;
32032
32037
  case "input-image-url":
32033
- customElements.get(e) || $9();
32038
+ customElements.get(e) || $T();
32034
32039
  break;
32035
32040
  case "loading-icon":
32036
32041
  customElements.get(e) || Ii();
32037
32042
  break;
32038
32043
  case "location-icon":
32039
- customElements.get(e) || P9();
32044
+ customElements.get(e) || PT();
32040
32045
  break;
32041
32046
  case "location-off-icon":
32042
- customElements.get(e) || B9();
32047
+ customElements.get(e) || BT();
32043
32048
  break;
32044
32049
  case "microsoft-teams-icon":
32045
- customElements.get(e) || D9();
32050
+ customElements.get(e) || DT();
32046
32051
  break;
32047
32052
  case "multi-select-dropdown":
32048
32053
  customElements.get(e) || _c();
@@ -32051,10 +32056,10 @@ function TG() {
32051
32056
  customElements.get(e) || cR();
32052
32057
  break;
32053
32058
  case "nylas-availability-picker":
32054
- customElements.get(e) || R9();
32059
+ customElements.get(e) || RT();
32055
32060
  break;
32056
32061
  case "nylas-booking-calendar-picker":
32057
- customElements.get(e) || N9();
32062
+ customElements.get(e) || NT();
32058
32063
  break;
32059
32064
  case "nylas-booking-confirmation-redirect":
32060
32065
  customElements.get(e) || $R();
@@ -32090,7 +32095,7 @@ function TG() {
32090
32095
  customElements.get(e) || nN();
32091
32096
  break;
32092
32097
  case "nylas-date-component":
32093
- customElements.get(e) || U9();
32098
+ customElements.get(e) || UT();
32094
32099
  break;
32095
32100
  case "nylas-disable-emails":
32096
32101
  customElements.get(e) || oN();