@nylas/react 1.1.0-canary.7 → 1.1.0-canary.8

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 (96) hide show
  1. package/dist/add-circle-icon_22.entry-080abc71.cjs +1 -0
  2. package/dist/add-circle-icon_22.entry-bda9be31.js +1818 -0
  3. package/dist/archive-icon_7.entry-ca20da59.cjs +1 -0
  4. package/dist/archive-icon_7.entry-e2954750.js +75 -0
  5. package/dist/arrow-icon.entry-03a85113.js +15 -0
  6. package/dist/arrow-icon.entry-548b027e.cjs +1 -0
  7. package/dist/bold-icon_3.entry-70ffa7f0.js +35 -0
  8. package/dist/bold-icon_3.entry-9a7b1869.cjs +1 -0
  9. package/dist/calendar-cancel-icon.entry-45388fdc.cjs +1 -0
  10. package/dist/calendar-cancel-icon.entry-6bbc119f.js +15 -0
  11. package/dist/calendar-check-icon_2.entry-6628456c.cjs +1 -0
  12. package/dist/calendar-check-icon_2.entry-f633f7a6.js +25 -0
  13. package/dist/calendar-icon.entry-379b1fa1.cjs +1 -0
  14. package/dist/calendar-icon.entry-62b82c27.js +15 -0
  15. package/dist/chevron-icon_3.entry-74425e1f.js +117 -0
  16. package/dist/chevron-icon_3.entry-7ff803ad.cjs +1 -0
  17. package/dist/close-icon.entry-18e140ed.cjs +1 -0
  18. package/dist/close-icon.entry-6a8ea4a7.js +15 -0
  19. package/dist/constants-f34b9c6e-95a17764.js +3749 -0
  20. package/dist/constants-f34b9c6e-e7137e51.cjs +15 -0
  21. package/dist/document-refresh-icon.entry-32c75418.js +15 -0
  22. package/dist/document-refresh-icon.entry-f15f795a.cjs +1 -0
  23. package/dist/{elements-dc5b338e-96e197ca.cjs → elements-dc5b338e-1f23530f.cjs} +1 -1
  24. package/dist/{elements-dc5b338e-6078b875.js → elements-dc5b338e-62fe1cf3.js} +1 -1
  25. package/dist/{focus-visible-e8093c16-ab01d60a.js → focus-visible-e8093c16-1f664070.js} +1 -1
  26. package/dist/{focus-visible-e8093c16-018ffd63.cjs → focus-visible-e8093c16-f0f05815.cjs} +1 -1
  27. package/dist/forward-icon_6.entry-7fab04d7.js +953 -0
  28. package/dist/forward-icon_6.entry-ef5e2e0f.cjs +3 -0
  29. package/dist/globe-icon.entry-398a9826.cjs +1 -0
  30. package/dist/globe-icon.entry-b8e1efae.js +15 -0
  31. package/dist/google-logo-icon_4.entry-38d5c2f2.cjs +1 -0
  32. package/dist/google-logo-icon_4.entry-5eca9538.js +381 -0
  33. package/dist/index-93c50de4.cjs +37 -0
  34. package/dist/{index-1fd24ccf.js → index-f93f6948.js} +1586 -1162
  35. package/dist/index.es-df564f87-b773d34f.js +3137 -0
  36. package/dist/index.es-df564f87-e4a4092a.cjs +7 -0
  37. package/dist/info-icon_2.entry-2eb70f49.cjs +1 -0
  38. package/dist/info-icon_2.entry-6bbfa6dc.js +34 -0
  39. package/dist/loading-icon.entry-b563b2e6.js +15 -0
  40. package/dist/loading-icon.entry-fb04b893.cjs +1 -0
  41. package/dist/mailbox-store-69c5c5f6-631eddb5.cjs +1 -0
  42. package/dist/mailbox-store-69c5c5f6-8ab4670b.js +380 -0
  43. package/dist/nylas-additional-participants.entry-33a45477.cjs +1 -0
  44. package/dist/nylas-additional-participants.entry-4b214308.js +81 -0
  45. package/dist/nylas-booked-event-card_10.entry-3e225025.cjs +1 -0
  46. package/dist/nylas-booked-event-card_10.entry-e93bc290.js +782 -0
  47. package/dist/nylas-form-card.entry-0748fdd5.js +54 -0
  48. package/dist/nylas-form-card.entry-eb3607bc.cjs +1 -0
  49. package/dist/nylas-if-state.entry-276d61ad.cjs +1 -0
  50. package/dist/nylas-if-state.entry-f8abd025.js +94 -0
  51. package/dist/nylas-list-folders.entry-78cc680e.js +120 -0
  52. package/dist/nylas-list-folders.entry-afe02f0e.cjs +1 -0
  53. package/dist/nylas-list-threads.entry-217088de.js +70 -0
  54. package/dist/nylas-list-threads.entry-6395c12f.cjs +1 -0
  55. package/dist/nylas-login.entry-e4d57589.js +73 -0
  56. package/dist/nylas-login.entry-ec81e21b.cjs +1 -0
  57. package/dist/nylas-mailbox-pagination.entry-069673aa.js +101 -0
  58. package/dist/nylas-mailbox-pagination.entry-d4d929f1.cjs +1 -0
  59. package/dist/nylas-mailbox-toolbar-button.entry-03c5f5c8.js +82 -0
  60. package/dist/nylas-mailbox-toolbar-button.entry-2b9e4431.cjs +1 -0
  61. package/dist/nylas-mailbox.entry-1342178d.cjs +1 -0
  62. package/dist/nylas-mailbox.entry-7e6b4791.js +134 -0
  63. package/dist/nylas-provider.entry-0ae8e70a.cjs +1 -0
  64. package/dist/nylas-provider.entry-498a7be9.js +145 -0
  65. package/dist/nylas-scheduler-editor.entry-4de2bb97.js +2275 -0
  66. package/dist/nylas-scheduler-editor.entry-72c91b7d.cjs +7 -0
  67. package/dist/nylas-scheduling.entry-1a004916.cjs +1 -0
  68. package/dist/nylas-scheduling.entry-4e18ab43.js +235 -0
  69. package/dist/nylas-threads-refresh.entry-d020c89e.cjs +1 -0
  70. package/dist/nylas-threads-refresh.entry-fc2d8028.js +74 -0
  71. package/dist/nylas-threads-search.entry-0abcbc10.cjs +1 -0
  72. package/dist/nylas-threads-search.entry-f92f7e30.js +69 -0
  73. package/dist/nylas-view-thread.entry-2f1474cf.js +203 -0
  74. package/dist/nylas-view-thread.entry-56080c89.cjs +1 -0
  75. package/dist/people-icon.entry-431e5044.cjs +1 -0
  76. package/dist/people-icon.entry-b4778e15.js +15 -0
  77. package/dist/play-icon_2.entry-24ffa01f.js +25 -0
  78. package/dist/play-icon_2.entry-f97db395.cjs +1 -0
  79. package/dist/react.cjs +1 -1
  80. package/dist/react.js +54 -54
  81. package/dist/refresh-icon.entry-8395104b.js +15 -0
  82. package/dist/refresh-icon.entry-cf4416b8.cjs +1 -0
  83. package/dist/register-component-b9cfcbaf-c0147194.js +109 -0
  84. package/dist/register-component-b9cfcbaf-d40e1f3c.cjs +1 -0
  85. package/dist/scheduler-config-store-07d98279-0610e42f.cjs +1 -0
  86. package/dist/scheduler-config-store-07d98279-3b70606c.js +24 -0
  87. package/dist/scheduler-store-24fd0e91-2dba20c2.cjs +1 -0
  88. package/dist/scheduler-store-24fd0e91-47098841.js +302 -0
  89. package/dist/time-period-selector.entry-1e849c2e.js +76 -0
  90. package/dist/time-period-selector.entry-d8f3462f.cjs +1 -0
  91. package/dist/translate-icon.entry-66533238.cjs +1 -0
  92. package/dist/translate-icon.entry-d847f706.js +15 -0
  93. package/dist/warning-icon.entry-1f0f00ed.cjs +1 -0
  94. package/dist/warning-icon.entry-b5db0151.js +15 -0
  95. package/package.json +2 -2
  96. package/dist/index-823fdc6f.cjs +0 -36
@@ -0,0 +1,37 @@
1
+ "use strict";var Vr=Object.defineProperty;var eo=(t,e,n)=>e in t?Vr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var wt=(t,e,n)=>(eo(t,typeof e!="symbol"?e+"":e,n),n);const $e=require("react");require("react-dom");const to="nylas-web-elements",Kn={allRenderFn:!0,appendChildSlotFix:!1,asyncLoading:!0,asyncQueue:!1,attachStyles:!0,cloneNodeFix:!1,cmpDidLoad:!0,cmpDidRender:!0,cmpDidUnload:!1,cmpDidUpdate:!0,cmpShouldUpdate:!1,cmpWillLoad:!0,cmpWillRender:!0,cmpWillUpdate:!0,connectedCallback:!0,constructableCSS:!0,cssAnnotations:!0,devTools:!1,disconnectedCallback:!0,element:!1,event:!0,experimentalScopedSlotChanges:!1,experimentalSlotFixes:!1,formAssociated:!0,hasRenderFn:!0,hostListener:!0,hostListenerTarget:!0,hostListenerTargetBody:!0,hostListenerTargetDocument:!0,hostListenerTargetParent:!1,hostListenerTargetWindow:!0,hotModuleReplacement:!1,hydrateClientSide:!1,hydrateServerSide:!1,hydratedAttribute:!1,hydratedClass:!0,initializeNextTick:!1,invisiblePrehydration:!0,isDebug:!1,isDev:!1,isTesting:!1,lazyLoad:!0,lifecycle:!0,lifecycleDOMEvents:!1,member:!0,method:!0,mode:!1,observeAttribute:!0,profile:!1,prop:!0,propBoolean:!0,propMutable:!0,propNumber:!0,propString:!0,reflect:!1,scoped:!0,scopedSlotTextContentFix:!1,scriptDataOpts:!1,shadowDelegatesFocus:!1,shadowDom:!0,slot:!0,slotChildNodesFix:!1,slotRelocation:!0,state:!0,style:!0,svg:!0,taskQueue:!0,transformTagName:!1,updatable:!0,vdomAttribute:!0,vdomClass:!0,vdomFunctional:!0,vdomKey:!0,vdomListener:!0,vdomPropOrAttr:!0,vdomRef:!0,vdomRender:!0,vdomStyle:!0,vdomText:!0,vdomXlink:!1,watchCallback:!0};let Fe,xt,yt,Gn=!1,it=!1,Ht=!1,le=!1,Ot=null,It=!1;const Ie=(t,e="")=>()=>{},no=(t,e)=>()=>{},ro="{visibility:hidden}.hydrated{visibility:inherit}",Zn="slot-fb{display:contents}slot-fb[hidden]{display:none}",oo=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],fn={},ao="http://www.w3.org/2000/svg",io="http://www.w3.org/1999/xhtml",so=t=>t!=null,Ft=t=>(t=typeof t,t==="object"||t==="function");function Jn(t){var e,n,r;return(r=(n=(e=t.head)===null||e===void 0?void 0:e.querySelector('meta[name="csp-nonce"]'))===null||n===void 0?void 0:n.getAttribute("content"))!==null&&r!==void 0?r:void 0}const jt=(t,e,...n)=>{let r=null,o=null,i=null,a=!1,l=!1;const s=[],u=f=>{for(let h=0;h<f.length;h++)r=f[h],Array.isArray(r)?u(r):r!=null&&typeof r!="boolean"&&((a=typeof t!="function"&&!Ft(r))&&(r=String(r)),a&&l?s[s.length-1].$text$+=r:s.push(a?st(null,r):r),l=a)};if(u(n),e){e.key&&(o=e.key),e.name&&(i=e.name);{const f=e.className||e.class;f&&(e.class=typeof f!="object"?f:Object.keys(f).filter(h=>f[h]).join(" "))}}if(typeof t=="function")return t(e===null?{}:e,s,co);const d=st(t,null);return d.$attrs$=e,s.length>0&&(d.$children$=s),d.$key$=o,d.$name$=i,d},st=(t,e)=>{const n={$flags$:0,$tag$:t,$text$:e,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n.$name$=null,n},Xn={},lo=t=>t&&t.$tag$===Xn,co={forEach:(t,e)=>t.map(hn).forEach(e),map:(t,e)=>t.map(hn).map(e).map(uo)},hn=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),uo=t=>{if(typeof t.vtag=="function"){const n=Object.assign({},t.vattrs);return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),jt(t.vtag,n,...t.vchildren||[])}const e=st(t.vtag,t.vtext);return e.$attrs$=t.vattrs,e.$children$=t.vchildren,e.$key$=t.vkey,e.$name$=t.vname,e},fo=(t,e)=>t!=null&&!Ft(t)?e&4?t==="false"?!1:t===""||!!t:e&2?parseFloat(t):e&1?String(t):t:t,Qn=t=>we(t).$hostElement$,ho=(t,e,n)=>{const r=Qn(t);return{emit:o=>Vn(r,e,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:o})}},Vn=(t,e,n)=>{const r=B.ce(e,n);return t.dispatchEvent(r),r},yn=new WeakMap,yo=(t,e,n)=>{let r=ct.get(t);Wo&&n?(r=r||new CSSStyleSheet,typeof r=="string"?r=e:r.replaceSync(e)):r=e,ct.set(t,r)},po=(t,e,n)=>{var r;const o=er(e),i=ct.get(o);if(t=t.nodeType===11?t:re,i)if(typeof i=="string"){t=t.head||t;let a=yn.get(t),l;if(a||yn.set(t,a=new Set),!a.has(o)){{l=re.createElement("style"),l.innerHTML=i;const s=(r=B.$nonce$)!==null&&r!==void 0?r:Jn(re);s!=null&&l.setAttribute("nonce",s),t.insertBefore(l,t.querySelector("link"))}e.$flags$&4&&(l.innerHTML+=Zn),a&&a.add(o)}}else t.adoptedStyleSheets.includes(i)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,i]);return o},mo=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,r=e.$flags$,o=Ie("attachStyles",e.$tagName$),i=po(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);r&10&&(n["s-sc"]=i,n.classList.add(i+"-h"),r&2&&n.classList.add(i+"-s")),o()},er=(t,e)=>"sc-"+t.$tagName$,pn=(t,e,n,r,o,i)=>{if(n!==r){let a=kn(t,e),l=e.toLowerCase();if(e==="class"){const s=t.classList,u=mn(n),d=mn(r);s.remove(...u.filter(f=>f&&!d.includes(f))),s.add(...d.filter(f=>f&&!u.includes(f)))}else if(e==="style"){for(const s in n)(!r||r[s]==null)&&(s.includes("-")?t.style.removeProperty(s):t.style[s]="");for(const s in r)(!n||r[s]!==n[s])&&(s.includes("-")?t.style.setProperty(s,r[s]):t.style[s]=r[s])}else if(e!=="key")if(e==="ref")r&&r(t);else if(!a&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):kn(tt,l)?e=l.slice(2):e=l[2]+e.slice(3),n||r){const s=e.endsWith(tr);e=e.replace(go,""),n&&B.rel(t,e,n,s),r&&B.ael(t,e,r,s)}}else{const s=Ft(r);if((a||s&&r!==null)&&!o)try{if(t.tagName.includes("-"))t[e]=r;else{const u=r??"";e==="list"?a=!1:(n==null||t[e]!=u)&&(t[e]=u)}}catch{}r==null||r===!1?(r!==!1||t.getAttribute(e)==="")&&t.removeAttribute(e):(!a||i&4||o)&&!s&&(r=r===!0?"":r,t.setAttribute(e,r))}}},vo=/\s/,mn=t=>t?t.split(vo):[],tr="Capture",go=new RegExp(tr+"$"),nr=(t,e,n,r)=>{const o=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,i=t&&t.$attrs$||fn,a=e.$attrs$||fn;for(r in i)r in a||pn(o,r,i[r],void 0,n,e.$flags$);for(r in a)pn(o,r,i[r],a[r],n,e.$flags$)},lt=(t,e,n,r)=>{const o=e.$children$[n];let i=0,a,l,s;if(Gn||(Ht=!0,o.$tag$==="slot"&&(Fe&&r.classList.add(Fe+"-s"),o.$flags$|=o.$children$?2:1)),o.$text$!==null)a=o.$elm$=re.createTextNode(o.$text$);else if(o.$flags$&1)a=o.$elm$=re.createTextNode("");else{if(le||(le=o.$tag$==="svg"),a=o.$elm$=re.createElementNS(le?ao:io,o.$flags$&2?"slot-fb":o.$tag$),le&&o.$tag$==="foreignObject"&&(le=!1),nr(null,o,le),so(Fe)&&a["s-si"]!==Fe&&a.classList.add(a["s-si"]=Fe),o.$children$)for(i=0;i<o.$children$.length;++i)l=lt(t,o,i,a),l&&a.appendChild(l);o.$tag$==="svg"?le=!1:a.tagName==="foreignObject"&&(le=!0)}return a["s-hn"]=yt,o.$flags$&3&&(a["s-sr"]=!0,a["s-cr"]=xt,a["s-sn"]=o.$name$||"",s=t&&t.$children$&&t.$children$[n],s&&s.$tag$===o.$tag$&&t.$elm$&&Ve(t.$elm$,!1)),a},Ve=(t,e)=>{B.$flags$|=1;const n=t.childNodes;for(let r=n.length-1;r>=0;r--){const o=n[r];o["s-hn"]!==yt&&o["s-ol"]&&(ar(o).insertBefore(o,Wt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,Ht=!0),e&&Ve(o,e)}B.$flags$&=-2},rr=(t,e,n,r,o,i)=>{let a=t["s-cr"]&&t["s-cr"].parentNode||t,l;for(a.shadowRoot&&a.tagName===yt&&(a=a.shadowRoot);o<=i;++o)r[o]&&(l=lt(null,n,o,t),l&&(r[o].$elm$=l,a.insertBefore(l,Wt(e))))},or=(t,e,n)=>{for(let r=e;r<=n;++r){const o=t[r];if(o){const i=o.$elm$;lr(o),i&&(it=!0,i["s-ol"]?i["s-ol"].remove():Ve(i,!0),i.remove())}}},bo=(t,e,n,r,o=!1)=>{let i=0,a=0,l=0,s=0,u=e.length-1,d=e[0],f=e[u],h=r.length-1,y=r[0],p=r[h],v,b;for(;i<=u&&a<=h;)if(d==null)d=e[++i];else if(f==null)f=e[--u];else if(y==null)y=r[++a];else if(p==null)p=r[--h];else if(at(d,y,o))je(d,y,o),d=e[++i],y=r[++a];else if(at(f,p,o))je(f,p,o),f=e[--u],p=r[--h];else if(at(d,p,o))(d.$tag$==="slot"||p.$tag$==="slot")&&Ve(d.$elm$.parentNode,!1),je(d,p,o),t.insertBefore(d.$elm$,f.$elm$.nextSibling),d=e[++i],p=r[--h];else if(at(f,y,o))(d.$tag$==="slot"||p.$tag$==="slot")&&Ve(f.$elm$.parentNode,!1),je(f,y,o),t.insertBefore(f.$elm$,d.$elm$),f=e[--u],y=r[++a];else{for(l=-1,s=i;s<=u;++s)if(e[s]&&e[s].$key$!==null&&e[s].$key$===y.$key$){l=s;break}l>=0?(b=e[l],b.$tag$!==y.$tag$?v=lt(e&&e[a],n,l,t):(je(b,y,o),e[l]=void 0,v=b.$elm$),y=r[++a]):(v=lt(e&&e[a],n,a,t),y=r[++a]),v&&ar(d.$elm$).insertBefore(v,Wt(d.$elm$))}i>u?rr(t,r[h+1]==null?null:r[h+1].$elm$,n,r,a,h):a>h&&or(e,i,u)},at=(t,e,n=!1)=>t.$tag$===e.$tag$?t.$tag$==="slot"?t.$name$===e.$name$:n?!0:t.$key$===e.$key$:!1,Wt=t=>t&&t["s-ol"]||t,ar=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,je=(t,e,n=!1)=>{const r=e.$elm$=t.$elm$,o=t.$children$,i=e.$children$,a=e.$tag$,l=e.$text$;let s;l===null?(le=a==="svg"?!0:a==="foreignObject"?!1:le,a==="slot"||nr(t,e,le),o!==null&&i!==null?bo(r,o,e,i,n):i!==null?(t.$text$!==null&&(r.textContent=""),rr(r,null,e,i,0,i.length-1)):o!==null&&or(o,0,o.length-1),le&&a==="svg"&&(le=!1)):(s=r["s-cr"])?s.parentNode.textContent=l:t.$text$!==l&&(r.data=l)},ir=t=>{const e=t.childNodes;for(const n of e)if(n.nodeType===1){if(n["s-sr"]){const r=n["s-sn"];n.hidden=!1;for(const o of e)if(o!==n){if(o["s-hn"]!==n["s-hn"]||r!==""){if(o.nodeType===1&&(r===o.getAttribute("slot")||r===o["s-sn"])){n.hidden=!0;break}}else if(o.nodeType===1||o.nodeType===3&&o.textContent.trim()!==""){n.hidden=!0;break}}}ir(n)}},xe=[],sr=t=>{let e,n,r;for(const o of t.childNodes){if(o["s-sr"]&&(e=o["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const i=o["s-sn"];for(r=n.length-1;r>=0;r--)if(e=n[r],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==o["s-hn"]&&!Kn.experimentalSlotFixes)if(vn(e,i)){let a=xe.find(l=>l.$nodeToRelocate$===e);it=!0,e["s-sn"]=e["s-sn"]||i,a?(a.$nodeToRelocate$["s-sh"]=o["s-hn"],a.$slotRefNode$=o):(e["s-sh"]=o["s-hn"],xe.push({$slotRefNode$:o,$nodeToRelocate$:e})),e["s-sr"]&&xe.map(l=>{vn(l.$nodeToRelocate$,e["s-sn"])&&(a=xe.find(s=>s.$nodeToRelocate$===e),a&&!l.$slotRefNode$&&(l.$slotRefNode$=a.$slotRefNode$))})}else xe.some(a=>a.$nodeToRelocate$===e)||xe.push({$nodeToRelocate$:e})}o.nodeType===1&&sr(o)}},vn=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e?!0:e==="",lr=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(lr)},$o=(t,e,n=!1)=>{var r,o,i,a;const l=t.$hostElement$,s=t.$cmpMeta$,u=t.$vnode$||st(null,null),d=lo(e)?e:jt(null,null,e);if(yt=l.tagName,n&&d.$attrs$)for(const f of Object.keys(d.$attrs$))l.hasAttribute(f)&&!["key","ref","style","class"].includes(f)&&(d.$attrs$[f]=l[f]);d.$tag$=null,d.$flags$|=4,t.$vnode$=d,d.$elm$=u.$elm$=l.shadowRoot||l,Fe=l["s-sc"],xt=l["s-cr"],Gn=(s.$flags$&1)!==0,it=!1,je(u,d,n);{if(B.$flags$|=1,Ht){sr(d.$elm$);for(const f of xe){const h=f.$nodeToRelocate$;if(!h["s-ol"]){const y=re.createTextNode("");y["s-nr"]=h,h.parentNode.insertBefore(h["s-ol"]=y,h)}}for(const f of xe){const h=f.$nodeToRelocate$,y=f.$slotRefNode$;if(y){const p=y.parentNode;let v=y.nextSibling;{let b=(r=h["s-ol"])===null||r===void 0?void 0:r.previousSibling;for(;b;){let T=(o=b["s-nr"])!==null&&o!==void 0?o:null;if(T&&T["s-sn"]===h["s-sn"]&&p===T.parentNode&&(T=T.nextSibling,!T||!T["s-nr"])){v=T;break}b=b.previousSibling}}(!v&&p!==h.parentNode||h.nextSibling!==v)&&h!==v&&(!h["s-hn"]&&h["s-ol"]&&(h["s-hn"]=h["s-ol"].parentNode.nodeName),p.insertBefore(h,v),h.nodeType===1&&(h.hidden=(i=h["s-ih"])!==null&&i!==void 0?i:!1))}else h.nodeType===1&&(n&&(h["s-ih"]=(a=h.hidden)!==null&&a!==void 0?a:!1),h.hidden=!0)}}it&&ir(d.$elm$),B.$flags$&=-2,xe.length=0}xt=void 0},cr=(t,e)=>{e&&!t.$onRenderResolve$&&e["s-p"]&&e["s-p"].push(new Promise(n=>t.$onRenderResolve$=n))},pt=(t,e)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return cr(t,t.$ancestorComponent$),Bo(()=>wo(t,e))},wo=(t,e)=>{const n=Ie("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$lazyInstance$;let o;return e?(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([i,a])=>Oe(r,i,a)),t.$queuedListeners$=void 0),o=Oe(r,"componentWillLoad")):o=Oe(r,"componentWillUpdate"),o=gn(o,()=>Oe(r,"componentWillRender")),n(),gn(o,()=>Eo(t,r,e))},gn=(t,e)=>ko(t)?t.then(e):e(),ko=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",Eo=async(t,e,n)=>{var r;const o=t.$hostElement$,i=Ie("update",t.$cmpMeta$.$tagName$),a=o["s-rc"];n&&mo(t);const l=Ie("render",t.$cmpMeta$.$tagName$);To(t,e,o,n),a&&(a.map(s=>s()),o["s-rc"]=void 0),l(),i();{const s=(r=o["s-p"])!==null&&r!==void 0?r:[],u=()=>So(t);s.length===0?u():(Promise.all(s).then(u),t.$flags$|=4,s.length=0)}},To=(t,e,n,r)=>{try{Ot=e,e=e.render(),t.$flags$&=-17,t.$flags$|=2,$o(t,e,r)}catch(o){_(o,t.$hostElement$)}return Ot=null,null},bn=()=>Ot,So=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,r=Ie("postUpdate",e),o=t.$lazyInstance$,i=t.$ancestorComponent$;Oe(o,"componentDidRender"),t.$flags$&64?(Oe(o,"componentDidUpdate"),r()):(t.$flags$|=64,dr(n),Oe(o,"componentDidLoad"),r(),t.$onReadyResolve$(n),i||ur()),t.$onInstanceResolve$(n),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&Bt(()=>pt(t,!1)),t.$flags$&=-517},$n=t=>{{const e=we(t),n=e.$hostElement$.isConnected;return n&&(e.$flags$&18)===2&&pt(e,!1),n}},ur=t=>{dr(re.documentElement),Bt(()=>Vn(tt,"appload",{detail:{namespace:to}}))},Oe=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(r){_(r)}},dr=t=>t.classList.add("hydrated"),Co=(t,e)=>we(t).$instanceValues$.get(e),xo=(t,e,n,r)=>{const o=we(t),i=o.$hostElement$,a=o.$instanceValues$.get(e),l=o.$flags$,s=o.$lazyInstance$;n=fo(n,r.$members$[e][0]);const u=Number.isNaN(a)&&Number.isNaN(n),d=n!==a&&!u;if((!(l&8)||a===void 0)&&d&&(o.$instanceValues$.set(e,n),s)){if(r.$watchers$&&l&128){const f=r.$watchers$[e];f&&f.map(h=>{try{s[h](n,a,e)}catch(y){_(y,i)}})}(l&18)===2&&pt(o,!1)}},fr=(t,e,n)=>{var r;const o=t.prototype;if(e.$flags$&64&&n&1&&oo.forEach(i=>Object.defineProperty(o,i,{value(...a){const l=we(this),s=l.$lazyInstance$;if(!s)l.$onReadyPromise$.then(u=>{const d=u[i];typeof d=="function"&&d.call(u,...a)});else{const u=s[i];typeof u=="function"&&u.call(s,...a)}}})),e.$members$){t.watchers&&(e.$watchers$=t.watchers);const i=Object.entries(e.$members$);if(i.map(([a,[l]])=>{l&31||n&2&&l&32?Object.defineProperty(o,a,{get(){return Co(this,a)},set(s){xo(this,a,s,e)},configurable:!0,enumerable:!0}):n&1&&l&64&&Object.defineProperty(o,a,{value(...s){var u;const d=we(this);return(u=d==null?void 0:d.$onInstancePromise$)===null||u===void 0?void 0:u.then(()=>{var f;return(f=d.$lazyInstance$)===null||f===void 0?void 0:f[a](...s)})}})}),n&1){const a=new Map;o.attributeChangedCallback=function(l,s,u){B.jmp(()=>{var d;const f=a.get(l);if(this.hasOwnProperty(f))u=this[f],delete this[f];else{if(o.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const h=we(this),y=h==null?void 0:h.$flags$;if(y&&!(y&8)&&y&128&&u!==s){const p=h.$lazyInstance$,v=(d=e.$watchers$)===null||d===void 0?void 0:d[l];v==null||v.forEach(b=>{p[b]!=null&&p[b].call(p,u,s,l)})}return}}this[f]=u===null&&typeof this[f]=="boolean"?!1:u})},t.observedAttributes=Array.from(new Set([...Object.keys((r=e.$watchers$)!==null&&r!==void 0?r:{}),...i.filter(([l,s])=>s[0]&15).map(([l,s])=>{const u=s[1]||l;return a.set(u,l),u})]))}}return t},Oo=async(t,e,n,r)=>{let o;if(!(e.$flags$&32)){e.$flags$|=32;{if(o=Ho(n),o.then){const s=no();o=await o,s()}o.isProxied||(n.$watchers$=o.watchers,fr(o,n,2),o.isProxied=!0);const l=Ie("createInstance",n.$tagName$);e.$flags$|=8;try{new o(e)}catch(s){_(s)}e.$flags$&=-9,e.$flags$|=128,l(),Dt(e.$lazyInstance$)}if(o.style){let l=o.style;const s=er(n);if(!ct.has(s)){const u=Ie("registerStyles",n.$tagName$);yo(s,l,!!(n.$flags$&1)),u()}}}const i=e.$ancestorComponent$,a=()=>pt(e,!0);i&&i["s-rc"]?i["s-rc"].push(a):a()},Dt=t=>{Oe(t,"connectedCallback")},Io=t=>{if(!(B.$flags$&1)){const e=we(t),n=e.$cmpMeta$,r=Ie("connectedCallback",n.$tagName$);if(e.$flags$&1)hr(t,e,n.$listeners$),e!=null&&e.$lazyInstance$?Dt(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>Dt(e.$lazyInstance$));else{e.$flags$|=1,n.$flags$&12&&Do(t);{let o=t;for(;o=o.parentNode||o.host;)if(o["s-p"]){cr(e,e.$ancestorComponent$=o);break}}n.$members$&&Object.entries(n.$members$).map(([o,[i]])=>{if(i&31&&t.hasOwnProperty(o)){const a=t[o];delete t[o],t[o]=a}}),Oo(t,e,n)}r()}},Do=t=>{const e=t["s-cr"]=re.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},wn=t=>{Oe(t,"disconnectedCallback")},_o=async t=>{if(!(B.$flags$&1)){const e=we(t);e.$rmListeners$&&(e.$rmListeners$.map(n=>n()),e.$rmListeners$=void 0),e!=null&&e.$lazyInstance$?wn(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>wn(e.$lazyInstance$))}},Mo=(t,e={})=>{var n;const r=Ie(),o=[],i=e.exclude||[],a=tt.customElements,l=re.head,s=l.querySelector("meta[charset]"),u=re.createElement("style"),d=[];let f,h=!0;Object.assign(B,e),B.$resourcesUrl$=new URL(e.resourcesUrl||"./",re.baseURI).href;let y=!1;if(t.map(p=>{p[1].map(v=>{var b;const T={$flags$:v[0],$tagName$:v[1],$members$:v[2],$listeners$:v[3]};T.$flags$&4&&(y=!0),T.$members$=v[2],T.$listeners$=v[3],T.$watchers$=(b=v[4])!==null&&b!==void 0?b:{};const L=T.$tagName$,V=class extends HTMLElement{constructor(ie){super(ie),ie=this,Yo(ie,T),T.$flags$&1&&ie.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),h?d.push(this):B.jmp(()=>Io(this))}disconnectedCallback(){B.jmp(()=>_o(this))}componentOnReady(){return we(this).$onReadyPromise$}};T.$flags$&64&&(V.formAssociated=!0),T.$lazyBundleId$=p[0],!i.includes(L)&&!a.get(L)&&(o.push(L),a.define(L,fr(V,T,1)))})}),y&&(u.innerHTML+=Zn),u.innerHTML+=o+ro,u.innerHTML.length){u.setAttribute("data-styles","");const p=(n=B.$nonce$)!==null&&n!==void 0?n:Jn(re);p!=null&&u.setAttribute("nonce",p),l.insertBefore(u,s?s.nextSibling:l.firstChild)}h=!1,d.length?d.map(p=>p.connectedCallback()):B.jmp(()=>f=setTimeout(ur,30)),r()},Lo=(t,e)=>e,hr=(t,e,n,r)=>{n&&n.map(([o,i,a])=>{const l=Ro(t,o),s=No(e,a),u=Po(o);B.ael(l,i,s,u),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>B.rel(l,i,s,u))})},No=(t,e)=>n=>{try{t.$flags$&256?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n])}catch(r){_(r)}},Ro=(t,e)=>e&4?re:e&8?tt:e&16?re.body:t,Po=t=>Fo?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0,Ao=t=>B.$nonce$=t,qt=new WeakMap,we=t=>qt.get(t),Uo=(t,e)=>qt.set(e.$lazyInstance$=t,e),Yo=(t,e)=>{const n={$flags$:0,$hostElement$:t,$cmpMeta$:e,$instanceValues$:new Map};return n.$onInstancePromise$=new Promise(r=>n.$onInstanceResolve$=r),n.$onReadyPromise$=new Promise(r=>n.$onReadyResolve$=r),t["s-p"]=[],t["s-rc"]=[],hr(t,n,e.$listeners$),qt.set(t,n)},kn=(t,e)=>e in t,_=(t,e)=>(0,console.error)(t,e),kt=new Map,Ho=(t,e,n)=>{const r=t.$tagName$.replace(/-/g,"_"),o=t.$lazyBundleId$,i=kt.get(o);if(i)return i[r];if(!n||!Kn.hotModuleReplacement){const a=l=>(kt.set(o,l),l[r]);switch(o){case"document-refresh-icon":return Promise.resolve().then(()=>require("./document-refresh-icon.entry-f15f795a.cjs")).then(a,_);case"nylas-additional-participants":return Promise.resolve().then(()=>require("./nylas-additional-participants.entry-33a45477.cjs")).then(a,_);case"nylas-if-state":return Promise.resolve().then(()=>require("./nylas-if-state.entry-276d61ad.cjs")).then(a,_);case"nylas-list-folders":return Promise.resolve().then(()=>require("./nylas-list-folders.entry-afe02f0e.cjs")).then(a,_);case"nylas-list-threads":return Promise.resolve().then(()=>require("./nylas-list-threads.entry-6395c12f.cjs")).then(a,_);case"nylas-login":return Promise.resolve().then(()=>require("./nylas-login.entry-ec81e21b.cjs")).then(a,_);case"nylas-mailbox":return Promise.resolve().then(()=>require("./nylas-mailbox.entry-1342178d.cjs")).then(a,_);case"nylas-mailbox-pagination":return Promise.resolve().then(()=>require("./nylas-mailbox-pagination.entry-d4d929f1.cjs")).then(a,_);case"nylas-mailbox-toolbar-button":return Promise.resolve().then(()=>require("./nylas-mailbox-toolbar-button.entry-2b9e4431.cjs")).then(a,_);case"nylas-provider":return Promise.resolve().then(()=>require("./nylas-provider.entry-0ae8e70a.cjs")).then(a,_);case"nylas-scheduler-editor":return Promise.resolve().then(()=>require("./nylas-scheduler-editor.entry-72c91b7d.cjs")).then(a,_);case"nylas-scheduling":return Promise.resolve().then(()=>require("./nylas-scheduling.entry-1a004916.cjs")).then(a,_);case"nylas-threads-refresh":return Promise.resolve().then(()=>require("./nylas-threads-refresh.entry-d020c89e.cjs")).then(a,_);case"nylas-threads-search":return Promise.resolve().then(()=>require("./nylas-threads-search.entry-0abcbc10.cjs")).then(a,_);case"nylas-view-thread":return Promise.resolve().then(()=>require("./nylas-view-thread.entry-56080c89.cjs")).then(a,_);case"people-icon":return Promise.resolve().then(()=>require("./people-icon.entry-431e5044.cjs")).then(a,_);case"archive-icon_7":return Promise.resolve().then(()=>require("./archive-icon_7.entry-ca20da59.cjs")).then(a,_);case"arrow-icon":return Promise.resolve().then(()=>require("./arrow-icon.entry-548b027e.cjs")).then(a,_);case"forward-icon_6":return Promise.resolve().then(()=>require("./forward-icon_6.entry-ef5e2e0f.cjs")).then(a,_);case"google-logo-icon_4":return Promise.resolve().then(()=>require("./google-logo-icon_4.entry-38d5c2f2.cjs")).then(a,_);case"nylas-booked-event-card_10":return Promise.resolve().then(()=>require("./nylas-booked-event-card_10.entry-3e225025.cjs")).then(a,_);case"bold-icon_3":return Promise.resolve().then(()=>require("./bold-icon_3.entry-9a7b1869.cjs")).then(a,_);case"calendar-check-icon_2":return Promise.resolve().then(()=>require("./calendar-check-icon_2.entry-6628456c.cjs")).then(a,_);case"add-circle-icon_22":return Promise.resolve().then(()=>require("./add-circle-icon_22.entry-080abc71.cjs")).then(a,_);case"play-icon_2":return Promise.resolve().then(()=>require("./play-icon_2.entry-f97db395.cjs")).then(a,_);case"refresh-icon":return Promise.resolve().then(()=>require("./refresh-icon.entry-cf4416b8.cjs")).then(a,_);case"translate-icon":return Promise.resolve().then(()=>require("./translate-icon.entry-66533238.cjs")).then(a,_);case"warning-icon":return Promise.resolve().then(()=>require("./warning-icon.entry-1f0f00ed.cjs")).then(a,_);case"calendar-cancel-icon":return Promise.resolve().then(()=>require("./calendar-cancel-icon.entry-45388fdc.cjs")).then(a,_);case"calendar-icon":return Promise.resolve().then(()=>require("./calendar-icon.entry-379b1fa1.cjs")).then(a,_);case"time-period-selector":return Promise.resolve().then(()=>require("./time-period-selector.entry-d8f3462f.cjs")).then(a,_);case"nylas-form-card":return Promise.resolve().then(()=>require("./nylas-form-card.entry-eb3607bc.cjs")).then(a,_);case"loading-icon":return Promise.resolve().then(()=>require("./loading-icon.entry-fb04b893.cjs")).then(a,_);case"globe-icon":return Promise.resolve().then(()=>require("./globe-icon.entry-398a9826.cjs")).then(a,_);case"close-icon":return Promise.resolve().then(()=>require("./close-icon.entry-18e140ed.cjs")).then(a,_);case"info-icon_2":return Promise.resolve().then(()=>require("./info-icon_2.entry-2eb70f49.cjs")).then(a,_);case"chevron-icon_3":return Promise.resolve().then(()=>require("./chevron-icon_3.entry-7ff803ad.cjs")).then(a,_)}}return import(`./${o}.entry.js`).then(a=>(kt.set(o,a),a[r]),_)},ct=new Map,tt=typeof window<"u"?window:{},re=tt.document||{head:{}},B={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,r)=>t.addEventListener(e,n,r),rel:(t,e,n,r)=>t.removeEventListener(e,n,r),ce:(t,e)=>new CustomEvent(t,e)},Fo=(()=>{let t=!1;try{re.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),jo=t=>Promise.resolve(t),Wo=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),En=[],yr=[],qo=(t,e)=>n=>{t.push(n),It||(It=!0,e&&B.$flags$&4?Bt(_t):B.raf(_t))},Tn=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){_(n)}t.length=0},_t=()=>{Tn(En),Tn(yr),(It=En.length>0)&&B.raf(_t)},Bt=t=>jo().then(t),Bo=qo(yr,!0),zo=(t,e,n)=>{const r=t.get(e);r?r.includes(n)||r.push(n):t.set(e,[n])},Ko=(t,e)=>{let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{n=0,t(...r)},e)}},Go=t=>!("isConnected"in t)||t.isConnected,Sn=Ko(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(Go))},2e3),Zo=()=>{if(typeof bn!="function")return{};const t=new Map;return{dispose:()=>t.clear(),get:e=>{const n=bn();n&&zo(t,e,n)},set:e=>{const n=t.get(e);n&&t.set(e,n.filter($n)),Sn(t)},reset:()=>{t.forEach(e=>e.forEach($n)),Sn(t)}}},Et=t=>typeof t=="function"?t():t,Jo=(t,e=(n,r)=>n!==r)=>{const n=Et(t);let r=new Map(Object.entries(n??{}));const o={dispose:[],get:[],set:[],reset:[]},i=()=>{var p;r=new Map(Object.entries((p=Et(t))!==null&&p!==void 0?p:{})),o.reset.forEach(v=>v())},a=()=>{o.dispose.forEach(p=>p()),i()},l=p=>(o.get.forEach(v=>v(p)),r.get(p)),s=(p,v)=>{const b=r.get(p);e(v,b,p)&&(r.set(p,v),o.set.forEach(T=>T(p,v,b)))},u=typeof Proxy>"u"?{}:new Proxy(n,{get(p,v){return l(v)},ownKeys(p){return Array.from(r.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(p,v){return r.has(v)},set(p,v,b){return s(v,b),!0}}),d=(p,v)=>(o[p].push(v),()=>{Xo(o[p],v)});return{state:u,get:l,set:s,on:d,onChange:(p,v)=>{const b=d("set",(L,V)=>{L===p&&v(V)}),T=d("reset",()=>v(Et(t)[p]));return()=>{b(),T()}},use:(...p)=>{const v=p.reduce((b,T)=>(T.set&&b.push(d("set",T.set)),T.get&&b.push(d("get",T.get)),T.reset&&b.push(d("reset",T.reset)),T.dispose&&b.push(d("dispose",T.dispose)),b),[]);return()=>v.forEach(b=>b())},dispose:a,reset:i,forceUpdate:p=>{const v=r.get(p);o.set.forEach(b=>b(p,v,v))}}},Xo=(t,e)=>{const n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},pr=(t,e)=>{const n=Jo(t,e);return n.use(Zo()),n};var mr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qo(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach(function(n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}),e}var vr={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(mr,function(){var n=1e3,r=6e4,o=36e5,i="millisecond",a="second",l="minute",s="hour",u="day",d="week",f="month",h="quarter",y="year",p="date",v="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(C){var E=["th","st","nd","rd"],w=C%100;return"["+C+(E[(w-20)%10]||E[w]||E[0])+"]"}},V=function(C,E,w){var I=String(C);return!I||I.length>=E?C:""+Array(E+1-I.length).join(w)+C},ie={s:V,z:function(C){var E=-C.utcOffset(),w=Math.abs(E),I=Math.floor(w/60),S=w%60;return(E<=0?"+":"-")+V(I,2,"0")+":"+V(S,2,"0")},m:function C(E,w){if(E.date()<w.date())return-C(w,E);var I=12*(w.year()-E.year())+(w.month()-E.month()),S=E.clone().add(I,f),M=w-S<0,D=E.clone().add(I+(M?-1:1),f);return+(-(I+(w-S)/(M?S-D:D-S))||0)},a:function(C){return C<0?Math.ceil(C)||0:Math.floor(C)},p:function(C){return{M:f,y,w:d,d:u,D:p,h:s,m:l,s:a,ms:i,Q:h}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},he="en",ee={};ee[he]=L;var Le=function(C){return C instanceof Ae},Pe=function C(E,w,I){var S;if(!E)return he;if(typeof E=="string"){var M=E.toLowerCase();ee[M]&&(S=M),w&&(ee[M]=w,S=M);var D=E.split("-");if(!S&&D.length>1)return C(D[0])}else{var U=E.name;ee[U]=E,S=U}return!I&&S&&(he=S),S||!I&&he},z=function(C,E){if(Le(C))return C.clone();var w=typeof E=="object"?E:{};return w.date=C,w.args=arguments,new Ae(w)},H=ie;H.l=Pe,H.i=Le,H.w=function(C,E){return z(C,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var Ae=function(){function C(w){this.$L=Pe(w.locale,null,!0),this.parse(w)}var E=C.prototype;return E.parse=function(w){this.$d=function(I){var S=I.date,M=I.utc;if(S===null)return new Date(NaN);if(H.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var D=S.match(b);if(D){var U=D[2]-1||0,q=(D[7]||"0").substring(0,3);return M?new Date(Date.UTC(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)):new Date(D[1],U,D[3]||1,D[4]||0,D[5]||0,D[6]||0,q)}}return new Date(S)}(w),this.$x=w.x||{},this.init()},E.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},E.$utils=function(){return H},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(w,I){var S=z(w);return this.startOf(I)<=S&&S<=this.endOf(I)},E.isAfter=function(w,I){return z(w)<this.startOf(I)},E.isBefore=function(w,I){return this.endOf(I)<z(w)},E.$g=function(w,I,S){return H.u(w)?this[I]:this.set(S,w)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(w,I){var S=this,M=!!H.u(I)||I,D=H.p(w),U=function(pe,X){var se=H.w(S.$u?Date.UTC(S.$y,X,pe):new Date(S.$y,X,pe),S);return M?se:se.endOf(u)},q=function(pe,X){return H.w(S.toDate()[pe].apply(S.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(X)),S)},W=this.$W,J=this.$M,ve=this.$D,ye="set"+(this.$u?"UTC":"");switch(D){case y:return M?U(1,0):U(31,11);case f:return M?U(1,J):U(0,J+1);case d:var Ee=this.$locale().weekStart||0,Te=(W<Ee?W+7:W)-Ee;return U(M?ve-Te:ve+(6-Te),J);case u:case p:return q(ye+"Hours",0);case s:return q(ye+"Minutes",1);case l:return q(ye+"Seconds",2);case a:return q(ye+"Milliseconds",3);default:return this.clone()}},E.endOf=function(w){return this.startOf(w,!1)},E.$set=function(w,I){var S,M=H.p(w),D="set"+(this.$u?"UTC":""),U=(S={},S[u]=D+"Date",S[p]=D+"Date",S[f]=D+"Month",S[y]=D+"FullYear",S[s]=D+"Hours",S[l]=D+"Minutes",S[a]=D+"Seconds",S[i]=D+"Milliseconds",S)[M],q=M===u?this.$D+(I-this.$W):I;if(M===f||M===y){var W=this.clone().set(p,1);W.$d[U](q),W.init(),this.$d=W.set(p,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](q);return this.init(),this},E.set=function(w,I){return this.clone().$set(w,I)},E.get=function(w){return this[H.p(w)]()},E.add=function(w,I){var S,M=this;w=Number(w);var D=H.p(I),U=function(J){var ve=z(M);return H.w(ve.date(ve.date()+Math.round(J*w)),M)};if(D===f)return this.set(f,this.$M+w);if(D===y)return this.set(y,this.$y+w);if(D===u)return U(1);if(D===d)return U(7);var q=(S={},S[l]=r,S[s]=o,S[a]=n,S)[D]||1,W=this.$d.getTime()+w*q;return H.w(W,this)},E.subtract=function(w,I){return this.add(-1*w,I)},E.format=function(w){var I=this,S=this.$locale();if(!this.isValid())return S.invalidDate||v;var M=w||"YYYY-MM-DDTHH:mm:ssZ",D=H.z(this),U=this.$H,q=this.$m,W=this.$M,J=S.weekdays,ve=S.months,ye=function(X,se,Ke,Ne){return X&&(X[se]||X(I,M))||Ke[se].slice(0,Ne)},Ee=function(X){return H.s(U%12||12,X,"0")},Te=S.meridiem||function(X,se,Ke){var Ne=X<12?"AM":"PM";return Ke?Ne.toLowerCase():Ne},pe={YY:String(this.$y).slice(-2),YYYY:this.$y,M:W+1,MM:H.s(W+1,2,"0"),MMM:ye(S.monthsShort,W,ve,3),MMMM:ye(ve,W),D:this.$D,DD:H.s(this.$D,2,"0"),d:String(this.$W),dd:ye(S.weekdaysMin,this.$W,J,2),ddd:ye(S.weekdaysShort,this.$W,J,3),dddd:J[this.$W],H:String(U),HH:H.s(U,2,"0"),h:Ee(1),hh:Ee(2),a:Te(U,q,!0),A:Te(U,q,!1),m:String(q),mm:H.s(q,2,"0"),s:String(this.$s),ss:H.s(this.$s,2,"0"),SSS:H.s(this.$ms,3,"0"),Z:D};return M.replace(T,function(X,se){return se||pe[X]||D.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(w,I,S){var M,D=H.p(I),U=z(w),q=(U.utcOffset()-this.utcOffset())*r,W=this-U,J=H.m(this,U);return J=(M={},M[y]=J/12,M[f]=J,M[h]=J/3,M[d]=(W-q)/6048e5,M[u]=(W-q)/864e5,M[s]=W/o,M[l]=W/r,M[a]=W/n,M)[D]||W,S?J:H.a(J)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return ee[this.$L]},E.locale=function(w,I){if(!w)return this.$L;var S=this.clone(),M=Pe(w,I,!0);return M&&(S.$L=M),S},E.clone=function(){return H.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},C}(),ze=Ae.prototype;return z.prototype=ze,[["$ms",i],["$s",a],["$m",l],["$H",s],["$W",u],["$M",f],["$y",y],["$D",p]].forEach(function(C){ze[C[1]]=function(E){return this.$g(E,C[0],C[1])}}),z.extend=function(C,E){return C.$i||(C(E,Ae,z),C.$i=!0),z},z.locale=Pe,z.isDayjs=Le,z.unix=function(C){return z(1e3*C)},z.en=ee[he],z.Ls=ee,z.p={},z})})(vr);const zt=vr.exports;var Mt=["MO","TU","WE","TH","FR","SA","SU"],ae=function(){function t(e,n){if(n===0)throw new Error("Can't create weekday with n == 0");this.weekday=e,this.n=n}return t.fromStr=function(e){return new t(Mt.indexOf(e))},t.prototype.nth=function(e){return this.n===e?this:new t(this.weekday,e)},t.prototype.equals=function(e){return this.weekday===e.weekday&&this.n===e.n},t.prototype.toString=function(){var e=Mt[this.weekday];return this.n&&(e=(this.n>0?"+":"")+String(this.n)+e),e},t.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},t}(),Z=function(t){return t!=null},ge=function(t){return typeof t=="number"},Cn=function(t){return typeof t=="string"&&Mt.includes(t)},ce=Array.isArray,ke=function(t,e){e===void 0&&(e=t),arguments.length===1&&(e=t,t=0);for(var n=[],r=t;r<e;r++)n.push(r);return n},P=function(t,e){var n=0,r=[];if(ce(t))for(;n<e;n++)r[n]=[].concat(t);else for(;n<e;n++)r[n]=t;return r},Vo=function(t){return ce(t)?t:[t]};function He(t,e,n){n===void 0&&(n=" ");var r=String(t);return e=e>>0,r.length>e?String(r):(e=e-r.length,e>n.length&&(n+=P(n,e/n.length)),n.slice(0,e)+String(r))}var ea=function(t,e,n){var r=t.split(e);return n?r.slice(0,n).concat([r.slice(n).join(e)]):r},fe=function(t,e){var n=t%e;return n*e<0?n+e:n},Tt=function(t,e){return{div:Math.floor(t/e),mod:fe(t,e)}},be=function(t){return!Z(t)||t.length===0},Q=function(t){return!be(t)},j=function(t,e){return Q(t)&&t.indexOf(e)!==-1},Re=function(t,e,n,r,o,i){return r===void 0&&(r=0),o===void 0&&(o=0),i===void 0&&(i=0),new Date(Date.UTC(t,e-1,n,r,o,i))},ta=[31,28,31,30,31,30,31,31,30,31,30,31],gr=1e3*60*60*24,br=9999,$r=Re(1970,1,1),na=[6,0,1,2,3,4,5],Qe=function(t){return t%4===0&&t%100!==0||t%400===0},wr=function(t){return t instanceof Date},Xe=function(t){return wr(t)&&!isNaN(t.getTime())},xn=function(t){return t.getTimezoneOffset()*60*1e3},ra=function(t,e){var n=t.getTime()-xn(t),r=e.getTime()-xn(e),o=n-r;return Math.round(o/gr)},Lt=function(t){return ra(t,$r)},kr=function(t){return new Date($r.getTime()+t*gr)},oa=function(t){var e=t.getUTCMonth();return e===1&&Qe(t.getUTCFullYear())?29:ta[e]},qe=function(t){return na[t.getUTCDay()]},On=function(t,e){var n=Re(t,e+1,1);return[qe(n),oa(n)]},Er=function(t,e){return e=e||t,new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))},Nt=function(t){var e=new Date(t.getTime());return e},In=function(t){for(var e=[],n=0;n<t.length;n++)e.push(Nt(t[n]));return e},et=function(t){t.sort(function(e,n){return e.getTime()-n.getTime()})},Kt=function(t,e){e===void 0&&(e=!0);var n=new Date(t);return[He(n.getUTCFullYear().toString(),4,"0"),He(n.getUTCMonth()+1,2,"0"),He(n.getUTCDate(),2,"0"),"T",He(n.getUTCHours(),2,"0"),He(n.getUTCMinutes(),2,"0"),He(n.getUTCSeconds(),2,"0"),e?"Z":""].join("")},Gt=function(t){var e=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,n=e.exec(t);if(!n)throw new Error("Invalid UNTIL value: ".concat(t));return new Date(Date.UTC(parseInt(n[1],10),parseInt(n[2],10)-1,parseInt(n[3],10),parseInt(n[5],10)||0,parseInt(n[6],10)||0,parseInt(n[7],10)||0))},Dn=function(t,e){var n=t.toLocaleString("sv-SE",{timeZone:e});return n.replace(" ","T")+"Z"},aa=function(t,e){var n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=new Date(Dn(t,n)),o=new Date(Dn(t,e??"UTC")),i=o.getTime()-r.getTime();return new Date(t.getTime()-i)},We=function(){function t(e,n){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=e,this.args=n,e==="between"?(this.maxDate=n.inc?n.before:new Date(n.before.getTime()-1),this.minDate=n.inc?n.after:new Date(n.after.getTime()+1)):e==="before"?this.maxDate=n.inc?n.dt:new Date(n.dt.getTime()-1):e==="after"&&(this.minDate=n.inc?n.dt:new Date(n.dt.getTime()+1))}return t.prototype.accept=function(e){++this.total;var n=this.minDate&&e<this.minDate,r=this.maxDate&&e>this.maxDate;if(this.method==="between"){if(n)return!0;if(r)return!1}else if(this.method==="before"){if(r)return!1}else if(this.method==="after")return n?!0:(this.add(e),!1);return this.add(e)},t.prototype.add=function(e){return this._result.push(e),!0},t.prototype.getValue=function(){var e=this._result;switch(this.method){case"all":case"between":return e;case"before":case"after":default:return e.length?e[e.length-1]:null}},t.prototype.clone=function(){return new t(this.method,this.args)},t}(),Rt=function(t,e){return Rt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},Rt(t,e)};function Zt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Rt(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ue=function(){return ue=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ue.apply(this,arguments)};function $(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}var _n=function(t){Zt(e,t);function e(n,r,o){var i=t.call(this,n,r)||this;return i.iterator=o,i}return e.prototype.add=function(n){return this.iterator(n,this._result.length)?(this._result.push(n),!0):!1},e}(We),ut={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}},Mn=function(t,e){return t.indexOf(e)!==-1},ia=function(t){return t.toString()},sa=function(t,e,n){return"".concat(e," ").concat(n,", ").concat(t)},De=function(){function t(e,n,r,o){if(n===void 0&&(n=ia),r===void 0&&(r=ut),o===void 0&&(o=sa),this.text=[],this.language=r||ut,this.gettext=n,this.dateFormatter=o,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var i=[].concat(this.options.bymonthday),a=[].concat(this.options.bynmonthday);i.sort(function(d,f){return d-f}),a.sort(function(d,f){return f-d}),this.bymonthday=i.concat(a),this.bymonthday.length||(this.bymonthday=null)}if(Z(this.origOptions.byweekday)){var l=ce(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],s=String(l);this.byweekday={allWeeks:l.filter(function(d){return!d.n}),someWeeks:l.filter(function(d){return!!d.n}),isWeekdays:s.indexOf("MO")!==-1&&s.indexOf("TU")!==-1&&s.indexOf("WE")!==-1&&s.indexOf("TH")!==-1&&s.indexOf("FR")!==-1&&s.indexOf("SA")===-1&&s.indexOf("SU")===-1,isEveryDay:s.indexOf("MO")!==-1&&s.indexOf("TU")!==-1&&s.indexOf("WE")!==-1&&s.indexOf("TH")!==-1&&s.indexOf("FR")!==-1&&s.indexOf("SA")!==-1&&s.indexOf("SU")!==-1};var u=function(d,f){return d.weekday-f.weekday};this.byweekday.allWeeks.sort(u),this.byweekday.someWeeks.sort(u),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return t.isFullyConvertible=function(e){var n=!0;if(!(e.options.freq in t.IMPLEMENTED)||e.origOptions.until&&e.origOptions.count)return!1;for(var r in e.origOptions){if(Mn(["dtstart","wkst","freq"],r))return!0;if(!Mn(t.IMPLEMENTED[e.options.freq],r))return!1}return n},t.prototype.isFullyConvertible=function(){return t.isFullyConvertible(this.rrule)},t.prototype.toString=function(){var e=this.gettext;if(!(this.options.freq in t.IMPLEMENTED))return e("RRule error: Unable to fully convert this rrule to text");if(this.text=[e("every")],this[x.FREQUENCIES[this.options.freq]](),this.options.until){this.add(e("until"));var n=this.options.until;this.add(this.dateFormatter(n.getUTCFullYear(),this.language.monthNames[n.getUTCMonth()],n.getUTCDate()))}else this.options.count&&this.add(e("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?e("times"):e("time"));return this.isFullyConvertible()||this.add(e("(~ approximate)")),this.text.join("")},t.prototype.HOURLY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("hours"):e("hour"))},t.prototype.MINUTELY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("minutes"):e("minute"))},t.prototype.DAILY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(this.plural(this.options.interval)?e("days"):e("day")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},t.prototype.WEEKLY=function(){var e=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?e("weeks"):e("week")),this.byweekday&&this.byweekday.isWeekdays?this.options.interval===1?this.add(this.plural(this.options.interval)?e("weekdays"):e("weekday")):this.add(e("on")).add(e("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?e("days"):e("day")):(this.options.interval===1&&this.add(e("week")),this.origOptions.bymonth&&(this.add(e("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday())},t.prototype.MONTHLY=function(){var e=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()).add(e("months")),this.plural(this.options.interval)&&this.add(e("in"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("months"):e("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(e("on")).add(e("weekdays")):this.byweekday&&this._byweekday()},t.prototype.YEARLY=function(){var e=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()),this.add(e("years"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?e("years"):e("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(e("on the")).add(this.list(this.options.byyearday,this.nth,e("and"))).add(e("day")),this.options.byweekno&&this.add(e("in")).add(this.plural(this.options.byweekno.length)?e("weeks"):e("week")).add(this.list(this.options.byweekno,void 0,e("and")))},t.prototype._bymonthday=function(){var e=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,e("or"))).add(e("the")).add(this.list(this.bymonthday,this.nth,e("or"))):this.add(e("on the")).add(this.list(this.bymonthday,this.nth,e("and")))},t.prototype._byweekday=function(){var e=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(e("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(e("and")),this.add(e("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,e("and"))))},t.prototype._byhour=function(){var e=this.gettext;this.add(e("at")).add(this.list(this.origOptions.byhour,void 0,e("and")))},t.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},t.prototype.nth=function(e){e=parseInt(e.toString(),10);var n,r=this.gettext;if(e===-1)return r("last");var o=Math.abs(e);switch(o){case 1:case 21:case 31:n=o+r("st");break;case 2:case 22:n=o+r("nd");break;case 3:case 23:n=o+r("rd");break;default:n=o+r("th")}return e<0?n+" "+r("last"):n},t.prototype.monthtext=function(e){return this.language.monthNames[e-1]},t.prototype.weekdaytext=function(e){var n=ge(e)?(e+1)%7:e.getJsWeekday();return(e.n?this.nth(e.n)+" ":"")+this.language.dayNames[n]},t.prototype.plural=function(e){return e%100!==1},t.prototype.add=function(e){return this.text.push(" "),this.text.push(e),this},t.prototype.list=function(e,n,r,o){var i=this;o===void 0&&(o=","),ce(e)||(e=[e]);var a=function(s,u,d){for(var f="",h=0;h<s.length;h++)h!==0&&(h===s.length-1?f+=" "+d+" ":f+=u+" "),f+=s[h];return f};n=n||function(s){return s.toString()};var l=function(s){return n&&n.call(i,s)};return r?a(e.map(l),o,r):e.map(l).join(o+" ")},t}(),la=function(){function t(e){this.done=!0,this.rules=e}return t.prototype.start=function(e){return this.text=e,this.done=!1,this.nextSymbol()},t.prototype.isDone=function(){return this.done&&this.symbol===null},t.prototype.nextSymbol=function(){var e,n;this.symbol=null,this.value=null;do{if(this.done)return!1;var r=void 0;e=null;for(var o in this.rules){r=this.rules[o];var i=r.exec(this.text);i&&(e===null||i[0].length>e[0].length)&&(e=i,n=o)}if(e!=null&&(this.text=this.text.substr(e[0].length),this.text===""&&(this.done=!0)),e==null){this.done=!0,this.symbol=null,this.value=null;return}}while(n==="SKIP");return this.symbol=n,this.value=e,!0},t.prototype.accept=function(e){if(this.symbol===e){if(this.value){var n=this.value;return this.nextSymbol(),n}return this.nextSymbol(),!0}return!1},t.prototype.acceptNumber=function(){return this.accept("number")},t.prototype.expect=function(e){if(this.accept(e))return!0;throw new Error("expected "+e+" but found "+this.symbol)},t}();function Tr(t,e){e===void 0&&(e=ut);var n={},r=new la(e.tokens);if(!r.start(t))return null;return o(),n;function o(){r.expect("every");var h=r.acceptNumber();if(h&&(n.interval=parseInt(h[0],10)),r.isDone())throw new Error("Unexpected end");switch(r.symbol){case"day(s)":n.freq=x.DAILY,r.nextSymbol()&&(a(),f());break;case"weekday(s)":n.freq=x.WEEKLY,n.byweekday=[x.MO,x.TU,x.WE,x.TH,x.FR],r.nextSymbol(),f();break;case"week(s)":n.freq=x.WEEKLY,r.nextSymbol()&&(i(),f());break;case"hour(s)":n.freq=x.HOURLY,r.nextSymbol()&&(i(),f());break;case"minute(s)":n.freq=x.MINUTELY,r.nextSymbol()&&(i(),f());break;case"month(s)":n.freq=x.MONTHLY,r.nextSymbol()&&(i(),f());break;case"year(s)":n.freq=x.YEARLY,r.nextSymbol()&&(i(),f());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":n.freq=x.WEEKLY;var y=r.symbol.substr(0,2).toUpperCase();if(n.byweekday=[x[y]],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var p=s();if(!p)throw new Error("Unexpected symbol "+r.symbol+", expected weekday");n.byweekday.push(x[p]),r.nextSymbol()}d(),f();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(n.freq=x.YEARLY,n.bymonth=[l()],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var v=l();if(!v)throw new Error("Unexpected symbol "+r.symbol+", expected month");n.bymonth.push(v),r.nextSymbol()}i(),f();break;default:throw new Error("Unknown symbol")}}function i(){var h=r.accept("on"),y=r.accept("the");if(h||y)do{var p=u(),v=s(),b=l();if(p)v?(r.nextSymbol(),n.byweekday||(n.byweekday=[]),n.byweekday.push(x[v].nth(p))):(n.bymonthday||(n.bymonthday=[]),n.bymonthday.push(p),r.accept("day(s)"));else if(v)r.nextSymbol(),n.byweekday||(n.byweekday=[]),n.byweekday.push(x[v]);else if(r.symbol==="weekday(s)")r.nextSymbol(),n.byweekday||(n.byweekday=[x.MO,x.TU,x.WE,x.TH,x.FR]);else if(r.symbol==="week(s)"){r.nextSymbol();var T=r.acceptNumber();if(!T)throw new Error("Unexpected symbol "+r.symbol+", expected week number");for(n.byweekno=[parseInt(T[0],10)];r.accept("comma");){if(T=r.acceptNumber(),!T)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");n.byweekno.push(parseInt(T[0],10))}}else if(b)r.nextSymbol(),n.bymonth||(n.bymonth=[]),n.bymonth.push(b);else return}while(r.accept("comma")||r.accept("the")||r.accept("on"))}function a(){var h=r.accept("at");if(h)do{var y=r.acceptNumber();if(!y)throw new Error("Unexpected symbol "+r.symbol+", expected hour");for(n.byhour=[parseInt(y[0],10)];r.accept("comma");){if(y=r.acceptNumber(),!y)throw new Error("Unexpected symbol "+r.symbol+"; expected hour");n.byhour.push(parseInt(y[0],10))}}while(r.accept("comma")||r.accept("at"))}function l(){switch(r.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function s(){switch(r.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return r.symbol.substr(0,2).toUpperCase();default:return!1}}function u(){switch(r.symbol){case"last":return r.nextSymbol(),-1;case"first":return r.nextSymbol(),1;case"second":return r.nextSymbol(),r.accept("last")?-2:2;case"third":return r.nextSymbol(),r.accept("last")?-3:3;case"nth":var h=parseInt(r.value[1],10);if(h<-366||h>366)throw new Error("Nth out of range: "+h);return r.nextSymbol(),r.accept("last")?-h:h;default:return!1}}function d(){r.accept("on"),r.accept("the");var h=u();if(h)for(n.bymonthday=[h],r.nextSymbol();r.accept("comma");){if(h=u(),!h)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");n.bymonthday.push(h),r.nextSymbol()}}function f(){if(r.symbol==="until"){var h=Date.parse(r.text);if(!h)throw new Error("Cannot parse until date:"+r.text);n.until=new Date(h)}else r.accept("for")&&(n.count=parseInt(r.value[0],10),r.expect("number"))}}var A;(function(t){t[t.YEARLY=0]="YEARLY",t[t.MONTHLY=1]="MONTHLY",t[t.WEEKLY=2]="WEEKLY",t[t.DAILY=3]="DAILY",t[t.HOURLY=4]="HOURLY",t[t.MINUTELY=5]="MINUTELY",t[t.SECONDLY=6]="SECONDLY"})(A||(A={}));function Jt(t){return t<A.HOURLY}var ca=function(t,e){return e===void 0&&(e=ut),new x(Tr(t,e)||void 0)},Be=["count","until","interval","byweekday","bymonthday","bymonth"];De.IMPLEMENTED=[];De.IMPLEMENTED[A.HOURLY]=Be;De.IMPLEMENTED[A.MINUTELY]=Be;De.IMPLEMENTED[A.DAILY]=["byhour"].concat(Be);De.IMPLEMENTED[A.WEEKLY]=Be;De.IMPLEMENTED[A.MONTHLY]=Be;De.IMPLEMENTED[A.YEARLY]=["byweekno","byyearday"].concat(Be);var ua=function(t,e,n,r){return new De(t,e,n,r).toString()},da=De.isFullyConvertible,dt=function(){function t(e,n,r,o){this.hour=e,this.minute=n,this.second=r,this.millisecond=o||0}return t.prototype.getHours=function(){return this.hour},t.prototype.getMinutes=function(){return this.minute},t.prototype.getSeconds=function(){return this.second},t.prototype.getMilliseconds=function(){return this.millisecond},t.prototype.getTime=function(){return(this.hour*60*60+this.minute*60+this.second)*1e3+this.millisecond},t}(),fa=function(t){Zt(e,t);function e(n,r,o,i,a,l,s){var u=t.call(this,i,a,l,s)||this;return u.year=n,u.month=r,u.day=o,u}return e.fromDate=function(n){return new this(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.valueOf()%1e3)},e.prototype.getWeekday=function(){return qe(new Date(this.getTime()))},e.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},e.prototype.getDay=function(){return this.day},e.prototype.getMonth=function(){return this.month},e.prototype.getYear=function(){return this.year},e.prototype.addYears=function(n){this.year+=n},e.prototype.addMonths=function(n){if(this.month+=n,this.month>12){var r=Math.floor(this.month/12),o=fe(this.month,12);this.month=o,this.year+=r,this.month===0&&(this.month=12,--this.year)}},e.prototype.addWeekly=function(n,r){r>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-r))+n*7:this.day+=-(this.getWeekday()-r)+n*7,this.fixDay()},e.prototype.addDaily=function(n){this.day+=n,this.fixDay()},e.prototype.addHours=function(n,r,o){for(r&&(this.hour+=Math.floor((23-this.hour)/n)*n);;){this.hour+=n;var i=Tt(this.hour,24),a=i.div,l=i.mod;if(a&&(this.hour=l,this.addDaily(a)),be(o)||j(o,this.hour))break}},e.prototype.addMinutes=function(n,r,o,i){for(r&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/n)*n);;){this.minute+=n;var a=Tt(this.minute,60),l=a.div,s=a.mod;if(l&&(this.minute=s,this.addHours(l,!1,o)),(be(o)||j(o,this.hour))&&(be(i)||j(i,this.minute)))break}},e.prototype.addSeconds=function(n,r,o,i,a){for(r&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/n)*n);;){this.second+=n;var l=Tt(this.second,60),s=l.div,u=l.mod;if(s&&(this.second=u,this.addMinutes(s,!1,o,i)),(be(o)||j(o,this.hour))&&(be(i)||j(i,this.minute))&&(be(a)||j(a,this.second)))break}},e.prototype.fixDay=function(){if(!(this.day<=28)){var n=On(this.year,this.month-1)[1];if(!(this.day<=n))for(;this.day>n;){if(this.day-=n,++this.month,this.month===13&&(this.month=1,++this.year,this.year>br))return;n=On(this.year,this.month-1)[1]}}},e.prototype.add=function(n,r){var o=n.freq,i=n.interval,a=n.wkst,l=n.byhour,s=n.byminute,u=n.bysecond;switch(o){case A.YEARLY:return this.addYears(i);case A.MONTHLY:return this.addMonths(i);case A.WEEKLY:return this.addWeekly(i,a);case A.DAILY:return this.addDaily(i);case A.HOURLY:return this.addHours(i,r,l);case A.MINUTELY:return this.addMinutes(i,r,l,s);case A.SECONDLY:return this.addSeconds(i,r,l,s,u)}},e}(dt);function Sr(t){for(var e=[],n=Object.keys(t),r=0,o=n;r<o.length;r++){var i=o[r];j(ja,i)||e.push(i),wr(t[i])&&!Xe(t[i])&&e.push(i)}if(e.length)throw new Error("Invalid options: "+e.join(", "));return ue({},t)}function ha(t){var e=ue(ue({},Xt),Sr(t));if(Z(e.byeaster)&&(e.freq=x.YEARLY),!(Z(e.freq)&&x.FREQUENCIES[e.freq]))throw new Error("Invalid frequency: ".concat(e.freq," ").concat(t.freq));if(e.dtstart||(e.dtstart=new Date(new Date().setMilliseconds(0))),Z(e.wkst)?ge(e.wkst)||(e.wkst=e.wkst.weekday):e.wkst=x.MO.weekday,Z(e.bysetpos)){ge(e.bysetpos)&&(e.bysetpos=[e.bysetpos]);for(var n=0;n<e.bysetpos.length;n++){var r=e.bysetpos[n];if(r===0||!(r>=-366&&r<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(e.byweekno||Q(e.byweekno)||Q(e.byyearday)||e.bymonthday||Q(e.bymonthday)||Z(e.byweekday)||Z(e.byeaster)))switch(e.freq){case x.YEARLY:e.bymonth||(e.bymonth=e.dtstart.getUTCMonth()+1),e.bymonthday=e.dtstart.getUTCDate();break;case x.MONTHLY:e.bymonthday=e.dtstart.getUTCDate();break;case x.WEEKLY:e.byweekday=[qe(e.dtstart)];break}if(Z(e.bymonth)&&!ce(e.bymonth)&&(e.bymonth=[e.bymonth]),Z(e.byyearday)&&!ce(e.byyearday)&&ge(e.byyearday)&&(e.byyearday=[e.byyearday]),!Z(e.bymonthday))e.bymonthday=[],e.bynmonthday=[];else if(ce(e.bymonthday)){for(var o=[],i=[],n=0;n<e.bymonthday.length;n++){var r=e.bymonthday[n];r>0?o.push(r):r<0&&i.push(r)}e.bymonthday=o,e.bynmonthday=i}else e.bymonthday<0?(e.bynmonthday=[e.bymonthday],e.bymonthday=[]):(e.bynmonthday=[],e.bymonthday=[e.bymonthday]);if(Z(e.byweekno)&&!ce(e.byweekno)&&(e.byweekno=[e.byweekno]),!Z(e.byweekday))e.bynweekday=null;else if(ge(e.byweekday))e.byweekday=[e.byweekday],e.bynweekday=null;else if(Cn(e.byweekday))e.byweekday=[ae.fromStr(e.byweekday).weekday],e.bynweekday=null;else if(e.byweekday instanceof ae)!e.byweekday.n||e.freq>x.MONTHLY?(e.byweekday=[e.byweekday.weekday],e.bynweekday=null):(e.bynweekday=[[e.byweekday.weekday,e.byweekday.n]],e.byweekday=null);else{for(var a=[],l=[],n=0;n<e.byweekday.length;n++){var s=e.byweekday[n];if(ge(s)){a.push(s);continue}else if(Cn(s)){a.push(ae.fromStr(s).weekday);continue}!s.n||e.freq>x.MONTHLY?a.push(s.weekday):l.push([s.weekday,s.n])}e.byweekday=Q(a)?a:null,e.bynweekday=Q(l)?l:null}return Z(e.byhour)?ge(e.byhour)&&(e.byhour=[e.byhour]):e.byhour=e.freq<x.HOURLY?[e.dtstart.getUTCHours()]:null,Z(e.byminute)?ge(e.byminute)&&(e.byminute=[e.byminute]):e.byminute=e.freq<x.MINUTELY?[e.dtstart.getUTCMinutes()]:null,Z(e.bysecond)?ge(e.bysecond)&&(e.bysecond=[e.bysecond]):e.bysecond=e.freq<x.SECONDLY?[e.dtstart.getUTCSeconds()]:null,{parsedOptions:e}}function ya(t){var e=t.dtstart.getTime()%1e3;if(!Jt(t.freq))return[];var n=[];return t.byhour.forEach(function(r){t.byminute.forEach(function(o){t.bysecond.forEach(function(i){n.push(new dt(r,o,i,e))})})}),n}function Pt(t){var e=t.split(`
2
+ `).map(pa).filter(function(n){return n!==null});return ue(ue({},e[0]),e[1])}function ft(t){var e={},n=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(t);if(!n)return e;var r=n[1],o=n[2];return r&&(e.tzid=r),e.dtstart=Gt(o),e}function pa(t){if(t=t.replace(/^\s+|\s+$/,""),!t.length)return null;var e=/^([A-Z]+?)[:;]/.exec(t.toUpperCase());if(!e)return Ln(t);var n=e[1];switch(n.toUpperCase()){case"RRULE":case"EXRULE":return Ln(t);case"DTSTART":return ft(t);default:throw new Error("Unsupported RFC prop ".concat(n," in ").concat(t))}}function Ln(t){var e=t.replace(/^RRULE:/i,""),n=ft(e),r=t.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return r.forEach(function(o){var i=o.split("="),a=i[0],l=i[1];switch(a.toUpperCase()){case"FREQ":n.freq=A[l.toUpperCase()];break;case"WKST":n.wkst=me[l.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var s=ma(l),u=a.toLowerCase();n[u]=s;break;case"BYWEEKDAY":case"BYDAY":n.byweekday=va(l);break;case"DTSTART":case"TZID":var d=ft(t);n.tzid=d.tzid,n.dtstart=d.dtstart;break;case"UNTIL":n.until=Gt(l);break;case"BYEASTER":n.byeaster=Number(l);break;default:throw new Error("Unknown RRULE property '"+a+"'")}}),n}function ma(t){if(t.indexOf(",")!==-1){var e=t.split(",");return e.map(Nn)}return Nn(t)}function Nn(t){return/^[+-]?\d+$/.test(t)?Number(t):t}function va(t){var e=t.split(",");return e.map(function(n){if(n.length===2)return me[n];var r=n.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!r||r.length<3)throw new SyntaxError("Invalid weekday string: ".concat(n));var o=Number(r[1]),i=r[2],a=me[i].weekday;return new ae(a,o)})}var ht=function(){function t(e,n){if(isNaN(e.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=e,this.tzid=n}return Object.defineProperty(t.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),t.prototype.toString=function(){var e=Kt(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(e):";TZID=".concat(this.tzid,":").concat(e)},t.prototype.getTime=function(){return this.date.getTime()},t.prototype.rezonedDate=function(){return this.isUTC?this.date:aa(this.date,this.tzid)},t}();function At(t){for(var e=[],n="",r=Object.keys(t),o=Object.keys(Xt),i=0;i<r.length;i++)if(r[i]!=="tzid"&&j(o,r[i])){var a=r[i].toUpperCase(),l=t[r[i]],s="";if(!(!Z(l)||ce(l)&&!l.length)){switch(a){case"FREQ":s=x.FREQUENCIES[t.freq];break;case"WKST":ge(l)?s=new ae(l).toString():s=l.toString();break;case"BYWEEKDAY":a="BYDAY",s=Vo(l).map(function(y){return y instanceof ae?y:ce(y)?new ae(y[0],y[1]):new ae(y)}).toString();break;case"DTSTART":n=ga(l,t.tzid);break;case"UNTIL":s=Kt(l,!t.tzid);break;default:if(ce(l)){for(var u=[],d=0;d<l.length;d++)u[d]=String(l[d]);s=u.toString()}else s=String(l)}s&&e.push([a,s])}}var f=e.map(function(y){var p=y[0],v=y[1];return"".concat(p,"=").concat(v.toString())}).join(";"),h="";return f!==""&&(h="RRULE:".concat(f)),[n,h].filter(function(y){return!!y}).join(`
3
+ `)}function ga(t,e){return t?"DTSTART"+new ht(new Date(t),e).toString():""}function ba(t,e){return Array.isArray(t)?!Array.isArray(e)||t.length!==e.length?!1:t.every(function(n,r){return n.getTime()===e[r].getTime()}):t instanceof Date?e instanceof Date&&t.getTime()===e.getTime():t===e}var $a=function(){function t(){this.all=!1,this.before=[],this.after=[],this.between=[]}return t.prototype._cacheAdd=function(e,n,r){n&&(n=n instanceof Date?Nt(n):In(n)),e==="all"?this.all=n:(r._value=n,this[e].push(r))},t.prototype._cacheGet=function(e,n){var r=!1,o=n?Object.keys(n):[],i=function(d){for(var f=0;f<o.length;f++){var h=o[f];if(!ba(n[h],d[h]))return!0}return!1},a=this[e];if(e==="all")r=this.all;else if(ce(a))for(var l=0;l<a.length;l++){var s=a[l];if(!(o.length&&i(s))){r=s._value;break}}if(!r&&this.all){for(var u=new We(e,n),l=0;l<this.all.length&&u.accept(this.all[l]);l++);r=u.getValue(),this._cacheAdd(e,r,n)}return ce(r)?In(r):r instanceof Date?Nt(r):r},t}(),wa=$($($($($($($($($($($($($([],P(1,31),!0),P(2,28),!0),P(3,31),!0),P(4,30),!0),P(5,31),!0),P(6,30),!0),P(7,31),!0),P(8,31),!0),P(9,30),!0),P(10,31),!0),P(11,30),!0),P(12,31),!0),P(1,7),!0),ka=$($($($($($($($($($($($($([],P(1,31),!0),P(2,29),!0),P(3,31),!0),P(4,30),!0),P(5,31),!0),P(6,30),!0),P(7,31),!0),P(8,31),!0),P(9,30),!0),P(10,31),!0),P(11,30),!0),P(12,31),!0),P(1,7),!0),Ea=ke(1,29),Ta=ke(1,30),_e=ke(1,31),te=ke(1,32),Sa=$($($($($($($($($($($($($([],te,!0),Ta,!0),te,!0),_e,!0),te,!0),_e,!0),te,!0),te,!0),_e,!0),te,!0),_e,!0),te,!0),te.slice(0,7),!0),Ca=$($($($($($($($($($($($($([],te,!0),Ea,!0),te,!0),_e,!0),te,!0),_e,!0),te,!0),te,!0),_e,!0),te,!0),_e,!0),te,!0),te.slice(0,7),!0),xa=ke(-28,0),Oa=ke(-29,0),Me=ke(-30,0),ne=ke(-31,0),Ia=$($($($($($($($($($($($($([],ne,!0),Oa,!0),ne,!0),Me,!0),ne,!0),Me,!0),ne,!0),ne,!0),Me,!0),ne,!0),Me,!0),ne,!0),ne.slice(0,7),!0),Da=$($($($($($($($($($($($($([],ne,!0),xa,!0),ne,!0),Me,!0),ne,!0),Me,!0),ne,!0),ne,!0),Me,!0),ne,!0),Me,!0),ne,!0),ne.slice(0,7),!0),_a=[0,31,60,91,121,152,182,213,244,274,305,335,366],Ma=[0,31,59,90,120,151,181,212,243,273,304,334,365],Rn=function(){for(var t=[],e=0;e<55;e++)t=t.concat(ke(7));return t}();function La(t,e){var n=Re(t,1,1),r=Qe(t)?366:365,o=Qe(t+1)?366:365,i=Lt(n),a=qe(n),l=ue(ue({yearlen:r,nextyearlen:o,yearordinal:i,yearweekday:a},Na(t)),{wnomask:null});if(be(e.byweekno))return l;l.wnomask=P(0,r+7);var s,u,d=s=fe(7-a+e.wkst,7);d>=4?(d=0,u=l.yearlen+fe(a-e.wkst,7)):u=r-d;for(var f=Math.floor(u/7),h=fe(u,7),y=Math.floor(f+h/4),p=0;p<e.byweekno.length;p++){var v=e.byweekno[p];if(v<0&&(v+=y+1),v>0&&v<=y){var b=void 0;v>1?(b=d+(v-1)*7,d!==s&&(b-=7-s)):b=d;for(var T=0;T<7&&(l.wnomask[b]=1,b++,l.wdaymask[b]!==e.wkst);T++);}}if(j(e.byweekno,1)){var b=d+y*7;if(d!==s&&(b-=7-s),b<r)for(var p=0;p<7&&(l.wnomask[b]=1,b+=1,l.wdaymask[b]!==e.wkst);p++);}if(d){var L=void 0;if(j(e.byweekno,-1))L=-1;else{var V=qe(Re(t-1,1,1)),ie=fe(7-V.valueOf()+e.wkst,7),he=Qe(t-1)?366:365,ee=void 0;ie>=4?(ie=0,ee=he+fe(V-e.wkst,7)):ee=r-d,L=Math.floor(52+fe(ee,7)/4)}if(j(e.byweekno,L))for(var b=0;b<d;b++)l.wnomask[b]=1}return l}function Na(t){var e=Qe(t)?366:365,n=Re(t,1,1),r=qe(n);return e===365?{mmask:wa,mdaymask:Ca,nmdaymask:Da,wdaymask:Rn.slice(r),mrange:Ma}:{mmask:ka,mdaymask:Sa,nmdaymask:Ia,wdaymask:Rn.slice(r),mrange:_a}}function Ra(t,e,n,r,o,i){var a={lastyear:t,lastmonth:e,nwdaymask:[]},l=[];if(i.freq===x.YEARLY)if(be(i.bymonth))l=[[0,n]];else for(var s=0;s<i.bymonth.length;s++)e=i.bymonth[s],l.push(r.slice(e-1,e+1));else i.freq===x.MONTHLY&&(l=[r.slice(e-1,e+1)]);if(be(l))return a;a.nwdaymask=P(0,n);for(var s=0;s<l.length;s++)for(var u=l[s],d=u[0],f=u[1]-1,h=0;h<i.bynweekday.length;h++){var y=void 0,p=i.bynweekday[h],v=p[0],b=p[1];b<0?(y=f+(b+1)*7,y-=fe(o[y]-v,7)):(y=d+(b-1)*7,y+=fe(7-o[y]+v,7)),d<=y&&y<=f&&(a.nwdaymask[y]=1)}return a}function Pa(t,e){e===void 0&&(e=0);var n=t%19,r=Math.floor(t/100),o=t%100,i=Math.floor(r/4),a=r%4,l=Math.floor((r+8)/25),s=Math.floor((r-l+1)/3),u=Math.floor(19*n+r-i-s+15)%30,d=Math.floor(o/4),f=o%4,h=Math.floor(32+2*a+2*d-u-f)%7,y=Math.floor((n+11*u+22*h)/451),p=Math.floor((u+h-7*y+114)/31),v=(u+h-7*y+114)%31+1,b=Date.UTC(t,p-1,v+e),T=Date.UTC(t,0,1);return[Math.ceil((b-T)/(1e3*60*60*24))]}var Aa=function(){function t(e){this.options=e}return t.prototype.rebuild=function(e,n){var r=this.options;if(e!==this.lastyear&&(this.yearinfo=La(e,r)),Q(r.bynweekday)&&(n!==this.lastmonth||e!==this.lastyear)){var o=this.yearinfo,i=o.yearlen,a=o.mrange,l=o.wdaymask;this.monthinfo=Ra(e,n,i,a,l,r)}Z(r.byeaster)&&(this.eastermask=Pa(e,r.byeaster))},Object.defineProperty(t.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),t.prototype.ydayset=function(){return[ke(this.yearlen),0,this.yearlen]},t.prototype.mdayset=function(e,n){for(var r=this.mrange[n-1],o=this.mrange[n],i=P(null,this.yearlen),a=r;a<o;a++)i[a]=a;return[i,r,o]},t.prototype.wdayset=function(e,n,r){for(var o=P(null,this.yearlen+7),i=Lt(Re(e,n,r))-this.yearordinal,a=i,l=0;l<7&&(o[i]=i,++i,this.wdaymask[i]!==this.options.wkst);l++);return[o,a,i]},t.prototype.ddayset=function(e,n,r){var o=P(null,this.yearlen),i=Lt(Re(e,n,r))-this.yearordinal;return o[i]=i,[o,i,i+1]},t.prototype.htimeset=function(e,n,r,o){var i=this,a=[];return this.options.byminute.forEach(function(l){a=a.concat(i.mtimeset(e,l,r,o))}),et(a),a},t.prototype.mtimeset=function(e,n,r,o){var i=this.options.bysecond.map(function(a){return new dt(e,n,a,o)});return et(i),i},t.prototype.stimeset=function(e,n,r,o){return[new dt(e,n,r,o)]},t.prototype.getdayset=function(e){switch(e){case A.YEARLY:return this.ydayset.bind(this);case A.MONTHLY:return this.mdayset.bind(this);case A.WEEKLY:return this.wdayset.bind(this);case A.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},t.prototype.gettimeset=function(e){switch(e){case A.HOURLY:return this.htimeset.bind(this);case A.MINUTELY:return this.mtimeset.bind(this);case A.SECONDLY:return this.stimeset.bind(this)}},t}();function Ua(t,e,n,r,o,i){for(var a=[],l=0;l<t.length;l++){var s=void 0,u=void 0,d=t[l];d<0?(s=Math.floor(d/e.length),u=fe(d,e.length)):(s=Math.floor((d-1)/e.length),u=fe(d-1,e.length));for(var f=[],h=n;h<r;h++){var y=i[h];Z(y)&&f.push(y)}var p=void 0;s<0?p=f.slice(s)[0]:p=f[s];var v=e[u],b=kr(o.yearordinal+p),T=Er(b,v);j(a,T)||a.push(T)}return et(a),a}function Cr(t,e){var n=e.dtstart,r=e.freq,o=e.interval,i=e.until,a=e.bysetpos,l=e.count;if(l===0||o===0)return Ce(t);var s=fa.fromDate(n),u=new Aa(e);u.rebuild(s.year,s.month);for(var d=Fa(u,s,e);;){var f=u.getdayset(r)(s.year,s.month,s.day),h=f[0],y=f[1],p=f[2],v=Ha(h,y,p,u,e);if(Q(a))for(var b=Ua(a,d,y,p,u,h),T=0;T<b.length;T++){var L=b[T];if(i&&L>i)return Ce(t);if(L>=n){var V=Pn(L,e);if(!t.accept(V)||l&&(--l,!l))return Ce(t)}}else for(var T=y;T<p;T++){var ie=h[T];if(Z(ie))for(var he=kr(u.yearordinal+ie),ee=0;ee<d.length;ee++){var Le=d[ee],L=Er(he,Le);if(i&&L>i)return Ce(t);if(L>=n){var V=Pn(L,e);if(!t.accept(V)||l&&(--l,!l))return Ce(t)}}}if(e.interval===0||(s.add(e,v),s.year>br))return Ce(t);Jt(r)||(d=u.gettimeset(r)(s.hour,s.minute,s.second,0)),u.rebuild(s.year,s.month)}}function Ya(t,e,n){var r=n.bymonth,o=n.byweekno,i=n.byweekday,a=n.byeaster,l=n.bymonthday,s=n.bynmonthday,u=n.byyearday;return Q(r)&&!j(r,t.mmask[e])||Q(o)&&!t.wnomask[e]||Q(i)&&!j(i,t.wdaymask[e])||Q(t.nwdaymask)&&!t.nwdaymask[e]||a!==null&&!j(t.eastermask,e)||(Q(l)||Q(s))&&!j(l,t.mdaymask[e])&&!j(s,t.nmdaymask[e])||Q(u)&&(e<t.yearlen&&!j(u,e+1)&&!j(u,-t.yearlen+e)||e>=t.yearlen&&!j(u,e+1-t.yearlen)&&!j(u,-t.nextyearlen+e-t.yearlen))}function Pn(t,e){return new ht(t,e.tzid).rezonedDate()}function Ce(t){return t.getValue()}function Ha(t,e,n,r,o){for(var i=!1,a=e;a<n;a++){var l=t[a];i=Ya(r,l,o),i&&(t[l]=null)}return i}function Fa(t,e,n){var r=n.freq,o=n.byhour,i=n.byminute,a=n.bysecond;return Jt(r)?ya(n):r>=x.HOURLY&&Q(o)&&!j(o,e.hour)||r>=x.MINUTELY&&Q(i)&&!j(i,e.minute)||r>=x.SECONDLY&&Q(a)&&!j(a,e.second)?[]:t.gettimeset(r)(e.hour,e.minute,e.second,e.millisecond)}var me={MO:new ae(0),TU:new ae(1),WE:new ae(2),TH:new ae(3),FR:new ae(4),SA:new ae(5),SU:new ae(6)},Xt={freq:A.YEARLY,dtstart:null,interval:1,wkst:me.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},ja=Object.keys(Xt),x=function(){function t(e,n){e===void 0&&(e={}),n===void 0&&(n=!1),this._cache=n?null:new $a,this.origOptions=Sr(e);var r=ha(e).parsedOptions;this.options=r}return t.parseText=function(e,n){return Tr(e,n)},t.fromText=function(e,n){return ca(e,n)},t.fromString=function(e){return new t(t.parseString(e)||void 0)},t.prototype._iter=function(e){return Cr(e,this.options)},t.prototype._cacheGet=function(e,n){return this._cache?this._cache._cacheGet(e,n):!1},t.prototype._cacheAdd=function(e,n,r){if(this._cache)return this._cache._cacheAdd(e,n,r)},t.prototype.all=function(e){if(e)return this._iter(new _n("all",{},e));var n=this._cacheGet("all");return n===!1&&(n=this._iter(new We("all",{})),this._cacheAdd("all",n)),n},t.prototype.between=function(e,n,r,o){if(r===void 0&&(r=!1),!Xe(e)||!Xe(n))throw new Error("Invalid date passed in to RRule.between");var i={before:n,after:e,inc:r};if(o)return this._iter(new _n("between",i,o));var a=this._cacheGet("between",i);return a===!1&&(a=this._iter(new We("between",i)),this._cacheAdd("between",a,i)),a},t.prototype.before=function(e,n){if(n===void 0&&(n=!1),!Xe(e))throw new Error("Invalid date passed in to RRule.before");var r={dt:e,inc:n},o=this._cacheGet("before",r);return o===!1&&(o=this._iter(new We("before",r)),this._cacheAdd("before",o,r)),o},t.prototype.after=function(e,n){if(n===void 0&&(n=!1),!Xe(e))throw new Error("Invalid date passed in to RRule.after");var r={dt:e,inc:n},o=this._cacheGet("after",r);return o===!1&&(o=this._iter(new We("after",r)),this._cacheAdd("after",o,r)),o},t.prototype.count=function(){return this.all().length},t.prototype.toString=function(){return At(this.origOptions)},t.prototype.toText=function(e,n,r){return ua(this,e,n,r)},t.prototype.isFullyConvertibleToText=function(){return da(this)},t.prototype.clone=function(){return new t(this.origOptions)},t.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],t.YEARLY=A.YEARLY,t.MONTHLY=A.MONTHLY,t.WEEKLY=A.WEEKLY,t.DAILY=A.DAILY,t.HOURLY=A.HOURLY,t.MINUTELY=A.MINUTELY,t.SECONDLY=A.SECONDLY,t.MO=me.MO,t.TU=me.TU,t.WE=me.WE,t.TH=me.TH,t.FR=me.FR,t.SA=me.SA,t.SU=me.SU,t.parseString=Pt,t.optionsToString=At,t}();function Wa(t,e,n,r,o,i){var a={},l=t.accept;function s(h,y){n.forEach(function(p){p.between(h,y,!0).forEach(function(v){a[Number(v)]=!0})})}o.forEach(function(h){var y=new ht(h,i).rezonedDate();a[Number(y)]=!0}),t.accept=function(h){var y=Number(h);return isNaN(y)?l.call(this,h):!a[y]&&(s(new Date(y-1),new Date(y+1)),!a[y])?(a[y]=!0,l.call(this,h)):!0},t.method==="between"&&(s(t.args.after,t.args.before),t.accept=function(h){var y=Number(h);return a[y]?!0:(a[y]=!0,l.call(this,h))});for(var u=0;u<r.length;u++){var d=new ht(r[u],i).rezonedDate();if(!t.accept(new Date(d.getTime())))break}e.forEach(function(h){Cr(t,h.options)});var f=t._result;switch(et(f),t.method){case"all":case"between":return f;case"before":return f.length&&f[f.length-1]||null;case"after":default:return f.length&&f[0]||null}}var An={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null};function qa(t,e){var n=[],r=[],o=[],i=[],a=ft(t),l=a.dtstart,s=a.tzid,u=Za(t,e.unfold);return u.forEach(function(d){var f;if(d){var h=Ga(d),y=h.name,p=h.parms,v=h.value;switch(y.toUpperCase()){case"RRULE":if(p.length)throw new Error("unsupported RRULE parm: ".concat(p.join(",")));n.push(Pt(d));break;case"RDATE":var b=(f=/RDATE(?:;TZID=([^:=]+))?/i.exec(d))!==null&&f!==void 0?f:[],T=b[1];T&&!s&&(s=T),r=r.concat(Yn(v,p));break;case"EXRULE":if(p.length)throw new Error("unsupported EXRULE parm: ".concat(p.join(",")));o.push(Pt(v));break;case"EXDATE":i=i.concat(Yn(v,p));break;case"DTSTART":break;default:throw new Error("unsupported property: "+y)}}}),{dtstart:l,tzid:s,rrulevals:n,rdatevals:r,exrulevals:o,exdatevals:i}}function Ba(t,e){var n=qa(t,e),r=n.rrulevals,o=n.rdatevals,i=n.exrulevals,a=n.exdatevals,l=n.dtstart,s=n.tzid,u=e.cache===!1;if(e.compatible&&(e.forceset=!0,e.unfold=!0),e.forceset||r.length>1||o.length||i.length||a.length){var d=new Xa(u);return d.dtstart(l),d.tzid(s||void 0),r.forEach(function(h){d.rrule(new x(St(h,l,s),u))}),o.forEach(function(h){d.rdate(h)}),i.forEach(function(h){d.exrule(new x(St(h,l,s),u))}),a.forEach(function(h){d.exdate(h)}),e.compatible&&e.dtstart&&d.rdate(l),d}var f=r[0]||{};return new x(St(f,f.dtstart||e.dtstart||l,f.tzid||e.tzid||s),u)}function Un(t,e){return e===void 0&&(e={}),Ba(t,za(e))}function St(t,e,n){return ue(ue({},t),{dtstart:e,tzid:n})}function za(t){var e=[],n=Object.keys(t),r=Object.keys(An);if(n.forEach(function(o){j(r,o)||e.push(o)}),e.length)throw new Error("Invalid options: "+e.join(", "));return ue(ue({},An),t)}function Ka(t){if(t.indexOf(":")===-1)return{name:"RRULE",value:t};var e=ea(t,":",1),n=e[0],r=e[1];return{name:n,value:r}}function Ga(t){var e=Ka(t),n=e.name,r=e.value,o=n.split(";");if(!o)throw new Error("empty property name");return{name:o[0].toUpperCase(),parms:o.slice(1),value:r}}function Za(t,e){if(e===void 0&&(e=!1),t=t&&t.trim(),!t)throw new Error("Invalid empty string");if(!e)return t.split(/\s/);for(var n=t.split(`
4
+ `),r=0;r<n.length;){var o=n[r]=n[r].replace(/\s+$/g,"");o?r>0&&o[0]===" "?(n[r-1]+=o.slice(1),n.splice(r,1)):r+=1:n.splice(r,1)}return n}function Ja(t){t.forEach(function(e){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(e))throw new Error("unsupported RDATE/EXDATE parm: "+e)})}function Yn(t,e){return Ja(e),t.split(",").map(function(n){return Gt(n)})}function Hn(t){var e=this;return function(n){if(n!==void 0&&(e["_".concat(t)]=n),e["_".concat(t)]!==void 0)return e["_".concat(t)];for(var r=0;r<e._rrule.length;r++){var o=e._rrule[r].origOptions[t];if(o)return o}}}var Xa=function(t){Zt(e,t);function e(n){n===void 0&&(n=!1);var r=t.call(this,{},n)||this;return r.dtstart=Hn.apply(r,["dtstart"]),r.tzid=Hn.apply(r,["tzid"]),r._rrule=[],r._rdate=[],r._exrule=[],r._exdate=[],r}return e.prototype._iter=function(n){return Wa(n,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},e.prototype.rrule=function(n){Fn(n,this._rrule)},e.prototype.exrule=function(n){Fn(n,this._exrule)},e.prototype.rdate=function(n){jn(n,this._rdate)},e.prototype.exdate=function(n){jn(n,this._exdate)},e.prototype.rrules=function(){return this._rrule.map(function(n){return Un(n.toString())})},e.prototype.exrules=function(){return this._exrule.map(function(n){return Un(n.toString())})},e.prototype.rdates=function(){return this._rdate.map(function(n){return new Date(n.getTime())})},e.prototype.exdates=function(){return this._exdate.map(function(n){return new Date(n.getTime())})},e.prototype.valueOf=function(){var n=[];return!this._rrule.length&&this._dtstart&&(n=n.concat(At({dtstart:this._dtstart}))),this._rrule.forEach(function(r){n=n.concat(r.toString().split(`
5
+ `))}),this._exrule.forEach(function(r){n=n.concat(r.toString().split(`
6
+ `).map(function(o){return o.replace(/^RRULE:/,"EXRULE:")}).filter(function(o){return!/^DTSTART/.test(o)}))}),this._rdate.length&&n.push(Wn("RDATE",this._rdate,this.tzid())),this._exdate.length&&n.push(Wn("EXDATE",this._exdate,this.tzid())),n},e.prototype.toString=function(){return this.valueOf().join(`
7
+ `)},e.prototype.clone=function(){var n=new e(!!this._cache);return this._rrule.forEach(function(r){return n.rrule(r.clone())}),this._exrule.forEach(function(r){return n.exrule(r.clone())}),this._rdate.forEach(function(r){return n.rdate(new Date(r.getTime()))}),this._exdate.forEach(function(r){return n.exdate(new Date(r.getTime()))}),n},e}(x);function Fn(t,e){if(!(t instanceof x))throw new TypeError(String(t)+" is not RRule instance");j(e.map(String),String(t))||e.push(t)}function jn(t,e){if(!(t instanceof Date))throw new TypeError(String(t)+" is not Date instance");j(e.map(Number),Number(t))||(e.push(t),et(e))}function Wn(t,e,n){var r=!n||n.toUpperCase()==="UTC",o=r?"".concat(t,":"):"".concat(t,";TZID=").concat(n,":"),i=e.map(function(a){return Kt(a.valueOf(),r)}).join(",");return"".concat(o).concat(i)}function Qa(...t){window&&window.localStorage&&window.localStorage.getItem("debug")&&console.debug(...t)}function Va(...t){console.error(...t)}function ei(){return Math.random().toString(36).substr(2,9)}function ti(t){return t.toString().replace(/^on/,"")}function ni(t){const e=new Date(t*1e3),n=new Date,r=new Date(n.getFullYear(),n.getMonth(),n.getDate());return e>=r?new Intl.DateTimeFormat("default",{hour:"numeric",minute:"numeric",hour12:!0}).format(e):new Intl.DateTimeFormat("default",{month:"short",day:"numeric"}).format(e)}function ri(t){return t.name?`${t.name} - ${t.email}`:t.email}function oi(t,e="",n=1,r=3){const o=t.find(s=>{var u;return((u=s.email)==null?void 0:u.toLowerCase())===e.toLowerCase()}),i=t.filter(s=>{var u;return((u=s.email)==null?void 0:u.toLowerCase())!==e.toLowerCase()}),a=i.length,l=i.slice(0,r).map(s=>s.name||s.email).join(", ");return a===0?o?"me":"":a===1?o&&n>1?`me, ${l}`:l:a===2?o?`me, ${l}`:`${l}`:o?`me, ${l}, +${a-r}`:`${l}, +${a-r}`}const qn=[{amount:60,name:"seconds"},{amount:60,name:"minutes"},{amount:24,name:"hours"},{amount:7,name:"days"},{amount:4.34524,name:"weeks"},{amount:12,name:"months"},{amount:Number.POSITIVE_INFINITY,name:"years"}],ai=t=>{const e=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),n=new Date;let r=(t.getTime()-n.getTime())/1e3;for(let o=0;o<=qn.length;o++){const i=qn[o];if(Math.abs(r)<i.amount)return e.format(Math.round(r),i.name);r/=i.amount}};function ii(t){return new Date(t.getFullYear(),t.getMonth()+1,0)}function si(t){return new Date(t.getFullYear(),t.getMonth(),1)}function li(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate()}function ci(t,e){return t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()}function ui(t){return t.replace(/\w\S*/g,e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase())}function di(t){return t.replace("CATEGORY_","").replace(/_/g," ")}function xr(t){return/<[^>]*>/g.test(t)?"html":"plain"}function fi(t){var o,i;const e=t.headers,n=e&&((o=e.find(a=>a.name==="Content-Type"))==null?void 0:o.value)||"",r=e&&((i=e.find(a=>a.name==="Content-Disposition"))==null?void 0:i.value)||"";return!!(n.includes("text/html")||r.includes("inline")||t.body&&xr(t.body)==="html")}function hi(t){let r=t.split(`
8
+ `).filter(i=>i.trim().length>0).map(i=>`<p>${i}</p>`).join("");const o=/((?:https?|ftp):\/\/[^\s]+)/g;return r=r.replace(o,'<a href="$1">$1</a>'),r}function yi(t){return new DOMParser().parseFromString(t,"text/html").body.textContent||""}const pi=t=>t===""?!0:/^(0[0-9]|1[0-2]|^[0-9])(:[0-5][0-9][ap]m?|:[0-5][0-9]|:[0-5]|:)?$/i.test(t),mi=t=>/^(0[1-9]|1[0-2]):([0-5][0-9])(am|pm)$/i.test(t);function vi(t=null){let e=zt();t&&(e=t);const n=e.minute()%15;let r;return n!==0?r=e.add(15-n,"minute"):r=e,r}function gi(t){const e=zt();let n="";const[r,o]=t.split(":");r.length===1?n+="0"+r:r.length===2&&(n+=r),n+=":",o===void 0||o==""?n+="00":o.length===1?n+=o+"0":n+=o;const i=n.slice(-1);return i==="a"&&(n+="m"),i==="p"&&(n+="m"),n.slice(-1)!=="m"&&(n.split(":")[0]=="00"?n+="am":n+=e.format("a")),n}function bi(t){const[e,n]=t.split(":").map(l=>parseInt(l,10));let r=e;const o=r>=12?"pm":"am";r=r%12,r=r||12;const i=r.toString().padStart(2,"0"),a=n.toString().padStart(2,"0");return`${i}:${a}${o}`}function $i(t){const[e,n]=t.split(/(am|pm)/i),[r,o]=e.split(":").map(a=>parseInt(a,10));let i=r;return n.toLowerCase()==="pm"&&i<12?i+=12:n.toLowerCase()==="am"&&i===12&&(i=0),`${i.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`}function wi(t){const[e,n]=t.match(/(\d+):(\d+)(am|pm)/).slice(1);let r=parseInt(e,10)*60+parseInt(n,10);return t.includes("pm")&&parseInt(e,10)<12&&(r+=12*60),t.includes("am")&&parseInt(e,10)===12&&(r-=12*60),r}function ki(t){const e=Math.floor(t/60),n=t%60;return`${e}:${n<10?"0":""}${n}`}function Ei(){const t=navigator.userAgent,e=/Chrome/.test(t)&&/Google Inc/.test(navigator.vendor),n=/Safari/.test(t)&&/Apple Computer/.test(navigator.vendor),r=/Firefox/.test(t),o=/Trident/.test(t),i=/Edge/.test(t);return e&&/Edg/.test(t)?"Edge (Chromium)":e?"Chrome":n?"Safari":r?"Firefox":o?"Internet Explorer":i?"Edge (Legacy)":"Unknown"}function Ut(t,e=null){return e?[null,e]:[t,null]}function Ti(t,e){const n={"config.id":e==null?void 0:e.id,id:e==null?void 0:e.id};return Object.keys(n).forEach(r=>{t=t.replace(`{${r}}`,n[r])}),t}function Si(t){if(t.keyCode<48||t.keyCode>90&&t.keyCode<96||t.keyCode>111&&t.keyCode<186||t.keyCode>222||t.keyCode===32||t.keyCode===91||t.keyCode===92||t.keyCode===93||t.keyCode>=112&&t.keyCode<=123||t.keyCode>=37&&t.keyCode<=40||t.ctrlKey||t.altKey||t.metaKey)return!0;const e=[48,49,50,51,52,53,54,55,56,57,186,187,188,189,190,191,192,219,220,221,222];return t.shiftKey&&e.includes(t.keyCode),!1}class Ci{constructor(e){this.defaultAuthArgs={},this.session=e}setActiveGrantId(e){this.activeGrantId=e}async request({method:e,path:n,body:r,headers:o}){try{const i=await this.session.fetch(`grants/me/${n}`,{method:e,headers:o?new Headers(o):void 0,body:r,...this.session.isMultiAccount()&&this.activeGrantId?{grant_id:this.activeGrantId}:{}});if(typeof i>"u")throw new Error("Response is undefined");return Ut(i)}catch(i){return Ut(null,{message:String(i)})}}async currentUser(){const e=this.session.isMultiAccount()?this.activeGrantId:void 0,n=await this.session.getProfile(e);return n?{id:n.sub,email:n.email,name:n.name}:null}async authenticationUrl(e){let n=this.defaultAuthArgs||{};return e&&(n={...n,...e}),this.session.auth(n)}setDefaultAuthArgs(e){this.defaultAuthArgs=e}}pr({});function xi(){var t=[];if(typeof window<"u"){var e=window;(!e.customElements||e.Element&&(!e.Element.prototype.closest||!e.Element.prototype.matches||!e.Element.prototype.remove||!e.Element.prototype.getRootNode))&&t.push(Promise.resolve().then(()=>require("./dom-68f08be9.cjs")));var n=function(){try{var r=new URL("b","http://a");return r.pathname="c%20d",r.href==="http://a/c%20d"&&r.searchParams}catch{return!1}};(typeof Object.assign!="function"||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||e.NodeList&&!e.NodeList.prototype.forEach||!e.fetch||!n()||typeof WeakMap>"u")&&t.push(Promise.resolve().then(()=>require("./core-js-38e53e34.cjs")))}return Promise.all(t)}async function Oi(){await Promise.resolve().then(()=>require("./elements-dc5b338e-1f23530f.cjs"))}const Ii=Oi,Or=(t,e)=>{if(!(typeof window>"u"))return Ii(),Mo(JSON.parse('[["nylas-scheduler-editor",[[1,"nylas-scheduler-editor",{"defaultRequiresSessionAuth":[1028,"default-requires-session-auth"],"configurationId":[1025,"configuration-id"],"nylasApiRequest":[1040],"nylasSessionsConfig":[16],"defaultAuthArgs":[16],"eventOverrides":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"defaultSchedulerConfigStoreState":[16],"mode":[1],"automaticComponentRegistration":[32],"store":[64],"schedulerConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]],{"defaultRequiresSessionAuth":["defaultRequiresSessionAuthChanged"],"configurationId":["configurationIdChanged"]}]]],["nylas-scheduling",[[1,"nylas-scheduling",{"mode":[1],"defaultSchedulerState":[16],"sessionId":[1,"session-id"],"schedulerApiUrl":[1,"scheduler-api-url"],"bookingInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"cancelBookingId":[1,"cancel-booking-id"],"configurationId":[1,"configuration-id"],"nylasBranding":[4,"nylas-branding"],"eventOverrides":[16],"isLoading":[4,"is-loading"],"themeConfig":[16],"showNotification":[4,"show-notification"],"automaticComponentRegistration":[32],"selectedDateLabel":[32],"getNylasSchedulerStore":[64],"getNylasSchedulerConnector":[64],"getRef":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"],[0,"monthChanged","monthChangedHandler"],[0,"detailsConfirmed","bookButtonClickedHandler"],[0,"dateSelected","dateSelectedHandler"],[0,"cancelBookedEventError","cancelBookedEventErrorHandler"],[0,"rescheduleBookedEventError","rescheduleBookedEventErrorHandler"]],{"bookingInfo":["bookingInfoChanged"]}]]],["nylas-view-thread",[[1,"nylas-view-thread",{"draft":[16],"thread":[16],"messages":[16],"attachments":[16],"state":[32],"internalMessages":[32],"showAllEmails":[32],"showComposer":[32]},null,{"thread":["threadChanged"],"messages":["updateInternalMessages"]}]]],["nylas-list-folders",[[1,"nylas-list-folders",{"folders":[16],"selectedFolder":[1,"selected-folder"],"defaultFolders":[32],"otherFolders":[32]},null,{"folders":["watchFolders"]}]]],["nylas-additional-participants",[[65,"nylas-additional-participants",{"name":[1],"eventParticipants":[16],"participants":[32],"participantsValid":[32]},null,{"name":["elementNameChangedHandler"]}]]],["nylas-mailbox-pagination",[[1,"nylas-mailbox-pagination",{"state":[1],"hasNextPage":[4,"has-next-page"],"hasPreviousPage":[4,"has-previous-page"],"scrollTarget":[1,"scroll-target"],"mobileOnlyInfiniteScroll":[4,"mobile-only-infinite-scroll"],"mobileViewPortWidth":[2,"mobile-view-port-width"],"nextPage":[64],"previousPage":[64]},[[9,"scroll","handlePageScroll"]]]]],["nylas-threads-refresh",[[1,"nylas-threads-refresh",{"start":[32],"state":[32],"pulling":[32],"updateState":[64]}]]],["document-refresh-icon",[[2,"document-refresh-icon",{"width":[1],"height":[1]}]]],["nylas-if-state",[[1,"nylas-if-state",{"state":[1],"isStateSet":[4,"is-state-set"],"isBoolean":[4,"is-boolean"],"getStore":[16],"transition":[1],"show":[32],"classes":[32]},null,{"getStore":["onGetStoreChange"]}]]],["nylas-list-threads",[[1,"nylas-list-threads",{"threads":[16],"isAuthenticated":[4,"is-authenticated"],"tokenInfo":[16],"state":[1],"showCheckbox":[4,"show-checkbox"]}]]],["nylas-login",[[1,"nylas-login",{"isAuthenticated":[4,"is-authenticated"],"nylasConnector":[16],"scopes":[16],"loginMethod":[1,"login-method"],"companyName":[1,"company-name"],"logoUrl":[1,"logo-url"],"logoWidth":[1,"logo-width"],"providers":[1],"buttonText":[1,"button-text"],"email":[32]}]]],["nylas-mailbox",[[1,"nylas-mailbox",{"automaticComponentRegistration":[4,"automatic-component-registration"],"eventOverrides":[16],"authConfig":[16],"defaultAuthStoreState":[16],"defaultMailboxStoreState":[16],"getMailboxStore":[64],"getAuthStore":[64],"getNylasAuth":[64],"getNylasMailboxConnector":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["nylas-mailbox-toolbar-button",[[1,"nylas-mailbox-toolbar-button",{"method":[1],"dataState":[1,"data-state"],"iconOnly":[4,"icon-only"],"mailboxConnector":[16]}]]],["nylas-provider",[[1,"nylas-provider",{"authConfig":[16],"eventOverrides":[16],"automaticComponentRegistration":[4,"automatic-component-registration"],"getNylasAuth":[64],"getNylasConnector":[64],"getMailboxStore":[64],"getAuthStore":[64],"getNylasSchedulerStore":[64],"getNylasSchedulerConfigStore":[64]},[[0,"registerComponent","registerComponentHandler"],[0,"unregisterComponent","unregisterComponentHandler"]]]]],["nylas-threads-search",[[1,"nylas-threads-search",{"query":[1],"internalQuery":[32]},null,{"query":["onQueryChange"]}]]],["people-icon",[[2,"people-icon",{"width":[1],"height":[1]}]]],["arrow-icon",[[2,"arrow-icon",{"width":[1],"height":[1]}]]],["refresh-icon",[[2,"refresh-icon",{"width":[1],"height":[1]}]]],["translate-icon",[[2,"translate-icon",{"width":[1],"height":[1]}]]],["warning-icon",[[2,"warning-icon",{"width":[1],"height":[1]}]]],["calendar-cancel-icon",[[2,"calendar-cancel-icon",{"width":[1],"height":[1]}]]],["time-period-selector",[[2,"time-period-selector",{"timePeriods":[16],"defaultSelectedPeriod":[1,"default-selected-period"],"defaultSelectedNumber":[2,"default-selected-number"],"selectedPeriod":[32],"selectedNumber":[32],"numberOptions":[32],"timePeriodOptions":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"defaultSelectedPeriod":["defaultSelectedPeriodChangedHandler"],"defaultSelectedNumber":["defaultSelectedNumberChangedHandler"],"timePeriods":["timePeriodsChangedHandler"]}]]],["calendar-icon",[[2,"calendar-icon",{"width":[1],"height":[1]}]]],["nylas-form-card",[[65,"nylas-form-card"]]],["loading-icon",[[1,"loading-icon",{"width":[1],"height":[1]}]]],["globe-icon",[[2,"globe-icon",{"width":[1],"height":[1]}]]],["close-icon",[[2,"close-icon",{"width":[1],"height":[1]}]]],["chevron-icon_3",[[1,"select-dropdown",{"name":[1],"options":[16],"defaultSelectedOption":[16],"withSearch":[4,"with-search"],"pluralizedLabel":[1,"pluralized-label"],"selectedOption":[32],"isOpen":[32],"searchValue":[32],"filteredOptions":[32],"ariaActivedescendant":[32]},[[6,"click","handleOutsideClick"]],{"options":["optionsChangedHandler"],"defaultSelectedOption":["defaultSelectedOptionChangedHandler"]}],[2,"search-icon",{"width":[1],"height":[1]}],[2,"chevron-icon",{"width":[1],"height":[1]}]]],["add-circle-icon_22",[[65,"nylas-availability-picker",{"selectedConfiguration":[16],"openHours":[16],"name":[1],"defaultTimezone":[1,"default-timezone"],"schedule":[32],"timezone":[32],"overlapDays":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["configChangedHandler"],"schedule":["scheduleChanged"]}],[65,"nylas-location-component",{"selectedConfiguration":[16],"eventLocation":[1,"event-location"],"name":[1],"location":[32],"selectedLocationOption":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"eventLocation":["eventLocationChangedHandler"]}],[65,"nylas-limit-future-bookings",{"selectedConfiguration":[16],"availableDaysInFuture":[2,"available-days-in-future"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-min-cancellation-notice",{"selectedConfiguration":[16],"minCancellationNotice":[2,"min-cancellation-notice"],"name":[1],"selectedNumber":[32],"selectedPeriod":[32]},[[0,"timePeriodChanged","timePeriodChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"availableDaysInFuture":["availableDaysInFutureChanged"]}],[65,"nylas-booking-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultBookingCalendar":[1,"default-booking-calendar"],"selectedCalendar":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-calendar-picker",{"calendars":[16],"currentUser":[16],"name":[1],"defaultSelectedCalendars":[16],"selectedCalendars":[32]},[[0,"selectedOptionsChanged","selectedOptionsChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-custom-booking-flow",{"selectedConfiguration":[16],"name":[1],"bookingType":[1,"booking-type"],"selectedBookingType":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-duration",{"selectedConfiguration":[16],"name":[1],"eventDurationMinutes":[2,"event-duration-minutes"],"duration":[32],"durationMinutes":[32],"durationIncrement":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"],"durationMinutes":["durationMinutesChangedHandler"]}],[65,"nylas-buffer-time",{"name":[1],"buffer":[16],"selectedBeforeBufferTime":[32],"selectedAfterBufferTime":[32]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]],{"name":["elementNameChangedHandler"]}],[65,"nylas-event-description",{"selectedConfiguration":[16],"eventDescription":[1,"event-description"],"name":[1],"description":[32]},null,{"name":["elementNameChangedHandler"],"selectedConfiguration":["selectedConfigurationChangedHandler"]}],[65,"nylas-event-title",{"selectedConfiguration":[16],"eventTitle":[1,"event-title"],"name":[1],"showTokens":[32],"availableTokens":[32],"filteredTokens":[32],"ariaActivedescendant":[32],"currentWord":[32],"validationError":[32]},[[8,"formSubmitted","formSubmittedHandler"]],{"name":["elementNameChangedHandler"],"ariaActivedescendant":["ariaActivedescendantChangedHandler"],"selectedConfiguration":["configChangedHandler"]}],[65,"nylas-event-info"],[65,"nylas-event-limits"],[2,"calendar-info-icon",{"width":[1],"height":[1]}],[2,"calendar-patterns-icon",{"width":[1],"height":[1]}],[2,"flow-icon",{"width":[1],"height":[1]}],[1,"multi-select-dropdown",{"name":[1],"label":[1],"options":[16],"availableOptions":[32],"isOpen":[32],"ariaActivedescendant":[32],"shouldFocusFirstOption":[32]},[[6,"click","handleOutsideClick"]]],[2,"add-circle-icon",{"width":[1],"height":[1]}],[6,"button-component",{"variant":[1],"disabled":[4],"type":[1],"clickHandler":[16],"mouseOverHandler":[16],"mouseOutHandler":[16],"focusHandler":[16],"blurHandler":[16]}],[2,"location-icon",{"width":[1],"height":[1]}],[2,"location-off-icon",{"width":[1],"height":[1]}],[1,"nylas-time-window-picker",{"time":[1],"minimumStartTime":[1,"minimum-start-time"],"placeholder":[1],"setTime":[16],"name":[1],"hasError":[4,"has-error"],"setFormError":[16],"err":[32],"showTimes":[32],"ariaActivedescendant":[32],"times":[32],"shouldAutoScroll":[32]},[[4,"click","handleOutsideClick"]],{"minimumStartTime":["minimumStartTimeChangedHandler"]}]]],["google-logo-icon_4",[[6,"nylas-editor-tabs",{"calendars":[16],"selectedConfiguration":[16],"currentUser":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"mode":[1],"action":[32],"activeTab":[32],"isLoading":[32],"hasUnsavedChanges":[32],"changesSaved":[32],"formState":[32],"error":[32]},[[0,"valueChanged","handleValueChanged"]],{"selectedConfiguration":["configChangedHandler"]}],[1,"nylas-list-configurations",{"configurations":[16],"schedulerPreviewLink":[1,"scheduler-preview-link"],"state":[32],"error":[32],"getState":[64],"setState":[64],"setError":[64]}],[2,"google-logo-icon",{"width":[1],"height":[1]}],[2,"microsoft-logo-icon",{"width":[1],"height":[1]}]]],["calendar-check-icon_2",[[2,"calendar-check-icon",{"width":[1],"height":[1]}],[2,"checkmark-circle-icon",{"width":[1],"height":[1]}]]],["play-icon_2",[[2,"play-icon",{"width":[1],"height":[1]}],[2,"stop-icon",{"width":[1],"height":[1]}]]],["bold-icon_3",[[2,"bold-icon",{"width":[1],"height":[1]}],[2,"italic-icon",{"width":[1],"height":[1]}],[2,"underline-icon",{"width":[1],"height":[1]}]]],["forward-icon_6",[[1,"nylas-composer",{"message":[16],"viewEmailElement":[16]},null,{"message":["watchBody"]}],[1,"nylas-summarize-message-button",{"message":[16],"state":[32],"updateState":[64],"playAudio":[64]}],[2,"forward-icon",{"width":[1],"height":[1]}],[1,"nylas-view-email",{"message":[16],"parent":[16],"attachments":[16],"detectDarkMode":[4,"detect-dark-mode"],"state":[32],"sanitizedBody":[32],"styles":[32],"viewEmailElement":[32],"hoistedFontURLs":[32]},[[9,"resize","handleScroll"]],{"message":["messageChanged"],"viewEmailElement":["viewEmailElementChanged"]}],[2,"reply-all-icon",{"width":[1],"height":[1]}],[2,"reply-icon",{"width":[1],"height":[1]}]]],["archive-icon_7",[[2,"archive-icon",{"width":[1],"height":[1]}],[2,"folder-icon",{"width":[1],"height":[1]}],[2,"inbox-icon",{"width":[1],"height":[1]}],[2,"sent-icon",{"width":[1],"height":[1]}],[2,"spam-icon",{"width":[1],"height":[1]}],[2,"star-icon",{"width":[1],"height":[1]}],[2,"trash-icon",{"width":[1],"height":[1]}]]],["nylas-booked-event-card_10",[[1,"nylas-locale-switch",{"selectedTimezone":[1025,"selected-timezone"],"selectedLanguage":[1025,"selected-language"]},[[0,"selectedOptionChanged","selectedOptionChangedHandler"]]],[1,"nylas-booked-event-card",{"eventInfo":[16],"rescheduleBookingId":[1,"reschedule-booking-id"],"bookingInfo":[8,"booking-info"],"selectedTimezone":[1,"selected-timezone"],"selectedTimeslot":[16]}],[1,"nylas-notification",{"ttl":[8],"allowedCategories":[16],"notifications":[32]},[[16,"nylasSchedulerError","onError"],[16,"nylasSchedulerWarning","onWarning"],[16,"nylasSchedulerInfo","onInfo"],[16,"nylasSchedulerSuccess","onSuccess"]]],[1,"nylas-selected-event-card",{"selectedDate":[16],"selectedTimeslot":[16],"selectedTimezone":[1,"selected-timezone"],"startTime":[32],"endTime":[32]},null,{"selectedTimeslot":["handleSelectedTimeslotChange"]}],[1,"nylas-booking-form",{"isLoading":[4,"is-loading"],"bookingInfo":[8,"booking-info"],"eventInfo":[16],"name":[32],"email":[32],"guestEmails":[32],"guestEmailErrors":[32],"isNameValid":[32],"isEmailValid":[32],"validationError":[32]},null,{"bookingInfo":["bookingInfoChangedHandler"]}],[1,"nylas-cancel-booking-form",{"cancelBookingId":[1,"cancel-booking-id"],"cancellationReason":[32],"cancellationError":[32]}],[1,"nylas-cancelled-event-card",{"cancelledEventInfo":[16]}],[1,"nylas-date-picker",{"selectableDates":[16],"selectedDate":[16],"isLoading":[4,"is-loading"],"month":[32],"dates":[32]}],[2,"nylas-logo",{"width":[1],"height":[1]}],[1,"nylas-timeslot-picker",{"selectedDate":[16],"availability":[16],"selectedTimeslot":[16],"isLoading":[4,"loading-state"],"selectedTimezone":[1,"selected-timezone"],"times":[32],"hoveredTimeslotIndex":[32],"selectedTimeslotIndex":[32]},null,{"selectedDate":["selectedDateChanged"],"availability":["availabilityChanged"]}]]],["info-icon_2",[[2,"info-icon",{"width":[1],"height":[1]}],[1,"tooltip-component",{"position":[1]}]]]]'),e)};(function(){if(typeof window<"u"&&window.Reflect!==void 0&&window.customElements!==void 0){var t=HTMLElement;window.HTMLElement=function(){return Reflect.construct(t,[],this.constructor)},HTMLElement.prototype=t.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,t)}})();var Yt={exports:{}},Ze={};/**
9
+ * @license React
10
+ * react-jsx-runtime.production.min.js
11
+ *
12
+ * Copyright (c) Facebook, Inc. and its affiliates.
13
+ *
14
+ * This source code is licensed under the MIT license found in the
15
+ * LICENSE file in the root directory of this source tree.
16
+ */var Bn;function Di(){if(Bn)return Ze;Bn=1;var t=$e,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(l,s,u){var d,f={},h=null,y=null;u!==void 0&&(h=""+u),s.key!==void 0&&(h=""+s.key),s.ref!==void 0&&(y=s.ref);for(d in s)r.call(s,d)&&!i.hasOwnProperty(d)&&(f[d]=s[d]);if(l&&l.defaultProps)for(d in s=l.defaultProps,s)f[d]===void 0&&(f[d]=s[d]);return{$$typeof:e,type:l,key:h,ref:y,props:f,_owner:o.current}}return Ze.Fragment=n,Ze.jsx=a,Ze.jsxs=a,Ze}var Je={};/**
17
+ * @license React
18
+ * react-jsx-runtime.development.js
19
+ *
20
+ * Copyright (c) Facebook, Inc. and its affiliates.
21
+ *
22
+ * This source code is licensed under the MIT license found in the
23
+ * LICENSE file in the root directory of this source tree.
24
+ */var zn;function _i(){return zn||(zn=1,process.env.NODE_ENV!=="production"&&function(){var t=$e,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),p=Symbol.iterator,v="@@iterator";function b(c){if(c===null||typeof c!="object")return null;var m=p&&c[p]||c[v];return typeof m=="function"?m:null}var T=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(c){{for(var m=arguments.length,k=new Array(m>1?m-1:0),O=1;O<m;O++)k[O-1]=arguments[O];V("error",c,k)}}function V(c,m,k){{var O=T.ReactDebugCurrentFrame,Y=O.getStackAddendum();Y!==""&&(m+="%s",k=k.concat([Y]));var F=k.map(function(R){return String(R)});F.unshift("Warning: "+m),Function.prototype.apply.call(console[c],console,F)}}var ie=!1,he=!1,ee=!1,Le=!1,Pe=!1,z;z=Symbol.for("react.module.reference");function H(c){return!!(typeof c=="string"||typeof c=="function"||c===r||c===i||Pe||c===o||c===u||c===d||Le||c===y||ie||he||ee||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===f||c.$$typeof===a||c.$$typeof===l||c.$$typeof===s||c.$$typeof===z||c.getModuleId!==void 0))}function Ae(c,m,k){var O=c.displayName;if(O)return O;var Y=m.displayName||m.name||"";return Y!==""?k+"("+Y+")":k}function ze(c){return c.displayName||"Context"}function C(c){if(c==null)return null;if(typeof c.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case l:var m=c;return ze(m)+".Consumer";case a:var k=c;return ze(k._context)+".Provider";case s:return Ae(c,c.render,"ForwardRef");case f:var O=c.displayName||null;return O!==null?O:C(c.type)||"Memo";case h:{var Y=c,F=Y._payload,R=Y._init;try{return C(R(F))}catch{return null}}}return null}var E=Object.assign,w=0,I,S,M,D,U,q,W;function J(){}J.__reactDisabledLog=!0;function ve(){{if(w===0){I=console.log,S=console.info,M=console.warn,D=console.error,U=console.group,q=console.groupCollapsed,W=console.groupEnd;var c={configurable:!0,enumerable:!0,value:J,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}w++}}function ye(){{if(w--,w===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},c,{value:I}),info:E({},c,{value:S}),warn:E({},c,{value:M}),error:E({},c,{value:D}),group:E({},c,{value:U}),groupCollapsed:E({},c,{value:q}),groupEnd:E({},c,{value:W})})}w<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ee=T.ReactCurrentDispatcher,Te;function pe(c,m,k){{if(Te===void 0)try{throw Error()}catch(Y){var O=Y.stack.trim().match(/\n( *(at )?)/);Te=O&&O[1]||""}return`
25
+ `+Te+c}}var X=!1,se;{var Ke=typeof WeakMap=="function"?WeakMap:Map;se=new Ke}function Ne(c,m){if(!c||X)return"";{var k=se.get(c);if(k!==void 0)return k}var O;X=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var F;F=Ee.current,Ee.current=null,ve();try{if(m){var R=function(){throw Error()};if(Object.defineProperty(R.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(R,[])}catch(Se){O=Se}Reflect.construct(c,[],R)}else{try{R.call()}catch(Se){O=Se}c.call(R.prototype)}}else{try{throw Error()}catch(Se){O=Se}c()}}catch(Se){if(Se&&O&&typeof Se.stack=="string"){for(var N=Se.stack.split(`
26
+ `),oe=O.stack.split(`
27
+ `),K=N.length-1,G=oe.length-1;K>=1&&G>=0&&N[K]!==oe[G];)G--;for(;K>=1&&G>=0;K--,G--)if(N[K]!==oe[G]){if(K!==1||G!==1)do if(K--,G--,G<0||N[K]!==oe[G]){var de=`
28
+ `+N[K].replace(" at new "," at ");return c.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",c.displayName)),typeof c=="function"&&se.set(c,de),de}while(K>=1&&G>=0);break}}}finally{X=!1,Ee.current=F,ye(),Error.prepareStackTrace=Y}var Ye=c?c.displayName||c.name:"",dn=Ye?pe(Ye):"";return typeof c=="function"&&se.set(c,dn),dn}function _r(c,m,k){return Ne(c,!1)}function Mr(c){var m=c.prototype;return!!(m&&m.isReactComponent)}function nt(c,m,k){if(c==null)return"";if(typeof c=="function")return Ne(c,Mr(c));if(typeof c=="string")return pe(c);switch(c){case u:return pe("Suspense");case d:return pe("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case s:return _r(c.render);case f:return nt(c.type,m,k);case h:{var O=c,Y=O._payload,F=O._init;try{return nt(F(Y),m,k)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,Qt={},Vt=T.ReactDebugCurrentFrame;function ot(c){if(c){var m=c._owner,k=nt(c.type,c._source,m?m.type:null);Vt.setExtraStackFrame(k)}else Vt.setExtraStackFrame(null)}function Lr(c,m,k,O,Y){{var F=Function.call.bind(rt);for(var R in c)if(F(c,R)){var N=void 0;try{if(typeof c[R]!="function"){var oe=Error((O||"React class")+": "+k+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw oe.name="Invariant Violation",oe}N=c[R](m,R,O,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(K){N=K}N&&!(N instanceof Error)&&(ot(Y),L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",O||"React class",k,R,typeof N),ot(null)),N instanceof Error&&!(N.message in Qt)&&(Qt[N.message]=!0,ot(Y),L("Failed %s type: %s",k,N.message),ot(null))}}}var Nr=Array.isArray;function mt(c){return Nr(c)}function Rr(c){{var m=typeof Symbol=="function"&&Symbol.toStringTag,k=m&&c[Symbol.toStringTag]||c.constructor.name||"Object";return k}}function Pr(c){try{return en(c),!1}catch{return!0}}function en(c){return""+c}function tn(c){if(Pr(c))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Rr(c)),en(c)}var Ge=T.ReactCurrentOwner,Ar={key:!0,ref:!0,__self:!0,__source:!0},nn,rn,vt;vt={};function Ur(c){if(rt.call(c,"ref")){var m=Object.getOwnPropertyDescriptor(c,"ref").get;if(m&&m.isReactWarning)return!1}return c.ref!==void 0}function Yr(c){if(rt.call(c,"key")){var m=Object.getOwnPropertyDescriptor(c,"key").get;if(m&&m.isReactWarning)return!1}return c.key!==void 0}function Hr(c,m){if(typeof c.ref=="string"&&Ge.current&&m&&Ge.current.stateNode!==m){var k=C(Ge.current.type);vt[k]||(L('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',C(Ge.current.type),c.ref),vt[k]=!0)}}function Fr(c,m){{var k=function(){nn||(nn=!0,L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",m))};k.isReactWarning=!0,Object.defineProperty(c,"key",{get:k,configurable:!0})}}function jr(c,m){{var k=function(){rn||(rn=!0,L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",m))};k.isReactWarning=!0,Object.defineProperty(c,"ref",{get:k,configurable:!0})}}var Wr=function(c,m,k,O,Y,F,R){var N={$$typeof:e,type:c,key:m,ref:k,props:R,_owner:F};return N._store={},Object.defineProperty(N._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(N,"_self",{configurable:!1,enumerable:!1,writable:!1,value:O}),Object.defineProperty(N,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Y}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N};function qr(c,m,k,O,Y){{var F,R={},N=null,oe=null;k!==void 0&&(tn(k),N=""+k),Yr(m)&&(tn(m.key),N=""+m.key),Ur(m)&&(oe=m.ref,Hr(m,Y));for(F in m)rt.call(m,F)&&!Ar.hasOwnProperty(F)&&(R[F]=m[F]);if(c&&c.defaultProps){var K=c.defaultProps;for(F in K)R[F]===void 0&&(R[F]=K[F])}if(N||oe){var G=typeof c=="function"?c.displayName||c.name||"Unknown":c;N&&Fr(R,G),oe&&jr(R,G)}return Wr(c,N,oe,Y,O,Ge.current,R)}}var gt=T.ReactCurrentOwner,on=T.ReactDebugCurrentFrame;function Ue(c){if(c){var m=c._owner,k=nt(c.type,c._source,m?m.type:null);on.setExtraStackFrame(k)}else on.setExtraStackFrame(null)}var bt;bt=!1;function $t(c){return typeof c=="object"&&c!==null&&c.$$typeof===e}function an(){{if(gt.current){var c=C(gt.current.type);if(c)return`
29
+
30
+ Check the render method of \``+c+"`."}return""}}function Br(c){{if(c!==void 0){var m=c.fileName.replace(/^.*[\\\/]/,""),k=c.lineNumber;return`
31
+
32
+ Check your code at `+m+":"+k+"."}return""}}var sn={};function zr(c){{var m=an();if(!m){var k=typeof c=="string"?c:c.displayName||c.name;k&&(m=`
33
+
34
+ Check the top-level render call using <`+k+">.")}return m}}function ln(c,m){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var k=zr(m);if(sn[k])return;sn[k]=!0;var O="";c&&c._owner&&c._owner!==gt.current&&(O=" It was passed a child from "+C(c._owner.type)+"."),Ue(c),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',k,O),Ue(null)}}function cn(c,m){{if(typeof c!="object")return;if(mt(c))for(var k=0;k<c.length;k++){var O=c[k];$t(O)&&ln(O,m)}else if($t(c))c._store&&(c._store.validated=!0);else if(c){var Y=b(c);if(typeof Y=="function"&&Y!==c.entries)for(var F=Y.call(c),R;!(R=F.next()).done;)$t(R.value)&&ln(R.value,m)}}}function Kr(c){{var m=c.type;if(m==null||typeof m=="string")return;var k;if(typeof m=="function")k=m.propTypes;else if(typeof m=="object"&&(m.$$typeof===s||m.$$typeof===f))k=m.propTypes;else return;if(k){var O=C(m);Lr(k,c.props,"prop",O,c)}else if(m.PropTypes!==void 0&&!bt){bt=!0;var Y=C(m);L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Gr(c){{for(var m=Object.keys(c.props),k=0;k<m.length;k++){var O=m[k];if(O!=="children"&&O!=="key"){Ue(c),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),Ue(null);break}}c.ref!==null&&(Ue(c),L("Invalid attribute `ref` supplied to `React.Fragment`."),Ue(null))}}function un(c,m,k,O,Y,F){{var R=H(c);if(!R){var N="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(N+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var oe=Br(Y);oe?N+=oe:N+=an();var K;c===null?K="null":mt(c)?K="array":c!==void 0&&c.$$typeof===e?(K="<"+(C(c.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):K=typeof c,L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",K,N)}var G=qr(c,m,k,Y,F);if(G==null)return G;if(R){var de=m.children;if(de!==void 0)if(O)if(mt(de)){for(var Ye=0;Ye<de.length;Ye++)cn(de[Ye],c);Object.freeze&&Object.freeze(de)}else L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else cn(de,c)}return c===r?Gr(G):Kr(G),G}}function Zr(c,m,k){return un(c,m,k,!0)}function Jr(c,m,k){return un(c,m,k,!1)}var Xr=Jr,Qr=Zr;Je.Fragment=r,Je.jsx=Xr,Je.jsxs=Qr}()),Je}process.env.NODE_ENV==="production"?Yt.exports=Di():Yt.exports=_i();var Mi=Yt.exports;const Li=t=>t.toLowerCase().split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(""),Ir=t=>t.replace(/([A-Z])/g,e=>`-${e[0].toLowerCase()}`),Ni=(t,e,n={})=>{if(t instanceof Element){const r=Ri(t.classList,e,n);r!==""&&(t.className=r),Object.keys(e).forEach(o=>{if(!(o==="children"||o==="style"||o==="ref"||o==="class"||o==="className"||o==="forwardedRef"))if(o.indexOf("on")===0&&o[2]===o[2].toUpperCase()){const i=o.substring(2),a=i[0].toLowerCase()+i.substring(1);Dr(a)||Ai(t,a,e[o])}else t[o]=e[o],typeof e[o]==="string"&&t.setAttribute(Ir(o),e[o])})}},Ri=(t,e,n)=>{const r=e.className||e.class,o=n.className||n.class,i=Ct(t),a=Ct(r?r.split(" "):[]),l=Ct(o?o.split(" "):[]),s=[];return i.forEach(u=>{a.has(u)?(s.push(u),a.delete(u)):l.has(u)||s.push(u)}),a.forEach(u=>s.push(u)),s.join(" ")},Pi=t=>{switch(t){case"doubleclick":return"dblclick"}return t};/**
35
+ * Checks if an event is supported in the current execution environment.
36
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
37
+ */const Dr=t=>{if(typeof document>"u")return!0;{const e="on"+Pi(t);let n=e in document;if(!n){const r=document.createElement("div");r.setAttribute(e,"return;"),n=typeof r[e]=="function"}return n}},Ai=(t,e,n)=>{const r=t.__events||(t.__events={}),o=r[e];o&&t.removeEventListener(e,o),t.addEventListener(e,r[e]=function(a){n&&n.call(this,a)})},Ct=t=>{const e=new Map;return t.forEach(n=>e.set(n,n)),e},Ui=(t,e)=>{typeof t=="function"?t(e):t!=null&&(t.current=e)},Yi=(...t)=>e=>{t.forEach(n=>{Ui(n,e)})},Hi=(t,e)=>{const n=(r,o)=>Mi.jsx(t,{...r,forwardedRef:o});return n.displayName=e,$e.forwardRef(n)},g=(t,e,n,r)=>{r!==void 0&&r();const o=Li(t),i=class extends $e.Component{constructor(l){super(l);wt(this,"componentEl");wt(this,"setComponentElRef",l=>{this.componentEl=l})}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(l){Ni(this.componentEl,this.props,l)}render(){const{children:l,forwardedRef:s,style:u,className:d,ref:f,...h}=this.props;let y=Object.keys(h).reduce((v,b)=>{const T=h[b];if(b.indexOf("on")===0&&b[2]===b[2].toUpperCase()){const L=b.substring(2).toLowerCase();typeof document<"u"&&Dr(L)&&(v[b]=T)}else{const L=typeof T;(L==="string"||L==="boolean"||L==="number")&&(v[Ir(b)]=T)}return v},{});n&&(y=n(this.props,y));const p={...y,ref:Yi(s,this.setComponentElRef),style:u};return $e.createElement(t,p,l)}static get displayName(){return o}};return e&&(i.contextType=e),Hi(i,o)};Or();const Fi=g("add-circle-icon"),ji=g("archive-icon"),Wi=g("arrow-icon"),qi=g("bold-icon"),Bi=g("button-component"),zi=g("calendar-cancel-icon"),Ki=g("calendar-check-icon"),Gi=g("calendar-icon"),Zi=g("calendar-info-icon"),Ji=g("calendar-patterns-icon"),Xi=g("checkmark-circle-icon"),Qi=g("chevron-icon"),Vi=g("close-icon"),es=g("document-refresh-icon"),ts=g("flow-icon"),ns=g("folder-icon"),rs=g("forward-icon"),os=g("globe-icon"),as=g("google-logo-icon"),is=g("inbox-icon"),ss=g("info-icon"),ls=g("italic-icon"),cs=g("loading-icon"),us=g("location-icon"),ds=g("location-off-icon"),fs=g("microsoft-logo-icon"),hs=g("multi-select-dropdown"),ys=g("nylas-additional-participants"),ps=g("nylas-availability-picker"),ms=g("nylas-booked-event-card"),vs=g("nylas-booking-calendar-picker"),gs=g("nylas-booking-form"),bs=g("nylas-buffer-time"),$s=g("nylas-calendar-picker"),ws=g("nylas-cancel-booking-form"),ks=g("nylas-cancelled-event-card"),Es=g("nylas-composer"),Ts=g("nylas-custom-booking-flow"),Ss=g("nylas-date-picker"),Cs=g("nylas-editor-tabs"),xs=g("nylas-event-description"),Os=g("nylas-event-duration"),Is=g("nylas-event-info"),Ds=g("nylas-event-limits"),_s=g("nylas-event-title"),Ms=g("nylas-form-card"),Ls=g("nylas-if-state"),Ns=g("nylas-limit-future-bookings"),Rs=g("nylas-list-configurations"),Ps=g("nylas-list-folders"),As=g("nylas-list-threads"),Us=g("nylas-locale-switch"),Ys=g("nylas-location-component"),Hs=g("nylas-login"),Fs=g("nylas-logo"),js=g("nylas-mailbox"),Ws=g("nylas-mailbox-pagination"),qs=g("nylas-mailbox-toolbar-button"),Bs=g("nylas-min-cancellation-notice"),zs=g("nylas-notification"),Ks=g("nylas-provider"),Gs=g("nylas-scheduler-editor"),Zs=g("nylas-scheduling"),Js=g("nylas-selected-event-card"),Xs=g("nylas-summarize-message-button"),Qs=g("nylas-threads-refresh"),Vs=g("nylas-threads-search"),el=g("nylas-time-window-picker"),tl=g("nylas-timeslot-picker"),nl=g("nylas-view-email"),rl=g("nylas-view-thread"),ol=g("people-icon"),al=g("play-icon"),il=g("refresh-icon"),sl=g("reply-all-icon"),ll=g("reply-icon"),cl=g("search-icon"),ul=g("select-dropdown"),dl=g("sent-icon"),fl=g("spam-icon"),hl=g("star-icon"),yl=g("stop-icon"),pl=g("time-period-selector"),ml=g("tooltip-component"),vl=g("translate-icon"),gl=g("trash-icon"),bl=g("underline-icon"),$l=g("warning-icon");function wl(){const[,t]=$e.useReducer(o=>o+1,0),e=$e.useRef(),n=$e.useRef(null),r=$e.useRef(null);return $e.useEffect(()=>{e.current&&(n.current||e.current.getNylasMailboxConnector().then(o=>{o&&(n.current=o,r.current=n.current.nylasAuthStore,o.nylasAuthStore.on("set",t),t())}))},[]),[e,r.current]}exports.AddCircleIcon=Fi;exports.ArchiveIcon=ji;exports.ArrowIcon=Wi;exports.BoldIcon=qi;exports.ButtonComponent=Bi;exports.CalendarCancelIcon=zi;exports.CalendarCheckIcon=Ki;exports.CalendarIcon=Gi;exports.CalendarInfoIcon=Zi;exports.CalendarPatternsIcon=Ji;exports.CheckmarkCircleIcon=Xi;exports.ChevronIcon=Qi;exports.CloseIcon=Vi;exports.DocumentRefreshIcon=es;exports.FlowIcon=ts;exports.FolderIcon=ns;exports.ForwardIcon=rs;exports.Fragment=Lo;exports.GlobeIcon=os;exports.GoogleLogoIcon=as;exports.Host=Xn;exports.InboxIcon=is;exports.InfoIcon=ss;exports.ItalicIcon=ls;exports.LoadingIcon=cs;exports.LocationIcon=us;exports.LocationOffIcon=ds;exports.MicrosoftLogoIcon=fs;exports.MultiSelectDropdown=hs;exports.NylasAdditionalParticipants=ys;exports.NylasAvailabilityPicker=ps;exports.NylasBookedEventCard=ms;exports.NylasBookingCalendarPicker=vs;exports.NylasBookingForm=gs;exports.NylasBufferTime=bs;exports.NylasCalendarPicker=$s;exports.NylasCancelBookingForm=ws;exports.NylasCancelledEventCard=ks;exports.NylasComposer=Es;exports.NylasCustomBookingFlow=Ts;exports.NylasDatePicker=Ss;exports.NylasEditorTabs=Cs;exports.NylasEventDescription=xs;exports.NylasEventDuration=Os;exports.NylasEventInfo=Is;exports.NylasEventLimits=Ds;exports.NylasEventTitle=_s;exports.NylasFormCard=Ms;exports.NylasIdentityRequestWrapper=Ci;exports.NylasIfState=Ls;exports.NylasLimitFutureBookings=Ns;exports.NylasListConfigurations=Rs;exports.NylasListFolders=Ps;exports.NylasListThreads=As;exports.NylasLocaleSwitch=Us;exports.NylasLocationComponent=Ys;exports.NylasLogin=Hs;exports.NylasLogo=Fs;exports.NylasMailbox=js;exports.NylasMailboxPagination=Ws;exports.NylasMailboxToolbarButton=qs;exports.NylasMinCancellationNotice=Bs;exports.NylasNotification=zs;exports.NylasProvider=Ks;exports.NylasSchedulerEditor=Gs;exports.NylasScheduling=Zs;exports.NylasSelectedEventCard=Js;exports.NylasSummarizeMessageButton=Xs;exports.NylasThreadsRefresh=Qs;exports.NylasThreadsSearch=Vs;exports.NylasTimeWindowPicker=el;exports.NylasTimeslotPicker=tl;exports.NylasViewEmail=nl;exports.NylasViewThread=rl;exports.PeopleIcon=ol;exports.PlayIcon=al;exports.RefreshIcon=il;exports.ReplyAllIcon=sl;exports.ReplyIcon=ll;exports.SearchIcon=cl;exports.SelectDropdown=ul;exports.SentIcon=dl;exports.SpamIcon=fl;exports.StarIcon=hl;exports.StopIcon=yl;exports.TimePeriodSelector=pl;exports.TooltipComponent=ml;exports.TranslateIcon=vl;exports.TrashIcon=gl;exports.UnderlineIcon=bl;exports.WarningIcon=$l;exports.applyPolyfills=xi;exports.autocompleteTimeFormat=gi;exports.commonjsGlobal=mr;exports.convertTo12HourFormat=bi;exports.convertTo24HourFormat=$i;exports.createEvent=ho;exports.createStore=pr;exports.dataResponse=Ut;exports.dayjs=zt;exports.debug=Qa;exports.defineCustomElements=Or;exports.detectHTMLOrPlainText=xr;exports.detectIfMessageIsHTML=fi;exports.error=Va;exports.formatDateTime=ni;exports.formatEventName=ti;exports.formatFolderName=di;exports.formatParticipants=oi;exports.formatRecipient=ri;exports.formatTimeAgo=ai;exports.getAugmentedNamespace=Qo;exports.getBrowser=Ei;exports.getElement=Qn;exports.getFirstDayOfMonth=si;exports.getLastDayOfMonth=ii;exports.h=jt;exports.htmlToPlainText=yi;exports.isNonPrintableKey=Si;exports.isSameDay=li;exports.isSameMonth=ci;exports.minutesToTime=ki;exports.parsePlainTextToHTML=hi;exports.parsePreviewLink=Ti;exports.registerInstance=Uo;exports.roundToNearest15Minutes=vi;exports.setNonce=Ao;exports.timeToMinutes=wi;exports.toTitleCase=ui;exports.uniqueID=ei;exports.useNylasMailboxElement=wl;exports.validateExactTimeFormat=mi;exports.validateTimeFormatInput=pi;