@verdocs/web-sdk 1.0.12 → 1.0.15

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 (160) hide show
  1. package/dist/cjs/{Content-e6f81563.js → Content-986f7a13.js} +15 -2
  2. package/dist/cjs/document-status-indicator.cjs.entry.js +2 -2
  3. package/dist/cjs/dropdown-menu.cjs.entry.js +2 -2
  4. package/dist/cjs/{index-2293949e.js → index-e2fb537e.js} +359 -8
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/org-popup.cjs.entry.js +2 -2
  7. package/dist/cjs/pdf-viewer.cjs.entry.js +6 -2
  8. package/dist/cjs/search-box.cjs.entry.js +22 -3
  9. package/dist/cjs/search-embed.cjs.entry.js +1 -1
  10. package/dist/cjs/search-quick-functions.cjs.entry.js +2 -2
  11. package/dist/cjs/search-recent.cjs.entry.js +3 -3
  12. package/dist/cjs/search-saved.cjs.entry.js +3 -3
  13. package/dist/cjs/search-starred.cjs.entry.js +6 -5
  14. package/dist/cjs/search-tabs.cjs.entry.js +2 -1
  15. package/dist/cjs/tags-indicator.cjs.entry.js +2 -2
  16. package/dist/cjs/template-card.cjs.entry.js +2 -2
  17. package/dist/cjs/toggle-icon-buttons.cjs.entry.js +2 -2
  18. package/dist/cjs/verdocs-web-sdk.cjs.js +2 -2
  19. package/dist/collection/api/endpoint.js +1 -0
  20. package/dist/collection/collection-manifest.json +1 -1
  21. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.css +10 -4
  22. package/dist/collection/components/controls/document-status-indicator/document-status-indicator.js +1 -2
  23. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.css +23 -19
  24. package/dist/collection/components/controls/dropdown-menu/dropdown-menu.js +1 -2
  25. package/dist/collection/components/controls/tags-indicator/tags-indicator.css +8 -2
  26. package/dist/collection/components/controls/tags-indicator/tags-indicator.js +1 -2
  27. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.css +18 -12
  28. package/dist/collection/components/controls/toggle-icon-buttons/toggle-icon-buttons.js +1 -2
  29. package/dist/collection/components/elements/org-popup/org-popup.css +17 -17
  30. package/dist/collection/components/elements/org-popup/org-popup.js +1 -2
  31. package/dist/collection/components/elements/search-box/close.svg +3 -0
  32. package/dist/collection/components/elements/search-box/search-box.css +70 -2
  33. package/dist/collection/components/elements/search-box/search-box.js +70 -4
  34. package/dist/collection/components/elements/search-box/search-box.stories.js +7 -9
  35. package/dist/collection/components/elements/search-box/search.svg +3 -0
  36. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.css +10 -12
  37. package/dist/collection/components/elements/search-quick-functions/search-quick-functions.js +1 -2
  38. package/dist/collection/components/elements/search-recent/search-recent.css +15 -22
  39. package/dist/collection/components/elements/search-recent/search-recent.js +1 -2
  40. package/dist/collection/components/elements/search-saved/search-saved.css +14 -20
  41. package/dist/collection/components/elements/search-saved/search-saved.js +1 -2
  42. package/dist/collection/components/elements/search-starred/search-starred.css +22 -40
  43. package/dist/collection/components/elements/search-starred/search-starred.js +31 -8
  44. package/dist/collection/components/elements/search-starred/search-starred.stories.js +13 -15
  45. package/dist/collection/components/elements/search-tabs/search-tabs.css +1 -1
  46. package/dist/collection/components/elements/search-tabs/search-tabs.js +8 -3
  47. package/dist/collection/components/elements/template-card/template-card.css +21 -13
  48. package/dist/collection/components/elements/template-card/template-card.js +2 -3
  49. package/dist/collection/components/embeds/search-embed/search-embed.css +1 -1
  50. package/dist/collection/components/embeds/search-embed/search-embed.js +1 -1
  51. package/dist/collection/components/pdf-viewer/pdf-viewer.css +7 -4
  52. package/dist/collection/components/pdf-viewer/pdf-viewer.js +2 -3
  53. package/dist/custom-elements/index.js +70 -45
  54. package/dist/custom-elements.json +266 -0
  55. package/dist/docs.json +69 -18
  56. package/dist/esm/{Content-0acef73b.js → Content-386637c8.js} +15 -2
  57. package/dist/esm/document-status-indicator.entry.js +2 -2
  58. package/dist/esm/dropdown-menu.entry.js +2 -2
  59. package/dist/esm/{index-69a4b693.js → index-183a8995.js} +359 -8
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/org-popup.entry.js +2 -2
  62. package/dist/esm/pdf-viewer.entry.js +6 -2
  63. package/dist/esm/search-box.entry.js +22 -3
  64. package/dist/esm/search-embed.entry.js +1 -1
  65. package/dist/esm/search-quick-functions.entry.js +2 -2
  66. package/dist/esm/search-recent.entry.js +3 -3
  67. package/dist/esm/search-saved.entry.js +3 -3
  68. package/dist/esm/search-starred.entry.js +6 -5
  69. package/dist/esm/search-tabs.entry.js +2 -1
  70. package/dist/esm/tags-indicator.entry.js +2 -2
  71. package/dist/esm/template-card.entry.js +2 -2
  72. package/dist/esm/toggle-icon-buttons.entry.js +2 -2
  73. package/dist/esm/verdocs-web-sdk.js +2 -2
  74. package/dist/esm-es5/{Content-0acef73b.js → Content-386637c8.js} +1 -1
  75. package/dist/esm-es5/document-status-indicator.entry.js +1 -1
  76. package/dist/esm-es5/dropdown-menu.entry.js +1 -1
  77. package/dist/esm-es5/index-183a8995.js +1 -0
  78. package/dist/esm-es5/loader.js +1 -1
  79. package/dist/esm-es5/org-popup.entry.js +1 -1
  80. package/dist/esm-es5/pdf-viewer.entry.js +2 -2
  81. package/dist/esm-es5/search-box.entry.js +1 -1
  82. package/dist/esm-es5/search-embed.entry.js +1 -1
  83. package/dist/esm-es5/search-quick-functions.entry.js +1 -1
  84. package/dist/esm-es5/search-recent.entry.js +1 -1
  85. package/dist/esm-es5/search-saved.entry.js +1 -1
  86. package/dist/esm-es5/search-starred.entry.js +1 -1
  87. package/dist/esm-es5/search-tabs.entry.js +1 -1
  88. package/dist/esm-es5/tags-indicator.entry.js +1 -1
  89. package/dist/esm-es5/template-card.entry.js +1 -1
  90. package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
  91. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  92. package/dist/types/api/endpoint.d.ts +1 -0
  93. package/dist/types/components/elements/search-box/search-box.d.ts +14 -0
  94. package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -2
  95. package/dist/types/components/elements/search-starred/search-starred.d.ts +10 -1
  96. package/dist/types/components/elements/search-starred/search-starred.stories.d.ts +2 -1
  97. package/dist/types/components/elements/search-tabs/search-tabs.d.ts +2 -0
  98. package/dist/types/components/elements/template-card/template-card.d.ts +1 -1
  99. package/dist/types/components.d.ts +13 -2
  100. package/dist/verdocs-web-sdk/p-153879ad.entry.js +1 -0
  101. package/dist/verdocs-web-sdk/{p-299c2e14.system.entry.js → p-1d1bc463.system.entry.js} +1 -1
  102. package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +1 -0
  103. package/dist/verdocs-web-sdk/{p-f6bd3c28.entry.js → p-2cec77cf.entry.js} +1 -1
  104. package/dist/verdocs-web-sdk/{p-79141dc5.entry.js → p-32a5788a.entry.js} +1 -1
  105. package/dist/verdocs-web-sdk/{p-23d40cb1.system.js → p-33f73371.system.js} +1 -1
  106. package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +1 -0
  107. package/dist/verdocs-web-sdk/{p-4ffe65f0.entry.js → p-36082c90.entry.js} +1 -1
  108. package/dist/verdocs-web-sdk/p-3a032151.entry.js +1 -0
  109. package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +1 -0
  110. package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +1 -0
  111. package/dist/verdocs-web-sdk/{p-d498562e.system.entry.js → p-4d4e090f.system.entry.js} +1 -1
  112. package/dist/verdocs-web-sdk/p-55660c24.entry.js +1 -0
  113. package/dist/verdocs-web-sdk/p-63107dd5.system.entry.js +1 -0
  114. package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +1 -0
  115. package/dist/verdocs-web-sdk/{p-4b97efc0.system.entry.js → p-6e033b90.system.entry.js} +1 -1
  116. package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +1 -0
  117. package/dist/verdocs-web-sdk/p-7ab216be.system.entry.js +1 -0
  118. package/dist/verdocs-web-sdk/{p-ea92818e.system.entry.js → p-7d10b067.system.entry.js} +2 -2
  119. package/dist/verdocs-web-sdk/p-89be87e5.js +1 -0
  120. package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +1 -0
  121. package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +1 -0
  122. package/dist/verdocs-web-sdk/p-9af63b8a.system.js +1 -0
  123. package/dist/verdocs-web-sdk/p-9da35744.entry.js +1 -0
  124. package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +1 -0
  125. package/dist/verdocs-web-sdk/p-b466e003.entry.js +1 -0
  126. package/dist/verdocs-web-sdk/p-bb99a203.entry.js +1 -0
  127. package/dist/verdocs-web-sdk/p-cbc784a6.system.js +1 -0
  128. package/dist/verdocs-web-sdk/{p-3b38a704.js → p-cf030985.js} +1 -1
  129. package/dist/verdocs-web-sdk/{p-f8532ba9.entry.js → p-d73f486f.entry.js} +2 -2
  130. package/dist/verdocs-web-sdk/p-dea09611.entry.js +1 -0
  131. package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +1 -0
  132. package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +1 -0
  133. package/dist/verdocs-web-sdk/verdocs-web-sdk.css +1 -0
  134. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  135. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  136. package/package.json +4 -2
  137. package/dist/esm-es5/index-69a4b693.js +0 -1
  138. package/dist/verdocs-web-sdk/p-0851fc9a.entry.js +0 -1
  139. package/dist/verdocs-web-sdk/p-09a2b37a.system.entry.js +0 -1
  140. package/dist/verdocs-web-sdk/p-0c7f99e4.system.entry.js +0 -1
  141. package/dist/verdocs-web-sdk/p-10b8a992.system.entry.js +0 -1
  142. package/dist/verdocs-web-sdk/p-16920169.js +0 -1
  143. package/dist/verdocs-web-sdk/p-1d99fd7e.entry.js +0 -1
  144. package/dist/verdocs-web-sdk/p-20def3b4.system.entry.js +0 -1
  145. package/dist/verdocs-web-sdk/p-3120e567.system.entry.js +0 -1
  146. package/dist/verdocs-web-sdk/p-496ff0a9.entry.js +0 -1
  147. package/dist/verdocs-web-sdk/p-52695ad1.system.entry.js +0 -1
  148. package/dist/verdocs-web-sdk/p-58183d59.system.entry.js +0 -1
  149. package/dist/verdocs-web-sdk/p-64b6c2b3.entry.js +0 -1
  150. package/dist/verdocs-web-sdk/p-7427f970.entry.js +0 -1
  151. package/dist/verdocs-web-sdk/p-7b071b76.system.js +0 -1
  152. package/dist/verdocs-web-sdk/p-83fe27d7.entry.js +0 -1
  153. package/dist/verdocs-web-sdk/p-918d1153.system.js +0 -1
  154. package/dist/verdocs-web-sdk/p-943c181c.entry.js +0 -1
  155. package/dist/verdocs-web-sdk/p-a10f4a2a.system.entry.js +0 -1
  156. package/dist/verdocs-web-sdk/p-acbc9fd7.system.entry.js +0 -1
  157. package/dist/verdocs-web-sdk/p-ad52e615.entry.js +0 -1
  158. package/dist/verdocs-web-sdk/p-af8bde91.entry.js +0 -1
  159. package/dist/verdocs-web-sdk/p-c9c2393e.entry.js +0 -1
  160. package/dist/verdocs-web-sdk/p-eaee7c4a.system.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-69a4b693.js";var searchBoxCss=":host{display:block}";var SearchBox=function(){function r(r){registerInstance(this,r)}r.prototype.render=function(){return h(Host,null,h("slot",null))};return r}();SearchBox.style=searchBoxCss;export{SearchBox as search_box};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-183a8995.js";var SearchIcon='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M23.4809 20.7176L17.9111 15.2536C19.0961 13.6368 19.727 11.6926 19.7128 9.70131C19.7201 7.53345 18.9846 5.42606 17.6244 3.71753C16.2642 2.009 14.3581 0.798456 12.2123 0.280282C10.0665 -0.237892 7.80552 -0.0336342 5.79227 0.86026C3.77902 1.75415 2.13038 3.28582 1.1111 5.20931C0.0918114 7.1328 -0.238985 9.33652 0.171813 11.4666C0.582612 13.5967 1.71117 15.5296 3.37628 16.9548C5.0414 18.3801 7.14646 19.2151 9.35344 19.3257C11.5604 19.4364 13.7413 18.8162 15.5458 17.5649L21.1372 23.05L21.1563 23.0663C21.4841 23.3487 21.9039 23.507 22.3401 23.5128C22.7823 23.5125 23.2063 23.3402 23.5191 23.0337V23.0337C23.6749 22.8812 23.7979 22.6995 23.8804 22.4993C23.963 22.2991 24.0036 22.0847 23.9997 21.8688C23.9959 21.6529 23.9477 21.44 23.858 21.2428C23.7683 21.0456 23.639 20.8682 23.4778 20.7212L23.4809 20.7176ZM14.5167 14.1975C13.4564 15.2349 12.0623 15.8797 10.5719 16.022C9.08145 16.1644 7.58681 15.7955 6.34249 14.9781C5.09816 14.1608 4.18109 12.9456 3.74751 11.5395C3.31393 10.1334 3.39064 8.6233 3.96455 7.26643C4.53846 5.90955 5.57409 4.7898 6.89507 4.09787C8.21606 3.40594 9.74071 3.18461 11.2093 3.4716C12.678 3.75858 13.9998 4.53612 14.9497 5.6718C15.8996 6.80748 16.4188 8.23105 16.4189 9.7001C16.4196 10.5357 16.2519 11.3632 15.9254 12.135C15.599 12.9069 15.1202 13.6078 14.5167 14.1975V14.1975Z" fill="white"/>\n</svg>\n';var CloseIcon='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.0739 11.7565L19.7127 6.23228C20.0875 5.85692 20.0875 5.25309 19.7127 4.87773L19.0213 4.20046C18.6382 3.82511 18.0219 3.82511 17.6387 4.20046L12 9.72472L6.36127 4.20046C5.97814 3.82511 5.36179 3.82511 4.97866 4.20046L4.28735 4.87773C3.90422 5.25309 3.90422 5.85692 4.28735 6.23228L9.92608 11.7565L4.28735 17.2808C3.90422 17.6561 3.90422 18.26 4.28735 18.6353L4.97866 19.3126C5.36179 19.688 5.97814 19.688 6.36127 19.3126L12 13.7883L17.6387 19.3126C18.0219 19.688 18.6382 19.688 19.0213 19.3126L19.7127 18.6353C20.0958 18.26 20.0958 17.6561 19.7127 17.2808L14.0739 11.7565Z" fill="white"/>\n</svg>\n';var searchBoxCss="search-box{font-family:sans-serif;font-family:var(--verdocs-font)}search-box form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:45px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0 0;border-radius:5px;-ms-flex-align:center;align-items:center;background-color:#fff;padding:0 8px;border-width:1px;border-style:solid;border-color:var(--verdocs-container-border-color)}search-box form input{-webkit-box-sizing:border-box;box-sizing:border-box;height:43px;width:100%;font-size:18px;border:none}search-box form button.search{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border:none;width:100px;height:28px;font-weight:700;font-size:10px;letter-spacing:1px;background-color:#50be80;text-transform:uppercase;color:#fff}search-box form .type{background-color:#707ae5;height:30px;display:-ms-inline-flexbox;display:inline-flex;padding:1px 0 2px 10px;font-size:13px;line-height:16px;border-radius:4px;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#fff;margin-right:10px}search-box form .type button{border:none;color:#fff;margin:5px 0 0 8px;background:transparent}search-box form svg{width:12px;height:12px;margin-right:6px}search-box ::-webkit-input-placeholder{color:#aeb4bf}search-box ::-moz-placeholder{color:#aeb4bf}search-box :-ms-input-placeholder{color:#aeb4bf}search-box ::-ms-input-placeholder{color:#aeb4bf}search-box ::placeholder{color:#aeb4bf}";var SearchBox=function(){function e(e){registerInstance(this,e);this.search=createEvent(this,"search",7);this.type="all"}e.prototype.handleSubmit=function(e){e.preventDefault();this.search.emit({type:this.type,q:this.q})};e.prototype.handleChange=function(e){this.q=e.target.value};e.prototype.render=function(){var e=this;return h(Host,null,h("form",{onSubmit:function(r){return e.handleSubmit(r)}},this.type!==undefined&&this.type!=="all"&&h("span",{class:"type"},this.type,"s ",h("button",{class:"remove",innerHTML:CloseIcon})),h("input",{type:"text",placeholder:"search documents, templates, people...",value:this.q,onInput:function(r){return e.handleChange(r)}}),h("button",{onClick:function(r){return e.handleSubmit(r)},class:"search"},h("span",{innerHTML:SearchIcon}),"Search")))};return e}();SearchBox.style=searchBoxCss;export{SearchBox as search_box};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-69a4b693.js";var searchEmbedCss=":host{display:block}";var SearchEmbed=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",null))};return e}();SearchEmbed.style=searchEmbedCss;export{SearchEmbed as search_embed};
1
+ import{r as registerInstance,h,H as Host}from"./index-183a8995.js";var searchEmbedCss=":host{display:block}";var SearchEmbed=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",null))};return e}();SearchEmbed.style=searchEmbedCss;export{SearchEmbed as search_embed};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-69a4b693.js";var TemplateIcon='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>';var DocumentIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var searchQuickFunctionsCss=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#50be50}button svg{fill:#ffffff}";var SearchQuickFunctions=function(){function e(e){registerInstance(this,e);this.createTemplate=createEvent(this,"createTemplate",7);this.createDocument=createEvent(this,"createDocument",7)}e.prototype.handleCreateTemplate=function(){this.createTemplate.emit()};e.prototype.handleCreateDocument=function(){this.createDocument.emit()};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Quick Create"),h("button",{onClick:function(){return e.handleCreateTemplate()},innerHTML:TemplateIcon},"Template"),h("button",{onClick:function(){return e.handleCreateDocument()},innerHTML:DocumentIcon},"Document")))};return e}();SearchQuickFunctions.style=searchQuickFunctionsCss;export{SearchQuickFunctions as search_quick_functions};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-183a8995.js";var TemplateIcon='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><g><rect fill="none" height="24" width="24"/><g><path d="M19,5v14H5V5H19 M19,3H5C3.9,3,3,3.9,3,5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3L19,3z"/></g><path d="M14,17H7v-2h7V17z M17,13H7v-2h10V13z M17,9H7V7h10V9z"/></g></svg>';var DocumentIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var searchQuickFunctionsCss="search-quick-functions{font-family:sans-serif;font-family:var(--verdocs-font)}search-quick-functions .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-quick-functions .title{font-size:22px;font-weight:700;line-height:30px;margin:1em 0 40px 0}search-quick-functions button{width:140px;height:40px;border:none;display:-ms-flexbox;display:flex;color:#ffffff;cursor:pointer;font-size:14px;font-weight:700;line-height:25px;-ms-flex-align:center;align-items:center;margin-bottom:20px;border-radius:5px;text-transform:uppercase;-ms-flex-pack:space-evenly;justify-content:space-evenly;background-color:#50be50}search-quick-functions button svg{fill:#ffffff}";var SearchQuickFunctions=function(){function e(e){registerInstance(this,e);this.createTemplate=createEvent(this,"createTemplate",7);this.createDocument=createEvent(this,"createDocument",7)}e.prototype.handleCreateTemplate=function(){this.createTemplate.emit()};e.prototype.handleCreateDocument=function(){this.createDocument.emit()};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Quick Create"),h("button",{onClick:function(){return e.handleCreateTemplate()},innerHTML:TemplateIcon},"Template"),h("button",{onClick:function(){return e.handleCreateDocument()},innerHTML:DocumentIcon},"Document")))};return e}();SearchQuickFunctions.style=searchQuickFunctionsCss;export{SearchQuickFunctions as search_quick_functions};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-69a4b693.js";import{g as getSearchHistory}from"./Content-0acef73b.js";var SearchIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var searchRecentCss=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.pill{font-size:14px;display:-ms-inline-flexbox;display:inline-flex;padding:3px 8px;border-radius:6px;margin-right:8px;background-color:#999999;color:#333}.empty{text-transform:none;line-height:22px;color:#ccc}";var SearchRecent=function(){function e(e){registerInstance(this,e);this.entrySelected=createEvent(this,"entrySelected",7);this.limit=10;this.recent=[]}e.prototype.componentDidLoad=function(){var e=this;getSearchHistory().then((function(t){e.recent=t.recent})).catch((function(e){return console.warn("[Verdocs/search-recent] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Recent Searches"),h("div",{class:"items"},this.recent.slice(0,this.limit).map((function(t){return h("button",{class:"button",innerHTML:SearchIcon,onClick:function(){return e.handleSelectEntry(t)}},t.params.type&&h("span",{class:"pill"},"type: ",t.params.type),t.params.q)})),this.recent.length<1&&h("div",{class:"empty"},"You do not have any recent searches."))))};return e}();SearchRecent.style=searchRecentCss;export{SearchRecent as search_recent};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-183a8995.js";import{g as getSearchHistory}from"./Content-386637c8.js";var SearchIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var searchRecentCss="search-recent{font-family:sans-serif;font-family:var(--verdocs-font)}search-recent .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-recent .title{font-size:22px;font-weight:700;line-height:30px}search-recent .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-recent .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-recent .button:hover{cursor:pointer}search-recent .button:not(:last-child){margin-bottom:36px}search-recent .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-recent .pill{font-size:14px;display:-ms-inline-flexbox;display:inline-flex;padding:3px 8px;border-radius:6px;margin-right:8px;background-color:#999999;color:#333}search-recent .empty{text-transform:none;line-height:22px;color:#ccc}";var SearchRecent=function(){function e(e){registerInstance(this,e);this.entrySelected=createEvent(this,"entrySelected",7);this.limit=10;this.recent=[]}e.prototype.componentDidLoad=function(){var e=this;getSearchHistory().then((function(t){e.recent=t.recent})).catch((function(e){return console.warn("[Verdocs/search-recent] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Recent Searches"),h("div",{class:"items"},this.recent.slice(0,this.limit).map((function(t){return h("button",{class:"button",innerHTML:SearchIcon,onClick:function(){return e.handleSelectEntry(t)}},t.params.type&&h("span",{class:"pill"},"type: ",t.params.type),t.params.q)})),this.recent.length<1&&h("div",{class:"empty"},"You do not have any recent searches."))))};return e}();SearchRecent.style=searchRecentCss;export{SearchRecent as search_recent};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host}from"./index-69a4b693.js";import{g as getSearchHistory}from"./Content-0acef73b.js";var SearchIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var searchSavedCss=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}.button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.button:hover{cursor:pointer}.button:not(:last-child){margin-bottom:36px}.button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}.empty{text-transform:none;line-height:22px;color:#ccc}";var SearchSaved=function(){function e(e){registerInstance(this,e);this.entrySelected=createEvent(this,"entrySelected",7);this.limit=10;this.saved=[]}e.prototype.componentDidLoad=function(){var e=this;getSearchHistory().then((function(t){e.saved=t.saved})).catch((function(e){return console.warn("[Verdocs/search-saved] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Saved Searches"),h("div",{class:"items"},this.saved.slice(0,this.limit).map((function(t){return h("button",{class:"button",innerHTML:SearchIcon,onClick:function(){return e.handleSelectEntry(t)}},t.name)})),this.saved.length<1&&h("div",{class:"empty"},"You do not have any saved searches."))))};return e}();SearchSaved.style=searchSavedCss;export{SearchSaved as search_saved};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-183a8995.js";import{g as getSearchHistory}from"./Content-386637c8.js";var SearchIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var searchSavedCss="search-saved{font-family:sans-serif;font-family:var(--verdocs-font)}search-saved .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-saved .title{font-size:22px;font-weight:700;line-height:30px}search-saved .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-saved .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-saved .button:hover{cursor:pointer}search-saved .button:not(:last-child){margin-bottom:36px}search-saved .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-saved .empty{text-transform:none;line-height:22px;color:#ccc}";var SearchSaved=function(){function e(e){registerInstance(this,e);this.entrySelected=createEvent(this,"entrySelected",7);this.limit=10;this.saved=[]}e.prototype.componentDidLoad=function(){var e=this;getSearchHistory().then((function(t){e.saved=t.saved})).catch((function(e){return console.warn("[Verdocs/search-saved] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"Saved Searches"),h("div",{class:"items"},this.saved.slice(0,this.limit).map((function(t){return h("button",{class:"button",innerHTML:SearchIcon,onClick:function(){return e.handleSelectEntry(t)}},t.name)})),this.saved.length<1&&h("div",{class:"empty"},"You do not have any saved searches."))))};return e}();SearchSaved.style=searchSavedCss;export{SearchSaved as search_saved};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-69a4b693.js";var DocumentIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var searchStarredCss=":host{display:block}.container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:#1e2031;text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}.title{font-size:22px;font-weight:700;line-height:30px}.items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;margin-top:20px}.item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}.item:hover{cursor:pointer}.icon{-ms-flex:0;flex:0;margin-right:14px}.icon svg{fill:#707ae5;width:22px;height:22px}.details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start}.item-title{font-size:16px;font-family:sans-serif;font-weight:400;color:#ffffff;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.info{font-size:14px;font-family:sans-serif;font-weight:500;line-height:23px;color:#aeb4bf;grid-column:2/10;grid-row:2}.empty{text-transform:none;line-height:22px;color:#ccc}";var SearchStarred=function(){function e(e){registerInstance(this,e)}e.prototype.handleSelectOption=function(e){console.log("option ",e," has been clicked!")};e.prototype.computePagesText=function(e){if(e<2){return e+" Page"}else{return e+" Pages"}};e.prototype.computeRecipientsText=function(e){if(typeof e==="object"){return e.join(", ")}else if(e>1){return e+" Recipients"}else{return e+" Recipient"}};e.prototype.render=function(){var e=this;var t,i;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"My Starred Items"),h("div",{class:"items"},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return h("button",{class:"item",onClick:function(){return e.handleSelectOption(t)}},h("div",{class:"icon",innerHTML:DocumentIcon}),h("div",{class:"details"},h("span",{class:"item-title"},t.params.q),h("span",{class:"info"},t.pages?e.computePagesText(t.pages)+" ":"",t.recipients?e.computeRecipientsText(t.recipients):"")))})),(((i=this.options)===null||i===void 0?void 0:i.length)||[])<1&&h("div",{class:"empty"},"You do not have any starred items."))))};return e}();SearchStarred.style=searchStarredCss;export{SearchStarred as search_starred};
1
+ import{r as registerInstance,c as createEvent,h,H as Host}from"./index-183a8995.js";var DocumentIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>';var searchStarredCss="search-starred{font-family:sans-serif;font-family:var(--verdocs-font)}search-starred .container{display:-ms-flexbox;display:flex;width:240px;color:#ffffff;-ms-flex-direction:column;flex-direction:column;text-transform:uppercase;padding:10px 10px 20px 10px;background-color:var(--verdocs-background-dark)}search-starred .title{font-size:22px;font-weight:700;line-height:30px}search-starred .items{display:-ms-flexbox;display:flex;margin-top:20px;-ms-flex-direction:column;flex-direction:column}search-starred .item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}search-starred .item:hover{cursor:pointer}search-starred .icon{-ms-flex:0 0 22px;flex:0 0 22px;margin-right:14px}search-starred .icon svg{fill:#707ae5;width:22px;height:22px}search-starred .details{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column}search-starred .item-title{font-size:16px;font-weight:400;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}search-starred .info{font-size:14px;font-weight:500;line-height:23px;color:#aeb4bf}search-starred .empty{text-transform:none;line-height:22px;color:#ccc}";var SearchStarred=function(){function e(e){registerInstance(this,e);this.entrySelected=createEvent(this,"entrySelected",7)}e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.computePagesText=function(e){if(e<2){return e+" Page"}else{return e+" Pages"}};e.prototype.computeRecipientsText=function(e){if(typeof e==="object"){return e.join(", ")}else if(e>1){return e+" Recipients"}else{return e+" Recipient"}};e.prototype.render=function(){var e=this;var t,r;return h(Host,null,h("div",{class:"container"},h("p",{class:"title"},"My Starred Items"),h("div",{class:"items"},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return h("button",{class:"item",onClick:function(){return e.handleSelectEntry(t)}},h("div",{class:"icon",innerHTML:DocumentIcon}),h("div",{class:"details"},h("div",{class:"item-title"},t.params.q),h("div",{class:"info"},t.pages?e.computePagesText(t.pages)+" ":"",t.recipients?e.computeRecipientsText(t.recipients):"")))})),(((r=this.options)===null||r===void 0?void 0:r.length)||[])<1&&h("div",{class:"empty"},"You do not have any starred items."))))};return e}();SearchStarred.style=searchStarredCss;export{SearchStarred as search_starred};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-69a4b693.js";var searchTabsCss=":host{display:block}";var SearchTabs=function(){function s(s){registerInstance(this,s)}s.prototype.render=function(){return h(Host,null,h("slot",null))};return s}();SearchTabs.style=searchTabsCss;export{SearchTabs as search_tabs};
1
+ import{r as registerInstance,h,H as Host}from"./index-183a8995.js";var searchTabsCss=":host{display:block}";var SearchTabs=function(){function s(s){registerInstance(this,s);this.selected="all"}s.prototype.render=function(){return h(Host,null,h("slot",null))};return s}();SearchTabs.style=searchTabsCss;export{SearchTabs as search_tabs};
@@ -1 +1 @@
1
- import{r as registerInstance,h}from"./index-69a4b693.js";var tagsIndicatorCss=".container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";var TagsIndicator=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){var e;return h("div",{class:"container"},(e=this.tags)===null||e===void 0?void 0:e.map((function(e){return h("span",{class:"tags"},e)})))};return e}();TagsIndicator.style=tagsIndicatorCss;export{TagsIndicator as tags_indicator};
1
+ import{r as registerInstance,h}from"./index-183a8995.js";var tagsIndicatorCss="tags-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}tags-indicator .container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}tags-indicator .tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";var TagsIndicator=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;return h("div",{class:"container"},(t=this.tags)===null||t===void 0?void 0:t.map((function(t){return h("span",{class:"tags"},t)})))};return t}();TagsIndicator.style=tagsIndicatorCss;export{TagsIndicator as tags_indicator};
@@ -1 +1 @@
1
- import{r as registerInstance,h,a as getAssetPath}from"./index-69a4b693.js";var EmailIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var ActionsIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var PagesIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var StarIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>';var templateCardCss=".container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}.template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}.template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}.template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}.template-org-name{margin-bottom:34px}.template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}hr{width:100%;margin-bottom:17px;color:#aeb4bf}.template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}.template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}.template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}.additional-controls svg{margin-right:0}.additional-controls{-ms-flex:1;flex:1}.pages,.star-counter,.counter{-ms-flex:2;flex:2}";var TemplateCard=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h("div",{class:"container"},h("div",{class:"template-img"},h("img",{src:getAssetPath("template-card/dummy-image.png"),alt:"Dummy Image"})),h("span",{class:"template-name"},this.template.name),h("span",{class:"template-org-bname"},this.template.organization_business_name),h("div",{class:"template-org-name"},h("input",{type:"checkbox",id:"org-name",name:"org-name",checked:true}),h("label",{htmlFor:"org-name"},this.template.organization_name)),h("hr",null),h("div",{class:"template-controls"},h("span",{class:"star-counter",innerHTML:StarIcon},this.template.star_counter),h("span",{class:"pages",innerHTML:PagesIcon},this.template.pages),h("span",{class:"counter",innerHTML:EmailIcon},this.template.counter),h("span",{class:"additional-controls",innerHTML:ActionsIcon})))};Object.defineProperty(t,"assetsDirs",{get:function(){return["template-card"]},enumerable:false,configurable:true});return t}();TemplateCard.style=templateCardCss;export{TemplateCard as template_card};
1
+ import{r as registerInstance,h,a as getAssetPath}from"./index-183a8995.js";var EmailIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>';var ActionsIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>';var PagesIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>';var StarIcon='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>';var templateCardCss="template-card{font-family:sans-serif;font-family:var(--verdocs-font)}template-card .container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}template-card .template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}template-card .template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}template-card .template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}template-card .template-org-name{margin-bottom:34px}template-card .template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}template-card hr{width:100%;margin-bottom:17px;color:#aeb4bf}template-card .template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}template-card .template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}template-card .template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}template-card .additional-controls svg{margin-right:0}template-card .additional-controls{-ms-flex:1;flex:1}template-card .pages,template-card .star-counter,template-card .counter{-ms-flex:2;flex:2}";var TemplateCard=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){return h("div",{class:"container"},h("div",{class:"template-img"},h("img",{src:getAssetPath("template-card/dummy-image.png"),alt:"Dummy Image"})),h("span",{class:"template-name"},this.template.name),h("span",{class:"template-org-bname"},this.template.organization_business_name),h("div",{class:"template-org-name"},h("input",{type:"checkbox",id:"org-name",name:"org-name",checked:true}),h("label",{htmlFor:"org-name"},this.template.organization_name)),h("hr",null),h("div",{class:"template-controls"},h("span",{class:"star-counter",innerHTML:StarIcon},this.template.star_counter),h("span",{class:"pages",innerHTML:PagesIcon},this.template.pages),h("span",{class:"counter",innerHTML:EmailIcon},this.template.counter),h("span",{class:"additional-controls",innerHTML:ActionsIcon})))};Object.defineProperty(t,"assetsDirs",{get:function(){return["template-card"]},enumerable:false,configurable:true});return t}();TemplateCard.style=templateCardCss;export{TemplateCard as template_card};
@@ -1 +1 @@
1
- import{r as registerInstance,h}from"./index-69a4b693.js";var toggleIconButtonsCss=".container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}.label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}.buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}.buttons button:not(:last-child){margin-right:11px}.buttons svg{width:30px;height:30px}.buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}.buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}.selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}.selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";var ToggleIconButtons=function(){function t(t){registerInstance(this,t)}t.prototype.handleClick=function(t){t.preventDefault();var n=t.target;if(n.matches("toggle-icon-buttons")){n=t.target.shadowRoot;var e=n.activeElement;var o=Array.from(e.parentElement.children).filter((function(t){return t!==e}));o.map((function(t){return t.classList.remove("selected")}));if(!e.classList.contains("selected")){e.classList.add("selected")}}};t.prototype.render=function(){var t=this;return h("div",{class:"container"},h("span",{class:"label"},this.options.label+":"),h("div",{class:"buttons"},this.options.buttons.map((function(n,e){return h("button",{id:n.id,key:n.id,innerHTML:n.icon,class:e===t.options.defaultSelection?"selected":""})}))))};return t}();ToggleIconButtons.style=toggleIconButtonsCss;export{ToggleIconButtons as toggle_icon_buttons};
1
+ import{r as registerInstance,h}from"./index-183a8995.js";var toggleIconButtonsCss="toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";var ToggleIconButtons=function(){function t(t){registerInstance(this,t)}t.prototype.handleClick=function(t){t.preventDefault();var o=t.target;if(o.matches("toggle-icon-buttons")){o=t.target.shadowRoot;var n=o.activeElement;var e=Array.from(n.parentElement.children).filter((function(t){return t!==n}));e.map((function(t){return t.classList.remove("selected")}));if(!n.classList.contains("selected")){n.classList.add("selected")}}};t.prototype.render=function(){var t=this;return h("div",{class:"container"},h("span",{class:"label"},this.options.label+":"),h("div",{class:"buttons"},this.options.buttons.map((function(o,n){return h("button",{id:o.id,key:o.id,innerHTML:o.icon,class:n===t.options.defaultSelection?"selected":""})}))))};return t}();ToggleIconButtons.style=toggleIconButtonsCss;export{ToggleIconButtons as toggle_icon_buttons};
@@ -1 +1 @@
1
- import{p as promiseResolve,b as bootstrapLazy}from"./index-69a4b693.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return bootstrapLazy([["document-status-indicator",[[1,"document-status-indicator",{status:[1],theme:[1]}]]],["dropdown-menu",[[1,"dropdown-menu",{options:[16],open:[4],tall:[4],isOpen:[32]}]]],["org-popup",[[1,"org-popup",{organization:[8],theme:[1]}]]],["pdf-viewer",[[1,"pdf-viewer",{rotation:[2],src:[1]}]]],["search-box",[[1,"search-box"]]],["search-embed",[[1,"search-embed"]]],["search-quick-functions",[[1,"search-quick-functions"]]],["search-recent",[[1,"search-recent",{limit:[2],recent:[32]}]]],["search-saved",[[1,"search-saved",{limit:[2],saved:[32]}]]],["search-starred",[[1,"search-starred",{options:[8]}]]],["search-tabs",[[1,"search-tabs"]]],["tags-indicator",[[1,"tags-indicator",{tags:[16],theme:[1]}]]],["template-card",[[1,"template-card",{template:[8],theme:[1]}]]],["toggle-icon-buttons",[[1,"toggle-icon-buttons",{options:[16],theme:[1]},[[6,"click","handleClick"]]]]]],e)}));
1
+ import{p as promiseResolve,b as bootstrapLazy}from"./index-183a8995.js";var patchBrowser=function(){var e=import.meta.url;var t={};if(e!==""){t.resourcesUrl=new URL(".",e).href}return promiseResolve(t)};patchBrowser().then((function(e){return bootstrapLazy([["document-status-indicator",[[0,"document-status-indicator",{status:[1],theme:[1]}]]],["dropdown-menu",[[0,"dropdown-menu",{options:[16],open:[4],tall:[4],isOpen:[32]}]]],["org-popup",[[0,"org-popup",{organization:[8],theme:[1]}]]],["pdf-viewer",[[0,"pdf-viewer",{rotation:[2],src:[1]}]]],["search-box",[[0,"search-box",{type:[1],q:[32]}]]],["search-embed",[[1,"search-embed"]]],["search-quick-functions",[[0,"search-quick-functions"]]],["search-recent",[[0,"search-recent",{limit:[2],recent:[32]}]]],["search-saved",[[0,"search-saved",{limit:[2],saved:[32]}]]],["search-starred",[[0,"search-starred",{options:[8]}]]],["search-tabs",[[4,"search-tabs",{selected:[32]}]]],["tags-indicator",[[0,"tags-indicator",{tags:[16],theme:[1]}]]],["template-card",[[0,"template-card",{template:[8],theme:[1]}]]],["toggle-icon-buttons",[[0,"toggle-icon-buttons",{options:[16],theme:[1]},[[6,"click","handleClick"]]]]]],e)}));
@@ -0,0 +1 @@
1
+ declare let verdocs: any;
@@ -1,3 +1,17 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare type TContentType = 'all' | 'document' | 'template' | 'organization';
3
+ export interface ISearchEvent {
4
+ q: string;
5
+ type: TContentType;
6
+ }
1
7
  export declare class SearchBox {
8
+ type: TContentType;
9
+ q: string;
10
+ /**
11
+ * Event fired when the query value has changed.
12
+ */
13
+ search: EventEmitter<ISearchEvent>;
14
+ handleSubmit(e: any): void;
15
+ handleChange(event: any): void;
2
16
  render(): any;
3
17
  }
@@ -1,6 +1,7 @@
1
1
  import { Meta } from '@storybook/web-components';
2
2
  declare const _default: Meta<import("@storybook/web-components").Args>;
3
3
  export default _default;
4
- export declare const Default: ({ options }: {
5
- options: any;
4
+ export declare const Default: ({ type, search }: {
5
+ type: any;
6
+ search: any;
6
7
  }) => import("lit-html").TemplateResult<1>;
@@ -1,6 +1,15 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { IRecentSearch } from '@verdocs/js-sdk/Search/Types';
3
+ /**
4
+ * Display a list of starred items.
5
+ */
1
6
  export declare class SearchStarred {
2
7
  options: any;
3
- handleSelectOption(option: any): void;
8
+ /**
9
+ * Event fired when an entry is clicked.
10
+ */
11
+ entrySelected: EventEmitter<IRecentSearch>;
12
+ handleSelectEntry(entry: any): void;
4
13
  computePagesText(pages: any): string;
5
14
  computeRecipientsText(recipients: any): any;
6
15
  render(): any;
@@ -4,6 +4,7 @@ declare const _default: Meta<import("@storybook/web-components").Args>;
4
4
  * Display a list of starred items (favorite templates).
5
5
  */
6
6
  export default _default;
7
- export declare const Default: ({ options }: {
7
+ export declare const Default: ({ options, entrySelected }: {
8
8
  options: any;
9
+ entrySelected: any;
9
10
  }) => import("lit-html").TemplateResult<1>;
@@ -1,3 +1,5 @@
1
+ export declare type TContentType = 'all' | 'document' | 'template' | 'organization';
1
2
  export declare class SearchTabs {
3
+ selected: TContentType;
2
4
  render(): any;
3
5
  }
@@ -13,6 +13,6 @@ export declare class TemplateCard {
13
13
  /**
14
14
  * The "theme" to be used
15
15
  */
16
- theme: "light" | "dark";
16
+ theme: 'light' | 'dark';
17
17
  render(): any;
18
18
  }
@@ -6,6 +6,7 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IMenuOption } from "./components/controls/dropdown-menu/dropdown-menu";
9
+ import { ISearchEvent, TContentType } from "./components/elements/search-box/search-box";
9
10
  import { IRecentSearch, ISavedSearch } from "@verdocs/js-sdk/Search/Types";
10
11
  import { IToggleIconButtons } from "./components/controls/toggle-icon-buttons/toggle-icon-buttons";
11
12
  export namespace Components {
@@ -54,6 +55,7 @@ export namespace Components {
54
55
  "src": string;
55
56
  }
56
57
  interface SearchBox {
58
+ "type": TContentType;
57
59
  }
58
60
  interface SearchEmbed {
59
61
  }
@@ -94,7 +96,7 @@ export namespace Components {
94
96
  /**
95
97
  * The "theme" to be used
96
98
  */
97
- "theme": "light" | "dark";
99
+ "theme": 'light' | 'dark';
98
100
  }
99
101
  interface ToggleIconButtons {
100
102
  /**
@@ -261,6 +263,11 @@ declare namespace LocalJSX {
261
263
  "src"?: string;
262
264
  }
263
265
  interface SearchBox {
266
+ /**
267
+ * Event fired when the query value has changed.
268
+ */
269
+ "onSearch"?: (event: CustomEvent<ISearchEvent>) => void;
270
+ "type"?: TContentType;
264
271
  }
265
272
  interface SearchEmbed {
266
273
  }
@@ -295,6 +302,10 @@ declare namespace LocalJSX {
295
302
  "onEntrySelected"?: (event: CustomEvent<ISavedSearch>) => void;
296
303
  }
297
304
  interface SearchStarred {
305
+ /**
306
+ * Event fired when an entry is clicked.
307
+ */
308
+ "onEntrySelected"?: (event: CustomEvent<IRecentSearch>) => void;
298
309
  "options"?: any;
299
310
  }
300
311
  interface SearchTabs {
@@ -317,7 +328,7 @@ declare namespace LocalJSX {
317
328
  /**
318
329
  * The "theme" to be used
319
330
  */
320
- "theme"?: "light" | "dark";
331
+ "theme"?: 'light' | 'dark';
321
332
  }
322
333
  interface ToggleIconButtons {
323
334
  /**
@@ -0,0 +1 @@
1
+ import{r as e,c as s,h as t,H as a}from"./p-89be87e5.js";import{g as r}from"./p-cf030985.js";let i=class{constructor(t){e(this,t),this.entrySelected=s(this,"entrySelected",7),this.limit=10,this.saved=[]}componentDidLoad(){r().then((e=>{this.saved=e.saved})).catch((e=>console.warn("[Verdocs/search-saved] Error getting search history",e)))}handleSelectEntry(e){this.entrySelected.emit(e)}render(){return t(a,null,t("div",{class:"container"},t("p",{class:"title"},"Saved Searches"),t("div",{class:"items"},this.saved.slice(0,this.limit).map((e=>t("button",{class:"button",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',onClick:()=>this.handleSelectEntry(e)},e.name))),this.saved.length<1&&t("div",{class:"empty"},"You do not have any saved searches."))))}};i.style="search-saved{font-family:sans-serif;font-family:var(--verdocs-font)}search-saved .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-saved .title{font-size:22px;font-weight:700;line-height:30px}search-saved .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-saved .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-saved .button:hover{cursor:pointer}search-saved .button:not(:last-child){margin-bottom:36px}search-saved .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-saved .empty{text-transform:none;line-height:22px;color:#ccc}";export{i as search_saved}
@@ -1 +1 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};System.register(["./p-7b071b76.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.c;n=e.h}],execute:function(){var o="top";var a="bottom";var i="right";var s="left";var f="auto";var u=[o,a,i,s];var c="start";var p="end";var l="clippingParents";var d="viewport";var v="popper";var h="reference";var m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+p])}),[]);var g=[].concat(u,[f]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+p])}),[]);var b="beforeRead";var y="read";var w="afterRead";var x="beforeMain";var O="main";var j="afterMain";var k="beforeWrite";var D="write";var E="afterWrite";var _=[b,y,w,x,O,j,k,D,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=A(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=A(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=A(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var o=t.elements[e];if(!B(o)||!M(o)){return}Object.assign(o.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){o.removeAttribute(e)}else{o.setAttribute(e,t===true?"":t)}}))}))}function H(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var o=t.attributes[e]||{};var a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var i=a.reduce((function(e,t){e[t]="";return e}),{});if(!B(n)||!M(n)){return}Object.assign(n.style,i);Object.keys(o).forEach((function(e){n.removeAttribute(e)}))}))}}var S={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:H,requires:["computeStyles"]};function R(e){return e.split("-")[0]}function T(e,t){var r=e.getBoundingClientRect();var n=1;var o=1;return{width:r.width/n,height:r.height/o,top:r.top/o,right:r.right/n,bottom:r.bottom/o,left:r.left/n,x:r.left/n,y:r.top/o}}function C(e){var t=T(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function q(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return A(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(M(e))>=0}function z(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||z(e)}function U(e){if(!B(e)||N(e).position==="fixed"){return null}return e.offsetParent}function Y(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&B(e)){var n=N(e);if(n.position==="fixed"){return null}}var o=I(e);while(B(o)&&["html","body"].indexOf(M(o))<0){var a=N(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none"){return o}else{o=o.parentNode}}return null}function F(e){var t=A(e);var r=U(e);while(r&&V(r)&&N(r).position==="static"){r=U(r)}if(r&&(M(r)==="html"||M(r)==="body"&&N(r).position==="static")){return t}return r||Y(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var G=Math.max;var J=Math.min;var K=Math.round;function Q(e,t,r){return G(e,J(t,r))}function Z(){return{top:0,right:0,bottom:0,left:0}}function $(e){return Object.assign({},Z(),e)}function ee(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var te=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return $(typeof t!=="number"?t:ee(t,u))};function re(e){var t;var r=e.state,n=e.name,f=e.options;var u=r.elements.arrow;var c=r.modifiersData.popperOffsets;var p=R(r.placement);var l=X(p);var d=[s,i].indexOf(p)>=0;var v=d?"height":"width";if(!u||!c){return}var h=te(f.padding,r);var m=C(u);var g=l==="y"?o:s;var b=l==="y"?a:i;var y=r.rects.reference[v]+r.rects.reference[l]-c[l]-r.rects.popper[v];var w=c[l]-r.rects.reference[l];var x=F(u);var O=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=y/2-w/2;var k=h[g];var D=O-m[v]-h[b];var E=O/2-m[v]/2+j;var _=Q(k,E,D);var M=l;r.modifiersData[n]=(t={},t[M]=_,t.centerOffset=_-E,t)}function ne(e){var t=e.state,r=e.options;var n=r.element,o=n===void 0?"[data-popper-arrow]":n;if(o==null){return}if(typeof o==="string"){o=t.elements.popper.querySelector(o);if(!o){return}}if(!q(t.elements.popper,o)){return}t.elements.arrow=o}var oe={name:"arrow",enabled:true,phase:"main",fn:re,effect:ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t=e.x,r=e.y;var n=window;var o=n.devicePixelRatio||1;return{x:K(K(t*o)/o)||0,y:K(K(r*o)/o)||0}}function fe(e){var t;var r=e.popper,n=e.popperRect,f=e.placement,u=e.variation,c=e.offsets,l=e.position,d=e.gpuAcceleration,v=e.adaptive,h=e.roundOffsets;var m=h===true?se(c):typeof h==="function"?h(c):c,g=m.x,b=g===void 0?0:g,y=m.y,w=y===void 0?0:y;var x=c.hasOwnProperty("x");var O=c.hasOwnProperty("y");var j=s;var k=o;var D=window;if(v){var E=F(r);var _="clientHeight";var M="clientWidth";if(E===A(r)){E=z(r);if(N(E).position!=="static"&&l==="absolute"){_="scrollHeight";M="scrollWidth"}}E=E;if(f===o||(f===s||f===i)&&u===p){k=a;w-=E[_]-n.height;w*=d?1:-1}if(f===s||(f===o||f===a)&&u===p){j=i;b-=E[M]-n.width;b*=d?1:-1}}var L=Object.assign({position:l},v&&ie);if(d){var B;return Object.assign({},L,(B={},B[k]=O?"0":"",B[j]=x?"0":"",B.transform=(D.devicePixelRatio||1)<=1?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",B))}return Object.assign({},L,(t={},t[k]=O?w+"px":"",t[j]=x?b+"px":"",t.transform="",t))}function ue(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,o=n===void 0?true:n,a=r.adaptive,i=a===void 0?true:a,s=r.roundOffsets,f=s===void 0?true:s;var u={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:ue,data:{}};var pe={passive:true};function le(e){var t=e.state,r=e.instance,n=e.options;var o=n.scroll,a=o===void 0?true:o,i=n.resize,s=i===void 0?true:i;var f=A(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(a){u.forEach((function(e){e.addEventListener("scroll",r.update,pe)}))}if(s){f.addEventListener("resize",r.update,pe)}return function(){if(a){u.forEach((function(e){e.removeEventListener("scroll",r.update,pe)}))}if(s){f.removeEventListener("resize",r.update,pe)}}}var de={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:le,data:{}};var ve={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return ve[e]}))}var me={start:"end",end:"start"};function ge(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function be(e){var t=A(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return T(z(e)).left+be(e).scrollLeft}function we(e){var t=A(e);var r=z(e);var n=t.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var i=0;var s=0;if(n){o=n.width;a=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){i=n.offsetLeft;s=n.offsetTop}}return{width:o,height:a,x:i+ye(e),y:s}}function xe(e){var t;var r=z(e);var n=be(e);var o=(t=e.ownerDocument)==null?void 0:t.body;var a=G(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0);var i=G(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);var s=-n.scrollLeft+ye(e);var f=-n.scrollTop;if(N(o||r).direction==="rtl"){s+=G(r.clientWidth,o?o.clientWidth:0)-a}return{width:a,height:i,x:s,y:f}}function Oe(e){var t=N(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function je(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(B(e)&&Oe(e)){return e}return je(I(e))}function ke(e,t){var r;if(t===void 0){t=[]}var n=je(e);var o=n===((r=e.ownerDocument)==null?void 0:r.body);var a=A(n);var i=o?[a].concat(a.visualViewport||[],Oe(n)?n:[]):n;var s=t.concat(i);return o?s:s.concat(ke(I(i)))}function De(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ee(e){var t=T(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function _e(e,t){return t===d?De(we(e)):B(t)?Ee(t):De(xe(z(e)))}function Me(e){var t=ke(I(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&B(e)?F(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&q(e,n)&&M(e)!=="body"}))}function Ae(e,t,r){var n=t==="clippingParents"?Me(e):[].concat(t);var o=[].concat(n,[r]);var a=o[0];var i=o.reduce((function(t,r){var n=_e(e,r);t.top=G(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=G(n.left,t.left);return t}),_e(e,a));i.width=i.right-i.left;i.height=i.bottom-i.top;i.x=i.left;i.y=i.top;return i}function Le(e){var t=e.reference,r=e.element,n=e.placement;var f=n?R(n):null;var u=n?ae(n):null;var l=t.x+t.width/2-r.width/2;var d=t.y+t.height/2-r.height/2;var v;switch(f){case o:v={x:l,y:t.y-r.height};break;case a:v={x:l,y:t.y+t.height};break;case i:v={x:t.x+t.width,y:d};break;case s:v={x:t.x-r.width,y:d};break;default:v={x:t.x,y:t.y}}var h=f?X(f):null;if(h!=null){var m=h==="y"?"height":"width";switch(u){case c:v[h]=v[h]-(t[m]/2-r[m]/2);break;case p:v[h]=v[h]+(t[m]/2-r[m]/2);break}}return v}function Be(e,t){if(t===void 0){t={}}var r=t,n=r.placement,s=n===void 0?e.placement:n,f=r.boundary,c=f===void 0?l:f,p=r.rootBoundary,m=p===void 0?d:p,g=r.elementContext,b=g===void 0?v:g,y=r.altBoundary,w=y===void 0?false:y,x=r.padding,O=x===void 0?0:x;var j=$(typeof O!=="number"?O:ee(O,u));var k=b===v?h:v;var D=e.rects.popper;var E=e.elements[w?k:b];var _=Ae(L(E)?E:E.contextElement||z(e.elements.popper),c,m);var M=T(e.elements.reference);var A=Le({reference:M,element:D,strategy:"absolute",placement:s});var B=De(Object.assign({},D,A));var P=b===v?B:M;var W={top:_.top-P.top+j.top,bottom:P.bottom-_.bottom+j.bottom,left:_.left-P.left+j.left,right:P.right-_.right+j.right};var H=e.modifiersData.offset;if(b===v&&H){var S=H[s];Object.keys(W).forEach((function(e){var t=[i,a].indexOf(e)>=0?1:-1;var r=[o,a].indexOf(e)>=0?"y":"x";W[e]+=S[r]*t}))}return W}function Pe(e,t){if(t===void 0){t={}}var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,c=f===void 0?g:f;var p=ae(n);var l=p?s?m:m.filter((function(e){return ae(e)===p})):u;var d=l.filter((function(e){return c.indexOf(e)>=0}));if(d.length===0){d=l}var v=d.reduce((function(t,r){t[r]=Be(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[R(r)];return t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function We(e){if(R(e)===f){return[]}var t=he(e);return[ge(e),t,ge(t)]}function He(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var u=r.mainAxis,p=u===void 0?true:u,l=r.altAxis,d=l===void 0?true:l,v=r.fallbackPlacements,h=r.padding,m=r.boundary,g=r.rootBoundary,b=r.altBoundary,y=r.flipVariations,w=y===void 0?true:y,x=r.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var k=j===O;var D=v||(k||!w?[he(O)]:We(O));var E=[O].concat(D).reduce((function(e,r){return e.concat(R(r)===f?Pe(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var _=t.rects.reference;var M=t.rects.popper;var A=new Map;var L=true;var B=E[0];for(var P=0;P<E.length;P++){var W=E[P];var H=R(W);var S=ae(W)===c;var T=[o,a].indexOf(H)>=0;var C=T?"width":"height";var q=Be(t,{placement:W,boundary:m,rootBoundary:g,altBoundary:b,padding:h});var N=T?S?i:s:S?a:o;if(_[C]>M[C]){N=he(N)}var V=he(N);var z=[];if(p){z.push(q[H]<=0)}if(d){z.push(q[N]<=0,q[V]<=0)}if(z.every((function(e){return e}))){B=W;L=false;break}A.set(W,z)}if(L){var I=w?3:1;var U=function e(t){var r=E.find((function(e){var r=A.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){B=r;return"break"}};for(var Y=I;Y>0;Y--){var F=U(Y);if(F==="break")break}}if(t.placement!==B){t.modifiersData[n]._skip=true;t.placement=B;t.reset=true}}var Se={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Re(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[o,i,a,s].some((function(t){return e[t]>=0}))}function Ce(e){var t=e.state,r=e.name;var n=t.rects.reference;var o=t.rects.popper;var a=t.modifiersData.preventOverflow;var i=Be(t,{elementContext:"reference"});var s=Be(t,{altBoundary:true});var f=Re(i,n);var u=Re(s,o,a);var c=Te(f);var p=Te(u);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var qe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ne(e,t,r){var n=R(e);var a=[s,o].indexOf(n)>=0?-1:1;var f=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,u=f[0],c=f[1];u=u||0;c=(c||0)*a;return[s,i].indexOf(n)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var o=r.offset,a=o===void 0?[0,0]:o;var i=g.reduce((function(e,r){e[r]=Ne(r,t.rects,a);return e}),{});var s=i[t.placement],f=s.x,u=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=i}var ze={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ye(e){return e==="x"?"y":"x"}function Fe(e){var t=e.state,r=e.options,n=e.name;var f=r.mainAxis,u=f===void 0?true:f,p=r.altAxis,l=p===void 0?false:p,d=r.boundary,v=r.rootBoundary,h=r.altBoundary,m=r.padding,g=r.tether,b=g===void 0?true:g,y=r.tetherOffset,w=y===void 0?0:y;var x=Be(t,{boundary:d,rootBoundary:v,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var k=!j;var D=X(O);var E=Ye(D);var _=t.modifiersData.popperOffsets;var M=t.rects.reference;var A=t.rects.popper;var L=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var B={x:0,y:0};if(!_){return}if(u||l){var P=D==="y"?o:s;var W=D==="y"?a:i;var H=D==="y"?"height":"width";var S=_[D];var T=_[D]+x[P];var q=_[D]-x[W];var N=b?-A[H]/2:0;var V=j===c?M[H]:A[H];var z=j===c?-A[H]:-M[H];var I=t.elements.arrow;var U=b&&I?C(I):{width:0,height:0};var Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z();var K=Y[P];var $=Y[W];var ee=Q(0,M[H],U[H]);var te=k?M[H]/2-N-ee-K-L:V-ee-K-L;var re=k?-M[H]/2+N+ee+$+L:z+ee+$+L;var ne=t.elements.arrow&&F(t.elements.arrow);var oe=ne?D==="y"?ne.clientTop||0:ne.clientLeft||0:0;var ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][D]:0;var se=_[D]+te-ie-oe;var fe=_[D]+re-ie;if(u){var ue=Q(b?J(T,se):T,S,b?G(q,fe):q);_[D]=ue;B[D]=ue-S}if(l){var ce=D==="x"?o:s;var pe=D==="x"?a:i;var le=_[E];var de=le+x[ce];var ve=le-x[pe];var he=Q(b?J(de,se):de,le,b?G(ve,fe):ve);_[E]=he;B[E]=he-le}}t.modifiersData[n]=B}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:Fe,requiresIfExists:["offset"]};function Ge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Je(e){if(e===A(e)||!B(e)){return be(e)}else{return Ge(e)}}function Ke(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Qe(e,t,r){if(r===void 0){r=false}var n=B(t);B(t)&&Ke(t);var o=z(t);var a=T(e);var i={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||Oe(o)){i=Je(t)}if(B(t)){s=T(t);s.x+=t.clientLeft;s.y+=t.clientTop}else if(o){s.x=ye(o)}}return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Ze(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function o(e){r.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){o(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){o(e)}}));return n}function $e(e){var t=Ze(e);return _.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function et(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function tt(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function ot(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?rt:o;return function e(t,r,o){if(o===void 0){o=a}var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,a),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var u={state:i,setOptions:function e(o){var s=typeof o==="function"?o(i.options):o;p();i.options=Object.assign({},a,i.options,s);i.scrollParents={reference:L(t)?ke(t):t.contextElement?ke(t.contextElement):[],popper:ke(r)};var f=$e(tt([].concat(n,i.options.modifiers)));i.orderedModifiers=f.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(f){return}var t=i.elements,r=t.reference,n=t.popper;if(!nt(r,n)){return}i.rects={reference:Qe(r,F(n),i.options.strategy==="fixed"),popper:C(n)};i.reset=false;i.placement=i.options.placement;i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<i.orderedModifiers.length;o++){if(i.reset===true){i.reset=false;o=-1;continue}var a=i.orderedModifiers[o],s=a.fn,c=a.options,p=c===void 0?{}:c,l=a.name;if(typeof s==="function"){i=s({state:i,options:p,name:l,instance:u})||i}}},update:et((function(){return new Promise((function(e){u.forceUpdate();e(i)}))})),destroy:function e(){p();f=true}};if(!nt(t,r)){return u}u.setOptions(o).then((function(e){if(!f&&o.onFirstUpdate){o.onFirstUpdate(e)}}));function c(){i.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,o=e.effect;if(typeof o==="function"){var a=o({state:i,name:t,instance:u,options:n});var f=function e(){};s.push(a||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return u}}var at=[de,Ue,ce,S,ze,Se,Xe,oe,qe];var it=ot({defaultModifiers:at});var st='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>\n';var ft=":host{display:block;position:relative}:host([tall]){height:160px}.arrow{width:32px;height:26px;background:#fff;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;-ms-flex-pack:center;justify-content:center}.arrow svg{fill:#50be80;-webkit-transition:0.3s;transition:0.3s}.items{width:200px;display:none;border-radius:5px;background:#33364b;border:1px solid #654dcb}.items[data-show]{display:block}.option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}.option:hover{cursor:pointer;background:#50be80}.option[disabled]{color:#aaa}.option[disabled]:hover{color:#aaa;cursor:inherit;background:transparent}.open .items{display:block}.open .arrow{background:#4c56cb;border:1px solid #707ae5}.open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}";var ut=e("dropdown_menu",function(){function e(e){t(this,e);this.optionSelected=r(this,"optionSelected",7);this.options=[]}e.prototype.componentWillLoad=function(){this.isOpen=!!this.open};e.prototype.componentDidLoad=function(){this.popper=it(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]})};e.prototype.handleSelectOption=function(e){this.isOpen=false;this.optionSelected.emit(e)};e.prototype.showDropdown=function(){var e,t;this.isOpen=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:true}])})}));(t=this.popper)===null||t===void 0?void 0:t.update()};e.prototype.hideDropdown=function(){var e;this.isOpen=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:false}])})}))};e.prototype.toggleDropdown=function(){if(this.isOpen){this.hideDropdown()}else{this.showDropdown()}};e.prototype.render=function(){var e=this;var t;return n("div",{class:{open:!!this.isOpen}},n("button",{class:"arrow",innerHTML:st,"aria-label":"Open Menu",onClick:function(){return e.toggleDropdown()},onBlur:function(){return e.hideDropdown()},ref:function(t){return e.dropdownButton=t}}),n("div",{class:"items","aria-hidden":!this.open,ref:function(t){return e.dropdownMenu=t}},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return n("button",{onClick:function(){return e.handleSelectOption(t)},class:"option",disabled:t.disabled},t.label)}))))};return e}());ut.style=ft}}}));
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.c;n=e.h}],execute:function(){var o="top";var a="bottom";var i="right";var s="left";var f="auto";var u=[o,a,i,s];var c="start";var p="end";var d="clippingParents";var l="viewport";var v="popper";var h="reference";var m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+p])}),[]);var g=[].concat(u,[f]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+p])}),[]);var b="beforeRead";var y="read";var w="afterRead";var x="beforeMain";var O="main";var j="afterMain";var D="beforeWrite";var k="write";var E="afterWrite";var _=[b,y,w,x,O,j,D,k,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=A(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=A(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=A(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var o=t.elements[e];if(!B(o)||!M(o)){return}Object.assign(o.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){o.removeAttribute(e)}else{o.setAttribute(e,t===true?"":t)}}))}))}function H(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var o=t.attributes[e]||{};var a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var i=a.reduce((function(e,t){e[t]="";return e}),{});if(!B(n)||!M(n)){return}Object.assign(n.style,i);Object.keys(o).forEach((function(e){n.removeAttribute(e)}))}))}}var S={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:H,requires:["computeStyles"]};function R(e){return e.split("-")[0]}function T(e,t){var r=e.getBoundingClientRect();var n=1;var o=1;return{width:r.width/n,height:r.height/o,top:r.top/o,right:r.right/n,bottom:r.bottom/o,left:r.left/n,x:r.left/n,y:r.top/o}}function C(e){var t=T(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function q(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return A(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(M(e))>=0}function z(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||z(e)}function U(e){if(!B(e)||N(e).position==="fixed"){return null}return e.offsetParent}function Y(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&B(e)){var n=N(e);if(n.position==="fixed"){return null}}var o=I(e);while(B(o)&&["html","body"].indexOf(M(o))<0){var a=N(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none"){return o}else{o=o.parentNode}}return null}function F(e){var t=A(e);var r=U(e);while(r&&V(r)&&N(r).position==="static"){r=U(r)}if(r&&(M(r)==="html"||M(r)==="body"&&N(r).position==="static")){return t}return r||Y(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var G=Math.max;var J=Math.min;var K=Math.round;function Q(e,t,r){return G(e,J(t,r))}function Z(){return{top:0,right:0,bottom:0,left:0}}function $(e){return Object.assign({},Z(),e)}function ee(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var te=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return $(typeof t!=="number"?t:ee(t,u))};function re(e){var t;var r=e.state,n=e.name,f=e.options;var u=r.elements.arrow;var c=r.modifiersData.popperOffsets;var p=R(r.placement);var d=X(p);var l=[s,i].indexOf(p)>=0;var v=l?"height":"width";if(!u||!c){return}var h=te(f.padding,r);var m=C(u);var g=d==="y"?o:s;var b=d==="y"?a:i;var y=r.rects.reference[v]+r.rects.reference[d]-c[d]-r.rects.popper[v];var w=c[d]-r.rects.reference[d];var x=F(u);var O=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=y/2-w/2;var D=h[g];var k=O-m[v]-h[b];var E=O/2-m[v]/2+j;var _=Q(D,E,k);var M=d;r.modifiersData[n]=(t={},t[M]=_,t.centerOffset=_-E,t)}function ne(e){var t=e.state,r=e.options;var n=r.element,o=n===void 0?"[data-popper-arrow]":n;if(o==null){return}if(typeof o==="string"){o=t.elements.popper.querySelector(o);if(!o){return}}if(!q(t.elements.popper,o)){return}t.elements.arrow=o}var oe={name:"arrow",enabled:true,phase:"main",fn:re,effect:ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t=e.x,r=e.y;var n=window;var o=n.devicePixelRatio||1;return{x:K(K(t*o)/o)||0,y:K(K(r*o)/o)||0}}function fe(e){var t;var r=e.popper,n=e.popperRect,f=e.placement,u=e.variation,c=e.offsets,d=e.position,l=e.gpuAcceleration,v=e.adaptive,h=e.roundOffsets;var m=h===true?se(c):typeof h==="function"?h(c):c,g=m.x,b=g===void 0?0:g,y=m.y,w=y===void 0?0:y;var x=c.hasOwnProperty("x");var O=c.hasOwnProperty("y");var j=s;var D=o;var k=window;if(v){var E=F(r);var _="clientHeight";var M="clientWidth";if(E===A(r)){E=z(r);if(N(E).position!=="static"&&d==="absolute"){_="scrollHeight";M="scrollWidth"}}E=E;if(f===o||(f===s||f===i)&&u===p){D=a;w-=E[_]-n.height;w*=l?1:-1}if(f===s||(f===o||f===a)&&u===p){j=i;b-=E[M]-n.width;b*=l?1:-1}}var L=Object.assign({position:d},v&&ie);if(l){var B;return Object.assign({},L,(B={},B[D]=O?"0":"",B[j]=x?"0":"",B.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",B))}return Object.assign({},L,(t={},t[D]=O?w+"px":"",t[j]=x?b+"px":"",t.transform="",t))}function ue(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,o=n===void 0?true:n,a=r.adaptive,i=a===void 0?true:a,s=r.roundOffsets,f=s===void 0?true:s;var u={placement:R(t.placement),variation:ae(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:ue,data:{}};var pe={passive:true};function de(e){var t=e.state,r=e.instance,n=e.options;var o=n.scroll,a=o===void 0?true:o,i=n.resize,s=i===void 0?true:i;var f=A(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(a){u.forEach((function(e){e.addEventListener("scroll",r.update,pe)}))}if(s){f.addEventListener("resize",r.update,pe)}return function(){if(a){u.forEach((function(e){e.removeEventListener("scroll",r.update,pe)}))}if(s){f.removeEventListener("resize",r.update,pe)}}}var le={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:de,data:{}};var ve={left:"right",right:"left",bottom:"top",top:"bottom"};function he(e){return e.replace(/left|right|bottom|top/g,(function(e){return ve[e]}))}var me={start:"end",end:"start"};function ge(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function be(e){var t=A(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return T(z(e)).left+be(e).scrollLeft}function we(e){var t=A(e);var r=z(e);var n=t.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var i=0;var s=0;if(n){o=n.width;a=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){i=n.offsetLeft;s=n.offsetTop}}return{width:o,height:a,x:i+ye(e),y:s}}function xe(e){var t;var r=z(e);var n=be(e);var o=(t=e.ownerDocument)==null?void 0:t.body;var a=G(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0);var i=G(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);var s=-n.scrollLeft+ye(e);var f=-n.scrollTop;if(N(o||r).direction==="rtl"){s+=G(r.clientWidth,o?o.clientWidth:0)-a}return{width:a,height:i,x:s,y:f}}function Oe(e){var t=N(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function je(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(B(e)&&Oe(e)){return e}return je(I(e))}function De(e,t){var r;if(t===void 0){t=[]}var n=je(e);var o=n===((r=e.ownerDocument)==null?void 0:r.body);var a=A(n);var i=o?[a].concat(a.visualViewport||[],Oe(n)?n:[]):n;var s=t.concat(i);return o?s:s.concat(De(I(i)))}function ke(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ee(e){var t=T(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function _e(e,t){return t===l?ke(we(e)):B(t)?Ee(t):ke(xe(z(e)))}function Me(e){var t=De(I(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&B(e)?F(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&q(e,n)&&M(e)!=="body"}))}function Ae(e,t,r){var n=t==="clippingParents"?Me(e):[].concat(t);var o=[].concat(n,[r]);var a=o[0];var i=o.reduce((function(t,r){var n=_e(e,r);t.top=G(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=G(n.left,t.left);return t}),_e(e,a));i.width=i.right-i.left;i.height=i.bottom-i.top;i.x=i.left;i.y=i.top;return i}function Le(e){var t=e.reference,r=e.element,n=e.placement;var f=n?R(n):null;var u=n?ae(n):null;var d=t.x+t.width/2-r.width/2;var l=t.y+t.height/2-r.height/2;var v;switch(f){case o:v={x:d,y:t.y-r.height};break;case a:v={x:d,y:t.y+t.height};break;case i:v={x:t.x+t.width,y:l};break;case s:v={x:t.x-r.width,y:l};break;default:v={x:t.x,y:t.y}}var h=f?X(f):null;if(h!=null){var m=h==="y"?"height":"width";switch(u){case c:v[h]=v[h]-(t[m]/2-r[m]/2);break;case p:v[h]=v[h]+(t[m]/2-r[m]/2);break}}return v}function Be(e,t){if(t===void 0){t={}}var r=t,n=r.placement,s=n===void 0?e.placement:n,f=r.boundary,c=f===void 0?d:f,p=r.rootBoundary,m=p===void 0?l:p,g=r.elementContext,b=g===void 0?v:g,y=r.altBoundary,w=y===void 0?false:y,x=r.padding,O=x===void 0?0:x;var j=$(typeof O!=="number"?O:ee(O,u));var D=b===v?h:v;var k=e.rects.popper;var E=e.elements[w?D:b];var _=Ae(L(E)?E:E.contextElement||z(e.elements.popper),c,m);var M=T(e.elements.reference);var A=Le({reference:M,element:k,strategy:"absolute",placement:s});var B=ke(Object.assign({},k,A));var P=b===v?B:M;var W={top:_.top-P.top+j.top,bottom:P.bottom-_.bottom+j.bottom,left:_.left-P.left+j.left,right:P.right-_.right+j.right};var H=e.modifiersData.offset;if(b===v&&H){var S=H[s];Object.keys(W).forEach((function(e){var t=[i,a].indexOf(e)>=0?1:-1;var r=[o,a].indexOf(e)>=0?"y":"x";W[e]+=S[r]*t}))}return W}function Pe(e,t){if(t===void 0){t={}}var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,c=f===void 0?g:f;var p=ae(n);var d=p?s?m:m.filter((function(e){return ae(e)===p})):u;var l=d.filter((function(e){return c.indexOf(e)>=0}));if(l.length===0){l=d}var v=l.reduce((function(t,r){t[r]=Be(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[R(r)];return t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function We(e){if(R(e)===f){return[]}var t=he(e);return[ge(e),t,ge(t)]}function He(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var u=r.mainAxis,p=u===void 0?true:u,d=r.altAxis,l=d===void 0?true:d,v=r.fallbackPlacements,h=r.padding,m=r.boundary,g=r.rootBoundary,b=r.altBoundary,y=r.flipVariations,w=y===void 0?true:y,x=r.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var D=j===O;var k=v||(D||!w?[he(O)]:We(O));var E=[O].concat(k).reduce((function(e,r){return e.concat(R(r)===f?Pe(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var _=t.rects.reference;var M=t.rects.popper;var A=new Map;var L=true;var B=E[0];for(var P=0;P<E.length;P++){var W=E[P];var H=R(W);var S=ae(W)===c;var T=[o,a].indexOf(H)>=0;var C=T?"width":"height";var q=Be(t,{placement:W,boundary:m,rootBoundary:g,altBoundary:b,padding:h});var N=T?S?i:s:S?a:o;if(_[C]>M[C]){N=he(N)}var V=he(N);var z=[];if(p){z.push(q[H]<=0)}if(l){z.push(q[N]<=0,q[V]<=0)}if(z.every((function(e){return e}))){B=W;L=false;break}A.set(W,z)}if(L){var I=w?3:1;var U=function e(t){var r=E.find((function(e){var r=A.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){B=r;return"break"}};for(var Y=I;Y>0;Y--){var F=U(Y);if(F==="break")break}}if(t.placement!==B){t.modifiersData[n]._skip=true;t.placement=B;t.reset=true}}var Se={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Re(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Te(e){return[o,i,a,s].some((function(t){return e[t]>=0}))}function Ce(e){var t=e.state,r=e.name;var n=t.rects.reference;var o=t.rects.popper;var a=t.modifiersData.preventOverflow;var i=Be(t,{elementContext:"reference"});var s=Be(t,{altBoundary:true});var f=Re(i,n);var u=Re(s,o,a);var c=Te(f);var p=Te(u);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var qe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ne(e,t,r){var n=R(e);var a=[s,o].indexOf(n)>=0?-1:1;var f=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,u=f[0],c=f[1];u=u||0;c=(c||0)*a;return[s,i].indexOf(n)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var o=r.offset,a=o===void 0?[0,0]:o;var i=g.reduce((function(e,r){e[r]=Ne(r,t.rects,a);return e}),{});var s=i[t.placement],f=s.x,u=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=i}var ze={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ye(e){return e==="x"?"y":"x"}function Fe(e){var t=e.state,r=e.options,n=e.name;var f=r.mainAxis,u=f===void 0?true:f,p=r.altAxis,d=p===void 0?false:p,l=r.boundary,v=r.rootBoundary,h=r.altBoundary,m=r.padding,g=r.tether,b=g===void 0?true:g,y=r.tetherOffset,w=y===void 0?0:y;var x=Be(t,{boundary:l,rootBoundary:v,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var D=!j;var k=X(O);var E=Ye(k);var _=t.modifiersData.popperOffsets;var M=t.rects.reference;var A=t.rects.popper;var L=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var B={x:0,y:0};if(!_){return}if(u||d){var P=k==="y"?o:s;var W=k==="y"?a:i;var H=k==="y"?"height":"width";var S=_[k];var T=_[k]+x[P];var q=_[k]-x[W];var N=b?-A[H]/2:0;var V=j===c?M[H]:A[H];var z=j===c?-A[H]:-M[H];var I=t.elements.arrow;var U=b&&I?C(I):{width:0,height:0};var Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z();var K=Y[P];var $=Y[W];var ee=Q(0,M[H],U[H]);var te=D?M[H]/2-N-ee-K-L:V-ee-K-L;var re=D?-M[H]/2+N+ee+$+L:z+ee+$+L;var ne=t.elements.arrow&&F(t.elements.arrow);var oe=ne?k==="y"?ne.clientTop||0:ne.clientLeft||0:0;var ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][k]:0;var se=_[k]+te-ie-oe;var fe=_[k]+re-ie;if(u){var ue=Q(b?J(T,se):T,S,b?G(q,fe):q);_[k]=ue;B[k]=ue-S}if(d){var ce=k==="x"?o:s;var pe=k==="x"?a:i;var de=_[E];var le=de+x[ce];var ve=de-x[pe];var he=Q(b?J(le,se):le,de,b?G(ve,fe):ve);_[E]=he;B[E]=he-de}}t.modifiersData[n]=B}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:Fe,requiresIfExists:["offset"]};function Ge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Je(e){if(e===A(e)||!B(e)){return be(e)}else{return Ge(e)}}function Ke(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Qe(e,t,r){if(r===void 0){r=false}var n=B(t);B(t)&&Ke(t);var o=z(t);var a=T(e);var i={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||Oe(o)){i=Je(t)}if(B(t)){s=T(t);s.x+=t.clientLeft;s.y+=t.clientTop}else if(o){s.x=ye(o)}}return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.y,width:a.width,height:a.height}}function Ze(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function o(e){r.add(e.name);var a=[].concat(e.requires||[],e.requiresIfExists||[]);a.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){o(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){o(e)}}));return n}function $e(e){var t=Ze(e);return _.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function et(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function tt(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function ot(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?rt:o;return function e(t,r,o){if(o===void 0){o=a}var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,a),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var u={state:i,setOptions:function e(o){var s=typeof o==="function"?o(i.options):o;p();i.options=Object.assign({},a,i.options,s);i.scrollParents={reference:L(t)?De(t):t.contextElement?De(t.contextElement):[],popper:De(r)};var f=$e(tt([].concat(n,i.options.modifiers)));i.orderedModifiers=f.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(f){return}var t=i.elements,r=t.reference,n=t.popper;if(!nt(r,n)){return}i.rects={reference:Qe(r,F(n),i.options.strategy==="fixed"),popper:C(n)};i.reset=false;i.placement=i.options.placement;i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<i.orderedModifiers.length;o++){if(i.reset===true){i.reset=false;o=-1;continue}var a=i.orderedModifiers[o],s=a.fn,c=a.options,p=c===void 0?{}:c,d=a.name;if(typeof s==="function"){i=s({state:i,options:p,name:d,instance:u})||i}}},update:et((function(){return new Promise((function(e){u.forceUpdate();e(i)}))})),destroy:function e(){p();f=true}};if(!nt(t,r)){return u}u.setOptions(o).then((function(e){if(!f&&o.onFirstUpdate){o.onFirstUpdate(e)}}));function c(){i.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,o=e.effect;if(typeof o==="function"){var a=o({state:i,name:t,instance:u,options:n});var f=function e(){};s.push(a||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return u}}var at=[le,Ue,ce,S,ze,Se,Xe,oe,qe];var it=ot({defaultModifiers:at});var st='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>\n';var ft="dropdown-menu{font-family:sans-serif;font-family:var(--verdocs-font)}dropdown-menu .arrow{width:32px;height:26px;background:#fff;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;-ms-flex-pack:center;justify-content:center}dropdown-menu .arrow svg{fill:#50be80;-webkit-transition:0.3s;transition:0.3s}dropdown-menu .items{width:200px;display:none;border-radius:5px;background:#33364b;border:1px solid #654dcb}dropdown-menu .items[data-show]{display:block}dropdown-menu .option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}dropdown-menu .option:hover{cursor:pointer;background:#50be80}dropdown-menu .option[disabled]{color:#aaa}dropdown-menu .option[disabled]:hover{color:#aaa;cursor:inherit;background:transparent}dropdown-menu .open .items{display:block}dropdown-menu .open .arrow{background:#4c56cb;border:1px solid #707ae5}dropdown-menu .open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}";var ut=e("dropdown_menu",function(){function e(e){t(this,e);this.optionSelected=r(this,"optionSelected",7);this.options=[]}e.prototype.componentWillLoad=function(){this.isOpen=!!this.open};e.prototype.componentDidLoad=function(){this.popper=it(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]})};e.prototype.handleSelectOption=function(e){this.isOpen=false;this.optionSelected.emit(e)};e.prototype.showDropdown=function(){var e,t;this.isOpen=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:true}])})}));(t=this.popper)===null||t===void 0?void 0:t.update()};e.prototype.hideDropdown=function(){var e;this.isOpen=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:false}])})}))};e.prototype.toggleDropdown=function(){if(this.isOpen){this.hideDropdown()}else{this.showDropdown()}};e.prototype.render=function(){var e=this;var t;return n("div",{class:{open:!!this.isOpen}},n("button",{class:"arrow",innerHTML:st,"aria-label":"Open Menu",onClick:function(){return e.toggleDropdown()},onBlur:function(){return e.hideDropdown()},ref:function(t){return e.dropdownButton=t}}),n("div",{class:"items","aria-hidden":!this.open,ref:function(t){return e.dropdownMenu=t}},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return n("button",{onClick:function(){return e.handleSelectOption(t)},class:"option",disabled:t.disabled},t.label)}))))};return e}());ut.style=ft}}}));
@@ -0,0 +1 @@
1
+ import{r as t,h as o}from"./p-89be87e5.js";let n=class{constructor(o){t(this,o)}handleClick(t){t.preventDefault();let o=t.target;if(o.matches("toggle-icon-buttons")){o=t.target.shadowRoot;const n=o.activeElement;Array.from(n.parentElement.children).filter((t=>t!==n)).map((t=>t.classList.remove("selected"))),n.classList.contains("selected")||n.classList.add("selected")}}render(){return o("div",{class:"container"},o("span",{class:"label"},`${this.options.label}:`),o("div",{class:"buttons"},this.options.buttons.map(((t,n)=>o("button",{id:t.id,key:t.id,innerHTML:t.icon,class:n===this.options.defaultSelection?"selected":""})))))}};n.style="toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";export{n as toggle_icon_buttons}
@@ -1 +1 @@
1
- import{r as t,h as e,a}from"./p-16920169.js";let s=class{constructor(e){t(this,e)}render(){return e("div",{class:"container"},e("div",{class:"template-img"},e("img",{src:a("template-card/dummy-image.png"),alt:"Dummy Image"})),e("span",{class:"template-name"},this.template.name),e("span",{class:"template-org-bname"},this.template.organization_business_name),e("div",{class:"template-org-name"},e("input",{type:"checkbox",id:"org-name",name:"org-name",checked:!0}),e("label",{htmlFor:"org-name"},this.template.organization_name)),e("hr",null),e("div",{class:"template-controls"},e("span",{class:"star-counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>'},this.template.star_counter),e("span",{class:"pages",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>'},this.template.pages),e("span",{class:"counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>'},this.template.counter),e("span",{class:"additional-controls",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>'})))}static get assetsDirs(){return["template-card"]}};s.style=".container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}.template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}.template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}.template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}.template-org-name{margin-bottom:34px}.template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}hr{width:100%;margin-bottom:17px;color:#aeb4bf}.template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}.template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}.template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}.additional-controls svg{margin-right:0}.additional-controls{-ms-flex:1;flex:1}.pages,.star-counter,.counter{-ms-flex:2;flex:2}";export{s as template_card}
1
+ import{r as t,h as e,a}from"./p-89be87e5.js";let l=class{constructor(e){t(this,e)}render(){return e("div",{class:"container"},e("div",{class:"template-img"},e("img",{src:a("template-card/dummy-image.png"),alt:"Dummy Image"})),e("span",{class:"template-name"},this.template.name),e("span",{class:"template-org-bname"},this.template.organization_business_name),e("div",{class:"template-org-name"},e("input",{type:"checkbox",id:"org-name",name:"org-name",checked:!0}),e("label",{htmlFor:"org-name"},this.template.organization_name)),e("hr",null),e("div",{class:"template-controls"},e("span",{class:"star-counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>'},this.template.star_counter),e("span",{class:"pages",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>'},this.template.pages),e("span",{class:"counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>'},this.template.counter),e("span",{class:"additional-controls",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>'})))}static get assetsDirs(){return["template-card"]}};l.style="template-card{font-family:sans-serif;font-family:var(--verdocs-font)}template-card .container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}template-card .template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}template-card .template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}template-card .template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}template-card .template-org-name{margin-bottom:34px}template-card .template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}template-card hr{width:100%;margin-bottom:17px;color:#aeb4bf}template-card .template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}template-card .template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}template-card .template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}template-card .additional-controls svg{margin-right:0}template-card .additional-controls{-ms-flex:1;flex:1}template-card .pages,template-card .star-counter,template-card .counter{-ms-flex:2;flex:2}";export{l as template_card}
@@ -1 +1 @@
1
- import{r as e,h as s}from"./p-16920169.js";const t='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,20c-4.42,0-8-3.58-8-8 c0-4.42,3.58-8,8-8s8,3.58,8,8C20,16.42,16.42,20,12,20z"/><circle cx="7" cy="12" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="17" cy="12" r="1.5"/></g></g></svg>';let i=class{constructor(s){e(this,s)}render(){let e,i;switch(this.status){case"finished":case"complete":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>',i="Complete";break;case"in-progress":e=t,i="In Progress";break;case"pending":e=t,i="Pending";break;case"cancelled":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>',i="Cancelled";break;case"declined":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>',i="Declined"}return s("div",{class:"container"},s("span",{class:"icon",innerHTML:e}),s("span",{class:"content"},i))}};i.style=".container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}.icon{margin-right:15px}svg{height:24px;width:24px}";export{i as document_status_indicator}
1
+ import{r as e,h as t}from"./p-89be87e5.js";const s='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,20c-4.42,0-8-3.58-8-8 c0-4.42,3.58-8,8-8s8,3.58,8,8C20,16.42,16.42,20,12,20z"/><circle cx="7" cy="12" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="17" cy="12" r="1.5"/></g></g></svg>';let i=class{constructor(t){e(this,t)}render(){let e,i;switch(this.status){case"finished":case"complete":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>',i="Complete";break;case"in-progress":e=s,i="In Progress";break;case"pending":e=s,i="Pending";break;case"cancelled":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>',i="Cancelled";break;case"declined":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>',i="Declined"}return t("div",{class:"container"},t("span",{class:"icon",innerHTML:e}),t("span",{class:"content"},i))}};i.style="document-status-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}document-status-indicator .container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}document-status-indicator .icon{margin-right:15px}document-status-indicator svg{height:24px;width:24px}";export{i as document_status_indicator}
@@ -1 +1 @@
1
- System.register([],(function(e){"use strict";return{execute:function(){var r=function e(r,t){return function e(){var n=new Array(arguments.length);for(var a=0;a<n.length;a++){n[a]=arguments[a]}return r.apply(t,n)}};var t=Object.prototype.toString;function n(e){return t.call(e)==="[object Array]"}function a(e){return typeof e==="undefined"}function o(e){return e!==null&&!a(e)&&e.constructor!==null&&!a(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function i(e){return t.call(e)==="[object ArrayBuffer]"}function s(e){return typeof FormData!=="undefined"&&e instanceof FormData}function u(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&e.buffer instanceof ArrayBuffer}return r}function f(e){return typeof e==="string"}function c(e){return typeof e==="number"}function l(e){return e!==null&&typeof e==="object"}function d(e){if(t.call(e)!=="[object Object]"){return false}var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function p(e){return t.call(e)==="[object Date]"}function h(e){return t.call(e)==="[object File]"}function v(e){return t.call(e)==="[object Blob]"}function m(e){return t.call(e)==="[object Function]"}function g(e){return l(e)&&m(e.pipe)}function y(e){return typeof URLSearchParams!=="undefined"&&e instanceof URLSearchParams}function b(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function x(e,r){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(n(e)){for(var t=0,a=e.length;t<a;t++){r.call(null,e[t],t,e)}}else{for(var o in e){if(Object.prototype.hasOwnProperty.call(e,o)){r.call(null,e[o],o,e)}}}}function j(){var e={};function r(r,t){if(d(e[t])&&d(r)){e[t]=j(e[t],r)}else if(d(r)){e[t]=j({},r)}else if(n(r)){e[t]=r.slice()}else{e[t]=r}}for(var t=0,a=arguments.length;t<a;t++){x(arguments[t],r)}return e}function E(e,t,n){x(t,(function t(a,o){if(n&&typeof a==="function"){e[o]=r(a,n)}else{e[o]=a}}));return e}function S(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e}var k={isArray:n,isArrayBuffer:i,isBuffer:o,isFormData:s,isArrayBufferView:u,isString:f,isNumber:c,isObject:l,isPlainObject:d,isUndefined:a,isDate:p,isFile:h,isBlob:v,isFunction:m,isStream:g,isURLSearchParams:y,isStandardBrowserEnv:w,forEach:x,merge:j,extend:E,trim:b,stripBOM:S};function O(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var N=function e(r,t,n){if(!t){return r}var a;if(n){a=n(t)}else if(k.isURLSearchParams(t)){a=t.toString()}else{var o=[];k.forEach(t,(function e(r,t){if(r===null||typeof r==="undefined"){return}if(k.isArray(r)){t=t+"[]"}else{r=[r]}k.forEach(r,(function e(r){if(k.isDate(r)){r=r.toISOString()}else if(k.isObject(r)){r=JSON.stringify(r)}o.push(O(t)+"="+O(r))}))}));a=o.join("&")}if(a){var i=r.indexOf("#");if(i!==-1){r=r.slice(0,i)}r+=(r.indexOf("?")===-1?"?":"&")+a}return r};function C(){this.handlers=[]}C.prototype.use=function e(r,t,n){this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1};C.prototype.eject=function e(r){if(this.handlers[r]){this.handlers[r]=null}};C.prototype.forEach=function e(r){k.forEach(this.handlers,(function e(t){if(t!==null){r(t)}}))};var A=C;var T=function e(r,t){k.forEach(r,(function e(n,a){if(a!==t&&a.toUpperCase()===t.toUpperCase()){r[t]=n;delete r[a]}}))};var R=function e(r,t,n,a,o){r.config=t;if(n){r.code=n}r.request=a;r.response=o;r.isAxiosError=true;r.toJSON=function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}};return r};var P=function e(r,t,n,a,o){var i=new Error(r);return R(i,t,n,a,o)};var U=function e(r,t,n){var a=n.config.validateStatus;if(!n.status||!a||a(n.status)){r(n)}else{t(P("Request failed with status code "+n.status,n.config,null,n.request,n))}};var B=k.isStandardBrowserEnv()?function e(){return{write:function e(r,t,n,a,o,i){var s=[];s.push(r+"="+encodeURIComponent(t));if(k.isNumber(n)){s.push("expires="+new Date(n).toGMTString())}if(k.isString(a)){s.push("path="+a)}if(k.isString(o)){s.push("domain="+o)}if(i===true){s.push("secure")}document.cookie=s.join("; ")},read:function e(r){var t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function e(r){this.write(r,"",Date.now()-864e5)}}}():function e(){return{write:function e(){},read:function e(){return null},remove:function e(){}}}();var _=function e(r){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(r)};var L=function e(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r};var q=function e(r,t){if(r&&!_(t)){return L(r,t)}return t};var D=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];var H=function e(r){var t={};var n;var a;var o;if(!r){return t}k.forEach(r.split("\n"),(function e(r){o=r.indexOf(":");n=k.trim(r.substr(0,o)).toLowerCase();a=k.trim(r.substr(o+1));if(n){if(t[n]&&D.indexOf(n)>=0){return}if(n==="set-cookie"){t[n]=(t[n]?t[n]:[]).concat([a])}else{t[n]=t[n]?t[n]+", "+a:a}}}));return t};var J=k.isStandardBrowserEnv()?function e(){var r=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var n;function a(e){var n=e;if(r){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}n=a(window.location.href);return function e(r){var t=k.isString(r)?a(r):r;return t.protocol===n.protocol&&t.host===n.host}}():function e(){return function e(){return true}}();var z=function e(r){return new Promise((function e(t,n){var a=r.data;var o=r.headers;var i=r.responseType;if(k.isFormData(a)){delete o["Content-Type"]}var s=new XMLHttpRequest;if(r.auth){var u=r.auth.username||"";var f=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";o.Authorization="Basic "+btoa(u+":"+f)}var c=q(r.baseURL,r.url);s.open(r.method.toUpperCase(),N(c,r.params,r.paramsSerializer),true);s.timeout=r.timeout;function l(){if(!s){return}var e="getAllResponseHeaders"in s?H(s.getAllResponseHeaders()):null;var a=!i||i==="text"||i==="json"?s.responseText:s.response;var o={data:a,status:s.status,statusText:s.statusText,headers:e,config:r,request:s};U(t,n,o);s=null}if("onloadend"in s){s.onloadend=l}else{s.onreadystatechange=function e(){if(!s||s.readyState!==4){return}if(s.status===0&&!(s.responseURL&&s.responseURL.indexOf("file:")===0)){return}setTimeout(l)}}s.onabort=function e(){if(!s){return}n(P("Request aborted",r,"ECONNABORTED",s));s=null};s.onerror=function e(){n(P("Network Error",r,null,s));s=null};s.ontimeout=function e(){var t="timeout of "+r.timeout+"ms exceeded";if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}n(P(t,r,r.transitional&&r.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",s));s=null};if(k.isStandardBrowserEnv()){var d=(r.withCredentials||J(c))&&r.xsrfCookieName?B.read(r.xsrfCookieName):undefined;if(d){o[r.xsrfHeaderName]=d}}if("setRequestHeader"in s){k.forEach(o,(function e(r,t){if(typeof a==="undefined"&&t.toLowerCase()==="content-type"){delete o[t]}else{s.setRequestHeader(t,r)}}))}if(!k.isUndefined(r.withCredentials)){s.withCredentials=!!r.withCredentials}if(i&&i!=="json"){s.responseType=r.responseType}if(typeof r.onDownloadProgress==="function"){s.addEventListener("progress",r.onDownloadProgress)}if(typeof r.onUploadProgress==="function"&&s.upload){s.upload.addEventListener("progress",r.onUploadProgress)}if(r.cancelToken){r.cancelToken.promise.then((function e(r){if(!s){return}s.abort();n(r);s=null}))}if(!a){a=null}s.send(a)}))};var F={"Content-Type":"application/x-www-form-urlencoded"};function M(e,r){if(!k.isUndefined(e)&&k.isUndefined(e["Content-Type"])){e["Content-Type"]=r}}function V(){var e;if(typeof XMLHttpRequest!=="undefined"){e=z}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=z}return e}function I(e,r,t){if(k.isString(e)){try{(r||JSON.parse)(e);return k.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var X={transitional:{silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false},adapter:V(),transformRequest:[function e(r,t){T(t,"Accept");T(t,"Content-Type");if(k.isFormData(r)||k.isArrayBuffer(r)||k.isBuffer(r)||k.isStream(r)||k.isFile(r)||k.isBlob(r)){return r}if(k.isArrayBufferView(r)){return r.buffer}if(k.isURLSearchParams(r)){M(t,"application/x-www-form-urlencoded;charset=utf-8");return r.toString()}if(k.isObject(r)||t&&t["Content-Type"]==="application/json"){M(t,"application/json");return I(r)}return r}],transformResponse:[function e(r){var t=this.transitional;var n=t&&t.silentJSONParsing;var a=t&&t.forcedJSONParsing;var o=!n&&this.responseType==="json";if(o||a&&k.isString(r)&&r.length){try{return JSON.parse(r)}catch(e){if(o){if(e.name==="SyntaxError"){throw R(e,this,"E_JSON_PARSE")}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function e(r){return r>=200&&r<300}};X.headers={common:{Accept:"application/json, text/plain, */*"}};k.forEach(["delete","get","head"],(function e(r){X.headers[r]={}}));k.forEach(["post","put","patch"],(function e(r){X.headers[r]=k.merge(F)}));var G=X;var W=function e(r,t,n){var a=this||G;k.forEach(n,(function e(n){r=n.call(a,r,t)}));return r};var $=function e(r){return!!(r&&r.__CANCEL__)};function K(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}}var Q=function e(r){K(r);r.headers=r.headers||{};r.data=W.call(r,r.data,r.headers,r.transformRequest);r.headers=k.merge(r.headers.common||{},r.headers[r.method]||{},r.headers);k.forEach(["delete","get","head","post","put","patch","common"],(function e(t){delete r.headers[t]}));var t=r.adapter||G.adapter;return t(r).then((function e(t){K(r);t.data=W.call(r,t.data,t.headers,r.transformResponse);return t}),(function e(t){if(!$(t)){K(r);if(t&&t.response){t.response.data=W.call(r,t.response.data,t.response.headers,r.transformResponse)}}return Promise.reject(t)}))};var Z=function e(r,t){t=t||{};var n={};var a=["url","method","data"];var o=["headers","auth","proxy","params"];var i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"];var s=["validateStatus"];function u(e,r){if(k.isPlainObject(e)&&k.isPlainObject(r)){return k.merge(e,r)}else if(k.isPlainObject(r)){return k.merge({},r)}else if(k.isArray(r)){return r.slice()}return r}function f(e){if(!k.isUndefined(t[e])){n[e]=u(r[e],t[e])}else if(!k.isUndefined(r[e])){n[e]=u(undefined,r[e])}}k.forEach(a,(function e(r){if(!k.isUndefined(t[r])){n[r]=u(undefined,t[r])}}));k.forEach(o,f);k.forEach(i,(function e(a){if(!k.isUndefined(t[a])){n[a]=u(undefined,t[a])}else if(!k.isUndefined(r[a])){n[a]=u(undefined,r[a])}}));k.forEach(s,(function e(a){if(a in t){n[a]=u(r[a],t[a])}else if(a in r){n[a]=u(undefined,r[a])}}));var c=a.concat(o).concat(i).concat(s);var l=Object.keys(r).concat(Object.keys(t)).filter((function e(r){return c.indexOf(r)===-1}));k.forEach(l,f);return n};var Y="axios@^0.21.1";var ee="axios@0.21.4";var re=false;var te="sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==";var ne="/axios";var ae={};var oe={type:"range",registry:true,raw:"axios@^0.21.1",name:"axios",escapedName:"axios",rawSpec:"^0.21.1",saveSpec:null,fetchSpec:"^0.21.1"};var ie=["/@verdocs/js-sdk"];var se="https://registry.npmjs.org/axios/-/axios-0.21.4.tgz";var ue="c67b90dc0568e5c1cf2b0b858c43ba28e2eda575";var fe="axios@^0.21.1";var ce="/Users/chad/projects/verdocs/web-sdk/verdocs-web-sdk/node_modules/@verdocs/js-sdk";var le={name:"Matt Zabriskie"};var de={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};var pe={url:"https://github.com/axios/axios/issues"};var he=false;var ve=[{path:"./dist/axios.min.js",threshold:"5kB"}];var me={"follow-redirects":"^1.14.0"};var ge=false;var ye="Promise based HTTP client for the browser and node.js";var be={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};var we="https://axios-http.com";var xe="dist/axios.min.js";var je=["xhr","http","ajax","promise","node"];var Ee="MIT";var Se="index.js";var ke="axios";var Oe={type:"git",url:"git+https://github.com/axios/axios.git"};var Ne={build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",fix:"eslint --fix lib/**/*.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"};var Ce="./index.d.ts";var Ae="dist/axios.min.js";var Te="0.21.4";var Re={_from:Y,_id:ee,_inBundle:re,_integrity:te,_location:ne,_phantomChildren:ae,_requested:oe,_requiredBy:ie,_resolved:se,_shasum:ue,_spec:fe,_where:ce,author:le,browser:de,bugs:pe,bundleDependencies:he,bundlesize:ve,dependencies:me,deprecated:ge,description:ye,devDependencies:be,homepage:we,jsdelivr:xe,keywords:je,license:Ee,main:Se,name:ke,repository:Oe,scripts:Ne,typings:Ce,unpkg:Ae,version:Te};var Pe={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){Pe[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var Ue={};var Be=Re.version.split(".");function _e(e,r){var t=r?r.split("."):Be;var n=e.split(".");for(var a=0;a<3;a++){if(t[a]>n[a]){return true}else if(t[a]<n[a]){return false}}return false}Pe.transitional=function e(r,t,n){var a=t&&_e(t);function o(e,r){return"[Axios v"+Re.version+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,i){if(r===false){throw new Error(o(n," has been removed in "+t))}if(a&&!Ue[n]){Ue[n]=true;console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,i):true}};function Le(e,r,t){if(typeof e!=="object"){throw new TypeError("options must be an object")}var n=Object.keys(e);var a=n.length;while(a-- >0){var o=n[a];var i=r[o];if(i){var s=e[o];var u=s===undefined||i(s,o,e);if(u!==true){throw new TypeError("option "+o+" must be "+u)}continue}if(t!==true){throw Error("Unknown option "+o)}}}var qe={isOlderVersion:_e,assertOptions:Le,validators:Pe};var De=qe.validators;function He(e){this.defaults=e;this.interceptors={request:new A,response:new A}}He.prototype.request=function e(r){if(typeof r==="string"){r=arguments[1]||{};r.url=arguments[0]}else{r=r||{}}r=Z(this.defaults,r);if(r.method){r.method=r.method.toLowerCase()}else if(this.defaults.method){r.method=this.defaults.method.toLowerCase()}else{r.method="get"}var t=r.transitional;if(t!==undefined){qe.assertOptions(t,{silentJSONParsing:De.transitional(De.boolean,"1.0.0"),forcedJSONParsing:De.transitional(De.boolean,"1.0.0"),clarifyTimeoutError:De.transitional(De.boolean,"1.0.0")},false)}var n=[];var a=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}a=a&&t.synchronous;n.unshift(t.fulfilled,t.rejected)}));var o=[];this.interceptors.response.forEach((function e(r){o.push(r.fulfilled,r.rejected)}));var i;if(!a){var s=[Q,undefined];Array.prototype.unshift.apply(s,n);s=s.concat(o);i=Promise.resolve(r);while(s.length){i=i.then(s.shift(),s.shift())}return i}var u=r;while(n.length){var f=n.shift();var c=n.shift();try{u=f(u)}catch(e){c(e);break}}try{i=Q(u)}catch(e){return Promise.reject(e)}while(o.length){i=i.then(o.shift(),o.shift())}return i};He.prototype.getUri=function e(r){r=Z(this.defaults,r);return N(r.url,r.params,r.paramsSerializer).replace(/^\?/,"")};k.forEach(["delete","get","head","options"],(function e(r){He.prototype[r]=function(e,t){return this.request(Z(t||{},{method:r,url:e,data:(t||{}).data}))}}));k.forEach(["post","put","patch"],(function e(r){He.prototype[r]=function(e,t,n){return this.request(Z(n||{},{method:r,url:e,data:t}))}}));var Je=He;function ze(e){this.message=e}ze.prototype.toString=function e(){return"Cancel"+(this.message?": "+this.message:"")};ze.prototype.__CANCEL__=true;var Fe=ze;function Me(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;e((function e(n){if(t.reason){return}t.reason=new Fe(n);r(t.reason)}))}Me.prototype.throwIfRequested=function e(){if(this.reason){throw this.reason}};Me.source=function e(){var r;var t=new Me((function e(t){r=t}));return{token:t,cancel:r}};var Ve=Me;var Ie=function e(r){return function e(t){return r.apply(null,t)}};var Xe=function e(r){return typeof r==="object"&&r.isAxiosError===true};function Ge(e){var t=new Je(e);var n=r(Je.prototype.request,t);k.extend(n,Je.prototype,t);k.extend(n,t);return n}var We=Ge(G);We.Axios=Je;We.create=function e(r){return Ge(Z(We.defaults,r))};We.Cancel=Fe;We.CancelToken=Ve;We.isCancel=$;We.all=function e(r){return Promise.all(r)};We.spread=Ie;We.isAxiosError=Xe;var $e=We;var Ke=We;$e.default=Ke;var Qe=$e;var Ze={baseURL:"https://api.verdocs.com/",timeout:3e3,headers:{"X-Client-ID":"NONE"}};var Ye=Qe.create(Ze);var er=function(){if(!Ye){Ye=Qe.create(Ze)}return Ye};var rr=undefined&&undefined.__awaiter||function(e,r,t,n){function a(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,o){function i(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n["throw"](e))}catch(e){o(e)}}function u(e){e.done?t(e.value):a(e.value).then(i,s)}u((n=n.apply(e,r||[])).next())}))};var tr=undefined&&undefined.__generator||function(e,r){var t={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(r){return u([e,r])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;a=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(o=t.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){t.label=i[1];break}if(i[0]===6&&t.label<o[1]){t.label=o[1];o=i;break}if(o&&t.label<o[2]){t.label=o[2];t.ops.push(i);break}if(o[2])t.ops.pop();t.trys.pop();continue}i=r.call(e,t)}catch(e){i=[6,e];a=0}finally{n=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var nr=e("g",(function(){return rr(void 0,void 0,void 0,(function(){return tr(this,(function(e){return[2,er().get("/search/history").then((function(e){return e.data}))]}))}))}))}}}));
1
+ System.register([],(function(e){"use strict";return{execute:function(){var r=function e(r,t){return function e(){var n=new Array(arguments.length);for(var o=0;o<n.length;o++){n[o]=arguments[o]}return r.apply(t,n)}};var t=Object.prototype.toString;function n(e){return t.call(e)==="[object Array]"}function o(e){return typeof e==="undefined"}function a(e){return e!==null&&!o(e)&&e.constructor!==null&&!o(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function i(e){return t.call(e)==="[object ArrayBuffer]"}function s(e){return typeof FormData!=="undefined"&&e instanceof FormData}function u(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&e.buffer instanceof ArrayBuffer}return r}function f(e){return typeof e==="string"}function c(e){return typeof e==="number"}function l(e){return e!==null&&typeof e==="object"}function d(e){if(t.call(e)!=="[object Object]"){return false}var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function p(e){return t.call(e)==="[object Date]"}function h(e){return t.call(e)==="[object File]"}function v(e){return t.call(e)==="[object Blob]"}function m(e){return t.call(e)==="[object Function]"}function g(e){return l(e)&&m(e.pipe)}function y(e){return typeof URLSearchParams!=="undefined"&&e instanceof URLSearchParams}function b(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function x(e,r){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(n(e)){for(var t=0,o=e.length;t<o;t++){r.call(null,e[t],t,e)}}else{for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){r.call(null,e[a],a,e)}}}}function j(){var e={};function r(r,t){if(d(e[t])&&d(r)){e[t]=j(e[t],r)}else if(d(r)){e[t]=j({},r)}else if(n(r)){e[t]=r.slice()}else{e[t]=r}}for(var t=0,o=arguments.length;t<o;t++){x(arguments[t],r)}return e}function E(e,t,n){x(t,(function t(o,a){if(n&&typeof o==="function"){e[a]=r(o,n)}else{e[a]=o}}));return e}function S(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e}var k={isArray:n,isArrayBuffer:i,isBuffer:a,isFormData:s,isArrayBufferView:u,isString:f,isNumber:c,isObject:l,isPlainObject:d,isUndefined:o,isDate:p,isFile:h,isBlob:v,isFunction:m,isStream:g,isURLSearchParams:y,isStandardBrowserEnv:w,forEach:x,merge:j,extend:E,trim:b,stripBOM:S};function O(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var N=function e(r,t,n){if(!t){return r}var o;if(n){o=n(t)}else if(k.isURLSearchParams(t)){o=t.toString()}else{var a=[];k.forEach(t,(function e(r,t){if(r===null||typeof r==="undefined"){return}if(k.isArray(r)){t=t+"[]"}else{r=[r]}k.forEach(r,(function e(r){if(k.isDate(r)){r=r.toISOString()}else if(k.isObject(r)){r=JSON.stringify(r)}a.push(O(t)+"="+O(r))}))}));o=a.join("&")}if(o){var i=r.indexOf("#");if(i!==-1){r=r.slice(0,i)}r+=(r.indexOf("?")===-1?"?":"&")+o}return r};function C(){this.handlers=[]}C.prototype.use=function e(r,t,n){this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1};C.prototype.eject=function e(r){if(this.handlers[r]){this.handlers[r]=null}};C.prototype.forEach=function e(r){k.forEach(this.handlers,(function e(t){if(t!==null){r(t)}}))};var A=C;var T=function e(r,t){k.forEach(r,(function e(n,o){if(o!==t&&o.toUpperCase()===t.toUpperCase()){r[t]=n;delete r[o]}}))};var R=function e(r,t,n,o,a){r.config=t;if(n){r.code=n}r.request=o;r.response=a;r.isAxiosError=true;r.toJSON=function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}};return r};var P=function e(r,t,n,o,a){var i=new Error(r);return R(i,t,n,o,a)};var U=function e(r,t,n){var o=n.config.validateStatus;if(!n.status||!o||o(n.status)){r(n)}else{t(P("Request failed with status code "+n.status,n.config,null,n.request,n))}};var B=k.isStandardBrowserEnv()?function e(){return{write:function e(r,t,n,o,a,i){var s=[];s.push(r+"="+encodeURIComponent(t));if(k.isNumber(n)){s.push("expires="+new Date(n).toGMTString())}if(k.isString(o)){s.push("path="+o)}if(k.isString(a)){s.push("domain="+a)}if(i===true){s.push("secure")}document.cookie=s.join("; ")},read:function e(r){var t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function e(r){this.write(r,"",Date.now()-864e5)}}}():function e(){return{write:function e(){},read:function e(){return null},remove:function e(){}}}();var _=function e(r){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(r)};var L=function e(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r};var q=function e(r,t){if(r&&!_(t)){return L(r,t)}return t};var D=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];var J=function e(r){var t={};var n;var o;var a;if(!r){return t}k.forEach(r.split("\n"),(function e(r){a=r.indexOf(":");n=k.trim(r.substr(0,a)).toLowerCase();o=k.trim(r.substr(a+1));if(n){if(t[n]&&D.indexOf(n)>=0){return}if(n==="set-cookie"){t[n]=(t[n]?t[n]:[]).concat([o])}else{t[n]=t[n]?t[n]+", "+o:o}}}));return t};var H=k.isStandardBrowserEnv()?function e(){var r=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var n;function o(e){var n=e;if(r){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}n=o(window.location.href);return function e(r){var t=k.isString(r)?o(r):r;return t.protocol===n.protocol&&t.host===n.host}}():function e(){return function e(){return true}}();var M=function e(r){return new Promise((function e(t,n){var o=r.data;var a=r.headers;var i=r.responseType;if(k.isFormData(o)){delete a["Content-Type"]}var s=new XMLHttpRequest;if(r.auth){var u=r.auth.username||"";var f=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";a.Authorization="Basic "+btoa(u+":"+f)}var c=q(r.baseURL,r.url);s.open(r.method.toUpperCase(),N(c,r.params,r.paramsSerializer),true);s.timeout=r.timeout;function l(){if(!s){return}var e="getAllResponseHeaders"in s?J(s.getAllResponseHeaders()):null;var o=!i||i==="text"||i==="json"?s.responseText:s.response;var a={data:o,status:s.status,statusText:s.statusText,headers:e,config:r,request:s};U(t,n,a);s=null}if("onloadend"in s){s.onloadend=l}else{s.onreadystatechange=function e(){if(!s||s.readyState!==4){return}if(s.status===0&&!(s.responseURL&&s.responseURL.indexOf("file:")===0)){return}setTimeout(l)}}s.onabort=function e(){if(!s){return}n(P("Request aborted",r,"ECONNABORTED",s));s=null};s.onerror=function e(){n(P("Network Error",r,null,s));s=null};s.ontimeout=function e(){var t="timeout of "+r.timeout+"ms exceeded";if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}n(P(t,r,r.transitional&&r.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",s));s=null};if(k.isStandardBrowserEnv()){var d=(r.withCredentials||H(c))&&r.xsrfCookieName?B.read(r.xsrfCookieName):undefined;if(d){a[r.xsrfHeaderName]=d}}if("setRequestHeader"in s){k.forEach(a,(function e(r,t){if(typeof o==="undefined"&&t.toLowerCase()==="content-type"){delete a[t]}else{s.setRequestHeader(t,r)}}))}if(!k.isUndefined(r.withCredentials)){s.withCredentials=!!r.withCredentials}if(i&&i!=="json"){s.responseType=r.responseType}if(typeof r.onDownloadProgress==="function"){s.addEventListener("progress",r.onDownloadProgress)}if(typeof r.onUploadProgress==="function"&&s.upload){s.upload.addEventListener("progress",r.onUploadProgress)}if(r.cancelToken){r.cancelToken.promise.then((function e(r){if(!s){return}s.abort();n(r);s=null}))}if(!o){o=null}s.send(o)}))};var z={"Content-Type":"application/x-www-form-urlencoded"};function F(e,r){if(!k.isUndefined(e)&&k.isUndefined(e["Content-Type"])){e["Content-Type"]=r}}function V(){var e;if(typeof XMLHttpRequest!=="undefined"){e=M}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=M}return e}function I(e,r,t){if(k.isString(e)){try{(r||JSON.parse)(e);return k.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var X={transitional:{silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false},adapter:V(),transformRequest:[function e(r,t){T(t,"Accept");T(t,"Content-Type");if(k.isFormData(r)||k.isArrayBuffer(r)||k.isBuffer(r)||k.isStream(r)||k.isFile(r)||k.isBlob(r)){return r}if(k.isArrayBufferView(r)){return r.buffer}if(k.isURLSearchParams(r)){F(t,"application/x-www-form-urlencoded;charset=utf-8");return r.toString()}if(k.isObject(r)||t&&t["Content-Type"]==="application/json"){F(t,"application/json");return I(r)}return r}],transformResponse:[function e(r){var t=this.transitional;var n=t&&t.silentJSONParsing;var o=t&&t.forcedJSONParsing;var a=!n&&this.responseType==="json";if(a||o&&k.isString(r)&&r.length){try{return JSON.parse(r)}catch(e){if(a){if(e.name==="SyntaxError"){throw R(e,this,"E_JSON_PARSE")}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function e(r){return r>=200&&r<300}};X.headers={common:{Accept:"application/json, text/plain, */*"}};k.forEach(["delete","get","head"],(function e(r){X.headers[r]={}}));k.forEach(["post","put","patch"],(function e(r){X.headers[r]=k.merge(z)}));var G=X;var K=function e(r,t,n){var o=this||G;k.forEach(n,(function e(n){r=n.call(o,r,t)}));return r};var W=function e(r){return!!(r&&r.__CANCEL__)};function $(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}}var Q=function e(r){$(r);r.headers=r.headers||{};r.data=K.call(r,r.data,r.headers,r.transformRequest);r.headers=k.merge(r.headers.common||{},r.headers[r.method]||{},r.headers);k.forEach(["delete","get","head","post","put","patch","common"],(function e(t){delete r.headers[t]}));var t=r.adapter||G.adapter;return t(r).then((function e(t){$(r);t.data=K.call(r,t.data,t.headers,r.transformResponse);return t}),(function e(t){if(!W(t)){$(r);if(t&&t.response){t.response.data=K.call(r,t.response.data,t.response.headers,r.transformResponse)}}return Promise.reject(t)}))};var Z=function e(r,t){t=t||{};var n={};var o=["url","method","data"];var a=["headers","auth","proxy","params"];var i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"];var s=["validateStatus"];function u(e,r){if(k.isPlainObject(e)&&k.isPlainObject(r)){return k.merge(e,r)}else if(k.isPlainObject(r)){return k.merge({},r)}else if(k.isArray(r)){return r.slice()}return r}function f(e){if(!k.isUndefined(t[e])){n[e]=u(r[e],t[e])}else if(!k.isUndefined(r[e])){n[e]=u(undefined,r[e])}}k.forEach(o,(function e(r){if(!k.isUndefined(t[r])){n[r]=u(undefined,t[r])}}));k.forEach(a,f);k.forEach(i,(function e(o){if(!k.isUndefined(t[o])){n[o]=u(undefined,t[o])}else if(!k.isUndefined(r[o])){n[o]=u(undefined,r[o])}}));k.forEach(s,(function e(o){if(o in t){n[o]=u(r[o],t[o])}else if(o in r){n[o]=u(undefined,r[o])}}));var c=o.concat(a).concat(i).concat(s);var l=Object.keys(r).concat(Object.keys(t)).filter((function e(r){return c.indexOf(r)===-1}));k.forEach(l,f);return n};var Y="axios@^0.21.1";var ee="axios@0.21.4";var re=false;var te="sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==";var ne="/axios";var oe={};var ae={type:"range",registry:true,raw:"axios@^0.21.1",name:"axios",escapedName:"axios",rawSpec:"^0.21.1",saveSpec:null,fetchSpec:"^0.21.1"};var ie=["/@verdocs/js-sdk"];var se="https://registry.npmjs.org/axios/-/axios-0.21.4.tgz";var ue="c67b90dc0568e5c1cf2b0b858c43ba28e2eda575";var fe="axios@^0.21.1";var ce="/Users/chad/projects/verdocs/web-sdk/verdocs-web-sdk/node_modules/@verdocs/js-sdk";var le={name:"Matt Zabriskie"};var de={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};var pe={url:"https://github.com/axios/axios/issues"};var he=false;var ve=[{path:"./dist/axios.min.js",threshold:"5kB"}];var me={"follow-redirects":"^1.14.0"};var ge=false;var ye="Promise based HTTP client for the browser and node.js";var be={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};var we="https://axios-http.com";var xe="dist/axios.min.js";var je=["xhr","http","ajax","promise","node"];var Ee="MIT";var Se="index.js";var ke="axios";var Oe={type:"git",url:"git+https://github.com/axios/axios.git"};var Ne={build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",fix:"eslint --fix lib/**/*.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"};var Ce="./index.d.ts";var Ae="dist/axios.min.js";var Te="0.21.4";var Re={_from:Y,_id:ee,_inBundle:re,_integrity:te,_location:ne,_phantomChildren:oe,_requested:ae,_requiredBy:ie,_resolved:se,_shasum:ue,_spec:fe,_where:ce,author:le,browser:de,bugs:pe,bundleDependencies:he,bundlesize:ve,dependencies:me,deprecated:ge,description:ye,devDependencies:be,homepage:we,jsdelivr:xe,keywords:je,license:Ee,main:Se,name:ke,repository:Oe,scripts:Ne,typings:Ce,unpkg:Ae,version:Te};var Pe={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){Pe[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var Ue={};var Be=Re.version.split(".");function _e(e,r){var t=r?r.split("."):Be;var n=e.split(".");for(var o=0;o<3;o++){if(t[o]>n[o]){return true}else if(t[o]<n[o]){return false}}return false}Pe.transitional=function e(r,t,n){var o=t&&_e(t);function a(e,r){return"[Axios v"+Re.version+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,i){if(r===false){throw new Error(a(n," has been removed in "+t))}if(o&&!Ue[n]){Ue[n]=true;console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,i):true}};function Le(e,r,t){if(typeof e!=="object"){throw new TypeError("options must be an object")}var n=Object.keys(e);var o=n.length;while(o-- >0){var a=n[o];var i=r[a];if(i){var s=e[a];var u=s===undefined||i(s,a,e);if(u!==true){throw new TypeError("option "+a+" must be "+u)}continue}if(t!==true){throw Error("Unknown option "+a)}}}var qe={isOlderVersion:_e,assertOptions:Le,validators:Pe};var De=qe.validators;function Je(e){this.defaults=e;this.interceptors={request:new A,response:new A}}Je.prototype.request=function e(r){if(typeof r==="string"){r=arguments[1]||{};r.url=arguments[0]}else{r=r||{}}r=Z(this.defaults,r);if(r.method){r.method=r.method.toLowerCase()}else if(this.defaults.method){r.method=this.defaults.method.toLowerCase()}else{r.method="get"}var t=r.transitional;if(t!==undefined){qe.assertOptions(t,{silentJSONParsing:De.transitional(De.boolean,"1.0.0"),forcedJSONParsing:De.transitional(De.boolean,"1.0.0"),clarifyTimeoutError:De.transitional(De.boolean,"1.0.0")},false)}var n=[];var o=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}o=o&&t.synchronous;n.unshift(t.fulfilled,t.rejected)}));var a=[];this.interceptors.response.forEach((function e(r){a.push(r.fulfilled,r.rejected)}));var i;if(!o){var s=[Q,undefined];Array.prototype.unshift.apply(s,n);s=s.concat(a);i=Promise.resolve(r);while(s.length){i=i.then(s.shift(),s.shift())}return i}var u=r;while(n.length){var f=n.shift();var c=n.shift();try{u=f(u)}catch(e){c(e);break}}try{i=Q(u)}catch(e){return Promise.reject(e)}while(a.length){i=i.then(a.shift(),a.shift())}return i};Je.prototype.getUri=function e(r){r=Z(this.defaults,r);return N(r.url,r.params,r.paramsSerializer).replace(/^\?/,"")};k.forEach(["delete","get","head","options"],(function e(r){Je.prototype[r]=function(e,t){return this.request(Z(t||{},{method:r,url:e,data:(t||{}).data}))}}));k.forEach(["post","put","patch"],(function e(r){Je.prototype[r]=function(e,t,n){return this.request(Z(n||{},{method:r,url:e,data:t}))}}));var He=Je;function Me(e){this.message=e}Me.prototype.toString=function e(){return"Cancel"+(this.message?": "+this.message:"")};Me.prototype.__CANCEL__=true;var ze=Me;function Fe(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;e((function e(n){if(t.reason){return}t.reason=new ze(n);r(t.reason)}))}Fe.prototype.throwIfRequested=function e(){if(this.reason){throw this.reason}};Fe.source=function e(){var r;var t=new Fe((function e(t){r=t}));return{token:t,cancel:r}};var Ve=Fe;var Ie=function e(r){return function e(t){return r.apply(null,t)}};var Xe=function e(r){return typeof r==="object"&&r.isAxiosError===true};function Ge(e){var t=new He(e);var n=r(He.prototype.request,t);k.extend(n,He.prototype,t);k.extend(n,t);return n}var Ke=Ge(G);Ke.Axios=He;Ke.create=function e(r){return Ge(Z(Ke.defaults,r))};Ke.Cancel=ze;Ke.CancelToken=Ve;Ke.isCancel=W;Ke.all=function e(r){return Promise.all(r)};Ke.spread=Ie;Ke.isAxiosError=Xe;var We=Ke;var $e=Ke;We.default=$e;var Qe=We;var Ze=""+Math.floor(Math.random()*1e5);console.log("[JS-SDK Loaded]",Ze);var Ye={baseURL:"https://api.verdocs.com/",timeout:3e3,headers:{"X-Client-ID":"NONE"}};var er=function(){rr=Qe.create(Ye);rr.interceptors.request.use((function(e){console.log("[JS-SDK] "+Ze+" :: "+e.method.toUpperCase()+" "+e.url,JSON.stringify(e.data),JSON.stringify(e.headers));return e}))};var rr;er();var tr=function(){if(!rr){er()}return rr};var nr=undefined&&undefined.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?t(e.value):o(e.value).then(i,s)}u((n=n.apply(e,r||[])).next())}))};var or=undefined&&undefined.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(r){return u([e,r])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;o=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){t.label=i[1];break}if(i[0]===6&&t.label<a[1]){t.label=a[1];a=i;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(i);break}if(a[2])t.ops.pop();t.trys.pop();continue}i=r.call(e,t)}catch(e){i=[6,e];o=0}finally{n=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var ar=e("g",(function(){return nr(void 0,void 0,void 0,(function(){return or(this,(function(e){return[2,tr().get("/search/history").then((function(e){return e.data}))]}))}))}))}}}));