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

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 (103) hide show
  1. package/dist/elements/index.d.ts +1 -0
  2. package/dist/{elements-dc5b338e-fb5dbfb5.js → elements-dc5b338e-6078b875.js} +1 -1
  3. package/dist/{elements-dc5b338e-81a0319c.cjs → elements-dc5b338e-96e197ca.cjs} +1 -1
  4. package/dist/focus-visible-e8093c16-018ffd63.cjs +1 -0
  5. package/dist/{focus-visible-e8093c16-28fc08a0.js → focus-visible-e8093c16-ab01d60a.js} +5 -3
  6. package/dist/index-1fd24ccf.js +3582 -0
  7. package/dist/index-823fdc6f.cjs +36 -0
  8. package/dist/react.cjs +1 -1
  9. package/dist/react.js +53 -52
  10. package/package.json +3 -3
  11. package/dist/_commonjsHelpers-57e89916-4a3ae7d8.cjs +0 -1
  12. package/dist/_commonjsHelpers-57e89916-af061c86.js +0 -19
  13. package/dist/add-circle-icon_22.entry-077661c3.cjs +0 -1
  14. package/dist/add-circle-icon_22.entry-f699d91e.js +0 -1733
  15. package/dist/archive-icon_7.entry-40b7ef3b.js +0 -75
  16. package/dist/archive-icon_7.entry-e8630de9.cjs +0 -1
  17. package/dist/arrow-icon.entry-58246303.js +0 -15
  18. package/dist/arrow-icon.entry-ffa53114.cjs +0 -1
  19. package/dist/bold-icon_3.entry-106a4e77.cjs +0 -1
  20. package/dist/bold-icon_3.entry-f5f1643d.js +0 -35
  21. package/dist/calendar-cancel-icon.entry-6ae0fd0f.cjs +0 -1
  22. package/dist/calendar-cancel-icon.entry-75b15b19.js +0 -15
  23. package/dist/calendar-check-icon_2.entry-57339318.js +0 -25
  24. package/dist/calendar-check-icon_2.entry-c57f83f3.cjs +0 -1
  25. package/dist/calendar-icon.entry-2069fec6.js +0 -15
  26. package/dist/calendar-icon.entry-492c2630.cjs +0 -1
  27. package/dist/chevron-icon_3.entry-83df50c3.js +0 -117
  28. package/dist/chevron-icon_3.entry-878ff6df.cjs +0 -1
  29. package/dist/close-icon.entry-480c199d.js +0 -15
  30. package/dist/close-icon.entry-8015ca05.cjs +0 -1
  31. package/dist/constants-6ee60d6d-4cd16450.js +0 -3740
  32. package/dist/constants-6ee60d6d-6c0540db.cjs +0 -15
  33. package/dist/document-refresh-icon.entry-06f7972b.cjs +0 -1
  34. package/dist/document-refresh-icon.entry-09870b14.js +0 -15
  35. package/dist/focus-visible-e8093c16-f380b705.cjs +0 -1
  36. package/dist/forward-icon_6.entry-8bb201eb.js +0 -955
  37. package/dist/forward-icon_6.entry-eeecf2a2.cjs +0 -3
  38. package/dist/globe-icon.entry-a690028c.cjs +0 -1
  39. package/dist/globe-icon.entry-d515cbfa.js +0 -15
  40. package/dist/google-logo-icon_3.entry-2164cec1.js +0 -258
  41. package/dist/google-logo-icon_3.entry-b2b85284.cjs +0 -1
  42. package/dist/index-2b8437d6.cjs +0 -30
  43. package/dist/index-db0c5017.js +0 -1824
  44. package/dist/index.es-2578c6a5-098d48d0.cjs +0 -7
  45. package/dist/index.es-2578c6a5-71441142.js +0 -3133
  46. package/dist/info-icon_2.entry-300ef196.js +0 -34
  47. package/dist/info-icon_2.entry-e286aaa5.cjs +0 -1
  48. package/dist/loading-icon.entry-6d8adaa4.js +0 -15
  49. package/dist/loading-icon.entry-dc40e97d.cjs +0 -1
  50. package/dist/mailbox-store-bb21512c-649a374c.js +0 -381
  51. package/dist/mailbox-store-bb21512c-fc3c8c03.cjs +0 -1
  52. package/dist/nylas-additional-participants.entry-4afba192.js +0 -83
  53. package/dist/nylas-additional-participants.entry-db05e510.cjs +0 -1
  54. package/dist/nylas-booked-event-card_10.entry-1ebbe0c0.js +0 -784
  55. package/dist/nylas-booked-event-card_10.entry-6b6fdfae.cjs +0 -1
  56. package/dist/nylas-form-card.entry-70b20571.cjs +0 -1
  57. package/dist/nylas-form-card.entry-7bc23695.js +0 -56
  58. package/dist/nylas-if-state.entry-3829cb3d.js +0 -96
  59. package/dist/nylas-if-state.entry-ebeffe22.cjs +0 -1
  60. package/dist/nylas-list-folders.entry-191688f2.cjs +0 -1
  61. package/dist/nylas-list-folders.entry-7347e78d.js +0 -122
  62. package/dist/nylas-list-threads.entry-432a8d8c.js +0 -72
  63. package/dist/nylas-list-threads.entry-44658578.cjs +0 -1
  64. package/dist/nylas-login.entry-5311f0a7.js +0 -75
  65. package/dist/nylas-login.entry-db17a3d2.cjs +0 -1
  66. package/dist/nylas-mailbox-pagination.entry-20150fb2.js +0 -103
  67. package/dist/nylas-mailbox-pagination.entry-9d3f5baa.cjs +0 -1
  68. package/dist/nylas-mailbox-toolbar-button.entry-6c0f7299.cjs +0 -1
  69. package/dist/nylas-mailbox-toolbar-button.entry-eec426d5.js +0 -84
  70. package/dist/nylas-mailbox.entry-b6c758b9.js +0 -136
  71. package/dist/nylas-mailbox.entry-d41401e0.cjs +0 -1
  72. package/dist/nylas-provider.entry-271cafd2.js +0 -147
  73. package/dist/nylas-provider.entry-6173b721.cjs +0 -1
  74. package/dist/nylas-scheduler-editor.entry-0c75d39e.cjs +0 -7
  75. package/dist/nylas-scheduler-editor.entry-b51ad4b1.js +0 -2192
  76. package/dist/nylas-scheduling.entry-081c8825.cjs +0 -1
  77. package/dist/nylas-scheduling.entry-0a8d1da8.js +0 -237
  78. package/dist/nylas-threads-refresh.entry-72dd854e.js +0 -76
  79. package/dist/nylas-threads-refresh.entry-c3509e6a.cjs +0 -1
  80. package/dist/nylas-threads-search.entry-16a59ef6.cjs +0 -1
  81. package/dist/nylas-threads-search.entry-4750a187.js +0 -71
  82. package/dist/nylas-view-thread.entry-27df3349.cjs +0 -1
  83. package/dist/nylas-view-thread.entry-c6adce43.js +0 -205
  84. package/dist/people-icon.entry-342be0c8.js +0 -15
  85. package/dist/people-icon.entry-35252ca9.cjs +0 -1
  86. package/dist/play-icon_2.entry-0787352c.js +0 -25
  87. package/dist/play-icon_2.entry-f83fa92a.cjs +0 -1
  88. package/dist/refresh-icon.entry-8fbabfe7.js +0 -15
  89. package/dist/refresh-icon.entry-ddbc5446.cjs +0 -1
  90. package/dist/register-component-dc659dc3-e43e8fae.js +0 -105
  91. package/dist/register-component-dc659dc3-fb85ee68.cjs +0 -1
  92. package/dist/scheduler-config-store-51ee4f42-66f8c2ac.js +0 -14
  93. package/dist/scheduler-config-store-51ee4f42-d7d9c25d.cjs +0 -1
  94. package/dist/scheduler-store-72116723-ce4c7a69.cjs +0 -1
  95. package/dist/scheduler-store-72116723-e5f87122.js +0 -294
  96. package/dist/time-period-selector.entry-333942a8.js +0 -78
  97. package/dist/time-period-selector.entry-78d5b3c2.cjs +0 -1
  98. package/dist/translate-icon.entry-87a62108.js +0 -15
  99. package/dist/translate-icon.entry-cb19864c.cjs +0 -1
  100. package/dist/utils-c00bdc3c-89ab163d.js +0 -2111
  101. package/dist/utils-c00bdc3c-94b9c3b6.cjs +0 -8
  102. package/dist/warning-icon.entry-50755d91.cjs +0 -1
  103. package/dist/warning-icon.entry-7a72e24a.js +0 -15
@@ -0,0 +1,36 @@
1
+ "use strict";var Br=Object.defineProperty;var zr=(t,e,n)=>e in t?Br(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var wt=(t,e,n)=>(zr(t,typeof e!="symbol"?e+"":e,n),n);const be=require("react");require("react-dom");const qr="nylas-web-elements",Kr={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 je,Ct,yt,Fn=!1,ot=!1,Pt=!1,se=!1,xt=null,Ot=!1;const Oe=(t,e="")=>()=>{},Gr=(t,e)=>()=>{},Zr="{visibility:hidden}.hydrated{visibility:inherit}",Bn="slot-fb{display:contents}slot-fb[hidden]{display:none}",Jr=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"],sn={},Xr="http://www.w3.org/2000/svg",Qr="http://www.w3.org/1999/xhtml",Vr=t=>t!=null,Yt=t=>(t=typeof t,t==="object"||t==="function");function zn(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 qn=(t,e,...n)=>{let r=null,i=null,a=null,o=!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"&&((o=typeof t!="function"&&!Yt(r))&&(r=String(r)),o&&l?s[s.length-1].$text$+=r:s.push(o?st(null,r):r),l=o)};if(u(n),e){e.key&&(i=e.key),e.name&&(a=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,ni);const d=st(t,null);return d.$attrs$=e,s.length>0&&(d.$children$=s),d.$key$=i,d.$name$=a,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},ei={},ti=t=>t&&t.$tag$===ei,ni={forEach:(t,e)=>t.map(ln).forEach(e),map:(t,e)=>t.map(ln).map(e).map(ri)},ln=t=>({vattrs:t.$attrs$,vchildren:t.$children$,vkey:t.$key$,vname:t.$name$,vtag:t.$tag$,vtext:t.$text$}),ri=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),qn(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},ii=(t,e)=>t!=null&&!Yt(t)?e&4?t==="false"?!1:t===""||!!t:e&2?parseFloat(t):e&1?String(t):t:t,ai=(t,e,n)=>{const r=B.ce(e,n);return t.dispatchEvent(r),r},cn=new WeakMap,oi=(t,e,n)=>{let r=ct.get(t);Ni&&n?(r=r||new CSSStyleSheet,typeof r=="string"?r=e:r.replaceSync(e)):r=e,ct.set(t,r)},si=(t,e,n)=>{var r;const i=Kn(e),a=ct.get(i);if(t=t.nodeType===11?t:ne,a)if(typeof a=="string"){t=t.head||t;let o=cn.get(t),l;if(o||cn.set(t,o=new Set),!o.has(i)){{l=ne.createElement("style"),l.innerHTML=a;const s=(r=B.$nonce$)!==null&&r!==void 0?r:zn(ne);s!=null&&l.setAttribute("nonce",s),t.insertBefore(l,t.querySelector("link"))}e.$flags$&4&&(l.innerHTML+=Bn),o&&o.add(i)}}else t.adoptedStyleSheets.includes(a)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,a]);return i},li=t=>{const e=t.$cmpMeta$,n=t.$hostElement$,r=e.$flags$,i=Oe("attachStyles",e.$tagName$),a=si(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);r&10&&(n["s-sc"]=a,n.classList.add(a+"-h"),r&2&&n.classList.add(a+"-s")),i()},Kn=(t,e)=>"sc-"+t.$tagName$,un=(t,e,n,r,i,a)=>{if(n!==r){let o=vn(t,e),l=e.toLowerCase();if(e==="class"){const s=t.classList,u=dn(n),d=dn(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(!o&&e[0]==="o"&&e[1]==="n"){if(e[2]==="-"?e=e.slice(3):vn(tt,l)?e=l.slice(2):e=l[2]+e.slice(3),n||r){const s=e.endsWith(Gn);e=e.replace(ui,""),n&&B.rel(t,e,n,s),r&&B.ael(t,e,r,s)}}else{const s=Yt(r);if((o||s&&r!==null)&&!i)try{if(t.tagName.includes("-"))t[e]=r;else{const u=r??"";e==="list"?o=!1:(n==null||t[e]!=u)&&(t[e]=u)}}catch{}r==null||r===!1?(r!==!1||t.getAttribute(e)==="")&&t.removeAttribute(e):(!o||a&4||i)&&!s&&(r=r===!0?"":r,t.setAttribute(e,r))}}},ci=/\s/,dn=t=>t?t.split(ci):[],Gn="Capture",ui=new RegExp(Gn+"$"),Zn=(t,e,n,r)=>{const i=e.$elm$.nodeType===11&&e.$elm$.host?e.$elm$.host:e.$elm$,a=t&&t.$attrs$||sn,o=e.$attrs$||sn;for(r in a)r in o||un(i,r,a[r],void 0,n,e.$flags$);for(r in o)un(i,r,a[r],o[r],n,e.$flags$)},lt=(t,e,n,r)=>{const i=e.$children$[n];let a=0,o,l,s;if(Fn||(Pt=!0,i.$tag$==="slot"&&(je&&r.classList.add(je+"-s"),i.$flags$|=i.$children$?2:1)),i.$text$!==null)o=i.$elm$=ne.createTextNode(i.$text$);else if(i.$flags$&1)o=i.$elm$=ne.createTextNode("");else{if(se||(se=i.$tag$==="svg"),o=i.$elm$=ne.createElementNS(se?Xr:Qr,i.$flags$&2?"slot-fb":i.$tag$),se&&i.$tag$==="foreignObject"&&(se=!1),Zn(null,i,se),Vr(je)&&o["s-si"]!==je&&o.classList.add(o["s-si"]=je),i.$children$)for(a=0;a<i.$children$.length;++a)l=lt(t,i,a,o),l&&o.appendChild(l);i.$tag$==="svg"?se=!1:o.tagName==="foreignObject"&&(se=!0)}return o["s-hn"]=yt,i.$flags$&3&&(o["s-sr"]=!0,o["s-cr"]=Ct,o["s-sn"]=i.$name$||"",s=t&&t.$children$&&t.$children$[n],s&&s.$tag$===i.$tag$&&t.$elm$&&Ve(t.$elm$,!1)),o},Ve=(t,e)=>{B.$flags$|=1;const n=t.childNodes;for(let r=n.length-1;r>=0;r--){const i=n[r];i["s-hn"]!==yt&&i["s-ol"]&&(Qn(i).insertBefore(i,Ht(i)),i["s-ol"].remove(),i["s-ol"]=void 0,i["s-sh"]=void 0,Pt=!0),e&&Ve(i,e)}B.$flags$&=-2},Jn=(t,e,n,r,i,a)=>{let o=t["s-cr"]&&t["s-cr"].parentNode||t,l;for(o.shadowRoot&&o.tagName===yt&&(o=o.shadowRoot);i<=a;++i)r[i]&&(l=lt(null,n,i,t),l&&(r[i].$elm$=l,o.insertBefore(l,Ht(e))))},Xn=(t,e,n)=>{for(let r=e;r<=n;++r){const i=t[r];if(i){const a=i.$elm$;tr(i),a&&(ot=!0,a["s-ol"]?a["s-ol"].remove():Ve(a,!0),a.remove())}}},di=(t,e,n,r,i=!1)=>{let a=0,o=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(;a<=u&&o<=h;)if(d==null)d=e[++a];else if(f==null)f=e[--u];else if(y==null)y=r[++o];else if(p==null)p=r[--h];else if(at(d,y,i))We(d,y,i),d=e[++a],y=r[++o];else if(at(f,p,i))We(f,p,i),f=e[--u],p=r[--h];else if(at(d,p,i))(d.$tag$==="slot"||p.$tag$==="slot")&&Ve(d.$elm$.parentNode,!1),We(d,p,i),t.insertBefore(d.$elm$,f.$elm$.nextSibling),d=e[++a],p=r[--h];else if(at(f,y,i))(d.$tag$==="slot"||p.$tag$==="slot")&&Ve(f.$elm$.parentNode,!1),We(f,y,i),t.insertBefore(f.$elm$,d.$elm$),f=e[--u],y=r[++o];else{for(l=-1,s=a;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[o],n,l,t):(We(b,y,i),e[l]=void 0,v=b.$elm$),y=r[++o]):(v=lt(e&&e[o],n,o,t),y=r[++o]),v&&Qn(d.$elm$).insertBefore(v,Ht(d.$elm$))}a>u?Jn(t,r[h+1]==null?null:r[h+1].$elm$,n,r,o,h):o>h&&Xn(e,a,u)},at=(t,e,n=!1)=>t.$tag$===e.$tag$?t.$tag$==="slot"?t.$name$===e.$name$:n?!0:t.$key$===e.$key$:!1,Ht=t=>t&&t["s-ol"]||t,Qn=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,We=(t,e,n=!1)=>{const r=e.$elm$=t.$elm$,i=t.$children$,a=e.$children$,o=e.$tag$,l=e.$text$;let s;l===null?(se=o==="svg"?!0:o==="foreignObject"?!1:se,o==="slot"||Zn(t,e,se),i!==null&&a!==null?di(r,i,e,a,n):a!==null?(t.$text$!==null&&(r.textContent=""),Jn(r,null,e,a,0,a.length-1)):i!==null&&Xn(i,0,i.length-1),se&&o==="svg"&&(se=!1)):(s=r["s-cr"])?s.parentNode.textContent=l:t.$text$!==l&&(r.data=l)},Vn=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 i of e)if(i!==n){if(i["s-hn"]!==n["s-hn"]||r!==""){if(i.nodeType===1&&(r===i.getAttribute("slot")||r===i["s-sn"])){n.hidden=!0;break}}else if(i.nodeType===1||i.nodeType===3&&i.textContent.trim()!==""){n.hidden=!0;break}}}Vn(n)}},Se=[],er=t=>{let e,n,r;for(const i of t.childNodes){if(i["s-sr"]&&(e=i["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const a=i["s-sn"];for(r=n.length-1;r>=0;r--)if(e=n[r],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==i["s-hn"]&&!Kr.experimentalSlotFixes)if(fn(e,a)){let o=Se.find(l=>l.$nodeToRelocate$===e);ot=!0,e["s-sn"]=e["s-sn"]||a,o?(o.$nodeToRelocate$["s-sh"]=i["s-hn"],o.$slotRefNode$=i):(e["s-sh"]=i["s-hn"],Se.push({$slotRefNode$:i,$nodeToRelocate$:e})),e["s-sr"]&&Se.map(l=>{fn(l.$nodeToRelocate$,e["s-sn"])&&(o=Se.find(s=>s.$nodeToRelocate$===e),o&&!l.$slotRefNode$&&(l.$slotRefNode$=o.$slotRefNode$))})}else Se.some(o=>o.$nodeToRelocate$===e)||Se.push({$nodeToRelocate$:e})}i.nodeType===1&&er(i)}},fn=(t,e)=>t.nodeType===1?t.getAttribute("slot")===null&&e===""||t.getAttribute("slot")===e:t["s-sn"]===e?!0:e==="",tr=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(tr)},fi=(t,e,n=!1)=>{var r,i,a,o;const l=t.$hostElement$,s=t.$cmpMeta$,u=t.$vnode$||st(null,null),d=ti(e)?e:qn(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,je=l["s-sc"],Ct=l["s-cr"],Fn=(s.$flags$&1)!==0,ot=!1,We(u,d,n);{if(B.$flags$|=1,Pt){er(d.$elm$);for(const f of Se){const h=f.$nodeToRelocate$;if(!h["s-ol"]){const y=ne.createTextNode("");y["s-nr"]=h,h.parentNode.insertBefore(h["s-ol"]=y,h)}}for(const f of Se){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=(i=b["s-nr"])!==null&&i!==void 0?i: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=(a=h["s-ih"])!==null&&a!==void 0?a:!1))}else h.nodeType===1&&(n&&(h["s-ih"]=(o=h.hidden)!==null&&o!==void 0?o:!1),h.hidden=!0)}}ot&&Vn(d.$elm$),B.$flags$&=-2,Se.length=0}Ct=void 0},nr=(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 nr(t,t.$ancestorComponent$),Mi(()=>hi(t,e))},hi=(t,e)=>{const n=Oe("scheduleUpdate",t.$cmpMeta$.$tagName$),r=t.$lazyInstance$;let i;return e?(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([a,o])=>Ce(r,a,o)),t.$queuedListeners$=void 0),i=Ce(r,"componentWillLoad")):i=Ce(r,"componentWillUpdate"),i=hn(i,()=>Ce(r,"componentWillRender")),n(),hn(i,()=>pi(t,r,e))},hn=(t,e)=>yi(t)?t.then(e):e(),yi=t=>t instanceof Promise||t&&t.then&&typeof t.then=="function",pi=async(t,e,n)=>{var r;const i=t.$hostElement$,a=Oe("update",t.$cmpMeta$.$tagName$),o=i["s-rc"];n&&li(t);const l=Oe("render",t.$cmpMeta$.$tagName$);mi(t,e,i,n),o&&(o.map(s=>s()),i["s-rc"]=void 0),l(),a();{const s=(r=i["s-p"])!==null&&r!==void 0?r:[],u=()=>vi(t);s.length===0?u():(Promise.all(s).then(u),t.$flags$|=4,s.length=0)}},mi=(t,e,n,r)=>{try{xt=e,e=e.render(),t.$flags$&=-17,t.$flags$|=2,fi(t,e,r)}catch(i){Me(i,t.$hostElement$)}return xt=null,null},yn=()=>xt,vi=t=>{const e=t.$cmpMeta$.$tagName$,n=t.$hostElement$,r=Oe("postUpdate",e),i=t.$lazyInstance$,a=t.$ancestorComponent$;Ce(i,"componentDidRender"),t.$flags$&64?(Ce(i,"componentDidUpdate"),r()):(t.$flags$|=64,ir(n),Ce(i,"componentDidLoad"),r(),t.$onReadyResolve$(n),a||rr()),t.$onInstanceResolve$(n),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&jt(()=>pt(t,!1)),t.$flags$&=-517},pn=t=>{{const e=xe(t),n=e.$hostElement$.isConnected;return n&&(e.$flags$&18)===2&&pt(e,!1),n}},rr=t=>{ir(ne.documentElement),jt(()=>ai(tt,"appload",{detail:{namespace:qr}}))},Ce=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(r){Me(r)}},ir=t=>t.classList.add("hydrated"),gi=(t,e)=>xe(t).$instanceValues$.get(e),bi=(t,e,n,r)=>{const i=xe(t),a=i.$hostElement$,o=i.$instanceValues$.get(e),l=i.$flags$,s=i.$lazyInstance$;n=ii(n,r.$members$[e][0]);const u=Number.isNaN(o)&&Number.isNaN(n),d=n!==o&&!u;if((!(l&8)||o===void 0)&&d&&(i.$instanceValues$.set(e,n),s)){if(r.$watchers$&&l&128){const f=r.$watchers$[e];f&&f.map(h=>{try{s[h](n,o,e)}catch(y){Me(y,a)}})}(l&18)===2&&pt(i,!1)}},ar=(t,e,n)=>{var r;const i=t.prototype;if(e.$flags$&64&&n&1&&Jr.forEach(a=>Object.defineProperty(i,a,{value(...o){const l=xe(this),s=l.$lazyInstance$;if(!s)l.$onReadyPromise$.then(u=>{const d=u[a];typeof d=="function"&&d.call(u,...o)});else{const u=s[a];typeof u=="function"&&u.call(s,...o)}}})),e.$members$){t.watchers&&(e.$watchers$=t.watchers);const a=Object.entries(e.$members$);if(a.map(([o,[l]])=>{l&31||n&2&&l&32?Object.defineProperty(i,o,{get(){return gi(this,o)},set(s){bi(this,o,s,e)},configurable:!0,enumerable:!0}):n&1&&l&64&&Object.defineProperty(i,o,{value(...s){var u;const d=xe(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[o](...s)})}})}),n&1){const o=new Map;i.attributeChangedCallback=function(l,s,u){B.jmp(()=>{var d;const f=o.get(l);if(this.hasOwnProperty(f))u=this[f],delete this[f];else{if(i.hasOwnProperty(f)&&typeof this[f]=="number"&&this[f]==u)return;if(f==null){const h=xe(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:{}),...a.filter(([l,s])=>s[0]&15).map(([l,s])=>{const u=s[1]||l;return o.set(u,l),u})]))}}return t},$i=async(t,e,n,r)=>{let i;if(!(e.$flags$&32)){e.$flags$|=32;{if(i=Ii(n),i.then){const s=Gr();i=await i,s()}i.isProxied||(n.$watchers$=i.watchers,ar(i,n,2),i.isProxied=!0);const l=Oe("createInstance",n.$tagName$);e.$flags$|=8;try{new i(e)}catch(s){Me(s)}e.$flags$&=-9,e.$flags$|=128,l(),_t(e.$lazyInstance$)}if(i.style){let l=i.style;const s=Kn(n);if(!ct.has(s)){const u=Oe("registerStyles",n.$tagName$);oi(s,l,!!(n.$flags$&1)),u()}}}const a=e.$ancestorComponent$,o=()=>pt(e,!0);a&&a["s-rc"]?a["s-rc"].push(o):o()},_t=t=>{Ce(t,"connectedCallback")},wi=t=>{if(!(B.$flags$&1)){const e=xe(t),n=e.$cmpMeta$,r=Oe("connectedCallback",n.$tagName$);if(e.$flags$&1)or(t,e,n.$listeners$),e!=null&&e.$lazyInstance$?_t(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>_t(e.$lazyInstance$));else{e.$flags$|=1,n.$flags$&12&&ki(t);{let i=t;for(;i=i.parentNode||i.host;)if(i["s-p"]){nr(e,e.$ancestorComponent$=i);break}}n.$members$&&Object.entries(n.$members$).map(([i,[a]])=>{if(a&31&&t.hasOwnProperty(i)){const o=t[i];delete t[i],t[i]=o}}),$i(t,e,n)}r()}},ki=t=>{const e=t["s-cr"]=ne.createComment("");e["s-cn"]=!0,t.insertBefore(e,t.firstChild)},mn=t=>{Ce(t,"disconnectedCallback")},Ei=async t=>{if(!(B.$flags$&1)){const e=xe(t);e.$rmListeners$&&(e.$rmListeners$.map(n=>n()),e.$rmListeners$=void 0),e!=null&&e.$lazyInstance$?mn(e.$lazyInstance$):e!=null&&e.$onReadyPromise$&&e.$onReadyPromise$.then(()=>mn(e.$lazyInstance$))}},Ti=(t,e={})=>{var n;const r=Oe(),i=[],a=e.exclude||[],o=tt.customElements,l=ne.head,s=l.querySelector("meta[charset]"),u=ne.createElement("style"),d=[];let f,h=!0;Object.assign(B,e),B.$resourcesUrl$=new URL(e.resourcesUrl||"./",ne.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 D=T.$tagName$,Q=class extends HTMLElement{constructor(ae){super(ae),ae=this,_i(ae,T),T.$flags$&1&&ae.attachShadow({mode:"open"})}connectedCallback(){f&&(clearTimeout(f),f=null),h?d.push(this):B.jmp(()=>wi(this))}disconnectedCallback(){B.jmp(()=>Ei(this))}componentOnReady(){return xe(this).$onReadyPromise$}};T.$flags$&64&&(Q.formAssociated=!0),T.$lazyBundleId$=p[0],!a.includes(D)&&!o.get(D)&&(i.push(D),o.define(D,ar(Q,T,1)))})}),y&&(u.innerHTML+=Bn),u.innerHTML+=i+Zr,u.innerHTML.length){u.setAttribute("data-styles","");const p=(n=B.$nonce$)!==null&&n!==void 0?n:zn(ne);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(rr,30)),r()},or=(t,e,n,r)=>{n&&n.map(([i,a,o])=>{const l=Ci(t,i),s=Si(e,o),u=xi(i);B.ael(l,a,s,u),(e.$rmListeners$=e.$rmListeners$||[]).push(()=>B.rel(l,a,s,u))})},Si=(t,e)=>n=>{try{t.$flags$&256?t.$lazyInstance$[e](n):(t.$queuedListeners$=t.$queuedListeners$||[]).push([e,n])}catch(r){Me(r)}},Ci=(t,e)=>e&4?ne:e&8?tt:e&16?ne.body:t,xi=t=>Ri?{passive:(t&1)!==0,capture:(t&2)!==0}:(t&2)!==0,Oi=t=>B.$nonce$=t,sr=new WeakMap,xe=t=>sr.get(t),_i=(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"]=[],or(t,n,e.$listeners$),sr.set(t,n)},vn=(t,e)=>e in t,Me=(t,e)=>(0,console.error)(t,e),gn=new Map,Ii=(t,e,n)=>{const r=t.$tagName$.replace(/-/g,"_"),i=t.$lazyBundleId$,a=gn.get(i);if(a)return a[r];/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${i}.entry.js`).then(o=>(gn.set(i,o),o[r]),Me)},ct=new Map,tt=typeof window<"u"?window:{},ne=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)},Ri=(()=>{let t=!1;try{ne.addEventListener("e",null,Object.defineProperty({},"passive",{get(){t=!0}}))}catch{}return t})(),Di=t=>Promise.resolve(t),Ni=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),bn=[],lr=[],Li=(t,e)=>n=>{t.push(n),Ot||(Ot=!0,e&&B.$flags$&4?jt(It):B.raf(It))},$n=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(n){Me(n)}t.length=0},It=()=>{$n(bn),$n(lr),(Ot=bn.length>0)&&B.raf(It)},jt=t=>Di().then(t),Mi=Li(lr,!0),Ai=(t,e,n)=>{const r=t.get(e);r?r.includes(n)||r.push(n):t.set(e,[n])},Ui=(t,e)=>{let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{n=0,t(...r)},e)}},Pi=t=>!("isConnected"in t)||t.isConnected,wn=Ui(t=>{for(let e of t.keys())t.set(e,t.get(e).filter(Pi))},2e3),Yi=()=>{if(typeof yn!="function")return{};const t=new Map;return{dispose:()=>t.clear(),get:e=>{const n=yn();n&&Ai(t,e,n)},set:e=>{const n=t.get(e);n&&t.set(e,n.filter(pn)),wn(t)},reset:()=>{t.forEach(e=>e.forEach(pn)),wn(t)}}},kt=t=>typeof t=="function"?t():t,Hi=(t,e=(n,r)=>n!==r)=>{const n=kt(t);let r=new Map(Object.entries(n??{}));const i={dispose:[],get:[],set:[],reset:[]},a=()=>{var p;r=new Map(Object.entries((p=kt(t))!==null&&p!==void 0?p:{})),i.reset.forEach(v=>v())},o=()=>{i.dispose.forEach(p=>p()),a()},l=p=>(i.get.forEach(v=>v(p)),r.get(p)),s=(p,v)=>{const b=r.get(p);e(v,b,p)&&(r.set(p,v),i.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)=>(i[p].push(v),()=>{ji(i[p],v)});return{state:u,get:l,set:s,on:d,onChange:(p,v)=>{const b=d("set",(D,Q)=>{D===p&&v(Q)}),T=d("reset",()=>v(kt(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:o,reset:a,forceUpdate:p=>{const v=r.get(p);i.set.forEach(b=>b(p,v,v))}}},ji=(t,e)=>{const n=t.indexOf(e);n>=0&&(t[n]=t[t.length-1],t.length--)},Wi=(t,e)=>{const n=Hi(t,e);return n.use(Yi()),n};var cr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Fi={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(cr,function(){var n=1e3,r=6e4,i=36e5,a="millisecond",o="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,D={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])+"]"}},Q=function(C,E,w){var _=String(C);return!_||_.length>=E?C:""+Array(E+1-_.length).join(w)+C},ae={s:Q,z:function(C){var E=-C.utcOffset(),w=Math.abs(E),_=Math.floor(w/60),S=w%60;return(E<=0?"+":"-")+Q(_,2,"0")+":"+Q(S,2,"0")},m:function C(E,w){if(E.date()<w.date())return-C(w,E);var _=12*(w.year()-E.year())+(w.month()-E.month()),S=E.clone().add(_,f),R=w-S<0,I=E.clone().add(_+(R?-1:1),f);return+(-(_+(w-S)/(R?S-I:I-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:o,ms:a,Q:h}[C]||String(C||"").toLowerCase().replace(/s$/,"")},u:function(C){return C===void 0}},fe="en",V={};V[fe]=D;var De=function(C){return C instanceof Ue},Ae=function C(E,w,_){var S;if(!E)return fe;if(typeof E=="string"){var R=E.toLowerCase();V[R]&&(S=R),w&&(V[R]=w,S=R);var I=E.split("-");if(!S&&I.length>1)return C(I[0])}else{var U=E.name;V[U]=E,S=U}return!_&&S&&(fe=S),S||!_&&fe},z=function(C,E){if(De(C))return C.clone();var w=typeof E=="object"?E:{};return w.date=C,w.args=arguments,new Ue(w)},Y=ae;Y.l=Ae,Y.i=De,Y.w=function(C,E){return z(C,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var Ue=function(){function C(w){this.$L=Ae(w.locale,null,!0),this.parse(w)}var E=C.prototype;return E.parse=function(w){this.$d=function(_){var S=_.date,R=_.utc;if(S===null)return new Date(NaN);if(Y.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var I=S.match(b);if(I){var U=I[2]-1||0,F=(I[7]||"0").substring(0,3);return R?new Date(Date.UTC(I[1],U,I[3]||1,I[4]||0,I[5]||0,I[6]||0,F)):new Date(I[1],U,I[3]||1,I[4]||0,I[5]||0,I[6]||0,F)}}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 Y},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(w,_){var S=z(w);return this.startOf(_)<=S&&S<=this.endOf(_)},E.isAfter=function(w,_){return z(w)<this.startOf(_)},E.isBefore=function(w,_){return this.endOf(_)<z(w)},E.$g=function(w,_,S){return Y.u(w)?this[_]:this.set(S,w)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(w,_){var S=this,R=!!Y.u(_)||_,I=Y.p(w),U=function(ye,J){var oe=Y.w(S.$u?Date.UTC(S.$y,J,ye):new Date(S.$y,J,ye),S);return R?oe:oe.endOf(u)},F=function(ye,J){return Y.w(S.toDate()[ye].apply(S.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(J)),S)},W=this.$W,Z=this.$M,me=this.$D,he="set"+(this.$u?"UTC":"");switch(I){case y:return R?U(1,0):U(31,11);case f:return R?U(1,Z):U(0,Z+1);case d:var we=this.$locale().weekStart||0,ke=(W<we?W+7:W)-we;return U(R?me-ke:me+(6-ke),Z);case u:case p:return F(he+"Hours",0);case s:return F(he+"Minutes",1);case l:return F(he+"Seconds",2);case o:return F(he+"Milliseconds",3);default:return this.clone()}},E.endOf=function(w){return this.startOf(w,!1)},E.$set=function(w,_){var S,R=Y.p(w),I="set"+(this.$u?"UTC":""),U=(S={},S[u]=I+"Date",S[p]=I+"Date",S[f]=I+"Month",S[y]=I+"FullYear",S[s]=I+"Hours",S[l]=I+"Minutes",S[o]=I+"Seconds",S[a]=I+"Milliseconds",S)[R],F=R===u?this.$D+(_-this.$W):_;if(R===f||R===y){var W=this.clone().set(p,1);W.$d[U](F),W.init(),this.$d=W.set(p,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](F);return this.init(),this},E.set=function(w,_){return this.clone().$set(w,_)},E.get=function(w){return this[Y.p(w)]()},E.add=function(w,_){var S,R=this;w=Number(w);var I=Y.p(_),U=function(Z){var me=z(R);return Y.w(me.date(me.date()+Math.round(Z*w)),R)};if(I===f)return this.set(f,this.$M+w);if(I===y)return this.set(y,this.$y+w);if(I===u)return U(1);if(I===d)return U(7);var F=(S={},S[l]=r,S[s]=i,S[o]=n,S)[I]||1,W=this.$d.getTime()+w*F;return Y.w(W,this)},E.subtract=function(w,_){return this.add(-1*w,_)},E.format=function(w){var _=this,S=this.$locale();if(!this.isValid())return S.invalidDate||v;var R=w||"YYYY-MM-DDTHH:mm:ssZ",I=Y.z(this),U=this.$H,F=this.$m,W=this.$M,Z=S.weekdays,me=S.months,he=function(J,oe,Ke,Ne){return J&&(J[oe]||J(_,R))||Ke[oe].slice(0,Ne)},we=function(J){return Y.s(U%12||12,J,"0")},ke=S.meridiem||function(J,oe,Ke){var Ne=J<12?"AM":"PM";return Ke?Ne.toLowerCase():Ne},ye={YY:String(this.$y).slice(-2),YYYY:this.$y,M:W+1,MM:Y.s(W+1,2,"0"),MMM:he(S.monthsShort,W,me,3),MMMM:he(me,W),D:this.$D,DD:Y.s(this.$D,2,"0"),d:String(this.$W),dd:he(S.weekdaysMin,this.$W,Z,2),ddd:he(S.weekdaysShort,this.$W,Z,3),dddd:Z[this.$W],H:String(U),HH:Y.s(U,2,"0"),h:we(1),hh:we(2),a:ke(U,F,!0),A:ke(U,F,!1),m:String(F),mm:Y.s(F,2,"0"),s:String(this.$s),ss:Y.s(this.$s,2,"0"),SSS:Y.s(this.$ms,3,"0"),Z:I};return R.replace(T,function(J,oe){return oe||ye[J]||I.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(w,_,S){var R,I=Y.p(_),U=z(w),F=(U.utcOffset()-this.utcOffset())*r,W=this-U,Z=Y.m(this,U);return Z=(R={},R[y]=Z/12,R[f]=Z,R[h]=Z/3,R[d]=(W-F)/6048e5,R[u]=(W-F)/864e5,R[s]=W/i,R[l]=W/r,R[o]=W/n,R)[I]||W,S?Z:Y.a(Z)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return V[this.$L]},E.locale=function(w,_){if(!w)return this.$L;var S=this.clone(),R=Ae(w,_,!0);return R&&(S.$L=R),S},E.clone=function(){return Y.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}(),qe=Ue.prototype;return z.prototype=qe,[["$ms",a],["$s",o],["$m",l],["$H",s],["$W",u],["$M",f],["$y",y],["$D",p]].forEach(function(C){qe[C[1]]=function(E){return this.$g(E,C[0],C[1])}}),z.extend=function(C,E){return C.$i||(C(E,Ue,z),C.$i=!0),z},z.locale=Ae,z.isDayjs=De,z.unix=function(C){return z(1e3*C)},z.en=V[fe],z.Ls=V,z.p={},z})})(Fi);var Rt=["MO","TU","WE","TH","FR","SA","SU"],ie=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(Rt.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=Rt[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}(),G=function(t){return t!=null},ve=function(t){return typeof t=="number"},kn=function(t){return typeof t=="string"&&Rt.includes(t)},le=Array.isArray,$e=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},M=function(t,e){var n=0,r=[];if(le(t))for(;n<e;n++)r[n]=[].concat(t);else for(;n<e;n++)r[n]=t;return r},Bi=function(t){return le(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+=M(n,e/n.length)),n.slice(0,e)+String(r))}var zi=function(t,e,n){var r=t.split(e);return n?r.slice(0,n).concat([r.slice(n).join(e)]):r},de=function(t,e){var n=t%e;return n*e<0?n+e:n},Et=function(t,e){return{div:Math.floor(t/e),mod:de(t,e)}},ge=function(t){return!G(t)||t.length===0},X=function(t){return!ge(t)},j=function(t,e){return X(t)&&t.indexOf(e)!==-1},Le=function(t,e,n,r,i,a){return r===void 0&&(r=0),i===void 0&&(i=0),a===void 0&&(a=0),new Date(Date.UTC(t,e-1,n,r,i,a))},qi=[31,28,31,30,31,30,31,31,30,31,30,31],ur=1e3*60*60*24,dr=9999,fr=Le(1970,1,1),Ki=[6,0,1,2,3,4,5],Qe=function(t){return t%4===0&&t%100!==0||t%400===0},hr=function(t){return t instanceof Date},Xe=function(t){return hr(t)&&!isNaN(t.getTime())},En=function(t){return t.getTimezoneOffset()*60*1e3},Gi=function(t,e){var n=t.getTime()-En(t),r=e.getTime()-En(e),i=n-r;return Math.round(i/ur)},Dt=function(t){return Gi(t,fr)},yr=function(t){return new Date(fr.getTime()+t*ur)},Zi=function(t){var e=t.getUTCMonth();return e===1&&Qe(t.getUTCFullYear())?29:qi[e]},Be=function(t){return Ki[t.getUTCDay()]},Tn=function(t,e){var n=Le(t,e+1,1);return[Be(n),Zi(n)]},pr=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},Sn=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()})},Wt=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("")},Ft=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))},Cn=function(t,e){var n=t.toLocaleString("sv-SE",{timeZone:e});return n.replace(" ","T")+"Z"},Ji=function(t,e){var n=Intl.DateTimeFormat().resolvedOptions().timeZone,r=new Date(Cn(t,n)),i=new Date(Cn(t,e??"UTC")),a=i.getTime()-r.getTime();return new Date(t.getTime()-a)},Fe=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}(),Lt=function(t,e){return Lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Lt(t,e)};function Bt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Lt(t,e);function n(){this.constructor=t}t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var ce=function(){return ce=Object.assign||function(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},ce.apply(this,arguments)};function $(t,e,n){if(n||arguments.length===2)for(var r=0,i=e.length,a;r<i;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}var xn=function(t){Bt(e,t);function e(n,r,i){var a=t.call(this,n,r)||this;return a.iterator=i,a}return e.prototype.add=function(n){return this.iterator(n,this._result.length)?(this._result.push(n),!0):!1},e}(Fe),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}},On=function(t,e){return t.indexOf(e)!==-1},Xi=function(t){return t.toString()},Qi=function(t,e,n){return"".concat(e," ").concat(n,", ").concat(t)},_e=function(){function t(e,n,r,i){if(n===void 0&&(n=Xi),r===void 0&&(r=ut),i===void 0&&(i=Qi),this.text=[],this.language=r||ut,this.gettext=n,this.dateFormatter=i,this.rrule=e,this.options=e.options,this.origOptions=e.origOptions,this.origOptions.bymonthday){var a=[].concat(this.options.bymonthday),o=[].concat(this.options.bynmonthday);a.sort(function(d,f){return d-f}),o.sort(function(d,f){return f-d}),this.bymonthday=a.concat(o),this.bymonthday.length||(this.bymonthday=null)}if(G(this.origOptions.byweekday)){var l=le(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(On(["dtstart","wkst","freq"],r))return!0;if(!On(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 i=Math.abs(e);switch(i){case 1:case 21:case 31:n=i+r("st");break;case 2:case 22:n=i+r("nd");break;case 3:case 23:n=i+r("rd");break;default:n=i+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=ve(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,i){var a=this;i===void 0&&(i=","),le(e)||(e=[e]);var o=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(a,s)};return r?o(e.map(l),i,r):e.map(l).join(i+" ")},t}(),Vi=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 i in this.rules){r=this.rules[i];var a=r.exec(this.text);a&&(e===null||a[0].length>e[0].length)&&(e=a,n=i)}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 mr(t,e){e===void 0&&(e=ut);var n={},r=new Vi(e.tokens);if(!r.start(t))return null;return i(),n;function i(){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()&&(o(),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()&&(a(),f());break;case"hour(s)":n.freq=x.HOURLY,r.nextSymbol()&&(a(),f());break;case"minute(s)":n.freq=x.MINUTELY,r.nextSymbol()&&(a(),f());break;case"month(s)":n.freq=x.MONTHLY,r.nextSymbol()&&(a(),f());break;case"year(s)":n.freq=x.YEARLY,r.nextSymbol()&&(a(),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()}a(),f();break;default:throw new Error("Unknown symbol")}}function a(){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 o(){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 zt(t){return t<A.HOURLY}var ea=function(t,e){return e===void 0&&(e=ut),new x(mr(t,e)||void 0)},ze=["count","until","interval","byweekday","bymonthday","bymonth"];_e.IMPLEMENTED=[];_e.IMPLEMENTED[A.HOURLY]=ze;_e.IMPLEMENTED[A.MINUTELY]=ze;_e.IMPLEMENTED[A.DAILY]=["byhour"].concat(ze);_e.IMPLEMENTED[A.WEEKLY]=ze;_e.IMPLEMENTED[A.MONTHLY]=ze;_e.IMPLEMENTED[A.YEARLY]=["byweekno","byyearday"].concat(ze);var ta=function(t,e,n,r){return new _e(t,e,n,r).toString()},na=_e.isFullyConvertible,dt=function(){function t(e,n,r,i){this.hour=e,this.minute=n,this.second=r,this.millisecond=i||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}(),ra=function(t){Bt(e,t);function e(n,r,i,a,o,l,s){var u=t.call(this,a,o,l,s)||this;return u.year=n,u.month=r,u.day=i,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 Be(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),i=de(this.month,12);this.month=i,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,i){for(r&&(this.hour+=Math.floor((23-this.hour)/n)*n);;){this.hour+=n;var a=Et(this.hour,24),o=a.div,l=a.mod;if(o&&(this.hour=l,this.addDaily(o)),ge(i)||j(i,this.hour))break}},e.prototype.addMinutes=function(n,r,i,a){for(r&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/n)*n);;){this.minute+=n;var o=Et(this.minute,60),l=o.div,s=o.mod;if(l&&(this.minute=s,this.addHours(l,!1,i)),(ge(i)||j(i,this.hour))&&(ge(a)||j(a,this.minute)))break}},e.prototype.addSeconds=function(n,r,i,a,o){for(r&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/n)*n);;){this.second+=n;var l=Et(this.second,60),s=l.div,u=l.mod;if(s&&(this.second=u,this.addMinutes(s,!1,i,a)),(ge(i)||j(i,this.hour))&&(ge(a)||j(a,this.minute))&&(ge(o)||j(o,this.second)))break}},e.prototype.fixDay=function(){if(!(this.day<=28)){var n=Tn(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>dr))return;n=Tn(this.year,this.month-1)[1]}}},e.prototype.add=function(n,r){var i=n.freq,a=n.interval,o=n.wkst,l=n.byhour,s=n.byminute,u=n.bysecond;switch(i){case A.YEARLY:return this.addYears(a);case A.MONTHLY:return this.addMonths(a);case A.WEEKLY:return this.addWeekly(a,o);case A.DAILY:return this.addDaily(a);case A.HOURLY:return this.addHours(a,r,l);case A.MINUTELY:return this.addMinutes(a,r,l,s);case A.SECONDLY:return this.addSeconds(a,r,l,s,u)}},e}(dt);function vr(t){for(var e=[],n=Object.keys(t),r=0,i=n;r<i.length;r++){var a=i[r];j(Na,a)||e.push(a),hr(t[a])&&!Xe(t[a])&&e.push(a)}if(e.length)throw new Error("Invalid options: "+e.join(", "));return ce({},t)}function ia(t){var e=ce(ce({},qt),vr(t));if(G(e.byeaster)&&(e.freq=x.YEARLY),!(G(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))),G(e.wkst)?ve(e.wkst)||(e.wkst=e.wkst.weekday):e.wkst=x.MO.weekday,G(e.bysetpos)){ve(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||X(e.byweekno)||X(e.byyearday)||e.bymonthday||X(e.bymonthday)||G(e.byweekday)||G(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=[Be(e.dtstart)];break}if(G(e.bymonth)&&!le(e.bymonth)&&(e.bymonth=[e.bymonth]),G(e.byyearday)&&!le(e.byyearday)&&ve(e.byyearday)&&(e.byyearday=[e.byyearday]),!G(e.bymonthday))e.bymonthday=[],e.bynmonthday=[];else if(le(e.bymonthday)){for(var i=[],a=[],n=0;n<e.bymonthday.length;n++){var r=e.bymonthday[n];r>0?i.push(r):r<0&&a.push(r)}e.bymonthday=i,e.bynmonthday=a}else e.bymonthday<0?(e.bynmonthday=[e.bymonthday],e.bymonthday=[]):(e.bynmonthday=[],e.bymonthday=[e.bymonthday]);if(G(e.byweekno)&&!le(e.byweekno)&&(e.byweekno=[e.byweekno]),!G(e.byweekday))e.bynweekday=null;else if(ve(e.byweekday))e.byweekday=[e.byweekday],e.bynweekday=null;else if(kn(e.byweekday))e.byweekday=[ie.fromStr(e.byweekday).weekday],e.bynweekday=null;else if(e.byweekday instanceof ie)!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 o=[],l=[],n=0;n<e.byweekday.length;n++){var s=e.byweekday[n];if(ve(s)){o.push(s);continue}else if(kn(s)){o.push(ie.fromStr(s).weekday);continue}!s.n||e.freq>x.MONTHLY?o.push(s.weekday):l.push([s.weekday,s.n])}e.byweekday=X(o)?o:null,e.bynweekday=X(l)?l:null}return G(e.byhour)?ve(e.byhour)&&(e.byhour=[e.byhour]):e.byhour=e.freq<x.HOURLY?[e.dtstart.getUTCHours()]:null,G(e.byminute)?ve(e.byminute)&&(e.byminute=[e.byminute]):e.byminute=e.freq<x.MINUTELY?[e.dtstart.getUTCMinutes()]:null,G(e.bysecond)?ve(e.bysecond)&&(e.bysecond=[e.bysecond]):e.bysecond=e.freq<x.SECONDLY?[e.dtstart.getUTCSeconds()]:null,{parsedOptions:e}}function aa(t){var e=t.dtstart.getTime()%1e3;if(!zt(t.freq))return[];var n=[];return t.byhour.forEach(function(r){t.byminute.forEach(function(i){t.bysecond.forEach(function(a){n.push(new dt(r,i,a,e))})})}),n}function Mt(t){var e=t.split(`
2
+ `).map(oa).filter(function(n){return n!==null});return ce(ce({},e[0]),e[1])}function ft(t){var e={},n=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(t);if(!n)return e;var r=n[1],i=n[2];return r&&(e.tzid=r),e.dtstart=Ft(i),e}function oa(t){if(t=t.replace(/^\s+|\s+$/,""),!t.length)return null;var e=/^([A-Z]+?)[:;]/.exec(t.toUpperCase());if(!e)return _n(t);var n=e[1];switch(n.toUpperCase()){case"RRULE":case"EXRULE":return _n(t);case"DTSTART":return ft(t);default:throw new Error("Unsupported RFC prop ".concat(n," in ").concat(t))}}function _n(t){var e=t.replace(/^RRULE:/i,""),n=ft(e),r=t.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return r.forEach(function(i){var a=i.split("="),o=a[0],l=a[1];switch(o.toUpperCase()){case"FREQ":n.freq=A[l.toUpperCase()];break;case"WKST":n.wkst=pe[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=sa(l),u=o.toLowerCase();n[u]=s;break;case"BYWEEKDAY":case"BYDAY":n.byweekday=la(l);break;case"DTSTART":case"TZID":var d=ft(t);n.tzid=d.tzid,n.dtstart=d.dtstart;break;case"UNTIL":n.until=Ft(l);break;case"BYEASTER":n.byeaster=Number(l);break;default:throw new Error("Unknown RRULE property '"+o+"'")}}),n}function sa(t){if(t.indexOf(",")!==-1){var e=t.split(",");return e.map(In)}return In(t)}function In(t){return/^[+-]?\d+$/.test(t)?Number(t):t}function la(t){var e=t.split(",");return e.map(function(n){if(n.length===2)return pe[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 i=Number(r[1]),a=r[2],o=pe[a].weekday;return new ie(o,i)})}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=Wt(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:Ji(this.date,this.tzid)},t}();function At(t){for(var e=[],n="",r=Object.keys(t),i=Object.keys(qt),a=0;a<r.length;a++)if(r[a]!=="tzid"&&j(i,r[a])){var o=r[a].toUpperCase(),l=t[r[a]],s="";if(!(!G(l)||le(l)&&!l.length)){switch(o){case"FREQ":s=x.FREQUENCIES[t.freq];break;case"WKST":ve(l)?s=new ie(l).toString():s=l.toString();break;case"BYWEEKDAY":o="BYDAY",s=Bi(l).map(function(y){return y instanceof ie?y:le(y)?new ie(y[0],y[1]):new ie(y)}).toString();break;case"DTSTART":n=ca(l,t.tzid);break;case"UNTIL":s=Wt(l,!t.tzid);break;default:if(le(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([o,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 ca(t,e){return t?"DTSTART"+new ht(new Date(t),e).toString():""}function ua(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 da=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):Sn(n)),e==="all"?this.all=n:(r._value=n,this[e].push(r))},t.prototype._cacheGet=function(e,n){var r=!1,i=n?Object.keys(n):[],a=function(d){for(var f=0;f<i.length;f++){var h=i[f];if(!ua(n[h],d[h]))return!0}return!1},o=this[e];if(e==="all")r=this.all;else if(le(o))for(var l=0;l<o.length;l++){var s=o[l];if(!(i.length&&a(s))){r=s._value;break}}if(!r&&this.all){for(var u=new Fe(e,n),l=0;l<this.all.length&&u.accept(this.all[l]);l++);r=u.getValue(),this._cacheAdd(e,r,n)}return le(r)?Sn(r):r instanceof Date?Nt(r):r},t}(),fa=$($($($($($($($($($($($($([],M(1,31),!0),M(2,28),!0),M(3,31),!0),M(4,30),!0),M(5,31),!0),M(6,30),!0),M(7,31),!0),M(8,31),!0),M(9,30),!0),M(10,31),!0),M(11,30),!0),M(12,31),!0),M(1,7),!0),ha=$($($($($($($($($($($($($([],M(1,31),!0),M(2,29),!0),M(3,31),!0),M(4,30),!0),M(5,31),!0),M(6,30),!0),M(7,31),!0),M(8,31),!0),M(9,30),!0),M(10,31),!0),M(11,30),!0),M(12,31),!0),M(1,7),!0),ya=$e(1,29),pa=$e(1,30),Ie=$e(1,31),ee=$e(1,32),ma=$($($($($($($($($($($($($([],ee,!0),pa,!0),ee,!0),Ie,!0),ee,!0),Ie,!0),ee,!0),ee,!0),Ie,!0),ee,!0),Ie,!0),ee,!0),ee.slice(0,7),!0),va=$($($($($($($($($($($($($([],ee,!0),ya,!0),ee,!0),Ie,!0),ee,!0),Ie,!0),ee,!0),ee,!0),Ie,!0),ee,!0),Ie,!0),ee,!0),ee.slice(0,7),!0),ga=$e(-28,0),ba=$e(-29,0),Re=$e(-30,0),te=$e(-31,0),$a=$($($($($($($($($($($($($([],te,!0),ba,!0),te,!0),Re,!0),te,!0),Re,!0),te,!0),te,!0),Re,!0),te,!0),Re,!0),te,!0),te.slice(0,7),!0),wa=$($($($($($($($($($($($($([],te,!0),ga,!0),te,!0),Re,!0),te,!0),Re,!0),te,!0),te,!0),Re,!0),te,!0),Re,!0),te,!0),te.slice(0,7),!0),ka=[0,31,60,91,121,152,182,213,244,274,305,335,366],Ea=[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($e(7));return t}();function Ta(t,e){var n=Le(t,1,1),r=Qe(t)?366:365,i=Qe(t+1)?366:365,a=Dt(n),o=Be(n),l=ce(ce({yearlen:r,nextyearlen:i,yearordinal:a,yearweekday:o},Sa(t)),{wnomask:null});if(ge(e.byweekno))return l;l.wnomask=M(0,r+7);var s,u,d=s=de(7-o+e.wkst,7);d>=4?(d=0,u=l.yearlen+de(o-e.wkst,7)):u=r-d;for(var f=Math.floor(u/7),h=de(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 D=void 0;if(j(e.byweekno,-1))D=-1;else{var Q=Be(Le(t-1,1,1)),ae=de(7-Q.valueOf()+e.wkst,7),fe=Qe(t-1)?366:365,V=void 0;ae>=4?(ae=0,V=fe+de(Q-e.wkst,7)):V=r-d,D=Math.floor(52+de(V,7)/4)}if(j(e.byweekno,D))for(var b=0;b<d;b++)l.wnomask[b]=1}return l}function Sa(t){var e=Qe(t)?366:365,n=Le(t,1,1),r=Be(n);return e===365?{mmask:fa,mdaymask:va,nmdaymask:wa,wdaymask:Rn.slice(r),mrange:Ea}:{mmask:ha,mdaymask:ma,nmdaymask:$a,wdaymask:Rn.slice(r),mrange:ka}}function Ca(t,e,n,r,i,a){var o={lastyear:t,lastmonth:e,nwdaymask:[]},l=[];if(a.freq===x.YEARLY)if(ge(a.bymonth))l=[[0,n]];else for(var s=0;s<a.bymonth.length;s++)e=a.bymonth[s],l.push(r.slice(e-1,e+1));else a.freq===x.MONTHLY&&(l=[r.slice(e-1,e+1)]);if(ge(l))return o;o.nwdaymask=M(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<a.bynweekday.length;h++){var y=void 0,p=a.bynweekday[h],v=p[0],b=p[1];b<0?(y=f+(b+1)*7,y-=de(i[y]-v,7)):(y=d+(b-1)*7,y+=de(7-i[y]+v,7)),d<=y&&y<=f&&(o.nwdaymask[y]=1)}return o}function xa(t,e){e===void 0&&(e=0);var n=t%19,r=Math.floor(t/100),i=t%100,a=Math.floor(r/4),o=r%4,l=Math.floor((r+8)/25),s=Math.floor((r-l+1)/3),u=Math.floor(19*n+r-a-s+15)%30,d=Math.floor(i/4),f=i%4,h=Math.floor(32+2*o+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 Oa=function(){function t(e){this.options=e}return t.prototype.rebuild=function(e,n){var r=this.options;if(e!==this.lastyear&&(this.yearinfo=Ta(e,r)),X(r.bynweekday)&&(n!==this.lastmonth||e!==this.lastyear)){var i=this.yearinfo,a=i.yearlen,o=i.mrange,l=i.wdaymask;this.monthinfo=Ca(e,n,a,o,l,r)}G(r.byeaster)&&(this.eastermask=xa(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[$e(this.yearlen),0,this.yearlen]},t.prototype.mdayset=function(e,n){for(var r=this.mrange[n-1],i=this.mrange[n],a=M(null,this.yearlen),o=r;o<i;o++)a[o]=o;return[a,r,i]},t.prototype.wdayset=function(e,n,r){for(var i=M(null,this.yearlen+7),a=Dt(Le(e,n,r))-this.yearordinal,o=a,l=0;l<7&&(i[a]=a,++a,this.wdaymask[a]!==this.options.wkst);l++);return[i,o,a]},t.prototype.ddayset=function(e,n,r){var i=M(null,this.yearlen),a=Dt(Le(e,n,r))-this.yearordinal;return i[a]=a,[i,a,a+1]},t.prototype.htimeset=function(e,n,r,i){var a=this,o=[];return this.options.byminute.forEach(function(l){o=o.concat(a.mtimeset(e,l,r,i))}),et(o),o},t.prototype.mtimeset=function(e,n,r,i){var a=this.options.bysecond.map(function(o){return new dt(e,n,o,i)});return et(a),a},t.prototype.stimeset=function(e,n,r,i){return[new dt(e,n,r,i)]},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 _a(t,e,n,r,i,a){for(var o=[],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=de(d,e.length)):(s=Math.floor((d-1)/e.length),u=de(d-1,e.length));for(var f=[],h=n;h<r;h++){var y=a[h];G(y)&&f.push(y)}var p=void 0;s<0?p=f.slice(s)[0]:p=f[s];var v=e[u],b=yr(i.yearordinal+p),T=pr(b,v);j(o,T)||o.push(T)}return et(o),o}function gr(t,e){var n=e.dtstart,r=e.freq,i=e.interval,a=e.until,o=e.bysetpos,l=e.count;if(l===0||i===0)return Te(t);var s=ra.fromDate(n),u=new Oa(e);u.rebuild(s.year,s.month);for(var d=Da(u,s,e);;){var f=u.getdayset(r)(s.year,s.month,s.day),h=f[0],y=f[1],p=f[2],v=Ra(h,y,p,u,e);if(X(o))for(var b=_a(o,d,y,p,u,h),T=0;T<b.length;T++){var D=b[T];if(a&&D>a)return Te(t);if(D>=n){var Q=Dn(D,e);if(!t.accept(Q)||l&&(--l,!l))return Te(t)}}else for(var T=y;T<p;T++){var ae=h[T];if(G(ae))for(var fe=yr(u.yearordinal+ae),V=0;V<d.length;V++){var De=d[V],D=pr(fe,De);if(a&&D>a)return Te(t);if(D>=n){var Q=Dn(D,e);if(!t.accept(Q)||l&&(--l,!l))return Te(t)}}}if(e.interval===0||(s.add(e,v),s.year>dr))return Te(t);zt(r)||(d=u.gettimeset(r)(s.hour,s.minute,s.second,0)),u.rebuild(s.year,s.month)}}function Ia(t,e,n){var r=n.bymonth,i=n.byweekno,a=n.byweekday,o=n.byeaster,l=n.bymonthday,s=n.bynmonthday,u=n.byyearday;return X(r)&&!j(r,t.mmask[e])||X(i)&&!t.wnomask[e]||X(a)&&!j(a,t.wdaymask[e])||X(t.nwdaymask)&&!t.nwdaymask[e]||o!==null&&!j(t.eastermask,e)||(X(l)||X(s))&&!j(l,t.mdaymask[e])&&!j(s,t.nmdaymask[e])||X(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 Dn(t,e){return new ht(t,e.tzid).rezonedDate()}function Te(t){return t.getValue()}function Ra(t,e,n,r,i){for(var a=!1,o=e;o<n;o++){var l=t[o];a=Ia(r,l,i),a&&(t[l]=null)}return a}function Da(t,e,n){var r=n.freq,i=n.byhour,a=n.byminute,o=n.bysecond;return zt(r)?aa(n):r>=x.HOURLY&&X(i)&&!j(i,e.hour)||r>=x.MINUTELY&&X(a)&&!j(a,e.minute)||r>=x.SECONDLY&&X(o)&&!j(o,e.second)?[]:t.gettimeset(r)(e.hour,e.minute,e.second,e.millisecond)}var pe={MO:new ie(0),TU:new ie(1),WE:new ie(2),TH:new ie(3),FR:new ie(4),SA:new ie(5),SU:new ie(6)},qt={freq:A.YEARLY,dtstart:null,interval:1,wkst:pe.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},Na=Object.keys(qt),x=function(){function t(e,n){e===void 0&&(e={}),n===void 0&&(n=!1),this._cache=n?null:new da,this.origOptions=vr(e);var r=ia(e).parsedOptions;this.options=r}return t.parseText=function(e,n){return mr(e,n)},t.fromText=function(e,n){return ea(e,n)},t.fromString=function(e){return new t(t.parseString(e)||void 0)},t.prototype._iter=function(e){return gr(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 xn("all",{},e));var n=this._cacheGet("all");return n===!1&&(n=this._iter(new Fe("all",{})),this._cacheAdd("all",n)),n},t.prototype.between=function(e,n,r,i){if(r===void 0&&(r=!1),!Xe(e)||!Xe(n))throw new Error("Invalid date passed in to RRule.between");var a={before:n,after:e,inc:r};if(i)return this._iter(new xn("between",a,i));var o=this._cacheGet("between",a);return o===!1&&(o=this._iter(new Fe("between",a)),this._cacheAdd("between",o,a)),o},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},i=this._cacheGet("before",r);return i===!1&&(i=this._iter(new Fe("before",r)),this._cacheAdd("before",i,r)),i},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},i=this._cacheGet("after",r);return i===!1&&(i=this._iter(new Fe("after",r)),this._cacheAdd("after",i,r)),i},t.prototype.count=function(){return this.all().length},t.prototype.toString=function(){return At(this.origOptions)},t.prototype.toText=function(e,n,r){return ta(this,e,n,r)},t.prototype.isFullyConvertibleToText=function(){return na(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=pe.MO,t.TU=pe.TU,t.WE=pe.WE,t.TH=pe.TH,t.FR=pe.FR,t.SA=pe.SA,t.SU=pe.SU,t.parseString=Mt,t.optionsToString=At,t}();function La(t,e,n,r,i,a){var o={},l=t.accept;function s(h,y){n.forEach(function(p){p.between(h,y,!0).forEach(function(v){o[Number(v)]=!0})})}i.forEach(function(h){var y=new ht(h,a).rezonedDate();o[Number(y)]=!0}),t.accept=function(h){var y=Number(h);return isNaN(y)?l.call(this,h):!o[y]&&(s(new Date(y-1),new Date(y+1)),!o[y])?(o[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 o[y]?!0:(o[y]=!0,l.call(this,h))});for(var u=0;u<r.length;u++){var d=new ht(r[u],a).rezonedDate();if(!t.accept(new Date(d.getTime())))break}e.forEach(function(h){gr(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 Nn={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null};function Ma(t,e){var n=[],r=[],i=[],a=[],o=ft(t),l=o.dtstart,s=o.tzid,u=Ha(t,e.unfold);return u.forEach(function(d){var f;if(d){var h=Ya(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(Mt(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(Mn(v,p));break;case"EXRULE":if(p.length)throw new Error("unsupported EXRULE parm: ".concat(p.join(",")));i.push(Mt(v));break;case"EXDATE":a=a.concat(Mn(v,p));break;case"DTSTART":break;default:throw new Error("unsupported property: "+y)}}}),{dtstart:l,tzid:s,rrulevals:n,rdatevals:r,exrulevals:i,exdatevals:a}}function Aa(t,e){var n=Ma(t,e),r=n.rrulevals,i=n.rdatevals,a=n.exrulevals,o=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||i.length||a.length||o.length){var d=new Wa(u);return d.dtstart(l),d.tzid(s||void 0),r.forEach(function(h){d.rrule(new x(Tt(h,l,s),u))}),i.forEach(function(h){d.rdate(h)}),a.forEach(function(h){d.exrule(new x(Tt(h,l,s),u))}),o.forEach(function(h){d.exdate(h)}),e.compatible&&e.dtstart&&d.rdate(l),d}var f=r[0]||{};return new x(Tt(f,f.dtstart||e.dtstart||l,f.tzid||e.tzid||s),u)}function Ln(t,e){return e===void 0&&(e={}),Aa(t,Ua(e))}function Tt(t,e,n){return ce(ce({},t),{dtstart:e,tzid:n})}function Ua(t){var e=[],n=Object.keys(t),r=Object.keys(Nn);if(n.forEach(function(i){j(r,i)||e.push(i)}),e.length)throw new Error("Invalid options: "+e.join(", "));return ce(ce({},Nn),t)}function Pa(t){if(t.indexOf(":")===-1)return{name:"RRULE",value:t};var e=zi(t,":",1),n=e[0],r=e[1];return{name:n,value:r}}function Ya(t){var e=Pa(t),n=e.name,r=e.value,i=n.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:r}}function Ha(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 i=n[r]=n[r].replace(/\s+$/g,"");i?r>0&&i[0]===" "?(n[r-1]+=i.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 Mn(t,e){return ja(e),t.split(",").map(function(n){return Ft(n)})}function An(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 i=e._rrule[r].origOptions[t];if(i)return i}}}var Wa=function(t){Bt(e,t);function e(n){n===void 0&&(n=!1);var r=t.call(this,{},n)||this;return r.dtstart=An.apply(r,["dtstart"]),r.tzid=An.apply(r,["tzid"]),r._rrule=[],r._rdate=[],r._exrule=[],r._exdate=[],r}return e.prototype._iter=function(n){return La(n,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},e.prototype.rrule=function(n){Un(n,this._rrule)},e.prototype.exrule=function(n){Un(n,this._exrule)},e.prototype.rdate=function(n){Pn(n,this._rdate)},e.prototype.exdate=function(n){Pn(n,this._exdate)},e.prototype.rrules=function(){return this._rrule.map(function(n){return Ln(n.toString())})},e.prototype.exrules=function(){return this._exrule.map(function(n){return Ln(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(i){return i.replace(/^RRULE:/,"EXRULE:")}).filter(function(i){return!/^DTSTART/.test(i)}))}),this._rdate.length&&n.push(Yn("RDATE",this._rdate,this.tzid())),this._exdate.length&&n.push(Yn("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 Un(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 Pn(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 Yn(t,e,n){var r=!n||n.toUpperCase()==="UTC",i=r?"".concat(t,":"):"".concat(t,";TZID=").concat(n,":"),a=e.map(function(o){return Wt(o.valueOf(),r)}).join(",");return"".concat(i).concat(a)}function Hn(t,e=null){return e?[null,e]:[t,null]}class Fa{constructor(e){this.defaultAuthArgs={},this.session=e}setActiveGrantId(e){this.activeGrantId=e}async request({method:e,path:n,body:r,headers:i}){try{const a=await this.session.fetch(`grants/me/${n}`,{method:e,headers:i?new Headers(i):void 0,body:r,...this.session.isMultiAccount()&&this.activeGrantId?{grant_id:this.activeGrantId}:{}});if(typeof a>"u")throw new Error("Response is undefined");return Hn(a)}catch(a){return Hn(null,{message:String(a)})}}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}}Wi({});function Ba(){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 za(){await Promise.resolve().then(()=>require("./elements-dc5b338e-96e197ca.cjs"))}const qa=za,br=(t,e)=>{if(!(typeof window>"u"))return qa(),Ti(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 Ut={exports:{}},Ze={};/**
8
+ * @license React
9
+ * react-jsx-runtime.production.min.js
10
+ *
11
+ * Copyright (c) Facebook, Inc. and its affiliates.
12
+ *
13
+ * This source code is licensed under the MIT license found in the
14
+ * LICENSE file in the root directory of this source tree.
15
+ */var jn;function Ka(){if(jn)return Ze;jn=1;var t=be,e=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(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)&&!a.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:i.current}}return Ze.Fragment=n,Ze.jsx=o,Ze.jsxs=o,Ze}var Je={};/**
16
+ * @license React
17
+ * react-jsx-runtime.development.js
18
+ *
19
+ * Copyright (c) Facebook, Inc. and its affiliates.
20
+ *
21
+ * This source code is licensed under the MIT license found in the
22
+ * LICENSE file in the root directory of this source tree.
23
+ */var Wn;function Ga(){return Wn||(Wn=1,process.env.NODE_ENV!=="production"&&function(){var t=be,e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=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 D(c){{for(var m=arguments.length,k=new Array(m>1?m-1:0),O=1;O<m;O++)k[O-1]=arguments[O];Q("error",c,k)}}function Q(c,m,k){{var O=T.ReactDebugCurrentFrame,P=O.getStackAddendum();P!==""&&(m+="%s",k=k.concat([P]));var H=k.map(function(L){return String(L)});H.unshift("Warning: "+m),Function.prototype.apply.call(console[c],console,H)}}var ae=!1,fe=!1,V=!1,De=!1,Ae=!1,z;z=Symbol.for("react.module.reference");function Y(c){return!!(typeof c=="string"||typeof c=="function"||c===r||c===a||Ae||c===i||c===u||c===d||De||c===y||ae||fe||V||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===f||c.$$typeof===o||c.$$typeof===l||c.$$typeof===s||c.$$typeof===z||c.getModuleId!==void 0))}function Ue(c,m,k){var O=c.displayName;if(O)return O;var P=m.displayName||m.name||"";return P!==""?k+"("+P+")":k}function qe(c){return c.displayName||"Context"}function C(c){if(c==null)return null;if(typeof c.tag=="number"&&D("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 a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case l:var m=c;return qe(m)+".Consumer";case o:var k=c;return qe(k._context)+".Provider";case s:return Ue(c,c.render,"ForwardRef");case f:var O=c.displayName||null;return O!==null?O:C(c.type)||"Memo";case h:{var P=c,H=P._payload,L=P._init;try{return C(L(H))}catch{return null}}}return null}var E=Object.assign,w=0,_,S,R,I,U,F,W;function Z(){}Z.__reactDisabledLog=!0;function me(){{if(w===0){_=console.log,S=console.info,R=console.warn,I=console.error,U=console.group,F=console.groupCollapsed,W=console.groupEnd;var c={configurable:!0,enumerable:!0,value:Z,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}w++}}function he(){{if(w--,w===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:E({},c,{value:_}),info:E({},c,{value:S}),warn:E({},c,{value:R}),error:E({},c,{value:I}),group:E({},c,{value:U}),groupCollapsed:E({},c,{value:F}),groupEnd:E({},c,{value:W})})}w<0&&D("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=T.ReactCurrentDispatcher,ke;function ye(c,m,k){{if(ke===void 0)try{throw Error()}catch(P){var O=P.stack.trim().match(/\n( *(at )?)/);ke=O&&O[1]||""}return`
24
+ `+ke+c}}var J=!1,oe;{var Ke=typeof WeakMap=="function"?WeakMap:Map;oe=new Ke}function Ne(c,m){if(!c||J)return"";{var k=oe.get(c);if(k!==void 0)return k}var O;J=!0;var P=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var H;H=we.current,we.current=null,me();try{if(m){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(Ee){O=Ee}Reflect.construct(c,[],L)}else{try{L.call()}catch(Ee){O=Ee}c.call(L.prototype)}}else{try{throw Error()}catch(Ee){O=Ee}c()}}catch(Ee){if(Ee&&O&&typeof Ee.stack=="string"){for(var N=Ee.stack.split(`
25
+ `),re=O.stack.split(`
26
+ `),q=N.length-1,K=re.length-1;q>=1&&K>=0&&N[q]!==re[K];)K--;for(;q>=1&&K>=0;q--,K--)if(N[q]!==re[K]){if(q!==1||K!==1)do if(q--,K--,K<0||N[q]!==re[K]){var ue=`
27
+ `+N[q].replace(" at new "," at ");return c.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",c.displayName)),typeof c=="function"&&oe.set(c,ue),ue}while(q>=1&&K>=0);break}}}finally{J=!1,we.current=H,he(),Error.prepareStackTrace=P}var Ye=c?c.displayName||c.name:"",on=Ye?ye(Ye):"";return typeof c=="function"&&oe.set(c,on),on}function kr(c,m,k){return Ne(c,!1)}function Er(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,Er(c));if(typeof c=="string")return ye(c);switch(c){case u:return ye("Suspense");case d:return ye("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case s:return kr(c.render);case f:return nt(c.type,m,k);case h:{var O=c,P=O._payload,H=O._init;try{return nt(H(P),m,k)}catch{}}}return""}var rt=Object.prototype.hasOwnProperty,Kt={},Gt=T.ReactDebugCurrentFrame;function it(c){if(c){var m=c._owner,k=nt(c.type,c._source,m?m.type:null);Gt.setExtraStackFrame(k)}else Gt.setExtraStackFrame(null)}function Tr(c,m,k,O,P){{var H=Function.call.bind(rt);for(var L in c)if(H(c,L)){var N=void 0;try{if(typeof c[L]!="function"){var re=Error((O||"React class")+": "+k+" type `"+L+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[L]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw re.name="Invariant Violation",re}N=c[L](m,L,O,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){N=q}N&&!(N instanceof Error)&&(it(P),D("%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,L,typeof N),it(null)),N instanceof Error&&!(N.message in Kt)&&(Kt[N.message]=!0,it(P),D("Failed %s type: %s",k,N.message),it(null))}}}var Sr=Array.isArray;function mt(c){return Sr(c)}function Cr(c){{var m=typeof Symbol=="function"&&Symbol.toStringTag,k=m&&c[Symbol.toStringTag]||c.constructor.name||"Object";return k}}function xr(c){try{return Zt(c),!1}catch{return!0}}function Zt(c){return""+c}function Jt(c){if(xr(c))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Cr(c)),Zt(c)}var Ge=T.ReactCurrentOwner,Or={key:!0,ref:!0,__self:!0,__source:!0},Xt,Qt,vt;vt={};function _r(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 Ir(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 Rr(c,m){if(typeof c.ref=="string"&&Ge.current&&m&&Ge.current.stateNode!==m){var k=C(Ge.current.type);vt[k]||(D('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 Dr(c,m){{var k=function(){Xt||(Xt=!0,D("%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 Nr(c,m){{var k=function(){Qt||(Qt=!0,D("%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 Lr=function(c,m,k,O,P,H,L){var N={$$typeof:e,type:c,key:m,ref:k,props:L,_owner:H};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:P}),Object.freeze&&(Object.freeze(N.props),Object.freeze(N)),N};function Mr(c,m,k,O,P){{var H,L={},N=null,re=null;k!==void 0&&(Jt(k),N=""+k),Ir(m)&&(Jt(m.key),N=""+m.key),_r(m)&&(re=m.ref,Rr(m,P));for(H in m)rt.call(m,H)&&!Or.hasOwnProperty(H)&&(L[H]=m[H]);if(c&&c.defaultProps){var q=c.defaultProps;for(H in q)L[H]===void 0&&(L[H]=q[H])}if(N||re){var K=typeof c=="function"?c.displayName||c.name||"Unknown":c;N&&Dr(L,K),re&&Nr(L,K)}return Lr(c,N,re,P,O,Ge.current,L)}}var gt=T.ReactCurrentOwner,Vt=T.ReactDebugCurrentFrame;function Pe(c){if(c){var m=c._owner,k=nt(c.type,c._source,m?m.type:null);Vt.setExtraStackFrame(k)}else Vt.setExtraStackFrame(null)}var bt;bt=!1;function $t(c){return typeof c=="object"&&c!==null&&c.$$typeof===e}function en(){{if(gt.current){var c=C(gt.current.type);if(c)return`
28
+
29
+ Check the render method of \``+c+"`."}return""}}function Ar(c){{if(c!==void 0){var m=c.fileName.replace(/^.*[\\\/]/,""),k=c.lineNumber;return`
30
+
31
+ Check your code at `+m+":"+k+"."}return""}}var tn={};function Ur(c){{var m=en();if(!m){var k=typeof c=="string"?c:c.displayName||c.name;k&&(m=`
32
+
33
+ Check the top-level render call using <`+k+">.")}return m}}function nn(c,m){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var k=Ur(m);if(tn[k])return;tn[k]=!0;var O="";c&&c._owner&&c._owner!==gt.current&&(O=" It was passed a child from "+C(c._owner.type)+"."),Pe(c),D('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),Pe(null)}}function rn(c,m){{if(typeof c!="object")return;if(mt(c))for(var k=0;k<c.length;k++){var O=c[k];$t(O)&&nn(O,m)}else if($t(c))c._store&&(c._store.validated=!0);else if(c){var P=b(c);if(typeof P=="function"&&P!==c.entries)for(var H=P.call(c),L;!(L=H.next()).done;)$t(L.value)&&nn(L.value,m)}}}function Pr(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);Tr(k,c.props,"prop",O,c)}else if(m.PropTypes!==void 0&&!bt){bt=!0;var P=C(m);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",P||"Unknown")}typeof m.getDefaultProps=="function"&&!m.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yr(c){{for(var m=Object.keys(c.props),k=0;k<m.length;k++){var O=m[k];if(O!=="children"&&O!=="key"){Pe(c),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",O),Pe(null);break}}c.ref!==null&&(Pe(c),D("Invalid attribute `ref` supplied to `React.Fragment`."),Pe(null))}}function an(c,m,k,O,P,H){{var L=Y(c);if(!L){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 re=Ar(P);re?N+=re:N+=en();var q;c===null?q="null":mt(c)?q="array":c!==void 0&&c.$$typeof===e?(q="<"+(C(c.type)||"Unknown")+" />",N=" Did you accidentally export a JSX literal instead of a component?"):q=typeof c,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",q,N)}var K=Mr(c,m,k,P,H);if(K==null)return K;if(L){var ue=m.children;if(ue!==void 0)if(O)if(mt(ue)){for(var Ye=0;Ye<ue.length;Ye++)rn(ue[Ye],c);Object.freeze&&Object.freeze(ue)}else D("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 rn(ue,c)}return c===r?Yr(K):Pr(K),K}}function Hr(c,m,k){return an(c,m,k,!0)}function jr(c,m,k){return an(c,m,k,!1)}var Wr=jr,Fr=Hr;Je.Fragment=r,Je.jsx=Wr,Je.jsxs=Fr}()),Je}process.env.NODE_ENV==="production"?Ut.exports=Ka():Ut.exports=Ga();var Za=Ut.exports;const Ja=t=>t.toLowerCase().split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(""),$r=t=>t.replace(/([A-Z])/g,e=>`-${e[0].toLowerCase()}`),Xa=(t,e,n={})=>{if(t instanceof Element){const r=Qa(t.classList,e,n);r!==""&&(t.className=r),Object.keys(e).forEach(i=>{if(!(i==="children"||i==="style"||i==="ref"||i==="class"||i==="className"||i==="forwardedRef"))if(i.indexOf("on")===0&&i[2]===i[2].toUpperCase()){const a=i.substring(2),o=a[0].toLowerCase()+a.substring(1);wr(o)||eo(t,o,e[i])}else t[i]=e[i],typeof e[i]==="string"&&t.setAttribute($r(i),e[i])})}},Qa=(t,e,n)=>{const r=e.className||e.class,i=n.className||n.class,a=St(t),o=St(r?r.split(" "):[]),l=St(i?i.split(" "):[]),s=[];return a.forEach(u=>{o.has(u)?(s.push(u),o.delete(u)):l.has(u)||s.push(u)}),o.forEach(u=>s.push(u)),s.join(" ")},Va=t=>{switch(t){case"doubleclick":return"dblclick"}return t};/**
34
+ * Checks if an event is supported in the current execution environment.
35
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
36
+ */const wr=t=>{if(typeof document>"u")return!0;{const e="on"+Va(t);let n=e in document;if(!n){const r=document.createElement("div");r.setAttribute(e,"return;"),n=typeof r[e]=="function"}return n}},eo=(t,e,n)=>{const r=t.__events||(t.__events={}),i=r[e];i&&t.removeEventListener(e,i),t.addEventListener(e,r[e]=function(o){n&&n.call(this,o)})},St=t=>{const e=new Map;return t.forEach(n=>e.set(n,n)),e},to=(t,e)=>{typeof t=="function"?t(e):t!=null&&(t.current=e)},no=(...t)=>e=>{t.forEach(n=>{to(n,e)})},ro=(t,e)=>{const n=(r,i)=>Za.jsx(t,{...r,forwardedRef:i});return n.displayName=e,be.forwardRef(n)},g=(t,e,n,r)=>{r!==void 0&&r();const i=Ja(t),a=class extends be.Component{constructor(l){super(l);wt(this,"componentEl");wt(this,"setComponentElRef",l=>{this.componentEl=l})}componentDidMount(){this.componentDidUpdate(this.props)}componentDidUpdate(l){Xa(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 D=b.substring(2).toLowerCase();typeof document<"u"&&wr(D)&&(v[b]=T)}else{const D=typeof T;(D==="string"||D==="boolean"||D==="number")&&(v[$r(b)]=T)}return v},{});n&&(y=n(this.props,y));const p={...y,ref:no(s,this.setComponentElRef),style:u};return be.createElement(t,p,l)}static get displayName(){return i}};return e&&(a.contextType=e),ro(a,i)};br();const io=g("add-circle-icon"),ao=g("archive-icon"),oo=g("arrow-icon"),so=g("bold-icon"),lo=g("button-component"),co=g("calendar-cancel-icon"),uo=g("calendar-check-icon"),fo=g("calendar-icon"),ho=g("calendar-info-icon"),yo=g("calendar-patterns-icon"),po=g("checkmark-circle-icon"),mo=g("chevron-icon"),vo=g("close-icon"),go=g("document-refresh-icon"),bo=g("flow-icon"),$o=g("folder-icon"),wo=g("forward-icon"),ko=g("globe-icon"),Eo=g("google-logo-icon"),To=g("inbox-icon"),So=g("info-icon"),Co=g("italic-icon"),xo=g("loading-icon"),Oo=g("location-icon"),_o=g("location-off-icon"),Io=g("microsoft-logo-icon"),Ro=g("multi-select-dropdown"),Do=g("nylas-additional-participants"),No=g("nylas-availability-picker"),Lo=g("nylas-booked-event-card"),Mo=g("nylas-booking-calendar-picker"),Ao=g("nylas-booking-form"),Uo=g("nylas-buffer-time"),Po=g("nylas-calendar-picker"),Yo=g("nylas-cancel-booking-form"),Ho=g("nylas-cancelled-event-card"),jo=g("nylas-composer"),Wo=g("nylas-custom-booking-flow"),Fo=g("nylas-date-picker"),Bo=g("nylas-editor-tabs"),zo=g("nylas-event-description"),qo=g("nylas-event-duration"),Ko=g("nylas-event-info"),Go=g("nylas-event-limits"),Zo=g("nylas-event-title"),Jo=g("nylas-form-card"),Xo=g("nylas-if-state"),Qo=g("nylas-limit-future-bookings"),Vo=g("nylas-list-configurations"),es=g("nylas-list-folders"),ts=g("nylas-list-threads"),ns=g("nylas-locale-switch"),rs=g("nylas-location-component"),is=g("nylas-login"),as=g("nylas-logo"),os=g("nylas-mailbox"),ss=g("nylas-mailbox-pagination"),ls=g("nylas-mailbox-toolbar-button"),cs=g("nylas-min-cancellation-notice"),us=g("nylas-notification"),ds=g("nylas-provider"),fs=g("nylas-scheduler-editor"),hs=g("nylas-scheduling"),ys=g("nylas-selected-event-card"),ps=g("nylas-summarize-message-button"),ms=g("nylas-threads-refresh"),vs=g("nylas-threads-search"),gs=g("nylas-time-window-picker"),bs=g("nylas-timeslot-picker"),$s=g("nylas-view-email"),ws=g("nylas-view-thread"),ks=g("people-icon"),Es=g("play-icon"),Ts=g("refresh-icon"),Ss=g("reply-all-icon"),Cs=g("reply-icon"),xs=g("search-icon"),Os=g("select-dropdown"),_s=g("sent-icon"),Is=g("spam-icon"),Rs=g("star-icon"),Ds=g("stop-icon"),Ns=g("time-period-selector"),Ls=g("tooltip-component"),Ms=g("translate-icon"),As=g("trash-icon"),Us=g("underline-icon"),Ps=g("warning-icon");function Ys(){const[,t]=be.useReducer(i=>i+1,0),e=be.useRef(),n=be.useRef(null),r=be.useRef(null);return be.useEffect(()=>{e.current&&(n.current||e.current.getNylasMailboxConnector().then(i=>{i&&(n.current=i,r.current=n.current.nylasAuthStore,i.nylasAuthStore.on("set",t),t())}))},[]),[e,r.current]}exports.AddCircleIcon=io;exports.ArchiveIcon=ao;exports.ArrowIcon=oo;exports.BoldIcon=so;exports.ButtonComponent=lo;exports.CalendarCancelIcon=co;exports.CalendarCheckIcon=uo;exports.CalendarIcon=fo;exports.CalendarInfoIcon=ho;exports.CalendarPatternsIcon=yo;exports.CheckmarkCircleIcon=po;exports.ChevronIcon=mo;exports.CloseIcon=vo;exports.DocumentRefreshIcon=go;exports.FlowIcon=bo;exports.FolderIcon=$o;exports.ForwardIcon=wo;exports.GlobeIcon=ko;exports.GoogleLogoIcon=Eo;exports.InboxIcon=To;exports.InfoIcon=So;exports.ItalicIcon=Co;exports.LoadingIcon=xo;exports.LocationIcon=Oo;exports.LocationOffIcon=_o;exports.MicrosoftLogoIcon=Io;exports.MultiSelectDropdown=Ro;exports.NylasAdditionalParticipants=Do;exports.NylasAvailabilityPicker=No;exports.NylasBookedEventCard=Lo;exports.NylasBookingCalendarPicker=Mo;exports.NylasBookingForm=Ao;exports.NylasBufferTime=Uo;exports.NylasCalendarPicker=Po;exports.NylasCancelBookingForm=Yo;exports.NylasCancelledEventCard=Ho;exports.NylasComposer=jo;exports.NylasCustomBookingFlow=Wo;exports.NylasDatePicker=Fo;exports.NylasEditorTabs=Bo;exports.NylasEventDescription=zo;exports.NylasEventDuration=qo;exports.NylasEventInfo=Ko;exports.NylasEventLimits=Go;exports.NylasEventTitle=Zo;exports.NylasFormCard=Jo;exports.NylasIdentityRequestWrapper=Fa;exports.NylasIfState=Xo;exports.NylasLimitFutureBookings=Qo;exports.NylasListConfigurations=Vo;exports.NylasListFolders=es;exports.NylasListThreads=ts;exports.NylasLocaleSwitch=ns;exports.NylasLocationComponent=rs;exports.NylasLogin=is;exports.NylasLogo=as;exports.NylasMailbox=os;exports.NylasMailboxPagination=ss;exports.NylasMailboxToolbarButton=ls;exports.NylasMinCancellationNotice=cs;exports.NylasNotification=us;exports.NylasProvider=ds;exports.NylasSchedulerEditor=fs;exports.NylasScheduling=hs;exports.NylasSelectedEventCard=ys;exports.NylasSummarizeMessageButton=ps;exports.NylasThreadsRefresh=ms;exports.NylasThreadsSearch=vs;exports.NylasTimeWindowPicker=gs;exports.NylasTimeslotPicker=bs;exports.NylasViewEmail=$s;exports.NylasViewThread=ws;exports.PeopleIcon=ks;exports.PlayIcon=Es;exports.RefreshIcon=Ts;exports.ReplyAllIcon=Ss;exports.ReplyIcon=Cs;exports.SearchIcon=xs;exports.SelectDropdown=Os;exports.SentIcon=_s;exports.SpamIcon=Is;exports.StarIcon=Rs;exports.StopIcon=Ds;exports.TimePeriodSelector=Ns;exports.TooltipComponent=Ls;exports.TranslateIcon=Ms;exports.TrashIcon=As;exports.UnderlineIcon=Us;exports.WarningIcon=Ps;exports.applyPolyfills=Ba;exports.commonjsGlobal=cr;exports.defineCustomElements=br;exports.setNonce=Oi;exports.useNylasMailboxElement=Ys;
package/dist/react.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-2b8437d6.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.ChevronIcon=o.ChevronIcon;exports.CloseIcon=o.CloseIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasComposer=o.NylasComposer;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListFolders=o.NylasListFolders;exports.NylasListThreads=o.NylasListThreads;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLocationComponent=o.NylasLocationComponent;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMailbox=o.NylasMailbox;exports.NylasMailboxPagination=o.NylasMailboxPagination;exports.NylasMailboxToolbarButton=o.NylasMailboxToolbarButton;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasProvider=o.NylasProvider;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasSummarizeMessageButton=o.NylasSummarizeMessageButton;exports.NylasThreadsRefresh=o.NylasThreadsRefresh;exports.NylasThreadsSearch=o.NylasThreadsSearch;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.NylasViewEmail=o.NylasViewEmail;exports.NylasViewThread=o.NylasViewThread;exports.PeopleIcon=o.PeopleIcon;exports.PlayIcon=o.PlayIcon;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TimePeriodSelector=o.TimePeriodSelector;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index-823fdc6f.cjs");require("react");require("react-dom");exports.AddCircleIcon=o.AddCircleIcon;exports.ArchiveIcon=o.ArchiveIcon;exports.ArrowIcon=o.ArrowIcon;exports.BoldIcon=o.BoldIcon;exports.ButtonComponent=o.ButtonComponent;exports.CalendarCancelIcon=o.CalendarCancelIcon;exports.CalendarCheckIcon=o.CalendarCheckIcon;exports.CalendarIcon=o.CalendarIcon;exports.CalendarInfoIcon=o.CalendarInfoIcon;exports.CalendarPatternsIcon=o.CalendarPatternsIcon;exports.CheckmarkCircleIcon=o.CheckmarkCircleIcon;exports.ChevronIcon=o.ChevronIcon;exports.CloseIcon=o.CloseIcon;exports.DocumentRefreshIcon=o.DocumentRefreshIcon;exports.FlowIcon=o.FlowIcon;exports.FolderIcon=o.FolderIcon;exports.ForwardIcon=o.ForwardIcon;exports.GlobeIcon=o.GlobeIcon;exports.GoogleLogoIcon=o.GoogleLogoIcon;exports.InboxIcon=o.InboxIcon;exports.InfoIcon=o.InfoIcon;exports.ItalicIcon=o.ItalicIcon;exports.LoadingIcon=o.LoadingIcon;exports.LocationIcon=o.LocationIcon;exports.LocationOffIcon=o.LocationOffIcon;exports.MicrosoftLogoIcon=o.MicrosoftLogoIcon;exports.MultiSelectDropdown=o.MultiSelectDropdown;exports.NylasAdditionalParticipants=o.NylasAdditionalParticipants;exports.NylasAvailabilityPicker=o.NylasAvailabilityPicker;exports.NylasBookedEventCard=o.NylasBookedEventCard;exports.NylasBookingCalendarPicker=o.NylasBookingCalendarPicker;exports.NylasBookingForm=o.NylasBookingForm;exports.NylasBufferTime=o.NylasBufferTime;exports.NylasCalendarPicker=o.NylasCalendarPicker;exports.NylasCancelBookingForm=o.NylasCancelBookingForm;exports.NylasCancelledEventCard=o.NylasCancelledEventCard;exports.NylasComposer=o.NylasComposer;exports.NylasCustomBookingFlow=o.NylasCustomBookingFlow;exports.NylasDatePicker=o.NylasDatePicker;exports.NylasEditorTabs=o.NylasEditorTabs;exports.NylasEventDescription=o.NylasEventDescription;exports.NylasEventDuration=o.NylasEventDuration;exports.NylasEventInfo=o.NylasEventInfo;exports.NylasEventLimits=o.NylasEventLimits;exports.NylasEventTitle=o.NylasEventTitle;exports.NylasFormCard=o.NylasFormCard;exports.NylasIdentityRequestWrapper=o.NylasIdentityRequestWrapper;exports.NylasIfState=o.NylasIfState;exports.NylasLimitFutureBookings=o.NylasLimitFutureBookings;exports.NylasListConfigurations=o.NylasListConfigurations;exports.NylasListFolders=o.NylasListFolders;exports.NylasListThreads=o.NylasListThreads;exports.NylasLocaleSwitch=o.NylasLocaleSwitch;exports.NylasLocationComponent=o.NylasLocationComponent;exports.NylasLogin=o.NylasLogin;exports.NylasLogo=o.NylasLogo;exports.NylasMailbox=o.NylasMailbox;exports.NylasMailboxPagination=o.NylasMailboxPagination;exports.NylasMailboxToolbarButton=o.NylasMailboxToolbarButton;exports.NylasMinCancellationNotice=o.NylasMinCancellationNotice;exports.NylasNotification=o.NylasNotification;exports.NylasProvider=o.NylasProvider;exports.NylasSchedulerEditor=o.NylasSchedulerEditor;exports.NylasScheduling=o.NylasScheduling;exports.NylasSelectedEventCard=o.NylasSelectedEventCard;exports.NylasSummarizeMessageButton=o.NylasSummarizeMessageButton;exports.NylasThreadsRefresh=o.NylasThreadsRefresh;exports.NylasThreadsSearch=o.NylasThreadsSearch;exports.NylasTimeWindowPicker=o.NylasTimeWindowPicker;exports.NylasTimeslotPicker=o.NylasTimeslotPicker;exports.NylasViewEmail=o.NylasViewEmail;exports.NylasViewThread=o.NylasViewThread;exports.PeopleIcon=o.PeopleIcon;exports.PlayIcon=o.PlayIcon;exports.RefreshIcon=o.RefreshIcon;exports.ReplyAllIcon=o.ReplyAllIcon;exports.ReplyIcon=o.ReplyIcon;exports.SearchIcon=o.SearchIcon;exports.SelectDropdown=o.SelectDropdown;exports.SentIcon=o.SentIcon;exports.SpamIcon=o.SpamIcon;exports.StarIcon=o.StarIcon;exports.StopIcon=o.StopIcon;exports.TimePeriodSelector=o.TimePeriodSelector;exports.TooltipComponent=o.TooltipComponent;exports.TranslateIcon=o.TranslateIcon;exports.TrashIcon=o.TrashIcon;exports.UnderlineIcon=o.UnderlineIcon;exports.WarningIcon=o.WarningIcon;exports.applyPolyfills=o.applyPolyfills;exports.defineCustomElements=o.defineCustomElements;exports.setNonce=o.setNonce;exports.useNylasMailboxElement=o.useNylasMailboxElement;
package/dist/react.js CHANGED
@@ -1,11 +1,11 @@
1
- import { A as n, e as l, f as c, B as i, i as t, C as r, j as y, k as N, l as I, m as d, n as C, o as m, p, D as f, q as h, t as u, v as k, G as g, w as S, I as E, x as P, y as T, L as v, z as L, E as B, M as w, J as b, K as F, O as M, P as x, Q as A, R as D, S as R, T as G, U as W, V as q, W as z, X as V, Y as j, Z as O, _ as U, $ as H, a0 as J, a1 as K, a2 as Q, a3 as X, N as Y, a4 as Z, a5 as _, a6 as $, a7 as aa, a8 as sa, a9 as oa, aa as ea, ab as na, ac as la, ad as ca, ae as ia, af as ta, ag as ra, ah as ya, ai as Na, aj as Ia, ak as da, al as Ca, am as ma, an as pa, ao as fa, ap as ha, aq as ua, ar as ka, as as ga, at as Sa, au as Ea, av as Pa, aw as Ta, ax as va, ay as La, az as Ba, aA as wa, aB as ba, aC as Fa, aD as Ma, aE as xa, aF as Aa, aG as Da, aH as Ra, aI as Ga, b as Wa, d as qa, s as za, u as Va } from "./index-db0c5017.js";
1
+ import { A as e, b as l, e as i, B as c, f as t, C as r, g as y, h as N, i as I, j as d, k as C, l as m, m as p, D as f, F as h, n as u, o as g, G as k, p as S, I as L, q as P, r as T, L as v, t as E, v as B, M as w, w as b, x as F, y as M, z as x, E as A, H as D, J as R, K as W, O as q, P as z, Q as G, R as V, S as j, T as O, U, V as H, W as J, X as K, Y as Q, Z as X, N as Y, _ as Z, $ as _, a0 as $, a1 as aa, a2 as sa, a3 as oa, a4 as na, a5 as ea, a6 as la, a7 as ia, a8 as ca, a9 as ta, aa as ra, ab as ya, ac as Na, ad as Ia, ae as da, af as Ca, ag as ma, ah as pa, ai as fa, aj as ha, ak as ua, al as ga, am as ka, an as Sa, ao as La, ap as Pa, aq as Ta, ar as va, as as Ea, at as Ba, au as wa, av as ba, aw as Fa, ax as Ma, ay as xa, az as Aa, aA as Da, aB as Ra, aC as Wa, aD as qa, a as za, d as Ga, s as Va, u as ja } from "./index-1fd24ccf.js";
2
2
  import "react";
3
3
  import "react-dom";
4
4
  export {
5
- n as AddCircleIcon,
5
+ e as AddCircleIcon,
6
6
  l as ArchiveIcon,
7
- c as ArrowIcon,
8
- i as BoldIcon,
7
+ i as ArrowIcon,
8
+ c as BoldIcon,
9
9
  t as ButtonComponent,
10
10
  r as CalendarCancelIcon,
11
11
  y as CalendarCheckIcon,
@@ -18,14 +18,14 @@ export {
18
18
  f as DocumentRefreshIcon,
19
19
  h as FlowIcon,
20
20
  u as FolderIcon,
21
- k as ForwardIcon,
22
- g as GlobeIcon,
21
+ g as ForwardIcon,
22
+ k as GlobeIcon,
23
23
  S as GoogleLogoIcon,
24
- E as InboxIcon,
24
+ L as InboxIcon,
25
25
  P as InfoIcon,
26
26
  T as ItalicIcon,
27
27
  v as LoadingIcon,
28
- L as LocationIcon,
28
+ E as LocationIcon,
29
29
  B as LocationOffIcon,
30
30
  w as MicrosoftLogoIcon,
31
31
  b as MultiSelectDropdown,
@@ -35,10 +35,10 @@ export {
35
35
  A as NylasBookingCalendarPicker,
36
36
  D as NylasBookingForm,
37
37
  R as NylasBufferTime,
38
- G as NylasCalendarPicker,
39
- W as NylasCancelBookingForm,
40
- q as NylasCancelledEventCard,
41
- z as NylasComposer,
38
+ W as NylasCalendarPicker,
39
+ q as NylasCancelBookingForm,
40
+ z as NylasCancelledEventCard,
41
+ G as NylasComposer,
42
42
  V as NylasCustomBookingFlow,
43
43
  j as NylasDatePicker,
44
44
  O as NylasEditorTabs,
@@ -51,47 +51,48 @@ export {
51
51
  Y as NylasIdentityRequestWrapper,
52
52
  Z as NylasIfState,
53
53
  _ as NylasLimitFutureBookings,
54
- $ as NylasListFolders,
55
- aa as NylasListThreads,
56
- sa as NylasLocaleSwitch,
57
- oa as NylasLocationComponent,
54
+ $ as NylasListConfigurations,
55
+ aa as NylasListFolders,
56
+ sa as NylasListThreads,
57
+ oa as NylasLocaleSwitch,
58
+ na as NylasLocationComponent,
58
59
  ea as NylasLogin,
59
- na as NylasLogo,
60
- la as NylasMailbox,
60
+ la as NylasLogo,
61
+ ia as NylasMailbox,
61
62
  ca as NylasMailboxPagination,
62
- ia as NylasMailboxToolbarButton,
63
- ta as NylasMinCancellationNotice,
64
- ra as NylasNotification,
65
- ya as NylasProvider,
66
- Na as NylasSchedulerEditor,
67
- Ia as NylasScheduling,
68
- da as NylasSelectedEventCard,
69
- Ca as NylasSummarizeMessageButton,
70
- ma as NylasThreadsRefresh,
71
- pa as NylasThreadsSearch,
72
- fa as NylasTimeWindowPicker,
73
- ha as NylasTimeslotPicker,
74
- ua as NylasViewEmail,
63
+ ta as NylasMailboxToolbarButton,
64
+ ra as NylasMinCancellationNotice,
65
+ ya as NylasNotification,
66
+ Na as NylasProvider,
67
+ Ia as NylasSchedulerEditor,
68
+ da as NylasScheduling,
69
+ Ca as NylasSelectedEventCard,
70
+ ma as NylasSummarizeMessageButton,
71
+ pa as NylasThreadsRefresh,
72
+ fa as NylasThreadsSearch,
73
+ ha as NylasTimeWindowPicker,
74
+ ua as NylasTimeslotPicker,
75
+ ga as NylasViewEmail,
75
76
  ka as NylasViewThread,
76
- ga as PeopleIcon,
77
- Sa as PlayIcon,
78
- Ea as RefreshIcon,
79
- Pa as ReplyAllIcon,
80
- Ta as ReplyIcon,
81
- va as SearchIcon,
82
- La as SelectDropdown,
83
- Ba as SentIcon,
84
- wa as SpamIcon,
85
- ba as StarIcon,
86
- Fa as StopIcon,
87
- Ma as TimePeriodSelector,
88
- xa as TooltipComponent,
89
- Aa as TranslateIcon,
90
- Da as TrashIcon,
91
- Ra as UnderlineIcon,
92
- Ga as WarningIcon,
93
- Wa as applyPolyfills,
94
- qa as defineCustomElements,
95
- za as setNonce,
96
- Va as useNylasMailboxElement
77
+ Sa as PeopleIcon,
78
+ La as PlayIcon,
79
+ Pa as RefreshIcon,
80
+ Ta as ReplyAllIcon,
81
+ va as ReplyIcon,
82
+ Ea as SearchIcon,
83
+ Ba as SelectDropdown,
84
+ wa as SentIcon,
85
+ ba as SpamIcon,
86
+ Fa as StarIcon,
87
+ Ma as StopIcon,
88
+ xa as TimePeriodSelector,
89
+ Aa as TooltipComponent,
90
+ Da as TranslateIcon,
91
+ Ra as TrashIcon,
92
+ Wa as UnderlineIcon,
93
+ qa as WarningIcon,
94
+ za as applyPolyfills,
95
+ Ga as defineCustomElements,
96
+ Va as setNonce,
97
+ ja as useNylasMailboxElement
97
98
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nylas/react",
3
- "version": "1.1.0-canary.4",
3
+ "version": "1.1.0-canary.7",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "react": "^18.2.0",
24
24
  "react-dom": "^18.2.0",
25
- "@nylas/web-elements": "^1.1.0-canary.4",
26
- "@nylas/core": "^1.1.0-canary.1"
25
+ "@nylas/web-elements": "^1.1.0-canary.7",
26
+ "@nylas/core": "^1.1.0-canary.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@types/node": "^20.8.10",
@@ -1 +0,0 @@
1
- "use strict";var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function u(e){if(e.__esModule)return e;var o=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),o}exports.commonjsGlobal=r;exports.getAugmentedNamespace=u;
@@ -1,19 +0,0 @@
1
- var n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function f(e) {
3
- if (e.__esModule)
4
- return e;
5
- var o = Object.defineProperty({}, "__esModule", { value: !0 });
6
- return Object.keys(e).forEach(function(t) {
7
- var r = Object.getOwnPropertyDescriptor(e, t);
8
- Object.defineProperty(o, t, r.get ? r : {
9
- enumerable: !0,
10
- get: function() {
11
- return e[t];
12
- }
13
- });
14
- }), o;
15
- }
16
- export {
17
- n as c,
18
- f as g
19
- };