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

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 (131) hide show
  1. package/dist/elements/index.js +92 -0
  2. package/dist/elements/index.js.map +1 -0
  3. package/dist/elements/react-component-lib/createComponent.js +65 -0
  4. package/dist/elements/react-component-lib/createComponent.js.map +1 -0
  5. package/dist/elements/react-component-lib/createOverlayComponent.js +98 -0
  6. package/dist/elements/react-component-lib/createOverlayComponent.js.map +1 -0
  7. package/dist/elements/react-component-lib/index.js +3 -0
  8. package/dist/elements/react-component-lib/index.js.map +1 -0
  9. package/dist/elements/react-component-lib/interfaces.js +2 -0
  10. package/dist/elements/react-component-lib/interfaces.js.map +1 -0
  11. package/dist/elements/react-component-lib/utils/attachProps.js +92 -0
  12. package/dist/elements/react-component-lib/utils/attachProps.js.map +1 -0
  13. package/dist/elements/react-component-lib/utils/case.js +7 -0
  14. package/dist/elements/react-component-lib/utils/case.js.map +1 -0
  15. package/dist/elements/react-component-lib/utils/dev.js +13 -0
  16. package/dist/elements/react-component-lib/utils/dev.js.map +1 -0
  17. package/dist/elements/react-component-lib/utils/index.js +31 -0
  18. package/dist/elements/react-component-lib/utils/index.js.map +1 -0
  19. package/dist/index.js +29 -0
  20. package/dist/index.js.map +1 -0
  21. package/package.json +8 -12
  22. package/dist/add-circle-icon_22.entry-080abc71.cjs +0 -1
  23. package/dist/add-circle-icon_22.entry-bda9be31.js +0 -1818
  24. package/dist/archive-icon_7.entry-ca20da59.cjs +0 -1
  25. package/dist/archive-icon_7.entry-e2954750.js +0 -75
  26. package/dist/arrow-icon.entry-03a85113.js +0 -15
  27. package/dist/arrow-icon.entry-548b027e.cjs +0 -1
  28. package/dist/bold-icon_3.entry-70ffa7f0.js +0 -35
  29. package/dist/bold-icon_3.entry-9a7b1869.cjs +0 -1
  30. package/dist/calendar-cancel-icon.entry-45388fdc.cjs +0 -1
  31. package/dist/calendar-cancel-icon.entry-6bbc119f.js +0 -15
  32. package/dist/calendar-check-icon_2.entry-6628456c.cjs +0 -1
  33. package/dist/calendar-check-icon_2.entry-f633f7a6.js +0 -25
  34. package/dist/calendar-icon.entry-379b1fa1.cjs +0 -1
  35. package/dist/calendar-icon.entry-62b82c27.js +0 -15
  36. package/dist/chevron-icon_3.entry-74425e1f.js +0 -117
  37. package/dist/chevron-icon_3.entry-7ff803ad.cjs +0 -1
  38. package/dist/close-icon.entry-18e140ed.cjs +0 -1
  39. package/dist/close-icon.entry-6a8ea4a7.js +0 -15
  40. package/dist/constants-f34b9c6e-95a17764.js +0 -3749
  41. package/dist/constants-f34b9c6e-e7137e51.cjs +0 -15
  42. package/dist/core-js-38e53e34.cjs +0 -4
  43. package/dist/core-js-a9d3b6e1.js +0 -3297
  44. package/dist/document-refresh-icon.entry-32c75418.js +0 -15
  45. package/dist/document-refresh-icon.entry-f15f795a.cjs +0 -1
  46. package/dist/dom-68f08be9.cjs +0 -15
  47. package/dist/dom-86e17616.js +0 -664
  48. package/dist/elements-dc5b338e-1f23530f.cjs +0 -16516
  49. package/dist/elements-dc5b338e-62fe1cf3.js +0 -28031
  50. package/dist/flow-40ff9cea-6f8c30e2.cjs +0 -9
  51. package/dist/flow-40ff9cea-ee70fdf5.js +0 -505
  52. package/dist/focus-visible-e8093c16-1f664070.js +0 -84
  53. package/dist/focus-visible-e8093c16-f0f05815.cjs +0 -1
  54. package/dist/forward-icon_6.entry-7fab04d7.js +0 -953
  55. package/dist/forward-icon_6.entry-ef5e2e0f.cjs +0 -3
  56. package/dist/globe-icon.entry-398a9826.cjs +0 -1
  57. package/dist/globe-icon.entry-b8e1efae.js +0 -15
  58. package/dist/google-logo-icon_4.entry-38d5c2f2.cjs +0 -1
  59. package/dist/google-logo-icon_4.entry-5eca9538.js +0 -381
  60. package/dist/index-93c50de4.cjs +0 -37
  61. package/dist/index-f93f6948.js +0 -4006
  62. package/dist/index.es-df564f87-b773d34f.js +0 -3137
  63. package/dist/index.es-df564f87-e4a4092a.cjs +0 -7
  64. package/dist/info-icon_2.entry-2eb70f49.cjs +0 -1
  65. package/dist/info-icon_2.entry-6bbfa6dc.js +0 -34
  66. package/dist/loading-icon.entry-b563b2e6.js +0 -15
  67. package/dist/loading-icon.entry-fb04b893.cjs +0 -1
  68. package/dist/mailbox-store-69c5c5f6-631eddb5.cjs +0 -1
  69. package/dist/mailbox-store-69c5c5f6-8ab4670b.js +0 -380
  70. package/dist/nylas-additional-participants.entry-33a45477.cjs +0 -1
  71. package/dist/nylas-additional-participants.entry-4b214308.js +0 -81
  72. package/dist/nylas-booked-event-card_10.entry-3e225025.cjs +0 -1
  73. package/dist/nylas-booked-event-card_10.entry-e93bc290.js +0 -782
  74. package/dist/nylas-form-card.entry-0748fdd5.js +0 -54
  75. package/dist/nylas-form-card.entry-eb3607bc.cjs +0 -1
  76. package/dist/nylas-if-state.entry-276d61ad.cjs +0 -1
  77. package/dist/nylas-if-state.entry-f8abd025.js +0 -94
  78. package/dist/nylas-list-folders.entry-78cc680e.js +0 -120
  79. package/dist/nylas-list-folders.entry-afe02f0e.cjs +0 -1
  80. package/dist/nylas-list-threads.entry-217088de.js +0 -70
  81. package/dist/nylas-list-threads.entry-6395c12f.cjs +0 -1
  82. package/dist/nylas-login.entry-e4d57589.js +0 -73
  83. package/dist/nylas-login.entry-ec81e21b.cjs +0 -1
  84. package/dist/nylas-mailbox-pagination.entry-069673aa.js +0 -101
  85. package/dist/nylas-mailbox-pagination.entry-d4d929f1.cjs +0 -1
  86. package/dist/nylas-mailbox-toolbar-button.entry-03c5f5c8.js +0 -82
  87. package/dist/nylas-mailbox-toolbar-button.entry-2b9e4431.cjs +0 -1
  88. package/dist/nylas-mailbox.entry-1342178d.cjs +0 -1
  89. package/dist/nylas-mailbox.entry-7e6b4791.js +0 -134
  90. package/dist/nylas-provider.entry-0ae8e70a.cjs +0 -1
  91. package/dist/nylas-provider.entry-498a7be9.js +0 -145
  92. package/dist/nylas-scheduler-editor.entry-4de2bb97.js +0 -2275
  93. package/dist/nylas-scheduler-editor.entry-72c91b7d.cjs +0 -7
  94. package/dist/nylas-scheduling.entry-1a004916.cjs +0 -1
  95. package/dist/nylas-scheduling.entry-4e18ab43.js +0 -235
  96. package/dist/nylas-threads-refresh.entry-d020c89e.cjs +0 -1
  97. package/dist/nylas-threads-refresh.entry-fc2d8028.js +0 -74
  98. package/dist/nylas-threads-search.entry-0abcbc10.cjs +0 -1
  99. package/dist/nylas-threads-search.entry-f92f7e30.js +0 -69
  100. package/dist/nylas-view-thread.entry-2f1474cf.js +0 -203
  101. package/dist/nylas-view-thread.entry-56080c89.cjs +0 -1
  102. package/dist/people-icon.entry-431e5044.cjs +0 -1
  103. package/dist/people-icon.entry-b4778e15.js +0 -15
  104. package/dist/play-icon_2.entry-24ffa01f.js +0 -25
  105. package/dist/play-icon_2.entry-f97db395.cjs +0 -1
  106. package/dist/react.cjs +0 -1
  107. package/dist/react.js +0 -98
  108. package/dist/refresh-icon.entry-8395104b.js +0 -15
  109. package/dist/refresh-icon.entry-cf4416b8.cjs +0 -1
  110. package/dist/register-component-b9cfcbaf-c0147194.js +0 -109
  111. package/dist/register-component-b9cfcbaf-d40e1f3c.cjs +0 -1
  112. package/dist/scheduler-config-store-07d98279-0610e42f.cjs +0 -1
  113. package/dist/scheduler-config-store-07d98279-3b70606c.js +0 -24
  114. package/dist/scheduler-store-24fd0e91-2dba20c2.cjs +0 -1
  115. package/dist/scheduler-store-24fd0e91-47098841.js +0 -302
  116. package/dist/time-period-selector.entry-1e849c2e.js +0 -76
  117. package/dist/time-period-selector.entry-d8f3462f.cjs +0 -1
  118. package/dist/translate-icon.entry-66533238.cjs +0 -1
  119. package/dist/translate-icon.entry-d847f706.js +0 -15
  120. package/dist/warning-icon.entry-1f0f00ed.cjs +0 -1
  121. package/dist/warning-icon.entry-b5db0151.js +0 -15
  122. /package/dist/{elements → types/elements}/index.d.ts +0 -0
  123. /package/dist/{elements → types/elements}/react-component-lib/createComponent.d.ts +0 -0
  124. /package/dist/{elements → types/elements}/react-component-lib/createOverlayComponent.d.ts +0 -0
  125. /package/dist/{elements → types/elements}/react-component-lib/index.d.ts +0 -0
  126. /package/dist/{elements → types/elements}/react-component-lib/interfaces.d.ts +0 -0
  127. /package/dist/{elements → types/elements}/react-component-lib/utils/attachProps.d.ts +0 -0
  128. /package/dist/{elements → types/elements}/react-component-lib/utils/case.d.ts +0 -0
  129. /package/dist/{elements → types/elements}/react-component-lib/utils/dev.d.ts +0 -0
  130. /package/dist/{elements → types/elements}/react-component-lib/utils/index.d.ts +0 -0
  131. /package/dist/{index.d.ts → types/index.d.ts} +0 -0
@@ -1,15 +0,0 @@
1
- import { r as t, h as e } from "./index-f93f6948.js";
2
- import "react";
3
- import "react-dom";
4
- const c = ".sc-document-refresh-icon-h{display:flex}", d = c, s = class {
5
- constructor(a) {
6
- t(this, a), this.width = "18", this.height = "18";
7
- }
8
- render() {
9
- return e("svg", { key: "a3053bd3d13a837950938ece6ddbe01039144e30", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: this.width, height: this.height }, e("rect", { key: "a84576d67949e16b509fab6baed89b6cd8120b28", id: "Canvas", fill: "#ff13dc", opacity: "0" }), e("path", { key: "00e92a704614a8690f2853d57d813b905bfbef2c", d: "M9.19763,12.26283A4.44131,4.44131,0,0,1,16.948,10.71741l.62524-.62524a.24433.24433,0,0,1,.1748-.07373.25035.25035,0,0,1,.252.24875v2.50143a.25.25,0,0,1-.25.25l-2.4995-.00016A.25088.25088,0,0,1,15,12.76721v-.00054a.24436.24436,0,0,1,.07373-.175l.86988-.86987a3.02827,3.02827,0,0,0-5.29847.71808.48835.48835,0,0,1-.46081.30981H9.55908a.37949.37949,0,0,1-.36145-.48686Z" }), e("path", { key: "33c4dfb07d0118088a615869e19b7f2d65dc9e6d", d: "M17.80237,14.77441A4.4413,4.4413,0,0,1,10.052,16.31982l-.62524.62524a.24429.24429,0,0,1-.1748.07373A.25036.25036,0,0,1,9,16.77V14.26863a.25.25,0,0,1,.25-.25l2.4995.00016A.25087.25087,0,0,1,12,14.27v.00052a.24434.24434,0,0,1-.07373.175l-.86988.86988a3.02828,3.02828,0,0,0,5.29847-.71808.48836.48836,0,0,1,.46081-.30982h.62525a.3795.3795,0,0,1,.36145.48687Z" }), e("path", { key: "b3966127005c056d0c95a13307ccf18cd2fb6651", d: "M7,13.5A6.5,6.5,0,0,1,13.5,7c.16883,0,.33447.01264.5.02527V5H9.5A.5.5,0,0,1,9,4.5V0H2.5A.5.5,0,0,0,2,.5v15a.5.5,0,0,0,.5.5H7.49981A6.4779,6.4779,0,0,1,7,13.5Z" }), e("path", { key: "84c8c1f068a86fc739e16ae7fab5c4a16cf5516f", d: "M10,0h.043a.5.5,0,0,1,.353.146L13.854,3.6A.5.5,0,0,1,14,3.957V4H10Z" }));
10
- }
11
- };
12
- s.style = d;
13
- export {
14
- s as document_refresh_icon
15
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-93c50de4.cjs");require("react");require("react-dom");const a=".sc-document-refresh-icon-h{display:flex}",d=a,t=class{constructor(c){e.registerInstance(this,c),this.width="18",this.height="18"}render(){return e.h("svg",{key:"a3053bd3d13a837950938ece6ddbe01039144e30",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",width:this.width,height:this.height},e.h("rect",{key:"a84576d67949e16b509fab6baed89b6cd8120b28",id:"Canvas",fill:"#ff13dc",opacity:"0"}),e.h("path",{key:"00e92a704614a8690f2853d57d813b905bfbef2c",d:"M9.19763,12.26283A4.44131,4.44131,0,0,1,16.948,10.71741l.62524-.62524a.24433.24433,0,0,1,.1748-.07373.25035.25035,0,0,1,.252.24875v2.50143a.25.25,0,0,1-.25.25l-2.4995-.00016A.25088.25088,0,0,1,15,12.76721v-.00054a.24436.24436,0,0,1,.07373-.175l.86988-.86987a3.02827,3.02827,0,0,0-5.29847.71808.48835.48835,0,0,1-.46081.30981H9.55908a.37949.37949,0,0,1-.36145-.48686Z"}),e.h("path",{key:"33c4dfb07d0118088a615869e19b7f2d65dc9e6d",d:"M17.80237,14.77441A4.4413,4.4413,0,0,1,10.052,16.31982l-.62524.62524a.24429.24429,0,0,1-.1748.07373A.25036.25036,0,0,1,9,16.77V14.26863a.25.25,0,0,1,.25-.25l2.4995.00016A.25087.25087,0,0,1,12,14.27v.00052a.24434.24434,0,0,1-.07373.175l-.86988.86988a3.02828,3.02828,0,0,0,5.29847-.71808.48836.48836,0,0,1,.46081-.30982h.62525a.3795.3795,0,0,1,.36145.48687Z"}),e.h("path",{key:"b3966127005c056d0c95a13307ccf18cd2fb6651",d:"M7,13.5A6.5,6.5,0,0,1,13.5,7c.16883,0,.33447.01264.5.02527V5H9.5A.5.5,0,0,1,9,4.5V0H2.5A.5.5,0,0,0,2,.5v15a.5.5,0,0,0,.5.5H7.49981A6.4779,6.4779,0,0,1,7,13.5Z"}),e.h("path",{key:"84c8c1f068a86fc739e16ae7fab5c4a16cf5516f",d:"M10,0h.043a.5.5,0,0,1,.353.146L13.854,3.6A.5.5,0,0,1,14,3.957V4H10Z"}))}};t.style=d;exports.document_refresh_icon=t;
@@ -1,15 +0,0 @@
1
- "use strict";(function(){var f=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));function h(e){var t=f.has(e);return e=/^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(e),!t&&e}function s(e){var t=e.isConnected;if(t!==void 0)return t;for(;e&&!(e.__CE_isImportDocument||e instanceof Document);)e=e.parentNode||(window.ShadowRoot&&e instanceof ShadowRoot?e.host:void 0);return!(!e||!(e.__CE_isImportDocument||e instanceof Document))}function m(e,t){for(;t&&t!==e&&!t.nextSibling;)t=t.parentNode;return t&&t!==e?t.nextSibling:null}function p(e,t,n){n=n===void 0?new Set:n;for(var r=e;r;){if(r.nodeType===Node.ELEMENT_NODE){var o=r;t(o);var i=o.localName;if(i==="link"&&o.getAttribute("rel")==="import"){if(r=o.import,r instanceof Node&&!n.has(r))for(n.add(r),r=r.firstChild;r;r=r.nextSibling)p(r,t,n);r=m(e,o);continue}else if(i==="template"){r=m(e,o);continue}if(o=o.__CE_shadowRoot)for(o=o.firstChild;o;o=o.nextSibling)p(o,t,n)}r=r.firstChild?r.firstChild:m(e,r)}}function d(e,t,n){e[t]=n}function _(){this.a=new Map,this.g=new Map,this.c=[],this.f=[],this.b=!1}function ot(e,t,n){e.a.set(t,n),e.g.set(n.constructorFunction,n)}function rt(e,t){e.b=!0,e.c.push(t)}function it(e,t){e.b=!0,e.f.push(t)}function O(e,t){e.b&&p(t,function(n){return C(e,n)})}function C(e,t){if(e.b&&!t.__CE_patched){t.__CE_patched=!0;for(var n=0;n<e.c.length;n++)e.c[n](t);for(n=0;n<e.f.length;n++)e.f[n](t)}}function w(e,t){var n=[];for(p(t,function(o){return n.push(o)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1?e.connectedCallback(r):S(e,r)}}function v(e,t){var n=[];for(p(t,function(o){return n.push(o)}),t=0;t<n.length;t++){var r=n[t];r.__CE_state===1&&e.disconnectedCallback(r)}}function E(e,t,n){n=n===void 0?{}:n;var r=n.u||new Set,o=n.i||function(l){return S(e,l)},i=[];if(p(t,function(l){if(l.localName==="link"&&l.getAttribute("rel")==="import"){var c=l.import;c instanceof Node&&(c.__CE_isImportDocument=!0,c.__CE_hasRegistry=!0),c&&c.readyState==="complete"?c.__CE_documentLoadHandled=!0:l.addEventListener("load",function(){var a=l.import;if(!a.__CE_documentLoadHandled){a.__CE_documentLoadHandled=!0;var u=new Set(r);u.delete(a),E(e,a,{u,i:o})}})}else i.push(l)},r),e.b)for(t=0;t<i.length;t++)C(e,i[t]);for(t=0;t<i.length;t++)o(i[t])}function S(e,t){if(t.__CE_state===void 0){var n=t.ownerDocument;if((n.defaultView||n.__CE_isImportDocument&&n.__CE_hasRegistry)&&(n=e.a.get(t.localName))){n.constructionStack.push(t);var r=n.constructorFunction;try{try{if(new r!==t)throw Error("The custom element constructor did not produce the element being upgraded.")}finally{n.constructionStack.pop()}}catch(l){throw t.__CE_state=2,l}if(t.__CE_state=1,t.__CE_definition=n,n.attributeChangedCallback)for(n=n.observedAttributes,r=0;r<n.length;r++){var o=n[r],i=t.getAttribute(o);i!==null&&e.attributeChangedCallback(t,o,null,i,null)}s(t)&&e.connectedCallback(t)}}}_.prototype.connectedCallback=function(e){var t=e.__CE_definition;t.connectedCallback&&t.connectedCallback.call(e)},_.prototype.disconnectedCallback=function(e){var t=e.__CE_definition;t.disconnectedCallback&&t.disconnectedCallback.call(e)},_.prototype.attributeChangedCallback=function(e,t,n,r,o){var i=e.__CE_definition;i.attributeChangedCallback&&-1<i.observedAttributes.indexOf(t)&&i.attributeChangedCallback.call(e,t,n,r,o)};function P(e){var t=document;this.c=e,this.a=t,this.b=void 0,E(this.c,this.a),this.a.readyState==="loading"&&(this.b=new MutationObserver(this.f.bind(this)),this.b.observe(this.a,{childList:!0,subtree:!0}))}function F(e){e.b&&e.b.disconnect()}P.prototype.f=function(e){var t=this.a.readyState;for(t!=="interactive"&&t!=="complete"||F(this),t=0;t<e.length;t++)for(var n=e[t].addedNodes,r=0;r<n.length;r++)E(this.c,n[r])};function lt(){var e=this;this.b=this.a=void 0,this.c=new Promise(function(t){e.b=t,e.a&&t(e.a)})}function I(e){if(e.a)throw Error("Already resolved.");e.a=void 0,e.b&&e.b(void 0)}function y(e){this.c=!1,this.a=e,this.j=new Map,this.f=function(t){return t()},this.b=!1,this.g=[],this.o=new P(e)}y.prototype.l=function(e,t){var n=this;if(!(t instanceof Function))throw new TypeError("Custom element constructors must be functions.");if(!h(e))throw new SyntaxError("The element name '"+e+"' is not valid.");if(this.a.a.get(e))throw Error("A custom element with name '"+e+"' has already been defined.");if(this.c)throw Error("A custom element is already being defined.");this.c=!0;try{var r=function(g){var N=o[g];if(N!==void 0&&!(N instanceof Function))throw Error("The '"+g+"' callback must be a function.");return N},o=t.prototype;if(!(o instanceof Object))throw new TypeError("The custom element constructor's prototype is not an object.");var i=r("connectedCallback"),l=r("disconnectedCallback"),c=r("adoptedCallback"),a=r("attributeChangedCallback"),u=t.observedAttributes||[]}catch{return}finally{this.c=!1}t={localName:e,constructorFunction:t,connectedCallback:i,disconnectedCallback:l,adoptedCallback:c,attributeChangedCallback:a,observedAttributes:u,constructionStack:[]},ot(this.a,e,t),this.g.push(t),this.b||(this.b=!0,this.f(function(){return st(n)}))},y.prototype.i=function(e){E(this.a,e)};function st(e){if(e.b!==!1){e.b=!1;for(var t=e.g,n=[],r=new Map,o=0;o<t.length;o++)r.set(t[o].localName,[]);for(E(e.a,document,{i:function(c){if(c.__CE_state===void 0){var a=c.localName,u=r.get(a);u?u.push(c):e.a.a.get(a)&&n.push(c)}}}),o=0;o<n.length;o++)S(e.a,n[o]);for(;0<t.length;){var i=t.shift();o=i.localName,i=r.get(i.localName);for(var l=0;l<i.length;l++)S(e.a,i[l]);(o=e.j.get(o))&&I(o)}}}y.prototype.get=function(e){if(e=this.a.a.get(e))return e.constructorFunction},y.prototype.m=function(e){if(!h(e))return Promise.reject(new SyntaxError("'"+e+"' is not a valid custom element name."));var t=this.j.get(e);return t||(t=new lt,this.j.set(e,t),this.a.a.get(e)&&!this.g.some(function(n){return n.localName===e})&&I(t)),t.c},y.prototype.s=function(e){F(this.o);var t=this.f;this.f=function(n){return e(function(){return t(n)})}},window.CustomElementRegistry=y,y.prototype.define=y.prototype.l,y.prototype.upgrade=y.prototype.i,y.prototype.get=y.prototype.get,y.prototype.whenDefined=y.prototype.m,y.prototype.polyfillWrapFlushCallback=y.prototype.s;var z=window.Document.prototype.createElement,U=window.Document.prototype.createElementNS,ct=window.Document.prototype.importNode,at=window.Document.prototype.prepend,ut=window.Document.prototype.append,pt=window.DocumentFragment.prototype.prepend,ft=window.DocumentFragment.prototype.append,B=window.Node.prototype.cloneNode,T=window.Node.prototype.appendChild,W=window.Node.prototype.insertBefore,j=window.Node.prototype.removeChild,V=window.Node.prototype.replaceChild,L=Object.getOwnPropertyDescriptor(window.Node.prototype,"textContent"),$=window.Element.prototype.attachShadow,M=Object.getOwnPropertyDescriptor(window.Element.prototype,"innerHTML"),x=window.Element.prototype.getAttribute,G=window.Element.prototype.setAttribute,J=window.Element.prototype.removeAttribute,D=window.Element.prototype.getAttributeNS,K=window.Element.prototype.setAttributeNS,Q=window.Element.prototype.removeAttributeNS,Y=window.Element.prototype.insertAdjacentElement,Z=window.Element.prototype.insertAdjacentHTML,ht=window.Element.prototype.prepend,dt=window.Element.prototype.append,k=window.Element.prototype.before,mt=window.Element.prototype.after,X=window.Element.prototype.replaceWith,q=window.Element.prototype.remove,gt=window.HTMLElement,H=Object.getOwnPropertyDescriptor(window.HTMLElement.prototype,"innerHTML"),tt=window.HTMLElement.prototype.insertAdjacentElement,et=window.HTMLElement.prototype.insertAdjacentHTML,nt=new function(){};function yt(){var e=b;window.HTMLElement=function(){function t(){var n=this.constructor,r=e.g.get(n);if(!r)throw Error("The custom element being constructed was not registered with `customElements`.");var o=r.constructionStack;if(o.length===0)return o=z.call(document,r.localName),Object.setPrototypeOf(o,n.prototype),o.__CE_state=1,o.__CE_definition=r,C(e,o),o;r=o.length-1;var i=o[r];if(i===nt)throw Error("The HTMLElement constructor was either called reentrantly for this constructor or called multiple times.");return o[r]=nt,Object.setPrototypeOf(i,n.prototype),C(e,i),i}return t.prototype=gt.prototype,Object.defineProperty(t.prototype,"constructor",{writable:!0,configurable:!0,enumerable:!1,value:t}),t}()}function R(e,t,n){function r(o){return function(i){for(var l=[],c=0;c<arguments.length;++c)l[c]=arguments[c];c=[];for(var a=[],u=0;u<l.length;u++){var g=l[u];if(g instanceof Element&&s(g)&&a.push(g),g instanceof DocumentFragment)for(g=g.firstChild;g;g=g.nextSibling)c.push(g);else c.push(g)}for(o.apply(this,l),l=0;l<a.length;l++)v(e,a[l]);if(s(this))for(l=0;l<c.length;l++)a=c[l],a instanceof Element&&w(e,a)}}n.h!==void 0&&(t.prepend=r(n.h)),n.append!==void 0&&(t.append=r(n.append))}function vt(){var e=b;d(Document.prototype,"createElement",function(t){if(this.__CE_hasRegistry){var n=e.a.get(t);if(n)return new n.constructorFunction}return t=z.call(this,t),C(e,t),t}),d(Document.prototype,"importNode",function(t,n){return t=ct.call(this,t,!!n),this.__CE_hasRegistry?E(e,t):O(e,t),t}),d(Document.prototype,"createElementNS",function(t,n){if(this.__CE_hasRegistry&&(t===null||t==="http://www.w3.org/1999/xhtml")){var r=e.a.get(n);if(r)return new r.constructorFunction}return t=U.call(this,t,n),C(e,t),t}),R(e,Document.prototype,{h:at,append:ut})}function wt(){function e(n,r){Object.defineProperty(n,"textContent",{enumerable:r.enumerable,configurable:!0,get:r.get,set:function(o){if(this.nodeType===Node.TEXT_NODE)r.set.call(this,o);else{var i=void 0;if(this.firstChild){var l=this.childNodes,c=l.length;if(0<c&&s(this)){i=Array(c);for(var a=0;a<c;a++)i[a]=l[a]}}if(r.set.call(this,o),i)for(o=0;o<i.length;o++)v(t,i[o])}}})}var t=b;d(Node.prototype,"insertBefore",function(n,r){if(n instanceof DocumentFragment){var o=Array.prototype.slice.apply(n.childNodes);if(n=W.call(this,n,r),s(this))for(r=0;r<o.length;r++)w(t,o[r]);return n}return o=s(n),r=W.call(this,n,r),o&&v(t,n),s(this)&&w(t,n),r}),d(Node.prototype,"appendChild",function(n){if(n instanceof DocumentFragment){var r=Array.prototype.slice.apply(n.childNodes);if(n=T.call(this,n),s(this))for(var o=0;o<r.length;o++)w(t,r[o]);return n}return r=s(n),o=T.call(this,n),r&&v(t,n),s(this)&&w(t,n),o}),d(Node.prototype,"cloneNode",function(n){return n=B.call(this,!!n),this.ownerDocument.__CE_hasRegistry?E(t,n):O(t,n),n}),d(Node.prototype,"removeChild",function(n){var r=s(n),o=j.call(this,n);return r&&v(t,n),o}),d(Node.prototype,"replaceChild",function(n,r){if(n instanceof DocumentFragment){var o=Array.prototype.slice.apply(n.childNodes);if(n=V.call(this,n,r),s(this))for(v(t,r),r=0;r<o.length;r++)w(t,o[r]);return n}o=s(n);var i=V.call(this,n,r),l=s(this);return l&&v(t,r),o&&v(t,n),l&&w(t,n),i}),L&&L.get?e(Node.prototype,L):rt(t,function(n){e(n,{enumerable:!0,configurable:!0,get:function(){for(var r=[],o=0;o<this.childNodes.length;o++){var i=this.childNodes[o];i.nodeType!==Node.COMMENT_NODE&&r.push(i.textContent)}return r.join("")},set:function(r){for(;this.firstChild;)j.call(this,this.firstChild);r!=null&&r!==""&&T.call(this,document.createTextNode(r))}})})}function Et(e){function t(r){return function(o){for(var i=[],l=0;l<arguments.length;++l)i[l]=arguments[l];l=[];for(var c=[],a=0;a<i.length;a++){var u=i[a];if(u instanceof Element&&s(u)&&c.push(u),u instanceof DocumentFragment)for(u=u.firstChild;u;u=u.nextSibling)l.push(u);else l.push(u)}for(r.apply(this,i),i=0;i<c.length;i++)v(e,c[i]);if(s(this))for(i=0;i<l.length;i++)c=l[i],c instanceof Element&&w(e,c)}}var n=Element.prototype;k!==void 0&&(n.before=t(k)),k!==void 0&&(n.after=t(mt)),X!==void 0&&d(n,"replaceWith",function(r){for(var o=[],i=0;i<arguments.length;++i)o[i]=arguments[i];i=[];for(var l=[],c=0;c<o.length;c++){var a=o[c];if(a instanceof Element&&s(a)&&l.push(a),a instanceof DocumentFragment)for(a=a.firstChild;a;a=a.nextSibling)i.push(a);else i.push(a)}for(c=s(this),X.apply(this,o),o=0;o<l.length;o++)v(e,l[o]);if(c)for(v(e,this),o=0;o<i.length;o++)l=i[o],l instanceof Element&&w(e,l)}),q!==void 0&&d(n,"remove",function(){var r=s(this);q.call(this),r&&v(e,this)})}function _t(){function e(o,i){Object.defineProperty(o,"innerHTML",{enumerable:i.enumerable,configurable:!0,get:i.get,set:function(l){var c=this,a=void 0;if(s(this)&&(a=[],p(this,function(N){N!==c&&a.push(N)})),i.set.call(this,l),a)for(var u=0;u<a.length;u++){var g=a[u];g.__CE_state===1&&r.disconnectedCallback(g)}return this.ownerDocument.__CE_hasRegistry?E(r,this):O(r,this),l}})}function t(o,i){d(o,"insertAdjacentElement",function(l,c){var a=s(c);return l=i.call(this,l,c),a&&v(r,c),s(l)&&w(r,c),l})}function n(o,i){function l(c,a){for(var u=[];c!==a;c=c.nextSibling)u.push(c);for(a=0;a<u.length;a++)E(r,u[a])}d(o,"insertAdjacentHTML",function(c,a){if(c=c.toLowerCase(),c==="beforebegin"){var u=this.previousSibling;i.call(this,c,a),l(u||this.parentNode.firstChild,this)}else if(c==="afterbegin")u=this.firstChild,i.call(this,c,a),l(this.firstChild,u);else if(c==="beforeend")u=this.lastChild,i.call(this,c,a),l(u||this.firstChild,null);else if(c==="afterend")u=this.nextSibling,i.call(this,c,a),l(this.nextSibling,u);else throw new SyntaxError("The value provided ("+String(c)+") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.")})}var r=b;$&&d(Element.prototype,"attachShadow",function(o){o=$.call(this,o);var i=r;if(i.b&&!o.__CE_patched){o.__CE_patched=!0;for(var l=0;l<i.c.length;l++)i.c[l](o)}return this.__CE_shadowRoot=o}),M&&M.get?e(Element.prototype,M):H&&H.get?e(HTMLElement.prototype,H):it(r,function(o){e(o,{enumerable:!0,configurable:!0,get:function(){return B.call(this,!0).innerHTML},set:function(i){var l=this.localName==="template",c=l?this.content:this,a=U.call(document,this.namespaceURI,this.localName);for(a.innerHTML=i;0<c.childNodes.length;)j.call(c,c.childNodes[0]);for(i=l?a.content:a;0<i.childNodes.length;)T.call(c,i.childNodes[0])}})}),d(Element.prototype,"setAttribute",function(o,i){if(this.__CE_state!==1)return G.call(this,o,i);var l=x.call(this,o);G.call(this,o,i),i=x.call(this,o),r.attributeChangedCallback(this,o,l,i,null)}),d(Element.prototype,"setAttributeNS",function(o,i,l){if(this.__CE_state!==1)return K.call(this,o,i,l);var c=D.call(this,o,i);K.call(this,o,i,l),l=D.call(this,o,i),r.attributeChangedCallback(this,i,c,l,o)}),d(Element.prototype,"removeAttribute",function(o){if(this.__CE_state!==1)return J.call(this,o);var i=x.call(this,o);J.call(this,o),i!==null&&r.attributeChangedCallback(this,o,i,null,null)}),d(Element.prototype,"removeAttributeNS",function(o,i){if(this.__CE_state!==1)return Q.call(this,o,i);var l=D.call(this,o,i);Q.call(this,o,i);var c=D.call(this,o,i);l!==c&&r.attributeChangedCallback(this,i,l,c,o)}),tt?t(HTMLElement.prototype,tt):Y?t(Element.prototype,Y):console.warn("Custom Elements: `Element#insertAdjacentElement` was not patched."),et?n(HTMLElement.prototype,et):Z?n(Element.prototype,Z):console.warn("Custom Elements: `Element#insertAdjacentHTML` was not patched."),R(r,Element.prototype,{h:ht,append:dt}),Et(r)}var A=window.customElements;if(!A||A.forcePolyfill||typeof A.define!="function"||typeof A.get!="function"){var b=new _;yt(),vt(),R(b,DocumentFragment.prototype,{h:pt,append:ft}),wt(),_t(),document.__CE_hasRegistry=!0;var Ct=new y(b);Object.defineProperty(window,"customElements",{configurable:!0,enumerable:!0,value:Ct})}}).call(self);typeof document.baseURI!="string"&&Object.defineProperty(Document.prototype,"baseURI",{enumerable:!0,configurable:!0,get:function(){var f=document.querySelector("base");return f&&f.href?f.href:document.URL}});typeof window.CustomEvent!="function"&&(window.CustomEvent=function(f,h){h=h||{bubbles:!1,cancelable:!1,detail:void 0};var s=document.createEvent("CustomEvent");return s.initCustomEvent(f,h.bubbles,h.cancelable,h.detail),s},window.CustomEvent.prototype=window.Event.prototype);(function(f,h,s){f.composedPath||(f.composedPath=function(){if(this.path)return this.path;var m=this.target;for(this.path=[];m.parentNode!==null;)this.path.push(m),m=m.parentNode;return this.path.push(h,s),this.path})})(Event.prototype,document,window);/*!
2
- Element.closest and Element.matches
3
- https://github.com/jonathantneal/closest
4
- Creative Commons Zero v1.0 Universal
5
- */(function(f){typeof f.matches!="function"&&(f.matches=f.msMatchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||function(h){h=(this.document||this.ownerDocument).querySelectorAll(h);for(var s=0;h[s]&&h[s]!==this;)++s;return!!h[s]}),typeof f.closest!="function"&&(f.closest=function(h){for(var s=this;s&&s.nodeType===1;){if(s.matches(h))return s;s=s.parentNode}return null})})(window.Element.prototype);/*!
6
- Element.getRootNode()
7
- */(function(f){function h(m){return m=s(m),m&&m.nodeType===11?h(m.host):m}function s(m){return m&&m.parentNode?s(m.parentNode):m}typeof f.getRootNode!="function"&&(f.getRootNode=function(m){return m&&m.composed?h(this):s(this)})})(Element.prototype);/*!
8
- Element.isConnected()
9
- */(function(f){"isConnected"in f||Object.defineProperty(f,"isConnected",{configurable:!0,enumerable:!0,get:function(){var h=this.getRootNode({composed:!0});return h&&h.nodeType===9}})})(Element.prototype);/*!
10
- Element.remove()
11
- */(function(f){f.forEach(function(h){h.hasOwnProperty("remove")||Object.defineProperty(h,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode!==null&&this.parentNode.removeChild(this)}})})})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);/*!
12
- Element.classList
13
- */(function(f){"classList"in f||Object.defineProperty(f,"classList",{get:function(){var h=this,s=(h.getAttribute("class")||"").replace(/^\s+|\s$/g,"").split(/\s+/g);function m(){s.length>0?h.setAttribute("class",s.join(" ")):h.removeAttribute("class")}return s[0]===""&&s.splice(0,1),s.toggle=function(p,d){d!==void 0?d?s.add(p):s.remove(p):s.indexOf(p)!==-1?s.splice(s.indexOf(p),1):s.push(p),m()},s.add=function(){for(var p=[].slice.call(arguments),d=0,_=p.length;d<_;d++)s.indexOf(p[d])===-1&&s.push(p[d]);m()},s.remove=function(){for(var p=[].slice.call(arguments),d=0,_=p.length;d<_;d++)s.indexOf(p[d])!==-1&&s.splice(s.indexOf(p[d]),1);m()},s.item=function(p){return s[p]},s.contains=function(p){return s.indexOf(p)!==-1},s.replace=function(p,d){s.indexOf(p)!==-1&&s.splice(s.indexOf(p),1,d),m()},s.value=h.getAttribute("class")||"",s}})})(Element.prototype);/*!
14
- DOMTokenList
15
- */(function(f){try{document.body.classList.add()}catch{var h=f.add,s=f.remove;f.add=function(){for(var p=0;p<arguments.length;p++)h.call(this,arguments[p])},f.remove=function(){for(var p=0;p<arguments.length;p++)s.call(this,arguments[p])}}})(DOMTokenList.prototype);