@nylas/react 2.0.1 → 2.0.3

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 (118) hide show
  1. package/dist/{abstract-provider-efe136bd-b4663c02.cjs → abstract-provider-bdb7d9b4-12a95387.cjs} +1 -1
  2. package/dist/{abstract-provider-efe136bd-2041bdce.js → abstract-provider-bdb7d9b4-22cf4a74.js} +1 -1
  3. package/dist/{add-circle-icon_2.entry-ea1692a4.js → add-circle-icon_2.entry-0ff79148.js} +1 -1
  4. package/dist/{add-circle-icon_2.entry-5204c48a.cjs → add-circle-icon_2.entry-d56f519c.cjs} +1 -1
  5. package/dist/{archive-icon.entry-c2c66bca.cjs → archive-icon.entry-6ab120ff.cjs} +1 -1
  6. package/dist/{archive-icon.entry-0b585dff.js → archive-icon.entry-aaff46ec.js} +1 -1
  7. package/dist/{arrow-icon.entry-9d471162.cjs → arrow-icon.entry-d57cf44f.cjs} +1 -1
  8. package/dist/{arrow-icon.entry-2e61394e.js → arrow-icon.entry-d8fcbc1f.js} +1 -1
  9. package/dist/{bold-icon.entry-5c37622f.cjs → bold-icon.entry-0f23543d.cjs} +1 -1
  10. package/dist/{bold-icon.entry-8ef1b653.js → bold-icon.entry-e48075a4.js} +1 -1
  11. package/dist/{button-component_2.entry-8335ee1e.cjs → button-component_2.entry-3d622397.cjs} +1 -1
  12. package/dist/{button-component_2.entry-c906230f.js → button-component_2.entry-5db80bec.js} +1 -1
  13. package/dist/calendar-agenda-fill-icon_36.entry-75d7cd5b.cjs +6 -0
  14. package/dist/{calendar-agenda-fill-icon_36.entry-5f184433.js → calendar-agenda-fill-icon_36.entry-78fc2e0d.js} +835 -835
  15. package/dist/{calendar-cancel-icon.entry-dd6ac4db.js → calendar-cancel-icon.entry-8b43441c.js} +1 -1
  16. package/dist/{calendar-cancel-icon.entry-65a4a34e.cjs → calendar-cancel-icon.entry-9546c7c3.cjs} +1 -1
  17. package/dist/calendar-check-icon.entry-4e6abda7.js +16 -0
  18. package/dist/{calendar-check-icon_2.entry-ded15038.cjs → calendar-check-icon.entry-a03b249a.cjs} +1 -1
  19. package/dist/{calendar-icon.entry-a2a1ddbc.js → calendar-icon.entry-5b622c12.js} +1 -1
  20. package/dist/{calendar-icon.entry-ca512dd6.cjs → calendar-icon.entry-cd4b0ec4.cjs} +1 -1
  21. package/dist/{checkbox-component_2.entry-d6128246.js → checkbox-component_2.entry-82f4b1f2.js} +1 -1
  22. package/dist/{checkbox-component_2.entry-d79b5d1d.cjs → checkbox-component_2.entry-c9c8a87d.cjs} +1 -1
  23. package/dist/{checkbox-group_4.entry-2946c7ef.cjs → checkbox-group_4.entry-5a4f0ed2.cjs} +1 -1
  24. package/dist/{checkbox-group_4.entry-e5145451.js → checkbox-group_4.entry-b2a5b2b2.js} +3 -3
  25. package/dist/checkmark-circle-icon.entry-30582af4.js +16 -0
  26. package/dist/checkmark-circle-icon.entry-9617301c.cjs +1 -0
  27. package/dist/{checkmark-icon_15.entry-6e92e93e.js → checkmark-icon_15.entry-01536ed2.js} +33 -33
  28. package/dist/{checkmark-icon_15.entry-a75a1825.cjs → checkmark-icon_15.entry-c5eaad9b.cjs} +2 -2
  29. package/dist/{chevron-icon_3.entry-9193a885.cjs → chevron-icon_3.entry-26f14744.cjs} +1 -1
  30. package/dist/{chevron-icon_3.entry-6eaa3513.js → chevron-icon_3.entry-517447a6.js} +1 -1
  31. package/dist/{clock-icon_4.entry-ae2272f4.cjs → clock-icon_4.entry-5351318c.cjs} +1 -1
  32. package/dist/{clock-icon_4.entry-2c93270e.js → clock-icon_4.entry-7ea1274d.js} +1 -1
  33. package/dist/{customParseFormat-edc38d83-fa9c77d9.cjs → customParseFormat-f0d21eb3-769d6bf2.cjs} +1 -1
  34. package/dist/{customParseFormat-edc38d83-b3722499.js → customParseFormat-f0d21eb3-904f1e57.js} +1 -1
  35. package/dist/{delete-icon.entry-6684eba6.js → delete-icon.entry-02e44ba1.js} +1 -1
  36. package/dist/{delete-icon.entry-b9e4f2c7.cjs → delete-icon.entry-64b61f5c.cjs} +1 -1
  37. package/dist/{document-refresh-icon.entry-7afe6163.cjs → document-refresh-icon.entry-2f599a22.cjs} +1 -1
  38. package/dist/{document-refresh-icon.entry-fba9f60b.js → document-refresh-icon.entry-fcaa84ad.js} +1 -1
  39. package/dist/{feedbackSync-e4378c0b-23289195.js → feedbackSync-b9c9e719-b54b3268.js} +1 -1
  40. package/dist/{feedbackSync-e4378c0b-7876d067.cjs → feedbackSync-b9c9e719-bee3fea1.cjs} +1 -1
  41. package/dist/{folder-icon.entry-b1632bf3.cjs → folder-icon.entry-55c123dc.cjs} +1 -1
  42. package/dist/{folder-icon.entry-430c6b47.js → folder-icon.entry-f4862c1b.js} +1 -1
  43. package/dist/{forward-icon.entry-5e53da76.js → forward-icon.entry-4a41e94f.js} +1 -1
  44. package/dist/{forward-icon.entry-7626dcca.cjs → forward-icon.entry-82719382.cjs} +1 -1
  45. package/dist/{globe-icon_2.entry-bbb0a6ce.cjs → globe-icon_2.entry-3f0e408e.cjs} +1 -1
  46. package/dist/{globe-icon_2.entry-646eae41.js → globe-icon_2.entry-8f5c79b2.js} +2 -2
  47. package/dist/{google-logo-icon_6.entry-e39dd9cb.cjs → google-logo-icon_6.entry-9c91c3d4.cjs} +1 -1
  48. package/dist/{google-logo-icon_6.entry-5951a546.js → google-logo-icon_6.entry-b331ab60.js} +8 -8
  49. package/dist/{google-meet-icon_5.entry-c13e0738.cjs → google-meet-icon_5.entry-e3d44d56.cjs} +1 -1
  50. package/dist/{google-meet-icon_5.entry-a54c83da.js → google-meet-icon_5.entry-eb9f7d93.js} +1 -1
  51. package/dist/{inbox-icon.entry-7bee82b3.js → inbox-icon.entry-a385095d.js} +1 -1
  52. package/dist/{inbox-icon.entry-911b047a.cjs → inbox-icon.entry-fa9085cd.cjs} +1 -1
  53. package/dist/{index-71f61ea9.js → index-ad781fbc.js} +5585 -5490
  54. package/dist/index-dc6efb5e.cjs +118 -0
  55. package/dist/{index.es-6a9d55cf-458ba0e0.cjs → index.es-ccb2a286-9a2c0934.cjs} +1 -1
  56. package/dist/{index.es-6a9d55cf-122c27e0.js → index.es-ccb2a286-dfa2bfbe.js} +1 -1
  57. package/dist/{info-icon_2.entry-471b836b.cjs → info-icon_2.entry-9f32753b.cjs} +1 -1
  58. package/dist/{info-icon_2.entry-6ff2f004.js → info-icon_2.entry-c18a111e.js} +1 -1
  59. package/dist/{input-component.entry-781b584c.js → input-component.entry-eae64f46.js} +1 -1
  60. package/dist/{input-component.entry-b6a9b4cb.cjs → input-component.entry-ff9e04c9.cjs} +1 -1
  61. package/dist/{input-dropdown_2.entry-1feebcba.js → input-dropdown_2.entry-1b55ef0c.js} +1 -1
  62. package/dist/{input-dropdown_2.entry-c71d14ff.cjs → input-dropdown_2.entry-67d6d292.cjs} +1 -1
  63. package/dist/{italic-icon.entry-9ef7f4a2.js → italic-icon.entry-4266a817.js} +1 -1
  64. package/dist/{italic-icon.entry-16debde5.cjs → italic-icon.entry-843feb2b.cjs} +1 -1
  65. package/dist/{multi-select-dropdown.entry-1b27c746.js → multi-select-dropdown.entry-854265ef.js} +1 -1
  66. package/dist/{multi-select-dropdown.entry-0a6f9417.cjs → multi-select-dropdown.entry-ca9acf75.cjs} +1 -1
  67. package/dist/nylas-booked-event-card_11.entry-8d3e2019.cjs +1 -0
  68. package/dist/{nylas-booked-event-card_11.entry-802671ee.js → nylas-booked-event-card_11.entry-ccf30d91.js} +138 -107
  69. package/dist/{nylas-form-card.entry-7da9a312.js → nylas-form-card.entry-481ede48.js} +2 -2
  70. package/dist/{nylas-form-card.entry-59a837c9.cjs → nylas-form-card.entry-58162c72.cjs} +1 -1
  71. package/dist/{nylas-notification_2.entry-b16bb805.js → nylas-notification_2.entry-7d3ed3b0.js} +1 -1
  72. package/dist/{nylas-notification_2.entry-8f8bad34.cjs → nylas-notification_2.entry-dffa3ff6.cjs} +1 -1
  73. package/dist/{nylas-scheduler-editor.entry-e33e11fb.cjs → nylas-scheduler-editor.entry-9744694a.cjs} +2 -2
  74. package/dist/{nylas-scheduler-editor.entry-cbe3e1e3.js → nylas-scheduler-editor.entry-aa079dff.js} +5 -5
  75. package/dist/nylas-scheduling.entry-7441979c.js +988 -0
  76. package/dist/nylas-scheduling.entry-b1fcb48f.cjs +1 -0
  77. package/dist/{person-icon.entry-6232e6fd.js → person-icon.entry-23a69633.js} +1 -1
  78. package/dist/{person-icon.entry-beb26b48.cjs → person-icon.entry-acf4d22b.cjs} +1 -1
  79. package/dist/{play-icon.entry-16a1c1ac.js → play-icon.entry-4e7884d4.js} +1 -1
  80. package/dist/{play-icon.entry-9060d0d8.cjs → play-icon.entry-aa088180.cjs} +1 -1
  81. package/dist/{radio-button-group.entry-5a3728cd.js → radio-button-group.entry-243d7988.js} +1 -1
  82. package/dist/{radio-button-group.entry-6935c39d.cjs → radio-button-group.entry-cea225c8.cjs} +1 -1
  83. package/dist/react.cjs +1 -1
  84. package/dist/react.js +1 -1
  85. package/dist/{refresh-icon.entry-2411b2e1.cjs → refresh-icon.entry-96cb008f.cjs} +1 -1
  86. package/dist/{refresh-icon.entry-4f56e72b.js → refresh-icon.entry-d1603555.js} +1 -1
  87. package/dist/{register-component-a1c3d7b4-774feacc.js → register-component-9d4ceee5-46f58baf.js} +1 -1
  88. package/dist/{register-component-a1c3d7b4-97d7a6f5.cjs → register-component-9d4ceee5-6fabc42c.cjs} +1 -1
  89. package/dist/{reply-all-icon.entry-b4b6926b.cjs → reply-all-icon.entry-537f7718.cjs} +1 -1
  90. package/dist/{reply-all-icon.entry-b4b917ec.js → reply-all-icon.entry-6fae7288.js} +1 -1
  91. package/dist/{reply-icon.entry-454545ed.cjs → reply-icon.entry-72fa6e4c.cjs} +1 -1
  92. package/dist/{reply-icon.entry-24f6f4c6.js → reply-icon.entry-ae114e35.js} +1 -1
  93. package/dist/{sent-icon.entry-d9a79336.cjs → sent-icon.entry-30a6ac17.cjs} +1 -1
  94. package/dist/{sent-icon.entry-fa59ce85.js → sent-icon.entry-b10d5e26.js} +1 -1
  95. package/dist/{spam-icon.entry-da39987e.cjs → spam-icon.entry-357aa525.cjs} +1 -1
  96. package/dist/{spam-icon.entry-fb18a08b.js → spam-icon.entry-bed45849.js} +1 -1
  97. package/dist/{star-icon.entry-406472c1.js → star-icon.entry-010349a5.js} +1 -1
  98. package/dist/{star-icon.entry-833f35a7.cjs → star-icon.entry-53c85ebb.cjs} +1 -1
  99. package/dist/{stop-icon.entry-1b6ae838.js → stop-icon.entry-18f650bf.js} +1 -1
  100. package/dist/{stop-icon.entry-3258db59.cjs → stop-icon.entry-20af3bf5.cjs} +1 -1
  101. package/dist/style.css +1 -1
  102. package/dist/{textarea-component.entry-0ae18897.cjs → textarea-component.entry-b19642f1.cjs} +1 -1
  103. package/dist/{textarea-component.entry-569a281e.js → textarea-component.entry-e6120440.js} +1 -1
  104. package/dist/{toggle-switch.entry-dc3f796b.js → toggle-switch.entry-32b0e964.js} +1 -1
  105. package/dist/{toggle-switch.entry-60d75f16.cjs → toggle-switch.entry-becdda2c.cjs} +1 -1
  106. package/dist/{translate-icon.entry-297cf20f.js → translate-icon.entry-2308a8e4.js} +1 -1
  107. package/dist/{translate-icon.entry-c183ecb5.cjs → translate-icon.entry-7cb7a479.cjs} +1 -1
  108. package/dist/{trash-fill-icon.entry-3d8a2e5e.js → trash-fill-icon.entry-7f410c82.js} +1 -1
  109. package/dist/{trash-fill-icon.entry-94d4f66c.cjs → trash-fill-icon.entry-c70b9326.cjs} +1 -1
  110. package/dist/{underline-icon.entry-50d1e766.cjs → underline-icon.entry-23f478f3.cjs} +1 -1
  111. package/dist/{underline-icon.entry-4a9105c7.js → underline-icon.entry-58ef1a9f.js} +1 -1
  112. package/package.json +2 -2
  113. package/dist/calendar-agenda-fill-icon_36.entry-59c0a997.cjs +0 -6
  114. package/dist/calendar-check-icon_2.entry-f9b50bb8.js +0 -26
  115. package/dist/index-f769bc2a.cjs +0 -118
  116. package/dist/nylas-booked-event-card_11.entry-74fba802.cjs +0 -1
  117. package/dist/nylas-scheduling.entry-4223e50b.cjs +0 -1
  118. package/dist/nylas-scheduling.entry-6fb094a8.js +0 -968
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-dc6efb5e.cjs"),X=require("./abstract-provider-bdb7d9b4-12a95387.cjs"),x=require("./feedbackSync-b9c9e719-bee3fea1.cjs"),U=require("./index.es-ccb2a286-9a2c0934.cjs"),A=require("./constants-f51538ef-cd2a67c4.cjs");require("react");require("react/jsx-runtime");require("react-dom");class Z{constructor(){this.component=e=>{const n=x.ErrorCategory.Component,o=`${e} Error`;return{endtime_not_in_future:(i='"endtime" can not be in the future')=>({title:o,message:i,category:n}),no_booking_info:(i="No booking info provided")=>({title:o,message:i,category:n}),no_timeslot_selected:(i="No timeslot selected")=>({title:o,message:i,category:n}),no_timezone_selected:(i="No timezone selected")=>({title:o,message:i,category:n}),no_booking_id:(i="No booking id provided")=>({title:o,message:i,category:n}),no_salt:(i="No salt provided")=>({title:o,message:i,category:n}),invalid_start_time:(i="Invalid start time")=>({title:o,message:i,category:n}),invalid_end_time:(i="Invalid end time")=>({title:o,message:i,category:n}),invalid_timezone:(i="Invalid timezone")=>({title:o,message:i,category:n}),no_config_id:(i="No configuration id provided")=>({title:o,message:i,category:n})}},this.api=e=>{const n=x.ErrorCategory.Api,o=`${e} Error`;return{invalid_session:i=>({title:o,message:i,category:n}),general_error:i=>({title:o,message:i,category:n}),internal_error:i=>({title:o,message:i,category:n}),invalid_request_error:i=>({title:o,message:i,category:n}),timeslot_not_available:i=>({title:o,message:i,category:n}),provider_error:i=>({title:o,message:i,category:n}),not_found_error:i=>({title:o,message:i,category:n})}}}}class K{constructor({schedulerAPIURL:e,schedulerStore:n,sessionId:o,configId:i,slug:a,clientId:r}){this.errors=new Z,this.schedulerStore=n,this.schedulerAPIURL=e,this.sessionId=o,this.configId=i,this.slug=a,this.clientId=r}getHeaders(){return this.sessionId?{Authorization:`Bearer ${this.sessionId}`}:{}}async makeAPIRequest(e,n,o,i={}){try{const a=new URL(this.schedulerAPIURL),r="2.0.2";return a.pathname=e,await(await fetch(decodeURIComponent(a.toString()),{method:n,headers:{"Content-Type":"application/json",Origin:window.location.origin,"X-Source":"nylas-scheduling","X-Nylas-Web-Elements-Version":r,...i},body:o})).json()}catch(a){return{error:{message:a.message,title:"API request failed",type:"api"}}}}getErrorMessage(e){var o,i,a,r;let n=(e==null?void 0:e.message)||(e==null?void 0:e.title)||"Something went wrong";return(e==null?void 0:e.type)==="provider_error"&&(n=((i=(o=e==null?void 0:e.provider_error)==null?void 0:o.error)==null?void 0:i.message)||((r=(a=e==null?void 0:e.provider_error)==null?void 0:a.error)==null?void 0:r.title)||"Something went wrong"),n}setConfigId(e){this.configId=e}selectDate(e){this.schedulerStore.set("selectedDate",e),this.schedulerStore.set("selectedTimeslot",null)}selectTime(e){this.schedulerStore.set("selectedTimeslot",e)}selectTimezone(e){this.schedulerStore.set("selectedTimezone",e)}selectLanguage(e){this.schedulerStore.set("selectedLanguage",e),t.instance.changeLanguage(e)}async toggleAdditionalData(e){e||await this.refetchAvailability(),this.schedulerStore.set("showBookingForm",e)}setParticipantName(e){const{bookingInfo:n}=this.schedulerStore.state;this.schedulerStore.set("bookingInfo",{...n,primaryParticipant:{...n==null?void 0:n.primaryParticipant,name:e}})}setParticipantEmail(e){const{bookingInfo:n}=this.schedulerStore.state;this.schedulerStore.set("bookingInfo",{...n,primaryParticipant:{...n==null?void 0:n.primaryParticipant,email:e}})}async refetchAvailability(){const e=new Date,n=new Date(e.getFullYear(),e.getMonth(),1).getTime()/1e3,o=n<e.getTime()/1e3?Math.floor(e.getTime()/1e3):n,i=new Date(e.getFullYear(),e.getMonth()+1,1).getTime()/1e3;return await this.getAvailability(o,i)}async resetStoreStateAndFetchAvailability(){const e=new Date,n=await this.refetchAvailability(),o=this.schedulerStore.get("availability").find(a=>new Date(a.start_time)>new Date);let i=e;return o&&(i=o.start_time),this.schedulerStore.set("selectedDate",i),this.schedulerStore.set("eventInfo",null),this.schedulerStore.set("showBookingForm",!1),this.schedulerStore.set("selectedTimeslot",null),n}async setReschedule(e){this.schedulerStore.set("isLoading",!0);const n=this.schedulerStore.state.eventInfo;return n&&this.schedulerStore.set("reschedulingEventInfo",n),this.schedulerStore.set("rescheduleBookingId",e),await this.getUISettings(),await this.resetStoreStateAndFetchAvailability().finally(()=>{this.schedulerStore.set("isLoading",!1)})}async setCancel(e){this.schedulerStore.set("cancelBookingId",e)}async setReject(e){this.schedulerStore.set("rejectBookingId",e)}async resetCancel(){const e=await this.resetStoreStateAndFetchAvailability();return this.schedulerStore.set("cancelBookingId",""),this.schedulerStore.set("rejectBookingId",""),this.schedulerStore.set("cancelledEventInfo",null),e}async goBack(){this.schedulerStore.set("cancelBookingId","")}async resetConfirm(){const e=await this.resetStoreStateAndFetchAvailability();return this.schedulerStore.set("organizerConfirmationBookingId",""),this.schedulerStore.set("confirmedEventInfo",void 0),e}async bookTimeslot(e){var E,I,B;this.schedulerStore.set("isLoading",!0);const{selectedTimeslot:n,selectedTimezone:o,bookingInfo:i,selectedLanguage:a}=this.schedulerStore.state;if(!e&&!i)return{error:this.errors.component(t.instance.t("createBookingErrorTitle")).no_booking_info()};const r=(e==null?void 0:e.timeslot)||n;if(!r)return{error:this.errors.component(t.instance.t("createBookingErrorTitle")).no_timeslot_selected()};const l=e&&(e!=null&&e.timezone)?e==null?void 0:e.timezone:o,d=a||"en-US";if(!l)return{error:this.errors.component(t.instance.t("createBookingErrorTitle")).no_timezone_selected()};const p=[...this.schedulerStore.get("availabilityOrderEmails")];let c="";const h=(r==null?void 0:r.emails)||[],u={};Object.entries((i==null?void 0:i.additionalFields)||{}).forEach(([_,L])=>{u[_]=L.value});const b=e?e==null?void 0:e.primaryParticipant:i==null?void 0:i.primaryParticipant,f=e?(e==null?void 0:e.guests)||[]:(i==null?void 0:i.guests)||[],y=e?e==null?void 0:e.additionalFields:u,m=this.getHeaders(),k=`/v3/scheduling/bookings${!this.sessionId&&this.configId?`?configuration_id=${this.configId}`:!this.sessionId&&this.slug&&this.clientId?`?slug=${this.slug}&client_id=${this.clientId}`:""}`;if(p.length===0){const _=await this.makeAPIRequest(decodeURIComponent(k),"POST",JSON.stringify({additional_fields:y,additional_guests:f,guest:{...b},start_time:r.start_time.getTime()/1e3,end_time:r.end_time.getTime()/1e3,timezone:l,event_id:(r==null?void 0:r.event_id)||void 0,master_id:(r==null?void 0:r.master_id)||void 0,calendar_id:(r==null?void 0:r.calendar_id)||void 0,email_language:this.getTwoLetterLanguageCode(d)}),m);return this.schedulerStore.set("isLoading",!1),"data"in _?(this.schedulerStore.set("eventInfo",_.data),_):{error:_.error}}for(;p.length>0;){if(c=p.shift(),!h.includes(c))continue;const _=await this.makeAPIRequest(decodeURIComponent(k),"POST",JSON.stringify({participants:c?[{email:c}]:void 0,additional_fields:y,additional_guests:f,guest:{...b},start_time:r.start_time.getTime()/1e3,end_time:r.end_time.getTime()/1e3,timezone:l,email_language:this.getTwoLetterLanguageCode(d)}),m);if("data"in _)return this.schedulerStore.set("isLoading",!1),this.schedulerStore.set("eventInfo",_==null?void 0:_.data),_;if((I=(E=_.error)==null?void 0:E.message)!=null&&I.startsWith("The selected timeslot is unavailable"))continue;{this.schedulerStore.set("isLoading",!1);const L=(B=_.error)==null?void 0:B.type;let F=_.error;if(L&&L in this.errors.api(t.instance.t("createBookingErrorTitle"))){const R=this.getErrorMessage(F);F=this.errors.api(t.instance.t("createBookingErrorTitle"))[L](R)}return{error:F}}}return this.schedulerStore.set("isLoading",!1),{error:this.errors.api(t.instance.t("createBookingErrorTitle")).timeslot_not_available("The selected timeslot is unavailable")}}async getUISettings(){var r;this.schedulerStore.set("isLoading",!0);const e=this.schedulerStore.get("rescheduleBookingId"),n=this.getHeaders();let o=!this.sessionId&&this.configId?`?configuration_id=${this.configId}`:!this.sessionId&&this.slug&&this.clientId?`?slug=${this.slug}&client_id=${this.clientId}`:"";e&&o?o+=`&booking_id=${e}`:e&&(o+=`?booking_id=${e}`);const i=`/v3/scheduling/ui-settings${o}`,a=await this.makeAPIRequest(i,"GET",void 0,n);if("error"in a){this.schedulerStore.set("isLoading",!1);const l=(r=a.error)==null?void 0:r.type;let d=a.error;return l&&l in this.errors.api(t.instance.t("getUISettingErrorTitle"))&&(d=this.errors.api(t.instance.t("getUISettingErrorTitle"))[l]((d==null?void 0:d.message)||(d==null?void 0:d.title)||"Something went wrong")),{error:d}}return"data"in a&&this.schedulerStore.set("configSettings",a.data),this.schedulerStore.set("isLoading",!1),a}getTwoLetterLanguageCode(e){return e.split("-")[0]}getStartTimeWithMinBookingNotice(e){var a;const n=(a=this.schedulerStore.get("configSettings"))==null?void 0:a.scheduler,o=n==null?void 0:n.min_booking_notice;if(!o)return e;const i=new Date().getTime();return e<(i+o*60*1e3)/1e3?Math.floor((i+o*60*1e3)/1e3):e}getEndTimeForAvailableDaysInFuture(e){var r,l;const n=new Date,o=(l=(r=this.schedulerStore.get("configSettings"))==null?void 0:r.scheduler)==null?void 0:l.available_days_in_future,i=Math.floor(t.addDaysToCurrentDate(n,o).getTime()/1e3);return Math.min(i,e)}async getAvailability(e=0,n=0){var u,b,f,y;this.schedulerStore.set("isLoading",!0);const o=new URLSearchParams,i=new Date,a=i.getTime();if(n&&n<a/1e3)return this.schedulerStore.set("isLoading",!1),{error:this.errors.component(t.instance.t("getAvailabilityErrorTitle")).endtime_not_in_future()};if(!e){const m=new Date(i.getFullYear(),i.getMonth(),1);e=Math.floor(m.getTime()/1e3)}if(!n){const m=new Date(i.getFullYear(),i.getMonth()+1,0);n=Math.floor(m.getTime()/1e3)}n=this.getEndTimeForAvailableDaysInFuture(n);const r=this.getStartTimeWithMinBookingNotice(e);e=r,n=r>n?r+1:n,o.append("start_time",encodeURIComponent(e.toString())),o.append("end_time",encodeURIComponent(n.toString())),this.configId&&!this.sessionId?o.append("configuration_id",encodeURIComponent(this.configId)):this.slug&&this.clientId&&!this.sessionId&&(o.append("slug",encodeURIComponent(this.slug)),o.append("client_id",encodeURIComponent(this.clientId)));const l=this.schedulerStore.get("rescheduleBookingId");l&&o.append("booking_id",encodeURIComponent(l));const d=o.toString(),p=`/v3/scheduling/availability${d?`?${d}`:""}`,c=this.getHeaders(),h=await this.makeAPIRequest(decodeURIComponent(p),"GET",void 0,c);if("error"in h){this.schedulerStore.set("availability",[]),this.schedulerStore.set("isLoading",!1);const m=(u=h.error)==null?void 0:u.type;let v=h.error;if(m&&m in this.errors.api(t.instance.t("getAvailabilityErrorTitle"))){const k=this.getErrorMessage(v);v=this.errors.api(t.instance.t("getAvailabilityErrorTitle"))[m](k)}return{error:v}}if("data"in h){const k=(((f=(b=h.data)==null?void 0:b.time_slots)==null?void 0:f.map(I=>({...I,start_time:new Date(I.start_time*1e3),end_time:new Date(I.end_time*1e3)})))||[]).filter(I=>I.start_time.getTime()>a).sort((I,B)=>I.start_time.getTime()-B.start_time.getTime());this.schedulerStore.set("availability",k);const E=((y=h.data)==null?void 0:y.order)||[];this.schedulerStore.set("availabilityOrderEmails",E)}return this.schedulerStore.set("isLoading",!1),h}async cancelBooking(e,n){var l;if(this.schedulerStore.set("isLoading",!0),!e)return{error:this.errors.component(t.instance.t("cancelBookingErrorTitle")).no_booking_id()};const o=!this.sessionId&&this.configId?`?configuration_id=${this.configId}`:!this.sessionId&&this.slug&&this.clientId?`?slug=${this.slug}&client_id=${this.clientId}`:"",i=`/v3/scheduling/bookings/${e}${o}`,a=this.getHeaders(),r=await this.makeAPIRequest(decodeURIComponent(i),"DELETE",JSON.stringify({action:"cancel",cancellation_reason:n}),a);if("error"in r){this.schedulerStore.set("isLoading",!1);const d=(l=r.error)==null?void 0:l.type;let p=r.error;if(d&&d in this.errors.api(t.instance.t("cancelBookingErrorTitle"))){const c=this.getErrorMessage(p);p=this.errors.api(t.instance.t("cancelBookingErrorTitle"))[d](c)}return{error:p}}return this.schedulerStore.set("cancelledEventInfo",{booking_id:e}),this.schedulerStore.set("rescheduleBookingId",""),this.schedulerStore.set("isLoading",!1),r}async rescheduleBooking(e,n){var P;if(this.schedulerStore.set("isLoading",!0),!e)return{error:this.errors.component(t.instance.t("rescheduleBookingErrorTitle")).no_booking_id()};const o=this.errors.api(t.instance.t("rescheduleBookingErrorTitle")),i=this.errors.component(t.instance.t("rescheduleBookingErrorTitle")),{bookingInfo:a,selectedTimeslot:r,selectedTimezone:l,selectedLanguage:d}=this.schedulerStore.state,{startTime:p,endTime:c,timezone:h}=n,u=p||(r==null?void 0:r.start_time);if(!u)return{error:i.invalid_start_time('Please pass "startTime" in data or set "selectedTimeslot" in the defaultSchedulerState.')};const b=c||(r==null?void 0:r.end_time);if(!b)return{error:i.invalid_end_time('Please pass "endTime" in data or set "selectedTimeslot" in the defaultSchedulerState.')};const f=this.schedulerStore.get("availabilityOrderEmails");let y="";if(f.length>0){const S=(r==null?void 0:r.emails)||[];for(let w=0;w<f.length;w++)if(S.includes(f[w])){y=f[w];break}}const m=h||l;if(!m)return{error:i.invalid_timezone('Please pass "timezone" in data or set "selectedTimezone" in the defaultSchedulerState.')};const v=(r==null?void 0:r.event_id)||void 0,k=(r==null?void 0:r.master_id)||void 0,E=(r==null?void 0:r.calendar_id)||void 0,I={};Object.entries((a==null?void 0:a.additionalFields)||{}).forEach(([S,w])=>{I[S]=w.value});const B=n?n==null?void 0:n.primaryParticipant:a==null?void 0:a.primaryParticipant,_=n?(n==null?void 0:n.guests)||[]:(a==null?void 0:a.guests)||[],L=n?n==null?void 0:n.additionalFields:I,F=!this.sessionId&&this.configId?`?configuration_id=${this.configId}`:!this.sessionId&&this.slug&&this.clientId?`?slug=${this.slug}&client_id=${this.clientId}`:"",R=`/v3/scheduling/bookings/${e}${F}`,M=this.getHeaders(),T=await this.makeAPIRequest(decodeURIComponent(R),"PATCH",JSON.stringify({start_time:u.getTime()/1e3,end_time:b.getTime()/1e3,timezone:m,additional_fields:L,guest:{...B},additional_guests:_,participants:y?[{email:y}]:void 0,email_language:this.getTwoLetterLanguageCode(d),event_id:v,master_id:k,calendar_id:E}),M);if("error"in T){this.schedulerStore.set("isLoading",!1);const S=(P=T.error)==null?void 0:P.type;let w=T.error;if(S&&S in o){const D=this.getErrorMessage(w);w=o[S](D)}return{error:w}}const g=this.schedulerStore.get("reschedulingEventInfo");if("data"in T)this.schedulerStore.set("eventInfo",T==null?void 0:T.data);else if(g)this.schedulerStore.set("eventInfo",g);else{const S={booking_id:e};this.schedulerStore.set("eventInfo",S)}return this.schedulerStore.set("isLoading",!1),T}async updateBooking(e){var h;this.schedulerStore.set("isLoading",!0);const{bookingId:n,status:o,reason:i}=e,a=this.schedulerStore.get("organizerConfirmationSalt"),r=o==="confirmed"?t.instance.t("confirmBookingErrorTitle"):t.instance.t("rejectBookingErrorTitle");if(!n)return{error:this.errors.component(r).no_booking_id()};if(!a)return{error:this.errors.component(r).no_salt()};const l=!this.sessionId&&this.configId?`?configuration_id=${this.configId}`:!this.sessionId&&this.slug&&this.clientId?`?slug=${this.slug}&client_id=${this.clientId}`:"",d=`/v3/scheduling/bookings/${n}${l}`,p=this.getHeaders(),c=await this.makeAPIRequest(decodeURIComponent(d),"PUT",JSON.stringify({status:o,cancellation_reason:i,salt:a}),p);if("error"in c){this.schedulerStore.set("isLoading",!1);const u=(h=c.error)==null?void 0:h.type;let b=c.error;if(u&&u in this.errors.api(r)){const f=this.getErrorMessage(b);b=this.errors.api(r)[u](f)}return{error:b}}return"data"in c&&o==="confirmed"?this.schedulerStore.set("confirmedEventInfo",c==null?void 0:c.data):"request_id"in c&&o==="cancelled"&&this.schedulerStore.set("cancelledEventInfo",{booking_id:n}),this.schedulerStore.set("organizerConfirmationBookingId",""),this.schedulerStore.set("isLoading",!1),c}async validateGroupEventTimeslot(e){var r,l;this.schedulerStore.set("isLoading",!0);const n=(r=this.schedulerStore.get("configSettings"))==null?void 0:r.configuration_id;if(!n)return{error:this.errors.component(t.instance.t("validateTimeslotErrorTitle")).no_config_id()};const o=this.getHeaders(),i=`/v3/scheduling/configurations/${n}/group-events/validate-timeslot`,a=await this.makeAPIRequest(decodeURIComponent(i),"POST",JSON.stringify({...e,start_time:e.start_time.getTime()/1e3,end_time:e.end_time.getTime()/1e3}),o);if("error"in a){this.schedulerStore.set("isLoading",!1);const d=(l=a.error)==null?void 0:l.type;let p=a.error;if(d&&d in this.errors.api(t.instance.t("validateTimeslotErrorTitle"))){const c=this.getErrorMessage(p);p=this.errors.api(t.instance.t("validateTimeslotErrorTitle"))[d](c)}return this.refetchAvailability(),{error:p}}return this.schedulerStore.set("selectedTimeslot",e),this.schedulerStore.set("showBookingForm",!0),this.schedulerStore.set("isLoading",!1),a}}class Q{constructor({schedulerAPIURL:e,nylasSchedulerStore:n,sessionId:o,configId:i,slug:a,clientId:r}){if(!e)throw new Error("schedulerAPIURL is required");if(!n)throw new Error("nylasSchedulerStore is required");if(!o&&!i&&!(a||r))throw new Error("sessionId is required for private configs. If using public config either pass a configurationId or a combination of slug and clientId.");e==="/"&&(e=new URL(window.location.href).origin),this.configId=i,this.sessionId=o,this.schedulerAPIURL=e,this.nylasSchedulerStore=n,this.slug=a,this.clientId=r}init(){t.debug("NylasConnector init")}get schedulerStore(){return this.nylasSchedulerStore}get scheduler(){return this._schedulerAPIConnector?this._schedulerAPIConnector:(this._schedulerAPIConnector=new K({schedulerAPIURL:this.schedulerAPIURL,schedulerStore:this.schedulerStore,sessionId:this.sessionId,configId:this.configId,slug:this.slug,clientId:this.clientId}),this._schedulerAPIConnector)}resetStores(){this.nylasSchedulerStore.reset()}}function V(s={}){const e={selectedDate:null,selectedLanguage:navigator.language,selectedTimezone:Intl.DateTimeFormat().resolvedOptions().timeZone,selectedTimeslot:null,showBookingForm:!1,availabilityOrderEmails:[],selectableDates:null,availability:[],eventDuration:0,state:"ready",eventInfo:null,cancelledEventInfo:null,isLoading:!1,nylasBranding:!0,...s};t.debug("[defaultNylasStoreState]: ",e);const n=t.createStore(e);return n.onChange("availability",o=>{t.debug("[availability]: ",o);const i=o.map(l=>l.start_time);t.debug("[selectableDates]: ",i),n.set("selectableDates",i);const a=o[0];if(!a)return;const r=Math.floor((a.end_time.getTime()-a.start_time.getTime())/6e4);t.debug("[durationMinutes]: ",r),n.set("eventDuration",r)}),n.reset=()=>{for(const o in e){const i=e[o];n.set(o,i)}},n}const O=(s,e)=>{const n=s.isLoading,o=s.showNotification,i=s.nylasBranding,a=s.version;return t.h(t.Fragment,null,o&&t.h("nylas-notification",null),n&&t.h("div",{class:"loading"},t.h("div",{class:"left"},t.h("div",{class:"skeleton"})),t.h("div",{class:"right"},t.h("div",{class:"skeleton"}),t.h("div",{class:"skeleton"}),t.h("div",{class:"skeleton"}),t.h("div",{class:"skeleton"}),t.h("div",{class:"skeleton"}))),!n&&e,t.h("div",{class:"footer"},i&&t.h("a",{href:"https://scheduler.nylas.com?utm_source=powered-by-nylas-logoutm_medium=link&utm_campaign=get-scheduler&utm_id=get-scheduler",class:"powered-by-nylas",target:"_blank",rel:"noreferrer noopener"},"Powered by ",t.h("span",{class:"sr-only"},"Nylas"),t.h("nylas-logo",{"aria-hidden":!0})),t.h("tooltip-component",null,t.h("info-icon",{slot:"tooltip-icon"}),t.h("span",{slot:"tooltip-content"},a))))},W=(s,e)=>t.h("div",{class:"message-banner"},e),ee=':host{display:flex;flex-direction:column;overflow:visible;border-radius:var(--nylas-border-radius-2x);width:fit-content;background:var(--nylas-base-0);position:relative;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.05), 0px 8px 16px -2px rgba(0, 0, 0, 0.1);--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;font-family:var(--nylas-font-family);font-optical-sizing:auto;font-style:normal;font-variation-settings:"slnt" 0}@media screen and (max-width: 768px){:host{width:auto;min-width:325px}}:root{font-family:inherit}.error{padding:8rem 12rem;color:var(--nylas-base-0);background-color:var(--nylas-error);margin:1.5rem;border-radius:var(--nylas-border-radius-2x)}.message-banner{text-align:right;color:var(--nylas-base-800);padding:1rem;border-bottom:1px solid var(--nylas-color-primary-200);margin:0}.loading{margin:1.5rem;display:flex;gap:1rem}.loading .skeleton{border-radius:var(--nylas-border-radius-2x);animation:pulsate 1.5s infinite}.loading .skeleton:nth-child(2){animation-delay:-100ms}.loading .skeleton:nth-child(3){animation-delay:-200ms}.loading .skeleton:nth-child(4){animation-delay:-300ms}.loading .skeleton:nth-child(5){animation-delay:-400ms}.loading .left .skeleton{height:100%;width:400px}.loading .right .skeleton{height:5rem;width:300px;margin-bottom:1rem}.loading .right .skeleton:last-child{margin-bottom:0}@keyframes pulsate{0%{background-color:var(--nylas-base-50)}50%{background-color:var(--nylas-base-100)}100%{background-color:var(--nylas-base-50)}}.select-date-page,.additional-data-page,.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{border-top-left-radius:var(--nylas-border-radius-2x);border-top-right-radius:var(--nylas-border-radius-2x)}.select-date-page,.additional-data-page{display:flex}@media screen and (max-width: 768px){.select-date-page,.additional-data-page{flex-direction:column}}.booked-event-page,.manual-confirmation-page{background-color:var(--nylas-base-50)}.cancelled-event-page,.manual-confirmation-page,.cancel-flow-page{padding:1rem;height:496px;display:flex;justify-content:center;align-items:center}.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:784px;background:var(--nylas-base-50)}@media screen and (max-width: 768px){.booked-event-page,.manual-confirmation-page,.cancelled-event-page,.cancel-flow-page{min-width:90%}}.left-panel{display:flex;flex-direction:column;min-width:424px;border-top-left-radius:inherit;background:var(--nylas-base-0);position:relative;padding:1rem 0 0 0;height:624px}@media screen and (max-width: 768px){.left-panel{border-top-right-radius:inherit;min-width:unset;height:auto}}@media screen and (max-width: 768px){.select-date-page .left-panel{height:624px}}.border{margin-left:-20px;margin-right:-20px;border-top-width:1px;height:0.5px;background-color:var(--nylas-base-200)}@media screen and (max-width: 768px){.border{display:none}}.right-panel{min-width:360px;width:360px;background-color:var(--nylas-base-50);height:624px;padding-top:16px;border-left:1px solid var(--nylas-base-200);border-top-right-radius:inherit}.right-panel.reschedule{border-top-right-radius:0px}@media screen and (max-width: 768px){.right-panel{border-top-right-radius:0px;width:inherit;min-width:unset;height:auto;border-left:none}}.right-panel h2{display:flex;margin:0;height:48px;gap:0.5rem;justify-content:center;align-items:center;width:auto;font-size:1.125rem;line-height:1.5rem;font-weight:500;text-align:center;color:var(--nylas-base-800)}.additional-data-page .left-panel{background-color:var(--nylas-base-50)}.additional-data-page .right-panel{background-color:var(--nylas-base-0)}nylas-selected-event-card{height:604px;padding:0 1rem}@media screen and (max-width: 768px){nylas-selected-event-card{height:250px}}.footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:16px;font-size:14px;font-weight:300;color:var(--nylas-base-500);border-top:1px solid var(--nylas-base-200);min-height:24px}.footer .powered-by-nylas{display:flex;align-items:center;text-decoration:none;color:var(--nylas-base-500)}.footer .powered-by-nylas:hover{color:var(--nylas-base-800)}.footer svg{fill:var(--nylas-base-500)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.footer svg{margin-top:1px}nylas-selected-event-card::part(nsec__timezone){position:absolute;bottom:0}nylas-notification{margin:1.5rem;width:-webkit-fill-available;width:-moz-available;position:absolute}nylas-locale-switch{position:absolute;padding:18px 20px;bottom:0;width:-webkit-fill-available;width:-moz-available;border-top:1px solid var(--nylas-base-200)}@media screen and (max-width: 768px){nylas-locale-switch{height:auto}}nylas-date-picker{padding:0 20px}button-component#report-issue{width:auto;position:absolute;bottom:4px;left:16px}.language-feedback-container{width:auto;position:absolute;bottom:4px;left:16px;display:flex;gap:8px;align-items:center}.language-feedback-container button-component#report-issue{position:initial}nylas-feedback-form{position:absolute;top:0;height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:rgba(0, 0, 0, 0.6);z-index:2;border-radius:inherit}',te=ee,G={title:t.instance.t("genericErrorTitle"),type:U.nr.Error,category:x.ErrorCategory.Component},J=class{constructor(s){t.registerInstance(this,s),this.init=t.createEvent(this,"init",7),this.schedulerWillLoad=t.createEvent(this,"schedulerWillLoad",7),this.schedulerDidLoad=t.createEvent(this,"schedulerDidLoad",7),this.nylasSchedulerError=t.createEvent(this,"nylasSchedulerError",7),this.nylasSchedulerInfo=t.createEvent(this,"nylasSchedulerInfo",7),this.configSettingsLoaded=t.createEvent(this,"configSettingsLoaded",7),this.bookingRefExtracted=t.createEvent(this,"bookingRefExtracted",7),this.bookedEventInfo=t.createEvent(this,"bookedEventInfo",7),this.mode="app",this.defaultSchedulerState=void 0,this.sessionId=void 0,this.schedulerApiUrl="https://api.us.nylas.com",this.bookingInfo=void 0,this.rescheduleBookingRef=void 0,this.cancelBookingRef=void 0,this.organizerConfirmationBookingRef=void 0,this.configurationId=void 0,this.slug=void 0,this.clientId=void 0,this.nylasBranding=!0,this.eventOverrides={},this.isLoading=void 0,this.themeConfig=void 0,this.localization=void 0,this.defaultLanguage=void 0,this.showNotification=!0,this.enableUserFeedback=!0,this.hour12=void 0,this.automaticComponentRegistration=!0,this.selectedDateLabel=new Date().toLocaleDateString(navigator.language,{dateStyle:"full"})||`${t.instance.t("noDateSelected")}`,this.refConfigId=void 0,this.language=navigator.language,this.showFeedbackModal=!1,this.bookingInfoConfirmed=null,this.version="2.0.2"}connectedCallback(){t.debug("[nylas-scheduler] connectedCallback")}async componentWillLoad(){var l,d,p;t.debug("[nylas-scheduler] Component will load"),this.version="2.0.2",this.enableUserFeedback&&!x.isInitialized()&&x.init({dsn:"https://9d5731f1c77ca84c9ed3fb9b3ccf7ee1@o74852.ingest.us.sentry.io/4507889638178816",release:this.version,integrations:c=>[...c.filter(h=>!1),x.feedbackSyncIntegration({colorScheme:"system",autoInject:!1})],autoSessionTracking:!1,beforeSend:()=>null});const s=this.schedulerWillLoad.emit(this.host);if("schedulerWillLoad"in this.eventOverrides&&(await this.eventOverrides.schedulerWillLoad(s,this.nylasSchedulerConnector),s.defaultPrevented))return;const n=new URLSearchParams(window.location.search).get("lang"),o=n&&Object.values(A.LANGUAGE_CODE).includes(n)?n:null;this.stores={scheduler:V({bookingInfo:this.bookingInfo,nylasBranding:this.nylasBranding,themeConfig:this.themeConfig,hour12:this.hour12,selectedLanguage:o||this.defaultLanguage||((l=this.bookingInfo)==null?void 0:l.language)||A.LANGUAGE_CODE.en,...this.defaultSchedulerState})},this.baseProvider=new X.NylasBaseProvider(this.host,this.stores,this.automaticComponentRegistration,this.eventOverrides),this.refConfigId=this.configurationId;let i;if(this.rescheduleBookingRef){const[c,h,u]=t.compactStringToUUIDs(this.rescheduleBookingRef);this.refConfigId=c,this.stores.scheduler.set("rescheduleBookingId",h),i=this.bookingRefExtracted.emit({configurationId:c,bookingId:h})}else if(this.cancelBookingRef){const[c,h,u]=t.compactStringToUUIDs(this.cancelBookingRef);this.refConfigId=c,this.stores.scheduler.set("cancelBookingId",h),i=this.bookingRefExtracted.emit({configurationId:c,bookingId:h})}else if(this.organizerConfirmationBookingRef){const[c,h,u]=t.compactStringToUUIDs(this.organizerConfirmationBookingRef);this.refConfigId=c,this.stores.scheduler.set("organizerConfirmationBookingId",h),this.stores.scheduler.set("organizerConfirmationSalt",u),i=this.bookingRefExtracted.emit({configurationId:c,bookingId:h,salt:u})}if("bookingRefExtracted"in this.eventOverrides&&(await this.eventOverrides.bookingRefExtracted(i,this.nylasSchedulerConnector),i.defaultPrevented)||!this.checkIfSessionIdOrConfigIdExists())return;const a=(d=this.baseProvider)==null?void 0:d.getStore("scheduler");this.nylasSchedulerConnector=new Q({schedulerAPIURL:this.schedulerApiUrl,sessionId:this.sessionId,configId:this.refConfigId,slug:this.slug,clientId:this.clientId,nylasSchedulerStore:a});const r=this.init.emit(this.host);"init"in this.eventOverrides&&(await this.eventOverrides.init(r,this.nylasSchedulerConnector),r.defaultPrevented)||((p=this.baseProvider)==null||p.componentWillLoad(this.nylasSchedulerConnector),this.applyThemeConfig(this.themeConfig))}async componentDidLoad(){var d,p,c,h,u,b,f,y;(d=this.baseProvider)==null||d.componentDidLoad();const s=this.schedulerDidLoad.emit(this.host);if("schedulerDidLoad"in this.eventOverrides&&(await this.eventOverrides.schedulerDidLoad(s,this.nylasSchedulerConnector),s.defaultPrevented)||!this.checkIfSessionIdOrConfigIdExists())return;this.localizationChanged(this.localization);const e=await((p=this.nylasSchedulerConnector)==null?void 0:p.scheduler.getUISettings());if(!e||"error"in e){this.nylasSchedulerError.emit({notification:{...this.getErrorObject(e==null?void 0:e.error)},host:this.host});return}else{"data"in e&&((c=e.data)!=null&&c.appearance)&&console.info("Appearance settings have been returned from the configuration used byt his scheduling page; please remember to grab them from the configSettingsLoaded event and apply them as desired.");const m=this.configSettingsLoaded.emit({settings:e});if("configSettingsLoaded"in this.eventOverrides&&(await this.eventOverrides.configSettingsLoaded(m,this.nylasSchedulerConnector),m.defaultPrevented))return}const n=(h=this.baseProvider)==null?void 0:h.getStore("scheduler"),o=(b=(u=n==null?void 0:n.get("configSettings"))==null?void 0:u.scheduler)==null?void 0:b.available_days_in_future,i=n==null?void 0:n.get("selectedTimeslot");if(i&&(i!=null&&i.start_time)){if(!this.isTimeslotValid(i))return;if(n!=null&&n.get("showBookingForm")){n==null||n.set("selectedDate",i.start_time);return}}const a=n==null?void 0:n.get("selectedDate"),r=n==null?void 0:n.get("availability");let l;if(!(r&&r.length>0)){if(a){const{startTime:m,endTime:v,endTimeForAvailableDaysInFuture:k}=this.validateAvailableDaysInFuture(a,o||30);a.getTime()<k*1e3&&(l=await((y=this.nylasSchedulerConnector)==null?void 0:y.scheduler.getAvailability(m,v)))}else{const m=new Date,{startTime:v,endTime:k,endTimeForAvailableDaysInFuture:E}=this.validateAvailableDaysInFuture(m,o||30);m.getTime()<E*1e3&&(l=await((f=this.nylasSchedulerConnector)==null?void 0:f.scheduler.getAvailability(v,k)))}if((!l||"error"in l)&&this.nylasSchedulerError.emit({notification:{...this.getErrorObject(l==null?void 0:l.error)},host:this.host}),!a){let m=new Date;const v=n==null?void 0:n.get("availability").find(k=>new Date(k.start_time)>new Date);v&&(m=v.start_time),n==null||n.set("selectedDate",m)}}}componentDisconnected(){var s;(s=this.baseProvider)==null||s.componentDisconnected()}bookingInfoChanged(s){var e,n;(e=this.stores)==null||e.scheduler.set("bookingInfo",s),s!=null&&s.language&&!this.defaultLanguage&&((n=this.stores)==null||n.scheduler.set("selectedLanguage",s.language))}rescheduleBookingRefChanged(s){var e,n;if(s){const[o,i]=t.compactStringToUUIDs(s);(e=this.stores)==null||e.scheduler.set("rescheduleBookingId",i),this.refConfigId=o,(n=this.nylasSchedulerConnector)==null||n.scheduler.setConfigId(o)}}cancelBookingRefChanged(s){var e,n;if(s){const[o,i]=t.compactStringToUUIDs(s);(e=this.stores)==null||e.scheduler.set("cancelBookingId",i),this.refConfigId=o,(n=this.nylasSchedulerConnector)==null||n.scheduler.setConfigId(o)}}organizerConfirmationBookingRefChanged(s){var e,n;if(s){const[o,i]=t.compactStringToUUIDs(s);(e=this.stores)==null||e.scheduler.set("organizerConfirmationBookingId",i),this.refConfigId=o,(n=this.nylasSchedulerConnector)==null||n.scheduler.setConfigId(o)}}localizationChanged(s){s&&Object.keys(s).forEach(e=>{e in A.LANGUAGE_CODE&&t.instance.addResourceBundle(e,"translation",s[e],!1,!0)})}defaultLanguageChanged(s){var e;s&&((e=this.stores)==null||e.scheduler.set("selectedLanguage",s),t.instance.changeLanguage(s))}themeConfigChanged(s){var e,n;(n=(e=this.baseProvider)==null?void 0:e.getStore("scheduler"))==null||n.set("themeConfig",s),this.applyThemeConfig(s)}languageChanged(s){const e=s.detail;this.language=e,t.instance.changeLanguage(e)}async registerComponentHandler(s){var e;(e=this.baseProvider)==null||e.registerComponent(s.detail)}async unregisterComponentHandler(s){var e;(e=this.baseProvider)==null||e.unregisterComponent(s.detail)}async monthChangedHandler(s){var r,l,d,p,c,h,u;const e=s.detail,n=(p=(d=(l=(r=this.nylasSchedulerConnector)==null?void 0:r.schedulerStore)==null?void 0:l.get("configSettings"))==null?void 0:d.scheduler)==null?void 0:p.available_days_in_future,{startTime:o,endTime:i,endTimeForAvailableDaysInFuture:a}=this.validateAvailableDaysInFuture(e,n||30);if(!s.defaultPrevented&&o<a&&e.getTime()<a*1e3){const b=await((c=this.nylasSchedulerConnector)==null?void 0:c.scheduler.getAvailability(o,i));(!b||"error"in b)&&this.nylasSchedulerError.emit({notification:{...this.getErrorObject(b==null?void 0:b.error)},host:this.host});const f=(h=this.stores)==null?void 0:h.scheduler.get("selectableDates");f&&f.length>0&&((u=this.stores)==null||u.scheduler.set("selectedDate",f[0]))}}mapToBookingData(s){var r,l,d;const e=(r=this.stores)==null?void 0:r.scheduler.get("selectedTimeslot"),n=(l=this.stores)==null?void 0:l.scheduler.get("selectedLanguage"),o=(d=this.stores)==null?void 0:d.scheduler.get("selectedTimezone"),i=e!=null&&e.start_time?new Date(e==null?void 0:e.start_time).getTime()/1e3:"",a=e!=null&&e.end_time?new Date(e==null?void 0:e.end_time).getTime()/1e3:"";return{additional_guests:s.guests,guest:{...s.primaryParticipant},additional_fields:{...s.additionalFields},start_time:i,end_time:a,email_language:n,timezone:o}}async bookButtonClickedHandler(s){var d,p,c,h;if(s.defaultPrevented)return;const e=s.detail,n=this.mapToBookingData(e);this.bookingInfoConfirmed=e;const i=(p=(d=this.nylasSchedulerConnector)==null?void 0:d.schedulerStore)==null?void 0:p.get("rescheduleBookingId");if(i){const u=await((c=this.nylasSchedulerConnector)==null?void 0:c.scheduler.rescheduleBooking(i,e));(!u||"error"in u)&&this.nylasSchedulerError.emit({notification:{...this.getErrorObject(u==null?void 0:u.error)},host:this.host});const b=u==null?void 0:u.data,f=this.bookedEventInfo.emit({...u,data:{...b,...n}});this.bookingInfoConfirmed={...this.bookingInfoConfirmed,...b},"bookedEventInfo"in this.eventOverrides&&await this.eventOverrides.bookedEventInfo(f,this.nylasSchedulerConnector);return}const a=await((h=this.nylasSchedulerConnector)==null?void 0:h.scheduler.bookTimeslot(e));(!a||"error"in a)&&this.nylasSchedulerError.emit({notification:{...this.getErrorObject(a==null?void 0:a.error)},host:this.host});const r=a==null?void 0:a.data,l=this.bookedEventInfo.emit({...a,data:{...r,...n}});this.bookingInfoConfirmed={...this.bookingInfoConfirmed,...r},"bookedEventInfo"in this.eventOverrides&&await this.eventOverrides.bookedEventInfo(l,this.nylasSchedulerConnector)}dateSelectedHandler(s){const e=s.detail;this.selectedDateLabel=e?e.toLocaleDateString(this.language,{dateStyle:"full"}):`${t.instance.t("noDateSelected")}`}cancelBookedEventErrorHandler(s){this.nylasSchedulerError.emit({notification:{...this.getErrorObject(s.detail.error)},host:this.host})}cancelBookedEventValidationErrorHandler(s){this.nylasSchedulerError.emit({notification:{...this.getErrorObject(s.detail.error)},host:this.host})}rescheduleBookedEventErrorHandler(s){this.nylasSchedulerError.emit({notification:{...this.getErrorObject(s.detail.error)},host:this.host})}confirmBookingErrorHandler(s){this.nylasSchedulerError.emit({notification:{...this.getErrorObject(s.detail.error)},host:this.host})}feedbackModalClosedHandler(){this.showFeedbackModal=!1}eventIsFullHandler(s){const e=s.detail.error;s.detail.type==="error"?this.nylasSchedulerError.emit({notification:{...this.getErrorObject({message:e})},host:this.host}):this.nylasSchedulerInfo.emit({notification:{title:"Event is full",category:x.ErrorCategory.Component,type:U.nr.Info,description:"The event you selected is full. Please try a different time.",id:new Date().getTime().toString(),ttl:3e3},host:this.host})}feedbackSubmittedHandler(s){const n={eventId:x.captureMessage("Scheduling Page User Feedback",{extra:{configId:this.configurationId,slug:this.slug}}),message:s.detail.feedback};x.captureFeedback(n,{includeReplay:!0,captureContext:{tags:{"nylas-web-element":"nylas-scheduling","nylas-web-element-version":this.version,"nylas-config-id":this.configurationId,"nylas-slug":this.slug,"host-url":window.location.href},extra:{configId:this.configurationId,slug:this.slug,version:this.version}}}),this.showFeedbackModal=!1}async getNylasSchedulerStore(){var s;return(s=this.baseProvider)==null?void 0:s.getStore("scheduler")}async getNylasSchedulerConnector(){return this.nylasSchedulerConnector}async getRef(){return this.host}getErrorObject(s){return{title:(s==null?void 0:s.title)||G.title,category:(s==null?void 0:s.category)||G.category,type:U.nr.Error,description:(s==null?void 0:s.message)||"",id:new Date().getTime().toString(),ttl:"none"}}checkIfSessionIdOrConfigIdExists(){if(!this.sessionId&&!this.refConfigId&&!(this.slug&&this.clientId)){let s="";return this.sessionId||(s+=t.instance.t("sessionIdRequiredErrorMessage")),!this.sessionId&&!this.refConfigId&&!(this.slug&&this.clientId)&&(s=t.instance.t("sessionIdRequiredErrorMessage")+" "+t.instance.t("publicConfigErrorMessage")),this.nylasSchedulerError.emit({notification:{title:t.instance.t("schedulingComponentErrorTitle"),category:x.ErrorCategory.Component,type:U.nr.Error,description:s,id:new Date().getTime().toString(),ttl:"none"},host:this.host}),!1}return!0}isTimeslotValid(s){return new Date(s.start_time)<new Date?(this.nylasSchedulerError.emit({notification:{title:t.instance.t("invalidTimeslotErrorTitle"),category:x.ErrorCategory.Component,type:U.nr.Error,description:t.instance.t("invalidTimeslotErrorMessage"),id:new Date().getTime().toString(),ttl:"none"},host:this.host}),!1):!0}validateAvailableDaysInFuture(s,e){const n=new Date,o=new Date(s.getFullYear(),s.getMonth(),1).getTime()/1e3,i=new Date(s.getFullYear(),s.getMonth()+1,1).getTime()/1e3,a=Math.floor(t.addDaysToCurrentDate(n,e).getTime()/1e3),r=Math.min(a,i);return{startTime:o<n.getTime()/1e3?Math.floor(n.getTime()/1e3):o,endTime:r,endTimeForAvailableDaysInFuture:a}}applyThemeConfig(s){if(s)for(const[e,n]of Object.entries(s))this.host.style.setProperty(`${e}`,n)}onFeedbackClick(s){s.preventDefault(),this.showFeedbackModal=!0}redirectToCustomUrl(s){window.location.assign(s)}nylasFormDropdownChangedHandler(s){var o,i;const{name:e,value:n}=s.detail;if(e==="language"){const a=A.LANGUAGE_CODE[n];t.instance.changeLanguage(a),(i=(o=this.stores)==null?void 0:o.scheduler)==null||i.set("selectedLanguage",a)}}render(){var m,v,k,E,I,B,_,L,F,R,M,T;const s=this.mode==="app",e=(m=this.baseProvider)==null?void 0:m.getStore("scheduler"),n=e==null?void 0:e.get("eventInfo"),o=e==null?void 0:e.get("showBookingForm"),i=e==null?void 0:e.get("cancelledEventInfo"),a=e==null?void 0:e.get("cancelBookingId"),r=e==null?void 0:e.get("selectedTimeslot"),l=e==null?void 0:e.get("rescheduleBookingId"),d=e==null?void 0:e.get("organizerConfirmationBookingId"),p=e==null?void 0:e.get("rejectBookingId"),c=e==null?void 0:e.get("confirmedEventInfo"),h=(e==null?void 0:e.get("nylasBranding"))||this.nylasBranding,u=e==null?void 0:e.get("selectedDate"),b=(k=(v=e==null?void 0:e.get("configSettings"))==null?void 0:v.scheduler)==null?void 0:k.confirmation_redirect_url;this.selectedDateLabel=u&&this.language?t.capitalizeFirstLetter(u.toLocaleDateString(this.language,{dateStyle:"full"})):`${t.instance.t("noDateSelected")}`;const f=Object.keys(A.LANGUAGE_MAP).map(g=>({label:A.LANGUAGE_MAP[g],value:g})),y=(e==null?void 0:e.get("selectedLanguage"))||this.defaultLanguage||navigator.language||A.LANGUAGE_CODE.en;if(s&&(a||p)&&!i)return t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},t.h("div",{class:"cancel-flow-page",part:"cancel-flow-page"},t.h("nylas-cancel-booking-form",{selectedTimeslot:r,cancelBookingId:a,rejectBookingId:p,exportparts:"ncbf, ncbf__icon, ncbf__title, ncbf__description, ncbf__reason-textarea, ncbf__button-cta, ncbf__button-outline, ncbf__card"}))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null));if(s&&d)return t.h(t.Host,null,t.h(O,null,t.h("div",{class:"manual-confirmation-page",part:"manual-confirmation-page"},t.h("nylas-organizer-confirmation-card",{organizerConfirmationBookingId:d,exportparts:"nmcc, nmcc__title, nmcc__description, nmcc__button-cta, nmcc__button-outline"}))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null));if(s&&i)return t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},t.h("div",{class:"cancelled-event-page",part:"cancelled-event-page"},t.h("nylas-cancelled-event-card",{cancelledEventInfo:i,exportparts:"ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card"}))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null));if(s&&c)return t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},t.h("div",{class:"cancelled-event-page",part:"confirmed-event-page"},t.h("nylas-confirmed-event-card",{confirmedEventInfo:c,exportparts:"ncec, ncec__icon, ncec__title, ncec__description, ncec__button-outline, ncec__card"}))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null));if(s&&n&&b){const g=(E=this.bookingInfoConfirmed)==null?void 0:E.primaryParticipant,P=(I=this.bookingInfoConfirmed)==null?void 0:I.location,S=(B=this.bookingInfoConfirmed)==null?void 0:B.booking_ref,w=((_=this.bookingInfoConfirmed)==null?void 0:_.additionalFields)||{};if(this.bookingInfo&&typeof((L=this.bookingInfo)==null?void 0:L.additionalFields)<"u"){const z=this.bookingInfo.additionalFields;Object.keys(z).forEach(N=>{!w[N]&&(z!=null&&z[N])&&(w[N]=z[N].value)})}const D=(F=this.stores)==null?void 0:F.scheduler.get("selectedTimeslot"),j=(R=this.stores)==null?void 0:R.scheduler.get("selectedTimezone"),H=(M=this.stores)==null?void 0:M.scheduler.get("selectedLanguage"),$=(T=this.stores)==null?void 0:T.scheduler.get("configSettings"),q=this.configurationId?this.configurationId:$==null?void 0:$.configuration_id,Y=window.location.search,C=new URLSearchParams(Y);C.set("booking_id",n.booking_id),g!=null&&g.name&&C.set("name",g.name),g!=null&&g.email&&C.set("email",g.email),D!=null&&D.start_time&&C.set("start_time",(new Date(D.start_time).getTime()/1e3).toString()),D!=null&&D.end_time&&C.set("end_time",(new Date(D.end_time).getTime()/1e3).toString()),j&&C.set("tz",j),H&&C.set("language",H),w&&C.set("additional_values",JSON.stringify(w)),this.slug&&C.set("page_slug",this.slug),q&&C.set("config_id",q),P&&C.set("location",P),S&&C.set("booking_ref",S),this.redirectToCustomUrl(`${b}?${C.toString()}`);return}if(s&&n)return t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},t.h("div",{class:"booked-event-page",part:"booked-event-page ns_booked-event-page"},t.h("nylas-booked-event-card",{selectedTimeslot:r,eventInfo:n,exportparts:"nbec, nbec__title, nbec__card, nbec__description, nbec__button-outline, nbec__cancel-cta, nbec__reschedule-cta"}))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null));if(s&&(!n||l)&&!o){const g=this.host.querySelector('[slot="timeslot-picker-cta-label"]');return t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},l&&t.h(W,null,`${t.instance.t("rescheduleTitle")}`),t.h("div",{class:"select-date-page",part:"select-date-page ns_select-date-page"},t.h("div",{class:"left-panel",part:"ns_left-panel"},t.h("nylas-date-picker",{exportparts:"ndp, ndp__title, ndp__month-header, ndp__month-button, ndp__day, ndp__date, ndp__date--disabled, ndp__date--selected, ndp__date--current-day, ndp__date--current-month"}),t.h("nylas-locale-switch",{exportparts:"nls, nls__timezone, nls__timezone-dropdown, nls__timezone-drop-button, nls__timezone-drop-button-selected-label, nls__timezone-drop-content, nls__timezone-drop-label, nls__language, nls__language-dropdown, nls__language-drop-button, nls__language-drop-content, nls__language-drop-label"})),t.h("div",{class:`right-panel ${l?"reschedule":""}`,part:`ns_right-panel ${l?"ns_reschedule":""}`},t.h("h2",{part:"ns_right-panel__title"},t.h("calendar-icon",{part:"ns_right-panel__calendar-icon"}),t.h("span",{id:"selectedDate",part:"ns_right-panel__selected-date"},this.selectedDateLabel)),t.h("nylas-timeslot-picker",{exportparts:"ntp, ntp__time-picker-wrapper, ntp__timeslots, ntp__timeslot, ntp__timeslot--selected, ntp__button-primary"},g&&t.h("span",{slot:"timeslot-picker-cta-label"},t.h("slot",{name:"timeslot-picker-cta-label"})))))),this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:P=>this.onFeedbackClick(P)},t.h("feedback-icon",null)),this.showFeedbackModal&&t.h("nylas-feedback-form",null))}return s&&!n&&o?t.h(t.Host,null,t.h(O,{version:this.version,nylasBranding:h,isLoading:this.isLoading,showNotification:this.showNotification},l&&t.h(W,null,`${t.instance.t("rescheduleTitle")}`),t.h("div",{class:"additional-data-page",part:"additional-data-page ns_additional-data-page"},t.h("div",{class:"left-panel ns_left-panel",part:"ns_left-panel"},t.h("div",{class:"wrapper",part:"ns_left-panel__wrapper"},t.h("nylas-selected-event-card",{exportparts:"nsec, nsec__card, nsec__icon, nsec__date, nsec__time, nsec__timezone"}))),t.h("div",{class:`right-panel ${l?"reschedule":""}`,part:`ns_right-panel ${l?"ns_reschedule":""}`},t.h("nylas-booking-form",{exportparts:"nbf, nbf__input-textfield, nbf__button-ghost, nbf__button-outline, nbf__button-primary, nbf__input-wrapper, nbf__checkbox-component, nbf__radio-button-group, nbf__textarea-component, nbf__dropdown, nbf__dropdown-button, nbf__dropdown-content"})))),t.h("div",{class:"language-feedback-container"},this.enableUserFeedback&&t.h("button-component",{id:"report-issue",variant:"basic",onClick:g=>this.onFeedbackClick(g)},t.h("feedback-icon",null)),t.h("select-dropdown",{name:"language",searchPlaceholder:t.instance.t("search"),options:f,withChevron:!1,defaultSelectedOption:f.find(g=>g.value==y),exportparts:"sd_dropdown: nse__language-dropdown, sd_dropdown-button: nse__language-drop-button, sd_dropdown-content: nse__language-drop-content, sd_dropdown_label: nse__language-drop-label"},t.h("span",{slot:"select-icon"},t.h("translate-icon",{width:"20",height:"20"})))),this.showFeedbackModal&&t.h("nylas-feedback-form",null)):t.h(t.Host,null,t.h("slot",null))}get host(){return t.getElement(this)}static get watchers(){return{bookingInfo:["bookingInfoChanged"],rescheduleBookingRef:["rescheduleBookingRefChanged"],cancelBookingRef:["cancelBookingRefChanged"],organizerConfirmationBookingRef:["organizerConfirmationBookingRefChanged"],localization:["localizationChanged"],defaultLanguage:["defaultLanguageChanged"],themeConfig:["themeConfigChanged"]}}};J.style=te;exports.nylas_scheduling=J;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-71f61ea9.js";
1
+ import { r as s, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-person-icon-h{display:flex}",i=s,t=class{constructor(r){e.registerInstance(this,r),this.width="14",this.height="16"}render(){return e.h("svg",{key:"67c72253df839c3d7b5b72ae85e9e86f7663b3e0",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"779bc3c0def7b6781ce745bc1c4abc57d355866d",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-person-icon-h{display:flex}",i=s,t=class{constructor(r){e.registerInstance(this,r),this.width="14",this.height="16"}render(){return e.h("svg",{key:"67c72253df839c3d7b5b72ae85e9e86f7663b3e0",width:this.width,height:this.height,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"779bc3c0def7b6781ce745bc1c4abc57d355866d",d:"M7 0C4.79086 0 3 1.79086 3 4C3 6.20914 4.79086 8 7 8C9.20914 8 11 6.20914 11 4C11 1.79086 9.20914 0 7 0ZM4 4C4 2.34315 5.34315 1 7 1C8.65685 1 10 2.34315 10 4C10 5.65685 8.65685 7 7 7C5.34315 7 4 5.65685 4 4ZM2.00873 9C0.903151 9 0 9.88687 0 11C0 12.6912 0.83281 13.9663 2.13499 14.7966C3.41697 15.614 5.14526 16 7 16C8.85474 16 10.583 15.614 11.865 14.7966C13.1672 13.9663 14 12.6912 14 11C14 9.89557 13.1045 9.00001 12 9.00001L2.00873 9ZM1 11C1 10.4467 1.44786 10 2.00873 10L12 10C12.5522 10 13 10.4478 13 11C13 12.3088 12.3777 13.2837 11.3274 13.9534C10.2568 14.636 8.73511 15 7 15C5.26489 15 3.74318 14.636 2.67262 13.9534C1.62226 13.2837 1 12.3088 1 11Z",fill:"currentColor"}))}};t.style=i;exports.person_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as o, h as t } from "./index-71f61ea9.js";
1
+ import { r as o, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-play-icon-h{display:flex}",r=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"0be83196ef8fbead9f7086dbafd33ccea90ef637",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"d2c346fe88da1566360c9ad3a49144cc8e11634a",d:"M21 12L3 21V3L21 12Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.play_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-play-icon-h{display:flex}",r=s,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"0be83196ef8fbead9f7086dbafd33ccea90ef637",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"d2c346fe88da1566360c9ad3a49144cc8e11634a",d:"M21 12L3 21V3L21 12Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.play_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as a, a as r, h as l, g as o } from "./index-71f61ea9.js";
1
+ import { r as a, a as r, h as l, g as o } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const r=':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}.radio-group{display:flex;flex-direction:column;gap:0.5rem}.radio-group slot[name=label]{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;font-size:16px}.radio-group slot[name=label].error{color:var(--nylas-error)}.radio-group slot[name=label] span.required{color:var(--nylas-error);padding:0 0.25rem}.radio-group slot[name=label] p{margin:0}.radio-group slot[name=label] p.error{color:var(--nylas-error)}.radio-group slot[name=label] .error{color:var(--nylas-error)}.radio-group span.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family)}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary)}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem;margin:0}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}',o=r,a=class{constructor(l){e.registerInstance(this,l),this.nylasFormRadioChanged=e.createEvent(this,"nylasFormRadioChanged",7),this.componentType="radio-group",this.name="radio-group",this.options=[],this.defaultSelectedValue="",this.label=void 0,this.required=!1,this.readOnly=!1,this.selectedValue=void 0,this.error=""}handleDefaultSelectedValueChange(l){this.selectedValue=l}componentDidLoad(){this.selectedValue=this.defaultSelectedValue}handleBookingFormSubmitted(l){if(this.required&&!this.selectedValue){this.error=`${this.label} is required.`;return}this.error&&l.preventDefault()}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}handleChange(l){this.error="",this.selectedValue=l,this.nylasFormRadioChanged.emit({value:l,name:this.name,label:this.label})}render(){return e.h("div",{key:"fbba0552c128bca3f6dab87ac5253129abbc6fdb",class:"radio-group"},e.h("slot",{key:"a7f22a36e69876ae1b0f0d3fe1ca3df18877607d",name:"label"},this.label&&e.h("p",{class:{error:!!this.error}},e.h("span",{class:"label"},this.label),this.required&&e.h("span",{class:"required"},"*"))),this.options.map(l=>e.h("label",null,e.h("div",{class:"radio-option"},e.h("input",{type:"radio",disabled:this.readOnly,readOnly:this.readOnly,title:this.readOnly?"read-only field":void 0,name:this.name,value:l.value,checked:this.selectedValue===l.value,onChange:()=>this.handleChange(l.value)}),e.h("p",null,e.h("span",{class:"title"},l.label),e.h("span",{class:"description"},l.description))))),this.error&&e.h("span",{class:"error help-text"},this.error))}get el(){return e.getElement(this)}static get watchers(){return{defaultSelectedValue:["handleDefaultSelectedValueChange"]}}};a.style=o;exports.radio_button_group=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const r=':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}.radio-group{display:flex;flex-direction:column;gap:0.5rem}.radio-group slot[name=label]{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;font-size:16px}.radio-group slot[name=label].error{color:var(--nylas-error)}.radio-group slot[name=label] span.required{color:var(--nylas-error);padding:0 0.25rem}.radio-group slot[name=label] p{margin:0}.radio-group slot[name=label] p.error{color:var(--nylas-error)}.radio-group slot[name=label] .error{color:var(--nylas-error)}.radio-group span.error{color:var(--nylas-error);font-size:14px;font-weight:400;line-height:20px;font-family:var(--nylas-font-family)}.radio-group label{display:flex;font-family:var(--nylas-font-family);cursor:pointer}.radio-group label .radio-option{display:flex;align-items:flex-start;gap:0.5rem}.radio-group label .radio-option input[type=radio]{cursor:pointer}.radio-group label .radio-option input[type=radio i]{width:20px;height:20px;color:var(--nylas-primary)}.radio-group label .radio-option p{display:flex;flex-direction:column;gap:0.5rem;margin:0}.radio-group label .radio-option p .title{font-size:16px;font-weight:500;line-height:20px;color:var(--nylas-base-800)}.radio-group label .radio-option p .description{font-size:14px;font-weight:400;line-height:20px;color:var(--nylas-base-600)}',o=r,a=class{constructor(l){e.registerInstance(this,l),this.nylasFormRadioChanged=e.createEvent(this,"nylasFormRadioChanged",7),this.componentType="radio-group",this.name="radio-group",this.options=[],this.defaultSelectedValue="",this.label=void 0,this.required=!1,this.readOnly=!1,this.selectedValue=void 0,this.error=""}handleDefaultSelectedValueChange(l){this.selectedValue=l}componentDidLoad(){this.selectedValue=this.defaultSelectedValue}handleBookingFormSubmitted(l){if(this.required&&!this.selectedValue){this.error=`${this.label} is required.`;return}this.error&&l.preventDefault()}componentWillLoad(){this.el.setAttribute("component-type",this.componentType)}handleChange(l){this.error="",this.selectedValue=l,this.nylasFormRadioChanged.emit({value:l,name:this.name,label:this.label})}render(){return e.h("div",{key:"fbba0552c128bca3f6dab87ac5253129abbc6fdb",class:"radio-group"},e.h("slot",{key:"a7f22a36e69876ae1b0f0d3fe1ca3df18877607d",name:"label"},this.label&&e.h("p",{class:{error:!!this.error}},e.h("span",{class:"label"},this.label),this.required&&e.h("span",{class:"required"},"*"))),this.options.map(l=>e.h("label",null,e.h("div",{class:"radio-option"},e.h("input",{type:"radio",disabled:this.readOnly,readOnly:this.readOnly,title:this.readOnly?"read-only field":void 0,name:this.name,value:l.value,checked:this.selectedValue===l.value,onChange:()=>this.handleChange(l.value)}),e.h("p",null,e.h("span",{class:"title"},l.label),e.h("span",{class:"description"},l.description))))),this.error&&e.h("span",{class:"error help-text"},this.error))}get el(){return e.getElement(this)}static get watchers(){return{defaultSelectedValue:["handleDefaultSelectedValueChange"]}}};a.style=o;exports.radio_button_group=a;
package/dist/react.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CalendarSync=o.CalendarSync;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckboxGroup=o.CheckboxGroup;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FeedbackIcon=o.FeedbackIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.InputImageUrl=o.InputImageUrl;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDateComponent=o.NylasDateComponent;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasDisableEmails=o.NylasDisableEmails;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEditorTabsGroup=o.NylasEditorTabsGroup;exports.NylasEventCalendar=o.NylasEventCalendar;exports.NylasEventCapacity=o.NylasEventCapacity;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTimeslot=o.NylasEventTimeslot;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFeedbackForm=o.NylasFeedbackForm;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogo=o.NylasLogo;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectEventType=o.NylasSelectEventType;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SendNotetaker=o.SendNotetaker;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.Transcript=o.Transcript;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.VideoPlayer=o.VideoPlayer;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.calendarSyncStore=o.calendarSyncStore;exports.defineCustomElements=o.defineCustomElements;exports.provider=o.provider;exports.sendNotetakerStore=o.sendNotetakerStore;exports.setNonce=o.setNonce;exports.videoPlayerStore=o.videoPlayerStore;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarAgendaFillIcon=o.CalendarAgendaFillIcon;exports.CalendarAgendaIcon=o.CalendarAgendaIcon;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CalendarSync=o.CalendarSync;exports.CheckboxComponent=o.CheckboxComponent;exports.CheckboxGroup=o.CheckboxGroup;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.CheckmarkIcon=o.CheckmarkIcon;exports.ChevronIcon=o.ChevronIcon;exports.ClockIcon=o.ClockIcon;exports.CloseIcon=o.CloseIcon;exports.CopyIcon=o.CopyIcon;exports.DeleteIcon=o.DeleteIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.DragableIcon=o.DragableIcon;exports.EditIcon=o.EditIcon;exports.EnvelopeFillIcon=o.EnvelopeFillIcon;exports.EnvelopeIcon=o.EnvelopeIcon;exports.EyeIcon=o.EyeIcon;exports.FeedbackIcon=o.FeedbackIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.GoogleMeetIcon=o.GoogleMeetIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.InputColorPicker=o.InputColorPicker;exports.InputComponent=o.InputComponent;exports.InputDropdown=o.InputDropdown;exports.InputImageUrl=o.InputImageUrl;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MicrosoftTeamsIcon=o.MicrosoftTeamsIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingConfirmationRedirect=o.NylasBookingConfirmationRedirect;exports.NylasBookingConfirmationType=o.NylasBookingConfirmationType;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBookingFormConfig=o.NylasBookingFormConfig;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancellationPolicy=o.NylasCancellationPolicy;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasConfirmationEmail=o.NylasConfirmationEmail;exports.NylasConfirmedEventCard=o.NylasConfirmedEventCard;exports.NylasConnectedCalendars=o.NylasConnectedCalendars;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasCustomEventSlug=o.NylasCustomEventSlug;exports.NylasCustomizeBookingSettings=o.NylasCustomizeBookingSettings;exports.NylasDateComponent=o.NylasDateComponent;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasDisableEmails=o.NylasDisableEmails;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEditorTabsGroup=o.NylasEditorTabsGroup;exports.NylasEventCalendar=o.NylasEventCalendar;exports.NylasEventCapacity=o.NylasEventCapacity;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventLocation=o.NylasEventLocation;exports.NylasEventTimeslot=o.NylasEventTimeslot;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFeedbackForm=o.NylasFeedbackForm;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLogo=o.NylasLogo;exports.NylasMinBookingNotice=o.NylasMinBookingNotice;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasOrganizerConfirmationCard=o.NylasOrganizerConfirmationCard;exports.NylasPageName=o.NylasPageName;exports.NylasPageStyling=o.NylasPageStyling;exports.NylasParticipantBookingCalendars=o.NylasParticipantBookingCalendars;exports.NylasParticipantsCustomAvailability=o.NylasParticipantsCustomAvailability;exports.NylasReminderEmails=o.NylasReminderEmails;exports.NylasReminderTime=o.NylasReminderTime;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSchedulingMethod=o.NylasSchedulingMethod;exports.NylasSelectEventType=o.NylasSelectEventType;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotInterval=o.NylasTimeslotInterval;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.PaintbrushFillIcon=o.PaintbrushFillIcon;exports.PaintbrushIcon=o.PaintbrushIcon;exports.PeopleIcon=o.PeopleIcon;exports.PersonClipboardIcon=o.PersonClipboardIcon;exports.PersonIcon=o.PersonIcon;exports.PlayIcon=o.PlayIcon;exports.PlusIcon=o.PlusIcon;exports.RadioButtonGroup=o.RadioButtonGroup;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SendNotetaker=o.SendNotetaker;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TextareaComponent=o.TextareaComponent;exports.TimePeriodSelector=o.TimePeriodSelector;exports.ToggleSwitch=o.ToggleSwitch;exports.TooltipComponent=o.TooltipComponent;exports.Transcript=o.Transcript;exports.TranslateIcon=o.TranslateIcon;exports.TrashFillIcon=o.TrashFillIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.VideoPlayer=o.VideoPlayer;exports.WarningIcon=o.WarningIcon;exports.ZoomIcon=o.ZoomIcon;exports.calendarSyncStore=o.calendarSyncStore;exports.defineCustomElements=o.defineCustomElements;exports.provider=o.provider;exports.sendNotetakerStore=o.sendNotetakerStore;exports.setNonce=o.setNonce;exports.videoPlayerStore=o.videoPlayerStore;
package/dist/react.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a0 as l, a1 as c, a2 as i, a3 as t, a4 as r, a5 as b, a6 as y, a7 as I, a8 as N, a9 as d, aa as C, ab as m, c5 as p, ac as g, ad as k, ae as u, af as E, ag as v, ah as P, ai as S, aj as f, ak as h, al as T, am as B, an as F, ao as D, ap as L, aq as w, ar as A, as as R, at as M, au as G, av as x, aw as W, ax as z, ay as O, az as U, aA as q, aB as V, aC as Z, aD as _, aE as $, aF as j, aG as H, aH as J, aI as K, aJ as Q, aK as X, aL as Y, aM as aa, aN as sa, aO as oa, aP as na, aQ as ea, aR as la, aS as ca, aT as ia, aU as ta, aV as ra, aW as ba, aX as ya, aY as Ia, aZ as Na, a_ as da, a$ as Ca, b0 as ma, b1 as pa, b2 as ga, b3 as ka, b4 as ua, b5 as Ea, b6 as va, b7 as Pa, b8 as Sa, b9 as fa, ba as ha, bb as Ta, bc as Ba, bd as Fa, be as Da, bf as La, bg as wa, bh as Aa, N as Ra, bi as Ma, bj as Ga, bk as xa, bl as Wa, bm as za, bn as Oa, bo as Ua, bp as qa, bq as Va, br as Za, bs as _a, bt as $a, bu as ja, bv as Ha, bw as Ja, bx as Ka, by as Qa, bz as Xa, bA as Ya, bB as as, bC as ss, bD as os, bE as ns, bF as es, bG as ls, bH as cs, bI as is, bJ as ts, bK as rs, bL as bs, bM as ys, bN as Is, bO as Ns, bP as ds, bQ as Cs, c6 as ms, bR as ps, bS as gs, bT as ks, bU as us, bV as Es, bW as vs, bX as Ps, bY as Ss, c3 as fs, bZ as hs, b_ as Ts, b$ as Bs, c0 as Fs, c4 as Ds, c1 as Ls, c2 as ws, c8 as As, _ as Rs, c7 as Ms, c9 as Gs, $ as xs, ca as Ws } from "./index-71f61ea9.js";
1
+ import { a0 as l, a1 as c, a2 as i, a3 as t, a4 as r, a5 as b, a6 as y, a7 as I, a8 as N, a9 as d, aa as C, ab as m, c5 as p, ac as g, ad as k, ae as u, af as E, ag as v, ah as P, ai as S, aj as f, ak as h, al as T, am as B, an as F, ao as D, ap as L, aq as w, ar as A, as as R, at as M, au as G, av as x, aw as W, ax as z, ay as O, az as U, aA as q, aB as V, aC as Z, aD as _, aE as $, aF as j, aG as H, aH as J, aI as K, aJ as Q, aK as X, aL as Y, aM as aa, aN as sa, aO as oa, aP as na, aQ as ea, aR as la, aS as ca, aT as ia, aU as ta, aV as ra, aW as ba, aX as ya, aY as Ia, aZ as Na, a_ as da, a$ as Ca, b0 as ma, b1 as pa, b2 as ga, b3 as ka, b4 as ua, b5 as Ea, b6 as va, b7 as Pa, b8 as Sa, b9 as fa, ba as ha, bb as Ta, bc as Ba, bd as Fa, be as Da, bf as La, bg as wa, bh as Aa, N as Ra, bi as Ma, bj as Ga, bk as xa, bl as Wa, bm as za, bn as Oa, bo as Ua, bp as qa, bq as Va, br as Za, bs as _a, bt as $a, bu as ja, bv as Ha, bw as Ja, bx as Ka, by as Qa, bz as Xa, bA as Ya, bB as as, bC as ss, bD as os, bE as ns, bF as es, bG as ls, bH as cs, bI as is, bJ as ts, bK as rs, bL as bs, bM as ys, bN as Is, bO as Ns, bP as ds, bQ as Cs, c6 as ms, bR as ps, bS as gs, bT as ks, bU as us, bV as Es, bW as vs, bX as Ps, bY as Ss, c3 as fs, bZ as hs, b_ as Ts, b$ as Bs, c0 as Fs, c4 as Ds, c1 as Ls, c2 as ws, c8 as As, _ as Rs, c7 as Ms, c9 as Gs, $ as xs, ca as Ws } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",r=t,e=class{constructor(s){c.registerInstance(this,s),this.width="15",this.height="15"}render(){return c.h("svg",{key:"a9dbb422768797850a82bc75293ccd95d12d2943",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c.h("path",{key:"ed3f88703da4059083cfd1c5c9aedfaedfdaca0d",d:"M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z"}))}};e.style=r;exports.refresh_icon=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const t=".sc-refresh-icon-h{display:flex}",r=t,e=class{constructor(s){c.registerInstance(this,s),this.width="15",this.height="15"}render(){return c.h("svg",{key:"a9dbb422768797850a82bc75293ccd95d12d2943",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 32 32",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},c.h("path",{key:"ed3f88703da4059083cfd1c5c9aedfaedfdaca0d",d:"M15.544 28.080c-0.002-0.006-0.008-0.010-0.012-0.015l-2.873-4.489c-0.204-0.335-0.646-0.454-0.992-0.266l-0.256 0.157c-0.344 0.188-0.337 0.673-0.133 1.008l1.841 2.857c-0.157-0.035-0.316-0.063-0.471-0.103-3.224-0.843-5.953-3.026-7.485-5.988-1.448-2.797-1.72-5.99-0.766-8.992s3.118-5.452 5.915-6.899c0.476-0.247 0.662-0.832 0.416-1.308-0.246-0.477-0.832-0.663-1.308-0.416-3.258 1.686-5.763 4.54-6.874 8.036s-0.794 7.215 0.892 10.473c1.786 3.448 4.963 5.989 8.72 6.973 0.043 0.011 0.087 0.017 0.13 0.028l-2.541 1.288c-0.344 0.189-0.458 0.613-0.254 0.948l0.098 0.256c0.205 0.335 0.557 0.454 0.9 0.266l4.651-2.381c0.006-0.004 0.012-0.003 0.018-0.007l0.312-0.171c0.172-0.095 0.287-0.249 0.332-0.422 0.047-0.172 0.025-0.364-0.076-0.531zM28.559 10.025c-1.783-3.447-4.862-5.988-8.618-6.972-0.267-0.070-0.541-0.124-0.814-0.179l2.494-1.265c0.344-0.189 0.549-0.614 0.345-0.949l-0.099-0.255c-0.205-0.336-0.648-0.454-0.991-0.267l-4.651 2.381c-0.006 0.003-0.012 0.002-0.018 0.006l-0.312 0.171c-0.173 0.095-0.287 0.249-0.332 0.422-0.047 0.172-0.025 0.364 0.077 0.53l0.185 0.304c0.003 0.006 0.008 0.010 0.012 0.016l2.873 4.489c0.203 0.335 0.646 0.454 0.991 0.266l0.226-0.157c0.344-0.188 0.366-0.673 0.163-1.008l-1.85-2.87c0.407 0.063 0.811 0.138 1.207 0.242 3.226 0.845 5.856 3.027 7.387 5.986 1.448 2.797 1.72 5.99 0.765 8.991s-3.020 5.451-5.818 6.901c-0.476 0.247-0.662 0.831-0.415 1.308 0.172 0.332 0.511 0.524 0.863 0.524 0.15 0 0.302-0.035 0.446-0.109 3.259-1.686 5.664-4.54 6.776-8.035 1.111-3.497 0.794-7.217-0.893-10.473z"}))}};e.style=r;exports.refresh_icon=e;
@@ -1,4 +1,4 @@
1
- import { r as t, h as c } from "./index-71f61ea9.js";
1
+ import { r as t, h as c } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { b as d, V as m, g as P } from "./index-71f61ea9.js";
1
+ import { b as d, V as m, g as P } from "./index-ad781fbc.js";
2
2
  function b(e, o, c = "registerComponent") {
3
3
  return new CustomEvent(c, {
4
4
  bubbles: !0,
@@ -1 +1 @@
1
- "use strict";const s=require("./index-f769bc2a.cjs");function m(e,o,i="registerComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function P(e,o,i="unregisterComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function b(e){return(o,i)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${i}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),u=n.filter(c=>t.includes(c));if(u.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${u.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=s.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=m(o,u,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=P(o,u,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=b;
1
+ "use strict";const s=require("./index-dc6efb5e.cjs");function m(e,o,i="registerComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function P(e,o,i="unregisterComponent"){return new CustomEvent(i,{bubbles:!0,composed:!0,detail:o})}function b(e){return(o,i)=>{const r=e.name;s.debug(`[${r}] Registering component ${r} being called on ${i}`);const l=o.componentWillLoad;if(!l){s.error(`[${r}] componentWillLoad lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const p=o.connectedCallback;if(!p){s.error(`[${r}] connectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}const a=o.disconnectedCallback;if(!a){s.error(`[${r}] disconnectedCallback lifecycle method in ${r} missing. Required for RegisterComponent decorator.`);return}if(e.storeToProps&&e.stateToProps){const n=Array.from(e.storeToProps.values()),t=Array.from(e.stateToProps.values()),u=n.filter(c=>t.includes(c));if(u.length>0){s.error(`[${r}] Overlapping prop keys detected in ${r} for storeToProps and stateToProps. Make sure to only define them once. Overlapping keys: ${u.join(", ")}`);return}}const d=new Map;e.eventToProps&&Object.keys(e.eventToProps).forEach(n=>{var t;d.set(n,(t=e.eventToProps)==null?void 0:t[n])}),o.connectedCallback=function(){s.debug(`[~${r}] connectedCallback called`);const n=p==null?void 0:p.call(this),t=s.getElement(this);return t.dataset.nylasId||(Object.defineProperty(t,"registerNylasComponent",{get(){return!0},enumerable:!0}),Object.defineProperty(t,"stateToProps",{get(){return e.stateToProps},enumerable:!0}),Object.defineProperty(t,"getStoresToProp",{get(){return e.getStoresToProp},enumerable:!0}),Object.defineProperty(t,"storeToProps",{get(){return e.storeToProps},enumerable:!0}),Object.defineProperty(t,"eventToProps",{get(){return d},enumerable:!0}),Object.defineProperty(t,"authToProp",{get(){return e.authToProp},enumerable:!0}),Object.defineProperty(t,"connectorToProp",{get(){return e.connectorToProp},enumerable:!0}),Object.defineProperty(t,"localPropsToProp",{get(){return e.localPropsToProp},enumerable:!0})),n},e.fireRegisterEvent&&(o.componentWillLoad=function(){const n=l==null?void 0:l.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=m(o,u,e.registrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired registration event`),n},o.disconnectedCallback=function(){const n=a==null?void 0:a.call(this),t=s.getElement(this),u={element:t,...e,eventToProps:d},c=P(o,u,e.unregistrationEventName);return t.dispatchEvent(c)&&s.debug(`[${r}] Component ${r} successfully fired unregistration event`),n})}}exports.RegisterComponent=b;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const l=".sc-reply-all-icon-h{display:flex}",r=l,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"82c4f58408a549b7eefe0bab7888526fb55bcf6d",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5281a79eaed7366b4415ce0bf2a250da9646b963",d:"m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z","fill-rule":"evenodd"}))}};t.style=r;exports.reply_all_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const l=".sc-reply-all-icon-h{display:flex}",r=l,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"82c4f58408a549b7eefe0bab7888526fb55bcf6d",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"5281a79eaed7366b4415ce0bf2a250da9646b963",d:"m1030.975 188 81.249 81.249-429.228 429.228h300.747c516.223 0 936.257 420.034 936.257 936.257v98.028h-114.92v-98.028c0-452.901-368.436-821.337-821.337-821.337H682.996l429.228 429.229-81.25 81.248-567.936-567.937L1030.975 188Zm-463.038.011 81.249 81.25-486.688 486.688 486.688 486.688-81.249 81.249L0 755.949 567.937 188.01Z","fill-rule":"evenodd"}))}};t.style=r;exports.reply_all_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as l, h as t } from "./index-71f61ea9.js";
1
+ import { r as l, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const c=".sc-reply-icon-h{display:flex}",r=c,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"e059d502b1bd07278f3f60b1c4fe9c4b52bbcb61",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"b6c07ce3e80475b42264491d4ce2856b45ad848b",d:"M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816","fill-rule":"evenodd"}))}};t.style=r;exports.reply_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const c=".sc-reply-icon-h{display:flex}",r=c,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"e059d502b1bd07278f3f60b1c4fe9c4b52bbcb61",fill:"auto",width:this.width,height:this.height,viewBox:"0 0 1920 1920",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"b6c07ce3e80475b42264491d4ce2856b45ad848b",d:"M835.942 632.563H244.966l478.08-478.08-90.496-90.496L-.026 696.563 632.55 1329.14l90.496-90.496-478.08-478.08h590.976c504.448 0 914.816 410.368 914.816 914.816v109.184h128V1675.38c0-574.976-467.84-1042.816-1042.816-1042.816","fill-rule":"evenodd"}))}};t.style=r;exports.reply_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as i, h as t } from "./index-71f61ea9.js";
1
+ import { r as i, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-sent-icon-h{display:flex}",c=i,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"af8457ffa4427dfe04e95d571db14f0256ae4e1f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e72a685b39021ffc6ca8a30a69c123835b528f94",d:"M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"adf23567c6b6d85a9e162c39b58ca6f8ed5cbc91",d:"M3.5 3.5L12 10.5",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"10bd3d6f36c572ff8b8f8905bc923abac142f15a",d:"M3.5 20.5L12 13.5",stroke:"auto","stroke-width":"1.5"}))}};t.style=c;exports.sent_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-sent-icon-h{display:flex}",c=i,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"af8457ffa4427dfe04e95d571db14f0256ae4e1f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e72a685b39021ffc6ca8a30a69c123835b528f94",d:"M21.5 12L3.5 3.5L3.5 20.5L21.5 12Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"adf23567c6b6d85a9e162c39b58ca6f8ed5cbc91",d:"M3.5 3.5L12 10.5",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"10bd3d6f36c572ff8b8f8905bc923abac142f15a",d:"M3.5 20.5L12 13.5",stroke:"auto","stroke-width":"1.5"}))}};t.style=c;exports.sent_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-71f61ea9.js";
1
+ import { r as s, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-spam-icon-h{display:flex}",d=i,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"93ff5ee3d6d594e1e901e47de4d0766386efe76f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"2f333ba9e71dbfdd79d369cac07216361a39cdb6",d:"M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"afd35317c261a436d8980687a22ed161bfde61ff",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};t.style=d;exports.spam_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-spam-icon-h{display:flex}",d=i,t=class{constructor(s){e.registerInstance(this,s),this.width="15",this.height="15"}render(){return e.h("svg",{key:"93ff5ee3d6d594e1e901e47de4d0766386efe76f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"2f333ba9e71dbfdd79d369cac07216361a39cdb6",d:"M20 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21H20C21.1046 21 22 20.1046 22 19V5C22 3.89543 21.1046 3 20 3Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"afd35317c261a436d8980687a22ed161bfde61ff",d:"M2 5L12 12.5L22 5",stroke:"auto","stroke-width":"1.5"}))}};t.style=d;exports.spam_icon=t;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-71f61ea9.js";
1
+ import { r as s, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as e, h as t } from "./index-71f61ea9.js";
1
+ import { r as e, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-star-icon-h{display:flex}",r=i,e=class{constructor(s){t.registerInstance(this,s),this.width="15",this.height="15"}render(){return t.h("svg",{key:"9d92e75a297c8e3be072fb593a7a85127e2e4f3f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"6f7b9c97f134a9b5671e9f0b4b232c6f45b981df",d:"M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z",stroke:"auto","stroke-width":"1.5"}))}};e.style=r;exports.star_icon=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-star-icon-h{display:flex}",r=i,e=class{constructor(s){t.registerInstance(this,s),this.width="15",this.height="15"}render(){return t.h("svg",{key:"9d92e75a297c8e3be072fb593a7a85127e2e4f3f",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},t.h("path",{key:"6f7b9c97f134a9b5671e9f0b4b232c6f45b981df",d:"M9.15316 5.40838C10.4198 3.13613 11.0531 2 12 2C12.9469 2 13.5802 3.13612 14.8468 5.40837L15.1745 5.99623C15.5345 6.64193 15.7144 6.96479 15.9951 7.17781C16.2757 7.39083 16.6251 7.4699 17.3241 7.62805L17.9605 7.77203C20.4201 8.32856 21.65 8.60682 21.9426 9.54773C22.2352 10.4886 21.3968 11.4691 19.7199 13.4299L19.2861 13.9372C18.8096 14.4944 18.5713 14.773 18.4641 15.1177C18.357 15.4624 18.393 15.8341 18.465 16.5776L18.5306 17.2544C18.7841 19.8706 18.9109 21.1787 18.1449 21.7602C17.3788 22.3417 16.2273 21.8115 13.9243 20.7512L13.3285 20.4768C12.6741 20.1755 12.3469 20.0248 12 20.0248C11.6531 20.0248 11.3259 20.1755 10.6715 20.4768L10.0757 20.7512C7.77268 21.8115 6.62118 22.3417 5.85515 21.7602C5.08912 21.1787 5.21588 19.8706 5.4694 17.2544L5.53498 16.5776C5.60703 15.8341 5.64305 15.4624 5.53586 15.1177C5.42868 14.773 5.19043 14.4944 4.71392 13.9372L4.2801 13.4299C2.60325 11.4691 1.76482 10.4886 2.05742 9.54773C2.35002 8.60682 3.57986 8.32856 6.03954 7.77203L6.67589 7.62805C7.37485 7.4699 7.72433 7.39083 8.00494 7.17781C8.28555 6.96479 8.46553 6.64194 8.82547 5.99623L9.15316 5.40838Z",stroke:"auto","stroke-width":"1.5"}))}};e.style=r;exports.star_icon=e;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-71f61ea9.js";
1
+ import { r as s, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const o=".sc-stop-icon-h{display:flex}",s=o,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"b1dcb0ee13d6725610e1980f223b3679b3336201",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"48af200cfd31cd7acdbc1d7ade5c2bc6e5dfd3e3",d:"M4 4H20V20H4V4Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=s;exports.stop_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const o=".sc-stop-icon-h{display:flex}",s=o,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"b1dcb0ee13d6725610e1980f223b3679b3336201",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"48af200cfd31cd7acdbc1d7ade5c2bc6e5dfd3e3",d:"M4 4H20V20H4V4Z",stroke:"auto","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=s;exports.stop_icon=t;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- /*! tailwindcss v4.0.11 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--ny-color-red-50:oklch(97.1% .013 17.38);--ny-color-red-500:oklch(63.7% .237 25.331);--ny-color-red-600:oklch(57.7% .245 27.325);--ny-color-yellow-200:oklch(94.5% .129 101.54);--ny-color-blue-50:oklch(97% .014 254.604);--ny-color-blue-600:oklch(54.6% .245 262.881);--ny-color-gray-50:oklch(98.5% .002 247.839);--ny-color-gray-100:oklch(96.7% .003 264.542);--ny-color-gray-200:oklch(92.8% .006 264.531);--ny-color-gray-400:oklch(70.7% .022 261.325);--ny-color-gray-500:oklch(55.1% .027 264.364);--ny-color-gray-600:oklch(44.6% .03 256.802);--ny-color-gray-700:oklch(37.3% .034 259.733);--ny-color-gray-800:oklch(27.8% .033 256.848);--ny-color-gray-900:oklch(21% .034 264.665);--ny-color-white:#fff;--ny-spacing:.25rem;--ny-text-sm:.875rem;--ny-text-sm--line-height:calc(1.25/.875);--ny-font-weight-medium:500;--ny-font-weight-semibold:600;--ny-leading-relaxed:1.625;--ny-radius-lg:.5rem;--ny-ease-in-out:cubic-bezier(.4,0,.2,1);--ny-default-transition-duration:.15s;--ny-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--ny-color-primary-50:#f0f4ff;--ny-color-primary-100:#e0e9ff;--ny-color-primary-500:#4069e1;--ny-color-primary-600:#2d4fc7}}@layer base,components;@layer utilities{.ny\:absolute{position:absolute}.ny\:relative{position:relative}.ny\:sticky{position:sticky}.ny\:inset-0{inset:calc(var(--ny-spacing)*0)}.ny\:bottom-4{bottom:calc(var(--ny-spacing)*4)}.ny\:left-1\/2{left:50%}.ny\:m-0{margin:calc(var(--ny-spacing)*0)}.ny\:my-2{margin-block:calc(var(--ny-spacing)*2)}.ny\:mt-2{margin-top:calc(var(--ny-spacing)*2)}.ny\:mr-1{margin-right:calc(var(--ny-spacing)*1)}.ny\:mb-0\.5{margin-bottom:calc(var(--ny-spacing)*.5)}.ny\:mb-1{margin-bottom:calc(var(--ny-spacing)*1)}.ny\:mb-2{margin-bottom:calc(var(--ny-spacing)*2)}.ny\:mb-4{margin-bottom:calc(var(--ny-spacing)*4)}.ny\:block{display:block}.ny\:flex{display:flex}.ny\:inline{display:inline}.ny\:h-4{height:calc(var(--ny-spacing)*4)}.ny\:h-8{height:calc(var(--ny-spacing)*8)}.ny\:h-10{height:calc(var(--ny-spacing)*10)}.ny\:h-12{height:calc(var(--ny-spacing)*12)}.ny\:h-full{height:100%}.ny\:w-4{width:calc(var(--ny-spacing)*4)}.ny\:w-16{width:calc(var(--ny-spacing)*16)}.ny\:w-full{width:100%}.ny\:flex-shrink-0{flex-shrink:0}.ny\:flex-grow{flex-grow:1}.ny\:-translate-x-1\/2{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.ny\:cursor-not-allowed{cursor:not-allowed}.ny\:cursor-pointer{cursor:pointer}.ny\:flex-col{flex-direction:column}.ny\:flex-wrap{flex-wrap:wrap}.ny\:items-center{align-items:center}.ny\:items-start{align-items:flex-start}.ny\:justify-between{justify-content:space-between}.ny\:justify-center{justify-content:center}.ny\:justify-end{justify-content:flex-end}.ny\:gap-1{gap:calc(var(--ny-spacing)*1)}.ny\:gap-2{gap:calc(var(--ny-spacing)*2)}.ny\:gap-3{gap:calc(var(--ny-spacing)*3)}:where(.ny\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ny-spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ny-spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.ny\:space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.ny\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.ny\:space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.ny\:overflow-y-auto{overflow-y:auto}.ny\:rounded{border-radius:.25rem}.ny\:rounded-full{border-radius:3.40282e38px}.ny\:rounded-lg{border-radius:var(--ny-radius-lg)}.ny\:rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.ny\:border{border-style:var(--tw-border-style);border-width:1px}.ny\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.ny\:border-none{--tw-border-style:none;border-style:none}.ny\:border-gray-100{border-color:var(--ny-color-gray-100)}.ny\:border-gray-200{border-color:var(--ny-color-gray-200)}.ny\:border-primary-500{border-color:var(--ny-color-primary-500)}.ny\:bg-blue-50{background-color:var(--ny-color-blue-50)}.ny\:bg-gray-100{background-color:var(--ny-color-gray-100)}.ny\:bg-primary-50{background-color:var(--ny-color-primary-50)}.ny\:bg-primary-500{background-color:var(--ny-color-primary-500)}.ny\:bg-transparent{background-color:#0000}.ny\:bg-white{background-color:var(--ny-color-white)}.ny\:bg-yellow-200{background-color:var(--ny-color-yellow-200)}.ny\:p-2{padding:calc(var(--ny-spacing)*2)}.ny\:p-3{padding:calc(var(--ny-spacing)*3)}.ny\:px-3{padding-inline:calc(var(--ny-spacing)*3)}.ny\:px-4{padding-inline:calc(var(--ny-spacing)*4)}.ny\:py-1{padding-block:calc(var(--ny-spacing)*1)}.ny\:py-2{padding-block:calc(var(--ny-spacing)*2)}.ny\:py-6{padding-block:calc(var(--ny-spacing)*6)}.ny\:pt-1{padding-top:calc(var(--ny-spacing)*1)}.ny\:text-center{text-align:center}.ny\:text-right{text-align:right}.ny\:align-middle{vertical-align:middle}.ny\:text-sm{font-size:var(--ny-text-sm);line-height:var(--tw-leading,var(--ny-text-sm--line-height))}.ny\:leading-relaxed{--tw-leading:var(--ny-leading-relaxed);line-height:var(--ny-leading-relaxed)}.ny\:font-medium{--tw-font-weight:var(--ny-font-weight-medium);font-weight:var(--ny-font-weight-medium)}.ny\:font-semibold{--tw-font-weight:var(--ny-font-weight-semibold);font-weight:var(--ny-font-weight-semibold)}.ny\:text-blue-600{color:var(--ny-color-blue-600)}.ny\:text-gray-100{color:var(--ny-color-gray-100)}.ny\:text-gray-400{color:var(--ny-color-gray-400)}.ny\:text-gray-500{color:var(--ny-color-gray-500)}.ny\:text-gray-600{color:var(--ny-color-gray-600)}.ny\:text-gray-700{color:var(--ny-color-gray-700)}.ny\:text-gray-800{color:var(--ny-color-gray-800)}.ny\:text-gray-900{color:var(--ny-color-gray-900)}.ny\:text-primary-500{color:var(--ny-color-primary-500)}.ny\:text-red-500{color:var(--ny-color-red-500)}.ny\:text-white{color:var(--ny-color-white)}.ny\:opacity-0{opacity:0}.ny\:opacity-100{opacity:1}.ny\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ny\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ny\:shadow-primary-100{--tw-shadow-color:var(--ny-color-primary-100)}.ny\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:duration-150{--tw-duration:.15s;transition-duration:.15s}.ny\:duration-200{--tw-duration:.2s;transition-duration:.2s}.ny\:ease-in-out{--tw-ease:var(--ny-ease-in-out);transition-timing-function:var(--ny-ease-in-out)}.ny\:outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.ny\:hover\:bg-gray-50:hover{background-color:var(--ny-color-gray-50)}.ny\:hover\:bg-gray-100:hover{background-color:var(--ny-color-gray-100)}.ny\:hover\:bg-primary-100:hover{background-color:var(--ny-color-primary-100)}.ny\:hover\:bg-primary-600:hover{background-color:var(--ny-color-primary-600)}.ny\:hover\:bg-red-50:hover{background-color:var(--ny-color-red-50)}.ny\:hover\:bg-transparent:hover{background-color:#0000}.ny\:hover\:bg-none:hover{background-image:none}.ny\:hover\:text-blue-600:hover{color:var(--ny-color-blue-600)}.ny\:hover\:text-gray-400:hover{color:var(--ny-color-gray-400)}.ny\:hover\:text-gray-900:hover{color:var(--ny-color-gray-900)}.ny\:hover\:text-primary-500:hover{color:var(--ny-color-primary-500)}.ny\:hover\:text-primary-600:hover{color:var(--ny-color-primary-600)}.ny\:hover\:text-red-600:hover{color:var(--ny-color-red-600)}.ny\:hover\:text-white:hover{color:var(--ny-color-white)}}.ny\:focus\:outline-primary-500:focus{outline-color:var(--ny-color-primary-500)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
1
+ /*! tailwindcss v4.0.11 | MIT License | https://tailwindcss.com */@layer theme{:root,:host{--ny-color-red-50:oklch(97.1% .013 17.38);--ny-color-red-500:oklch(63.7% .237 25.331);--ny-color-red-600:oklch(57.7% .245 27.325);--ny-color-yellow-200:oklch(94.5% .129 101.54);--ny-color-blue-50:oklch(97% .014 254.604);--ny-color-blue-600:oklch(54.6% .245 262.881);--ny-color-gray-50:oklch(98.5% .002 247.839);--ny-color-gray-100:oklch(96.7% .003 264.542);--ny-color-gray-200:oklch(92.8% .006 264.531);--ny-color-gray-400:oklch(70.7% .022 261.325);--ny-color-gray-500:oklch(55.1% .027 264.364);--ny-color-gray-600:oklch(44.6% .03 256.802);--ny-color-gray-700:oklch(37.3% .034 259.733);--ny-color-gray-800:oklch(27.8% .033 256.848);--ny-color-gray-900:oklch(21% .034 264.665);--ny-color-white:#fff;--ny-spacing:.25rem;--ny-text-sm:.875rem;--ny-text-sm--line-height:calc(1.25/.875);--ny-font-weight-medium:500;--ny-font-weight-semibold:600;--ny-leading-relaxed:1.625;--ny-radius-lg:.5rem;--ny-ease-in-out:cubic-bezier(.4,0,.2,1);--ny-default-transition-duration:.15s;--ny-default-transition-timing-function:cubic-bezier(.4,0,.2,1);--ny-color-primary-50:#f0f4ff;--ny-color-primary-100:#e0e9ff;--ny-color-primary-500:#4069e1;--ny-color-primary-600:#2d4fc7}}@layer base,components;@layer utilities{.ny\:absolute{position:absolute}.ny\:relative{position:relative}.ny\:sticky{position:sticky}.ny\:inset-0{inset:calc(var(--ny-spacing)*0)}.ny\:bottom-4{bottom:calc(var(--ny-spacing)*4)}.ny\:left-1\/2{left:50%}.ny\:m-0{margin:calc(var(--ny-spacing)*0)}.ny\:my-2{margin-block:calc(var(--ny-spacing)*2)}.ny\:mt-2{margin-top:calc(var(--ny-spacing)*2)}.ny\:mr-1{margin-right:calc(var(--ny-spacing)*1)}.ny\:mb-0\.5{margin-bottom:calc(var(--ny-spacing)*.5)}.ny\:mb-1{margin-bottom:calc(var(--ny-spacing)*1)}.ny\:mb-2{margin-bottom:calc(var(--ny-spacing)*2)}.ny\:mb-4{margin-bottom:calc(var(--ny-spacing)*4)}.ny\:block{display:block}.ny\:flex{display:flex}.ny\:inline{display:inline}.ny\:h-4{height:calc(var(--ny-spacing)*4)}.ny\:h-8{height:calc(var(--ny-spacing)*8)}.ny\:h-10{height:calc(var(--ny-spacing)*10)}.ny\:h-full{height:100%}.ny\:w-4{width:calc(var(--ny-spacing)*4)}.ny\:w-16{width:calc(var(--ny-spacing)*16)}.ny\:w-full{width:100%}.ny\:flex-shrink-0{flex-shrink:0}.ny\:flex-grow{flex-grow:1}.ny\:-translate-x-1\/2{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.ny\:cursor-not-allowed{cursor:not-allowed}.ny\:cursor-pointer{cursor:pointer}.ny\:flex-col{flex-direction:column}.ny\:flex-wrap{flex-wrap:wrap}.ny\:items-center{align-items:center}.ny\:items-start{align-items:flex-start}.ny\:justify-between{justify-content:space-between}.ny\:justify-center{justify-content:center}.ny\:justify-end{justify-content:flex-end}.ny\:gap-1{gap:calc(var(--ny-spacing)*1)}.ny\:gap-2{gap:calc(var(--ny-spacing)*2)}.ny\:gap-3{gap:calc(var(--ny-spacing)*3)}:where(.ny\:space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--ny-spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--ny-spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.ny\:space-x-1>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*1)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*1)*calc(1 - var(--tw-space-x-reverse)))}:where(.ny\:space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*2)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*2)*calc(1 - var(--tw-space-x-reverse)))}:where(.ny\:space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--ny-spacing)*3)*var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--ny-spacing)*3)*calc(1 - var(--tw-space-x-reverse)))}.ny\:overflow-y-auto{overflow-y:auto}.ny\:rounded{border-radius:.25rem}.ny\:rounded-full{border-radius:3.40282e38px}.ny\:rounded-lg{border-radius:var(--ny-radius-lg)}.ny\:rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.ny\:border{border-style:var(--tw-border-style);border-width:1px}.ny\:border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.ny\:border-none{--tw-border-style:none;border-style:none}.ny\:border-gray-100{border-color:var(--ny-color-gray-100)}.ny\:border-gray-200{border-color:var(--ny-color-gray-200)}.ny\:border-primary-500{border-color:var(--ny-color-primary-500)}.ny\:bg-blue-50{background-color:var(--ny-color-blue-50)}.ny\:bg-gray-100{background-color:var(--ny-color-gray-100)}.ny\:bg-primary-50{background-color:var(--ny-color-primary-50)}.ny\:bg-primary-500{background-color:var(--ny-color-primary-500)}.ny\:bg-transparent{background-color:#0000}.ny\:bg-white{background-color:var(--ny-color-white)}.ny\:bg-yellow-200{background-color:var(--ny-color-yellow-200)}.ny\:p-2{padding:calc(var(--ny-spacing)*2)}.ny\:p-3{padding:calc(var(--ny-spacing)*3)}.ny\:px-3{padding-inline:calc(var(--ny-spacing)*3)}.ny\:px-4{padding-inline:calc(var(--ny-spacing)*4)}.ny\:py-1{padding-block:calc(var(--ny-spacing)*1)}.ny\:py-2{padding-block:calc(var(--ny-spacing)*2)}.ny\:py-6{padding-block:calc(var(--ny-spacing)*6)}.ny\:pt-1{padding-top:calc(var(--ny-spacing)*1)}.ny\:text-center{text-align:center}.ny\:text-right{text-align:right}.ny\:align-middle{vertical-align:middle}.ny\:text-sm{font-size:var(--ny-text-sm);line-height:var(--tw-leading,var(--ny-text-sm--line-height))}.ny\:leading-relaxed{--tw-leading:var(--ny-leading-relaxed);line-height:var(--ny-leading-relaxed)}.ny\:font-medium{--tw-font-weight:var(--ny-font-weight-medium);font-weight:var(--ny-font-weight-medium)}.ny\:font-semibold{--tw-font-weight:var(--ny-font-weight-semibold);font-weight:var(--ny-font-weight-semibold)}.ny\:text-blue-600{color:var(--ny-color-blue-600)}.ny\:text-gray-100{color:var(--ny-color-gray-100)}.ny\:text-gray-400{color:var(--ny-color-gray-400)}.ny\:text-gray-500{color:var(--ny-color-gray-500)}.ny\:text-gray-600{color:var(--ny-color-gray-600)}.ny\:text-gray-700{color:var(--ny-color-gray-700)}.ny\:text-gray-800{color:var(--ny-color-gray-800)}.ny\:text-gray-900{color:var(--ny-color-gray-900)}.ny\:text-primary-500{color:var(--ny-color-primary-500)}.ny\:text-red-500{color:var(--ny-color-red-500)}.ny\:text-white{color:var(--ny-color-white)}.ny\:opacity-0{opacity:0}.ny\:opacity-100{opacity:1}.ny\:shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ny\:shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ny\:shadow-primary-100{--tw-shadow-color:var(--ny-color-primary-100)}.ny\:transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--ny-default-transition-timing-function));transition-duration:var(--tw-duration,var(--ny-default-transition-duration))}.ny\:duration-150{--tw-duration:.15s;transition-duration:.15s}.ny\:duration-200{--tw-duration:.2s;transition-duration:.2s}.ny\:ease-in-out{--tw-ease:var(--ny-ease-in-out);transition-timing-function:var(--ny-ease-in-out)}.ny\:outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.ny\:hover\:bg-gray-50:hover{background-color:var(--ny-color-gray-50)}.ny\:hover\:bg-gray-100:hover{background-color:var(--ny-color-gray-100)}.ny\:hover\:bg-primary-100:hover{background-color:var(--ny-color-primary-100)}.ny\:hover\:bg-primary-600:hover{background-color:var(--ny-color-primary-600)}.ny\:hover\:bg-red-50:hover{background-color:var(--ny-color-red-50)}.ny\:hover\:bg-transparent:hover{background-color:#0000}.ny\:hover\:bg-none:hover{background-image:none}.ny\:hover\:text-blue-600:hover{color:var(--ny-color-blue-600)}.ny\:hover\:text-gray-400:hover{color:var(--ny-color-gray-400)}.ny\:hover\:text-gray-900:hover{color:var(--ny-color-gray-900)}.ny\:hover\:text-primary-500:hover{color:var(--ny-color-primary-500)}.ny\:hover\:text-primary-600:hover{color:var(--ny-color-primary-600)}.ny\:hover\:text-red-600:hover{color:var(--ny-color-red-600)}.ny\:hover\:text-white:hover{color:var(--ny-color-white)}}.ny\:focus\:outline-primary-500:focus{outline-color:var(--ny-color-primary-500)}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const o=':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}textarea:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}',s=o,l=class{constructor(a){e.registerInstance(this,a),this.nylasFormInputChanged=e.createEvent(this,"nylasFormInputChanged",7),this.name="textarea",this.defaultValue=void 0,this.label="",this.placeholder="",this.required=!1,this.readOnly=!1,this.autoFocus=!1,this.maxLength=255,this.type="multi_line_text",this.tooltip="",this.value="",this.error=""}componentDidLoad(){this.value=e.sanitize(this.defaultValue||"")}handleBookingFormSubmitted(a){this.validate(this.value),this.error&&a.preventDefault()}handletriggerValidation(a){this.validate(this.value),this.error&&a.preventDefault()}handleInput(a){this.error="";const r=a.target;this.value=e.sanitize(r.value),this.nylasFormInputChanged.emit({value:this.value,name:this.name,error:this.error,label:this.label,type:this.type})}validate(a){this.required&&!a?this.error=`${this.label} is required.`:a.length>this.maxLength?this.error=`${this.label} cannot exceed ${this.maxLength} characters.`:this.error=""}render(){return e.h("label",{key:"ef3eb6b971e8314affa363e69db63910dda65441",part:"tc__label",class:{error:!!this.error}},e.h("p",{key:"004a62ae6947d59b0f9737283d236844810e1ab5"},e.h("span",{key:"4ea2e4427021d0907405a893a4a6072cc5d3a59f",class:"label"},this.label),this.required&&e.h("span",{class:"required"},"*"),this.tooltip&&e.h("tooltip-component",null,e.h("info-icon",{slot:"tooltip-icon"}),e.h("span",{slot:"tooltip-content"},this.tooltip))),e.h("textarea",{key:"751dc58e9baa8b28e565045f31c0300b6eb26cfc",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:a=>this.handleInput(a),class:{error:!!this.error},part:"tc__textarea"}),this.error&&e.h("span",{class:"error help-text"},this.error))}};l.style=s;exports.textarea_component=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const o=':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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;width:100%}label{display:flex;color:var(--nylas-base-800, #293056);font-size:14px;font-style:normal;font-weight:400;line-height:150%;flex-direction:column;gap:4px;font-family:var(--nylas-font-family);font-size:16px;color:var(--nylas-base-800)}label.error{color:var(--nylas-error)}label span.required{color:var(--nylas-error);padding:0 0.25rem}label p{margin:0;display:flex;gap:4px;align-items:center}label .error{color:var(--nylas-error)}textarea{display:flex;height:48px;padding-left:16px;align-items:center;gap:8px;align-self:stretch;border-radius:var(--nylas-border-radius-2x);border:1px solid var(--nylas-base-300);background:var(--nylas-base-0);width:-webkit-fill-available;color:var(--nylas-base-900);font-size:16px;font-style:normal;font-weight:400;line-height:150%;padding:12px 16px;border-width:1;resize:vertical;border-radius:8px;font-family:var(--nylas-font-family);font-size:16px;line-height:24px}textarea:focus{outline-color:var(--nylas-primary)}textarea.error{border-radius:var(--nylas-border-radius-2x);font-weight:600;border-color:var(--nylas-error);border-width:2px}textarea.error::placeholder{font-weight:400}textarea::placeholder{color:var(--nylas-base-300)}textarea::-webkit-resizer{display:none}textarea:read-only{background-color:var(--nylas-base-100);cursor:not-allowed}',s=o,l=class{constructor(a){e.registerInstance(this,a),this.nylasFormInputChanged=e.createEvent(this,"nylasFormInputChanged",7),this.name="textarea",this.defaultValue=void 0,this.label="",this.placeholder="",this.required=!1,this.readOnly=!1,this.autoFocus=!1,this.maxLength=255,this.type="multi_line_text",this.tooltip="",this.value="",this.error=""}componentDidLoad(){this.value=e.sanitize(this.defaultValue||"")}handleBookingFormSubmitted(a){this.validate(this.value),this.error&&a.preventDefault()}handletriggerValidation(a){this.validate(this.value),this.error&&a.preventDefault()}handleInput(a){this.error="";const r=a.target;this.value=e.sanitize(r.value),this.nylasFormInputChanged.emit({value:this.value,name:this.name,error:this.error,label:this.label,type:this.type})}validate(a){this.required&&!a?this.error=`${this.label} is required.`:a.length>this.maxLength?this.error=`${this.label} cannot exceed ${this.maxLength} characters.`:this.error=""}render(){return e.h("label",{key:"ef3eb6b971e8314affa363e69db63910dda65441",part:"tc__label",class:{error:!!this.error}},e.h("p",{key:"004a62ae6947d59b0f9737283d236844810e1ab5"},e.h("span",{key:"4ea2e4427021d0907405a893a4a6072cc5d3a59f",class:"label"},this.label),this.required&&e.h("span",{class:"required"},"*"),this.tooltip&&e.h("tooltip-component",null,e.h("info-icon",{slot:"tooltip-icon"}),e.h("span",{slot:"tooltip-content"},this.tooltip))),e.h("textarea",{key:"751dc58e9baa8b28e565045f31c0300b6eb26cfc",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:a=>this.handleInput(a),class:{error:!!this.error},part:"tc__textarea"}),this.error&&e.h("span",{class:"error help-text"},this.error))}};l.style=s;exports.textarea_component=l;
@@ -1,4 +1,4 @@
1
- import { r as o, a as s, y as l, h as a } from "./index-71f61ea9.js";
1
+ import { r as o, a as s, y as l, h as a } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1,4 +1,4 @@
1
- import { r as s, a, h as l } from "./index-71f61ea9.js";
1
+ import { r as s, a, h as l } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const a='.switch{--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-0);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}',o=a,s=class{constructor(l){e.registerInstance(this,l),this.nylasFormSwitchToggled=e.createEvent(this,"nylasFormSwitchToggled",7),this.name="toggle-switch",this.checked=!1,this.label="",this.isChecked=this.checked}checkedChanged(l){this.isChecked=l}componentWillLoad(){this.isChecked=this.checked}toggleCheck(){this.isChecked=!this.isChecked,this.nylasFormSwitchToggled.emit({checked:this.isChecked,name:this.name,label:this.label})}render(){return e.h("label",{key:"65632395ac0a2cbc73846dd50bbca8c5a6b35495",class:"switch",part:"ts_label"},e.h("input",{key:"809e3371aae47a7c9eefff96132b9a805daae86e",type:"checkbox",part:"ts_input",name:this.name,checked:this.isChecked,onChange:()=>this.toggleCheck()}),e.h("div",{key:"85bb7bb0eb9a43fef2a5a4ebb3695355829ea3a2",class:"slider round",part:`ts_slider ${this.isChecked?"ts_slider_checked":""}`}))}static get watchers(){return{checked:["checkedChanged"]}}};s.style=o;exports.toggle_switch=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const a='.switch{--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-color-blue-100:#e0e6f9;--nylas-border-radius:0.25rem;--nylas-border-radius-2x:0.5rem;--nylas-border-radius-3x:0.75rem;--nylas-font-family:"Inter", sans-serif;--nylas-color-black:#000000;--nylas-color-grey-900:#2c2c2c;--nylas-color-grey-800:#4b4b4b;--nylas-color-grey-700:#6e6e6e;--nylas-color-grey-600:#8e8e8e;--nylas-color-grey-500:#b3b3b3;--nylas-color-grey-400:#cacaca;--nylas-color-grey-300:#e1e1e1;--nylas-color-grey-200:#eaeaea;--nylas-color-grey-100:#f5f5f5;--nylas-color-grey-50:#fbfcfe;--nylas-color-white:#ffffff;--nylas-color-red-900:#992222;--nylas-color-red-700:#cc4841;--nylas-color-red-500:#ff786a;--nylas-color-red-300:#ffa79e;--nylas-color-red-100:#ffc5bf;--nylas-color-red-50:#ffeae8;--nylas-color-blue-900:#213571;--nylas-color-blue-700:#314fa9;--nylas-color-blue-500:#4169e1;--nylas-color-blue-300:#bdccf9;--nylas-color-blue-100:#e0e6f9;--nylas-color-blue-50:#f6f8fd;--nylas-color-yellow-900:#7c6506;--nylas-color-yellow-700:#c29f09;--nylas-color-yellow-500:#f7c90b;--nylas-color-yellow-300:#f9de70;--nylas-color-yellow-100:#fceba9;--nylas-color-yellow-50:#fdf4ce;--nylas-color-green-900:#0e6b60;--nylas-color-green-700:#16a392;--nylas-color-green-500:#17c3b2;--nylas-color-green-300:#74dbd1;--nylas-color-green-100:#a2e7e0;--nylas-color-green-50:#d1f3f0;--nylas-color-purple-900:#643554;--nylas-color-purple-700:#954f7d;--nylas-color-purple-500:#c769a7;--nylas-color-purple-300:#dda5ca;--nylas-color-purple-100:#e0bdd6;--nylas-color-purple-50:#e9dde5;--nylas-color-sky-900:#20698f;--nylas-color-sky-700:#2b8fc2;--nylas-color-sky-500:#6dceff;--nylas-color-sky-300:#8fdaff;--nylas-color-sky-100:#b8e7ff;--nylas-color-sky-50:#d9f2ff;display:inline-block;height:34px;position:relative;width:60px}.switch input{display:none}.slider{background-color:var(--nylas-base-300);bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:0.4s}.slider:before{background-color:var(--nylas-base-0);bottom:4px;content:"";height:32px;left:4px;position:absolute;transition:0.4s;width:32px}input:checked+.slider{background-color:var(--nylas-success)}input:checked+.slider:before{transform:translateX(32px)}.slider.round{border-radius:35px;width:72px;height:40px}.slider.round:before{border-radius:50%}',o=a,s=class{constructor(l){e.registerInstance(this,l),this.nylasFormSwitchToggled=e.createEvent(this,"nylasFormSwitchToggled",7),this.name="toggle-switch",this.checked=!1,this.label="",this.isChecked=this.checked}checkedChanged(l){this.isChecked=l}componentWillLoad(){this.isChecked=this.checked}toggleCheck(){this.isChecked=!this.isChecked,this.nylasFormSwitchToggled.emit({checked:this.isChecked,name:this.name,label:this.label})}render(){return e.h("label",{key:"65632395ac0a2cbc73846dd50bbca8c5a6b35495",class:"switch",part:"ts_label"},e.h("input",{key:"809e3371aae47a7c9eefff96132b9a805daae86e",type:"checkbox",part:"ts_input",name:this.name,checked:this.isChecked,onChange:()=>this.toggleCheck()}),e.h("div",{key:"85bb7bb0eb9a43fef2a5a4ebb3695355829ea3a2",class:"slider round",part:`ts_slider ${this.isChecked?"ts_slider_checked":""}`}))}static get watchers(){return{checked:["checkedChanged"]}}};s.style=o;exports.toggle_switch=s;
@@ -1,4 +1,4 @@
1
- import { r as e, h as C } from "./index-71f61ea9.js";
1
+ import { r as e, h as C } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-translate-icon-h{display:flex}",r=i,e=class{constructor(t){C.registerInstance(this,t),this.width="16",this.height="16"}render(){return C.h("svg",{key:"a3a970b623885825526a8531efc2fa6b61f1e9e7",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 20 20",fill:"none"},C.h("path",{key:"b6789bfce9afcaa691cb81a864a4596f9c8dc3c6",fill:"currentColor",d:"M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z"}))}};e.style=r;exports.translate_icon=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const i=".sc-translate-icon-h{display:flex}",r=i,e=class{constructor(t){C.registerInstance(this,t),this.width="16",this.height="16"}render(){return C.h("svg",{key:"a3a970b623885825526a8531efc2fa6b61f1e9e7",xmlns:"http://www.w3.org/2000/svg",width:this.width,height:this.height,viewBox:"0 0 20 20",fill:"none"},C.h("path",{key:"b6789bfce9afcaa691cb81a864a4596f9c8dc3c6",fill:"currentColor",d:"M14.1663 4.02867C14.4267 4.12081 14.563 4.40654 14.4709 4.66685C14.3501 5.00788 14.2182 5.4771 14.1178 5.86047C14.6877 5.77587 15.2665 5.65653 15.8867 5.51288C16.1557 5.45058 16.4243 5.61815 16.4866 5.88717C16.5489 6.15619 16.3814 6.42479 16.1123 6.4871C15.339 6.66621 14.6101 6.81289 13.8717 6.90283C13.7759 7.35654 13.7014 7.77084 13.6451 8.15021C14.1202 8.04599 14.5738 8.00553 14.9996 8.02075L14.9996 8C14.9996 7.72386 15.2235 7.5 15.4996 7.5C15.7758 7.5 15.9996 7.72386 15.9996 8C15.9996 8.05657 15.9991 8.11281 15.9979 8.16871C17.1392 8.47838 17.9781 9.23987 18.3435 10.2263C18.9579 11.8853 18.1287 13.8787 15.7027 14.9569C15.4504 15.069 15.1549 14.9554 15.0427 14.7031C14.9306 14.4507 15.0442 14.1552 15.2966 14.0431C17.3705 13.1213 17.7913 11.6147 17.4057 10.5737C17.1874 9.984 16.6776 9.44916 15.9129 9.18633C15.6829 10.7237 15.021 11.9466 14.229 12.7925C14.3126 12.9656 14.3958 13.1436 14.4641 13.3151C14.5662 13.5717 14.441 13.8625 14.1844 13.9646C13.9278 14.0667 13.637 13.9415 13.5349 13.6849C13.5066 13.6137 13.4777 13.5463 13.448 13.4802C13.028 13.7794 12.5905 13.9869 12.1705 14.0835C11.5942 14.2161 10.963 14.1517 10.534 13.6942C9.88917 13.0053 9.84361 11.8611 10.2855 10.8412C10.6652 9.96479 11.4186 9.11781 12.5848 8.54034C12.6387 8.07338 12.7199 7.55894 12.8332 6.98891C12.3926 7.00755 11.9403 7.00326 11.4659 6.97127C11.1904 6.95269 10.9821 6.71428 11.0007 6.43876C11.0192 6.16325 11.2577 5.95496 11.5332 5.97353C12.0633 6.00928 12.5641 6.00772 13.0566 5.97553C13.1605 5.55444 13.3512 4.8331 13.5282 4.33317C13.6203 4.07286 13.906 3.93653 14.1663 4.02867ZM12.501 9.74109C11.8436 10.1821 11.427 10.7219 11.2031 11.2387C10.8542 12.0439 10.9881 12.716 11.2638 13.0105C11.2637 13.0104 11.2639 13.0106 11.2638 13.0105C11.3573 13.11 11.5624 13.1973 11.9463 13.109C12.2578 13.0373 12.6311 12.8571 13.0121 12.5576C12.8658 12.22 12.7272 11.8324 12.6313 11.353C12.5405 10.8996 12.4899 10.3743 12.501 9.74109ZM13.7808 11.7797C14.316 11.0956 14.759 10.1665 14.9271 9.01632C14.539 9.00681 14.1111 9.05601 13.6457 9.17854C13.605 9.19274 13.5647 9.20726 13.525 9.22209C13.4663 10.0545 13.5146 10.671 13.6118 11.1568C13.6578 11.3868 13.7156 11.5913 13.7808 11.7797ZM6.92028 5.2159C5.77942 4.88398 4.78409 5.00841 4.07616 5.21575C3.72264 5.3193 3.439 5.44393 3.24121 5.5443C3.14215 5.59457 3.0641 5.63901 3.00903 5.67212C2.98147 5.68868 2.95962 5.70244 2.9437 5.71271L2.92429 5.72542L2.91797 5.72966L2.91566 5.73123L2.91393 5.73241C2.91384 5.73249 2.91436 5.73325 2.94925 5.78397C3.23698 6.20225 3.1703 6.10548 2.91393 5.73241C2.68634 5.88881 2.62863 6.20009 2.78502 6.42767C2.94134 6.65514 3.25207 6.71313 3.47963 6.55703L3.4788 6.5576L3.48576 6.55305C3.49318 6.54826 3.50608 6.5401 3.52423 6.52919C3.56057 6.50735 3.6177 6.47463 3.69373 6.43605C3.84612 6.35872 4.07228 6.2589 4.35724 6.17544C4.92619 6.0088 5.72242 5.90898 6.64043 6.17595C7.35305 6.38517 7.66747 6.76919 7.82692 7.16112C7.98173 7.54163 8.0026 7.95751 8.00531 8.33243C7.46199 8.18407 6.79336 8.03682 6.08385 8.00744C5.04808 7.96456 3.8874 8.17096 2.87738 9.01102C1.98877 9.75011 1.78345 10.8818 2.07014 11.853C2.35713 12.8252 3.14925 13.692 4.31803 13.9348C5.22351 14.123 6.18016 13.8639 6.9599 13.5212C7.3403 13.354 7.69572 13.1594 8.0057 12.9665V13.5C8.0057 13.7761 8.22956 14 8.5057 14C8.78184 14 9.0057 13.7754 9.0057 13.4993L9.0057 8.44586C9.0058 8.05404 9.00595 7.40554 8.7532 6.78428C8.48142 6.11625 7.93342 5.51313 6.92136 5.21622L6.92028 5.2159ZM6.04249 9.00659C6.76366 9.03645 7.44769 9.209 8.0057 9.37205V11.757C7.65814 12.0182 7.13927 12.35 6.55757 12.6057C5.85264 12.9155 5.12729 13.0816 4.52148 12.9557C3.75127 12.7957 3.22322 12.2271 3.02922 11.5699C2.83491 10.9116 2.98777 10.2199 3.51683 9.77985C4.27958 9.14545 5.16917 8.97043 6.04249 9.00659Z"}))}};e.style=r;exports.translate_icon=e;
@@ -1,4 +1,4 @@
1
- import { r as s, h as t } from "./index-71f61ea9.js";
1
+ import { r as s, h as t } from "./index-ad781fbc.js";
2
2
  import "react";
3
3
  import "react/jsx-runtime";
4
4
  import "react-dom";
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-trash-fill-icon-h{display:flex}",a=s,t=class{constructor(d){e.registerInstance(this,d),this.width="15",this.height="15"}render(){return e.h("svg",{key:"d91a0b4a4fe83f9e8eda0f0925ddfa4de2e0ba78",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6129e4dcceb4fba9571a9f499fdb0fd36b09a86e",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"6d06dc26a0f98d8afde40f2c4de69ca8c8d9cc92",d:"M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"e5bd2116bb19b79d84ab67139adfac56bd3f3740",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"bc014f02ebd86b4fd85ae744bfc47fed60ab0fe6",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=a;exports.trash_fill_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const s=".sc-trash-fill-icon-h{display:flex}",a=s,t=class{constructor(d){e.registerInstance(this,d),this.width="15",this.height="15"}render(){return e.h("svg",{key:"d91a0b4a4fe83f9e8eda0f0925ddfa4de2e0ba78",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"auto",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"6129e4dcceb4fba9571a9f499fdb0fd36b09a86e",d:"M3 6H5H21",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"6d06dc26a0f98d8afde40f2c4de69ca8c8d9cc92",d:"M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"e5bd2116bb19b79d84ab67139adfac56bd3f3740",d:"M10 11V17",stroke:"auto","stroke-width":"1.5"}),e.h("path",{key:"bc014f02ebd86b4fd85ae744bfc47fed60ab0fe6",d:"M14 11V17",stroke:"auto","stroke-width":"1.5"}))}};t.style=a;exports.trash_fill_icon=t;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-f769bc2a.cjs");require("react");require("react/jsx-runtime");require("react-dom");const n=".sc-underline-icon-h{display:flex}",r=n,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"96ed32bea9de1ea04ec4f8d5d8ccab5b01f65401",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e37b2de78c212e7dd46583ad3fc6fc17c7a510a3",d:"M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.underline_icon=t;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-dc6efb5e.cjs");require("react");require("react/jsx-runtime");require("react-dom");const n=".sc-underline-icon-h{display:flex}",r=n,t=class{constructor(i){e.registerInstance(this,i),this.width="15",this.height="15"}render(){return e.h("svg",{key:"96ed32bea9de1ea04ec4f8d5d8ccab5b01f65401",width:this.width,height:this.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.h("path",{key:"e37b2de78c212e7dd46583ad3fc6fc17c7a510a3",d:"M19 4V10C19 13.866 15.866 17 12 17C8.13401 17 5 13.866 5 10V4M8.5 4V10C8.5 13.2218 10.6766 15.9352 13.6395 16.7501M4 21H20M3 4L10.5 4M17 4L21 4",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}))}};t.style=r;exports.underline_icon=t;