box-ui-elements 19.0.0 → 20.0.0-beta.1

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 (190) hide show
  1. package/dist/explorer.js +1 -1
  2. package/dist/openwith.js +1 -1
  3. package/dist/picker.js +1 -1
  4. package/dist/preview.js +1 -1
  5. package/dist/sharing.js +1 -1
  6. package/dist/sidebar.js +1 -1
  7. package/dist/uploader.js +1 -1
  8. package/es/components/breadcrumb/Breadcrumb.js.flow +3 -2
  9. package/es/components/breadcrumb/Breadcrumb.js.map +1 -1
  10. package/es/components/date-picker/DatePicker.js.flow +3 -2
  11. package/es/components/grid-view/GridViewSlider.js.flow +3 -2
  12. package/es/components/grid-view/GridViewSlider.js.map +1 -1
  13. package/es/components/i18n/FormattedCompMessage.js +1 -0
  14. package/es/components/i18n/FormattedCompMessage.js.flow +1 -0
  15. package/es/components/i18n/FormattedCompMessage.js.map +1 -1
  16. package/es/components/i18n/Plural.js +1 -1
  17. package/es/components/i18n/Plural.js.flow +1 -1
  18. package/es/components/i18n/Plural.js.map +1 -1
  19. package/es/components/i18n/index.js +1 -1
  20. package/es/components/i18n/index.js.flow +1 -1
  21. package/es/components/i18n/index.js.map +1 -1
  22. package/es/components/sidebar-toggle-button/SidebarToggleButton.js.flow +3 -2
  23. package/es/components/sidebar-toggle-button/SidebarToggleButton.js.map +1 -1
  24. package/es/components/time/ReadableTime.js +7 -8
  25. package/es/components/time/ReadableTime.js.flow +4 -8
  26. package/es/components/time/ReadableTime.js.map +1 -1
  27. package/es/elements/common/breadcrumbs/Breadcrumbs.js.flow +3 -2
  28. package/es/elements/common/breadcrumbs/Breadcrumbs.js.map +1 -1
  29. package/es/elements/common/create-folder-dialog/CreateFolderDialog.js.flow +3 -2
  30. package/es/elements/common/create-folder-dialog/CreateFolderDialog.js.map +1 -1
  31. package/es/elements/common/date/DateField.js.flow +3 -2
  32. package/es/elements/common/date/DateField.js.map +1 -1
  33. package/es/elements/common/share-access-select/ShareAccessSelect.js.flow +3 -2
  34. package/es/elements/common/share-access-select/ShareAccessSelect.js.map +1 -1
  35. package/es/elements/common/sub-header/SubHeaderLeft.js.flow +3 -2
  36. package/es/elements/common/sub-header/SubHeaderLeft.js.map +1 -1
  37. package/es/elements/common/sub-header/ViewModeChangeButton.js.flow +3 -2
  38. package/es/elements/common/sub-header/ViewModeChangeButton.js.map +1 -1
  39. package/es/elements/common/upload-dialog/UploadDialog.js.flow +3 -2
  40. package/es/elements/common/upload-dialog/UploadDialog.js.map +1 -1
  41. package/es/elements/content-explorer/DeleteConfirmationDialog.js.flow +3 -2
  42. package/es/elements/content-explorer/DeleteConfirmationDialog.js.map +1 -1
  43. package/es/elements/content-explorer/ItemList.js.flow +3 -2
  44. package/es/elements/content-explorer/ItemList.js.map +1 -1
  45. package/es/elements/content-explorer/PreviewDialog.js.flow +3 -2
  46. package/es/elements/content-explorer/PreviewDialog.js.map +1 -1
  47. package/es/elements/content-explorer/RenameDialog.js.flow +3 -2
  48. package/es/elements/content-explorer/RenameDialog.js.map +1 -1
  49. package/es/elements/content-explorer/ShareDialog.js.flow +3 -2
  50. package/es/elements/content-explorer/ShareDialog.js.map +1 -1
  51. package/es/elements/content-preview/PreviewNavigation.js.flow +3 -2
  52. package/es/elements/content-preview/PreviewNavigation.js.map +1 -1
  53. package/es/elements/content-preview/preview-header/PreviewHeader.js.flow +3 -2
  54. package/es/elements/content-preview/preview-header/PreviewHeader.js.map +1 -1
  55. package/es/elements/content-sidebar/SidebarAccessStats.js.flow +3 -2
  56. package/es/elements/content-sidebar/SidebarAccessStats.js.map +1 -1
  57. package/es/elements/content-sidebar/SidebarFileProperties.js.flow +3 -2
  58. package/es/elements/content-sidebar/SidebarFileProperties.js.map +1 -1
  59. package/es/elements/content-sidebar/SidebarNav.js.flow +3 -2
  60. package/es/elements/content-sidebar/SidebarNav.js.map +1 -1
  61. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js.flow +3 -2
  62. package/es/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js.map +1 -1
  63. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.flow +3 -2
  64. package/es/elements/content-sidebar/activity-feed/comment-form/CommentForm.js.map +1 -1
  65. package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.flow +2 -2
  66. package/es/elements/content-sidebar/activity-feed/task-form/TaskForm.js.map +1 -1
  67. package/es/elements/content-sidebar/activity-feed/version/CollapsedVersion.js.flow +3 -2
  68. package/es/elements/content-sidebar/activity-feed/version/CollapsedVersion.js.map +1 -1
  69. package/es/elements/content-sidebar/activity-feed/version/Version.js.flow +3 -2
  70. package/es/elements/content-sidebar/activity-feed/version/Version.js.map +1 -1
  71. package/es/elements/content-uploader/ItemAction.js.flow +3 -2
  72. package/es/elements/content-uploader/ItemAction.js.map +1 -1
  73. package/es/elements/content-uploader/ItemRemove.js.flow +3 -2
  74. package/es/elements/content-uploader/ItemRemove.js.map +1 -1
  75. package/es/features/classification/security-controls/messages.js +1 -1
  76. package/es/features/classification/security-controls/messages.js.flow +1 -1
  77. package/es/features/classification/security-controls/messages.js.map +1 -1
  78. package/es/features/collaborator-avatars/CollaboratorAvatarItem.js.flow +3 -2
  79. package/es/features/collaborator-avatars/CollaboratorAvatarItem.js.map +1 -1
  80. package/es/features/collapsible-sidebar/CollapsibleSidebarLogo.js.flow +4 -2
  81. package/es/features/collapsible-sidebar/CollapsibleSidebarLogo.js.map +1 -1
  82. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +5 -3
  83. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.flow +3 -0
  84. package/es/features/content-explorer/content-explorer-modal/ContentExplorerModal.js.map +1 -1
  85. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +10 -4
  86. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.flow +5 -0
  87. package/es/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js.map +1 -1
  88. package/es/features/content-explorer/new-folder-modal/NewFolderModal.js +9 -3
  89. package/es/features/content-explorer/new-folder-modal/NewFolderModal.js.flow +5 -0
  90. package/es/features/content-explorer/new-folder-modal/NewFolderModal.js.map +1 -1
  91. package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.flow +4 -2
  92. package/es/features/message-center/components/message-center-modal/MessageCenterModal.js.map +1 -1
  93. package/es/features/presence/PresenceAvatarTooltipContent.js +8 -10
  94. package/es/features/presence/PresenceAvatarTooltipContent.js.map +1 -1
  95. package/es/features/presence/PresenceCollaborator.js +6 -1
  96. package/es/features/presence/PresenceCollaborator.js.flow +3 -3
  97. package/es/features/presence/PresenceCollaborator.js.map +1 -1
  98. package/es/features/shared-link-modal/SharedLink.js.flow +3 -2
  99. package/es/features/shared-link-modal/SharedLink.js.map +1 -1
  100. package/es/features/unified-share-modal/ContactRestrictionNotice.js.flow +3 -2
  101. package/es/features/unified-share-modal/ContactRestrictionNotice.js.map +1 -1
  102. package/es/features/virtualized-table/VirtualizedTable.js.flow +2 -2
  103. package/es/features/virtualized-table/VirtualizedTable.js.map +1 -1
  104. package/es/features/virtualized-table-renderers/lastModifiedByCellRenderer.js +6 -11
  105. package/es/features/virtualized-table-renderers/lastModifiedByCellRenderer.js.flow +3 -8
  106. package/es/features/virtualized-table-renderers/lastModifiedByCellRenderer.js.map +1 -1
  107. package/es/src/components/avatar/Avatar.d.ts +1 -3
  108. package/es/src/components/avatar/Avatar.stories.d.ts +1 -3
  109. package/es/src/components/close-button/CloseButton.d.ts +1 -3
  110. package/es/src/components/close-button/CloseButton.stories.d.ts +1 -3
  111. package/es/src/components/date-picker/DatePicker.d.ts +1 -3
  112. package/es/src/components/date-picker/DatePicker.stories.d.ts +1 -3
  113. package/es/src/components/media/Media.d.ts +1 -3
  114. package/es/src/components/media/MediaMenu.d.ts +1 -3
  115. package/es/src/components/media/stories/Media.stories.d.ts +1 -3
  116. package/es/src/components/media/stories/MediaMenu.stories.d.ts +1 -3
  117. package/es/src/components/search-form/SearchActions.d.ts +2 -2
  118. package/es/src/components/time-input/TimeInput.d.ts +1 -3
  119. package/es/src/components/time-input/TimeInput.stories.d.ts +1 -3
  120. package/es/src/components/tooltip/CloseButton.d.ts +1 -3
  121. package/es/src/elements/content-sidebar/SidebarNavSignButton.d.ts +2 -4
  122. package/es/src/elements/content-sidebar/activity-feed/annotations/AnnotationActivityLink.d.ts +1 -3
  123. package/es/src/features/content-answers/ContentAnswersModalFooter.d.ts +1 -3
  124. package/es/src/features/content-answers/ContentAnswersOpenButton.d.ts +1 -3
  125. package/es/src/features/content-insights/CompactCount.d.ts +1 -3
  126. package/es/src/features/content-insights/GraphCardPreviewsSummary.d.ts +1 -3
  127. package/es/src/features/content-insights/MetricSummary.d.ts +1 -3
  128. package/es/src/features/content-insights/TrendPill.d.ts +1 -3
  129. package/es/src/features/presence/PresenceAvatarTooltipContent.d.ts +2 -4
  130. package/es/utils/relativeTime.js +54 -0
  131. package/es/utils/relativeTime.js.flow +31 -0
  132. package/es/utils/relativeTime.js.map +1 -0
  133. package/i18n/en-US.js +1 -1
  134. package/i18n/en-US.properties +1 -1
  135. package/package.json +4 -4
  136. package/src/components/breadcrumb/Breadcrumb.js +3 -2
  137. package/src/components/date-picker/DatePicker.js.flow +3 -2
  138. package/src/components/grid-view/GridViewSlider.js +3 -2
  139. package/src/components/i18n/FormattedCompMessage.js +1 -0
  140. package/src/components/i18n/Plural.js +1 -1
  141. package/src/components/i18n/README.md +4 -0
  142. package/src/components/i18n/index.js +1 -1
  143. package/src/components/sidebar-toggle-button/SidebarToggleButton.js +3 -2
  144. package/src/components/time/ReadableTime.js +4 -8
  145. package/src/components/time/__tests__/__snapshots__/ReadableTime.test.js.snap +7 -7
  146. package/src/elements/common/breadcrumbs/Breadcrumbs.js +3 -2
  147. package/src/elements/common/create-folder-dialog/CreateFolderDialog.js +3 -2
  148. package/src/elements/common/date/DateField.js +3 -2
  149. package/src/elements/common/share-access-select/ShareAccessSelect.js +3 -2
  150. package/src/elements/common/sub-header/SubHeaderLeft.js +3 -2
  151. package/src/elements/common/sub-header/ViewModeChangeButton.js +3 -2
  152. package/src/elements/common/upload-dialog/UploadDialog.js +3 -2
  153. package/src/elements/content-explorer/DeleteConfirmationDialog.js +3 -2
  154. package/src/elements/content-explorer/ItemList.js +3 -2
  155. package/src/elements/content-explorer/PreviewDialog.js +3 -2
  156. package/src/elements/content-explorer/RenameDialog.js +3 -2
  157. package/src/elements/content-explorer/ShareDialog.js +3 -2
  158. package/src/elements/content-preview/PreviewNavigation.js +3 -2
  159. package/src/elements/content-preview/preview-header/PreviewHeader.js +3 -2
  160. package/src/elements/content-sidebar/SidebarAccessStats.js +3 -2
  161. package/src/elements/content-sidebar/SidebarFileProperties.js +3 -2
  162. package/src/elements/content-sidebar/SidebarNav.js +3 -2
  163. package/src/elements/content-sidebar/activity-feed/activity-feed/ActivityThreadReplyForm.js +3 -2
  164. package/src/elements/content-sidebar/activity-feed/comment-form/CommentForm.js +3 -2
  165. package/src/elements/content-sidebar/activity-feed/task-form/TaskForm.js +2 -2
  166. package/src/elements/content-sidebar/activity-feed/version/CollapsedVersion.js +3 -2
  167. package/src/elements/content-sidebar/activity-feed/version/Version.js +3 -2
  168. package/src/elements/content-uploader/ItemAction.js +3 -2
  169. package/src/elements/content-uploader/ItemRemove.js +3 -2
  170. package/src/features/classification/security-controls/__tests__/__snapshots__/SecurityControlsModal.test.js.snap +1 -1
  171. package/src/features/classification/security-controls/messages.js +1 -1
  172. package/src/features/collaborator-avatars/CollaboratorAvatarItem.js +3 -2
  173. package/src/features/collapsible-sidebar/CollapsibleSidebarLogo.js +4 -2
  174. package/src/features/content-explorer/content-explorer-modal/ContentExplorerModal.js +3 -0
  175. package/src/features/content-explorer/content-explorer-modal/__tests__/__snapshots__/ContentExplorerModal.test.js.snap +1 -0
  176. package/src/features/content-explorer/content-explorer-modal-container/ContentExplorerModalContainer.js +5 -0
  177. package/src/features/content-explorer/content-explorer-modal-container/__tests__/ContentExplorerModalContainer.test.js +16 -2
  178. package/src/features/content-explorer/new-folder-modal/NewFolderModal.js +5 -0
  179. package/src/features/message-center/components/message-center-modal/MessageCenterModal.js +4 -2
  180. package/src/features/presence/PresenceAvatarTooltipContent.tsx +4 -8
  181. package/src/features/presence/PresenceCollaborator.js +3 -3
  182. package/src/features/presence/__tests__/PresenceAvatarTooltipContent.test.tsx +2 -2
  183. package/src/features/shared-link-modal/SharedLink.js +3 -2
  184. package/src/features/unified-share-modal/ContactRestrictionNotice.js +3 -2
  185. package/src/features/virtualized-table/VirtualizedTable.js +2 -2
  186. package/src/features/virtualized-table-renderers/__tests__/__snapshots__/lastModifiedByCellRenderer.test.js.snap +1 -1
  187. package/src/features/virtualized-table-renderers/__tests__/lastModifiedByCellRenderer.test.js +14 -9
  188. package/src/features/virtualized-table-renderers/lastModifiedByCellRenderer.js +3 -8
  189. package/src/utils/__tests__/relativeTime.test.js +45 -0
  190. package/src/utils/relativeTime.js +31 -0
package/dist/picker.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see picker.js.LICENSE.txt */
2
- !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/0.0.0-semantically-released/en-US/",r(r.s=1001)}([function(e,t,r){"use strict";e.exports=r(369)},function(e,t,r){"use strict";r.d(t,"l",(function(){return o})),r.d(t,"tf",(function(){return i})),r.d(t,"uf",(function(){return a})),r.d(t,"vf",(function(){return s})),r.d(t,"wf",(function(){return l})),r.d(t,"ug",(function(){return c})),r.d(t,"zg",(function(){return u})),r.d(t,"Ag",(function(){return d})),r.d(t,"yg",(function(){return f})),r.d(t,"tg",(function(){return h})),r.d(t,"Bg",(function(){return p})),r.d(t,"Cg",(function(){return m})),r.d(t,"Dg",(function(){return b})),r.d(t,"vg",(function(){return g})),r.d(t,"xg",(function(){return v})),r.d(t,"wg",(function(){return y})),r.d(t,"kg",(function(){return w})),r.d(t,"jg",(function(){return C})),r.d(t,"lg",(function(){return E})),r.d(t,"Ec",(function(){return S})),r.d(t,"Dc",(function(){return k})),r.d(t,"Fc",(function(){return x})),r.d(t,"Gc",(function(){return O})),r.d(t,"Hc",(function(){return _})),r.d(t,"ig",(function(){return P})),r.d(t,"hg",(function(){return A})),r.d(t,"gg",(function(){return I})),r.d(t,"p",(function(){return T})),r.d(t,"o",(function(){return M})),r.d(t,"u",(function(){return L})),r.d(t,"t",(function(){return D})),r.d(t,"s",(function(){return j})),r.d(t,"q",(function(){return F})),r.d(t,"r",(function(){return R})),r.d(t,"Lf",(function(){return N})),r.d(t,"Mf",(function(){return U})),r.d(t,"c",(function(){return z})),r.d(t,"d",(function(){return H})),r.d(t,"a",(function(){return B})),r.d(t,"b",(function(){return V})),r.d(t,"fe",(function(){return W})),r.d(t,"je",(function(){return q})),r.d(t,"he",(function(){return G})),r.d(t,"ie",(function(){return K})),r.d(t,"ge",(function(){return X})),r.d(t,"Fe",(function(){return Q})),r.d(t,"Ie",(function(){return Z})),r.d(t,"He",(function(){return $})),r.d(t,"Ee",(function(){return Y})),r.d(t,"De",(function(){return J})),r.d(t,"Ge",(function(){return ee})),r.d(t,"bd",(function(){return te})),r.d(t,"Tc",(function(){return re})),r.d(t,"nd",(function(){return ne})),r.d(t,"Nd",(function(){return oe})),r.d(t,"Hd",(function(){return ie})),r.d(t,"qd",(function(){return ae})),r.d(t,"Xc",(function(){return se})),r.d(t,"hd",(function(){return le})),r.d(t,"sd",(function(){return ce})),r.d(t,"td",(function(){return ue})),r.d(t,"ud",(function(){return de})),r.d(t,"gd",(function(){return fe})),r.d(t,"rd",(function(){return he})),r.d(t,"Pc",(function(){return pe})),r.d(t,"Qc",(function(){return me})),r.d(t,"ld",(function(){return be})),r.d(t,"zd",(function(){return ge})),r.d(t,"Bd",(function(){return ve})),r.d(t,"Rc",(function(){return ye})),r.d(t,"cd",(function(){return we})),r.d(t,"Ed",(function(){return Ce})),r.d(t,"Fd",(function(){return Ee})),r.d(t,"Gd",(function(){return Se})),r.d(t,"Jc",(function(){return ke})),r.d(t,"Kc",(function(){return xe})),r.d(t,"Zc",(function(){return Oe})),r.d(t,"fd",(function(){return _e})),r.d(t,"Pd",(function(){return Pe})),r.d(t,"Sc",(function(){return Ae})),r.d(t,"md",(function(){return Ie})),r.d(t,"pd",(function(){return Te})),r.d(t,"vd",(function(){return Me})),r.d(t,"Ad",(function(){return Le})),r.d(t,"Md",(function(){return De})),r.d(t,"Uc",(function(){return je})),r.d(t,"yd",(function(){return Fe})),r.d(t,"Dd",(function(){return Re})),r.d(t,"Sd",(function(){return Ne})),r.d(t,"Nc",(function(){return Ue})),r.d(t,"Yc",(function(){return ze})),r.d(t,"ed",(function(){return He})),r.d(t,"Qd",(function(){return Be})),r.d(t,"Rd",(function(){return Ve})),r.d(t,"jd",(function(){return We})),r.d(t,"kd",(function(){return qe})),r.d(t,"Vc",(function(){return Ge})),r.d(t,"Kd",(function(){return Ke})),r.d(t,"dd",(function(){return Xe})),r.d(t,"id",(function(){return Qe})),r.d(t,"Jd",(function(){return Ze})),r.d(t,"Ld",(function(){return $e})),r.d(t,"Mc",(function(){return Ye})),r.d(t,"wd",(function(){return Je})),r.d(t,"Id",(function(){return et})),r.d(t,"Ic",(function(){return tt})),r.d(t,"Lc",(function(){return rt})),r.d(t,"od",(function(){return nt})),r.d(t,"xd",(function(){return ot})),r.d(t,"Cd",(function(){return it})),r.d(t,"Od",(function(){return at})),r.d(t,"Oc",(function(){return st})),r.d(t,"Wc",(function(){return lt})),r.d(t,"ad",(function(){return ct})),r.d(t,"Ze",(function(){return ut})),r.d(t,"af",(function(){return dt})),r.d(t,"bf",(function(){return ft})),r.d(t,"cf",(function(){return ht})),r.d(t,"df",(function(){return pt})),r.d(t,"ef",(function(){return mt})),r.d(t,"ff",(function(){return bt})),r.d(t,"gf",(function(){return gt})),r.d(t,"hf",(function(){return vt})),r.d(t,"if",(function(){return yt})),r.d(t,"jf",(function(){return wt})),r.d(t,"Ae",(function(){return Ct})),r.d(t,"ob",(function(){return Et})),r.d(t,"nb",(function(){return St})),r.d(t,"gb",(function(){return kt})),r.d(t,"ab",(function(){return xt})),r.d(t,"fb",(function(){return Ot})),r.d(t,"U",(function(){return _t})),r.d(t,"W",(function(){return Pt})),r.d(t,"X",(function(){return At})),r.d(t,"Y",(function(){return It})),r.d(t,"Z",(function(){return Tt})),r.d(t,"V",(function(){return Mt})),r.d(t,"R",(function(){return Lt})),r.d(t,"ib",(function(){return Dt})),r.d(t,"jb",(function(){return jt})),r.d(t,"Q",(function(){return Ft})),r.d(t,"bb",(function(){return Rt})),r.d(t,"cb",(function(){return Nt})),r.d(t,"db",(function(){return Ut})),r.d(t,"eb",(function(){return zt})),r.d(t,"T",(function(){return Ht})),r.d(t,"S",(function(){return Bt})),r.d(t,"kb",(function(){return Vt})),r.d(t,"mb",(function(){return Wt})),r.d(t,"lb",(function(){return qt})),r.d(t,"D",(function(){return Gt})),r.d(t,"L",(function(){return Kt})),r.d(t,"E",(function(){return Xt})),r.d(t,"F",(function(){return Qt})),r.d(t,"G",(function(){return Zt})),r.d(t,"H",(function(){return $t})),r.d(t,"I",(function(){return Yt})),r.d(t,"J",(function(){return Jt})),r.d(t,"K",(function(){return er})),r.d(t,"Sf",(function(){return tr})),r.d(t,"Rf",(function(){return rr})),r.d(t,"Tf",(function(){return nr})),r.d(t,"Of",(function(){return or})),r.d(t,"Pf",(function(){return ir})),r.d(t,"Nf",(function(){return ar})),r.d(t,"Qf",(function(){return sr})),r.d(t,"A",(function(){return lr})),r.d(t,"B",(function(){return cr})),r.d(t,"C",(function(){return ur})),r.d(t,"x",(function(){return dr})),r.d(t,"w",(function(){return fr})),r.d(t,"y",(function(){return hr})),r.d(t,"z",(function(){return pr})),r.d(t,"v",(function(){return mr})),r.d(t,"Ye",(function(){return br})),r.d(t,"gc",(function(){return gr})),r.d(t,"ic",(function(){return vr})),r.d(t,"hc",(function(){return yr})),r.d(t,"zc",(function(){return wr})),r.d(t,"xc",(function(){return Cr})),r.d(t,"Cc",(function(){return Er})),r.d(t,"Ac",(function(){return Sr})),r.d(t,"Bc",(function(){return kr})),r.d(t,"wc",(function(){return xr})),r.d(t,"yc",(function(){return Or})),r.d(t,"Ib",(function(){return _r})),r.d(t,"Jb",(function(){return Pr})),r.d(t,"Kb",(function(){return Ar})),r.d(t,"Qb",(function(){return Ir})),r.d(t,"Rb",(function(){return Tr})),r.d(t,"Sb",(function(){return Mr})),r.d(t,"dc",(function(){return Lr})),r.d(t,"Lb",(function(){return Dr})),r.d(t,"Mb",(function(){return jr})),r.d(t,"Xb",(function(){return Fr})),r.d(t,"bc",(function(){return Rr})),r.d(t,"cc",(function(){return Nr})),r.d(t,"Zb",(function(){return Ur})),r.d(t,"Nb",(function(){return zr})),r.d(t,"Ob",(function(){return Hr})),r.d(t,"Pb",(function(){return Br})),r.d(t,"ac",(function(){return Vr})),r.d(t,"Tb",(function(){return Wr})),r.d(t,"Ub",(function(){return qr})),r.d(t,"Vb",(function(){return Gr})),r.d(t,"Hb",(function(){return Kr})),r.d(t,"Yb",(function(){return Xr})),r.d(t,"Wb",(function(){return Qr})),r.d(t,"Gb",(function(){return Zr})),r.d(t,"pb",(function(){return $r})),r.d(t,"qb",(function(){return Yr})),r.d(t,"tb",(function(){return Jr})),r.d(t,"ub",(function(){return en})),r.d(t,"wb",(function(){return tn})),r.d(t,"vb",(function(){return rn})),r.d(t,"rb",(function(){return nn})),r.d(t,"sb",(function(){return on})),r.d(t,"yb",(function(){return an})),r.d(t,"xb",(function(){return sn})),r.d(t,"Fb",(function(){return ln})),r.d(t,"zb",(function(){return cn})),r.d(t,"Cb",(function(){return un})),r.d(t,"Db",(function(){return dn})),r.d(t,"Ab",(function(){return fn})),r.d(t,"Bb",(function(){return hn})),r.d(t,"Eb",(function(){return pn})),r.d(t,"fc",(function(){return mn})),r.d(t,"kc",(function(){return bn})),r.d(t,"mc",(function(){return gn})),r.d(t,"uc",(function(){return vn})),r.d(t,"vc",(function(){return yn})),r.d(t,"rc",(function(){return wn})),r.d(t,"tc",(function(){return Cn})),r.d(t,"sc",(function(){return En})),r.d(t,"ec",(function(){return Sn})),r.d(t,"lc",(function(){return kn})),r.d(t,"oc",(function(){return xn})),r.d(t,"pc",(function(){return On})),r.d(t,"nc",(function(){return _n})),r.d(t,"jc",(function(){return Pn})),r.d(t,"qc",(function(){return An})),r.d(t,"Qe",(function(){return In})),r.d(t,"Re",(function(){return Tn})),r.d(t,"Pe",(function(){return Mn})),r.d(t,"Se",(function(){return Ln})),r.d(t,"Te",(function(){return Dn})),r.d(t,"We",(function(){return jn})),r.d(t,"Xe",(function(){return Fn})),r.d(t,"Ve",(function(){return Rn})),r.d(t,"Ue",(function(){return Nn})),r.d(t,"Ke",(function(){return Un})),r.d(t,"Je",(function(){return zn})),r.d(t,"Be",(function(){return Hn})),r.d(t,"Eg",(function(){return Vn})),r.d(t,"hb",(function(){return Wn})),r.d(t,"Le",(function(){return qn})),r.d(t,"M",(function(){return Gn})),r.d(t,"N",(function(){return Kn})),r.d(t,"Kf",(function(){return Xn})),r.d(t,"Ff",(function(){return Qn})),r.d(t,"Jf",(function(){return Zn})),r.d(t,"Ef",(function(){return $n})),r.d(t,"Gf",(function(){return Yn})),r.d(t,"Cf",(function(){return Jn})),r.d(t,"xf",(function(){return eo})),r.d(t,"yf",(function(){return to})),r.d(t,"Df",(function(){return ro})),r.d(t,"Bf",(function(){return no})),r.d(t,"Af",(function(){return oo})),r.d(t,"zf",(function(){return io})),r.d(t,"If",(function(){return ao})),r.d(t,"Hf",(function(){return so})),r.d(t,"Yd",(function(){return lo})),r.d(t,"Zd",(function(){return co})),r.d(t,"ae",(function(){return uo})),r.d(t,"be",(function(){return fo})),r.d(t,"ce",(function(){return ho})),r.d(t,"de",(function(){return po})),r.d(t,"Fg",(function(){return mo})),r.d(t,"lf",(function(){return bo})),r.d(t,"mf",(function(){return go})),r.d(t,"nf",(function(){return vo})),r.d(t,"rf",(function(){return yo})),r.d(t,"pf",(function(){return wo})),r.d(t,"qf",(function(){return Co})),r.d(t,"of",(function(){return Eo})),r.d(t,"sf",(function(){return So})),r.d(t,"le",(function(){return ko})),r.d(t,"oe",(function(){return xo})),r.d(t,"pe",(function(){return Oo})),r.d(t,"ke",(function(){return _o})),r.d(t,"ne",(function(){return Po})),r.d(t,"me",(function(){return Ao})),r.d(t,"ze",(function(){return Io})),r.d(t,"se",(function(){return To})),r.d(t,"ve",(function(){return Mo})),r.d(t,"re",(function(){return Lo})),r.d(t,"xe",(function(){return Do})),r.d(t,"ue",(function(){return jo})),r.d(t,"we",(function(){return Fo})),r.d(t,"qe",(function(){return Ro})),r.d(t,"ye",(function(){return No})),r.d(t,"te",(function(){return Uo})),r.d(t,"mg",(function(){return zo})),r.d(t,"ng",(function(){return Ho})),r.d(t,"og",(function(){return Bo})),r.d(t,"sg",(function(){return Vo})),r.d(t,"pg",(function(){return Wo})),r.d(t,"rg",(function(){return qo})),r.d(t,"qg",(function(){return Go})),r.d(t,"kf",(function(){return Ko})),r.d(t,"ee",(function(){return Xo})),r.d(t,"m",(function(){return Qo})),r.d(t,"n",(function(){return Zo})),r.d(t,"Ne",(function(){return $o})),r.d(t,"Oe",(function(){return Yo})),r.d(t,"Zf",(function(){return Jo})),r.d(t,"ag",(function(){return ei})),r.d(t,"cg",(function(){return ti})),r.d(t,"bg",(function(){return ri})),r.d(t,"dg",(function(){return ni})),r.d(t,"fg",(function(){return oi})),r.d(t,"eg",(function(){return ii})),r.d(t,"Uf",(function(){return ai})),r.d(t,"Vf",(function(){return si})),r.d(t,"Wf",(function(){return li})),r.d(t,"Xf",(function(){return ci})),r.d(t,"Yf",(function(){return ui})),r.d(t,"O",(function(){return di})),r.d(t,"P",(function(){return fi})),r.d(t,"h",(function(){return hi})),r.d(t,"i",(function(){return pi})),r.d(t,"j",(function(){return mi})),r.d(t,"k",(function(){return bi})),r.d(t,"e",(function(){return gi})),r.d(t,"f",(function(){return vi})),r.d(t,"g",(function(){return yi})),r.d(t,"Td",(function(){return wi})),r.d(t,"Ud",(function(){return Ci})),r.d(t,"Vd",(function(){return Ei})),r.d(t,"Wd",(function(){return Si})),r.d(t,"Xd",(function(){return ki})),r.d(t,"Ce",(function(){return xi})),r.d(t,"Me",(function(){return Oi}));var n=r(60);const o=1e3,i="large",a="medium",s="small",l="very_large",c="folder",u="search",d="selected",f="recents",h="error",p="upload-empty",m="upload-inprogress",b="upload-success",g="metadata",v="list",y="grid",w="folder",C="file",E="web_link",S="app_activity",k="annotation",x="comment",O="task",_="file_version",P="folder_",A="file_",I="feedItems_",T=P,M=A,L="web_link_",D="search_",j="recents_",F="metadata_",R="metadata_query_",N="ASC",U="DESC",z="none",H="open",B="collaborators",V="company",W="Accept",q="Content-Type",G="X-Box-Client-Name",K="X-Box-Client-Version",X="Accept-Language",Q="securityClassification-6VMVochwUWo",Z="boxSkillsCards",$="properties",Y="global",J="enterprise",ee=o,te="id",re="date",ne="name",oe="type",ie="size",ae="parent",se="extension",le="expires_at",ce="permissions",ue="".concat(ce,".can_share"),de="".concat(ce,".can_upload"),fe="item_collection",he="path_collection",pe="content_created_at",me="content_modified_at",be="modified_at",ge="restored_at",ve="restored_from",ye="created_at",we="interacted_at",Ce="shared_link",Ee="allowed_shared_link_access_levels_disabled_reasons",Se="shared_link_features",ke="allowed_invitee_roles",xe="allowed_shared_link_access_levels",Oe="has_collaborations",_e="is_externally_owned",Pe="url",Ae="created_by",Ie="modified_by",Te="owned_by",Me="promoted_by",Le="restored_by",De="trashed_by",je="description",Fe="representations",Re="sha1",Ne="watermark_info",Ue="authenticated_download_url",ze="file_version",He="is_download_available",Be="version_limit",Ve="version_number",We="metadata",qe="".concat(We,".").concat(Y,".").concat(Z),Ge=("".concat(We,".").concat(Y,".").concat($),"".concat(We,".").concat(J,".").concat(Q),"due_at"),Ke="task_assignment_collection",Xe="is_completed",Qe="message",Ze="tagged_message",$e="trashed_at",Ye="assigned_to",Je="",et="status",tt="activity_template",rt="app",nt="occurred_at",ot="rendered_text",it="retention",at="uploader_display_name",st="classification",lt="enterprise",ct="hostname",ut="can_comment",dt="can_create_annotations",ft="can_delete",ht="can_download",pt="can_edit",mt="can_preview",bt="can_rename",gt="can_resolve",vt="can_share",yt="can_upload",wt="can_view_annotations",Ct="editor",Et="slash",St="caret",kt="2.95.0",xt="en-US",Ot="platform/preview",_t="https://api.box.com",Pt="https://cdn01.boxcdn.net",At="https://upload.box.com",It="https://upload.app.box.com",Tt="https://upload.app.box-gov.com",Mt="https://app.box.com",Lt="body",Dt="0",jt=500,Ft=500,Rt=25,Nt=50,Ut=1,zt=50,Ht=0,Bt=1e3,Vt="files",Wt="recents",qt="metadata",Gt="ContentExplorer",Kt="ContentOpenWith",Xt="ContentPicker",Qt="ContentPreview",Zt="ContentSharing",$t="ContentSidebar",Yt="ContentUploader",Jt="FilePicker",er="FolderPicker",tr="pending",rr="inprogress",nr="staged",or="complete",ir="error",ar="accepted",sr="inactive",lr="be-modal-dialog-content",cr="be-modal-dialog-content-full-bleed",ur="be-modal-dialog-overlay",dr="be-is-small",fr="be-is-medium",hr="be-is-touch",pr="be-modal",mr="bcow-integration-icon",br="overlay-wrapper",gr="item_name_invalid",vr="item_name_too_long",yr="item_name_in_use",wr="upload_file_limit",Cr="child_folder_failed_upload",Er="storage_limit_exceeded",Sr="file_size_limit_exceeded",kr="pending_app_folder_size_limit",xr="bad_digest",Or="failed_package_upload",_r="fetch_activity_error",Pr="fetch_annotation_error",Ar="fetch_annotations_error",Ir="fetch_file_error",Tr="forbidden_by_policy",Mr="fetch_folder_error",Lr="fetch_weblink_error",Dr="fetch_comment_error",jr="fetch_comments_error",Fr="fetch_replies_error",Rr="fetch_version_error",Nr="fetch_versions_error",Ur="fetch_tasks_error",zr="fetch_current_user_error",Hr="fetch_enterprise_groups_error",Br="fetch_enterprise_users_error",Vr="fetch_task_collaborator_error",Wr="fetch_integrations_error",qr="fetch_metadata_error",Gr="fetch_metadata_templates_error",Kr="fetch_access_stats_error",Xr="fetch_skills_error",Qr="fetch_recents_error",Zr="execute_integrations_error",$r="create_annotation_error",Yr="create_comment_error",Jr="create_reply_error",en="create_task_error",tn="create_task_link_error",rn="create_task_collaborator_error",nn="create_folder_error",on="create_metadata_error",an="delete_app_activity_error",sn="delete_annotation_error",ln="edit_annotation_error",cn="delete_comment_error",un="delete_task_error",dn="delete_task_collaborator_error",fn="delete_item_error",hn="delete_metadata_error",pn="delete_version_error",mn="group_exceeds_limit",bn="promote_version_error",gn="restore_version_error",vn="update_task_error",yn="update_task_collaborator_error",wn="update_comment_error",Cn="update_skills_error",En="update_metadata_error",Sn="get_download_url_error",kn="rename_item_error",xn="share_item_error",On="unexpected_exception_error",_n="search_error",Pn="metadata_query_error",An="unknown_error",In="content_preview",Tn="content_sidebar",Mn="activity_sidebar",Ln="details_sidebar",Dn="metadata_sidebar",jn="skills_sidebar",Fn="versions_sidebar",Rn="preview",Nn="open_with",Un="preview_metric",zn="elements_load_metric",Hn="isErrorDisplayed",Bn=n.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",Vn="".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(Bn),Wn=3e3,qn=1e3,Gn="#999",Kn="#fff",Xn="transcript",Qn="keyword",Zn="timeline",$n="face",Yn="status",Jn="skills_invocations_error",eo="skills_billing_error",to="skills_external_auth_error",ro="skills_unknown_error",no="skills_invalid_file_size_error",oo="skills_invalid_file_format_error",io="skills_file_processing_error",ao="skills_pending_status",so="skills_invoked_status",lo="boxcanvas",co="boxnote",uo="gdoc",fo="gsheet",ho="gslides",po="gslide",mo="[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),bo="error",go="success",vo="viewable",yo="skills",wo="details",Co="metadata",Eo="activity",So="versions",ko="GET",xo="POST",Oo="PUT",_o="DELETE",Po="OPTIONS",Ao="HEAD",Io=401,To=403,Mo=404,Lo=409,Do=429,jo=500,Fo=501,Ro=502,No=503,Uo=504,zo="delete",Ho="promote",Bo="restore",Vo="upload",Wo="permanently_delete",qo="remove_retention",Go="indefinite",Ko={type:"user",id:"2",name:""},Xo="File Request",Qo="1338",Zo="13418",$o=26,Yo=30,Jo="APPROVED",ei="COMPLETED",ti="NOT_STARTED",ri="IN_PROGRESS",ni="REJECTED",oi="GENERAL",ii="APPROVAL",ai="ALL_ASSIGNEES",si="ANY_ASSIGNEE",li="CREATE",ci="EDIT",ui=250,di="open",fi="resolved",hi="all",pi="resolved",mi="tasks",bi="open",gi="created",vi="restored",yi="trashed",wi="annotation",Ci="app_activity",Ei="comment",Si="task",ki="versions",xi={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "},Oi=36e5},function(e,t,r){"use strict";r.d(t,"D",(function(){return n})),r.d(t,"z",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"m",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"k",(function(){return d})),r.d(t,"j",(function(){return f})),r.d(t,"i",(function(){return h})),r.d(t,"h",(function(){return p})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"p",(function(){return g})),r.d(t,"q",(function(){return v})),r.d(t,"x",(function(){return y})),r.d(t,"y",(function(){return w})),r.d(t,"n",(function(){return C})),r.d(t,"o",(function(){return E})),r.d(t,"r",(function(){return S})),r.d(t,"s",(function(){return k})),r.d(t,"t",(function(){return x})),r.d(t,"u",(function(){return O})),r.d(t,"v",(function(){return _})),r.d(t,"w",(function(){return P})),r.d(t,"a",(function(){return A})),r.d(t,"C",(function(){return I})),r.d(t,"B",(function(){return T})),r.d(t,"A",(function(){return M}));const n="#fff",o="#000",i="#0061d5",a="#e5effa",s="#f2f7fd",l="#222",c="#4e4e4e",u="#6f6f6f",d="#909090",f="#a7a7a7",h="#d3d3d3",p="#e8e8e8",m="#003c84",b="#7f9dc1",g="#2486fc",v="#91c2fd",y="#f5b31b",w="#ffeb7f",C="#26c281",E="#92e0c0",S="#f1811a",k="#f8c08c",x="#9f3fed",O="#cf9ff6",_="#ed3757",P="#f69bab",A=["#0061d5","#003c84","#6f6f6f","#222","#4826c2","#9f3fed"],I="(max-width: 374px)",T="(max-width: 767px)",M="(max-width: 1023px)"},function(e,t){e.exports=function(){}},function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return f})),r.d(t,"b",(function(){return h}));var n,o,i=r(0),a=r(11),s=r(33),l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(n||(n={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));function c(e){const t=t=>i.createElement(s.a.Consumer,null,(r=>{Object(a.h)(r);const{value:n,children:o}=t,i=l(t,["value","children"]),s="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?r.formatDateToParts(s,i):r.formatTimeToParts(s,i))}));return t.displayName=o[e],t}function u(e){const t=t=>i.createElement(s.a.Consumer,null,(r=>{Object(a.h)(r);const{value:n,children:o}=t,s=l(t,["value","children"]),c=r[e](n,s);if("function"==typeof o)return o(c);const u=r.textComponent||i.Fragment;return i.createElement(u,null,c)}));return t.displayName=n[e],t}function d(e){return e}const f=u("formatDate"),h=(u("formatTime"),u("formatNumber"));u("formatList"),u("formatDisplayName"),c("formatDate"),c("formatTime")},function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"We’re sorry, the preview didn’t load. Please refresh the page."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewColumnSize:{id:"be.gridView.columnSize",defaultMessage:"Column size"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},searchState:{id:"be.searchState",defaultMessage:"Sorry, we couldn’t find what you’re looking for."},selectedState:{id:"be.selectedState",defaultMessage:"You haven’t selected any items yet."},errorState:{id:"be.errorState",defaultMessage:"A network error has occurred while trying to load."},folderState:{id:"be.folderState",defaultMessage:"There are no items in this folder."},metadataState:{id:"be.metadataState",defaultMessage:"There are no items in this folder."},recentsState:{id:"be.recentsState",defaultMessage:"There are no recent items yet."},loadingState:{id:"be.loadingState",defaultMessage:"Please wait while the items load..."},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return l}));var n=r(1);function o(){return new Error("Bad box item!")}function i(){return new Error("Insufficient Permissions!")}function a(){return new Error("Bad box user!")}function s(){return new Error("Missing text or status!")}function l(e){return e===n.xe||e===n.ze||e===n.re||e>=n.ue}},function(e,t,r){var n=r(193);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){"use strict";var n=r(0),o=r(21),i=r.n(o),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,o=l(e,["children","title"]),a="".concat(this.id,"-title"),s=i()(o,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}t.a=c},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(0),o=r(21),i=r.n(o),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,o=l(e,["children","title"]),a="".concat(this.id,"-title"),s=i()(o,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}var u=c},function(e,t,r){"use strict";r.d(t,"e",(function(){return c})),r.d(t,"f",(function(){return u})),r.d(t,"h",(function(){return d})),r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"d",(function(){return p})),r.d(t,"c",(function(){return m})),r.d(t,"g",(function(){return b}));var n=r(0),o=r(144),i=r(44),a=r(266);const s={38:"&amp;",62:"&gt;",60:"&lt;",34:"&quot;",39:"&#x27;"},l=/[&><"']/g;function c(e){return(""+e).replace(l,(e=>s[e.charCodeAt(0)]))}function u(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(((t,n)=>(n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t)),{})}function d(e){Object(a.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function f(e,t){const r=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(r)}const h={formats:{},messages:{},timeZone:void 0,textComponent:n.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function p(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}};const t=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames;return{getDateTimeFormat:Object(i.a)(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Object(i.a)(Intl.NumberFormat,e.number),getMessageFormat:Object(i.a)(o.a,e.message),getRelativeTimeFormat:Object(i.a)(t,e.relativeTime),getPluralRules:Object(i.a)(Intl.PluralRules,e.pluralRules),getListFormat:Object(i.a)(r,e.list),getDisplayNames:Object(i.a)(n,e.displayNames)}}function b(e,t,r,n){const o=e&&e[t];let i;if(o&&(i=o[r]),i)return i;n(f("No ".concat(t," format named: ").concat(r)))}},function(e,t,r){var n=r(101),o=0;e.exports=function(e){var t=++o;return n(e)+t}},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(86),a=r.n(i),s=r(8),l=r.n(s),c=r(161),u=r.n(c),d=r(255),f=r.n(d),h=r(66),p=r(1);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=12e4,v=[p.le,p.ne,p.me].map(f.a);var y=class{constructor(){let{id:e,clientName:t,language:r,token:n,version:o,sharedLink:i,sharedLinkPassword:s,responseInterceptor:c,requestInterceptor:u,retryableStatusCodes:d=[p.xe],shouldRetry:f=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,"retryCount",0),b(this,"errorInterceptor",(e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise(((r,n)=>{this.retryTimeout=setTimeout((()=>{this.axios(e.config).then(r,n)}),t)}))}const t=l()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)})),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=c||this.defaultResponseInterceptor,this.retryableStatusCodes=d,this.sharedLink=i,this.sharedLinkPassword=s,this.shouldRetry=f,this.token=n,this.version=o,this.axios=a.a.create(),this.axiosSource=a.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof u&&this.axios.interceptors.request.use(u)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=3)return!1;const{response:t,request:r,config:n}=e,o=l()(t,"status"),i=l()(n,"method"),a=r&&!t,s=o===p.xe,c=u()(this.retryableStatusCodes,o)&&u()(v,i);return a||s||c}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[p.je]:"application/json"},t);this.language&&!r[p.ge]&&(r[p.ge]=this.language),this.sharedLink&&(r.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(r.BoxApi="".concat(r.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(r[p.he]=this.clientName),this.version&&(r[p.ie]=this.version);const n=e||this.id||"",o=await h.a.getWriteToken(n,this.token);return o&&(r.Authorization="Bearer ".concat(o)),r}get(e){let{url:t,id:r,params:n={},headers:o={}}=e;return this.getHeaders(r,o).then((e=>this.axios.get(t,{cancelToken:this.axiosSource.token,params:n,headers:e,parsedUrl:this.getParsedUrl(t)})))}post(e){let{url:t,id:r,data:n,params:o,headers:i={},method:a=p.oe}=e;return this.getHeaders(r,i).then((e=>this.axios({url:t,data:n,params:o,method:a,parsedUrl:this.getParsedUrl(t),headers:e})))}put(e){let{url:t,id:r,data:n,params:o,headers:i={}}=e;return this.post({id:r,url:t,data:n,params:o,headers:i,method:p.pe})}delete(e){let{url:t,id:r,data:n={},headers:o={}}=e;return this.post({id:r,url:t,data:n,headers:o,method:p.ke})}options(e){let{id:t,url:r,data:n,headers:o={},successHandler:i,errorHandler:a}=e;return this.getHeaders(t,o).then((e=>this.axios({url:r,data:n,method:p.ne,headers:e}).then(i).catch(a))).catch(a)}uploadFile(e){let{id:t,url:r,data:n,headers:o={},method:i=p.oe,successHandler:a,errorHandler:s,progressHandler:l,withIdleTimeout:c=!1,idleTimeoutDuration:u=g,idleTimeoutHandler:d}=e;return this.getHeaders(t,o).then((e=>{let t,f=l;if(c){const e=()=>{this.abort(),d&&d()};t=setTimeout(e,u),f=r=>{clearTimeout(t),t=setTimeout(e,u),l(r)}}this.axios({url:r,data:n,transformRequest:(e,t)=>{if(delete t[p.fe],delete t[p.je],o[p.je]&&(t[p.je]=o[p.je]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach((r=>{t.append(r,e[r])})),t}return e},method:i,headers:e,onUploadProgress:f,cancelToken:this.axiosSource.token}).then((e=>{clearTimeout(t),a(e)})).catch((e=>{clearTimeout(t),s(e)}))})).catch(s)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=a.a.CancelToken.source())}},w=r(75),C=r(104);const E="bcu-uploads-reachability-cached-results";var S=class{constructor(){this.localStore=new C.a,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(E)}saveCachedResultsToLocalStore(){this.localStore.setItem(E,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach((t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)}))}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach((t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)})),e):e}async isReachable(e){if(e==="".concat(p.X,"/")||e==="".concat(p.Y,"/"))return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t="".concat(e,"html5?reachability_test=run"),r={[p.je]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await a.a.post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}},k=r(20),x=r(7);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){P(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})),P(this,"errorHandler",(e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}})),this.cache=e.cache||new w.a,this.apiHost=e.apiHost||p.U,this.uploadHost=e.uploadHost||p.X,this.options=_({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new y(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||o.a,this.consoleError=e.consoleError&&window.console&&window.console.error||o.a,this.uploadsReachability=new S}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw Object(x.a)();if(!t[e])throw Object(x.b)()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get(e){let{id:t,successCallback:r,errorCallback:n,requestData:o,url:i}=e;const a=i||this.getUrl(t);return this.makeRequest(p.le,t,a,r,n,o)}post(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.oe,t,r,o,i,n)}put(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.pe,t,r,o,i,n)}delete(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.ke,t,r,o,i,n)}async makeRequest(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=o;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(_({id:Object(k.b)(t),url:r},i));this.successHandler(e)}catch(e){this.errorHandler(e)}}}},function(e,t,r){e.exports=r(506)()},function(e,t,r){"use strict";var n=r(23);r.d(t,"a",(function(){return n.a}))},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";var n=r(47);r.d(t,"c",(function(){return n.c})),r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return n.b}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return v})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return b})),r.d(t,"j",(function(){return C})),r.d(t,"k",(function(){return w})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return h})),r.d(t,"i",(function(){return f}));var n=r(184),o=r.n(n),i=r(79),a=r.n(i),s=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=[s.bd,s.nd,s.Nd,s.Hd,s.qd,s.Xc,s.sd,s.rd,s.ld,s.Rc,s.md,s.Zc,s.fd,s.gd,s.Nc,s.ed,s.yd,s.Pd],f=[s.bd,s.nd,s.Hd,s.Xc,s.Yc,s.Ed,s.sd,s.Pc,s.Qc,s.Rc,s.Sc,s.ld,s.md,s.pd,s.Uc,s.kd,s.hd,s.Qd,s.Rd,s.fd,s.Bd,s.Nc,s.ed,s.Od],h=[s.bd,s.sd,s.Ed,s.Dd,s.Yc,s.nd,s.Hd,s.Xc,s.yd,s.Sd,s.Nc,s.ed],p=[s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.zd,s.Ad,s.Hd,s.Ld,s.Md,s.Od,s.Rd],m=[s.Yc,s.ld,s.md,s.Bd,s.Hd,s.vd,s.Od,s.Rd],b=[s.Nc,s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.sd,s.vd,s.zd,s.Ad,s.Cd,s.Hd,s.Ld,s.Md,s.Od,s.Rd],g=[s.Kc,s.Ed],v=(s.Kd,s.dd,s.Rc,s.Sc,s.Vc,s.id,s.Mc,s.Id,[s.Jd,s.id,s.Rc,s.Sc,s.ld,s.sd]),y=(s.Sc,s.md,s.pd,s.Mc,[s.Ic,s.Lc,s.Sc,s.od,s.xd]);function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter((t=>!o()(e,t))):t}function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(t)||0===t.length)return e;const r=c({},e);return w(e,t).forEach((e=>{a()(r,e,null)})),r}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return u}));var n=r(8),o=r.n(n),i=r(1);const a=/\.([0-9a-z]+)$/i;function s(e){return"".concat(i.hg).concat(e)}function l(e){return"".concat(i.ig).concat(e)}function c(e){return e.extension===i.Zd}function u(e){if("string"!=typeof e)return"";const t=a.exec(e);return o()(t,"[1]","")}},function(e,t,r){var n=r(170),o=r(276),i=r(425),a=r(106),s=r(80),l=r(431),c=r(331),u=r(231),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=o(r,7,l));for(var d=t.length;d--;)i(r,t[d]);return r}));e.exports=d},function(e,t,r){"use strict";var n=r(26);r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";var n=r(0),o=r(3),i=r.n(o),a=r(22);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,className:r="",getDOMRef:o=i.a,isDisabled:c=!1,type:u=a.a.SUBMIT}=e,d=l(e,["children","className","getDOMRef","isDisabled","type"]);const f={};return c&&(f["aria-disabled"]=!0,f.onClick=e=>{e.preventDefault(),e.stopPropagation()}),n.createElement("button",s({className:"btn-plain ".concat(r),ref:o,type:u},d,f),t)}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return f})),r.d(t,"d",(function(){return E})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return y})),r.d(t,"l",(function(){return w})),r.d(t,"i",(function(){return v})),r.d(t,"j",(function(){return C})),r.d(t,"k",(function(){return h})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return g})),r.d(t,"o",(function(){return S}));var n=r(8),o=r.n(n),i=r(60);const a={};function s(e){return!(!e.options||!e.file)}function l(e){return!(!e.options||!e.item)}function c(e){return s(e)?e.file:e}function u(e){return l(e)?e.item:e}function d(e){return s(e)&&e.options||a}function f(e){return l(e)&&e.options||a}function h(e){const t=e.lastModified||e.lastModifiedDate;if(t&&("string"==typeof t||"number"==typeof t||t instanceof Date)){const e=new Date(t);if(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))return function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e)}var r;return null}function p(e,t,r){const n=e*r**2;return n>t?t:n}function m(e){return(e.webkitGetAsEntry||e.mozGetAsEntry||e.getAsEntry).call(e)}function b(e){const t=m(u(e));return!!t&&t.isDirectory}function g(e){const t=u(e);return b(t)&&"application/zip"===t.type&&"file"===t.kind}function v(e){return new Promise((t=>{e.file((e=>{t(e)}))}))}async function y(e){const t=m(u(e));if(!t)return null;const r=await v(t);return l(e)?{file:r,options:f(e)}:r}function w(e){const t=u(e);if(!m(t))return null;const r=t.getAsFile();return l(e)?{file:r,options:f(e)}:r}function C(e,t){if(!s(e))return e.name;const r=e,n=o()(r,"options.folderId",t),i=o()(r,"options.uploadInitTimestamp",Date.now()),a=r.file.webkitRelativePath||r.file.name;return"".concat(a,"_").concat(n,"_").concat(i)}function E(e,t){const r=u(e),{name:n}=m(r);if(!l(e))return n;const{folderId:o=t,uploadInitTimestamp:i=Date.now()}=f(e);return"".concat(n,"_").concat(o,"_").concat(i)}function S(){const e=window.crypto||window.msCrypto;return!i.a.isMobileSafari()&&("https:"===window.location.protocol&&e&&e.subtle)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),o=r(4),i=r.n(o),a=r(21),s=r.n(a),l=r(45),c=r(147);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let h;!function(e){e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit"}(h||(h={}));class p extends n.Component{constructor(){super(...arguments),f(this,"btnElement",null),f(this,"handleClick",(e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)}))}render(){const e=this.props,{children:t,className:r,icon:o,isDisabled:a,isLoading:f,isSelected:h,setRef:p,size:m,type:b,showRadar:g}=e,v=d(e,["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"]),y=s()(v,["onClick"]);a&&(y["aria-disabled"]=!0);const w=i()("btn",{"is-disabled":a,"is-loading":f,"is-selected":h,"bdl-is-disabled":a,"bdl-btn--large":"large"===m,"bdl-has-icon":!!o},r);let C=n.createElement("button",u({ref:e=>{this.btnElement=e,p&&p(e)},className:w,onClick:this.handleClick,type:b},y),t?n.createElement("span",{className:"btn-content"},t):null,o?n.createElement("span",{className:"bdl-btn-icon"},n.cloneElement(o,{width:o&&t?16:20,height:o&&t?16:20})):null,f&&n.createElement(l.c,{className:"btn-loading-indicator"}));return g&&(C=n.createElement(c.a,null,C)),C}}f(p,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:h.SUBMIT}),t.b=p},,function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return i.a})),r.d(t,"c",(function(){return a.a}));var n=r(128),o=(r(118),r(0));r(4),r(251),r(561);var i=r(70);r(21);var a=r(280);r(103),r(562),r(213);o.Component},function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({cancel:{id:"boxui.core.cancel",defaultMessage:"Cancel"},close:{id:"boxui.core.close",defaultMessage:"Close"},copy:{id:"boxui.core.copy",defaultMessage:"Copy"},copied:{id:"boxui.core.copied",defaultMessage:"Copied"},done:{id:"boxui.core.done",defaultMessage:"Done"},okay:{id:"boxui.core.okay",defaultMessage:"Okay"},save:{id:"boxui.core.save",defaultMessage:"Save"},send:{id:"boxui.core.send",defaultMessage:"Send"},optional:{id:"boxui.core.optional",defaultMessage:"optional"},pillSelectorPlaceholder:{id:"boxui.share.pillSelectorPlaceholder",defaultMessage:"Add names or email addresses"},messageSelectorPlaceholder:{id:"boxui.share.messageSelectorPlaceholder",defaultMessage:"Add a message"},invalidInputError:{id:"boxui.validation.genericError",defaultMessage:"Invalid Input"},minLengthError:{id:"boxui.validation.tooShortError",defaultMessage:"Input must be at least {min} characters"},maxLengthError:{id:"boxui.validation.tooLongError",defaultMessage:"Input cannot exceed {max} characters"},invalidEmailError:{id:"boxui.validation.emailError",defaultMessage:"Invalid Email Address"},invalidURLError:{id:"boxui.validation.URLError",defaultMessage:"Invalid URL"},invalidUserError:{id:"boxui.validation.invalidUserError",defaultMessage:"Invalid User"},requiredFieldError:{id:"boxui.validation.requiredError",defaultMessage:"Required Field"},invalidDateError:{id:"boxui.validation.invalidDateError",defaultMessage:"Invalid Date"}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);r(441);let o;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default"}(o||(o={}));t.b=e=>{let{className:t="",size:r=o.DEFAULT}=e;return n.createElement("div",{className:"crawler ".concat(t," is-").concat(r)},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null))}},function(e,t,r){"use strict";var n=r(237),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:d,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)d(arguments[n],r);return t},extend:function(e,t,r){return d(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h})),r.d(t,"c",(function(){return p}));var n=r(0),o=r(183),i=r.n(o),a=r(11);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}const l=i.a||o;const c=n.createContext(null),{Consumer:u,Provider:d}=c,f=d,h=c;function p(e,t){const{intlPropName:r="intl",forwardRef:o=!1,enforceContext:i=!0}=t||{},c=t=>n.createElement(u,null,(l=>(i&&Object(a.h)(l),n.createElement(e,s({},t,{[r]:l},{ref:o?t.forwardedRef:null})))));var d;return c.displayName="injectIntl(".concat((d=e).displayName||d.name||"Component",")"),c.WrappedComponent=e,l(o?n.forwardRef(((e,t)=>n.createElement(c,s({},e,{forwardedRef:t})))):c,e)}},function(e,t,r){"use strict";r.d(t,"d",(function(){return b})),r.d(t,"e",(function(){return g})),r.d(t,"b",(function(){return k})),r.d(t,"c",(function(){return O})),r.d(t,"i",(function(){return v})),r.d(t,"j",(function(){return x})),r.d(t,"k",(function(){return y})),r.d(t,"g",(function(){return w})),r.d(t,"h",(function(){return C})),r.d(t,"f",(function(){return E})),r.d(t,"a",(function(){return S}));var n=r(120),o=r.n(n);const i=1e3,a=86400*i,s=60*i,l=/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?)?((Z$)|(?:[+-](?:([0-2]\d$)|([0-2]\d(?:00|30)$)|([0-2]\d:(?:00|30)$))))$/,c=1,u=2,d=3,f=4,h=5,p=6,m=7;function b(e){return e instanceof Date?e:new Date(e)}function g(e){return e*i}function v(e){return(new Date).toDateString()===b(e).toDateString()}function y(e){return v(b(e).getTime()+a)}function w(e){return(new Date).getMonth()===b(e).getMonth()}function C(e){return(new Date).getFullYear()===b(e).getFullYear()}function E(e){const t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.floor(e%3600%60),o=t>0?"".concat(t.toString(),":"):"",i=n<10?"0".concat(n.toString()):n.toString();let a=r.toString();return t>0&&r<10&&(a="0".concat(a)),"".concat(o).concat(a,":").concat(i)}function S(e,t){return e instanceof Date?new Date(e.getTime()+t):e+t}function k(e){return e.getTime()-e.getTimezoneOffset()*s}function x(e){return!o()(e.getTime())}function O(e){const t=new Date(function(e){if(l.test(e)){const t=e.split(l);let r=t[c];const n=t[u],o=t[d];if(n||(r+=".000"),t[f])return e;if(t[h])return"".concat(r+o,":00");if(t[p])return"".concat(r+o.substr(0,3),":").concat(o.substr(3));if(t[m])return e}return e}(e)),r=t.getTime(),n=t.getTimezoneOffset();return new Date(r+n*s)}},,function(e,t){var r=Array.isArray;e.exports=r},,,,,,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(370)},function(e,t,r){"use strict";var n=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n};function o(e){return JSON.stringify(e.map((function(e){return e&&"object"==typeof e?(t=e,Object.keys(t).sort().map((function(e){var r;return(r={})[e]=t[e],r}))):e;var t})))}t.a=function(e,t){return void 0===t&&(t={}),function(){for(var r,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=o(i),l=s&&t[s];return l||(l=new((r=e).bind.apply(r,n([void 0],i))),s&&(t[s]=l)),l}}},function(e,t,r){"use strict";r(167);var n=r(57);r.d(t,"b",(function(){return n.a}));var o=r(31);r.d(t,"c",(function(){return o.b})),r.d(t,"a",(function(){return o.a}))},function(e,t,r){var n=r(222),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){"use strict";r.d(t,"b",(function(){return C})),r.d(t,"a",(function(){return E}));var n,o=r(0),i=r(4),a=r.n(i),s=r(12),l=r.n(s),c=r(8),u=r.n(c),d=r(53),f=r.n(d);!function(e){e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right"}(n||(n={}));var h=n,p=r(33),m=r(68),b=r(15),g=r(30);var v=Object(p.c)((e=>{let{intl:t,onClick:r}=e;return o.createElement(b.a,{"aria-label":t.formatMessage(g.a.close),className:"tooltip-close-button",onClick:r},o.createElement(m.a,{className:"bdl-Tooltip-iconClose",width:14,height:14}))}));r(449);function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function w(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let C,E;!function(e){e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error"}(C||(C={})),function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(E||(E={}));const S={[E.BOTTOM_CENTER]:{attachment:h.TOP_CENTER,targetAttachment:h.BOTTOM_CENTER},[E.BOTTOM_LEFT]:{attachment:h.TOP_RIGHT,targetAttachment:h.BOTTOM_RIGHT},[E.BOTTOM_RIGHT]:{attachment:h.TOP_LEFT,targetAttachment:h.BOTTOM_LEFT},[E.MIDDLE_LEFT]:{attachment:h.MIDDLE_RIGHT,targetAttachment:h.MIDDLE_LEFT},[E.MIDDLE_RIGHT]:{attachment:h.MIDDLE_LEFT,targetAttachment:h.MIDDLE_RIGHT},[E.TOP_CENTER]:{attachment:h.BOTTOM_CENTER,targetAttachment:h.TOP_CENTER},[E.TOP_LEFT]:{attachment:h.BOTTOM_RIGHT,targetAttachment:h.TOP_RIGHT},[E.TOP_RIGHT]:{attachment:h.BOTTOM_LEFT,targetAttachment:h.TOP_LEFT}};class k extends o.Component{constructor(e){super(e),w(this,"tooltipID",l()("tooltip")),w(this,"tetherRef",o.createRef()),w(this,"position",(()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()})),w(this,"closeTooltip",(()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()})),w(this,"fireChildEvent",((e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)})),w(this,"handleTooltipEvent",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),w(this,"handleMouseEnter",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)})),w(this,"handleMouseLeave",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)})),w(this,"handleFocus",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)})),w(this,"handleBlur",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)})),w(this,"isControlled",(()=>{const{isShown:e}=this.props;return void 0!==e})),w(this,"handleKeyDown",(e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)})),w(this,"isShown",(()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered})),this.state={isShown:!!e.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:e,bodyElement:t,children:r,className:n,constrainToScrollParent:i,constrainToWindow:s,isDisabled:l,isTabbable:c=!0,offset:d,position:h=E.TOP_CENTER,showCloseButton:p,stopBubble:m,tetherElementClassName:b,text:g,theme:w}=this.props,k=u()(r,"props.aria-label"),x=!!k&&k===g;if(l)return o.Children.only(r);const O=this.isControlled(),_=this.isShown(),P=p&&O,A="string"==typeof h?S[h]:h,I=[],T={};i&&I.push({to:"scrollParent",attachment:"together"}),s&&I.push({to:"window",attachment:"together"}),_&&!e&&(x&&void 0!==k||(T["aria-describedby"]=this.tooltipID),w===C.ERROR&&(T["aria-errormessage"]=this.tooltipID)),O||(T.onBlur=this.handleBlur,T.onFocus=this.handleFocus,T.onMouseEnter=this.handleMouseEnter,T.onMouseLeave=this.handleMouseLeave,c&&(T.tabIndex="0"));const M=t instanceof HTMLElement?t:document.body,L=a()("tooltip","bdl-Tooltip",n,{"is-callout":w===C.CALLOUT,"is-error":w===C.ERROR,"with-close-button":P}),D={attachment:A.attachment,bodyElement:M,classPrefix:"tooltip",constraints:I,enabled:_,targetAttachment:A.targetAttachment};b&&(D.className=b),d&&(D.offset=d);const j=o.createElement(o.Fragment,null,g,P&&o.createElement(v,{onClick:this.closeTooltip})),F=m?o.createElement("div",{className:L,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},o.createElement("div",{role:w===C.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":e||x,"data-testid":"bdl-Tooltip"},j)):o.createElement("div",{"aria-live":"polite","aria-hidden":e||x,className:L,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:w===C.ERROR?void 0:"tooltip"},j);return o.createElement(f.a,y({ref:this.tetherRef},D),o.cloneElement(o.Children.only(r),T),_&&F)}}w(k,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:E.TOP_CENTER,theme:C.DEFAULT});t.c=k},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(443))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";r.d(t,"c",(function(){return h})),r.d(t,"b",(function(){return p})),r.d(t,"d",(function(){return m})),r.d(t,"a",(function(){return b})),r.d(t,"e",(function(){return g}));r(0);function n(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function i(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return o(r.overflowY,t)||o(r.overflowX,t)}return!1}function a(e,t,r,n,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=r||a>=t&&s>=r?i-e-n:a>t&&s<r||i<e&&s>r?a-t+o:0}var s=function(e,t){var r=t.scrollMode,o=t.block,s=t.inline,l=t.boundary,c=t.skipOverflowHiddenElements,u="function"==typeof l?l:function(e){return e!==l};if(!n(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,f=[],h=e;n(h)&&u(h);){if((h=h.parentNode)===d){f.push(h);break}h===document.body&&i(h)&&!i(document.documentElement)||i(h,c)&&f.push(h)}for(var p=window.visualViewport?visualViewport.width:innerWidth,m=window.visualViewport?visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,w=v.width,C=v.top,E=v.right,S=v.bottom,k=v.left,x="start"===o||"nearest"===o?C:"end"===o?S:C+y/2,O="center"===s?k+w/2:"end"===s?E:k,_=[],P=0;P<f.length;P++){var A=f[P],I=A.getBoundingClientRect(),T=I.height,M=I.width,L=I.top,D=I.right,j=I.bottom,F=I.left;if("if-needed"===r&&C>=0&&k>=0&&S<=m&&E<=p&&C>=L&&S<=j&&k>=F&&E<=D)return _;var R=getComputedStyle(A),N=parseInt(R.borderLeftWidth,10),U=parseInt(R.borderTopWidth,10),z=parseInt(R.borderRightWidth,10),H=parseInt(R.borderBottomWidth,10),B=0,V=0,W="offsetWidth"in A?A.offsetWidth-A.clientWidth-N-z:0,q="offsetHeight"in A?A.offsetHeight-A.clientHeight-U-H:0;if(d===A)B="start"===o?x:"end"===o?x-m:"nearest"===o?a(g,g+m,m,U,H,g+x,g+x+y,y):x-m/2,V="start"===s?O:"center"===s?O-p/2:"end"===s?O-p:a(b,b+p,p,N,z,b+O,b+O+w,w),B=Math.max(0,B+g),V=Math.max(0,V+b);else{B="start"===o?x-L-U:"end"===o?x-j+H+q:"nearest"===o?a(L,j,T,U,H+q,x,x+y,y):x-(L+T/2)+q/2,V="start"===s?O-F-N:"center"===s?O-(F+M/2)+W/2:"end"===s?O-D+z+W:a(F,D,M,N,z+W,O,O+w,w);var G=A.scrollLeft,K=A.scrollTop;x+=K-(B=Math.max(0,Math.min(K+B,A.scrollHeight-T+q))),O+=G-(V=Math.max(0,Math.min(G+V,A.scrollWidth-M+W)))}_.push({el:A,top:B,left:V})}return _};function l(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,t){var r=!e.ownerDocument.documentElement.contains(e);if(l(t)&&"function"==typeof t.behavior)return t.behavior(r?[]:s(e,t));if(!r){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:l(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,o=e.top,i=e.left;n.scroll&&r?n.scroll({top:o,left:i,behavior:t}):(n.scrollTop=o,n.scrollLeft=i)}))}(s(e,n),n.behavior)}},u=r(1);r(563);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h(e){if(!(e&&e instanceof HTMLElement))return!1;const t=e.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||"div"===t&&!!e.getAttribute("contenteditable")}function p(e){if(!(e&&e instanceof HTMLElement))return!1;const t=e.tagName.toLowerCase(),r=e.classList.contains("checkbox-pointer-target")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("checkbox-label"),n=e.classList.contains("btn-content")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("btn")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("bdl-Button")||!1;return h(e)||"button"===t||"a"===t||"option"===t||r||n}function m(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}function b(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return;if(!t)return void e.focus();const n=e.querySelector(t);n&&"function"==typeof n.focus?n.focus():r&&e.focus()}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){const r=e.closest(".body, .modal, .".concat(u.Ye));c(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({scrollMode:"if-needed",boundary:r},t))}}},function(e,t,r){"use strict";var n=r(0),o=r(26);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,className:r=""}=e,s=a(e,["children","className"]);return n.createElement(o.b,i({className:"btn-primary ".concat(r)},s),t)}},function(e,t,r){"use strict";var n=r(67),o=r.n(n),i=r(8),a=r.n(i),s=r(18),l=r(20),c=r(7),u=r(1),d=r(82),f=r(77),h=r(66);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class g extends d.a{getCacheKey(e){return"".concat(u.o).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/files").concat(t)}async getDownloadUrl(e,t,r,n){this.errorCode=u.ec,this.errorCallback=n,this.successCallback=r;const i=t[u.ed],a=t[u.Nc],s=await h.a.getReadToken(Object(l.b)(e),this.options.token);if(!i||!a||!s)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:c,url:d}=o.a.parseUrl(a),f=m({},c,{access_token:s}),p=o.a.stringify(f);this.successHandler("".concat(d,"?").concat(p))}isRepresentationsCallComplete(e){const t=a()(e,"data.status.state");return!t||t===u.lf||t===u.mf||t===u.nf}async generateRepresentation(e){const t=a()(e,"info.url");return t?Object(f.a)(((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then((t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data))).catch((e=>{r(e)}))),4,2e3,2):e}async getThumbnailUrl(e){const t=a()(e,"representations.entries[0]"),r=a()(t,"representation"),n=a()(t,"content.url_template"),i=await h.a.getReadToken(Object(l.b)(e.id),this.options.token);if(!r||!n||!i)return null;const s=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:c,url:u}=o.a.parseUrl(s),d=m({},c,{access_token:i}),f=o.a.stringify(d);return"".concat(u,"?").concat(f)}setFileDescription(e,t,r,n){const{id:o,permissions:i}=e;return o&&i?i.can_rename?this.xhr.put({id:Object(l.b)(o),url:this.getUrl(o),data:{description:t}}).then((e=>{let{data:t}=e;if(!this.isDestroyed()){const e=this.merge(this.getCacheKey(o),"description",t.description);r(e)}})).catch((()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(o),"description",e.description);n(t)}})):(n(Object(c.b)()),Promise.reject()):(n(Object(c.a)()),Promise.reject())}async getFile(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const o=this.getCache(),i=this.getCacheKey(e),a=!n.forceFetch&&o.has(i),c=a?o.get(i):{id:e};let d=Object(s.k)(c,n.fields);const f={id:Object(l.b)(e),url:this.getUrl(e),headers:{"X-Rep-Hints":u.Eg}};if(this.errorCode=u.Qb,this.successCallback=t,this.errorCallback=r,!a||0!==d.length||(t(c),d=n.fields||[],n.refreshCache)){d.length>0&&(f.params={fields:d.toString()});try{const{data:e}=await this.xhr.get(f);if(this.isDestroyed())return;const t=Object(s.j)(e,d);o.has(i)?o.merge(i,t):o.set(i,t),this.successHandler(o.get(i))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[u.Xc]})}}t.a=g},function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(31);r(442);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}let c;!function(e){e.CENTER="center",e.TOP="top"}(c||(c={}));t.a=e=>{let{children:t,className:r="",crawlerPosition:o=c.CENTER,crawlerSize:u=a.a.DEFAULT,isLoading:d=!1,hideContent:f=!1}=e,h=l(e,["children","className","crawlerPosition","crawlerSize","isLoading","hideContent"]);const p=i()("loading-indicator-veil",{"is-with-top-crawler":o===c.TOP,"is-with-center-crawler":o===c.CENTER},f?"hide-content":"blur-content");return n.createElement("div",s({className:"loading-indicator-wrapper ".concat(r)},h),t,d&&n.createElement("div",{className:p},n.createElement(a.b,{size:u})))}},function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(n({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))i.call(r,c)&&(s[c]=r[c]);if(o){n=o(r);for(var u=0;u<n.length;u++)a.call(r,n[u])&&(s[n[u]]=r[n[u]])}}return s}},function(e,t,r){"use strict";var n=r(201);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";(function(e){let r;class n{static getUserAgent(){return e.navigator.userAgent}static isMobile(){const e=n.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(n.getUserAgent())}static isFirefox(){const e=n.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=n.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return n.isMobile()&&n.isSafari()&&!n.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=n.getUserAgent();return n.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canDownload(){return!n.isMobile()||!window.externalHost&&"download"in document.createElement("a")}static canPlayDash(){if(void 0===r||arguments.length>0&&void 0!==arguments[0]&&arguments[0]){const t=e.MediaSource;r=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return r}static canWriteToClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.readText)}}t.a=n}).call(this,r(48))},,function(e,t,r){var n=r(95),o=r(384),i=r(385),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,r){"use strict";var n=r(82),o=r(1),i=r(18);class a extends n.a{getCacheKey(e){return"".concat(o.u).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/web_links").concat(t)}async getWeblink(e,t,r){let{fields:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const a=this.getCache(),s=this.getCacheKey(e);if(this.errorCode=o.dc,this.successCallback=t,this.errorCallback=r,a.has(s)){if(0===Object(i.k)(a.get(s),n).length)return void t(a.get(s))}const l={url:this.getUrl(e)};n&&(l.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(l);if(this.isDestroyed())return;a.has(s)?a.merge(s,e):a.set(s,e),this.successHandler(a.get(s))}catch(e){this.errorHandler(e)}}}t.a=a},,,function(e,t,r){"use strict";var n=r(1);const o=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class i{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(n.ig)&&!e.startsWith(n.hg))throw o;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw o}static async getReadToken(e,t){const r=await i.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map((e=>i.getReadToken(e,t))),o=await Promise.all(n),a={};return o.forEach(((e,t)=>{a[r[t]]=e})),Promise.resolve(a)}static async getWriteToken(e,t){const r=await i.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every((e=>e.startsWith(n.ig)||e.startsWith(n.hg))))throw o;return"function"==typeof t&&await t(e),Promise.resolve()}}t.a=i},function(e,t,r){"use strict";var n=r(488),o=r(58),i=r(489);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function l(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=o({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:i(a),r(i(o),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=s(r):e[t]=r,e}),Object.create(null))):n}t.extract=l,t.parse=c,t.stringify=function(e,t){!1===(t=o({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var o=e[n];if(void 0===o)return"";if(null===o)return a(n,t);if(Array.isArray(o)){var i=[];return o.slice().forEach((function(e){void 0!==e&&i.push(r(n,e,i.length))})),i.join("&")}return a(n,t)+"="+a(o,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(l(e),t)}}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:o.k,fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"}))},,function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(21),s=r.n(a),l=r(147);function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class u extends n.Component{constructor(){var e,t,r;super(...arguments),r=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(t="onClickHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,className:r,isDisabled:o,isSelectItem:a,isSelected:u,showRadar:d}=e,f=c(e,["children","className","isDisabled","isSelectItem","isSelected","showRadar"]),h=s()(f,["role","tabIndex","onClick"]);h.className=i()("menu-item",r,{"is-select-item":a,"is-selected":u}),h.role=a?"menuitemradio":"menuitem",h.tabIndex=-1,h.onClick=this.onClickHandler,a&&(h["aria-checked"]=u),o&&(h["aria-disabled"]="true");let p=n.createElement("li",h,t);return d&&(p=n.createElement(l.a,null,p)),p}}t.a=u},,,function(e,t,r){"use strict";var n=r(127);r.d(t,"b",(function(){return n.a}));var o=r(145);r.d(t,"a",(function(){return o.a}))},function(e,t,r){var n=r(383),o=r(388);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";var n=r(110),o=r.n(n);t.a=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,o()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach((t=>{t.startsWith(e)&&delete this.cache[t]}))}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}}},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(81),a=r(18),s=r(7),l=r(82),c=r(56),u=r(63),d=r(1);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends l.a{constructor(){super(...arguments),p(this,"folderSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{item_collection:r}=t;if(!r)throw Object(s.a)();const{entries:n,total_count:o,limit:a,offset:l}=r;if(!Array.isArray(n)||"number"!=typeof o||"number"!=typeof a||"number"!=typeof l)throw Object(s.a)();const d=Object(i.a)(n,new m(this.options),new c.a(this.options),new u.a(this.options));this.itemCache=(this.itemCache||[]).concat(d),this.getCache().set(this.key,h({},t,{item_collection:h({},r,{entries:this.itemCache})})),this.finish()})),p(this,"folderDetailsSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const r=h({},this.getCache().get(this.key),{},t);this.getCache().set(this.key,r),this.successCallback(r)})),p(this,"createSuccessHandler",(e=>{let{data:t}=e;const{id:r}=t;if(this.isDestroyed()||!r)return;const n=this.getCacheKey(r),o=this.getCache(),i=o.get(this.key);if(!i)return void this.successCallback(t);const{item_collection:a}=i;if(!a)throw Object(s.a)();const{total_count:l,entries:c}=a;if(!Array.isArray(c)||"number"!=typeof l)throw Object(s.a)();o.set(n,t),a.entries=[n].concat(c),a.total_count=l+1,this.successCallback(t)}))}getCacheKey(e){return"".concat(d.p).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/folders").concat(t)}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:o,path_collection:i,item_collection:a}=t;if(!a||!i)throw Object(s.a)();const{entries:l,offset:c,total_count:u}=a;if(!Array.isArray(l)||"number"!=typeof u)throw Object(s.a)();const d={id:r,name:n,offset:c,percentLoaded:100,permissions:o,boxItem:t,breadcrumbs:i.entries,items:l.map((t=>e.get(t))),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:u};this.successCallback(d)}folderRequest(){let{fields:e,noPagination:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.folderSuccessHandler;if(this.isDestroyed())return Promise.reject();const n=e||a.g;this.errorCode=d.Sb;let o={fields:n.toString()};return t||(o=h({},o,{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:o,headers:n.includes(d.yd)?{"X-Rep-Hints":d.Fg}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(h({},n,{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,o,i,a){let s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=o,this.successCallback=i,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode=d.rb;const t="".concat(this.getUrl(),"?fields=").concat(a.g.toString());return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}t.a=m},function(e,t,r){"use strict";function n(e,t){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return new Promise(((i,a)=>{function s(l){setTimeout((()=>{n+=1,new Promise(((t,r)=>{e(t,r,a)})).then(i).catch((e=>{if(n<t)return o*=r,void s(o);a(e)}))}),l)}s(o)}))}r.d(t,"a",(function(){return n}))},,function(e,t,r){var n=r(451);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},function(e,t,r){var n=r(173),o=r(174);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?o(r,c,u):n(r,c,u)}return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(7),o=r(1);function i(e,t,r,i){const a=[];return e.forEach((e=>{const{id:s,type:l}=e;if(!s||!l)throw Object(n.a)();let c;switch(l){case o.kg:c=t;break;case o.jg:c=r;break;case o.lg:c=i;break;default:throw new Error("Unknown Type!")}const u=c.getCache(),d=c.getCacheKey(s);u.has(d)?u.merge(d,e):u.set(d,e),a.push(d)})),a}},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(79),a=r.n(i),s=r(7),l=r(18),c=r(13),u=r(1);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends c.a{constructor(){super(...arguments),f(this,"deleteSuccessHandler",(()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:o}=r;if(!Array.isArray(n)||"number"!=typeof o)throw Object(s.a)();const i=this.getCacheKey(this.id),a=n.length,l=n.filter((e=>e!==i)),c=l.length,u=this.merge(e,"item_collection",d(r,{entries:l,total_count:o-(a-c)}));this.successCallback(u),this.postDeleteCleanup()})),f(this,"renameSuccessHandler",(e=>{let{data:t}=e;if(!this.isDestroyed()){this.getCache().unsetAll(u.t);const e=this.merge(this.getCacheKey(this.id),"name",t.name);this.successCallback(e)}})),f(this,"shareSuccessHandler",((e,t)=>{if(!this.isDestroyed()){const r=t?Object(l.j)(e,t):e,n=this.getCache(),o=this.getCacheKey(this.id);n.has(o)?n.merge(o,r):n.set(o,r),this.successCallback(n.get(o))}}))}getParentCacheKey(e){return"".concat(u.p).concat(e)}getCacheKey(e){return"getCacheKey(".concat(e,") should be overriden")}getUrl(e){return"getUrl(".concat(e,") should be overriden")}merge(e,t,r){const n=this.getCache();return n.merge(e,a()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(u.t),this.successCallback())}deleteItem(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.Ab;const{id:n,permissions:i,parent:a,type:l}=e;if(!(n&&i&&a&&l))return r(Object(s.a)(),this.errorCode),Promise.reject();const{id:c}=a,{can_delete:d}=i;if(!d||!c)return r(Object(s.b)(),this.errorCode),Promise.reject();this.id=n,this.parentId=c,this.successCallback=t,this.errorCallback=r;const f="".concat(this.getUrl(n)).concat(l===u.kg?"?recursive=true":"");return this.xhr.delete({url:f}).then(this.deleteSuccessHandler).catch((e=>{this.errorHandler(e)}))}rename(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.lc;const{id:i,permissions:a}=e;if(!i||!a)return n(Object(s.a)(),this.errorCode),Promise.reject();const{can_rename:l}=a;return l?(this.id=i,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:"".concat(this.getUrl(i)),data:{name:t}}).then(this.renameSuccessHandler).catch((e=>{this.errorHandler(e)}))):(n(Object(s.b)(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!t)throw this.errorCode=u.oc,Object(s.a)();const{can_share:n,can_set_share_access:o}=t;if(!n||!r&&!o)throw this.errorCode=u.oc,Object(s.b)()}async share(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a,shared_link:s}=e;this.id=o,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(o,a,l);const{fields:c}=i,d={url:this.getUrl(this.id),data:{shared_link:t===u.c?null:{access:t}}};c&&(d.params={fields:c.toString()});const{data:f}=await this.xhr.put(d);return this.shareSuccessHandler(f,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a}=e;this.id=o,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(o,a);const{fields:s}=i,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}}t.a=h},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},,function(e,t,r){"use strict";e.exports=function(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;i<o;i++){var a=r[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},function(e,t,r){e.exports=r(452)},function(e,t,r){var n=r(276);e.exports=function(e){return n(e,5)}},function(e,t,r){var n=r(172),o=r(175);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-close ".concat(t),height:i,title:a,viewBox:"0 0 24 24",width:s},n.createElement("path",{className:"fill-color",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 12z",fill:r}),n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}},function(e,t,r){"use strict";var n=r(55);r.d(t,"a",(function(){return n.a}))},,,function(e,t,r){e.exports=r(617)()},,function(e,t,r){var n=r(46).Symbol;e.exports=n},,,,function(e,t,r){"use strict";var n=r(0),o=r(47);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,isDisabled:r,text:s}=e,l=a(e,["children","isDisabled","text"]);return r||!s?t:n.createElement(o.c,i({text:s},l),t)}},function(e,t,r){"use strict";var n=r(0),o=r(33),i=r(108),a=r(11),s=r(85);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}var c=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const u=r.n(s).a||s,d=(e,t)=>Object(i.b)(l(l({},a.a),{locale:"en"}),Object(a.c)(),e,t);class f extends n.Component{shouldComponentUpdate(e){const t=this.props,{values:r}=t,n=c(t,["values"]),{values:o}=e,i=c(e,["values"]);return!u(o,r)||!u(n,i)}render(){return n.createElement(o.a.Consumer,null,(e=>{this.props.defaultMessage||Object(a.h)(e);const{formatMessage:t=d,textComponent:r=n.Fragment}=e||{},{id:o,description:i,defaultMessage:s,values:l,children:c,tagName:u=r}=this.props;let f=t({id:o,description:i,defaultMessage:s},l);return Array.isArray(f)||(f=[f]),"function"==typeof c?c(...f):u?n.createElement(u,null,...f):f}))}}f.displayName="FormattedMessage",f.defaultProps={values:{}},t.a=f},function(e,t,r){var n=r(429);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(139);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},function(e,t,r){var n=r(42),o=r(509),i=r(268),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,d,f,h,p=0,m=!1,b=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=l,n=c;return l=c=void 0,p=t,d=e.apply(n,r)}function y(e){var r=e-h;return void 0===h||r>=t||r<0||b&&e-p>=u}function w(){var e=o();if(y(e))return C(e);f=setTimeout(w,function(e){var r=t-(e-h);return b?s(r,u-(e-p)):r}(e))}function C(e){return f=void 0,g&&l?v(e):(l=c=void 0,d)}function E(){var e=o(),r=y(e);if(l=arguments,c=this,h=e,r){if(void 0===f)return function(e){return p=e,f=setTimeout(w,t),m?v(e):d}(h);if(b)return clearTimeout(f),f=setTimeout(w,t),v(h)}return void 0===f&&(f=setTimeout(w,t)),d}return t=i(t)||0,n(r)&&(m=!!r.leading,u=(b="maxWait"in r)?a(i(r.maxWait)||0,t):u,g="trailing"in r?!!r.trailing:g),E.cancel=function(){void 0!==f&&clearTimeout(f),p=0,l=h=c=f=void 0},E.flush=function(){return void 0===f?d:C(o())},E}},function(e,t,r){"use strict";var n=r(75);t.a=class{constructor(){this.memoryStore=new n.a;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return"".concat("localStore","/").concat("0","/").concat(e)}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},function(e,t,r){var n=r(36),o=r(214),i=r(426),a=r(101);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},,function(e,t,r){"use strict";r.d(t,"b",(function(){return f})),r.d(t,"a",(function(){return h}));var n=r(0),o=r(266),i=r(11),a=r(144);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=s({timeZone:t},e[n]),r)),{})}function c(e,t){return Object.keys(s(s({},e),t)).reduce(((r,n)=>(r[n]=s(s({},e[n]||{}),t[n]||{}),r)),{})}function u(e,t){if(!t)return e;const r=a.a.formats;return s(s(s({},r),e),{date:c(l(r.date,t),l(e.date||{},t)),time:c(l(r.time,t),l(e.time||{},t))})}const d=e=>n.createElement(n.Fragment,null,...e);function f(e,t){let{locale:r,formats:n,messages:a,defaultLocale:s,defaultFormats:l,onError:c,timeZone:f}=e,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{id:m,defaultMessage:b}=h;Object(o.a)(!!m,"[React Intl] An `id` must be provided to format a message.");const g=a&&a[String(m)];n=u(n,f),l=u(l,f);let v=[];if(g)try{v=t.getMessageFormat(g,r,n,{formatters:t}).formatHTMLMessage(p)}catch(e){c(Object(i.b)('Error formatting message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":""),e))}else(!b||r&&r.toLowerCase()!==s.toLowerCase())&&c(Object(i.b)('Missing message: "'.concat(m,'" for locale: "').concat(r,'"')+(b?", using default message as fallback.":"")));if(!v.length&&b)try{v=t.getMessageFormat(b,s,l).formatHTMLMessage(p)}catch(e){c(Object(i.b)('Error formatting the default message for: "'.concat(m,'"'),e))}return v.length?1===v.length&&"string"==typeof v[0]?v[0]||b||String(m):d(v):(c(Object(i.b)('Cannot format message: "'.concat(m,'", ')+"using message ".concat(g||b?"source":"id"," as fallback."))),"string"==typeof g?g||b||String(m):b||String(m))}function h(e,t){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return f(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},Object.keys(r).reduce(((e,t)=>{const n=r[t];return e[t]="string"==typeof n?Object(i.e)(n):n,e}),{}))}},function(e,t,r){var n=r(225),o=r(308),i=r(88);e.exports=function(e){return i(e)?n(e):o(e)}},function(e,t,r){var n=r(481),o=r(486)((function(e,t,r){n(e,t,r)}));e.exports=o},function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-info ".concat(t),height:i,title:a,viewBox:"-603 389 16 16",width:s},n.createElement("path",{className:"fill-color",d:"M-595 403c5.5 0 8-7.1 3.9-10.6-4.2-3.6-10.8.3-9.8 5.7.5 2.8 3 4.9 5.9 4.9zm.9-6.7v3.7h-1.4v-3.7h1.4zm.1-2.2c0 1-1.7 1.1-1.7 0 .1-1.1 1.7-1.1 1.7 0z",fill:r,fillRule:"evenodd"}))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(404),o=r(49),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},,,,,function(e,t,r){"use strict";var n=r(0),o=r(3),i=r.n(o);t.a=n.createContext({closeMenu:i.a})},,function(e,t,r){var n=r(490);e.exports=function(e){return n(e)&&e!=+e}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return P}));var n=r(0);var o=r(132),i=(r(14),{ASC:"ASC",DESC:"DESC"});function a(e){var t=e.sortDirection,r=Object(o.a)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===i.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===i.DESC});return n.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===i.ASC?n.createElement("path",{d:"M7 14l5-5 5 5z"}):n.createElement("path",{d:"M7 10l5 5 5-5z"}),n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}a.propTypes={};var s=r(191),l=r.n(s);var c=r(83),u=r.n(c),d=r(148),f=r.n(d),h=r(149),p=r.n(h),m=r(150),b=r.n(m),g=r(16),v=r.n(g),y=function(e){function t(){return u()(this,t),f()(this,p()(t).apply(this,arguments))}return b()(t,e),t}(n.Component);v()(y,"defaultProps",{cellDataGetter:function(e){var t=e.dataKey,r=e.rowData;return"function"==typeof r.get?r.get(t):r[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:i.ASC,flexGrow:0,flexShrink:1,headerRenderer:function(e){var t=e.dataKey,r=e.label,o=e.sortBy,i=e.sortDirection,s=o===t,l=[n.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof r?r:null},r)];return s&&l.push(n.createElement(a,{key:"SortIndicator",sortDirection:i})),l},headerRole:"columnheader",role:"gridcell",style:{}}),y.propTypes={};var w=r(105),C=r.n(w),E=r(24),S=r.n(E),k=r(43),x=r(337);function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(r,!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=function(e){function t(e){var r;return u()(this,t),(r=f()(this,p()(t).call(this,e))).state={scrollbarWidth:0},r._createColumn=r._createColumn.bind(S()(r)),r._createRow=r._createRow.bind(S()(r)),r._onScroll=r._onScroll.bind(S()(r)),r._onSectionRendered=r._onSectionRendered.bind(S()(r)),r._setRef=r._setRef.bind(S()(r)),r}return b()(t,e),C()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,r=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:r}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:r,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,r=void 0===t?0:t,n=e.rowIndex,o=void 0===n?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:r})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Object(k.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,i=t.className,a=t.disableHeader,s=t.gridClassName,c=t.gridContainerRole,u=t.gridStyle,d=t.headerHeight,f=t.headerRowRenderer,h=t.height,p=t.id,m=t.noRowsRenderer,b=t.role,g=t.rowClassName,v=t.rowStyle,y=t.scrollToIndex,w=t.style,C=t.width,E=this.state.scrollbarWidth,S=a?h:h-d,k="function"==typeof g?g({index:-1}):g,O="function"==typeof v?v({index:-1}):v;return this._cachedColumnStyles=[],n.Children.toArray(r).forEach((function(t,r){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[r]=_({overflow:"hidden"},n)})),n.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":n.Children.toArray(r).length,"aria-rowcount":this.props.rowCount,className:Object(o.a)("ReactVirtualized__Table",i),id:p,role:b,style:w},!a&&f({className:Object(o.a)("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:_({height:d,overflow:"hidden",paddingRight:E,width:C},O)}),n.createElement(x.b,l()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Object(o.a)("ReactVirtualized__Table__Grid",s),cellRenderer:this._createRow,columnWidth:C,columnCount:1,containerRole:c,height:S,id:void 0,noContentRenderer:m,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:E,scrollToRow:y,style:_({},u,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,r=e.columnIndex,i=e.isScrolling,a=e.parent,s=e.rowData,l=e.rowIndex,c=this.props.onColumnClick,u=t.props,d=u.cellDataGetter,f=u.cellRenderer,h=u.className,p=u.columnData,m=u.dataKey,b=u.id,g=u.role,v=f({cellData:d({columnData:p,dataKey:m,rowData:s}),columnData:p,columnIndex:r,dataKey:m,isScrolling:i,parent:a,rowData:s,rowIndex:l}),y=this._cachedColumnStyles[r],w="string"==typeof v?v:null;return n.createElement("div",{"aria-colindex":r+1,"aria-describedby":b,className:Object(o.a)("ReactVirtualized__Table__rowColumn",h),key:"Row"+l+"-Col"+r,onClick:function(e){c&&c({columnData:p,dataKey:m,event:e})},role:g,style:y,title:w},v)}},{key:"_createHeader",value:function(e){var t,r,a,s,l,c=e.column,u=e.index,d=this.props,f=d.headerClassName,h=d.headerStyle,p=d.onHeaderClick,m=d.sort,b=d.sortBy,g=d.sortDirection,v=c.props,y=v.columnData,w=v.dataKey,C=v.defaultSortDirection,E=v.disableSort,S=v.headerRenderer,k=v.headerRole,x=v.id,O=v.label,P=!E&&m,A=Object(o.a)("ReactVirtualized__Table__headerColumn",f,c.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:P}),I=this._getFlexStyleForColumn(c,_({},h,{},c.props.headerStyle)),T=S({columnData:y,dataKey:w,disableSort:E,label:O,sortBy:b,sortDirection:g});if(P||p){var M=b!==w?C:g===i.DESC?i.ASC:i.DESC,L=function(e){P&&m({defaultSortDirection:C,event:e,sortBy:w,sortDirection:M}),p&&p({columnData:y,dataKey:w,event:e})};l=c.props["aria-label"]||O||w,s="none",a=0,t=L,r=function(e){"Enter"!==e.key&&" "!==e.key||L(e)}}return b===w&&(s=g===i.ASC?"ascending":"descending"),n.createElement("div",{"aria-label":l,"aria-sort":s,className:A,id:x,key:"Header-Col"+u,onClick:t,onKeyDown:r,role:k,style:I,tabIndex:a},T)}},{key:"_createRow",value:function(e){var t=this,r=e.rowIndex,i=e.isScrolling,a=e.key,s=e.parent,l=e.style,c=this.props,u=c.children,d=c.onRowClick,f=c.onRowDoubleClick,h=c.onRowRightClick,p=c.onRowMouseOver,m=c.onRowMouseOut,b=c.rowClassName,g=c.rowGetter,v=c.rowRenderer,y=c.rowStyle,w=this.state.scrollbarWidth,C="function"==typeof b?b({index:r}):b,E="function"==typeof y?y({index:r}):y,S=g({index:r}),k=n.Children.toArray(u).map((function(e,n){return t._createColumn({column:e,columnIndex:n,isScrolling:i,parent:s,rowData:S,rowIndex:r,scrollbarWidth:w})})),x=Object(o.a)("ReactVirtualized__Table__row",C),O=_({},l,{height:this._getRowHeight(r),overflow:"hidden",paddingRight:w},E);return v({className:x,columns:k,index:r,isScrolling:i,key:a,onRowClick:d,onRowDoubleClick:f,onRowRightClick:h,onRowMouseOver:p,onRowMouseOut:m,rowData:S,style:O})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=_({},t,{flex:r,msFlex:r,WebkitFlex:r});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,r=t.children;return(t.disableHeader?[]:n.Children.toArray(r)).map((function(t,r){return e._createHeader({column:t,index:r})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,r=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,n=e.rowStartIndex,o=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:n,stopIndex:o})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(n.PureComponent);v()(P,"defaultProps",{disableHeader:!1,estimatedRowSize:30,gridContainerRole:"",headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:x.a,overscanRowCount:10,role:"grid",rowRenderer:function(e){var t=e.className,r=e.columns,o=e.index,i=e.key,a=e.onRowClick,s=e.onRowDoubleClick,c=e.onRowMouseOut,u=e.onRowMouseOver,d=e.onRowRightClick,f=e.rowData,h=e.style,p={"aria-rowindex":o+1};return(a||s||c||u||d)&&(p.tabIndex=0,a&&(p.onClick=function(e){return a({event:e,index:o,rowData:f})}),s&&(p.onDoubleClick=function(e){return s({event:e,index:o,rowData:f})}),c&&(p.onMouseOut=function(e){return c({event:e,index:o,rowData:f})}),u&&(p.onMouseOver=function(e){return u({event:e,index:o,rowData:f})}),d&&(p.onContextMenu=function(e){return d({event:e,index:o,rowData:f})})),n.createElement("div",l()({},p,{className:t,key:i,role:"row",style:h}),r)},headerRowRenderer:function(e){var t=e.className,r=e.columns,o=e.style;return n.createElement("div",{role:"rowgroup",className:"ReactVirtualized__Table__headerRowGroup"},n.createElement("div",{className:t,role:"row",style:o},r))},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),P.propTypes={};t.c=P},function(e,t,r){(function(e){var n=r(46),o=r(405),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,r(165)(e))},function(e,t,r){var n=r(414),o=r(171),i=r(415),a=r(348),s=r(330),l=r(62),c=r(223),u="[object Map]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",p="[object DataView]",m=c(n),b=c(o),g=c(i),v=c(a),y=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=p||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return p;case b:return u;case g:return d;case v:return f;case y:return h}return t}),e.exports=w},,function(e,t,r){"use strict";var n=r(0),o=r(53),i=r.n(o),a=r(4),s=r.n(a),l=r(3),c=r.n(l),u=r(12),d=r.n(u),f=r(1);r(510);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p extends n.Component{constructor(){super(...arguments),h(this,"menuID",d()("menu")),h(this,"menuButtonID",d()("menubutton")),h(this,"state",{initialFocusIndex:null,isOpen:!1}),h(this,"openMenuAndSetFocusIndex",(e=>{this.setState({initialFocusIndex:e,isOpen:!0})})),h(this,"closeMenu",(e=>{const{onMenuClose:t=c.a}=this.props;this.setState({isOpen:!1},(()=>t(e)))})),h(this,"focusButton",(()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()})),h(this,"handleButtonClick",(e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)})),h(this,"handleButtonKeyDown",(e=>{const{isOpen:t}=this.state;switch(e.key){case f.Ce.space:case f.Ce.enter:case f.Ce.arrowDown:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case f.Ce.arrowUp:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case f.Ce.escape:t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}})),h(this,"handleMenuClose",((e,t)=>{this.closeMenu(t),this.focusButton()})),h(this,"handleDocumentClick",(e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)}))}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:e,children:t,className:r,constrainToScrollParent:o,constrainToWindow:a,constrainToWindowWithPin:l,isResponsive:c,isRightAligned:u,tetherAttachment:d,tetherTargetAttachment:f}=this.props,{isOpen:h,initialFocusIndex:p}=this.state,m=n.Children.toArray(t);if(2!==m.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const b=m[0],g=m[1],v={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":h?"true":"false"};void 0===b.props["aria-haspopup"]&&(v["aria-haspopup"]="true"),h&&(v["aria-controls"]=this.menuID);const y={id:this.menuID,key:this.menuID,initialFocusIndex:p,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let w="top left",C="bottom left";u&&(w="top right",C="bottom right");const E=[];o&&E.push({to:"scrollParent",attachment:"together"}),a&&E.push({to:"window",attachment:"together"}),l&&E.push({to:"window",attachment:"together",pin:!0});const S=e instanceof HTMLElement?e:document.body;return n.createElement(i.a,{attachment:d||w,bodyElement:S,className:s()({"bdl-DropdownMenu--responsive":c},r),classPrefix:"dropdown-menu",constraints:E,enabled:h,targetAttachment:f||C},n.cloneElement(b,v),h&&n.cloneElement(g,y))}}h(p,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1}),t.a=p},function(e,t,r){"use strict";var n=r(0),o=r(21),i=r.n(o),a=r(4),s=r.n(a),l=r(118);r(511);function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=".menu-item:not([aria-disabled])",f="ul:not(.submenu) > ".concat(d,", ul:not(.submenu) > li > ").concat(d,", ul:not(.submenu) > span > ").concat(d),h="ul.submenu > ".concat(d,", ul.submenu > li > ").concat(d,", ul.submenu > span > ").concat(d);function p(e){e.stopPropagation(),e.preventDefault()}class m extends n.Component{constructor(e){var t;super(e),t=this,u(this,"setInitialFocusIndex",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;const{initialFocusIndex:r,isHidden:n}=e;n||void 0===r||("number"==typeof r?setTimeout((()=>{t.setFocus(r)}),0):null===r&&setTimeout((()=>{t.menuEl&&t.menuEl.focus()}),0))})),u(this,"setMenuItemEls",(()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?h:f);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]})),u(this,"getMenuItemElFromEventTarget",(e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}})),u(this,"setFocus",(e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()})),u(this,"focusFirstItem",(()=>{this.setFocus(0)})),u(this,"focusLastItem",(()=>{this.setFocus(-1)})),u(this,"focusNextItem",(()=>{this.setFocus(this.focusIndex+1)})),u(this,"focusPreviousItem",(()=>{this.setFocus(this.focusIndex-1)})),u(this,"fireOnCloseHandler",((e,t)=>{const{onClose:r}=this.props;r&&r(e,t)})),u(this,"handleClick",(e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)})),u(this,"handleKeyDown",(e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":p(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":p(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;p(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":p(e),this.focusFirstItem();break;case"End":case"PageDown":p(e),this.focusLastItem();break;case"Escape":p(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":p(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0})),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate(e){let{isHidden:t,children:r}=e;const{children:o,isHidden:i,isSubmenu:a}=this.props;if(a&&t&&!i&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),n.Children.toArray(r).length!==n.Children.toArray(o).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const e=this.props,{children:t,className:r,isHidden:o,setRef:a,shouldOutlineFocus:u}=e,d=c(e,["children","className","isHidden","setRef","shouldOutlineFocus"]),f=i()(d,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return f.className=s()("aria-menu",r,{"is-hidden":o,"should-outline-focus":u}),f.ref=e=>{this.menuEl=e,a&&a(e)},void 0===f.role&&(f.role="menu"),f.tabIndex=-1,f.onClick=this.handleClick,f.onKeyDown=this.handleKeyDown,n.createElement("ul",f,n.createElement(l.a.Provider,{value:{closeMenu:this.fireOnCloseHandler}},t))}}u(m,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1}),t.a=m},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(142);t.a=e=>{let{language:t,messages:r,children:a}=e;return!!t&&!!r?o.a.createElement(i.a,{locale:t,messages:r},a):n.Children.only(a)}},,,function(e,t,r){"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.a=function(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},function(e,t,r){var n=r(373),o=r(374),i=r(375),a=r(376),s=r(377);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(112);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(74)(Object,"create");e.exports=n},function(e,t,r){var n=r(397);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(225),o=r(409),i=r(88);e.exports=function(e){return i(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(62),o=r(49);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},function(e,t,r){"use strict";(function(t){var n=r(32),o=r(457),i=r(239),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(l=r(240)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c}).call(this,r(198))},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";r.d(t,"a",(function(){return L}));var n=r(0),o=r(33),i=r(11);const a=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function s(e,t){let{locale:r,formats:n,onError:o}=e,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:l}=s,c=l&&Object(i.g)(n,"number",l,o)||{};return t(r,Object(i.f)(s,a,c))}function l(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).format(r)}catch(t){e.onError(Object(i.b)("Error formatting number.",t))}return String(r)}function c(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return s(e,t,n).formatToParts(r)}catch(t){e.onError(Object(i.b)("Error formatting number.",t))}return[]}const u=["numeric","style"];function d(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};n||(n="second");Intl.RelativeTimeFormat||e.onError(Object(i.b)('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return function(e,t){let{locale:r,formats:n,onError:o}=e,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{format:s}=a,l=!!s&&Object(i.g)(n,"relative",s,o)||{};return t(r,Object(i.f)(a,u,l))}(e,t,o).format(r,n)}catch(t){e.onError(Object(i.b)("Error formatting relative time.",t))}return String(r)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}const h=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function p(e,t,r){let{locale:n,formats:o,onError:a,timeZone:s}=e,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const{format:c}=l,u=f(f({},s&&{timeZone:s}),c&&Object(i.g)(o,t,c,a));let d=Object(i.f)(l,h,u);return"time"!==t||d.hour||d.minute||d.second||(d=f(f({},d),{hour:"numeric",minute:"numeric"})),r(n,d)}function m(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).format(o)}catch(t){e.onError(Object(i.b)("Error formatting date.",t))}return String(o)}function b(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).format(o)}catch(t){e.onError(Object(i.b)("Error formatting time.",t))}return String(o)}function g(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o="string"==typeof r?new Date(r||0):r;try{return p(e,"date",t,n).formatToParts(o)}catch(t){e.onError(Object(i.b)("Error formatting date.",t))}return[]}function v(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o="string"==typeof r?new Date(r||0):r;try{return p(e,"time",t,n).formatToParts(o)}catch(t){e.onError(Object(i.b)("Error formatting time.",t))}return[]}const y=["localeMatcher","type"];function w(e,t,r){let{locale:n,onError:o}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||o(Object(i.b)('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));const s=Object(i.f)(a,y);try{return t(n,s).select(r)}catch(e){o(Object(i.b)("Error formatting plural.",e))}return"other"}var C=r(108),E=r(85),S=r.n(E);const k=["localeMatcher","type","style"],x=Date.now();function O(e,t,r){let{locale:n,onError:o}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||o(Object(i.b)('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));const s=Object(i.f)(a,k);try{const e={},o=r.map(((t,r)=>{if("object"==typeof t){const n=function(e){return"".concat(x,"_").concat(e,"_").concat(x)}(r);return e[n]=t,n}return String(t)}));if(!Object.keys(e).length)return t(n,s).format(o);return t(n,s).formatToParts(o).reduce(((t,r)=>{const n=r.value;return e[n]?t.push(e[n]):"string"==typeof t[t.length-1]?t[t.length-1]+=n:t.push(n),t}),[])}catch(e){o(Object(i.b)("Error formatting list.",e))}return r}const _=["localeMatcher","style","type","fallback"];function P(e,t,r){let{locale:n,onError:o}=e,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.DisplayNames||o(Object(i.b)('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));const s=Object(i.f)(a,_);try{return t(n,s).of(r)}catch(e){o(Object(i.b)("Error formatting display name.",e))}}function A(){return A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},A.apply(this,arguments)}const I=S.a||E;function T(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function M(e,t){const r=Object(i.c)(t),n=A(A({},i.a),e),{locale:o,defaultLocale:a,onError:s}=n;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&s?s(Object(i.b)('Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&s&&s(Object(i.b)('Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(s&&s(Object(i.b)('"locale" was not configured, using "'.concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),n.locale=n.defaultLocale||"en"),A(A({},n),{formatters:r,formatNumber:l.bind(null,n,r.getNumberFormat),formatNumberToParts:c.bind(null,n,r.getNumberFormat),formatRelativeTime:d.bind(null,n,r.getRelativeTimeFormat),formatDate:m.bind(null,n,r.getDateTimeFormat),formatDateToParts:g.bind(null,n,r.getDateTimeFormat),formatTime:b.bind(null,n,r.getDateTimeFormat),formatTimeToParts:v.bind(null,n,r.getDateTimeFormat),formatPlural:w.bind(null,n,r.getPluralRules),formatMessage:C.b.bind(null,n,r),formatHTMLMessage:C.a.bind(null,n,r),formatList:O.bind(null,n,r.getListFormat),formatDisplayName:P.bind(null,n,r.getDisplayNames)})}class L extends n.PureComponent{constructor(){super(...arguments),this.cache=Object(i.d)(),this.state={cache:this.cache,intl:M(T(this.props),this.cache),prevConfig:T(this.props)}}static getDerivedStateFromProps(e,t){let{prevConfig:r,cache:n}=t;const o=T(e);return I(r,o)?null:{intl:M(o,n),prevConfig:o}}render(){return Object(i.h)(this.state.intl),n.createElement(o.b,{value:this.state.intl},this.props.children)}}L.displayName="IntlProvider",L.defaultProps=i.a},,function(e,t,r){"use strict";var n;function o(e){return e.type===n.literal}function i(e){return e.type===n.argument}function a(e){return e.type===n.number}function s(e){return e.type===n.date}function l(e){return e.type===n.time}function c(e){return e.type===n.select}function u(e){return e.type===n.plural}function d(e){return e.type===n.pound}function f(e){return!(!e||"object"!=typeof e||0!==e.type)}function h(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(n||(n={}));var p,m=(p=function(e,t){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},p(e,t)},function(e,t){function r(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),b=function(){return b=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},b.apply(this,arguments)},g=function(e){function t(r,n,o,i){var a=e.call(this)||this;return a.message=r,a.expected=n,a.found=o,a.location=i,a.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return m(t,e),t.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(e){return"\\x0"+r(e)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(e){return"\\x"+r(e)}))}function i(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map((function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)}));return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(i);if(n.sort(),n.length>0){for(t=1,r=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+(((a=t)?'"'+n(a)+'"':"end of input")+" found.");var a},t}(Error);var v=function(e,t){t=void 0!==t?t:{};var r,o={},i={start:ut},a=ut,s=function(e){return e.join("")},l=function(e){return b({type:n.literal,value:e},Lt())},c="#",u=nt("#",!1),d=function(){return b({type:n.pound},Lt())},f=it("argumentElement"),h="{",p=nt("{",!1),m="}",v=nt("}",!1),y=function(e){return b({type:n.argument,value:e},Lt())},w=it("numberSkeletonId"),C=/^['\/{}]/,E=ot(["'","/","{","}"],!1,!1),S={type:"any"},k=it("numberSkeletonTokenOption"),x="/",O=nt("/",!1),_=function(e){return e},P=it("numberSkeletonToken"),A=function(e,t){return{stem:e,options:t}},I=function(e){return b({type:0,tokens:e},Lt())},T="::",M=nt("::",!1),L=function(e){return e},D=function(){return Tt.push("numberArgStyle"),!0},j=function(e){return Tt.pop(),e.replace(/\s*$/,"")},F=",",R=nt(",",!1),N="number",U=nt("number",!1),z=function(e,t,r){return b({type:"number"===t?n.number:"date"===t?n.date:n.time,style:r&&r[2],value:e},Lt())},H="'",B=nt("'",!1),V=/^[^']/,W=ot(["'"],!0,!1),q=/^[^a-zA-Z'{}]/,G=ot([["a","z"],["A","Z"],"'","{","}"],!0,!1),K=/^[a-zA-Z]/,X=ot([["a","z"],["A","Z"]],!1,!1),Q=function(e){return b({type:1,pattern:e},Lt())},Z=function(){return Tt.push("dateOrTimeArgStyle"),!0},$="date",Y=nt("date",!1),J="time",ee=nt("time",!1),te="plural",re=nt("plural",!1),ne="selectordinal",oe=nt("selectordinal",!1),ie="offset:",ae=nt("offset:",!1),se=function(e,t,r,o){return b({type:n.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:o.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&rt('Duplicate option "'+r+'" in plural element: "'+et()+'"',tt()),e[r]={value:n,location:o},e}),{})},Lt())},le="select",ce=nt("select",!1),ue=function(e,t){return b({type:n.select,value:e,options:t.reduce((function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&rt('Duplicate option "'+r+'" in select element: "'+et()+'"',tt()),e[r]={value:n,location:o},e}),{})},Lt())},de="=",fe=nt("=",!1),he=function(e){return Tt.push("select"),!0},pe=function(e,t){return Tt.pop(),b({id:e,value:t},Lt())},me=function(e){return Tt.push("plural"),!0},be=function(e,t){return Tt.pop(),b({id:e,value:t},Lt())},ge=it("whitespace"),ve=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ye=ot([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),we=it("syntax pattern"),Ce=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ee=ot([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Se=it("optional whitespace"),ke=it("number"),xe="-",Oe=nt("-",!1),_e=function(e,t){return t?e?-t:t:0},Pe=(it("apostrophe"),it("double apostrophes")),Ae="''",Ie=nt("''",!1),Te=function(){return"'"},Me=function(e,t){return e+t.replace("''","'")},Le=function(e){return!("{"===e||Mt()&&"#"===e||Tt.length>1&&"}"===e)},De="\n",je=nt("\n",!1),Fe=function(e){return"{"===e||"}"===e||Mt()&&"#"===e},Re=it("argNameOrNumber"),Ne=it("argNumber"),Ue="0",ze=nt("0",!1),He=function(){return 0},Be=/^[1-9]/,Ve=ot([["1","9"]],!1,!1),We=/^[0-9]/,qe=ot([["0","9"]],!1,!1),Ge=function(e){return parseInt(e.join(""),10)},Ke=it("argName"),Xe=0,Qe=0,Ze=[{line:1,column:1}],$e=0,Ye=[],Je=0;if(void 0!==t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');a=i[t.startRule]}function et(){return e.substring(Qe,Xe)}function tt(){return st(Qe,Xe)}function rt(e,t){throw function(e,t){return new g(e,[],"",t)}(e,t=void 0!==t?t:st(Qe,Xe))}function nt(e,t){return{type:"literal",text:e,ignoreCase:t}}function ot(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function it(e){return{type:"other",description:e}}function at(t){var r,n=Ze[t];if(n)return n;for(r=t-1;!Ze[r];)r--;for(n={line:(n=Ze[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Ze[t]=n,n}function st(e,t){var r=at(e),n=at(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function lt(e){Xe<$e||(Xe>$e&&($e=Xe,Ye=[]),Ye.push(e))}function ct(e,t,r){return new g(g.buildMessage(e,t),e,t,r)}function ut(){return dt()}function dt(){var e,t;for(e=[],t=ft();t!==o;)e.push(t),t=ft();return e}function ft(){var t;return(t=function(){var e,t;e=Xe,(t=ht())!==o&&(Qe=e,t=l(t));return e=t,e}())===o&&(t=function(){var t,r,n,i;Je++,t=Xe,123===e.charCodeAt(Xe)?(r=h,Xe++):(r=o,0===Je&&lt(p));r!==o&&St()!==o&&(n=Pt())!==o&&St()!==o?(125===e.charCodeAt(Xe)?(i=m,Xe++):(i=o,0===Je&&lt(v)),i!==o?(Qe=t,t=r=y(n)):(Xe=t,t=o)):(Xe=t,t=o);Je--,t===o&&(r=o,0===Je&&lt(f));return t}())===o&&(t=function(){var t;t=function(){var t,r,n,i,a,s,l,c,u;t=Xe,123===e.charCodeAt(Xe)?(r=h,Xe++):(r=o,0===Je&&lt(p));r!==o&&St()!==o&&(n=Pt())!==o&&St()!==o?(44===e.charCodeAt(Xe)?(i=F,Xe++):(i=o,0===Je&&lt(R)),i!==o&&St()!==o?(e.substr(Xe,6)===N?(a=N,Xe+=6):(a=o,0===Je&&lt(U)),a!==o&&St()!==o?(s=Xe,44===e.charCodeAt(Xe)?(l=F,Xe++):(l=o,0===Je&&lt(R)),l!==o&&(c=St())!==o?(u=function(){var t,r,n;t=Xe,e.substr(Xe,2)===T?(r=T,Xe+=2):(r=o,0===Je&&lt(M));r!==o?(n=function(){var e,t,r;if(e=Xe,t=[],r=bt(),r!==o)for(;r!==o;)t.push(r),r=bt();else t=o;t!==o&&(Qe=e,t=I(t));return e=t,e}(),n!==o?(Qe=t,t=r=L(n)):(Xe=t,t=o)):(Xe=t,t=o);t===o&&(t=Xe,Qe=Xe,(r=(r=D())?void 0:o)!==o&&(n=ht())!==o?(Qe=t,t=r=j(n)):(Xe=t,t=o));return t}(),u!==o?s=l=[l,c,u]:(Xe=s,s=o)):(Xe=s,s=o),s===o&&(s=null),s!==o&&(l=St())!==o?(125===e.charCodeAt(Xe)?(c=m,Xe++):(c=o,0===Je&&lt(v)),c!==o?(Qe=t,t=r=z(n,a,s)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o);return t}(),t===o&&(t=function(){var t,r,n,i,a,s,l,c,u;t=Xe,123===e.charCodeAt(Xe)?(r=h,Xe++):(r=o,0===Je&&lt(p));r!==o&&St()!==o&&(n=Pt())!==o&&St()!==o?(44===e.charCodeAt(Xe)?(i=F,Xe++):(i=o,0===Je&&lt(R)),i!==o&&St()!==o?(e.substr(Xe,4)===$?(a=$,Xe+=4):(a=o,0===Je&&lt(Y)),a===o&&(e.substr(Xe,4)===J?(a=J,Xe+=4):(a=o,0===Je&&lt(ee))),a!==o&&St()!==o?(s=Xe,44===e.charCodeAt(Xe)?(l=F,Xe++):(l=o,0===Je&&lt(R)),l!==o&&(c=St())!==o?(u=function(){var t,r,n;t=Xe,e.substr(Xe,2)===T?(r=T,Xe+=2):(r=o,0===Je&&lt(M));r!==o?(n=function(){var t,r,n,i;t=Xe,r=Xe,n=[],i=gt(),i===o&&(i=vt());if(i!==o)for(;i!==o;)n.push(i),(i=gt())===o&&(i=vt());else n=o;r=n!==o?e.substring(r,Xe):n;r!==o&&(Qe=t,r=Q(r));return t=r,t}(),n!==o?(Qe=t,t=r=L(n)):(Xe=t,t=o)):(Xe=t,t=o);t===o&&(t=Xe,Qe=Xe,(r=(r=Z())?void 0:o)!==o&&(n=ht())!==o?(Qe=t,t=r=j(n)):(Xe=t,t=o));return t}(),u!==o?s=l=[l,c,u]:(Xe=s,s=o)):(Xe=s,s=o),s===o&&(s=null),s!==o&&(l=St())!==o?(125===e.charCodeAt(Xe)?(c=m,Xe++):(c=o,0===Je&&lt(v)),c!==o?(Qe=t,t=r=z(n,a,s)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o);return t}());return t}())===o&&(t=function(){var t,r,n,i,a,s,l,c,u,d,f;t=Xe,123===e.charCodeAt(Xe)?(r=h,Xe++):(r=o,0===Je&&lt(p));if(r!==o)if(St()!==o)if((n=Pt())!==o)if(St()!==o)if(44===e.charCodeAt(Xe)?(i=F,Xe++):(i=o,0===Je&&lt(R)),i!==o)if(St()!==o)if(e.substr(Xe,6)===te?(a=te,Xe+=6):(a=o,0===Je&&lt(re)),a===o&&(e.substr(Xe,13)===ne?(a=ne,Xe+=13):(a=o,0===Je&&lt(oe))),a!==o)if(St()!==o)if(44===e.charCodeAt(Xe)?(s=F,Xe++):(s=o,0===Je&&lt(R)),s!==o)if(St()!==o)if(l=Xe,e.substr(Xe,7)===ie?(c=ie,Xe+=7):(c=o,0===Je&&lt(ae)),c!==o&&(u=St())!==o&&(d=kt())!==o?l=c=[c,u,d]:(Xe=l,l=o),l===o&&(l=null),l!==o)if((c=St())!==o){if(u=[],(d=wt())!==o)for(;d!==o;)u.push(d),d=wt();else u=o;u!==o&&(d=St())!==o?(125===e.charCodeAt(Xe)?(f=m,Xe++):(f=o,0===Je&&lt(v)),f!==o?(Qe=t,t=r=se(n,a,l,u)):(Xe=t,t=o)):(Xe=t,t=o)}else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;return t}())===o&&(t=function(){var t,r,n,i,a,s,l,c,u;t=Xe,123===e.charCodeAt(Xe)?(r=h,Xe++):(r=o,0===Je&&lt(p));if(r!==o)if(St()!==o)if((n=Pt())!==o)if(St()!==o)if(44===e.charCodeAt(Xe)?(i=F,Xe++):(i=o,0===Je&&lt(R)),i!==o)if(St()!==o)if(e.substr(Xe,6)===le?(a=le,Xe+=6):(a=o,0===Je&&lt(ce)),a!==o)if(St()!==o)if(44===e.charCodeAt(Xe)?(s=F,Xe++):(s=o,0===Je&&lt(R)),s!==o)if(St()!==o){if(l=[],(c=yt())!==o)for(;c!==o;)l.push(c),c=yt();else l=o;l!==o&&(c=St())!==o?(125===e.charCodeAt(Xe)?(u=m,Xe++):(u=o,0===Je&&lt(v)),u!==o?(Qe=t,t=r=ue(n,l)):(Xe=t,t=o)):(Xe=t,t=o)}else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;else Xe=t,t=o;return t}())===o&&(t=function(){var t,r;t=Xe,35===e.charCodeAt(Xe)?(r=c,Xe++):(r=o,0===Je&&lt(u));r!==o&&(Qe=t,r=d());return t=r,t}()),t}function ht(){var e,t,r;if(e=Xe,t=[],(r=xt())===o&&(r=Ot())===o&&(r=_t()),r!==o)for(;r!==o;)t.push(r),(r=xt())===o&&(r=Ot())===o&&(r=_t());else t=o;return t!==o&&(Qe=e,t=s(t)),e=t}function pt(){var t,r,n,i,a;if(Je++,t=Xe,r=[],n=Xe,i=Xe,Je++,(a=Ct())===o&&(C.test(e.charAt(Xe))?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(E))),Je--,a===o?i=void 0:(Xe=i,i=o),i!==o?(e.length>Xe?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(S)),a!==o?n=i=[i,a]:(Xe=n,n=o)):(Xe=n,n=o),n!==o)for(;n!==o;)r.push(n),n=Xe,i=Xe,Je++,(a=Ct())===o&&(C.test(e.charAt(Xe))?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(E))),Je--,a===o?i=void 0:(Xe=i,i=o),i!==o?(e.length>Xe?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(S)),a!==o?n=i=[i,a]:(Xe=n,n=o)):(Xe=n,n=o);else r=o;return t=r!==o?e.substring(t,Xe):r,Je--,t===o&&(r=o,0===Je&&lt(w)),t}function mt(){var t,r,n;return Je++,t=Xe,47===e.charCodeAt(Xe)?(r=x,Xe++):(r=o,0===Je&&lt(O)),r!==o&&(n=pt())!==o?(Qe=t,t=r=_(n)):(Xe=t,t=o),Je--,t===o&&(r=o,0===Je&&lt(k)),t}function bt(){var e,t,r,n;if(Je++,e=Xe,St()!==o)if((t=pt())!==o){for(r=[],n=mt();n!==o;)r.push(n),n=mt();r!==o?(Qe=e,e=A(t,r)):(Xe=e,e=o)}else Xe=e,e=o;else Xe=e,e=o;return Je--,e===o&&(o,0===Je&&lt(P)),e}function gt(){var t,r,n,i;if(t=Xe,39===e.charCodeAt(Xe)?(r=H,Xe++):(r=o,0===Je&&lt(B)),r!==o){if(n=[],(i=xt())===o&&(V.test(e.charAt(Xe))?(i=e.charAt(Xe),Xe++):(i=o,0===Je&&lt(W))),i!==o)for(;i!==o;)n.push(i),(i=xt())===o&&(V.test(e.charAt(Xe))?(i=e.charAt(Xe),Xe++):(i=o,0===Je&&lt(W)));else n=o;n!==o?(39===e.charCodeAt(Xe)?(i=H,Xe++):(i=o,0===Je&&lt(B)),i!==o?t=r=[r,n,i]:(Xe=t,t=o)):(Xe=t,t=o)}else Xe=t,t=o;if(t===o)if(t=[],(r=xt())===o&&(q.test(e.charAt(Xe))?(r=e.charAt(Xe),Xe++):(r=o,0===Je&&lt(G))),r!==o)for(;r!==o;)t.push(r),(r=xt())===o&&(q.test(e.charAt(Xe))?(r=e.charAt(Xe),Xe++):(r=o,0===Je&&lt(G)));else t=o;return t}function vt(){var t,r;if(t=[],K.test(e.charAt(Xe))?(r=e.charAt(Xe),Xe++):(r=o,0===Je&&lt(X)),r!==o)for(;r!==o;)t.push(r),K.test(e.charAt(Xe))?(r=e.charAt(Xe),Xe++):(r=o,0===Je&&lt(X));else t=o;return t}function yt(){var t,r,n,i,a;return t=Xe,St()!==o&&(r=It())!==o&&St()!==o?(123===e.charCodeAt(Xe)?(n=h,Xe++):(n=o,0===Je&&lt(p)),n!==o?(Qe=Xe,(he(r)?void 0:o)!==o&&(i=dt())!==o?(125===e.charCodeAt(Xe)?(a=m,Xe++):(a=o,0===Je&&lt(v)),a!==o?(Qe=t,t=pe(r,i)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o),t}function wt(){var t,r,n,i,a;return t=Xe,St()!==o?(r=function(){var t,r,n,i;return t=Xe,r=Xe,61===e.charCodeAt(Xe)?(n=de,Xe++):(n=o,0===Je&&lt(fe)),n!==o&&(i=kt())!==o?r=n=[n,i]:(Xe=r,r=o),(t=r!==o?e.substring(t,Xe):r)===o&&(t=It()),t}(),r!==o&&St()!==o?(123===e.charCodeAt(Xe)?(n=h,Xe++):(n=o,0===Je&&lt(p)),n!==o?(Qe=Xe,(me(r)?void 0:o)!==o&&(i=dt())!==o?(125===e.charCodeAt(Xe)?(a=m,Xe++):(a=o,0===Je&&lt(v)),a!==o?(Qe=t,t=be(r,i)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o)):(Xe=t,t=o),t}function Ct(){var t;return Je++,ve.test(e.charAt(Xe))?(t=e.charAt(Xe),Xe++):(t=o,0===Je&&lt(ye)),Je--,t===o&&(o,0===Je&&lt(ge)),t}function Et(){var t;return Je++,Ce.test(e.charAt(Xe))?(t=e.charAt(Xe),Xe++):(t=o,0===Je&&lt(Ee)),Je--,t===o&&(o,0===Je&&lt(we)),t}function St(){var t,r,n;for(Je++,t=Xe,r=[],n=Ct();n!==o;)r.push(n),n=Ct();return t=r!==o?e.substring(t,Xe):r,Je--,t===o&&(r=o,0===Je&&lt(Se)),t}function kt(){var t,r,n;return Je++,t=Xe,45===e.charCodeAt(Xe)?(r=xe,Xe++):(r=o,0===Je&&lt(Oe)),r===o&&(r=null),r!==o&&(n=At())!==o?(Qe=t,t=r=_e(r,n)):(Xe=t,t=o),Je--,t===o&&(r=o,0===Je&&lt(ke)),t}function xt(){var t,r;return Je++,t=Xe,e.substr(Xe,2)===Ae?(r=Ae,Xe+=2):(r=o,0===Je&&lt(Ie)),r!==o&&(Qe=t,r=Te()),Je--,(t=r)===o&&(r=o,0===Je&&lt(Pe)),t}function Ot(){var t,r,n,i,a,s;if(t=Xe,39===e.charCodeAt(Xe)?(r=H,Xe++):(r=o,0===Je&&lt(B)),r!==o)if(n=function(){var t,r,n,i;t=Xe,r=Xe,e.length>Xe?(n=e.charAt(Xe),Xe++):(n=o,0===Je&&lt(S));n!==o?(Qe=Xe,(i=(i=Fe(n))?void 0:o)!==o?r=n=[n,i]:(Xe=r,r=o)):(Xe=r,r=o);t=r!==o?e.substring(t,Xe):r;return t}(),n!==o){for(i=Xe,a=[],e.substr(Xe,2)===Ae?(s=Ae,Xe+=2):(s=o,0===Je&&lt(Ie)),s===o&&(V.test(e.charAt(Xe))?(s=e.charAt(Xe),Xe++):(s=o,0===Je&&lt(W)));s!==o;)a.push(s),e.substr(Xe,2)===Ae?(s=Ae,Xe+=2):(s=o,0===Je&&lt(Ie)),s===o&&(V.test(e.charAt(Xe))?(s=e.charAt(Xe),Xe++):(s=o,0===Je&&lt(W)));(i=a!==o?e.substring(i,Xe):a)!==o?(39===e.charCodeAt(Xe)?(a=H,Xe++):(a=o,0===Je&&lt(B)),a===o&&(a=null),a!==o?(Qe=t,t=r=Me(n,i)):(Xe=t,t=o)):(Xe=t,t=o)}else Xe=t,t=o;else Xe=t,t=o;return t}function _t(){var t,r,n,i;return t=Xe,r=Xe,e.length>Xe?(n=e.charAt(Xe),Xe++):(n=o,0===Je&&lt(S)),n!==o?(Qe=Xe,(i=(i=Le(n))?void 0:o)!==o?r=n=[n,i]:(Xe=r,r=o)):(Xe=r,r=o),r===o&&(10===e.charCodeAt(Xe)?(r=De,Xe++):(r=o,0===Je&&lt(je))),t=r!==o?e.substring(t,Xe):r}function Pt(){var t,r;return Je++,t=Xe,(r=At())===o&&(r=It()),t=r!==o?e.substring(t,Xe):r,Je--,t===o&&(r=o,0===Je&&lt(Re)),t}function At(){var t,r,n,i,a;if(Je++,t=Xe,48===e.charCodeAt(Xe)?(r=Ue,Xe++):(r=o,0===Je&&lt(ze)),r!==o&&(Qe=t,r=He()),(t=r)===o){if(t=Xe,r=Xe,Be.test(e.charAt(Xe))?(n=e.charAt(Xe),Xe++):(n=o,0===Je&&lt(Ve)),n!==o){for(i=[],We.test(e.charAt(Xe))?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(qe));a!==o;)i.push(a),We.test(e.charAt(Xe))?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(qe));i!==o?r=n=[n,i]:(Xe=r,r=o)}else Xe=r,r=o;r!==o&&(Qe=t,r=Ge(r)),t=r}return Je--,t===o&&(r=o,0===Je&&lt(Ne)),t}function It(){var t,r,n,i,a;if(Je++,t=Xe,r=[],n=Xe,i=Xe,Je++,(a=Ct())===o&&(a=Et()),Je--,a===o?i=void 0:(Xe=i,i=o),i!==o?(e.length>Xe?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(S)),a!==o?n=i=[i,a]:(Xe=n,n=o)):(Xe=n,n=o),n!==o)for(;n!==o;)r.push(n),n=Xe,i=Xe,Je++,(a=Ct())===o&&(a=Et()),Je--,a===o?i=void 0:(Xe=i,i=o),i!==o?(e.length>Xe?(a=e.charAt(Xe),Xe++):(a=o,0===Je&&lt(S)),a!==o?n=i=[i,a]:(Xe=n,n=o)):(Xe=n,n=o);else r=o;return t=r!==o?e.substring(t,Xe):r,Je--,t===o&&(r=o,0===Je&&lt(Ke)),t}var Tt=["root"];function Mt(){return"plural"===Tt[Tt.length-1]}function Lt(){return t&&t.captureLocation?{location:tt()}:{}}if((r=a())!==o&&Xe===e.length)return r;throw r!==o&&Xe<e.length&&lt({type:"end"}),ct(Ye,$e<e.length?e.charAt($e):null,$e<e.length?st($e,$e+1):st($e,$e))},y=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n},w=/(^|[^\\])#/g;function C(e){e.forEach((function(e){(u(e)||c(e))&&Object.keys(e.options).forEach((function(t){for(var r,n=e.options[t],i=-1,a=void 0,s=0;s<n.value.length;s++){var l=n.value[s];if(o(l)&&w.test(l.value)){i=s,a=l;break}}if(a){var c=a.value.replace(w,"$1{"+e.value+", number}"),u=v(c);(r=n.value).splice.apply(r,y([i,1],u))}C(n.value)}))}))}function E(e,t){var r=v(e,t);return t&&!1===t.normalizeHashtagInPlural||C(r),r}var S=r(44),k=function(){return k=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},k.apply(this,arguments)},x=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function O(e){var t={};return e.replace(x,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""})),t}var _=/^\.(?:(0+)(\+|#+)?)?$/g,P=/^(@+)?(\+|#+)?$/g;function A(e){var t={};return e.replace(P,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function I(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function T(e){var t=I(e);return t||{}}function M(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":t.style="percent";continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":t.useGrouping=!1;continue;case"precision-integer":t.maximumFractionDigits=0;continue;case"measure-unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=k(k(k({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return k(k({},e),T(t))}),{}));continue;case"engineering":t=k(k(k({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return k(k({},e),T(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue}if(_.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(_,(function(e,r,n){return"."===e?t.maximumFractionDigits=0:"+"===n?t.minimumFractionDigits=n.length:"#"===r[0]?t.maximumFractionDigits=r.length:(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length+("string"==typeof n?n.length:0)),""})),o.options.length&&(t=k(k({},t),A(o.options[0])))}else if(P.test(o.stem))t=k(k({},t),A(o.stem));else{var i=I(o.stem);i&&(t=k(k({},t),i))}}return t}var L,D=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),j=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n},F=function(e){function t(t,r){var n=e.call(this,t)||this;return n.variableId=r,n}return D(t,e),t}(Error);function R(e,t,r,n,p,m,b){if(1===e.length&&o(e[0]))return[{type:0,value:e[0].value}];for(var g,v=[],y=0,w=e;y<w.length;y++){var C=w[y];if(o(C))v.push({type:0,value:C.value});else if(d(C))"number"==typeof m&&v.push({type:0,value:r.getNumberFormat(t).format(m)});else{var E=C.value;if(!p||!(E in p))throw new F('The intl string context variable "'+E+'" was not provided to the string "'+b+'"');var S=p[E];if(i(C))S&&"string"!=typeof S&&"number"!=typeof S||(S="string"==typeof S||"number"==typeof S?String(S):""),v.push({type:1,value:S});else if(s(C)){var k="string"==typeof C.style?n.date[C.style]:void 0;v.push({type:0,value:r.getDateTimeFormat(t,k).format(S)})}else if(l(C)){k="string"==typeof C.style?n.time[C.style]:h(C.style)?O(C.style.pattern):void 0;v.push({type:0,value:r.getDateTimeFormat(t,k).format(S)})}else if(a(C)){k="string"==typeof C.style?n.number[C.style]:f(C.style)?M(C.style.tokens):void 0;v.push({type:0,value:r.getNumberFormat(t,k).format(S)})}else if(c(C)){if(!(x=C.options[S]||C.options.other))throw new RangeError('Invalid values for "'+C.value+'": "'+S+'". Options are "'+Object.keys(C.options).join('", "')+'"');v.push.apply(v,R(x.value,t,r,n,p))}else if(u(C)){var x;if(!(x=C.options["="+S])){if(!Intl.PluralRules)throw new F('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n');var _=r.getPluralRules(t,{type:C.pluralType}).select(S-(C.offset||0));x=C.options[_]||C.options.other}if(!x)throw new RangeError('Invalid values for "'+C.value+'": "'+S+'". Options are "'+Object.keys(C.options).join('", "')+'"');v.push.apply(v,R(x.value,t,r,n,p,S-(C.offset||0)))}else;}}return(g=v).length<2?g:g.reduce((function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e}),[])}var N=/@@(\d+_\d+)@@/g,U=0;function z(e,t){return e.split(N).filter(Boolean).map((function(e){return null!=t[e]?t[e]:e})).reduce((function(e,t){return e.length&&"string"==typeof t&&"string"==typeof e[e.length-1]?e[e.length-1]+=t:e.push(t),e}),[])}var H=/(<([0-9a-zA-Z-_]*?)>(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,B=Date.now()+"@@",V=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function W(e,t,r){var n=e.tagName,o=e.outerHTML,i=e.textContent,a=e.childNodes;if(!n)return z(i||"",t);n=n.toLowerCase();var s=~V.indexOf(n),l=r[n];if(l&&s)throw new F(n+" is a self-closing tag and can not be used, please use another tag name.");if(!a.length)return[o];var c=Array.prototype.slice.call(a).reduce((function(e,n){return e.concat(W(n,t,r))}),[]);return l?"function"==typeof l?[l.apply(void 0,c)]:[l]:j(["<"+n+">"],c,["</"+n+">"])}function q(e,t,r,n,o,i){var a=R(e,t,r,n,o,void 0,i),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var r=Date.now()+"_"+ ++U;return s[r]=t.value,e+"@@"+r+"@@"}),"");if(!H.test(l))return z(l,s);if(!o)throw new F("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new F("Cannot format XML message without DOMParser");L||(L=new DOMParser);var c=L.parseFromString('<formatted-message id="'+B+'">'+l+"</formatted-message>","text/html").getElementById(B);if(!c)throw new F("Malformed HTML message "+l);var u=Object.keys(o).filter((function(e){return!!c.getElementsByTagName(e).length}));if(!u.length)return z(l,s);var d=u.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new F("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(c.childNodes).reduce((function(e,t){return e.concat(W(t,s,o))}),[])}var G=function(){return G=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},G.apply(this,arguments)};function K(e,t){return t?Object.keys(e).reduce((function(r,n){var o,i;return r[n]=(o=e[n],(i=t[n])?G(G(G({},o||{}),i||{}),Object.keys(o).reduce((function(e,t){return e[t]=G(G({},o[t]),i[t]||{}),e}),{})):o),r}),G({},e)):e}var X=function(){function e(t,r,n,o){var i,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){return function(e,t,r,n,o,i){var a=R(e,t,r,n,o,void 0,i);return 1===a.length?a[0].value:a.reduce((function(e,t){return e+t.value}),"")}(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.formatToParts=function(e){return R(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.formatHTMLMessage=function(e){return q(a.ast,a.locales,a.formatters,a.formats,e,a.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(a.locales)[0]}},this.getAst=function(){return a.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{normalizeHashtagInPlural:!1})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=K(e.formats,n),this.locales=r,this.formatters=o&&o.formatters||(void 0===(i=this.formatterCache)&&(i={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(S.a)(Intl.NumberFormat,i.number),getDateTimeFormat:Object(S.a)(Intl.DateTimeFormat,i.dateTime),getPluralRules:Object(S.a)(Intl.PluralRules,i.pluralRules)})}return e.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,e.__parse=E,e.formats={number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();t.a=X},function(e,t,r){"use strict";var n=r(0),o=r(157);r(513);t.a=e=>{let{children:t}=e;return n.createElement("span",{className:"menu-toggle"},t,n.createElement(o.a,{className:"toggle-arrow",width:7}))}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r(12),i=r.n(o),a=r(53),s=r.n(a);r(448);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let d;!function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(d||(d={}));const f={[d.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[d.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[d.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[d.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[d.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[d.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[d.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[d.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[d.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class h extends n.Component{constructor(){super(...arguments),u(this,"tetherRef",n.createRef()),u(this,"radarAnimationID",i()("radarAnimation")),u(this,"position",(()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()}))}render(){const e=this.props,{children:t,className:r="",constrainToScrollParent:o,constrainToWindow:i,position:a,isShown:u,offset:d,tetherElementClassName:h}=e,p=c(e,["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"]),m=[];o&&m.push({to:"scrollParent",attachment:"together"}),i&&m.push({to:"window",attachment:"together"});const{attachment:b,targetAttachment:g}=f[a],v=n.Children.only(t),y=n.cloneElement(v,{"aria-describedby":this.radarAnimationID}),w={attachment:b,classPrefix:"radar-animation",constraints:m,targetAttachment:g};return h&&(w.className=h),d&&(w.offset=d),n.createElement(s.a,l({ref:this.tetherRef},w),y,u&&n.createElement("div",l({className:"radar ".concat(r),id:this.radarAnimationID},p),n.createElement("div",{className:"radar-dot"}),n.createElement("div",{className:"radar-circle"})))}}u(h,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:d.MIDDLE_RIGHT});var p=h},function(e,t,r){var n=r(687),o=r(24);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(688);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},,function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n="data-resin-target"},,,,function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#000",height:i=6,title:a,width:s=10}=e;return n.createElement(o.a,{className:"icon-caret-down ".concat(t),height:i,title:a,viewBox:"0 0 10 6",width:s},n.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"}))}},,,,function(e,t,r){var n=r(349),o=r(88),i=r(270),a=r(314),s=r(471),l=Math.max;e.exports=function(e,t,r,c){e=o(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),i(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},,,function(e,t,r){var n=r(133),o=r(378),i=r(379),a=r(380),s=r(381),l=r(382);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(406),o=r(176),i=r(177),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},function(e,t,r){"use strict";var n=r(0),o=r(31);function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{const t=t=>{let{isLoading:r=!1,loadingIndicatorProps:a={}}=t,s=i(t,["isLoading","loadingIndicatorProps"]);return r?n.createElement(o.b,a):n.createElement(e,s)};return t.displayName="Loadable".concat(e.displayName||e.name||"Component"),t}},function(e,t,r){"use strict";var n=r(0),o=r(281),i=r(282),a=r(283),s=r(284),l=r(211),c=r(285),u=r(286),d=r(287),f=r(288),h=r(289),p=r(290),m=r(291),b=r(292),g=r(293),v=r(294),y=r(295),w=r(296),C=r(297),E=r(298),S=r(299),k=r(300),x=r(207),O=r(301),_=r(302),P=r(212),A=r(303),I=r(304),T=r(305),M=r(306);const L={IconFileAudio:o.a,IconFileBoxCanvas:i.a,IconFileBoxNote:a.a,IconFileCode:s.a,IconFileDefault:l.a,IconFileDocument:x.a,IconFileDwg:c.a,IconFileExcelSpreadsheet:u.a,IconFileGoogleDocs:d.a,IconFileGoogleSheets:f.a,IconFileGoogleSlides:h.a,IconFileIllustrator:p.a,IconFileImage:m.a,IconFileIndesign:b.a,IconFileKeynote:g.a,IconFileNumbers:v.a,IconFilePages:y.a,IconFilePDF:w.a,IconFilePhotoshop:C.a,IconFilePowerpointPresentation:E.a,IconFilePresentation:S.a,IconFileSpreadsheet:k.a,IconFileText:x.a,IconFileThreeD:O.a,IconFileVector:_.a,IconFileVideo:P.a,IconFileWordDocument:A.a,IconFileXbd:I.a,IconFileXdw:T.a,IconFileZip:M.a},D=e=>e.reduce(((e,t)=>(e[t]=t,e)),{}),j={IconFileAudio:D(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),IconFileBoxCanvas:D(["boxcanvas"]),IconFileBoxNote:D(["boxnote"]),IconFileCode:D(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),IconFileDocument:D(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),IconFileDwg:D(["dwg","dwgzip"]),IconFileExcelSpreadsheet:D(["xls","xlsx","xlsm","xlsb"]),IconFileGoogleDocs:D(["gdoc"]),IconFileGoogleSheets:D(["gsheet"]),IconFileGoogleSlides:D(["gslide","gslides"]),IconFileVector:D(["eps"]),IconFileIllustrator:D(["ai"]),IconFileIndesign:D(["idml","indd","indt","inx"]),IconFileKeynote:D(["key"]),IconFileNumbers:D(["numbers"]),IconFilePages:D(["pages"]),IconFileImage:D(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),IconFilePDF:D(["pdf"]),IconFilePresentation:D(["odp","otp","pot","potx"]),IconFilePowerpointPresentation:D(["ppt","pptx","pptm"]),IconFilePhotoshop:D(["psd"]),IconFileSpreadsheet:D(["csv","ods","tsv","xlt","xltx"]),IconFileText:D(["txt","vi","vim","webdoc"]),IconFileThreeD:D(["3ds","dae","fbx","obj","ply","stl"]),IconFileVideo:D(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),IconFileWordDocument:D(["docx","doc","docm"]),IconFileXbd:D(["xbd"]),IconFileXdw:D(["xdw"]),IconFileZip:D(["rar","tgz","zip"])};t.a=e=>{let{dimension:t=32,extension:r="",title:o}=e;const i=L[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object.keys(j).filter((t=>!!j[t][e.toLowerCase()]))[0]||"IconFileDefault"}(r)];return n.createElement(i,{height:t,title:o,width:t})}},,function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(74)(r(46),"Map");e.exports=n},function(e,t,r){var n=r(62),o=r(42);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){var n=r(174),o=r(112),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(224);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(222),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,r(165)(e))},function(e,t,r){var n=r(412),o=r(228),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(226)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(310);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},,function(e,t,r){"use strict";var n=r(439),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=h(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=f(r,g);try{c(t,g,v)}catch(e){}}}}return t}},function(e,t,r){var n=r(450),o=r(312);e.exports=function(e,t){return null!=e&&o(e,t,n)}},,,,,function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#F7931D",height:i=26,title:a,width:s=26}=e;return n.createElement(o.a,{className:"icon-alert-default ".concat(t),title:a,height:i,width:s,viewBox:"0 0 26 26"},n.createElement("defs",null,n.createElement("circle",{id:"b",cx:"8",cy:"8",r:"8"}),n.createElement("filter",{x:"-46.9%",y:"-46.9%",width:"193.8%",height:"193.8%",filterUnits:"objectBoundingBox",id:"a"},n.createElement("feMorphology",{radius:".5",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}),n.createElement("feOffset",{in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),n.createElement("feGaussianBlur",{stdDeviation:"2",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0.733285502 0 0 0 0 0.733285502 0 0 0 0 0.733285502 0 0 0 0.5 0",in:"shadowBlurOuter1"}))),n.createElement("g",{transform:"translate(5 5)",fill:"none",fillRule:"evenodd"},n.createElement("use",{fill:"#000",filter:"url(#a)",xlinkHref:"#b"}),n.createElement("use",{fill:r,xlinkHref:"#b"}),n.createElement("path",{d:"M8.047 4.706v4.111",stroke:"#FFF",strokeWidth:"1.412",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("circle",{fill:"#FFF",cx:"8.047",cy:"11.294",r:"1"})))}},,function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t,r){var n=r(389),o=r(396),i=r(398),a=r(399),s=r(400);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(106),o=r(102);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t){e.exports=function(e){return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(679),i=(n=o)&&n.__esModule?n:{default:n};t.default=i.default,e.exports=t.default},function(e,t,r){var n=r(558)();e.exports=n},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],u=!1,d=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&h())}function h(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,,function(e,t,r){"use strict";var n=r(75),o=r(3),i=r.n(o),a=r(120),s=r.n(a),l=r(25),c=r(77),u=r(256),d=r.n(u);function f(){return window.crypto||window.msCrypto}function h(e,t){const r=f();return r!==window.msCrypto?r.subtle.digest(e,t):new Promise(((n,o)=>{if("SHA-1"===e)try{const e=d.a.arrayBuffer(t);n(e)}catch(e){o(e)}else{const i=r.subtle.digest({name:e},t);i.oncomplete=e=>{n(e.target.result)},i.onerror=o}}))}function p(e,t,r){"use asm";var n=new e.Int32Array(r);function o(e,t){e=e|0;t=t|0;var r=0,o=0,i=0,a=0,s=0,l=0,c=0,u=0,d=0,f=0,h=0,p=0,m=0,b=0;i=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;h=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=i;l=s;u=c;f=d;p=h;for(o=0;(o|0)<64;o=o+4|0){b=n[r+o>>2]|0;m=((i<<5|i>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[e+o>>2]=b}for(o=e+64|0;(o|0)<(e+80|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s&c|~s&d)|0)+((b+h|0)+1518500249|0)|0;h=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+80|0;(o|0)<(e+160|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s^c^d)|0)+((b+h|0)+1859775393|0)|0;h=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+160|0;(o|0)<(e+240|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s&c|s&d|c&d)|0)+((b+h|0)-1894007588|0)|0;h=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+240|0;(o|0)<(e+320|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s^c^d)|0)+((b+h|0)-899497514|0)|0;h=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}i=i+a|0;s=s+l|0;c=c+u|0;d=d+f|0;h=h+p|0}n[t+320>>2]=i;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=h}return{hash:o}}var m=()=>{const e=new Blob(["const RushaCore = ".concat(p.toString()),";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:o,fileSize:i,partContents:a}=n,s=Date.now();try{if(o.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=o.size,o.offset+o.size===i){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:o};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r},b=r(60),g=r(1),v=r(8),y=r.n(v),w=r(257),C=r.n(w);var E=r(13);function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class k extends E.a{constructor(){super(...arguments),S(this,"retryCount",0),S(this,"reachabilityRetryCount",0),S(this,"isUploadFallbackLogicEnabled",!1),S(this,"makePreflightRequest",(()=>{if(this.isDestroyed())return;let e="".concat(this.getBaseApiUrl(),"/files/content");if(this.fileId&&(e=e.replace("content","".concat(this.fileId,"/content"))),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+="?unreachable_hosts=".concat(t.join(",")))}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})})),S(this,"preflightSuccessReachabilityHandler",(async e=>{let{data:t}=e;if(this.isDestroyed())return;const{upload_url:r}=t;if(!r)return void this.preflightSuccessHandler({data:t});const n=this.getUploadHostFromUrl(r);if(n==="".concat(g.X,"/")||n==="".concat(g.Y,"/")||n==="".concat(g.Z,"/"))return void this.preflightSuccessHandler({data:t});await this.uploadsReachability.isReachable(n)?this.preflightSuccessHandler({data:t}):this.reachabilityRetryCount>=10?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest())})),S(this,"preflightErrorHandler",(e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=5)this.errorCallback(t);else if(t&&409===t.status){if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(e)}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*g.Le),this.retryCount+=1);else{let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*g.Le)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}}))}readFile(e,t){return new Promise(((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n}))}getUploadHostFromUrl(e){const t=e.split("/");return"".concat(t[0],"//").concat(t[2],"/")}}var x=k;function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5};var A=class extends x{constructor(e,t,r){super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?O(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{shouldRetry:!1})),_(this,"logEvent",((e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})})),this.config=r||P,this.sessionEndpoints=t}};function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T=class extends A{constructor(e,t,r,n,o,a,s,u,d,f,h,p){super(e,s,u),I(this,"toJSON",(()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha256:this.sha256,timing:this.timing}))),I(this,"getPart",(()=>this.data.part||{})),I(this,"upload",(()=>{if(this.isDestroyedOrPaused())return;if(!this.sha256)throw new Error("Part SHA-256 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:"sha-256=".concat(this.sha256),"Content-Range":"bytes ".concat(this.offset,"-").concat(this.rangeEnd,"/").concat(this.fileSize),"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=2,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:g.pe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})})),I(this,"uploadSuccessHandler",(e=>{let{data:t}=e;this.isDestroyedOrPaused()||(this.state=3,this.consoleLog("Upload completed: ".concat(this.toJSON(),".")),this.data=t,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)})),I(this,"uploadProgressHandler",(e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)})),I(this,"uploadErrorHandler",(async e=>{if(this.isDestroyedOrPaused())return;const t=y()(this.xhr,"xhr.readyState",null),r=y()(this.xhr,"xhr.statusText","");this.consoleLog("Upload failure ".concat(e.message," for part ").concat(this.toJSON(),". XHR state: ").concat(t,"."));const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},o=JSON.stringify(n);if(this.sessionEndpoints.logEvent?Object(c.a)(((e,t)=>{this.logEvent("part_failure",o).then(e).catch(t)}),this.config.retries,this.config.initialRetryDelayMs).catch((e=>this.consoleLog("Failure in logEvent: ".concat(e.message)))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,o);const i=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog("Retrying uploading part ".concat(this.toJSON()," in ").concat(i," ms")),this.retryTimeout=setTimeout(this.retryUpload,i)})),I(this,"retryUpload",(async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog("Part ".concat(this.toJSON()," is available on server. Not re-uploading.")),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog("Part ".concat(this.toJSON()," is not available on server. Re-uploading.")),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog("Error ".concat(t.status," while listing part ").concat(this.toJSON(),". Re-uploading.")),this.numUploadRetriesPerformed+=1,this.upload()}})),I(this,"listParts",(async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new C.a(e);return Object.keys(t).forEach((e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))})),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries})),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=o,this.state=0,this.timing={},this.uploadedBytes=0,this.data={},this.config=u,this.rangeEnd=r+n-1,this.rangeEnd>o-1&&(this.rangeEnd=o-1),this.isPaused=!1,this.onSuccess=f||i.a,this.onError=p||i.a,this.onProgress=h||i.a,this.getNumPartsUploading=d}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=1,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=2,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=class extends A{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),D(this,"getBaseUploadUrlFromPreflightResponse",(e=>{let{data:t}=e;if(!t||!t.upload_url)return this.getBaseUploadUrl();const r=t.upload_url.split("/");return this.uploadHost="".concat(r[0],"//").concat(r[2]),this.getBaseUploadUrl()})),D(this,"preflightSuccessHandler",(async e=>{if(this.isDestroyed())return;const t=this.getBaseUploadUrlFromPreflightResponse(e);let r="".concat(t,"/files/upload_sessions");r.includes("fupload-ec2")&&(this.config.parallelism=1);const n={file_size:this.file.size,file_name:this.fileName};this.fileId?r=r.replace("upload_sessions","".concat(this.fileId,"/upload_sessions")):n.folder_id=this.folderId;try{const e=await this.xhr.post({url:r,data:n});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&t.status===g.se&&t.code===g.Cc||t.status===g.se&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return this.resolveConflict(t),void this.createSessionRetry();this.sessionErrorHandler(e,"create_session_misc_error",JSON.stringify(e))}})),D(this,"createSessionErrorHandler",(e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,"create_session_retries_exceeded",JSON.stringify(e))))})),D(this,"getSessionInfo",(async()=>{const e=this.getBaseUploadUrl(),t="".concat(e,"/files/upload_sessions/").concat(this.sessionId);try{const e=await this.xhr.get({url:t});this.getSessionSuccessHandler(e.data)}catch(e){this.getSessionErrorHandler(e)}})),D(this,"partUploadSuccessHandler",(e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()})),D(this,"partUploadErrorHandler",((e,t)=>{if(this.sessionErrorHandler(e,"part_upload_retries_exceeded",t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&2===t.state&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}})),D(this,"updateProgress",((e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))})),D(this,"processNextParts",(()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}})),D(this,"onWorkerMessage",(e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){this.numPartsDigestComputing-=1;const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=(r=t.sha1,btoa(String.fromCharCode.apply(null,r.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,"web_worker_error",JSON.stringify(t));var r})),D(this,"sendPartToWorker",((e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog("Part sent to worker: ".concat(JSON.stringify(e),".}"))})),D(this,"onPartDigestError",((e,t)=>{if(this.consoleLog("Error computing digest for part ".concat(JSON.stringify(t),": ").concat(JSON.stringify(e))),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,"file_reader_received_not_found_error",JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,"part_digest_retries_exceeded",JSON.stringify(e));const r=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog("Retrying digest work for part ".concat(JSON.stringify(t)," in ").concat(r," ms")),setTimeout((()=>{this.computeDigestForPart(t)}),r)})),D(this,"commitSession",(()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map((t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart()))).sort(((e,t)=>e.offset-t.offset)),attributes:{}},r=Object(l.k)(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},o=this.fileSha1,i={Digest:"sha=".concat(o),"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:i}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)})),D(this,"commitSessionSuccessHandler",(e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)})),D(this,"commitSessionErrorHandler",(e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,"commit_retries_exceeded",JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)})),D(this,"getNumPartsUploading",(()=>this.numPartsUploading)),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo(e){let{file:t,folderId:r,errorCallback:n,progressCallback:o,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.file=t,this.fileName=this.file.name,this.folderId=r,this.errorCallback=n||i.a,this.progressCallback=o||i.a,this.successCallback=a||i.a,this.overwrite=s,this.conflictCallback=l,this.fileId=c}upload(e){let{file:t,fileDescription:r,folderId:n,errorCallback:o,progressCallback:a,successCallback:s,overwrite:c=!0,conflictCallback:u,fileId:d}=e;this.file=t,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=Object(l.k)(this.file),this.folderId=n,this.errorCallback=o||i.a,this.progressCallback=a||i.a,this.successCallback=s||i.a,this.sha1Worker=m(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=u,this.overwrite=c,this.fileId=d,this.fileDescription=r,this.makePreflightRequest()}createSessionRetry(){const e=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog("Retrying create session in ".concat(e," ms")),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=L({},this.sessionEndpoints,{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume(e){let{file:t,folderId:r,errorCallback:n,progressCallback:o,sessionId:i,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.setFileInfo({file:t,folderId:r,errorCallback:n,progressCallback:o,successCallback:a,conflictCallback:l,overwrite:s,fileId:c}),this.sessionId=i,this.sha1Worker||(this.sha1Worker=m()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=L({},this.sessionEndpoints,{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);s()(r)||(e=r*g.Le)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach((e=>{e.cancel()})),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*g.Le),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await Object(c.a)(((e,n)=>{this.logEvent(t,r).then(e).catch(n)}),this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then((()=>{this.sessionId=""}))}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(0===t.state)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:o,readCompleteTimestamp:i}=await this.readFile(r,t),a=await h("SHA-256",o),s=btoa([].reduce.call(new Uint8Array(a),((e,t)=>e+String.fromCharCode(t)),""));this.sendPartToWorker(e,o),e.sha256=s,e.state=1,e.blob=t,this.numPartsDigestReady+=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:i-n,subtleCryptoTime:l-i},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=g.hb;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const o=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const i=n||o;this.consoleLog("Retrying commit in ".concat(i," ms")),this.commitSessionTimeout=setTimeout(this.commitSession,i)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(1===t.state){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&3===e.state;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new T(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=Object(l.k)(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return b.a.isIE()?(this.sessionErrorHandler(null,"file_changed_during_upload",r),!0):(this.consoleLog("file properties changed during upload: ".concat(r)),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach((e=>{e.cancel()})),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(t)}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var R=class extends x{constructor(){super(...arguments),F(this,"uploadSuccessHandler",(e=>{let{data:t}=e;const{entries:r}=t;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(r)})),F(this,"uploadProgressHandler",(e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)})),F(this,"preflightSuccessHandler",(async e=>{let{data:t}=e;if(this.isDestroyed())return;let r=t.upload_url;r||(r="".concat(this.getBaseUploadUrl(),"/files/content"),this.fileId&&(r=r.replace("content","".concat(this.fileId,"/content"))));const n={url:r,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:Object(l.k)(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},o=await this.computeSHA1(this.file);o&&(n.headers={"Content-MD5":o}),this.xhr.uploadFile(n)}))}upload(e){let{folderId:t,fileId:r,file:n,fileDescription:o,successCallback:a=i.a,errorCallback:s=i.a,progressCallback:l=i.a,conflictCallback:c,overwrite:u=!0}=e;this.isDestroyed()||(this.folderId=t,this.fileId=r,this.file=n,this.fileDescription=o,this.fileName=this.file.name,this.successCallback=a,this.errorCallback=s,this.progressCallback=l,this.overwrite=u,this.conflictCallback=c,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),o=await h("SHA-1",n);t=Array.from(new Uint8Array(o)).map((e=>"00".concat(e.toString(16)).slice(-2))).join("")}catch(e){}return t}},N=r(76),U=r(56),z=r(63),H=r(81),B=r(18),V=r(7);function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){G(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function G(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class K extends E.a{constructor(){super(...arguments),G(this,"searchSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,total_count:n,limit:o,offset:i}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof o||"number"!=typeof i)throw Object(V.a)();const a=Object(H.a)(r,new N.a(this.options),new U.a(this.options),new z.a(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,{item_collection:q({},t,{entries:this.itemCache})}),this.finish()})),G(this,"searchErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return"".concat(g.t).concat(e,"|").concat(t)}getUrl(){return"".concat(this.getBaseApiUrl(),"/search")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(V.a)();const{entries:n,total_count:o}=r;if(!Array.isArray(n)||"number"!=typeof o)throw Object(V.a)();const i={id:this.id,items:n.map((t=>e.get(t))),offset:this.offset,percentLoaded:100,sortBy:g.wd,sortDirection:g.Mf,totalCount:o};this.successCallback(i)}searchRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||B.g;return this.errorCode=g.nc,this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(g.yd)?{"X-Rep-Hints":g.Fg}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,o,i){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=o,this.errorCallback=i,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}}var X=K;function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $ extends E.a{constructor(){super(...arguments),Z(this,"recentsSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,order:{by:n,direction:o}}=t,i=[];r.forEach((e=>{let{item:t,interacted_at:r}=e;const{path_collection:n}=t;(this.id===g.ib||!!n&&-1!==n.entries.findIndex((e=>e.id===this.id)))&&i.push(Q(t,{interacted_at:r}))}));const a=Object(H.a)(i,new N.a(this.options),new U.a(this.options),new z.a(this.options));this.getCache().set(this.key,{item_collection:{entries:a,order:[{by:n,direction:o}]}}),this.finish()})),Z(this,"recentsErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getCacheKey(e){return"".concat(g.s).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/recent_items")}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(V.a)();const{entries:n}=r;if(!Array.isArray(n))throw Object(V.a)();const o={id:this.id,items:n.map((t=>e.get(t))),percentLoaded:100,sortBy:g.Tc,sortDirection:g.Mf};this.successCallback(o)}recentsRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||B.g;return this.errorCode=g.Wb,this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(g.yd)?{"X-Rep-Hints":g.Fg}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const o=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&o.unset(this.key),o.has(this.key)?this.finish():this.recentsRequest(n)}}var Y=$,J=r(20);function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class re extends E.a{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,o){if(!this.isDestroyed())try{const i=this.getQueryParameters(t,r,o),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:Object(J.b)(e),params:i}),l=this.data?this.data.entries:[];this.data=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,o);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,i=arguments.length>5?arguments[5]:void 0,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,o,a,i)}}var ne=re;function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var le=class extends ne{constructor(){super(...arguments),se(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/versions")}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return"".concat(this.getUrl(e),"/").concat(t)}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,o=y()(t,["permissions",g.if],!1);return{entries:r.map((e=>{let{permissions:t}=e;return ie({},ae(e,["permissions"]),{permissions:ie({can_upload:o},t)})})),total_count:n}}deleteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.Eb;try{this.checkApiCallValidity(g.bf,n,r)}catch(e){return void t(e,this.errorCode)}this.delete({id:r,url:this.getVersionUrl(r,i),successCallback:o,errorCallback:t})}getVersions(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:B.e,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];this.errorCode=g.cc,this.offsetGet(e,t,r,n,o,i,a)}getVersion(e,t,r,n){this.errorCode=g.bc,this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:B.e.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=y()(r,"restored_from.id"),o=t.entries.find((e=>e.id===n));return o&&(e.version_promoted=o.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.kc;try{this.checkApiCallValidity(g.if,n,r)}catch(e){return void t(e,this.errorCode)}this.post({id:r,data:{data:{id:i,type:"file_version"}},url:this.getVersionUrl(r,"current"),successCallback:o,errorCallback:t})}restoreVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.mc;try{this.checkApiCallValidity(g.bf,n,r)}catch(e){return void t(e,this.errorCode)}this.put({id:r,data:{data:{trashed_at:null}},url:this.getVersionUrl(r,i),successCallback:o,errorCallback:t})}};function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(r),!0).forEach((function(t){de(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fe=class extends ne{constructor(){super(...arguments),de(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(ue({},e,{entries:t}))}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/comments")}commentsUrl(e){const t="".concat(this.getBaseApiUrl(),"/comments");return e?"".concat(t,"/").concat(e):t}format(e){return ue({},e,{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment(e){let{file:t,message:r,taggedMessage:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.qb;const{id:a="",permissions:s}=t;try{this.checkApiCallValidity(g.Ze,s,a)}catch(e){return void i(e,this.errorCode)}const l={data:{item:{id:a,type:"file"},message:r,tagged_message:n},params:{fields:B.b.toString()}};this.post({id:a,url:this.commentsUrl(),data:l,successCallback:o,errorCallback:i})}updateComment(e){let{file:t,commentId:r,message:n,tagged_message:o,permissions:i,successCallback:a,errorCallback:s}=e;this.errorCode=g.rc;const{id:l=""}=t;try{this.checkApiCallValidity(g.df,i,l)}catch(e){return void s(e,this.errorCode)}const c={data:{message:n,tagged_message:o}};this.put({id:l,url:this.commentsUrl(r),data:c,successCallback:a,errorCallback:s})}deleteComment(e){let{file:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.zb;const{id:a=""}=t;try{this.checkApiCallValidity(g.bf,n,a)}catch(e){return void i(e,this.errorCode)}this.delete({id:a,url:this.commentsUrl(r),successCallback:o,errorCallback:i})}getComments(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:B.b,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ze,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,i,a,o,s)}};function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const be=[g.xe,g.ue,g.we,g.qe,g.ye,g.te];class ge extends E.a{constructor(e){let{retryableStatusCodes:t=be}=e;super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?he(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},me(e,["retryableStatusCodes"]),{retryableStatusCodes:t}))}}var ve=ge;function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function we(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){Ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Se=class extends ve{getUrlForFileTasks(e){return"".concat(this.getBaseApiUrl(),"/undoc/files/").concat(e,"/linked_tasks?limit=").concat(g.l)}getUrlForTaskCreateWithDeps(){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/with_dependencies")}getUrlForTask(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e)}getUrlForTaskWithDeps(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/with_dependencies")}updateTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.uc;const i=o.addedAssignees.map((e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}}))),a=o.removedAssignees.map((e=>({op:"delete_task_collaborator",id:e.id}))),{id:s,addedAssignees:l,removedAssignees:c}=o,u=Ee(o,["id","addedAssignees","removedAssignees"]);this.put({id:r.id,url:this.getUrlForTaskWithDeps(o.id),data:{data:[{op:"update_task",payload:we({},u)},...i,...a]},successCallback:n,errorCallback:t})}deleteTask(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.Cb,this.delete({id:r.id,url:this.getUrlForTask(o.id),successCallback:n,errorCallback:t})}getTasksForFile(e){let{errorCallback:t,file:r,successCallback:n}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForFileTasks(r.id),successCallback:n,errorCallback:t})}getTask(e){let{errorCallback:t,file:r,id:n,successCallback:o}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForTask(n),successCallback:o,errorCallback:t})}createTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:o,assignees:i}=e;this.errorCode=g.ub;const a=i.map((e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}))),s=[{target:{id:r.id,type:"file"}}],l={task:we({},o),assigned_to:a,task_links:s};this.post({id:r.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:we({},l)},successCallback:n,errorCallback:t})}},ke=r(21),xe=r.n(ke);function Oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(r),!0).forEach((function(t){Pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ae=class extends ve{getUrlForTaskCollaborators(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/task_collaborators?role=ASSIGNEE&limit=").concat(g.l)}getUrlForTaskCollaboratorCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators")}getUrlForTaskCollaborator(e){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/").concat(e)}getUrlForTaskGroupCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/expand_group")}createTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,task:o,user:i}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:o.id},target:{type:"user",id:i.id}}};this.post({id:r.id,url:this.getUrlForTaskCollaboratorCreate(),data:_e({},a),successCallback:n,errorCallback:t})}createTaskCollaboratorsforGroup(e){let{errorCallback:t,file:r,successCallback:n,task:o,group:i}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:o.id},target:{type:"group",id:i.id}}};this.post({id:r.id,url:this.getUrlForTaskGroupCreate(),data:_e({},a),successCallback:n,errorCallback:t})}getTaskCollaborators(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.ac;const i=this.getUrlForTaskCollaborators(o.id);this.get({id:r.id,successCallback:n,errorCallback:t,url:i})}updateTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:o}=e;this.errorCode=g.vc;const i={data:xe()(o,"id")};this.put({id:r.id,url:this.getUrlForTaskCollaborator(o.id),data:_e({},i),successCallback:n,errorCallback:t})}deleteTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:o}=e;this.errorCode=g.Db,this.delete({id:r.id,url:this.getUrlForTaskCollaborator(o.id),successCallback:n,errorCallback:t})}};function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Le=class extends ve{getUrlForTaskLinkCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_links")}createTaskLink(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.wb;const i={data:{target:{id:r.id,type:"file"},task:{id:o.id,type:"task"}}};this.post({id:r.id,url:this.getUrlForTaskLinkCreate(),data:Te({},i),successCallback:n,errorCallback:t})}};function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){Fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Re extends E.a{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDestroyed())try{const i=this.getUrl(e),a=je({},o,{marker:t,limit:r}),{data:s}=await this.xhr.get({url:i,id:Object(J.b)(e),params:a}),l=this.data?this.data.entries:[];this.data=je({},s,{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,o);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet(e){let{id:t,successCallback:r,errorCallback:n,marker:o="",limit:i=1e3,requestData:a,shouldFetchAll:s=!0}=e;return this.successCallback=r,this.errorCallback=n,this.markerGetRequest(t,o,i,s,a)}}var Ne=Re;function Ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const He=e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(He)),t};function Be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(r),!0).forEach((function(t){We(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qe=class extends Ne{constructor(){super(...arguments),We(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(He(e));const t=e.entries.map(He);this.successCallback(Ve({},e,{entries:t}))}))}getUrl(e){return"".concat(this.getBaseApiUrl(),"/undoc/comments").concat(e?"?file_id=".concat(e):"")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e,t){return"".concat(this.getUrlForId(e),"/replies").concat(t?"?file_id=".concat(t):"")}createComment(e){let{file:t,message:r,successCallback:n,errorCallback:o}=e;this.errorCode=g.qb;const{id:i,permissions:a}=t;try{this.checkApiCallValidity(g.Ze,a,i)}catch(e){return void o(e,this.errorCode)}this.post({id:i,url:this.getUrl(i),data:{data:{message:r}},successCallback:n,errorCallback:o})}updateComment(e){let{fileId:t,commentId:r,status:n,message:o,permissions:i,successCallback:a,errorCallback:s}=e;if(this.errorCode=g.rc,o)try{this.checkApiCallValidity(g.df,i,t)}catch(e){return void s(e,this.errorCode)}if(n)try{this.checkApiCallValidity(g.gf,i,t)}catch(e){return void s(e,this.errorCode)}const l={data:{status:n,message:o}};this.put({id:t,url:this.getUrlForId(r),data:l,successCallback:a,errorCallback:s})}deleteComment(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.zb;try{this.checkApiCallValidity(g.bf,n,t)}catch(e){return void i(e,this.errorCode)}this.delete({id:t,url:this.getUrlForId(r),successCallback:o,errorCallback:i})}getComment(e){let{commentId:t,errorCallback:r,fileId:n,permissions:o,successCallback:i}=e;this.errorCode=g.Lb;try{this.checkApiCallValidity(g.Ze,o,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,errorCallback:r,successCallback:i,url:this.getUrlForId(t)})}getComments(e){let{fileId:t,permissions:r,successCallback:n,errorCallback:o,marker:i,limit:a,shouldFetchAll:s,repliesCount:l}=e;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ze,r,t)}catch(e){return void o(e,this.errorCode)}this.markerGet({id:t,successCallback:n,errorCallback:o,marker:i,limit:a,requestData:Ve({},l?{replies_count:l}:null),shouldFetchAll:s})}getCommentReplies(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.Xb;try{this.checkApiCallValidity(g.Ze,n,t)}catch(e){return void i(e,this.errorCode)}this.get({id:t,errorCallback:i,successCallback:o,url:this.getUrlWithRepliesForId(r)})}createCommentReply(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i,message:a}=e;this.errorCode=g.tb;try{this.checkApiCallValidity(g.Ze,n,t)}catch(e){return void i(e,this.errorCode)}this.post({id:t,data:{data:{message:a}},errorCallback:i,successCallback:o,url:this.getUrlWithRepliesForId(r,t)})}};class Ge extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/file_access_stats/").concat(e)}getFileAccessStats(e,t,r){this.errorCode=g.Hb,this.get({id:e,successCallback:t,errorCallback:r})}}var Ke=Ge;function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){Ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $e extends E.a{getFilteredUrl(e,t,r){return"".concat(this.getBaseApiUrl()).concat(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="/file_activities?file_id=".concat(e),o=!!t&&!!t.length,i="&enable_replies=".concat(r?"true":"false","&reply_limit=").concat(1),a=o?"&activity_types=".concat(t.join()):"";return"".concat(n).concat(a).concat(i)}(e,t,r))}getActivities(e){let{activityTypes:t,errorCallback:r,fileID:n,permissions:o,repliesCount:i,shouldShowReplies:a,successCallback:s}=e;this.errorCode=g.Ib;try{if(!n)throw new Error("Missing file id!");t.includes(g.Vd)&&this.checkApiCallValidity(g.Ze,o,n),t.includes(g.Td)&&this.checkApiCallValidity(g.jf,o,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,successCallback:s,errorCallback:r,requestData:Qe({},i?{replies_count:i}:null),url:this.getFilteredUrl(n,t,a)})}}var Ye=$e;function Je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rt=class extends Ne{getUrl(){return"".concat(this.getBaseApiUrl(),"/groups")}getGroupsInEnterprise(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Ob,this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:et({usemarker:!0},n),shouldFetchAll:!1})}};function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){it(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at=class extends Ne{getUrl(){return"".concat(this.getBaseApiUrl(),"/users")}getUsersInEnterprise(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Pb,this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:ot({usemarker:!0},n),shouldFetchAll:!1})}};class st extends E.a{getUrlForGroupCount(e){return"".concat(this.getBaseApiUrl(),"/groups/").concat(e,"/memberships")}getGroupCount(e){let{errorCallback:t=i.a,successCallback:r=i.a,group:n,file:o}=e;return new Promise(((e,i)=>this.get({id:o.id,url:this.getUrlForGroupCount(n.id),successCallback:function(){r(...arguments),e(...arguments)},errorCallback:function(){t(...arguments),i()},requestData:{params:{limit:1}}})))}}var lt=st,ct=r(67),ut=r.n(ct),dt=r(66);class ft extends E.a{getUrl(){return"".concat(this.getBaseApiUrl(),"/users/me")}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return"".concat(this.getBaseApiUrl(),"/users/").concat(e,"/avatar")}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await dt.a.getReadToken(Object(J.b)(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},o=ut.a.stringify(t),i="".concat(this.getAvatarUrl(e),"?").concat(o);return r.set(e,i),i}return null}getUser(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.errorCode=g.Nb,this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}}var ht=ft,pt=r(12),mt=r.n(pt);class bt extends U.a{getMetadataCacheKey(e){return"".concat(g.q).concat(e)}getSkillsCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_skills")}getClassificationCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_classification")}getMetadataUrl(e,t,r){const n="".concat(this.getUrl(e),"/metadata");return t&&r?"".concat(n,"/").concat(t,"/").concat(r):n}getMetadataTemplateUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_templates")}getMetadataTemplateUrlForInstance(e){return"".concat(this.getMetadataTemplateUrl(),"?metadata_instance_id=").concat(e)}getMetadataTemplateSchemaUrl(e){return"".concat(this.getMetadataTemplateUrl(),"/enterprise/").concat(e,"/schema")}getMetadataTemplateUrlForScope(e){return"".concat(this.getMetadataTemplateUrl(),"/").concat(e)}getCustomPropertiesTemplate(){return{id:mt()("metadata_template_"),scope:g.Ee,templateKey:g.He,hidden:!1}}createEditor(e,t,r){const n={};return Object.keys(e).forEach((t=>{t.startsWith("$")||(n[t]=e[t])})),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}async getTemplates(e,t,r){this.errorCode=g.Vb;let n={};const o=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:o,id:Object(J.b)(e),params:{limit:g.Ge}})}catch(e){const{status:t}=e;if(Object(V.e)(t))throw e}return y()(n,"data.entries",[])}getSchemaByTemplateKey(e){const t=this.getMetadataTemplateSchemaUrl(e);return this.xhr.get({url:t})}async getInstances(e){this.errorCode=g.Ub;let t={};try{t=await this.xhr.get({url:this.getMetadataUrl(e),id:Object(J.b)(e)})}catch(e){const{status:t}=e;if(Object(V.e)(t))throw e}return y()(t,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let o=[];return r&&(o=n?[e]:[e].concat(t)),o.filter((e=>!e.hidden&&e.templateKey!==g.Fe))}extractClassification(e,t){const r=t.find((e=>e.$template===g.Fe));if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),o=this.getClassificationCacheKey(e);n.set(o,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,o=t.$template,i=t.$scope;let a=r.find((e=>e.templateKey===o&&e.scope===i));if(!a&&i.startsWith(g.De)){a=(await this.getTemplates(e,i,n))[0]}return a}async getEditors(e,t,r,n,o,i){const a=[r].concat(n,o),s=this.extractClassification(e,t),l=[];return await Promise.all(s.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&l.push(this.createEditor(t,r,i))}))),l}async getMetadata(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const{id:i,permissions:a,is_externally_owned:s}=e;if(this.errorCode=g.Ub,this.successCallback=t,this.errorCallback=r,!i||!a)return void this.errorHandler(Object(V.a)());const l=this.getCache(),c=this.getMetadataCacheKey(i);if(o.forceFetch&&l.unset(c),!l.has(c)||(this.successHandler(l.get(c)),o.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,o]=await Promise.all([this.getInstances(i),this.getTemplates(i,g.Ee),n?this.getTemplates(i,g.De):Promise.resolve([])]),u={editors:await this.getEditors(i,t,e,o,r,!!a.can_upload),templates:this.getUserAddableTemplates(e,o,n,s)};l.set(c,u),this.isDestroyed()||this.successHandler(u)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.errorCode=g.Yb;const{id:o}=e;if(!o)return void r(Object(V.a)(),this.errorCode);const i=this.getCache(),a=this.getSkillsCacheKey(o);if(this.successCallback=t,this.errorCallback=r,n&&i.unset(a),i.has(a))return void this.successHandler(i.get(a));let s={data:y()(e,g.kd)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(o,g.Ee,g.Ie),id:Object(J.b)(o)})),!this.isDestroyed()){const e=s.data.cards||[];i.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode=g.tc;const{id:o,permissions:i}=e;if(o&&i)if(i.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(o,g.Ee,g.Ie),headers:{[g.je]:"application/json-patch+json"},id:Object(J.b)(o),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(o),g.kd,e.data),this.getCache().set(this.getSkillsCacheKey(o),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Object(V.b)(),this.errorCode);else n(Object(V.a)(),this.errorCode)}async updateMetadata(e,t,r,n,o){this.errorCode=g.sc,this.successCallback=n,this.errorCallback=o;const{id:i,permissions:a}=e;if(!i||!a)return void this.errorHandler(Object(V.a)());const s=!!a.can_upload;if(s)try{const e=await this.xhr.put({url:this.getMetadataUrl(i,t.scope,t.templateKey),headers:{[g.je]:"application/json-patch+json"},id:Object(J.b)(i),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o&&o.editors&&o.editors.splice(o.editors.findIndex((e=>{let{instance:t}=e;return t.id===a.instance.id})),1,a),this.successHandler(a)}}catch(e){this.errorHandler(e)}else this.errorHandler(Object(V.b)())}async createMetadata(e,t,r,n){if(this.errorCode=g.sb,!e||!t)return void n(Object(V.a)(),this.errorCode);const{id:o,permissions:i,is_externally_owned:a}=e;if(!o||!i)return void n(Object(V.a)(),this.errorCode);const s=!!i.can_upload,l=t.templateKey===g.He&&t.scope===g.Ee;if(!s||a&&!l)n(Object(V.b)(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(o,t.scope,t.templateKey),id:Object(J.b)(o),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(o),i=r.get(n),a=this.createEditor(e.data,t,s);i.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n){if(this.errorCode=g.Bb,!e||!t)return void n(Object(V.a)(),this.errorCode);const{scope:o,templateKey:i}=t,{id:a,permissions:s}=e;if(a&&s)if(s.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(a,o,i),id:Object(J.b)(a)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(a),r=e.get(t);r.editors.splice(r.editors.findIndex((e=>e.template.scope===o&&e.template.templateKey===i)),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Object(V.b)(),this.errorCode);else n(Object(V.a)(),this.errorCode)}}var gt=bt;function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wt=class extends Ne{constructor(){var e;super(...arguments),e=this,yt(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map((e=>{let t;return"group"===e.type?t=e:(t=e,t.email=t.login),{id:e.id,name:e.name,item:t}}));this.successCallback(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{entries:t}))})),yt(this,"getCollaboratorsWithQuery",(function(t,r,n,o){let{includeGroups:i=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};o&&""!==o.trim()&&e.getFileCollaborators(t,r,n,{filter_term:o,include_groups:i,include_uploader_collabs:!1})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}getFileCollaborators(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:n})}};function Ct(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et=class extends Ne{constructor(){var e;super(...arguments),e=this,Ct(this,"getCollaborations",(function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;e.markerGet({id:t,limit:i,successCallback:r,errorCallback:n,requestData:o})})),Ct(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){return"getUrl(".concat(e,") should be overridden")}};var St=class extends Et{getUrl(e){if(!e)throw new Error("Missing file ID!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborations")}};var kt=class extends Et{getUrl(e){if(!e)throw new Error("Missing folder ID!");return"".concat(this.getBaseApiUrl(),"/folders/").concat(e,"/collaborations")}};function xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){_t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Pt extends E.a{constructor(){super(...arguments),_t(this,"addCollaboration",((e,t,r,n)=>{const{id:o}=e;this.post({id:o,data:{data:Ot({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})}))}getUrl(){return"".concat(this.getBaseApiUrl(),"/collaborations")}}var At=Pt,It=r(6),Tt=r(28);var Mt=r(110),Lt=r.n(Mt);function Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){Ft(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Rt extends Ne{constructor(){super(...arguments),Ft(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(He(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(He);return void this.successCallback(jt({},e,{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(jt({},e,{entries:t}))}))}formatReplies(e){return e.replies&&e.replies.length?jt({},e,{replies:e.replies.map(He)}):e}getUrl(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e){return"".concat(this.getUrlForId(e),"/replies")}createAnnotation(e,t,r,n,o,i){this.errorCode=g.pb;try{this.checkApiCallValidity(g.af,n,e)}catch(e){return void i(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:Lt()(a,r)},errorCallback:i,successCallback:o,url:this.getUrl()})}updateAnnotation(e,t,r,n,o,i){this.errorCode=g.Fb;const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(g.df,r,e)}catch(e){return void i(e,this.errorCode)}if(s)try{this.checkApiCallValidity(g.gf,r,e)}catch(e){return void i(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:i,successCallback:o,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,o){this.errorCode=g.xb;try{this.checkApiCallValidity(g.bf,r,e)}catch(e){return void o(e,this.errorCode)}this.delete({id:e,errorCallback:o,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,o,i){this.errorCode=g.Jb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}const a=i?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:o,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,o,i,a,s){this.errorCode=g.Kb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}const l=jt({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:o,limit:i,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,o){this.errorCode=g.Xb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}this.get({id:e,errorCallback:o,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,o,i){this.errorCode=g.tb;try{this.checkApiCallValidity(g.af,r,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:i,successCallback:o,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ut=class extends Ne{constructor(){super(...arguments),Nt(this,"permissions",{}),Nt(this,"mapAppActivityItem",(e=>{const{activity_template:t,app:r,created_by:n,id:o,occurred_at:i,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:i,created_by:n,id:o,permissions:{can_delete:l},rendered_text:a,type:s}})),Nt(this,"successHandler",(e=>{let{entries:t=[]}=e;if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const r=t.map(this.mapAppActivityItem);this.successCallback({entries:r,total_count:r.length})})),Nt(this,"errorHandler",(e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;t.status===g.ve?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)}))}getUrl(){return"".concat(this.getBaseApiUrl(),"/app_activities")}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getUrl(),"/").concat(e)}getAppActivity(e,t,r,n){const o={item_id:e,item_type:"file",fields:B.a.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:o})}deleteAppActivity(e){let{id:t,appActivityId:r,successCallback:n,errorCallback:o}=e;this.errorCode=g.yb,this.delete({id:t,url:this.getDeleteUrl(r),successCallback:n,errorCallback:o})}};function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){Bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Wt=g.cg,qt=(e,t)=>{const{replies:r=[]}=e,n=Vt(e,["replies"]);return Ht({replies:r.filter((e=>{let{id:r}=e;return r!==t}))},n)},Gt=(e,t)=>{const{replies:r=[]}=e;return Ht({replies:[...r,t]},Vt(e,["replies"]))},Kt=e=>[...e].map((e=>Ht({},e,{tagged_message:e.tagged_message||e.message||""})));class Xt extends E.a{constructor(e){var t;super(e),t=this,Bt(this,"updateAnnotation",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();if(!r&&!n)throw Object(V.d)();this.annotationsAPI=new Rt(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(Ht({},s,{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,o,s,(e=>{const{replies:r,total_reply_count:n}=e,o=Vt(e,["replies","total_reply_count"]);this.updateFeedItem(Ht({},o,{isPending:!1}),t),this.isDestroyed()||i(e)}),((e,r)=>{this.updateCommentErrorCallback(e,r,t)}))})),Bt(this,"updateCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Tt.a.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"updateReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Tt.a.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),Bt(this,"fetchRepliesErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Tt.a.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"deleteAnnotation",((e,t,r,n,o)=>{if(this.annotationsAPI=new Rt(this.options),!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),((e,r)=>{this.deleteCommentErrorCallback(e,r,t)}))})),Bt(this,"fetchThreadedCommentSuccessCallback",((e,t,r)=>{t(r),e()})),Bt(this,"updateTaskCollaborator",((e,t,r,n,o,i)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t);const a=new Ae(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let o;switch(n){case g.Zf:o=Tt.a.taskApproveErrorMessage;break;case g.ag:o=Tt.a.taskCompleteErrorMessage;break;case g.dg:o=Tt.a.taskRejectErrorMessage;break;default:o=Tt.a.taskCompleteErrorMessage}this.updateFeedItem(this.createFeedError(o,Tt.a.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,o,l)},errorCallback:l})})),Bt(this,"updateTaskCollaboratorSuccessCallback",((e,t,r,n,o)=>{this.tasksNewAPI=new Se(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(Ht({},t,{isPending:!1}),e),n(r)},errorCallback:o})})),Bt(this,"updateTaskNew",(async function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(!e.id)throw Object(V.a)();t.file=e,t.errorCallback=o,t.tasksNewAPI=new Se(t.options),t.updateFeedItem({isPending:!0},r.id);try{const o=r.addedAssignees.filter((e=>e.item&&"group"===e.item.type)).map((e=>e.id)).map((r=>new lt(t.options).getGroupCount({file:e,group:{id:r}}))),i=(await Promise.all(o)).some((e=>e.total_count>g.Yf)),a={code:g.fc,type:"warning"};if(i)return void t.feedErrorCallback(!1,a,g.fc);await new Promise(((n,o)=>{t.tasksNewAPI.updateTaskWithDeps({file:e,task:r,successCallback:n,errorCallback:o})})),await new Promise(((n,o)=>{t.tasksNewAPI.getTask({file:e,id:r.id,successCallback:e=>{t.updateFeedItem(Ht({},e,{isPending:!1}),r.id),n()},errorCallback:e=>{t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc),o()}})})),t.isDestroyed()||n()}catch(e){t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc)}})),Bt(this,"deleteComment",((e,t,r,n,o)=>{if(this.commentsAPI=new fe(this.options),!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),Bt(this,"deleteThreadedComment",((e,t,r,n,o)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),Bt(this,"deleteReply",((e,t,r,n,o,i)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,o),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})})),Bt(this,"deleteReplySuccessCallback",((e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)})),Bt(this,"deleteCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Tt.a.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"deleteReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(Tt.a.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),Bt(this,"createTaskNew",((e,t,r,n,o,i,a,s,l)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=l;const c=mt()("task_");let u;if(i){u=new Date(i).toISOString()}const d={created_by:{type:"task_collaborator",target:t,id:mt()(),role:"CREATOR",status:Wt},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:g.Gc,assigned_to:{entries:n.map((e=>({id:mt()(),target:Ht({},e,{avatar_url:"",type:"user"}),status:Wt,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"}))),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:mt()(),type:"task_link",target:Ht({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:o,status:g.cg},f={description:r,due_at:u,task_type:o,completion_rule:a},h=n.filter((e=>"group"===(e.item&&e.item.type))).map((e=>e.id)).map((t=>new lt(this.options).getGroupCount({file:e,group:{id:t}})));Promise.all(h).then((r=>{const o=r.some((e=>e.total_count>g.Yf)),i={code:g.fc,type:"warning"};o?this.feedErrorCallback(!1,i,g.fc):(this.tasksNewAPI=new Se(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:f,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(Ht({},e,{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))})).catch((e=>{this.feedErrorCallback(!1,e,g.ub)}))})),Bt(this,"deleteTaskNew",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(!e.id)throw Object(V.a)();t.file=e,t.errorCallback=o,t.tasksNewAPI=new Se(t.options),t.updateFeedItem({isPending:!0},r.id),t.tasksNewAPI.deleteTask({file:e,task:r,successCallback:t.deleteFeedItem.bind(t,r.id,n),errorCallback:(e,n)=>{t.updateFeedItem(t.createFeedError(Tt.a.taskDeleteErrorMessage),r.id),t.feedErrorCallback(!0,e,n)}})})),Bt(this,"deleteFeedItem",(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;const n=t.getCachedItems(t.file.id);if(n){const o=n.items.filter((t=>t.id!==e));t.setCachedItems(t.file.id,o),t.isDestroyed()||r(e)}})),Bt(this,"deleteReplyItem",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a;const o=(t.getCachedItems(t.file.id)||{items:[],errors:[]}).items.map((t=>t.id!==r?t:t.type===g.Dc||t.type===g.Fc?qt(t,e):t));t.setCachedItems(t.file.id,o),t.isDestroyed()||n(e,r)})),Bt(this,"feedErrorCallback",(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;e&&t.errors.push(Ht({},r,{code:n})),!t.isDestroyed()&&t.errorCallback&&t.errorCallback(r,n,{error:r,[g.Be]:e}),console.error(r)})),Bt(this,"addPendingItem",((e,t,r)=>{if(!t)throw Object(V.c)();const n=(new Date).toISOString(),o=Ht({created_at:n,created_by:t,modified_at:n,isPending:!0},r),i=this.getCachedItems(this.file.id),a=[...i?i.items:[],o];return this.setCachedItems(e,a),o})),Bt(this,"addPendingReply",((e,t,r)=>{if(!this.file.id)throw Object(V.a)();if(!t)throw Object(V.c)();const n=(new Date).toISOString(),o=Ht({created_at:n,created_by:t,modified_at:n,isPending:!0},r),i=this.getCachedItems(this.file.id);if(i){const t=i.items.map((t=>t.id===e&&t.type===g.Fc||t.id===e&&t.type===g.Dc?Gt(t,o):t));this.setCachedItems(this.file.id,t)}return o})),Bt(this,"createCommentSuccessCallback",((e,t,r)=>{const{message:n="",tagged_message:o=""}=e;e.tagged_message=o||n,this.updateFeedItem(Ht({},e,{isPending:!1}),t),this.isDestroyed()||r(e)})),Bt(this,"createCommentErrorCallback",((e,t,r)=>{const n=e.status===g.re?Tt.a.commentCreateConflictMessage:Tt.a.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)})),Bt(this,"createReplySuccessCallback",((e,t,r,n)=>{this.updateReplyItem(Ht({},e,{isPending:!1}),t,r),this.isDestroyed()||n(e)})),Bt(this,"createReplyErrorCallback",((e,t,r,n)=>{const o=e.status===g.re?Tt.a.commentCreateConflictMessage:Tt.a.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(o),r,n),this.feedErrorCallback(!1,e,t)})),Bt(this,"updateFeedItem",((e,t)=>{if(!this.file.id)throw Object(V.a)();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map((r=>r.id===t?Ht({},r,{},e):r));return this.setCachedItems(this.file.id,n),n}return null})),Bt(this,"updateReplyItem",((e,t,r)=>{if(!this.file.id)throw Object(V.a)();const n=(e,t,r)=>{const n=Ht({},e);return n.replies&&(n.replies=n.replies.map((e=>e.id===t?Ht({},e,{},r):e))),n},o=this.getCachedItems(this.file.id);if(o){const i=o.items.map((o=>o.id===t&&o.type===g.Fc||o.id===t&&o.type===g.Dc?n(o,r,e):o));this.setCachedItems(this.file.id,i)}})),Bt(this,"createComment",((e,t,r,n,o,i)=>{const a=mt()("comment_"),s={id:a,tagged_message:r,type:g.Fc};if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new fe(this.options),this.commentsAPI.createComment(Ht({file:e},l,{successCallback:e=>{this.createCommentSuccessCallback(e,a,o)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))})),Bt(this,"createThreadedComment",((e,t,r,n,o)=>{if(!e.id)throw Object(V.a)();const i=mt()("comment_"),a={id:i,tagged_message:r,type:g.Fc};this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,i,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,i)}})})),Bt(this,"updateComment",((e,t,r,n,o,i,a)=>{const s={tagged_message:r};if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=a,this.updateFeedItem(Ht({},s,{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new fe(this.options),this.commentsAPI.updateComment(Ht({file:e,commentId:t,permissions:o},l,{successCallback:e=>{this.updateFeedItem(Ht({},l,{isPending:!1}),t),this.isDestroyed()||i(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))})),Bt(this,"updateThreadedComment",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();if(!r&&!n)throw Object(V.d)();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(Ht({},s,{isPending:!0}),t),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:o,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,o=Vt(e,["replies","total_reply_count"]);this.updateFeedItem(Ht({},o,{isPending:!1}),t),this.isDestroyed()||i(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})})),Bt(this,"updateReply",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:o,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(Ht({},e,{isPending:!1}),r,t),this.isDestroyed()||i(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})})),Bt(this,"modifyFeedItemRepliesCountBy",((e,t)=>{if(!this.file.id)throw Object(V.a)();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find((t=>{let{id:r}=t;return r===e}));if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const o=(n.total_reply_count||0)+t;o>=0&&this.updateFeedItem({total_reply_count:o},e)})),Bt(this,"deleteAppActivity",((e,t,r,n)=>{const{id:o}=e;if(!o)throw Object(V.a)();this.appActivityAPI=new Ut(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:o,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})})),Bt(this,"deleteAppActivityErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(Tt.a.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,o){if(!e.id)throw Object(V.a)();if(this.file=e,o){const e=Ht({},r,{created_by:t,id:n,type:g.Dc});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(Ht({},r,{isPending:!1}),n)}getCacheKey(e){return"".concat(g.gg).concat(e)}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,o){let{shouldShowAnnotations:i=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const{id:d,permissions:f={}}=e,h=this.getCachedItems(d);if(h){const{errors:e,items:o}=h;if(e.length?n(o,e):r(o),!t)return}this.file=e,this.errors=[],this.errorCallback=o;const p=!u&&i?this.fetchAnnotations(f,s):Promise.resolve(),m=()=>u?Promise.resolve():s?this.fetchThreadedComments(f):this.fetchComments(f),b=!u&&l?this.fetchTasksNew():Promise.resolve(),v=!u&&a?this.fetchAppActivity(f):Promise.resolve(),y=!u&&c?this.fetchVersions():Promise.resolve(),w=!u&&c?this.fetchCurrentVersion():Promise.resolve(),C=i&&f[g.jf]?[g.Td]:[],E=a?[g.Ud]:[],S=l?[g.Wd]:[],k=c?[g.Xd]:[],x=[...C,...E,...f[g.Ze]?[g.Vd]:[],...S,...k],O=u&&x.length?this.fetchFileActivities(f,x,s):Promise.resolve(),_=e=>{this.isDestroyed()||(this.setCachedItems(d,e),this.errors.length?n(e,this.errors):r(e))};u?O.then((e=>{if(!e)return;const t=(e=>e&&e.entries&&e.entries.length?e.entries.map((e=>{if(!e.source)return null;const t=Ht({},e.source);switch(e.activity_type){case g.Wd:{var r;const e=Ht({},t[g.Wd]);if(null===(r=e.assigned_to)||void 0===r?void 0:r.entries){const t=e.assigned_to.entries.map((e=>{const t=Ht({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t}));e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case g.Vd:{const e=Ht({},t[g.Vd]);if(e.replies&&e.replies.length){const t=Kt(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case g.Td:{const e=Ht({},t[g.Td]);if(e.replies&&e.replies.length){const t=Kt(e.replies);e.replies=t}return e}case g.Ud:{const e=Ht({},t[g.Ud]);return e.created_at=e.occurred_at,e}case g.Xd:{var n,o;const e=Ht({},t[g.Xd]);if(e.type=g.Hc,e.action_by){const t={};1===e.action_by.length&&(e.uploader_display_name=e.action_by[0].name),e.action_by.map((e=>(t[e.id]=Ht({},e),e))),e.collaborators=t}var i,a,s,l,c,u;return(null===(n=e.end)||void 0===n?void 0:n.number)&&(e.version_end=e.end.number,e.id=e.end.id),(null===(o=e.start)||void 0===o?void 0:o.number)&&(e.version_start=e.start.number),e.version_start===e.version_end&&(e.version_number=e.version_start,e.action_type===g.e&&(null===(i=e.start)||void 0===i?void 0:i.created_at)&&(null===(a=e.start)||void 0===a?void 0:a.created_by)&&(e.modified_at=e.start.created_at,e.modified_by=Ht({},e.start.created_by)),e.action_type===g.g&&(null===(s=e.start)||void 0===s?void 0:s.trashed_at)&&(null===(l=e.start)||void 0===l?void 0:l.trashed_by)&&(e.trashed_at=e.start.trashed_at,e.trashed_by=Ht({},e.start.trashed_by)),e.action_type===g.f&&(null===(c=e.start)||void 0===c?void 0:c.restored_at)&&(null===(u=e.start)||void 0===u?void 0:u.restored_by)&&(e.restored_at=e.start.restored_at,e.restored_by=Ht({},e.start.restored_by))),e}default:return null}})).filter((e=>!!e)).reverse():[])(e);_(t)})):Promise.all([y,w,m(),b,v,p]).then((e=>{let[t,r,...n]=e;const o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t)=>t?e.concat(t.entries):e),[]).sort(((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at)))}(r?this.versionsAPI.addCurrentVersion(r,t,this.file):void 0,...n);_(o)}))}fetchAnnotations(e,t){return this.annotationsAPI=new Rt(this.options),new Promise((r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)}))}fetchComments(e){return this.commentsAPI=new fe(this.options),new Promise((t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}fetchThreadedComment(e,t,r,n){const{id:o,permissions:i}=e;if(!o||!i)throw Object(V.a)();return this.threadedCommentsAPI=new qe(this.options),new Promise((e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:o,permissions:i,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})}))}fetchThreadedComments(e){return this.threadedCommentsAPI=new qe(this.options),new Promise((t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})}))}fetchFileActivities(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.fileActivitiesAPI=new Ye(this.options),new Promise((n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})}))}fetchReplies(e,t,r,n,o){const{id:i,permissions:a}=e;if(!i||!a)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isRepliesLoading:!0},t);const s=e=>{let{entries:r}=e;this.updateFeedItem({isRepliesLoading:!1,replies:r,total_reply_count:r.length},t),n(r)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===g.Dc?(this.annotationsAPI=new Rt(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===g.Fc&&(this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new le(this.options),new Promise((e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,B.c)}))}fetchCurrentVersion(){return this.versionsAPI=new le(this.options),new Promise((e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))}))}fetchTasksNew(){return this.tasksNewAPI=new Se(this.options),new Promise((e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})}))}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,o=Object(V.e)(n);this.feedErrorCallback(o,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((n,o)=>{const i=new Ae(this.options);this.taskCollaboratorsAPI.push(i),i.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{o(e)}})}))}createTaskCollaborator(e,t,r){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((n,o)=>{const i=new Ae(this.options);this.taskCollaboratorsAPI.push(i),i.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{o(e)}})}))}deleteTaskCollaborator(e,t,r){if(!e.id)throw Object(V.a)();return this.file.id=e.id,new Promise(((n,o)=>{const i=new Ae(this.options);this.taskCollaboratorsAPI.push(i),i.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{o(e)}})}))}createTaskLink(e,t){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((r,n)=>{const o=new Le(this.options);this.taskLinksAPI.push(o),o.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})}))}createFeedError(e){return{error:{message:e,title:arguments.length>1&&void 0!==arguments[1]?arguments[1]:It.a.errorOccured}}}createReply(e,t,r,n,o,i,a){const{id:s,permissions:l}=e;if(!s||!l)throw Object(V.a)();const c=mt()("comment_"),u={id:c,tagged_message:o,type:g.Fc};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,i)},f=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===g.Dc?(this.annotationsAPI=new Rt(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,o,d,f)):n===g.Fc&&(this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:o,successCallback:d,errorCallback:f}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach((e=>e.destroy())),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach((e=>e.destroy())),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new Ut(this.options),new Promise((t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}}var Qt=Xt;class Zt extends E.a{getUrl(e){if(!e)throw new Error("Missing app integration id!");return"".concat(this.getBaseApiUrl(),"/app_integrations/").concat(e)}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=g.Gb;const o="".concat(this.getUrl(e),"/execute"),i={data:{item:{id:t,type:g.jg}}};this.post({id:t,url:o,data:i,successCallback:r,errorCallback:n})}}var $t=Zt;class Yt extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/open_with_integrations")}getOpenWithIntegrations(e,t,r){this.errorCode=g.Tb,this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some((e=>e.appIntegrationId===g.m))&&(t=e.filter((e=>e.appIntegrationId!==g.n))),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map((e=>{let{app_integration:t,disabled_reasons:n,display_name:o,display_description:i,display_order:a,is_disabled:s,should_show_consent_popup:l}=e;const{id:c,type:u}=t;return{appIntegrationId:c,displayDescription:i,disabledReasons:n||[],displayOrder:a,isDefault:!!r&&c===r.id,isDisabled:s,displayName:o,requiresConsent:l,type:u}})).sort(((e,t)=>e.displayOrder-t.displayOrder))}}var Jt=Yt;class er extends E.a{constructor(){var e,t,r;super(...arguments),r=e=>{let{data:t}=e;this.getCache().set(this.key,t),this.finish()},(t="queryMetadataSuccessHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}getCacheKey(e){return"".concat(g.r).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_queries/execute_read")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode=g.jc,this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const{context:o={}}=n;this.key=this.getCacheKey(o.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}}var tr=er;const rr={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},nr=[{key:"userAgent",subString:rr.EDGE,identity:rr.EDGE},{key:"userAgent",subString:rr.CHROME,identity:rr.CHROME},{key:"userAgent",subString:"criOS",identity:rr.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:rr.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:rr.FIREFOX,identity:rr.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],or=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:rr.MAC,identity:rr.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function ir(e,t){let r,n=null,o=null,i="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],i=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,o=t[a].device;break}return{identity:n,device:o,versionSearchString:i}}function ar(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}var sr=new class{constructor(){const{navigator:e}=window,t=ir(e,nr),r=ir(e,or);this.browser=t.identity||"unknown",this.version=ar(e.userAgent,t.versionSearchString)||ar(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===rr.SAFARI}isFirefox(){return this.browser===rr.FIREFOX}isChrome(){return this.browser===rr.CHROME}isIE(){return this.browser===rr.IE}isEdge(){return this.browser===rr.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}};var lr=function(e){const t=[];let r,n=0;return new Promise(((o,i)=>{e.forEach(((a,s)=>{a.then(o).catch((o=>a=>{t[o]=a,n+=1,n===e.length&&(r=new Error("no promises resolved"),i(r))})(s))}))}))};var cr={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dr=class{constructor(e){ur(this,"buildNextRequestID",(()=>"".concat(cr.REQUEST_ID_PRE).concat(this.window.performance.now()))),ur(this,"buildDetailsObj",((e,t,r)=>{const n=r.toString(),o={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==cr.OPERATION_STATUS){if(!t)throw new TypeError("Data cannot be undefined for ".concat(e));o.data=t}return o})),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hr=class extends dr{constructor(e,t){var r;super(e),r=this,fr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise(((i,a)=>{const s=r.buildDetailsObj(e,t,o),l=setTimeout((()=>{a(new Error({status_code:cr.REQUEST_TIMEOUT_RESPONSE_CODE}))}),n);r.reqIdToPromiseMap.set(s.req_id,{resolve:i,rejectTimeout:l}),r.executeActiveXEvent({detail:s})}))})),fr(this,"repairActiveXConnection",(e=>{sr.isIEAndSpecificBrowserPluginSupported(cr.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=2||(this.retryAttempt+=1,setTimeout((()=>{this.executeActiveXEvent(e)}),100)))})),fr(this,"executeActiveXEvent",(e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}})),fr(this,"createActiveXObjectJSRef",(()=>{const{ActiveXObject:e}=this.window;return new e(cr.BOX_TOOLS_PLUGIN_NAME)})),fr(this,"setupActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(cr.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)})),fr(this,"tearDownActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(cr.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)})),fr(this,"appExtensionEventResponseHandler",(e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),fr(this,"getComServerStatus",((e,t)=>this.executeOperation(cr.OPERATION_STATUS,null,e,t))),fr(this,"sendRequest",((e,t,r)=>this.executeOperation(cr.OPERATION_REQUEST,e,t,r))),fr(this,"sendCommand",((e,t,r)=>this.executeOperation(cr.OPERATION_COMMAND,e,t,r))),fr(this,"destroy",(()=>{this.tearDownActiveXCommunication()})),this.isSynchronous=t,this.channelName=cr.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}},pr=r(104);function mr(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const{document:i}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push("".concat(e,"=").concat(encodeURIComponent(t))),0!==r&&s.push("; expires=".concat(a.toUTCString())),s.push("; path=".concat(n)),o&&s.push("; domain=".concat(o)),s.push("; secure"),i.cookie=s.join("")}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const gr="POST",vr=17223,yr="notrunning",wr=new pr.a;function Cr(){return wr.getItem("comUseFallback")?{primary:17224,fallback:vr}:{primary:vr,fallback:17224}}var Er=class extends dr{constructor(e,t,r){super(e),br(this,"createCORSRequest",((e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return r=new n,r.open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}})),br(this,"getComServerStatusInstallationPromise",(e=>{let t,r;const n=new Promise(((e,n)=>{t=e,r=n})),o=(e,r)=>{this.currentPort=e,e===vr?wr.removeItem("comUseFallback"):wr.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},i=Cr(),a=i.primary,s=i.fallback;return this.checkInstallStatus(a,e).then(o.bind(this,a)).catch((t=>{if(t===yr)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(o.bind(this,s)).catch((()=>{this.comServerInstallationPromiseRejected=!0,r()}))})),n})),br(this,"sendComServerRequest",((e,t,r,n)=>new Promise(((o,i)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),a.onload=()=>{o(a)},a.onerror=()=>{i(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{i(a)}),setTimeout((()=>{a.send(r)}),0)}catch(e){i()}})))),br(this,"checkInstallStatus",((e,t)=>this.sendComServerRequest("GET","".concat(this.url).concat(e,"/status"),null,t).then((e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(yr)})))),br(this,"getComChannel",(e=>function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let o,i;for(i=0;i<n;i+=1)if(o=r[i].split("="),o[0]===e)return o[1]?decodeURIComponent(o[1]):"";return""}("".concat(e,"-bgp-id")))),br(this,"setComChannel",(e=>{const t=this.getComChannel(e)||this.generateId(),r="bgp-".concat(t),n=(new Date).getTime()+31536e6;return mr("".concat(e,"-bgp-id"),t,n),mr("bgp-".concat(t),"generic",n),r})),br(this,"getComServerStatus",(e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise)),br(this,"sendRequest",((e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_request?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(gr,n,e,t).then((e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error("Communication error: ".concat(t.message));return t}))})),br(this,"sendCommand",((e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_command?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(gr,n,e,t).then((e=>JSON.parse(e.responseText)))})),br(this,"generateId",(()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,(()=>Math.floor((e+16*Math.random())%16).toString(16)))})),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=Cr().primary,this.window=window}};function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const kr="box_extension_output";var xr=class extends dr{constructor(e){var t;super(e),t=this,Sr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise(((i,a)=>{const s=t.buildDetailsObj(e,r,o),l=setTimeout((()=>{a(new Error({status_code:cr.REQUEST_TIMEOUT_RESPONSE_CODE}))}),n);t.reqIdToPromiseMap.set(s.req_id,{resolve:i,rejectTimeout:l}),t.createAndDispatchAppExtensionEvent({detail:s})}))})),Sr(this,"setupSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(kr,this.appExtensionEventResponseHandler))})),Sr(this,"tearDownSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(kr,this.appExtensionEventResponseHandler))})),Sr(this,"appExtensionEventResponseHandler",(e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),Sr(this,"createAndDispatchAppExtensionEvent",(e=>{const{CustomEvent:t}=this.window,r=new t("box_extension_input",e);this.document.dispatchEvent(r)})),Sr(this,"getComServerStatus",((e,t)=>this.executeOperation(cr.OPERATION_STATUS,null,e,t))),Sr(this,"sendRequest",((e,t,r)=>this.executeOperation(cr.OPERATION_REQUEST,e,t,r))),Sr(this,"sendCommand",((e,t,r)=>this.executeOperation(cr.OPERATION_COMMAND,e,t,r))),Sr(this,"destroy",(()=>{this.tearDownSafariExtensionCommunication()})),this.reqIdToPromiseMap=new Map,this.channelName=cr.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const Or=55,_r="16.16299",Pr="17.17134";let Ar;function Ir(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=cr;return Ar.http_channel_status=r,new Er(e,t,n)}function Tr(e){const{CREATED_STATUS:t}=cr;return Ar.safari_channel_status=t,new xr(e)}function Mr(e){const{CREATED_STATUS:t}=cr;return Ar.activex_channel_status=t,new hr(e,!0)}function Lr(){const{EDGE:e}=rr;return sr.isMinBrowser(e,Pr)||sr.isMinBrowser(e,_r)&&sr.getVersion().startsWith("16.")}function Dr(){return sr.isEdge()&&!Lr()}function jr(){const{CHROME:e,FIREFOX:t}=rr;return sr.isMinBrowser(e,53)||sr.isMinBrowser(t,Or)||Lr()}function Fr(){return sr.isMinBrowser(rr.SAFARI,10)}function Rr(){return sr.isMinBrowser(rr.IE,11)}function Nr(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:o}=cr;let i=t;return jr()||Rr()?i=n:sr.isFirefox()||sr.isChrome()||sr.isSafari()&&!Fr()||Dr()?i=o:Fr()&&(i=r),Ar.error_message=i,e(new Error(i))}function Ur(e){let t=5e3;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function zr(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}var Hr=class{constructor(e){var t,r,n;n=!1,(r="isInitialized")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=sr.getName(),t=sr.getVersion(),{UNCREATED_STATUS:r}=cr;Ar={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),jr()?this.channels.push(Ir(e)):Fr()?this.channels.push(Tr(e)):Rr()&&sr.isIEAndSpecificBrowserPluginSupported(cr.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=cr;return Ar.activex_channel_status=t,new hr(e,!1)}(e)):sr.isFirefox()&&!sr.isMinBrowser(rr.FIREFOX,Or)||Dr()||(this.channels=this.channels.concat([Ir(e),Tr(e),Mr(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=cr,r=Ur(e),n=zr(r),o=Dr();return new Promise(((e,i)=>o?Nr.call(null,i):this.channels.length?lr(this.channels.map((o=>o.getComServerStatus(r,n).then((r=>(this.activeChannel=o,r&&(Ar.installation_type=r.installation_type,Ar.box_tools_version=r.version),Ar["".concat(o.channelName,"_status")]=t,e(r))))))).catch(Nr.bind(null,i)):Nr.call(null,i)))}sendRequest(e,t,r){const n=Ur(r),o=zr(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,o):this.getComServerStatus().then((()=>this.activeChannel.sendRequest(e,n,o)))}sendCommand(e,t){const r=Ur(t),n=zr(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then((()=>this.activeChannel.sendCommand(e,r,n)))}};let Br;let Vr=null;class Wr{constructor(){return Vr instanceof Wr||(Vr=this),this.extensionRequestQueue=new Map,Vr}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise(((e,r)=>{t.resolve=e,t.reject=r}));return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new Hr(cr.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map((async e=>{try{const t=await this.getAppForExtension(e);return[e,t]}catch(t){return[e,""]}}))),r=new Map;return t.forEach((e=>r.set(...e))),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:sr.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,5e3)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=cr;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return Br||(Br=setTimeout((()=>{this.processExtensionRequestQueue()}),100)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach(((r,n)=>{e.set(n,r),t.push(n)})),this.extensionRequestQueue.clear(),Br=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then((r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach((t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}}))}t.forEach((t=>{const r=e.get(t);r&&r.reject()}))}))}}var qr=Wr;class Gr extends E.a{async ask(e,t){if(!e)throw new Error("Missing prompt!");if(!t||0===t.length)throw new Error("Missing items!");t.forEach((e=>{if(!e.id||!e.type)throw new Error("Invalid item!")}));const r="".concat(this.getBaseApiUrl(),"/ai/ask");return this.xhr.post({url:r,id:"file_".concat(t[0].id),data:{mode:"single_item_qa",prompt:e,items:t}})}}var Kr=Gr;function Xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){this.options=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(r),!0).forEach((function(t){Qr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{apiHost:e.apiHost||g.U,uploadHost:e.uploadHost||g.X,cache:e.cache||new n.a,language:e.language})}destroy(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.intelligenceAPI&&(this.intelligenceAPI.destroy(),delete this.intelligenceAPI),e&&(this.options.cache=new n.a)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case g.kg:t=this.getFolderAPI();break;case g.jg:t=this.getFileAPI();break;case g.lg:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.destroy(),this.fileAPI=new U.a(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new z.a(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new R(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new j(this.options),this.chunkedUploadAPI}getFolderAPI(){return this.destroy(),this.folderAPI=new N.a(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new X(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new Y(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new gt(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new le(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new fe(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new qe(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new Se(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new Ae(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new Le(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new Ke(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new Ye(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new wt(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new St(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new kt(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new At(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new rt(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new at(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new lt(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new ht(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new Qt(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new Jt(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new $t(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.destroy(),this.metadataQueryAPI=new tr(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new qr,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Rt(this.options),this.annotationsAPI}getIntelligenceAPI(e){return e&&this.destroy(),this.intelligenceAPI=new Kr(this.options),this.intelligenceAPI}}},function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-check ".concat(t),height:i,title:a,viewBox:"0 0 24 24",width:s},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{className:"fill-color",d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:r}))}},,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));var n=r(0),o=r(12),i=r.n(o),a=r(4),s=r.n(a),l=r(5),c=r(100),u=r(111),d=r(17);const f=Object(l.c)({checkboxTooltipIconInfoText:{id:"boxui.checkboxTooltip.iconInfoText",defaultMessage:"Info"}});var h=e=>{let{tooltip:t}=e;return n.createElement("div",{className:"checkbox-tooltip-wrapper"},n.createElement(d.c,{text:t},n.createElement("div",{className:"info-tooltip"},n.createElement(u.a,{height:16,title:n.createElement(c.a,f.checkboxTooltipIconInfoText),width:16}))))};r(564);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=e=>{let{className:t="",description:r,fieldLabel:o,hideLabel:a,id:l,inputClassName:c,isChecked:u,isDisabled:d,label:f,name:b,onFocus:g,onChange:v,subsection:y,tooltip:w}=e,C=m(e,["className","description","fieldLabel","hideLabel","id","inputClassName","isChecked","isDisabled","label","name","onFocus","onChange","subsection","tooltip"]);const E=n.useRef(i()("checkbox")).current,S=l||E,k=n.createElement("span",{className:"checkbox-label"},n.createElement("input",p({"aria-describedby":r?"description_".concat(S):"",checked:u,className:c,disabled:d,id:S,name:b,onFocus:g,onChange:v,type:"checkbox"},C)),n.createElement("span",{className:"checkbox-pointer-target"}),n.createElement("span",{className:s()("bdl-Checkbox-labelTooltipWrapper",{"accessibility-hidden":a})},f&&n.createElement("label",{htmlFor:S},f),w&&n.createElement(h,{tooltip:w})));return n.createElement("div",{className:s()("checkbox-container",t,{"is-disabled bdl-is-disabled":d})},o&&n.createElement("div",{className:"label"},o),k,r?n.createElement("div",{id:"description_".concat(S),className:"checkbox-description"},r):null,y?n.createElement("div",{className:"checkbox-subsection"},y):null)}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:o.b,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 01-.5-.5c0-.276.23-.5.5-.5h7zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 01-.5-.5c0-.276.229-.5.5-.5h11zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 01-.501-.5c0-.276.23-.5.501-.5h10z"})))},,,function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#009AED",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M19.723 18.973l-5.914 3.957a.543.543 0 01-.809-.473v-7.914a.543.543 0 01.809-.473l5.914 3.957a.543.543 0 010 .946z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:o.k,fillRule:"evenodd",d:"M7.646 7.646L4.354 4.354a.5.5 0 010-.708l1.292-1.292a.5.5 0 01.708 0l5.292 5.292a.5.5 0 010 .708l-5.292 5.292a.5.5 0 01-.708 0l-1.292-1.292a.5.5 0 010-.708l3.292-3.292a.5.5 0 000-.708z"}))},function(e,t,r){var n=r(36),o=r(139),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},,,,,,,,function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(48))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(74),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(403),o=r(113),i=r(36),a=r(124),s=r(137),l=r(166),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),d=!r&&!u&&a(e),f=!r&&!u&&!d&&l(e),h=r||u||d||f,p=h?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||h&&("length"==b||d&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){(function(e){var n=r(46),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(165)(e))},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(179),o=r(180),i=r(178),a=r(228),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,r){var n=r(179),o=r(36);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},function(e,t,r){var n=r(230),o=r(229),i=r(138);e.exports=function(e){return n(e,i,o)}},function(e,t,r){var n=r(181);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(267),o=r(180),i=r(152);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(62),o=r(180),i=r(49),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},function(e,t,r){var n=r(435),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=r(l),n(e,this,c)}}},function(e,t,r){var n=r(436),o=r(438)(n);e.exports=o},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(32);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){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,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,r){"use strict";var n=r(32),o=r(458),i=r(459),a=r(238),s=r(460),l=r(463),c=r(464),u=r(241),d=r(140),f=r(141);e.exports=function(e){return new Promise((function(t,r){var h,p=e.data,m=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(p)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",w=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+w)}var C=s(e.baseURL,e.url);function E(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,i={data:b&&"text"!==b&&"json"!==b?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),v=null}}if(v.open(e.method.toUpperCase(),a(C,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=E:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(E)},v.onabort=function(){v&&(r(u("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(u("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||c(C))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;S&&(m[e.xsrfHeaderName]=S)}"setRequestHeader"in v&&n.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),b&&"json"!==b&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){v&&(r(!e||e&&e.type?new f("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),p||(p=null),v.send(p)}))}},function(e,t,r){"use strict";var n=r(239);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},function(e,t){e.exports={version:"0.25.0"}},function(e,t,r){var n=r(473),o=r(474),i=r(477),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(a,"")),e,"")}}},function(e,t,r){var n=r(174),o=r(112);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,r){},,,function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(33),s=r(22),l=r(89),c=r(2),u=r(30);r(560);t.a=Object(a.c)((e=>{let{className:t,intl:r,onClick:o}=e;return n.createElement(s.b,{"aria-label":r.formatMessage(u.a.close),className:i()("bdl-CloseButton",t),"data-testid":"bdl-CloseButton",onClick:o,type:s.a.BUTTON},n.createElement(l.a,{color:c.l,height:18,width:18}))}))},,,function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var o,i,a,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function h(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):m(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=m(l,c);for(r=0;r<c;++r)i(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,f(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,f(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,o,i,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return h(this,e,!0)},s.prototype.rawListeners=function(e){return h(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){var n=r(245)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var root="object"==typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=global);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__(332),HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var r=OUTPUT_TYPES[t];e[r]=createOutputMethod(r)}return e},nodeWrap=function nodeWrap(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!=typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,o=0,i=e.length||0,a=this.blocks;o<i;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(n=this.start;o<i&&n<64;++o)a[n>>2]|=e[o]<<SHIFT[3&n++];else for(n=this.start;o<i&&n<64;++o)(r=e.charCodeAt(o))<128?a[n>>2]|=r<<SHIFT[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++o)),a[n>>2]|=(240|r>>18)<<SHIFT[3&n++],a[n>>2]|=(128|r>>12&63)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=a[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,r=this.h0,n=this.h1,o=this.h2,i=this.h3,a=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n&o|~n&i)+a+1518500249+s[e]<<0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|~r&o)+i+1518500249+s[e+1]<<0)<<5|i>>>27)+(a&(r=r<<30|r>>>2)|~a&n)+o+1518500249+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|~i&r)+n+1518500249+s[e+3]<<0)<<5|n>>>27)+(o&(i=i<<30|i>>>2)|~o&a)+r+1518500249+s[e+4]<<0,o=o<<30|o>>>2;for(;e<40;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n^o^i)+a+1859775393+s[e]<<0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^o)+i+1859775393+s[e+1]<<0)<<5|i>>>27)+(a^(r=r<<30|r>>>2)^n)+o+1859775393+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^r)+n+1859775393+s[e+3]<<0)<<5|n>>>27)+(o^(i=i<<30|i>>>2)^a)+r+1859775393+s[e+4]<<0,o=o<<30|o>>>2;for(;e<60;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n&o|n&i|o&i)+a-1894007588+s[e]<<0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|r&o|n&o)+i-1894007588+s[e+1]<<0)<<5|i>>>27)+(a&(r=r<<30|r>>>2)|a&n|r&n)+o-1894007588+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|i&r|a&r)+n-1894007588+s[e+3]<<0)<<5|n>>>27)+(o&(i=i<<30|i>>>2)|o&a|i&a)+r-1894007588+s[e+4]<<0,o=o<<30|o>>>2;for(;e<80;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n^o^i)+a-899497514+s[e]<<0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^o)+i-899497514+s[e+1]<<0)<<5|i>>>27)+(a^(r=r<<30|r>>>2)^n)+o-899497514+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^r)+n-899497514+s[e+3]<<0)<<5|n>>>27)+(o^(i=i<<30|i>>>2)^a)+r-899497514+s[e+4]<<0,o=o<<30|o>>>2;this.h0=this.h0+r<<0,this.h1=this.h1+n<<0,this.h2=this.h2+o<<0,this.h3=this.h3+i<<0,this.h4=this.h4+a<<0},Sha1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4;return HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]},Sha1.prototype.toString=Sha1.prototype.hex,Sha1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,o>>24&255,o>>16&255,o>>8&255,255&o]},Sha1.prototype.array=Sha1.prototype.digest,Sha1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var exports=createMethod();COMMON_JS?module.exports=exports:(root.sha1=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__(198),__webpack_require__(48))},function(e,t,r){var n;!function(o){var i={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(i.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,o,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(i.query_separator)).length;t<c;t++)0!==(o=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,o)),l=a(n.substring(o+1)),u.push(-1===o?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=i.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<i;){var a;n in o&&(a=o[n],e.call(r,a,n,o)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,o="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],o.length>0&&(o+="&"),null===r[1]?o+=r[0]:(o+=r[0],o+="=",void 0!==r[1]&&(o+=encodeURIComponent(r[1])));return o.length>0?"?"+o:o},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,o=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&o.push(r[1]);return o},l.prototype.deleteQueryParam=function(e,t){var r,n,o,i,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)o=a((n=this.queryPairs[r])[0])===a(e),i=n[1]===t,(1!==arguments.length||o)&&(2!==arguments.length||o&&i)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,o,i=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((o=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(o[1])===a(r)){i=n;break}i>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,i)}else{for(n=0;n<s;n++)if(a((o=this.queryPairs[n])[0])===a(e)){i=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,i)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),i.ends_with_slashes.test(t)||i.starts_with_slashes.test(e)?(t&&t.replace(i.ends_with_slashes,"/"),e=e.replace(i.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";var n=r(0);r(621);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(this,arguments)}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const a=()=>{};t.a=e=>{let{isDisabled:t,isSelected:r=!1,description:s,hideLabel:l=!1,label:c,name:u,value:d}=e,f=i(e,["isDisabled","isSelected","description","hideLabel","label","name","value"]);return n.createElement("div",{className:"radio-container"},n.createElement("label",{className:"radio-label"},n.createElement("input",o({checked:r,disabled:t,name:u,onChange:a,type:"radio",value:d},f)),n.createElement("span",null),n.createElement("span",{className:l?"accessibility-hidden":""},c)),s?n.createElement("div",{className:"radio-description"},s):null)}},function(e,t,r){"use strict";var n=r(254),o=r.n(n),i=r(43),a=r.n(i);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.ask":"Ask","boxui.contentAnswers.askDisabledTooltip":"You can submit another question once Box AI has finished responding","boxui.contentAnswers.askQuestionPlaceholder":"Ask anything about this document","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.hasQuestionsTooltip":"Return to Box AI","boxui.contentAnswers.inlineErrorText":"The Box AI service was unavailable.","boxui.contentAnswers.intelligenceUnavailableDescription":"The Box AI service is not responding.","boxui.contentAnswers.intelligenceUnavailableHeading":"Box AI is unavailable","boxui.contentAnswers.intelligenceUnavailableTryAgain":"Please try again later.","boxui.contentAnswers.maxCharactersReachedError":"Maximum of {characterLimit} characters reached","boxui.contentAnswers.retryResponse":"Retry","boxui.contentAnswers.welcomeAskQuestionText":"Ask questions about {name}","boxui.contentAnswers.welcomeClearChatText":"This chat will be cleared when you close this document","boxui.contentAnswers.welcomeMessageTitle":"Welcome to Box AI","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for '{itemName}'","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"});var u={language:"en-US",messages:c},d=r(1);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class h extends o.a{constructor(){super(...arguments),f(this,"language",u.language),f(this,"messages",u.messages),f(this,"setComponent",(e=>{this.component=e})),f(this,"onInteraction",(e=>{this.emit("interaction",e)}))}show(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.id=e,this.token=t,this.options=r,this.options.version="0.0.0-semantically-released",this.emit=this.emit.bind(this);const n=r.container||d.R;this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),a.a.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}t.a=h},,,,,,,function(e,t,r){"use strict";function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}r.d(t,"a",(function(){return n}))},function(e,t,r){var n=r(42),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e,t,r){var n=r(42),o=r(139),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o);r(512);t.a=e=>{const{children:t,className:r="",topLeft:o=null,topRight:a=null,bottomLeft:s=null,bottomRight:l=null}=e;return n.createElement("div",{className:i()("badgeable-container",r)},t,n.createElement("div",{className:"badges"},o&&n.createElement("div",{className:"top-left-badge"},o),a&&n.createElement("div",{className:"top-right-badge"},a),s&&n.createElement("div",{className:"bottom-left-badge"},s),l&&n.createElement("div",{className:"bottom-right-badge"},l)))}},function(e,t,r){var n=r(62),o=r(36),i=r(49);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},,function(e,t,r){"use strict";var n=r(269);r.d(t,"a",(function(){return n.a}))},,,,function(e,t,r){var n=r(164),o=r(401),i=r(173),a=r(402),s=r(408),l=r(227),c=r(197),u=r(411),d=r(413),f=r(309),h=r(231),p=r(125),m=r(416),b=r(417),g=r(233),v=r(36),y=r(124),w=r(421),C=r(42),E=r(423),S=r(109),k="[object Arguments]",x="[object Function]",O="[object Object]",_={};_[k]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[O]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[x]=_["[object WeakMap]"]=!1,e.exports=function e(t,r,P,A,I,T){var M,L=1&r,D=2&r,j=4&r;if(P&&(M=I?P(t,A,I,T):P(t)),void 0!==M)return M;if(!C(t))return t;var F=v(t);if(F){if(M=m(t),!L)return c(t,M)}else{var R=p(t),N=R==x||"[object GeneratorFunction]"==R;if(y(t))return l(t,L);if(R==O||R==k||N&&!I){if(M=D||N?{}:g(t),!L)return D?d(t,s(M,t)):u(t,a(M,t))}else{if(!_[R])return I?t:{};M=b(t,R,L)}}T||(T=new n);var U=T.get(t);if(U)return U;T.set(t,M),E(t)?t.forEach((function(n){M.add(e(n,r,P,n,t,T))})):w(t)&&t.forEach((function(n,o){M.set(o,e(n,r,P,o,t,T))}));var z=j?D?h:f:D?keysIn:S,H=F?void 0:z(t);return o(H||t,(function(n,o){H&&(n=t[o=n]),i(M,o,e(n,r,P,o,t,T))})),M}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(e,t,r){var n=u;return function(o,i){if(n===f)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",f="executing",h="completed",p={};function m(){}function b(){}function g(){}var v={};v[i]=function(){return this};var y=Object.getPrototypeOf,w=y&&y(y(P([])));w&&w!==r&&n.call(w,i)&&(v=w);var C=g.prototype=m.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e){function t(r,o,i,a){var s=c(e[r],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}var r;this._invoke=function(e,n){function o(){return new Promise((function(r,o){t(e,n,r,o)}))}return r=r?r.then(o,o):o()}}function k(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=c(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,p;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function P(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return b.prototype=C.constructor=g,g.constructor=b,g[s]=b.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(C),e},e.awrap=function(e){return{__await:e}},E(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,r,n,o){var i=new S(l(t,r,n,o));return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(C),C[s]="Generator",C[i]=function(){return this},C.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),O(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;O(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(268),o=1/0;e.exports=function(e){return e?(e=n(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(112),o=r(88),i=r(137),a=r(42);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&i(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},function(e,t,r){"use strict";var n=r(0),o=r(70);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({isSelectItem:!0},e))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.t,d:"M9 3h9.172a2 2 0 011.414.586l5.83 5.828A2 2 0 0126 10.83V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M18.75 17h-5.5a.25.25 0 00-.25.25v4.25a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-6.35a.75.75 0 01.75-.75h6.5a.75.75 0 01.75.75v7.75a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-2.85a.25.25 0 00-.25-.25zm-5.5-1h5.5a.25.25 0 00.25-.25V14.5a.5.5 0 00-.5-.5h-5a.5.5 0 00-.5.5v1.25c0 .138.112.25.25.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.585a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:o.r}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm3.729 4.521c.125-.016.44-.059.912.059l.09.022c.674.164 2.394.583 4.48 2.218.196.167.697.602.78.675.038.034.214.211.411.41.24.242.51.515.6.598V26a65.511 65.511 0 01-1.164-1.172c-.521-.541-.876-.87-1.345-1.3-.469-.43-1.733-1.361-2.488-1.675-.756-.313-1.08-.444-1.398-.49l.007.021a1.28 1.28 0 00.068.172c.016.034.028.06.039.104l.238.524.031.067.009.02.006.012.01.026.183.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.754.508-.537 0-1.303-.421-1.543-.567l-.086-.052a7.211 7.211 0 01-.621-.413c-.327-.234-.444-.362-.53-.455a2.335 2.335 0 00-.045-.049c-.094-.097-.319-.333-.359-.657-.023-.183.001-.398.107-.55.062-.088.16-.215.44-.25a.649.649 0 01.436.133c.051.036.151.137.27.255a6.17 6.17 0 00.608.555c.203.166.445.364.603.425-.032-.072-.09-.195-.147-.318v-.001a18.603 18.603 0 01-.137-.297 11.247 11.247 0 00-.194-.41c-.333-.684-.663-1.381-.807-1.814l-.024-.073c-.13-.387-.205-.612-.129-.884.052-.185.111-.32.337-.438.09-.047.23-.098.348-.113l.01-.002zm.71-6.778l2.483 3.974a.511.511 0 01-.44.783h-4.966a.515.515 0 01-.44-.783l2.484-3.974a.519.519 0 01.878 0zm-9.44 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 01-.822.822h-3.356a.822.822 0 01-.822-.822v-3.356z",fill:"#fff"}),n.createElement("path",{opacity:.5,d:"M19.285 3.286l6.421 6.421a1 1 0 01.204.293h-4.911a2 2 0 01-1.995-1.85L19 8V3.09a1 1 0 01.286.196z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:o.i,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#9725DD",d:"M18.526 14.146l-.92 1.375h-6.92a.685.685 0 01-.686-.688c0-.38.31-.687.687-.687h7.839z"}),n.createElement("path",{fill:o.b,d:"M16.379 17.583l-.92 1.375h-4.762a.69.69 0 01-.697-.687c0-.38.31-.688.697-.688h5.682z"}),n.createElement("path",{fill:"#00C8C0",d:"M14.231 21.02l-.424.637a2.166 2.166 0 00-.229.493l-.031.118-.028.127H10.69a.687.687 0 110-1.374h3.541z"}),n.createElement("path",{fill:o.z,d:"M14.841 21.332l4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 01-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 01-.314.607l-.28.417-.09-.016a1.714 1.714 0 01-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M17.553 13.776a.5.5 0 01.894.448l-4 8a.5.5 0 01-.894-.448zm-4.83 1.808a.5.5 0 11.554.832L10.901 18l2.376 1.584a.5.5 0 11-.554.832l-3-2a.5.5 0 010-.832zm6.554 0l3 2a.5.5 0 010 .832l-3 2a.5.5 0 11-.554-.832L21.099 18l-2.376-1.584a.5.5 0 01.554-.832z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4zm-1 2h-3v-3h3v3z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#87BDA0",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm-4.5-9.75H12v-1.5h3.75v1.5zm4.5 0H16.5v-1.5h3.75v1.5zm0 3H16.5V16h3.75v2.25zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564zm8.344-.188H16.5V19h3.75v2.25zm0 3H16.5V22h3.75v2.25zm-4.5 0H12v-1.5h3.75v1.5z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#4083F7",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M16 23v1h-6v-1h6zm5-3v1H10v-1h11zm0-3v1H10v-1h11zm0-3v1H10v-1h11z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.505.505 0 01-.501-.51v-8.98c0-.282.23-.51.501-.51h10zM11 21v2h4v-2.001L11 21zm5 0v2h4v-2h-4zm4-3h-4v2h4v-2zm0-3h-4v2h4v-2zm-5 0h-4v2l4-.001V15zm-4 5l4-.001v-2L11 18v2z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1zm10 7h-9v-5h9v5z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF9400",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16zM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.521 0-.899-.318-.899-.902 0-.567.404-.903.917-.903z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#3FB87F",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M14.754 18.128l3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767a72386.439 72386.439 0 013.9-4.089.444.444 0 01.64-.016zM17.5 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF57A1",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.449 5.449 0 01-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 00-.528-.09z"})))},function(e,t,r){"use strict";var n=r(0),o=r(9);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#1A66EF"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.991 16.925l-.697-4.338a.697.697 0 00-.688-.587h-8.212a.697.697 0 00-.688.587l-.697 4.338a.698.698 0 00.688.807h9.606a.698.698 0 00.688-.807zM17.979 24.225h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388z",fill:"#fff"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 14.169l-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479z",fill:"#66C155"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 010-.958l1.695.479-1.695.479z",fill:"#FA9E27"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 011.047-.296v1.549l-1.047-1.253z",fill:"#AB4287"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 00-.648-.774 1.957 1.957 0 00-1.047-.296v1.549l1.695.479a1.365 1.365 0 000-.958z",fill:"#61D9FE"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253z",fill:"#FBCE5A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 13.69c.117-.314.347-.584.648-.774l1.047 1.253-1.695-.479z",fill:"#E85A5E"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31z",fill:"#C7E8FD"}))},function(e,t,r){"use strict";var n=r(0),o=r(9);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#18D31D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 01.164-.322.584.584 0 01.322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 01.185.001c.06.002.122.006.183.017a.616.616 0 01.322.165.585.585 0 01.165.322c.01.06.014.122.016.183a3.95 3.95 0 01.001.185v2.003l-.001.084a1.224 1.224 0 01-.016.183.618.618 0 01-.165.323.584.584 0 01-.322.165 1.21 1.21 0 01-.183.016l-.084.001H10.77l-.084-.001a1.207 1.207 0 01-.182-.016.616.616 0 01-.323-.165.587.587 0 01-.165-.323 1.24 1.24 0 01-.016-.183v-.084l-.001-.1v-1.903zM12.928 18.453v-.1l.002-.085c.001-.06.005-.122.016-.183a.62.62 0 01.165-.322.587.587 0 01.322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.061.002.123.006.183.017a.616.616 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.183l.001.085V23.616a1.237 1.237 0 01-.017.183.618.618 0 01-.165.323.585.585 0 01-.322.165 1.21 1.21 0 01-.183.016 3.93 3.93 0 01-.084.001H13.7l-.084-.001a1.208 1.208 0 01-.183-.016.616.616 0 01-.322-.165.585.585 0 01-.165-.323 1.212 1.212 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-5.08zM15.857 12.873v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 01.165-.322.586.586 0 01.322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.06.002.122.006.183.017a.619.619 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.184l.001.084V23.532l-.001.084a1.238 1.238 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 01-.084.001H16.629l-.084-.001a1.234 1.234 0 01-.183-.016.619.619 0 01-.322-.165.585.585 0 01-.165-.323 1.21 1.21 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-10.66zM18.785 16.02v-.1l.002-.084a1.21 1.21 0 01.016-.183.62.62 0 01.165-.323.587.587 0 01.322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 01.184.001c.061.002.123.005.183.016a.615.615 0 01.322.165.587.587 0 01.165.323c.011.06.015.122.016.183l.002.085V23.53c0 .029 0 .057-.002.085a1.224 1.224 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 01-.084.001H19.557l-.084-.001a1.208 1.208 0 01-.183-.016.617.617 0 01-.322-.165.585.585 0 01-.165-.323 1.213 1.213 0 01-.016-.183 3.94 3.94 0 01-.001-.084V16.02z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(9);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.414 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#FB8517"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 00-.314-.314z",fill:"#FFC78A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42 23.653l-.399.683a.158.158 0 00.216.216l.683-.399-.5-.5zM9.653 23.256l.664.664c.049.05.124.06.185.028a7.674 7.674 0 001.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 00-1.368 1.863.158.158 0 00.028.185zM16.107 18.838a.158.158 0 00.223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 000 .223l1.372 1.372z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M13.133 16.998c0 .354-.054.66-.162.918a1.745 1.745 0 01-1.044 1.012 2.057 2.057 0 01-.693.122h-.621v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 011.089.945c.118.258.176.576.176.954zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 00-.504-.189h-.459v1.665h.459a.665.665 0 00.504-.22c.138-.148.207-.359.207-.635zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 01-.824.639c-.333.15-.727.225-1.183.225H14.2V15h1.791c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.851-.49h-.351v3.852h.351c.348 0 .631-.163.85-.49.22-.328.329-.8.329-1.418zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305h-1.656z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#26C9FF",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107zM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#E19E8D",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M16 24a5.947 5.947 0 004.239-1.76 6.07 6.07 0 00.94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0022 18a5.947 5.947 0 00-1.76-4.239 6.07 6.07 0 00-1.214-.94 5.894 5.894 0 00-1.432-.607A5.862 5.862 0 0016 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 00-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0010 15v6a.748.748 0 00.75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152zm0-9.75h-3.668A5.186 5.186 0 0116 12.75v1.5zm5.197 3H17.5V15a.73.73 0 00-.219-.527.847.847 0 00-.241-.161.703.703 0 00-.29-.062v-1.447a5.086 5.086 0 011.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 01-.577.331c-.22.077-.458.115-.712.115h-.62v1.593zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526zM16 23.25a5.186 5.186 0 01-3.668-1.5h4.418a.748.748 0 00.75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 01-1.353 2.32 5.258 5.258 0 01-2.317 1.353A5.155 5.155 0 0116 23.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M15.643 20.354a.5.5 0 00.707 0l5.003-5a.5.5 0 10-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 00-.707 0L9.646 21.65a.5.5 0 10.708.707l3.643-3.649 1.646 1.647z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M22 23.49c0 .282-.229.51-.5.51h-11a.505.505 0 01-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98zM11 23h2v-2h-2v2zm10-2h-7v2h7v-2zm0-1v-2h-7v2h7zm-10 0h2v-2h-2v2zm10-3v-2h-7v2h7zm-8-2h-2v2h2v-2z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M20 14.068l-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M13.195 17.07l.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 11-.999-.078c.289-1.994 1.516-3.763 3.2-4.772l.43-.257zm5.618.003l.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 11-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052zM16 14a2 2 0 011.937 1.5h4.592c.26 0 .471.21.471.47v.06c0 .26-.21.47-.47.47l-4.593.001a2 2 0 01-3.874 0L9.471 16.5a.47.47 0 01-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0116 14zm0 1a1 1 0 00-1 .98v.039l.007.098A1 1 0 1016 15z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#8BACDE",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm0-9.75H12v-1.5h8.25v1.5zm0 3H16.5V16h3.75v2.25zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8zm8.104-.188H16.5V19h3.75v2.25zm0 3H12v-1.5h3.75a.748.748 0 00.75-.75h3.75v2.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:o.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578zM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995z",fill:o.D}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:o.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27zm6.01 0l-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21h-1.125zM14.5 17.031v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64z",fill:o.D}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(9);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.m,d:"M10 24h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V8zm1 15h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V9z"})))},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(0),o=r.n(n),i=r(100),a=r(33),s=r(34),l=r(6);r(620);const c={weekday:"short",month:"short",year:"numeric",day:"numeric"};var u=Object(a.c)((e=>{let{date:t,dateFormat:r=c,omitCommas:n=!1,intl:a,relative:u=!0,capitalize:d=!1}=e;const f=new Date(t),h=Object(s.i)(f),p=Object(s.k)(f);if(u&&(h||p)){let e=o.a.createElement(i.a,l.a.today);return p&&(e=o.a.createElement(i.a,l.a.yesterday)),d?o.a.createElement("span",{className:"be-date-capitalize"},e):e}let m=a.formatDate(f,r);return m=n?m.replace(/,/g,""):m,m}))},function(e,t,r){var n=r(152),o=r(407),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(230),o=r(178),i=r(109);e.exports=function(e){return n(e,i,o)}},function(e,t,r){var n=r(46).Uint8Array;e.exports=n},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t,r){var n=r(106),o=r(113),i=r(36),a=r(137),s=r(175),l=r(102);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&r(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,r){var n=r(278);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},,,,,,,,function(e,t,r){"use strict";var n=r(0),o=r(103),i=r.n(o),a=r(342),s=r(4),l=r.n(s),c=r(1);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const h=!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);t.a=function(e){var t,r;return r=t=class extends n.PureComponent{constructor(e){super(e),f(this,"onResize",i()((e=>{let{bounds:{width:t}}=e;this.setState({size:this.getSize(t)})}),500)),f(this,"innerRef",(e=>{this.innerElement=e})),f(this,"getInnerElement",(()=>this.innerElement)),this.state={size:e.size||this.getSize(window.innerWidth)}}getSize(e){let t=c.wf;return e<=700?t=c.vf:e<=1e3?t=c.uf:e<=1500&&(t=c.tf),t}render(){const t=this.props,{isTouch:r,size:o,className:i,componentRef:s}=t,f=d(t,["isTouch","size","className","componentRef"]);let h=o===c.tf,p=o===c.uf,m=o===c.vf,b=o===c.wf;const g=!(m||h||p||b);if([m,p,h,b].filter((e=>e)).length>1)throw new Error("Box UI Element cannot be small or medium or large or very large at the same time");if(!g)return n.createElement(e,u({ref:s,className:i,isLarge:h,isMedium:p,isSmall:m,isTouch:r,isVeryLarge:b},f));const{size:v}=this.state;m=v===c.vf,p=v===c.uf,h=v===c.tf,b=v===c.wf;const y=l()({[c.x]:m,[c.w]:p,[c.y]:r},i);return n.createElement(a.a,{bounds:!0,innerRef:this.innerRef,onResize:this.onResize},(t=>{let{measureRef:o}=t;return n.createElement(e,u({ref:s,className:y,getInnerRef:this.getInnerElement,isLarge:h,isMedium:p,isSmall:m,isTouch:r,isVeryLarge:b,measureRef:o},f))}))}},f(t,"defaultProps",{className:"",isTouch:h}),r}},,,,,,,,function(e,t,r){var n=r(74)(r(46),"WeakMap");e.exports=n},function(e,t,r){var n=r(432),o=r(235),i=r(236);e.exports=function(e){return i(o(e,void 0,n),e+"")}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,r){},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return C}));var n=r(83),o=r.n(n),i=r(105),a=r.n(i),s=r(148),l=r.n(s),c=r(149),u=r.n(c),d=r(24),f=r.n(d),h=r(150),p=r.n(h),m=r(16),b=r.n(m),g=r(0),v=r(610);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(r,!0).forEach((function(t){b()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var C=function(e){function t(){var e,r;o()(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),b()(f()(r),"state",{height:r.props.defaultHeight||0,width:r.props.defaultWidth||0}),b()(f()(r),"_parentNode",void 0),b()(f()(r),"_autoSizer",void 0),b()(f()(r),"_window",void 0),b()(f()(r),"_detectElementResize",void 0),b()(f()(r),"_onResize",(function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var i=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,s=(r._window||window).getComputedStyle(r._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,u=parseInt(s.paddingTop,10)||0,d=parseInt(s.paddingBottom,10)||0,f=i-u-d,h=a-l-c;(!t&&r.state.height!==f||!n&&r.state.width!==h)&&(r.setState({height:i-u-d,width:a-l-c}),o({height:i,width:a}))}})),b()(f()(r),"_setRef",(function(e){r._autoSizer=e})),r}return p()(t,e),a()(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(v.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,s=a.height,l=a.width,c={overflow:"visible"},u={};return n||(c.height=0,u.height=s),o||(c.width=0,u.width=l),g.createElement("div",{className:r,ref:this._setRef,style:w({},c,{},i)},t(u))}}]),t}(g.Component);b()(C,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}})},function(e,t,r){"use strict";r.d(t,"b",(function(){return q})),r.d(t,"a",(function(){return K}));var n=r(191),o=r.n(n),i=r(83),a=r.n(i),s=r(105),l=r.n(s),c=r(148),u=r.n(c),d=r(149),f=r.n(d),h=r(24),p=r.n(h),m=r(150),b=r.n(m),g=r(16),v=r.n(g),y=r(0),w=r.n(y),C=r(132);function E(e){var t=e.cellCount,r=e.cellSize,n=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof r&&"number"!=typeof a||r===a)||(n(o),l>=0&&l===s&&c())}var S=r(497),k=r.n(S),x=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;a()(this,e),v()(this,"_cellSizeAndPositionData",{}),v()(this,"_lastMeasuredIndex",-1),v()(this,"_lastBatchedIndex",-1),v()(this,"_cellCount",void 0),v()(this,"_cellSizeGetter",void 0),v()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return l()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,r=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=r,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),r=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var o=this._cellSizeGetter({index:n});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(o));null===o?(this._cellSizeAndPositionData[n]={offset:r,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:r,size:o},r+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,r=void 0===t?"auto":t,n=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var a,s=this.getSizeAndPositionOfCell(i),l=s.offset,c=l-n+s.size;switch(r){case"start":a=l;break;case"end":a=c;break;case"center":a=l-(n-s.size)/2;break;default:a=Math.max(c,Math.min(l,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-n,a))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,r=e.offset;if(0===this.getTotalSize())return{};var n=r+t,o=this._findNearestCell(r),i=this.getSizeAndPositionOfCell(o);r=i.offset+i.size;for(var a=o;r<n&&a<this._cellCount-1;)a++,r+=this.getSizeAndPositionOfCell(a).size;return{start:o,stop:a}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,r){for(;t<=e;){var n=t+Math.floor((e-t)/2),o=this.getSizeAndPositionOfCell(n).offset;if(o===r)return n;o<r?t=n+1:o>r&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var r=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=r,r*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),r=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(r,0,e):this._exponentialSearch(r,e)}}]),e}(),O=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},_=function(){function e(t){var r=t.maxScrollSize,n=void 0===r?O():r,o=k()(t,["maxScrollSize"]);a()(this,e),v()(this,"_cellSizeAndPositionManager",void 0),v()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new x(o),this._maxScrollSize=n}return l()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:o});return Math.round(i*(o-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,r=void 0===t?"auto":t,n=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:n,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:n,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:n,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,r=e.offset;return r=this._safeOffsetToOffset({containerSize:t,offset:r}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:r})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,r=e.offset,n=e.totalSize;return n<=t?0:r/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(n===o)return r;var i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:n});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(n===o)return r;var i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:o});return Math.round(i*(n-t))}}]),e}();function P(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),s=i.length!==Object.keys(t).length||i.some((function(e){var r=t[e],n=o[e];return Array.isArray(n)?r.join(",")!==n.join(","):r!==n}));t=o,a&&s&&n(o)}}function A(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,d=e.size,f=e.sizeJustIncreasedFromZero,h=e.updateScrollIndexCallback,p=r.getCellCount(),m=u>=0&&u<p;m&&(d!==s||f||!o||"number"==typeof t&&t!==o||c!==i||u!==a)?h(u):!m&&p>0&&(d<s||p<n)&&l>r.getTotalSize()-d&&h(p-1)}var I,T=!("undefined"==typeof window||!window.document||!window.document.createElement);var M,L=r(340),D=(M="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||M.webkitRequestAnimationFrame||M.mozRequestAnimationFrame||M.oRequestAnimationFrame||M.msRequestAnimationFrame||function(e){return M.setTimeout(e,1e3/60)},j=M.cancelAnimationFrame||M.webkitCancelAnimationFrame||M.mozCancelAnimationFrame||M.oCancelAnimationFrame||M.msCancelAnimationFrame||function(e){M.clearTimeout(e)},F=D,R=j,N=function(e){return R(e.id)};function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(r,!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var B="observed",V="requested",W=function(e){function t(e){var r;a()(this,t),r=u()(this,f()(t).call(this,e)),v()(p()(r),"_onGridRenderedMemoizer",P()),v()(p()(r),"_onScrollMemoizer",P(!1)),v()(p()(r),"_deferredInvalidateColumnIndex",null),v()(p()(r),"_deferredInvalidateRowIndex",null),v()(p()(r),"_recomputeScrollLeftFlag",!1),v()(p()(r),"_recomputeScrollTopFlag",!1),v()(p()(r),"_horizontalScrollBarSize",0),v()(p()(r),"_verticalScrollBarSize",0),v()(p()(r),"_scrollbarPresenceChanged",!1),v()(p()(r),"_scrollingContainer",void 0),v()(p()(r),"_childrenToDisplay",void 0),v()(p()(r),"_columnStartIndex",void 0),v()(p()(r),"_columnStopIndex",void 0),v()(p()(r),"_rowStartIndex",void 0),v()(p()(r),"_rowStopIndex",void 0),v()(p()(r),"_renderedColumnStartIndex",0),v()(p()(r),"_renderedColumnStopIndex",0),v()(p()(r),"_renderedRowStartIndex",0),v()(p()(r),"_renderedRowStopIndex",0),v()(p()(r),"_initialScrollTop",void 0),v()(p()(r),"_initialScrollLeft",void 0),v()(p()(r),"_disablePointerEventsTimeoutId",void 0),v()(p()(r),"_styleCache",{}),v()(p()(r),"_cellCache",{}),v()(p()(r),"_debounceScrollEndedCallback",(function(){r._disablePointerEventsTimeoutId=null,r.setState({isScrolling:!1,needToResetStyleCache:!1})})),v()(p()(r),"_invokeOnGridRenderedHelper",(function(){var e=r.props.onSectionRendered;r._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:r._columnStartIndex,columnOverscanStopIndex:r._columnStopIndex,columnStartIndex:r._renderedColumnStartIndex,columnStopIndex:r._renderedColumnStopIndex,rowOverscanStartIndex:r._rowStartIndex,rowOverscanStopIndex:r._rowStopIndex,rowStartIndex:r._renderedRowStartIndex,rowStopIndex:r._renderedRowStopIndex}})})),v()(p()(r),"_setScrollingContainerRef",(function(e){r._scrollingContainer=e})),v()(p()(r),"_onScroll",(function(e){e.target===r._scrollingContainer&&r.handleScrollEvent(e.target)}));var n=new _({cellCount:e.columnCount,cellSizeGetter:function(r){return t._wrapSizeGetter(e.columnWidth)(r)},estimatedCellSize:t._getEstimatedColumnSize(e)}),o=new _({cellCount:e.rowCount,cellSizeGetter:function(r){return t._wrapSizeGetter(e.rowHeight)(r)},estimatedCellSize:t._getEstimatedRowSize(e)});return r.state={instanceProps:{columnSizeAndPositionManager:n,rowSizeAndPositionManager:o,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(r._initialScrollTop=r._getCalculatedScrollTop(e,r.state)),e.scrollToColumn>0&&(r._initialScrollLeft=r._getCalculatedScrollLeft(e,r.state)),r}return b()(t,e),l()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,r=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,o=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,s=H({},this.props,{scrollToAlignment:r,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,r=void 0===t?0:t,n=e.scrollTop,o=void 0===n?0:n;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,l=i.height,c=i.width,u=this.state.instanceProps,d=u.scrollbarSize,f=u.rowSizeAndPositionManager.getTotalSize(),h=u.columnSizeAndPositionManager.getTotalSize(),p=Math.min(Math.max(0,h-c+d),r),m=Math.min(Math.max(0,f-l+d),o);if(this.state.scrollLeft!==p||this.state.scrollTop!==m){var b={isScrolling:!0,scrollDirectionHorizontal:p!==this.state.scrollLeft?p>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:B};a||(b.scrollTop=m),s||(b.scrollLeft=p),b.needToResetStyleCache=!1,this.setState(b)}this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:m,totalColumnsWidth:h,totalRowsHeight:f})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,r=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(r-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,r=void 0===t?0:t,n=e.rowIndex,o=void 0===n?0:n,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(r),l.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?r<=a:r>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?o<=s:o>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,r=e.rowIndex,n=this.props.columnCount,o=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(H({},o,{scrollToColumn:t})),void 0!==r&&this._updateScrollTopForScrollToRow(H({},o,{scrollToRow:r}))}},{key:"componentDidMount",value:function(){var e=this.props,r=e.getScrollbarSize,n=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,s=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=H({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=r(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=n>0&&l>0;i>=0&&d&&this._updateScrollLeftForScrollToColumn(),s>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var r=this,n=this.props,o=n.autoHeight,i=n.autoWidth,a=n.columnCount,s=n.height,l=n.rowCount,c=n.scrollToAlignment,u=n.scrollToColumn,d=n.scrollToRow,f=n.width,h=this.state,p=h.scrollLeft,m=h.scrollPositionChangeReason,b=h.scrollTop,g=h.instanceProps;this._handleInvalidatedGridSize();var v=a>0&&0===e.columnCount||l>0&&0===e.rowCount;m===V&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||v)&&(this._scrollingContainer.scrollLeft=p),!o&&b>=0&&(b!==this._scrollingContainer.scrollTop||v)&&(this._scrollingContainer.scrollTop=b));var y=(0===e.width||0===e.height)&&s>0&&f>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):A({cellSizeAndPositionManager:g.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:u,size:f,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return r._updateScrollLeftForScrollToColumn(r.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):A({cellSizeAndPositionManager:g.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:b,scrollToAlignment:c,scrollToIndex:d,size:s,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return r._updateScrollTopForScrollToRow(r.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||b!==t.scrollTop){var w=g.rowSizeAndPositionManager.getTotalSize(),C=g.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:b,totalColumnsWidth:C,totalRowsHeight:w})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,n=e.autoWidth,i=e.className,a=e.containerProps,s=e.containerRole,l=e.containerStyle,c=e.height,u=e.id,d=e.noContentRenderer,f=e.role,h=e.style,p=e.tabIndex,m=e.width,b=this.state,g=b.instanceProps,v=b.needToResetStyleCache,w=this._isScrolling(),E={boxSizing:"border-box",direction:"ltr",height:r?"auto":c,position:"relative",width:n?"auto":m,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var S=g.columnSizeAndPositionManager.getTotalSize(),k=g.rowSizeAndPositionManager.getTotalSize(),x=k>c?g.scrollbarSize:0,O=S>m?g.scrollbarSize:0;O===this._horizontalScrollBarSize&&x===this._verticalScrollBarSize||(this._horizontalScrollBarSize=O,this._verticalScrollBarSize=x,this._scrollbarPresenceChanged=!0),E.overflowX=S+x<=m?"hidden":"auto",E.overflowY=k+O<=c?"hidden":"auto";var _=this._childrenToDisplay,P=0===_.length&&c>0&&m>0;return y.createElement("div",o()({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Object(C.a)("ReactVirtualized__Grid",i),id:u,onScroll:this._onScroll,role:f,style:H({},E,{},h),tabIndex:p}),_.length>0&&y.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:H({width:t?"auto":S,height:k,maxWidth:S,maxHeight:k,overflow:"hidden",pointerEvents:w?"none":"",position:"relative"},l)},_),P&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e.cellRenderer,n=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,d=e.width,f=e.isScrollingOptOut,h=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,b=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,g=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,v=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&d>0){var y=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:g}),w=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:b}),C=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:g}),E=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:b});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=w.start,this._renderedRowStopIndex=w.stop;var S=l({direction:"horizontal",cellCount:o,overscanCellsCount:s,scrollDirection:h,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),k=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof w.start?w.start:0,stopIndex:"number"==typeof w.stop?w.stop:-1}),x=S.overscanStartIndex,O=S.overscanStopIndex,_=k.overscanStartIndex,P=k.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var A=_;A<=P;A++)if(!i.has(A,0)){x=0,O=o-1;break}if(!i.hasFixedWidth())for(var I=x;I<=O;I++)if(!i.has(0,I)){_=0,P=u-1;break}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:r,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:x,columnStopIndex:O,deferredMeasurementCache:i,horizontalOffsetAdjustment:C,isScrolling:v,isScrollingOptOut:f,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:_,rowStopIndex:P,scrollLeft:g,scrollTop:b,styleCache:this._styleCache,verticalOffsetAdjustment:E,visibleColumnIndices:y,visibleRowIndices:w}),this._columnStartIndex=x,this._columnStopIndex=O,this._rowStartIndex=_,this._rowStopIndex=P}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=function(e,t){var r;Promise.resolve().then((function(){r=Date.now()}));var n={id:F((function o(){Date.now()-r>=t?e.call():n.id=F(o)}))};return n}(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,r=e.scrollLeft,n=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var r=e.scrollLeft,n=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:i,scrollLeft:r,scrollTop:n,scrollWidth:o})},indices:{scrollLeft:r,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var r=e.scrollLeft,n=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:n});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,r)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,r);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,r)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,r=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(n,"-").concat(o);this._styleCache[i]=e[i],r&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,r);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,r){var n={};0===e.columnCount&&0!==r.scrollLeft||0===e.rowCount&&0!==r.scrollTop?(n.scrollLeft=0,n.scrollTop=0):(e.scrollLeft!==r.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==r.scrollTop&&e.scrollToRow<0)&&U(n,t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=r.instanceProps;return n.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(n.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&U(n,{isScrolling:!1}),E({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,r)}}),E({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,r)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,n.instanceProps=a,H({},n,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,r=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:V};return"number"==typeof r&&r>=0&&(o.scrollDirectionHorizontal=r>t.scrollLeft?1:-1,o.scrollLeft=r),"number"==typeof n&&n>=0&&(o.scrollDirectionVertical=n>t.scrollTop?1:-1,o.scrollTop=n),"number"==typeof r&&r>=0&&r!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var r=e.columnCount,n=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,l=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),d=l.rowSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>n?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,r){var n=r.scrollLeft,o=t._getCalculatedScrollLeft(e,r);return"number"==typeof o&&o>=0&&n!==o?t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var r=e.height,n=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),d=l.columnSizeAndPositionManager.getTotalSize(),f=l.scrollbarSizeMeasured&&d>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:r-f,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,r){var n=r.scrollTop,o=t._getCalculatedScrollTop(e,r);return"number"==typeof o&&o>=0&&n!==o?t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:-1,scrollTop:o}):{}}}]),t}(y.PureComponent);v()(W,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,d=e.rowSizeAndPositionManager,f=e.rowStartIndex,h=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,b=e.visibleColumnIndices,g=e.visibleRowIndices,v=[],y=n.areOffsetsAdjusted()||d.areOffsetsAdjusted(),C=!l&&!y,E=f;E<=h;E++)for(var S=d.getSizeAndPositionOfCell(E),k=o;k<=i;k++){var x=n.getSizeAndPositionOfCell(k),O=k>=b.start&&k<=b.stop&&E>=g.start&&E<=g.stop,_="".concat(E,"-").concat(k),P=void 0;C&&p[_]?P=p[_]:a&&!a.has(E,k)?P={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(P={height:S.size,left:x.offset+s,position:"absolute",top:S.offset+m,width:x.size},p[_]=P);var A={columnIndex:k,isScrolling:l,isVisible:O,key:_,parent:u,rowIndex:E,style:P},I=void 0;!c&&!l||s||m?I=r(A):(t[_]||(t[_]=r(A)),I=t[_]),null!=I&&!1!==I&&(I.props.role||(I=w.a.cloneElement(I,{role:"gridcell"})),v.push(I))}return v},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!I&&0!==I||e)&&T){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),I=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return I},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Object(L.polyfill)(W);var q=W,G=1;function K(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===G?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}},,,function(e,t,r){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function i(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,s=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;u.call(this,e,t,n)}}return e}r.r(t),r.d(t,"polyfill",(function(){return a})),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,r){"use strict";function n(e){if(!e)return"0 Byte";const t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/1024**t).toFixed(2))," ").concat(["Bytes","KB","MB","GB","TB","PB"][t])}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var o=r(0),i=r(93),a=r.n(i),s=r(537),l=["client","offset","scroll","bounds","margin"];function c(e){var t=[];return l.forEach((function(r){e[r]&&t.push(r)})),t}function u(e,t){var r={};if(t.indexOf("client")>-1&&(r.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(r.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(r.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var n=e.getBoundingClientRect();r.bounds={top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height}}if(t.indexOf("margin")>-1){var o=getComputedStyle(e);r.margin={top:o?parseInt(o.marginTop):0,right:o?parseInt(o.marginRight):0,bottom:o?parseInt(o.marginBottom):0,left:o?parseInt(o.marginLeft):0}}return r}var d,f,h,p,m=(d=function(e){var t=e.measure,r=e.measureRef,n=e.contentRect;return(0,e.children)({measure:t,measureRef:r,contentRect:n})},h=f=function(e){var t,r;function i(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t.measure=function(e){var r=u(t._node,p||c(t.props));e&&(r.entry=e[0].contentRect),t._animationFrameID=window.requestAnimationFrame((function(){null!==t._resizeObserver&&(t.setState({contentRect:r}),"function"==typeof t.props.onResize&&t.props.onResize(r))}))},t._handleRef=function(e){null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.unobserve(t._node),t._node=e,null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.observe(t._node);var r=t.props.innerRef;r&&("function"==typeof r?r(t._node):r.current=t._node)},t}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=i.prototype;return a.componentDidMount=function(){this._resizeObserver=new s.a(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),"function"==typeof this.props.onResize&&this.props.onResize(u(this._node,p||c(this.props))))},a.componentWillUnmount=function(){null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null),window.cancelAnimationFrame(this._animationFrameID)},a.render=function(){var e=this.props,t=(e.innerRef,e.onResize,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["innerRef","onResize"]));return Object(o.createElement)(d,n({},t,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},i}(o.Component),f.propTypes={client:a.a.bool,offset:a.a.bool,scroll:a.a.bool,bounds:a.a.bool,margin:a.a.bool,innerRef:a.a.oneOfType([a.a.object,a.a.func]),onResize:a.a.func},h);m.displayName="Measure",m.propTypes.children=a.a.func;t.a=m},,,,,,function(e,t,r){var n=r(74)(r(46),"Set");e.exports=n},function(e,t,r){var n=r(313),o=r(469),i=r(470);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},function(e,t,r){var n=r(482)();e.exports=n},,,,,,,,,function(e,t,r){"use strict";r(277);var n=r(0),o=r.n(n),i=r(4),a=r.n(i),s=r(8),l=r.n(s),c=r(3),u=r.n(c),d=r(12),f=r.n(d),h=r(87),p=r.n(h),m=r(20),b=r(60),g=r(322),v=r(129),y=r(25),w=r(76),C=r(1);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class x{constructor(e,t,r,n,o,i){k(this,"files",[]),k(this,"folders",{}),k(this,"uploadChildFolders",(async e=>{const t=Object.values(this.folders).map((t=>t.upload(this.folderId,e)));await Promise.all(t)})),k(this,"createAndUploadFolder",(async(e,t)=>{await this.buildCurrentFolderFromEntry();let r=!1,n="";try{const e=await this.createFolder();this.folderId=e.id}catch(o){o.code===C.hc?this.folderId=o.context_info.conflicts[0].id:t?e(o):(r=!0,n=o.code,e({code:C.xc}))}if(t)return;const o={extension:"",name:this.name,status:C.Of,isFolder:!0,size:1,progress:100};r&&(o.status=C.Pf,o.error={code:n}),this.addFolderToUploadQueue(o)})),k(this,"getFormattedFiles",(()=>this.files.map((e=>({file:e,options:S({},this.fileAPIOptions,{folderId:this.folderId,uploadInitTimestamp:Date.now()})}))))),k(this,"createFolderUploadNodesFromEntries",(async e=>{await Promise.all(e.map((async e=>{const{isFile:t,name:r}=e;if(t){const t=await Object(y.i)(e);this.files.push(t)}else this.folders[r]=new x(r,this.addFilesToUploadQueue,this.addFolderToUploadQueue,this.fileAPIOptions,S({},this.baseAPIOptions,{},this.fileAPIOptions),e)})))})),k(this,"readEntry",((e,t)=>{e.readEntries((async r=>{r.length?(await this.createFolderUploadNodesFromEntries(r),this.readEntry(e,t)):t()}),u.a)})),k(this,"buildCurrentFolderFromEntry",(()=>this.entry?new Promise((e=>{const t=this.entry.createReader();this.readEntry(t,e)})):Promise.resolve())),k(this,"getFolderId",(()=>this.folderId)),this.name=e,this.addFilesToUploadQueue=t,this.addFolderToUploadQueue=r,this.fileAPIOptions=n,this.baseAPIOptions=o,this.entry=i}async upload(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parentFolderId=e,await this.createAndUploadFolder(t,r),this.getFolderId()&&(this.addFilesToUploadQueue(this.getFormattedFiles(),u.a,!0),await this.uploadChildFolders(t))}createFolder(){const e=new w.a(S({},this.baseAPIOptions,{id:"folder_".concat(this.parentFolderId)}));return new Promise(((t,r)=>{e.create(this.parentFolderId,this.name,t,r)}))}}var O=x;function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=class{constructor(e,t,r,n){P(this,"files",[]),this.addFilesToUploadQueue=e,this.destinationFolderId=t,this.addFolderToUploadQueue=r,this.baseAPIOptions=n}buildFolderTreeFromWebkitRelativePath(e){Array.from(e).forEach((e=>{const t=Object(y.f)(e),{webkitRelativePath:r}=t;if(!r)return;const n=Object(y.g)(e),o=r.split("/").slice(0,-1);if(o.length<=0)return;if(!this.folder){const e=o[0];this.folder=this.createFolderUploadNode(e,n)}1===o.length&&this.folder.files.push(t);let i=this.folder.folders;const a=o.slice(1);a.forEach(((e,r)=>{i[e]||(i[e]=this.createFolderUploadNode(e,n)),r===a.length-1?i[e].files.push(t):i=i[e].folders}))}))}async buildFolderTreeFromDataTransferItem(e){const t=Object(y.b)(e),r=Object(y.c)(e),n=Object(y.e)(t),{name:o}=n;this.folder=this.createFolderUploadNode(o,r,n)}createFolderUploadNode(e,t,r){return new O(e,this.addFilesToUploadQueue,this.addFolderToUploadQueue,t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.baseAPIOptions,{},t),r)}async upload(e){let{errorCallback:t,successCallback:r}=e;await this.folder.upload(this.destinationFolderId,t,!0);const n=this.folder.getFolderId();n&&r([{id:n}])}cancel(){}},I=r(59),T=r(43);function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function L(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function D(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var j=e=>{let{dropValidator:t,onDrop:r}=e;return e=>{var i,s;return s=i=class extends n.PureComponent{constructor(e){super(e),D(this,"removeEventListeners",(e=>{e.removeEventListener("dragenter",this.handleDragEnter),e.removeEventListener("dragover",this.handleDragOver),e.removeEventListener("dragleave",this.handleDragLeave),e.removeEventListener("drop",this.handleDrop)})),D(this,"bindDragDropHandlers",(()=>{const e=Object(T.findDOMNode)(this);e&&e instanceof Element&&(e.addEventListener("dragenter",this.handleDragEnter),e.addEventListener("dragover",this.handleDragOver),e.addEventListener("dragleave",this.handleDragLeave),e.addEventListener("drop",this.handleDrop),this.droppableEl=e)})),D(this,"handleDragEnter",(e=>{if(e.preventDefault(),1==++this.enterLeaveCounter){const{dataTransfer:r}=e,n=!t||t(this.props,r);this.setState({isOver:!0,canDrop:n})}})),D(this,"handleDragOver",(e=>{e.preventDefault();const{canDrop:t}=this.state,{dataTransfer:r}=e;r&&(t?r.effectAllowed&&(r.dropEffect=r.effectAllowed):r.dropEffect="none")})),D(this,"handleDrop",(e=>{e.preventDefault(),this.enterLeaveCounter=0;const{canDrop:t}=this.state;this.setState({canDrop:!1,isDragging:!1,isOver:!1}),t&&r&&r(e,this.props)})),D(this,"handleDragLeave",(e=>{e.preventDefault(),--this.enterLeaveCounter>0||this.setState({canDrop:!1,isDragging:!1,isOver:!1})})),this.enterLeaveCounter=0,this.state={canDrop:!1,isDragging:!1,isOver:!1}}componentDidMount(){this.bindDragDropHandlers()}componentDidUpdate(){this.droppableEl?Object(T.findDOMNode)(this)!==this.droppableEl&&(this.removeEventListeners(this.droppableEl),this.bindDragDropHandlers()):this.bindDragDropHandlers()}componentWillUnmount(){this.droppableEl&&this.droppableEl instanceof Element&&this.removeEventListeners(this.droppableEl)}render(){const t=this.props,{className:r}=t,n=L(t,["className"]),{canDrop:i,isOver:s}=this.state,l=a()(r,{"is-droppable":i,"is-over":s}),c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){D(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{},this.state,{className:l});return o.a.createElement(e,c)}},D(i,"defaultProps",{className:""}),s}},F=r(123),R=r(336),N=r(272),U=r(168),z=r(189),H=r(10);var B=e=>{let{className:t="",height:r=32,title:o,width:i=32}=e;return n.createElement(H.a,{className:"icon-folder-personal ".concat(t),height:r,title:o,viewBox:"0 0 32 32",width:i},n.createElement("path",{d:"M27,25H5c-0.6,0-1-0.4-1-1V8c0-0.6,0.4-1,1-1h8.6L16,9h11c0.6,0,1,0.4,1,1v14C28,24.6,27.6,25,27,25z",fill:"#EFD289"}),n.createElement("path",{d:"M26.5,24h-21C5.2,24,5,23.8,5,23.5V12h22v11.6C27,23.8,26.8,24,26.5,24z",fill:"#FDEFC1"}))};r(690);var V=e=>{let{name:t}=e;return o.a.createElement("span",{className:"bcu-item-label"},t)};r(691);var W=e=>{let{name:t,extension:r,isFolder:n=!1,isResumableUploadsEnabled:i,status:a}=e,s=n?o.a.createElement(B,null):o.a.createElement(U.a,{extension:r});return i&&a===C.Pf&&(s=o.a.createElement(N.a,{className:"bcu-icon-badge",bottomRight:o.a.createElement(z.a,{height:18,width:18})},s)),o.a.createElement("div",{className:"bcu-item-icon-name"},o.a.createElement("div",{className:"bcu-item-icon"},s),o.a.createElement("div",{className:"bcu-item-name"},o.a.createElement(V,{name:t})))};function q(){return q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}var G,K,X,Q=r(100),Z=r(6);r(692);class $ extends n.PureComponent{static getDerivedStateFromProps(e,t){let{percent:r}=e;return r!==t.percent?{percent:r}:null}constructor(e){super(e);const{percent:t}=e;this.state={percent:t}}render(){const{percent:e}=this.state,t={transitionDelay:e>0&&e<100?"0":"0.4s"};return o.a.createElement("div",{className:"bcu-progress-container",style:t},o.a.createElement("div",{className:"bcu-progress",style:{width:"".concat(e,"%")}}))}}X={percent:0},(K="defaultProps")in(G=$)?Object.defineProperty(G,K,{value:X,enumerable:!0,configurable:!0,writable:!0}):G[K]=X;var Y=$;r(693);var J=e=>{let{progress:t}=e;return o.a.createElement("div",{className:"bcu-item-progress"},o.a.createElement(Y,{percent:t}),o.a.createElement("div",{className:"bcu-progress-label"},t,"%"))};function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}const te=(e,t,r)=>{switch(e){case C.xc:return o.a.createElement(Q.a,Z.a.uploadsOneOrMoreChildFoldersFailedToUploadMessage);case C.Ac:return r?o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta):o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededErrorMessage);case C.hc:return o.a.createElement(Q.a,Z.a.uploadsItemNameInUseErrorMessage);case C.gc:return o.a.createElement(Q.a,ee({},Z.a.uploadsProvidedFolderNameInvalidMessage,{values:{name:t}}));case C.Cc:return o.a.createElement(Q.a,Z.a.uploadsStorageLimitErrorMessage);case C.Bc:return o.a.createElement(Q.a,Z.a.uploadsPendingFolderSizeLimitErrorMessage);case C.yc:return o.a.createElement(Q.a,Z.a.uploadsPackageUploadErrorMessage);default:return o.a.createElement(Q.a,Z.a.uploadsDefaultErrorMessage)}};var re=r(33),ne=r(202),oe=r(89),ie=r(31);var ae=()=>o.a.createElement("div",{className:"be-icon-in-progress"},o.a.createElement(oe.a,null),o.a.createElement(ie.b,null)),se=r(2);var le=e=>{let{className:t="",color:r=se.g,height:o=32,title:i,width:a=32}=e;return n.createElement(H.a,{className:"bdl-IconRetry ".concat(t),height:o,title:i,viewBox:"0 0 32 32",width:a},n.createElement("g",{className:"fill-color",fill:r,fillRule:"evenodd"},n.createElement("path",{d:"M25.023 16c0-6.075-4.925-11-11-11s-11 4.925-11 11 4.925 11 11 11c2.601 0 5.06-.904 7.02-2.53a1 1 0 1 1 1.278 1.538A12.949 12.949 0 0 1 14.023 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13a1 1 0 0 1-2 0z",fillRule:"nonzero"}),n.createElement("path",{d:"M20 14l6 6 6-6z"})))},ce=r(45),ue=r(23),de=r(55),fe=r(17);r(694);var he=Object(re.c)((e=>{let t,{error:r={},intl:n,isFolder:i=!1,isResumableUploadsEnabled:a,onClick:s,onUpgradeCTAClick:l,status:c}=e,u=o.a.createElement(oe.a,null);const{code:d}=r,{formatMessage:f}=n;if(i&&c!==C.Sf)return null;switch(c){case C.Of:u=o.a.createElement(ne.a,{color:"#26C281"}),a||(t=Z.a.remove);break;case C.Pf:u=o.a.createElement(le,{height:24,width:24}),t=a?Z.a.resume:Z.a.retry;break;case C.Rf:case C.Tf:a?u=o.a.createElement(ce.c,null):(u=o.a.createElement(ae,null),t=Z.a.uploadsCancelButtonTooltip);break;case C.Sf:default:a?u=o.a.createElement(ce.c,null):t=Z.a.uploadsCancelButtonTooltip}if(c===C.Pf&&d===C.Ac&&l)return o.a.createElement(de.a,{onClick:l,type:"button"},o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta));const h=c===C.Tf,p=t&&f(t);return o.a.createElement("div",{className:"bcu-item-action"},t?o.a.createElement(fe.c,{position:"top-left",text:p},o.a.createElement(ue.a,{"aria-label":p,isDisabled:h,onClick:s,type:"button"},u)):u)}));function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},me.apply(this,arguments)}var be=Object(re.c)((e=>{let{intl:t,onClick:r,status:n}=e;const i={};let a=null;n===C.Rf?a="uploadcancel":n===C.Pf&&(a="remove-failed"),a&&(i["data-resin-target"]=a);const s=n===C.Tf,l=t.formatMessage(Z.a.remove);return o.a.createElement("div",{className:"bcu-item-action"},o.a.createElement(fe.c,{position:"top-left",text:l},o.a.createElement(ue.a,me({"aria-label":l,isDisabled:s,onClick:r,type:"button"},i),o.a.createElement(oe.a,null))))}));r(569),r(695);var ge=e=>{let{isResumableUploadsEnabled:t=!1,items:r,onClick:n,onRemoveClick:i=u.a,onUpgradeCTAClick:a}=e;return o.a.createElement(R.a,null,(e=>{let{width:s,height:l}=e;const c=(e=>t=>{let{rowData:r}=t;return o.a.createElement(W,q({isResumableUploadsEnabled:e},r))})(t),u=(d=!!a,e=>{let{rowData:t}=e;const{status:r,error:n={},name:i,isFolder:a,file:s}=t,{code:l}=n;if(a&&r!==C.Pf)return null;switch(r){case C.Rf:case C.Tf:return o.a.createElement(J,t);case C.Pf:return b.a.isSafari()&&l===C.wc&&-1!==s.name.indexOf(".zip")?te(C.yc,s.name):te(l,i,d);default:return null}});var d;const f=((e,t,r)=>n=>{let{rowData:i}=n;return o.a.createElement(he,pe({},i,{isResumableUploadsEnabled:e,onClick:()=>t(i),onUpgradeCTAClick:r}))})(t,n,a),h=(p=i,e=>{let{rowData:t}=e;return t.isFolder?null:o.a.createElement(be,{status:t.status,onClick:()=>p(t)})});var p;return o.a.createElement(F.b,{className:"bcu-item-list",disableHeader:!0,headerHeight:0,height:l,rowClassName:"bcu-item-row",rowCount:r.length,rowGetter:e=>{let{index:t}=e;return r[t]},rowHeight:50,width:s},o.a.createElement(F.a,{cellRenderer:c,dataKey:"name",flexGrow:1,flexShrink:1,width:300}),o.a.createElement(F.a,{cellRenderer:u,dataKey:"progress",flexGrow:1,flexShrink:1,style:{textAlign:"right"},width:300}),o.a.createElement(F.a,{className:t?"":"bcu-item-list-action-column",cellRenderer:f,dataKey:"status",flexShrink:0,width:a?100:25}),t&&o.a.createElement(F.a,{className:"bcu-item-list-action-column",cellRenderer:h,dataKey:"remove",flexShrink:0,width:25}))}))},ve=r(499);var ye=e=>{let{className:t="",color:r=se.b,height:o=55,title:i,width:a=46}=e;return n.createElement(H.a,{className:"upload-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 46 55",width:a},n.createElement("path",{d:"M1,52V3A2,2,0,0,1,3,1H30.91a2,2,0,0,1,1.41.59L44.41,13.68A2,2,0,0,1,45,15.09V52a2,2,0,0,1-2,2H3A2,2,0,0,1,1,52Z",fill:"#fff"}),n.createElement("path",{className:"fill-color",d:"M45.12,13,33,.88A3,3,0,0,0,30.91,0H3A3,3,0,0,0,0,3V52a3,3,0,0,0,3,3H43a3,3,0,0,0,3-3V15.09A3,3,0,0,0,45.12,13ZM43,53H3a1,1,0,0,1-1-1V3A1,1,0,0,1,3,2H30V13a3,3,0,0,0,3,3H44V52A1,1,0,0,1,43,53Z",fill:r}),n.createElement("path",{className:"fill-color",d:"M21,29v4a1,1,0,0,0,.91,1h2.18A1,1,0,0,0,25,33V29h2.74a1,1,0,0,0,.76-1.65l-4.83-5.62a1,1,0,0,0-1.41-.11l-.11.11-4.82,5.62A1,1,0,0,0,18.09,29Z",fill:r}),n.createElement("polyline",{className:"stroke-color",fill:"none",points:"13 36 13 39 33 39 33 36",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))};var we=e=>{let{className:t="",color:r=se.b,height:o=49,title:i,width:a=50}=e;return n.createElement(H.a,{className:"upload-success-state ".concat(t),height:o,title:i,viewBox:"0 0 50 49",width:a},n.createElement("path",{className:"fill-color",d:"M41.88,4.39l4,4.53L17,38.73,4.24,26,9,21.28l5.89,6.09L17,29.57l2.16-2.18,22.74-23M42,0,17,25.28,9,17,0,26,17,43,50,9,42,0Z",fill:r}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"6",x:"4",y:"46"}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"6",x:"33",y:"46"}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"21",x:"11",y:"46"}))};var Ce=e=>{let{handleChange:t,inputLabel:r,inputLabelClass:o="",isFolderUpload:i=!1,isMultiple:a=!0}=e;const s=n.useRef(null);return r?n.createElement("label",{className:o,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||s.current&&s.current.click()},tabIndex:0},r,n.createElement("input",{ref:s,directory:i?"":void 0,multiple:a,onChange:t,type:"file",webkitdirectory:i?"":void 0})):null};function Ee(){return Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var Se=e=>{let{fileInputLabel:t,folderInputLabel:r,message:o,onChange:i,useButton:a=!1}=e;const s=o?n.createElement("div",{className:"bcu-upload-state-message"},o):null,l=a?"btn btn-primary be-input-btn":"be-input-link",c=!a&&!!r,u=e=>{if(!i)return;i(e);e.currentTarget.value=""},d=n.createElement(Ce,{handleChange:u,inputLabel:t,inputLabelClass:l}),f=c?n.createElement(Ce,{handleChange:u,inputLabel:r,inputLabelClass:l,isFolderUpload:!0}):null;let h;return d&&f?h=n.createElement(Q.a,Ee({},Z.a.uploadOptions,{values:{option1:d,option2:f}})):d&&(h=d),n.createElement("div",null,s,h&&n.createElement("div",{className:"bcu-upload-input-container"},h))};r(696);var ke=e=>{let t,r,{canDrop:n,hasItems:i,isOver:s,isTouch:l,view:c,onSelect:u,isFolderUploadEnabled:d}=e;switch(c){case C.tg:t=o.a.createElement(ve.a,null),r=o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadError)});break;case C.Bg:t=o.a.createElement(ye,null),r=n&&i?o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadInProgress)}):l?o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadNoDragDrop),onChange:u,useButton:!0}):o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadEmptyFileInput),folderInputLabel:d&&o.a.createElement(Q.a,Z.a.uploadEmptyFolderInput),message:d?o.a.createElement(Q.a,Z.a.uploadEmptyWithFolderUploadEnabled):o.a.createElement(Q.a,Z.a.uploadEmptyWithFolderUploadDisabled),onChange:u});break;case C.Cg:t=o.a.createElement(ye,null),r=o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadInProgress)});break;case C.Dg:t=o.a.createElement(we,null),r=o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadSuccessFileInput),folderInputLabel:d&&o.a.createElement(Q.a,Z.a.uploadSuccessFolderInput),message:o.a.createElement(Q.a,Z.a.uploadSuccess),onChange:u,useButton:l})}const f=a()("bcu-upload-state",{"bcu-is-droppable":s&&n,"bcu-is-not-droppable":s&&!n,"bcu-has-items":i});return o.a.createElement("div",{className:f},o.a.createElement("div",null,t,r),o.a.createElement("div",{className:"bcu-drag-drop-overlay"}))};r(697);var xe=j({dropValidator:(e,t)=>{let{allowedTypes:r}=e,{types:n}=t;if(n instanceof Array)return Array.from(n).some((e=>r.indexOf(e)>-1));return r.filter((e=>n.contains(e))).length>0},onDrop:(e,t)=>{let{addDataTransferItemsToUploadQueue:r}=t;const{dataTransfer:n}=e;r(n)}})((e=>{let{canDrop:t,isOver:r,isTouch:n,view:i,items:a,addFiles:s,onClick:l,isFolderUploadEnabled:c}=e;const u=a.length>0;return o.a.createElement("div",{className:"bcu-droppable-content"},o.a.createElement(ge,{items:a,onClick:l,view:i}),o.a.createElement(ke,{canDrop:t,hasItems:u,isFolderUploadEnabled:c,isOver:r,isTouch:n,onSelect:e=>{let{target:{files:t}}=e;return s(t)},view:i}))})),Oe=r(90),_e=r(153);r(698);function Pe(){return Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pe.apply(this,arguments)}var Ae=e=>{let{onClick:t,hasMultipleFailedUploads:r}=e;const n=r?Z.a.resumeAll:Z.a.resume,i={[_e.a]:"uploadresumeheader"};return o.a.createElement("div",{className:"bcu-uploads-manager-action"},o.a.createElement(Oe.a,Pe({onClick:e=>{e.stopPropagation(),t(C.Pf)},type:"button"},i),o.a.createElement(Q.a,n)))};r(699);var Ie=e=>{let{customPrompt:t,hasMultipleFailedUploads:r,isDragging:n,isExpanded:i,isResumeVisible:a,isVisible:s,onClick:l,onKeyDown:c,onUploadsManagerActionClick:u,percent:d,view:f}=e;const h=n||!s,p=t||Z.a.uploadsManagerUploadPrompt,m=h?o.a.createElement(Q.a,p):(e=>{switch(e){case C.Cg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadInProgress);case C.Dg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadComplete);case C.Bg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadPrompt);case C.tg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadFailed);default:return""}})(f),b=h?0:((e,t)=>{switch(e){case C.Dg:return 100;case C.Bg:case C.tg:return 0;default:return t}})(f,d);return o.a.createElement("div",{"aria-hidden":!s,className:"bcu-overall-progress-bar",onClick:l,onKeyDown:c,role:"button",tabIndex:s?"0":"-1"},o.a.createElement("span",{className:"bcu-upload-status"},m),o.a.createElement(Y,{percent:b}),a&&o.a.createElement(Ae,{hasMultipleFailedUploads:r,onClick:u}),o.a.createElement("span",{className:"bcu-uploads-manager-toggle"}))};r(700);var Te=e=>{let{isExpanded:t,isVisible:r,isResumableUploadsEnabled:n,isDragging:i,items:s,onItemActionClick:l,onRemoveActionClick:c,onUpgradeCTAClick:u,onUploadsManagerActionClick:d,toggleUploadsManager:f,view:h}=e;let p=0,m=0,b=0;s.forEach((e=>{e.status===C.Pf||e.isFolder?e.status===C.Pf&&(p+=1):(m+=e.size,b+=e.size*e.progress/100)}));const g=b/m*100,v=n&&p>0,y=p>1;return o.a.createElement("div",{"data-resin-component":"uploadsmanager","data-resin-feature":"uploads",className:a()("be bcu-uploads-manager-container",{"bcu-is-expanded":t,"bcu-is-visible":r})},o.a.createElement(Ie,{isDragging:i,isExpanded:t,isResumeVisible:v,isVisible:r,hasMultipleFailedUploads:y,onClick:f,onKeyDown:e=>{switch(e.key){case"Enter":case"Space":f()}},onUploadsManagerActionClick:d,percent:g,view:h}),o.a.createElement("div",{className:"bcu-uploads-manager-item-list"},o.a.createElement(ge,{isResumableUploadsEnabled:n,items:s,onClick:l,onRemoveClick:c,onUpgradeCTAClick:u,view:h})))},Me=r(26);r(701);function Le(){return Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Le.apply(this,arguments)}var De=e=>{let{isLoading:t,hasFiles:r,errorCode:n,onCancel:i,onClose:a,onUpload:s,fileLimit:l,isDone:c}=e;const u=r,d=!r||c,f=!r;let h;if(n===C.zc)h=o.a.createElement(Q.a,Le({},Z.a.uploadErrorTooManyFiles,{values:{fileLimit:l}}));return o.a.createElement("div",{className:"bcu-footer"},o.a.createElement("div",{className:"bcu-footer-left"},a?o.a.createElement(Me.b,{disabled:u,isDisabled:u,onClick:a,type:"button"},o.a.createElement(Q.a,Z.a.close)):null),h&&o.a.createElement("div",{className:"bcu-footer-message"},h),o.a.createElement("div",{className:"bcu-footer-right"},o.a.createElement(Me.b,{disabled:d,isDisabled:d,onClick:i,type:"button"},o.a.createElement(Q.a,Z.a.cancel)),o.a.createElement(de.a,{disabled:f,isDisabled:f,isLoading:t,onClick:s,type:"button"},o.a.createElement(Q.a,Z.a.upload))))};r(333),r(248);function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Re(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Re(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ne=104857600;class Ue extends n.Component{constructor(e){var t;super(e),t=this,Re(this,"isAutoExpanded",!1),Re(this,"getBaseAPIOptions",(()=>{const{token:e,sharedLink:t,sharedLinkPassword:r,apiHost:n,uploadHost:o,clientName:i,requestInterceptor:a,responseInterceptor:s}=this.props;return{token:e,sharedLink:t,sharedLinkPassword:r,apiHost:n,uploadHost:o,clientName:i,requestInterceptor:a,responseInterceptor:s}})),Re(this,"getNewFiles",(e=>{const{rootFolderId:t}=this.props,{itemIds:r}=this.state;return Array.from(e).filter((e=>!r[Object(y.j)(e,t)]))})),Re(this,"getNewDataTransferItems",(e=>{const{rootFolderId:t}=this.props,{itemIds:r}=this.state;return Array.from(e).filter((e=>!r[Object(y.d)(e,t)]))})),Re(this,"addFilesToUploadQueue",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{onBeforeUpload:o,rootFolderId:i}=t.props;if(!e||0===e.length)return;const a=t.getNewFiles(e);if(0===a.length)return;const s={};a.forEach((e=>{s[Object(y.j)(e,i)]=!0})),clearTimeout(t.resetItemsTimeout);const l=Object(y.f)(a[0]);t.setState((e=>({itemIds:Fe({},e.itemIds,{},s)})),(()=>{o(a),l.webkitRelativePath&&!n?t.addFilesWithRelativePathToQueue(a,r):t.addFilesWithoutRelativePathToQueue(a,r)}))})),Re(this,"addDroppedItemsToUploadQueue",((e,t)=>{e.items?this.addDataTransferItemsToUploadQueue(e.items,t):Array.from(e.files).forEach((e=>{this.addFilesToUploadQueue([e],t)}))})),Re(this,"addDataTransferItemsToUploadQueue",((e,t)=>{const{isFolderUploadEnabled:r}=this.props;if(!e||0===e.length)return;const n=[],o=[],i=[];Array.from(e).forEach((e=>{const t=Object(y.m)(e);b.a.isSafari()&&Object(y.n)(e)?i.push(e):t&&r?n.push(e):t||o.push(e)})),this.addFileDataTransferItemsToUploadQueue(o,t),this.addPackageDataTransferItemsToUploadQueue(i,t),this.addFolderDataTransferItemsToUploadQueue(n,t)})),Re(this,"addFileDataTransferItemsToUploadQueue",((e,t)=>{e.forEach((async e=>{const r=await Object(y.h)(e);r&&this.addFilesToUploadQueue([r],t)}))})),Re(this,"addPackageDataTransferItemsToUploadQueue",((e,t)=>{e.forEach((e=>{const r=Object(y.l)(e);r&&this.addFilesToUploadQueue([r],t)}))})),Re(this,"addFolderDataTransferItemsToUploadQueue",(async(e,t)=>{const{rootFolderId:r}=this.props,{itemIds:n}=this.state;if(0===e.length)return;const o=this.getNewDataTransferItems(e);if(o.forEach((e=>{n[Object(y.d)(e,r)]=!0})),0===o.length)return;const i=Object(y.c)(o[0]),{folderId:a=r}=i;o.forEach((async e=>{const r=this.getFolderUploadAPI(a);await r.buildFolderTreeFromDataTransferItem(e),this.addFolderToUploadQueue(r,t,i)}))})),Re(this,"getFolderUploadAPI",(e=>{const t=this.getBaseAPIOptions();return new A(this.addFilesToUploadQueue,e,this.addToQueue,t)})),Re(this,"addFolderToUploadQueue",((e,t,r)=>{this.addToQueue([{api:e,extension:"",isFolder:!0,name:e.folder.name,options:r,progress:0,size:1,status:C.Sf}],t)})),Re(this,"addFilesWithoutRelativePathToQueue",((e,t)=>{const{itemIds:r}=this.state,{rootFolderId:n}=this.props,o=e.map((e=>{const t=Object(y.f)(e),o=Object(y.g)(e),{name:i,size:a}=t;let s=i.substr(i.lastIndexOf(".")+1);s.length===i.length&&(s="");const l={api:this.getUploadAPI(t,o),extension:s,file:t,name:i,progress:0,size:a,status:C.Sf};return o&&(l.options=o),r[Object(y.j)(l,n)]=!0,l}));0!==o.length&&(this.setState({itemIds:r}),this.addToQueue(o,t))})),Re(this,"addToQueue",((e,t)=>{const{fileLimit:r,useUploadsManager:n}=this.props,{items:o,isUploadsManagerExpanded:i}=this.state;let a=[];const s=o.length,l=s+e.length;l>r?(a=o.concat(e.slice(0,r-o.length)),this.setState({errorCode:C.zc})):(a=o.concat(e),this.setState({errorCode:""}),s<5&&l>=5&&n&&!i&&(this.isAutoExpanded=!0,this.expandUploadsManager())),this.updateViewAndCollection(a,(()=>{t&&t();const{view:e}=this.state;e===C.Cg&&this.upload()}))})),Re(this,"removeFileFromUploadQueue",(e=>{const{onCancel:t,useUploadsManager:r}=this.props,{items:n}=this.state;this.setState({errorCode:""});const{api:o}=e;o.cancel(),n.splice(n.indexOf(e),1),t([e]),this.updateViewAndCollection(n,(()=>{r&&!n.length&&this.minimizeUploadsManager();const{view:e}=this.state;e===C.Cg&&this.upload()}))})),Re(this,"cancel",(()=>{const{items:e}=this.state;e.forEach((e=>{const{api:t,status:r}=e;r===C.Rf&&t.cancel()})),this.updateViewAndCollection([])})),Re(this,"upload",(()=>{const{items:e}=this.state;e.forEach((e=>{e.status===C.Sf&&this.uploadFile(e)}))})),Re(this,"handleUploadSuccess",((e,t)=>{const{onUpload:r,useUploadsManager:n}=this.props;if(e.progress=100,e.error||(e.status=C.Of),t&&1===t.length){const[r]=t;e.boxFile=r}const{items:o}=this.state;o[o.indexOf(e)]=e,n?(r(e),this.checkClearUploadItems()):r(e.boxFile),this.updateViewAndCollection(o,(()=>{const{view:e}=this.state;e===C.Cg&&this.upload()}))})),Re(this,"resetUploadManagerExpandState",(()=>{this.isAutoExpanded=!1,this.setState({isUploadsManagerExpanded:!1})})),Re(this,"handleUploadError",((e,t)=>{const{onError:r,useUploadsManager:n}=this.props,{file:o}=e,{items:i}=this.state;e.status=C.Pf,e.error=t;const a=[...i],s=a.findIndex((t=>t===e));-1!==s&&(a[s]=e);r(n?{item:e,error:t}:{file:o,error:t}),this.updateViewAndCollection(a,(()=>{n&&(this.isAutoExpanded=!0,this.expandUploadsManager());const{view:e}=this.state;e===C.Cg&&this.upload()}))})),Re(this,"handleUploadProgress",((e,t)=>{if(!t.total||e.status===C.Of||e.status===C.Tf)return;e.progress=Math.min(Math.round(t.loaded/t.total*100),100),e.status=100===e.progress?C.Tf:C.Rf;const{onProgress:r}=this.props;r(e);const{items:n}=this.state;n[n.indexOf(e)]=e,this.updateViewAndCollection(n)})),Re(this,"onClick",(e=>{const{chunked:t,isResumableUploadsEnabled:r,onClickCancel:n,onClickResume:o,onClickRetry:i}=this.props,{status:a,file:s}=e,l=t&&!e.isFolder&&s.size>Ne&&Object(y.o)(),c=r&&l&&e.api.sessionId;switch(a){case C.Rf:case C.Tf:case C.Of:case C.Sf:this.removeFileFromUploadQueue(e),n(e);break;case C.Pf:c?(e.bytesUploadedOnLastResume=e.api.totalUploadedBytes,this.resumeFile(e),o(e)):(this.resetFile(e),this.uploadFile(e),i(e))}})),Re(this,"clickAllWithStatus",(e=>{const{items:t}=this.state;t.forEach((t=>{e&&t.status!==e||this.onClick(t)}))})),Re(this,"expandUploadsManager",(()=>{const{useUploadsManager:e}=this.props;e&&(clearTimeout(this.resetItemsTimeout),this.setState({isUploadsManagerExpanded:!0}))})),Re(this,"minimizeUploadsManager",(()=>{const{useUploadsManager:e,onMinimize:t}=this.props;e&&t&&(clearTimeout(this.resetItemsTimeout),t(),this.resetUploadManagerExpandState(),this.checkClearUploadItems())})),Re(this,"checkClearUploadItems",(()=>{this.resetItemsTimeout=setTimeout(this.resetUploadsManagerItemsWhenUploadsComplete,8e3)})),Re(this,"toggleUploadsManager",(()=>{const{isUploadsManagerExpanded:e}=this.state;e?this.minimizeUploadsManager():this.expandUploadsManager()})),Re(this,"resetUploadsManagerItemsWhenUploadsComplete",(()=>{const{view:e,items:t,isUploadsManagerExpanded:r}=this.state,{useUploadsManager:n,onCancel:o}=this.props;r&&n&&t.length||e===C.Cg||(o(t),this.setState({items:[],itemIds:{}}))})),Re(this,"addFilesWithOptionsToUploadQueueAndStartUpload",((e,t)=>{this.addFilesToUploadQueue(e,this.upload),this.addDataTransferItemsToUploadQueue(t,this.upload)}));const{rootFolderId:r,token:n,useUploadsManager:o}=e;this.state={view:r&&n||o?C.Bg:C.tg,items:[],errorCode:"",itemIds:{},isUploadsManagerExpanded:!1},this.id=f()("bcu_")}componentDidMount(){this.rootElement=document.getElementById(this.id),this.appElement=this.rootElement}componentWillUnmount(){this.cancel()}componentDidUpdate(){const{files:e,dataTransferItems:t,useUploadsManager:r}=this.props,n=Array.isArray(e)&&e.length>0,o=Array.isArray(t)&&t.length>0;r&&(n||o)&&this.addFilesWithOptionsToUploadQueueAndStartUpload(e,t)}createAPIFactory(e){const{rootFolderId:t}=this.props,r=l()(e,"folderId")||t,n=l()(e,"fileId"),o=Object(m.c)(r),i=n?Object(m.b)(n):null;return new I.a(Fe({},this.getBaseAPIOptions(),{id:i||o},e))}addFilesWithRelativePathToQueue(e,t){if(0===e.length)return;const{rootFolderId:r}=this.props,n=Object(y.g)(e[0]),{folderId:o=r}=n,i=this.getFolderUploadAPI(o);i.buildFolderTreeFromWebkitRelativePath(e),this.addFolderToUploadQueue(i,t,n)}getUploadAPI(e,t){const{chunked:r,isResumableUploadsEnabled:n,isUploadFallbackLogicEnabled:o}=this.props,{size:i}=e,a=this.createAPIFactory(t);if(r&&i>Ne){if(Object(y.o)()){const e=a.getChunkedUploadAPI();return n&&(e.isResumableUploadsEnabled=!0),o&&(e.isUploadFallbackLogicEnabled=!0),e}console.warn("Chunked uploading is enabled, but not supported by your browser. You may need to enable HTTPS.")}const s=a.getPlainUploadAPI();return o&&(s.isUploadFallbackLogicEnabled=!0),s}uploadFile(e){const{overwrite:t,rootFolderId:r}=this.props,{api:n,file:o,options:i}=e,{items:a}=this.state;if(a.filter((e=>e.status===C.Rf)).length>=6)return;const s={file:o,folderId:i&&i.folderId?i.folderId:r,errorCallback:t=>this.handleUploadError(e,t),progressCallback:t=>this.handleUploadProgress(e,t),successCallback:t=>this.handleUploadSuccess(e,t),overwrite:t,fileId:i&&i.fileId?i.fileId:null};e.status=C.Rf,a[a.indexOf(e)]=e,n.upload(s),this.updateViewAndCollection(a)}resumeFile(e){const{overwrite:t,rootFolderId:r,onResume:n}=this.props,{api:o,file:i,options:a}=e,{items:s}=this.state;if(s.filter((e=>e.status===C.Rf)).length>=6)return;const l={file:i,folderId:a&&a.folderId?a.folderId:r,errorCallback:t=>this.handleUploadError(e,t),progressCallback:t=>this.handleUploadProgress(e,t),successCallback:t=>this.handleUploadSuccess(e,t),overwrite:t,sessionId:o&&o.sessionId?o.sessionId:null,fileId:a&&a.fileId?a.fileId:null};e.status=C.Rf,delete e.error,s[s.indexOf(e)]=e,n(e),o.resume(l),this.updateViewAndCollection(s)}resetFile(e){const{api:t,file:r,options:n}=e;t&&"function"==typeof t.cancel&&t.cancel(),e.api=this.getUploadAPI(r,n),e.progress=0,e.status=C.Sf,delete e.error;const{items:o}=this.state;o[o.indexOf(e)]=e,this.updateViewAndCollection(o)}updateViewAndCollection(e,t){const{onComplete:r,useUploadsManager:n,isResumableUploadsEnabled:o}=this.props,i=e.some((e=>e.status!==C.Of)),a=e.some((e=>e.status===C.Pf)),s=!e.some((e=>e.status!==C.Sf)),l=e.every((e=>e.status!==C.Sf&&e.status!==C.Rf)),c=e.every((e=>e.status===C.Of||e.status===C.Pf)),u=o?c:l;let d="";e&&0===e.length||s?d=C.Bg:a&&n?d=C.tg:i?d=C.Cg:(d=C.Dg,n||(r(p()(e.map((e=>e.boxFile)))),e=[])),u&&n&&(this.isAutoExpanded&&this.resetUploadManagerExpandState(),r(e));const f={items:e,view:d};0===e.length&&(f.itemIds={},f.errorCode=""),this.setState(f,t)}render(){const{className:e,fileLimit:t,isDraggingItemsToUploadsManager:r=!1,isFolderUploadEnabled:n,isResumableUploadsEnabled:i,isTouch:s,language:l,measureRef:c,messages:u,onClose:d,onUpgradeCTAClick:f,useUploadsManager:h}=this.props,{view:p,items:m,errorCode:b,isUploadsManagerExpanded:g}=this.state,y=!(0===m.length)||!!r,w=0!==m.length,E=m.some((e=>e.status===C.Rf)),S=m.every((e=>e.status===C.Of||e.status===C.Tf)),k=a()("bcu",e,{"be-app-element":!h,be:!h});return o.a.createElement(v.a,{language:l,messages:u},h?o.a.createElement("div",{ref:c,className:k,id:this.id},o.a.createElement(Te,{isDragging:r,isExpanded:g,isResumableUploadsEnabled:i,isVisible:y,items:m,onItemActionClick:this.onClick,onRemoveActionClick:this.removeFileFromUploadQueue,onUpgradeCTAClick:f,onUploadsManagerActionClick:this.clickAllWithStatus,toggleUploadsManager:this.toggleUploadsManager,view:p})):o.a.createElement("div",{ref:c,className:k,id:this.id},o.a.createElement(xe,{addDataTransferItemsToUploadQueue:this.addDroppedItemsToUploadQueue,addFiles:this.addFilesToUploadQueue,allowedTypes:["Files"],isFolderUploadEnabled:n,isTouch:s,items:m,onClick:this.onClick,view:p}),o.a.createElement(De,{errorCode:b,fileLimit:t,hasFiles:w,isLoading:E,onCancel:this.cancel,onClose:d,onUpload:this.upload,isDone:S})))}}Re(Ue,"defaultProps",{rootFolderId:C.ib,apiHost:C.U,chunked:!0,className:"",clientName:C.I,fileLimit:100,uploadHost:C.X,onBeforeUpload:u.a,onClickCancel:u.a,onClickResume:u.a,onClickRetry:u.a,onClose:u.a,onComplete:u.a,onError:u.a,onResume:u.a,onUpload:u.a,onProgress:u.a,overwrite:!0,useUploadsManager:!1,files:[],onMinimize:u.a,onCancel:u.a,isFolderUploadEnabled:!1,isResumableUploadsEnabled:!1,isUploadFallbackLogicEnabled:!1,dataTransferItems:[],isDraggingItemsToUploadsManager:!1});t.a=Object(g.a)(Ue)},,,,,,,,,,function(e,t,r){"use strict";var n=r(58),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}function g(){}function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(h(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=b.prototype;var y=v.prototype=new g;y.constructor=v,n(y,b.prototype),y.isPureReactComponent=!0;var w={current:null},C=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,i={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)C.call(t,n)&&!E.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===i[n]&&(i[n]=l[n]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:w.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var x=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===n?"."+O(l,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(x,"$&/")+"/"),_(a,t,r,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(x,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=n+O(s=e[c],c);l+=_(s,t,r,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=_(s=s.value,t,r,u=n+O(s,c++),a);else if("object"===s)throw t=""+e,Error(h(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function P(e,t,r){if(null==e)return e;var n=[],o=0;return _(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function A(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function T(){var e=I.current;if(null===e)throw Error(h(321));return e}var M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:P,forEach:function(e,t,r){P(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(h(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error(h(267,e));var i=n({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=w.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)C.call(t,u)&&!E.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:A}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return T().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,r){return T().useReducer(e,t,r)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.1"},function(e,t,r){"use strict";var n=r(0),o=r(58),i=r(371);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h=Object.prototype.hasOwnProperty,p={},m={};function b(e,t,r,n,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function w(e,t,r,n){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0===o.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!h.call(m,e)||!h.call(p,e)&&(f.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var C=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,S=60106,k=60107,x=60108,O=60114,_=60109,P=60110,A=60112,I=60113,T=60120,M=60115,L=60116,D=60121,j=60128,F=60129,R=60130,N=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;E=U("react.element"),S=U("react.portal"),k=U("react.fragment"),x=U("react.strict_mode"),O=U("react.profiler"),_=U("react.provider"),P=U("react.context"),A=U("react.forward_ref"),I=U("react.suspense"),T=U("react.suspense_list"),M=U("react.memo"),L=U("react.lazy"),D=U("react.block"),U("react.scope"),j=U("react.opaque.id"),F=U("react.debug_trace_mode"),R=U("react.offscreen"),N=U("react.legacy_hidden")}var z,H="function"==typeof Symbol&&Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=H&&e[H]||e["@@iterator"])?e:null}function V(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function q(e,t){if(!e||W)return"";W=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=n.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?V(e):""}function G(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=q(e.type,!1);case 11:return e=q(e.type.render,!1);case 22:return e=q(e.type._render,!1);case 1:return e=q(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case O:return"Profiler";case x:return"StrictMode";case I:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case A:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return K(e.type);case D:return K(e._render);case L:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function X(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var r=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function ee(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=X(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function re(e,t){te(e,t);var r=X(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,r):t.hasOwnProperty("defaultValue")&&oe(e,t.type,X(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ne(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function oe(e,t,r){"number"===t&&Y(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+X(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:X(r)}}function ce(e,t){var r=X(t.value),n=X(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var pe,me,be=(me=function(e,t){if(e.namespaceURI!==de.svg||"innerHTML"in e)e.innerHTML=t;else{for((pe=pe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var ve={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","ms","Moz","O"];function we(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ve.hasOwnProperty(e)&&ve[e]?(""+t).trim():t+"px"}function Ce(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=we(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(ve).forEach((function(e){ye.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ve[t]=ve[e]}))}));var Ee=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ke(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Oe=null,_e=null,Pe=null;function Ae(e){if(e=ro(e)){if("function"!=typeof Oe)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),Oe(e.stateNode,e.type,t))}}function Ie(e){_e?Pe?Pe.push(e):Pe=[e]:_e=e}function Te(){if(_e){var e=_e,t=Pe;if(Pe=_e=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Me(e,t){return e(t)}function Le(e,t,r,n,o){return e(t,r,n,o)}function De(){}var je=Me,Fe=!1,Re=!1;function Ne(){null===_e&&null===Pe||(De(),Te())}function Ue(e,t){var r=e.stateNode;if(null===r)return null;var n=oo(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(a(231,t,typeof r));return r}var ze=!1;if(d)try{var He={};Object.defineProperty(He,"passive",{get:function(){ze=!0}}),window.addEventListener("test",He,He),window.removeEventListener("test",He,He)}catch(me){ze=!1}function Be(e,t,r,n,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Ve=!1,We=null,qe=!1,Ge=null,Ke={onError:function(e){Ve=!0,We=e}};function Xe(e,t,r,n,o,i,a,s,l){Ve=!1,We=null,Be.apply(Ke,arguments)}function Qe(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Qe(e)!==e)throw Error(a(188))}function Ye(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(n=o.return)){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return $e(o),e;if(i===n)return $e(o),t;i=i.sibling}throw Error(a(188))}if(r.return!==n.return)r=o,n=i;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var r=e.alternate;null!==t;){if(t===e||t===r)return!0;t=t.return}return!1}var et,tt,rt,nt,ot=!1,it=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,r,n,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|r,nativeEvent:o,targetContainers:[n]}}function pt(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function mt(e,t,r,n,o,i){return null===e||e.nativeEvent!==i?(e=ht(t,r,n,o,i),null!==t&&(null!==(t=ro(t))&&tt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function bt(e){var t=to(e.target);if(null!==t){var r=Qe(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ze(r)))return e.blockedOn=t,void nt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(r)}))}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=ro(r))&&tt(t),e.blockedOn=r,!1;t.shift()}return!0}function vt(e,t,r){gt(e)&&r.delete(t)}function yt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r){e.blockedOn=r;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&gt(at)&&(at=null),null!==st&&gt(st)&&(st=null),null!==lt&&gt(lt)&&(lt=null),ct.forEach(vt),ut.forEach(vt)}function wt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,yt)))}function Ct(e){function t(t){return wt(t,e)}if(0<it.length){wt(it[0],e);for(var r=1;r<it.length;r++){var n=it[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==at&&wt(at,e),null!==st&&wt(st,e),null!==lt&&wt(lt,e),ct.forEach(t),ut.forEach(t),r=0;r<dt.length;r++)(n=dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<dt.length&&null===(r=dt[0]).blockedOn;)bt(r),null===r.blockedOn&&dt.shift()}function Et(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var St={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},kt={},xt={};function Ot(e){if(kt[e])return kt[e];if(!St[e])return e;var t,r=St[e];for(t in r)if(r.hasOwnProperty(t)&&t in xt)return kt[e]=r[t];return e}d&&(xt=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var _t=Ot("animationend"),Pt=Ot("animationiteration"),At=Ot("animationstart"),It=Ot("transitionend"),Tt=new Map,Mt=new Map,Lt=["abort","abort",_t,"animationEnd",Pt,"animationIteration",At,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",It,"transitionEnd","waiting","waiting"];function Dt(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],o=e[r+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Mt.set(n,t),Tt.set(n,o),c(o,[n])}}(0,i.unstable_now)();var jt=8;function Ft(e){if(0!=(1&e))return jt=15,1;if(0!=(2&e))return jt=14,2;if(0!=(4&e))return jt=13,4;var t=24&e;return 0!==t?(jt=12,t):0!=(32&e)?(jt=11,32):0!==(t=192&e)?(jt=10,t):0!=(256&e)?(jt=9,256):0!==(t=3584&e)?(jt=8,t):0!=(4096&e)?(jt=7,4096):0!==(t=4186112&e)?(jt=6,t):0!==(t=62914560&e)?(jt=5,t):67108864&e?(jt=4,67108864):0!=(134217728&e)?(jt=3,134217728):0!==(t=805306368&e)?(jt=2,t):0!=(1073741824&e)?(jt=1,1073741824):(jt=8,e)}function Rt(e,t){var r=e.pendingLanes;if(0===r)return jt=0;var n=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)n=i,o=jt=15;else if(0!==(i=134217727&r)){var l=i&~a;0!==l?(n=Ft(l),o=jt):0!==(s&=i)&&(n=Ft(s),o=jt)}else 0!==(i=r&~a)?(n=Ft(i),o=jt):0!==s&&(n=Ft(s),o=jt);if(0===n)return 0;if(n=r&((0>(n=31-Vt(n))?0:1<<n)<<1)-1,0!==t&&t!==n&&0==(t&a)){if(Ft(t),o<=jt)return t;jt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-Vt(t)),n|=e[r],t&=~o;return n}function Nt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ut(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Ut(10,t):e;case 10:return 0===(e=zt(192&~t))?Ut(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function Ht(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Bt(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,(e=e.eventTimes)[t=31-Vt(t)]=r}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/qt|0)|0},Wt=Math.log,qt=Math.LN2;var Gt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Xt=!0;function Qt(e,t,r,n){Fe||De();var o=$t,i=Fe;Fe=!0;try{Le(o,e,t,r,n)}finally{(Fe=i)||Ne()}}function Zt(e,t,r,n){Kt(Gt,$t.bind(null,e,t,r,n))}function $t(e,t,r,n){var o;if(Xt)if((o=0==(4&t))&&0<it.length&&-1<ft.indexOf(e))e=ht(null,e,t,r,n),it.push(e);else{var i=Yt(e,t,r,n);if(null===i)o&&pt(e,n);else{if(o){if(-1<ft.indexOf(e))return e=ht(i,e,t,r,n),void it.push(e);if(function(e,t,r,n,o){switch(t){case"focusin":return at=mt(at,e,t,r,n,o),!0;case"dragenter":return st=mt(st,e,t,r,n,o),!0;case"mouseover":return lt=mt(lt,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return ct.set(i,mt(ct.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,ut.set(i,mt(ut.get(i)||null,e,t,r,n,o)),!0}return!1}(i,e,t,r,n))return;pt(e,n)}Dn(e,t,n,null,r)}}}function Yt(e,t,r,n){var o=xe(n);if(null!==(o=to(o))){var i=Qe(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ze(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Dn(e,t,n,o,r),null}var Jt=null,er=null,tr=null;function rr(){if(tr)return tr;var e,t,r=er,n=r.length,o="value"in Jt?Jt.value:Jt.textContent,i=o.length;for(e=0;e<n&&r[e]===o[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===o[i-t];t++);return tr=o.slice(e,1<t?1-t:void 0)}function nr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function or(){return!0}function ir(){return!1}function ar(e){function t(t,r,n,o,i){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?or:ir,this.isPropagationStopped=ir,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),t}var sr,lr,cr,ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dr=ar(ur),fr=o({},ur,{view:0,detail:0}),hr=ar(fr),pr=o({},fr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Or,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cr&&(cr&&"mousemove"===e.type?(sr=e.screenX-cr.screenX,lr=e.screenY-cr.screenY):lr=sr=0,cr=e),sr)},movementY:function(e){return"movementY"in e?e.movementY:lr}}),mr=ar(pr),br=ar(o({},pr,{dataTransfer:0})),gr=ar(o({},fr,{relatedTarget:0})),vr=ar(o({},ur,{animationName:0,elapsedTime:0,pseudoElement:0})),yr=o({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wr=ar(yr),Cr=ar(o({},ur,{data:0})),Er={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function Or(){return xr}var _r=o({},fr,{key:function(e){if(e.key){var t=Er[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Or,charCode:function(e){return"keypress"===e.type?nr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pr=ar(_r),Ar=ar(o({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ir=ar(o({},fr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Or})),Tr=ar(o({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mr=o({},pr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Lr=ar(Mr),Dr=[9,13,27,32],jr=d&&"CompositionEvent"in window,Fr=null;d&&"documentMode"in document&&(Fr=document.documentMode);var Rr=d&&"TextEvent"in window&&!Fr,Nr=d&&(!jr||Fr&&8<Fr&&11>=Fr),Ur=String.fromCharCode(32),zr=!1;function Hr(e,t){switch(e){case"keyup":return-1!==Dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Br(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1;var Wr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wr[e.type]:"textarea"===t}function Gr(e,t,r,n){Ie(n),0<(t=Fn(t,"onChange")).length&&(r=new dr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Kr=null,Xr=null;function Qr(e){Pn(e,0)}function Zr(e){if($(no(e)))return e}function $r(e,t){if("change"===e)return t}var Yr=!1;if(d){var Jr;if(d){var en="oninput"in document;if(!en){var tn=document.createElement("div");tn.setAttribute("oninput","return;"),en="function"==typeof tn.oninput}Jr=en}else Jr=!1;Yr=Jr&&(!document.documentMode||9<document.documentMode)}function rn(){Kr&&(Kr.detachEvent("onpropertychange",nn),Xr=Kr=null)}function nn(e){if("value"===e.propertyName&&Zr(Xr)){var t=[];if(Gr(t,Xr,e,xe(e)),e=Qr,Fe)e(t);else{Fe=!0;try{Me(e,t)}finally{Fe=!1,Ne()}}}}function on(e,t,r){"focusin"===e?(rn(),Xr=r,(Kr=t).attachEvent("onpropertychange",nn)):"focusout"===e&&rn()}function an(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zr(Xr)}function sn(e,t){if("click"===e)return Zr(t)}function ln(e,t){if("input"===e||"change"===e)return Zr(t)}var cn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},un=Object.prototype.hasOwnProperty;function dn(e,t){if(cn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!un.call(t,r[n])||!cn(e[r[n]],t[r[n]]))return!1;return!0}function fn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hn(e,t){var r,n=fn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=fn(n)}}function pn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?pn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Y((e=t.contentWindow).document)}return t}function bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=d&&"documentMode"in document&&11>=document.documentMode,vn=null,yn=null,wn=null,Cn=!1;function En(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;Cn||null==vn||vn!==Y(n)||("selectionStart"in(n=vn)&&bn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},wn&&dn(wn,n)||(wn=n,0<(n=Fn(yn,"onSelect")).length&&(t=new dr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=vn)))}Dt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dt(Lt,2);for(var Sn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kn=0;kn<Sn.length;kn++)Mt.set(Sn[kn],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),On=new Set("cancel close invalid load scroll toggle".split(" ").concat(xn));function _n(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,i,s,l,c){if(Xe.apply(this,arguments),Ve){if(!Ve)throw Error(a(198));var u=We;Ve=!1,We=null,qe||(qe=!0,Ge=u)}}(n,t,void 0,e),e.currentTarget=null}function Pn(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;_n(o,s,c),i=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;_n(o,s,c),i=l}}}if(qe)throw e=Ge,qe=!1,Ge=null,e}function An(e,t){var r=io(t),n=e+"__bubble";r.has(n)||(Ln(t,e,2,!1),r.add(n))}var In="_reactListening"+Math.random().toString(36).slice(2);function Tn(e){e[In]||(e[In]=!0,s.forEach((function(t){On.has(t)||Mn(t,!1,e,null),Mn(t,!0,e,null)})))}function Mn(e,t,r,n){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=r;if("selectionchange"===e&&9!==r.nodeType&&(i=r.ownerDocument),null!==n&&!t&&On.has(e)){if("scroll"!==e)return;o|=2,i=n}var a=io(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Ln(i,e,o,t),a.add(s))}function Ln(e,t,r,n){var o=Mt.get(t);switch(void 0===o?2:o){case 0:o=Qt;break;case 1:o=Zt;break;default:o=$t}r=o.bind(null,t,r,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Dn(e,t,r,n,o){var i=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){n=i=a;continue e}s=s.parentNode}}n=n.return}!function(e,t,r){if(Re)return e(t,r);Re=!0;try{return je(e,t,r)}finally{Re=!1,Ne()}}((function(){var n=i,o=xe(r),a=[];e:{var s=Tt.get(e);if(void 0!==s){var l=dr,c=e;switch(e){case"keypress":if(0===nr(r))break e;case"keydown":case"keyup":l=Pr;break;case"focusin":c="focus",l=gr;break;case"focusout":c="blur",l=gr;break;case"beforeblur":case"afterblur":l=gr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=br;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ir;break;case _t:case Pt:case At:l=vr;break;case It:l=Tr;break;case"scroll":l=hr;break;case"wheel":l=Lr;break;case"copy":case"cut":case"paste":l=wr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Ar}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var h,p=n;null!==p;){var m=(h=p).stateNode;if(5===h.tag&&null!==m&&(h=m,null!==f&&(null!=(m=Ue(p,f))&&u.push(jn(p,m,h)))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,r,o),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=r.relatedTarget||r.fromElement)||!to(c)&&!c[Jn])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?to(c):null)&&(c!==(d=Qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=mr,m="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=Ar,m="onPointerLeave",f="onPointerEnter",p="pointer"),d=null==l?s:no(l),h=null==c?s:no(c),(s=new u(m,p+"leave",l,r,o)).target=d,s.relatedTarget=h,m=null,to(o)===n&&((u=new u(f,p+"enter",c,r,o)).target=h,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,p=0,h=u=l;h;h=Rn(h))p++;for(h=0,m=f;m;m=Rn(m))h++;for(;0<p-h;)u=Rn(u),p--;for(;0<h-p;)f=Rn(f),h--;for(;p--;){if(u===f||null!==f&&u===f.alternate)break e;u=Rn(u),f=Rn(f)}u=null}else u=null;null!==l&&Nn(a,s,l,u,!1),null!==c&&null!==d&&Nn(a,d,c,u,!0)}if("select"===(l=(s=n?no(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=$r;else if(qr(s))if(Yr)b=ln;else{b=an;var g=on}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=sn);switch(b&&(b=b(e,n))?Gr(a,b,r,o):(g&&g(e,s,n),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&oe(s,"number",s.value)),g=n?no(n):window,e){case"focusin":(qr(g)||"true"===g.contentEditable)&&(vn=g,yn=n,wn=null);break;case"focusout":wn=yn=vn=null;break;case"mousedown":Cn=!0;break;case"contextmenu":case"mouseup":case"dragend":Cn=!1,En(a,r,o);break;case"selectionchange":if(gn)break;case"keydown":case"keyup":En(a,r,o)}var v;if(jr)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Vr?Hr(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(Nr&&"ko"!==r.locale&&(Vr||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vr&&(v=rr()):(er="value"in(Jt=o)?Jt.value:Jt.textContent,Vr=!0)),0<(g=Fn(n,y)).length&&(y=new Cr(y,e,null,r,o),a.push({event:y,listeners:g}),v?y.data=v:null!==(v=Br(r))&&(y.data=v))),(v=Rr?function(e,t){switch(e){case"compositionend":return Br(t);case"keypress":return 32!==t.which?null:(zr=!0,Ur);case"textInput":return(e=t.data)===Ur&&zr?null:e;default:return null}}(e,r):function(e,t){if(Vr)return"compositionend"===e||!jr&&Hr(e,t)?(e=rr(),tr=er=Jt=null,Vr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nr&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=Fn(n,"onBeforeInput")).length&&(o=new Cr("onBeforeInput","beforeinput",null,r,o),a.push({event:o,listeners:n}),o.data=v))}Pn(a,t)}))}function jn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Fn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ue(e,r))&&n.unshift(jn(e,i,o)),null!=(i=Ue(e,t))&&n.push(jn(e,i,o))),e=e.return}return n}function Rn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Nn(e,t,r,n,o){for(var i=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Ue(r,i))&&a.unshift(jn(r,l,s)):o||null!=(l=Ue(r,i))&&a.push(jn(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}function Un(){}var zn=null,Hn=null;function Bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wn="function"==typeof setTimeout?setTimeout:void 0,qn="function"==typeof clearTimeout?clearTimeout:void 0;function Gn(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var Qn=0;var Zn=Math.random().toString(36).slice(2),$n="__reactFiber$"+Zn,Yn="__reactProps$"+Zn,Jn="__reactContainer$"+Zn,eo="__reactEvents$"+Zn;function to(e){var t=e[$n];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[$n]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=Xn(e);null!==e;){if(r=e[$n])return r;e=Xn(e)}return t}r=(e=r).parentNode}return null}function ro(e){return!(e=e[$n]||e[Jn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function no(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Yn]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function co(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function uo(e,t){so++,ao[so]=e.current,e.current=t}var fo={},ho=lo(fo),po=lo(!1),mo=fo;function bo(e,t){var r=e.type.contextTypes;if(!r)return fo;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in r)i[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!=(e=e.childContextTypes)}function vo(){co(po),co(ho)}function yo(e,t,r){if(ho.current!==fo)throw Error(a(168));uo(ho,t),uo(po,r)}function wo(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in e))throw Error(a(108,K(t)||"Unknown",i));return o({},r,n)}function Co(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fo,mo=ho.current,uo(ho,e),uo(po,po.current),!0}function Eo(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=wo(e,t,mo),n.__reactInternalMemoizedMergedChildContext=e,co(po),co(ho),uo(ho,e)):co(po),uo(po,r)}var So=null,ko=null,xo=i.unstable_runWithPriority,Oo=i.unstable_scheduleCallback,_o=i.unstable_cancelCallback,Po=i.unstable_shouldYield,Ao=i.unstable_requestPaint,Io=i.unstable_now,To=i.unstable_getCurrentPriorityLevel,Mo=i.unstable_ImmediatePriority,Lo=i.unstable_UserBlockingPriority,Do=i.unstable_NormalPriority,jo=i.unstable_LowPriority,Fo=i.unstable_IdlePriority,Ro={},No=void 0!==Ao?Ao:function(){},Uo=null,zo=null,Ho=!1,Bo=Io(),Vo=1e4>Bo?Io:function(){return Io()-Bo};function Wo(){switch(To()){case Mo:return 99;case Lo:return 98;case Do:return 97;case jo:return 96;case Fo:return 95;default:throw Error(a(332))}}function qo(e){switch(e){case 99:return Mo;case 98:return Lo;case 97:return Do;case 96:return jo;case 95:return Fo;default:throw Error(a(332))}}function Go(e,t){return e=qo(e),xo(e,t)}function Ko(e,t,r){return e=qo(e),Oo(e,t,r)}function Xo(){if(null!==zo){var e=zo;zo=null,_o(e)}Qo()}function Qo(){if(!Ho&&null!==Uo){Ho=!0;var e=0;try{var t=Uo;Go(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Uo=null}catch(t){throw null!==Uo&&(Uo=Uo.slice(e+1)),Oo(Mo,Xo),t}finally{Ho=!1}}}var Zo=C.ReactCurrentBatchConfig;function $o(e,t){if(e&&e.defaultProps){for(var r in t=o({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var Yo=lo(null),Jo=null,ei=null,ti=null;function ri(){ti=ei=Jo=null}function ni(e){var t=Yo.current;co(Yo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)===t){if(null===r||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,null!==r&&(r.childLanes|=t);e=e.return}}function ii(e,t){Jo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Fa=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Jo)throw Error(a(308));ei=t,Jo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var si=!1;function li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ui(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function fi(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?o=i=a:i=i.next=a,r=r.next}while(null!==r);null===i?o=i=t:i=i.next=t}else o=i=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function hi(e,t,r,n){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(f=i.baseState,s=0,d=u=c=null;;){l=a.lane;var h=a.eventTime;if((n&l)===l){null!==d&&(d=d.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,h=r,m.tag){case 1:if("function"==typeof(p=m.payload)){f=p.call(h,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(h,f,l):p))break e;f=o({},f,l);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else h={eventTime:h,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=h,c=f):d=d.next=h,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Hs|=s,e.lanes=s,e.memoizedState=f}}function pi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(a(191,o));o.call(n)}}}var mi=(new n.Component).refs;function bi(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:o({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var gi={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=fl(),o=hl(e),i=ui(n,o);i.payload=t,null!=r&&(i.callback=r),di(e,i),pl(e,o,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=fl(),o=hl(e),i=ui(n,o);i.tag=1,i.payload=t,null!=r&&(i.callback=r),di(e,i),pl(e,o,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=fl(),n=hl(e),o=ui(r,n);o.tag=2,null!=t&&(o.callback=t),di(e,o),pl(e,n,r)}};function vi(e,t,r,n,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dn(r,n)||!dn(o,i))}function yi(e,t,r){var n=!1,o=fo,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=go(t)?mo:ho.current,i=(n=null!=(n=t.contextTypes))?bo(e,o):fo),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function wi(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function Ci(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=go(t)?mo:ho.current,o.context=bo(e,i)),hi(e,r,o,n),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(bi(e,t,i,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),hi(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ei=Array.isArray;function Si(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=n.refs;t===mi&&(t=n.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function ki(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xi(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.flags=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Gl(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags=2,r):n:(t.flags=2,r):r}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Zl(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=o(t,r.props)).ref=Si(e,t,r),n.return=e,n):((n=Kl(r.type,r.key,r.props,null,e.mode,n)).ref=Si(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=$l(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,i){return null===t||7!==t.tag?((t=Xl(r,e.mode,n,i)).return=e,t):((t=o(t,r)).return=e,t)}function f(e,t,r){if("string"==typeof t||"number"==typeof t)return(t=Zl(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(r=Kl(t.type,t.key,t.props,null,e.mode,r)).ref=Si(e,null,t),r.return=e,r;case S:return(t=$l(t,e.mode,r)).return=e,t}if(Ei(t)||B(t))return(t=Xl(t,e.mode,r,null)).return=e,t;ki(e,t)}return null}function h(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return r.key===o?r.type===k?d(e,t,r.props.children,n,o):c(e,t,r,n):null;case S:return r.key===o?u(e,t,r,n):null}if(Ei(r)||B(r))return null!==o?null:d(e,t,r,n,null);ki(e,r)}return null}function p(e,t,r,n,o){if("string"==typeof n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return e=e.get(null===n.key?r:n.key)||null,n.type===k?d(t,e,n.props.children,o,n.key):c(t,e,n,o);case S:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o)}if(Ei(n)||B(n))return d(t,e=e.get(r)||null,n,o,null);ki(t,n)}return null}function m(o,a,s,l){for(var c=null,u=null,d=a,m=a=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var g=h(o,d,s[m],l);if(null===g){null===d&&(d=b);break}e&&d&&null===g.alternate&&t(o,d),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g,d=b}if(m===s.length)return r(o,d),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=n(o,d);m<s.length;m++)null!==(b=p(d,o,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),a=i(b,a,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(o,e)})),c}function b(o,s,l,c){var u=B(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,b=s=0,g=null,v=l.next();null!==m&&!v.done;b++,v=l.next()){m.index>b?(g=m,m=null):g=m.sibling;var y=h(o,m,v.value,c);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),s=i(y,s,b),null===d?u=y:d.sibling=y,d=y,m=g}if(v.done)return r(o,m),u;if(null===m){for(;!v.done;b++,v=l.next())null!==(v=f(o,v.value,c))&&(s=i(v,s,b),null===d?u=v:d.sibling=v,d=v);return u}for(m=n(o,m);!v.done;b++,v=l.next())null!==(v=p(m,o,b,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?b:v.key),s=i(v,s,b),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,n,i,l){var c="object"==typeof i&&null!==i&&i.type===k&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case E:e:{for(u=i.key,c=n;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===k){r(e,c.sibling),(n=o(c,i.props.children)).return=e,e=n;break e}}else if(c.elementType===i.type){r(e,c.sibling),(n=o(c,i.props)).ref=Si(e,c,i),n.return=e,e=n;break e}r(e,c);break}t(e,c),c=c.sibling}i.type===k?((n=Xl(i.props.children,e.mode,l,i.key)).return=e,e=n):((l=Kl(i.type,i.key,i.props,null,e.mode,l)).ref=Si(e,n,i),l.return=e,e=l)}return s(e);case S:e:{for(c=i.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===i.containerInfo&&n.stateNode.implementation===i.implementation){r(e,n.sibling),(n=o(n,i.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=$l(i,e.mode,l)).return=e,e=n}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==n&&6===n.tag?(r(e,n.sibling),(n=o(n,i)).return=e,e=n):(r(e,n),(n=Zl(i,e.mode,l)).return=e,e=n),s(e);if(Ei(i))return m(e,n,i,l);if(B(i))return b(e,n,i,l);if(u&&ki(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(e.type)||"Component"))}return r(e,n)}}var Oi=xi(!0),_i=xi(!1),Pi={},Ai=lo(Pi),Ii=lo(Pi),Ti=lo(Pi);function Mi(e){if(e===Pi)throw Error(a(174));return e}function Li(e,t){switch(uo(Ti,t),uo(Ii,e),uo(Ai,Pi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Ai),uo(Ai,t)}function Di(){co(Ai),co(Ii),co(Ti)}function ji(e){Mi(Ti.current);var t=Mi(Ai.current),r=he(t,e.type);t!==r&&(uo(Ii,e),uo(Ai,r))}function Fi(e){Ii.current===e&&(co(Ai),co(Ii))}var Ri=lo(0);function Ni(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ui=null,zi=null,Hi=!1;function Bi(e,t){var r=Wl(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Vi(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wi(e){if(Hi){var t=zi;if(t){var r=t;if(!Vi(e,t)){if(!(t=Kn(r.nextSibling))||!Vi(e,t))return e.flags=-1025&e.flags|2,Hi=!1,void(Ui=e);Bi(Ui,r)}Ui=e,zi=Kn(t.firstChild)}else e.flags=-1025&e.flags|2,Hi=!1,Ui=e}}function qi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ui=e}function Gi(e){if(e!==Ui)return!1;if(!Hi)return qi(e),Hi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Vn(t,e.memoizedProps))for(t=zi;t;)Bi(e,t),t=Kn(t.nextSibling);if(qi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){zi=Kn(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}zi=null}}else zi=Ui?Kn(e.stateNode.nextSibling):null;return!0}function Ki(){zi=Ui=null,Hi=!1}var Xi=[];function Qi(){for(var e=0;e<Xi.length;e++)Xi[e]._workInProgressVersionPrimary=null;Xi.length=0}var Zi=C.ReactCurrentDispatcher,$i=C.ReactCurrentBatchConfig,Yi=0,Ji=null,ea=null,ta=null,ra=!1,na=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!cn(e[r],t[r]))return!1;return!0}function aa(e,t,r,n,o,i){if(Yi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zi.current=null===e||null===e.memoizedState?Ma:La,e=r(n,o),na){i=0;do{if(na=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Zi.current=Da,e=r(n,o)}while(na)}if(Zi.current=Ta,t=null!==ea&&null!==ea.next,Yi=0,ta=ea=Ji=null,ra=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Ji.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Ji.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Ji.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=ea,o=n.baseQueue,i=r.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}n.baseQueue=o=i,r.pending=null}if(null!==o){o=o.next,n=n.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Yi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),n=c.eagerReducer===e?c.eagerState:e(n,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=n):l=l.next=d,Ji.lanes|=u,Hs|=u}c=c.next}while(null!==c&&c!==o);null===l?i=n:l.next=s,cn(n,t.memoizedState)||(Fa=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function da(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(null!==o){r.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);cn(i,t.memoizedState)||(Fa=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function fa(e,t,r){var n=t._getVersion;n=n(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===n:(e=e.mutableReadLanes,(e=(Yi&e)===e)&&(t._workInProgressVersionPrimary=n,Xi.push(t))),e)return r(t._source);throw Xi.push(t),Error(a(350))}function ha(e,t,r,n){var o=Ls;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Zi.current,c=l.useState((function(){return fa(o,t,r)})),u=c[1],d=c[0];c=ta;var f=e.memoizedState,h=f.refs,p=h.getSnapshot,m=f.source;f=f.subscribe;var b=Ji;return e.memoizedState={refs:h,source:t,subscribe:n},l.useEffect((function(){h.getSnapshot=r,h.setSnapshot=u;var e=i(t._source);if(!cn(s,e)){e=r(t._source),cn(d,e)||(u(e),e=hl(b),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var n=o.entanglements,a=e;0<a;){var l=31-Vt(a),c=1<<l;n[l]|=e,a&=~c}}}),[r,t,n]),l.useEffect((function(){return n(t._source,(function(){var e=h.getSnapshot,r=h.setSnapshot;try{r(e(t._source));var n=hl(b);o.mutableReadLanes|=n&o.pendingLanes}catch(e){r((function(){throw e}))}}))}),[t,n]),cn(p,r)&&cn(m,t)&&cn(f,n)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:d}).dispatch=u=Ia.bind(null,Ji,e),c.queue=e,c.baseQueue=null,d=fa(o,t,r),c.memoizedState=c.baseState=d),d}function pa(e,t,r){return ha(la(),e,t,r)}function ma(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=Ia.bind(null,Ji,e),[t.memoizedState,e]}function ba(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function ga(e){return e={current:e},sa().memoizedState=e}function va(){return la().memoizedState}function ya(e,t,r,n){var o=sa();Ji.flags|=e,o.memoizedState=ba(1|t,r,void 0,void 0===n?null:n)}function wa(e,t,r,n){var o=la();n=void 0===n?null:n;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==n&&ia(n,a.deps))return void ba(t,r,i,n)}Ji.flags|=e,o.memoizedState=ba(1|t,r,i,n)}function Ca(e,t){return ya(516,4,e,t)}function Ea(e,t){return wa(516,4,e,t)}function Sa(e,t){return wa(4,2,e,t)}function ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function xa(e,t,r){return r=null!=r?r.concat([e]):null,wa(4,2,ka.bind(null,t,e),r)}function Oa(){}function _a(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ia(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Pa(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ia(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Aa(e,t){var r=Wo();Go(98>r?98:r,(function(){e(!0)})),Go(97<r?97:r,(function(){var r=$i.transition;$i.transition=1;try{e(!1),t()}finally{$i.transition=r}}))}function Ia(e,t,r){var n=fl(),o=hl(e),i={lane:o,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Ji||null!==a&&a===Ji)na=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,r);if(i.eagerReducer=a,i.eagerState=l,cn(l,s))return}catch(e){}pl(e,o,n)}}var Ta={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},Ma={readContext:ai,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:Ca,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,ya(4,2,ka.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ya(4,2,e,t)},useMemo:function(e,t){var r=sa();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=sa();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ia.bind(null,Ji,e),[n.memoizedState,e]},useRef:ga,useState:ma,useDebugValue:Oa,useDeferredValue:function(e){var t=ma(e),r=t[0],n=t[1];return Ca((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=ma(!1),t=e[0];return ga(e=Aa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,r){var n=sa();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},ha(n,e,t,r)},useOpaqueIdentifier:function(){if(Hi){var e=!1,t=function(e){return{$$typeof:j,toString:e,valueOf:e}}((function(){throw e||(e=!0,r("r:"+(Qn++).toString(36))),Error(a(355))})),r=ma(t)[1];return 0==(2&Ji.mode)&&(Ji.flags|=516,ba(5,(function(){r("r:"+(Qn++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Qn++).toString(36)),t},unstable_isNewReconciler:!1},La={readContext:ai,useCallback:_a,useContext:ai,useEffect:Ea,useImperativeHandle:xa,useLayoutEffect:Sa,useMemo:Pa,useReducer:ua,useRef:va,useState:function(){return ua(ca)},useDebugValue:Oa,useDeferredValue:function(e){var t=ua(ca),r=t[0],n=t[1];return Ea((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=ua(ca)[0];return[va().current,e]},useMutableSource:pa,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Da={readContext:ai,useCallback:_a,useContext:ai,useEffect:Ea,useImperativeHandle:xa,useLayoutEffect:Sa,useMemo:Pa,useReducer:da,useRef:va,useState:function(){return da(ca)},useDebugValue:Oa,useDeferredValue:function(e){var t=da(ca),r=t[0],n=t[1];return Ea((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=da(ca)[0];return[va().current,e]},useMutableSource:pa,useOpaqueIdentifier:function(){return da(ca)[0]},unstable_isNewReconciler:!1},ja=C.ReactCurrentOwner,Fa=!1;function Ra(e,t,r,n){t.child=null===e?_i(t,null,r,n):Oi(t,e.child,r,n)}function Na(e,t,r,n,o){r=r.render;var i=t.ref;return ii(t,o),n=aa(e,t,r,n,i,o),null===e||Fa?(t.flags|=1,Ra(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Ua(e,t,r,n,o,i){if(null===e){var a=r.type;return"function"!=typeof a||ql(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Kl(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,n,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(r=null!==(r=r.compare)?r:dn)(o,n)&&e.ref===t.ref)?is(e,t,i):(t.flags|=1,(e=Gl(a,n)).ref=t.ref,e.return=t,t.child=e)}function za(e,t,r,n,o,i){if(null!==e&&dn(e.memoizedProps,n)&&e.ref===t.ref){if(Fa=!1,0==(i&o))return t.lanes=e.lanes,is(e,t,i);0!=(16384&e.flags)&&(Fa=!0)}return Va(e,t,r,n,i)}function Ha(e,t,r){var n=t.pendingProps,o=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode||"unstable-defer-without-hiding"===n.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},El(t,r);else{if(0==(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},El(t,e),null;t.memoizedState={baseLanes:0},El(t,null!==i?i.baseLanes:r)}else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,El(t,n);return Ra(e,t,o,r),t.child}function Ba(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=128)}function Va(e,t,r,n,o){var i=go(r)?mo:ho.current;return i=bo(t,i),ii(t,o),r=aa(e,t,r,n,i,o),null===e||Fa?(t.flags|=1,Ra(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Wa(e,t,r,n,o){if(go(r)){var i=!0;Co(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,r,n),Ci(t,r,n,o),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;"object"==typeof c&&null!==c?c=ai(c):c=bo(t,c=go(r)?mo:ho.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==c)&&wi(t,a,n,c),si=!1;var f=t.memoizedState;a.state=f,hi(t,n,a,o),l=t.memoizedState,s!==n||f!==l||po.current||si?("function"==typeof u&&(bi(t,r,u,n),l=t.memoizedState),(s=si||vi(t,r,s,n,f,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4),n=!1)}else{a=t.stateNode,ci(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:$o(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"==typeof(l=r.contextType)&&null!==l?l=ai(l):l=bo(t,l=go(r)?mo:ho.current);var h=r.getDerivedStateFromProps;(u="function"==typeof h||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&wi(t,a,n,l),si=!1,f=t.memoizedState,a.state=f,hi(t,n,a,o);var p=t.memoizedState;s!==d||f!==p||po.current||si?("function"==typeof h&&(bi(t,r,h,n),p=t.memoizedState),(c=si||vi(t,r,c,n,f,p,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=l,n=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),n=!1)}return qa(e,t,r,n,i,o)}function qa(e,t,r,n,o,i){Ba(e,t);var a=0!=(64&t.flags);if(!n&&!a)return o&&Eo(t,r,!1),is(e,t,i);n=t.stateNode,ja.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=Oi(t,e.child,null,i),t.child=Oi(t,null,s,i)):Ra(e,t,s,i),t.memoizedState=n.state,o&&Eo(t,r,!0),t.child}function Ga(e){var t=e.stateNode;t.pendingContext?yo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yo(0,t.context,!1),Li(e,t.containerInfo)}var Ka,Xa,Qa,Za,$a={dehydrated:null,retryLane:0};function Ya(e,t,r){var n,o=t.pendingProps,i=Ri.current,a=!1;return(n=0!=(64&t.flags))||(n=(null===e||null!==e.memoizedState)&&0!=(2&i)),n?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),uo(Ri,1&i),null===e?(void 0!==o.fallback&&Wi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=$a,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=$a,t.lanes=33554432,e):((r=Ql({mode:"visible",children:e},t.mode,r,null)).return=t,t.child=r)):(e.memoizedState,a?(o=ts(e,t,o.children,o.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=$a,o):(r=es(e,t,o.children,r),t.memoizedState=null,r))}function Ja(e,t,r,n){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Ql(t,o,0,null),r=Xl(r,o,n,null),i.return=e,r.return=e,i.sibling=r,e.child=i,r}function es(e,t,r,n){var o=e.child;return e=o.sibling,r=Gl(o,{mode:"visible",children:r}),0==(2&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function ts(e,t,r,n,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:r};return 0==(2&i)&&t.child!==a?((r=t.child).childLanes=0,r.pendingProps=s,null!==(a=r.lastEffect)?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=Gl(a,s),null!==e?n=Gl(e,n):(n=Xl(n,i,o,null)).flags|=2,n.return=t,r.return=t,r.sibling=n,t.child=r,n}function rs(e,t){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),oi(e.return,t)}function ns(e,t,r,n,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o,a.lastEffect=i)}function os(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Ra(e,t,n.children,r),0!=(2&(n=Ri.current)))n=1&n|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rs(e,r);else if(19===e.tag)rs(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(uo(Ri,n),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===Ni(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),ns(t,!1,o,r,i,t.lastEffect);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ni(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}ns(t,!0,r,null,i,t.lastEffect);break;case"together":ns(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function is(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Hs|=t.lanes,0!=(r&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Gl(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Gl(e,e.pendingProps)).return=t;r.sibling=null}return t.child}return null}function as(e,t){if(!Hi)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function ss(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&vo(),null;case 3:return Di(),co(po),co(ho),Qi(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(Gi(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Xa(t),null;case 5:Fi(t);var i=Mi(Ti.current);if(r=t.type,null!==e&&null!=t.stateNode)Qa(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=Mi(Ai.current),Gi(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[$n]=t,n[Yn]=s,r){case"dialog":An("cancel",n),An("close",n);break;case"iframe":case"object":case"embed":An("load",n);break;case"video":case"audio":for(e=0;e<xn.length;e++)An(xn[e],n);break;case"source":An("error",n);break;case"img":case"image":case"link":An("error",n),An("load",n);break;case"details":An("toggle",n);break;case"input":ee(n,s),An("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},An("invalid",n);break;case"textarea":le(n,s),An("invalid",n)}for(var c in Se(r,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?n.textContent!==i&&(e=["children",i]):"number"==typeof i&&n.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&An("scroll",n));switch(r){case"input":Z(n),ne(n,s,!0);break;case"textarea":Z(n),ue(n);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(n.onclick=Un)}n=e,t.updateQueue=n,null!==n&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===de.html&&(e=fe(r)),e===de.html?"script"===r?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[$n]=t,e[Yn]=n,Ka(e,t,!1,!1),t.stateNode=e,c=ke(r,n),r){case"dialog":An("cancel",e),An("close",e),i=n;break;case"iframe":case"object":case"embed":An("load",e),i=n;break;case"video":case"audio":for(i=0;i<xn.length;i++)An(xn[i],e);i=n;break;case"source":An("error",e),i=n;break;case"img":case"image":case"link":An("error",e),An("load",e),i=n;break;case"details":An("toggle",e),i=n;break;case"input":ee(e,n),i=J(e,n),An("invalid",e);break;case"option":i=ie(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=o({},n,{value:void 0}),An("invalid",e);break;case"textarea":le(e,n),i=se(e,n),An("invalid",e);break;default:i=n}Se(r,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?Ce(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&be(e,d):"children"===s?"string"==typeof d?("textarea"!==r||""!==d)&&ge(e,d):"number"==typeof d&&ge(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&An("scroll",e):null!=d&&w(e,s,d,c))}switch(r){case"input":Z(e),ne(e,n,!1);break;case"textarea":Z(e),ue(e);break;case"option":null!=n.value&&e.setAttribute("value",""+X(n.value));break;case"select":e.multiple=!!n.multiple,null!=(s=n.value)?ae(e,!!n.multiple,s,!1):null!=n.defaultValue&&ae(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Un)}Bn(r,n)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(a(166));r=Mi(Ti.current),Mi(Ai.current),Gi(t)?(n=t.stateNode,r=t.memoizedProps,n[$n]=t,n.nodeValue!==r&&(t.flags|=4)):((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[$n]=t,t.stateNode=n)}return null;case 13:return co(Ri),n=t.memoizedState,0!=(64&t.flags)?(t.lanes=r,t):(n=null!==n,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Gi(t):r=null!==e.memoizedState,n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Ri.current)?0===Ns&&(Ns=3):(0!==Ns&&3!==Ns||(Ns=4),null===Ls||0==(134217727&Hs)&&0==(134217727&Bs)||vl(Ls,js))),(n||r)&&(t.flags|=4),null);case 4:return Di(),Xa(t),null===e&&Tn(t.stateNode.containerInfo),null;case 10:return ni(t),null;case 19:if(co(Ri),null===(n=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=n.rendering))if(s)as(n,!1);else{if(0!==Ns||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Ni(e))){for(t.flags|=64,as(n,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;null!==r;)e=n,(s=r).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return uo(Ri,1&Ri.current|2),t.child}e=e.sibling}null!==n.tail&&Vo()>Gs&&(t.flags|=64,s=!0,as(n,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Ni(c))){if(t.flags|=64,s=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),as(n,!0),null===n.tail&&"hidden"===n.tailMode&&!c.alternate&&!Hi)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*Vo()-n.renderingStartTime>Gs&&1073741824!==r&&(t.flags|=64,s=!0,as(n,!1),t.lanes=33554432);n.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=n.last)?r.sibling=c:t.child=c,n.last=c)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Vo(),r.sibling=null,t=Ri.current,uo(Ri,s?1&t|2:1&t),r):null;case 23:case 24:return Sl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==n.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function ls(e){switch(e.tag){case 1:go(e.type)&&vo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Di(),co(po),co(ho),Qi(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Fi(e),null;case 13:return co(Ri),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Ri),null;case 4:return Di(),null;case 10:return ni(e),null;case 23:case 24:return Sl(),null;default:return null}}function cs(e,t){try{var r="",n=t;do{r+=G(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function us(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ka=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Xa=function(){},Qa=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Mi(Ai.current);var a,s=null;switch(r){case"input":i=J(e,i),n=J(e,n),s=[];break;case"option":i=ie(e,i),n=ie(e,n),s=[];break;case"select":i=o({},i,{value:void 0}),n=o({},n,{value:void 0}),s=[];break;case"textarea":i=se(e,i),n=se(e,n),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Un)}for(d in Se(r,n),r=null,i)if(!n.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in n){var u=n[d];if(c=null!=i?i[d]:void 0,n.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(s||(s=[]),s.push(d,r)),r=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&An("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===j?u.toString():(s=s||[]).push(d,u))}r&&(s=s||[]).push("style",r);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Za=function(e,t,r,n){r!==n&&(t.flags|=4)};var ds="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,r){(r=ui(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Zs||(Zs=!0,$s=n),us(0,t)},r}function hs(e,t,r){(r=ui(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return us(0,t),n(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){"function"!=typeof n&&(null===Ys?Ys=new Set([this]):Ys.add(this),us(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}var ps="function"==typeof WeakSet?WeakSet:Set;function ms(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zl(e,t)}else t.current=null}function bs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:$o(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Gn(t.stateNode.containerInfo))}throw Error(a(163))}function gs(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;n=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Rl(r,e),Fl(r,e)),e=n}while(e!==t)}return;case 1:return e=r.stateNode,4&r.flags&&(null===t?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:$o(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=r.updateQueue)&&pi(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:case 1:e=r.child.stateNode}pi(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.flags&&Bn(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&Ct(r)))))}throw Error(a(163))}function vs(e,t){for(var r=e;;){if(5===r.tag){var n=r.stateNode;if(t)"function"==typeof(n=n.style).setProperty?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var o=r.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,n.style.display=we("display",o)}}else if(6===r.tag)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((23!==r.tag&&24!==r.tag||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function ys(e,t){if(ko&&"function"==typeof ko.onCommitFiberUnmount)try{ko.onCommitFiberUnmount(So,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var n=r,o=n.destroy;if(n=n.tag,void 0!==o)if(0!=(4&n))Rl(t,r);else{n=t;try{o()}catch(e){zl(n,e)}}r=r.next}while(r!==e)}break;case 1:if(ms(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zl(t,e)}break;case 5:ms(t);break;case 4:xs(e,t)}}function ws(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Cs(e){return 5===e.tag||3===e.tag||4===e.tag}function Es(e){e:{for(var t=e.return;null!==t;){if(Cs(t))break e;t=t.return}throw Error(a(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.flags&&(ge(t,""),r.flags&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||Cs(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break e}}n?Ss(e,r,t):ks(e,r,t)}function Ss(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Un));else if(4!==n&&null!==(e=e.child))for(Ss(e,t,r),e=e.sibling;null!==e;)Ss(e,t,r),e=e.sibling}function ks(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ks(e,t,r),e=e.sibling;null!==e;)ks(e,t,r),e=e.sibling}function xs(e,t){for(var r,n,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(r=i.stateNode,i.tag){case 5:n=!1;break e;case 3:case 4:r=r.containerInfo,n=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(ys(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n?(s=r,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,n=!0,o.child.return=o,o=o.child;continue}}else if(ys(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Os(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{3==(3&n.tag)&&(e=n.destroy,n.destroy=void 0,void 0!==e&&e()),n=n.next}while(n!==r)}return;case 1:case 12:case 17:return;case 5:if(null!=(r=t.stateNode)){n=t.memoizedProps;var o=null!==e?e.memoizedProps:n;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(r[Yn]=n,"input"===e&&"radio"===n.type&&null!=n.name&&te(r,n),ke(e,o),t=ke(e,n),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?Ce(r,l):"dangerouslySetInnerHTML"===s?be(r,l):"children"===s?ge(r,l):w(r,s,l,t)}switch(e){case"input":re(r,n);break;case"textarea":ce(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(i=n.value)?ae(r,!!n.multiple,i,!1):e!==!!n.multiple&&(null!=n.defaultValue?ae(r,!!n.multiple,n.defaultValue,!0):ae(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((r=t.stateNode).hydrate&&(r.hydrate=!1,Ct(r.containerInfo)));case 13:return null!==t.memoizedState&&(qs=Vo(),vs(t.child,!0)),void _s(t);case 19:return void _s(t);case 23:case 24:return void vs(t,null!==t.memoizedState)}throw Error(a(163))}function _s(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new ps),t.forEach((function(t){var n=Bl.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function Ps(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var As=Math.ceil,Is=C.ReactCurrentDispatcher,Ts=C.ReactCurrentOwner,Ms=0,Ls=null,Ds=null,js=0,Fs=0,Rs=lo(0),Ns=0,Us=null,zs=0,Hs=0,Bs=0,Vs=0,Ws=null,qs=0,Gs=1/0;function Ks(){Gs=Vo()+500}var Xs,Qs=null,Zs=!1,$s=null,Ys=null,Js=!1,el=null,tl=90,rl=[],nl=[],ol=null,il=0,al=null,sl=-1,ll=0,cl=0,ul=null,dl=!1;function fl(){return 0!=(48&Ms)?Vo():-1!==sl?sl:sl=Vo()}function hl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wo()?1:2;if(0===ll&&(ll=zs),0!==Zo.transition){0!==cl&&(cl=null!==Ws?Ws.pendingLanes:0),e=ll;var t=4186112&~cl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Wo(),0!=(4&Ms)&&98===e?e=Ut(12,ll):e=Ut(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function pl(e,t,r){if(50<il)throw il=0,al=null,Error(a(185));if(null===(e=ml(e,t)))return null;Bt(e,t,r),e===Ls&&(Bs|=t,4===Ns&&vl(e,js));var n=Wo();1===t?0!=(8&Ms)&&0==(48&Ms)?yl(e):(bl(e,r),0===Ms&&(Ks(),Xo())):(0==(4&Ms)||98!==n&&99!==n||(null===ol?ol=new Set([e]):ol.add(e)),bl(e,r)),Ws=e}function ml(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}function bl(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Vt(s),c=1<<l,u=i[l];if(-1===u){if(0==(c&n)||0!=(c&o)){u=t,Ft(c);var d=jt;i[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(n=Rt(e,e===Ls?js:0),t=jt,0===n)null!==r&&(r!==Ro&&_o(r),e.callbackNode=null,e.callbackPriority=0);else{if(null!==r){if(e.callbackPriority===t)return;r!==Ro&&_o(r)}15===t?(r=yl.bind(null,e),null===Uo?(Uo=[r],zo=Oo(Mo,Qo)):Uo.push(r),r=Ro):14===t?r=Ko(99,yl.bind(null,e)):(r=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),r=Ko(r,gl.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function gl(e){if(sl=-1,cl=ll=0,0!=(48&Ms))throw Error(a(327));var t=e.callbackNode;if(jl()&&e.callbackNode!==t)return null;var r=Rt(e,e===Ls?js:0);if(0===r)return null;var n=r,o=Ms;Ms|=16;var i=Ol();for(Ls===e&&js===n||(Ks(),kl(e,n));;)try{Al();break}catch(t){xl(e,t)}if(ri(),Is.current=i,Ms=o,null!==Ds?n=0:(Ls=null,js=0,n=Ns),0!=(zs&Bs))kl(e,0);else if(0!==n){if(2===n&&(Ms|=64,e.hydrate&&(e.hydrate=!1,Gn(e.containerInfo)),0!==(r=Nt(e))&&(n=_l(e,r))),1===n)throw t=Us,kl(e,0),vl(e,r),bl(e,Vo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:Ml(e);break;case 3:if(vl(e,r),(62914560&r)===r&&10<(n=qs+500-Vo())){if(0!==Rt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){fl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Wn(Ml.bind(null,e),n);break}Ml(e);break;case 4:if(vl(e,r),(4186112&r)===r)break;for(n=e.eventTimes,o=-1;0<r;){var s=31-Vt(r);i=1<<s,(s=n[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Vo()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*As(r/1960))-r)){e.timeoutHandle=Wn(Ml.bind(null,e),r);break}Ml(e);break;default:throw Error(a(329))}}return bl(e,Vo()),e.callbackNode===t?gl.bind(null,e):null}function vl(e,t){for(t&=~Vs,t&=~Bs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Vt(t),n=1<<r;e[r]=-1,t&=~n}}function yl(e){if(0!=(48&Ms))throw Error(a(327));if(jl(),e===Ls&&0!=(e.expiredLanes&js)){var t=js,r=_l(e,t);0!=(zs&Bs)&&(r=_l(e,t=Rt(e,t)))}else r=_l(e,t=Rt(e,0));if(0!==e.tag&&2===r&&(Ms|=64,e.hydrate&&(e.hydrate=!1,Gn(e.containerInfo)),0!==(t=Nt(e))&&(r=_l(e,t))),1===r)throw r=Us,kl(e,0),vl(e,t),bl(e,Vo()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ml(e),bl(e,Vo()),null}function wl(e,t){var r=Ms;Ms|=1;try{return e(t)}finally{0===(Ms=r)&&(Ks(),Xo())}}function Cl(e,t){var r=Ms;Ms&=-2,Ms|=8;try{return e(t)}finally{0===(Ms=r)&&(Ks(),Xo())}}function El(e,t){uo(Rs,Fs),Fs|=t,zs|=t}function Sl(){Fs=Rs.current,co(Rs)}function kl(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,qn(r)),null!==Ds)for(r=Ds.return;null!==r;){var n=r;switch(n.tag){case 1:null!=(n=n.type.childContextTypes)&&vo();break;case 3:Di(),co(po),co(ho),Qi();break;case 5:Fi(n);break;case 4:Di();break;case 13:case 19:co(Ri);break;case 10:ni(n);break;case 23:case 24:Sl()}r=r.return}Ls=e,Ds=Gl(e.current,null),js=Fs=zs=t,Ns=0,Us=null,Vs=Bs=Hs=0}function xl(e,t){for(;;){var r=Ds;try{if(ri(),Zi.current=Ta,ra){for(var n=Ji.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}ra=!1}if(Yi=0,ta=ea=Ji=null,na=!1,Ts.current=null,null===r||null===r.return){Ns=1,Us=t,Ds=null;break}e:{var i=e,a=r.return,s=r,l=t;if(t=js,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Ri.current),f=a;do{var h;if(h=13===f.tag){var p=f.memoizedState;if(null!==p)h=null!==p.dehydrated;else{var m=f.memoizedProps;h=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(h){var b=f.updateQueue;if(null===b){var g=new Set;g.add(c),f.updateQueue=g}else b.add(c);if(0==(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=ui(-1,1);v.tag=2,di(s,v)}s.lanes|=1;break e}l=void 0,s=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var w=Hl.bind(null,i,c,s);c.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((K(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ns&&(Ns=2),l=cs(l,s),f=a;do{switch(f.tag){case 3:i=l,f.flags|=4096,t&=-t,f.lanes|=t,fi(f,fs(0,i,t));break e;case 1:i=l;var C=f.type,E=f.stateNode;if(0==(64&f.flags)&&("function"==typeof C.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Ys||!Ys.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t,fi(f,hs(f,i,t));break e}}f=f.return}while(null!==f)}Tl(r)}catch(e){t=e,Ds===r&&null!==r&&(Ds=r=r.return);continue}break}}function Ol(){var e=Is.current;return Is.current=Ta,null===e?Ta:e}function _l(e,t){var r=Ms;Ms|=16;var n=Ol();for(Ls===e&&js===t||kl(e,t);;)try{Pl();break}catch(t){xl(e,t)}if(ri(),Ms=r,Is.current=n,null!==Ds)throw Error(a(261));return Ls=null,js=0,Ns}function Pl(){for(;null!==Ds;)Il(Ds)}function Al(){for(;null!==Ds&&!Po();)Il(Ds)}function Il(e){var t=Xs(e.alternate,e,Fs);e.memoizedProps=e.pendingProps,null===t?Tl(e):Ds=t,Ts.current=null}function Tl(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(r=ss(r,t,Fs)))return void(Ds=r);if(24!==(r=t).tag&&23!==r.tag||null===r.memoizedState||0!=(1073741824&Fs)||0==(4&r.mode)){for(var n=0,o=r.child;null!==o;)n|=o.lanes|o.childLanes,o=o.sibling;r.childLanes=n}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(r=ls(t)))return r.flags&=2047,void(Ds=r);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ds=t);Ds=t=e}while(null!==t);0===Ns&&(Ns=5)}function Ml(e){var t=Wo();return Go(99,Ll.bind(null,e,t)),null}function Ll(e,t){do{jl()}while(null!==el);if(0!=(48&Ms))throw Error(a(327));var r=e.finishedWork;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null;var n=r.lanes|r.childLanes,o=n,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Vt(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==ol&&0==(24&n)&&ol.has(e)&&ol.delete(e),e===Ls&&(Ds=Ls=null,js=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){if(o=Ms,Ms|=32,Ts.current=null,zn=Xt,bn(s=mn())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,f=-1,h=-1,p=0,m=0,b=s,g=null;t:for(;;){for(var v;b!==l||0!==i&&3!==b.nodeType||(f=d+i),b!==c||0!==u&&3!==b.nodeType||(h=d+u),3===b.nodeType&&(d+=b.nodeValue.length),null!==(v=b.firstChild);)g=b,b=v;for(;;){if(b===s)break t;if(g===l&&++p===i&&(f=d),g===c&&++m===u&&(h=d),null!==(v=b.nextSibling))break;g=(b=g).parentNode}b=v}l=-1===f||-1===h?null:{start:f,end:h}}else l=null;l=l||{start:0,end:0}}else l=null;Hn={focusedElem:s,selectionRange:l},Xt=!1,ul=null,dl=!1,Qs=n;do{try{Dl()}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);ul=null,Qs=n;do{try{for(s=e;null!==Qs;){var y=Qs.flags;if(16&y&&ge(Qs.stateNode,""),128&y){var w=Qs.alternate;if(null!==w){var C=w.ref;null!==C&&("function"==typeof C?C(null):C.current=null)}}switch(1038&y){case 2:Es(Qs),Qs.flags&=-3;break;case 6:Es(Qs),Qs.flags&=-3,Os(Qs.alternate,Qs);break;case 1024:Qs.flags&=-1025;break;case 1028:Qs.flags&=-1025,Os(Qs.alternate,Qs);break;case 4:Os(Qs.alternate,Qs);break;case 8:xs(s,l=Qs);var E=l.alternate;ws(l),null!==E&&ws(E)}Qs=Qs.nextEffect}}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);if(C=Hn,w=mn(),y=C.focusedElem,s=C.selectionRange,w!==y&&y&&y.ownerDocument&&pn(y.ownerDocument.documentElement,y)){null!==s&&bn(y)&&(w=s.start,void 0===(C=s.end)&&(C=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(C,y.value.length)):(C=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(C=C.getSelection(),l=y.textContent.length,E=Math.min(s.start,l),s=void 0===s.end?E:Math.min(s.end,l),!C.extend&&E>s&&(l=s,s=E,E=l),l=hn(y,E),i=hn(y,s),l&&i&&(1!==C.rangeCount||C.anchorNode!==l.node||C.anchorOffset!==l.offset||C.focusNode!==i.node||C.focusOffset!==i.offset)&&((w=w.createRange()).setStart(l.node,l.offset),C.removeAllRanges(),E>s?(C.addRange(w),C.extend(i.node,i.offset)):(w.setEnd(i.node,i.offset),C.addRange(w))))),w=[];for(C=y;C=C.parentNode;)1===C.nodeType&&w.push({element:C,left:C.scrollLeft,top:C.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(C=w[y]).element.scrollLeft=C.left,C.element.scrollTop=C.top}Xt=!!zn,Hn=zn=null,e.current=r,Qs=n;do{try{for(y=e;null!==Qs;){var S=Qs.flags;if(36&S&&gs(y,Qs.alternate,Qs),128&S){w=void 0;var k=Qs.ref;if(null!==k){var x=Qs.stateNode;Qs.tag,w=x,"function"==typeof k?k(w):k.current=w}}Qs=Qs.nextEffect}}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);Qs=null,No(),Ms=o}else e.current=r;if(Js)Js=!1,el=e,tl=t;else for(Qs=n;null!==Qs;)t=Qs.nextEffect,Qs.nextEffect=null,8&Qs.flags&&((S=Qs).sibling=null,S.stateNode=null),Qs=t;if(0===(n=e.pendingLanes)&&(Ys=null),1===n?e===al?il++:(il=0,al=e):il=0,r=r.stateNode,ko&&"function"==typeof ko.onCommitFiberRoot)try{ko.onCommitFiberRoot(So,r,void 0,64==(64&r.current.flags))}catch(e){}if(bl(e,Vo()),Zs)throw Zs=!1,e=$s,$s=null,e;return 0!=(8&Ms)||Xo(),null}function Dl(){for(;null!==Qs;){var e=Qs.alternate;dl||null===ul||(0!=(8&Qs.flags)?Je(Qs,ul)&&(dl=!0):13===Qs.tag&&Ps(e,Qs)&&Je(Qs,ul)&&(dl=!0));var t=Qs.flags;0!=(256&t)&&bs(e,Qs),0==(512&t)||Js||(Js=!0,Ko(97,(function(){return jl(),null}))),Qs=Qs.nextEffect}}function jl(){if(90!==tl){var e=97<tl?97:tl;return tl=90,Go(e,Nl)}return!1}function Fl(e,t){rl.push(t,e),Js||(Js=!0,Ko(97,(function(){return jl(),null})))}function Rl(e,t){nl.push(t,e),Js||(Js=!0,Ko(97,(function(){return jl(),null})))}function Nl(){if(null===el)return!1;var e=el;if(el=null,0!=(48&Ms))throw Error(a(331));var t=Ms;Ms|=32;var r=nl;nl=[];for(var n=0;n<r.length;n+=2){var o=r[n],i=r[n+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(a(330));zl(i,e)}}for(r=rl,rl=[],n=0;n<r.length;n+=2){o=r[n],i=r[n+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(a(330));zl(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ms=t,Xo(),!0}function Ul(e,t,r){di(e,t=fs(0,t=cs(r,t),1)),t=fl(),null!==(e=ml(e,1))&&(Bt(e,1,t),bl(e,t))}function zl(e,t){if(3===e.tag)Ul(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){Ul(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n))){var o=hs(r,e=cs(t,e),1);if(di(r,o),o=fl(),null!==(r=ml(r,1)))Bt(r,1,o),bl(r,o);else if("function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n)))try{n.componentDidCatch(t,e)}catch(e){}break}}r=r.return}}function Hl(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=fl(),e.pingedLanes|=e.suspendedLanes&r,Ls===e&&(js&r)===r&&(4===Ns||3===Ns&&(62914560&js)===js&&500>Vo()-qs?kl(e,0):Vs|=r),bl(e,t)}function Bl(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Wo()?1:2:(0===ll&&(ll=zs),0===(t=zt(62914560&~ll))&&(t=4194304))),r=fl(),null!==(e=ml(e,t))&&(Bt(e,t,r),bl(e,r))}function Vl(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Wl(e,t,r,n){return new Vl(e,t,r,n)}function ql(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gl(e,t){var r=e.alternate;return null===r?((r=Wl(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Kl(e,t,r,n,o,i){var s=2;if(n=e,"function"==typeof e)ql(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Xl(r.children,o,i,t);case F:s=8,o|=16;break;case x:s=8,o|=1;break;case O:return(e=Wl(12,r,t,8|o)).elementType=O,e.type=O,e.lanes=i,e;case I:return(e=Wl(13,r,t,o)).type=I,e.elementType=I,e.lanes=i,e;case T:return(e=Wl(19,r,t,o)).elementType=T,e.lanes=i,e;case R:return Ql(r,o,i,t);case N:return(e=Wl(24,r,t,o)).elementType=N,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case A:s=11;break e;case M:s=14;break e;case L:s=16,n=null;break e;case D:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Wl(s,r,t,o)).elementType=e,t.type=n,t.lanes=i,t}function Xl(e,t,r,n){return(e=Wl(7,e,n,t)).lanes=r,e}function Ql(e,t,r,n){return(e=Wl(23,e,n,t)).elementType=R,e.lanes=r,e}function Zl(e,t,r){return(e=Wl(6,e,null,t)).lanes=r,e}function $l(e,t,r){return(t=Wl(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yl(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ht(0),this.expirationTimes=Ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ht(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,r,n){var o=t.current,i=fl(),s=hl(o);e:if(r){t:{if(Qe(r=r._reactInternals)!==r||1!==r.tag)throw Error(a(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(go(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===r.tag){var c=r.type;if(go(c)){r=wo(r,c,l);break e}}r=l}else r=fo;return null===t.context?t.context=r:t.pendingContext=r,(t=ui(i,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),di(o,t),pl(o,s,i),s}function ec(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function rc(e,t){tc(e,t),(e=e.alternate)&&tc(e,t)}function nc(e,t,r){var n=null!=r&&null!=r.hydrationOptions&&r.hydrationOptions.mutableSources||null;if(r=new Yl(e,t,null!=r&&!0===r.hydrate),t=Wl(3,null,null,2===t?7:1===t?3:0),r.current=t,t.stateNode=r,li(t),e[Jn]=r.current,Tn(8===e.nodeType?e.parentNode:e),n)for(e=0;e<n.length;e++){var o=(t=n[e])._getVersion;o=o(t._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[t,o]:r.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=r}function oc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ic(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=ec(a);s.call(e)}}Jl(t,a,e,o)}else{if(i=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new nc(e,0,t?{hydrate:!0}:void 0)}(r,n),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=ec(a);l.call(e)}}Cl((function(){Jl(t,a,e,o)}))}return ec(a)}function ac(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!oc(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}Xs=function(e,t,r){var n=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||po.current)Fa=!0;else{if(0==(r&n)){switch(Fa=!1,t.tag){case 3:Ga(t),Ki();break;case 5:ji(t);break;case 1:go(t.type)&&Co(t);break;case 4:Li(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var o=t.type._context;uo(Yo,o._currentValue),o._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!=(r&t.child.childLanes)?Ya(e,t,r):(uo(Ri,1&Ri.current),null!==(t=is(e,t,r))?t.sibling:null);uo(Ri,1&Ri.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(64&e.flags)){if(n)return os(e,t,r);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),uo(Ri,Ri.current),n)break;return null;case 23:case 24:return t.lanes=0,Ha(e,t,r)}return is(e,t,r)}Fa=0!=(16384&e.flags)}else Fa=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=bo(t,ho.current),ii(t,r),o=aa(null,t,n,e,o,r),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(n)){var i=!0;Co(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var s=n.getDerivedStateFromProps;"function"==typeof s&&bi(t,n,s,e),o.updater=gi,t.stateNode=o,o._reactInternals=t,Ci(t,n,e,r),t=qa(null,t,n,!0,i,r)}else t.tag=0,Ra(null,t,o,r),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===M)return 14}return 2}(o),e=$o(o,e),i){case 0:t=Va(null,t,o,e,r);break e;case 1:t=Wa(null,t,o,e,r);break e;case 11:t=Na(null,t,o,e,r);break e;case 14:t=Ua(null,t,o,$o(o.type,e),n,r);break e}throw Error(a(306,o,""))}return t;case 0:return n=t.type,o=t.pendingProps,Va(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 1:return n=t.type,o=t.pendingProps,Wa(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 3:if(Ga(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ci(e,t),hi(t,n,null,r),(n=t.memoizedState.element)===o)Ki(),t=is(e,t,r);else{if((i=(o=t.stateNode).hydrate)&&(zi=Kn(t.stateNode.containerInfo.firstChild),Ui=t,i=Hi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Xi.push(i);for(r=_i(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Ra(e,t,n,r),Ki();t=t.child}return t;case 5:return ji(t),null===e&&Wi(t),n=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Vn(n,o)?s=null:null!==i&&Vn(n,i)&&(t.flags|=16),Ba(e,t),Ra(e,t,s,r),t.child;case 6:return null===e&&Wi(t),null;case 13:return Ya(e,t,r);case 4:return Li(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=Oi(t,null,n,r):Ra(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,Na(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 7:return Ra(e,t,t.pendingProps,r),t.child;case 8:case 12:return Ra(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(uo(Yo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=cn(l,i)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!po.current){t=is(e,t,r);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===n&&0!=(u.observedBits&i)){1===l.tag&&((u=ui(-1,r&-r)).tag=2,di(l,u)),l.lanes|=r,null!==(u=l.alternate)&&(u.lanes|=r),oi(l.return,r),c.lanes|=r;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Ra(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=(i=t.pendingProps).children,ii(t,r),n=n(o=ai(o,i.unstable_observedBits)),t.flags|=1,Ra(e,t,n,r),t.child;case 14:return i=$o(o=t.type,t.pendingProps),Ua(e,t,o,i=$o(o.type,i),n,r);case 15:return za(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:$o(n,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(n)?(e=!0,Co(t)):e=!1,ii(t,r),yi(t,n,o),Ci(t,n,o,r),qa(null,t,n,!0,e,r);case 19:return os(e,t,r);case 23:case 24:return Ha(e,t,r)}throw Error(a(156,t.tag))},nc.prototype.render=function(e){Jl(e,this._internalRoot,null,null)},nc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Jl(null,e,null,(function(){t[Jn]=null}))},et=function(e){13===e.tag&&(pl(e,4,fl()),rc(e,4))},tt=function(e){13===e.tag&&(pl(e,67108864,fl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=fl(),r=hl(e);pl(e,r,t),rc(e,r)}},nt=function(e,t){return t()},Oe=function(e,t,r){switch(t){case"input":if(re(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=oo(n);if(!o)throw Error(a(90));$(n),re(n,o)}}}break;case"textarea":ce(e,r);break;case"select":null!=(t=r.value)&&ae(e,!!r.multiple,t,!1)}},Me=wl,Le=function(e,t,r,n,o){var i=Ms;Ms|=4;try{return Go(98,e.bind(null,t,r,n,o))}finally{0===(Ms=i)&&(Ks(),Xo())}},De=function(){0==(49&Ms)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,bl(e,Vo())}))}Xo()}(),jl())},je=function(e,t){var r=Ms;Ms|=2;try{return e(t)}finally{0===(Ms=r)&&(Ks(),Xo())}};var sc={Events:[ro,no,oo,Ie,Te,jl,{current:!1}]},lc={findFiberByHostInstance:to,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"},cc={bundleType:lc.bundleType,version:lc.version,rendererPackageName:lc.rendererPackageName,rendererConfig:lc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ye(e))?null:e.stateNode},findFiberByHostInstance:lc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uc.isDisabled&&uc.supportsFiber)try{So=uc.inject(cc),ko=uc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sc,t.createPortal=ac,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Ye(t))?null:e.stateNode},t.flushSync=function(e,t){var r=Ms;if(0!=(48&r))return e(t);Ms|=1;try{if(e)return Go(99,e.bind(null,t))}finally{Ms=r,Xo()}},t.hydrate=function(e,t,r){if(!oc(t))throw Error(a(200));return ic(null,e,t,!0,r)},t.render=function(e,t,r){if(!oc(t))throw Error(a(200));return ic(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!oc(e))throw Error(a(40));return!!e._reactRootContainer&&(Cl((function(){ic(null,null,e,!1,(function(){e._reactRootContainer=null,e[Jn]=null}))})),!0)},t.unstable_batchedUpdates=wl,t.unstable_createPortal=function(e,t){return ac(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!oc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ic(e,t,r,!1,n)},t.version="17.0.1"},function(e,t,r){"use strict";e.exports=r(372)},function(e,t,r){"use strict";var n,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,d=null,f=function e(){if(null!==u)try{var r=t.unstable_now();u(!0,r),u=null}catch(t){throw setTimeout(e,0),t}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(f,0))},o=function(e,t){d=setTimeout(e,t)},i=function(){clearTimeout(d)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var h=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var b=!1,g=null,v=-1,y=5,w=0;t.unstable_shouldYield=function(){return t.unstable_now()>=w},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var C=new MessageChannel,E=C.port2;C.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();w=e+y;try{g(!0,e)?E.postMessage(null):(b=!1,g=null)}catch(e){throw E.postMessage(null),e}}else b=!1},n=function(e){g=e,b||(b=!0,E.postMessage(null))},o=function(e,r){v=h((function(){e(t.unstable_now())}),r)},i=function(){p(v),v=-1}}function S(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,o=e[n];if(!(void 0!==o&&0<O(o,t)))break e;e[n]=t,e[r]=o,r=n}}function k(e){return void 0===(e=e[0])?null:e}function x(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var i=2*(n+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>O(a,r))void 0!==l&&0>O(l,a)?(e[n]=l,e[s]=r,n=s):(e[n]=a,e[i]=r,n=i);else{if(!(void 0!==l&&0>O(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function O(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var _=[],P=[],A=1,I=null,T=3,M=!1,L=!1,D=!1;function j(e){for(var t=k(P);null!==t;){if(null===t.callback)x(P);else{if(!(t.startTime<=e))break;x(P),t.sortIndex=t.expirationTime,S(_,t)}t=k(P)}}function F(e){if(D=!1,j(e),!L)if(null!==k(_))L=!0,n(R);else{var t=k(P);null!==t&&o(F,t.startTime-e)}}function R(e,r){L=!1,D&&(D=!1,i()),M=!0;var n=T;try{for(j(r),I=k(_);null!==I&&(!(I.expirationTime>r)||e&&!t.unstable_shouldYield());){var a=I.callback;if("function"==typeof a){I.callback=null,T=I.priorityLevel;var s=a(I.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?I.callback=s:I===k(_)&&x(_),j(r)}else x(_);I=k(_)}if(null!==I)var l=!0;else{var c=k(P);null!==c&&o(F,c.startTime-r),l=!1}return l}finally{I=null,T=n,M=!1}}var N=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||M||(L=!0,n(R))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return k(_)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var r=T;T=t;try{return e()}finally{T=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=N,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=T;T=e;try{return t()}finally{T=r}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:A++,callback:r,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,S(P,e),null===k(_)&&e===k(P)&&(D?i():D=!0,o(F,a-s))):(e.sortIndex=l,S(_,e),L||M||(L=!0,n(R))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var r=T;T=t;try{return e.apply(this,arguments)}finally{T=r}}}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(134),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(134);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(134);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(134);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(133);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(133),o=r(171),i=r(192);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(172),o=r(386),i=r(42),a=r(223),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?f:s).test(a(e))}},function(e,t,r){var n=r(95),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(387),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var n=r(46)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(390),o=r(133),i=r(171);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(391),o=r(392),i=r(393),a=r(394),s=r(395);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(135);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(135),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(135),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(135);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(136);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(136);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(136);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(136);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(80),o=r(109);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(62),o=r(49);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(62),o=r(175),i=r(49),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},function(e,t,r){var n=r(226)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(80),o=r(138);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(42),o=r(152),i=r(410),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){var n=r(80),o=r(178);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},function(e,t,r){var n=r(80),o=r(229);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(74)(r(46),"DataView");e.exports=n},function(e,t,r){var n=r(74)(r(46),"Promise");e.exports=n},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(181),o=r(418),i=r(419),a=r(420),s=r(232);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},function(e,t,r){var n=r(181);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(95),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,r){var n=r(422),o=r(176),i=r(177),a=i&&i.isMap,s=a?o(a):n;e.exports=s},function(e,t,r){var n=r(125),o=r(49);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(424),o=r(176),i=r(177),a=i&&i.isSet,s=a?o(a):n;e.exports=s},function(e,t,r){var n=r(125),o=r(49);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(106),o=r(210),i=r(430),a=r(102);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t,r){var n=r(427),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},function(e,t,r){var n=r(428);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(192);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(95),o=r(170),i=r(36),a=r(139),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},function(e,t,r){var n=r(193),o=r(311);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},function(e,t,r){var n=r(234);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(433);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(179),o=r(434);e.exports=function e(t,r,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];r>0&&i(u)?r>1?e(u,r-1,i,a,s):n(s,u):a||(s[s.length]=u)}return s}},function(e,t,r){var n=r(95),o=r(113),i=r(36),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(437),o=r(224),i=r(194),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";e.exports=r(440)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function C(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case f:case a:case l:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case h:case g:case b:case c:return e;default:return t}}case i:return t}}}function E(e){return C(e)===f}t.typeOf=C,t.AsyncMode=d,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=c,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===l||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===u||e.$$typeof===h||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w)},t.isAsyncMode=function(e){return E(e)||C(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return C(e)===u},t.isContextProvider=function(e){return C(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return C(e)===h},t.isFragment=function(e){return C(e)===a},t.isLazy=function(e){return C(e)===g},t.isMemo=function(e){return C(e)===b},t.isPortal=function(e){return C(e)===i},t.isProfiler=function(e){return C(e)===l},t.isStrictMode=function(e){return C(e)===s},t.isSuspense=function(e){return C(e)===p}},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(0)),o=s(r(444)),i=s(r(43)),a=s(r(447));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var b=void 0!==i.default.createPortal,g=[o.default.string,o.default.shape({appendChild:o.default.func.isRequired})],v=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],y=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?p(e):t}(this,f(t).call(this,e)),m(p(p(r)),"_targetNode",null),m(p(p(r)),"_elementParentNode",null),m(p(p(r)),"_tether",null),m(p(p(r)),"_elementComponent",null),m(p(p(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(t,e),r=t,o=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,o,i=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,u(i)),(o=this._elementParentNode.classList).add.apply(o,u(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(b||i.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=i.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():b?this._updateTether():i.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=c(e,["children","renderElementTag","renderElementTo","id","className","style"]),o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){m(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),i=t||"";if(this._elementParentNode.id!==i&&(this._elementParentNode.id=i),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(o):(this._tether=new a.default(o),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?b&&this._elementComponent?[this._targetComponent,i.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],o&&d(r.prototype,o),s&&d(r,s),t}(n.Component);function w(e){this.updateChildrenComponents(e)}m(y,"propTypes",{renderElementTag:o.default.string,renderElementTo:o.default.oneOfType(g),attachment:o.default.oneOf(v).isRequired,targetAttachment:o.default.oneOf(v),offset:o.default.string,targetOffset:o.default.string,targetModifier:o.default.string,enabled:o.default.bool,classes:o.default.object,classPrefix:o.default.string,optimizations:o.default.object,constraints:o.default.array,id:o.default.string,className:o.default.string,style:o.default.object,onUpdate:o.default.func,onRepositioned:o.default.func,children:function(e,t,r){var o=e.children,i=n.Children.count(o);return i<=0?new Error("".concat(r," expects at least one child to use as the target element.")):i>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),m(y,"defaultProps",{renderElementTag:"div",renderElementTo:null});var C,E,S=n.default.version.split(".").map(Number),k=(E=2,function(e){if(Array.isArray(e))return e}(C=S)||function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(C,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),x=k[0],O=k[1];x<16||16===x&&O<9?y.prototype.componentWillUpdate=w:y.prototype.UNSAFE_componentWillUpdate=w;var _=y;t.default=_},function(e,t,r){e.exports=r(445)()},function(e,t,r){"use strict";var n=r(446);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n,o,i;o=[],n=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function o(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var i=e.ownerDocument.defaultView.frameElement;if(i){var a=o(i);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function i(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var o=void 0;try{o=getComputedStyle(n)}catch(e){}if(null==o)return r.push(n),r;var i=o,a=i.overflow,s=i.overflowX,l=i.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(o.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=o(e),S((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=o(e),i=c();return n.top-=i.top,n.left-=i.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function f(e){return e.offsetParent||document.documentElement}var h=null;function p(){if(h)return h;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var o=r-n;return h={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=y(e).replace(r," ");w(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=y(e)+" "+t;w(e,r)}}function v(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=y(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function y(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function w(e,t){e.setAttribute("class",t)}function C(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&v(e,r)&&b(e,r)})),t.forEach((function(t){v(e,t)||g(e,t)}))}var E=[],S=function(e){E.push(e)},k=function(){for(var e=void 0;e=E.pop();)e()},x=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(;t<this.bindings[e].length;){var i=this.bindings[e][t],a=i.handler,s=i.ctx,l=i.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:o,getScrollParents:i,getBounds:d,getOffsetParent:f,extend:m,addClass:g,removeClass:b,hasClass:v,updateClasses:C,defer:S,flush:k,uniqueId:s,Evented:x,getScrollBarSize:p,removeUtilElements:u};var O=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=i,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var i=($=r.Utils).getScrollParents,f=(d=$.getBounds,$.getOffsetParent),g=(m=$.extend,$.addClass),b=$.removeClass,p=(C=$.updateClasses,S=$.defer,k=$.flush,$.getScrollBarSize),u=$.removeUtilElements;function A(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var I,T,M,L,D=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),j=[],F=function(){j.forEach((function(e){e.position(!1)})),k()};function R(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}I=null,T=null,M=null,L=function e(){if(void 0!==T&&T>16)return T=Math.min(T-16,250),void(M=setTimeout(e,250));void 0!==I&&R()-I<10||(null!=M&&(clearTimeout(M),M=null),I=R(),F(),T=R()-I)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,L)}));var N={center:"center",left:"right",right:"left"},U={middle:"middle",top:"bottom",bottom:"top"},z={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=N[t.left]),"auto"===n&&(n=U[t.top]),{left:r,top:n}},B=function(e){var t=e.left,r=e.top;return void 0!==z[e.left]&&(t=z[e.left]),void 0!==z[e.top]&&(r=z[e.top]),{left:t,top:r}};function V(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function W(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var q=function(e){var t=e.split(" "),r=O(t,2);return{top:r[0],left:r[1]}},G=q,K=function(n){function o(e){var n=this;t(this,o),_(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),j.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return P(o,n),e(o,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(n,e);var o=this.options,a=o.element,s=o.target,l=o.targetModifier;if(this.element=a,this.target=s,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=G(this.options.targetAttachment),this.attachment=G(this.options.attachment),this.offset=q(this.options.offset),this.targetOffset=q(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=i(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((i={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(i.height,e.height-(pageYOffset-e.top)),i.height=Math.min(i.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),i.height=Math.min(innerHeight,i.height),i.height-=2,i.width=Math.min(i.width,e.width-(pageXOffset-e.left)),i.width=Math.min(i.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),i.width=Math.min(innerWidth,i.width),i.width-=2,i.top<pageYOffset&&(i.top=pageYOffset),i.left<pageXOffset&&(i.left=pageXOffset),i);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var o=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,i={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;o<408&&this.target===document.body&&(a=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(i.height=Math.max(i.height,24));var s=this.target.scrollTop/(t.scrollHeight-o);return i.top=s*(o-i.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(i.height=Math.max(i.height,24)),i}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),j.forEach((function(t,r){t===e&&j.splice(r,1)})),0===j.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment;var n=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var i=[];n.forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),S((function(){void 0!==r._addAttachClasses&&(C(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&C(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var o=this.cache("element-bounds",(function(){return d(e.element)})),i=o.width,a=o.height;if(0===i&&0===a&&void 0!==this.lastSize){var s=this.lastSize;i=s.width,a=s.height}else this.lastSize={width:i,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=W(B(this.attachment),{width:i,height:a}),h=W(B(n),c),m=W(this.offset,{width:i,height:a}),b=W(this.targetOffset,c);u=V(u,m),h=V(h,b);for(var g=l.left+h.left-u.left,v=l.top+h.top-u.top,y=0;y<r.modules.length;++y){var w=r.modules[y].position.call(this,{left:g,top:v,targetAttachment:n,targetPos:l,elementPos:o,offset:u,targetOffset:h,manualOffset:m,manualTargetOffset:b,scrollbarSize:x,attachment:this.attachment});if(!1===w)return!1;void 0!==w&&"object"==typeof w&&(v=w.top,g=w.left)}var C={page:{top:v,left:g},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-i+innerWidth}},E=this.target.ownerDocument,S=E.defaultView,x=void 0;return S.innerHeight>E.documentElement.clientHeight&&(x=this.cache("scrollbar-size",p),C.viewport.bottom-=x.height),S.innerWidth>E.documentElement.clientWidth&&(x=this.cache("scrollbar-size",p),C.viewport.right-=x.width),-1!==["","static"].indexOf(E.body.style.position)&&-1!==["","static"].indexOf(E.body.parentElement.style.position)||(C.page.bottom=E.body.scrollHeight-v-a,C.page.right=E.body.scrollWidth-g-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return f(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),o=r,i={};if(["Top","Left","Bottom","Right"].forEach((function(e){i[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=E.body.scrollWidth-r.left-o.width+i.right,r.bottom=E.body.scrollHeight-r.top-o.height+i.bottom,C.page.top>=r.top+i.top&&C.page.bottom>=r.bottom&&C.page.left>=r.left+i.left&&C.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;C.offset={top:C.page.top-r.top+a-i.top,left:C.page.left-r.left+s-i.left}}}(),this.move(C),this.history.unshift(C),this.history.length>3&&this.history.pop(),t&&k(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var r={};for(var n in e)for(var o in r[n]={},e[n]){for(var i=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[n]&&!A(s[n][o],e[n][o])){i=!0;break}}i||(r[n][o]=!0)}var l={top:"",left:"",right:"",bottom:""},c=function(e,r){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var n=void 0,o=void 0;e.top?(l.top=0,n=r.top):(l.bottom=0,n=-r.bottom),e.left?(l.left=0,o=r.left):(l.right=0,o=-r.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),l[D]="translateX("+o+"px) translateY("+n+"px)","msTransform"!==D&&(l[D]+=" translateZ(0)")}else e.top?l.top=r.top+"px":l.bottom=r.bottom+"px",e.left?l.left=r.left+"px":l.right=r.right+"px"},u=!1;if((r.page.top||r.page.bottom)&&(r.page.left||r.page.right)?(l.position="absolute",c(r.page,e.page)):(r.viewport.top||r.viewport.bottom)&&(r.viewport.left||r.viewport.right)?(l.position="fixed",c(r.viewport,e.viewport)):void 0!==r.offset&&r.offset.top&&r.offset.left?function(){l.position="absolute";var n=t.cache("target-offsetparent",(function(){return f(t.target)}));f(t.element)!==n&&S((function(){t.element.parentNode.removeChild(t.element),n.appendChild(t.element)})),c(r.offset,e.offset),u=!0}():(l.position="absolute",c({top:!0,left:!0},e.page)),!u)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var d=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},h=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName&&!d(p);){if("static"!==getComputedStyle(p).position){h=!1;break}p=p.parentNode}h||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var b={},g=!1;for(var o in l){var v=l[o];this.element.style[o]!==v&&(g=!0,b[o]=v)}g&&S((function(){m(t.element.style,b),t.trigger("repositioned")}))}}}]),o}(x);K.modules=[],r.position=F;var X=m(K,r);O=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=($=r.Utils).getBounds;var m=$.extend,Q=(C=$.updateClasses,S=$.defer,["left","top","right","bottom"]);function Z(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,o=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var i=e.ownerDocument.defaultView;t[0]+=i.pageXOffset,t[1]+=i.pageYOffset,t[2]+=i.pageXOffset,t[3]+=i.pageYOffset}Q.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(o["border"+e+"Width"]):t[r]-=parseFloat(o["border"+e+"Width"])}))}(),t}r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,o=e.targetAttachment;if(!this.options.constraints)return!0;var i=this.cache("element-bounds",(function(){return d(t.element)})),a=i.height,s=i.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,f=c.width,h=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&h.push(t),r&&h.push(r)})),h.forEach((function(e){["left","top","right","bottom"].forEach((function(t){h.push(e+"-"+t)}))}));var p=[],b=m({},o),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var i=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var d=void 0,h=void 0;if(l.indexOf(" ")>=0){var m=l.split(" "),v=O(m,2);h=v[0],d=v[1]}else d=h=l;var y=Z(t,i);"target"!==h&&"both"!==h||(r<y[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>y[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===h&&("top"===b.top&&("bottom"===g.top&&r<y[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>y[3]&&r-(a-u)>=y[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>y[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<y[1]&&r+(2*a-u)<=y[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>y[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<y[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==d&&"both"!==d||(n<y[0]&&"left"===b.left&&(n+=f,b.left="right"),n+s>y[2]&&"right"===b.left&&(n-=f,b.left="left")),"together"===d&&(n<y[0]&&"left"===b.left?"right"===g.left?(n+=f,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=f,b.left="right",n-=s,g.left="right"):n+s>y[2]&&"right"===b.left?"left"===g.left?(n-=f,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=f,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>y[2]&&"left"===g.left?(n-=s,g.left="right"):n<y[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==h&&"both"!==h||(r<y[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>y[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==d&&"both"!==d||(n<y[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>y[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var w,C,E=[],S=[];r<y[1]&&(c.indexOf("top")>=0?(r=y[1],E.push("top")):S.push("top")),r+a>y[3]&&(c.indexOf("bottom")>=0?(r=y[3]-a,E.push("bottom")):S.push("bottom")),n<y[0]&&(c.indexOf("left")>=0?(n=y[0],E.push("left")):S.push("left")),n+s>y[2]&&(c.indexOf("right")>=0?(n=y[2]-s,E.push("right")):S.push("right")),E.length&&(w=void 0,w=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(w),E.forEach((function(e){p.push(w+"-"+e)}))),S.length&&(C=void 0,C=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(C),S.forEach((function(e){p.push(C+"-"+e)}))),(E.indexOf("left")>=0||E.indexOf("right")>=0)&&(g.left=b.left=!1),(E.indexOf("top")>=0||E.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===o.top&&b.left===o.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),S((function(){!1!==t.options.addTargetClasses&&C(t.target,p,h),C(t.element,p,h)})),{top:r,left:n}}});var $,d=($=r.Utils).getBounds,C=$.updateClasses;return S=$.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,o=this.cache("element-bounds",(function(){return d(t.element)})),i=o.height,a=o.width,s=this.getTargetBounds(),l=r+i,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var f=[],h=[],p=["left","top","right","bottom"];return f.push(this.getClass("abutted")),p.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),u.length&&h.push(this.getClass("abutted")),u.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),S((function(){!1!==t.options.addTargetClasses&&C(t.target,h,f),C(t.element,h,f)})),!0}}),O=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var o=void 0,i=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=O(n,2);o=a[0],i=a[1],o=parseFloat(o,10),i=parseFloat(i,10)}else o=n.top,i=n.left;return{top:t+=o,left:r+=i}}}}),X},void 0===(i="function"==typeof n?n.apply(t,o):n)||(e.exports=i)},function(e,t,r){},function(e,t,r){},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(173),o=r(106),i=r(137),a=r(42),s=r(102);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,f=e;null!=f&&++c<u;){var h=s(t[c]),p=r;if(c!=d){var m=f[h];void 0===(p=l?l(m,h,f):void 0)&&(p=a(m)?m:i(t[c+1])?[]:{})}n(f,h,p),f=f[h]}return e}},function(e,t,r){"use strict";var n=r(32),o=r(237),i=r(453),a=r(243);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(140));s.Axios=i,s.Cancel=r(141),s.CancelToken=r(466),s.isCancel=r(242),s.VERSION=r(244).version,s.all=function(e){return Promise.all(e)},s.spread=r(467),s.isAxiosError=r(468),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(32),o=r(238),i=r(454),a=r(455),s=r(243),l=r(465),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var f=t;n.length;){var h=n.shift(),p=n.shift();try{f=h(f)}catch(e){p(e);break}}try{i=a(f)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(32);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(32),o=r(456),i=r(242),a=r(140),s=r(141);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(32),o=r(140);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(241);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(461),o=r(462);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(32),o=["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"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(32);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(244).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(e,t,r){"use strict";var n=r(141);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=r(32);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(472),o=r(109);e.exports=function(e){return null==e?[]:n(e,o(e))}},function(e,t,r){var n=r(170);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},function(e,t,r){var n=r(475),o=r(101),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(a,"")}},function(e,t,r){var n=r(476)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(478),o=r(479),i=r(101),a=r(480);e.exports=function(e,t,r){return e=i(e),void 0===(t=r?void 0:t)?o(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return r.test(e)}},function(e,t){var r="\\ud800-\\udfff",n="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="["+a+"]",l="\\d+",c="["+n+"]",u="["+o+"]",d="[^"+r+a+l+n+o+i+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",m="(?:"+u+"|"+d+")",b="(?:"+p+"|"+d+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",w="[\\ufe0e\\ufe0f]?",C=w+y+("(?:\\u200d(?:"+["[^"+r+"]",f,h].join("|")+")"+w+y+")*"),E="(?:"+[c,f,h].join("|")+")"+C,S=RegExp([p+"?"+u+"+"+g+"(?="+[s,p,"$"].join("|")+")",b+"+"+v+"(?="+[s,p+m,"$"].join("|")+")",p+"?"+m+"+"+g,p+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,E].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},function(e,t,r){var n=r(164),o=r(246),i=r(350),a=r(483),s=r(42),l=r(138),c=r(247);e.exports=function e(t,r,u,d,f){t!==r&&i(r,(function(i,l){if(f||(f=new n),s(i))a(t,r,l,u,e,d,f);else{var h=d?d(c(t,l),i,l+"",t,r,f):void 0;void 0===h&&(h=i),o(t,l,h)}}),l)}},function(e,t){e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}}},function(e,t,r){var n=r(246),o=r(227),i=r(232),a=r(197),s=r(233),l=r(113),c=r(36),u=r(484),d=r(124),f=r(172),h=r(42),p=r(234),m=r(166),b=r(247),g=r(485);e.exports=function(e,t,r,v,y,w,C){var E=b(e,r),S=b(t,r),k=C.get(S);if(k)n(e,r,k);else{var x=w?w(E,S,r+"",e,t,C):void 0,O=void 0===x;if(O){var _=c(S),P=!_&&d(S),A=!_&&!P&&m(S);x=S,_||P||A?c(E)?x=E:u(E)?x=a(E):P?(O=!1,x=o(S,!0)):A?(O=!1,x=i(S,!0)):x=[]:p(S)||l(S)?(x=E,l(E)?x=g(E):h(E)&&!f(E)||(x=s(S))):O=!1}O&&(C.set(S,x),y(x,S,v,w,C),C.delete(S)),n(e,r,x)}}},function(e,t,r){var n=r(88),o=r(49);e.exports=function(e){return o(e)&&n(e)}},function(e,t,r){var n=r(80),o=r(138);e.exports=function(e){return n(e,o(e))}},function(e,t,r){var n=r(487),o=r(279);e.exports=function(e){return n((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var l=r[n];l&&e(t,l,n,a)}return t}))}},function(e,t,r){var n=r(194),o=r(235),i=r(236);e.exports=function(e,t){return i(o(e,t,n),e+"")}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n="%[a-f0-9]{2}",o=new RegExp(n,"gi"),i=new RegExp("("+n+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],a(r),a(n))}function s(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(o),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(o);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=i.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var n=s(r[0]);n!==r[0]&&(t[r[0]]=n)}r=i.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),a=0;a<o.length;a++){var l=o[a];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},function(e,t,r){var n=r(62),o=r(49);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==n(e)}},function(e,t,r){"use strict";var n=r(0);r(619);t.a=e=>{let{children:t,className:r="",isDisabled:o}=e;return n.createElement("div",{className:"btn-group ".concat(r," ").concat(o?"is-disabled":"")},t)}},,function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#222",height:i=9,title:a,width:s=9}=e;return n.createElement(o.a,{className:"icon-plus-thin ".concat(t),height:i,title:a,viewBox:"0 0 9 9",width:s},n.createElement("path",{className:"fill-color",d:"M5 4V0H4v4H0v1h4v4h1V5h4V4H5z",fill:r,fillRule:"evenodd"}))}},function(e,t,r){"use strict";var n=r(0),o=r(10);t.a=e=>{let{className:t="",color:r="#222",height:i=1,title:a,width:s=9}=e;return n.createElement(o.a,{className:"icon-minus-thin ".concat(t),height:i,title:a,viewBox:"0 0 9 1",width:s},n.createElement("path",{className:"fill-color",d:"M0 0h9v1H0z",fill:r,fillRule:"evenodd"}))}},,,function(e,t,r){var n=r(689);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},,function(e,t,r){"use strict";var n=r(0),o=r(10),i=r(2);t.a=e=>{let{className:t="",color:r=i.b,height:a=126,title:s,width:l=130}=e;return n.createElement(o.a,{className:"error-empty-state ".concat(t),height:a,title:s,viewBox:"0 0 150 150",width:l},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M75.5,6.1337822 L75.5,5.49178758 C75.5,5.2201808 75.7319336,5 76,5 C76.2761424,5 76.5,5.21505737 76.5,5.49047852 L76.5,6.1337822 C76.651814,6.22160185 76.7783981,6.348186 76.8662178,6.5 L77.5095215,6.5 C77.7804053,6.5 78,6.73193359 78,7 C78,7.27614237 77.7849426,7.5 77.5095215,7.5 L76.8662178,7.5 C76.7783981,7.651814 76.651814,7.77839815 76.5,7.8662178 L76.5,8.50952148 C76.5,8.78040529 76.2680664,9 76,9 C75.7238576,9 75.5,8.76897915 75.5,8.49525623 L75.5,7.8662178 C75.348186,7.77839815 75.2216019,7.651814 75.1337822,7.5 L74.4904785,7.5 C74.2195947,7.5 74,7.26806641 74,7 C74,6.72385763 74.2150574,6.5 74.4904785,6.5 L75.1337822,6.5 C75.2216019,6.348186 75.348186,6.22160185 75.5,6.1337822 Z M16,73.6337822 L16,72.9917876 C16,72.7201808 16.2319336,72.5 16.5,72.5 C16.7761424,72.5 17,72.7150574 17,72.9904785 L17,73.6337822 C17.151814,73.7216019 17.2783981,73.848186 17.3662178,74 L18.0095215,74 C18.2804053,74 18.5,74.2319336 18.5,74.5 C18.5,74.7761424 18.2849426,75 18.0095215,75 L17.3662178,75 C17.2783981,75.151814 17.151814,75.2783981 17,75.3662178 L17,76.0095215 C17,76.2804053 16.7680664,76.5 16.5,76.5 C16.2238576,76.5 16,76.2689791 16,75.9952562 L16,75.3662178 C15.848186,75.2783981 15.7216019,75.151814 15.6337822,75 L14.9904785,75 C14.7195947,75 14.5,74.7680664 14.5,74.5 C14.5,74.2238576 14.7150574,74 14.9904785,74 L15.6337822,74 C15.7216019,73.848186 15.848186,73.7216019 16,73.6337822 Z M132.5,81.6337822 L132.5,80.9917876 C132.5,80.7201808 132.731934,80.5 133,80.5 C133.276142,80.5 133.5,80.7150574 133.5,80.9904785 L133.5,81.6337822 C133.651814,81.7216019 133.778398,81.848186 133.866218,82 L134.509521,82 C134.780405,82 135,82.2319336 135,82.5 C135,82.7761424 134.784943,83 134.509521,83 L133.866218,83 C133.778398,83.151814 133.651814,83.2783981 133.5,83.3662178 L133.5,84.0095215 C133.5,84.2804053 133.268066,84.5 133,84.5 C132.723858,84.5 132.5,84.2689791 132.5,83.9952562 L132.5,83.3662178 C132.348186,83.2783981 132.221602,83.151814 132.133782,83 L131.490479,83 C131.219595,83 131,82.7680664 131,82.5 C131,82.2238576 131.215057,82 131.490479,82 L132.133782,82 C132.221602,81.848186 132.348186,81.7216019 132.5,81.6337822 Z M47,23.1337822 L47,22.4917876 C47,22.2201808 47.2319336,22 47.5,22 C47.7761424,22 48,22.2150574 48,22.4904785 L48,23.1337822 C48.151814,23.2216019 48.2783981,23.348186 48.3662178,23.5 L49.0095215,23.5 C49.2804053,23.5 49.5,23.7319336 49.5,24 C49.5,24.2761424 49.2849426,24.5 49.0095215,24.5 L48.3662178,24.5 C48.2783981,24.651814 48.151814,24.7783981 48,24.8662178 L48,25.5095215 C48,25.7804053 47.7680664,26 47.5,26 C47.2238576,26 47,25.7689791 47,25.4952562 L47,24.8662178 C46.848186,24.7783981 46.7216019,24.651814 46.6337822,24.5 L45.9904785,24.5 C45.7195947,24.5 45.5,24.2680664 45.5,24 C45.5,23.7238576 45.7150574,23.5 45.9904785,23.5 L46.6337822,23.5 C46.7216019,23.348186 46.848186,23.2216019 47,23.1337822 Z M107,24.6337822 L107,23.9917876 C107,23.7201808 107.231934,23.5 107.5,23.5 C107.776142,23.5 108,23.7150574 108,23.9904785 L108,24.6337822 C108.151814,24.7216019 108.278398,24.848186 108.366218,25 L109.009521,25 C109.280405,25 109.5,25.2319336 109.5,25.5 C109.5,25.7761424 109.284943,26 109.009521,26 L108.366218,26 C108.278398,26.151814 108.151814,26.2783981 108,26.3662178 L108,27.0095215 C108,27.2804053 107.768066,27.5 107.5,27.5 C107.223858,27.5 107,27.2689791 107,26.9952562 L107,26.3662178 C106.848186,26.2783981 106.721602,26.151814 106.633782,26 L105.990479,26 C105.719595,26 105.5,25.7680664 105.5,25.5 C105.5,25.2238576 105.715057,25 105.990479,25 L106.633782,25 C106.721602,24.848186 106.848186,24.7216019 107,24.6337822 Z M142.5,44.6337822 L142.5,43.9917876 C142.5,43.7201808 142.731934,43.5 143,43.5 C143.276142,43.5 143.5,43.7150574 143.5,43.9904785 L143.5,44.6337822 C143.651814,44.7216019 143.778398,44.848186 143.866218,45 L144.509521,45 C144.780405,45 145,45.2319336 145,45.5 C145,45.7761424 144.784943,46 144.509521,46 L143.866218,46 C143.778398,46.151814 143.651814,46.2783981 143.5,46.3662178 L143.5,47.0095215 C143.5,47.2804053 143.268066,47.5 143,47.5 C142.723858,47.5 142.5,47.2689791 142.5,46.9952562 L142.5,46.3662178 C142.348186,46.2783981 142.221602,46.151814 142.133782,46 L141.490479,46 C141.219595,46 141,45.7680664 141,45.5 C141,45.2238576 141.215057,45 141.490479,45 L142.133782,45 C142.221602,44.848186 142.348186,44.7216019 142.5,44.6337822 Z M26.4375,26.7086139 L26.4375,26.3073672 C26.4375,26.137613 26.5824585,26 26.75,26 C26.922589,26 27.0625,26.1344109 27.0625,26.3065491 L27.0625,26.7086139 C27.1573838,26.7635012 27.2364988,26.8426162 27.2913861,26.9375 L27.6934509,26.9375 C27.8627533,26.9375 28,27.0824585 28,27.25 C28,27.422589 27.8655891,27.5625 27.6934509,27.5625 L27.2913861,27.5625 C27.2364988,27.6573838 27.1573838,27.7364988 27.0625,27.7913861 L27.0625,28.1934509 C27.0625,28.3627533 26.9175415,28.5 26.75,28.5 C26.577411,28.5 26.4375,28.355612 26.4375,28.1974433 L26.4375,27.7913861 C26.3426162,27.7364988 26.2635012,27.6573838 26.2086139,27.5625 L25.8065491,27.5625 C25.6372467,27.5625 25.5,27.4175415 25.5,27.25 C25.5,27.077411 25.6344109,26.9375 25.8065491,26.9375 L26.2086139,26.9375 C26.2635012,26.8426162 26.3426162,26.7635012 26.4375,26.7086139 Z M5.9375,66.7086139 L5.9375,66.3073672 C5.9375,66.137613 6.0824585,66 6.25,66 C6.42258898,66 6.5625,66.1344109 6.5625,66.3065491 L6.5625,66.7086139 C6.65738375,66.7635012 6.73649884,66.8426162 6.79138613,66.9375 L7.19345093,66.9375 C7.36275331,66.9375 7.5,67.0824585 7.5,67.25 C7.5,67.422589 7.36558914,67.5625 7.19345093,67.5625 L6.79138613,67.5625 C6.73649884,67.6573838 6.65738375,67.7364988 6.5625,67.7913861 L6.5625,68.1934509 C6.5625,68.3627533 6.4175415,68.5 6.25,68.5 C6.07741102,68.5 5.9375,68.355612 5.9375,68.1974433 L5.9375,67.7913861 C5.84261625,67.7364988 5.76350116,67.6573838 5.70861387,67.5625 L5.30654907,67.5625 C5.13724669,67.5625 5,67.4175415 5,67.25 C5,67.077411 5.13441086,66.9375 5.30654907,66.9375 L5.70861387,66.9375 C5.76350116,66.8426162 5.84261625,66.7635012 5.9375,66.7086139 Z M128.4375,35.2086139 L128.4375,34.8073672 C128.4375,34.637613 128.582458,34.5 128.75,34.5 C128.922589,34.5 129.0625,34.6344109 129.0625,34.8065491 L129.0625,35.2086139 C129.157384,35.2635012 129.236499,35.3426162 129.291386,35.4375 L129.693451,35.4375 C129.862753,35.4375 130,35.5824585 130,35.75 C130,35.922589 129.865589,36.0625 129.693451,36.0625 L129.291386,36.0625 C129.236499,36.1573838 129.157384,36.2364988 129.0625,36.2913861 L129.0625,36.6934509 C129.0625,36.8627533 128.917542,37 128.75,37 C128.577411,37 128.4375,36.855612 128.4375,36.6974433 L128.4375,36.2913861 C128.342616,36.2364988 128.263501,36.1573838 128.208614,36.0625 L127.806549,36.0625 C127.637247,36.0625 127.5,35.9175415 127.5,35.75 C127.5,35.577411 127.634411,35.4375 127.806549,35.4375 L128.208614,35.4375 C128.263501,35.3426162 128.342616,35.2635012 128.4375,35.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M22.7914692,53.0566298 C22.7914692,44.2833882 29.9045187,37.1712707 38.67891,37.1712707 C45.7737865,37.1712707 51.7824509,41.8212886 53.8227562,48.239555 C55.2405695,47.3058073 56.9383368,46.7624309 58.7630332,46.7624309 C60.5666328,46.7624309 62.2462216,47.2933152 63.654021,48.2073246 L63.654021,48.2073246 C64.4190329,41.9873442 69.7216602,37.1712707 76.1492891,37.1712707 C83.1025803,37.1712707 88.7393365,42.8072884 88.7393365,49.7596685",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(55.765403, 45.113950) rotate(-16.000000) translate(-55.765403, -45.113950) "}),n.createElement("path",{className:"stroke-color",d:"M83.943128,54.2555249 C83.943128,45.4822833 91.0561775,38.3701657 99.8305687,38.3701657 C108.60496,38.3701657 115.718009,45.4822833 115.718009,54.2555249 C115.718009,54.3264389 115.717545,54.3972444 115.716618,54.4679385 C116.654607,54.136276 117.664045,53.9558011 118.71564,53.9558011 C123.682276,53.9558011 127.708531,57.981528 127.708531,62.9475138",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(105.825829, 52.277119) rotate(12.000000) translate(-105.825829, -52.277119) "}),n.createElement("path",{className:"stroke-color fill-white",d:"M50.9395397,69.2196888 C50.9559175,68.4219236 51.610933,67.7752072 52.4046043,67.7752072 L97.4958697,67.7752072 C98.2886247,67.7752072 98.9444823,68.4183107 98.9609042,69.2182265 L99.4445195,92.7751921 L99.7620359,108.24146 C99.7783805,109.037607 99.1770355,109.912104 98.4076164,110.184881 C98.4076164,110.184881 87.4203791,114.5 74.950237,114.5 C62.4800948,114.5 51.4928575,110.184881 51.4928575,110.184881 C50.7283448,109.907706 50.1221794,109.033417 50.1385386,108.236558 L50.4774294,91.7291413 L50.9395397,69.2196888 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("ellipse",{className:"fill-color fill-opacity",cx:"74.950237",cy:"78.3725829",fill:r,fillOpacity:"0.1",rx:"23.0218009",ry:"4.33529006"}),n.createElement("path",{className:"stroke-color fill-white",d:"M74.950237,79.8176796 C97.465656,79.8176796 115.718009,75.5044007 115.718009,70.1837017 C115.718009,64.8630026 97.465656,60.5497238 74.950237,60.5497238 C52.4348179,60.5497238 34.1824645,64.8630026 34.1824645,70.1837017 C34.1824645,75.5044007 52.4348179,79.8176796 74.950237,79.8176796 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("ellipse",{className:"stroke-color fill-white",cx:"74.950237",cy:"68.4977555",fill:"#FFFFFF",rx:"24.4606635",ry:"4.09444061",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M75,145 C92.9492544,145 107.5,143.656854 107.5,142 C107.5,140.343146 92.9492544,139 75,139 C57.0507456,139 42.5,140.343146 42.5,142 C42.5,143.656854 57.0507456,145 75,145 Z M52.8509947,83.1913741 C52.8712542,82.3922739 53.1310662,82.3484877 53.4058629,83.0830098 C53.4058629,83.0830098 54.9449475,86.510498 55.7326913,92.6144423 C56.1527728,95.8695035 53.9282708,103.074457 55.7326913,105.159127 C57.3617489,107.041199 60.8117179,105.68032 64.1108787,107.455589 C67.4100395,109.230858 72.2793624,112.331621 70.2784638,112.127382 C61.553615,111.236802 53.5881693,108.414342 53.5881693,108.414342 C52.8342042,108.164383 52.2394252,107.313681 52.2596778,106.514853 L52.8509947,83.1913741 Z M74.950237,71.6141582 C83.2980852,71.6141582 97.0127962,70.1313923 97.0127962,68.8551108 C95.6484975,68.0340868 84.2687795,66.59622 74.9502365,66.59622 C65.6316935,66.59622 54.8064568,67.6979178 52.8876777,68.8551108 C52.8876777,70.1313923 66.6023888,71.6141582 74.950237,71.6141582 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color fill-white",d:"M59.7884631,63.0000267 L152.135708,63.5798175 C153.123448,63.5860189 153.924171,64.4019833 153.924171,65.3977901 C153.924171,66.3956273 153.123712,67.2095597 152.135708,67.2157627 L59.7884631,67.7955534 C58.8007222,67.8017549 58,66.7255324 58,65.3977901 C58,64.0673406 58.8004581,62.9938237 59.7884631,63.0000267 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2",transform:"translate(105.962085, 65.397790) rotate(70.000000) translate(-105.962085, -65.397790) "}),n.createElement("path",{className:"stroke-color",d:"M96.0000002,31 L92.2294151,32.3351735",stroke:r,strokeLinecap:"square",strokeWidth:"2"})))}},,,,,,,function(e,t,r){"use strict";var n=r(507);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var n,o=r(684);var i=((n=o)&&n.__esModule?n:{default:n}).default,a=i.canUseDOM?window.HTMLElement:{};t.canUseDOM=i.canUseDOM;t.default=a},function(e,t,r){var n=r(46);e.exports=function(){return n.Date.now()}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,o=0;function a(){r&&(r=!1,e()),n&&l()}function s(){i(a)}function l(){var e=Date.now();if(r){if(e-o<2)return;n=!0}else r=!0,n=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;a.some((function(e){return!!~r.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=g(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){return t+f(e["border-"+r+"-width"])}),0)}function p(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return d;var n=u(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=f(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,s=f(n.width),l=f(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=h(n,"left","right")+i),Math.round(l+a)!==r&&(l-=h(n,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+i)-t,p=Math.round(l+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(p)&&(l-=p)}return g(o.left,o.top,s,l)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):p(e):d}function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var r,n,o,i,a,s,l,u=(n=(r=t).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),l);c(this,{target:e,contentRect:u})},w=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=l.getInstance(),n=new w(t,r,this);C.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.a=S}).call(this,r(48))},,,,,,,,,,function(e,t,r){},,,,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(195),a=r.n(i),s=r(3),l=r.n(s),c=r(21),u=r.n(c),d=r(1);function f(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=e=>t=>class extends n.PureComponent{constructor(e){super(e),h(this,"onClick",(e=>{const{onClick:t=l.a}=this.props;this.close(t,e)})),h(this,"onClose",(e=>{const{onClose:t=l.a}=this.props;this.close(t,e)})),h(this,"onCancel",(e=>{const{onCancel:t=l.a}=this.props;this.close(t,e)})),h(this,"onChoose",(e=>{const{onChoose:t=l.a}=this.props;this.close(t,e)})),h(this,"onButtonClick",(()=>{this.setState({isOpen:!0})})),this.state={isOpen:!1}}close(e,t){this.setState({isOpen:!1},(()=>e(t)))}render(){const{isOpen:r}=this.state,n=this.props,{modal:i}=n,s=f(n,["modal"]),l=u()(s,["onCancel","onChoose","onClose","modal"]),{buttonLabel:c="Missing modal.buttonLabel in options",buttonClassName:h="btn btn-primary",modalClassName:p="be-modal-wrapper-content",overlayClassName:m="be-modal-wrapper-overlay"}=i;switch(e){case d.E:l.onCancel=this.onCancel,l.onChoose=this.onChoose;break;case d.I:l.onClose=this.onClose;break;default:throw new Error("Unknown kit type")}return o.a.createElement("div",null,o.a.createElement("button",{className:h,onClick:this.onButtonClick,type:"button"},c),o.a.createElement(a.a,{className:p,contentLabel:e,isOpen:r,overlayClassName:m},o.a.createElement(t,l)))}}},,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(100),a=r(10),s=r(2);var l=e=>{let{className:t="",color:r=s.b,height:o=25,title:i,width:l=45}=e;return n.createElement(a.a,{className:"icon-logo ".concat(t),height:o,title:i,viewBox:"0 0 98 52",width:l},n.createElement("path",{className:"fill-color",d:"M95.34 44.7c1.1 1.53.8 3.66-.75 4.8-1.56 1.13-3.74.84-4.93-.64l-7.8-10.23-7.82 10.23c-1.2 1.48-3.36 1.77-4.9.63-1.55-1.15-1.87-3.28-.75-4.8l9.06-11.86L68.4 21c-1.1-1.54-.8-3.67.75-4.8 1.55-1.14 3.72-.85 4.9.63l7.82 10.23 7.8-10.23c1.2-1.48 3.38-1.77 4.92-.63 1.52 1.13 1.84 3.26.73 4.8L86.3 32.84l9.04 11.85zM53.9 43.22c-5.86 0-10.6-4.65-10.6-10.4 0-5.72 4.74-10.37 10.6-10.37 5.85 0 10.6 4.65 10.6 10.38 0 5.74-4.75 10.4-10.6 10.4zm-31.23 0c-5.85 0-10.6-4.65-10.6-10.4 0-5.72 4.75-10.37 10.6-10.37 5.86 0 10.6 4.65 10.6 10.38 0 5.74-4.74 10.4-10.6 10.4zm31.22-27.7c-6.78 0-12.66 3.73-15.63 9.2-2.97-5.47-8.84-9.2-15.6-9.2-4 0-7.66 1.3-10.6 3.46V4.38C12.02 2.52 10.45 1 8.53 1 6.6 1 5.03 2.5 5 4.4v28.7c.16 9.43 8 17.03 17.67 17.03 6.77 0 12.64-3.73 15.6-9.2 2.98 5.47 8.86 9.2 15.62 9.2 9.74 0 17.66-7.75 17.66-17.32 0-9.55-7.92-17.3-17.68-17.3z",fill:r,fillRule:"evenodd"}))},c=r(6);r(686);t.a=e=>{let{url:t}=e;return o.a.createElement("div",{className:"be-logo","data-testid":"be-Logo"},function(e){return"box"===e?o.a.createElement(l,null):"string"==typeof e?o.a.createElement("img",{alt:"",className:"be-logo-custom",src:e}):o.a.createElement("div",{className:"be-logo-placeholder"},o.a.createElement(i.a,c.a.logo))}(t))}},function(e,t,r){var n=r(559),o=r(279),i=r(278);e.exports=function(e){return function(t,r,a){return a&&"number"!=typeof a&&o(t,r,a)&&(r=a=void 0),t=i(t),void 0===r?(r=t,t=0):r=i(r),a=void 0===a?t<r?1:-1:i(a),n(t,r,a,e)}}},function(e,t){var r=Math.ceil,n=Math.max;e.exports=function(e,t,o,i){for(var a=-1,s=n(r((t-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t){window.Element.prototype.closest=function(e){window.Element.prototype.matches||(window.Element.prototype.matches=window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector);let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}},function(e,t,r){},,function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return y}));var n=r(0),o=r.n(n),i=r(33),a=r(23),s=r(671),l=r(1);var c=e=>{let{delimiter:t}=e;return t===l.nb?o.a.createElement(s.a,{className:"be-breadcrumb-seperator",color:l.M,direction:"right",size:"7px"}):o.a.createElement("span",null,"/")};r(950);var u=e=>{let{name:t="",onClick:r,isLast:n,delimiter:i}=e;const s=r?o.a.createElement(a.a,{onClick:r,type:"button",className:"bdl-Breadcrumb-title"},t):o.a.createElement("div",{className:"bdl-Breadcrumb-title"},t);return o.a.createElement("span",{className:"be-breadcrumb"},s,n?null:o.a.createElement(c,{delimiter:i}))},d=r(127),f=r(128),h=r(70);r(951);var p=e=>{let{crumbs:t,onCrumbClick:r,className:n=""}=e;return o.a.createElement(d.a,{constrainToScrollParent:!0},o.a.createElement(a.a,{className:"be-breadcrumbs-drop-down ".concat(n),type:"button"},"···"),o.a.createElement(f.a,null,t.map((e=>{let{id:t,name:n}=e;return o.a.createElement(h.a,{key:t,onClick:()=>r(t)},n)}))))},m=r(6);r(952);function b(e,t,r,n){if(Array.isArray(e)){const t=n!==l.nb;return o.a.createElement("span",{className:"be-breadcrumb-more"},o.a.createElement(p,{className:t?"be-breadcrumbs-condensed":"",crumbs:e,onCrumbClick:r}),o.a.createElement(c,{delimiter:t?l.ob:l.nb}))}const{id:i,name:a}=e;return o.a.createElement(u,{delimiter:n,isLast:t,name:a,onClick:()=>r(i)})}var g=Object(i.c)((e=>{let{rootId:t,crumbs:r,onCrumbClick:n,delimiter:i,isSmall:a=!1,intl:s}=e;if(!t||0===r.length)return o.a.createElement("span",null);const c=function(e,t){const r=t.findIndex((t=>t.id===e));return-1===r?t:t.slice(r)}(t,r),d=c.find((e=>{let{id:t}=e;return t===l.ib}));d&&(d.name=s.formatMessage(m.a.rootBreadcrumb));const{length:f}=c,h=c[f-1],p=h.id?()=>n(h.id):void 0,g=o.a.createElement(u,{isLast:!0,name:h.name,onClick:p}),v=f>1?b(c[f-2],!1,n,i):null,y=f>3?b(c.slice(1,f-2),!1,n,i):null,w=f>2?b(c[0],!1,n,i):null;return o.a.createElement("div",{className:"be-breadcrumbs"},a?null:w,a?null:y,v,g)})),v=r(100);r(953);var y=e=>{let{item:t,onItemClick:r,rootId:n}=e;const{path_collection:i}=t,{entries:a=[]}=i||{};return o.a.createElement("span",{className:"be-inline-breadcrumbs"},o.a.createElement(v.a,m.a.in)," ",o.a.createElement(g,{crumbs:a,delimiter:l.ob,onCrumbClick:r,rootId:n}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var n=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var r=window.getComputedStyle(e);return t?"visible"!==r.getPropertyValue("overflow"):"none"==r.getPropertyValue("display")}function i(e,t){var r=e.nodeName.toLowerCase();return(n.test(r)&&!e.disabled||"a"===r&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&i(e,!r)}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var r=document.querySelectorAll(t);l(r,t),t="length"in r?r[0]:r}return s=t||s},t.validateElement=c,t.hide=function(e){c(e)&&(e||s).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||s).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){s=null},t.resetForTesting=function(){s=null};var n,o=r(683),i=(n=o)&&n.__esModule?n:{default:n},a=r(508);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!s)||((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(553),o=r(359),i=r(1);t.a=Object(n.a)(i.I)(o.a)},function(e,t,r){"use strict";(function(e){function n(t,r){var n,o,i,a=void 0!==(n=void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&n.document.attachEvent;if(!a){var s=(i=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame||function(e){return n.setTimeout(e,20)},function(e){return i(e)}),l=(o=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame||n.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,r=t.firstElementChild,n=t.lastElementChild,o=r.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,o.style.width=r.offsetWidth+1+"px",o.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(r){r.call(t,e)})))}))}},d=!1,f="",h="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),b=n.document.createElement("fakeelement");if(void 0!==b.style.animationName&&(d=!0),!1===d)for(var g=0;g<p.length;g++)if(void 0!==b.style[p[g]+"AnimationName"]){f="-"+p[g].toLowerCase()+"-",h=m[g],d=!0;break}var v="resizeanim",y="@"+f+"keyframes "+v+" { from { opacity: 0; } to { opacity: 0; } } ",w=f+"animation: 1ms "+v+"; "}return{addResizeListener:function(e,r){if(a)e.attachEvent("onresize",r);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var r=(y||"")+".resize-triggers { "+(w||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(e.createTextNode(r)),n.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s=o.createElement("div");s.className="expand-trigger",s.appendChild(o.createElement("div"));var l=o.createElement("div");l.className="contract-trigger",e.__resizeTriggers__.appendChild(s),e.__resizeTriggers__.appendChild(l),e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),h&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==v&&c(e)},e.__resizeTriggers__.addEventListener(h,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(h,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}r.d(t,"a",(function(){return n}))}).call(this,r(48))},,,,,,,function(e,t,r){"use strict";var n=r(618);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(0);let o;!function(e){e.DOWN="down",e.LEFT="left",e.RIGHT="right",e.UP="up"}(o||(o={}));const i={[o.DOWN]:135,[o.LEFT]:225,[o.RIGHT]:45,[o.UP]:315};t.a=e=>{let{className:t="",color:r="#000",direction:a=o.UP,size:s="9px",thickness:l="2px"}=e;return n.createElement("span",{className:"icon-chevron icon-chevron-".concat(a," ").concat(t),style:{borderColor:r,borderStyle:"solid solid none none",borderWidth:l,display:"inline-block",height:s,transform:"rotate(".concat(i[a],"deg)"),width:s}})}},function(e,t,r){"use strict";var n=r(491);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(33),a=r(168),s=r(2),l=r(9);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var u=e=>n.createElement(l.a,c({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#2687FC",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:s.q,d:"M26 11a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3h20zm-6.999 8c-1.117 0-1.933.543-2.439 1.401a6.024 6.024 0 01.414 1.45c.066.42.003.809-.165 1.138a1.7 1.7 0 00.193.011h4.002l.14-.006c.63-.054.924-.476.844-.988a5.028 5.028 0 00-.258-.997c-.453-1.2-1.367-2.009-2.73-2.009zM13 19c-1.364 0-2.278.81-2.731 2.01a4.774 4.774 0 00-.185.62c-.028.123-.053.25-.073.378-.084.54.258.992.992.992h4.002l.14-.006c.63-.054.924-.476.843-.988a5.028 5.028 0 00-.257-.997C15.277 19.81 14.363 19 13 19zm0-4a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm6.001 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"})));function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var f=e=>n.createElement(l.a,d({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#737E88",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:"#B8BEC3",d:"M26 11a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3h20zm-10 3c-2.77 0-5 2.23-5 5s2.23 5 5 5 5-2.23 5-5-2.23-5-5-5zm-3.923 4.077l2.385 2.385V21c0 .538.461 1 1 1v1C13.538 22.692 12 21.077 12 19c0-.308.077-.615.077-.923zm5.461-2.77C19 15.924 20 17.308 20 19c0 1.077-.385 2-1.077 2.692C18.77 21.308 18.385 21 18 21h-.538v-1.538c0-.231-.154-.462-.462-.462h-3v-1h1c.308 0 .538-.23.538-.538v-.924h1c.539 0 1-.461 1-1v-.23z"})));function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}var p=e=>n.createElement(l.a,h({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"gold",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:s.D,fillOpacity:.5,d:"M6 11h20a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3z"})));var m=e=>{let{dimension:t=32,isCollab:r=!1,isExternal:o=!1,title:i}=e;return o?n.createElement(f,{height:t,title:i,width:t}):r?n.createElement(u,{height:t,title:i,width:t}):n.createElement(p,{height:t,title:i,width:t})},b=r(10);var g=e=>{let{className:t="",height:r=32,title:o,width:i=32}=e;return n.createElement(b.a,{className:"icon-bookmark ".concat(t),height:r,title:o,viewBox:"0 0 32 32",width:i},n.createElement("path",{clipRule:"evenodd",d:"M24.5 27.5h-17c-.6 0-1-.4-1-1v-21c0-.6.4-1 1-1h17c.6 0 1 .4 1 1v21c0 .6-.4 1-1 1z",fill:"#75818C",fillRule:"evenodd"}),n.createElement("path",{clipRule:"evenodd",d:"M24.5 9.5V26c0 .3-.2.5-.5.5H8c-.3 0-.5-.2-.5-.5V9.5h17zM7.5 6.5h1v1h-1zM9.5 6.5h1v1h-1zM11.5 6.5h1v1h-1z",fill:"#FFF",fillRule:"evenodd"}),n.createElement("path",{d:"M16.4 21.9c-1.1 1.1-3.1 1.1-4.2 0-.6-.6-.9-1.3-.9-2.1s.3-1.6.9-2.1l1.4-1.4-.7-.7-1.4 1.4c-.8.8-1.2 1.8-1.2 2.8 0 1.1.4 2.1 1.2 2.8.8.8 1.8 1.2 2.8 1.2 1.1 0 2.1-.4 2.8-1.2l1.4-1.4-.7-.7-1.4 1.4zM20.6 13.4c-1.6-1.6-4.1-1.6-5.7 0l-1.4 1.4.7.7 1.4-1.4c.6-.6 1.4-.9 2.1-.9.8 0 1.5.3 2.1.9 1.2 1.2 1.2 3.1 0 4.2l-1.4 1.4.7.7 1.4-1.4c1.7-1.5 1.7-4 .1-5.6z",fill:"#75818C"}),n.createElement("path",{d:"M17.06 16.232l.708.707-2.83 2.828-.706-.708z",fill:"#75818C"}))},v=r(1),y=r(6);r(968);t.a=Object(i.c)((e=>{let{intl:t,rowData:r,dimension:n}=e;const{type:i,extension:s,has_collaborations:l,is_externally_owned:c}=r;let u;switch(i){case v.jg:return u=t.formatMessage(y.a.file),o.a.createElement(a.a,{dimension:n,extension:s,title:u});case v.kg:return u=l?t.formatMessage(y.a.collaboratedFolder):c?t.formatMessage(y.a.externalFolder):t.formatMessage(y.a.personalFolder),o.a.createElement(m,{dimension:n,isCollab:l,isExternal:c,title:u});case v.lg:return u=t.formatMessage(y.a.bookmark),o.a.createElement(g,{height:n,width:n,title:u});default:return u=t.formatMessage(y.a.file),o.a.createElement(a.a,{dimension:n,title:u})}}))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(23),a=r(1);r(964);var s=e=>{let{item:t,onClick:r,onFocus:n,canPreview:s,isTouch:l}=e;const{name:c,type:u}=t,d=n?()=>n(t):null;return u===a.kg||!l&&(u===a.lg||s)?o.a.createElement(i.a,{className:"be-item-label","data-testid":"be-item-name",onClick:()=>r(t),onFocus:d,type:"button"},c):o.a.createElement("span",{className:"be-item-label"},c)},l=r(566),c=r(100),u=r(341),d=r(307),f=r(6);r(965);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}var p=e=>{let{item:t,view:r}=e;const{modified_at:n="",interacted_at:i="",modified_by:s}=t,l=s&&s.name||"",p=r===a.yg,m=p&&i||n,{size:b}=t,g=o.a.createElement(d.a,{date:m,omitCommas:!0});let v=f.a.modifiedDateBy;return p?v=f.a.interactedDate:l||(v=f.a.modifiedDate),o.a.createElement("span",null,o.a.createElement("span",{className:"bdl-ItemSubDetails-modifiedBy"},o.a.createElement(c.a,h({},v,{values:{date:g,name:l}}))),o.a.createElement("span",{className:"bdl-ItemSubDetails-size"},Object(u.a)(b)))};r(966);var m=e=>{let{view:t,rootId:r,item:n,onItemClick:i}=e;return o.a.createElement("div",{className:"be-item-details"},t===a.Ag||t===a.zg?o.a.createElement(l.b,{item:n,onItemClick:i,rootId:r}):o.a.createElement(p,{item:n,view:t}))};r(967);t.a=e=>{let{canPreview:t=!1,isTouch:r=!1,item:n,onItemClick:i,onItemSelect:l,showDetails:c=!0,rootId:u,view:d}=e;return o.a.createElement("div",{className:"be-item-name"},o.a.createElement(s,{canPreview:t,isTouch:r,item:n,onClick:i,onFocus:l}),d===a.zg||c?o.a.createElement(m,{item:n,onItemClick:i,rootId:u,view:d}):null)}},,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(43),a=r(259),s=r(553),l=(r(277),r(4)),c=r.n(l),u=r(103),d=r.n(u),f=r(8),h=r.n(f),p=r(12),m=r.n(p),b=r(3),g=r.n(b),v=r(941),y=r(936),w=r(940),C=r(942),E=r(129),S=r(322),k=r(937),x=r(54),O=r(59),_=r(939),P=r(945),A=r(123),I=r(336),T=r(931),M=r(932),L=r(933),D=r(946),j=r(1);var F=function(e,t,r,n){const{type:o,extension:i="",selected:a}=n,s=!r||!!a,l=!!o&&e.indexOf(o)>-1,c=!(e.indexOf(j.jg)>-1)||!t.length||t.indexOf(i)>-1;return s&&l&&c},R=r(45),N=r(206),U=r(258);function z(){return z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}r(569),r(1002);var H=e=>{let{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,selectableType:s,canSetShareAccess:l,hasHitSelectionLimit:u,isSingleSelect:d,extensionsWhitelist:f,onItemSelect:p,onItemClick:m,onShareAccessChange:b,onFocusChange:g,currentCollection:v,tableRef:y}=e;const w=Object(L.a)(),C=Object(M.a)(r,t,m),E=((e,t,r,n,i)=>a=>{let{rowData:s}=a;const{name:l="",selected:c=!1}=s,u=i?U.a:N.a;return F(t,r,n,s)?o.a.createElement(u,z({hideLabel:!0,label:l,name:l,onChange:()=>e(s),value:l},{[i?"isSelected":"isChecked"]:c})):o.a.createElement("span",null)})(p,s,f,u,d),S=((e,t,r,n,i)=>a=>{let{rowData:s}=a;const l=h()(s,"permissions.can_set_share_access",!1);if(!(t&&l&&F(r,n,i,s)&&s.selected))return o.a.createElement("span",null);const{allowed_shared_link_access_levels:c}=s;return c?o.a.createElement(D.a,{canSetShareAccess:t,className:"bcp-shared-access-select",item:s,onChange:e}):o.a.createElement(R.c,{className:"bcp-share-access-loading"})})(b,l,s,f,u),{id:k,items:O=[]}=v,_=O.length,P=e=>{let{index:r}=e;if(-1===r)return"";const{selected:n,type:o}=O[r],i=F(s,f,u,O[r]);return c()("bcp-item-row bcp-item-row-".concat(r),{"bcp-item-row-selected":n&&t!==j.Ag,"bcp-item-row-unselectable":o!==j.kg&&!i})},H=e=>{let{event:t,rowData:r,index:n}=e;F(s,f,u,r)&&!Object(x.b)(t.target)?p(r):g(n)};return o.a.createElement(T.a,{columnCount:1,rowCount:_,className:"bcp-item-grid",id:k,items:O,onSelect:p,onOpen:m,scrollToRow:a,onScrollToChange:e=>{let{scrollToRow:t}=e;return Object(x.a)(i,".bcp-item-row-".concat(t))}},(e=>{let{onSectionRendered:t,scrollToRow:r,focusOnRender:a}=e;return o.a.createElement(I.a,null,(e=>{let{width:s,height:l}=e;return o.a.createElement(A.b,{width:s,height:l,disableHeader:!0,headerHeight:0,rowHeight:n?70:50,rowCount:_,rowGetter:e=>{let{index:t}=e;return O[t]},ref:y,rowClassName:P,onRowClick:H,scrollToIndex:r,onRowsRendered:e=>{let{startIndex:n,stopIndex:o}=e;t({rowStartIndex:n,rowStopIndex:o}),a&&Object(x.a)(i,".bcp-item-row-".concat(r))}},o.a.createElement(A.a,{dataKey:j.bd,cellRenderer:w,width:n?30:50,flexShrink:0}),o.a.createElement(A.a,{dataKey:j.nd,cellRenderer:C,width:300,flexGrow:1}),n?null:o.a.createElement(A.a,{dataKey:j.Ed,cellRenderer:S,width:260,flexShrink:0}),o.a.createElement(A.a,{dataKey:j.bd,cellRenderer:E,width:n?20:30,flexShrink:0}))}))}))};r(1003);var B=e=>{let{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,hasHitSelectionLimit:s,selectableType:l,currentCollection:c,tableRef:u,canSetShareAccess:d,isSingleSelect:f,onItemClick:h,onItemSelect:p,onShareAccessChange:m,onFocusChange:b,extensionsWhitelist:g}=e;return o.a.createElement("div",{className:"bcp-content"},t===j.tg||t===j.Ag?null:o.a.createElement(P.a,{percent:c.percentLoaded}),function(e,t){const{items:r=[]}=t;return e===j.tg||0===r.length}(t,c)?o.a.createElement(_.a,{view:t,isLoading:100!==c.percentLoaded}):o.a.createElement(H,{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,currentCollection:c,tableRef:u,canSetShareAccess:d,hasHitSelectionLimit:s,isSingleSelect:f,selectableType:l,onItemSelect:p,onItemClick:h,onFocusChange:b,onShareAccessChange:m,extensionsWhitelist:g}))},V=r(100),W=r(33),q=r(22),G=r(672),K=r(202),X=r(89),Q=r(6),Z=r(90),$=r(99);r(1004);function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}var J=Object(W.c)((e=>{let{currentCollection:t,selectedCount:r,selectedItems:n,onSelectedClick:i,hasHitSelectionLimit:a,intl:s,isSingleSelect:l,onCancel:c,onChoose:u,chooseButtonLabel:d,cancelButtonLabel:f,children:h,renderCustomActionButtons:p,showSelectedButton:m}=e;const b=s.formatMessage(Q.a.cancel),g=s.formatMessage(Q.a.choose),v=!r;return o.a.createElement("footer",{className:"bcp-footer"},o.a.createElement("div",{className:"bcp-footer-left"},m&&!l&&o.a.createElement(q.b,{className:"bcp-selected",onClick:i,type:"button"},o.a.createElement(V.a,Y({className:"bcp-selected-count"},Q.a.selected,{values:{count:r}})),a&&o.a.createElement("span",{className:"bcp-selected-max"},"(",o.a.createElement(V.a,Q.a.max),")"))),o.a.createElement("div",{className:"bcp-footer-right"},h,p?p({currentFolderId:t.id,currentFolderName:t.name,onCancel:c,onChoose:u,selectedCount:r,selectedItems:n}):o.a.createElement(G.a,{className:"bcp-footer-actions"},o.a.createElement($.a,{text:f||b},o.a.createElement(q.b,{"aria-label":b,onClick:c,type:"button"},o.a.createElement(X.a,{height:16,width:16}))),o.a.createElement($.a,{isDisabled:v,text:d||g},o.a.createElement(Z.a,{"aria-label":g,disabled:v,isDisabled:v,onClick:u,type:"button"},o.a.createElement(K.a,{color:"#fff",height:16,width:16}))))))})),ee=r(18);r(333),r(248),r(547),r(1005);function te(){return te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},te.apply(this,arguments)}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie="".concat(j.jg,",").concat(j.lg);class ae extends n.Component{constructor(e){var t;super(e),t=this,oe(this,"firstLoad",!0),oe(this,"getSelectedItems",(()=>{const{selected:e}=this.state;return Object.keys(e).map((t=>{const r=ne({},e[t]);return delete r.selected,r}))})),oe(this,"choose",(()=>{const{onChoose:e}=this.props;e(this.getSelectedItems())})),oe(this,"deleteSelectedKeys",(()=>{const{selected:e}=this.state;Object.keys(e).forEach((t=>delete e[t].selected))})),oe(this,"cancel",(()=>{const{onCancel:e}=this.props;this.deleteSelectedKeys(),this.setState({selected:{}},(()=>e()))})),oe(this,"refreshCollection",(()=>{const{currentCollection:{id:e},view:t,searchQuery:r}=this.state;if(t===j.ug&&e)this.fetchFolder(e,!1);else if(t===j.yg)this.showRecents(!1);else if(t===j.zg&&r)this.search(r);else{if(t!==j.Ag)throw new Error("Cannot refresh incompatible view!");this.showSelected()}})),oe(this,"errorCallback",((e,t)=>{this.setState({view:j.tg}),console.error(e,t)})),oe(this,"onItemClick",(e=>{if("string"==typeof e)return void this.fetchFolder(e);const{id:t,type:r}=e;r===j.kg&&this.fetchFolder(t)})),oe(this,"fetchFolder",(function(e){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{rootFolderId:n}=t.props,{currentCollection:{id:o},currentOffset:i,currentPageSize:a,searchQuery:s="",sortBy:l,sortDirection:c}=t.state,u="string"==typeof e?e:n,d=o&&o!==u,f=!!s.trim().length,h=d||f?0:i;t.firstLoad||t.rootElement.focus(),t.setState({searchQuery:"",view:j.ug,currentCollection:t.currentUnloadedCollection(),currentOffset:h}),t.api.getFolderAPI().getFolder(u,a,h,l,c,(e=>{t.fetchFolderSuccessCallback(e,r)}),t.errorCallback,{forceFetch:!0})})),oe(this,"showSelected",(()=>{const{selected:e,sortBy:t,sortDirection:r}=this.state;this.setState({searchQuery:"",view:j.Ag,currentCollection:{sortBy:t,sortDirection:r,percentLoaded:100,items:Object.keys(e).map((e=>this.api.getCache().get(e)))}},this.finishNavigation)})),oe(this,"searchSuccessCallback",(e=>{const{currentCollection:t}=this.state;this.setState({currentCollection:te(t,e)})})),oe(this,"debouncedSearch",d()(((e,t)=>{const{currentOffset:r,currentPageSize:n}=this.state;this.api.getSearchAPI().search(e,t,n,r,this.searchSuccessCallback,this.errorCallback,{forceFetch:!0})}),j.jb)),oe(this,"search",(e=>{const{rootFolderId:t}=this.props,{currentCollection:{id:r},currentOffset:n,searchQuery:o}=this.state,i="string"==typeof r?r:t,a=e.trim();if(!e)return this.debouncedSearch.cancel(),void this.setState({currentOffset:0},(()=>{this.fetchFolder(i,!1)}));a?(this.setState({searchQuery:e,view:j.zg,currentCollection:this.currentUnloadedCollection(),currentOffset:a===o?n:0}),this.debouncedSearch(i,e)):this.setState({searchQuery:e})})),oe(this,"upload",(()=>{const{currentCollection:{id:e,permissions:t}}=this.state,{canUpload:r}=this.props;if(!e||!t)return;const{can_upload:n}=t;r&&n&&this.setState({isUploadModalOpen:!0})})),oe(this,"uploadSuccessHandler",(()=>{const{currentCollection:{id:e}}=this.state;this.fetchFolder(e,!1)})),oe(this,"createFolder",(()=>{this.createFolderCallback()})),oe(this,"createFolderCallback",(e=>{const{isCreateFolderModalOpen:t,currentCollection:r}=this.state,{canCreateNewFolder:n}=this.props;if(!n)return;const{id:o,permissions:i}=r;if(!o||!i)return;const{can_upload:a}=i;a&&(t&&e?e.trim()?e.length>255?this.setState({errorCode:j.ic,isLoading:!1}):(this.setState({isLoading:!0}),this.api.getFolderAPI().create(o,e.trim(),(()=>{this.fetchFolder(o)}),(e=>{let{response:{status:t}}=e;this.setState({errorCode:409===t?j.hc:j.gc,isLoading:!1})}))):this.setState({errorCode:j.gc,isLoading:!1}):this.setState({isCreateFolderModalOpen:!0,errorCode:""}))})),oe(this,"select",(function(e){let{forceSharedLink:r=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{canSetShareAccess:n,type:o,maxSelectable:i}=t.props,{view:a,selected:s,currentCollection:{items:l=[]}}=t.state,{id:c,type:u}=e;if(!c||!u||-1===o.indexOf(u))return;const d=Object.keys(s),f=d.length,h=f===i,p=1===i,m=t.api.getAPI(u).getCacheKey(c),b=s[m],g=t.api.getCache().get(m),v=-1!==d.indexOf(m);if(b&&b===g)delete b.selected,delete s[m];else{if(h&&!p&&!v)return;if(f>0&&p){const e=d[0];delete s[e].selected,delete s[e]}e.selected=!0,s[m]=e,n&&r&&t.fetchSharedLinkInfo(e)}const y=l.findIndex((t=>t.id===e.id));t.setState({selected:s,focusedRow:y},(()=>{a===j.Ag&&t.showSelected()}))})),oe(this,"fetchSharedLinkInfo",(e=>{const{id:t,type:r}=e;switch(r){case j.kg:this.api.getFolderAPI().getFolderFields(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;case j.jg:this.api.getFileAPI().getFile(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;case j.lg:this.api.getWebLinkAPI().getWeblink(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;default:throw new Error("Unknown Type")}})),oe(this,"handleSharedLinkSuccess",(async e=>{const{selected:t}=this.state,{id:r,type:n}=e,o=this.api.getAPI(n).getCacheKey(r);let i=e;!e[j.Ed]&&h()(e,j.td,!1)&&await this.api.getAPI(e.type).share(e,void 0,(e=>{i=e})),this.updateItemInCollection(i),i.selected&&i!==t[o]&&this.select(i,{forceSharedLink:!1})})),oe(this,"changeShareAccess",((e,t)=>{const{canSetShareAccess:r}=this.props;if(!t||!r)return;const{permissions:n,type:o}=t;if(!n||!o)return;const{can_set_share_access:i}=n;i&&this.api.getAPI(o).share(t,e,(e=>{this.updateItemInCollection(e),t.selected&&this.select(e,{forceSharedLink:!1})}))})),oe(this,"updateItemInCollection",(e=>{const{currentCollection:t}=this.state,{items:r=[]}=t,n={currentCollection:ne({},t,{items:r.map((t=>t.id===e.id?e:t))})};this.setState(n)})),oe(this,"sort",((e,t)=>{const{currentCollection:{id:r}}=this.state;r&&this.setState({sortBy:e,sortDirection:t},this.refreshCollection)})),oe(this,"tableRef",(e=>{this.table=e})),oe(this,"closeModals",(()=>{const{focusedRow:e}=this.state;this.setState({isLoading:!1,isCreateFolderModalOpen:!1,isUploadModalOpen:!1});const{selected:t,currentCollection:{items:r=[]}}=this.state;t&&r.length>0&&Object(x.a)(this.rootElement,".bcp-item-row-".concat(e))})),oe(this,"onKeyDown",(e=>{if(Object(x.c)(e.target))return;const{rootFolderId:t}=this.props,r=e.key.toLowerCase();switch(r){case"/":Object(x.a)(this.rootElement,'.be-search input[type="search"]',!1),e.preventDefault();break;case"arrowdown":Object(x.a)(this.rootElement,".bcp-item-row",!1),this.setState({focusedRow:0}),e.preventDefault();break;case"g":break;case"b":this.globalModifier&&(Object(x.a)(this.rootElement,".be-breadcrumb button",!1),e.preventDefault());break;case"f":this.globalModifier&&(this.fetchFolder(t),e.preventDefault());break;case"c":this.globalModifier&&(this.choose(),e.preventDefault());break;case"x":this.globalModifier&&(this.cancel(),e.preventDefault());break;case"s":this.globalModifier&&(this.showSelected(),e.preventDefault());break;case"u":this.globalModifier&&(this.upload(),e.preventDefault());break;case"r":this.globalModifier&&(this.showRecents(),e.preventDefault());break;case"n":this.globalModifier&&(this.createFolder(),e.preventDefault());break;default:return void(this.globalModifier=!1)}this.globalModifier="g"===r})),oe(this,"onFocusChange",(e=>{this.setState({focusedRow:e})})),oe(this,"paginate",(e=>{this.setState({currentOffset:e},this.refreshCollection)}));const{apiHost:r,clientName:n,initialPage:o,initialPageSize:i,language:a,requestInterceptor:s,responseInterceptor:l,rootFolderId:c,sharedLink:u,sharedLinkPassword:f,sortBy:p,sortDirection:b,token:v,uploadHost:y}=e;this.api=new O.a({apiHost:r,clientName:n,id:"".concat(j.ig).concat(c),language:a,requestInterceptor:s,responseInterceptor:l,sharedLink:u,sharedLinkPassword:f,token:v,uploadHost:y}),this.id=m()("bcp_"),this.state={sortBy:p,sortDirection:b,rootName:"",currentCollection:{},currentOffset:i*(o-1),currentPageSize:i,selected:{},searchQuery:"",view:j.ug,isCreateFolderModalOpen:!1,isUploadModalOpen:!1,focusedRow:0,isLoading:!1,errorCode:""}}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.clearCache()}componentDidMount(){const{defaultView:e,currentFolderId:t}=this.props;this.rootElement=document.getElementById(this.id),this.appElement=this.rootElement.firstElementChild,e===j.mb?this.showRecents():this.fetchFolder(t)}componentDidUpdate(e,t){let{currentFolderId:r}=e;const{currentFolderId:n}=this.props,{currentCollection:{id:o}}=t;r!==n&&"string"==typeof n&&o!==n&&this.fetchFolder(n)}currentUnloadedCollection(){const{currentCollection:e}=this.state;return te(e,{percentLoaded:0})}finishNavigation(){const{autoFocus:e}=this.props,{currentCollection:{percentLoaded:t}}=this.state;!this.firstLoad||e?(100!==t||Object(x.b)(document.activeElement)||(Object(x.a)(this.rootElement,".bcp-item-row"),this.setState({focusedRow:0})),this.firstLoad=!1):this.firstLoad=!1}fetchFolderSuccessCallback(e,t){const{clearSelectedItemsOnNavigation:r,rootFolderId:n}=this.props,{id:o,name:i}=e,a={currentCollection:e,rootName:o===n?i:""},s=r?ne({},a,{selected:{}}):a;this.closeModals(),r&&this.deleteSelectedKeys(),t?this.setState(s,this.finishNavigation):this.setState(s)}recentsSuccessCallback(e,t){const r={currentCollection:e};t?this.setState(r,this.finishNavigation):this.setState(r)}showRecents(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{rootFolderId:t}=this.props;this.setState({searchQuery:"",view:j.yg,currentCollection:this.currentUnloadedCollection(),currentOffset:0}),this.api.getRecentsAPI().recents(t,(t=>{this.recentsSuccessCallback(t,e)}),this.errorCallback,{forceFetch:!0})}render(){const{language:e,messages:t,rootFolderId:r,logoUrl:n,canUpload:i,canSetShareAccess:a,canCreateNewFolder:s,contentUploaderProps:l,extensions:u,maxSelectable:d,type:f,token:h,sharedLink:p,sharedLinkPassword:m,apiHost:b,uploadHost:g,isHeaderLogoVisible:S,isPaginationVisible:x,isSmall:O,className:_,measureRef:P,chooseButtonLabel:A,cancelButtonLabel:I,requestInterceptor:T,responseInterceptor:M,renderCustomActionButtons:L,showSelectedButton:D}=this.props,{view:j,rootName:F,selected:R,currentCollection:N,currentPageSize:U,searchQuery:z,isCreateFolderModalOpen:H,isUploadModalOpen:V,isLoading:W,errorCode:q,focusedRow:G}=this.state,{id:K,offset:X,permissions:Q,totalCount:Z}=N,{can_upload:$}=Q||{},Y=Object.keys(R).length,ee=1===d,te=Y===d&&!ee,re=i&&!!$,ne=s&&!!$,oe=c()("be bcp",_);return o.a.createElement(E.a,{language:e,messages:t},o.a.createElement("div",{id:this.id,className:oe,ref:P,"data-testid":"content-picker"},o.a.createElement("div",{className:"be-app-element",onKeyDown:this.onKeyDown,tabIndex:0},o.a.createElement(v.a,{view:j,isHeaderLogoVisible:S,isSmall:O,searchQuery:z,logoUrl:n,onSearch:this.search}),o.a.createElement(y.a,{view:j,rootId:r,isSmall:O,rootName:F,currentCollection:N,canUpload:re,canCreateNewFolder:ne,onUpload:this.upload,onCreate:this.createFolder,onItemClick:this.fetchFolder,onSortChange:this.sort}),o.a.createElement(B,{view:j,isSmall:O,rootId:r,rootElement:this.rootElement,focusedRow:G,selectableType:f,canSetShareAccess:a,extensionsWhitelist:u,hasHitSelectionLimit:te,currentCollection:N,isSingleSelect:ee,tableRef:this.tableRef,onItemSelect:this.select,onItemClick:this.onItemClick,onFocusChange:this.onFocusChange,onShareAccessChange:this.changeShareAccess}),o.a.createElement(J,{currentCollection:N,selectedCount:Y,selectedItems:this.getSelectedItems(),showSelectedButton:D,hasHitSelectionLimit:te,isSingleSelect:ee,onSelectedClick:this.showSelected,onChoose:this.choose,onCancel:this.cancel,chooseButtonLabel:A,cancelButtonLabel:I,renderCustomActionButtons:L},x?o.a.createElement(k.a,{offset:X,onOffsetChange:this.paginate,pageSize:U,totalCount:Z}):null)),re&&this.appElement?o.a.createElement(w.a,{isOpen:V,currentFolderId:K,token:h,sharedLink:p,sharedLinkPassword:m,apiHost:b,uploadHost:g,onClose:this.uploadSuccessHandler,parentElement:this.rootElement,appElement:this.appElement,contentUploaderProps:l,requestInterceptor:T,responseInterceptor:M}):null,ne&&this.appElement?o.a.createElement(C.a,{isOpen:H,onCreate:this.createFolderCallback,onCancel:this.closeModals,isLoading:W,errorCode:q,parentElement:this.rootElement,appElement:this.appElement}):null))}}oe(ae,"defaultProps",{type:ie,rootFolderId:j.ib,onChoose:g.a,onCancel:g.a,initialPage:j.db,initialPageSize:j.eb,sortBy:j.nd,sortDirection:j.Lf,extensions:[],maxSelectable:1/0,canUpload:!0,canSetShareAccess:!0,canCreateNewFolder:!0,autoFocus:!1,className:"",apiHost:j.U,uploadHost:j.X,clientName:j.E,defaultView:j.kb,contentUploaderProps:{},showSelectedButton:!0,clearSelectedItemsOnNavigation:!1,isHeaderLogoVisible:!0,isPaginationVisible:!0});var se=Object(S.a)(ae),le=Object(s.a)(j.E)(se);function ce(){return ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ce.apply(this,arguments)}function ue(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class fe extends a.a{constructor(){super(...arguments),de(this,"onChoose",(e=>{this.emit("choose",e)})),de(this,"onCancel",(()=>{this.emit("cancel")}))}getType(){const{type:e}=this.options||{};return e||"".concat(j.kg,",").concat(j.jg,",").concat(j.lg)}getClientName(){return j.E}render(){const e=this.options,{modal:t}=e,r=ue(e,["modal"]),n=t?le:se;Object(i.render)(o.a.createElement(n,ce({clientName:this.getClientName(),componentRef:this.setComponent,language:this.language,messages:this.messages,modal:t,onCancel:this.onCancel,onChoose:this.onChoose,rootFolderId:this.id,token:this.token,type:this.getType()},r)),this.container)}}t.a=fe},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=p(i),s=p(r(43)),l=p(r(14)),c=p(r(680)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(568)),d=r(508),f=p(d),h=r(340);function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",v=void 0!==s.default.createPortal,y=function(){return v?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function w(e){return e()}var C=function(e){function t(){var e,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return r=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.removePortal=function(){!v&&s.default.unmountComponentAtNode(o.node),w(o.props.parentSelector).removeChild(o.node)},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var r=y()(o,a.default.createElement(c.default,n({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(r)},m(o,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(v||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,w(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:w(e.parentSelector),nextParent:w(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,r){if(d.canUseDOM){var n=this.props,o=n.isOpen,i=n.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=r.prevParent,s=r.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),r=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);r?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,r-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&v?(!this.node&&v&&(this.node=document.createElement("div")),y()(a.default.createElement(c.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(i.Component);C.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.instanceOf(f.default),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func},C.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}},C.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,h.polyfill)(C),t.default=C},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),s=m(a),l=m(r(14)),c=p(r(681)),u=m(r(682)),d=p(r(568)),f=p(r(685)),h=m(r(508));function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},g=0,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.setOverlayRef=function(e){r.overlay=e,r.props.overlayRef&&r.props.overlayRef(e)},r.setContentRef=function(e){r.content=e,r.props.contentRef&&r.props.contentRef(e)},r.afterClose=function(){var e=r.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName;i&&f.remove(document.body,i),o&&f.remove(document.getElementsByTagName("html")[0],o),n&&g>0&&0===(g-=1)&&d.show(t),r.props.shouldFocusAfterRender&&(r.props.shouldReturnFocusAfterClose?(c.returnFocus(),c.teardownScopedFocus()):c.popWithoutFocus()),r.props.onAfterClose&&r.props.onAfterClose()},r.open=function(){r.beforeOpen(),r.state.afterOpen&&r.state.beforeClose?(clearTimeout(r.closeTimer),r.setState({beforeClose:!1})):(r.props.shouldFocusAfterRender&&(c.setupScopedFocus(r.node),c.markForFocusLater()),r.setState({isOpen:!0},(function(){r.setState({afterOpen:!0}),r.props.isOpen&&r.props.onAfterOpen&&r.props.onAfterOpen()})))},r.close=function(){r.props.closeTimeoutMS>0?r.closeWithTimeout():r.closeWithoutTimeout()},r.focusContent=function(){return r.content&&!r.contentHasFocus()&&r.content.focus()},r.closeWithTimeout=function(){var e=Date.now()+r.props.closeTimeoutMS;r.setState({beforeClose:!0,closesAt:e},(function(){r.closeTimer=setTimeout(r.closeWithoutTimeout,r.state.closesAt-Date.now())}))},r.closeWithoutTimeout=function(){r.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},r.afterClose)},r.handleKeyDown=function(e){9===e.keyCode&&(0,u.default)(r.content,e),r.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),r.requestClose(e))},r.handleOverlayOnClick=function(e){null===r.shouldClose&&(r.shouldClose=!0),r.shouldClose&&r.props.shouldCloseOnOverlayClick&&(r.ownerHandlesClose()?r.requestClose(e):r.focusContent()),r.shouldClose=null},r.handleContentOnMouseUp=function(){r.shouldClose=!1},r.handleOverlayOnMouseDown=function(e){r.props.shouldCloseOnOverlayClick||e.target!=r.overlay||e.preventDefault()},r.handleContentOnClick=function(){r.shouldClose=!1},r.handleContentOnMouseDown=function(){r.shouldClose=!1},r.requestClose=function(e){return r.ownerHandlesClose()&&r.props.onRequestClose(e)},r.ownerHandlesClose=function(){return r.props.onRequestClose},r.shouldBeClosed=function(){return!r.state.isOpen&&!r.state.beforeClose},r.contentHasFocus=function(){return document.activeElement===r.content||r.content.contains(document.activeElement)},r.buildClassName=function(e,t){var n="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=n.base;return r.state.afterOpen&&(i=i+" "+n.afterOpen),r.state.beforeClose&&(i=i+" "+n.beforeClose),"string"==typeof t&&t?i+" "+t:i},r.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(r,n){return r[e+"-"+n]=t[n],r}),{})},r.state={afterOpen:!1,beforeClose:!1},r.shouldClose=null,r.moveFromContentToOverlay=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,r=e.ariaHideApp,n=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&f.add(document.body,o),n&&f.add(document.getElementsByTagName("html")[0],n),r&&(g+=1,d.hide(t))}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.overlayClassName,o=e.defaultStyles,i=t?{}:o.content,a=r?{}:o.overlay;return this.shouldBeClosed()?null:s.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},a,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},s.default.createElement("div",n({ref:this.setContentRef,style:n({},i,this.props.style.content),className:this.buildClassName("content",t),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.instanceOf(h.default),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,testId:l.default.string},t.default=v,e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return void(0!==a.length&&(e=a.pop()).focus())}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var n,o=r(567),i=(n=o)&&n.__esModule?n:{default:n};var a=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()}),0)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,i.default)(e);if(!r.length)return void t.preventDefault();var n,o=t.shiftKey,a=r[0],s=r[r.length-1];if(e===document.activeElement){if(!o)return;n=s}s!==document.activeElement||o||(n=a);a===document.activeElement&&o&&(n=s);if(n)return t.preventDefault(),void n.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==l||"Chrome"==l[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var c=r.indexOf(document.activeElement);c>-1&&(c+=o?-1:1);if(void 0===r[c])return t.preventDefault(),void(n=o?s:a).focus();t.preventDefault(),r[c].focus()};var n,o=r(567),i=(n=o)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){var n;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){0};var n={},o={};t.add=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)}));var r,i},t.remove=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)}));var r,i}},function(e,t,r){},function(e,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(54);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c extends n.PureComponent{static getDerivedStateFromProps(e,t){const{prevId:r,prevScrollToColumn:n,prevScrollToRow:o}=t,{id:i,scrollToColumn:a,scrollToRow:s}=e;if(i!==r)return{focusOnRender:!1,prevId:i,prevScrollToColumn:0,prevScrollToRow:0,scrollToColumn:0,scrollToRow:0};const l={};return n!==a&&o!==s?(l.prevScrollToColumn=a,l.prevScrollToRow=s,l.scrollToColumn=a,l.scrollToRow=s):s!==o?(l.prevScrollToRow=s,l.scrollToRow=s):a!==n&&(l.prevScrollToColumn=a,l.scrollToColumn=a),Object.keys(l).length?l:null}constructor(e){super(e),l(this,"onKeyDown",(e=>{if(Object(s.c)(e.target))return;const{columnCount:t,rowCount:r,onSelect:n,onRename:o,onDownload:i,onShare:a,onDelete:l,onOpen:c,items:u}=this.props,{scrollToColumn:d,scrollToRow:f}=this.state;let{scrollToColumn:h,scrollToRow:p}=this.state;const m=u[p],b=e.metaKey||e.ctrlKey;switch(e.key){case"ArrowDown":p=b?r-1:Math.min(p+1,r-1),e.stopPropagation();break;case"ArrowLeft":h=b?0:Math.max(h-1,0);break;case"ArrowRight":h=b?t-1:Math.min(h+1,t-1);break;case"ArrowUp":p=b?0:Math.max(p-1,0);break;case"Enter":c(m),e.preventDefault();break;case"Delete":l(m),e.preventDefault();break;case"X":n(m),e.preventDefault();break;case"D":i(m),e.preventDefault();break;case"S":a(m),e.preventDefault();break;case"R":o(m),e.preventDefault();break;default:return}h===d&&p===f||(e.preventDefault(),this.updateScrollState({scrollToColumn:h,scrollToRow:p}))})),l(this,"onSectionRendered",(e=>{let{columnStartIndex:t,columnStopIndex:r,rowStartIndex:n,rowStopIndex:o}=e;this.columnStartIndex=t,this.columnStopIndex=r,this.rowStartIndex=n,this.rowStopIndex=o}));const{id:t,scrollToRow:r,scrollToColumn:n}=e;this.state={focusOnRender:!1,prevId:t,prevScrollToColumn:n,prevScrollToRow:r,scrollToColumn:n,scrollToRow:r},this.columnStartIndex=0,this.columnStopIndex=0,this.rowStartIndex=0,this.rowStopIndex=0}updateScrollState(e){let{scrollToColumn:t,scrollToRow:r}=e;const{onScrollToChange:n}=this.props;n({scrollToColumn:t,scrollToRow:r}),this.setState({scrollToColumn:t,scrollToRow:r,focusOnRender:!0})}render(){const{className:e,children:t}=this.props,{scrollToColumn:r,scrollToRow:n,focusOnRender:i}=this.state;return o.a.createElement("div",{className:e,onKeyDown:this.onKeyDown},t({onSectionRendered:this.onSectionRendered,scrollToColumn:r,scrollToRow:n,focusOnRender:i}))}}l(c,"defaultProps",{scrollToColumn:0,scrollToRow:0,onRename:a.a,onShare:a.a,onDownload:a.a,onOpen:a.a,onSelect:a.a,onDelete:a.a}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(674);t.a=function(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c=>{let{rowData:u}=c;return o.a.createElement(i.a,{canPreview:a,isTouch:l,item:u,onItemClick:r,onItemSelect:n,rootId:e,showDetails:s,view:t})}}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(673);t.a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return t=>{let{rowData:r}=t;return o.a.createElement("div",{className:"be-item-icon"},o.a.createElement(i.a,{rowData:r,dimension:e}))}}},,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(33),l=r(6),c=r(566),u=r(1);var d=Object(s.c)((e=>{let t,{view:r,isSmall:n,rootId:i,rootName:a,currentCollection:s,onItemClick:d,intl:f}=e;if(r===u.ug||r===u.zg){const{id:e,name:n="",breadcrumbs:o=[]}=s;t=o.concat({id:e,name:n}),r===u.zg&&(t=t.concat({id:void 0,name:f.formatMessage(l.a.searchBreadcrumb)}))}else t=[{id:void 0,name:f.formatMessage(l.a["".concat(r,"Breadcrumb")])}],r!==u.yg&&t.unshift({id:i,name:a||f.formatMessage(l.a.rootBreadcrumb)});return o.a.createElement(c.a,{crumbs:t,delimiter:u.nb,isSmall:n,onCrumbClick:d,rootId:i})})),f=r(100),h=r(127),p=r(128),m=r(280),b=r(22),g=r(10);var v=e=>{let{className:t="",color:r="#222222",height:o=13,title:i,width:a=17}=e;return n.createElement(g.a,{className:"icon-sort ".concat(t),height:o,title:i,viewBox:"0 0 17.49 13.49",width:a},n.createElement("path",{className:"fill-color",d:"M8.48 4.24L4.74.5V.24h-.25L4.24 0 4 .24h-.26V.5L0 4.24l.71.71 3.03-3.04v11.33h1V1.91l3.04 3.04.7-.71m.52 5l3.74 3.74v.26H13l.24.24.24-.24h.26v-.26l3.74-3.74-.7-.7-3.04 3.03V.24h-1v11.33L9.71 8.54l-.71.7",fill:r}))},y=r(99),w=r(2);r(954);function C(){return C=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},C.apply(this,arguments)}function E(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var S=Object(s.c)((e=>{let{intl:t}=e,r=E(e,["intl"]);const n=t.formatMessage(l.a.sort);return o.a.createElement(y.a,{text:n},o.a.createElement(b.b,C({"aria-label":n,className:"be-btn-sort",type:"button"},r),o.a.createElement(v,{color:w.l})))}));const k=[[u.nd,u.Lf],[u.nd,u.Mf],[u.Tc,u.Lf],[u.Tc,u.Mf],[u.Hd,u.Lf],[u.Hd,u.Mf]];var x=e=>{let{sortBy:t,sortDirection:r,onSortChange:n}=e;return o.a.createElement(h.a,{isRightAligned:!0},o.a.createElement(S,null),o.a.createElement(p.a,null,k.map((e=>{let[i,a]=e;const s=i===t&&a===r,c="".concat(i).concat(a);return o.a.createElement(m.a,{key:c,isSelected:s,onClick:()=>n(i,a)},o.a.createElement(f.a,l.a[c]))}))))};var O=e=>{let{className:t="",color:r="#222222",height:o=17,title:i,width:a=17}=e;return n.createElement(g.a,{className:"icon-add-thin ".concat(t),height:o,title:i,viewBox:"0 0 17 17",width:a},n.createElement("path",{className:"fill-color",d:"M8 0h1v17H8z",fill:r}),n.createElement("path",{className:"fill-color",d:"M17 8v1H0V8z",fill:r}))};r(955);function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}var P=e=>o.a.createElement(y.a,{text:o.a.createElement(f.a,l.a.add)},o.a.createElement(b.b,_({className:"be-btn-add","aria-label":l.a.add.defaultMessage,type:"button"},e),o.a.createElement(O,{color:w.l}))),A=r(70);var I=e=>{let{onUpload:t,onCreate:r,showUpload:n=!0,showCreate:i=!0}=e;return o.a.createElement(h.a,{isRightAligned:!0},o.a.createElement(P,null),o.a.createElement(p.a,null,n&&o.a.createElement(A.a,{onClick:t},o.a.createElement(f.a,l.a.upload)),i&&o.a.createElement(A.a,{onClick:r},o.a.createElement(f.a,l.a.newFolder))))},T=r(493),M=r(494),L=r(23);r(956);var D=Object(s.c)((e=>{let{columnCount:t,gridMaxColumns:r,gridMinColumns:o,intl:i,maxColumnCount:a,onChange:s}=e;const{formatMessage:c}=i,u=r-a+1,d=r-o+1,f=d-t+1;return o<a&&n.createElement("div",{className:"bdl-GridViewSlider"},n.createElement(L.a,{className:"bdl-GridViewSlider-button",onClick:()=>{s(Math.max(u,f-1))},type:"button","aria-label":c(l.a.gridViewDecreaseColumnSize)},n.createElement(M.a,{color:w.k,width:14,height:14})),n.createElement("input",{"aria-label":c(l.a.gridViewColumnSize),className:"bdl-GridViewSlider-range",max:d,min:u,onChange:e=>{s(e.currentTarget.valueAsNumber)},step:1,type:"range",value:f}),n.createElement(L.a,{className:"bdl-GridViewSlider-button",onClick:()=>{s(Math.min(d,f+1))},type:"button","aria-label":c(l.a.gridViewIncreaseColumnSize)},n.createElement(T.a,{color:w.k,width:14,height:14})))})),j=r(4),F=r.n(j);var R=e=>{let{className:t="",color:r=w.k,height:o=16,title:i,width:a=16}=e;return n.createElement(g.a,{className:"icon-grid-view-inverted ".concat(t),title:i,width:a,height:o,viewBox:"0 0 16 16"},n.createElement("path",{d:"M2.5 2h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm7 0h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm-7 7h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm7 0h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5z",fill:r,fillRule:"nonzero"}))};var N=e=>{let{className:t="",color:r="#222",height:o=9,opacity:i=1,title:a,width:s=9}=e;return n.createElement(g.a,{className:"icon-list-view ".concat(t),height:o,title:a,viewBox:"0 0 9 9",width:s},n.createElement("path",{className:"fill-color",d:"M0 5h9V4H0v1zm0 4h9V8H0v1zm0-9v1h9V0H0z",fill:r,fillOpacity:i,fillRule:"evenodd"}))};r(957);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function z(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var H=Object(s.c)((e=>{let{className:t="",onViewModeChange:r=a.a,intl:n,viewMode:i}=e,s=z(e,["className","onViewModeChange","intl","viewMode"]);const c=i===u.wg,d=c?n.formatMessage(l.a.listView):n.formatMessage(l.a.gridView);return o.a.createElement(y.a,{text:d},o.a.createElement(b.b,U({"aria-label":d,"data-testid":"view-mode-change-button",className:F()("bdl-ViewModeChangeButton",t),type:"button",onClick:()=>{r(c?u.xg:u.wg)}},s),c?o.a.createElement(N,{color:w.l,width:17,height:17}):o.a.createElement(R,{color:w.l,width:17,height:17})))}));r(958);var B=e=>{let{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i,gridMaxColumns:a,gridMinColumns:s,maxGridColumnCountForWidth:l,onCreate:c,onGridViewSliderChange:d,onSortChange:f,onUpload:h,onViewModeChange:p,view:m,viewMode:b}=e;const{sortBy:g,sortDirection:v,items:y=[]}=n,w=!!i,C=y.length>0,E=m===u.ug,S=E&&C,k=(!!r||!!t)&&E;return o.a.createElement("div",{className:"be-sub-header-right"},C&&b===u.wg&&o.a.createElement(D,{columnCount:i,gridMaxColumns:a,gridMinColumns:s,maxColumnCount:l,onChange:d}),C&&w&&o.a.createElement(H,{viewMode:b,onViewModeChange:p}),S&&!!g&&!!v&&o.a.createElement(x,{onSortChange:f,sortBy:g,sortDirection:v}),k&&o.a.createElement(I,{isDisabled:!E,onCreate:c,onUpload:h,showCreate:t,showUpload:r}))};r(959);t.a=e=>{let{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i=0,gridMaxColumns:s=0,gridMinColumns:l=0,maxGridColumnCountForWidth:c=0,onGridViewSliderChange:f=a.a,isSmall:h,onCreate:p,onItemClick:m,onSortChange:b,onUpload:g,onViewModeChange:v,rootId:y,rootName:w,view:C,viewMode:E=u.xg}=e;return o.a.createElement("div",{className:"be-sub-header","data-testid":"be-sub-header"},o.a.createElement(d,{currentCollection:n,isSmall:h,onItemClick:m,rootId:y,rootName:w,view:C}),o.a.createElement(B,{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i,gridMaxColumns:s,gridMinColumns:l,maxGridColumnCountForWidth:c,onCreate:p,onGridViewSliderChange:f,onSortChange:b,onUpload:g,onViewModeChange:v,view:C,viewMode:E}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return _}));var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(100),l=r(196),c=r.n(l),u=r(22),d=r(73),f=r(29),h=r(6);r(960);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var m=e=>{let{onPageClick:t,pageCount:r=0,pageNumber:n=0}=e;return o.a.createElement(d.b,{className:"bdl-Pagination-dropdown",constrainToWindow:!0,isRightAligned:!0},o.a.createElement(u.b,{className:"bdl-Pagination-toggle"},o.a.createElement(s.a,p({},h.a.pageStatus,{values:{pageNumber:n,pageCount:r}}))),o.a.createElement(f.a,{className:"bdl-Pagination-dropdownMenu"},c()(1,r+1).map((e=>o.a.createElement(f.b,{key:e,isDisabled:e===n,onClick:()=>t(e)},e)))))},b=r(672),g=r(10);var v=e=>{let{className:t="",color:r="#000000",height:o=13,title:i,width:a=8}=e;return n.createElement(g.a,{className:"icon-page-back ".concat(t),height:o,title:i,viewBox:"0 0 8 13",width:a},n.createElement("path",{className:"fill-color",d:"M.1 11.3l4.6-4.5L.1 2.2 1.5.8l6 6-6 6-1.4-1.5z",fill:r,fillRule:"evenodd",transform:"rotate(180 4 7)"}))};var y=e=>{let{className:t="",color:r="#000000",height:o=13,title:i,width:a=8}=e;return n.createElement(g.a,{className:"icon-page-forward ".concat(t),height:o,title:i,viewBox:"0 0 8 13",width:a},n.createElement("path",{className:"fill-color",d:"M.1 11.3l4.6-4.5L.1 2.2 1.5.8l6 6-6 6-1.4-1.5z",fill:r,fillRule:"evenodd"}))},w=r(99);const C={height:9,width:6};var E=e=>{let{handleNextClick:t,handlePreviousClick:r,hasNextPage:n,hasPreviousPage:i,isOffsetBasedPagination:a=!0,onPageClick:l,pageCount:c=0,pageNumber:d=0}=e;return o.a.createElement("div",{className:"bdl-Pagination"},a&&o.a.createElement("div",{className:"bdl-Pagination-count"},o.a.createElement(m,{onPageClick:l,pageCount:c,pageNumber:d})),o.a.createElement(b.a,{className:"bdl-Pagination-nav"},o.a.createElement(w.a,{isDisabled:!i,text:o.a.createElement(s.a,h.a.previousPage)},o.a.createElement(u.b,{isDisabled:!i,onClick:r},o.a.createElement(v,C))),o.a.createElement(w.a,{isDisabled:!n,text:o.a.createElement(s.a,h.a.nextPage)},o.a.createElement(u.b,{isDisabled:!n,onClick:t},o.a.createElement(y,C)))))};var S=e=>{let{hasNextMarker:t=!1,hasPrevMarker:r=!1,onMarkerBasedPageChange:n=a.a}=e;if(!t&&!r)return null;return o.a.createElement(E,{handleNextClick:()=>{n(1)},handlePreviousClick:()=>{n(-1)},hasNextPage:t,hasPreviousPage:r,isOffsetBasedPagination:!1})},k=r(1);var x=e=>{let{offset:t=0,onOffsetChange:r=a.a,pageSize:n=k.eb,totalCount:i=0}=e;const s=Math.ceil(i/n);if(s<=1)return null;const l=Math.floor(t/n)+1,c=l>0?Math.min(s,l):1,u=c<s,d=c>1,f=e=>{let t=(e-1)*n;t<=0&&(t=0),t>=i&&(t=i-n),r(t)};return o.a.createElement(E,{handleNextClick:()=>{f(c+1)},handlePreviousClick:()=>{f(c-1)},hasNextPage:u,hasPreviousPage:d,isOffsetBasedPagination:!0,onPageClick:f,pageCount:s,pageNumber:c})};r(961);function O(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var _=e=>{let{hasNextMarker:t,hasPrevMarker:r,onMarkerBasedPageChange:n}=e,i=O(e,["hasNextMarker","hasPrevMarker","onMarkerBasedPageChange"]);return t||r?o.a.createElement(S,{hasNextMarker:t,hasPrevMarker:r,onMarkerBasedPageChange:n}):o.a.createElement(x,i)}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r.n(n),i=r(100),a=r(499),s=r(10),l=r(2);var c=e=>{let{className:t="",color:r=l.b,height:o=126,title:i,width:a=130}=e;return n.createElement(s.a,{className:"folder-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("ellipse",{className:"fill-color fill-opacity",cx:"75",cy:"142",fill:r,fillOpacity:"0.1",rx:"32.5",ry:"3"}),n.createElement("path",{className:"fill-color",d:"M97,6.1337822 L97,5.49178758 C97,5.2201808 97.2319336,5 97.5,5 C97.7761424,5 98,5.21505737 98,5.49047852 L98,6.1337822 C98.151814,6.22160185 98.2783981,6.348186 98.3662178,6.5 L99.0095215,6.5 C99.2804053,6.5 99.5,6.73193359 99.5,7 C99.5,7.27614237 99.2849426,7.5 99.0095215,7.5 L98.3662178,7.5 C98.2783981,7.651814 98.151814,7.77839815 98,7.8662178 L98,8.50952148 C98,8.78040529 97.7680664,9 97.5,9 C97.2238576,9 97,8.76897915 97,8.49525623 L97,7.8662178 C96.848186,7.77839815 96.7216019,7.651814 96.6337822,7.5 L95.9904785,7.5 C95.7195947,7.5 95.5,7.26806641 95.5,7 C95.5,6.72385763 95.7150574,6.5 95.9904785,6.5 L96.6337822,6.5 C96.7216019,6.348186 96.848186,6.22160185 97,6.1337822 Z M9.5,89.6337822 L9.5,88.9917876 C9.5,88.7201808 9.73193359,88.5 10,88.5 C10.2761424,88.5 10.5,88.7150574 10.5,88.9904785 L10.5,89.6337822 C10.651814,89.7216019 10.7783981,89.848186 10.8662178,90 L11.5095215,90 C11.7804053,90 12,90.2319336 12,90.5 C12,90.7761424 11.7849426,91 11.5095215,91 L10.8662178,91 C10.7783981,91.151814 10.651814,91.2783981 10.5,91.3662178 L10.5,92.0095215 C10.5,92.2804053 10.2680664,92.5 10,92.5 C9.72385763,92.5 9.5,92.2689791 9.5,91.9952562 L9.5,91.3662178 C9.348186,91.2783981 9.22160185,91.151814 9.1337822,91 L8.49047852,91 C8.21959471,91 8,90.7680664 8,90.5 C8,90.2238576 8.21505737,90 8.49047852,90 L9.1337822,90 C9.22160185,89.848186 9.348186,89.7216019 9.5,89.6337822 Z M137.5,84.6337822 L137.5,83.9917876 C137.5,83.7201808 137.731934,83.5 138,83.5 C138.276142,83.5 138.5,83.7150574 138.5,83.9904785 L138.5,84.6337822 C138.651814,84.7216019 138.778398,84.848186 138.866218,85 L139.509521,85 C139.780405,85 140,85.2319336 140,85.5 C140,85.7761424 139.784943,86 139.509521,86 L138.866218,86 C138.778398,86.151814 138.651814,86.2783981 138.5,86.3662178 L138.5,87.0095215 C138.5,87.2804053 138.268066,87.5 138,87.5 C137.723858,87.5 137.5,87.2689791 137.5,86.9952562 L137.5,86.3662178 C137.348186,86.2783981 137.221602,86.151814 137.133782,86 L136.490479,86 C136.219595,86 136,85.7680664 136,85.5 C136,85.2238576 136.215057,85 136.490479,85 L137.133782,85 C137.221602,84.848186 137.348186,84.7216019 137.5,84.6337822 Z M113.5,23.1337822 L113.5,22.4917876 C113.5,22.2201808 113.731934,22 114,22 C114.276142,22 114.5,22.2150574 114.5,22.4904785 L114.5,23.1337822 C114.651814,23.2216019 114.778398,23.348186 114.866218,23.5 L115.509521,23.5 C115.780405,23.5 116,23.7319336 116,24 C116,24.2761424 115.784943,24.5 115.509521,24.5 L114.866218,24.5 C114.778398,24.651814 114.651814,24.7783981 114.5,24.8662178 L114.5,25.5095215 C114.5,25.7804053 114.268066,26 114,26 C113.723858,26 113.5,25.7689791 113.5,25.4952562 L113.5,24.8662178 C113.348186,24.7783981 113.221602,24.651814 113.133782,24.5 L112.490479,24.5 C112.219595,24.5 112,24.2680664 112,24 C112,23.7238576 112.215057,23.5 112.490479,23.5 L113.133782,23.5 C113.221602,23.348186 113.348186,23.2216019 113.5,23.1337822 Z M33.5,20.6337822 L33.5,19.9917876 C33.5,19.7201808 33.7319336,19.5 34,19.5 C34.2761424,19.5 34.5,19.7150574 34.5,19.9904785 L34.5,20.6337822 C34.651814,20.7216019 34.7783981,20.848186 34.8662178,21 L35.5095215,21 C35.7804053,21 36,21.2319336 36,21.5 C36,21.7761424 35.7849426,22 35.5095215,22 L34.8662178,22 C34.7783981,22.151814 34.651814,22.2783981 34.5,22.3662178 L34.5,23.0095215 C34.5,23.2804053 34.2680664,23.5 34,23.5 C33.7238576,23.5 33.5,23.2689791 33.5,22.9952562 L33.5,22.3662178 C33.348186,22.2783981 33.2216019,22.151814 33.1337822,22 L32.4904785,22 C32.2195947,22 32,21.7680664 32,21.5 C32,21.2238576 32.2150574,21 32.4904785,21 L33.1337822,21 C33.2216019,20.848186 33.348186,20.7216019 33.5,20.6337822 Z M132.5,52.6337822 L132.5,51.9917876 C132.5,51.7201808 132.731934,51.5 133,51.5 C133.276142,51.5 133.5,51.7150574 133.5,51.9904785 L133.5,52.6337822 C133.651814,52.7216019 133.778398,52.848186 133.866218,53 L134.509521,53 C134.780405,53 135,53.2319336 135,53.5 C135,53.7761424 134.784943,54 134.509521,54 L133.866218,54 C133.778398,54.151814 133.651814,54.2783981 133.5,54.3662178 L133.5,55.0095215 C133.5,55.2804053 133.268066,55.5 133,55.5 C132.723858,55.5 132.5,55.2689791 132.5,54.9952562 L132.5,54.3662178 C132.348186,54.2783981 132.221602,54.151814 132.133782,54 L131.490479,54 C131.219595,54 131,53.7680664 131,53.5 C131,53.2238576 131.215057,53 131.490479,53 L132.133782,53 C132.221602,52.848186 132.348186,52.7216019 132.5,52.6337822 Z M27.9375,28.7086139 L27.9375,28.3073672 C27.9375,28.137613 28.0824585,28 28.25,28 C28.422589,28 28.5625,28.1344109 28.5625,28.3065491 L28.5625,28.7086139 C28.6573838,28.7635012 28.7364988,28.8426162 28.7913861,28.9375 L29.1934509,28.9375 C29.3627533,28.9375 29.5,29.0824585 29.5,29.25 C29.5,29.422589 29.3655891,29.5625 29.1934509,29.5625 L28.7913861,29.5625 C28.7364988,29.6573838 28.6573838,29.7364988 28.5625,29.7913861 L28.5625,30.1934509 C28.5625,30.3627533 28.4175415,30.5 28.25,30.5 C28.077411,30.5 27.9375,30.355612 27.9375,30.1974433 L27.9375,29.7913861 C27.8426162,29.7364988 27.7635012,29.6573838 27.7086139,29.5625 L27.3065491,29.5625 C27.1372467,29.5625 27,29.4175415 27,29.25 C27,29.077411 27.1344109,28.9375 27.3065491,28.9375 L27.7086139,28.9375 C27.7635012,28.8426162 27.8426162,28.7635012 27.9375,28.7086139 Z M16.4375,83.7086139 L16.4375,83.3073672 C16.4375,83.137613 16.5824585,83 16.75,83 C16.922589,83 17.0625,83.1344109 17.0625,83.3065491 L17.0625,83.7086139 C17.1573838,83.7635012 17.2364988,83.8426162 17.2913861,83.9375 L17.6934509,83.9375 C17.8627533,83.9375 18,84.0824585 18,84.25 C18,84.422589 17.8655891,84.5625 17.6934509,84.5625 L17.2913861,84.5625 C17.2364988,84.6573838 17.1573838,84.7364988 17.0625,84.7913861 L17.0625,85.1934509 C17.0625,85.3627533 16.9175415,85.5 16.75,85.5 C16.577411,85.5 16.4375,85.355612 16.4375,85.1974433 L16.4375,84.7913861 C16.3426162,84.7364988 16.2635012,84.6573838 16.2086139,84.5625 L15.8065491,84.5625 C15.6372467,84.5625 15.5,84.4175415 15.5,84.25 C15.5,84.077411 15.6344109,83.9375 15.8065491,83.9375 L16.2086139,83.9375 C16.2635012,83.8426162 16.3426162,83.7635012 16.4375,83.7086139 Z M123.4375,48.2086139 L123.4375,47.8073672 C123.4375,47.637613 123.582458,47.5 123.75,47.5 C123.922589,47.5 124.0625,47.6344109 124.0625,47.8065491 L124.0625,48.2086139 C124.157384,48.2635012 124.236499,48.3426162 124.291386,48.4375 L124.693451,48.4375 C124.862753,48.4375 125,48.5824585 125,48.75 C125,48.922589 124.865589,49.0625 124.693451,49.0625 L124.291386,49.0625 C124.236499,49.1573838 124.157384,49.2364988 124.0625,49.2913861 L124.0625,49.6934509 C124.0625,49.8627533 123.917542,50 123.75,50 C123.577411,50 123.4375,49.855612 123.4375,49.6974433 L123.4375,49.2913861 C123.342616,49.2364988 123.263501,49.1573838 123.208614,49.0625 L122.806549,49.0625 C122.637247,49.0625 122.5,48.9175415 122.5,48.75 C122.5,48.577411 122.634411,48.4375 122.806549,48.4375 L123.208614,48.4375 C123.263501,48.3426162 123.342616,48.2635012 123.4375,48.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M68.8246342,87.5 C76.40963,91.8231286 93.0935221,92.3842512 94.8471309,98.1662993 C96.6007397,103.948347 51.5,108.892186 51.5,108.892186 L56.3324509,114.952313",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M109.403973,65.6681213 C121.308377,94.6323489 136.937803,71.8237566 136.937803,71.8237566",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M135,69.348975 C137.383789,74.3303392 145.105602,69 145.105602,69",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M81.0723406,87.5 C73.4873447,91.8231286 56.8034526,92.3842512 55.0498438,98.1662993 C53.296235,103.948347 98.3969748,108.892186 98.3969748,108.892186 L93.5645239,114.952313",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M13.0621966,65.6681213 C24.9666013,94.6323489 40.5960273,71.8237566 40.5960273,71.8237566",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(26.829112, 73.012365) scale(-1, 1) translate(-26.829112, -73.012365) "}),n.createElement("path",{className:"stroke-color",d:"M5,69.348975 C7.38378882,74.3303392 15.1056022,69 15.1056022,69",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(10.052801, 70.237963) scale(-1, 1) translate(-10.052801, -70.237963) "}),n.createElement("path",{className:"stroke-color fill-white",d:"M35,37.9900737 C35,37.1671287 35.6677833,36.5 36.5086652,36.5 L64.7706257,36.5 C65.6038385,36.5 66.5588137,37.1050351 66.9100361,37.8652661 L70.1170158,44.806865 C70.4653667,45.5608807 70.0812601,46.1721311 69.2572363,46.1721311 L36.4905247,46.1721311 C35.6673306,46.1721311 35,45.5073264 35,44.6820574 L35,37.9900737 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M36.7873881,39.9245 C36.7873881,39.101555 37.4555019,38.4344262 38.2810514,38.4344262 L63.4450865,38.4344262 C64.270014,38.4344262 65.1964383,39.054175 65.5149504,39.8202068 L68.3841724,46.7207768 C68.7023992,47.4861223 68.2883944,48.1065574 67.4517556,48.1065574 L38.2960054,48.1065574 C37.462819,48.1065574 36.7873881,47.4417526 36.7873881,46.6164836 L36.7873881,39.9245 Z",fill:r,fillOpacity:"0.1"}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"53.1967213",rx:"1.5",stroke:r,strokeWidth:"2",width:"80",x:"35",y:"42.3032787"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M37,81.7185235 C37,80.8915052 37.6574211,80.3784293 38.4748917,80.5333945 C38.4748917,80.5333945 42.0893396,81.8018989 62.3333333,81.8018989 C74.9176315,81.8018989 80.4976661,85.1139445 87.6666667,85.1139445 C102.165889,85.1139445 111.621106,80.7823489 111.621106,80.7823489 C112.382648,80.4723656 113,80.8978342 113,81.7185235 L113,92.0025509 C113,92.8295692 112.319761,93.5 111.498955,93.5 L38.5010449,93.5 C37.6720407,93.5 37,92.8232402 37,92.0025509 L37,81.7185235 Z",fill:r,fillOpacity:"0.1"})))};var u=e=>{let{className:t="",color:r=l.b,height:o=126,title:i,width:a=130}=e;return n.createElement(s.a,{className:"selected-items-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",id:"Export",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M97,6.1337822 L97,5.49178758 C97,5.2201808 97.2319336,5 97.5,5 C97.7761424,5 98,5.21505737 98,5.49047852 L98,6.1337822 C98.151814,6.22160185 98.2783981,6.348186 98.3662178,6.5 L99.0095215,6.5 C99.2804053,6.5 99.5,6.73193359 99.5,7 C99.5,7.27614237 99.2849426,7.5 99.0095215,7.5 L98.3662178,7.5 C98.2783981,7.651814 98.151814,7.77839815 98,7.8662178 L98,8.50952148 C98,8.78040529 97.7680664,9 97.5,9 C97.2238576,9 97,8.76897915 97,8.49525623 L97,7.8662178 C96.848186,7.77839815 96.7216019,7.651814 96.6337822,7.5 L95.9904785,7.5 C95.7195947,7.5 95.5,7.26806641 95.5,7 C95.5,6.72385763 95.7150574,6.5 95.9904785,6.5 L96.6337822,6.5 C96.7216019,6.348186 96.848186,6.22160185 97,6.1337822 Z M6.5,89.6337822 L6.5,88.9917876 C6.5,88.7201808 6.73193359,88.5 7,88.5 C7.27614237,88.5 7.5,88.7150574 7.5,88.9904785 L7.5,89.6337822 C7.651814,89.7216019 7.77839815,89.848186 7.8662178,90 L8.50952148,90 C8.78040529,90 9,90.2319336 9,90.5 C9,90.7761424 8.78494263,91 8.50952148,91 L7.8662178,91 C7.77839815,91.151814 7.651814,91.2783981 7.5,91.3662178 L7.5,92.0095215 C7.5,92.2804053 7.26806641,92.5 7,92.5 C6.72385763,92.5 6.5,92.2689791 6.5,91.9952562 L6.5,91.3662178 C6.348186,91.2783981 6.22160185,91.151814 6.1337822,91 L5.49047852,91 C5.21959471,91 5,90.7680664 5,90.5 C5,90.2238576 5.21505737,90 5.49047852,90 L6.1337822,90 C6.22160185,89.848186 6.348186,89.7216019 6.5,89.6337822 Z M142.5,95.1337822 L142.5,94.4917876 C142.5,94.2201808 142.731934,94 143,94 C143.276142,94 143.5,94.2150574 143.5,94.4904785 L143.5,95.1337822 C143.651814,95.2216019 143.778398,95.348186 143.866218,95.5 L144.509521,95.5 C144.780405,95.5 145,95.7319336 145,96 C145,96.2761424 144.784943,96.5 144.509521,96.5 L143.866218,96.5 C143.778398,96.651814 143.651814,96.7783981 143.5,96.8662178 L143.5,97.5095215 C143.5,97.7804053 143.268066,98 143,98 C142.723858,98 142.5,97.7689791 142.5,97.4952562 L142.5,96.8662178 C142.348186,96.7783981 142.221602,96.651814 142.133782,96.5 L141.490479,96.5 C141.219595,96.5 141,96.2680664 141,96 C141,95.7238576 141.215057,95.5 141.490479,95.5 L142.133782,95.5 C142.221602,95.348186 142.348186,95.2216019 142.5,95.1337822 Z M113.5,17.1337822 L113.5,16.4917876 C113.5,16.2201808 113.731934,16 114,16 C114.276142,16 114.5,16.2150574 114.5,16.4904785 L114.5,17.1337822 C114.651814,17.2216019 114.778398,17.348186 114.866218,17.5 L115.509521,17.5 C115.780405,17.5 116,17.7319336 116,18 C116,18.2761424 115.784943,18.5 115.509521,18.5 L114.866218,18.5 C114.778398,18.651814 114.651814,18.7783981 114.5,18.8662178 L114.5,19.5095215 C114.5,19.7804053 114.268066,20 114,20 C113.723858,20 113.5,19.7689791 113.5,19.4952562 L113.5,18.8662178 C113.348186,18.7783981 113.221602,18.651814 113.133782,18.5 L112.490479,18.5 C112.219595,18.5 112,18.2680664 112,18 C112,17.7238576 112.215057,17.5 112.490479,17.5 L113.133782,17.5 C113.221602,17.348186 113.348186,17.2216019 113.5,17.1337822 Z M39.5,30.6337822 L39.5,29.9917876 C39.5,29.7201808 39.7319336,29.5 40,29.5 C40.2761424,29.5 40.5,29.7150574 40.5,29.9904785 L40.5,30.6337822 C40.651814,30.7216019 40.7783981,30.848186 40.8662178,31 L41.5095215,31 C41.7804053,31 42,31.2319336 42,31.5 C42,31.7761424 41.7849426,32 41.5095215,32 L40.8662178,32 C40.7783981,32.151814 40.651814,32.2783981 40.5,32.3662178 L40.5,33.0095215 C40.5,33.2804053 40.2680664,33.5 40,33.5 C39.7238576,33.5 39.5,33.2689791 39.5,32.9952562 L39.5,32.3662178 C39.348186,32.2783981 39.2216019,32.151814 39.1337822,32 L38.4904785,32 C38.2195947,32 38,31.7680664 38,31.5 C38,31.2238576 38.2150574,31 38.4904785,31 L39.1337822,31 C39.2216019,30.848186 39.348186,30.7216019 39.5,30.6337822 Z M42.5,142.133782 L42.5,141.491788 C42.5,141.220181 42.7319336,141 43,141 C43.2761424,141 43.5,141.215057 43.5,141.490479 L43.5,142.133782 C43.651814,142.221602 43.7783981,142.348186 43.8662178,142.5 L44.5095215,142.5 C44.7804053,142.5 45,142.731934 45,143 C45,143.276142 44.7849426,143.5 44.5095215,143.5 L43.8662178,143.5 C43.7783981,143.651814 43.651814,143.778398 43.5,143.866218 L43.5,144.509521 C43.5,144.780405 43.2680664,145 43,145 C42.7238576,145 42.5,144.768979 42.5,144.495256 L42.5,143.866218 C42.348186,143.778398 42.2216019,143.651814 42.1337822,143.5 L41.4904785,143.5 C41.2195947,143.5 41,143.268066 41,143 C41,142.723858 41.2150574,142.5 41.4904785,142.5 L42.1337822,142.5 C42.2216019,142.348186 42.348186,142.221602 42.5,142.133782 Z M63.4375,128.208614 L63.4375,127.807367 C63.4375,127.637613 63.5824585,127.5 63.75,127.5 C63.922589,127.5 64.0625,127.634411 64.0625,127.806549 L64.0625,128.208614 C64.1573838,128.263501 64.2364988,128.342616 64.2913861,128.4375 L64.6934509,128.4375 C64.8627533,128.4375 65,128.582458 65,128.75 C65,128.922589 64.8655891,129.0625 64.6934509,129.0625 L64.2913861,129.0625 C64.2364988,129.157384 64.1573838,129.236499 64.0625,129.291386 L64.0625,129.693451 C64.0625,129.862753 63.9175415,130 63.75,130 C63.577411,130 63.4375,129.855612 63.4375,129.697443 L63.4375,129.291386 C63.3426162,129.236499 63.2635012,129.157384 63.2086139,129.0625 L62.8065491,129.0625 C62.6372467,129.0625 62.5,128.917542 62.5,128.75 C62.5,128.577411 62.6344109,128.4375 62.8065491,128.4375 L63.2086139,128.4375 C63.2635012,128.342616 63.3426162,128.263501 63.4375,128.208614 Z M132.5,122.633782 L132.5,121.991788 C132.5,121.720181 132.731934,121.5 133,121.5 C133.276142,121.5 133.5,121.715057 133.5,121.990479 L133.5,122.633782 C133.651814,122.721602 133.778398,122.848186 133.866218,123 L134.509521,123 C134.780405,123 135,123.231934 135,123.5 C135,123.776142 134.784943,124 134.509521,124 L133.866218,124 C133.778398,124.151814 133.651814,124.278398 133.5,124.366218 L133.5,125.009521 C133.5,125.280405 133.268066,125.5 133,125.5 C132.723858,125.5 132.5,125.268979 132.5,124.995256 L132.5,124.366218 C132.348186,124.278398 132.221602,124.151814 132.133782,124 L131.490479,124 C131.219595,124 131,123.768066 131,123.5 C131,123.223858 131.215057,123 131.490479,123 L132.133782,123 C132.221602,122.848186 132.348186,122.721602 132.5,122.633782 Z M33.9375,38.7086139 L33.9375,38.3073672 C33.9375,38.137613 34.0824585,38 34.25,38 C34.422589,38 34.5625,38.1344109 34.5625,38.3065491 L34.5625,38.7086139 C34.6573838,38.7635012 34.7364988,38.8426162 34.7913861,38.9375 L35.1934509,38.9375 C35.3627533,38.9375 35.5,39.0824585 35.5,39.25 C35.5,39.422589 35.3655891,39.5625 35.1934509,39.5625 L34.7913861,39.5625 C34.7364988,39.6573838 34.6573838,39.7364988 34.5625,39.7913861 L34.5625,40.1934509 C34.5625,40.3627533 34.4175415,40.5 34.25,40.5 C34.077411,40.5 33.9375,40.355612 33.9375,40.1974433 L33.9375,39.7913861 C33.8426162,39.7364988 33.7635012,39.6573838 33.7086139,39.5625 L33.3065491,39.5625 C33.1372467,39.5625 33,39.4175415 33,39.25 C33,39.077411 33.1344109,38.9375 33.3065491,38.9375 L33.7086139,38.9375 C33.7635012,38.8426162 33.8426162,38.7635012 33.9375,38.7086139 Z M16.4375,107.708614 L16.4375,107.307367 C16.4375,107.137613 16.5824585,107 16.75,107 C16.922589,107 17.0625,107.134411 17.0625,107.306549 L17.0625,107.708614 C17.1573838,107.763501 17.2364988,107.842616 17.2913861,107.9375 L17.6934509,107.9375 C17.8627533,107.9375 18,108.082458 18,108.25 C18,108.422589 17.8655891,108.5625 17.6934509,108.5625 L17.2913861,108.5625 C17.2364988,108.657384 17.1573838,108.736499 17.0625,108.791386 L17.0625,109.193451 C17.0625,109.362753 16.9175415,109.5 16.75,109.5 C16.577411,109.5 16.4375,109.355612 16.4375,109.197443 L16.4375,108.791386 C16.3426162,108.736499 16.2635012,108.657384 16.2086139,108.5625 L15.8065491,108.5625 C15.6372467,108.5625 15.5,108.417542 15.5,108.25 C15.5,108.077411 15.6344109,107.9375 15.8065491,107.9375 L16.2086139,107.9375 C16.2635012,107.842616 16.3426162,107.763501 16.4375,107.708614 Z M123.4375,118.208614 L123.4375,117.807367 C123.4375,117.637613 123.582458,117.5 123.75,117.5 C123.922589,117.5 124.0625,117.634411 124.0625,117.806549 L124.0625,118.208614 C124.157384,118.263501 124.236499,118.342616 124.291386,118.4375 L124.693451,118.4375 C124.862753,118.4375 125,118.582458 125,118.75 C125,118.922589 124.865589,119.0625 124.693451,119.0625 L124.291386,119.0625 C124.236499,119.157384 124.157384,119.236499 124.0625,119.291386 L124.0625,119.693451 C124.0625,119.862753 123.917542,120 123.75,120 C123.577411,120 123.4375,119.855612 123.4375,119.697443 L123.4375,119.291386 C123.342616,119.236499 123.263501,119.157384 123.208614,119.0625 L122.806549,119.0625 C122.637247,119.0625 122.5,118.917542 122.5,118.75 C122.5,118.577411 122.634411,118.4375 122.806549,118.4375 L123.208614,118.4375 C123.263501,118.342616 123.342616,118.263501 123.4375,118.208614 Z",fill:r}),n.createElement("path",{className:"fill-color",d:"M43.4804692,103.174876 L41.1752714,101.240586 C40.7617585,100.893607 40.1285056,100.946696 39.7735038,101.369771 C39.416027,101.795795 39.4705231,102.420947 39.8896962,102.772675 L42.9680029,105.355681 C43.1743888,105.528859 43.4355129,105.602379 43.6894604,105.57998 C43.9483712,105.55797 44.1918657,105.438515 44.3678615,105.228771 L48.2284051,100.627954 C48.5780776,100.211231 48.526314,99.5763992 48.1032393,99.2213974 C47.6772151,98.8639206 47.0502638,98.920561 46.6963163,99.3423792 L43.4804692,103.174876 Z M37,102 C37,98.1340068 40.1350851,95 44.0024366,95 L94.9975634,95 C98.8649024,95 102,98.1418733 102,102 C102,105.865993 98.8649149,109 94.9975634,109 L44.0024366,109 C40.1350976,109 37,105.858127 37,102 Z",fill:r}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"60",rx:"1.5",stroke:r,strokeWidth:"2",width:"40",x:"62",y:"53"}),n.createElement("path",{className:"fill-color",d:"M33.4804692,85.1748765 L31.1752714,83.2405859 C30.7617585,82.8936073 30.1285056,82.9466958 29.7735038,83.3697705 C29.416027,83.7957948 29.4705231,84.4209468 29.8896962,84.7726747 L32.9680029,87.3556808 C33.1743888,87.5288591 33.4355129,87.6023789 33.6894604,87.57998 C33.9483712,87.5579702 34.1918657,87.4385148 34.3678615,87.2287712 L38.2284051,82.6279545 C38.5780776,82.211231 38.526314,81.5763992 38.1032393,81.2213974 C37.6772151,80.8639206 37.0502638,80.920561 36.6963163,81.3423792 L33.4804692,85.1748765 Z M27,84 C27,80.1340068 30.1350851,77 34.0024366,77 L84.9975634,77 C88.8649024,77 92,80.1418733 92,84 C92,87.8659932 88.8649149,91 84.9975634,91 L34.0024366,91 C30.1350976,91 27,87.8581267 27,84 Z",fill:r}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"60",rx:"1.5",stroke:r,strokeWidth:"2",width:"40",x:"70",y:"37"}),n.createElement("path",{className:"stroke-color fill-white",d:"M79,46.4981237 C79,45.6707328 79.6757415,45 80.4989041,45 L112.911044,45 C113.738866,45 114.834395,45.5280187 115.346944,46.1656381 L123.063004,55.7645454 C123.580493,56.4083096 124,57.6097136 124,58.4215292 L124,103.508654 C124,104.332302 123.328952,105 122.502769,105 L80.4972305,105 C79.6703329,105 79,104.326172 79,103.501876 L79,46.4981237 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color",d:"M86.5,70 C86.5,69.4477153 86.9473652,69 87.4981537,69 L115.501846,69 C116.053111,69 116.5,69.4438648 116.5,70 C116.5,70.5522847 116.052635,71 115.501846,71 L87.4981537,71 C86.9468886,71 86.5,70.5561352 86.5,70 Z M86.5,75 C86.5,74.4477153 86.9473652,74 87.4981537,74 L115.501846,74 C116.053111,74 116.5,74.4438648 116.5,75 C116.5,75.5522847 116.052635,76 115.501846,76 L87.4981537,76 C86.9468886,76 86.5,75.5561352 86.5,75 Z M86.5,80 C86.5,79.4477153 86.9449463,79 87.4933977,79 L103.506602,79 C104.055241,79 104.5,79.4438648 104.5,80 C104.5,80.5522847 104.055054,81 103.506602,81 L87.4933977,81 C86.9447593,81 86.5,80.5561352 86.5,80 Z M106.9,80 C106.9,79.4477153 107.350975,79 107.890778,79 L111.909222,79 C112.456414,79 112.9,79.4438648 112.9,80 C112.9,80.5522847 112.449025,81 111.909222,81 L107.890778,81 C107.343586,81 106.9,80.5561352 106.9,80 Z",fill:r}),n.createElement("path",{className:"fill-color fill-opacity",d:"M81,93.0952639 C81,92.2673619 81.6405192,91.819868 82.4446313,92.0247586 C82.4446313,92.0247586 83.7455648,92.9506249 94.6666667,92.9506249 C101.455564,92.9506249 104.465846,95.7883014 108.333333,95.7883014 C116.155282,95.7883014 120.733786,92.3847142 120.733786,92.3847142 C121.433097,91.949238 122,92.2738296 122,93.0952639 L122,101.474211 C122,102.302113 121.322576,102.973261 120.492164,102.973261 L82.5078364,102.973261 C81.6750814,102.973261 81,102.295646 81,101.474211 L81,93.0952639 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color",d:"M123,56 L114.615019,56 C113.723068,56 113,55.2734286 113,54.3849814 L113,46",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M51.4997804,57 C51.5159706,57 58.357785,57.0000513 62,57.0001537 M62,71 L50.5002196,71 C46.3579627,71 42.8594173,70.1626263 42.8594173,66.0195799",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M42.860937,66.126647 C42.860937,63.7364857 44.5317428,61.2152184 47.5857812,61 L81.4999054,61 C83.4329543,61 85,61.5709366 85,63.5 C85,65.4329966 83.4293087,66 81.4999054,66 L51.887125,66",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))};var d=e=>{let{className:t="",color:r=l.b,height:o=180,title:i,width:a=180}=e;return n.createElement(s.a,{className:"search-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M65.5,6.1337822 L65.5,5.49178758 C65.5,5.2201808 65.7319336,5 66,5 C66.2761424,5 66.5,5.21505737 66.5,5.49047852 L66.5,6.1337822 C66.651814,6.22160185 66.7783981,6.348186 66.8662178,6.5 L67.5095215,6.5 C67.7804053,6.5 68,6.73193359 68,7 C68,7.27614237 67.7849426,7.5 67.5095215,7.5 L66.8662178,7.5 C66.7783981,7.651814 66.651814,7.77839815 66.5,7.8662178 L66.5,8.50952148 C66.5,8.78040529 66.2680664,9 66,9 C65.7238576,9 65.5,8.76897915 65.5,8.49525623 L65.5,7.8662178 C65.348186,7.77839815 65.2216019,7.651814 65.1337822,7.5 L64.4904785,7.5 C64.2195947,7.5 64,7.26806641 64,7 C64,6.72385763 64.2150574,6.5 64.4904785,6.5 L65.1337822,6.5 C65.2216019,6.348186 65.348186,6.22160185 65.5,6.1337822 Z M11,78.6337822 L11,77.9917876 C11,77.7201808 11.2319336,77.5 11.5,77.5 C11.7761424,77.5 12,77.7150574 12,77.9904785 L12,78.6337822 C12.151814,78.7216019 12.2783981,78.848186 12.3662178,79 L13.0095215,79 C13.2804053,79 13.5,79.2319336 13.5,79.5 C13.5,79.7761424 13.2849426,80 13.0095215,80 L12.3662178,80 C12.2783981,80.151814 12.151814,80.2783981 12,80.3662178 L12,81.0095215 C12,81.2804053 11.7680664,81.5 11.5,81.5 C11.2238576,81.5 11,81.2689791 11,80.9952562 L11,80.3662178 C10.848186,80.2783981 10.7216019,80.151814 10.6337822,80 L9.99047852,80 C9.71959471,80 9.5,79.7680664 9.5,79.5 C9.5,79.2238576 9.71505737,79 9.99047852,79 L10.6337822,79 C10.7216019,78.848186 10.848186,78.7216019 11,78.6337822 Z M142.5,81.6337822 L142.5,80.9917876 C142.5,80.7201808 142.731934,80.5 143,80.5 C143.276142,80.5 143.5,80.7150574 143.5,80.9904785 L143.5,81.6337822 C143.651814,81.7216019 143.778398,81.848186 143.866218,82 L144.509521,82 C144.780405,82 145,82.2319336 145,82.5 C145,82.7761424 144.784943,83 144.509521,83 L143.866218,83 C143.778398,83.151814 143.651814,83.2783981 143.5,83.3662178 L143.5,84.0095215 C143.5,84.2804053 143.268066,84.5 143,84.5 C142.723858,84.5 142.5,84.2689791 142.5,83.9952562 L142.5,83.3662178 C142.348186,83.2783981 142.221602,83.151814 142.133782,83 L141.490479,83 C141.219595,83 141,82.7680664 141,82.5 C141,82.2238576 141.215057,82 141.490479,82 L142.133782,82 C142.221602,81.848186 142.348186,81.7216019 142.5,81.6337822 Z M47,23.1337822 L47,22.4917876 C47,22.2201808 47.2319336,22 47.5,22 C47.7761424,22 48,22.2150574 48,22.4904785 L48,23.1337822 C48.151814,23.2216019 48.2783981,23.348186 48.3662178,23.5 L49.0095215,23.5 C49.2804053,23.5 49.5,23.7319336 49.5,24 C49.5,24.2761424 49.2849426,24.5 49.0095215,24.5 L48.3662178,24.5 C48.2783981,24.651814 48.151814,24.7783981 48,24.8662178 L48,25.5095215 C48,25.7804053 47.7680664,26 47.5,26 C47.2238576,26 47,25.7689791 47,25.4952562 L47,24.8662178 C46.848186,24.7783981 46.7216019,24.651814 46.6337822,24.5 L45.9904785,24.5 C45.7195947,24.5 45.5,24.2680664 45.5,24 C45.5,23.7238576 45.7150574,23.5 45.9904785,23.5 L46.6337822,23.5 C46.7216019,23.348186 46.848186,23.2216019 47,23.1337822 Z M92,24.6337822 L92,23.9917876 C92,23.7201808 92.2319336,23.5 92.5,23.5 C92.7761424,23.5 93,23.7150574 93,23.9904785 L93,24.6337822 C93.151814,24.7216019 93.2783981,24.848186 93.3662178,25 L94.0095215,25 C94.2804053,25 94.5,25.2319336 94.5,25.5 C94.5,25.7761424 94.2849426,26 94.0095215,26 L93.3662178,26 C93.2783981,26.151814 93.151814,26.2783981 93,26.3662178 L93,27.0095215 C93,27.2804053 92.7680664,27.5 92.5,27.5 C92.2238576,27.5 92,27.2689791 92,26.9952562 L92,26.3662178 C91.848186,26.2783981 91.7216019,26.151814 91.6337822,26 L90.9904785,26 C90.7195947,26 90.5,25.7680664 90.5,25.5 C90.5,25.2238576 90.7150574,25 90.9904785,25 L91.6337822,25 C91.7216019,24.848186 91.848186,24.7216019 92,24.6337822 Z M137,44.6337822 L137,43.9917876 C137,43.7201808 137.231934,43.5 137.5,43.5 C137.776142,43.5 138,43.7150574 138,43.9904785 L138,44.6337822 C138.151814,44.7216019 138.278398,44.848186 138.366218,45 L139.009521,45 C139.280405,45 139.5,45.2319336 139.5,45.5 C139.5,45.7761424 139.284943,46 139.009521,46 L138.366218,46 C138.278398,46.151814 138.151814,46.2783981 138,46.3662178 L138,47.0095215 C138,47.2804053 137.768066,47.5 137.5,47.5 C137.223858,47.5 137,47.2689791 137,46.9952562 L137,46.3662178 C136.848186,46.2783981 136.721602,46.151814 136.633782,46 L135.990479,46 C135.719595,46 135.5,45.7680664 135.5,45.5 C135.5,45.2238576 135.715057,45 135.990479,45 L136.633782,45 C136.721602,44.848186 136.848186,44.7216019 137,44.6337822 Z M26.4375,26.7086139 L26.4375,26.3073672 C26.4375,26.137613 26.5824585,26 26.75,26 C26.922589,26 27.0625,26.1344109 27.0625,26.3065491 L27.0625,26.7086139 C27.1573838,26.7635012 27.2364988,26.8426162 27.2913861,26.9375 L27.6934509,26.9375 C27.8627533,26.9375 28,27.0824585 28,27.25 C28,27.422589 27.8655891,27.5625 27.6934509,27.5625 L27.2913861,27.5625 C27.2364988,27.6573838 27.1573838,27.7364988 27.0625,27.7913861 L27.0625,28.1934509 C27.0625,28.3627533 26.9175415,28.5 26.75,28.5 C26.577411,28.5 26.4375,28.355612 26.4375,28.1974433 L26.4375,27.7913861 C26.3426162,27.7364988 26.2635012,27.6573838 26.2086139,27.5625 L25.8065491,27.5625 C25.6372467,27.5625 25.5,27.4175415 25.5,27.25 C25.5,27.077411 25.6344109,26.9375 25.8065491,26.9375 L26.2086139,26.9375 C26.2635012,26.8426162 26.3426162,26.7635012 26.4375,26.7086139 Z M5.9375,66.7086139 L5.9375,66.3073672 C5.9375,66.137613 6.0824585,66 6.25,66 C6.42258898,66 6.5625,66.1344109 6.5625,66.3065491 L6.5625,66.7086139 C6.65738375,66.7635012 6.73649884,66.8426162 6.79138613,66.9375 L7.19345093,66.9375 C7.36275331,66.9375 7.5,67.0824585 7.5,67.25 C7.5,67.422589 7.36558914,67.5625 7.19345093,67.5625 L6.79138613,67.5625 C6.73649884,67.6573838 6.65738375,67.7364988 6.5625,67.7913861 L6.5625,68.1934509 C6.5625,68.3627533 6.4175415,68.5 6.25,68.5 C6.07741102,68.5 5.9375,68.355612 5.9375,68.1974433 L5.9375,67.7913861 C5.84261625,67.7364988 5.76350116,67.6573838 5.70861387,67.5625 L5.30654907,67.5625 C5.13724669,67.5625 5,67.4175415 5,67.25 C5,67.077411 5.13441086,66.9375 5.30654907,66.9375 L5.70861387,66.9375 C5.76350116,66.8426162 5.84261625,66.7635012 5.9375,66.7086139 Z M128.4375,35.2086139 L128.4375,34.8073672 C128.4375,34.637613 128.582458,34.5 128.75,34.5 C128.922589,34.5 129.0625,34.6344109 129.0625,34.8065491 L129.0625,35.2086139 C129.157384,35.2635012 129.236499,35.3426162 129.291386,35.4375 L129.693451,35.4375 C129.862753,35.4375 130,35.5824585 130,35.75 C130,35.922589 129.865589,36.0625 129.693451,36.0625 L129.291386,36.0625 C129.236499,36.1573838 129.157384,36.2364988 129.0625,36.2913861 L129.0625,36.6934509 C129.0625,36.8627533 128.917542,37 128.75,37 C128.577411,37 128.4375,36.855612 128.4375,36.6974433 L128.4375,36.2913861 C128.342616,36.2364988 128.263501,36.1573838 128.208614,36.0625 L127.806549,36.0625 C127.637247,36.0625 127.5,35.9175415 127.5,35.75 C127.5,35.577411 127.634411,35.4375 127.806549,35.4375 L128.208614,35.4375 C128.263501,35.3426162 128.342616,35.2635012 128.4375,35.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color fill-white",d:"M28.6960227,56.1349895 C28.6960227,55.1429691 29.4786923,54.1926774 30.4600887,54.0260004 C30.4600887,54.0260004 36.4804935,52.7556391 46.2317709,52.7556391 C57.3677087,52.7556391 66.0324375,54.0948818 66.0324375,54.0948818 C67.0148852,54.2295817 67.8113164,55.1487922 67.8113164,56.1438829 L67.8113164,104.101951 C67.8113164,105.098883 67.0004601,105.966124 66.0231367,106.037317 C66.0231367,106.037317 57.0783775,106.688942 48.2536696,107.331436 C39.4289616,107.97393 30.4312685,110.298757 30.4312685,110.298757 C29.4729187,110.530897 28.6960227,109.922074 28.6960227,108.922872 L28.6960227,56.1349895 Z M107.774385,56.1349895 C107.774385,55.1429691 106.991715,54.1926774 106.010319,54.0260004 C106.010319,54.0260004 99.9899138,52.7556391 90.2386364,52.7556391 C79.1026986,52.7556391 70.4379698,54.0948818 70.4379698,54.0948818 C69.4555221,54.2295817 68.6590909,55.1487922 68.6590909,56.1438829 L68.6590909,104.101951 C68.6590909,105.098883 69.4699472,105.966124 70.4472706,106.037317 C70.4472706,106.037317 79.3920298,106.688942 88.2167377,107.331436 C97.0414457,107.97393 106.039139,110.298757 106.039139,110.298757 C106.997489,110.530897 107.774385,109.922074 107.774385,108.922872 L107.774385,56.1349895 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"stroke-color fill-white",d:"M24.5,55.5385148 C24.5,54.5437169 25.2937254,53.6358332 26.2842442,53.5154783 C26.2842442,53.5154783 36.328268,52.1541353 46.0795455,52.1541353 C57.2154833,52.1541353 65.880212,53.493378 65.880212,53.493378 C66.8626597,53.628078 67.6590909,54.5450678 67.6590909,55.5385148 L67.6590909,104.707319 C67.6590909,105.702117 66.854409,106.397236 65.873167,106.269834 C65.873167,106.269834 56.8693182,104.925421 46.0795455,104.925421 C35.2897727,104.925421 26.2723499,106.271548 26.2723499,106.271548 C25.2935081,106.402446 24.5,105.700766 24.5,104.707319 L24.5,55.5385148 Z M67.6590909,55.5385148 C67.6590909,54.5437169 68.4528163,53.6358332 69.4433351,53.5154783 C69.4433351,53.5154783 79.4873589,52.1541353 89.2386364,52.1541353 C100.374574,52.1541353 109.039303,53.493378 109.039303,53.493378 C110.021751,53.628078 110.818182,54.5450678 110.818182,55.5385148 L110.818182,104.707319 C110.818182,105.702117 110.0135,106.397236 109.032258,106.269834 C109.032258,106.269834 100.028409,104.925421 89.2386364,104.925421 C78.4488636,104.925421 69.4314408,106.271548 69.4314408,106.271548 C68.452599,106.402446 67.6590909,105.700766 67.6590909,104.707319 L67.6590909,55.5385148 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M75,145 C92.9492544,145 107.5,143.656854 107.5,142 C107.5,140.343146 92.9492544,139 75,139 C57.0507456,139 42.5,140.343146 42.5,142 C42.5,143.656854 57.0507456,145 75,145 Z M73.6534091,56.1363656 C73.6534091,55.1435852 74.4449488,54.4789956 75.4238059,54.652396 L80.3251831,55.5206542 L78.9752933,58.7180233 C78.5889267,59.633177 78.8348134,60.9519608 79.5331474,61.6725356 L85.4008667,67.7271331 L80.3251831,79.4305004 L85.4008667,90.8693423 L79.566026,96.600942 C78.8534067,97.3009522 78.8094216,98.4791911 79.4650655,99.2295031 L82.628255,102.849424 L75.4265498,104.11876 C74.4472712,104.291362 73.6534091,103.624162 73.6534091,102.633696 L73.6534091,56.1363656 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color fill-white",d:"M67.6590909,55.5385148 C67.6590909,54.5437169 68.4398495,53.9274678 69.410837,54.1640018 L76.6339368,55.9235594 L74.2082646,59.7351425 C73.6771908,60.569646 73.8423899,61.7847372 74.579969,62.4515857 L81.0026388,68.2583499 L75.4517045,79.7540898 L81.0026388,89.9057851 L74.5014209,96.5802373 C73.8084414,97.2916823 73.8804366,98.3579493 74.6693627,98.9673234 L77.9459525,101.498192 L69.2777292,105.720178 C68.38378,106.155589 67.6590909,105.700766 67.6590909,104.707319 L67.6590909,55.5385148 Z",fill:"#FFFFFF",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"fill-color",d:"M31.09375,74.8061271 C31.09375,74.2550262 31.5411152,73.8082707 32.0919037,73.8082707 L60.0955963,73.8082707 C60.6468614,73.8082707 61.09375,74.251184 61.09375,74.8061271 C61.09375,75.3572279 60.6463848,75.8039834 60.0955963,75.8039834 L32.0919037,75.8039834 C31.5406386,75.8039834 31.09375,75.3610701 31.09375,74.8061271 Z M31.09375,80.8082707 C31.09375,80.2571698 31.5411152,79.8104143 32.0919037,79.8104143 L60.0955963,79.8104143 C60.6468614,79.8104143 61.09375,80.2533276 61.09375,80.8082707 C61.09375,81.3593715 60.6463848,81.8061271 60.0955963,81.8061271 L32.0919037,81.8061271 C31.5406386,81.8061271 31.09375,81.3632137 31.09375,80.8082707 Z M31.09375,86.8104143 C31.09375,86.2593134 31.5386963,85.8125579 32.0871477,85.8125579 L48.1003523,85.8125579 C48.6489907,85.8125579 49.09375,86.2554713 49.09375,86.8104143 C49.09375,87.3615152 48.6488037,87.8082707 48.1003523,87.8082707 L32.0871477,87.8082707 C31.5385093,87.8082707 31.09375,87.3653573 31.09375,86.8104143 Z M51.49375,86.8104143 C51.49375,86.2593134 51.9447252,85.8125579 52.484528,85.8125579 L56.502972,85.8125579 C57.0501636,85.8125579 57.49375,86.2554713 57.49375,86.8104143 C57.49375,87.3615152 57.0427748,87.8082707 56.502972,87.8082707 L52.484528,87.8082707 C51.9373364,87.8082707 51.49375,87.3653573 51.49375,86.8104143 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M48.5273522,34.7647694 C48.5467621,34.7647694 49.5559827,34.7648311 53.5032935,34.7649543 M53.7433867,52.8098822 C48.8081991,52.8098822 47.3290151,52.8098822 47.3290151,52.8098822 C42.3630139,52.8098822 38.168735,50.5995078 38.168735,45.6153919",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(45.956061, 43.787326) rotate(90.000000) translate(-45.956061, -43.787326) "}),n.createElement("path",{className:"stroke-color",d:"M29.9425084,54.2248865 C29.9425084,51.3495045 31.9455767,48.3164009 35.6069523,48.0574916 L58.2824081,48.0574916 C60.5998701,48.0574916 62.4785442,49.9473402 62.4785442,52.2680179 C62.4785442,54.5934274 60.5954995,56.4785442 58.2824081,56.4785442 L39.5648134,56.4785442",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(46.210526, 52.268018) rotate(90.000000) translate(-46.210526, -52.268018) "}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"8.42105263",rx:"1",stroke:r,strokeWidth:"2",transform:"translate(116.761439, 60.552519) scale(-1, 1) rotate(45.000000) translate(-116.761439, -60.552519) ",width:"4.79545455",x:"114.363712",y:"56.3419929"}),n.createElement("path",{className:"stroke-color fill-white",d:"M123.539164,61.3515768 C123.147424,60.9598368 122.510815,60.9613104 122.125838,61.3462876 L117.599803,65.8723224 C117.210984,66.2611412 117.214326,66.8948826 117.605092,67.285649 L128.095643,77.7762001 C128.487383,78.16794 129.123992,78.1664665 129.50897,77.7814893 L134.035004,73.2554545 C134.423823,72.8666357 134.420482,72.2328943 134.029715,71.8421279 L123.539164,61.3515768 Z M103.329545,63.481203 C112.268086,63.481203 119.514205,56.210038 119.514205,47.2406015 C119.514205,38.271165 112.268086,31 103.329545,31 C94.3910051,31 87.1448864,38.271165 87.1448864,47.2406015 C87.1448864,56.210038 94.3910051,63.481203 103.329545,63.481203 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M121.963311,65.663821 C121.727831,65.4283409 121.342447,65.4319361 121.109104,65.66528 L120.269321,66.5050623 C120.033035,66.7413482 120.036926,67.1283342 120.267862,67.3592702 L128.772316,75.8637239 C129.007796,76.099204 129.39318,76.0956087 129.626524,75.8622649 L130.466306,75.0224825 C130.702592,74.7861966 130.698701,74.3992106 130.467765,74.1682747 L121.963311,65.663821 Z M96.3596054,58.705387 C98.3267224,59.8307464 91.7811151,47.2744178 98.1580266,40.8099242 C104.534938,34.3454307 115.990851,42.6502669 115.057515,40.8099242 C114.701837,40.1086033 114.287033,39.4425406 113.819691,38.8183475 C111.359011,35.5318067 107.441818,33.406015 103.02983,33.406015 C95.5810459,33.406015 89.5426136,39.4653192 89.5426136,46.9398496 C89.5426136,51.9796152 92.2878329,56.3759843 96.3596054,58.705387 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color",d:"M103.329545,36.4135338 C97.3705185,36.4135338 92.5397727,41.2609771 92.5397727,47.2406015 C92.5397727,48.6694994 92.81562,50.033747 93.3167936,51.2826485",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))},f=r(6),h=r(1);r(962);var p=e=>{let t,{view:r,isLoading:n}=e;const s=!n||r!==h.ug&&r!==h.vg?o.a.createElement(i.a,f.a["".concat(r,"State")]):o.a.createElement(i.a,f.a.loadingState);switch(r){case h.tg:t=o.a.createElement(a.a,null);break;case h.Ag:t=o.a.createElement(u,null);break;case h.zg:t=o.a.createElement(d,null);break;default:t=o.a.createElement(c,null)}return o.a.createElement("div",{className:"be-empty"},t,o.a.createElement("div",null,s))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(0),o=r.n(n),i=r(195),a=r.n(i),s=r(33),l=r(359),c=(r(609),r(6)),u=r(1);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var f=Object(s.c)((e=>{let{isOpen:t,currentFolderId:r,token:n,sharedLink:i,sharedLinkPassword:s,apiHost:f,uploadHost:h,onClose:p,parentElement:m,appElement:b,onUpload:g,contentUploaderProps:v,requestInterceptor:y,responseInterceptor:w,intl:C}=e;return o.a.createElement(a.a,{appElement:b,className:u.B,contentLabel:C.formatMessage(c.a.upload),isOpen:t,onRequestClose:p,overlayClassName:u.C,parentSelector:()=>m,portalClassName:"".concat(u.z," be-modal-upload")},o.a.createElement(l.a,d({},v,{apiHost:f,onClose:p,onComplete:g,requestInterceptor:y,responseInterceptor:w,rootFolderId:r,sharedLink:i,sharedLinkPassword:s,token:n,uploadHost:h})))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(0),o=r.n(n),i=r(33),a=r(557),s=r(6),l=r(1);r(949);var c=Object(i.c)((e=>{let{isHeaderLogoVisible:t=!0,view:r,isSmall:n,searchQuery:i,onSearch:c,logoUrl:u,intl:d}=e;const{formatMessage:f}=d,h=f(s.a.searchPlaceholder),p=r===l.ug,m=r===l.zg;return o.a.createElement("div",{className:"be-header"},t&&o.a.createElement(a.a,{isSmall:n,url:u}),o.a.createElement("div",{className:"be-search"},o.a.createElement("input",{"aria-label":h,"data-testid":"be-Header-searchInput",disabled:!p&&!m,onChange:e=>{let{currentTarget:t}=e;return c(t.value)},placeholder:h,type:"search",value:i})))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r.n(n),i=r(195),a=r.n(i),s=r(100),l=r(33),c=r(55),u=r(26),d=r(6),f=r(1);function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}var p=Object(l.c)((e=>{let t,{isOpen:r,onCreate:n,onCancel:i,isLoading:l,errorCode:p,parentElement:m,appElement:b,intl:g}=e,v=null;const y=()=>{v&&v.value&&n(v.value)};switch(p){case f.hc:t=d.a.createDialogErrorInUse;break;case f.ic:t=d.a.createDialogErrorTooLong;break;default:t=p?d.a.createDialogErrorInvalid:null}return o.a.createElement(a.a,{appElement:b,className:f.A,contentLabel:g.formatMessage(d.a.createDialogLabel),isOpen:r,onRequestClose:i,overlayClassName:f.C,parentSelector:()=>m,portalClassName:f.z},o.a.createElement("label",null,t?o.a.createElement("div",{className:"be-modal-error"},o.a.createElement(s.a,t)):null,o.a.createElement(s.a,h({tagName:"div"},d.a.createDialogText)),o.a.createElement("input",{ref:e=>{v=e,v instanceof HTMLInputElement&&(v.focus(),v.select())},onKeyDown:e=>{let{key:t}=e;if("Enter"===t)y()},required:!0,type:"text"})),o.a.createElement("div",{className:"be-modal-btns"},o.a.createElement(c.a,{"data-testid":"be-btn-create-folder",isLoading:l,onClick:y,type:"button"},o.a.createElement(s.a,d.a.create)),o.a.createElement(u.b,{"data-testid":"be-btn-create-folder-cancel",isDisabled:l,onClick:i,type:"button"},o.a.createElement(s.a,d.a.cancel))))}))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(0),o=r.n(n);r(963);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a extends n.PureComponent{constructor(e){super(e),i(this,"startProgress",(()=>{const{percent:e}=this.state;0===e?this.interval=setInterval(this.incrementProgress,100):100===e&&(this.timeout=setTimeout(this.resetProgress,600))})),i(this,"incrementProgress",(()=>{const{percent:e}=this.state;this.setState({percent:e+2/(e||1)})})),i(this,"resetProgress",(()=>{this.setState(a.defaultProps)}));const{percent:t}=e;this.state={percent:t}}clearTimeoutAndInterval(){clearInterval(this.interval),clearTimeout(this.timeout)}componentDidMount(){this.startProgress()}componentDidUpdate(e){const{percent:t}=this.props;e.percent!==t&&(this.clearTimeoutAndInterval(),this.setState({percent:t},this.startProgress))}componentWillUnmount(){this.clearTimeoutAndInterval()}render(){const{percent:e}=this.state,t={opacity:e>0&&e<100?1:0,transitionDelay:e>0&&e<100?"0":"0.4s"};return o.a.createElement("div",{className:"be-progress-container",style:t},o.a.createElement("div",{className:"be-progress",style:{width:"".concat(e,"%")}}))}}i(a,"defaultProps",{percent:0});var s=a},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(0),o=r.n(n),i=r(33),a=r(6),s=r(1);r(969);var l=Object(i.c)((e=>{let{className:t,canSetShareAccess:r,onChange:n,item:i,intl:l}=e;const{allowed_shared_link_access_levels:c,permissions:u,shared_link:d}=i;if(!c)return o.a.createElement("span",null);const{access:f=s.c}=d||{},{can_set_share_access:h}=u||{},p=c.indexOf(s.d)>-1,m=c.indexOf(s.a)>-1,b=c.indexOf(s.b)>-1;return r&&h&&(p||b||m)?o.a.createElement("select",{className:"be-share-access-select ".concat(t),onChange:e=>{let{target:t}=e;return n(t.value,i)},value:f},p?o.a.createElement("option",{value:s.d},l.formatMessage(a.a.shareAccessOpen)):null,m?o.a.createElement("option",{value:s.a},l.formatMessage(a.a.shareAccessCollab)):null,b?o.a.createElement("option",{value:s.b},l.formatMessage(a.a.shareAccessCompany)):null,o.a.createElement("option",{value:s.c},f===s.c?l.formatMessage(a.a.shareAccessNone):l.formatMessage(a.a.shareAccessRemove))):o.a.createElement("span",null)}))},,,function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(677),o=r(1);class i extends n.a{getType(){return"".concat(o.jg,",").concat(o.lg)}getClientName(){return o.J}}t.a=i},function(e,t,r){"use strict";var n=r(677),o=r(1);class i extends n.a{getType(){return o.kg}getClientName(){return o.K}}t.a=i},,,,,,function(e,t,r){"use strict";r.r(t),function(e){var t=r(994),n=r(995),o=r(677);e.Box=e.Box||{},e.Box.FilePicker=t.a,e.Box.FolderPicker=n.a,e.Box.ContentPicker=o.a}.call(this,r(48))},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){}]);
2
+ !function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/0.0.0-semantically-released/en-US/",r(r.s=1007)}([function(e,t,r){"use strict";e.exports=r(372)},function(e,t,r){"use strict";r.d(t,"l",(function(){return o})),r.d(t,"tf",(function(){return i})),r.d(t,"uf",(function(){return a})),r.d(t,"vf",(function(){return s})),r.d(t,"wf",(function(){return l})),r.d(t,"ug",(function(){return c})),r.d(t,"zg",(function(){return u})),r.d(t,"Ag",(function(){return d})),r.d(t,"yg",(function(){return h})),r.d(t,"tg",(function(){return f})),r.d(t,"Bg",(function(){return p})),r.d(t,"Cg",(function(){return m})),r.d(t,"Dg",(function(){return b})),r.d(t,"vg",(function(){return g})),r.d(t,"xg",(function(){return v})),r.d(t,"wg",(function(){return y})),r.d(t,"kg",(function(){return C})),r.d(t,"jg",(function(){return w})),r.d(t,"lg",(function(){return E})),r.d(t,"Ec",(function(){return S})),r.d(t,"Dc",(function(){return k})),r.d(t,"Fc",(function(){return O})),r.d(t,"Gc",(function(){return x})),r.d(t,"Hc",(function(){return _})),r.d(t,"ig",(function(){return P})),r.d(t,"hg",(function(){return T})),r.d(t,"gg",(function(){return I})),r.d(t,"p",(function(){return A})),r.d(t,"o",(function(){return L})),r.d(t,"u",(function(){return M})),r.d(t,"t",(function(){return R})),r.d(t,"s",(function(){return D})),r.d(t,"q",(function(){return j})),r.d(t,"r",(function(){return F})),r.d(t,"Lf",(function(){return N})),r.d(t,"Mf",(function(){return U})),r.d(t,"c",(function(){return z})),r.d(t,"d",(function(){return H})),r.d(t,"a",(function(){return B})),r.d(t,"b",(function(){return V})),r.d(t,"fe",(function(){return W})),r.d(t,"je",(function(){return G})),r.d(t,"he",(function(){return q})),r.d(t,"ie",(function(){return K})),r.d(t,"ge",(function(){return X})),r.d(t,"Fe",(function(){return Q})),r.d(t,"Ie",(function(){return Z})),r.d(t,"He",(function(){return $})),r.d(t,"Ee",(function(){return Y})),r.d(t,"De",(function(){return J})),r.d(t,"Ge",(function(){return ee})),r.d(t,"bd",(function(){return te})),r.d(t,"Tc",(function(){return re})),r.d(t,"nd",(function(){return ne})),r.d(t,"Nd",(function(){return oe})),r.d(t,"Hd",(function(){return ie})),r.d(t,"qd",(function(){return ae})),r.d(t,"Xc",(function(){return se})),r.d(t,"hd",(function(){return le})),r.d(t,"sd",(function(){return ce})),r.d(t,"td",(function(){return ue})),r.d(t,"ud",(function(){return de})),r.d(t,"gd",(function(){return he})),r.d(t,"rd",(function(){return fe})),r.d(t,"Pc",(function(){return pe})),r.d(t,"Qc",(function(){return me})),r.d(t,"ld",(function(){return be})),r.d(t,"zd",(function(){return ge})),r.d(t,"Bd",(function(){return ve})),r.d(t,"Rc",(function(){return ye})),r.d(t,"cd",(function(){return Ce})),r.d(t,"Ed",(function(){return we})),r.d(t,"Fd",(function(){return Ee})),r.d(t,"Gd",(function(){return Se})),r.d(t,"Jc",(function(){return ke})),r.d(t,"Kc",(function(){return Oe})),r.d(t,"Zc",(function(){return xe})),r.d(t,"fd",(function(){return _e})),r.d(t,"Pd",(function(){return Pe})),r.d(t,"Sc",(function(){return Te})),r.d(t,"md",(function(){return Ie})),r.d(t,"pd",(function(){return Ae})),r.d(t,"vd",(function(){return Le})),r.d(t,"Ad",(function(){return Me})),r.d(t,"Md",(function(){return Re})),r.d(t,"Uc",(function(){return De})),r.d(t,"yd",(function(){return je})),r.d(t,"Dd",(function(){return Fe})),r.d(t,"Sd",(function(){return Ne})),r.d(t,"Nc",(function(){return Ue})),r.d(t,"Yc",(function(){return ze})),r.d(t,"ed",(function(){return He})),r.d(t,"Qd",(function(){return Be})),r.d(t,"Rd",(function(){return Ve})),r.d(t,"jd",(function(){return We})),r.d(t,"kd",(function(){return Ge})),r.d(t,"Vc",(function(){return qe})),r.d(t,"Kd",(function(){return Ke})),r.d(t,"dd",(function(){return Xe})),r.d(t,"id",(function(){return Qe})),r.d(t,"Jd",(function(){return Ze})),r.d(t,"Ld",(function(){return $e})),r.d(t,"Mc",(function(){return Ye})),r.d(t,"wd",(function(){return Je})),r.d(t,"Id",(function(){return et})),r.d(t,"Ic",(function(){return tt})),r.d(t,"Lc",(function(){return rt})),r.d(t,"od",(function(){return nt})),r.d(t,"xd",(function(){return ot})),r.d(t,"Cd",(function(){return it})),r.d(t,"Od",(function(){return at})),r.d(t,"Oc",(function(){return st})),r.d(t,"Wc",(function(){return lt})),r.d(t,"ad",(function(){return ct})),r.d(t,"Ze",(function(){return ut})),r.d(t,"af",(function(){return dt})),r.d(t,"bf",(function(){return ht})),r.d(t,"cf",(function(){return ft})),r.d(t,"df",(function(){return pt})),r.d(t,"ef",(function(){return mt})),r.d(t,"ff",(function(){return bt})),r.d(t,"gf",(function(){return gt})),r.d(t,"hf",(function(){return vt})),r.d(t,"if",(function(){return yt})),r.d(t,"jf",(function(){return Ct})),r.d(t,"Ae",(function(){return wt})),r.d(t,"ob",(function(){return Et})),r.d(t,"nb",(function(){return St})),r.d(t,"gb",(function(){return kt})),r.d(t,"ab",(function(){return Ot})),r.d(t,"fb",(function(){return xt})),r.d(t,"U",(function(){return _t})),r.d(t,"W",(function(){return Pt})),r.d(t,"X",(function(){return Tt})),r.d(t,"Y",(function(){return It})),r.d(t,"Z",(function(){return At})),r.d(t,"V",(function(){return Lt})),r.d(t,"R",(function(){return Mt})),r.d(t,"ib",(function(){return Rt})),r.d(t,"jb",(function(){return Dt})),r.d(t,"Q",(function(){return jt})),r.d(t,"bb",(function(){return Ft})),r.d(t,"cb",(function(){return Nt})),r.d(t,"db",(function(){return Ut})),r.d(t,"eb",(function(){return zt})),r.d(t,"T",(function(){return Ht})),r.d(t,"S",(function(){return Bt})),r.d(t,"kb",(function(){return Vt})),r.d(t,"mb",(function(){return Wt})),r.d(t,"lb",(function(){return Gt})),r.d(t,"D",(function(){return qt})),r.d(t,"L",(function(){return Kt})),r.d(t,"E",(function(){return Xt})),r.d(t,"F",(function(){return Qt})),r.d(t,"G",(function(){return Zt})),r.d(t,"H",(function(){return $t})),r.d(t,"I",(function(){return Yt})),r.d(t,"J",(function(){return Jt})),r.d(t,"K",(function(){return er})),r.d(t,"Sf",(function(){return tr})),r.d(t,"Rf",(function(){return rr})),r.d(t,"Tf",(function(){return nr})),r.d(t,"Of",(function(){return or})),r.d(t,"Pf",(function(){return ir})),r.d(t,"Nf",(function(){return ar})),r.d(t,"Qf",(function(){return sr})),r.d(t,"A",(function(){return lr})),r.d(t,"B",(function(){return cr})),r.d(t,"C",(function(){return ur})),r.d(t,"x",(function(){return dr})),r.d(t,"w",(function(){return hr})),r.d(t,"y",(function(){return fr})),r.d(t,"z",(function(){return pr})),r.d(t,"v",(function(){return mr})),r.d(t,"Ye",(function(){return br})),r.d(t,"gc",(function(){return gr})),r.d(t,"ic",(function(){return vr})),r.d(t,"hc",(function(){return yr})),r.d(t,"zc",(function(){return Cr})),r.d(t,"xc",(function(){return wr})),r.d(t,"Cc",(function(){return Er})),r.d(t,"Ac",(function(){return Sr})),r.d(t,"Bc",(function(){return kr})),r.d(t,"wc",(function(){return Or})),r.d(t,"yc",(function(){return xr})),r.d(t,"Ib",(function(){return _r})),r.d(t,"Jb",(function(){return Pr})),r.d(t,"Kb",(function(){return Tr})),r.d(t,"Qb",(function(){return Ir})),r.d(t,"Rb",(function(){return Ar})),r.d(t,"Sb",(function(){return Lr})),r.d(t,"dc",(function(){return Mr})),r.d(t,"Lb",(function(){return Rr})),r.d(t,"Mb",(function(){return Dr})),r.d(t,"Xb",(function(){return jr})),r.d(t,"bc",(function(){return Fr})),r.d(t,"cc",(function(){return Nr})),r.d(t,"Zb",(function(){return Ur})),r.d(t,"Nb",(function(){return zr})),r.d(t,"Ob",(function(){return Hr})),r.d(t,"Pb",(function(){return Br})),r.d(t,"ac",(function(){return Vr})),r.d(t,"Tb",(function(){return Wr})),r.d(t,"Ub",(function(){return Gr})),r.d(t,"Vb",(function(){return qr})),r.d(t,"Hb",(function(){return Kr})),r.d(t,"Yb",(function(){return Xr})),r.d(t,"Wb",(function(){return Qr})),r.d(t,"Gb",(function(){return Zr})),r.d(t,"pb",(function(){return $r})),r.d(t,"qb",(function(){return Yr})),r.d(t,"tb",(function(){return Jr})),r.d(t,"ub",(function(){return en})),r.d(t,"wb",(function(){return tn})),r.d(t,"vb",(function(){return rn})),r.d(t,"rb",(function(){return nn})),r.d(t,"sb",(function(){return on})),r.d(t,"yb",(function(){return an})),r.d(t,"xb",(function(){return sn})),r.d(t,"Fb",(function(){return ln})),r.d(t,"zb",(function(){return cn})),r.d(t,"Cb",(function(){return un})),r.d(t,"Db",(function(){return dn})),r.d(t,"Ab",(function(){return hn})),r.d(t,"Bb",(function(){return fn})),r.d(t,"Eb",(function(){return pn})),r.d(t,"fc",(function(){return mn})),r.d(t,"kc",(function(){return bn})),r.d(t,"mc",(function(){return gn})),r.d(t,"uc",(function(){return vn})),r.d(t,"vc",(function(){return yn})),r.d(t,"rc",(function(){return Cn})),r.d(t,"tc",(function(){return wn})),r.d(t,"sc",(function(){return En})),r.d(t,"ec",(function(){return Sn})),r.d(t,"lc",(function(){return kn})),r.d(t,"oc",(function(){return On})),r.d(t,"pc",(function(){return xn})),r.d(t,"nc",(function(){return _n})),r.d(t,"jc",(function(){return Pn})),r.d(t,"qc",(function(){return Tn})),r.d(t,"Qe",(function(){return In})),r.d(t,"Re",(function(){return An})),r.d(t,"Pe",(function(){return Ln})),r.d(t,"Se",(function(){return Mn})),r.d(t,"Te",(function(){return Rn})),r.d(t,"We",(function(){return Dn})),r.d(t,"Xe",(function(){return jn})),r.d(t,"Ve",(function(){return Fn})),r.d(t,"Ue",(function(){return Nn})),r.d(t,"Ke",(function(){return Un})),r.d(t,"Je",(function(){return zn})),r.d(t,"Be",(function(){return Hn})),r.d(t,"Eg",(function(){return Vn})),r.d(t,"hb",(function(){return Wn})),r.d(t,"Le",(function(){return Gn})),r.d(t,"M",(function(){return qn})),r.d(t,"N",(function(){return Kn})),r.d(t,"Kf",(function(){return Xn})),r.d(t,"Ff",(function(){return Qn})),r.d(t,"Jf",(function(){return Zn})),r.d(t,"Ef",(function(){return $n})),r.d(t,"Gf",(function(){return Yn})),r.d(t,"Cf",(function(){return Jn})),r.d(t,"xf",(function(){return eo})),r.d(t,"yf",(function(){return to})),r.d(t,"Df",(function(){return ro})),r.d(t,"Bf",(function(){return no})),r.d(t,"Af",(function(){return oo})),r.d(t,"zf",(function(){return io})),r.d(t,"If",(function(){return ao})),r.d(t,"Hf",(function(){return so})),r.d(t,"Yd",(function(){return lo})),r.d(t,"Zd",(function(){return co})),r.d(t,"ae",(function(){return uo})),r.d(t,"be",(function(){return ho})),r.d(t,"ce",(function(){return fo})),r.d(t,"de",(function(){return po})),r.d(t,"Fg",(function(){return mo})),r.d(t,"lf",(function(){return bo})),r.d(t,"mf",(function(){return go})),r.d(t,"nf",(function(){return vo})),r.d(t,"rf",(function(){return yo})),r.d(t,"pf",(function(){return Co})),r.d(t,"qf",(function(){return wo})),r.d(t,"of",(function(){return Eo})),r.d(t,"sf",(function(){return So})),r.d(t,"le",(function(){return ko})),r.d(t,"oe",(function(){return Oo})),r.d(t,"pe",(function(){return xo})),r.d(t,"ke",(function(){return _o})),r.d(t,"ne",(function(){return Po})),r.d(t,"me",(function(){return To})),r.d(t,"ze",(function(){return Io})),r.d(t,"se",(function(){return Ao})),r.d(t,"ve",(function(){return Lo})),r.d(t,"re",(function(){return Mo})),r.d(t,"xe",(function(){return Ro})),r.d(t,"ue",(function(){return Do})),r.d(t,"we",(function(){return jo})),r.d(t,"qe",(function(){return Fo})),r.d(t,"ye",(function(){return No})),r.d(t,"te",(function(){return Uo})),r.d(t,"mg",(function(){return zo})),r.d(t,"ng",(function(){return Ho})),r.d(t,"og",(function(){return Bo})),r.d(t,"sg",(function(){return Vo})),r.d(t,"pg",(function(){return Wo})),r.d(t,"rg",(function(){return Go})),r.d(t,"qg",(function(){return qo})),r.d(t,"kf",(function(){return Ko})),r.d(t,"ee",(function(){return Xo})),r.d(t,"m",(function(){return Qo})),r.d(t,"n",(function(){return Zo})),r.d(t,"Ne",(function(){return $o})),r.d(t,"Oe",(function(){return Yo})),r.d(t,"Zf",(function(){return Jo})),r.d(t,"ag",(function(){return ei})),r.d(t,"cg",(function(){return ti})),r.d(t,"bg",(function(){return ri})),r.d(t,"dg",(function(){return ni})),r.d(t,"fg",(function(){return oi})),r.d(t,"eg",(function(){return ii})),r.d(t,"Uf",(function(){return ai})),r.d(t,"Vf",(function(){return si})),r.d(t,"Wf",(function(){return li})),r.d(t,"Xf",(function(){return ci})),r.d(t,"Yf",(function(){return ui})),r.d(t,"O",(function(){return di})),r.d(t,"P",(function(){return hi})),r.d(t,"h",(function(){return fi})),r.d(t,"i",(function(){return pi})),r.d(t,"j",(function(){return mi})),r.d(t,"k",(function(){return bi})),r.d(t,"e",(function(){return gi})),r.d(t,"f",(function(){return vi})),r.d(t,"g",(function(){return yi})),r.d(t,"Td",(function(){return Ci})),r.d(t,"Ud",(function(){return wi})),r.d(t,"Vd",(function(){return Ei})),r.d(t,"Wd",(function(){return Si})),r.d(t,"Xd",(function(){return ki})),r.d(t,"Ce",(function(){return Oi})),r.d(t,"Me",(function(){return xi}));var n=r(65);const o=1e3,i="large",a="medium",s="small",l="very_large",c="folder",u="search",d="selected",h="recents",f="error",p="upload-empty",m="upload-inprogress",b="upload-success",g="metadata",v="list",y="grid",C="folder",w="file",E="web_link",S="app_activity",k="annotation",O="comment",x="task",_="file_version",P="folder_",T="file_",I="feedItems_",A=P,L=T,M="web_link_",R="search_",D="recents_",j="metadata_",F="metadata_query_",N="ASC",U="DESC",z="none",H="open",B="collaborators",V="company",W="Accept",G="Content-Type",q="X-Box-Client-Name",K="X-Box-Client-Version",X="Accept-Language",Q="securityClassification-6VMVochwUWo",Z="boxSkillsCards",$="properties",Y="global",J="enterprise",ee=o,te="id",re="date",ne="name",oe="type",ie="size",ae="parent",se="extension",le="expires_at",ce="permissions",ue="".concat(ce,".can_share"),de="".concat(ce,".can_upload"),he="item_collection",fe="path_collection",pe="content_created_at",me="content_modified_at",be="modified_at",ge="restored_at",ve="restored_from",ye="created_at",Ce="interacted_at",we="shared_link",Ee="allowed_shared_link_access_levels_disabled_reasons",Se="shared_link_features",ke="allowed_invitee_roles",Oe="allowed_shared_link_access_levels",xe="has_collaborations",_e="is_externally_owned",Pe="url",Te="created_by",Ie="modified_by",Ae="owned_by",Le="promoted_by",Me="restored_by",Re="trashed_by",De="description",je="representations",Fe="sha1",Ne="watermark_info",Ue="authenticated_download_url",ze="file_version",He="is_download_available",Be="version_limit",Ve="version_number",We="metadata",Ge="".concat(We,".").concat(Y,".").concat(Z),qe=("".concat(We,".").concat(Y,".").concat($),"".concat(We,".").concat(J,".").concat(Q),"due_at"),Ke="task_assignment_collection",Xe="is_completed",Qe="message",Ze="tagged_message",$e="trashed_at",Ye="assigned_to",Je="",et="status",tt="activity_template",rt="app",nt="occurred_at",ot="rendered_text",it="retention",at="uploader_display_name",st="classification",lt="enterprise",ct="hostname",ut="can_comment",dt="can_create_annotations",ht="can_delete",ft="can_download",pt="can_edit",mt="can_preview",bt="can_rename",gt="can_resolve",vt="can_share",yt="can_upload",Ct="can_view_annotations",wt="editor",Et="slash",St="caret",kt="2.95.0",Ot="en-US",xt="platform/preview",_t="https://api.box.com",Pt="https://cdn01.boxcdn.net",Tt="https://upload.box.com",It="https://upload.app.box.com",At="https://upload.app.box-gov.com",Lt="https://app.box.com",Mt="body",Rt="0",Dt=500,jt=500,Ft=25,Nt=50,Ut=1,zt=50,Ht=0,Bt=1e3,Vt="files",Wt="recents",Gt="metadata",qt="ContentExplorer",Kt="ContentOpenWith",Xt="ContentPicker",Qt="ContentPreview",Zt="ContentSharing",$t="ContentSidebar",Yt="ContentUploader",Jt="FilePicker",er="FolderPicker",tr="pending",rr="inprogress",nr="staged",or="complete",ir="error",ar="accepted",sr="inactive",lr="be-modal-dialog-content",cr="be-modal-dialog-content-full-bleed",ur="be-modal-dialog-overlay",dr="be-is-small",hr="be-is-medium",fr="be-is-touch",pr="be-modal",mr="bcow-integration-icon",br="overlay-wrapper",gr="item_name_invalid",vr="item_name_too_long",yr="item_name_in_use",Cr="upload_file_limit",wr="child_folder_failed_upload",Er="storage_limit_exceeded",Sr="file_size_limit_exceeded",kr="pending_app_folder_size_limit",Or="bad_digest",xr="failed_package_upload",_r="fetch_activity_error",Pr="fetch_annotation_error",Tr="fetch_annotations_error",Ir="fetch_file_error",Ar="forbidden_by_policy",Lr="fetch_folder_error",Mr="fetch_weblink_error",Rr="fetch_comment_error",Dr="fetch_comments_error",jr="fetch_replies_error",Fr="fetch_version_error",Nr="fetch_versions_error",Ur="fetch_tasks_error",zr="fetch_current_user_error",Hr="fetch_enterprise_groups_error",Br="fetch_enterprise_users_error",Vr="fetch_task_collaborator_error",Wr="fetch_integrations_error",Gr="fetch_metadata_error",qr="fetch_metadata_templates_error",Kr="fetch_access_stats_error",Xr="fetch_skills_error",Qr="fetch_recents_error",Zr="execute_integrations_error",$r="create_annotation_error",Yr="create_comment_error",Jr="create_reply_error",en="create_task_error",tn="create_task_link_error",rn="create_task_collaborator_error",nn="create_folder_error",on="create_metadata_error",an="delete_app_activity_error",sn="delete_annotation_error",ln="edit_annotation_error",cn="delete_comment_error",un="delete_task_error",dn="delete_task_collaborator_error",hn="delete_item_error",fn="delete_metadata_error",pn="delete_version_error",mn="group_exceeds_limit",bn="promote_version_error",gn="restore_version_error",vn="update_task_error",yn="update_task_collaborator_error",Cn="update_comment_error",wn="update_skills_error",En="update_metadata_error",Sn="get_download_url_error",kn="rename_item_error",On="share_item_error",xn="unexpected_exception_error",_n="search_error",Pn="metadata_query_error",Tn="unknown_error",In="content_preview",An="content_sidebar",Ln="activity_sidebar",Mn="details_sidebar",Rn="metadata_sidebar",Dn="skills_sidebar",jn="versions_sidebar",Fn="preview",Nn="open_with",Un="preview_metric",zn="elements_load_metric",Hn="isErrorDisplayed",Bn=n.a.canPlayDash()?"[dash,mp4][filmstrip]":"[mp4]",Vn="".concat("[3d][pdf][text][mp3][json]").concat("[jpg?dimensions=1024x1024&paged=false]").concat("[jpg?dimensions=2048x2048,png?dimensions=2048x2048]").concat(Bn),Wn=3e3,Gn=1e3,qn="#999",Kn="#fff",Xn="transcript",Qn="keyword",Zn="timeline",$n="face",Yn="status",Jn="skills_invocations_error",eo="skills_billing_error",to="skills_external_auth_error",ro="skills_unknown_error",no="skills_invalid_file_size_error",oo="skills_invalid_file_format_error",io="skills_file_processing_error",ao="skills_pending_status",so="skills_invoked_status",lo="boxcanvas",co="boxnote",uo="gdoc",ho="gsheet",fo="gslides",po="gslide",mo="[jpg?dimensions=".concat("1024x1024","&paged=false,png?dimensions=").concat("1024x1024","][pdf][text]"),bo="error",go="success",vo="viewable",yo="skills",Co="details",wo="metadata",Eo="activity",So="versions",ko="GET",Oo="POST",xo="PUT",_o="DELETE",Po="OPTIONS",To="HEAD",Io=401,Ao=403,Lo=404,Mo=409,Ro=429,Do=500,jo=501,Fo=502,No=503,Uo=504,zo="delete",Ho="promote",Bo="restore",Vo="upload",Wo="permanently_delete",Go="remove_retention",qo="indefinite",Ko={type:"user",id:"2",name:""},Xo="File Request",Qo="1338",Zo="13418",$o=26,Yo=30,Jo="APPROVED",ei="COMPLETED",ti="NOT_STARTED",ri="IN_PROGRESS",ni="REJECTED",oi="GENERAL",ii="APPROVAL",ai="ALL_ASSIGNEES",si="ANY_ASSIGNEE",li="CREATE",ci="EDIT",ui=250,di="open",hi="resolved",fi="all",pi="resolved",mi="tasks",bi="open",gi="created",vi="restored",yi="trashed",Ci="annotation",wi="app_activity",Ei="comment",Si="task",ki="versions",Oi={arrowDown:"ArrowDown",arrowLeft:"ArrowLeft",arrowRight:"ArrowRight",arrowUp:"ArrowUp",backspace:"Backspace",enter:"Enter",escape:"Escape",space:" "},xi=36e5},function(e,t,r){"use strict";r.d(t,"D",(function(){return n})),r.d(t,"z",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"d",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"g",(function(){return l})),r.d(t,"m",(function(){return c})),r.d(t,"l",(function(){return u})),r.d(t,"k",(function(){return d})),r.d(t,"j",(function(){return h})),r.d(t,"i",(function(){return f})),r.d(t,"h",(function(){return p})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return b})),r.d(t,"p",(function(){return g})),r.d(t,"q",(function(){return v})),r.d(t,"x",(function(){return y})),r.d(t,"y",(function(){return C})),r.d(t,"n",(function(){return w})),r.d(t,"o",(function(){return E})),r.d(t,"r",(function(){return S})),r.d(t,"s",(function(){return k})),r.d(t,"t",(function(){return O})),r.d(t,"u",(function(){return x})),r.d(t,"v",(function(){return _})),r.d(t,"w",(function(){return P})),r.d(t,"a",(function(){return T})),r.d(t,"C",(function(){return I})),r.d(t,"B",(function(){return A})),r.d(t,"A",(function(){return L}));const n="#fff",o="#000",i="#0061d5",a="#e5effa",s="#f2f7fd",l="#222",c="#4e4e4e",u="#6f6f6f",d="#909090",h="#a7a7a7",f="#d3d3d3",p="#e8e8e8",m="#003c84",b="#7f9dc1",g="#2486fc",v="#91c2fd",y="#f5b31b",C="#ffeb7f",w="#26c281",E="#92e0c0",S="#f1811a",k="#f8c08c",O="#9f3fed",x="#cf9ff6",_="#ed3757",P="#f69bab",T=["#0061d5","#003c84","#6f6f6f","#222","#4826c2","#9f3fed"],I="(max-width: 374px)",A="(max-width: 767px)",L="(max-width: 1023px)"},function(e,t){e.exports=function(){}},function(e,t,r){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)&&n.length){var a=o.apply(null,n);a&&e.push(a)}else if("object"===i)for(var s in n)r.call(n,s)&&n[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},function(e,t,r){"use strict";r.d(t,"c",(function(){return d})),r.d(t,"a",(function(){return h})),r.d(t,"b",(function(){return f}));var n,o,i=r(6),a=r(0),s=r(61);!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(n||(n={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(o||(o={}));var l=function(e){var t=Object(s.a)(),r=e.value,n=e.children,o=Object(i.c)(e,["value","children"]);return n(t.formatNumberToParts(r,o))};l.displayName="FormattedNumberParts";function c(e){var t=function(t){var r=Object(s.a)(),n=t.value,o=t.children,a=Object(i.c)(t,["value","children"]),l="string"==typeof n?new Date(n||0):n;return o("formatDate"===e?r.formatDateToParts(l,a):r.formatTimeToParts(l,a))};return t.displayName=o[e],t}function u(e){var t=function(t){var r=Object(s.a)(),n=t.value,o=t.children,l=Object(i.c)(t,["value","children"]),c=r[e](n,l);if("function"==typeof o)return o(c);var u=r.textComponent||a.Fragment;return a.createElement(u,null,c)};return t.displayName=n[e],t}function d(e){return e}l.displayName="FormattedNumberParts";var h=u("formatDate"),f=(u("formatTime"),u("formatNumber"));u("formatList"),u("formatDisplayName"),c("formatDate"),c("formatTime")},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s}));var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}Object.create;function s(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError},function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({today:{id:"be.today",defaultMessage:"today"},yesterday:{id:"be.yesterday",defaultMessage:"yesterday"},logo:{id:"be.logo",defaultMessage:"Logo"},error:{id:"be.error",defaultMessage:"Error"},preview:{id:"be.preview",defaultMessage:"Preview"},previewError:{id:"be.previewError",defaultMessage:"We’re sorry, the preview didn’t load. Please refresh the page."},previewErrorBlockedByPolicy:{id:"be.previewErrorBlockedByPolicy",defaultMessage:"Your access to this content is restricted due to a security policy."},boxEditErrorBlockedByPolicy:{id:"be.boxEditErrorBlockedByPolicy",defaultMessage:"Local editing of this content has been disabled based on an access policy"},previewUpdate:{id:"be.previewUpdate",defaultMessage:"A new version of this file is available."},reload:{id:"be.reload",defaultMessage:"Reload"},open:{id:"be.open",defaultMessage:"Open"},close:{id:"be.close",defaultMessage:"Close"},copy:{id:"be.copy",defaultMessage:"Copy"},delete:{id:"be.delete",defaultMessage:"Delete"},rename:{id:"be.rename",defaultMessage:"Rename"},remove:{id:"be.remove",defaultMessage:"Remove"},resume:{id:"be.resume",defaultMessage:"Resume"},resumeAll:{id:"be.resumeAll",defaultMessage:"Resume All"},retry:{id:"be.retry",defaultMessage:"Retry"},share:{id:"be.share",defaultMessage:"Share"},download:{id:"be.download",defaultMessage:"Download"},save:{id:"be.save",defaultMessage:"Save"},cancel:{id:"be.cancel",defaultMessage:"Cancel"},create:{id:"be.create",defaultMessage:"Create"},choose:{id:"be.choose",defaultMessage:"Choose"},upload:{id:"be.upload",defaultMessage:"Upload"},add:{id:"be.add",defaultMessage:"Add"},gridView:{id:"be.gridView",defaultMessage:"Switch to Grid View"},gridViewColumnSize:{id:"be.gridView.columnSize",defaultMessage:"Column size"},gridViewIncreaseColumnSize:{id:"be.gridView.increaseColumnSize",defaultMessage:"Increase column size"},gridViewDecreaseColumnSize:{id:"be.gridView.decreaseColumnSize",defaultMessage:"Decrease column size"},listView:{id:"be.listView",defaultMessage:"Switch to List View"},sort:{id:"be.sort",defaultMessage:"Sort"},newFolder:{id:"be.newFolder",defaultMessage:"New Folder"},in:{id:"be.in",defaultMessage:"In"},print:{id:"be.print",defaultMessage:"Print"},selected:{id:"be.selected",defaultMessage:"{count} Selected"},max:{id:"be.max",defaultMessage:"max"},nameDate:{id:"be.nameDate",defaultMessage:"{date} by {name}"},modified:{id:"be.itemModified",defaultMessage:"Modified"},modifiedDateBy:{id:"be.modifiedDateBy",defaultMessage:"Modified {date} by {name}"},modifiedDate:{id:"be.modifiedDate",defaultMessage:"Modified {date}"},created:{id:"be.itemCreated",defaultMessage:"Created"},owner:{id:"be.itemOwner",defaultMessage:"Owner"},uploader:{id:"be.itemUploader",defaultMessage:"Uploader"},interacted:{id:"be.itemInteracted",defaultMessage:"Last Accessed"},interactedDate:{id:"be.interactedDate",defaultMessage:"Last accessed on {date}"},name:{id:"be.itemName",defaultMessage:"Name"},size:{id:"be.itemSize",defaultMessage:"Size"},deleteDialogLabel:{id:"be.deleteDialogLabel",defaultMessage:"Confirm Delete"},deleteDialogFileText:{id:"be.deleteDialogFileText",defaultMessage:"Are you sure you want to delete {name}?"},deleteDialogFolderText:{id:"be.deleteDialogFolderText",defaultMessage:"Are you sure you want to delete {name} and all its contents?"},renameDialogLabel:{id:"be.renameDialogLabel",defaultMessage:"Rename"},renameDialogText:{id:"be.renameDialogText",defaultMessage:"Please enter a new name for {name}:"},renameDialogErrorInvalid:{id:"be.renameDialogErrorInvalid",defaultMessage:"This name is invalid."},renameDialogErrorInUse:{id:"be.renameDialogErrorInUse",defaultMessage:"An item with the same name already exists."},renameDialogErrorTooLong:{id:"be.renameDialogErrorTooLong",defaultMessage:"This name is too long."},createDialogLabel:{id:"be.createDialogLabel",defaultMessage:"New Folder"},createDialogText:{id:"be.createDialogText",defaultMessage:"Please enter a name."},createDialogErrorInvalid:{id:"be.createDialogErrorInvalid",defaultMessage:"This is an invalid folder name."},createDialogErrorTooLong:{id:"be.createDialogErrorTooLong",defaultMessage:"This folder name is too long."},createDialogErrorInUse:{id:"be.createDialogErrorInUse",defaultMessage:"A folder with the same name already exists."},shareDialogLabel:{id:"be.shareDialogLabel",defaultMessage:"Share"},shareDialogText:{id:"be.shareDialogText",defaultMessage:"Shared Link:"},shareDialogNone:{id:"be.shareDialogNone",defaultMessage:"None"},shareAccessOpen:{id:"be.shareAccessOpen",defaultMessage:"Access: People with the link"},shareAccessCollab:{id:"be.shareAccessCollab",defaultMessage:"Access: People in this folder"},shareAccessCompany:{id:"be.shareAccessCompany",defaultMessage:"People in this company"},shareAccessNone:{id:"be.shareAccessNone",defaultMessage:"No shared link"},shareAccessRemove:{id:"be.shareAccessRemove",defaultMessage:"Remove shared link"},searchPlaceholder:{id:"be.searchPlaceholder",defaultMessage:"Search files and folders"},sidebarAccessStats:{id:"be.sidebarAccessStats",defaultMessage:"Access Stats"},sidebarContentInsights:{id:"be.sidebarContentInsights",defaultMessage:"Content Insights"},sidebarShow:{id:"be.sidebarShow",defaultMessage:"Show Sidebar"},sidebarHide:{id:"be.sidebarHide",defaultMessage:"Hide Sidebar"},description:{id:"be.description",defaultMessage:"Description"},descriptionPlaceholder:{id:"be.descriptionPlaceholder",defaultMessage:"Enter a description"},sidebarDetailsTitle:{id:"be.sidebarDetailsTitle",defaultMessage:"Details"},sidebarSkillsTitle:{id:"be.sidebarSkillsTitle",defaultMessage:"Skills"},sidebarSkillsErrorTitle:{id:"be.sidebarSkillsErrorTitle",defaultMessage:"Skills Error"},sidebarSkillsErrorContent:{id:"be.sidebarSkillsErrorContent",defaultMessage:"An error has occurred while updating skills. Please refresh the page and try again."},sidebarActivityTitle:{id:"be.sidebarActivityTitle",defaultMessage:"Activity"},sidebarMetadataTitle:{id:"be.sidebarMetadataTitle",defaultMessage:"Metadata"},sidebarMetadataEditingErrorContent:{id:"be.sidebarMetadataEditingErrorContent",defaultMessage:"An error has occurred while updating metadata. Please refresh the page and try again."},sidebarMetadataFetchingErrorContent:{id:"be.sidebarMetadataFetchingErrorContent",defaultMessage:"An error has occurred while fetching metadata. Please refresh the page and try again."},sidebarFileFetchingErrorContent:{id:"be.sidebarFileFetchingErrorContent",defaultMessage:"An error has occurred while fetching your Box file. Please refresh the page and try again."},sidebarProperties:{id:"be.sidebarProperties",defaultMessage:"File Properties"},sidebarNavLabel:{id:"be.sidebarNavLabel",defaultMessage:"Sidebar"},defaultSkill:{id:"be.defaultSkill",defaultMessage:"Skill Card"},statusSkill:{id:"be.statusSkill",defaultMessage:"Status"},topicsSkill:{id:"be.topicsSkill",defaultMessage:"Topics"},keywordSkill:{id:"be.keywordSkill",defaultMessage:"Topics"},faceSkill:{id:"be.faceSkill",defaultMessage:"Faces"},transcriptSkill:{id:"be.transcriptSkill",defaultMessage:"Transcript"},skillPendingStatus:{id:"be.skillPendingStatus",defaultMessage:"We’re working on processing your file - please hold!"},skillInvokedStatus:{id:"be.skillInvokedStatus",defaultMessage:"We’re preparing to process your file - please hold!"},skillUnknownError:{id:"be.skillUnknownError",defaultMessage:"Something went wrong with running this skill or fetching its data."},skillInvalidFileSizeError:{id:"be.skillInvalidFileSizeError",defaultMessage:"We’re sorry, no skills information was found. This file size is currently not supported."},skillInvalidFileExtensionError:{id:"be.skillInvalidFileExtensionError",defaultMessage:"We’re sorry, no skills information was found. This file extension is currently not supported."},skillNoInfoFoundError:{id:"be.skillNoInfoFoundError",defaultMessage:"We’re sorry, no skills information was found."},skillFileProcessingError:{id:"be.skillFileProcessingError",defaultMessage:"We’re sorry, something went wrong with processing the file."},uploadErrorTooManyFiles:{id:"be.uploadErrorTooManyFiles",defaultMessage:"You can only upload up to {fileLimit} file(s) at a time."},uploadError:{id:"be.uploadError",defaultMessage:"A network error has occurred while trying to upload."},uploadEmptyWithFolderUploadEnabled:{id:"be.uploadEmptyWithFolderUploadEnabled",defaultMessage:"Drag and drop files and folders"},uploadEmptyWithFolderUploadDisabled:{id:"be.uploadEmptyWithFolderUploadDisabled",defaultMessage:"Drag and drop files"},uploadEmptyFileInput:{id:"be.uploadEmptyFileInput",defaultMessage:"Browse your device"},uploadEmptyFolderInput:{id:"be.uploadEmptyFolderInput",defaultMessage:"Select Folders"},uploadNoDragDrop:{id:"be.uploadNoDragDrop",defaultMessage:"Select files from your device"},uploadInProgress:{id:"be.uploadInProgress",defaultMessage:"Drag and drop to add additional files"},uploadSuccess:{id:"be.uploadSuccess",defaultMessage:"Success! Your files have been uploaded."},uploadSuccessFileInput:{id:"be.uploadSuccessFileInput",defaultMessage:"Select More Files"},uploadSuccessFolderInput:{id:"be.uploadSuccessFolderInput",defaultMessage:"Select More Folders"},uploadOptions:{id:"be.uploadOptions",defaultMessage:"{option1} or {option2}"},nameASC:{id:"be.nameASC",defaultMessage:"Name: A → Z"},nameDESC:{id:"be.nameDESC",defaultMessage:"Name: Z → A"},dateASC:{id:"be.dateASC",defaultMessage:"Date: Oldest → Newest"},dateDESC:{id:"be.dateDESC",defaultMessage:"Date: Newest → Oldest"},sizeASC:{id:"be.sizeASC",defaultMessage:"Size: Smallest → Largest"},sizeDESC:{id:"be.sizeDESC",defaultMessage:"Size: Largest → Smallest"},searchState:{id:"be.searchState",defaultMessage:"Sorry, we couldn’t find what you’re looking for."},selectedState:{id:"be.selectedState",defaultMessage:"You haven’t selected any items yet."},errorState:{id:"be.errorState",defaultMessage:"A network error has occurred while trying to load."},folderState:{id:"be.folderState",defaultMessage:"There are no items in this folder."},metadataState:{id:"be.metadataState",defaultMessage:"There are no items in this folder."},recentsState:{id:"be.recentsState",defaultMessage:"There are no recent items yet."},loadingState:{id:"be.loadingState",defaultMessage:"Please wait while the items load..."},errorBreadcrumb:{id:"be.errorBreadcrumb",defaultMessage:"Error"},rootBreadcrumb:{id:"be.rootBreadcrumb",defaultMessage:"All Files"},searchBreadcrumb:{id:"be.searchBreadcrumb",defaultMessage:"Search Results"},recentsBreadcrumb:{id:"be.recentsBreadcrumb",defaultMessage:"Recents"},selectedBreadcrumb:{id:"be.selectedBreadcrumb",defaultMessage:"Selected Items"},uploadsManagerUploadInProgress:{id:"be.uploadsManagerUploadInProgress",defaultMessage:"Uploading"},uploadsManagerUploadPrompt:{id:"be.uploadsManagerUploadPrompt",defaultMessage:"Drop files on this page to upload them into this folder."},uploadsManagerUploadComplete:{id:"be.uploadsManagerUploadComplete",defaultMessage:"Completed"},uploadsManagerUploadFailed:{id:"be.uploadsManagerUploadFailed",defaultMessage:"Some Uploads Failed"},uploadsCancelButtonTooltip:{id:"be.uploadsCancelButtonTooltip",defaultMessage:"Cancel this upload"},uploadsRetryButtonTooltip:{id:"be.uploadsRetryButtonTooltip",defaultMessage:"Retry upload"},uploadsFileSizeLimitExceededErrorMessage:{id:"be.uploadsFileSizeLimitExceededErrorMessage",defaultMessage:"File size exceeds the folder owner’s file size limit"},uploadsFileSizeLimitExceededErrorMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta",defaultMessage:"This file exceeds your plan’s upload limit. Upgrade now to store larger files."},uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta:{id:"be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta",defaultMessage:"Upgrade"},uploadsStorageLimitErrorMessage:{id:"be.uploadsStorageLimitErrorMessage",defaultMessage:"Account storage limit reached"},uploadsPendingFolderSizeLimitErrorMessage:{id:"be.uploadsPendingFolderSizeLimitErrorMessage",defaultMessage:"Pending app folder size limit exceeded"},uploadsItemNameInUseErrorMessage:{id:"be.uploadsItemNameInUseErrorMessage",defaultMessage:"A file with this name already exists."},uploadsProvidedFolderNameInvalidMessage:{id:"be.uploadsProvidedFolderNameInvalidMessage",defaultMessage:"Provided folder name, {name}, could not be used to create a folder."},uploadsOneOrMoreChildFoldersFailedToUploadMessage:{id:"be.uploadsOneOrMoreChildFoldersFailedToUploadMessage",defaultMessage:"One or more child folders failed to upload."},uploadsPackageUploadErrorMessage:{id:"be.uploadsPackageUploadErrorMessage",defaultMessage:"Failed to upload package file. Please retry by saving as a single file."},uploadsDefaultErrorMessage:{id:"be.uploadsDefaultErrorMessage",defaultMessage:"Something went wrong with the upload. Please try again."},errorOccured:{id:"be.errorOccured",defaultMessage:"An error occurred"},editLabel:{id:"be.editLabel",defaultMessage:"Edit"},getVersionInfo:{id:"be.getVersionInfo",defaultMessage:"Get version information"},keywordsApplied:{id:"be.keywordsAppliedList",defaultMessage:"Keywords were applied"},keywordsList:{id:"be.keywordsList",defaultMessage:"Keywords: {words}"},noActivity:{id:"be.noActivity",defaultMessage:"No activity to show"},noActivityAnnotationPrompt:{id:"be.noActivityAnnotationPrompt",defaultMessage:"Hover over the preview and use the controls at the bottom to annotate the file."},noActivityCommentPrompt:{id:"be.noActivityCommentPrompt",defaultMessage:"Comment and @mention people to notify them."},versionDeleted:{id:"be.versionDeleted",defaultMessage:"{name} deleted v{version_number}"},versionPromoted:{id:"be.versionPromoted",defaultMessage:"{name} promoted v{version_promoted} to v{version_number}"},versionRestored:{id:"be.versionRestored",defaultMessage:"{name} restored v{version_number}"},versionMultipleUsersUploaded:{id:"be.versionMultipleUsersUploaded",defaultMessage:"{numberOfCollaborators} collaborators uploaded v{versions}"},versionUploadCollapsed:{id:"be.versionUploadCollapsed",defaultMessage:"{name} uploaded v{versions}"},versionUploaded:{id:"be.versionUploaded",defaultMessage:"{name} uploaded v{version_number}"},fileRequestDisplayName:{id:"be.fileRequestDisplayName",defaultMessage:"File Request"},defaultInlineErrorContentMessage:{id:"be.defaultInlineErrorContentMessage",defaultMessage:"Please try again later."},fileDescriptionInlineErrorTitleMessage:{id:"be.fileDescriptionInlineErrorTitleMessage",defaultMessage:"Something went wrong when saving the description."},defaultErrorMaskHeaderMessage:{id:"be.defaultErrorMaskHeaderMessage",defaultMessage:"We’re sorry, something went wrong."},defaultErrorMaskSubHeaderMessage:{id:"be.defaultErrorMaskSubHeaderMessage",defaultMessage:"Please refresh the page or try again later."},fileAccessStatsErrorHeaderMessage:{id:"be.fileAccessStatsErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the access stats."},fileAccessStatsPermissionsError:{id:"be.accessStatsPermissionsError",defaultMessage:"Sorry, you do not have permission to see the access stats for this file."},fileClassificationErrorHeaderMessage:{id:"be.fileClassificationErrorHeaderMessage",defaultMessage:"Something went wrong when fetching classification."},currentUserErrorHeaderMessage:{id:"be.currentUserErrorHeaderMessage",defaultMessage:"Something went wrong when fetching the current user."},activityFeedItemApiError:{id:"be.activityFeedItemApiError",defaultMessage:"There was a problem loading the activity feed. Please refresh the page or try again later."},nextFile:{id:"be.nextFile",defaultMessage:"Next File"},nextPage:{id:"be.pagination.nextPage",defaultMessage:"Next Page"},pageStatus:{id:"be.pagination.pageStatus",defaultMessage:"{pageNumber} of {pageCount}"},previousFile:{id:"be.previousFile",defaultMessage:"Previous File"},previousPage:{id:"be.pagination.previousPage",defaultMessage:"Previous Page"},previousSegment:{id:"be.previousSegment",defaultMessage:"Previous Segment"},nextSegment:{id:"be.nextSegment",defaultMessage:"Next Segment"},transcriptEdit:{id:"be.transcriptEdit",defaultMessage:"Click any section to edit."},emptyOpenWithDescription:{id:"be.emptyOpenWithDescription",defaultMessage:"No integrations are available for this file"},errorOpenWithDescription:{id:"be.errorOpenWithDescription",defaultMessage:"Opening this file with other services is currently unavailable"},defaultOpenWithDescription:{id:"be.defaultOpenWithDescription",defaultMessage:"Open this file with a partner service"},executeIntegrationOpenWithErrorHeader:{id:"be.executeIntegrationOpenWithErrorHeader",defaultMessage:"We’re sorry, this integration is currently unavailable."},executeIntegrationOpenWithErrorSubHeader:{id:"be.executeIntegrationOpenWithErrorSubHeader",defaultMessage:"Please try again later."},boxToolsInstallMessage:{id:"be.boxToolsInstallMessage",defaultMessage:"Install {boxTools} to open this file on your desktop"},boxToolsBlacklistedError:{id:"be.boxEditBlacklistedError",defaultMessage:"This file cannot be opened locally"},drawAnnotation:{id:"be.drawAnnotation",defaultMessage:"Drawing annotation mode"},pointAnnotation:{id:"be.pointAnnotation",defaultMessage:"Point annotation mode"},expand:{id:"be.expand",defaultMessage:"Expand"},collapse:{id:"be.collapse",defaultMessage:"Collapse"},back:{id:"be.back",defaultMessage:"Back"},priorCollaborator:{id:"be.priorCollaborator",defaultMessage:"A Prior Collaborator"},moreOptions:{id:"be.moreOptions",defaultMessage:"More options"},bookmark:{id:"be.bookmark",defaultMessage:"Bookmark"},collaboratedFolder:{id:"be.collaboratedFolder",defaultMessage:"Collaborated Folder"},externalFolder:{id:"be.externalFolder",defaultMessage:"External Folder"},file:{id:"be.file",defaultMessage:"File"},personalFolder:{id:"be.personalFolder",defaultMessage:"Personal Folder"}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return l}));var n=r(1);function o(){return new Error("Bad box item!")}function i(){return new Error("Insufficient Permissions!")}function a(){return new Error("Bad box user!")}function s(){return new Error("Missing text or status!")}function l(e){return e===n.xe||e===n.ze||e===n.re||e>=n.ue}},function(e,t,r){var n=r(197);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},function(e,t,r){"use strict";var n=r(0),o=r(23),i=r.n(o),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,o=l(e,["children","title"]),a="".concat(this.id,"-title"),s=i()(o,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}t.a=c},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(0),o=r(23),i=r.n(o),a=r(12),s=r.n(a);function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class c extends n.Component{constructor(){var e,t,r;super(...arguments),e=this,t="id",r=s()("icon"),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,title:r}=e,o=l(e,["children","title"]),a="".concat(this.id,"-title"),s=i()(o,["role","aria-labelledby"]);return s.focusable="false",r?(s["aria-labelledby"]=a,s.role="img"):(s["aria-hidden"]="true",s.role="presentation"),n.createElement("svg",s,r?n.createElement("title",{id:a},r):null,t)}}var u=c},function(e,t,r){var n=r(106),o=0;e.exports=function(e){var t=++o;return n(e)+t}},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(91),a=r.n(i),s=r(9),l=r.n(s),c=r(165),u=r.n(c),d=r(260),h=r.n(d),f=r(71),p=r(1);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=12e4,v=[p.le,p.ne,p.me].map(h.a);var y=class{constructor(){let{id:e,clientName:t,language:r,token:n,version:o,sharedLink:i,sharedLinkPassword:s,responseInterceptor:c,requestInterceptor:u,retryableStatusCodes:d=[p.xe],shouldRetry:h=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,"retryCount",0),b(this,"errorInterceptor",(e=>{if(this.shouldRetryRequest(e)){this.retryCount+=1;const t=this.getExponentialRetryTimeoutInMs(this.retryCount);return new Promise(((r,n)=>{this.retryTimeout=setTimeout((()=>{this.axios(e.config).then(r,n)}),t)}))}const t=l()(e,"response.data")||e;return this.responseInterceptor(t),Promise.reject(e)})),this.clientName=t,this.id=e,this.language=r,this.responseInterceptor=c||this.defaultResponseInterceptor,this.retryableStatusCodes=d,this.sharedLink=i,this.sharedLinkPassword=s,this.shouldRetry=h,this.token=n,this.version=o,this.axios=a.a.create(),this.axiosSource=a.a.CancelToken.source(),this.axios.interceptors.response.use(this.responseInterceptor,this.errorInterceptor),"function"==typeof u&&this.axios.interceptors.request.use(u)}defaultResponseInterceptor(e){return e}shouldRetryRequest(e){if(!this.shouldRetry||this.retryCount>=3)return!1;const{response:t,request:r,config:n}=e,o=l()(t,"status"),i=l()(n,"method"),a=r&&!t,s=o===p.xe,c=u()(this.retryableStatusCodes,o)&&u()(v,i);return a||s||c}getExponentialRetryTimeoutInMs(e){return 2**(e-1)*1e3+Math.ceil(1e3*Math.random())}getParsedUrl(e){const t=document.createElement("a");return t.href=e,{api:e.replace("".concat(t.origin,"/2.0"),""),host:t.host,hostname:t.hostname,pathname:t.pathname,origin:t.origin,protocol:t.protocol,hash:t.hash,port:t.port}}async getHeaders(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({Accept:"application/json",[p.je]:"application/json"},t);this.language&&!r[p.ge]&&(r[p.ge]=this.language),this.sharedLink&&(r.BoxApi="shared_link=".concat(this.sharedLink),this.sharedLinkPassword&&(r.BoxApi="".concat(r.BoxApi,"&shared_link_password=").concat(this.sharedLinkPassword))),this.clientName&&(r[p.he]=this.clientName),this.version&&(r[p.ie]=this.version);const n=e||this.id||"",o=await f.a.getWriteToken(n,this.token);return o&&(r.Authorization="Bearer ".concat(o)),r}get(e){let{url:t,id:r,params:n={},headers:o={}}=e;return this.getHeaders(r,o).then((e=>this.axios.get(t,{cancelToken:this.axiosSource.token,params:n,headers:e,parsedUrl:this.getParsedUrl(t)})))}post(e){let{url:t,id:r,data:n,params:o,headers:i={},method:a=p.oe}=e;return this.getHeaders(r,i).then((e=>this.axios({url:t,data:n,params:o,method:a,parsedUrl:this.getParsedUrl(t),headers:e})))}put(e){let{url:t,id:r,data:n,params:o,headers:i={}}=e;return this.post({id:r,url:t,data:n,params:o,headers:i,method:p.pe})}delete(e){let{url:t,id:r,data:n={},headers:o={}}=e;return this.post({id:r,url:t,data:n,headers:o,method:p.ke})}options(e){let{id:t,url:r,data:n,headers:o={},successHandler:i,errorHandler:a}=e;return this.getHeaders(t,o).then((e=>this.axios({url:r,data:n,method:p.ne,headers:e}).then(i).catch(a))).catch(a)}uploadFile(e){let{id:t,url:r,data:n,headers:o={},method:i=p.oe,successHandler:a,errorHandler:s,progressHandler:l,withIdleTimeout:c=!1,idleTimeoutDuration:u=g,idleTimeoutHandler:d}=e;return this.getHeaders(t,o).then((e=>{let t,h=l;if(c){const e=()=>{this.abort(),d&&d()};t=setTimeout(e,u),h=r=>{clearTimeout(t),t=setTimeout(e,u),l(r)}}this.axios({url:r,data:n,transformRequest:(e,t)=>{if(delete t[p.fe],delete t[p.je],o[p.je]&&(t[p.je]=o[p.je]),e&&!(e instanceof Blob)&&e.attributes){const t=new FormData;return Object.keys(e).forEach((r=>{t.append(r,e[r])})),t}return e},method:i,headers:e,onUploadProgress:h,cancelToken:this.axiosSource.token}).then((e=>{clearTimeout(t),a(e)})).catch((e=>{clearTimeout(t),s(e)}))})).catch(s)}abort(){this.retryTimeout&&clearTimeout(this.retryTimeout),this.axiosSource&&(this.axiosSource.cancel(),this.axiosSource=a.a.CancelToken.source())}},C=r(80),w=r(109);const E="bcu-uploads-reachability-cached-results";var S=class{constructor(){this.localStore=new w.a,this.cachedResults={},this.populateCachedResultsWithValidLocalStoreValues(),this.saveCachedResultsToLocalStore()}getCachedResultsFromLocalStore(){return this.localStore.getItem(E)}saveCachedResultsToLocalStore(){this.localStore.setItem(E,this.cachedResults)}isCachedHostValid(e){return e.expirationTimestampMS>Date.now()}getCachedResult(e){if(e in this.cachedResults){const t=this.cachedResults[e];if(this.isCachedHostValid(t))return t}return null}updateCachedResult(e,t){this.cachedResults[e]={isReachable:t,expirationTimestampMS:Date.now()+864e5},this.saveCachedResultsToLocalStore()}populateCachedResultsWithValidLocalStoreValues(){const e=this.getCachedResultsFromLocalStore();e&&Object.keys(e).forEach((t=>{const r=e[t];this.isCachedHostValid(r)&&(this.cachedResults[t]=r)}))}getUnreachableHostsUrls(){const e=[];return this.cachedResults?(Object.keys(this.cachedResults).forEach((t=>{const r=this.cachedResults[t];this.isCachedHostValid(r)&&!r.isReachable&&e.push(t)})),e):e}async isReachable(e){if(e==="".concat(p.X,"/")||e==="".concat(p.Y,"/"))return!0;const t=this.getCachedResult(e);if(t)return t.isReachable;const r=await this.makeReachabilityRequest(e);return this.updateCachedResult(e,r),r}async makeReachabilityRequest(e){const t="".concat(e,"html5?reachability_test=run"),r={[p.je]:"application/x-www-form-urlencoded; charset=UTF-8","X-File-Name":"reachability_pseudofile.txt","X-File-Size":"1234"};try{await a.a.post(t,"reachability_file=test_file_data",{headers:r})}catch(e){return!1}return!0}},k=r(22),O=r(8);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){P(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)})),P(this,"errorHandler",(e=>{if(!this.isDestroyed()&&"function"==typeof this.errorCallback){const{response:t}=e;t&&t.data?this.errorCallback(t.data,this.errorCode):this.errorCallback(e,this.errorCode)}})),this.cache=e.cache||new C.a,this.apiHost=e.apiHost||p.U,this.uploadHost=e.uploadHost||p.X,this.options=_({},e,{apiHost:this.apiHost,uploadHost:this.uploadHost,cache:this.cache}),this.xhr=new y(this.options),this.destroyed=!1,this.consoleLog=e.consoleLog&&window.console&&window.console.log||o.a,this.consoleError=e.consoleError&&window.console&&window.console.error||o.a,this.uploadsReachability=new S}destroy(){this.xhr.abort(),this.destroyed=!0}isDestroyed(){return this.destroyed}checkApiCallValidity(e,t,r){if(!r||!t)throw Object(O.a)();if(!t[e])throw Object(O.b)()}getBaseApiUrl(){const e=this.apiHost.endsWith("/")?"2.0":"/2.0";return"".concat(this.apiHost).concat(e)}getBaseUploadUrl(){const e=this.uploadHost.endsWith("/")?"api/2.0":"/api/2.0";return"".concat(this.uploadHost).concat(e)}getCache(){return this.cache}getUrl(e){throw new Error("Implement me!")}format(e){throw new Error("Implement me!")}get(e){let{id:t,successCallback:r,errorCallback:n,requestData:o,url:i}=e;const a=i||this.getUrl(t);return this.makeRequest(p.le,t,a,r,n,o)}post(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.oe,t,r,o,i,n)}put(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.pe,t,r,o,i,n)}delete(e){let{id:t,url:r,data:n,successCallback:o,errorCallback:i}=e;return this.makeRequest(p.ke,t,r,o,i,n)}async makeRequest(e,t,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};if(this.isDestroyed())return;this.successCallback=n,this.errorCallback=o;const a=this.xhr[e.toLowerCase()].bind(this.xhr);try{const{data:e}=await a(_({id:Object(k.b)(t),url:r},i));this.successHandler(e)}catch(e){this.errorHandler(e)}}}},function(e,t,r){e.exports=r(511)()},function(e,t,r){"use strict";var n=r(25);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";r.d(t,"m",(function(){return ie})),r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return s})),r.d(t,"b",(function(){return l})),r.d(t,"f",(function(){return c})),r.d(t,"c",(function(){return u})),r.d(t,"l",(function(){return d})),r.d(t,"j",(function(){return h})),r.d(t,"h",(function(){return f})),r.d(t,"i",(function(){return p})),r.d(t,"k",(function(){return m})),r.d(t,"g",(function(){return b})),r.d(t,"d",(function(){return g}));var n,o,i,a=r(6);function s(e){return e.type===o.literal}function l(e){return e.type===o.argument}function c(e){return e.type===o.number}function u(e){return e.type===o.date}function d(e){return e.type===o.time}function h(e){return e.type===o.select}function f(e){return e.type===o.plural}function p(e){return e.type===o.pound}function m(e){return e.type===o.tag}function b(e){return!(!e||"object"!=typeof e||e.type!==i.number)}function g(e){return!(!e||"object"!=typeof e||e.type!==i.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(o||(o={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(i||(i={}));var v=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,y=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function C(e){var t={};return e.replace(y,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var w=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var E=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,S=/^(@+)?(\+|#+)?[rs]?$/g,k=/(\*)(0+)|(#+)(0+)|(0+)/g,O=/^(0+)$/;function x(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(S,(function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""})),t}function _(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function P(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!O.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function T(e){var t=_(e);return t||{}}function I(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Object(a.a)(Object(a.a)(Object(a.a)({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Object(a.a)(Object(a.a)({},e),T(t))}),{}));continue;case"engineering":t=Object(a.a)(Object(a.a)(Object(a.a)({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Object(a.a)(Object(a.a)({},e),T(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(k,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(O.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(E.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(E,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=Object(a.a)(Object(a.a)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=Object(a.a)(Object(a.a)({},t),x(i)))}else if(S.test(o.stem))t=Object(a.a)(Object(a.a)({},t),x(o.stem));else{var s=_(o.stem);s&&(t=Object(a.a)(Object(a.a)({},t),s));var l=P(o.stem);l&&(t=Object(a.a)(Object(a.a)({},t),l))}}return t}var A,L={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","h","K"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TL:["H","hB","hb","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function M(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(L[r||""]||L[n||""]||L["".concat(n,"-001")]||L["001"])[0]}var R=new RegExp("^".concat(v.source,"*")),D=new RegExp("".concat(v.source,"*$"));function j(e,t){return{start:e,end:t}}var F=!!String.prototype.startsWith,N=!!String.fromCodePoint,U=!!Object.fromEntries,z=!!String.prototype.codePointAt,H=!!String.prototype.trimStart,B=!!String.prototype.trimEnd,V=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},W=!0;try{W="a"===(null===(A=Y("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===A?void 0:A[0])}catch(e){W=!1}var G,q=F?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},K=N?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",o=e.length,i=0;o>i;){if((r=e[i++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},X=U?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var o=n[r],i=o[0],a=o[1];t[i]=a}return t},Q=z?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Z=H?function(e){return e.trimStart()}:function(e){return e.replace(R,"")},$=B?function(e){return e.trimEnd()}:function(e){return e.replace(D,"")};function Y(e,t){return new RegExp(e,t)}if(W){var J=Y("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");G=function(e,t){var r;return J.lastIndex=t,null!==(r=J.exec(e)[1])&&void 0!==r?r:""}}else G=function(e,t){for(var r=[];;){var n=Q(e,t);if(void 0===n||re(n)||ne(n))break;r.push(n),t+=n>=65536?2:1}return K.apply(void 0,r)};var ee=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var i=[];!this.isEOF();){var a=this.char();if(123===a){if((s=this.parseArgument(e,r)).err)return s;i.push(s.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(n.UNMATCHED_CLOSING_TAG,j(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&te(this.peek()||0)){if((s=this.parseTag(e,t)).err)return s;i.push(s.val)}else{var s;if((s=this.parseLiteral(e,t)).err)return s;i.push(s.val)}}else{var l=this.clonePosition();this.bump(),i.push({type:o.pound,location:j(l,this.clonePosition())})}}}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.literal,value:"<".concat(i,"/>"),location:j(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!te(this.char()))return this.error(n.INVALID_TAG,j(l,this.clonePosition()));var c=this.clonePosition();return i!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,j(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:o.tag,value:i,children:s,location:j(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,j(l,this.clonePosition())))}return this.error(n.UNCLOSED_TAG,j(r,this.clonePosition()))}return this.error(n.INVALID_TAG,j(r,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(t);if(i)n+=i;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var l=j(r,this.clonePosition());return{val:{type:o.literal,value:n,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(te(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return K.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),K(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,j(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,j(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(n.MALFORMED_ARGUMENT,j(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,j(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.argument,value:i,location:j(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,j(r,this.clonePosition())):this.parseArgumentOptions(e,t,i,r);default:return this.error(n.MALFORMED_ARGUMENT,j(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=G(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:j(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,s){var l,c=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,j(c,d));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition();if((E=this.parseSimpleArgStyleIfPossible()).err)return E;if(0===(g=$(E.val)).length)return this.error(n.EXPECT_ARGUMENT_STYLE,j(this.clonePosition(),this.clonePosition()));h={style:g,styleLocation:j(f,this.clonePosition())}}if((S=this.tryParseArgumentClose(s)).err)return S;var p=j(s,this.clonePosition());if(h&&q(null==h?void 0:h.style,"::",0)){var m=Z(h.style.slice(2));if("number"===u)return(E=this.parseNumberSkeletonFromString(m,h.styleLocation)).err?E:{val:{type:o.number,value:r,location:p,style:E.val},err:null};if(0===m.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,p);var b=m;this.locale&&(b=function(e,t){for(var r="",n=0;n<e.length;n++){var o=e.charAt(n);if("j"===o){for(var i=0;n+1<e.length&&e.charAt(n+1)===o;)i++,n++;var a=1+(1&i),s=i<2?1:3+(i>>1),l=M(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else r+="J"===o?"H":o}return r}(m,this.locale));var g={type:i.dateTime,pattern:b,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?C(b):{}};return{val:{type:"date"===u?o.date:o.time,value:r,location:p,style:g},err:null}}return{val:{type:"number"===u?o.number:"date"===u?o.date:o.time,value:r,location:p,style:null!==(l=null==h?void 0:h.style)&&void 0!==l?l:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,j(v,Object(a.a)({},v)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),w=0;if("select"!==u&&"offset"===y.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,j(this.clonePosition(),this.clonePosition()));var E;if(this.bumpSpace(),(E=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return E;this.bumpSpace(),y=this.parseIdentifierIfPossible(),w=E.val}var S,k=this.tryParsePluralOrSelectOptions(e,u,t,y);if(k.err)return k;if((S=this.tryParseArgumentClose(s)).err)return S;var O=j(s,this.clonePosition());return"select"===u?{val:{type:o.select,value:r,options:X(k.val),location:O},err:null}:{val:{type:o.plural,value:r,options:X(k.val),offset:w,pluralType:"plural"===u?"cardinal":"ordinal",location:O},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,j(c,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,j(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,j(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(w).filter((function(e){return e.length>0}));r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var i=o[0],a=o.slice(1),s=0,l=a;s<l.length;s++)if(0===l[s].length)throw new Error("Invalid number skeleton");t.push({stem:i,options:a})}return t}(e)}catch(e){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:i.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?I(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,o){for(var i,a=!1,s=[],l=new Set,c=o.value,u=o.location;;){if(0===c.length){var d=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var h=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=j(d,this.clonePosition()),c=this.message.slice(d.offset,this.offset())}if(l.has(c))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===c&&(a=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,j(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,r);if(p.err)return p;var m=this.tryParseArgumentClose(f);if(m.err)return m;s.push([c,{value:p.val,location:j(f,this.clonePosition())}]),l.add(c),this.bumpSpace(),c=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,j(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(n.MISSING_OTHER_CLAUSE,j(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,i=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=j(n,this.clonePosition());return o?V(i*=r)?{val:i,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Q(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(q(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&re(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function te(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ne(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function oe(e){e.forEach((function(e){if(delete e.location,h(e)||f(e))for(var t in e.options)delete e.options[t].location,oe(e.options[t].value);else c(e)&&b(e.style)||(u(e)||d(e))&&g(e.style)?delete e.style.location:m(e)&&oe(e.children)}))}function ie(e,t){void 0===t&&(t={}),t=Object(a.a)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ee(e,t).parse();if(r.err){var o=SyntaxError(n[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==t?void 0:t.captureLocation)||oe(r.val),r.val}},function(e,t){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},function(e,t,r){"use strict";var n=r(50);r.d(t,"c",(function(){return n.c})),r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return n.b}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return v})),r.d(t,"c",(function(){return p})),r.d(t,"d",(function(){return g})),r.d(t,"f",(function(){return m})),r.d(t,"e",(function(){return b})),r.d(t,"j",(function(){return w})),r.d(t,"k",(function(){return C})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return f})),r.d(t,"i",(function(){return h}));var n=r(188),o=r.n(n),i=r(85),a=r.n(i),s=r(1);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=[s.bd,s.nd,s.Nd,s.Hd,s.qd,s.Xc,s.sd,s.rd,s.ld,s.Rc,s.md,s.Zc,s.fd,s.gd,s.Nc,s.ed,s.yd,s.Pd],h=[s.bd,s.nd,s.Hd,s.Xc,s.Yc,s.Ed,s.sd,s.Pc,s.Qc,s.Rc,s.Sc,s.ld,s.md,s.pd,s.Uc,s.kd,s.hd,s.Qd,s.Rd,s.fd,s.Bd,s.Nc,s.ed,s.Od],f=[s.bd,s.sd,s.Ed,s.Dd,s.Yc,s.nd,s.Hd,s.Xc,s.yd,s.Sd,s.Nc,s.ed],p=[s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.zd,s.Ad,s.Hd,s.Ld,s.Md,s.Od,s.Rd],m=[s.Yc,s.ld,s.md,s.Bd,s.Hd,s.vd,s.Od,s.Rd],b=[s.Nc,s.Rc,s.Xc,s.ed,s.ld,s.md,s.nd,s.sd,s.vd,s.zd,s.Ad,s.Cd,s.Hd,s.Ld,s.Md,s.Od,s.Rd],g=[s.Kc,s.Ed],v=(s.Kd,s.dd,s.Rc,s.Sc,s.Vc,s.id,s.Mc,s.Id,[s.Jd,s.id,s.Rc,s.Sc,s.ld,s.sd]),y=(s.Sc,s.md,s.pd,s.Mc,[s.Ic,s.Lc,s.Sc,s.od,s.xd]);function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e&&"object"==typeof e&&0!==Object.keys(e).length?t.filter((t=>!o()(e,t))):t}function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(!Array.isArray(t)||0===t.length)return e;const r=c({},e);return C(e,t).forEach((e=>{a()(r,e,null)})),r}},,function(e,t,r){"use strict";r.d(t,"f",(function(){return a})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return l})),r.d(t,"a",(function(){return c})),r.d(t,"c",(function(){return u})),r.d(t,"e",(function(){return d}));var n,o=r(6);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(n||(n={}));var i=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return Object(o.b)(t,e),t}(Error),a=function(e){function t(t,r){return e.call(this,n.UNSUPPORTED_FORMATTER,t,r)||this}return Object(o.b)(t,e),t}(i),s=function(e){function t(t,r){return e.call(this,n.INVALID_CONFIG,t,r)||this}return Object(o.b)(t,e),t}(i),l=function(e){function t(t,r){return e.call(this,n.MISSING_DATA,t,r)||this}return Object(o.b)(t,e),t}(i),c=function(e){function t(t,r,o){var i=e.call(this,n.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),o)||this;return i.locale=r,i}return Object(o.b)(t,e),t}(i),u=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i.locale=r,i}return Object(o.b)(t,e),t}(c),d=function(e){function t(t,r){var o=e.call(this,n.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return o.descriptor=t,o}return Object(o.b)(t,e),t}(i)},function(e,t,r){"use strict";r.d(t,"b",(function(){return s})),r.d(t,"c",(function(){return l})),r.d(t,"d",(function(){return c})),r.d(t,"a",(function(){return u}));var n=r(9),o=r.n(n),i=r(1);const a=/\.([0-9a-z]+)$/i;function s(e){return"".concat(i.hg).concat(e)}function l(e){return"".concat(i.ig).concat(e)}function c(e){return e.extension===i.Zd}function u(e){if("string"!=typeof e)return"";const t=a.exec(e);return o()(t,"[1]","")}},function(e,t,r){var n=r(174),o=r(280),i=r(428),a=r(112),s=r(86),l=r(434),c=r(335),u=r(236),d=c((function(e,t){var r={};if(null==e)return r;var c=!1;t=n(t,(function(t){return t=a(t,e),c||(c=t.length>1),t})),s(e,u(e),r),c&&(r=o(r,7,l));for(var d=t.length;d--;)i(r,t[d]);return r}));e.exports=d},function(e,t,r){"use strict";var n=r(30);r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";var n=r(0),o=r(3),i=r.n(o),a=r(24);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,className:r="",getDOMRef:o=i.a,isDisabled:c=!1,type:u=a.a.SUBMIT}=e,d=l(e,["children","className","getDOMRef","isDisabled","type"]);const h={};return c&&(h["aria-disabled"]=!0,h.onClick=e=>{e.preventDefault(),e.stopPropagation()}),n.createElement("button",s({className:"btn-plain ".concat(r),ref:o,type:u},d,h),t)}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t,r){"use strict";function n(e,t){var r=t&&t.cache?t.cache:u,n=t&&t.serializer?t.serializer:l;return(t&&t.strategy?t.strategy:s)(e,{cache:r,serializer:n})}function o(e,t,r,n){var o,i=null==(o=n)||"number"==typeof o||"boolean"==typeof o?n:r(n),a=t.get(i);return void 0===a&&(a=e.call(this,n),t.set(i,a)),a}function i(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return void 0===i&&(i=e.apply(this,n),t.set(o,i)),i}function a(e,t,r,n,o){return r.bind(t,e,n,o)}function s(e,t){return a(e,this,1===e.length?o:i,t.cache.create(),t.serializer)}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return d}));var l=function(){return JSON.stringify(arguments)};function c(){this.cache=Object.create(null)}c.prototype.get=function(e){return this.cache[e]},c.prototype.set=function(e,t){this.cache[e]=t};var u={create:function(){return new c}},d={variadic:function(e,t){return a(e,this,i,t.cache.create(),t.serializer)},monadic:function(e,t){return a(e,this,o,t.cache.create(),t.serializer)}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return u})),r.d(t,"c",(function(){return h})),r.d(t,"d",(function(){return E})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return c})),r.d(t,"g",(function(){return d})),r.d(t,"h",(function(){return y})),r.d(t,"l",(function(){return C})),r.d(t,"i",(function(){return v})),r.d(t,"j",(function(){return w})),r.d(t,"k",(function(){return f})),r.d(t,"m",(function(){return b})),r.d(t,"n",(function(){return g})),r.d(t,"o",(function(){return S}));var n=r(9),o=r.n(n),i=r(65);const a={};function s(e){return!(!e.options||!e.file)}function l(e){return!(!e.options||!e.item)}function c(e){return s(e)?e.file:e}function u(e){return l(e)?e.item:e}function d(e){return s(e)&&e.options||a}function h(e){return l(e)&&e.options||a}function f(e){const t=e.lastModified||e.lastModifiedDate;if(t&&("string"==typeof t||"number"==typeof t||t instanceof Date)){const e=new Date(t);if(r=e,"[object Date]"===Object.prototype.toString.call(r)&&!Number.isNaN(r.getTime()))return function(e){return e.toISOString().replace(/\.[0-9]{3}/,"")}(e)}var r;return null}function p(e,t,r){const n=e*r**2;return n>t?t:n}function m(e){return(e.webkitGetAsEntry||e.mozGetAsEntry||e.getAsEntry).call(e)}function b(e){const t=m(u(e));return!!t&&t.isDirectory}function g(e){const t=u(e);return b(t)&&"application/zip"===t.type&&"file"===t.kind}function v(e){return new Promise((t=>{e.file((e=>{t(e)}))}))}async function y(e){const t=m(u(e));if(!t)return null;const r=await v(t);return l(e)?{file:r,options:h(e)}:r}function C(e){const t=u(e);if(!m(t))return null;const r=t.getAsFile();return l(e)?{file:r,options:h(e)}:r}function w(e,t){if(!s(e))return e.name;const r=e,n=o()(r,"options.folderId",t),i=o()(r,"options.uploadInitTimestamp",Date.now()),a=r.file.webkitRelativePath||r.file.name;return"".concat(a,"_").concat(n,"_").concat(i)}function E(e,t){const r=u(e),{name:n}=m(r);if(!l(e))return n;const{folderId:o=t,uploadInitTimestamp:i=Date.now()}=h(e);return"".concat(n,"_").concat(o,"_").concat(i)}function S(){const e=window.crypto||window.msCrypto;return!i.a.isMobileSafari()&&("https:"===window.location.protocol&&e&&e.subtle)}},function(e,t,r){"use strict";r.d(t,"d",(function(){return s})),r.d(t,"a",(function(){return l})),r.d(t,"c",(function(){return c})),r.d(t,"b",(function(){return d})),r.d(t,"e",(function(){return h}));var n=r(6),o=r(502),i=r(27),a=r(21);function s(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var l={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){0},onWarn:function(e){0}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function u(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function d(e){void 0===e&&(e={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}});var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,a=Intl.DisplayNames,s=Object(i.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(n.d)([void 0],t,!1)))}),{cache:u(e.dateTime),strategy:i.b.variadic}),l=Object(i.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Object(n.d)([void 0],t,!1)))}),{cache:u(e.number),strategy:i.b.variadic}),c=Object(i.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Object(n.d)([void 0],t,!1)))}),{cache:u(e.pluralRules),strategy:i.b.variadic});return{getDateTimeFormat:s,getNumberFormat:l,getMessageFormat:Object(i.a)((function(e,t,r,i){return new o.a(e,t,r,Object(n.a)({formatters:{getNumberFormat:l,getDateTimeFormat:s,getPluralRules:c}},i||{}))}),{cache:u(e.message),strategy:i.b.variadic}),getRelativeTimeFormat:Object(i.a)((function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,Object(n.d)([void 0],e,!1)))}),{cache:u(e.relativeTime),strategy:i.b.variadic}),getPluralRules:c,getListFormat:Object(i.a)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,Object(n.d)([void 0],e,!1)))}),{cache:u(e.list),strategy:i.b.variadic}),getDisplayNames:Object(i.a)((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,Object(n.d)([void 0],e,!1)))}),{cache:u(e.displayNames),strategy:i.b.variadic})}}function h(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new a.f("No ".concat(t," format named: ").concat(r)))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(0),o=r(4),i=r.n(o),a=r(23),s=r.n(a),l=r(48),c=r(151);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let f;!function(e){e.BUTTON="button",e.RESET="reset",e.SUBMIT="submit"}(f||(f={}));class p extends n.Component{constructor(){super(...arguments),h(this,"btnElement",null),h(this,"handleClick",(e=>{const{isDisabled:t,onClick:r}=this.props;if(t||this.btnElement&&this.btnElement.classList.contains("is-disabled"))return e.preventDefault(),void e.stopPropagation();r&&r(e)}))}render(){const e=this.props,{children:t,className:r,icon:o,isDisabled:a,isLoading:h,isSelected:f,setRef:p,size:m,type:b,showRadar:g}=e,v=d(e,["children","className","icon","isDisabled","isLoading","isSelected","setRef","size","type","showRadar"]),y=s()(v,["onClick"]);a&&(y["aria-disabled"]=!0);const C=i()("btn",{"is-disabled":a,"is-loading":h,"is-selected":f,"bdl-is-disabled":a,"bdl-btn--large":"large"===m,"bdl-has-icon":!!o},r);let w=n.createElement("button",u({ref:e=>{this.btnElement=e,p&&p(e)},className:C,onClick:this.handleClick,type:b},y),t?n.createElement("span",{className:"btn-content"},t):null,o?n.createElement("span",{className:"bdl-btn-icon"},n.cloneElement(o,{width:o&&t?16:20,height:o&&t?16:20})):null,h&&n.createElement(l.c,{className:"btn-loading-indicator"}));return g&&(w=n.createElement(c.a,null,w)),w}}h(p,"defaultProps",{className:"",isLoading:!1,showRadar:!1,type:f.SUBMIT}),t.b=p},,function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({appActivityDeleteErrorMessage:{id:"be.api.appActivityDeleteErrorMessage",defaultMessage:"There was an error deleting this item."},commentCreateErrorMessage:{id:"be.api.commentCreateErrorMessage",defaultMessage:"There was an error creating this comment."},commentCreateConflictMessage:{id:"be.api.commentCreateConflictMessage",defaultMessage:"This comment already exists."},commentDeleteErrorMessage:{id:"be.api.commentDeleteErrorMessage",defaultMessage:"There was an error deleting this comment."},commentUpdateErrorMessage:{id:"be.api.commentUpdateErrorMessage",defaultMessage:"This comment could not be modified."},repliesFetchErrorMessage:{id:"be.api.repliesFetchErrorMessage",defaultMessage:"The replies to this comment could not be loaded."},taskActionErrorTitle:{id:"be.api.taskActionErrorTitle",defaultMessage:"Error"},taskApproveErrorMessage:{id:"be.api.taskApproveErrorMessage",defaultMessage:"An error has occurred while approving this task. Please refresh the page and try again."},taskCompleteErrorMessage:{id:"be.api.taskCompleteErrorMessage",defaultMessage:"An error has occurred while completing this task. Please refresh the page and try again."},taskRejectErrorMessage:{id:"be.api.taskRejectErrorMessage",defaultMessage:"An error has occurred while rejecting this task. Please refresh the page and try again."},taskDeleteErrorMessage:{id:"be.api.taskDeleteErrorMessage",defaultMessage:"There was an error while deleting this task. Please refresh the page and try again."},taskCreateErrorMessage:{id:"be.api.taskCreateErrorMessage",defaultMessage:"An error occurred while creating this task. Please try again."},taskGroupExceedsLimitWarningMessage:{id:"be.api.taskGroupExceedsWarningTitle",defaultMessage:"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group."}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return n.a})),r.d(t,"b",(function(){return i.a})),r.d(t,"c",(function(){return a.a}));var n=r(133),o=(r(123),r(0));r(4),r(256),r(566);var i=r(75);r(23);var a=r(284);r(108),r(567),r(217);o.Component},function(e,t,r){"use strict";var n=r(5);const o=Object(n.c)({cancel:{id:"boxui.core.cancel",defaultMessage:"Cancel"},close:{id:"boxui.core.close",defaultMessage:"Close"},copy:{id:"boxui.core.copy",defaultMessage:"Copy"},copied:{id:"boxui.core.copied",defaultMessage:"Copied"},done:{id:"boxui.core.done",defaultMessage:"Done"},okay:{id:"boxui.core.okay",defaultMessage:"Okay"},save:{id:"boxui.core.save",defaultMessage:"Save"},send:{id:"boxui.core.send",defaultMessage:"Send"},optional:{id:"boxui.core.optional",defaultMessage:"optional"},pillSelectorPlaceholder:{id:"boxui.share.pillSelectorPlaceholder",defaultMessage:"Add names or email addresses"},messageSelectorPlaceholder:{id:"boxui.share.messageSelectorPlaceholder",defaultMessage:"Add a message"},invalidInputError:{id:"boxui.validation.genericError",defaultMessage:"Invalid Input"},minLengthError:{id:"boxui.validation.tooShortError",defaultMessage:"Input must be at least {min} characters"},maxLengthError:{id:"boxui.validation.tooLongError",defaultMessage:"Input cannot exceed {max} characters"},invalidEmailError:{id:"boxui.validation.emailError",defaultMessage:"Invalid Email Address"},invalidURLError:{id:"boxui.validation.URLError",defaultMessage:"Invalid URL"},invalidUserError:{id:"boxui.validation.invalidUserError",defaultMessage:"Invalid User"},requiredFieldError:{id:"boxui.validation.requiredError",defaultMessage:"Required Field"},invalidDateError:{id:"boxui.validation.invalidDateError",defaultMessage:"Invalid Date"}});t.a=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r(0);r(444);let o;!function(e){e.SMALL="small",e.MEDIUM="medium",e.LARGE="large",e.DEFAULT="default"}(o||(o={}));t.b=e=>{let{className:t="",size:r=o.DEFAULT}=e;return n.createElement("div",{className:"crawler ".concat(t," is-").concat(r)},n.createElement("div",null),n.createElement("div",null),n.createElement("div",null))}},function(e,t,r){"use strict";var n=r(242),o=Object.prototype.toString;function i(e){return Array.isArray(e)}function a(e){return void 0===e}function s(e){return"[object ArrayBuffer]"===o.call(e)}function l(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:s,isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"[object FormData]"===o.call(e)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&s(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:l,isPlainObject:c,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:u,isStream:function(e){return l(e)&&u(e.pipe)},isURLSearchParams:function(e){return"[object URLSearchParams]"===o.call(e)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:d,merge:function e(){var t={};function r(r,n){c(t[n])&&c(r)?t[n]=e(t[n],r):c(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)d(arguments[n],r);return t},extend:function(e,t,r){return d(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},function(e,t,r){"use strict";r.d(t,"d",(function(){return b})),r.d(t,"e",(function(){return g})),r.d(t,"b",(function(){return k})),r.d(t,"c",(function(){return x})),r.d(t,"i",(function(){return v})),r.d(t,"j",(function(){return O})),r.d(t,"k",(function(){return y})),r.d(t,"g",(function(){return C})),r.d(t,"h",(function(){return w})),r.d(t,"f",(function(){return E})),r.d(t,"a",(function(){return S}));var n=r(125),o=r.n(n);const i=1e3,a=86400*i,s=60*i,l=/^(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{1,3})?)?((Z$)|(?:[+-](?:([0-2]\d$)|([0-2]\d(?:00|30)$)|([0-2]\d:(?:00|30)$))))$/,c=1,u=2,d=3,h=4,f=5,p=6,m=7;function b(e){return e instanceof Date?e:new Date(e)}function g(e){return e*i}function v(e){return(new Date).toDateString()===b(e).toDateString()}function y(e){return v(b(e).getTime()+a)}function C(e){return(new Date).getMonth()===b(e).getMonth()}function w(e){return(new Date).getFullYear()===b(e).getFullYear()}function E(e){const t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.floor(e%3600%60),o=t>0?"".concat(t.toString(),":"):"",i=n<10?"0".concat(n.toString()):n.toString();let a=r.toString();return t>0&&r<10&&(a="0".concat(a)),"".concat(o).concat(a,":").concat(i)}function S(e,t){return e instanceof Date?new Date(e.getTime()+t):e+t}function k(e){return e.getTime()-e.getTimezoneOffset()*s}function O(e){return!o()(e.getTime())}function x(e){const t=new Date(function(e){if(l.test(e)){const t=e.split(l);let r=t[c];const n=t[u],o=t[d];if(n||(r+=".000"),t[h])return e;if(t[f])return"".concat(r+o,":00");if(t[p])return"".concat(r+o.substr(0,3),":").concat(o.substr(3));if(t[m])return e}return e}(e)),r=t.getTime(),n=t.getTimezoneOffset();return new Date(r+n*s)}},,function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){"use strict";r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return c})),r.d(t,"d",(function(){return u}));var n=r(6),o=r(0),i=r(500),a=r(29);function s(e){Object(i.a)(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var l=Object(n.a)(Object(n.a)({},a.a),{textComponent:o.Fragment});function c(e){return function(t){return e(o.Children.toArray(t))}}function u(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;i<o;i++){var a=r[i];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},,,,,,function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(373)},function(e,t,r){"use strict";r(171);var n=r(62);r.d(t,"b",(function(){return n.a}));var o=r(35);r.d(t,"c",(function(){return o.b})),r.d(t,"a",(function(){return o.a}))},function(e,t,r){var n=r(227),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},function(e,t,r){"use strict";r.d(t,"b",(function(){return w})),r.d(t,"a",(function(){return E}));var n,o=r(0),i=r(4),a=r.n(i),s=r(12),l=r.n(s),c=r(9),u=r.n(c),d=r(56),h=r.n(d);!function(e){e.TOP_LEFT="top left",e.TOP_CENTER="top center",e.TOP_RIGHT="top right",e.MIDDLE_LEFT="middle left",e.MIDDLE_CENTER="middle center",e.MIDDLE_RIGHT="middle right",e.BOTTOM_LEFT="bottom left",e.BOTTOM_CENTER="bottom center",e.BOTTOM_RIGHT="bottom right"}(n||(n={}));var f=n,p=r(60),m=r(73),b=r(15),g=r(34);var v=Object(p.c)((e=>{let{intl:t,onClick:r}=e;return o.createElement(b.a,{"aria-label":t.formatMessage(g.a.close),className:"tooltip-close-button",onClick:r},o.createElement(m.a,{className:"bdl-Tooltip-iconClose",width:14,height:14}))}));r(452);function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},y.apply(this,arguments)}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let w,E;!function(e){e.CALLOUT="callout",e.DEFAULT="default",e.ERROR="error"}(w||(w={})),function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(E||(E={}));const S={[E.BOTTOM_CENTER]:{attachment:f.TOP_CENTER,targetAttachment:f.BOTTOM_CENTER},[E.BOTTOM_LEFT]:{attachment:f.TOP_RIGHT,targetAttachment:f.BOTTOM_RIGHT},[E.BOTTOM_RIGHT]:{attachment:f.TOP_LEFT,targetAttachment:f.BOTTOM_LEFT},[E.MIDDLE_LEFT]:{attachment:f.MIDDLE_RIGHT,targetAttachment:f.MIDDLE_LEFT},[E.MIDDLE_RIGHT]:{attachment:f.MIDDLE_LEFT,targetAttachment:f.MIDDLE_RIGHT},[E.TOP_CENTER]:{attachment:f.BOTTOM_CENTER,targetAttachment:f.TOP_CENTER},[E.TOP_LEFT]:{attachment:f.BOTTOM_RIGHT,targetAttachment:f.TOP_RIGHT},[E.TOP_RIGHT]:{attachment:f.BOTTOM_LEFT,targetAttachment:f.TOP_LEFT}};class k extends o.Component{constructor(e){super(e),C(this,"tooltipID",l()("tooltip")),C(this,"tetherRef",o.createRef()),C(this,"position",(()=>{this.tetherRef.current&&this.isShown()&&this.tetherRef.current.position()})),C(this,"closeTooltip",(()=>{const{onDismiss:e}=this.props;this.setState({wasClosedByUser:!0}),e&&e()})),C(this,"fireChildEvent",((e,t)=>{const{children:r}=this.props,n=r.props[e];n&&n(t)})),C(this,"handleTooltipEvent",(e=>{e.stopPropagation(),e.nativeEvent.stopImmediatePropagation()})),C(this,"handleMouseEnter",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onMouseEnter",e)})),C(this,"handleMouseLeave",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onMouseLeave",e)})),C(this,"handleFocus",(e=>{this.setState({isShown:!0}),this.fireChildEvent("onFocus",e)})),C(this,"handleBlur",(e=>{this.setState({isShown:!1}),this.fireChildEvent("onBlur",e)})),C(this,"isControlled",(()=>{const{isShown:e}=this.props;return void 0!==e})),C(this,"handleKeyDown",(e=>{"Escape"===e.key&&(e.stopPropagation(),this.setState({isShown:!1})),this.fireChildEvent("onKeyDown",e)})),C(this,"isShown",(()=>{const{isShown:e}=this.props;return(this.isControlled()?e:this.state.isShown)&&!this.state.wasClosedByUser&&this.state.hasRendered})),this.state={isShown:!!e.isShown,hasRendered:!1,wasClosedByUser:!1}}componentDidMount(){this.setState({hasRendered:!0})}componentDidUpdate(e,t){this.isControlled()?!e.isShown&&this.props.isShown&&this.setState({wasClosedByUser:!1}):(!t.isShown&&this.state.isShown&&document.addEventListener("keydown",this.handleKeyDown,!0),t.isShown&&!this.state.isShown&&document.removeEventListener("keydown",this.handleKeyDown,!0))}componentWillUnmount(){document.removeEventListener("keydown",this.handleKeyDown,!0)}render(){const{ariaHidden:e,bodyElement:t,children:r,className:n,constrainToScrollParent:i,constrainToWindow:s,isDisabled:l,isTabbable:c=!0,offset:d,position:f=E.TOP_CENTER,showCloseButton:p,stopBubble:m,tetherElementClassName:b,text:g,theme:C}=this.props,k=u()(r,"props.aria-label"),O=!!k&&k===g;if(l)return o.Children.only(r);const x=this.isControlled(),_=this.isShown(),P=p&&x,T="string"==typeof f?S[f]:f,I=[],A={};i&&I.push({to:"scrollParent",attachment:"together"}),s&&I.push({to:"window",attachment:"together"}),_&&!e&&(O&&void 0!==k||(A["aria-describedby"]=this.tooltipID),C===w.ERROR&&(A["aria-errormessage"]=this.tooltipID)),x||(A.onBlur=this.handleBlur,A.onFocus=this.handleFocus,A.onMouseEnter=this.handleMouseEnter,A.onMouseLeave=this.handleMouseLeave,c&&(A.tabIndex="0"));const L=t instanceof HTMLElement?t:document.body,M=a()("tooltip","bdl-Tooltip",n,{"is-callout":C===w.CALLOUT,"is-error":C===w.ERROR,"with-close-button":P}),R={attachment:T.attachment,bodyElement:L,classPrefix:"tooltip",constraints:I,enabled:_,targetAttachment:T.targetAttachment};b&&(R.className=b),d&&(R.offset=d);const D=o.createElement(o.Fragment,null,g,P&&o.createElement(v,{onClick:this.closeTooltip})),j=m?o.createElement("div",{className:M,id:this.tooltipID,onClick:this.handleTooltipEvent,onContextMenu:this.handleTooltipEvent,onKeyPress:this.handleTooltipEvent,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:"presentation"},o.createElement("div",{role:C===w.ERROR?void 0:"tooltip","aria-live":"polite","aria-hidden":e||O,"data-testid":"bdl-Tooltip"},D)):o.createElement("div",{"aria-live":"polite","aria-hidden":e||O,className:M,"data-testid":"bdl-Tooltip",id:this.tooltipID,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,role:C===w.ERROR?void 0:"tooltip"},D);return o.createElement(h.a,y({ref:this.tetherRef},R),o.cloneElement(o.Children.only(r),A),_&&j)}}C(k,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isDisabled:!1,position:E.TOP_CENTER,theme:w.DEFAULT});t.c=k},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var n,o=(n=r(446))&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";r.d(t,"c",(function(){return f})),r.d(t,"b",(function(){return p})),r.d(t,"d",(function(){return m})),r.d(t,"a",(function(){return b})),r.d(t,"e",(function(){return g}));r(0);function n(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function o(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function i(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return o(r.overflowY,t)||o(r.overflowX,t)}return!1}function a(e,t,r,n,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=r||a>=t&&s>=r?i-e-n:a>t&&s<r||i<e&&s>r?a-t+o:0}var s=function(e,t){var r=t.scrollMode,o=t.block,s=t.inline,l=t.boundary,c=t.skipOverflowHiddenElements,u="function"==typeof l?l:function(e){return e!==l};if(!n(e))throw new TypeError("Invalid target");for(var d=document.scrollingElement||document.documentElement,h=[],f=e;n(f)&&u(f);){if((f=f.parentNode)===d){h.push(f);break}f===document.body&&i(f)&&!i(document.documentElement)||i(f,c)&&h.push(f)}for(var p=window.visualViewport?visualViewport.width:innerWidth,m=window.visualViewport?visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=e.getBoundingClientRect(),y=v.height,C=v.width,w=v.top,E=v.right,S=v.bottom,k=v.left,O="start"===o||"nearest"===o?w:"end"===o?S:w+y/2,x="center"===s?k+C/2:"end"===s?E:k,_=[],P=0;P<h.length;P++){var T=h[P],I=T.getBoundingClientRect(),A=I.height,L=I.width,M=I.top,R=I.right,D=I.bottom,j=I.left;if("if-needed"===r&&w>=0&&k>=0&&S<=m&&E<=p&&w>=M&&S<=D&&k>=j&&E<=R)return _;var F=getComputedStyle(T),N=parseInt(F.borderLeftWidth,10),U=parseInt(F.borderTopWidth,10),z=parseInt(F.borderRightWidth,10),H=parseInt(F.borderBottomWidth,10),B=0,V=0,W="offsetWidth"in T?T.offsetWidth-T.clientWidth-N-z:0,G="offsetHeight"in T?T.offsetHeight-T.clientHeight-U-H:0;if(d===T)B="start"===o?O:"end"===o?O-m:"nearest"===o?a(g,g+m,m,U,H,g+O,g+O+y,y):O-m/2,V="start"===s?x:"center"===s?x-p/2:"end"===s?x-p:a(b,b+p,p,N,z,b+x,b+x+C,C),B=Math.max(0,B+g),V=Math.max(0,V+b);else{B="start"===o?O-M-U:"end"===o?O-D+H+G:"nearest"===o?a(M,D,A,U,H+G,O,O+y,y):O-(M+A/2)+G/2,V="start"===s?x-j-N:"center"===s?x-(j+L/2)+W/2:"end"===s?x-R+z+W:a(j,R,L,N,z+W,x,x+C,C);var q=T.scrollLeft,K=T.scrollTop;O+=K-(B=Math.max(0,Math.min(K+B,T.scrollHeight-A+G))),x+=q-(V=Math.max(0,Math.min(q+V,T.scrollWidth-L+W)))}_.push({el:T,top:B,left:V})}return _};function l(e){return e===Object(e)&&0!==Object.keys(e).length}var c=function(e,t){var r=!e.ownerDocument.documentElement.contains(e);if(l(t)&&"function"==typeof t.behavior)return t.behavior(r?[]:s(e,t));if(!r){var n=function(e){return!1===e?{block:"end",inline:"nearest"}:l(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,o=e.top,i=e.left;n.scroll&&r?n.scroll({top:o,left:i,behavior:t}):(n.scrollTop=o,n.scrollLeft=i)}))}(s(e,n),n.behavior)}},u=r(1);r(568);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e){if(!(e&&e instanceof HTMLElement))return!1;const t=e.tagName.toLowerCase();return"input"===t||"select"===t||"textarea"===t||"div"===t&&!!e.getAttribute("contenteditable")}function p(e){if(!(e&&e instanceof HTMLElement))return!1;const t=e.tagName.toLowerCase(),r=e.classList.contains("checkbox-pointer-target")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("checkbox-label"),n=e.classList.contains("btn-content")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("btn")||e.parentElement instanceof HTMLElement&&e.parentElement.classList.contains("bdl-Button")||!1;return f(e)||"button"===t||"a"===t||"option"===t||r||n}function m(e){return!(0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)}function b(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)return;if(!t)return void e.focus();const n=e.querySelector(t);n&&"function"==typeof n.focus?n.focus():r&&e.focus()}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){const r=e.closest(".body, .modal, .".concat(u.Ye));c(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach((function(t){h(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({scrollMode:"if-needed",boundary:r},t))}}},function(e,t,r){"use strict";var n=r(0),o=r(30);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,className:r=""}=e,s=a(e,["children","className"]);return n.createElement(o.b,i({className:"btn-primary ".concat(r)},s),t)}},function(e,t,r){"use strict";var n=r(72),o=r.n(n),i=r(9),a=r.n(i),s=r(19),l=r(22),c=r(8),u=r(1),d=r(88),h=r(83),f=r(71);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class g extends d.a{getCacheKey(e){return"".concat(u.o).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/files").concat(t)}async getDownloadUrl(e,t,r,n){this.errorCode=u.ec,this.errorCallback=n,this.successCallback=r;const i=t[u.ed],a=t[u.Nc],s=await f.a.getReadToken(Object(l.b)(e),this.options.token);if(!i||!a||!s)return void this.errorHandler(new Error("Download is missing required fields or token."));const{query:c,url:d}=o.a.parseUrl(a),h=m({},c,{access_token:s}),p=o.a.stringify(h);this.successHandler("".concat(d,"?").concat(p))}isRepresentationsCallComplete(e){const t=a()(e,"data.status.state");return!t||t===u.lf||t===u.mf||t===u.nf}async generateRepresentation(e){const t=a()(e,"info.url");return t?Object(h.a)(((e,r)=>this.xhr.get({successCallback:e,errorCallback:r,url:t}).then((t=>this.isRepresentationsCallComplete(t)?e(t.data):r(t.data))).catch((e=>{r(e)}))),4,2e3,2):e}async getThumbnailUrl(e){const t=a()(e,"representations.entries[0]"),r=a()(t,"representation"),n=a()(t,"content.url_template"),i=await f.a.getReadToken(Object(l.b)(e.id),this.options.token);if(!r||!n||!i)return null;const s=n.replace("{+asset_path}","jpg"===r?"":"1.png"),{query:c,url:u}=o.a.parseUrl(s),d=m({},c,{access_token:i}),h=o.a.stringify(d);return"".concat(u,"?").concat(h)}setFileDescription(e,t,r,n){const{id:o,permissions:i}=e;return o&&i?i.can_rename?this.xhr.put({id:Object(l.b)(o),url:this.getUrl(o),data:{description:t}}).then((e=>{let{data:t}=e;if(!this.isDestroyed()){const e=this.merge(this.getCacheKey(o),"description",t.description);r(e)}})).catch((()=>{if(!this.isDestroyed()){const t=this.merge(this.getCacheKey(o),"description",e.description);n(t)}})):(n(Object(c.b)()),Promise.reject()):(n(Object(c.a)()),Promise.reject())}async getFile(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const o=this.getCache(),i=this.getCacheKey(e),a=!n.forceFetch&&o.has(i),c=a?o.get(i):{id:e};let d=Object(s.k)(c,n.fields);const h={id:Object(l.b)(e),url:this.getUrl(e),headers:{"X-Rep-Hints":u.Eg}};if(this.errorCode=u.Qb,this.successCallback=t,this.errorCallback=r,!a||0!==d.length||(t(c),d=n.fields||[],n.refreshCache)){d.length>0&&(h.params={fields:d.toString()});try{const{data:e}=await this.xhr.get(h);if(this.isDestroyed())return;const t=Object(s.j)(e,d);o.has(i)?o.merge(i,t):o.set(i,t),this.successHandler(o.get(i))}catch(e){this.errorHandler(e)}}}getFileExtension(e,t,r){this.isDestroyed()||this.getFile(e,t,r,{fields:[u.Xc]})}}t.a=g},function(e,t,r){"use strict";r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return d})),r.d(t,"c",(function(){return h}));var n=r(6),o=r(0),i=r(187),a=r.n(i),s=r(40);var l="undefined"!=typeof window?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=o.createContext(null)):o.createContext(null),c=l.Consumer,u=l.Provider,d=l;function h(e,t){var r,i=t||{},l=i.intlPropName,u=void 0===l?"intl":l,d=i.forwardRef,h=void 0!==d&&d,f=i.enforceContext,p=void 0===f||f,m=function(t){return o.createElement(c,null,(function(r){var i;p&&Object(s.c)(r);var a=((i={})[u]=r,i);return o.createElement(e,Object(n.a)({},t,a,{ref:h?t.forwardedRef:null}))}))};return m.displayName="injectIntl(".concat((r=e).displayName||r.name||"Component",")"),m.WrappedComponent=e,h?a()(o.forwardRef((function(e,t){return o.createElement(m,Object(n.a)({},e,{forwardedRef:t}))})),e):a()(m,e)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(0),o=r(60),i=r(40);function a(){var e=n.useContext(o.a);return Object(i.c)(e),e}},function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(35);r(445);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}let c;!function(e){e.CENTER="center",e.TOP="top"}(c||(c={}));t.a=e=>{let{children:t,className:r="",crawlerPosition:o=c.CENTER,crawlerSize:u=a.a.DEFAULT,isLoading:d=!1,hideContent:h=!1}=e,f=l(e,["children","className","crawlerPosition","crawlerSize","isLoading","hideContent"]);const p=i()("loading-indicator-veil",{"is-with-top-crawler":o===c.TOP,"is-with-center-crawler":o===c.CENTER},h?"hide-content":"blur-content");return n.createElement("div",s({className:"loading-indicator-wrapper ".concat(r)},f),t,d&&n.createElement("div",{className:p},n.createElement(a.b,{size:u})))}},function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach((function(e){o[e]=e})),"abcdefghijklmnopqrst"===Object.keys(n({},o)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,n,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))i.call(r,c)&&(s[c]=r[c]);if(o){n=o(r);for(var u=0;u<n.length;u++)a.call(r,n[u])&&(s[n[u]]=r[n[u]])}}return s}},function(e,t,r){"use strict";var n=r(205);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";(function(e){let r;class n{static getUserAgent(){return e.navigator.userAgent}static isMobile(){const e=n.getUserAgent();return/iphone|ipad|ipod|android|blackberry|bb10|mini|windows\sce|palm/i.test(e)||/Mobi/i.test(e)}static isIE(){return/Trident/i.test(n.getUserAgent())}static isFirefox(){const e=n.getUserAgent();return/Firefox/i.test(e)&&!/Seamonkey\//i.test(e)}static isSafari(){const e=n.getUserAgent();return/AppleWebKit/i.test(e)&&!/Chrome\//i.test(e)}static isMobileSafari(){return n.isMobile()&&n.isSafari()&&!n.isMobileChromeOniOS()}static isMobileChromeOniOS(){const e=n.getUserAgent();return n.isMobile()&&/AppleWebKit/i.test(e)&&/CriOS\//i.test(e)}static canDownload(){return!n.isMobile()||!window.externalHost&&"download"in document.createElement("a")}static canPlayDash(){if(void 0===r||arguments.length>0&&void 0!==arguments[0]&&arguments[0]){const t=e.MediaSource;r=!!t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.64001E"')}return r}static canWriteToClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.writeText)}static canReadFromClipboard(){return!(!e.navigator.clipboard||!e.navigator.clipboard.readText)}}t.a=n}).call(this,r(51))},,function(e,t,r){var n=r(100),o=r(387),i=r(388),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},function(e,t,r){"use strict";var n=r(88),o=r(1),i=r(19);class a extends n.a{getCacheKey(e){return"".concat(o.u).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/web_links").concat(t)}async getWeblink(e,t,r){let{fields:n}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const a=this.getCache(),s=this.getCacheKey(e);if(this.errorCode=o.dc,this.successCallback=t,this.errorCallback=r,a.has(s)){if(0===Object(i.k)(a.get(s),n).length)return void t(a.get(s))}const l={url:this.getUrl(e)};n&&(l.params={fields:n.toString()});try{const{data:e}=await this.xhr.get(l);if(this.isDestroyed())return;a.has(s)?a.merge(s,e):a.set(s,e),this.successHandler(a.get(s))}catch(e){this.errorHandler(e)}}}t.a=a},,,function(e,t,r){"use strict";var n=r(1);const o=new Error("Bad id or auth token. ID should be typed id like file_123 or folder_123! Token should be a string or function.");class i{static async getToken(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.startsWith(n.ig)&&!e.startsWith(n.hg))throw o;if(!t||"string"==typeof t)return t;const r=await t(e);if(!r||"string"==typeof r||"object"==typeof r&&(r.read||r.write))return r;throw o}static async getReadToken(e,t){const r=await i.getToken(e,t);return r&&"object"==typeof r?r.read:r}static async getReadTokens(e,t){const r=Array.isArray(e)?e:[e],n=r.map((e=>i.getReadToken(e,t))),o=await Promise.all(n),a={};return o.forEach(((e,t)=>{a[r[t]]=e})),Promise.resolve(a)}static async getWriteToken(e,t){const r=await i.getToken(e,t);return r&&"object"==typeof r?r.write||r.read:r}static async cacheTokens(e,t){if(null!=t&&"string"!=typeof t&&"function"!=typeof t||!e.every((e=>e.startsWith(n.ig)||e.startsWith(n.hg))))throw o;return"function"==typeof t&&await t(e),Promise.resolve()}}t.a=i},function(e,t,r){"use strict";var n=r(491),o=r(63),i=r(492);function a(e,t){return t.encode?t.strict?n(e):encodeURIComponent(e):e}function s(e){return Array.isArray(e)?e.sort():"object"==typeof e?s(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function l(e){var t=e.indexOf("?");return-1===t?"":e.slice(t+1)}function c(e,t){var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t=o({arrayFormat:"none"},t)),n=Object.create(null);return"string"!=typeof e?n:(e=e.trim().replace(/^[?#&]/,""))?(e.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),o=t.shift(),a=t.length>0?t.join("="):void 0;a=void 0===a?null:i(a),r(i(o),a,n)})),Object.keys(n).sort().reduce((function(e,t){var r=n[t];return Boolean(r)&&"object"==typeof r&&!Array.isArray(r)?e[t]=s(r):e[t]=r,e}),Object.create(null))):n}t.extract=l,t.parse=c,t.stringify=function(e,t){!1===(t=o({encode:!0,strict:!0,arrayFormat:"none"},t)).sort&&(t.sort=function(){});var r=function(e){switch(e.arrayFormat){case"index":return function(t,r,n){return null===r?[a(t,e),"[",n,"]"].join(""):[a(t,e),"[",a(n,e),"]=",a(r,e)].join("")};case"bracket":return function(t,r){return null===r?a(t,e):[a(t,e),"[]=",a(r,e)].join("")};default:return function(t,r){return null===r?a(t,e):[a(t,e),"=",a(r,e)].join("")}}}(t);return e?Object.keys(e).sort(t.sort).map((function(n){var o=e[n];if(void 0===o)return"";if(null===o)return a(n,t);if(Array.isArray(o)){var i=[];return o.slice().forEach((function(e){void 0!==e&&i.push(r(n,e,i.length))})),i.join("&")}return a(n,t)+"="+a(o,t)})).filter((function(e){return e.length>0})).join("&"):""},t.parseUrl=function(e,t){return{url:e.split("?")[0]||"",query:c(l(e),t)}}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:o.k,fillRule:"evenodd",d:"M8 6.586l4.182-4.182a.5.5 0 01.707 0l.707.707a.5.5 0 010 .707L9.414 8l4.182 4.182a.5.5 0 010 .707l-.707.707a.5.5 0 01-.707 0L8 9.414l-4.182 4.182a.5.5 0 01-.707 0l-.707-.707a.5.5 0 010-.707L6.586 8 2.404 3.818a.5.5 0 010-.707l.707-.707a.5.5 0 01.707 0L8 6.586z"}))},,function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(23),s=r.n(a),l=r(151);function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}class u extends n.Component{constructor(){var e,t,r;super(...arguments),r=e=>{const{isDisabled:t,onClick:r}=this.props;if(t)return e.stopPropagation(),void e.preventDefault();r&&r(e)},(t="onClickHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}render(){const e=this.props,{children:t,className:r,isDisabled:o,isSelectItem:a,isSelected:u,showRadar:d}=e,h=c(e,["children","className","isDisabled","isSelectItem","isSelected","showRadar"]),f=s()(h,["role","tabIndex","onClick"]);f.className=i()("menu-item",r,{"is-select-item":a,"is-selected":u}),f.role=a?"menuitemradio":"menuitem",f.tabIndex=-1,f.onClick=this.onClickHandler,a&&(f["aria-checked"]=u),o&&(f["aria-disabled"]="true");let p=n.createElement("li",f,t);return d&&(p=n.createElement(l.a,null,p)),p}}t.a=u},,,function(e,t,r){"use strict";var n=r(132);r.d(t,"b",(function(){return n.a}));var o=r(149);r.d(t,"a",(function(){return o.a}))},function(e,t,r){var n=r(386),o=r(391);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t,r){"use strict";var n=r(115),o=r.n(n);t.a=class{constructor(){this.cache={}}set(e,t){this.cache[e]=t}merge(e,t){if(!this.has(e))throw new Error("Key ".concat(e," not in cache!"));this.set(e,o()({},this.get(e),t))}unset(e){delete this.cache[e]}unsetAll(e){Object.keys(this.cache).forEach((t=>{t.startsWith(e)&&delete this.cache[t]}))}has(e){return{}.hasOwnProperty.call(this.cache,e)}get(e){if(this.has(e))return this.cache[e]}}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"e",(function(){return l}));var n,o=r(6);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(n||(n={}));var i=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return Object(o.b)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,r,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(o).join('", "'),'"'),n.INVALID_VALUE,i)||this}return Object(o.b)(t,e),t}(i),s=function(e){function t(t,r,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),n.INVALID_VALUE,o)||this}return Object(o.b)(t,e),t}(i),l=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),n.MISSING_VALUE,r)||this}return Object(o.b)(t,e),t}(i)},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(87),a=r(19),s=r(8),l=r(88),c=r(59),u=r(68),d=r(1);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach((function(t){p(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class m extends l.a{constructor(){super(...arguments),p(this,"folderSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{item_collection:r}=t;if(!r)throw Object(s.a)();const{entries:n,total_count:o,limit:a,offset:l}=r;if(!Array.isArray(n)||"number"!=typeof o||"number"!=typeof a||"number"!=typeof l)throw Object(s.a)();const d=Object(i.a)(n,new m(this.options),new c.a(this.options),new u.a(this.options));this.itemCache=(this.itemCache||[]).concat(d),this.getCache().set(this.key,f({},t,{item_collection:f({},r,{entries:this.itemCache})})),this.finish()})),p(this,"folderDetailsSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const r=f({},this.getCache().get(this.key),{},t);this.getCache().set(this.key,r),this.successCallback(r)})),p(this,"createSuccessHandler",(e=>{let{data:t}=e;const{id:r}=t;if(this.isDestroyed()||!r)return;const n=this.getCacheKey(r),o=this.getCache(),i=o.get(this.key);if(!i)return void this.successCallback(t);const{item_collection:a}=i;if(!a)throw Object(s.a)();const{total_count:l,entries:c}=a;if(!Array.isArray(c)||"number"!=typeof l)throw Object(s.a)();o.set(n,t),a.entries=[n].concat(c),a.total_count=l+1,this.successCallback(t)}))}getCacheKey(e){return"".concat(d.p).concat(e)}getUrl(e){const t=e?"/".concat(e):"";return"".concat(this.getBaseApiUrl(),"/folders").concat(t)}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{id:r,name:n,permissions:o,path_collection:i,item_collection:a}=t;if(!a||!i)throw Object(s.a)();const{entries:l,offset:c,total_count:u}=a;if(!Array.isArray(l)||"number"!=typeof u)throw Object(s.a)();const d={id:r,name:n,offset:c,percentLoaded:100,permissions:o,boxItem:t,breadcrumbs:i.entries,items:l.map((t=>e.get(t))),sortBy:this.sortBy,sortDirection:this.sortDirection,totalCount:u};this.successCallback(d)}folderRequest(){let{fields:e,noPagination:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.folderSuccessHandler;if(this.isDestroyed())return Promise.reject();const n=e||a.g;this.errorCode=d.Sb;let o={fields:n.toString()};return t||(o=f({},o,{direction:this.sortDirection.toLowerCase(),limit:this.limit,offset:this.offset,fields:n.toString(),sort:this.sortBy.toLowerCase()})),this.xhr.get({url:this.getUrl(this.id),params:o,headers:n.includes(d.yd)?{"X-Rep-Hints":d.Fg}:{}}).then(r).catch(this.errorHandler)}getFolderFields(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=t,this.errorCallback=r,this.folderRequest(f({},n,{noPagination:!0}),this.folderDetailsSuccessHandler))}getFolder(e,t,r,n,o,i,a){let s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{};this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.limit=t,this.offset=r,this.sortBy=n,this.sortDirection=o,this.successCallback=i,this.errorCallback=a,s.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.folderRequest(s))}folderCreateRequest(e){if(this.isDestroyed())return Promise.reject();this.errorCode=d.rb;const t="".concat(this.getUrl(),"?fields=").concat(a.g.toString());return this.xhr.post({url:t,data:{name:e,parent:{id:this.id}}}).then(this.createSuccessHandler).catch(this.errorHandler)}create(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;this.isDestroyed()||(this.id=e,this.key=this.getCacheKey(e),this.successCallback=r,this.errorCallback=n,this.folderCreateRequest(t))}}t.a=m},function(e,t,r){"use strict";function n(e,t){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return new Promise(((i,a)=>{function s(l){setTimeout((()=>{n+=1,new Promise(((t,r)=>{e(t,r,a)})).then(i).catch((e=>{if(n<t)return o*=r,void s(o);a(e)}))}),l)}s(o)}))}r.d(t,"a",(function(){return n}))},,function(e,t,r){var n=r(454);e.exports=function(e,t,r){return null==e?e:n(e,t,r)}},function(e,t,r){var n=r(177),o=r(178);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?o(r,c,u):n(r,c,u)}return r}},function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(8),o=r(1);function i(e,t,r,i){const a=[];return e.forEach((e=>{const{id:s,type:l}=e;if(!s||!l)throw Object(n.a)();let c;switch(l){case o.kg:c=t;break;case o.jg:c=r;break;case o.lg:c=i;break;default:throw new Error("Unknown Type!")}const u=c.getCache(),d=c.getCacheKey(s);u.has(d)?u.merge(d,e):u.set(d,e),a.push(d)})),a}},function(e,t,r){"use strict";var n=r(3),o=r.n(n),i=r(85),a=r.n(i),s=r(8),l=r(19),c=r(13),u=r(1);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends c.a{constructor(){super(...arguments),h(this,"deleteSuccessHandler",(()=>{if(this.isDestroyed())return;const e=this.getParentCacheKey(this.parentId),t=this.getCache().get(e);if(!t)return void this.postDeleteCleanup();const{item_collection:r}=t;if(!r)return void this.postDeleteCleanup();const{entries:n,total_count:o}=r;if(!Array.isArray(n)||"number"!=typeof o)throw Object(s.a)();const i=this.getCacheKey(this.id),a=n.length,l=n.filter((e=>e!==i)),c=l.length,u=this.merge(e,"item_collection",d(r,{entries:l,total_count:o-(a-c)}));this.successCallback(u),this.postDeleteCleanup()})),h(this,"renameSuccessHandler",(e=>{let{data:t}=e;if(!this.isDestroyed()){this.getCache().unsetAll(u.t);const e=this.merge(this.getCacheKey(this.id),"name",t.name);this.successCallback(e)}})),h(this,"shareSuccessHandler",((e,t)=>{if(!this.isDestroyed()){const r=t?Object(l.j)(e,t):e,n=this.getCache(),o=this.getCacheKey(this.id);n.has(o)?n.merge(o,r):n.set(o,r),this.successCallback(n.get(o))}}))}getParentCacheKey(e){return"".concat(u.p).concat(e)}getCacheKey(e){return"getCacheKey(".concat(e,") should be overriden")}getUrl(e){return"getUrl(".concat(e,") should be overriden")}merge(e,t,r){const n=this.getCache();return n.merge(e,a()({},t,r)),n.get(e)}postDeleteCleanup(){this.isDestroyed()||(this.getCache().unsetAll(u.t),this.successCallback())}deleteItem(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.Ab;const{id:n,permissions:i,parent:a,type:l}=e;if(!(n&&i&&a&&l))return r(Object(s.a)(),this.errorCode),Promise.reject();const{id:c}=a,{can_delete:d}=i;if(!d||!c)return r(Object(s.b)(),this.errorCode),Promise.reject();this.id=n,this.parentId=c,this.successCallback=t,this.errorCallback=r;const h="".concat(this.getUrl(n)).concat(l===u.kg?"?recursive=true":"");return this.xhr.delete({url:h}).then(this.deleteSuccessHandler).catch((e=>{this.errorHandler(e)}))}rename(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a;if(this.isDestroyed())return Promise.reject();this.errorCode=u.lc;const{id:i,permissions:a}=e;if(!i||!a)return n(Object(s.a)(),this.errorCode),Promise.reject();const{can_rename:l}=a;return l?(this.id=i,this.successCallback=r,this.errorCallback=n,this.xhr.put({url:"".concat(this.getUrl(i)),data:{name:t}}).then(this.renameSuccessHandler).catch((e=>{this.errorHandler(e)}))):(n(Object(s.b)(),this.errorCode),Promise.reject())}validateSharedLinkRequest(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!t)throw this.errorCode=u.oc,Object(s.a)();const{can_share:n,can_set_share_access:o}=t;if(!n||!r&&!o)throw this.errorCode=u.oc,Object(s.b)()}async share(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a,shared_link:s}=e;this.id=o,this.successCallback=r,this.errorCallback=n;const l=!s&&void 0===t;this.validateSharedLinkRequest(o,a,l);const{fields:c}=i,d={url:this.getUrl(this.id),data:{shared_link:t===u.c?null:{access:t}}};c&&(d.params={fields:c.toString()});const{data:h}=await this.xhr.put(d);return this.shareSuccessHandler(h,c)}catch(e){return this.errorHandler(e)}}async updateSharedLink(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:o.a,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(this.isDestroyed())return Promise.reject();try{const{id:o,permissions:a}=e;this.id=o,this.successCallback=r,this.errorCallback=n,this.validateSharedLinkRequest(o,a);const{fields:s}=i,l={url:this.getUrl(this.id),data:{shared_link:t}};s&&(l.params={fields:s.toString()});const{data:c}=await this.xhr.put(l);return this.shareSuccessHandler(c,s)}catch(e){return this.errorHandler(e)}}}t.a=f},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},,function(e,t,r){e.exports=r(455)},function(e,t,r){var n=r(280);e.exports=function(e){return n(e,5)}},function(e,t,r){var n=r(176),o=r(179);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-close ".concat(t),height:i,title:a,viewBox:"0 0 24 24",width:s},n.createElement("path",{className:"fill-color",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 12z",fill:r}),n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}},function(e,t,r){"use strict";var n=r(58);r.d(t,"a",(function(){return n.a}))},,,function(e,t,r){e.exports=r(622)()},,function(e,t,r){var n=r(49).Symbol;e.exports=n},,,,function(e,t,r){"use strict";var n=r(0),o=r(50);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}function a(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{let{children:t,isDisabled:r,text:s}=e,l=a(e,["children","isDisabled","text"]);return r||!s?t:n.createElement(o.c,i({text:s},l),t)}},function(e,t,r){"use strict";var n=r(6),o=r(0),i=r(61),a=r(40);function s(e){var t=Object(i.a)(),r=t.formatMessage,n=t.textComponent,a=void 0===n?o.Fragment:n,s=e.id,l=e.description,c=e.defaultMessage,u=e.values,d=e.children,h=e.tagName,f=void 0===h?a:h,p=r({id:s,description:l,defaultMessage:c},u,{ignoreTag:e.ignoreTag});return"function"==typeof d?d(Array.isArray(p)?p:[p]):f?o.createElement(f,null,o.Children.toArray(p)):o.createElement(o.Fragment,null,p)}s.displayName="FormattedMessage";var l=o.memo(s,(function(e,t){var r=e.values,o=Object(n.c)(e,["values"]),i=t.values,s=Object(n.c)(t,["values"]);return Object(a.d)(i,r)&&Object(a.d)(o,s)}));l.displayName="MemoizedFormattedMessage",t.a=l},function(e,t,r){var n=r(432);e.exports=function(e){return null==e?"":n(e)}},function(e,t,r){var n=r(144);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t}},function(e,t,r){var n=r(46),o=r(514),i=r(272),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,d,h,f,p=0,m=!1,b=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=l,n=c;return l=c=void 0,p=t,d=e.apply(n,r)}function y(e){var r=e-f;return void 0===f||r>=t||r<0||b&&e-p>=u}function C(){var e=o();if(y(e))return w(e);h=setTimeout(C,function(e){var r=t-(e-f);return b?s(r,u-(e-p)):r}(e))}function w(e){return h=void 0,g&&l?v(e):(l=c=void 0,d)}function E(){var e=o(),r=y(e);if(l=arguments,c=this,f=e,r){if(void 0===h)return function(e){return p=e,h=setTimeout(C,t),m?v(e):d}(f);if(b)return clearTimeout(h),h=setTimeout(C,t),v(f)}return void 0===h&&(h=setTimeout(C,t)),d}return t=i(t)||0,n(r)&&(m=!!r.leading,u=(b="maxWait"in r)?a(i(r.maxWait)||0,t):u,g="trailing"in r?!!r.trailing:g),E.cancel=function(){void 0!==h&&clearTimeout(h),p=0,l=f=c=h=void 0},E.flush=function(){return void 0===h?d:w(o())},E}},function(e,t,r){"use strict";var n=r(80);t.a=class{constructor(){this.memoryStore=new n.a;try{this.localStorage=window.localStorage,this.isLocalStorageAvailable=this.canUseLocalStorage()}catch(e){this.isLocalStorageAvailable=!1}}buildKey(e){return"".concat("localStore","/").concat("0","/").concat(e)}canUseLocalStorage(){if(!this.localStorage)return!1;try{return this.localStorage.setItem(this.buildKey("TestKey"),"testValue"),this.localStorage.removeItem(this.buildKey("TestKey")),!0}catch(e){return!1}}setItem(e,t){if(this.isLocalStorageAvailable)try{this.localStorage.setItem(this.buildKey(e),JSON.stringify(t))}catch(e){}else this.memoryStore.set(e,t)}getItem(e){if(!this.isLocalStorageAvailable)return this.memoryStore.get(e);try{const t=this.localStorage.getItem(this.buildKey(e));return t?JSON.parse(t):null}catch(e){return null}}removeItem(e){if(this.isLocalStorageAvailable)try{this.localStorage.removeItem(this.buildKey(e))}catch(e){}else this.memoryStore.unset(e)}}},function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},,function(e,t,r){var n=r(39),o=r(218),i=r(429),a=r(106);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},,function(e,t,r){var n=r(230),o=r(312),i=r(93);e.exports=function(e){return i(e)?n(e):o(e)}},function(e,t,r){var n=r(484),o=r(489)((function(e,t,r){n(e,t,r)}));e.exports=o},function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-info ".concat(t),height:i,title:a,viewBox:"-603 389 16 16",width:s},n.createElement("path",{className:"fill-color",d:"M-595 403c5.5 0 8-7.1 3.9-10.6-4.2-3.6-10.8.3-9.8 5.7.5 2.8 3 4.9 5.9 4.9zm.9-6.7v3.7h-1.4v-3.7h1.4zm.1-2.2c0 1-1.7 1.1-1.7 0 .1-1.1 1.7-1.1 1.7 0z",fill:r,fillRule:"evenodd"}))}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var n=r(407),o=r(52),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},,,,,function(e,t,r){"use strict";var n=r(0),o=r(3),i=r.n(o);t.a=n.createContext({closeMenu:i.a})},,function(e,t,r){var n=r(493);e.exports=function(e){return n(e)&&e!=+e}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"b",(function(){return P}));var n=r(0);var o=r(137),i=(r(14),{ASC:"ASC",DESC:"DESC"});function a(e){var t=e.sortDirection,r=Object(o.a)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===i.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===i.DESC});return n.createElement("svg",{className:r,width:18,height:18,viewBox:"0 0 24 24"},t===i.ASC?n.createElement("path",{d:"M7 14l5-5 5 5z"}):n.createElement("path",{d:"M7 10l5 5 5-5z"}),n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}a.propTypes={};var s=r(195),l=r.n(s);var c=r(89),u=r.n(c),d=r(152),h=r.n(d),f=r(153),p=r.n(f),m=r(154),b=r.n(m),g=r(17),v=r.n(g),y=function(e){function t(){return u()(this,t),h()(this,p()(t).apply(this,arguments))}return b()(t,e),t}(n.Component);v()(y,"defaultProps",{cellDataGetter:function(e){var t=e.dataKey,r=e.rowData;return"function"==typeof r.get?r.get(t):r[t]},cellRenderer:function(e){var t=e.cellData;return null==t?"":String(t)},defaultSortDirection:i.ASC,flexGrow:0,flexShrink:1,headerRenderer:function(e){var t=e.dataKey,r=e.label,o=e.sortBy,i=e.sortDirection,s=o===t,l=[n.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"==typeof r?r:null},r)];return s&&l.push(n.createElement(a,{key:"SortIndicator",sortDirection:i})),l},headerRole:"columnheader",role:"gridcell",style:{}}),y.propTypes={};var C=r(110),w=r.n(C),E=r(26),S=r.n(E),k=r(47),O=r(341);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(r,!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var P=function(e){function t(e){var r;return u()(this,t),(r=h()(this,p()(t).call(this,e))).state={scrollbarWidth:0},r._createColumn=r._createColumn.bind(S()(r)),r._createRow=r._createRow.bind(S()(r)),r._onScroll=r._onScroll.bind(S()(r)),r._onSectionRendered=r._onSectionRendered.bind(S()(r)),r._setRef=r._setRef.bind(S()(r)),r}return b()(t,e),w()(t,[{key:"forceUpdateGrid",value:function(){this.Grid&&this.Grid.forceUpdate()}},{key:"getOffsetForRow",value:function(e){var t=e.alignment,r=e.index;return this.Grid?this.Grid.getOffsetForCell({alignment:t,rowIndex:r}).scrollTop:0}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this.Grid&&this.Grid.invalidateCellSizeAfterRender({rowIndex:r,columnIndex:t})}},{key:"measureAllRows",value:function(){this.Grid&&this.Grid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,r=void 0===t?0:t,n=e.rowIndex,o=void 0===n?0:n;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:r})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Object(k.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,i=t.className,a=t.disableHeader,s=t.gridClassName,c=t.gridContainerRole,u=t.gridStyle,d=t.headerHeight,h=t.headerRowRenderer,f=t.height,p=t.id,m=t.noRowsRenderer,b=t.role,g=t.rowClassName,v=t.rowStyle,y=t.scrollToIndex,C=t.style,w=t.width,E=this.state.scrollbarWidth,S=a?f:f-d,k="function"==typeof g?g({index:-1}):g,x="function"==typeof v?v({index:-1}):v;return this._cachedColumnStyles=[],n.Children.toArray(r).forEach((function(t,r){var n=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[r]=_({overflow:"hidden"},n)})),n.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":n.Children.toArray(r).length,"aria-rowcount":this.props.rowCount,className:Object(o.a)("ReactVirtualized__Table",i),id:p,role:b,style:C},!a&&h({className:Object(o.a)("ReactVirtualized__Table__headerRow",k),columns:this._getHeaderColumns(),style:_({height:d,overflow:"hidden",paddingRight:E,width:w},x)}),n.createElement(O.b,l()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Object(o.a)("ReactVirtualized__Table__Grid",s),cellRenderer:this._createRow,columnWidth:w,columnCount:1,containerRole:c,height:S,id:void 0,noContentRenderer:m,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:E,scrollToRow:y,style:_({},u,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,r=e.columnIndex,i=e.isScrolling,a=e.parent,s=e.rowData,l=e.rowIndex,c=this.props.onColumnClick,u=t.props,d=u.cellDataGetter,h=u.cellRenderer,f=u.className,p=u.columnData,m=u.dataKey,b=u.id,g=u.role,v=h({cellData:d({columnData:p,dataKey:m,rowData:s}),columnData:p,columnIndex:r,dataKey:m,isScrolling:i,parent:a,rowData:s,rowIndex:l}),y=this._cachedColumnStyles[r],C="string"==typeof v?v:null;return n.createElement("div",{"aria-colindex":r+1,"aria-describedby":b,className:Object(o.a)("ReactVirtualized__Table__rowColumn",f),key:"Row"+l+"-Col"+r,onClick:function(e){c&&c({columnData:p,dataKey:m,event:e})},role:g,style:y,title:C},v)}},{key:"_createHeader",value:function(e){var t,r,a,s,l,c=e.column,u=e.index,d=this.props,h=d.headerClassName,f=d.headerStyle,p=d.onHeaderClick,m=d.sort,b=d.sortBy,g=d.sortDirection,v=c.props,y=v.columnData,C=v.dataKey,w=v.defaultSortDirection,E=v.disableSort,S=v.headerRenderer,k=v.headerRole,O=v.id,x=v.label,P=!E&&m,T=Object(o.a)("ReactVirtualized__Table__headerColumn",h,c.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:P}),I=this._getFlexStyleForColumn(c,_({},f,{},c.props.headerStyle)),A=S({columnData:y,dataKey:C,disableSort:E,label:x,sortBy:b,sortDirection:g});if(P||p){var L=b!==C?w:g===i.DESC?i.ASC:i.DESC,M=function(e){P&&m({defaultSortDirection:w,event:e,sortBy:C,sortDirection:L}),p&&p({columnData:y,dataKey:C,event:e})};l=c.props["aria-label"]||x||C,s="none",a=0,t=M,r=function(e){"Enter"!==e.key&&" "!==e.key||M(e)}}return b===C&&(s=g===i.ASC?"ascending":"descending"),n.createElement("div",{"aria-label":l,"aria-sort":s,className:T,id:O,key:"Header-Col"+u,onClick:t,onKeyDown:r,role:k,style:I,tabIndex:a},A)}},{key:"_createRow",value:function(e){var t=this,r=e.rowIndex,i=e.isScrolling,a=e.key,s=e.parent,l=e.style,c=this.props,u=c.children,d=c.onRowClick,h=c.onRowDoubleClick,f=c.onRowRightClick,p=c.onRowMouseOver,m=c.onRowMouseOut,b=c.rowClassName,g=c.rowGetter,v=c.rowRenderer,y=c.rowStyle,C=this.state.scrollbarWidth,w="function"==typeof b?b({index:r}):b,E="function"==typeof y?y({index:r}):y,S=g({index:r}),k=n.Children.toArray(u).map((function(e,n){return t._createColumn({column:e,columnIndex:n,isScrolling:i,parent:s,rowData:S,rowIndex:r,scrollbarWidth:C})})),O=Object(o.a)("ReactVirtualized__Table__row",w),x=_({},l,{height:this._getRowHeight(r),overflow:"hidden",paddingRight:C},E);return v({className:O,columns:k,index:r,isScrolling:i,key:a,onRowClick:d,onRowDoubleClick:h,onRowRightClick:f,onRowMouseOver:p,onRowMouseOut:m,rowData:S,style:x})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),n=_({},t,{flex:r,msFlex:r,WebkitFlex:r});return e.props.maxWidth&&(n.maxWidth=e.props.maxWidth),e.props.minWidth&&(n.minWidth=e.props.minWidth),n}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,r=t.children;return(t.disableHeader?[]:n.Children.toArray(r)).map((function(t,r){return e._createHeader({column:t,index:r})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"==typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,r=e.scrollHeight,n=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:r,scrollTop:n})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,r=e.rowOverscanStopIndex,n=e.rowStartIndex,o=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:r,startIndex:n,stopIndex:o})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(n.PureComponent);v()(P,"defaultProps",{disableHeader:!1,estimatedRowSize:30,gridContainerRole:"",headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:O.a,overscanRowCount:10,role:"grid",rowRenderer:function(e){var t=e.className,r=e.columns,o=e.index,i=e.key,a=e.onRowClick,s=e.onRowDoubleClick,c=e.onRowMouseOut,u=e.onRowMouseOver,d=e.onRowRightClick,h=e.rowData,f=e.style,p={"aria-rowindex":o+1};return(a||s||c||u||d)&&(p.tabIndex=0,a&&(p.onClick=function(e){return a({event:e,index:o,rowData:h})}),s&&(p.onDoubleClick=function(e){return s({event:e,index:o,rowData:h})}),c&&(p.onMouseOut=function(e){return c({event:e,index:o,rowData:h})}),u&&(p.onMouseOver=function(e){return u({event:e,index:o,rowData:h})}),d&&(p.onContextMenu=function(e){return d({event:e,index:o,rowData:h})})),n.createElement("div",l()({},p,{className:t,key:i,role:"row",style:f}),r)},headerRowRenderer:function(e){var t=e.className,r=e.columns,o=e.style;return n.createElement("div",{role:"rowgroup",className:"ReactVirtualized__Table__headerRowGroup"},n.createElement("div",{className:t,role:"row",style:o},r))},rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),P.propTypes={};t.c=P},function(e,t,r){(function(e){var n=r(49),o=r(408),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l}).call(this,r(169)(e))},function(e,t,r){var n=r(417),o=r(175),i=r(418),a=r(352),s=r(334),l=r(67),c=r(228),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",m=c(n),b=c(o),g=c(i),v=c(a),y=c(s),C=l;(n&&C(new n(new ArrayBuffer(1)))!=p||o&&C(new o)!=u||i&&C(i.resolve())!=d||a&&C(new a)!=h||s&&C(new s)!=f)&&(C=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return p;case b:return u;case g:return d;case v:return h;case y:return f}return t}),e.exports=C},,function(e,t,r){"use strict";var n=r(0),o=r(56),i=r.n(o),a=r(4),s=r.n(a),l=r(3),c=r.n(l),u=r(12),d=r.n(u),h=r(1);r(515);function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class p extends n.Component{constructor(){super(...arguments),f(this,"menuID",d()("menu")),f(this,"menuButtonID",d()("menubutton")),f(this,"state",{initialFocusIndex:null,isOpen:!1}),f(this,"openMenuAndSetFocusIndex",(e=>{this.setState({initialFocusIndex:e,isOpen:!0})})),f(this,"closeMenu",(e=>{const{onMenuClose:t=c.a}=this.props;this.setState({isOpen:!1},(()=>t(e)))})),f(this,"focusButton",(()=>{const e=document.getElementById(this.menuButtonID);e&&e.focus()})),f(this,"handleButtonClick",(e=>{const{isOpen:t}=this.state;e.stopPropagation(),e.preventDefault(),t?this.closeMenu(e):this.openMenuAndSetFocusIndex(null)})),f(this,"handleButtonKeyDown",(e=>{const{isOpen:t}=this.state;switch(e.key){case h.Ce.space:case h.Ce.enter:case h.Ce.arrowDown:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(0);break;case h.Ce.arrowUp:e.stopPropagation(),e.preventDefault(),this.openMenuAndSetFocusIndex(-1);break;case h.Ce.escape:t&&e.stopPropagation(),e.preventDefault(),this.closeMenu(e)}})),f(this,"handleMenuClose",((e,t)=>{this.closeMenu(t),this.focusButton()})),f(this,"handleDocumentClick",(e=>{const t=document.getElementById(this.menuID),r=document.getElementById(this.menuButtonID);t&&r&&e.target instanceof Node&&!t.contains(e.target)&&!r.contains(e.target)&&this.closeMenu(e)}))}componentDidUpdate(e,t){const{useBubble:r}=this.props;if(!t.isOpen&&this.state.isOpen){document.addEventListener("click",this.handleDocumentClick,!r),document.addEventListener("contextmenu",this.handleDocumentClick,!r);const{onMenuOpen:e}=this.props;e&&e()}else t.isOpen&&!this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!r),document.removeEventListener("click",this.handleDocumentClick,!r))}componentWillUnmount(){const{useBubble:e}=this.props;this.state.isOpen&&(document.removeEventListener("contextmenu",this.handleDocumentClick,!e),document.removeEventListener("click",this.handleDocumentClick,!e))}render(){const{bodyElement:e,children:t,className:r,constrainToScrollParent:o,constrainToWindow:a,constrainToWindowWithPin:l,isResponsive:c,isRightAligned:u,tetherAttachment:d,tetherTargetAttachment:h}=this.props,{isOpen:f,initialFocusIndex:p}=this.state,m=n.Children.toArray(t);if(2!==m.length)throw new Error("DropdownMenu must have exactly two children: A button component and a <Menu>");const b=m[0],g=m[1],v={id:this.menuButtonID,key:this.menuButtonID,onClick:this.handleButtonClick,onKeyDown:this.handleButtonKeyDown,"aria-expanded":f?"true":"false"};void 0===b.props["aria-haspopup"]&&(v["aria-haspopup"]="true"),f&&(v["aria-controls"]=this.menuID);const y={id:this.menuID,key:this.menuID,initialFocusIndex:p,onClose:this.handleMenuClose,"aria-labelledby":this.menuButtonID};let C="top left",w="bottom left";u&&(C="top right",w="bottom right");const E=[];o&&E.push({to:"scrollParent",attachment:"together"}),a&&E.push({to:"window",attachment:"together"}),l&&E.push({to:"window",attachment:"together",pin:!0});const S=e instanceof HTMLElement?e:document.body;return n.createElement(i.a,{attachment:d||C,bodyElement:S,className:s()({"bdl-DropdownMenu--responsive":c},r),classPrefix:"dropdown-menu",constraints:E,enabled:f,targetAttachment:h||w},n.cloneElement(b,v),f&&n.cloneElement(g,y))}}f(p,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!1,isResponsive:!1,isRightAligned:!1}),t.a=p},function(e,t,r){"use strict";var n=r(0),o=r(23),i=r.n(o),a=r(4),s=r.n(a),l=r(123);r(516);function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=".menu-item:not([aria-disabled])",h="ul:not(.submenu) > ".concat(d,", ul:not(.submenu) > li > ").concat(d,", ul:not(.submenu) > span > ").concat(d),f="ul.submenu > ".concat(d,", ul.submenu > li > ").concat(d,", ul.submenu > span > ").concat(d);function p(e){e.stopPropagation(),e.preventDefault()}class m extends n.Component{constructor(e){var t;super(e),t=this,u(this,"setInitialFocusIndex",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props;const{initialFocusIndex:r,isHidden:n}=e;n||void 0===r||("number"==typeof r?setTimeout((()=>{t.setFocus(r)}),0):null===r&&setTimeout((()=>{t.menuEl&&t.menuEl.focus()}),0))})),u(this,"setMenuItemEls",(()=>{const{isSubmenu:e,menuItemSelector:t}=this.props,r=t||(e?f:h);this.menuItemEls=this.menuEl?[].slice.call(this.menuEl.querySelectorAll(r)):[]})),u(this,"getMenuItemElFromEventTarget",(e=>{let t=null,r=-1;for(let n=0;n<this.menuItemEls.length;n+=1)if(this.menuItemEls[n].contains(e)){t=this.menuItemEls[n],r=n;break}return{menuItemEl:t,menuIndex:r}})),u(this,"setFocus",(e=>{if(!this.menuItemEls.length)return;const t=this.menuItemEls.length;this.focusIndex=e>=t?0:e<0?t-1:e,this.menuItemEls[this.focusIndex].focus()})),u(this,"focusFirstItem",(()=>{this.setFocus(0)})),u(this,"focusLastItem",(()=>{this.setFocus(-1)})),u(this,"focusNextItem",(()=>{this.setFocus(this.focusIndex+1)})),u(this,"focusPreviousItem",(()=>{this.setFocus(this.focusIndex-1)})),u(this,"fireOnCloseHandler",((e,t)=>{const{onClose:r}=this.props;r&&r(e,t)})),u(this,"handleClick",(e=>{const{menuItemEl:t}=e.target instanceof Node?this.getMenuItemElFromEventTarget(e.target):{};t&&this.fireOnCloseHandler(!1,e)})),u(this,"handleKeyDown",(e=>{const{isSubmenu:t,initialFocusIndex:r}=this.props;switch(e.key){case"ArrowDown":p(e),null!==r||this.keyboardPressed?this.focusNextItem():this.focusFirstItem();break;case"ArrowUp":p(e),this.focusPreviousItem();break;case"ArrowLeft":if(!t)return;p(e),this.fireOnCloseHandler(!0,e);break;case"Home":case"PageUp":p(e),this.focusFirstItem();break;case"End":case"PageDown":p(e),this.focusLastItem();break;case"Escape":p(e),this.fireOnCloseHandler(!0,e);break;case"Tab":this.fireOnCloseHandler(!0,e);break;case" ":case"Enter":p(e),e.target instanceof HTMLElement&&e.target.click()}this.keyboardPressed=!0})),this.focusIndex=0,this.menuEl=null,this.menuItemEls=[]}componentDidMount(){this.setMenuItemEls(),this.setInitialFocusIndex()}componentDidUpdate(e){let{isHidden:t,children:r}=e;const{children:o,isHidden:i,isSubmenu:a}=this.props;if(a&&t&&!i&&(this.setMenuItemEls(),this.setInitialFocusIndex(this.props)),n.Children.toArray(r).length!==n.Children.toArray(o).length){const e=this.menuItemEls[this.focusIndex];this.setMenuItemEls();const{menuIndex:t}=this.getMenuItemElFromEventTarget(e),r=-1===t,n=this.focusIndex>=this.menuItemEls.length;this.setFocus(r&&!n?this.focusIndex:t)}}render(){const e=this.props,{children:t,className:r,isHidden:o,setRef:a,shouldOutlineFocus:u}=e,d=c(e,["children","className","isHidden","setRef","shouldOutlineFocus"]),h=i()(d,["onClose","initialFocusIndex","isSubmenu","menuItemSelector"]);return h.className=s()("aria-menu",r,{"is-hidden":o,"should-outline-focus":u}),h.ref=e=>{this.menuEl=e,a&&a(e)},void 0===h.role&&(h.role="menu"),h.tabIndex=-1,h.onClick=this.handleClick,h.onKeyDown=this.handleKeyDown,n.createElement("ul",h,n.createElement(l.a.Provider,{value:{closeMenu:this.fireOnCloseHandler}},t))}}u(m,"defaultProps",{className:"",isSubmenu:!1,isHidden:!1}),t.a=m},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(147);t.a=e=>{let{language:t,messages:r,children:a}=e;return!!t&&!!r?o.a.createElement(i.a,{locale:t,messages:r},a):n.Children.only(a)}},,,function(e,t,r){"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=n(e[t]))&&(o&&(o+=" "),o+=r);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}t.a=function(){for(var e,t,r=0,o="";r<arguments.length;)(e=arguments[r++])&&(t=n(e))&&(o&&(o+=" "),o+=t);return o}},function(e,t,r){var n=r(376),o=r(377),i=r(378),a=r(379),s=r(380);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(117);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(79)(Object,"create");e.exports=n},function(e,t,r){var n=r(400);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(230),o=r(412),i=r(93);e.exports=function(e){return i(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(67),o=r(52);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},function(e,t,r){"use strict";(function(t){var n=r(36),o=r(460),i=r(244),a={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var l,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==t&&"[object process]"===Object.prototype.toString.call(t))&&(l=r(245)),l),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(s(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(t||JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||c.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!r&&"json"===this.responseType;if(a||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(a)})),e.exports=c}).call(this,r(202))},function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,t,r){"use strict";var n=r(6),o=r(0),i=r(60),a=r(40),s=r(500),l=r(502),c=r(21),u=r(16);function d(e,t){return Object.keys(e).reduce((function(r,o){return r[o]=Object(n.a)({timeZone:t},e[o]),r}),{})}function h(e,t){return Object.keys(Object(n.a)(Object(n.a)({},e),t)).reduce((function(r,o){return r[o]=Object(n.a)(Object(n.a)({},e[o]||{}),t[o]||{}),r}),{})}function f(e,t){if(!t)return e;var r=l.a.formats;return Object(n.a)(Object(n.a)(Object(n.a)({},r),e),{date:h(d(r.date,t),d(e.date||{},t)),time:h(d(r.time,t),d(e.time||{},t))})}var p=function(e,t,r,o,i){var a=e.locale,l=e.formats,d=e.messages,h=e.defaultLocale,p=e.defaultFormats,m=e.fallbackOnEmptyString,b=e.onError,g=e.timeZone,v=e.defaultRichTextElements;void 0===r&&(r={id:""});var y=r.id,C=r.defaultMessage;Object(s.a)(!!y,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var w=String(y),E=d&&Object.prototype.hasOwnProperty.call(d,w)&&d[w];if(Array.isArray(E)&&1===E.length&&E[0].type===u.a.literal)return E[0].value;if(!o&&E&&"string"==typeof E&&!v)return E.replace(/'\{(.*?)\}'/gi,"{$1}");if(o=Object(n.a)(Object(n.a)({},v),o||{}),l=f(l,g),p=f(p,g),!E){if(!1===m&&""===E)return E;if((!C||a&&a.toLowerCase()!==h.toLowerCase())&&b(new c.e(r,a)),C)try{return t.getMessageFormat(C,h,p,i).format(o)}catch(e){return b(new c.c('Error formatting default message for: "'.concat(w,'", rendering default message verbatim'),a,r,e)),"string"==typeof C?C:w}return w}try{return t.getMessageFormat(E,a,l,Object(n.a)({formatters:t},i||{})).format(o)}catch(e){b(new c.c('Error formatting message: "'.concat(w,'", using ').concat(C?"default message":"id"," as fallback."),a,r,e))}if(C)try{return t.getMessageFormat(C,h,p,i).format(o)}catch(e){b(new c.c('Error formatting the default message for: "'.concat(w,'", rendering message verbatim'),a,r,e))}return"string"==typeof E?E:"string"==typeof C?C:w},m=r(29),b=["style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem"];function g(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=a&&Object(m.e)(o,"number",a,i)||{};return t(n,Object(m.d)(r,b,s))}function v(e,t,r,n){void 0===n&&(n={});try{return g(e,t,n).format(r)}catch(t){e.onError(new c.a("Error formatting number.",e.locale,t))}return String(r)}function y(e,t,r,n){void 0===n&&(n={});try{return g(e,t,n).formatToParts(r)}catch(t){e.onError(new c.a("Error formatting number.",e.locale,t))}return[]}var C=r(81),w=["numeric","style"];function E(e,t,r,n,o){void 0===o&&(o={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new C.b('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',C.a.MISSING_INTL_API));try{return function(e,t,r){var n=e.locale,o=e.formats,i=e.onError;void 0===r&&(r={});var a=r.format,s=!!a&&Object(m.e)(o,"relative",a,i)||{};return t(n,Object(m.d)(r,w,s))}(e,t,o).format(r,n)}catch(t){e.onError(new c.a("Error formatting relative time.",e.locale,t))}return String(r)}var S=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function k(e,t,r,o){var i=e.locale,a=e.formats,s=e.onError,l=e.timeZone;void 0===o&&(o={});var c=o.format,u=Object(n.a)(Object(n.a)({},l&&{timeZone:l}),c&&Object(m.e)(a,t,c,s)),d=Object(m.d)(o,S,u);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=Object(n.a)(Object(n.a)({},d),{hour:"numeric",minute:"numeric"})),r(i,d)}function O(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return k(e,"date",t,a).format(s)}catch(t){e.onError(new c.a("Error formatting date.",e.locale,t))}return String(s)}function x(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return k(e,"time",t,a).format(s)}catch(t){e.onError(new c.a("Error formatting time.",e.locale,t))}return String(s)}function _(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=r[2],s=void 0===a?{}:a,l=e.timeZone,u=e.locale,d=e.onError,h=Object(m.d)(s,S,l?{timeZone:l}:{});try{return t(u,h).formatRange(o,i)}catch(t){d(new c.a("Error formatting date time range.",e.locale,t))}return String(o)}function P(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return k(e,"date",t,a).formatToParts(s)}catch(t){e.onError(new c.a("Error formatting date.",e.locale,t))}return[]}function T(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o=r[0],i=r[1],a=void 0===i?{}:i,s="string"==typeof o?new Date(o||0):o;try{return k(e,"time",t,a).formatToParts(s)}catch(t){e.onError(new c.a("Error formatting time.",e.locale,t))}return[]}var I=["type"];function A(e,t,r,n){var o=e.locale,i=e.onError;void 0===n&&(n={}),Intl.PluralRules||i(new C.b('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',C.a.MISSING_INTL_API));var a=Object(m.d)(n,I);try{return t(o,a).select(r)}catch(e){i(new c.a("Error formatting plural.",o,e))}return"other"}var L=["type","style"],M=Date.now();function R(e,t,r,n){void 0===n&&(n={});var o=D(e,t,r,n).reduce((function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e}),[]);return 1===o.length?o[0]:0===o.length?"":o}function D(e,t,r,o){var i=e.locale,a=e.onError;void 0===o&&(o={}),Intl.ListFormat||a(new C.b('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',C.a.MISSING_INTL_API));var s=Object(m.d)(o,L);try{var l={},u=r.map((function(e,t){if("object"==typeof e){var r=function(e){return"".concat(M,"_").concat(e,"_").concat(M)}(t);return l[r]=e,r}return String(e)}));return t(i,s).formatToParts(u).map((function(e){return"literal"===e.type?e:Object(n.a)(Object(n.a)({},e),{value:l[e.value]||e.value})}))}catch(e){a(new c.a("Error formatting list.",i,e))}return r}var j,F=["style","type","fallback","languageDisplay"];function N(e,t,r,n){var o=e.locale,i=e.onError;Intl.DisplayNames||i(new C.b('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',C.a.MISSING_INTL_API));var a=Object(m.d)(n,F);try{return t(o,a).of(r)}catch(e){i(new c.a("Error formatting display name.",o,e))}}function U(e){var t;e.onWarn&&e.defaultRichTextElements&&"string"==typeof((t=e.messages||{})?t[Object.keys(t)[0]]:void 0)&&e.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution')}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(j||(j={}));var z,H=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return Object(n.b)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);(function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),j.INVALID_VALUE,o)||this}Object(n.b)(t,e)})(H),function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),j.INVALID_VALUE,n)||this}Object(n.b)(t,e)}(H),function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),j.MISSING_VALUE,r)||this}Object(n.b)(t,e)}(H);function B(e){return"function"==typeof e}function V(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}function W(e){return e?Object.keys(e).reduce((function(t,r){var n=e[r];return t[r]=B(n)?Object(a.b)(n):n,t}),{}):e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(z||(z={}));var G=function(e,t,r,i){for(var a=[],s=4;s<arguments.length;s++)a[s-4]=arguments[s];var l=W(i),c=p.apply(void 0,Object(n.d)([e,t,r,l],a,!1));return Array.isArray(c)?o.Children.toArray(c):c},q=function(e,t){var r=e.defaultRichTextElements,o=Object(n.c)(e,["defaultRichTextElements"]),i=W(r),s=function(e,t){var r=Object(m.b)(t),o=Object(n.a)(Object(n.a)({},m.a),e),i=o.locale,a=o.defaultLocale,s=o.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&s?s(new c.d('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&s&&s(new c.d('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))):(s&&s(new c.b('"locale" was not configured, using "'.concat(a,'" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))),o.locale=o.defaultLocale||"en"),U(o),Object(n.a)(Object(n.a)({},o),{formatters:r,formatNumber:v.bind(null,o,r.getNumberFormat),formatNumberToParts:y.bind(null,o,r.getNumberFormat),formatRelativeTime:E.bind(null,o,r.getRelativeTimeFormat),formatDate:O.bind(null,o,r.getDateTimeFormat),formatDateToParts:P.bind(null,o,r.getDateTimeFormat),formatTime:x.bind(null,o,r.getDateTimeFormat),formatDateTimeRange:_.bind(null,o,r.getDateTimeFormat),formatTimeToParts:T.bind(null,o,r.getDateTimeFormat),formatPlural:A.bind(null,o,r.getPluralRules),formatMessage:p.bind(null,o,r),$t:p.bind(null,o,r),formatList:R.bind(null,o,r.getListFormat),formatListToParts:D.bind(null,o,r.getListFormat),formatDisplayName:N.bind(null,o,r.getDisplayNames)})}(Object(n.a)(Object(n.a)(Object(n.a)({},a.a),o),{defaultRichTextElements:i}),t),l={locale:s.locale,timeZone:s.timeZone,fallbackOnEmptyString:s.fallbackOnEmptyString,formats:s.formats,defaultLocale:s.defaultLocale,defaultFormats:s.defaultFormats,messages:s.messages,onError:s.onError,defaultRichTextElements:i};return Object(n.a)(Object(n.a)({},s),{formatMessage:G.bind(null,l,s.formatters),$t:G.bind(null,l,s.formatters)})},K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=Object(m.c)(),t.state={cache:t.cache,intl:q(V(t.props),t.cache),prevConfig:V(t.props)},t}return Object(n.b)(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,o=V(e);return Object(a.d)(r,o)?null:{intl:q(o,n),prevConfig:o}},t.prototype.render=function(){return Object(a.c)(this.state.intl),o.createElement(i.b,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=a.a,t}(o.PureComponent);t.a=K},,function(e,t,r){"use strict";var n=r(0),o=r(161);r(518);t.a=e=>{let{children:t}=e;return n.createElement("span",{className:"menu-toggle"},t,n.createElement(o.a,{className:"toggle-arrow",width:7}))}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r(12),i=r.n(o),a=r(56),s=r.n(a);r(451);function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let d;!function(e){e.BOTTOM_CENTER="bottom-center",e.BOTTOM_LEFT="bottom-left",e.BOTTOM_RIGHT="bottom-right",e.MIDDLE_CENTER="middle-center",e.MIDDLE_LEFT="middle-left",e.MIDDLE_RIGHT="middle-right",e.TOP_CENTER="top-center",e.TOP_LEFT="top-left",e.TOP_RIGHT="top-right"}(d||(d={}));const h={[d.BOTTOM_CENTER]:{attachment:"top center",targetAttachment:"bottom center"},[d.BOTTOM_LEFT]:{attachment:"top left",targetAttachment:"bottom left"},[d.BOTTOM_RIGHT]:{attachment:"top right",targetAttachment:"bottom right"},[d.MIDDLE_CENTER]:{attachment:"middle center",targetAttachment:"middle center"},[d.MIDDLE_LEFT]:{attachment:"middle right",targetAttachment:"middle left"},[d.MIDDLE_RIGHT]:{attachment:"middle left",targetAttachment:"middle right"},[d.TOP_CENTER]:{attachment:"bottom center",targetAttachment:"top center"},[d.TOP_LEFT]:{attachment:"bottom left",targetAttachment:"top left"},[d.TOP_RIGHT]:{attachment:"bottom right",targetAttachment:"top right"}};class f extends n.Component{constructor(){super(...arguments),u(this,"tetherRef",n.createRef()),u(this,"radarAnimationID",i()("radarAnimation")),u(this,"position",(()=>{const{isShown:e}=this.props;this.tetherRef.current&&e&&this.tetherRef.current.position()}))}render(){const e=this.props,{children:t,className:r="",constrainToScrollParent:o,constrainToWindow:i,position:a,isShown:u,offset:d,tetherElementClassName:f}=e,p=c(e,["children","className","constrainToScrollParent","constrainToWindow","position","isShown","offset","tetherElementClassName"]),m=[];o&&m.push({to:"scrollParent",attachment:"together"}),i&&m.push({to:"window",attachment:"together"});const{attachment:b,targetAttachment:g}=h[a],v=n.Children.only(t),y=n.cloneElement(v,{"aria-describedby":this.radarAnimationID}),C={attachment:b,classPrefix:"radar-animation",constraints:m,targetAttachment:g};return f&&(C.className=f),d&&(C.offset=d),n.createElement(s.a,l({ref:this.tetherRef},C),y,u&&n.createElement("div",l({className:"radar ".concat(r),id:this.radarAnimationID},p),n.createElement("div",{className:"radar-dot"}),n.createElement("div",{className:"radar-circle"})))}}u(f,"defaultProps",{constrainToScrollParent:!1,constrainToWindow:!0,isShown:!0,position:d.MIDDLE_RIGHT});var p=f},function(e,t,r){var n=r(693),o=r(26);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t}},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(t)}e.exports=r},function(e,t,r){var n=r(694);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},,function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n="data-resin-target"},,,,function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#000",height:i=6,title:a,width:s=10}=e;return n.createElement(o.a,{className:"icon-caret-down ".concat(t),height:i,title:a,viewBox:"0 0 10 6",width:s},n.createElement("path",{className:"fill-color",d:"M0 .5l5 5 5-5H0z",fill:r,fillRule:"evenodd"}))}},,,,function(e,t,r){var n=r(353),o=r(93),i=r(274),a=r(318),s=r(474),l=Math.max;e.exports=function(e,t,r,c){e=o(e)?e:s(e),r=r&&!c?a(r):0;var u=e.length;return r<0&&(r=l(u+r,0)),i(e)?r<=u&&e.indexOf(t,r)>-1:!!u&&n(e,t,r)>-1}},,,function(e,t,r){var n=r(138),o=r(381),i=r(382),a=r(383),s=r(384),l=r(385);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(409),o=r(180),i=r(181),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},function(e,t,r){"use strict";var n=r(0),o=r(35);function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}t.a=e=>{const t=t=>{let{isLoading:r=!1,loadingIndicatorProps:a={}}=t,s=i(t,["isLoading","loadingIndicatorProps"]);return r?n.createElement(o.b,a):n.createElement(e,s)};return t.displayName="Loadable".concat(e.displayName||e.name||"Component"),t}},function(e,t,r){"use strict";var n=r(0),o=r(285),i=r(286),a=r(287),s=r(288),l=r(215),c=r(289),u=r(290),d=r(291),h=r(292),f=r(293),p=r(294),m=r(295),b=r(296),g=r(297),v=r(298),y=r(299),C=r(300),w=r(301),E=r(302),S=r(303),k=r(304),O=r(211),x=r(305),_=r(306),P=r(216),T=r(307),I=r(308),A=r(309),L=r(310);const M={IconFileAudio:o.a,IconFileBoxCanvas:i.a,IconFileBoxNote:a.a,IconFileCode:s.a,IconFileDefault:l.a,IconFileDocument:O.a,IconFileDwg:c.a,IconFileExcelSpreadsheet:u.a,IconFileGoogleDocs:d.a,IconFileGoogleSheets:h.a,IconFileGoogleSlides:f.a,IconFileIllustrator:p.a,IconFileImage:m.a,IconFileIndesign:b.a,IconFileKeynote:g.a,IconFileNumbers:v.a,IconFilePages:y.a,IconFilePDF:C.a,IconFilePhotoshop:w.a,IconFilePowerpointPresentation:E.a,IconFilePresentation:S.a,IconFileSpreadsheet:k.a,IconFileText:O.a,IconFileThreeD:x.a,IconFileVector:_.a,IconFileVideo:P.a,IconFileWordDocument:T.a,IconFileXbd:I.a,IconFileXdw:A.a,IconFileZip:L.a},R=e=>e.reduce(((e,t)=>(e[t]=t,e)),{}),D={IconFileAudio:R(["aac","aif","aifc","aiff","amr","au","flac","m3u","m4a","mid","mp3","ra","wav","wma","wpl"]),IconFileBoxCanvas:R(["boxcanvas"]),IconFileBoxNote:R(["boxnote"]),IconFileCode:R(["as","as3","asm","aspx","c","cpp","bat","c","cc","cmake","cs","css","cxx","db","diff","erb","groovy","h","haml","hh","htm","html","java","js","less","m","make","md","ml","mm","php","pl","plist","properties","py","rb","sass","scala","script","scm","sml","sql","sh","wabba","yaml"]),IconFileDocument:R(["dot","dotx","msg","odt","rtf","wpd","xhtml","xml","xsd","xsl"]),IconFileDwg:R(["dwg","dwgzip"]),IconFileExcelSpreadsheet:R(["xls","xlsx","xlsm","xlsb"]),IconFileGoogleDocs:R(["gdoc"]),IconFileGoogleSheets:R(["gsheet"]),IconFileGoogleSlides:R(["gslide","gslides"]),IconFileVector:R(["eps"]),IconFileIllustrator:R(["ai"]),IconFileIndesign:R(["idml","indd","indt","inx"]),IconFileKeynote:R(["key"]),IconFileNumbers:R(["numbers"]),IconFilePages:R(["pages"]),IconFileImage:R(["bmp","gif","gdraw","jpeg","jpg","png","ps","svs","svg","tif","tiff","heic","heif"]),IconFilePDF:R(["pdf"]),IconFilePresentation:R(["odp","otp","pot","potx"]),IconFilePowerpointPresentation:R(["ppt","pptx","pptm"]),IconFilePhotoshop:R(["psd"]),IconFileSpreadsheet:R(["csv","ods","tsv","xlt","xltx"]),IconFileText:R(["txt","vi","vim","webdoc"]),IconFileThreeD:R(["3ds","dae","fbx","obj","ply","stl"]),IconFileVideo:R(["3g2","3gp","avi","flv","m2v","m2ts","m4v","mkv","mov","mp4","mpeg","mpg","ogg","mts","qt","wmv"]),IconFileWordDocument:R(["docx","doc","docm"]),IconFileXbd:R(["xbd"]),IconFileXdw:R(["xdw"]),IconFileZip:R(["rar","tgz","zip"])};t.a=e=>{let{dimension:t=32,extension:r="",title:o}=e;const i=M[function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object.keys(D).filter((t=>!!D[t][e.toLowerCase()]))[0]||"IconFileDefault"}(r)];return n.createElement(i,{height:t,title:o,width:t})}},,function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},function(e,t,r){var n=r(79)(r(49),"Map");e.exports=n},function(e,t,r){var n=r(67),o=r(46);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,r){var n=r(178),o=r(117),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(229);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){var n=r(227),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s}).call(this,r(169)(e))},function(e,t,r){var n=r(415),o=r(233),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t,r){var n=r(231)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n=r(314);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},,function(e,t,r){"use strict";var n=r(442),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var o=f(r);o&&o!==p&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),b=0;b<a.length;++b){var g=a[b];if(!(i[g]||n&&n[g]||m&&m[g]||s&&s[g])){var v=h(r,g);try{c(t,g,v)}catch(e){}}}}return t}},function(e,t,r){var n=r(453),o=r(316);e.exports=function(e,t){return null!=e&&o(e,t,n)}},,,,,function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#F7931D",height:i=26,title:a,width:s=26}=e;return n.createElement(o.a,{className:"icon-alert-default ".concat(t),title:a,height:i,width:s,viewBox:"0 0 26 26"},n.createElement("defs",null,n.createElement("circle",{id:"b",cx:"8",cy:"8",r:"8"}),n.createElement("filter",{x:"-46.9%",y:"-46.9%",width:"193.8%",height:"193.8%",filterUnits:"objectBoundingBox",id:"a"},n.createElement("feMorphology",{radius:".5",operator:"dilate",in:"SourceAlpha",result:"shadowSpreadOuter1"}),n.createElement("feOffset",{in:"shadowSpreadOuter1",result:"shadowOffsetOuter1"}),n.createElement("feGaussianBlur",{stdDeviation:"2",in:"shadowOffsetOuter1",result:"shadowBlurOuter1"}),n.createElement("feColorMatrix",{values:"0 0 0 0 0.733285502 0 0 0 0 0.733285502 0 0 0 0 0.733285502 0 0 0 0.5 0",in:"shadowBlurOuter1"}))),n.createElement("g",{transform:"translate(5 5)",fill:"none",fillRule:"evenodd"},n.createElement("use",{fill:"#000",filter:"url(#a)",xlinkHref:"#b"}),n.createElement("use",{fill:r,xlinkHref:"#b"}),n.createElement("path",{d:"M8.047 4.706v4.111",stroke:"#FFF",strokeWidth:"1.412",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("circle",{fill:"#FFF",cx:"8.047",cy:"11.294",r:"1"})))}},,function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}e.exports=r},function(e,t,r){var n=r(392),o=r(399),i=r(401),a=r(402),s=r(403);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(112),o=r(107);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},function(e,t){e.exports=function(e){return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r(685),i=(n=o)&&n.__esModule?n:{default:n};t.default=i.default,e.exports=t.default},function(e,t,r){var n=r(563)();e.exports=n},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t){var r,n,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(e){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],u=!1,d=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):d=-1,c.length&&f())}function f(){if(!u){var e=s(h);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d<t;)l&&l[d].run();d=-1,t=c.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new p(e,t)),1!==c.length||u||s(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},,,function(e,t,r){"use strict";var n=r(80),o=r(3),i=r.n(o),a=r(125),s=r.n(a),l=r(28),c=r(83),u=r(261),d=r.n(u);function h(){return window.crypto||window.msCrypto}function f(e,t){const r=h();return r!==window.msCrypto?r.subtle.digest(e,t):new Promise(((n,o)=>{if("SHA-1"===e)try{const e=d.a.arrayBuffer(t);n(e)}catch(e){o(e)}else{const i=r.subtle.digest({name:e},t);i.oncomplete=e=>{n(e.target.result)},i.onerror=o}}))}function p(e,t,r){"use asm";var n=new e.Int32Array(r);function o(e,t){e=e|0;t=t|0;var r=0,o=0,i=0,a=0,s=0,l=0,c=0,u=0,d=0,h=0,f=0,p=0,m=0,b=0;i=n[t+320>>2]|0;s=n[t+324>>2]|0;c=n[t+328>>2]|0;d=n[t+332>>2]|0;f=n[t+336>>2]|0;for(r=0;(r|0)<(e|0);r=r+64|0){a=i;l=s;u=c;h=d;p=f;for(o=0;(o|0)<64;o=o+4|0){b=n[r+o>>2]|0;m=((i<<5|i>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[e+o>>2]=b}for(o=e+64|0;(o|0)<(e+80|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s&c|~s&d)|0)+((b+f|0)+1518500249|0)|0;f=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+80|0;(o|0)<(e+160|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s^c^d)|0)+((b+f|0)+1859775393|0)|0;f=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+160|0;(o|0)<(e+240|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s&c|s&d|c&d)|0)+((b+f|0)-1894007588|0)|0;f=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}for(o=e+240|0;(o|0)<(e+320|0);o=o+4|0){b=(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])<<1|(n[o-12>>2]^n[o-32>>2]^n[o-56>>2]^n[o-64>>2])>>>31;m=((i<<5|i>>>27)+(s^c^d)|0)+((b+f|0)-899497514|0)|0;f=d;d=c;c=s<<30|s>>>2;s=i;i=m;n[o>>2]=b}i=i+a|0;s=s+l|0;c=c+u|0;d=d+h|0;f=f+p|0}n[t+320>>2]=i;n[t+324>>2]=s;n[t+328>>2]=c;n[t+332>>2]=d;n[t+336>>2]=f}return{hash:o}}var m=()=>{const e=new Blob(["const RushaCore = ".concat(p.toString()),";\n",'function Rusha(e){for(var r=function(e){if("string"==typeof e)return"string";if(e instanceof Array)return"array";if("undefined"!=typeof global&&global.Buffer&&global.Buffer.isBuffer(e))return"buffer";if(e instanceof ArrayBuffer)return"arraybuffer";if(e.buffer instanceof ArrayBuffer)return"view";if(e instanceof Blob)return"blob";throw new Error("Unsupported data type.")},n={fill:0},t=function(e){for(e+=9;e%64>0;e+=1);return e},a=function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s[n+3];case 1:e[a+1-(i<<1)|0]=s[n+2];case 2:e[a+2-(i<<1)|0]=s[n+1];case 3:e[a+3-(i<<1)|0]=s[n]}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2|0]=s[n+f]<<24|s[n+f+1]<<16|s[n+f+2]<<8|s[n+f+3];switch(h){case 3:e[a+u+1|0]=s[n+u+2];case 2:e[a+u+2|0]=s[n+u+1];case 1:e[a+u+3|0]=s[n+u]}}},f=function(e){switch(r(e)){case"string":return function(e,r,n,t,a){var f,s=this,i=a%4,h=(t+i)%4,u=t-h;switch(i){case 0:e[a]=s.charCodeAt(n+3);case 1:e[a+1-(i<<1)|0]=s.charCodeAt(n+2);case 2:e[a+2-(i<<1)|0]=s.charCodeAt(n+1);case 3:e[a+3-(i<<1)|0]=s.charCodeAt(n)}if(!(t<h+i)){for(f=4-i;f<u;f=f+4|0)r[a+f>>2]=s.charCodeAt(n+f)<<24|s.charCodeAt(n+f+1)<<16|s.charCodeAt(n+f+2)<<8|s.charCodeAt(n+f+3);switch(h){case 3:e[a+u+1|0]=s.charCodeAt(n+u+2);case 2:e[a+u+2|0]=s.charCodeAt(n+u+1);case 1:e[a+u+3|0]=s.charCodeAt(n+u)}}}.bind(e);case"array":case"buffer":return a.bind(e);case"arraybuffer":return a.bind(new Uint8Array(e));case"view":return a.bind(new Uint8Array(e.buffer,e.byteOffset,e.byteLength));case"blob":return function(e,r,n,t,a){var f,s=a%4,i=(t+s)%4,h=t-i,u=new Uint8Array(reader.readAsArrayBuffer(this.slice(n,n+t)));switch(s){case 0:e[a]=u[3];case 1:e[a+1-(s<<1)|0]=u[2];case 2:e[a+2-(s<<1)|0]=u[1];case 3:e[a+3-(s<<1)|0]=u[0]}if(!(t<i+s)){for(f=4-s;f<h;f=f+4|0)r[a+f>>2|0]=u[f]<<24|u[f+1]<<16|u[f+2]<<8|u[f+3];switch(i){case 3:e[a+h+1|0]=u[h+2];case 2:e[a+h+2|0]=u[h+1];case 1:e[a+h+3|0]=u[h]}}}.bind(e)}},s=new Array(256),i=0;i<256;i++)s[i]=(i<16?"0":"")+i.toString(16);var h=function(e){for(var r=new Uint8Array(e),n=new Array(e.byteLength),t=0;t<n.length;t++)n[t]=s[r[t]];return n.join("")};!function(e){if(e%64>0)throw new Error("Chunk size must be a multiple of 128 bit");n.offset=0,n.maxChunkLen=e,n.padMaxChunkLen=t(e),n.heap=new ArrayBuffer(function(e){var r;if(e<=65536)return 65536;if(e<16777216)for(r=1;r<e;r<<=1);else for(r=16777216;r<e;r+=16777216);return r}(n.padMaxChunkLen+320+20)),n.h32=new Int32Array(n.heap),n.h8=new Int8Array(n.heap),n.core=new RushaCore({Int32Array:Int32Array,DataView:DataView},{},n.heap),n.buffer=null}(e||65536);var u=function(e,r){n.offset=0;var t=new Int32Array(e,r+320,5);t[0]=1732584193,t[1]=-271733879,t[2]=-1732584194,t[3]=271733878,t[4]=-1009589776},c=function(e,r){var a,f,s,i=t(e),h=new Int32Array(n.heap,0,i>>2);return function(e,r){var n=new Uint8Array(e.buffer),t=r%4,a=r-t;switch(t){case 0:n[a+3]=0;case 1:n[a+2]=0;case 2:n[a+1]=0;case 3:n[a+0]=0}for(var f=1+(r>>2);f<e.length;f++)e[f]=0}(h,e),s=r,(a=h)[(f=e)>>2]|=128<<24-(f%4<<3),a[14+(2+(f>>2)&-16)]=s/(1<<29)|0,a[15+(2+(f>>2)&-16)]=s<<3,i},o=function(e,r,t,a){f(e)(n.h8,n.h32,r,t,a||0)},d=function(e,r,t,a,f){var s=t;o(e,r,t),f&&(s=c(t,a)),n.core.hash(s,n.padMaxChunkLen)},y=function(e,r){var n=new Int32Array(e,r+320,5),t=new Int32Array(5),a=new DataView(t.buffer);return a.setInt32(0,n[0],!1),a.setInt32(4,n[1],!1),a.setInt32(8,n[2],!1),a.setInt32(12,n[3],!1),a.setInt32(16,n[4],!1),t},w=this.rawDigest=function(e){var r=e.byteLength||e.length||e.size||0;u(n.heap,n.padMaxChunkLen);var t=0,a=n.maxChunkLen;for(t=0;r>t+a;t+=a)d(e,t,a,r,!1);return d(e,t,r-t,r,!0),y(n.heap,n.padMaxChunkLen)};this.digest=this.digestFromString=this.digestFromBuffer=this.digestFromArrayBuffer=function(e){return h(w(e).buffer)},this.resetState=function(){return u(n.heap,n.padMaxChunkLen),this},this.append=function(e){var r,t=0,a=e.byteLength||e.length||e.size||0,f=n.offset%n.maxChunkLen;for(n.offset+=a;t<a;)r=Math.min(a-t,n.maxChunkLen-f),o(e,t,r,f),t+=r,(f+=r)===n.maxChunkLen&&(n.core.hash(n.maxChunkLen,n.padMaxChunkLen),f=0);return this},this.getState=function(){var e;if(n.offset%n.maxChunkLen)e=n.heap.slice(0);else{var r=new Int32Array(n.heap,n.padMaxChunkLen+320,5);e=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength)}return{offset:n.offset,heap:e}},this.setState=function(e){(n.offset=e.offset,20===e.heap.byteLength)?new Int32Array(n.heap,n.padMaxChunkLen+320,5).set(new Int32Array(e.heap)):n.h32.set(new Int32Array(e.heap));return this};var p=this.rawEnd=function(){var e=n.offset,r=e%n.maxChunkLen,t=c(r,e);n.core.hash(t,n.padMaxChunkLen);var a=y(n.heap,n.padMaxChunkLen);return u(n.heap,n.padMaxChunkLen),a};this.end=function(){return h(p().buffer)}}',";\n","var setupWorker = ",function(){const e=new Rusha;e.resetState();let t=0;self.onmessage=r=>{const{data:n}=r,{part:o,fileSize:i,partContents:a}=n,s=Date.now();try{if(o.offset!==t)throw new Error("Out of order parts given to worker");if(e.append(a),self.postMessage({type:"partDone",part:n.part,duration:Date.now()-s,partContents:a},[a]),t+=o.size,o.offset+o.size===i){const t=e.end();self.postMessage({type:"done",sha1:t})}}catch(e){const t={type:"error",name:e.name,message:e.message,part:o};self.postMessage(t)}}}.toString(),";\n","setupWorker();"],{type:"text/javascript"}),t=(window.URL||window.webkitURL).createObjectURL(e),r=new Worker(t);return r.oldTerminate=r.terminate,r.terminate=()=>{(window.URL||window.webkitURL).revokeObjectURL(t),r.oldTerminate()},r},b=r(65),g=r(1),v=r(9),y=r.n(v),C=r(262),w=r.n(C);var E=r(13);function S(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class k extends E.a{constructor(){super(...arguments),S(this,"retryCount",0),S(this,"reachabilityRetryCount",0),S(this,"isUploadFallbackLogicEnabled",!1),S(this,"makePreflightRequest",(()=>{if(this.isDestroyed())return;let e="".concat(this.getBaseApiUrl(),"/files/content");if(this.fileId&&(e=e.replace("content","".concat(this.fileId,"/content"))),this.isUploadFallbackLogicEnabled){const t=this.uploadsReachability.getUnreachableHostsUrls();0!==t.length&&(e+="?unreachable_hosts=".concat(t.join(",")))}const{size:t,name:r}=this.file,n={name:this.fileName||r,parent:{id:this.folderId},description:this.fileDescription,size:t};this.xhr.options({url:e,data:n,successHandler:e=>{this.isUploadFallbackLogicEnabled?this.preflightSuccessReachabilityHandler(e):this.preflightSuccessHandler(e)},errorHandler:this.preflightErrorHandler})})),S(this,"preflightSuccessReachabilityHandler",(async e=>{let{data:t}=e;if(this.isDestroyed())return;const{upload_url:r}=t;if(!r)return void this.preflightSuccessHandler({data:t});const n=this.getUploadHostFromUrl(r);if(n==="".concat(g.X,"/")||n==="".concat(g.Y,"/")||n==="".concat(g.Z,"/"))return void this.preflightSuccessHandler({data:t});await this.uploadsReachability.isReachable(n)?this.preflightSuccessHandler({data:t}):this.reachabilityRetryCount>=10?this.preflightSuccessHandler({data:{}}):(this.reachabilityRetryCount+=1,this.makePreflightRequest())})),S(this,"preflightErrorHandler",(e=>{if(this.isDestroyed())return;this.fileName=this.file?this.file.name:"";let t=e;const{response:r}=e;if(r&&r.data&&(t=r.data),this.retryCount>=5)this.errorCallback(t);else if(t&&409===t.status){if(this.overwrite){const e=t.context_info.conflicts.id;!this.fileId&&e&&(this.fileId=e)}else if(this.conflictCallback)this.fileName=this.conflictCallback(this.fileName);else{const e=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(e)}this.makePreflightRequest(),this.retryCount+=1}else if(!t||429!==t.status&&"too_many_requests"!==t.code)t&&(t.status||"Failed to fetch"===t.message)&&"function"==typeof this.errorCallback?this.errorCallback(t):(this.retryTimeout=setTimeout(this.makePreflightRequest,2**this.retryCount*g.Le),this.retryCount+=1);else{let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);Number.isNaN(r)||(e=r*g.Le)}this.retryTimeout=setTimeout(this.makePreflightRequest,e),this.retryCount+=1}}))}readFile(e,t){return new Promise(((r,n)=>{e.readAsArrayBuffer(t),e.onload=()=>{r({buffer:e.result,readCompleteTimestamp:Date.now()})},e.onerror=n}))}getUploadHostFromUrl(e){const t=e.split("/");return"".concat(t[0],"//").concat(t[2],"/")}}var O=k;function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P={digestReadahead:5,initialRetryDelayMs:5e3,maxRetryDelayMs:6e4,parallelism:4,requestTimeoutMs:12e4,retries:5};var T=class extends O{constructor(e,t,r){super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach((function(t){_(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{shouldRetry:!1})),_(this,"logEvent",((e,t)=>{const r={event_type:e};return t&&(r.event_info=t),this.xhr.post({url:this.sessionEndpoints.logEvent,data:r})})),this.config=r||P,this.sessionEndpoints=t}};function I(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var A=class extends T{constructor(e,t,r,n,o,a,s,u,d,h,f,p){super(e,s,u),I(this,"toJSON",(()=>JSON.stringify({index:this.index,offset:this.offset,partSize:this.partSize,state:this.state,uploadedBytes:this.uploadedBytes,numUploadRetriesPerformed:this.numUploadRetriesPerformed,numDigestRetriesPerformed:this.numDigestRetriesPerformed,sha256:this.sha256,timing:this.timing}))),I(this,"getPart",(()=>this.data.part||{})),I(this,"upload",(()=>{if(this.isDestroyedOrPaused())return;if(!this.sha256)throw new Error("Part SHA-256 unavailable");if(!this.blob)throw new Error("Part blob unavailable");const e={documentHidden:document.hidden,digest_retries:this.numDigestRetriesPerformed,timing:this.timing,parts_uploading:this.getNumPartsUploading()},t={"Content-Type":"application/octet-stream",Digest:"sha-256=".concat(this.sha256),"Content-Range":"bytes ".concat(this.offset,"-").concat(this.rangeEnd,"/").concat(this.fileSize),"X-Box-Client-Event-Info":JSON.stringify(e)};this.state=2,this.startTimestamp=Date.now(),this.xhr.uploadFile({url:this.sessionEndpoints.uploadPart,data:this.blob,headers:t,method:g.pe,successHandler:this.uploadSuccessHandler,errorHandler:this.uploadErrorHandler,progressHandler:this.uploadProgressHandler,withIdleTimeout:!0,idleTimeoutDuration:this.config.requestTimeoutMs})})),I(this,"uploadSuccessHandler",(e=>{let{data:t}=e;this.isDestroyedOrPaused()||(this.state=3,this.consoleLog("Upload completed: ".concat(this.toJSON(),".")),this.data=t,this.blob=null,this.timing.uploadTime=Date.now()-this.startTimestamp,this.onSuccess(this),this.uploadedBytes=this.partSize)})),I(this,"uploadProgressHandler",(e=>{if(this.isDestroyedOrPaused())return;const t=parseInt(e.loaded,10),r=this.uploadedBytes;this.uploadedBytes=t,this.onProgress(r,t)})),I(this,"uploadErrorHandler",(async e=>{if(this.isDestroyedOrPaused())return;const t=y()(this.xhr,"xhr.readyState",null),r=y()(this.xhr,"xhr.statusText","");this.consoleLog("Upload failure ".concat(e.message," for part ").concat(this.toJSON(),". XHR state: ").concat(t,"."));const n={message:e.message,part:{uploadedBytes:this.uploadedBytes,id:this.id,index:this.index,offset:this.offset},xhr_ready_state:t,xhr_status_text:r},o=JSON.stringify(n);if(this.sessionEndpoints.logEvent?Object(c.a)(((e,t)=>{this.logEvent("part_failure",o).then(e).catch(t)}),this.config.retries,this.config.initialRetryDelayMs).catch((e=>this.consoleLog("Failure in logEvent: ".concat(e.message)))):this.consoleLog("logEvent endpoint not found"),this.numUploadRetriesPerformed>=this.config.retries)return void this.onError(e,o);const i=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.numUploadRetriesPerformed);this.numUploadRetriesPerformed+=1,this.consoleLog("Retrying uploading part ".concat(this.toJSON()," in ").concat(i," ms")),this.retryTimeout=setTimeout(this.retryUpload,i)})),I(this,"retryUpload",(async()=>{if(!this.isDestroyedOrPaused())try{const e=await this.listParts(this.index,1);if(e&&1===e.length&&e[0].offset===this.offset&&e[0].part_id)return this.consoleLog("Part ".concat(this.toJSON()," is available on server. Not re-uploading.")),this.id=e[0].part_id,void this.uploadSuccessHandler({data:{part:e[0]}});throw this.consoleLog("Part ".concat(this.toJSON()," is not available on server. Re-uploading.")),new Error("Part not found on the server")}catch(e){const{response:t}=e;t&&t.status&&this.consoleLog("Error ".concat(t.status," while listing part ").concat(this.toJSON(),". Re-uploading.")),this.numUploadRetriesPerformed+=1,this.upload()}})),I(this,"listParts",(async(e,t)=>{const r={offset:e,limit:t},n=function(e,t){if(!t)return e;const r=new w.a(e);return Object.keys(t).forEach((e=>{const n=t[e];n&&(r.hasQueryParam(e)?r.replaceQueryParam(e,n):r.addQueryParam(e,n))})),r.toString()}(this.sessionEndpoints.listParts,r);return(await this.xhr.get({url:n})).data.entries})),this.index=t,this.numDigestRetriesPerformed=0,this.numUploadRetriesPerformed=0,this.offset=r,this.partSize=n,this.fileSize=o,this.state=0,this.timing={},this.uploadedBytes=0,this.data={},this.config=u,this.rangeEnd=r+n-1,this.rangeEnd>o-1&&(this.rangeEnd=o-1),this.isPaused=!1,this.onSuccess=h||i.a,this.onError=p||i.a,this.onProgress=f||i.a,this.getNumPartsUploading=d}cancel(){clearTimeout(this.retryTimeout),this.blob=null,this.data={},this.destroy()}pause(){clearTimeout(this.retryTimeout),this.isPaused=!0,this.state=1,this.xhr.abort()}unpause(){this.isPaused=!1,this.state=2,this.retryUpload()}reset(){this.numUploadRetriesPerformed=0,this.timing={},this.uploadedBytes=0}isDestroyedOrPaused(){return this.isDestroyed()||this.isPaused}};function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D=class extends T{constructor(e,t){super(e,{createSession:null,uploadPart:null,listParts:null,commit:null,abort:null,logEvent:null},t),R(this,"getBaseUploadUrlFromPreflightResponse",(e=>{let{data:t}=e;if(!t||!t.upload_url)return this.getBaseUploadUrl();const r=t.upload_url.split("/");return this.uploadHost="".concat(r[0],"//").concat(r[2]),this.getBaseUploadUrl()})),R(this,"preflightSuccessHandler",(async e=>{if(this.isDestroyed())return;const t=this.getBaseUploadUrlFromPreflightResponse(e);let r="".concat(t,"/files/upload_sessions");r.includes("fupload-ec2")&&(this.config.parallelism=1);const n={file_size:this.file.size,file_name:this.fileName};this.fileId?r=r.replace("upload_sessions","".concat(this.fileId,"/upload_sessions")):n.folder_id=this.folderId;try{const e=await this.xhr.post({url:r,data:n});this.createSessionSuccessHandler(e.data)}catch(e){const t=this.getErrorResponse(e);if(t&&t.status>=500&&t.status<600)return void this.createSessionErrorHandler(e);if(t&&409===t.status&&"session_conflict"===t.code)return void this.createSessionSuccessHandler(t.context_info.session);if(t&&t.status===g.se&&t.code===g.Cc||t.status===g.se&&"access_denied_insufficient_permissions"===t.code)return void this.errorCallback(t);if(t&&409===t.status)return this.resolveConflict(t),void this.createSessionRetry();this.sessionErrorHandler(e,"create_session_misc_error",JSON.stringify(e))}})),R(this,"createSessionErrorHandler",(e=>{this.isDestroyed()||(this.createSessionNumRetriesPerformed<this.config.retries?this.createSessionRetry():(this.consoleLog("Too many create session failures, failing upload"),this.sessionErrorHandler(e,"create_session_retries_exceeded",JSON.stringify(e))))})),R(this,"getSessionInfo",(async()=>{const e=this.getBaseUploadUrl(),t="".concat(e,"/files/upload_sessions/").concat(this.sessionId);try{const e=await this.xhr.get({url:t});this.getSessionSuccessHandler(e.data)}catch(e){this.getSessionErrorHandler(e)}})),R(this,"partUploadSuccessHandler",(e=>{this.numPartsUploading-=1,this.numPartsUploaded+=1,this.updateProgress(e.uploadedBytes,this.partSize),this.processNextParts()})),R(this,"partUploadErrorHandler",((e,t)=>{if(this.sessionErrorHandler(e,"part_upload_retries_exceeded",t),this.isResumableUploadsEnabled){let e=this.firstUnuploadedPartIndex;for(;this.numPartsUploading>0;){const t=this.parts[e];t&&2===t.state&&(t.reset(),t.pause(),this.numPartsUploading-=1,this.numPartsDigestReady+=1),e+=1}}})),R(this,"updateProgress",((e,t)=>{this.isDestroyed()||(this.totalUploadedBytes+=t-e,this.progressCallback({loaded:this.totalUploadedBytes,total:this.file.size}))})),R(this,"processNextParts",(()=>{if(!this.failSessionIfFileChangeDetected())if(this.numPartsUploaded===this.parts.length&&this.fileSha1)this.commitSession();else{for(this.updateFirstUnuploadedPartIndex();this.canStartMorePartUploads();)this.uploadNextPart();this.shouldComputeDigestForNextPart()&&this.computeDigestForNextPart()}})),R(this,"onWorkerMessage",(e=>{if(this.isDestroyed())return;const{data:t}=e;if("partDone"===t.type){this.numPartsDigestComputing-=1;const{part:e}=t;this.parts[e.index].timing.fileDigestTime=t.duration,this.processNextParts()}else"done"===t.type?(this.fileSha1=(r=t.sha1,btoa(String.fromCharCode.apply(null,r.replace(/\r|\n/g,"").replace(/([\da-fA-F]{2}) ?/g,"0x$1 ").replace(/ +$/,"").split(" ")))),this.sha1Worker.terminate(),this.processNextParts()):"error"===t.type&&this.sessionErrorHandler(null,"web_worker_error",JSON.stringify(t));var r})),R(this,"sendPartToWorker",((e,t)=>{if(this.isDestroyed())return;const r={index:e.index,offset:e.offset,size:e.partSize};this.sha1Worker.postMessage({part:r,fileSize:this.file.size,partContents:t},[t]),this.consoleLog("Part sent to worker: ".concat(JSON.stringify(e),".}"))})),R(this,"onPartDigestError",((e,t)=>{if(this.consoleLog("Error computing digest for part ".concat(JSON.stringify(t),": ").concat(JSON.stringify(e))),"NotFoundError"===e.name||"NOT_FOUND_ERR"===e.name)return void this.sessionErrorHandler(null,"file_reader_received_not_found_error",JSON.stringify(e));if(this.failSessionIfFileChangeDetected())return;if(t.numDigestRetriesPerformed>=this.config.retries)return void this.sessionErrorHandler(null,"part_digest_retries_exceeded",JSON.stringify(e));const r=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,t.numDigestRetriesPerformed);t.numDigestRetriesPerformed+=1,this.consoleLog("Retrying digest work for part ".concat(JSON.stringify(t)," in ").concat(r," ms")),setTimeout((()=>{this.computeDigestForPart(t)}),r)})),R(this,"commitSession",(()=>{if(this.isDestroyed())return;const e={totalPartReadTime:0,totalPartDigestTime:0,totalFileDigestTime:0,totalPartUploadTime:0},t={parts:this.parts.map((t=>(e.totalPartReadTime+=t.timing.readTime,e.totalPartDigestTime+=t.timing.subtleCryptoTime,e.totalFileDigestTime+=t.timing.fileDigestTime,e.totalPartUploadTime+=t.timing.uploadTime,t.getPart()))).sort(((e,t)=>e.offset-t.offset)),attributes:{}},r=Object(l.k)(this.file);r&&(t.attributes.content_modified_at=r),this.fileDescription&&(t.attributes.description=this.fileDescription);const n={avg_part_read_time:Math.round(e.totalPartReadTime/this.parts.length),avg_part_digest_time:Math.round(e.totalPartDigestTime/this.parts.length),avg_file_digest_time:Math.round(e.totalFileDigestTime/this.parts.length),avg_part_upload_time:Math.round(e.totalPartUploadTime/this.parts.length)},o=this.fileSha1,i={Digest:"sha=".concat(o),"X-Box-Client-Event-Info":JSON.stringify(n)};this.xhr.post({url:this.sessionEndpoints.commit,data:t,headers:i}).then(this.commitSessionSuccessHandler).catch(this.commitSessionErrorHandler)})),R(this,"commitSessionSuccessHandler",(e=>{if(this.isDestroyed())return;const{status:t,data:r}=e;if(202===t)return void this.commitSessionRetry(e);let{entries:n}=r;!n&&r.id&&(n=[r]),this.destroy(),this.successCallback&&n&&this.successCallback(n)})),R(this,"commitSessionErrorHandler",(e=>{if(this.isDestroyed())return;const{response:t}=e;if(t)return this.commitRetryCount>=this.config.retries?(this.consoleLog("Too many commit failures, failing upload"),void this.sessionErrorHandler(e,"commit_retries_exceeded",JSON.stringify(e))):void this.commitSessionRetry(t);this.consoleError(e)})),R(this,"getNumPartsUploading",(()=>this.numPartsUploading)),this.parts=[],this.options=e,this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.clientId=null,this.isResumableUploadsEnabled=!1,this.numResumeRetries=0}reset(){this.parts=[],this.fileSha1=null,this.totalUploadedBytes=0,this.numPartsNotStarted=0,this.numPartsDigestComputing=0,this.numPartsDigestReady=0,this.numPartsUploading=0,this.numPartsUploaded=0,this.firstUnuploadedPartIndex=0,this.createSessionNumRetriesPerformed=0,this.partSize=0,this.commitRetryCount=0,this.numResumeRetries=0}setFileInfo(e){let{file:t,folderId:r,errorCallback:n,progressCallback:o,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.file=t,this.fileName=this.file.name,this.folderId=r,this.errorCallback=n||i.a,this.progressCallback=o||i.a,this.successCallback=a||i.a,this.overwrite=s,this.conflictCallback=l,this.fileId=c}upload(e){let{file:t,fileDescription:r,folderId:n,errorCallback:o,progressCallback:a,successCallback:s,overwrite:c=!0,conflictCallback:u,fileId:d}=e;this.file=t,this.fileName=this.file.name,this.initialFileSize=this.file.size,this.initialFileLastModified=Object(l.k)(this.file),this.folderId=n,this.errorCallback=o||i.a,this.progressCallback=a||i.a,this.successCallback=s||i.a,this.sha1Worker=m(),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.conflictCallback=u,this.overwrite=c,this.fileId=d,this.fileDescription=r,this.makePreflightRequest()}createSessionRetry(){const e=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.createSessionNumRetriesPerformed);this.createSessionNumRetriesPerformed+=1,this.consoleLog("Retrying create session in ".concat(e," ms")),this.createSessionTimeout=setTimeout(this.makePreflightRequest,e)}createSessionSuccessHandler(e){if(this.isDestroyed())return;const{id:t,part_size:r,session_endpoints:n}=e;this.sessionId=t,this.partSize=r,this.sessionEndpoints=M({},this.sessionEndpoints,{uploadPart:n.upload_part,listParts:n.list_parts,commit:n.commit,abort:n.abort,logEvent:n.log_event}),this.populateParts(),this.processNextParts()}resume(e){let{file:t,folderId:r,errorCallback:n,progressCallback:o,sessionId:i,successCallback:a,overwrite:s=!0,conflictCallback:l,fileId:c}=e;this.setFileInfo({file:t,folderId:r,errorCallback:n,progressCallback:o,successCallback:a,conflictCallback:l,overwrite:s,fileId:c}),this.sessionId=i,this.sha1Worker||(this.sha1Worker=m()),this.sha1Worker.addEventListener("message",this.onWorkerMessage),this.getSessionInfo()}getSessionSuccessHandler(e){const{part_size:t,session_endpoints:r}=e;this.partSize=t,this.sessionEndpoints=M({},this.sessionEndpoints,{uploadPart:r.upload_part,listParts:r.list_parts,commit:r.commit,abort:r.abort,logEvent:r.log_event}),this.processNextParts()}getSessionErrorHandler(e){if(this.isDestroyed())return;const t=this.getErrorResponse(e);if(this.numResumeRetries>this.config.retries)this.errorCallback(t);else if(t&&429===t.status){let e=g.hb;if(t.headers){const r=parseInt(t.headers["retry-after"]||t.headers.get("Retry-After"),10);s()(r)||(e=r*g.Le)}this.retryTimeout=setTimeout(this.getSessionInfo,e),this.numResumeRetries+=1}else if(t&&t.status>=400&&t.status<500){this.parts.forEach((e=>{e.cancel()})),this.reset(),clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession();const e={file:this.file,folderId:this.folderId,errorCallback:this.errorCallback,progressCallback:this.progressCallback,successCallback:this.successCallback,overwrite:this.overwrite,fileId:this.fileId};this.upload(e)}else this.retryTimeout=setTimeout(this.getSessionInfo,2**this.numResumeRetries*g.Le),this.numResumeRetries+=1}async sessionErrorHandler(e,t,r){this.isResumableUploadsEnabled||this.destroy();const n=this.getErrorResponse(e);this.errorCallback(n);try{if(!this.sessionEndpoints.logEvent)throw new Error("logEvent endpoint not found");await Object(c.a)(((e,n)=>{this.logEvent(t,r).then(e).catch(n)}),this.config.retries,this.config.initialRetryDelayMs),this.isResumableUploadsEnabled||this.abortSession()}catch(e){this.isResumableUploadsEnabled||this.abortSession()}}abortSession(){this.sha1Worker&&this.sha1Worker.terminate(),this.sessionEndpoints.abort&&this.sessionId&&this.xhr.delete({url:this.sessionEndpoints.abort}).then((()=>{this.sessionId=""}))}shouldComputeDigestForNextPart(){return!this.isDestroyed()&&0===this.numPartsDigestComputing&&this.numPartsNotStarted>0&&this.numPartsDigestReady<this.config.digestReadahead}computeDigestForNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(0===t.state)return this.numPartsNotStarted-=1,this.numPartsDigestComputing+=1,void this.computeDigestForPart(t)}}async computeDigestForPart(e){const t=this.file.slice(e.offset,e.offset+this.partSize),r=new window.FileReader,n=Date.now();try{const{buffer:o,readCompleteTimestamp:i}=await this.readFile(r,t),a=await f("SHA-256",o),s=btoa([].reduce.call(new Uint8Array(a),((e,t)=>e+String.fromCharCode(t)),""));this.sendPartToWorker(e,o),e.sha256=s,e.state=1,e.blob=t,this.numPartsDigestReady+=1;const l=Date.now();e.timing={partDigestTime:l-n,readTime:i-n,subtleCryptoTime:l-i},this.processNextParts()}catch(t){this.onPartDigestError(t,e)}}commitSessionRetry(e){const{status:t,headers:r}=e;let n=g.hb;if(r){const e=parseInt(r["retry-after"],10);Number.isNaN(e)||(n=1e3*e)}const o=Object(l.a)(this.config.initialRetryDelayMs,this.config.maxRetryDelayMs,this.commitRetryCount);202!==t&&(this.commitRetryCount+=1);const i=n||o;this.consoleLog("Retrying commit in ".concat(i," ms")),this.commitSessionTimeout=setTimeout(this.commitSession,i)}uploadNextPart(){for(let e=this.firstUnuploadedPartIndex;e<this.parts.length;e+=1){const t=this.parts[e];if(1===t.state){this.numPartsDigestReady-=1,this.numPartsUploading+=1,t.isPaused?t.unpause():t.upload();break}}}canStartMorePartUploads(){return!this.isDestroyed()&&this.numPartsUploading<this.config.parallelism&&this.numPartsDigestReady>0}updateFirstUnuploadedPartIndex(){let e=this.parts[this.firstUnuploadedPartIndex];for(;e&&3===e.state;)this.firstUnuploadedPartIndex+=1,e=this.parts[this.firstUnuploadedPartIndex]}populateParts(){this.numPartsNotStarted=Math.ceil(this.file.size/this.partSize);for(let e=0;e<this.numPartsNotStarted;e+=1){const t=e*this.partSize,r=Math.min(t+this.partSize,this.file.size)-t,n=new A(this.options,e,t,r,this.file.size,this.sessionId,this.sessionEndpoints,this.config,this.getNumPartsUploading,this.partUploadSuccessHandler,this.updateProgress,this.partUploadErrorHandler);this.parts.push(n)}}failSessionIfFileChangeDetected(){const e=this.file.size,t=Object(l.k)(this.file);if(e!==this.initialFileSize||t!==this.initialFileLastModified){const r=JSON.stringify({oldSize:this.initialFileSize,newSize:e,oldLastModified:this.initialFileLastModified,newLastModified:t});return b.a.isIE()?(this.sessionErrorHandler(null,"file_changed_during_upload",r),!0):(this.consoleLog("file properties changed during upload: ".concat(r)),!1)}return!1}cancel(){this.isDestroyed()||(this.parts.forEach((e=>{e.cancel()})),this.parts=[],clearTimeout(this.createSessionTimeout),clearTimeout(this.commitSessionTimeout),this.abortSession(),this.destroy())}async resolveConflict(e){if(this.overwrite&&e.context_info)return void(this.fileId=e.context_info.conflicts.id);if(this.conflictCallback)return void(this.fileName=this.conflictCallback(this.fileName));const t=this.fileName.substr(this.fileName.lastIndexOf("."))||"";this.fileName="".concat(this.fileName.substr(0,this.fileName.lastIndexOf(".")),"-").concat(Date.now()).concat(t)}getErrorResponse(e){if(!e)return{};const{response:t}=e;return t?401===t.status?t:t.data:{}}};function j(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F=class extends O{constructor(){super(...arguments),j(this,"uploadSuccessHandler",(e=>{let{data:t}=e;const{entries:r}=t;this.isDestroyed()||"function"==typeof this.successCallback&&this.successCallback(r)})),j(this,"uploadProgressHandler",(e=>{this.isDestroyed()||"function"==typeof this.progressCallback&&this.progressCallback(e)})),j(this,"preflightSuccessHandler",(async e=>{let{data:t}=e;if(this.isDestroyed())return;let r=t.upload_url;r||(r="".concat(this.getBaseUploadUrl(),"/files/content"),this.fileId&&(r=r.replace("content","".concat(this.fileId,"/content"))));const n={url:r,data:{attributes:JSON.stringify({name:this.fileName,parent:{id:this.folderId},description:this.fileDescription,content_modified_at:Object(l.k)(this.file)}),file:this.file},headers:{},successHandler:this.uploadSuccessHandler,errorHandler:this.preflightErrorHandler,progressHandler:this.uploadProgressHandler},o=await this.computeSHA1(this.file);o&&(n.headers={"Content-MD5":o}),this.xhr.uploadFile(n)}))}upload(e){let{folderId:t,fileId:r,file:n,fileDescription:o,successCallback:a=i.a,errorCallback:s=i.a,progressCallback:l=i.a,conflictCallback:c,overwrite:u=!0}=e;this.isDestroyed()||(this.folderId=t,this.fileId=r,this.file=n,this.fileDescription=o,this.fileName=this.file.name,this.successCallback=a,this.errorCallback=s,this.progressCallback=l,this.overwrite=u,this.conflictCallback=c,this.makePreflightRequest())}cancel(){this.isDestroyed()||(clearTimeout(this.retryTimeout),this.destroy())}async computeSHA1(e){let t="";try{const r=new window.FileReader,{buffer:n}=await this.readFile(r,e),o=await f("SHA-1",n);t=Array.from(new Uint8Array(o)).map((e=>"00".concat(e.toString(16)).slice(-2))).join("")}catch(e){}return t}},N=r(82),U=r(59),z=r(68),H=r(87),B=r(19),V=r(8);function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach((function(t){q(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class K extends E.a{constructor(){super(...arguments),q(this,"searchSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,total_count:n,limit:o,offset:i}=t;if(!Array.isArray(r)||"number"!=typeof n||"number"!=typeof o||"number"!=typeof i)throw Object(V.a)();const a=Object(H.a)(r,new N.a(this.options),new U.a(this.options),new z.a(this.options));this.itemCache=(this.itemCache||[]).concat(a),this.getCache().set(this.key,{item_collection:G({},t,{entries:this.itemCache})}),this.finish()})),q(this,"searchErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getEncodedQuery(e){return encodeURIComponent(e)}getCacheKey(e,t){return"".concat(g.t).concat(e,"|").concat(t)}getUrl(){return"".concat(this.getBaseApiUrl(),"/search")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(V.a)();const{entries:n,total_count:o}=r;if(!Array.isArray(n)||"number"!=typeof o)throw Object(V.a)();const i={id:this.id,items:n.map((t=>e.get(t))),offset:this.offset,percentLoaded:100,sortBy:g.wd,sortDirection:g.Mf,totalCount:o};this.successCallback(i)}searchRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||B.g;return this.errorCode=g.nc,this.xhr.get({url:this.getUrl(),params:{offset:this.offset,query:this.query,ancestor_folder_ids:this.id,limit:this.limit,fields:r.toString()},headers:r.includes(g.yd)?{"X-Rep-Hints":g.Fg}:{}}).then(this.searchSuccessHandler).catch(this.searchErrorHandler)}search(e,t,r,n,o,i){let a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};this.isDestroyed()||(this.limit=r,this.offset=n,this.query=t,this.id=e,this.key=this.getCacheKey(e,this.getEncodedQuery(this.query)),this.successCallback=o,this.errorCallback=i,a.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.searchRequest(a))}}var X=K;function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}function Z(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $ extends E.a{constructor(){super(...arguments),Z(this,"recentsSuccessHandler",(e=>{let{data:t}=e;if(this.isDestroyed())return;const{entries:r,order:{by:n,direction:o}}=t,i=[];r.forEach((e=>{let{item:t,interacted_at:r}=e;const{path_collection:n}=t;(this.id===g.ib||!!n&&-1!==n.entries.findIndex((e=>e.id===this.id)))&&i.push(Q(t,{interacted_at:r}))}));const a=Object(H.a)(i,new N.a(this.options),new U.a(this.options),new z.a(this.options));this.getCache().set(this.key,{item_collection:{entries:a,order:[{by:n,direction:o}]}}),this.finish()})),Z(this,"recentsErrorHandler",(e=>{this.isDestroyed()||this.errorCallback(e,this.errorCode)}))}getCacheKey(e){return"".concat(g.s).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/recent_items")}finish(){if(this.isDestroyed())return;const e=this.getCache(),t=e.get(this.key),{item_collection:r}=t;if(!r)throw Object(V.a)();const{entries:n}=r;if(!Array.isArray(n))throw Object(V.a)();const o={id:this.id,items:n.map((t=>e.get(t))),percentLoaded:100,sortBy:g.Tc,sortDirection:g.Mf};this.successCallback(o)}recentsRequest(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.isDestroyed())return Promise.reject();const{fields:t}=e,r=t||B.g;return this.errorCode=g.Wb,this.xhr.get({url:this.getUrl(),params:{fields:r.toString()},headers:r.includes(g.yd)?{"X-Rep-Hints":g.Fg}:{}}).then(this.recentsSuccessHandler).catch(this.recentsErrorHandler)}recents(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;this.id=e,this.successCallback=t,this.errorCallback=r;const o=this.getCache();this.key=this.getCacheKey(this.id),n.forceFetch&&o.unset(this.key),o.has(this.key)?this.finish():this.recentsRequest(n)}}var Y=$,J=r(22);function ee(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class re extends E.a{getQueryParameters(e,t,r){const n={offset:e,limit:t};return r&&r.length>0&&(n.fields=r.toString()),n}hasMoreItems(e,t){return void 0===t||e<t}async offsetGetRequest(e,t,r,n,o){if(!this.isDestroyed())try{const i=this.getQueryParameters(t,r,o),a=this.getUrl(e),{data:s}=await this.xhr.get({url:a,id:Object(J.b)(e),params:i}),l=this.data?this.data.entries:[];this.data=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){te(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ee(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},s,{entries:l.concat(s.entries)});const c=s.total_count,u=t+r;if(n&&this.hasMoreItems(u,c))return void this.offsetGetRequest(e,u,r,n,o);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async offsetGet(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,i=arguments.length>5?arguments[5]:void 0,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return this.successCallback=t,this.errorCallback=r,this.offsetGetRequest(e,n,o,a,i)}}var ne=re;function oe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(r),!0).forEach((function(t){se(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ae(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function se(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var le=class extends ne{constructor(){super(...arguments),se(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/versions")}getVersionUrl(e,t){if(!t)throw new Error("Missing version id!");return"".concat(this.getUrl(e),"/").concat(t)}addPermissions(e,t){if(!e)return e;const{entries:r,total_count:n}=e,o=y()(t,["permissions",g.if],!1);return{entries:r.map((e=>{let{permissions:t}=e;return ie({},ae(e,["permissions"]),{permissions:ie({can_upload:o},t)})})),total_count:n}}deleteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.Eb;try{this.checkApiCallValidity(g.bf,n,r)}catch(e){return void t(e,this.errorCode)}this.delete({id:r,url:this.getVersionUrl(r,i),successCallback:o,errorCallback:t})}getVersions(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.T,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.S,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:B.e,a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];this.errorCode=g.cc,this.offsetGet(e,t,r,n,o,i,a)}getVersion(e,t,r,n){this.errorCode=g.bc,this.get({id:e,successCallback:r,errorCallback:n,url:this.getVersionUrl(e,t),requestData:{params:{fields:B.e.toString()}}})}addCurrentVersion(e,t,r){if(!e)return t||{entries:[],total_count:0};if(!t)return{entries:[e],total_count:1};const n=y()(r,"restored_from.id"),o=t.entries.find((e=>e.id===n));return o&&(e.version_promoted=o.version_number),{entries:[...t.entries,e],total_count:t.total_count+1}}promoteVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.kc;try{this.checkApiCallValidity(g.if,n,r)}catch(e){return void t(e,this.errorCode)}this.post({id:r,data:{data:{id:i,type:"file_version"}},url:this.getVersionUrl(r,"current"),successCallback:o,errorCallback:t})}restoreVersion(e){let{errorCallback:t,fileId:r,permissions:n,successCallback:o,versionId:i}=e;this.errorCode=g.mc;try{this.checkApiCallValidity(g.bf,n,r)}catch(e){return void t(e,this.errorCode)}this.put({id:r,data:{data:{trashed_at:null}},url:this.getVersionUrl(r,i),successCallback:o,errorCallback:t})}};function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ue(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(r),!0).forEach((function(t){de(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var he=class extends ne{constructor(){super(...arguments),de(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(this.format(e));const t=e.entries.map(this.format);this.successCallback(ue({},e,{entries:t}))}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/comments")}commentsUrl(e){const t="".concat(this.getBaseApiUrl(),"/comments");return e?"".concat(t,"/").concat(e):t}format(e){return ue({},e,{tagged_message:""!==e.tagged_message?e.tagged_message:e.message})}createComment(e){let{file:t,message:r,taggedMessage:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.qb;const{id:a="",permissions:s}=t;try{this.checkApiCallValidity(g.Ze,s,a)}catch(e){return void i(e,this.errorCode)}const l={data:{item:{id:a,type:"file"},message:r,tagged_message:n},params:{fields:B.b.toString()}};this.post({id:a,url:this.commentsUrl(),data:l,successCallback:o,errorCallback:i})}updateComment(e){let{file:t,commentId:r,message:n,tagged_message:o,permissions:i,successCallback:a,errorCallback:s}=e;this.errorCode=g.rc;const{id:l=""}=t;try{this.checkApiCallValidity(g.df,i,l)}catch(e){return void s(e,this.errorCode)}const c={data:{message:n,tagged_message:o}};this.put({id:l,url:this.commentsUrl(r),data:c,successCallback:a,errorCallback:s})}deleteComment(e){let{file:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.zb;const{id:a=""}=t;try{this.checkApiCallValidity(g.bf,n,a)}catch(e){return void i(e,this.errorCode)}this.delete({id:a,url:this.commentsUrl(r),successCallback:o,errorCallback:i})}getComments(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:B.b,i=arguments.length>5?arguments[5]:void 0,a=arguments.length>6?arguments[6]:void 0,s=arguments.length>7?arguments[7]:void 0;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ze,t,e)}catch(e){return void n(e,this.errorCode)}this.offsetGet(e,r,n,i,a,o,s)}};function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const be=[g.xe,g.ue,g.we,g.qe,g.ye,g.te];class ge extends E.a{constructor(e){let{retryableStatusCodes:t=be}=e;super(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach((function(t){pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},me(e,["retryableStatusCodes"]),{retryableStatusCodes:t}))}}var ve=ge;function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ce(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){we(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function we(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ee(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Se=class extends ve{getUrlForFileTasks(e){return"".concat(this.getBaseApiUrl(),"/undoc/files/").concat(e,"/linked_tasks?limit=").concat(g.l)}getUrlForTaskCreateWithDeps(){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/with_dependencies")}getUrlForTask(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e)}getUrlForTaskWithDeps(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/with_dependencies")}updateTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.uc;const i=o.addedAssignees.map((e=>({op:e.item&&"group"===e.item.type?"add_task_collaborators_expand_group":"add_task_collaborator",payload:{target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}}))),a=o.removedAssignees.map((e=>({op:"delete_task_collaborator",id:e.id}))),{id:s,addedAssignees:l,removedAssignees:c}=o,u=Ee(o,["id","addedAssignees","removedAssignees"]);this.put({id:r.id,url:this.getUrlForTaskWithDeps(o.id),data:{data:[{op:"update_task",payload:Ce({},u)},...i,...a]},successCallback:n,errorCallback:t})}deleteTask(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.Cb,this.delete({id:r.id,url:this.getUrlForTask(o.id),successCallback:n,errorCallback:t})}getTasksForFile(e){let{errorCallback:t,file:r,successCallback:n}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForFileTasks(r.id),successCallback:n,errorCallback:t})}getTask(e){let{errorCallback:t,file:r,id:n,successCallback:o}=e;this.errorCode=g.Zb,this.get({id:r.id,url:this.getUrlForTask(n),successCallback:o,errorCallback:t})}createTaskWithDeps(e){let{errorCallback:t,file:r,successCallback:n,task:o,assignees:i}=e;this.errorCode=g.ub;const a=i.map((e=>({target:{type:e.item&&"group"===e.item.type?"group":"user",id:e.id}}))),s=[{target:{id:r.id,type:"file"}}],l={task:Ce({},o),assigned_to:a,task_links:s};this.post({id:r.id,url:this.getUrlForTaskCreateWithDeps(),data:{data:Ce({},l)},successCallback:n,errorCallback:t})}},ke=r(23),Oe=r.n(ke);function xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(r),!0).forEach((function(t){Pe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Te=class extends ve{getUrlForTaskCollaborators(e){return"".concat(this.getBaseApiUrl(),"/undoc/tasks/").concat(e,"/task_collaborators?role=ASSIGNEE&limit=").concat(g.l)}getUrlForTaskCollaboratorCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators")}getUrlForTaskCollaborator(e){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/").concat(e)}getUrlForTaskGroupCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_collaborators/expand_group")}createTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,task:o,user:i}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:o.id},target:{type:"user",id:i.id}}};this.post({id:r.id,url:this.getUrlForTaskCollaboratorCreate(),data:_e({},a),successCallback:n,errorCallback:t})}createTaskCollaboratorsforGroup(e){let{errorCallback:t,file:r,successCallback:n,task:o,group:i}=e;this.errorCode=g.vb;const a={data:{task:{type:"task",id:o.id},target:{type:"group",id:i.id}}};this.post({id:r.id,url:this.getUrlForTaskGroupCreate(),data:_e({},a),successCallback:n,errorCallback:t})}getTaskCollaborators(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.ac;const i=this.getUrlForTaskCollaborators(o.id);this.get({id:r.id,successCallback:n,errorCallback:t,url:i})}updateTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:o}=e;this.errorCode=g.vc;const i={data:Oe()(o,"id")};this.put({id:r.id,url:this.getUrlForTaskCollaborator(o.id),data:_e({},i),successCallback:n,errorCallback:t})}deleteTaskCollaborator(e){let{errorCallback:t,file:r,successCallback:n,taskCollaborator:o}=e;this.errorCode=g.Db,this.delete({id:r.id,url:this.getUrlForTaskCollaborator(o.id),successCallback:n,errorCallback:t})}};function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ae(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){Le(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Me=class extends ve{getUrlForTaskLinkCreate(){return"".concat(this.getBaseApiUrl(),"/undoc/task_links")}createTaskLink(e){let{errorCallback:t,file:r,successCallback:n,task:o}=e;this.errorCode=g.wb;const i={data:{target:{id:r.id,type:"file"},task:{id:o.id,type:"task"}}};this.post({id:r.id,url:this.getUrlForTaskLinkCreate(),data:Ae({},i),successCallback:n,errorCallback:t})}};function Re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function De(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Re(Object(r),!0).forEach((function(t){je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Fe extends E.a{hasMoreItems(e){return null!==e&&""!==e}async markerGetRequest(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!this.isDestroyed())try{const i=this.getUrl(e),a=De({},o,{marker:t,limit:r}),{data:s}=await this.xhr.get({url:i,id:Object(J.b)(e),params:a}),l=this.data?this.data.entries:[];this.data=De({},s,{entries:l.concat(s.entries)});const c=s.next_marker;if(n&&this.hasMoreItems(c))return void this.markerGetRequest(e,c,r,n,o);this.successHandler(this.data)}catch(e){this.errorHandler(e)}}async markerGet(e){let{id:t,successCallback:r,errorCallback:n,marker:o="",limit:i=1e3,requestData:a,shouldFetchAll:s=!0}=e;return this.successCallback=r,this.errorCallback=n,this.markerGetRequest(t,o,i,s,a)}}var Ne=Fe;function Ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const He=e=>{const t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ue(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{tagged_message:e.message});return e.replies&&e.replies.length&&(t.replies=e.replies.map(He)),t};function Be(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Be(Object(r),!0).forEach((function(t){We(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Be(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function We(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ge=class extends Ne{constructor(){super(...arguments),We(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return void this.successCallback(He(e));const t=e.entries.map(He);this.successCallback(Ve({},e,{entries:t}))}))}getUrl(e){return"".concat(this.getBaseApiUrl(),"/undoc/comments").concat(e?"?file_id=".concat(e):"")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e,t){return"".concat(this.getUrlForId(e),"/replies").concat(t?"?file_id=".concat(t):"")}createComment(e){let{file:t,message:r,successCallback:n,errorCallback:o}=e;this.errorCode=g.qb;const{id:i,permissions:a}=t;try{this.checkApiCallValidity(g.Ze,a,i)}catch(e){return void o(e,this.errorCode)}this.post({id:i,url:this.getUrl(i),data:{data:{message:r}},successCallback:n,errorCallback:o})}updateComment(e){let{fileId:t,commentId:r,status:n,message:o,permissions:i,successCallback:a,errorCallback:s}=e;if(this.errorCode=g.rc,o)try{this.checkApiCallValidity(g.df,i,t)}catch(e){return void s(e,this.errorCode)}if(n)try{this.checkApiCallValidity(g.gf,i,t)}catch(e){return void s(e,this.errorCode)}const l={data:{status:n,message:o}};this.put({id:t,url:this.getUrlForId(r),data:l,successCallback:a,errorCallback:s})}deleteComment(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.zb;try{this.checkApiCallValidity(g.bf,n,t)}catch(e){return void i(e,this.errorCode)}this.delete({id:t,url:this.getUrlForId(r),successCallback:o,errorCallback:i})}getComment(e){let{commentId:t,errorCallback:r,fileId:n,permissions:o,successCallback:i}=e;this.errorCode=g.Lb;try{this.checkApiCallValidity(g.Ze,o,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,errorCallback:r,successCallback:i,url:this.getUrlForId(t)})}getComments(e){let{fileId:t,permissions:r,successCallback:n,errorCallback:o,marker:i,limit:a,shouldFetchAll:s,repliesCount:l}=e;this.errorCode=g.Mb;try{this.checkApiCallValidity(g.Ze,r,t)}catch(e){return void o(e,this.errorCode)}this.markerGet({id:t,successCallback:n,errorCallback:o,marker:i,limit:a,requestData:Ve({},l?{replies_count:l}:null),shouldFetchAll:s})}getCommentReplies(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i}=e;this.errorCode=g.Xb;try{this.checkApiCallValidity(g.Ze,n,t)}catch(e){return void i(e,this.errorCode)}this.get({id:t,errorCallback:i,successCallback:o,url:this.getUrlWithRepliesForId(r)})}createCommentReply(e){let{fileId:t,commentId:r,permissions:n,successCallback:o,errorCallback:i,message:a}=e;this.errorCode=g.tb;try{this.checkApiCallValidity(g.Ze,n,t)}catch(e){return void i(e,this.errorCode)}this.post({id:t,data:{data:{message:a}},errorCallback:i,successCallback:o,url:this.getUrlWithRepliesForId(r,t)})}};class qe extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/file_access_stats/").concat(e)}getFileAccessStats(e,t,r){this.errorCode=g.Hb,this.get({id:e,successCallback:t,errorCallback:r})}}var Ke=qe;function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){Ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class $e extends E.a{getFilteredUrl(e,t,r){return"".concat(this.getBaseApiUrl()).concat(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n="/file_activities?file_id=".concat(e),o=!!t&&!!t.length,i="&enable_replies=".concat(r?"true":"false","&reply_limit=").concat(1),a=o?"&activity_types=".concat(t.join()):"";return"".concat(n).concat(a).concat(i)}(e,t,r))}getActivities(e){let{activityTypes:t,errorCallback:r,fileID:n,permissions:o,repliesCount:i,shouldShowReplies:a,successCallback:s}=e;this.errorCode=g.Ib;try{if(!n)throw new Error("Missing file id!");t.includes(g.Vd)&&this.checkApiCallValidity(g.Ze,o,n),t.includes(g.Td)&&this.checkApiCallValidity(g.jf,o,n)}catch(e){return void r(e,this.errorCode)}this.get({id:n,successCallback:s,errorCallback:r,requestData:Qe({},i?{replies_count:i}:null),url:this.getFilteredUrl(n,t,a)})}}var Ye=$e;function Je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Je(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rt=class extends Ne{getUrl(){return"".concat(this.getBaseApiUrl(),"/groups")}getGroupsInEnterprise(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Ob,this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:et({usemarker:!0},n),shouldFetchAll:!1})}};function nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ot(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nt(Object(r),!0).forEach((function(t){it(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function it(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var at=class extends Ne{getUrl(){return"".concat(this.getBaseApiUrl(),"/users")}getUsersInEnterprise(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.cb;this.errorCode=g.Pb,this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:ot({usemarker:!0},n),shouldFetchAll:!1})}};class st extends E.a{getUrlForGroupCount(e){return"".concat(this.getBaseApiUrl(),"/groups/").concat(e,"/memberships")}getGroupCount(e){let{errorCallback:t=i.a,successCallback:r=i.a,group:n,file:o}=e;return new Promise(((e,i)=>this.get({id:o.id,url:this.getUrlForGroupCount(n.id),successCallback:function(){r(...arguments),e(...arguments)},errorCallback:function(){t(...arguments),i()},requestData:{params:{limit:1}}})))}}var lt=st,ct=r(72),ut=r.n(ct),dt=r(71);class ht extends E.a{getUrl(){return"".concat(this.getBaseApiUrl(),"/users/me")}getAvatarUrl(e){if(!e)throw new Error("Missing user id");return"".concat(this.getBaseApiUrl(),"/users/").concat(e,"/avatar")}async getAvatarUrlWithAccessToken(e,t){if(!e)return null;const r=this.getCache();if(r.has(e))return r.get(e);const n=await dt.a.getReadToken(Object(J.b)(t),this.options.token);if("string"==typeof n){const t={access_token:n,pic_type:"large"},o=ut.a.stringify(t),i="".concat(this.getAvatarUrl(e),"?").concat(o);return r.set(e,i),i}return null}getUser(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};this.errorCode=g.Nb,this.get({id:e,successCallback:t,errorCallback:r,requestData:n})}}var ft=ht,pt=r(12),mt=r.n(pt);class bt extends U.a{getMetadataCacheKey(e){return"".concat(g.q).concat(e)}getSkillsCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_skills")}getClassificationCacheKey(e){return"".concat(this.getMetadataCacheKey(e),"_classification")}getMetadataUrl(e,t,r){const n="".concat(this.getUrl(e),"/metadata");return t&&r?"".concat(n,"/").concat(t,"/").concat(r):n}getMetadataTemplateUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_templates")}getMetadataTemplateUrlForInstance(e){return"".concat(this.getMetadataTemplateUrl(),"?metadata_instance_id=").concat(e)}getMetadataTemplateSchemaUrl(e){return"".concat(this.getMetadataTemplateUrl(),"/enterprise/").concat(e,"/schema")}getMetadataTemplateUrlForScope(e){return"".concat(this.getMetadataTemplateUrl(),"/").concat(e)}getCustomPropertiesTemplate(){return{id:mt()("metadata_template_"),scope:g.Ee,templateKey:g.He,hidden:!1}}createEditor(e,t,r){const n={};return Object.keys(e).forEach((t=>{t.startsWith("$")||(n[t]=e[t])})),{template:t,instance:{id:e.$id,canEdit:e.$canEdit&&r,data:n}}}async getTemplates(e,t,r){this.errorCode=g.Vb;let n={};const o=r?this.getMetadataTemplateUrlForInstance(r):this.getMetadataTemplateUrlForScope(t);try{n=await this.xhr.get({url:o,id:Object(J.b)(e),params:{limit:g.Ge}})}catch(e){const{status:t}=e;if(Object(V.e)(t))throw e}return y()(n,"data.entries",[])}getSchemaByTemplateKey(e){const t=this.getMetadataTemplateSchemaUrl(e);return this.xhr.get({url:t})}async getInstances(e){this.errorCode=g.Ub;let t={};try{t=await this.xhr.get({url:this.getMetadataUrl(e),id:Object(J.b)(e)})}catch(e){const{status:t}=e;if(Object(V.e)(t))throw e}return y()(t,"data.entries",[])}getUserAddableTemplates(e,t,r,n){let o=[];return r&&(o=n?[e]:[e].concat(t)),o.filter((e=>!e.hidden&&e.templateKey!==g.Fe))}extractClassification(e,t){const r=t.find((e=>e.$template===g.Fe));if(r){t.splice(t.indexOf(r),1);const n=this.getCache(),o=this.getClassificationCacheKey(e);n.set(o,r)}return t}async getTemplateForInstance(e,t,r){const n=t.$id,o=t.$template,i=t.$scope;let a=r.find((e=>e.templateKey===o&&e.scope===i));if(!a&&i.startsWith(g.De)){a=(await this.getTemplates(e,i,n))[0]}return a}async getEditors(e,t,r,n,o,i){const a=[r].concat(n,o),s=this.extractClassification(e,t),l=[];return await Promise.all(s.map((async t=>{const r=await this.getTemplateForInstance(e,t,a);r&&l.push(this.createEditor(t,r,i))}))),l}async getMetadata(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const{id:i,permissions:a,is_externally_owned:s}=e;if(this.errorCode=g.Ub,this.successCallback=t,this.errorCallback=r,!i||!a)return void this.errorHandler(Object(V.a)());const l=this.getCache(),c=this.getMetadataCacheKey(i);if(o.forceFetch&&l.unset(c),!l.has(c)||(this.successHandler(l.get(c)),o.refreshCache))try{const e=this.getCustomPropertiesTemplate(),[t,r,o]=await Promise.all([this.getInstances(i),this.getTemplates(i,g.Ee),n?this.getTemplates(i,g.De):Promise.resolve([])]),u={editors:await this.getEditors(i,t,e,o,r,!!a.can_upload),templates:this.getUserAddableTemplates(e,o,n,s)};l.set(c,u),this.isDestroyed()||this.successHandler(u)}catch(e){this.errorHandler(e)}}async getSkills(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.errorCode=g.Yb;const{id:o}=e;if(!o)return void r(Object(V.a)(),this.errorCode);const i=this.getCache(),a=this.getSkillsCacheKey(o);if(this.successCallback=t,this.errorCallback=r,n&&i.unset(a),i.has(a))return void this.successHandler(i.get(a));let s={data:y()(e,g.kd)};try{if(s.data||(s=await this.xhr.get({url:this.getMetadataUrl(o,g.Ee,g.Ie),id:Object(J.b)(o)})),!this.isDestroyed()){const e=s.data.cards||[];i.set(a,e),this.successHandler(e)}}catch(e){this.errorHandler(e)}}async updateSkills(e,t,r,n){this.errorCode=g.tc;const{id:o,permissions:i}=e;if(o&&i)if(i.can_upload){this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.put({url:this.getMetadataUrl(o,g.Ee,g.Ie),headers:{[g.je]:"application/json-patch+json"},id:Object(J.b)(o),data:t});if(!this.isDestroyed()){const t=e.data.cards||[];this.merge(this.getCacheKey(o),g.kd,e.data),this.getCache().set(this.getSkillsCacheKey(o),t),this.successHandler(t)}}catch(e){this.errorHandler(e)}}else n(Object(V.b)(),this.errorCode);else n(Object(V.a)(),this.errorCode)}async updateMetadata(e,t,r,n,o){this.errorCode=g.sc,this.successCallback=n,this.errorCallback=o;const{id:i,permissions:a}=e;if(!i||!a)return void this.errorHandler(Object(V.a)());const s=!!a.can_upload;if(s)try{const e=await this.xhr.put({url:this.getMetadataUrl(i,t.scope,t.templateKey),headers:{[g.je]:"application/json-patch+json"},id:Object(J.b)(i),data:r});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(i),o=r.get(n),a=this.createEditor(e.data,t,s);o&&o.editors&&o.editors.splice(o.editors.findIndex((e=>{let{instance:t}=e;return t.id===a.instance.id})),1,a),this.successHandler(a)}}catch(e){this.errorHandler(e)}else this.errorHandler(Object(V.b)())}async createMetadata(e,t,r,n){if(this.errorCode=g.sb,!e||!t)return void n(Object(V.a)(),this.errorCode);const{id:o,permissions:i,is_externally_owned:a}=e;if(!o||!i)return void n(Object(V.a)(),this.errorCode);const s=!!i.can_upload,l=t.templateKey===g.He&&t.scope===g.Ee;if(!s||a&&!l)n(Object(V.b)(),this.errorCode);else{this.successCallback=r,this.errorCallback=n;try{const e=await this.xhr.post({url:this.getMetadataUrl(o,t.scope,t.templateKey),id:Object(J.b)(o),data:{}});if(!this.isDestroyed()){const r=this.getCache(),n=this.getMetadataCacheKey(o),i=r.get(n),a=this.createEditor(e.data,t,s);i.editors.push(a),this.successHandler(a)}}catch(e){this.errorHandler(e)}}}async deleteMetadata(e,t,r,n){if(this.errorCode=g.Bb,!e||!t)return void n(Object(V.a)(),this.errorCode);const{scope:o,templateKey:i}=t,{id:a,permissions:s}=e;if(a&&s)if(s.can_upload){this.successCallback=r,this.errorCallback=n;try{if(await this.xhr.delete({url:this.getMetadataUrl(a,o,i),id:Object(J.b)(a)}),!this.isDestroyed()){const e=this.getCache(),t=this.getMetadataCacheKey(a),r=e.get(t);r.editors.splice(r.editors.findIndex((e=>e.template.scope===o&&e.template.templateKey===i)),1),this.successHandler()}}catch(e){this.errorHandler(e)}}else n(Object(V.b)(),this.errorCode);else n(Object(V.a)(),this.errorCode)}}var gt=bt;function vt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function yt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ct=class extends Ne{constructor(){var e;super(...arguments),e=this,yt(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const t=e.entries.map((e=>{let t;return"group"===e.type?t=e:(t=e,t.email=t.login),{id:e.id,name:e.name,item:t}}));this.successCallback(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vt(Object(r),!0).forEach((function(t){yt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{entries:t}))})),yt(this,"getCollaboratorsWithQuery",(function(t,r,n,o){let{includeGroups:i=!1}=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};o&&""!==o.trim()&&e.getFileCollaborators(t,r,n,{filter_term:o,include_groups:i,include_uploader_collabs:!1})}))}getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborators")}getFileCollaborators(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;this.markerGet({id:e,limit:o,successCallback:t,errorCallback:r,requestData:n})}};function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Et=class extends Ne{constructor(){var e;super(...arguments),e=this,wt(this,"getCollaborations",(function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:g.bb;e.markerGet({id:t,limit:i,successCallback:r,errorCallback:n,requestData:o})})),wt(this,"successHandler",(e=>{this.isDestroyed()||"function"!=typeof this.successCallback||this.successCallback(e)}))}getUrl(e){return"getUrl(".concat(e,") should be overridden")}};var St=class extends Et{getUrl(e){if(!e)throw new Error("Missing file ID!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/collaborations")}};var kt=class extends Et{getUrl(e){if(!e)throw new Error("Missing folder ID!");return"".concat(this.getBaseApiUrl(),"/folders/").concat(e,"/collaborations")}};function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function xt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach((function(t){_t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function _t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Pt extends E.a{constructor(){super(...arguments),_t(this,"addCollaboration",((e,t,r,n)=>{const{id:o}=e;this.post({id:o,data:{data:xt({item:e},t)},errorCallback:n,successCallback:r,url:this.getUrl()})}))}getUrl(){return"".concat(this.getBaseApiUrl(),"/collaborations")}}var Tt=Pt,It=r(7),At=r(32);var Lt=r(115),Mt=r.n(Lt);function Rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Dt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(r),!0).forEach((function(t){jt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Ft extends Ne{constructor(){super(...arguments),jt(this,"successHandler",(e=>{if(this.isDestroyed()||"function"!=typeof this.successCallback)return;if(!e)return void this.successCallback();if(!e.entries)return e.type&&"comment"===e.type?void this.successCallback(He(e)):void this.successCallback(this.formatReplies(e));if(e.entries.length&&"comment"===e.entries[0].type){const t=e.entries.map(He);return void this.successCallback(Dt({},e,{entries:t}))}const t=e.entries.map(this.formatReplies);this.successCallback(Dt({},e,{entries:t}))}))}formatReplies(e){return e.replies&&e.replies.length?Dt({},e,{replies:e.replies.map(He)}):e}getUrl(){return"".concat(this.getBaseApiUrl(),"/undoc/annotations")}getUrlForId(e){return"".concat(this.getUrl(),"/").concat(e)}getUrlWithRepliesForId(e){return"".concat(this.getUrlForId(e),"/replies")}createAnnotation(e,t,r,n,o,i){this.errorCode=g.pb;try{this.checkApiCallValidity(g.af,n,e)}catch(e){return void i(e,this.errorCode)}const a={description:{type:"reply"},file_version:{id:t,type:"file_version"}};this.post({id:e,data:{data:Mt()(a,r)},errorCallback:i,successCallback:o,url:this.getUrl()})}updateAnnotation(e,t,r,n,o,i){this.errorCode=g.Fb;const{message:a,status:s}=n;if(a)try{this.checkApiCallValidity(g.df,r,e)}catch(e){return void i(e,this.errorCode)}if(s)try{this.checkApiCallValidity(g.gf,r,e)}catch(e){return void i(e,this.errorCode)}this.put({id:e,data:{data:{description:a?{message:a}:void 0,status:s}},errorCallback:i,successCallback:o,url:this.getUrlForId(t)})}deleteAnnotation(e,t,r,n,o){this.errorCode=g.xb;try{this.checkApiCallValidity(g.bf,r,e)}catch(e){return void o(e,this.errorCode)}this.delete({id:e,errorCallback:o,successCallback:n,url:this.getUrlForId(t)})}getAnnotation(e,t,r,n,o,i){this.errorCode=g.Jb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}const a=i?{params:{fields:"replies"}}:void 0;this.get({id:e,errorCallback:o,successCallback:n,url:this.getUrlForId(t),requestData:a})}getAnnotations(e,t,r,n,o,i,a,s){this.errorCode=g.Kb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}const l=Dt({file_id:e,file_version_id:t},s?{fields:"replies"}:null);this.markerGet({id:e,errorCallback:o,limit:i,requestData:l,shouldFetchAll:a,successCallback:n})}getAnnotationReplies(e,t,r,n,o){this.errorCode=g.Xb;try{this.checkApiCallValidity(g.jf,r,e)}catch(e){return void o(e,this.errorCode)}this.get({id:e,errorCallback:o,successCallback:n,url:this.getUrlWithRepliesForId(t)})}createAnnotationReply(e,t,r,n,o,i){this.errorCode=g.tb;try{this.checkApiCallValidity(g.af,r,e)}catch(e){return void i(e,this.errorCode)}this.post({id:e,data:{data:{message:n}},errorCallback:i,successCallback:o,url:"".concat(this.getUrlWithRepliesForId(t),"?file_id=").concat(e)})}}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ut=class extends Ne{constructor(){super(...arguments),Nt(this,"permissions",{}),Nt(this,"mapAppActivityItem",(e=>{const{activity_template:t,app:r,created_by:n,id:o,occurred_at:i,rendered_text:a,type:s}=e,{can_delete:l}=this.permissions;return{activity_template:t,app:r,created_at:i,created_by:n,id:o,permissions:{can_delete:l},rendered_text:a,type:s}})),Nt(this,"successHandler",(e=>{let{entries:t=[]}=e;if(this.isDestroyed()||"function"!=typeof this.successCallback)return;const r=t.map(this.mapAppActivityItem);this.successCallback({entries:r,total_count:r.length})})),Nt(this,"errorHandler",(e=>{if(this.isDestroyed()&&"function"!=typeof this.errorCallback)return;const{response:t}=e;t.status===g.ve?this.successHandler({entries:[],total_count:0}):this.errorCallback(e,t.status)}))}getUrl(){return"".concat(this.getBaseApiUrl(),"/app_activities")}getDeleteUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getUrl(),"/").concat(e)}getAppActivity(e,t,r,n){const o={item_id:e,item_type:"file",fields:B.a.toString()};this.permissions=t,this.markerGet({id:e,successCallback:r,errorCallback:n,requestData:o})}deleteAppActivity(e){let{id:t,appActivityId:r,successCallback:n,errorCallback:o}=e;this.errorCode=g.yb,this.delete({id:t,url:this.getDeleteUrl(r),successCallback:n,errorCallback:o})}};function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){Bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Wt=g.cg,Gt=(e,t)=>{const{replies:r=[]}=e,n=Vt(e,["replies"]);return Ht({replies:r.filter((e=>{let{id:r}=e;return r!==t}))},n)},qt=(e,t)=>{const{replies:r=[]}=e;return Ht({replies:[...r,t]},Vt(e,["replies"]))},Kt=e=>[...e].map((e=>Ht({},e,{tagged_message:e.tagged_message||e.message||""})));class Xt extends E.a{constructor(e){var t;super(e),t=this,Bt(this,"updateAnnotation",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();if(!r&&!n)throw Object(V.d)();this.annotationsAPI=new Ft(this.options),this.file=e,this.errorCallback=a;const s={};r&&(s.message=r),n&&(s.status=n),this.updateFeedItem(Ht({},s,{isPending:!0}),t),this.annotationsAPI.updateAnnotation(this.file.id,t,o,s,(e=>{const{replies:r,total_reply_count:n}=e,o=Vt(e,["replies","total_reply_count"]);this.updateFeedItem(Ht({},o,{isPending:!1}),t),this.isDestroyed()||i(e)}),((e,r)=>{this.updateCommentErrorCallback(e,r,t)}))})),Bt(this,"updateCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(At.a.commentUpdateErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"updateReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(At.a.commentUpdateErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),Bt(this,"fetchRepliesErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(At.a.repliesFetchErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"deleteAnnotation",((e,t,r,n,o)=>{if(this.annotationsAPI=new Ft(this.options),!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.annotationsAPI.deleteAnnotation(this.file.id,t,r,this.deleteFeedItem.bind(this,t,n),((e,r)=>{this.deleteCommentErrorCallback(e,r,t)}))})),Bt(this,"fetchThreadedCommentSuccessCallback",((e,t,r)=>{t(r),e()})),Bt(this,"updateTaskCollaborator",((e,t,r,n,o,i)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.updateFeedItem({isPending:!0},t);const a=new Te(this.options);this.taskCollaboratorsAPI.push(a);const s={id:r,status:n},l=(e,r)=>{let o;switch(n){case g.Zf:o=At.a.taskApproveErrorMessage;break;case g.ag:o=At.a.taskCompleteErrorMessage;break;case g.dg:o=At.a.taskRejectErrorMessage;break;default:o=At.a.taskCompleteErrorMessage}this.updateFeedItem(this.createFeedError(o,At.a.taskActionErrorTitle),t),this.feedErrorCallback(!0,e,r)};a.updateTaskCollaborator({file:e,taskCollaborator:s,successCallback:r=>{this.updateTaskCollaboratorSuccessCallback(t,e,r,o,l)},errorCallback:l})})),Bt(this,"updateTaskCollaboratorSuccessCallback",((e,t,r,n,o)=>{this.tasksNewAPI=new Se(this.options),this.tasksNewAPI.getTask({id:e,file:t,successCallback:t=>{this.updateFeedItem(Ht({},t,{isPending:!1}),e),n(r)},errorCallback:o})})),Bt(this,"updateTaskNew",(async function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(!e.id)throw Object(V.a)();t.file=e,t.errorCallback=o,t.tasksNewAPI=new Se(t.options),t.updateFeedItem({isPending:!0},r.id);try{const o=r.addedAssignees.filter((e=>e.item&&"group"===e.item.type)).map((e=>e.id)).map((r=>new lt(t.options).getGroupCount({file:e,group:{id:r}}))),i=(await Promise.all(o)).some((e=>e.total_count>g.Yf)),a={code:g.fc,type:"warning"};if(i)return void t.feedErrorCallback(!1,a,g.fc);await new Promise(((n,o)=>{t.tasksNewAPI.updateTaskWithDeps({file:e,task:r,successCallback:n,errorCallback:o})})),await new Promise(((n,o)=>{t.tasksNewAPI.getTask({file:e,id:r.id,successCallback:e=>{t.updateFeedItem(Ht({},e,{isPending:!1}),r.id),n()},errorCallback:e=>{t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc),o()}})})),t.isDestroyed()||n()}catch(e){t.updateFeedItem({isPending:!1},r.id),t.feedErrorCallback(!1,e,g.uc)}})),Bt(this,"deleteComment",((e,t,r,n,o)=>{if(this.commentsAPI=new he(this.options),!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.commentsAPI.deleteComment({file:e,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),Bt(this,"deleteThreadedComment",((e,t,r,n,o)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isPending:!0},t),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:r,successCallback:this.deleteFeedItem.bind(this,t,n),errorCallback:(e,r)=>{this.deleteCommentErrorCallback(e,r,t)}})})),Bt(this,"deleteReply",((e,t,r,n,o,i)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.updateReplyItem({isPending:!0},r,t),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.deleteComment({fileId:e.id,commentId:t,permissions:n,successCallback:this.deleteReplySuccessCallback.bind(this,t,r,o),errorCallback:(e,n)=>{this.deleteReplyErrorCallback(e,n,t,r)}})})),Bt(this,"deleteReplySuccessCallback",((e,t,r)=>{this.modifyFeedItemRepliesCountBy(t,-1),this.deleteReplyItem(e,t,r)})),Bt(this,"deleteCommentErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(At.a.commentDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),Bt(this,"deleteReplyErrorCallback",((e,t,r,n)=>{this.updateReplyItem(this.createFeedError(At.a.commentDeleteErrorMessage),n,r),this.feedErrorCallback(!0,e,t)})),Bt(this,"createTaskNew",((e,t,r,n,o,i,a,s,l)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=l;const c=mt()("task_");let u;if(i){u=new Date(i).toISOString()}const d={created_by:{type:"task_collaborator",target:t,id:mt()(),role:"CREATOR",status:Wt},completion_rule:a,created_at:(new Date).toISOString(),due_at:u,id:c,description:r,type:g.Gc,assigned_to:{entries:n.map((e=>({id:mt()(),target:Ht({},e,{avatar_url:"",type:"user"}),status:Wt,permissions:{can_delete:!1,can_update:!1},role:"ASSIGNEE",type:"task_collaborator"}))),limit:10,next_marker:null},permissions:{can_update:!1,can_delete:!1,can_create_task_collaborator:!1,can_create_task_link:!1},task_links:{entries:[{id:mt()(),type:"task_link",target:Ht({type:"file"},e),permissions:{can_delete:!1,can_update:!1}}],limit:1,next_marker:null},task_type:o,status:g.cg},h={description:r,due_at:u,task_type:o,completion_rule:a},f=n.filter((e=>"group"===(e.item&&e.item.type))).map((e=>e.id)).map((t=>new lt(this.options).getGroupCount({file:e,group:{id:t}})));Promise.all(f).then((r=>{const o=r.some((e=>e.total_count>g.Yf)),i={code:g.fc,type:"warning"};o?this.feedErrorCallback(!1,i,g.fc):(this.tasksNewAPI=new Se(this.options),this.tasksNewAPI.createTaskWithDeps({file:e,task:h,assignees:n,successCallback:e=>{this.addPendingItem(this.file.id,t,d),this.updateFeedItem(Ht({},e,{task_links:{entries:e.task_links,next_marker:null,limit:1},assigned_to:{entries:e.assigned_to,next_marker:null,limit:e.assigned_to.length},isPending:!1}),c),s(e)},errorCallback:(e,t)=>{this.feedErrorCallback(!1,e,t)}}))})).catch((e=>{this.feedErrorCallback(!1,e,g.ub)}))})),Bt(this,"deleteTaskNew",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.a;if(!e.id)throw Object(V.a)();t.file=e,t.errorCallback=o,t.tasksNewAPI=new Se(t.options),t.updateFeedItem({isPending:!0},r.id),t.tasksNewAPI.deleteTask({file:e,task:r,successCallback:t.deleteFeedItem.bind(t,r.id,n),errorCallback:(e,n)=>{t.updateFeedItem(t.createFeedError(At.a.taskDeleteErrorMessage),r.id),t.feedErrorCallback(!0,e,n)}})})),Bt(this,"deleteFeedItem",(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;const n=t.getCachedItems(t.file.id);if(n){const o=n.items.filter((t=>t.id!==e));t.setCachedItems(t.file.id,o),t.isDestroyed()||r(e)}})),Bt(this,"deleteReplyItem",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.a;const o=(t.getCachedItems(t.file.id)||{items:[],errors:[]}).items.map((t=>t.id!==r?t:t.type===g.Dc||t.type===g.Fc?Gt(t,e):t));t.setCachedItems(t.file.id,o),t.isDestroyed()||n(e,r)})),Bt(this,"feedErrorCallback",(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;e&&t.errors.push(Ht({},r,{code:n})),!t.isDestroyed()&&t.errorCallback&&t.errorCallback(r,n,{error:r,[g.Be]:e}),console.error(r)})),Bt(this,"addPendingItem",((e,t,r)=>{if(!t)throw Object(V.c)();const n=(new Date).toISOString(),o=Ht({created_at:n,created_by:t,modified_at:n,isPending:!0},r),i=this.getCachedItems(this.file.id),a=[...i?i.items:[],o];return this.setCachedItems(e,a),o})),Bt(this,"addPendingReply",((e,t,r)=>{if(!this.file.id)throw Object(V.a)();if(!t)throw Object(V.c)();const n=(new Date).toISOString(),o=Ht({created_at:n,created_by:t,modified_at:n,isPending:!0},r),i=this.getCachedItems(this.file.id);if(i){const t=i.items.map((t=>t.id===e&&t.type===g.Fc||t.id===e&&t.type===g.Dc?qt(t,o):t));this.setCachedItems(this.file.id,t)}return o})),Bt(this,"createCommentSuccessCallback",((e,t,r)=>{const{message:n="",tagged_message:o=""}=e;e.tagged_message=o||n,this.updateFeedItem(Ht({},e,{isPending:!1}),t),this.isDestroyed()||r(e)})),Bt(this,"createCommentErrorCallback",((e,t,r)=>{const n=e.status===g.re?At.a.commentCreateConflictMessage:At.a.commentCreateErrorMessage;this.updateFeedItem(this.createFeedError(n),r),this.feedErrorCallback(!1,e,t)})),Bt(this,"createReplySuccessCallback",((e,t,r,n)=>{this.updateReplyItem(Ht({},e,{isPending:!1}),t,r),this.isDestroyed()||n(e)})),Bt(this,"createReplyErrorCallback",((e,t,r,n)=>{const o=e.status===g.re?At.a.commentCreateConflictMessage:At.a.commentCreateErrorMessage;this.updateReplyItem(this.createFeedError(o),r,n),this.feedErrorCallback(!1,e,t)})),Bt(this,"updateFeedItem",((e,t)=>{if(!this.file.id)throw Object(V.a)();const r=this.getCachedItems(this.file.id);if(r){const n=r.items.map((r=>r.id===t?Ht({},r,{},e):r));return this.setCachedItems(this.file.id,n),n}return null})),Bt(this,"updateReplyItem",((e,t,r)=>{if(!this.file.id)throw Object(V.a)();const n=(e,t,r)=>{const n=Ht({},e);return n.replies&&(n.replies=n.replies.map((e=>e.id===t?Ht({},e,{},r):e))),n},o=this.getCachedItems(this.file.id);if(o){const i=o.items.map((o=>o.id===t&&o.type===g.Fc||o.id===t&&o.type===g.Dc?n(o,r,e):o));this.setCachedItems(this.file.id,i)}})),Bt(this,"createComment",((e,t,r,n,o,i)=>{const a=mt()("comment_"),s={id:a,tagged_message:r,type:g.Fc};if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=i,this.addPendingItem(this.file.id,t,s);const l={};n?l.taggedMessage=r:l.message=r,this.commentsAPI=new he(this.options),this.commentsAPI.createComment(Ht({file:e},l,{successCallback:e=>{this.createCommentSuccessCallback(e,a,o)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,a)}}))})),Bt(this,"createThreadedComment",((e,t,r,n,o)=>{if(!e.id)throw Object(V.a)();const i=mt()("comment_"),a={id:i,tagged_message:r,type:g.Fc};this.file=e,this.errorCallback=o,this.addPendingItem(this.file.id,t,a),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.createComment({file:e,message:r,successCallback:e=>{this.createCommentSuccessCallback(e,i,n)},errorCallback:(e,t)=>{this.createCommentErrorCallback(e,t,i)}})})),Bt(this,"updateComment",((e,t,r,n,o,i,a)=>{const s={tagged_message:r};if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=a,this.updateFeedItem(Ht({},s,{isPending:!0}),t);const l={};n?l.tagged_message=r:l.message=r,this.commentsAPI=new he(this.options),this.commentsAPI.updateComment(Ht({file:e,commentId:t,permissions:o},l,{successCallback:e=>{this.updateFeedItem(Ht({},l,{isPending:!1}),t),this.isDestroyed()||i(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}}))})),Bt(this,"updateThreadedComment",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();if(!r&&!n)throw Object(V.d)();const s={};r&&(s.tagged_message=r),n&&(s.status=n),this.file=e,this.errorCallback=a,this.updateFeedItem(Ht({},s,{isPending:!0}),t),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:o,message:r,status:n,successCallback:e=>{const{replies:r,total_reply_count:n}=e,o=Vt(e,["replies","total_reply_count"]);this.updateFeedItem(Ht({},o,{isPending:!1}),t),this.isDestroyed()||i(e)},errorCallback:(e,r)=>{this.updateCommentErrorCallback(e,r,t)}})})),Bt(this,"updateReply",((e,t,r,n,o,i,a)=>{if(!e.id)throw Object(V.a)();this.file=e,this.errorCallback=a,this.updateReplyItem({tagged_message:n,isPending:!0},r,t),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.updateComment({fileId:e.id,commentId:t,permissions:o,message:n,undefined:void 0,successCallback:e=>{this.updateReplyItem(Ht({},e,{isPending:!1}),r,t),this.isDestroyed()||i(e)},errorCallback:(e,n)=>{this.updateReplyErrorCallback(e,n,t,r)}})})),Bt(this,"modifyFeedItemRepliesCountBy",((e,t)=>{if(!this.file.id)throw Object(V.a)();const{items:r=[]}=this.getCachedItems(this.file.id)||{},n=r.find((t=>{let{id:r}=t;return r===e}));if(!n||"annotation"!==n.type&&"comment"!==n.type)return;const o=(n.total_reply_count||0)+t;o>=0&&this.updateFeedItem({total_reply_count:o},e)})),Bt(this,"deleteAppActivity",((e,t,r,n)=>{const{id:o}=e;if(!o)throw Object(V.a)();this.appActivityAPI=new Ut(this.options),this.file=e,this.errorCallback=n,this.updateFeedItem({isPending:!0},t),this.appActivityAPI.deleteAppActivity({id:o,appActivityId:t,successCallback:this.deleteFeedItem.bind(this,t,r),errorCallback:(e,r)=>{this.deleteAppActivityErrorCallback(e,r,t)}})})),Bt(this,"deleteAppActivityErrorCallback",((e,t,r)=>{this.updateFeedItem(this.createFeedError(At.a.appActivityDeleteErrorMessage),r),this.feedErrorCallback(!0,e,t)})),this.taskCollaboratorsAPI=[],this.taskLinksAPI=[],this.errors=[]}addAnnotation(e,t,r,n,o){if(!e.id)throw Object(V.a)();if(this.file=e,o){const e=Ht({},r,{created_by:t,id:n,type:g.Dc});this.addPendingItem(this.file.id,t,e)}else this.updateFeedItem(Ht({},r,{isPending:!1}),n)}getCacheKey(e){return"".concat(g.gg).concat(e)}getCachedItems(e){const t=this.getCache(),r=this.getCacheKey(e);return t.get(r)}setCachedItems(e,t){const r=this.getCache(),n=this.getCacheKey(e);r.set(n,{errors:this.errors,items:t})}feedItems(e,t,r,n,o){let{shouldShowAnnotations:i=!1,shouldShowAppActivity:a=!1,shouldShowReplies:s=!1,shouldShowTasks:l=!0,shouldShowVersions:c=!0,shouldUseUAA:u=!1}=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const{id:d,permissions:h={}}=e,f=this.getCachedItems(d);if(f){const{errors:e,items:o}=f;if(e.length?n(o,e):r(o),!t)return}this.file=e,this.errors=[],this.errorCallback=o;const p=!u&&i?this.fetchAnnotations(h,s):Promise.resolve(),m=()=>u?Promise.resolve():s?this.fetchThreadedComments(h):this.fetchComments(h),b=!u&&l?this.fetchTasksNew():Promise.resolve(),v=!u&&a?this.fetchAppActivity(h):Promise.resolve(),y=!u&&c?this.fetchVersions():Promise.resolve(),C=!u&&c?this.fetchCurrentVersion():Promise.resolve(),w=i&&h[g.jf]?[g.Td]:[],E=a?[g.Ud]:[],S=l?[g.Wd]:[],k=c?[g.Xd]:[],O=[...w,...E,...h[g.Ze]?[g.Vd]:[],...S,...k],x=u&&O.length?this.fetchFileActivities(h,O,s):Promise.resolve(),_=e=>{this.isDestroyed()||(this.setCachedItems(d,e),this.errors.length?n(e,this.errors):r(e))};u?x.then((e=>{if(!e)return;const t=(e=>e&&e.entries&&e.entries.length?e.entries.map((e=>{if(!e.source)return null;const t=Ht({},e.source);switch(e.activity_type){case g.Wd:{var r;const e=Ht({},t[g.Wd]);if(null===(r=e.assigned_to)||void 0===r?void 0:r.entries){const t=e.assigned_to.entries.map((e=>{const t=Ht({},e);return t.role=e.role.toUpperCase(),t.status=e.status.toUpperCase(),t}));e.assigned_to.entries=t}return e.completion_rule&&(e.completion_rule=e.completion_rule.toUpperCase()),e.status&&(e.status=e.status.toUpperCase()),e.task_type&&(e.task_type=e.task_type.toUpperCase()),e.created_by={target:e.created_by},e}case g.Vd:{const e=Ht({},t[g.Vd]);if(e.replies&&e.replies.length){const t=Kt(e.replies);e.replies=t}return e.tagged_message=e.tagged_message||e.message||"",e}case g.Td:{const e=Ht({},t[g.Td]);if(e.replies&&e.replies.length){const t=Kt(e.replies);e.replies=t}return e}case g.Ud:{const e=Ht({},t[g.Ud]);return e.created_at=e.occurred_at,e}case g.Xd:{var n,o;const e=Ht({},t[g.Xd]);if(e.type=g.Hc,e.action_by){const t={};1===e.action_by.length&&(e.uploader_display_name=e.action_by[0].name),e.action_by.map((e=>(t[e.id]=Ht({},e),e))),e.collaborators=t}var i,a,s,l,c,u;return(null===(n=e.end)||void 0===n?void 0:n.number)&&(e.version_end=e.end.number,e.id=e.end.id),(null===(o=e.start)||void 0===o?void 0:o.number)&&(e.version_start=e.start.number),e.version_start===e.version_end&&(e.version_number=e.version_start,e.action_type===g.e&&(null===(i=e.start)||void 0===i?void 0:i.created_at)&&(null===(a=e.start)||void 0===a?void 0:a.created_by)&&(e.modified_at=e.start.created_at,e.modified_by=Ht({},e.start.created_by)),e.action_type===g.g&&(null===(s=e.start)||void 0===s?void 0:s.trashed_at)&&(null===(l=e.start)||void 0===l?void 0:l.trashed_by)&&(e.trashed_at=e.start.trashed_at,e.trashed_by=Ht({},e.start.trashed_by)),e.action_type===g.f&&(null===(c=e.start)||void 0===c?void 0:c.restored_at)&&(null===(u=e.start)||void 0===u?void 0:u.restored_by)&&(e.restored_at=e.start.restored_at,e.restored_by=Ht({},e.start.restored_by))),e}default:return null}})).filter((e=>!!e)).reverse():[])(e);_(t)})):Promise.all([y,C,m(),b,v,p]).then((e=>{let[t,r,...n]=e;const o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(((e,t)=>t?e.concat(t.entries):e),[]).sort(((e,t)=>Date.parse(e.created_at)-Date.parse(t.created_at)))}(r?this.versionsAPI.addCurrentVersion(r,t,this.file):void 0,...n);_(o)}))}fetchAnnotations(e,t){return this.annotationsAPI=new Ft(this.options),new Promise((r=>{this.annotationsAPI.getAnnotations(this.file.id,void 0,e,r,this.fetchFeedItemErrorCallback.bind(this,r),void 0,void 0,t)}))}fetchComments(e){return this.commentsAPI=new he(this.options),new Promise((t=>{this.commentsAPI.getComments(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}fetchThreadedComment(e,t,r,n){const{id:o,permissions:i}=e;if(!o||!i)throw Object(V.a)();return this.threadedCommentsAPI=new Ge(this.options),new Promise((e=>{this.threadedCommentsAPI.getComment({commentId:t,errorCallback:n,fileId:o,permissions:i,successCallback:this.fetchThreadedCommentSuccessCallback.bind(this,e,r)})}))}fetchThreadedComments(e){return this.threadedCommentsAPI=new Ge(this.options),new Promise((t=>{this.threadedCommentsAPI.getComments({errorCallback:this.fetchFeedItemErrorCallback.bind(this,t),fileId:this.file.id,permissions:e,successCallback:t})}))}fetchFileActivities(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this.fileActivitiesAPI=new Ye(this.options),new Promise((n=>{this.fileActivitiesAPI.getActivities({errorCallback:this.fetchFeedItemErrorCallback.bind(this,n),fileID:this.file.id,permissions:e,successCallback:n,activityTypes:t,shouldShowReplies:r})}))}fetchReplies(e,t,r,n,o){const{id:i,permissions:a}=e;if(!i||!a)throw Object(V.a)();this.file=e,this.errorCallback=o,this.updateFeedItem({isRepliesLoading:!0},t);const s=e=>{let{entries:r}=e;this.updateFeedItem({isRepliesLoading:!1,replies:r,total_reply_count:r.length},t),n(r)},l=(e,r)=>{this.fetchRepliesErrorCallback(e,r,t)};r===g.Dc?(this.annotationsAPI=new Ft(this.options),this.annotationsAPI.getAnnotationReplies(e.id,t,a,s,l)):r===g.Fc&&(this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.getCommentReplies({fileId:e.id,commentId:t,permissions:a,successCallback:s,errorCallback:l}))}fetchVersions(){return this.versionsAPI=new le(this.options),new Promise((e=>{this.versionsAPI.getVersions(this.file.id,e,this.fetchFeedItemErrorCallback.bind(this,e),void 0,void 0,B.c)}))}fetchCurrentVersion(){return this.versionsAPI=new le(this.options),new Promise((e=>{const{file_version:t={}}=this.file;this.versionsAPI.getVersion(this.file.id,t.id,e,this.fetchFeedItemErrorCallback.bind(this,e))}))}fetchTasksNew(){return this.tasksNewAPI=new Se(this.options),new Promise((e=>{this.tasksNewAPI.getTasksForFile({file:{id:this.file.id},successCallback:e,errorCallback:(t,r)=>this.fetchFeedItemErrorCallback(e,t,r)})}))}fetchFeedItemErrorCallback(e,t,r){const{status:n}=t,o=Object(V.e)(n);this.feedErrorCallback(o,t,r),e()}createTaskCollaboratorsforGroup(e,t,r){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((n,o)=>{const i=new Te(this.options);this.taskCollaboratorsAPI.push(i),i.createTaskCollaboratorsforGroup({file:e,task:t,group:r,successCallback:n,errorCallback:e=>{o(e)}})}))}createTaskCollaborator(e,t,r){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((n,o)=>{const i=new Te(this.options);this.taskCollaboratorsAPI.push(i),i.createTaskCollaborator({file:e,task:t,user:r,successCallback:n,errorCallback:e=>{o(e)}})}))}deleteTaskCollaborator(e,t,r){if(!e.id)throw Object(V.a)();return this.file.id=e.id,new Promise(((n,o)=>{const i=new Te(this.options);this.taskCollaboratorsAPI.push(i),i.deleteTaskCollaborator({file:e,task:t,taskCollaborator:{id:r.id},successCallback:n,errorCallback:e=>{o(e)}})}))}createTaskLink(e,t){if(!e.id)throw Object(V.a)();return this.file=e,new Promise(((r,n)=>{const o=new Me(this.options);this.taskLinksAPI.push(o),o.createTaskLink({file:e,task:t,successCallback:r,errorCallback:n})}))}createFeedError(e){return{error:{message:e,title:arguments.length>1&&void 0!==arguments[1]?arguments[1]:It.a.errorOccured}}}createReply(e,t,r,n,o,i,a){const{id:s,permissions:l}=e;if(!s||!l)throw Object(V.a)();const c=mt()("comment_"),u={id:c,tagged_message:o,type:g.Fc};this.file=e,this.errorCallback=a,this.addPendingReply(r,t,u),this.modifyFeedItemRepliesCountBy(r,1);const d=e=>{this.createReplySuccessCallback(e,r,c,i)},h=(e,t)=>{this.createReplyErrorCallback(e,t,r,c)};n===g.Dc?(this.annotationsAPI=new Ft(this.options),this.annotationsAPI.createAnnotationReply(e.id,r,l,o,d,h)):n===g.Fc&&(this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI.createCommentReply({fileId:e.id,commentId:r,permissions:l,message:o,successCallback:d,errorCallback:h}))}destroyTaskCollaborators(){Array.isArray(this.taskCollaboratorsAPI)&&(this.taskCollaboratorsAPI.forEach((e=>e.destroy())),this.taskCollaboratorsAPI=[])}destroyTaskLinks(){Array.isArray(this.taskLinksAPI)&&(this.taskLinksAPI.forEach((e=>e.destroy())),this.taskLinksAPI=[])}fetchAppActivity(e){return this.appActivityAPI=new Ut(this.options),new Promise((t=>{this.appActivityAPI.getAppActivity(this.file.id,e,t,this.fetchFeedItemErrorCallback.bind(this,t))}))}destroy(){super.destroy(),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.appActivityAPI&&(this.appActivityAPI.destroy(),delete this.appActivityAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.destroyTaskCollaborators(),this.destroyTaskLinks()}}var Qt=Xt;class Zt extends E.a{getUrl(e){if(!e)throw new Error("Missing app integration id!");return"".concat(this.getBaseApiUrl(),"/app_integrations/").concat(e)}execute(e,t,r,n){if(!e)throw new Error("Missing integration id!");if(!t)throw new Error("Missing file id!");this.errorCode=g.Gb;const o="".concat(this.getUrl(e),"/execute"),i={data:{item:{id:t,type:g.jg}}};this.post({id:t,url:o,data:i,successCallback:r,errorCallback:n})}}var $t=Zt;class Yt extends E.a{getUrl(e){if(!e)throw new Error("Missing file id!");return"".concat(this.getBaseApiUrl(),"/files/").concat(e,"/open_with_integrations")}getOpenWithIntegrations(e,t,r){this.errorCode=g.Tb,this.get({id:e,successCallback:e=>{const r=this.formatOpenWithData(e),n=this.consolidateBoxEditIntegrations(r);t(n)},errorCallback:r})}consolidateBoxEditIntegrations(e){let t=[...e];return e.some((e=>e.appIntegrationId===g.m))&&(t=e.filter((e=>e.appIntegrationId!==g.n))),t}formatOpenWithData(e){const{items:t,default_app_integration:r}=e;return t.map((e=>{let{app_integration:t,disabled_reasons:n,display_name:o,display_description:i,display_order:a,is_disabled:s,should_show_consent_popup:l}=e;const{id:c,type:u}=t;return{appIntegrationId:c,displayDescription:i,disabledReasons:n||[],displayOrder:a,isDefault:!!r&&c===r.id,isDisabled:s,displayName:o,requiresConsent:l,type:u}})).sort(((e,t)=>e.displayOrder-t.displayOrder))}}var Jt=Yt;class er extends E.a{constructor(){var e,t,r;super(...arguments),r=e=>{let{data:t}=e;this.getCache().set(this.key,t),this.finish()},(t="queryMetadataSuccessHandler")in(e=this)?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}getCacheKey(e){return"".concat(g.r).concat(e)}getUrl(){return"".concat(this.getBaseApiUrl(),"/metadata_queries/execute_read")}isLoaded(){return this.getCache().has(this.key)}finish(){if(this.isDestroyed())return;const e=this.getCache().get(this.key);this.successCallback(e)}queryMetadataRequest(e){this.isDestroyed()||(this.errorCode=g.jc,this.xhr.post({url:this.getUrl(),data:e}).then(this.queryMetadataSuccessHandler).catch(this.errorHandler))}queryMetadata(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(this.isDestroyed())return;const{context:o={}}=n;this.key=this.getCacheKey(o.id),this.successCallback=t,this.errorCallback=r,n.forceFetch&&this.getCache().unset(this.key),this.isLoaded()?this.finish():this.queryMetadataRequest(e)}}var tr=er;const rr={CHROME:"Chrome",EDGE:"Edge",FIREFOX:"Firefox",MAC:"Mac",SAFARI:"Safari",IE:"Explorer"},nr=[{key:"userAgent",subString:rr.EDGE,identity:rr.EDGE},{key:"userAgent",subString:rr.CHROME,identity:rr.CHROME},{key:"userAgent",subString:"criOS",identity:rr.CHROME,versionSearch:"criOS"},{key:"vendor",subString:"Apple",identity:rr.SAFARI,versionSearch:"Version"},{key:"userAgent",subString:rr.FIREFOX,identity:rr.FIREFOX},{key:"userAgent",subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{key:"userAgent",subString:"Trident",identity:"Explorer",versionSearch:"rv"},{key:"userAgent",subString:"Gecko",identity:"Mozilla",versionSearch:"rv"}],or=[{key:"platform",subString:"Win",identity:"Windows"},{key:"userAgent",subString:"iPod",identity:"iOS",device:"iPod"},{key:"userAgent",subString:"iPhone",identity:"iOS",device:"iPhone"},{key:"userAgent",subString:"iPad",identity:"iOS",device:"iPad"},{key:"platform",subString:rr.MAC,identity:rr.MAC},{key:"userAgent",subString:"Android",identity:"Android"},{key:"platform",subString:"Linux",identity:"Linux"}];function ir(e,t){let r,n=null,o=null,i="";for(let a=0,s=t.length;a<s;a+=1)if(r=e[t[a].key],i=t[a].versionSearch||t[a].identity,r&&-1!==r.indexOf(t[a].subString)){n=t[a].identity,o=t[a].device;break}return{identity:n,device:o,versionSearchString:i}}function ar(e,t){const r=e.indexOf(t);if(-1===r)return"";const n=e.substring(r+t.length+1).match(/[0-9]+(?:\.[0-9]*)?/);return n&&n.length?n[0]:""}var sr=new class{constructor(){const{navigator:e}=window,t=ir(e,nr),r=ir(e,or);this.browser=t.identity||"unknown",this.version=ar(e.userAgent,t.versionSearchString)||ar(e.appVersion,t.versionSearchString)||"unknown",this.OS=r.identity||"unknown",this.device=r.device||"unknown"}getName(){return this.browser}getVersion(){return this.version}isMinBrowser(e,t){return this.browser.toLowerCase()===e.toLowerCase()&&parseFloat(this.version)>=parseFloat(t)}isSafari(){return this.browser===rr.SAFARI}isFirefox(){return this.browser===rr.FIREFOX}isChrome(){return this.browser===rr.CHROME}isIE(){return this.browser===rr.IE}isEdge(){return this.browser===rr.EDGE}isIEAndSpecificBrowserPluginSupported(e){return this.isIE()&&function(e){const t=e||"htmlfile";let r=!1;try{if("ActiveXObject"in window){const{ActiveXObject:e}=window;r=!!new e(t)}}catch(e){r=!1}return r}(e)}};var lr=function(e){const t=[];let r,n=0;return new Promise(((o,i)=>{e.forEach(((a,s)=>{a.then(o).catch((o=>a=>{t[o]=a,n+=1,n===e.length&&(r=new Error("no promises resolved"),i(r))})(s))}))}))};var cr={SAFARI_CHANNEL_NAME:"safari_channel",SECRET_STORE_COOKIE_NAME:"box-edit-secret-cookie-name",BOX_EDIT_APP_NAME:"BoxEdit",BOX_EDIT_NOT_SUPPORTED_ERROR:"box_edit_not_supported_error",BOX_EDIT_UNINSTALLED_ERROR:"box_edit_uninstalled_error",BOX_EDIT_UPGRADE_BROWSER_ERROR:"box_edit_upgrade_browser_error",BOX_EDIT_SAFARI_ERROR:"box_edit_safari_error",BOX_EDIT_INSECURE_REQUESTS_UPGRADED_ERROR:"box_edit_insecure_requests_upgraded_error",BOX_TOOLS_PLUGIN_NAME:"Box.BoxTools",BOX_SECURE_LOCAL_BASE_URL:"https://edit.boxlocalhost.com:",BOX_UNSECURE_LOCAL_BASE_URL:"http://127.0.0.1:",ACTIVEX_CHANNEL_NAME:"activex_channel",HTTP_CHANNEL_NAME:"http_channel",HTTPS_CHANNEL_NAME:"https_channel",OPERATION_STATUS:"status",OPERATION_REQUEST:"application_request",OPERATION_COMMAND:"application_command",UNCREATED_STATUS:"uncreated",CREATED_STATUS:"created",ACTIVE_STATUS:"active",HIVE_TABLE_WEBAPP_BOXTOOLS_ANALYTICS:"webapp_boxtools_analytics",KEY_LENGTH:16,KEY_ID_LENGTH:8,IV:"75392C57F66CE7E7EF47110410280DD7",OUTPUT_EVENT:"box_extension_output",REQUEST_ID_PRE:"BOX-EXT-REQ-ID-",REQUEST_TIMEOUT_RESPONSE_CODE:408,EXTENSION_BLACKLIST:{A6P:1,AC:1,AS:1,ACR:1,ACTION:1,AIR:1,APP:1,AWK:1,BAT:1,BOXNOTE:1,CGI:1,CHM:1,CMD:1,COM:1,CSH:1,DEK:1,DLD:1,DS:1,EBM:1,ESH:1,EXE:1,EZS:1,FKY:1,FRS:1,FXP:1,GADGET:1,HMS:1,HTA:1,ICD:1,INX:1,IPF:1,ISU:1,JAR:1,JS:1,JSE:1,JSX:1,KIX:1,LNK:1,LUA:1,MCR:1,MEM:1,MPX:1,MS:1,MSI:1,MST:1,OBS:1,PAF:1,PEX:1,PIF:1,PL:1,PRC:1,PRG:1,PVD:1,PWC:1,PY:1,PYC:1,PYO:1,QPX:1,RBX:1,REG:1,RGS:1,ROX:1,RPJ:1,SCAR:1,SCR:1,SCRIPT:1,SCPT:1,SCT:1,SH:1,SHB:1,SHS:1,SPR:1,TLB:1,TMS:1,U3P:1,UDF:1,URL:1,VB:1,VBE:1,VBS:1,VBSCRIPT:1,WCM:1,WPK:1,WS:1,WSF:1,XQT:1}};function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dr=class{constructor(e){ur(this,"buildNextRequestID",(()=>"".concat(cr.REQUEST_ID_PRE).concat(this.window.performance.now()))),ur(this,"buildDetailsObj",((e,t,r)=>{const n=r.toString(),o={data:void 0,operation:e,properties:{application:this.appName,timeout:n},req_id:this.buildNextRequestID()};if(e!==cr.OPERATION_STATUS){if(!t)throw new TypeError("Data cannot be undefined for ".concat(e));o.data=t}return o})),this.appName=e,this.window=window}sendCommand(e,t,r){return Promise.resolve("TODO")}sendRequest(e,t,r){return Promise.resolve("TODO")}getComServerStatus(e,t){return Promise.resolve("TODO")}destroy(){}};function hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fr=class extends dr{constructor(e,t){var r;super(e),r=this,hr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise(((i,a)=>{const s=r.buildDetailsObj(e,t,o),l=setTimeout((()=>{a(new Error({status_code:cr.REQUEST_TIMEOUT_RESPONSE_CODE}))}),n);r.reqIdToPromiseMap.set(s.req_id,{resolve:i,rejectTimeout:l}),r.executeActiveXEvent({detail:s})}))})),hr(this,"repairActiveXConnection",(e=>{sr.isIEAndSpecificBrowserPluginSupported(cr.BOX_TOOLS_PLUGIN_NAME)&&(this.retryAttempt>=2||(this.retryAttempt+=1,setTimeout((()=>{this.executeActiveXEvent(e)}),100)))})),hr(this,"executeActiveXEvent",(e=>{const t=this.createActiveXObjectJSRef(),r="ExecuteSync"in t;try{this.isSynchronous&&r?t.ExecuteSync(JSON.stringify(e)):t.Execute(JSON.stringify(e))}catch(t){this.repairActiveXConnection(e)}})),hr(this,"createActiveXObjectJSRef",(()=>{const{ActiveXObject:e}=this.window;return new e(cr.BOX_TOOLS_PLUGIN_NAME)})),hr(this,"setupActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached||(this.document.addEventListener(cr.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!0)})),hr(this,"tearDownActiveXCommunication",(()=>{this.isActiveXExtensionListenerAttached&&(this.document.removeEventListener(cr.OUTPUT_EVENT,this.appExtensionEventResponseHandler),this.isActiveXExtensionListenerAttached=!1)})),hr(this,"appExtensionEventResponseHandler",(e=>{this.retryAttempt>0&&(this.retryAttempt=0);const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),hr(this,"getComServerStatus",((e,t)=>this.executeOperation(cr.OPERATION_STATUS,null,e,t))),hr(this,"sendRequest",((e,t,r)=>this.executeOperation(cr.OPERATION_REQUEST,e,t,r))),hr(this,"sendCommand",((e,t,r)=>this.executeOperation(cr.OPERATION_COMMAND,e,t,r))),hr(this,"destroy",(()=>{this.tearDownActiveXCommunication()})),this.isSynchronous=t,this.channelName=cr.ACTIVEX_CHANNEL_NAME,this.reqIdToPromiseMap=new Map,this.isActiveXExtensionListenerAttached=!1,this.retryAttempt=0,this.document=document,this.window=window,this.setupActiveXCommunication()}},pr=r(109);function mr(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const{document:i}=window,a=new Date,s=[];void 0===r&&(r=a.getTime()+5184e6),a.setTime(r),s.push("".concat(e,"=").concat(encodeURIComponent(t))),0!==r&&s.push("; expires=".concat(a.toUTCString())),s.push("; path=".concat(n)),o&&s.push("; domain=".concat(o)),s.push("; secure"),i.cookie=s.join("")}function br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const gr="POST",vr=17223,yr="notrunning",Cr=new pr.a;function wr(){return Cr.getItem("comUseFallback")?{primary:17224,fallback:vr}:{primary:vr,fallback:17224}}var Er=class extends dr{constructor(e,t,r){super(e),br(this,"createCORSRequest",((e,t)=>{let r;try{const{XMLHttpRequest:n}=this.window;return r=new n,r.open(e,t,!0),r}catch(r){if(this.retryCounter<3)return this.retryCounter+=1,this.createCORSRequest(e,t);throw new Error("could not create xhr")}})),br(this,"getComServerStatusInstallationPromise",(e=>{let t,r;const n=new Promise(((e,n)=>{t=e,r=n})),o=(e,r)=>{this.currentPort=e,e===vr?Cr.removeItem("comUseFallback"):Cr.setItem("comUseFallback",1),this.comServerInstallationPromiseRejected=!1,t(r)},i=wr(),a=i.primary,s=i.fallback;return this.checkInstallStatus(a,e).then(o.bind(this,a)).catch((t=>{if(t===yr)return this.comServerInstallationPromiseRejected=!0,void r();this.checkInstallStatus(s,e).then(o.bind(this,s)).catch((()=>{this.comServerInstallationPromiseRejected=!0,r()}))})),n})),br(this,"sendComServerRequest",((e,t,r,n)=>new Promise(((o,i)=>{try{const a=this.createCORSRequest(e,t);a.setRequestHeader("Content-Type","text/plain; charset=UTF-8"),a.onload=()=>{o(a)},a.onerror=()=>{i(a)},n>0&&(a.timeout=n,a.ontimeout=()=>{i(a)}),setTimeout((()=>{a.send(r)}),0)}catch(e){i()}})))),br(this,"checkInstallStatus",((e,t)=>this.sendComServerRequest("GET","".concat(this.url).concat(e,"/status"),null,t).then((e=>{const t=JSON.parse(e.responseText);if(t.running)return t;throw this.comServerInstallationPromiseRejected=!0,new Error(yr)})))),br(this,"getComChannel",(e=>function(e){const{document:t}=window,r=t.cookie.split("; "),n=r.length;let o,i;for(i=0;i<n;i+=1)if(o=r[i].split("="),o[0]===e)return o[1]?decodeURIComponent(o[1]):"";return""}("".concat(e,"-bgp-id")))),br(this,"setComChannel",(e=>{const t=this.getComChannel(e)||this.generateId(),r="bgp-".concat(t),n=(new Date).getTime()+31536e6;return mr("".concat(e,"-bgp-id"),t,n),mr("bgp-".concat(t),"generic",n),r})),br(this,"getComServerStatus",(e=>!this.comServerInstallationPromise||this.comServerInstallationPromiseRejected?(this.comServerInstallationPromise=null,this.comServerInstallationPromise=this.getComServerStatusInstallationPromise(e),this.comServerInstallationPromise):this.comServerInstallationPromise)),br(this,"sendRequest",((e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_request?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(gr,n,e,t).then((e=>{const t=JSON.parse(e.responseText);if(t.response_type&&"error"===t.response_type)throw new Error("Communication error: ".concat(t.message));return t}))})),br(this,"sendCommand",((e,t,r)=>{const n="".concat(this.url).concat(this.currentPort,"/application_command?application=").concat(this.appName,"&com=").concat(this.comChannelName,"&timeout=").concat(r);return this.sendComServerRequest(gr,n,e,t).then((e=>JSON.parse(e.responseText)))})),br(this,"generateId",(()=>{const e=(new Date).getTime();return"xxxxxxxx".replace(/x/g,(()=>Math.floor((e+16*Math.random())%16).toString(16)))})),this.url=t,this.comChannelName=this.setComChannel(e),this.channelName=r,this.comServerInstallationPromise=null,this.comServerInstallationPromiseRejected=!1,this.retryCounter=0,this.sendCount=0,this.currentPort=wr().primary,this.window=window}};function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const kr="box_extension_output";var Or=class extends dr{constructor(e){var t;super(e),t=this,Sr(this,"executeOperation",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new Promise(((i,a)=>{const s=t.buildDetailsObj(e,r,o),l=setTimeout((()=>{a(new Error({status_code:cr.REQUEST_TIMEOUT_RESPONSE_CODE}))}),n);t.reqIdToPromiseMap.set(s.req_id,{resolve:i,rejectTimeout:l}),t.createAndDispatchAppExtensionEvent({detail:s})}))})),Sr(this,"setupSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached||(this.isAppExtensionListenerAttached=!0,this.document.addEventListener(kr,this.appExtensionEventResponseHandler))})),Sr(this,"tearDownSafariExtensionCommunication",(()=>{this.isAppExtensionListenerAttached&&(this.isAppExtensionListenerAttached=!1,this.document.removeEventListener(kr,this.appExtensionEventResponseHandler))})),Sr(this,"appExtensionEventResponseHandler",(e=>{const t="string"==typeof e.detail?JSON.parse(e.detail):e.detail;if(this.reqIdToPromiseMap.has(t.req_id)){const e=this.reqIdToPromiseMap.get(t.req_id);if(e){clearTimeout(e.rejectTimeout),this.reqIdToPromiseMap.delete(t.req_id);const r="string"==typeof t.com_server_response.data?JSON.parse(t.com_server_response.data):t.com_server_response.data;e.resolve(r)}}})),Sr(this,"createAndDispatchAppExtensionEvent",(e=>{const{CustomEvent:t}=this.window,r=new t("box_extension_input",e);this.document.dispatchEvent(r)})),Sr(this,"getComServerStatus",((e,t)=>this.executeOperation(cr.OPERATION_STATUS,null,e,t))),Sr(this,"sendRequest",((e,t,r)=>this.executeOperation(cr.OPERATION_REQUEST,e,t,r))),Sr(this,"sendCommand",((e,t,r)=>this.executeOperation(cr.OPERATION_COMMAND,e,t,r))),Sr(this,"destroy",(()=>{this.tearDownSafariExtensionCommunication()})),this.reqIdToPromiseMap=new Map,this.channelName=cr.SAFARI_CHANNEL_NAME,this.window=window,this.document=document,this.setupSafariExtensionCommunication()}};const xr=55,_r="16.16299",Pr="17.17134";let Tr;function Ir(e){const{BOX_UNSECURE_LOCAL_BASE_URL:t,CREATED_STATUS:r,HTTP_CHANNEL_NAME:n}=cr;return Tr.http_channel_status=r,new Er(e,t,n)}function Ar(e){const{CREATED_STATUS:t}=cr;return Tr.safari_channel_status=t,new Or(e)}function Lr(e){const{CREATED_STATUS:t}=cr;return Tr.activex_channel_status=t,new fr(e,!0)}function Mr(){const{EDGE:e}=rr;return sr.isMinBrowser(e,Pr)||sr.isMinBrowser(e,_r)&&sr.getVersion().startsWith("16.")}function Rr(){return sr.isEdge()&&!Mr()}function Dr(){const{CHROME:e,FIREFOX:t}=rr;return sr.isMinBrowser(e,53)||sr.isMinBrowser(t,xr)||Mr()}function jr(){return sr.isMinBrowser(rr.SAFARI,10)}function Fr(){return sr.isMinBrowser(rr.IE,11)}function Nr(e){const{BOX_EDIT_NOT_SUPPORTED_ERROR:t,BOX_EDIT_SAFARI_ERROR:r,BOX_EDIT_UNINSTALLED_ERROR:n,BOX_EDIT_UPGRADE_BROWSER_ERROR:o}=cr;let i=t;return Dr()||Fr()?i=n:sr.isFirefox()||sr.isChrome()||sr.isSafari()&&!jr()||Rr()?i=o:jr()&&(i=r),Tr.error_message=i,e(new Error(i))}function Ur(e){let t=5e3;return"number"==typeof e&&e>=0&&(t=Math.floor(e)),t}function zr(e){let t=+(e/1e3).toFixed(2);return e<2?t/=2:t-=1,t}var Hr=class{constructor(e){var t,r,n;n=!1,(r="isInitialized")in(t=this)?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.channels=[],this.isInitialized=!0,function(){const e=sr.getName(),t=sr.getVersion(),{UNCREATED_STATUS:r}=cr;Tr={box_tools_version:null,browser_name:e,browser_version:t,error_message:null,installation_type:null,http_channel_status:r,https_channel_status:r,activex_channel_status:r,safari_channel_status:r}}(),Dr()?this.channels.push(Ir(e)):jr()?this.channels.push(Ar(e)):Fr()&&sr.isIEAndSpecificBrowserPluginSupported(cr.BOX_TOOLS_PLUGIN_NAME)?this.channels.push(function(e){const{CREATED_STATUS:t}=cr;return Tr.activex_channel_status=t,new fr(e,!1)}(e)):sr.isFirefox()&&!sr.isMinBrowser(rr.FIREFOX,xr)||Rr()||(this.channels=this.channels.concat([Ir(e),Ar(e),Lr(e)]))}getComServerStatus(e){const{ACTIVE_STATUS:t}=cr,r=Ur(e),n=zr(r),o=Rr();return new Promise(((e,i)=>o?Nr.call(null,i):this.channels.length?lr(this.channels.map((o=>o.getComServerStatus(r,n).then((r=>(this.activeChannel=o,r&&(Tr.installation_type=r.installation_type,Tr.box_tools_version=r.version),Tr["".concat(o.channelName,"_status")]=t,e(r))))))).catch(Nr.bind(null,i)):Nr.call(null,i)))}sendRequest(e,t,r){const n=Ur(r),o=zr(n);return this.activeChannel?this.activeChannel.sendRequest(e,n,o):this.getComServerStatus().then((()=>this.activeChannel.sendRequest(e,n,o)))}sendCommand(e,t){const r=Ur(t),n=zr(r);return this.activeChannel?this.activeChannel.sendCommand(e,r,n):this.getComServerStatus().then((()=>this.activeChannel.sendCommand(e,r,n)))}};let Br;let Vr=null;class Wr{constructor(){return Vr instanceof Wr||(Vr=this),this.extensionRequestQueue=new Map,Vr}queueGetNativeAppNameFromLocal(e){if(this.extensionRequestQueue.has(e)){const t=this.extensionRequestQueue.get(e);if(!t)throw new Error("Race condition re: queueGetNativeAppNameFromLocal");return t.promise}const t={},r=new Promise(((e,r)=>{t.resolve=e,t.reject=r}));return t.promise=r,this.extensionRequestQueue.set(e,t),r}checkBoxEditAvailability(){return this.getBoxEditAvailability()}getBoxEditAvailability(){return this.client=new Hr(cr.BOX_EDIT_APP_NAME),this.client.getComServerStatus()}async canOpenWithBoxEdit(e){const t=await Promise.all(e.map((async e=>{try{const t=await this.getAppForExtension(e);return[e,t]}catch(t){return[e,""]}}))),r=new Map;return t.forEach((e=>r.set(...e))),Promise.resolve(r)}openFile(e,t){const r=function(e,t,r,n){return JSON.stringify({auth_code:r,auth_token:t,browser_type:sr.getName(),command_type:"launch_application",file_id:e.toString(),token_scope:n})}(e,t.data.token,t.data.auth_code,t.data.token_scope);return this.client.sendCommand(r,5e3)}getAppForExtension(e){try{if(function(e){const{EXTENSION_BLACKLIST:t}=cr;let r=e.toUpperCase();return"."===r.charAt(0)&&(r=r.substr(1)),r in t}(e))throw new Error("blacklisted");const t=this.queueGetNativeAppNameFromLocal(e);return Br||(Br=setTimeout((()=>{this.processExtensionRequestQueue()}),100)),t}catch(e){return Promise.reject()}}processExtensionRequestQueue(){const e=new Map,t=[];this.extensionRequestQueue.forEach(((r,n)=>{e.set(n,r),t.push(n)})),this.extensionRequestQueue.clear(),Br=null;const r=function(e){return JSON.stringify({request_type:"get_default_application",extension:e})}(t);return this.client.sendRequest(r).then((r=>{if(r&&r.default_application_name){let t=r.default_application_name;"[object Object]"===Object.prototype.toString.call(t)&&(t=[t]),t.forEach((t=>{const r=Object.keys(t)[0],n=decodeURIComponent(t[r]);if(n){const t=e.get(r);t&&(t.resolve(n),e.delete(r))}}))}t.forEach((t=>{const r=e.get(t);r&&r.reject()}))}))}}var Gr=Wr;class qr extends E.a{async ask(e,t){if(!e)throw new Error("Missing prompt!");if(!t||0===t.length)throw new Error("Missing items!");t.forEach((e=>{if(!e.id||!e.type)throw new Error("Invalid item!")}));const r="".concat(this.getBaseApiUrl(),"/ai/ask");return this.xhr.post({url:r,id:"file_".concat(t[0].id),data:{mode:"single_item_qa",prompt:e,items:t}})}}var Kr=qr;function Xr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=class{constructor(e){this.options=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xr(Object(r),!0).forEach((function(t){Qr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e,{apiHost:e.apiHost||g.U,uploadHost:e.uploadHost||g.X,cache:e.cache||new n.a,language:e.language})}destroy(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.fileAPI&&(this.fileAPI.destroy(),delete this.fileAPI),this.weblinkAPI&&(this.weblinkAPI.destroy(),delete this.weblinkAPI),this.plainUploadAPI&&(this.plainUploadAPI.destroy(),delete this.plainUploadAPI),this.chunkedUploadAPI&&(this.chunkedUploadAPI.destroy(),delete this.chunkedUploadAPI),this.folderAPI&&(this.folderAPI.destroy(),delete this.folderAPI),this.searchAPI&&(this.searchAPI.destroy(),delete this.searchAPI),this.recentsAPI&&(this.recentsAPI.destroy(),delete this.recentsAPI),this.versionsAPI&&(this.versionsAPI.destroy(),delete this.versionsAPI),this.fileAccessStatsAPI&&(this.fileAccessStatsAPI.destroy(),delete this.fileAccessStatsAPI),this.fileActivitiesAPI&&(this.fileActivitiesAPI.destroy(),delete this.fileActivitiesAPI),this.tasksNewAPI&&(this.tasksNewAPI.destroy(),delete this.tasksNewAPI),this.taskCollaboratorsAPI&&(this.taskCollaboratorsAPI.destroy(),delete this.taskCollaboratorsAPI),this.taskLinksAPI&&(this.taskLinksAPI.destroy(),delete this.taskLinksAPI),this.commentsAPI&&(this.commentsAPI.destroy(),delete this.commentsAPI),this.threadedCommentsAPI&&(this.threadedCommentsAPI.destroy(),delete this.threadedCommentsAPI),this.markerBasedGroupsAPI&&(this.markerBasedGroupsAPI.destroy(),delete this.markerBasedGroupsAPI),this.markerBasedUsersAPI&&(this.markerBasedUsersAPI.destroy(),delete this.markerBasedUsersAPI),this.groupsAPI&&(this.groupsAPI.destroy(),delete this.groupsAPI),this.usersAPI&&(this.usersAPI.destroy(),delete this.usersAPI),this.metadataAPI&&(this.metadataAPI.destroy(),delete this.metadataAPI),this.fileCollaboratorsAPI&&(this.fileCollaboratorsAPI.destroy(),delete this.fileCollaboratorsAPI),this.fileCollaborationsAPI&&(this.fileCollaborationsAPI.destroy(),delete this.fileCollaborationsAPI),this.folderCollaborationsAPI&&(this.folderCollaborationsAPI.destroy(),delete this.folderCollaborationsAPI),this.collaborationsAPI&&(this.collaborationsAPI.destroy(),delete this.collaborationsAPI),this.appIntegrationsAPI&&(this.appIntegrationsAPI.destroy(),delete this.appIntegrationsAPI),this.metadataQueryAPI&&(this.metadataQueryAPI.destroy(),delete this.metadataQueryAPI),this.openWithAPI&&(this.openWithAPI.destroy(),delete this.openWithAPI),this.annotationsAPI&&(this.annotationsAPI.destroy(),delete this.annotationsAPI),this.intelligenceAPI&&(this.intelligenceAPI.destroy(),delete this.intelligenceAPI),e&&(this.options.cache=new n.a)}getCache(){return this.options.cache}getAPI(e){let t;switch(e){case g.kg:t=this.getFolderAPI();break;case g.jg:t=this.getFileAPI();break;case g.lg:t=this.getWebLinkAPI();break;default:throw new Error("Unknown Type!")}return t}getFileAPI(){return(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&this.destroy(),this.fileAPI=new U.a(this.options),this.fileAPI}getWebLinkAPI(){return this.destroy(),this.weblinkAPI=new z.a(this.options),this.weblinkAPI}getPlainUploadAPI(){return this.destroy(),this.plainUploadAPI=new F(this.options),this.plainUploadAPI}getChunkedUploadAPI(){return this.destroy(),this.chunkedUploadAPI=new D(this.options),this.chunkedUploadAPI}getFolderAPI(){return this.destroy(),this.folderAPI=new N.a(this.options),this.folderAPI}getSearchAPI(){return this.destroy(),this.searchAPI=new X(this.options),this.searchAPI}getRecentsAPI(){return this.destroy(),this.recentsAPI=new Y(this.options),this.recentsAPI}getMetadataAPI(e){return e&&this.destroy(),this.metadataAPI=new gt(this.options),this.metadataAPI}getVersionsAPI(e){return e&&this.destroy(),this.versionsAPI=new le(this.options),this.versionsAPI}getCommentsAPI(e){return e&&this.destroy(),this.commentsAPI=new he(this.options),this.commentsAPI}getThreadedCommentsAPI(e){return e&&this.destroy(),this.threadedCommentsAPI=new Ge(this.options),this.threadedCommentsAPI}getTasksNewAPI(e){return e&&this.destroy(),this.tasksNewAPI=new Se(this.options),this.tasksNewAPI}getTaskCollaboratorsAPI(e){return e&&this.destroy(),this.taskCollaboratorsAPI=new Te(this.options),this.taskCollaboratorsAPI}getTaskLinksAPI(e){return e&&this.destroy(),this.taskLinksAPI=new Me(this.options),this.taskLinksAPI}getFileAccessStatsAPI(e){return e&&this.destroy(),this.fileAccessStatsAPI=new Ke(this.options),this.fileAccessStatsAPI}getFileActivitiesAPI(e){return e&&this.destroy(),this.fileActivitiesAPI=new Ye(this.options),this.fileActivitiesAPI}getFileCollaboratorsAPI(e){return e&&this.destroy(),this.fileCollaboratorsAPI=new Ct(this.options),this.fileCollaboratorsAPI}getFileCollaborationsAPI(e){return e&&this.destroy(),this.fileCollaborationsAPI=new St(this.options),this.fileCollaborationsAPI}getFolderCollaborationsAPI(e){return e&&this.destroy(),this.folderCollaborationsAPI=new kt(this.options),this.folderCollaborationsAPI}getCollaborationsAPI(e){return e&&this.destroy(),this.collaborationsAPI=new Tt(this.options),this.collaborationsAPI}getMarkerBasedGroupsAPI(e){return e&&this.destroy(),this.markerBasedGroupsAPI=new rt(this.options),this.markerBasedGroupsAPI}getMarkerBasedUsersAPI(e){return e&&this.destroy(),this.markerBasedUsersAPI=new at(this.options),this.markerBasedUsersAPI}getGroupsAPI(e){return e&&this.destroy(),this.groupsAPI=new lt(this.options),this.groupsAPI}getUsersAPI(e){return e&&this.destroy(),this.usersAPI=new ft(this.options),this.usersAPI}getFeedAPI(e){return e&&this.destroy(),this.feedItemsAPI=new Qt(this.options),this.feedItemsAPI}getOpenWithAPI(e){return e&&this.destroy(),this.openWithAPI=new Jt(this.options),this.openWithAPI}getAppIntegrationsAPI(e){return e&&this.destroy(),this.appIntegrationsAPI=new $t(this.options),this.appIntegrationsAPI}getMetadataQueryAPI(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.destroy(),this.metadataQueryAPI=new tr(this.options),this.metadataQueryAPI}getBoxEditAPI(){return this.boxEditAPI=new Gr,this.boxEditAPI}getAnnotationsAPI(e){return e&&this.destroy(),this.annotationsAPI=new Ft(this.options),this.annotationsAPI}getIntelligenceAPI(e){return e&&this.destroy(),this.intelligenceAPI=new Kr(this.options),this.intelligenceAPI}}},function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#000000",height:i=24,title:a,width:s=24}=e;return n.createElement(o.a,{className:"icon-check ".concat(t),height:i,title:a,viewBox:"0 0 24 24",width:s},n.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),n.createElement("path",{className:"fill-color",d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z",fill:r}))}},,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));var n=r(0),o=r(12),i=r.n(o),a=r(4),s=r.n(a),l=r(5),c=r(105),u=r(116),d=r(18);const h=Object(l.c)({checkboxTooltipIconInfoText:{id:"boxui.checkboxTooltip.iconInfoText",defaultMessage:"Info"}});var f=e=>{let{tooltip:t}=e;return n.createElement("div",{className:"checkbox-tooltip-wrapper"},n.createElement(d.c,{text:t},n.createElement("div",{className:"info-tooltip"},n.createElement(u.a,{height:16,title:n.createElement(c.a,h.checkboxTooltipIconInfoText),width:16}))))};r(569);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var b=e=>{let{className:t="",description:r,fieldLabel:o,hideLabel:a,id:l,inputClassName:c,isChecked:u,isDisabled:d,label:h,name:b,onFocus:g,onChange:v,subsection:y,tooltip:C}=e,w=m(e,["className","description","fieldLabel","hideLabel","id","inputClassName","isChecked","isDisabled","label","name","onFocus","onChange","subsection","tooltip"]);const E=n.useRef(i()("checkbox")).current,S=l||E,k=n.createElement("span",{className:"checkbox-label"},n.createElement("input",p({"aria-describedby":r?"description_".concat(S):"",checked:u,className:c,disabled:d,id:S,name:b,onFocus:g,onChange:v,type:"checkbox"},w)),n.createElement("span",{className:"checkbox-pointer-target"}),n.createElement("span",{className:s()("bdl-Checkbox-labelTooltipWrapper",{"accessibility-hidden":a})},h&&n.createElement("label",{htmlFor:S},h),C&&n.createElement(f,{tooltip:C})));return n.createElement("div",{className:s()("checkbox-container",t,{"is-disabled bdl-is-disabled":d})},o&&n.createElement("div",{className:"label"},o),k,r?n.createElement("div",{id:"description_".concat(S),className:"checkbox-description"},r):null,y?n.createElement("div",{className:"checkbox-subsection"},y):null)}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:o.b,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M17.5 21c.245 0 .45.183.492.412L18 21.5c0 .276-.23.5-.5.5h-7a.505.505 0 01-.5-.5c0-.276.23-.5.5-.5h7zm4-3c.245 0 .45.183.492.412L22 18.5c0 .276-.229.5-.5.5h-11a.505.505 0 01-.5-.5c0-.276.229-.5.5-.5h11zm-1.001-3c.246 0 .45.183.493.412L21 15.5c0 .276-.23.5-.501.5H10.5a.506.506 0 01-.501-.5c0-.276.23-.5.501-.5h10z"})))},,,function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#009AED",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M19.723 18.973l-5.914 3.957a.543.543 0 01-.809-.473v-7.914a.543.543 0 01.809-.473l5.914 3.957a.543.543 0 010 .946z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:16,height:16,viewBox:"0 0 16 16"},e),n.createElement("path",{fill:o.k,fillRule:"evenodd",d:"M7.646 7.646L4.354 4.354a.5.5 0 010-.708l1.292-1.292a.5.5 0 01.708 0l5.292 5.292a.5.5 0 010 .708l-5.292 5.292a.5.5 0 01-.708 0l-1.292-1.292a.5.5 0 010-.708l3.292-3.292a.5.5 0 000-.708z"}))},function(e,t,r){var n=r(39),o=r(144),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},,,,,,,,,function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(51))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(79),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(406),o=r(118),i=r(39),a=r(129),s=r(142),l=r(170),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),d=!r&&!u&&a(e),h=!r&&!u&&!d&&l(e),f=r||u||d||h,p=f?n(e.length,String):[],m=p.length;for(var b in e)!t&&!c.call(e,b)||f&&("length"==b||d&&("offset"==b||"parent"==b)||h&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,m))||p.push(b);return p}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){(function(e){var n=r(49),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}}).call(this,r(169)(e))},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(183),o=r(184),i=r(182),a=r(233),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},function(e,t,r){var n=r(183),o=r(39);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},function(e,t,r){var n=r(235),o=r(234),i=r(143);e.exports=function(e){return n(e,i,o)}},function(e,t,r){var n=r(185);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(271),o=r(184),i=r(156);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},function(e,t,r){var n=r(67),o=r(184),i=r(52),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},function(e,t,r){var n=r(438),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=r(l),n(e,this,c)}}},function(e,t,r){var n=r(439),o=r(441)(n);e.exports=o},function(e,t,r){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},function(e,t,r){"use strict";var n=r(36);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,r){"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){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,status:this.response&&this.response.status?this.response.status:null}},e}},function(e,t,r){"use strict";var n=r(36),o=r(461),i=r(462),a=r(243),s=r(463),l=r(466),c=r(467),u=r(246),d=r(145),h=r(146);e.exports=function(e){return new Promise((function(t,r){var f,p=e.data,m=e.headers,b=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}n.isFormData(p)&&delete m["Content-Type"];var v=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";m.Authorization="Basic "+btoa(y+":"+C)}var w=s(e.baseURL,e.url);function E(){if(v){var n="getAllResponseHeaders"in v?l(v.getAllResponseHeaders()):null,i={data:b&&"text"!==b&&"json"!==b?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:n,config:e,request:v};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),v=null}}if(v.open(e.method.toUpperCase(),a(w,e.params,e.paramsSerializer),!0),v.timeout=e.timeout,"onloadend"in v?v.onloadend=E:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(E)},v.onabort=function(){v&&(r(u("Request aborted",e,"ECONNABORTED",v)),v=null)},v.onerror=function(){r(u("Network Error",e,null,v)),v=null},v.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||d.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(u(t,e,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",v)),v=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||c(w))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;S&&(m[e.xsrfHeaderName]=S)}"setRequestHeader"in v&&n.forEach(m,(function(e,t){void 0===p&&"content-type"===t.toLowerCase()?delete m[t]:v.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(v.withCredentials=!!e.withCredentials),b&&"json"!==b&&(v.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&v.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&v.upload&&v.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(f=function(e){v&&(r(!e||e&&e.type?new h("canceled"):e),v.abort(),v=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f))),p||(p=null),v.send(p)}))}},function(e,t,r){"use strict";var n=r(244);e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},function(e,t,r){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,r){"use strict";var n=r(36);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function l(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==l||(r[e]=o)})),r}},function(e,t){e.exports={version:"0.25.0"}},function(e,t,r){var n=r(476),o=r(477),i=r(480),a=RegExp("['’]","g");e.exports=function(e){return function(t){return n(i(o(t).replace(a,"")),e,"")}}},function(e,t,r){var n=r(178),o=r(117);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},function(e,t){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},function(e,t,r){},,,function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o),a=r(60),s=r(24),l=r(94),c=r(2),u=r(34);r(565);t.a=Object(a.c)((e=>{let{className:t,intl:r,onClick:o}=e;return n.createElement(s.b,{"aria-label":r.formatMessage(u.a.close),className:i()("bdl-CloseButton",t),"data-testid":"bdl-CloseButton",onClick:o,type:s.a.BUTTON},n.createElement(l.a,{color:c.l,height:18,width:18}))}))},,,function(e,t,r){"use strict";var n,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};n=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function s(){s.init.call(this)}e.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var l=10;function c(e){return void 0===e._maxListeners?s.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var o,i,a,s;if("function"!=typeof r)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof r);if(void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function d(){for(var e=[],t=0;t<arguments.length;t++)e.push(arguments[t]);this.fired||(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,i(this.listener,this.target,e))}function h(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=d.bind(n);return o.listener=r,n.wrapFn=o,o}function f(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):m(o,o.length)}function p(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||a(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var n="error"===e,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)i(l,this,t);else{var c=l.length,u=m(l,c);for(r=0;r<c;++r)i(u[r],this,t)}return!0},s.prototype.addListener=function(e,t){return u(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return u(this,e,t,!0)},s.prototype.once=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.on(e,h(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);return this.prependListener(e,h(this,e,t)),this},s.prototype.removeListener=function(e,t){var r,n,o,i,a;if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t);if(void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},s.prototype.listeners=function(e){return f(this,e,!0)},s.prototype.rawListeners=function(e){return f(this,e,!1)},s.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},s.prototype.listenerCount=p,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(e,t,r){var n=r(250)((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));e.exports=n},function(module,exports,__webpack_require__){(function(process,global){var __WEBPACK_AMD_DEFINE_RESULT__;(function(){"use strict";var root="object"==typeof window?window:{},NODE_JS=!root.JS_SHA1_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node;NODE_JS&&(root=global);var COMMON_JS=!root.JS_SHA1_NO_COMMON_JS&&"object"==typeof module&&module.exports,AMD=__webpack_require__(336),HEX_CHARS="0123456789abcdef".split(""),EXTRA=[-2147483648,8388608,32768,128],SHIFT=[24,16,8,0],OUTPUT_TYPES=["hex","array","digest","arrayBuffer"],blocks=[],createOutputMethod=function(e){return function(t){return new Sha1(!0).update(t)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.create=function(){return new Sha1},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var r=OUTPUT_TYPES[t];e[r]=createOutputMethod(r)}return e},nodeWrap=function nodeWrap(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"==typeof e)return crypto.createHash("sha1").update(e,"utf8").digest("hex");if(e.constructor===ArrayBuffer)e=new Uint8Array(e);else if(void 0===e.length)return method(e);return crypto.createHash("sha1").update(new Buffer(e)).digest("hex")};return nodeMethod};function Sha1(e){e?(blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks):this.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],this.h0=1732584193,this.h1=4023233417,this.h2=2562383102,this.h3=271733878,this.h4=3285377520,this.block=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Sha1.prototype.update=function(e){if(!this.finalized){var t="string"!=typeof e;t&&e.constructor===root.ArrayBuffer&&(e=new Uint8Array(e));for(var r,n,o=0,i=e.length||0,a=this.blocks;o<i;){if(this.hashed&&(this.hashed=!1,a[0]=this.block,a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),t)for(n=this.start;o<i&&n<64;++o)a[n>>2]|=e[o]<<SHIFT[3&n++];else for(n=this.start;o<i&&n<64;++o)(r=e.charCodeAt(o))<128?a[n>>2]|=r<<SHIFT[3&n++]:r<2048?(a[n>>2]|=(192|r>>6)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):r<55296||r>=57344?(a[n>>2]|=(224|r>>12)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]):(r=65536+((1023&r)<<10|1023&e.charCodeAt(++o)),a[n>>2]|=(240|r>>18)<<SHIFT[3&n++],a[n>>2]|=(128|r>>12&63)<<SHIFT[3&n++],a[n>>2]|=(128|r>>6&63)<<SHIFT[3&n++],a[n>>2]|=(128|63&r)<<SHIFT[3&n++]);this.lastByteIndex=n,this.bytes+=n-this.start,n>=64?(this.block=a[16],this.start=n-64,this.hash(),this.hashed=!0):this.start=n}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296<<0,this.bytes=this.bytes%4294967296),this}},Sha1.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[16]=this.block,e[t>>2]|=EXTRA[3&t],this.block=e[16],t>=56&&(this.hashed||this.hash(),e[0]=this.block,e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.hBytes<<3|this.bytes>>>29,e[15]=this.bytes<<3,this.hash()}},Sha1.prototype.hash=function(){var e,t,r=this.h0,n=this.h1,o=this.h2,i=this.h3,a=this.h4,s=this.blocks;for(e=16;e<80;++e)t=s[e-3]^s[e-8]^s[e-14]^s[e-16],s[e]=t<<1|t>>>31;for(e=0;e<20;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n&o|~n&i)+a+1518500249+s[e]<<0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|~r&o)+i+1518500249+s[e+1]<<0)<<5|i>>>27)+(a&(r=r<<30|r>>>2)|~a&n)+o+1518500249+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|~i&r)+n+1518500249+s[e+3]<<0)<<5|n>>>27)+(o&(i=i<<30|i>>>2)|~o&a)+r+1518500249+s[e+4]<<0,o=o<<30|o>>>2;for(;e<40;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n^o^i)+a+1859775393+s[e]<<0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^o)+i+1859775393+s[e+1]<<0)<<5|i>>>27)+(a^(r=r<<30|r>>>2)^n)+o+1859775393+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^r)+n+1859775393+s[e+3]<<0)<<5|n>>>27)+(o^(i=i<<30|i>>>2)^a)+r+1859775393+s[e+4]<<0,o=o<<30|o>>>2;for(;e<60;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n&o|n&i|o&i)+a-1894007588+s[e]<<0)<<5|a>>>27)+(r&(n=n<<30|n>>>2)|r&o|n&o)+i-1894007588+s[e+1]<<0)<<5|i>>>27)+(a&(r=r<<30|r>>>2)|a&n|r&n)+o-1894007588+s[e+2]<<0)<<5|o>>>27)+(i&(a=a<<30|a>>>2)|i&r|a&r)+n-1894007588+s[e+3]<<0)<<5|n>>>27)+(o&(i=i<<30|i>>>2)|o&a|i&a)+r-1894007588+s[e+4]<<0,o=o<<30|o>>>2;for(;e<80;e+=5)r=(t=(n=(t=(o=(t=(i=(t=(a=(t=r<<5|r>>>27)+(n^o^i)+a-899497514+s[e]<<0)<<5|a>>>27)+(r^(n=n<<30|n>>>2)^o)+i-899497514+s[e+1]<<0)<<5|i>>>27)+(a^(r=r<<30|r>>>2)^n)+o-899497514+s[e+2]<<0)<<5|o>>>27)+(i^(a=a<<30|a>>>2)^r)+n-899497514+s[e+3]<<0)<<5|n>>>27)+(o^(i=i<<30|i>>>2)^a)+r-899497514+s[e+4]<<0,o=o<<30|o>>>2;this.h0=this.h0+r<<0,this.h1=this.h1+n<<0,this.h2=this.h2+o<<0,this.h3=this.h3+i<<0,this.h4=this.h4+a<<0},Sha1.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4;return HEX_CHARS[e>>28&15]+HEX_CHARS[e>>24&15]+HEX_CHARS[e>>20&15]+HEX_CHARS[e>>16&15]+HEX_CHARS[e>>12&15]+HEX_CHARS[e>>8&15]+HEX_CHARS[e>>4&15]+HEX_CHARS[15&e]+HEX_CHARS[t>>28&15]+HEX_CHARS[t>>24&15]+HEX_CHARS[t>>20&15]+HEX_CHARS[t>>16&15]+HEX_CHARS[t>>12&15]+HEX_CHARS[t>>8&15]+HEX_CHARS[t>>4&15]+HEX_CHARS[15&t]+HEX_CHARS[r>>28&15]+HEX_CHARS[r>>24&15]+HEX_CHARS[r>>20&15]+HEX_CHARS[r>>16&15]+HEX_CHARS[r>>12&15]+HEX_CHARS[r>>8&15]+HEX_CHARS[r>>4&15]+HEX_CHARS[15&r]+HEX_CHARS[n>>28&15]+HEX_CHARS[n>>24&15]+HEX_CHARS[n>>20&15]+HEX_CHARS[n>>16&15]+HEX_CHARS[n>>12&15]+HEX_CHARS[n>>8&15]+HEX_CHARS[n>>4&15]+HEX_CHARS[15&n]+HEX_CHARS[o>>28&15]+HEX_CHARS[o>>24&15]+HEX_CHARS[o>>20&15]+HEX_CHARS[o>>16&15]+HEX_CHARS[o>>12&15]+HEX_CHARS[o>>8&15]+HEX_CHARS[o>>4&15]+HEX_CHARS[15&o]},Sha1.prototype.toString=Sha1.prototype.hex,Sha1.prototype.digest=function(){this.finalize();var e=this.h0,t=this.h1,r=this.h2,n=this.h3,o=this.h4;return[e>>24&255,e>>16&255,e>>8&255,255&e,t>>24&255,t>>16&255,t>>8&255,255&t,r>>24&255,r>>16&255,r>>8&255,255&r,n>>24&255,n>>16&255,n>>8&255,255&n,o>>24&255,o>>16&255,o>>8&255,255&o]},Sha1.prototype.array=Sha1.prototype.digest,Sha1.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(20),t=new DataView(e);return t.setUint32(0,this.h0),t.setUint32(4,this.h1),t.setUint32(8,this.h2),t.setUint32(12,this.h3),t.setUint32(16,this.h4),e};var exports=createMethod();COMMON_JS?module.exports=exports:(root.sha1=exports,AMD&&(__WEBPACK_AMD_DEFINE_RESULT__=function(){return exports}.call(exports,__webpack_require__,exports,module),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))})()}).call(this,__webpack_require__(202),__webpack_require__(51))},function(e,t,r){var n;!function(o){var i={starts_with_slashes:/^\/+/,ends_with_slashes:/\/+$/,pluses:/\+/g,query_separator:/[&;]/,uri_parser:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*)(?::([^:@]*))?)?@)?(\[[0-9a-fA-F:.]+\]|[^:\/?#]*)(?::(\d+|(?=:)))?(:)?)((((?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/};function a(e){return e&&(e=e.toString().replace(i.pluses,"%20"),e=decodeURIComponent(e)),e}function s(e){var t,r,n,o,s,l,c,u=[];if(null==e||""===e)return u;for(0===e.indexOf("?")&&(e=e.substring(1)),t=0,c=(r=e.toString().split(i.query_separator)).length;t<c;t++)0!==(o=(n=r[t]).indexOf("="))&&(s=a(n.substring(0,o)),l=a(n.substring(o+1)),u.push(-1===o?[n,null]:[s,l]));return u}function l(e){this.uriParts=function(e){var t=i.uri_parser.exec(e||""),r={};return["source","protocol","authority","userInfo","user","password","host","port","isColonUri","relative","path","directory","file","query","anchor"].forEach((function(e,n){r[e]=t[n]||""})),r}(e),this.queryPairs=s(this.uriParts.query),this.hasAuthorityPrefixUserPref=null}Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var r,n;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(r=t),n=0;n<i;){var a;n in o&&(a=o[n],e.call(r,a,n,o)),n++}}),["protocol","userInfo","host","port","path","anchor"].forEach((function(e){l.prototype[e]=function(t){return void 0!==t&&(this.uriParts[e]=t),this.uriParts[e]}})),l.prototype.hasAuthorityPrefix=function(e){return void 0!==e&&(this.hasAuthorityPrefixUserPref=e),null===this.hasAuthorityPrefixUserPref?-1!==this.uriParts.source.indexOf("//"):this.hasAuthorityPrefixUserPref},l.prototype.isColonUri=function(e){if(void 0===e)return!!this.uriParts.isColonUri;this.uriParts.isColonUri=!!e},l.prototype.query=function(e){var t,r,n,o="";for(void 0!==e&&(this.queryPairs=s(e)),t=0,n=this.queryPairs.length;t<n;t++)r=this.queryPairs[t],o.length>0&&(o+="&"),null===r[1]?o+=r[0]:(o+=r[0],o+="=",void 0!==r[1]&&(o+=encodeURIComponent(r[1])));return o.length>0?"?"+o:o},l.prototype.getQueryParamValue=function(e){var t,r,n;for(r=0,n=this.queryPairs.length;r<n;r++)if(e===(t=this.queryPairs[r])[0])return t[1]},l.prototype.getQueryParamValues=function(e){var t,r,n,o=[];for(t=0,n=this.queryPairs.length;t<n;t++)e===(r=this.queryPairs[t])[0]&&o.push(r[1]);return o},l.prototype.deleteQueryParam=function(e,t){var r,n,o,i,s,l=[];for(r=0,s=this.queryPairs.length;r<s;r++)o=a((n=this.queryPairs[r])[0])===a(e),i=n[1]===t,(1!==arguments.length||o)&&(2!==arguments.length||o&&i)||l.push(n);return this.queryPairs=l,this},l.prototype.addQueryParam=function(e,t,r){return 3===arguments.length&&-1!==r?(r=Math.min(r,this.queryPairs.length),this.queryPairs.splice(r,0,[e,t])):arguments.length>0&&this.queryPairs.push([e,t]),this},l.prototype.hasQueryParam=function(e){var t,r=this.queryPairs.length;for(t=0;t<r;t++)if(this.queryPairs[t][0]==e)return!0;return!1},l.prototype.replaceQueryParam=function(e,t,r){var n,o,i=-1,s=this.queryPairs.length;if(3===arguments.length){for(n=0;n<s;n++)if(a((o=this.queryPairs[n])[0])===a(e)&&decodeURIComponent(o[1])===a(r)){i=n;break}i>=0&&this.deleteQueryParam(e,a(r)).addQueryParam(e,t,i)}else{for(n=0;n<s;n++)if(a((o=this.queryPairs[n])[0])===a(e)){i=n;break}this.deleteQueryParam(e),this.addQueryParam(e,t,i)}return this},["protocol","hasAuthorityPrefix","isColonUri","userInfo","host","port","path","query","anchor"].forEach((function(e){var t="set"+e.charAt(0).toUpperCase()+e.slice(1);l.prototype[t]=function(t){return this[e](t),this}})),l.prototype.scheme=function(){var e="";return this.protocol()?(e+=this.protocol(),this.protocol().indexOf(":")!==this.protocol().length-1&&(e+=":"),e+="//"):this.hasAuthorityPrefix()&&this.host()&&(e+="//"),e},l.prototype.origin=function(){var e=this.scheme();return this.userInfo()&&this.host()&&(e+=this.userInfo(),this.userInfo().indexOf("@")!==this.userInfo().length-1&&(e+="@")),this.host()&&(e+=this.host(),(this.port()||this.path()&&this.path().substr(0,1).match(/[0-9]/))&&(e+=":"+this.port())),e},l.prototype.addTrailingSlash=function(){var e=this.path()||"";return"/"!==e.substr(-1)&&this.path(e+"/"),this},l.prototype.toString=function(){var e,t=this.origin();return this.isColonUri()?this.path()&&(t+=":"+this.path()):this.path()?(e=this.path(),i.ends_with_slashes.test(t)||i.starts_with_slashes.test(e)?(t&&t.replace(i.ends_with_slashes,"/"),e=e.replace(i.starts_with_slashes,"/")):t+="/",t+=e):this.host()&&(this.query().toString()||this.anchor())&&(t+="/"),this.query().toString()&&(t+=this.query().toString()),this.anchor()&&(0!==this.anchor().indexOf("#")&&(t+="#"),t+=this.anchor()),t},l.prototype.clone=function(){return new l(this.toString())},void 0===(n=function(){return l}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";var n=r(0);r(626);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o.apply(this,arguments)}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const a=()=>{};t.a=e=>{let{isDisabled:t,isSelected:r=!1,description:s,hideLabel:l=!1,label:c,name:u,value:d}=e,h=i(e,["isDisabled","isSelected","description","hideLabel","label","name","value"]);return n.createElement("div",{className:"radio-container"},n.createElement("label",{className:"radio-label"},n.createElement("input",o({checked:r,disabled:t,name:u,onChange:a,type:"radio",value:d},h)),n.createElement("span",null),n.createElement("span",{className:l?"accessibility-hidden":""},c)),s?n.createElement("div",{className:"radio-description"},s):null)}},function(e,t,r){"use strict";var n=r(259),o=r.n(n),i=r(47),a=r.n(i);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},{"be.accessStatsPermissionsError":"Sorry, you do not have permission to see the access stats for this file.","be.activityFeed.fullDateTime":"{time, date, full} at {time, time, short}","be.activityFeedItemApiError":"There was a problem loading the activity feed. Please refresh the page or try again later.","be.activitySidebar.activityFeed.annotationMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.commentMissingError":"This comment no longer exists","be.activitySidebar.activityFeed.feedInlineErrorTitle":"Error","be.activitySidebar.activityFeed.hideReplies":"Hide replies","be.activitySidebar.activityFeed.reply":"Reply","be.activitySidebar.activityFeed.replyInThread":"Reply in thread","be.activitySidebar.activityFeed.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.activitySidebar.activityFeed.taskMissingError":"This task no longer exists","be.activitySidebarFilter.status.allActivity":"All Activity","be.activitySidebarFilter.status.allComments":"All Comments","be.activitySidebarFilter.status.open":"Unresolved Comments","be.activitySidebarFilter.status.resolved":"Resolved Comments","be.activitySidebarFilter.status.tasks":"Tasks","be.add":"Add","be.additionalTab.blockedByShieldAccessPolicy":"Use of this app is blocked due to a security policy.","be.annotationThread.errorDeleteAnnotation":"There was an error deleting this item.","be.annotationThread.errorEditAnnotation":"This annotation could not be modified.","be.annotattionThread.errorFetchAnnotation":"The annotation could not be fetched.","be.api.appActivityDeleteErrorMessage":"There was an error deleting this item.","be.api.commentCreateConflictMessage":"This comment already exists.","be.api.commentCreateErrorMessage":"There was an error creating this comment.","be.api.commentDeleteErrorMessage":"There was an error deleting this comment.","be.api.commentUpdateErrorMessage":"This comment could not be modified.","be.api.repliesFetchErrorMessage":"The replies to this comment could not be loaded.","be.api.taskActionErrorTitle":"Error","be.api.taskApproveErrorMessage":"An error has occurred while approving this task. Please refresh the page and try again.","be.api.taskCompleteErrorMessage":"An error has occurred while completing this task. Please refresh the page and try again.","be.api.taskCreateErrorMessage":"An error occurred while creating this task. Please try again.","be.api.taskDeleteErrorMessage":"There was an error while deleting this task. Please refresh the page and try again.","be.api.taskGroupExceedsWarningTitle":"One or more groups can not receive this task as a group size cannot exceed the limit of {max} assignees per group.","be.api.taskRejectErrorMessage":"An error has occurred while rejecting this task. Please refresh the page and try again.","be.appActivity.altIcon":"{appActivityName} Icon","be.appActivity.deleteMenuItem":"Delete","be.appActivity.deletePrompt":"Are you sure you want to permanently delete this app activity?","be.back":"Back","be.bookmark":"Bookmark","be.boxEditBlacklistedError":"This file cannot be opened locally","be.boxEditErrorBlockedByPolicy":"Local editing of this content has been disabled based on an access policy","be.boxToolsInstallMessage":"Install {boxTools} to open this file on your desktop","be.cancel":"Cancel","be.choose":"Choose","be.close":"Close","be.collaboratedFolder":"Collaborated Folder","be.collapse":"Collapse","be.contentInsights.contentAnalyticsErrorText":"There was a problem loading content insights. Please try again.","be.contentInsights.contentAnalyticsPermissionError":"Oops! You no longer have access to view content insights.","be.contentInsights.contentInsightsTitle":"Content Insights","be.contentInsights.downloadGraphLabel":"Chart displaying the number of downloads over the selected time period","be.contentInsights.downloadGraphType":"DOWNLOADS","be.contentInsights.openContentInsightsButton":"See Details","be.contentInsights.peopleGraphLabel":"Chart displaying the number of users over the selected time period","be.contentInsights.peopleTitle":"PEOPLE","be.contentInsights.previewGraphLabel":"Chart displaying the number of previews over the selected time period","be.contentInsights.previewGraphType":"PREVIEWS","be.contentInsights.trendDown":"Trending down","be.contentInsights.trendMonth":"PAST MONTH","be.contentInsights.trendThreeMonths":"PAST 3 MONTHS","be.contentInsights.trendUp":"Trending up","be.contentInsights.trendWeek":"PAST WEEK","be.contentInsights.trendYear":"PAST YEAR","be.contentSharing.badRequestError":"The request for this item was malformed.","be.contentSharing.collaboratorsLoadingError":"Could not retrieve collaborators for this item.","be.contentSharing.getContactsError":"Could not retrieve contacts.","be.contentSharing.loadingError":"Could not load shared link for this item.","be.contentSharing.noAccessError":"You do not have access to this item.","be.contentSharing.notFoundError":"Could not find shared link for this item.","be.contentSharing.sendInvitesError":"Could not send invites.","be.contentSharing.sendInvitesSuccess":"Successfully invited collaborators.","be.contentSharing.sharedLinkRemovalSuccess":"The shared link for this item was removed.","be.contentSharing.sharedLinkSettingsUpdateSuccess":"The shared link for this item was successfully updated.","be.contentSharing.sharedLinkUpdateError":"Could not update the shared link for this item.","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.annotationActivity.annotationActivityDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.annotationActivity.annotationActivityEditMenuItem":"Modify","be.contentSidebar.activityFeed.annotationActivity.annotationActivityPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.annotationActivity.annotationActivityResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.annotationActivity.annotationActivityUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.annotationActivityPageItem":"Page {number}","be.contentSidebar.activityFeed.annotationActivityVersionLink":"Version {number}","be.contentSidebar.activityFeed.annotationActivityVersionUnavailable":"Version Unavailable","be.contentSidebar.activityFeed.comment.commentDeleteMenuItem":"Delete","be.contentSidebar.activityFeed.comment.commentDeletePrompt":"Are you sure you want to permanently delete this comment?","be.contentSidebar.activityFeed.comment.commentEditMenuItem":"Modify","be.contentSidebar.activityFeed.comment.commentPostedFullDateTime":"{time, date, full} at {time, time, short}","be.contentSidebar.activityFeed.comment.commentResolveMenuItem":"Resolve","be.contentSidebar.activityFeed.comment.commentUnresolveMenuItem":"Unresolve","be.contentSidebar.activityFeed.comment.hideReplies":"Hide replies","be.contentSidebar.activityFeed.comment.inlineCommentAnnotationIconTitle":"Inline Comment","be.contentSidebar.activityFeed.comment.reply":"Reply","be.contentSidebar.activityFeed.comment.replyInThread":"Reply in thread","be.contentSidebar.activityFeed.comment.showReplies":"See {repliesToLoadCount, plural, one {# reply} other {# replies}}","be.contentSidebar.activityFeed.commentForm.approvalAddAssignee":"Add an assignee","be.contentSidebar.activityFeed.commentForm.approvalAddTask":"Add Task","be.contentSidebar.activityFeed.commentForm.approvalAddTaskTooltip":"Assigning a task to someone will send them a notification with the message in the comment box and allow them to approve or deny.","be.contentSidebar.activityFeed.commentForm.approvalAssignees":"Assignees","be.contentSidebar.activityFeed.commentForm.approvalDueDate":"Due Date","be.contentSidebar.activityFeed.commentForm.approvalSelectDate":"Select a date","be.contentSidebar.activityFeed.commentForm.atMentionTip":"@mention users to notify them.","be.contentSidebar.activityFeed.commentForm.atMentionTipDescription":"Use the @ symbol to mention users and use the up and down arrow keys to scroll through autocomplete suggestions.","be.contentSidebar.activityFeed.commentForm.commentCancel":"Cancel","be.contentSidebar.activityFeed.commentForm.commentLabel":"Write a comment","be.contentSidebar.activityFeed.commentForm.commentPost":"Post","be.contentSidebar.activityFeed.commentForm.commentWrite":"Write a comment","be.contentSidebar.activityFeed.commmon.showOriginalMessage":"Show Original","be.contentSidebar.activityFeed.common.activityStatusResolved":"RESOLVED","be.contentSidebar.activityFeed.common.editedMessage":" (edited)","be.contentSidebar.activityFeed.common.seeLessMessage":"See less","be.contentSidebar.activityFeed.common.seeMoreMessage":"See more","be.contentSidebar.activityFeed.common.translateMessage":"Translate","be.contentSidebar.activityFeed.task.approvalTaskAnnotationIconTitle":"Approval Task","be.contentSidebar.activityFeed.task.generalTaskAnnotationIconTitle":"General Task","be.contentSidebar.activityFeed.task.taskAnyAffordanceTooltip":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.task.taskDeleteMenuItem":"Delete task","be.contentSidebar.activityFeed.task.taskDeletePrompt":"Are you sure you want to permanently delete this task?","be.contentSidebar.activityFeed.task.taskEditMenuItem":"Modify task","be.contentSidebar.activityFeed.task.taskMultipleFilesAffordanceTooltip":"There are multiple files associated with this task","be.contentSidebar.activityFeed.taskForm.taskAnyCheckboxLabel":"Only one assignee is required to complete this task","be.contentSidebar.activityFeed.taskForm.taskAnyInfoGroupTooltip":"Selecting this option will require only one assignee to complete this task. This will include assignees across all groups.","be.contentSidebar.activityFeed.taskForm.taskAnyInfoTooltip":"By default, all assignees are required to take action before a task is complete. Selecting this option will require only one assignee to complete this task.","be.contentSidebar.activityFeed.taskForm.taskApprovalAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now approved.","be.contentSidebar.activityFeed.taskForm.taskCreateErrorTitle":"Error","be.contentSidebar.activityFeed.taskForm.taskCreateGroupLabel":"Group","be.contentSidebar.activityFeed.taskForm.taskEditWarningTitle":"Task Updated with Errors","be.contentSidebar.activityFeed.taskForm.taskGeneralAssigneeRemovalWarningMessage":"Unable to remove assignee(s) because the task is now completed.","be.contentSidebar.activityFeed.taskForm.taskGroupExceedsWarningTitle":"Exceeded max assignees per group","be.contentSidebar.activityFeed.taskForm.taskUpdateErrorMessage":"An error occurred while modifying this task. Please try again.","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormCancelLabel":"Cancel","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormDueDateLabel":"Due Date","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormMessageLabel":"Message","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSelectAssigneesLabel":"Select Assignees","be.contentSidebar.activityFeed.taskForm.tasksAddTaskFormSubmitLabel":"Create","be.contentSidebar.activityFeed.taskForm.tasksEditTaskFormSubmitLabel":"Update","be.contentSidebar.activityFeed.taskNew.taskAssignmentCompleted":"Completed","be.contentSidebar.activityFeed.taskNew.taskCollaboratorLoadErrorMessage":"An error has occurred while loading collaborators for this task. Please try again.","be.contentSidebar.activityFeed.taskNew.taskDueDateLabel":"Due: {date}","be.contentSidebar.activityFeed.taskNew.taskFeedStatusDue":"DUE {dateTime}","be.contentSidebar.activityFeed.taskNew.taskShowLessAssignees":"Show Less","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssignees":"Show {additionalAssigneeCount} More","be.contentSidebar.activityFeed.taskNew.taskShowMoreAssigneesOverflow":"{additionalAssigneeCount, plural, one {Show #+ More} other {Show #+ More}}","be.contentSidebar.activityFeed.taskNew.tasksFeedApproveAction":"Approve","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedLabel":"Approved","be.contentSidebar.activityFeed.taskNew.tasksFeedApprovedUppercaseLabel":"APPROVED","be.contentSidebar.activityFeed.taskNew.tasksFeedAssigneeListTitle":"Assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedCompleteAction":"Mark as Complete","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedLabel":"Completed","be.contentSidebar.activityFeed.taskNew.tasksFeedCompletedUppercaseLabel":"COMPLETED","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApproval":"{user} assigned an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineApprovalCurrentUser":"{user} assigned you an Approval Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneral":"{user} assigned a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedHeadlineGeneralCurrentUser":"{user} assigned you a Task","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressLabel":"In Progress","be.contentSidebar.activityFeed.taskNew.tasksFeedInProgressUppercaseLabel":"IN PROGRESS","be.contentSidebar.activityFeed.taskNew.tasksFeedMoreAssigneesLabel":"See all assignees","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectAction":"Reject","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedLabel":"Rejected","be.contentSidebar.activityFeed.taskNew.tasksFeedRejectedUppercaseLabel":"REJECTED","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusApproved":"Approved {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusCompleted":"Completed {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedStatusRejected":"Rejected {dateTime}","be.contentSidebar.activityFeed.taskNew.tasksFeedViewDetailsAction":"View Task Details","be.contentSidebar.addTask":"Add Task","be.contentSidebar.addTask.approval":"Approval Task","be.contentSidebar.addTask.approval.description":"Assignees will be responsible for approving or rejecting tasks","be.contentSidebar.addTask.approval.title":"Create Approval Task","be.contentSidebar.addTask.general":"General Task","be.contentSidebar.addTask.general.description":"Assignees will be responsible for marking tasks as complete","be.contentSidebar.addTask.general.title":"Create General Task","be.contentSidebar.boxSignFtuxBody":"Sign documents or send signature requests, right from where your content lives","be.contentSidebar.boxSignFtuxTitle":"Box Sign - Secure, seamless e-signatures in Box","be.contentSidebar.boxSignRequest":"Request Signature","be.contentSidebar.boxSignRequestSignature":"Request Signature","be.contentSidebar.boxSignSecurityBlockedTooltip":"This action is unavailable due to a security policy.","be.contentSidebar.boxSignSignMyself":"Sign Myself","be.contentSidebar.boxSignSignature":"Sign","be.contentSidebar.boxSignWatermarkBlockedTooltip":"This action is unavailable, because the file is watermarked.","be.contentSidebar.editTask.approval.title":"Modify Approval Task","be.contentSidebar.editTask.general.title":"Modify General Task","be.copy":"Copy","be.create":"Create","be.createDialogErrorInUse":"A folder with the same name already exists.","be.createDialogErrorInvalid":"This is an invalid folder name.","be.createDialogErrorTooLong":"This folder name is too long.","be.createDialogLabel":"New Folder","be.createDialogText":"Please enter a name.","be.currentUserErrorHeaderMessage":"Something went wrong when fetching the current user.","be.dateASC":"Date: Oldest → Newest","be.dateDESC":"Date: Newest → Oldest","be.defaultErrorMaskHeaderMessage":"We’re sorry, something went wrong.","be.defaultErrorMaskSubHeaderMessage":"Please refresh the page or try again later.","be.defaultInlineErrorContentMessage":"Please try again later.","be.defaultOpenWithDescription":"Open this file with a partner service","be.defaultSkill":"Skill Card","be.delete":"Delete","be.deleteDialogFileText":"Are you sure you want to delete {name}?","be.deleteDialogFolderText":"Are you sure you want to delete {name} and all its contents?","be.deleteDialogLabel":"Confirm Delete","be.description":"Description","be.descriptionPlaceholder":"Enter a description","be.download":"Download","be.drawAnnotation":"Drawing annotation mode","be.editLabel":"Edit","be.emptyOpenWithDescription":"No integrations are available for this file","be.error":"Error","be.errorBreadcrumb":"Error","be.errorOccured":"An error occurred","be.errorOpenWithDescription":"Opening this file with other services is currently unavailable","be.errorState":"A network error has occurred while trying to load.","be.executeIntegrationOpenWithErrorHeader":"We’re sorry, this integration is currently unavailable.","be.executeIntegrationOpenWithErrorSubHeader":"Please try again later.","be.expand":"Expand","be.externalFolder":"External Folder","be.faceSkill":"Faces","be.feedbackCtaText":"Click to provide feedback","be.feedbackFormDescription":"Beta Feedback Form","be.file":"File","be.fileAccessStatsErrorHeaderMessage":"Something went wrong when fetching the access stats.","be.fileClassificationErrorHeaderMessage":"Something went wrong when fetching classification.","be.fileDescriptionInlineErrorTitleMessage":"Something went wrong when saving the description.","be.fileRequestDisplayName":"File Request","be.folderState":"There are no items in this folder.","be.getVersionInfo":"Get version information","be.gridView":"Switch to Grid View","be.gridView.columnSize":"Column size","be.gridView.decreaseColumnSize":"Decrease column size","be.gridView.increaseColumnSize":"Increase column size","be.in":"In","be.interactedDate":"Last accessed on {date}","be.itemCreated":"Created","be.itemInteracted":"Last Accessed","be.itemModified":"Modified","be.itemName":"Name","be.itemOwner":"Owner","be.itemSize":"Size","be.itemUploader":"Uploader","be.keywordSkill":"Topics","be.keywordsAppliedList":"Keywords were applied","be.keywordsList":"Keywords: {words}","be.listView":"Switch to List View","be.loadingState":"Please wait while the items load...","be.logo":"Logo","be.max":"max","be.messageCenter.all":"All","be.messageCenter.boxEducation":"Box Education","be.messageCenter.errorFetchingPosts":"Sorry, we are having trouble showing posts at the moment. It may help to refresh the page.","be.messageCenter.events":"Events","be.messageCenter.noPosts":"There are no posts for this category at the moment.","be.messageCenter.previewError":"Sorry, we're having trouble showing this image. ","be.messageCenter.product":"Product","be.messageCenter.title":"What's New","be.metadataState":"There are no items in this folder.","be.modifiedDate":"Modified {date}","be.modifiedDateBy":"Modified {date} by {name}","be.moreOptions":"More options","be.nameASC":"Name: A → Z","be.nameDESC":"Name: Z → A","be.nameDate":"{date} by {name}","be.newFolder":"New Folder","be.nextFile":"Next File","be.nextSegment":"Next Segment","be.noActivity":"No activity to show","be.noActivityAnnotationPrompt":"Hover over the preview and use the controls at the bottom to annotate the file.","be.noActivityCommentPrompt":"Comment and @mention people to notify them.","be.open":"Open","be.pagination.nextPage":"Next Page","be.pagination.pageStatus":"{pageNumber} of {pageCount}","be.pagination.previousPage":"Previous Page","be.personalFolder":"Personal Folder","be.pointAnnotation":"Point annotation mode","be.preview":"Preview","be.previewError":"We’re sorry, the preview didn’t load. Please refresh the page.","be.previewErrorBlockedByPolicy":"Your access to this content is restricted due to a security policy.","be.previewUpdate":"A new version of this file is available.","be.previousFile":"Previous File","be.previousSegment":"Previous Segment","be.print":"Print","be.priorCollaborator":"A Prior Collaborator","be.recentsBreadcrumb":"Recents","be.recentsState":"There are no recent items yet.","be.reload":"Reload","be.remove":"Remove","be.rename":"Rename","be.renameDialogErrorInUse":"An item with the same name already exists.","be.renameDialogErrorInvalid":"This name is invalid.","be.renameDialogErrorTooLong":"This name is too long.","be.renameDialogLabel":"Rename","be.renameDialogText":"Please enter a new name for {name}:","be.resume":"Resume","be.resumeAll":"Resume All","be.retry":"Retry","be.rootBreadcrumb":"All Files","be.save":"Save","be.searchBreadcrumb":"Search Results","be.searchPlaceholder":"Search files and folders","be.searchState":"Sorry, we couldn’t find what you’re looking for.","be.selected":"{count} Selected","be.selectedBreadcrumb":"Selected Items","be.selectedState":"You haven’t selected any items yet.","be.share":"Share","be.shareAccessCollab":"Access: People in this folder","be.shareAccessCompany":"People in this company","be.shareAccessNone":"No shared link","be.shareAccessOpen":"Access: People with the link","be.shareAccessRemove":"Remove shared link","be.shareDialogLabel":"Share","be.shareDialogNone":"None","be.shareDialogText":"Shared Link:","be.sidebarAccessStats":"Access Stats","be.sidebarActivityTitle":"Activity","be.sidebarContentInsights":"Content Insights","be.sidebarDetailsTitle":"Details","be.sidebarFileFetchingErrorContent":"An error has occurred while fetching your Box file. Please refresh the page and try again.","be.sidebarHide":"Hide Sidebar","be.sidebarMetadataEditingErrorContent":"An error has occurred while updating metadata. Please refresh the page and try again.","be.sidebarMetadataFetchingErrorContent":"An error has occurred while fetching metadata. Please refresh the page and try again.","be.sidebarMetadataTitle":"Metadata","be.sidebarNavLabel":"Sidebar","be.sidebarProperties":"File Properties","be.sidebarShow":"Show Sidebar","be.sidebarSkillsErrorContent":"An error has occurred while updating skills. Please refresh the page and try again.","be.sidebarSkillsErrorTitle":"Skills Error","be.sidebarSkillsTitle":"Skills","be.sidebarVersions.current":"Current Version","be.sidebarVersions.delete":"Delete","be.sidebarVersions.deleteError":"File version could not be deleted.","be.sidebarVersions.deletedBy":"Deleted by {name}","be.sidebarVersions.disabledByRetention":"Disabled by retention policy","be.sidebarVersions.download":"Download","be.sidebarVersions.downloadError":"File version could not be downloaded.","be.sidebarVersions.empty":"No prior versions are available for this file.","be.sidebarVersions.fetchError":"File versions could not be retrieved.","be.sidebarVersions.fileRequestDisplayName":"File Request","be.sidebarVersions.notAvailable":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.preview":"Preview","be.sidebarVersions.priorWeek":"Last Week","be.sidebarVersions.promote":"Make Current","be.sidebarVersions.promoteError":"File version could not be made current.","be.sidebarVersions.promotedBy":"Promoted from v{versionPromoted} by {name}","be.sidebarVersions.restore":"Restore","be.sidebarVersions.restoreError":"File version could not be restored.","be.sidebarVersions.restoredBy":"Restored by {name}","be.sidebarVersions.serverError":"Server Error","be.sidebarVersions.thisMonth":"This Month","be.sidebarVersions.title":"Version History","be.sidebarVersions.today":"Today","be.sidebarVersions.toggle":"Toggle Actions Menu","be.sidebarVersions.upgradeButton":"Upgrade","be.sidebarVersions.upgradeLink":"Upgrade Now","be.sidebarVersions.uploadedBy":"Uploaded by {name}","be.sidebarVersions.versionLimitExceeded":"You are limited to the last {versionLimit, number} {versionLimit, plural, one {version} other {versions}}.","be.sidebarVersions.versionMaxEntries":"Version history is limited to the last {maxVersions} entries.","be.sidebarVersions.versionNumberBadge":"V{versionNumber}","be.sidebarVersions.versionNumberLabel":"Version number {versionNumber}","be.sidebarVersions.versionRetentionDelete":"Will be deleted {time} by retention policy.","be.sidebarVersions.versionRetentionIndefinite":"Retained indefinitely by retention policy.","be.sidebarVersions.versionRetentionRemove":"Retention policy expires on {time}.","be.sidebarVersions.versionUpsell":"Sorry, version history is not available with your current account plan. To access versioning, select from one of our paid plans.","be.sidebarVersions.versionUserUnknown":"Unknown","be.sidebarVersions.yesterday":"Yesterday","be.sizeASC":"Size: Smallest → Largest","be.sizeDESC":"Size: Largest → Smallest","be.skillFileProcessingError":"We’re sorry, something went wrong with processing the file.","be.skillInvalidFileExtensionError":"We’re sorry, no skills information was found. This file extension is currently not supported.","be.skillInvalidFileSizeError":"We’re sorry, no skills information was found. This file size is currently not supported.","be.skillInvokedStatus":"We’re preparing to process your file - please hold!","be.skillNoInfoFoundError":"We’re sorry, no skills information was found.","be.skillPendingStatus":"We’re working on processing your file - please hold!","be.skillUnknownError":"Something went wrong with running this skill or fetching its data.","be.sort":"Sort","be.statusSkill":"Status","be.today":"today","be.topicsSkill":"Topics","be.transcriptEdit":"Click any section to edit.","be.transcriptSkill":"Transcript","be.upload":"Upload","be.uploadEmptyFileInput":"Browse your device","be.uploadEmptyFolderInput":"Select Folders","be.uploadEmptyWithFolderUploadDisabled":"Drag and drop files","be.uploadEmptyWithFolderUploadEnabled":"Drag and drop files and folders","be.uploadError":"A network error has occurred while trying to upload.","be.uploadErrorTooManyFiles":"You can only upload up to {fileLimit} file(s) at a time.","be.uploadInProgress":"Drag and drop to add additional files","be.uploadNoDragDrop":"Select files from your device","be.uploadOptions":"{option1} or {option2}","be.uploadSuccess":"Success! Your files have been uploaded.","be.uploadSuccessFileInput":"Select More Files","be.uploadSuccessFolderInput":"Select More Folders","be.uploadsCancelButtonTooltip":"Cancel this upload","be.uploadsDefaultErrorMessage":"Something went wrong with the upload. Please try again.","be.uploadsFileSizeLimitExceededErrorMessage":"File size exceeds the folder owner’s file size limit","be.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta":"This file exceeds your plan’s upload limit. Upgrade now to store larger files.","be.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta":"Upgrade","be.uploadsItemNameInUseErrorMessage":"A file with this name already exists.","be.uploadsManagerUploadComplete":"Completed","be.uploadsManagerUploadFailed":"Some Uploads Failed","be.uploadsManagerUploadInProgress":"Uploading","be.uploadsManagerUploadPrompt":"Drop files on this page to upload them into this folder.","be.uploadsOneOrMoreChildFoldersFailedToUploadMessage":"One or more child folders failed to upload.","be.uploadsPackageUploadErrorMessage":"Failed to upload package file. Please retry by saving as a single file.","be.uploadsPendingFolderSizeLimitErrorMessage":"Pending app folder size limit exceeded","be.uploadsProvidedFolderNameInvalidMessage":"Provided folder name, {name}, could not be used to create a folder.","be.uploadsRetryButtonTooltip":"Retry upload","be.uploadsStorageLimitErrorMessage":"Account storage limit reached","be.versionDeleted":"{name} deleted v{version_number}","be.versionMultipleUsersUploaded":"{numberOfCollaborators} collaborators uploaded v{versions}","be.versionPromoted":"{name} promoted v{version_promoted} to v{version_number}","be.versionRestored":"{name} restored v{version_number}","be.versionUploadCollapsed":"{name} uploaded v{versions}","be.versionUploaded":"{name} uploaded v{version_number}","be.yesterday":"yesterday","boxui.accessStats.accessStatsComments":"Comments","boxui.accessStats.accessStatsDownloads":"Downloads","boxui.accessStats.accessStatsEdits":"Edits","boxui.accessStats.accessStatsPreviews":"Previews","boxui.accessStats.accessStatsViewDetails":"View Details","boxui.accessStats.accessStatsViews":"Views","boxui.advancedContentInsights.advancedContentInsightsDescription":"Get actionable insights into how viewers are engaging with this content. Measure average time spent, page-by-page engagement, per person and per visit details.","boxui.advancedContentInsights.advancedContentInsightsTitleDisabled":"Activate Engagement Insights","boxui.advancedContentInsights.advancedContentInsightsTitleEnabled":"Engagement Insights is activated","boxui.avatar.externalUser":"External user","boxui.badges.beta":"BETA","boxui.badges.trial":"TRIAL","boxui.badges.upgrade":"UPGRADE","boxui.base.nextMonth":"Next Month","boxui.base.previousMonth":"Previous Month","boxui.breadcrumb.breadcrumbLabel":"Breadcrumb","boxui.categorySelector.label.more":"More","boxui.checkboxTooltip.iconInfoText":"Info","boxui.classification.add":"Add","boxui.classification.classification":"Classification","boxui.classification.classificationDarkBlue":"Dark Blue","boxui.classification.classificationGreen":"Green","boxui.classification.classificationGrey":"Grey","boxui.classification.classificationLightBlue":"Light Blue","boxui.classification.classificationOrange":"Orange","boxui.classification.classificationPurple":"Purple","boxui.classification.classificationRed":"Red","boxui.classification.classificationYellow":"Yellow","boxui.classification.definition":"Definition","boxui.classification.edit":"Edit","boxui.classification.importedBy":"Imported from {modifiedBy} on {modifiedAt}","boxui.classification.missing":"Not classified","boxui.classification.modifiedBy":"Applied by {modifiedBy} on {modifiedAt}","boxui.classification.modifiedByLabel":"Classification Label","boxui.collaboratorAvatars.collaboration.pendingCollabText":"Pending","boxui.collaboratorAvatars.collaboratorAvatarsLabel":"Shared with","boxui.collaboratorAvatars.collaborators.expirationTooltipText":"Access expires on {date}","boxui.collaboratorAvatars.collaborators.externalCollabTooltipText":"{email} is from outside of your company","boxui.collaboratorAvatars.manageAllLinkText":"Manage All","boxui.collaboratorAvatars.viewAdditionalPeopleText":"View additional people","boxui.collapsiblesidebar.collapseBtnLabel":"Collapse","boxui.collapsiblesidebar.expandBtnLabel":"Expand","boxui.contentAnswers.ask":"Ask","boxui.contentAnswers.askDisabledTooltip":"You can submit another question once Box AI has finished responding","boxui.contentAnswers.askQuestionPlaceholder":"Ask anything about this document","boxui.contentAnswers.contentAnswersTitle":"Box AI","boxui.contentAnswers.defaultTooltip":"Get instant answers about this document using Box AI","boxui.contentAnswers.disabledTooltipFileNotCompatible":"Box AI is not currently supported for this file type","boxui.contentAnswers.hasQuestionsTooltip":"Return to Box AI","boxui.contentAnswers.inlineErrorText":"The Box AI service was unavailable.","boxui.contentAnswers.intelligenceUnavailableDescription":"The Box AI service is not responding.","boxui.contentAnswers.intelligenceUnavailableHeading":"Box AI is unavailable","boxui.contentAnswers.intelligenceUnavailableTryAgain":"Please try again later.","boxui.contentAnswers.maxCharactersReachedError":"Maximum of {characterLimit} characters reached","boxui.contentAnswers.retryResponse":"Retry","boxui.contentAnswers.welcomeAskQuestionText":"Ask questions about {name}","boxui.contentAnswers.welcomeClearChatText":"This chat will be cleared when you close this document","boxui.contentAnswers.welcomeMessageTitle":"Welcome to Box AI","boxui.contentExplorer.breadcrumb":"Breadcrumb","boxui.contentExplorer.cancel":"Cancel","boxui.contentExplorer.choose":"Choose","boxui.contentExplorer.clickToGoBack":"Click to go back","boxui.contentExplorer.clickToViewPath":"Click to view path","boxui.contentExplorer.copy":"Copy","boxui.contentExplorer.emptyFolder":"There are no subfolders in this folder.","boxui.contentExplorer.emptySearch":"Sorry, we couldn't find what you're looking for.","boxui.contentExplorer.filepath":"File path","boxui.contentExplorer.folderTreeBreadcrumbsText":"{folderName} ({totalItems})","boxui.contentExplorer.includeSubfolders":"Include Subfolders","boxui.contentExplorer.move":"Move","boxui.contentExplorer.name":"Name","boxui.contentExplorer.newFolder":"New Folder","boxui.contentExplorer.numFoldersSelected":"{numSelected, plural, =0 {0 folders selected} one {1 folder selected} other {# folders selected} } ","boxui.contentExplorer.numItemsSelected":"{numSelected, plural, =0 {0 items selected} one {1 item selected} other {# items selected} } ","boxui.contentExplorer.numSelected":"{numSelected} Selected","boxui.contentExplorer.result":"{itemsCount} result","boxui.contentExplorer.results":"{itemsCount} results","boxui.contentExplorer.searchPlaceholder":"Search","boxui.contentExplorer.searchResults":"Search Results","boxui.contentExplorer.selectAll":"Select All","boxui.contentExplorer.selectItem":"Select {name}","boxui.contentexplorer.newFolder.forbidden":"You do not have permission to create a folder here.","boxui.core.cancel":"Cancel","boxui.core.close":"Close","boxui.core.copied":"Copied","boxui.core.copy":"Copy","boxui.core.done":"Done","boxui.core.guidetooltip.navigation":"{currentStepIndex} of {totalNumSteps}","boxui.core.hotkeys.altKey":"Alt","boxui.core.hotkeys.ctrlKey":"Ctrl","boxui.core.hotkeys.enterKey":"Enter","boxui.core.hotkeys.escKey":"Esc","boxui.core.hotkeys.hotkeyModalTitle":"Keyboard Shortcuts","boxui.core.hotkeys.hotkeySequence":"{key1} then {key2}","boxui.core.hotkeys.shiftKey":"Shift","boxui.core.hotkeys.spacebarKey":"Spacebar","boxui.core.okay":"Okay","boxui.core.optional":"optional","boxui.core.save":"Save","boxui.core.selection.deselectAllDescription":"Deselect all items","boxui.core.selection.downDescription":"Select next item","boxui.core.selection.selectAllDescription":"Select all items","boxui.core.selection.shiftDownDescription":"Add next item to current selection","boxui.core.selection.shiftUpDescription":"Add previous item to current selection","boxui.core.selection.shiftXDescription":"Select current item","boxui.core.selection.upDescription":"Select previous item","boxui.core.send":"Send","boxui.datePicker.chooseDate":"Choose Date","boxui.datePicker.dateClearButton":"Clear Date","boxui.datePicker.dateInputMaxError":"Please enter a date before {maxLocaleDate}","boxui.datePicker.dateInputMinError":"Please enter a date after {minLocaleDate}","boxui.datePicker.dateInputRangeError":"Please enter a date between {minLocaleDate} and {maxLocaleDate}","boxui.datePicker.iconAlertText":"Invalid Date","boxui.draftjs.mentionSelector.noUsersFound":"No users found","boxui.draftjs.mentionSelector.startMention":"Mention someone to notify them","boxui.draftjs.mentionSelector.usersFound":"{usersCount, plural, one {one user found} other {{usersCount} users found}}","boxui.errorMask.iconSadCloudText":"Sad Box Cloud","boxui.features.VirtualizedTableRenderers.allFiles":"All Files","boxui.features.VirtualizedTableRenderers.anonymousUser":"Anonymous User","boxui.features.VirtualizedTableRenderers.externalFile":"External File","boxui.features.VirtualizedTableRenderers.externalFolder":"External Folder","boxui.features.VirtualizedTableRenderers.lastModifiedBy":"{lastModified} by {user}","boxui.features.VirtualizedTableRenderers.unknownUser":"Unknown User","boxui.itemDetails.bookmarkExpiration":"This bookmark will be deleted on {expiration}.","boxui.itemDetails.created":"Created","boxui.itemDetails.deleted":"Deleted","boxui.itemDetails.description":"Description","boxui.itemDetails.descriptionPlaceholder":"Enter a description","boxui.itemDetails.enterpriseOwner":"Enterprise Owner","boxui.itemDetails.fileExpiration":"This file will be deleted on {expiration}.","boxui.itemDetails.folderExpiration":"This folder will be deleted on {expiration}.","boxui.itemDetails.modified":"Modified","boxui.itemDetails.owner":"Owner","boxui.itemDetails.retentionPolicyDescription":"Policy","boxui.itemDetails.retentionPolicyExpiration":"Policy Expiration","boxui.itemDetails.retentionPolicyExtend":"Extend","boxui.itemDetails.savedVersions":"{versionCount, number} Saved Versions","boxui.itemDetails.sharedLinkExpiration":"This shared link will be disabled on {expiration}.","boxui.itemDetails.size":"Size","boxui.itemDetails.uploader":"Uploader","boxui.itemDetails.url":"URL","boxui.itemDetails.urlPlaceholder":"Enter a valid url","boxui.media.menuButtonArialLabel":"Options","boxui.metadataInstanceEditor.allAttributesAreHidden":"All attributes in this template have been hidden.","boxui.metadataInstanceEditor.applyCascadePolicyText":"Apply template and its values to all new and existing items in this folder and its subfolders.","boxui.metadataInstanceEditor.cannotApplyCascadePolicyText":"Cascade policy cannot be applied to custom metadata at this time.","boxui.metadataInstanceEditor.cascadePolicyLearnMore":"Learn more","boxui.metadataInstanceEditor.cascadePolicyModeQuestion":"In the case of conflicts when applying this template and its values to existing items, what would you like to do? This is a one time action.","boxui.metadataInstanceEditor.cascadePolicyOverwriteMode":"Overwrite all existing template values","boxui.metadataInstanceEditor.cascadePolicySkipMode":"Skip and keep all existing template values","boxui.metadataInstanceEditor.customAdd":"Add","boxui.metadataInstanceEditor.customErrorDuplicateKey":"A field with that key already exists.","boxui.metadataInstanceEditor.customErrorInternalKey":"Keys cannot begin with a $.","boxui.metadataInstanceEditor.customErrorRequired":"A key is required.","boxui.metadataInstanceEditor.customKey":"Key","boxui.metadataInstanceEditor.customKeyPlaceholder":"e.g. Order Number","boxui.metadataInstanceEditor.customNewField":"New Field","boxui.metadataInstanceEditor.customNewFieldMessage":"Add a custom metadata field. Other people will be able to see and search for this field.","boxui.metadataInstanceEditor.customRemove":"Remove","boxui.metadataInstanceEditor.customTitle":"Custom Metadata","boxui.metadataInstanceEditor.customValue":"Value","boxui.metadataInstanceEditor.customValuePlaceholder":"e.g. 42","boxui.metadataInstanceEditor.editTooltip":"Edit Metadata","boxui.metadataInstanceEditor.enableCascadePolicy":"Enable Cascade Policy","boxui.metadataInstanceEditor.fileMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values from this file?","boxui.metadataInstanceEditor.fileMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values from this file?',"boxui.metadataInstanceEditor.folderMetadataRemoveCustomTemplateConfirm":"Are you sure you want to delete this custom metadata and all of its values? Any metadata template values already applied to files in this folder will not be deleted.","boxui.metadataInstanceEditor.folderMetadataRemoveTemplateConfirm":'Are you sure you want to delete "{metadataName}" and all of its values? Any metadata template values already applied to files in this folder will not be deleted.',"boxui.metadataInstanceEditor.invalidValue":"Invalid Input!","boxui.metadataInstanceEditor.metadataCancel":"Cancel","boxui.metadataInstanceEditor.metadataCascadePolicyEnabledInfo":"This template and its values are being cascaded to all items in this folder and its subfolders.","boxui.metadataInstanceEditor.metadataSave":"Save","boxui.metadataInstanceEditor.noAttributesForTemplate":"There are no attributes in this template.","boxui.metadataInstanceEditor.noMetadata":"No Metadata Applied","boxui.metadataInstanceEditor.noMetadataAddTemplate":"Click 'Add' in the top right to add metadata to this item","boxui.metadataInstanceEditor.operationNotImmediate":"This operation is not immediate and may take some time.","boxui.metadataInstanceEditor.removeTemplate":"Remove","boxui.metadataInstanceEditor.templateAdd":"Add","boxui.metadataInstanceEditor.templateSearchPlaceholder":"Search all templates","boxui.metadataInstanceEditor.templatesFetchFailed":"Sorry! We could not fetch templates. Please contact your administrator","boxui.metadataInstanceEditor.templatesNoRemainingTemplates":"All templates have been added","boxui.metadataInstanceEditor.templatesNoResults":"No Results","boxui.metadataInstanceEditor.templatesServerHasNoTemplates":"Zero templates","boxui.metadataInstanceEditor.templatesTitle":"Templates","boxui.metadataInstanceFields.customAdd":"Add","boxui.metadataInstanceFields.customRemove":"Remove","boxui.metadataInstanceFields.fieldMultiSelectValue":"Select Values","boxui.metadataInstanceFields.fieldNoValue":"No Value","boxui.metadataInstanceFields.fieldSelectValue":"Select Value","boxui.metadataInstanceFields.fieldSetDate":"Set Date","boxui.metadataInstanceFields.fieldSetValue":"Set Value","boxui.metadataInstanceFields.invalidMetadataFieldType":"Invalid metadata field type!","boxui.modalDialog.backModalText":"Back","boxui.modalDialog.closeModalText":"Close Modal","boxui.newFolderModal.cancel":"Cancel","boxui.newFolderModal.create":"Create","boxui.newFolderModal.folderName.label":"Folder Name","boxui.newFolderModal.folderName.placeholder":"My New Folder","boxui.newFolderModal.title":'Create a New Folder in "{parentFolderName}"',"boxui.notification.clearNotification":"Clear Notification","boxui.presence.accessedInTheLastMinute":"Viewed less than a minute ago","boxui.presence.activeNow":"Active now","boxui.presence.commentedIntheLastMinute":"Commented less than a minute ago","boxui.presence.getLinkButton":"Get Link","boxui.presence.inviteButton":"Invite People","boxui.presence.modifiedIntheLastMinute":"Edited less than a minute ago","boxui.presence.previewPresenceFlyoutAccessStatsLink":"See all activity","boxui.presence.previewPresenceFlyoutActivityCTA":"View Recent Activity","boxui.presence.previewPresenceFlyoutCopy":"Quickly see who has commented on, edited, or viewed this file.","boxui.presence.previewedIntheLastMinute":"Previewed less than a minute ago","boxui.presence.recentActivity":"Recent Activity","boxui.presence.timeSinceLastAccessed":"Viewed {timeAgo}","boxui.presence.timeSinceLastCommented":"Commented {timeAgo}","boxui.presence.timeSinceLastModified":"Edited {timeAgo}","boxui.presence.timeSinceLastPreviewed":"Previewed {timeAgo}","boxui.presence.toggleButtonLabel":"Recent Activity","boxui.queryBar.addFilterButtonText":"+ Add Filter","boxui.queryBar.applyFiltersButtonText":"Apply","boxui.queryBar.columnsButtonText":"Columns","boxui.queryBar.columnsHiddenButtonText":"{count, plural, one {1 Column Hidden} other {{count} Columns Hidden}}","boxui.queryBar.connectorAndText":"AND","boxui.queryBar.connectorOrText":"OR","boxui.queryBar.connectorWhereText":"WHERE","boxui.queryBar.filtersButtonText":"Modify Filters","boxui.queryBar.metadataViewTemplateListHeaderTitle":"METADATA TEMPLATES","boxui.queryBar.multipleFiltersButtonText":"{number} Filters","boxui.queryBar.noFiltersAppliedText":"No Filters Applied","boxui.queryBar.noTemplatesText":"No Templates Available","boxui.queryBar.selectValuePlaceholderText":"Select value","boxui.queryBar.templatesButtonText":"Select Metadata","boxui.queryBar.templatesLoadingButtonText":"Template Name","boxui.queryBar.tooltipEnterValueError":"Please Enter a Value","boxui.queryBar.tooltipInvalidFloatError":"Please Enter a Decimal Number","boxui.queryBar.tooltipInvalidNumberError":"Please Enter an Integer","boxui.queryBar.tooltipSelectDateError":"Please Select a Date","boxui.queryBar.tooltipSelectValueError":"Please Select a Value","boxui.quickSearch.bookmark":"Bookmark","boxui.quickSearch.collaboratedFolder":"Collaborated Folder","boxui.quickSearch.externalFolder":"External Folder","boxui.quickSearch.file":"File","boxui.quickSearch.parentFolder":"Parent Folder","boxui.quickSearch.personalFolder":"Personal Folder","boxui.quickSearch.updatedText":"{date, date, medium} by {user}","boxui.quickSearch.updatedTextToday":"Today by {user}","boxui.quickSearch.updatedTextYesterday":"Yesterday by {user}","boxui.readableTime.eventTime":"{time, date, medium}","boxui.readableTime.eventTimeDate":"{time, date, medium} at {time, time, short}","boxui.readableTime.eventTimeDateShort":"{date} at {time, time, short}","boxui.readableTime.eventTimeToday":"Today at {time, time, short}","boxui.readableTime.eventTimeWeekdayLong":"{weekday}, {time, date, medium}","boxui.readableTime.eventTimeYesterday":"Yesterday at {time, time, short}","boxui.searchForm.clearButtonTitle":"Clear","boxui.searchForm.searchButtonTitle":"Search","boxui.searchForm.searchLabel":"Search query","boxui.securityCloudGame.accessibilityInstructions":"For security purposes, please drag the cloud object onto the target. You are on a {row} by {column} grid with a movable cloud object and a target area. Press spacebar to grab the cloud object, arrow keys to move, and spacebar to drop on the target.","boxui.securityCloudGame.cloudDropped":"Cloud object dropped.","boxui.securityCloudGame.cloudGrabbed":"Cloud object grabbed.","boxui.securityCloudGame.cloudObject":"Cloud object","boxui.securityCloudGame.currentPosition":"Current position: Row {row}, Column {column}.","boxui.securityCloudGame.instructions":"For security purposes, please drag the white cloud onto the dark cloud. Keyboard users: Press spacebar to grab the cloud, arrow keys to move, and spacebar to drop.","boxui.securityCloudGame.reachBottomEdge":"Reached bottom edge of grid.","boxui.securityCloudGame.reachLeftEdge":"Reached left edge of grid.","boxui.securityCloudGame.reachRightEdge":"Reached right edge of grid.","boxui.securityCloudGame.reachTopEdge":"Reached top edge of grid.","boxui.securityCloudGame.success":"Success!","boxui.securityCloudGame.target":"Target","boxui.securityCloudGame.targetInRange":"Target in range, you can drop the cloud object.","boxui.securityCloudGame.targetPosition":"Target position: Row {row}, Column {column}.","boxui.securityControls.allAppNames":"All applications: {appsList}","boxui.securityControls.appDownloadBlacklist":"Download restricted for some applications: {appNames}","boxui.securityControls.appDownloadBlacklistOverflow":"Download restricted for some applications: {appNames} +{remainingAppCount} more","boxui.securityControls.appDownloadRestricted":"Download restricted for some applications.","boxui.securityControls.appDownloadWhitelist":"Only select applications are allowed: {appNames}","boxui.securityControls.appDownloadWhitelistOverflow":"Only select applications are allowed: {appNames} +{remainingAppCount} more","boxui.securityControls.boxSignRequestRestricted":"Sign restrictions apply.","boxui.securityControls.desktopDownloadExternalOwners":"Download restricted on Box Drive, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.desktopDownloadExternalOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.desktopDownloadOwners":"Download restricted on Box Drive, except Owners/Co-Owners.","boxui.securityControls.desktopDownloadOwnersEditors":"Download restricted on Box Drive, except Owners/Co-Owners/Editors.","boxui.securityControls.downloadExternal":"Download restricted on Box Drive for external users.","boxui.securityControls.externalCollabBlock":"External collaboration restricted.","boxui.securityControls.externalCollabDomainList":"External collaboration limited to approved domains.","boxui.securityControls.mobileDownloadExternal":"Download restricted on mobile for external users.","boxui.securityControls.mobileDownloadExternalOwners":"Download restricted on mobile, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.mobileDownloadExternalOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.mobileDownloadOwners":"Download restricted on mobile, except Owners/Co-Owners.","boxui.securityControls.mobileDownloadOwnersEditors":"Download restricted on mobile, except Owners/Co-Owners/Editors.","boxui.securityControls.modalDescription":"Classification labels defined by your administrator can be used to label content and apply security policies.","boxui.securityControls.modalTitle":"View Classification for “{itemName}”","boxui.securityControls.securityControlsLabel":"Restrictions","boxui.securityControls.sharingCollabAndCompanyOnly":"Shared links cannot be made publicly accessible.","boxui.securityControls.sharingCollabOnly":"Shared links allowed for collaborators only.","boxui.securityControls.shortApp":"Application restrictions apply","boxui.securityControls.shortAppSign":"App and Sign restrictions apply","boxui.securityControls.shortDownload":"Download restrictions apply","boxui.securityControls.shortDownloadApp":"Download and app restrictions apply","boxui.securityControls.shortDownloadAppSign":"Download, app and Sign restrictions apply","boxui.securityControls.shortDownloadSign":"Download and Sign restrictions apply","boxui.securityControls.shortSharing":"Sharing restriction applies","boxui.securityControls.shortSharingApp":"Sharing and app restrictions apply","boxui.securityControls.shortSharingAppSign":"Sharing, app and Sign restrictions apply","boxui.securityControls.shortSharingDownload":"Sharing and download restrictions apply","boxui.securityControls.shortSharingDownloadApp":"Sharing, download and app restrictions apply","boxui.securityControls.shortSharingDownloadAppSign":"Sharing, download, app and Sign restrictions apply","boxui.securityControls.shortSharingDownloadSign":"Sharing, download and Sign restrictions apply","boxui.securityControls.shortSharingSign":"Sharing and Sign restrictions apply","boxui.securityControls.shortSign":"Sign restrictions apply","boxui.securityControls.shortWatermarking":"Watermarking applies","boxui.securityControls.viewAll":"View All","boxui.securityControls.watermarkingApplied":"Watermarking will be applied.","boxui.securityControls.webDownloadExternal":"Download restricted on web for external users.","boxui.securityControls.webDownloadExternalOwners":"Download restricted on web, except Owners/Co-Owners. Also restricted for external users.","boxui.securityControls.webDownloadExternalOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors. Also restricted for external users.","boxui.securityControls.webDownloadOwners":"Download restricted on web, except Owners/Co-Owners.","boxui.securityControls.webDownloadOwnersEditors":"Download restricted on web, except Owners/Co-Owners/Editors.","boxui.select.moreInfo":"More Info","boxui.selectField.clearAll":"Clear All","boxui.selectField.noResults":"No Results","boxui.selectField.searchPlaceholder":"Search","boxui.share.accessType":"ACCESS TYPE","boxui.share.canEdit":"Can edit","boxui.share.canView":"Can view","boxui.share.coownerLevelText":"Co-owner","boxui.share.deleteTableHeaderText":"Delete","boxui.share.downloadTableHeaderText":"Download","boxui.share.editTableHeaderText":"Edit","boxui.share.editorLevelText":"Editor","boxui.share.emailSharedLink":"Email Shared Link","boxui.share.enterAtLeastOneEmail":"Enter at least one valid email","boxui.share.getLinkTableHeaderText":"Get Link","boxui.share.groupLabel":"Group","boxui.share.inviteCollaboratorsModalCancelButton":"Cancel","boxui.share.inviteCollaboratorsModalSendInvites":"Send Invites","boxui.share.inviteCollaboratorsModalTitle":"Invite to {itemName}","boxui.share.inviteFieldLabel":"Invite","boxui.share.inviteFileEditorsLabel":"Invite people to become editors of this file.","boxui.share.inviteePermissionsFieldLabel":"Invitee Permissions","boxui.share.inviteePermissionsLearnMore":"Learn More","boxui.share.message":"Message","boxui.share.messageSelectorPlaceholder":"Add a message","boxui.share.ownerTableHeaderText":"Owner","boxui.share.peopleInCompanyCanDownloadFile":"Anyone in your company with the link can view and download this file.","boxui.share.peopleInCompanyCanDownloadFolder":"Anyone in your company with the link can view this folder and download its contents.","boxui.share.peopleInCompanyCanEditFile":"Anyone in your company with the link can edit and download this file.","boxui.share.peopleInCompanyCanViewFile":"Anyone in your company with the link can view this file.","boxui.share.peopleInCompanyCanViewFolder":"Anyone in your company with the link can view this folder.","boxui.share.peopleInEnterprise":"People in {enterpriseName}","boxui.share.peopleInItemCanAccessFile":"Any collaborator on the file with the link can access this file.","boxui.share.peopleInItemCanAccessFolder":"Any collaborator on the folder with the link can access this folder.","boxui.share.peopleInItemCanDownloadFile":"Any collaborator on this file with the link can download this file.","boxui.share.peopleInItemCanDownloadFolder":"Any collaborator on this folder with the link can download this folder.","boxui.share.peopleInItemCanEditFile":"Any collaborator on this file with the link can edit this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFile":"Any collaborator on this file with the link can view this file and download its contents.","boxui.share.peopleInItemCanPreviewAndDownloadFolder":"Any collaborator on this folder with the link can view this folder and download its contents.","boxui.share.peopleInItemCanPreviewFile":"Any collaborator on this file with the link can view this file.","boxui.share.peopleInItemCanPreviewFolder":"Any collaborator on this folder with the link can view this folder.","boxui.share.peopleInSpecifiedCompanyCanDownloadFile":"Anyone in {company} with the link can view and download this file.","boxui.share.peopleInSpecifiedCompanyCanDownloadFolder":"Anyone in {company} with the link can view this folder and download its contents.","boxui.share.peopleInSpecifiedCompanyCanEditFile":"Anyone in {company} with the link can edit and download this file.","boxui.share.peopleInSpecifiedCompanyCanViewFile":"Anyone in {company} with the link can view this file.","boxui.share.peopleInSpecifiedCompanyCanViewFolder":"Anyone in {company} with the link can view this folder.","boxui.share.peopleInThisFile":"People in this file","boxui.share.peopleInThisFolder":"People in this folder","boxui.share.peopleInYourCompany":"People in your company","boxui.share.peopleWithLinkCanDownloadFile":"Anyone with the link can view and download this file.","boxui.share.peopleWithLinkCanDownloadFolder":"Anyone with the link can view this folder and download its contents.","boxui.share.peopleWithLinkCanEditFile":"Anyone with the link can edit and download this file.","boxui.share.peopleWithLinkCanViewFile":"Anyone with the link can view this file.","boxui.share.peopleWithLinkCanViewFolder":"Anyone with the link can view this folder.","boxui.share.peopleWithTheLink":"People with the link","boxui.share.permissionLevelsTableHeaderText":"Permission Levels","boxui.share.personalMessageLabel":"Personal Message","boxui.share.pillSelectorPlaceholder":"Add names or email addresses","boxui.share.previewTableHeaderText":"Preview","boxui.share.previewerLevelText":"Previewer","boxui.share.previewerUploaderLevelText":"Previewer Uploader","boxui.share.referAFriendBadgeText":"REFER","boxui.share.referAFriendRewardCenterLinkText":"Click Here","boxui.share.referAFriendText":"Want a free month of Box? Refer your friend!","boxui.share.removeLink":"Remove Link","boxui.share.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.share.removeLinkConfirmationTitle":"Remove Shared Link","boxui.share.settingsButtonLabel":"Open shared link settings popup","boxui.share.sharedLinkExpirationTooltip":"This link will expire on {expiration, date, long}","boxui.share.sharedLinkLabel":"Shared Link","boxui.share.sharedLinkModalTitle":"Shared Link for {itemName}","boxui.share.sharedLinkSettings.accessLevel.inCompanyView":"This content is available to anyone within your company with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.inCompanyViewDownload":"This content is available to anyone within your company with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.accessLevel.inItem":"This content is available to invited collaborators with the link.","boxui.share.sharedLinkSettings.accessLevel.withLinkView":"This content is publicly available to anyone with the link, and can be viewed.","boxui.share.sharedLinkSettings.accessLevel.withLinkViewDownload":"This content is publicly available to anyone with the link, and can be viewed or downloaded.","boxui.share.sharedLinkSettings.allowDownloadLabel":"Allow users with the shared link to download this item","boxui.share.sharedLinkSettings.allowDownloadTitle":"Allow Download","boxui.share.sharedLinkSettings.customURLLabel":"Non-private custom URL","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithClassification":"Download has been disabled for content due to the classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByAccessPolicyWithoutClassification":"Download has been disabled for content without classification.","boxui.share.sharedLinkSettings.directDownloadBlockedByMaliciousContent":"Download for this content has been disabled due to a security policy.","boxui.share.sharedLinkSettings.directLinkLabel":"Direct Link","boxui.share.sharedLinkSettings.expirationLabel":"Disable Shared Link on","boxui.share.sharedLinkSettings.expirationTitle":"Link Expiration","boxui.share.sharedLinkSettings.inaccessibleSettingsNotice":"Certain settings may not be available for this item due to permissions.","boxui.share.sharedLinkSettings.modalTitle":"Shared Link Settings","boxui.share.sharedLinkSettings.passwordLabel":"Require password","boxui.share.sharedLinkSettings.passwordPlaceholder":"Enter a password","boxui.share.sharedLinkSettings.passwordTitle":"Password Protect","boxui.share.sharedLinkSettings.sharedLinkSettingWarningLinkText":"Learn more about shared link settings.","boxui.share.sharedLinkSettings.sharedLinkWarningText":"This content is publicly available to anyone with the link.","boxui.share.sharedLinkSettings.vanityNameNotSet":"The custom URL has not been set","boxui.share.sharedLinkSettings.vanityNamePlaceholder":"Enter a custom path (12 or more characters)","boxui.share.sharedLinkSettings.vanityURLWarning":"Custom URLs should not be used when sharing sensitive content.","boxui.share.sharedLinkURLLabel":"URL","boxui.share.upgradeGetMoreAccessControls":"Get More Access Controls","boxui.share.uploadTableHeaderText":"Upload","boxui.share.uploaderLevelText":"Uploader","boxui.share.vanityURLEnableText":"Publish content broadly with a custom, non-private URL","boxui.share.viewerLevelText":"Viewer","boxui.share.viewerUploaderLevelText":"Viewer Uploader","boxui.shareMenu.downloadOnly":"Download Only","boxui.shareMenu.editAndComment":"Edit and Comment","boxui.shareMenu.getSharedLink":"Get Shared Link","boxui.shareMenu.insufficientPermissionsMenuOption":"Insufficient sharing permissions. Please contact the folder owner.","boxui.shareMenu.insufficientPermissionsTooltip":"You have insufficient permissions to invite collaborators.","boxui.shareMenu.inviteCollabs":"Invite Collaborators","boxui.shareMenu.ownerCoownerOnlyTooltip":"You have insufficient permissions to invite collaborators. Only the owner and co-owners can invite collaborators.","boxui.shareMenu.shortcutOnly":"Shortcut Only","boxui.shareMenu.viewAndDownload":"View and Download","boxui.shareMenu.viewOnly":"View Only","boxui.timeInput.emptyTimeError":"Required field. Enter a time in the format HH:MM A.","boxui.timeInput.invalidTimeError":"Invalid time format. Enter a time in the format HH:MM A.","boxui.unifiedShare.collabAccess":"collaborator access","boxui.unifiedShare.collaboration.groupCollabText":"Group","boxui.unifiedShare.collaboration.userCollabText":"User","boxui.unifiedShare.collaboratorListTitle":"People in ‘{itemName}’","boxui.unifiedShare.collaborators.expirationTooltipClickableText":"Access expires on {date}. Click for details.","boxui.unifiedShare.contactEmailsTooltipText":"{emails}, and {remainingEmailsCount} more","boxui.unifiedShare.contactRestrictionNotice":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrier":"{count, plural, one {{count} invitation} other {{count} invitations}} cannot be sent due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingular":"Invitations cannot be sent to {email} due to a security policy.","boxui.unifiedShare.contactRestrictionNoticeInformationBarrierSingularGroup":'Invitations cannot be sent to "{groupName}" due to a security policy.',"boxui.unifiedShare.contactRestrictionNoticeSingular":"Invitations cannot be sent to {email} because external collaboration is restricted due to the applied security policy.","boxui.unifiedShare.contactRestrictionRemoveButtonLabel":"Remove to continue","boxui.unifiedShare.contactsExceedLimitError":"Oops! The maximum number of collaborators that can be added at once is {maxContacts} collaborators. Please try again by splitting your invitations into batches.","boxui.unifiedShare.contentSharedWithExternalCollaborators":"This content will be shared with external collaborators.","boxui.unifiedShare.coownerLevelButtonLabel":"Invite as Co-owner","boxui.unifiedShare.coownerLevelDescription":"Manage security, upload, download, preview, share, edit, and delete","boxui.unifiedShare.coownerLevelText":"Co-owner","boxui.unifiedShare.disabledCreateLinkTooltip":"You do not have permission to create the link.","boxui.unifiedShare.disabledMaliciousContentShareLinkPermission":"This option isn’t available for this item due to a security policy.","boxui.unifiedShare.disabledShareLinkPermission":"This option is not available due to a security policy.","boxui.unifiedShare.editorLevelButtonLabel":"Invite as Editor","boxui.unifiedShare.editorLevelDescription":"Upload, download, preview, share, edit, and delete","boxui.unifiedShare.editorLevelFileDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.editorLevelText":"Editor","boxui.unifiedShare.emailModalTitle":"Send Link to ‘{itemName}’","boxui.unifiedShare.enterAtLeastOneEmail":"Enter at least one valid email","boxui.unifiedShare.enterEmailAddressesCalloutText":"Share this item with coworkers by entering their email addresses","boxui.unifiedShare.expiresMessage":"Expires","boxui.unifiedShare.ftuxConfirmLabel":"Got it","boxui.unifiedShare.ftuxEditPermissionTooltipBody":"Select the new edit option to easily share your file with people or groups.","boxui.unifiedShare.ftuxEditPermissionTooltipTitle":"Collaboration made easy","boxui.unifiedShare.ftuxLinkText":"Read more about shared link security here.","boxui.unifiedShare.ftuxNewUSMUserBody":"We’ve simplified the sharing experience when you click 'Share'. Invite people to this item here and toggle the link on or off below for easy sharing.","boxui.unifiedShare.ftuxNewUsmUserTitle":"Simplified sharing for files and folders","boxui.unifiedShare.ftuxSharedLinkPermissionsEditTag":"NEW","boxui.unifiedShare.groupLabel":"Group","boxui.unifiedShare.inviteDisabledTooltip":"You do not have permission to invite collaborators.","boxui.unifiedShare.inviteDisabledWeblinkTooltip":"Collaborators cannot be added to bookmarks.","boxui.unifiedShare.inviteFieldLabel":"Invite People","boxui.unifiedShare.justifiableContactRestrictionNotice":"This content requires a business justification for {count, plural, one {{count} invitation} other {{count} invitations}}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionNoticeSingular":"This content requires a business justification to invite {email}. Please select a business justification below.","boxui.unifiedShare.justifiableContactRestrictionRemoveButtonLabel":"Alternatively, remove to continue","boxui.unifiedShare.justificationRequiredError":"Select a justification or remove to continue","boxui.unifiedShare.justificationSelectPlaceholder":"Select Justification","boxui.unifiedShare.levelOfCollabAccess":"Set the level of {collaboratorAccess} and increase security through one of our paid plans. {upgradeLink}","boxui.unifiedShare.linkShareOff":"Create shared link","boxui.unifiedShare.linkShareOn":"Shared link is created","boxui.unifiedShare.message":"Message","boxui.unifiedShare.modalTitle":"Share ‘{itemName}’","boxui.unifiedShare.peopleInCompanyCanAccessFile":"Anyone in your company with the link or people invited to this file can access","boxui.unifiedShare.peopleInCompanyCanAccessFolder":"Anyone in your company with the link or people invited to this folder can access","boxui.unifiedShare.peopleInEnterpriseName":"People in {enterpriseName}","boxui.unifiedShare.peopleInItemCanAccessFile":"Only invited people can access this file","boxui.unifiedShare.peopleInItemCanAccessFolder":"Only invited people can access this folder","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFile":"Anyone at {company} with the link or people invited to this file can access","boxui.unifiedShare.peopleInSpecifiedCompanyCanAccessFolder":"Anyone at {company} with the link or people invited to this folder can access","boxui.unifiedShare.peopleInThisFile":"Invited people only","boxui.unifiedShare.peopleInThisFolder":"Invited people only","boxui.unifiedShare.peopleInYourCompany":"People in your company","boxui.unifiedShare.peopleWithLinkDescription":"Publicly accessible and no sign-in required","boxui.unifiedShare.peopleWithTheLinkText":"People with the link","boxui.unifiedShare.previewerLevelButtonLabel":"Invite as Previewer","boxui.unifiedShare.previewerLevelDescription":"Preview only","boxui.unifiedShare.previewerLevelText":"Previewer","boxui.unifiedShare.previewerUploaderLevelButtonLabel":"Invite as Previewer Uploader","boxui.unifiedShare.previewerUploaderLevelDescription":"Upload and preview","boxui.unifiedShare.previewerUploaderLevelText":"Previewer Uploader","boxui.unifiedShare.recommendedSharingTooltipCalloutText":"Based on your usage, we think {fullName} would be interested in this file.","boxui.unifiedShare.removeLinkConfirmationDescription":"This will permanently remove the shared link. If this item is embedded on other sites it will also become inaccessible. Any custom properties, settings and expirations will be removed as well. Do you want to continue?","boxui.unifiedShare.removeLinkConfirmationTitle":"Remove Shared Link","boxui.unifiedShare.removeLinkTooltip":"You do not have permission to remove the link.","boxui.unifiedShare.restrictedContactsError":"Remove to continue","boxui.unifiedShare.sendSharedLink":"Send Shared Link","boxui.unifiedShare.sendSharedLinkFieldLabel":"Email Shared Link","boxui.unifiedShare.sharedLinkDisabledTooltipCopy":"Create and copy link for sharing","boxui.unifiedShare.sharedLinkEditablePubliclyAvailable":"Publicly available for anyone to view and download. Any logged in users with the link can edit.","boxui.unifiedShare.sharedLinkElevatedEditableCompanyAvailable":"People who have access to this link can edit.","boxui.unifiedShare.sharedLinkExpirationTooltip":"This link will expire and be inaccessible on {expiration, date, long}.","boxui.unifiedShare.sharedLinkPermissionsEdit":"Can edit","boxui.unifiedShare.sharedLinkPermissionsEditTooltip":"This permission can only be changed in Box Notes","boxui.unifiedShare.sharedLinkPermissionsViewDownload":"Can view and download","boxui.unifiedShare.sharedLinkPermissionsViewOnly":"Can view only","boxui.unifiedShare.sharedLinkPubliclyAvailable":"This content is publicly available to anyone with the link.","boxui.unifiedShare.sharedLinkSectionLabel":"Share Link","boxui.unifiedShare.sharedLinkSettings":"Link Settings","boxui.unifiedShare.sharedLinkSettingsCalloutText":"Create a custom URL, enable password protection, enable link expiration, and much more","boxui.unifiedShare.suggestedCollabsTitle":"Suggested","boxui.unifiedShare.upgradeGetMoreAccessControlsDescription":"62% of customers on your plan {upgradeGetMoreAccessControlsLink} to manage collaborators’ access and permission settings","boxui.unifiedShare.upgradeGetMoreAccessControlsLink":"upgrade","boxui.unifiedShare.upgradeInlineNoticeTitle":"Upgrade Your Plan","boxui.unifiedShare.upgradeLink":"Upgrade now","boxui.unifiedShare.uploaderLevelButtonLabel":"Invite as Uploader","boxui.unifiedShare.uploaderLevelDescription":"Upload only","boxui.unifiedShare.uploaderLevelText":"Uploader","boxui.unifiedShare.viewerLevelButtonLabel":"Invite as Viewer","boxui.unifiedShare.viewerLevelDescription":"Download, preview, and share","boxui.unifiedShare.viewerLevelText":"Viewer","boxui.unifiedShare.viewerUploaderLevelButtonLabel":"Invite as Viewer Uploader","boxui.unifiedShare.viewerUploaderLevelDescription":"Upload, download, preview, share, and edit","boxui.unifiedShare.viewerUploaderLevelText":"Viewer Uploader","boxui.validation.URLError":"Invalid URL","boxui.validation.emailError":"Invalid Email Address","boxui.validation.genericError":"Invalid Input","boxui.validation.invalidDateError":"Invalid Date","boxui.validation.invalidUserError":"Invalid User","boxui.validation.requiredError":"Required Field","boxui.validation.tooLongError":"Input cannot exceed {max} characters","boxui.validation.tooShortError":"Input must be at least {min} characters"});var u={language:"en-US",messages:c},d=r(1);function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class f extends o.a{constructor(){super(...arguments),h(this,"language",u.language),h(this,"messages",u.messages),h(this,"setComponent",(e=>{this.component=e})),h(this,"onInteraction",(e=>{this.emit("interaction",e)}))}show(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.id=e,this.token=t,this.options=r,this.options.version="0.0.0-semantically-released",this.emit=this.emit.bind(this);const n=r.container||d.R;this.container=n instanceof HTMLElement?n:document.querySelector(n),this.render()}hide(){this.removeAllListeners(),a.a.unmountComponentAtNode(this.container),this.container&&(this.container.innerHTML="")}render(){throw new Error("Unimplemented!")}getComponent(){return this.component}clearCache(){const e=this.getComponent();e&&"function"==typeof e.clearCache&&e.clearCache()}emit(e,t){try{return super.emit(e,t)}catch(e){}return!1}}t.a=f},,,,,,,function(e,t,r){var n=r(46),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},function(e,t,r){var n=r(46),o=r(144),i=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},function(e,t,r){"use strict";var n=r(0),o=r(4),i=r.n(o);r(517);t.a=e=>{const{children:t,className:r="",topLeft:o=null,topRight:a=null,bottomLeft:s=null,bottomRight:l=null}=e;return n.createElement("div",{className:i()("badgeable-container",r)},t,n.createElement("div",{className:"badges"},o&&n.createElement("div",{className:"top-left-badge"},o),a&&n.createElement("div",{className:"top-right-badge"},a),s&&n.createElement("div",{className:"bottom-left-badge"},s),l&&n.createElement("div",{className:"bottom-right-badge"},l)))}},function(e,t,r){var n=r(67),o=r(39),i=r(52);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},,function(e,t,r){"use strict";var n=r(273);r.d(t,"a",(function(){return n.a}))},,,,function(e,t,r){var n=r(168),o=r(404),i=r(177),a=r(405),s=r(411),l=r(232),c=r(201),u=r(414),d=r(416),h=r(313),f=r(236),p=r(130),m=r(419),b=r(420),g=r(238),v=r(39),y=r(129),C=r(424),w=r(46),E=r(426),S=r(114),k="[object Arguments]",O="[object Function]",x="[object Object]",_={};_[k]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[x]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[O]=_["[object WeakMap]"]=!1,e.exports=function e(t,r,P,T,I,A){var L,M=1&r,R=2&r,D=4&r;if(P&&(L=I?P(t,T,I,A):P(t)),void 0!==L)return L;if(!w(t))return t;var j=v(t);if(j){if(L=m(t),!M)return c(t,L)}else{var F=p(t),N=F==O||"[object GeneratorFunction]"==F;if(y(t))return l(t,M);if(F==x||F==k||N&&!I){if(L=R||N?{}:g(t),!M)return R?d(t,s(L,t)):u(t,a(L,t))}else{if(!_[F])return I?t:{};L=b(t,F,M)}}A||(A=new n);var U=A.get(t);if(U)return U;A.set(t,L),E(t)?t.forEach((function(n){L.add(e(n,r,P,n,t,A))})):C(t)&&t.forEach((function(n,o){L.set(o,e(n,r,P,o,t,A))}));var z=D?R?f:h:R?keysIn:S,H=j?void 0:z(t);return o(H||t,(function(n,o){H&&(n=t[o=n]),i(L,o,e(n,r,P,o,t,A))})),L}},function(e,t,r){var n=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(e,t,r){var n=u;return function(o,i){if(n===h)throw new Error("Generator is already running");if(n===f){if("throw"===o)throw i;return T()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=k(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var l=c(e,t,r);if("normal"===l.type){if(n=r.done?f:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=f,r.method="throw",r.arg=l.arg)}}}(e,r,a),i}function c(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function m(){}function b(){}function g(){}var v={};v[i]=function(){return this};var y=Object.getPrototypeOf,C=y&&y(y(P([])));C&&C!==r&&n.call(C,i)&&(v=C);var w=g.prototype=m.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function S(e){function t(r,o,i,a){var s=c(e[r],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?Promise.resolve(u.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(u).then((function(e){l.value=e,i(l)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}var r;this._invoke=function(e,n){function o(){return new Promise((function(r,o){t(e,n,r,o)}))}return r=r?r.then(o,o):o()}}function k(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=c(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,p;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function P(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:T}}function T(){return{value:t,done:!0}}return b.prototype=w.constructor=g,g.constructor=b,g[s]=b.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},E(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,r,n,o){var i=new S(l(t,r,n,o));return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(w),w[s]="Generator",w[i]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=P,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),x(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){var n=r(272),o=1/0;e.exports=function(e){return e?(e=n(e))===o||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},function(e,t,r){var n=r(117),o=r(93),i=r(142),a=r(46);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&i(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},function(e,t,r){"use strict";var n=r(0),o=r(75);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({isSelectItem:!0},e))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.t,d:"M9 3h9.172a2 2 0 011.414.586l5.83 5.828A2 2 0 0126 10.83V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M18.75 17h-5.5a.25.25 0 00-.25.25v4.25a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-6.35a.75.75 0 01.75-.75h6.5a.75.75 0 01.75.75v7.75a1.5 1.5 0 11-1.5-1.5.9.9 0 01.5.1v-2.85a.25.25 0 00-.25-.25zm-5.5-1h5.5a.25.25 0 00.25-.25V14.5a.5.5 0 00-.5-.5h-5a.5.5 0 00-.5.5v1.25c0 .138.112.25.25.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.585a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:o.r}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 15.5a2.5 2.5 0 11-5 0 2.5 2.5 0 015 0zm3.729 4.521c.125-.016.44-.059.912.059l.09.022c.674.164 2.394.583 4.48 2.218.196.167.697.602.78.675.038.034.214.211.411.41.24.242.51.515.6.598V26a65.511 65.511 0 01-1.164-1.172c-.521-.541-.876-.87-1.345-1.3-.469-.43-1.733-1.361-2.488-1.675-.756-.313-1.08-.444-1.398-.49l.007.021a1.28 1.28 0 00.068.172c.016.034.028.06.039.104l.238.524.031.067.009.02.006.012.01.026.183.422c.266.613.465 1.108.594 1.473.177.502.27.925.153 1.285-.116.36-.398.508-.754.508-.537 0-1.303-.421-1.543-.567l-.086-.052a7.211 7.211 0 01-.621-.413c-.327-.234-.444-.362-.53-.455a2.335 2.335 0 00-.045-.049c-.094-.097-.319-.333-.359-.657-.023-.183.001-.398.107-.55.062-.088.16-.215.44-.25a.649.649 0 01.436.133c.051.036.151.137.27.255a6.17 6.17 0 00.608.555c.203.166.445.364.603.425-.032-.072-.09-.195-.147-.318v-.001a18.603 18.603 0 01-.137-.297 11.247 11.247 0 00-.194-.41c-.333-.684-.663-1.381-.807-1.814l-.024-.073c-.13-.387-.205-.612-.129-.884.052-.185.111-.32.337-.438.09-.047.23-.098.348-.113l.01-.002zm.71-6.778l2.483 3.974a.511.511 0 01-.44.783h-4.966a.515.515 0 01-.44-.783l2.484-3.974a.519.519 0 01.878 0zm-9.44 7.579c0-.454.368-.822.822-.822h3.356c.454 0 .822.368.822.822v3.356a.822.822 0 01-.822.822h-3.356a.822.822 0 01-.822-.822v-3.356z",fill:"#fff"}),n.createElement("path",{opacity:.5,d:"M19.285 3.286l6.421 6.421a1 1 0 01.204.293h-4.911a2 2 0 01-1.995-1.85L19 8V3.09a1 1 0 01.286.196z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:o.i,fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#9725DD",d:"M18.526 14.146l-.92 1.375h-6.92a.685.685 0 01-.686-.688c0-.38.31-.687.687-.687h7.839z"}),n.createElement("path",{fill:o.b,d:"M16.379 17.583l-.92 1.375h-4.762a.69.69 0 01-.697-.687c0-.38.31-.688.697-.688h5.682z"}),n.createElement("path",{fill:"#00C8C0",d:"M14.231 21.02l-.424.637a2.166 2.166 0 00-.229.493l-.031.118-.028.127H10.69a.687.687 0 110-1.374h3.541z"}),n.createElement("path",{fill:o.z,d:"M14.841 21.332l4.64-6.72.053.092c.074.114.235.322.538.541.456.329.797.374.797.374l-4.64 6.72a2.558 2.558 0 01-.461.483l-1.373 1.037c-.146.11-.234.054-.193-.14l.372-1.764c.04-.187.156-.46.267-.623zm6.648-8.163c.373.272.407.704.407.704a3.57 3.57 0 01-.314.607l-.28.417-.09-.016a1.714 1.714 0 01-.632-.282c-.35-.255-.628-.687-.628-.687l.28-.418c.106-.158.284-.397.448-.51l.074-.009c.14-.012.456-.01.735.194z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#E33D55",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M17.553 13.776a.5.5 0 01.894.448l-4 8a.5.5 0 01-.894-.448zm-4.83 1.808a.5.5 0 11.554.832L10.901 18l2.376 1.584a.5.5 0 11-.554.832l-3-2a.5.5 0 010-.832zm6.554 0l3 2a.5.5 0 010 .832l-3 2a.5.5 0 11-.554-.832L21.099 18l-2.376-1.584a.5.5 0 01.554-.832z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#009AED",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M18 18v-2h-2v-4h-1v4h-2v2H9v1h4v2h2v4h1v-4h2v-2h4v-1h-4zm-1 2h-3v-3h3v3z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#107C41",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#87BDA0",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm-4.5-9.75H12v-1.5h3.75v1.5zm4.5 0H16.5v-1.5h3.75v1.5zm0 3H16.5V16h3.75v2.25zm-8.344 3.188h-1.511l1.582-2.45-1.442-2.425h1.518l.756 1.494.82-1.494h1.43l-1.483 2.42 1.518 2.454H13.6l-.838-1.564-.856 1.564zm8.344-.188H16.5V19h3.75v2.25zm0 3H16.5V22h3.75v2.25zm-4.5 0H12v-1.5h3.75v1.5z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#4083F7",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M16 23v1h-6v-1h6zm5-3v1H10v-1h11zm0-3v1H10v-1h11zm0-3v1H10v-1h11z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#21A464",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.499 14c.277 0 .501.228.501.51v8.98c0 .282-.23.51-.501.51H10.5a.505.505 0 01-.501-.51v-8.98c0-.282.23-.51.501-.51h10zM11 21v2h4v-2.001L11 21zm5 0v2h4v-2h-4zm4-3h-4v2h4v-2zm0-3h-4v2h4v-2zm-5 0h-4v2l4-.001V15zm-4 5l4-.001v-2L11 18v2z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7BA00",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M10 14v9c0 .6.4 1 1 1h9c.6 0 1-.4 1-1v-9c0-.6-.4-1-1-1h-9c-.6 0-1 .4-1 1zm10 7h-9v-5h9v5z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF9400",d:"M20.42 15.805c.072 0 .108.027.108.107v6.982c0 .07-.018.106-.107.106h-1.393c-.09 0-.117-.044-.117-.115v-6.973h-.009c0-.071.027-.107.108-.107h1.41zm-5.813-2.557c.063 0 .09.017.108.088l2.857 9.549c.018.07 0 .115-.072.115h-1.49c-.072 0-.117-.018-.135-.08l-.737-2.663h-2.875l-.71 2.655c-.018.07-.045.088-.135.088h-1.32c-.09 0-.109-.027-.09-.133l2.551-8.796c.045-.16.072-.301.09-.735 0-.062.027-.088.072-.088h1.887zm-.917 1.416h-.018c-.188 1.035-.665 2.787-1.042 4.159h2.13c-.252-.982-.845-3.124-1.07-4.16zM19.72 13c.548 0 .916.363.916.903 0 .584-.386.902-.934.902-.521 0-.899-.318-.899-.902 0-.567.404-.903.917-.903z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#3FB87F",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M14.754 18.128l3.102 3.204 1.327-1.625c.158-.193.415-.193.575 0l2.06 2.485c.37.446.159.808-.472.808H10.63c-.633 0-.82-.341-.414-.767a72386.439 72386.439 0 013.9-4.089.444.444 0 01.64-.016zM17.5 14a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#FF57A1",d:"M19.866 13c.071 0 .09.027.09.072v8.385c0 .251 0 .565.044.906 0 .063-.018.072-.08.108a5.449 5.449 0 01-2.342.529c-1.975 0-3.387-1.229-3.387-3.73-.01-2.144 1.403-3.813 3.664-3.813.188 0 .295 0 .474.018V13.09c0-.063.044-.09.09-.09h1.447zm-7.364 0c.071 0 .107.027.107.108v9.64c0 .09-.018.117-.116.117h-1.377c-.09 0-.116-.044-.116-.116v-9.632c0-.09.045-.117.116-.117h1.386zm5.3 3.83c-1.154 0-1.958.888-1.958 2.367 0 1.686.822 2.368 1.85 2.368.224 0 .456-.027.635-.108V16.92a1.282 1.282 0 00-.528-.09z"})))},function(e,t,r){"use strict";var n=r(0),o=r(10);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#1A66EF"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.991 16.925l-.697-4.338a.697.697 0 00-.688-.587h-8.212a.697.697 0 00-.688.587l-.697 4.338a.698.698 0 00.688.807h9.606a.698.698 0 00.688-.807zM17.979 24.225h-2.092V18.2h-.774v6.025H13.02c-.31 0-.465.155-.465.387 0 .233.155.388.465.388h4.958c.31 0 .465-.155.465-.387 0-.233-.155-.388-.465-.388z",fill:"#fff"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.5 14.169l-1.047 1.253c.294.186.656.296 1.047.296.391 0 .753-.11 1.047-.296.301-.19.53-.46.648-.774l-1.695-.479z",fill:"#66C155"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 14.648a1.365 1.365 0 010-.958l1.695.479-1.695.479z",fill:"#FA9E27"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 12.916a1.958 1.958 0 011.047-.296v1.549l-1.047-1.253z",fill:"#AB4287"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.195 13.69a1.584 1.584 0 00-.648-.774 1.957 1.957 0 00-1.047-.296v1.549l1.695.479a1.365 1.365 0 000-.958z",fill:"#61D9FE"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.453 15.422c-.301-.19-.53-.46-.648-.774l1.695-.479-1.047 1.253z",fill:"#FBCE5A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.805 13.69c.117-.314.347-.584.648-.774l1.047 1.253-1.695-.479z",fill:"#E85A5E"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19.311 16.338H11.69c-.248 0-.372.124-.372.31s.124.31.372.31h7.622c.248 0 .372-.124.372-.31s-.124-.31-.372-.31z",fill:"#C7E8FD"}))},function(e,t,r){"use strict";var n=r(0),o=r(10);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#18D31D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 21.529v-.1l.001-.084c.002-.062.006-.123.017-.184a.616.616 0 01.164-.322.584.584 0 01.322-.165c.06-.011.123-.015.184-.017h.084l.1-.001h.47a16.617 16.617 0 01.185.001c.06.002.122.006.183.017a.616.616 0 01.322.165.585.585 0 01.165.322c.01.06.014.122.016.183a3.95 3.95 0 01.001.185v2.003l-.001.084a1.224 1.224 0 01-.016.183.618.618 0 01-.165.323.584.584 0 01-.322.165 1.21 1.21 0 01-.183.016l-.084.001H10.77l-.084-.001a1.207 1.207 0 01-.182-.016.616.616 0 01-.323-.165.587.587 0 01-.165-.323 1.24 1.24 0 01-.016-.183v-.084l-.001-.1v-1.903zM12.928 18.453v-.1l.002-.085c.001-.06.005-.122.016-.183a.62.62 0 01.165-.322.587.587 0 01.322-.166c.06-.01.122-.014.183-.016h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.061.002.123.006.183.017a.616.616 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.183l.001.085V23.616a1.237 1.237 0 01-.017.183.618.618 0 01-.165.323.585.585 0 01-.322.165 1.21 1.21 0 01-.183.016 3.93 3.93 0 01-.084.001H13.7l-.084-.001a1.208 1.208 0 01-.183-.016.616.616 0 01-.322-.165.585.585 0 01-.165-.323 1.212 1.212 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-5.08zM15.857 12.873v-.1c0-.028 0-.056.002-.084.001-.062.005-.123.016-.184a.62.62 0 01.165-.322.586.586 0 01.322-.165c.06-.011.122-.015.183-.017h.084l.1-.001h.471a16.584 16.584 0 01.184.001c.06.002.122.006.183.017a.619.619 0 01.322.165.588.588 0 01.165.322c.01.06.014.122.016.184l.001.084V23.532l-.001.084a1.238 1.238 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.93 3.93 0 01-.084.001H16.629l-.084-.001a1.234 1.234 0 01-.183-.016.619.619 0 01-.322-.165.585.585 0 01-.165-.323 1.21 1.21 0 01-.016-.183 3.93 3.93 0 01-.002-.084v-10.66zM18.785 16.02v-.1l.002-.084a1.21 1.21 0 01.016-.183.62.62 0 01.165-.323.587.587 0 01.322-.165c.06-.01.122-.014.183-.016l.084-.001h.571a16.584 16.584 0 01.184.001c.061.002.123.005.183.016a.615.615 0 01.322.165.587.587 0 01.165.323c.011.06.015.122.016.183l.002.085V23.53c0 .029 0 .057-.002.085a1.224 1.224 0 01-.016.183.62.62 0 01-.165.323.585.585 0 01-.322.165c-.06.01-.122.014-.183.016a3.92 3.92 0 01-.084.001H19.557l-.084-.001a1.208 1.208 0 01-.183-.016.617.617 0 01-.322-.165.585.585 0 01-.165-.323 1.213 1.213 0 01-.016-.183 3.94 3.94 0 01-.001-.084V16.02z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(10);function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}t.a=e=>n.createElement(o.a,i({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.414 6.414a1 1 0 01.293.707V26a3 3 0 01-3 3H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#FB8517"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:"#fff",fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.686 24.179H11.52l-1.418.63h11.583c.173 0 .314-.14.314-.314v-.002a.314.314 0 00-.314-.314z",fill:"#FFC78A"}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.42 23.653l-.399.683a.158.158 0 00.216.216l.683-.399-.5-.5zM9.653 23.256l.664.664c.049.05.124.06.185.028a7.674 7.674 0 001.863-1.368l3.427-3.427-1.372-1.372-3.427 3.427a7.677 7.677 0 00-1.368 1.863.158.158 0 00.028.185zM16.107 18.838a.158.158 0 00.223 0l.785-.804c4.412-4.412 4.727-5.515 4.333-5.91-.394-.393-1.497-.078-5.909 4.334l-.804.785a.158.158 0 000 .223l1.372 1.372z",fill:"#fff"}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#D0021B",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M13.133 16.998c0 .354-.054.66-.162.918a1.745 1.745 0 01-1.044 1.012 2.057 2.057 0 01-.693.122h-.621v2.322H9.2V15h1.98c.228 0 .457.033.688.099a1.655 1.655 0 011.089.945c.118.258.176.576.176.954zm-1.35.027c0-.288-.069-.495-.207-.621a.72.72 0 00-.504-.189h-.459v1.665h.459a.665.665 0 00.504-.22c.138-.148.207-.359.207-.635zm6.854 1.179c0 .48-.052.915-.157 1.305-.106.39-.266.723-.482.999a2.14 2.14 0 01-.824.639c-.333.15-.727.225-1.183.225H14.2V15h1.791c.456 0 .85.075 1.183.225.334.15.608.364.824.643.216.28.376.615.482 1.008.105.394.157.836.157 1.328zm-1.449 0c0-.642-.11-1.126-.328-1.454-.22-.327-.503-.49-.851-.49h-.351v3.852h.351c.348 0 .631-.163.85-.49.22-.328.329-.8.329-1.418zm3.961-1.899v1.296h1.521v1.233h-1.512v2.538H19.7V15h3.105v1.305h-1.656z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#051E25",fillRule:"nonzero",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,fillRule:"nonzero",d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:"#26C9FF",d:"M19.527 15.491c.79 0 1.34.116 1.643.25.074.045.092.116.092.179v1.223c0 .071-.046.116-.138.09-.403-.25-1-.403-1.597-.403-.725 0-.973.358-.973.652 0 .322.166.545 1.139 1.036 1.44.678 1.89 1.33 1.89 2.286 0 1.428-1.12 2.196-2.634 2.196-.798 0-1.487-.16-1.881-.384-.065-.027-.074-.071-.074-.143v-1.312c0-.09.046-.116.11-.072.579.366 1.24.527 1.845.527.725 0 1.028-.295 1.028-.696 0-.322-.211-.607-1.138-1.072-1.303-.607-1.845-1.223-1.845-2.25 0-1.152.927-2.107 2.533-2.107zM12.57 13c2.542 0 3.534 1.357 3.534 3.09 0 2.267-1.69 3.24-3.763 3.24-.35 0-.469-.017-.716-.017v3.428c0 .071-.028.107-.11.107H10.11c-.073 0-.11-.027-.11-.107v-9.59c0-.062.129-.106.202-.106.587-.027 1.46-.045 2.368-.045zm-.055 1.42c-.367 0-.716.018-.881.026v3.447c.21.018.376.018.743.018 1.074 0 2.084-.366 2.084-1.786 0-1.134-.725-1.705-1.946-1.705z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#C43E1C",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#E19E8D",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M16 24a5.947 5.947 0 004.239-1.76 6.07 6.07 0 00.94-1.214c.262-.443.465-.92.607-1.432A5.862 5.862 0 0022 18a5.947 5.947 0 00-1.76-4.239 6.07 6.07 0 00-1.214-.94 5.894 5.894 0 00-1.432-.607A5.862 5.862 0 0016 12c-.457 0-.904.05-1.342.152a6.123 6.123 0 00-1.257.44c-.4.191-.776.427-1.128.706-.351.28-.67.597-.955.952h-.568A.748.748 0 0010 15v6a.748.748 0 00.75.75h.568c.286.355.604.673.955.952.352.28.728.515 1.128.706.4.192.82.338 1.257.44.438.101.885.152 1.342.152zm0-9.75h-3.668A5.186 5.186 0 0116 12.75v1.5zm5.197 3H17.5V15a.73.73 0 00-.219-.527.847.847 0 00-.241-.161.703.703 0 00-.29-.062v-1.447a5.086 5.086 0 011.617.512c.504.26.951.585 1.342.976.39.39.716.838.976 1.342.26.504.43 1.043.512 1.617zm-7.869 3.188h-1.213v-4.875h1.887c.258 0 .495.03.712.093.217.063.402.16.557.29.154.131.275.297.363.498.088.202.132.439.132.712 0 .266-.047.503-.141.712-.094.21-.223.386-.387.53a1.688 1.688 0 01-.577.331c-.22.077-.458.115-.712.115h-.62v1.593zm.527-2.655c.207 0 .369-.043.484-.129.115-.086.173-.24.173-.463 0-.214-.056-.36-.167-.439-.112-.078-.267-.117-.466-.117h-.55v1.148h.526zM16 23.25a5.186 5.186 0 01-3.668-1.5h4.418a.748.748 0 00.75-.75v-3.006h3.75c0 .485-.063.95-.188 1.395a5.251 5.251 0 01-1.353 2.32 5.258 5.258 0 01-2.317 1.353A5.155 5.155 0 0116 23.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M15.643 20.354a.5.5 0 00.707 0l5.003-5a.5.5 0 10-.706-.708l-4.65 4.647-1.647-1.647a.5.5 0 00-.707 0L9.646 21.65a.5.5 0 10.708.707l3.643-3.649 1.646 1.647z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#3FB87F",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M22 23.49c0 .282-.229.51-.5.51h-11a.505.505 0 01-.5-.51v-8.98c0-.282.229-.51.5-.51h11c.276 0 .5.228.5.51v8.98zM11 23h2v-2h-2v2zm10-2h-7v2h7v-2zm0-1v-2h-7v2h7zm-10 0h2v-2h-2v2zm10-3v-2h-7v2h7zm-8-2h-2v2h2v-2z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M20 14.068l-3.6-1.85c-.5-.291-1.3-.291-1.8 0l-3.6 1.85c-.6.292-1 .973-1 1.556v4.768c0 .681.4 1.265 1 1.557l3.6 1.849c.496.27 1.234.27 1.8 0l3.6-1.849c.6-.292 1-.973 1-1.557v-4.768c0-.583-.4-1.264-1-1.556zm-8.6 7.103c-.2-.098-.4-.487-.4-.681v-4.768c0-.292.2-.584.4-.681l3.6-1.85c.2-.096.6-.096.9 0l3.6 1.85c.1.061.154.134.2.194l-4.2 1.761v6.12c-.2 0-.282-.05-.4-.097l-3.7-1.848z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#F7931D",d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.D,d:"M13.195 17.07l.005.01c.12.312.292.6.504.851l-.424.254c-1.414.847-2.452 2.33-2.715 3.992a1 1 0 11-.999-.078c.289-1.994 1.516-3.763 3.2-4.772l.43-.257zm5.618.003l.429.256c1.687 1.008 2.91 2.77 3.197 4.77a1 1 0 11-1.002.073c-.26-1.664-1.293-3.14-2.708-3.985l-.43-.256.013-.019c.194-.235.354-.5.47-.787l.03-.052zM16 14a2 2 0 011.937 1.5h4.592c.26 0 .471.21.471.47v.06c0 .26-.21.47-.47.47l-4.593.001a2 2 0 01-3.874 0L9.471 16.5a.47.47 0 01-.47-.47v-.06c0-.26.21-.47.47-.47h4.592A2 2 0 0116 14zm0 1a1 1 0 00-1 .98v.039l.007.098A1 1 0 1016 15z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:"#185ABD",d:"M9 3h9.586c.265 0 .52.105.707.293l6.415 6.414a1 1 0 01.293.707V26A3.002 3.002 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:"#8BACDE",d:"M19.286 3.286l6.422 6.421a.994.994 0 01.203.293H21a2.001 2.001 0 01-1.995-1.85L19 8V3.09c.105.048.202.114.286.196z"}),n.createElement("path",{fill:o.D,d:"M20.25 25a.748.748 0 00.75-.75v-10.5a.748.748 0 00-.75-.75H12a.748.748 0 00-.75.75v1.5h-1.5A.748.748 0 009 16v6a.748.748 0 00.75.75h1.5v1.5A.748.748 0 0012 25h8.25zm0-9.75H12v-1.5h8.25v1.5zm0 3H16.5V16h3.75v2.25zm-8.104 3.188h-1.26l-1.083-4.875h1.207l.55 2.8.61-2.8h1.184l.638 2.783.51-2.784h1.195l-1.078 4.875h-1.242l-.633-2.8-.598 2.8zm8.104-.188H16.5V19h3.75v2.25zm0 3H12v-1.5h3.75a.748.748 0 00.75-.75h3.75v2.25z"})))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:o.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.583 16v5h2.122c.498 0 .913-.137 1.205-.395.294-.259.452-.63.452-1.076v-.007c0-.565-.34-1.026-.84-1.186.372-.18.625-.588.625-1.034v-.007c0-.394-.14-.722-.404-.95-.263-.227-.638-.345-1.09-.345h-2.07zm4.594 0v5h1.872c.697 0 1.255-.228 1.637-.667.38-.438.575-1.071.575-1.861v-.007c0-.767-.197-1.386-.58-1.813-.383-.429-.94-.652-1.632-.652h-1.872zm-2.765.948c.208 0 .358.054.455.14.095.084.15.21.15.38v.007c0 .171-.058.295-.163.38-.108.086-.279.14-.52.14h-.605v-1.047h.683zm.031 1.911c.265 0 .453.058.573.154.117.092.182.232.182.43v.006c0 .205-.064.348-.178.443-.116.098-.297.157-.555.157h-.737v-1.19h.715zm3.879 1.11V17.03h.578c.383 0 .677.132.878.37.203.24.32.602.32 1.08v.007c0 .498-.114.868-.315 1.11-.198.24-.492.37-.883.37h-.578zM9 20.996h1.35l1.033-1.62 1.035 1.62h1.415l-1.656-2.503L13.858 16H12.46l-.996 1.665L10.461 16H9.005l1.62 2.475L9 20.995z",fill:o.D}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("path",{d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z",fill:"#00838D"}),n.createElement("path",{d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z",fill:o.D,fillOpacity:.5}),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.352 21H8l1.627-2.523L8.005 16h1.457l1.004 1.666.997-1.666h1.4l-1.683 2.495L12.837 21H11.42l-1.036-1.62L9.352 21zm3.918 0v-5h2.035c.75 0 1.354.222 1.771.649.417.427.634 1.046.634 1.816v.007c0 .792-.214 1.427-.629 1.864-.416.438-1.021.664-1.776.664H13.27zm6.01 0l-1.356-5h1.283l.717 3.208.838-3.208h1.024l.854 3.21.71-3.21h1.277l-1.358 5h-1.117l-.88-3.057L20.405 21h-1.125zM14.5 17.031v2.938h.64c.433 0 .757-.133.975-.374.218-.243.342-.61.342-1.107v-.006c0-.476-.127-.837-.348-1.078-.22-.239-.545-.373-.969-.373h-.64z",fill:o.D}))},function(e,t,r){"use strict";var n=r(0),o=r(2),i=r(10);function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}t.a=e=>n.createElement(i.a,a({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none"},n.createElement("path",{fill:o.i,d:"M9 3h9.586a1 1 0 01.707.293l6.415 6.414a1 1 0 01.293.707V26A3 3 0 0123 29H9a3 3 0 01-3-3V6a3 3 0 013-3z"}),n.createElement("path",{fill:o.D,fillOpacity:.5,d:"M19.286 3.286l5.01 5.009 1.412 1.412a1 1 0 01.203.293H21a2 2 0 01-2-2V3.09a1 1 0 01.286.196z"}),n.createElement("path",{fill:o.m,d:"M10 24h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V8zm1 15h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1v-1zm0-2h1v1h-1V9z"})))},function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(0),o=r.n(n),i=r(105),a=r(60),s=r(37),l=r(7);r(625);const c={weekday:"short",month:"short",year:"numeric",day:"numeric"};var u=Object(a.c)((e=>{let{date:t,dateFormat:r=c,omitCommas:n=!1,intl:a,relative:u=!0,capitalize:d=!1}=e;const h=new Date(t),f=Object(s.i)(h),p=Object(s.k)(h);if(u&&(f||p)){let e=o.a.createElement(i.a,l.a.today);return p&&(e=o.a.createElement(i.a,l.a.yesterday)),d?o.a.createElement("span",{className:"be-date-capitalize"},e):e}let m=a.formatDate(h,r);return m=n?m.replace(/,/g,""):m,m}))},function(e,t,r){var n=r(156),o=r(410),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(235),o=r(182),i=r(114);e.exports=function(e){return n(e,i,o)}},function(e,t,r){var n=r(49).Uint8Array;e.exports=n},function(e,t){e.exports=function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n<o;)i[n]=e[n+t];return i}},function(e,t,r){var n=r(112),o=r(118),i=r(39),a=r(142),s=r(179),l=r(107);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c<u;){var h=l(t[c]);if(!(d=null!=e&&r(e,h)))break;e=e[h]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(h,u)&&(i(e)||o(e))}},function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++i<o;)if(t(e[i],i,e))return i;return-1}},function(e,t,r){var n=r(282);e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},,,,,,,,function(e,t,r){"use strict";var n=r(0),o=r(108),i=r.n(o),a=r(346),s=r(4),l=r.n(s),c=r(1);function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function d(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);t.a=function(e){var t,r;return r=t=class extends n.PureComponent{constructor(e){super(e),h(this,"onResize",i()((e=>{let{bounds:{width:t}}=e;this.setState({size:this.getSize(t)})}),500)),h(this,"innerRef",(e=>{this.innerElement=e})),h(this,"getInnerElement",(()=>this.innerElement)),this.state={size:e.size||this.getSize(window.innerWidth)}}getSize(e){let t=c.wf;return e<=700?t=c.vf:e<=1e3?t=c.uf:e<=1500&&(t=c.tf),t}render(){const t=this.props,{isTouch:r,size:o,className:i,componentRef:s}=t,h=d(t,["isTouch","size","className","componentRef"]);let f=o===c.tf,p=o===c.uf,m=o===c.vf,b=o===c.wf;const g=!(m||f||p||b);if([m,p,f,b].filter((e=>e)).length>1)throw new Error("Box UI Element cannot be small or medium or large or very large at the same time");if(!g)return n.createElement(e,u({ref:s,className:i,isLarge:f,isMedium:p,isSmall:m,isTouch:r,isVeryLarge:b},h));const{size:v}=this.state;m=v===c.vf,p=v===c.uf,f=v===c.tf,b=v===c.wf;const y=l()({[c.x]:m,[c.w]:p,[c.y]:r},i);return n.createElement(a.a,{bounds:!0,innerRef:this.innerRef,onResize:this.onResize},(t=>{let{measureRef:o}=t;return n.createElement(e,u({ref:s,className:y,getInnerRef:this.getInnerElement,isLarge:f,isMedium:p,isSmall:m,isTouch:r,isVeryLarge:b,measureRef:o},h))}))}},h(t,"defaultProps",{className:"",isTouch:f}),r}},,,,,,,,function(e,t,r){var n=r(79)(r(49),"WeakMap");e.exports=n},function(e,t,r){var n=r(435),o=r(240),i=r(241);e.exports=function(e){return i(o(e,void 0,n),e+"")}},function(e,t){(function(t){e.exports=t}).call(this,{})},function(e,t,r){},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var n=r(89),o=r.n(n),i=r(110),a=r.n(i),s=r(152),l=r.n(s),c=r(153),u=r.n(c),d=r(26),h=r.n(d),f=r(154),p=r.n(f),m=r(17),b=r.n(m),g=r(0),v=r(615);function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(r,!0).forEach((function(t){b()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var w=function(e){function t(){var e,r;o()(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return r=l()(this,(e=u()(t)).call.apply(e,[this].concat(i))),b()(h()(r),"state",{height:r.props.defaultHeight||0,width:r.props.defaultWidth||0}),b()(h()(r),"_parentNode",void 0),b()(h()(r),"_autoSizer",void 0),b()(h()(r),"_window",void 0),b()(h()(r),"_detectElementResize",void 0),b()(h()(r),"_onResize",(function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var i=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,s=(r._window||window).getComputedStyle(r._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,c=parseInt(s.paddingRight,10)||0,u=parseInt(s.paddingTop,10)||0,d=parseInt(s.paddingBottom,10)||0,h=i-u-d,f=a-l-c;(!t&&r.state.height!==h||!n&&r.state.width!==f)&&(r.setState({height:i-u-d,width:a-l-c}),o({height:i,width:a}))}})),b()(h()(r),"_setRef",(function(e){r._autoSizer=e})),r}return p()(t,e),a()(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._window=this._autoSizer.parentNode.ownerDocument.defaultView,this._detectElementResize=Object(v.a)(e,this._window),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,r=e.className,n=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,s=a.height,l=a.width,c={overflow:"visible"},u={};return n||(c.height=0,u.height=s),o||(c.width=0,u.width=l),g.createElement("div",{className:r,ref:this._setRef,style:C({},c,{},i)},t(u))}}]),t}(g.Component);b()(w,"defaultProps",{onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}})},function(e,t,r){"use strict";r.d(t,"b",(function(){return G})),r.d(t,"a",(function(){return K}));var n=r(195),o=r.n(n),i=r(89),a=r.n(i),s=r(110),l=r.n(s),c=r(152),u=r.n(c),d=r(153),h=r.n(d),f=r(26),p=r.n(f),m=r(154),b=r.n(m),g=r(17),v=r.n(g),y=r(0),C=r.n(y),w=r(137);function E(e){var t=e.cellCount,r=e.cellSize,n=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!=typeof r&&"number"!=typeof a||r===a)||(n(o),l>=0&&l===s&&c())}var S=r(501),k=r.n(S),O=function(){function e(t){var r=t.cellCount,n=t.cellSizeGetter,o=t.estimatedCellSize;a()(this,e),v()(this,"_cellSizeAndPositionData",{}),v()(this,"_lastMeasuredIndex",-1),v()(this,"_lastBatchedIndex",-1),v()(this,"_cellCount",void 0),v()(this,"_cellSizeGetter",void 0),v()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=n,this._cellCount=r,this._estimatedCellSize=o}return l()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,r=e.estimatedCellSize,n=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=r,this._cellSizeGetter=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),r=t.offset+t.size,n=this._lastMeasuredIndex+1;n<=e;n++){var o=this._cellSizeGetter({index:n});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(n," of value ").concat(o));null===o?(this._cellSizeAndPositionData[n]={offset:r,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[n]={offset:r,size:o},r+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,r=void 0===t?"auto":t,n=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(n<=0)return 0;var a,s=this.getSizeAndPositionOfCell(i),l=s.offset,c=l-n+s.size;switch(r){case"start":a=l;break;case"end":a=c;break;case"center":a=l-(n-s.size)/2;break;default:a=Math.max(c,Math.min(l,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-n,a))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,r=e.offset;if(0===this.getTotalSize())return{};var n=r+t,o=this._findNearestCell(r),i=this.getSizeAndPositionOfCell(o);r=i.offset+i.size;for(var a=o;r<n&&a<this._cellCount-1;)a++,r+=this.getSizeAndPositionOfCell(a).size;return{start:o,stop:a}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e,t,r){for(;t<=e;){var n=t+Math.floor((e-t)/2),o=this.getSizeAndPositionOfCell(n).offset;if(o===r)return n;o<r?t=n+1:o>r&&(e=n-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var r=1;e<this._cellCount&&this.getSizeAndPositionOfCell(e).offset<t;)e+=r,r*=2;return this._binarySearch(Math.min(e,this._cellCount-1),Math.floor(e/2),t)}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset ".concat(e," specified"));e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),r=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch(r,0,e):this._exponentialSearch(r,e)}}]),e}(),x=function(){return"undefined"!=typeof window&&window.chrome?16777100:15e5},_=function(){function e(t){var r=t.maxScrollSize,n=void 0===r?x():r,o=k()(t,["maxScrollSize"]);a()(this,e),v()(this,"_cellSizeAndPositionManager",void 0),v()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new O(o),this._maxScrollSize=n}return l()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:o});return Math.round(i*(o-n))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,r=void 0===t?"auto":t,n=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:n,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:n,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:n,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,r=e.offset;return r=this._safeOffsetToOffset({containerSize:t,offset:r}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:r})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,r=e.offset,n=e.totalSize;return n<=t?0:r/(n-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(n===o)return r;var i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:n});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,r=e.offset,n=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(n===o)return r;var i=this._getOffsetPercentage({containerSize:t,offset:r,totalSize:o});return Math.round(i*(n-t))}}]),e}();function P(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(r){var n=r.callback,o=r.indices,i=Object.keys(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),s=i.length!==Object.keys(t).length||i.some((function(e){var r=t[e],n=o[e];return Array.isArray(n)?r.join(",")!==n.join(","):r!==n}));t=o,a&&s&&n(o)}}function T(e){var t=e.cellSize,r=e.cellSizeAndPositionManager,n=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,d=e.size,h=e.sizeJustIncreasedFromZero,f=e.updateScrollIndexCallback,p=r.getCellCount(),m=u>=0&&u<p;m&&(d!==s||h||!o||"number"==typeof t&&t!==o||c!==i||u!==a)?f(u):!m&&p>0&&(d<s||p<n)&&l>r.getTotalSize()-d&&f(p-1)}var I,A=!("undefined"==typeof window||!window.document||!window.document.createElement);var L,M=r(344),R=(L="undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).requestAnimationFrame||L.webkitRequestAnimationFrame||L.mozRequestAnimationFrame||L.oRequestAnimationFrame||L.msRequestAnimationFrame||function(e){return L.setTimeout(e,1e3/60)},D=L.cancelAnimationFrame||L.webkitCancelAnimationFrame||L.mozCancelAnimationFrame||L.oCancelAnimationFrame||L.msCancelAnimationFrame||function(e){L.clearTimeout(e)},j=R,F=D,N=function(e){return F(e.id)};function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(r,!0).forEach((function(t){v()(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var B="observed",V="requested",W=function(e){function t(e){var r;a()(this,t),r=u()(this,h()(t).call(this,e)),v()(p()(r),"_onGridRenderedMemoizer",P()),v()(p()(r),"_onScrollMemoizer",P(!1)),v()(p()(r),"_deferredInvalidateColumnIndex",null),v()(p()(r),"_deferredInvalidateRowIndex",null),v()(p()(r),"_recomputeScrollLeftFlag",!1),v()(p()(r),"_recomputeScrollTopFlag",!1),v()(p()(r),"_horizontalScrollBarSize",0),v()(p()(r),"_verticalScrollBarSize",0),v()(p()(r),"_scrollbarPresenceChanged",!1),v()(p()(r),"_scrollingContainer",void 0),v()(p()(r),"_childrenToDisplay",void 0),v()(p()(r),"_columnStartIndex",void 0),v()(p()(r),"_columnStopIndex",void 0),v()(p()(r),"_rowStartIndex",void 0),v()(p()(r),"_rowStopIndex",void 0),v()(p()(r),"_renderedColumnStartIndex",0),v()(p()(r),"_renderedColumnStopIndex",0),v()(p()(r),"_renderedRowStartIndex",0),v()(p()(r),"_renderedRowStopIndex",0),v()(p()(r),"_initialScrollTop",void 0),v()(p()(r),"_initialScrollLeft",void 0),v()(p()(r),"_disablePointerEventsTimeoutId",void 0),v()(p()(r),"_styleCache",{}),v()(p()(r),"_cellCache",{}),v()(p()(r),"_debounceScrollEndedCallback",(function(){r._disablePointerEventsTimeoutId=null,r.setState({isScrolling:!1,needToResetStyleCache:!1})})),v()(p()(r),"_invokeOnGridRenderedHelper",(function(){var e=r.props.onSectionRendered;r._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:r._columnStartIndex,columnOverscanStopIndex:r._columnStopIndex,columnStartIndex:r._renderedColumnStartIndex,columnStopIndex:r._renderedColumnStopIndex,rowOverscanStartIndex:r._rowStartIndex,rowOverscanStopIndex:r._rowStopIndex,rowStartIndex:r._renderedRowStartIndex,rowStopIndex:r._renderedRowStopIndex}})})),v()(p()(r),"_setScrollingContainerRef",(function(e){r._scrollingContainer=e})),v()(p()(r),"_onScroll",(function(e){e.target===r._scrollingContainer&&r.handleScrollEvent(e.target)}));var n=new _({cellCount:e.columnCount,cellSizeGetter:function(r){return t._wrapSizeGetter(e.columnWidth)(r)},estimatedCellSize:t._getEstimatedColumnSize(e)}),o=new _({cellCount:e.rowCount,cellSizeGetter:function(r){return t._wrapSizeGetter(e.rowHeight)(r)},estimatedCellSize:t._getEstimatedRowSize(e)});return r.state={instanceProps:{columnSizeAndPositionManager:n,rowSizeAndPositionManager:o,prevColumnWidth:e.columnWidth,prevRowHeight:e.rowHeight,prevColumnCount:e.columnCount,prevRowCount:e.rowCount,prevIsScrolling:!0===e.isScrolling,prevScrollToColumn:e.scrollToColumn,prevScrollToRow:e.scrollToRow,scrollbarSize:0,scrollbarSizeMeasured:!1},isScrolling:!1,scrollDirectionHorizontal:1,scrollDirectionVertical:1,scrollLeft:0,scrollTop:0,scrollPositionChangeReason:null,needToResetStyleCache:!1},e.scrollToRow>0&&(r._initialScrollTop=r._getCalculatedScrollTop(e,r.state)),e.scrollToColumn>0&&(r._initialScrollLeft=r._getCalculatedScrollLeft(e,r.state)),r}return b()(t,e),l()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,r=void 0===t?this.props.scrollToAlignment:t,n=e.columnIndex,o=void 0===n?this.props.scrollToColumn:n,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,s=H({},this.props,{scrollToAlignment:r,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(s),scrollTop:this._getCalculatedScrollTop(s)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,r=void 0===t?0:t,n=e.scrollTop,o=void 0===n?0:n;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,s=i.autoWidth,l=i.height,c=i.width,u=this.state.instanceProps,d=u.scrollbarSize,h=u.rowSizeAndPositionManager.getTotalSize(),f=u.columnSizeAndPositionManager.getTotalSize(),p=Math.min(Math.max(0,f-c+d),r),m=Math.min(Math.max(0,h-l+d),o);if(this.state.scrollLeft!==p||this.state.scrollTop!==m){var b={isScrolling:!0,scrollDirectionHorizontal:p!==this.state.scrollLeft?p>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:m!==this.state.scrollTop?m>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:B};a||(b.scrollTop=m),s||(b.scrollLeft=p),b.needToResetStyleCache=!1,this.setState(b)}this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:m,totalColumnsWidth:f,totalRowsHeight:h})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,r=e.rowIndex;this._deferredInvalidateColumnIndex="number"==typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"==typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,r):r}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,r=e.rowCount,n=this.state.instanceProps;n.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),n.rowSizeAndPositionManager.getSizeAndPositionOfCell(r-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,r=void 0===t?0:t,n=e.rowIndex,o=void 0===n?0:n,i=this.props,a=i.scrollToColumn,s=i.scrollToRow,l=this.state.instanceProps;l.columnSizeAndPositionManager.resetCell(r),l.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?r<=a:r>=a),this._recomputeScrollTopFlag=s>=0&&(1===this.state.scrollDirectionVertical?o<=s:o>=s),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,r=e.rowIndex,n=this.props.columnCount,o=this.props;n>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(H({},o,{scrollToColumn:t})),void 0!==r&&this._updateScrollTopForScrollToRow(H({},o,{scrollToRow:r}))}},{key:"componentDidMount",value:function(){var e=this.props,r=e.getScrollbarSize,n=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,s=e.scrollToRow,l=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=H({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=r(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"==typeof o&&o>=0||"number"==typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=n>0&&l>0;i>=0&&d&&this._updateScrollLeftForScrollToColumn(),s>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var r=this,n=this.props,o=n.autoHeight,i=n.autoWidth,a=n.columnCount,s=n.height,l=n.rowCount,c=n.scrollToAlignment,u=n.scrollToColumn,d=n.scrollToRow,h=n.width,f=this.state,p=f.scrollLeft,m=f.scrollPositionChangeReason,b=f.scrollTop,g=f.instanceProps;this._handleInvalidatedGridSize();var v=a>0&&0===e.columnCount||l>0&&0===e.rowCount;m===V&&(!i&&p>=0&&(p!==this._scrollingContainer.scrollLeft||v)&&(this._scrollingContainer.scrollLeft=p),!o&&b>=0&&(b!==this._scrollingContainer.scrollTop||v)&&(this._scrollingContainer.scrollTop=b));var y=(0===e.width||0===e.height)&&s>0&&h>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):T({cellSizeAndPositionManager:g.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:p,scrollToAlignment:c,scrollToIndex:u,size:h,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return r._updateScrollLeftForScrollToColumn(r.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):T({cellSizeAndPositionManager:g.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:b,scrollToAlignment:c,scrollToIndex:d,size:s,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return r._updateScrollTopForScrollToRow(r.props)}}),this._invokeOnGridRenderedHelper(),p!==t.scrollLeft||b!==t.scrollTop){var C=g.rowSizeAndPositionManager.getTotalSize(),w=g.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:p,scrollTop:b,totalColumnsWidth:w,totalRowsHeight:C})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,r=e.autoHeight,n=e.autoWidth,i=e.className,a=e.containerProps,s=e.containerRole,l=e.containerStyle,c=e.height,u=e.id,d=e.noContentRenderer,h=e.role,f=e.style,p=e.tabIndex,m=e.width,b=this.state,g=b.instanceProps,v=b.needToResetStyleCache,C=this._isScrolling(),E={boxSizing:"border-box",direction:"ltr",height:r?"auto":c,position:"relative",width:n?"auto":m,WebkitOverflowScrolling:"touch",willChange:"transform"};v&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var S=g.columnSizeAndPositionManager.getTotalSize(),k=g.rowSizeAndPositionManager.getTotalSize(),O=k>c?g.scrollbarSize:0,x=S>m?g.scrollbarSize:0;x===this._horizontalScrollBarSize&&O===this._verticalScrollBarSize||(this._horizontalScrollBarSize=x,this._verticalScrollBarSize=O,this._scrollbarPresenceChanged=!0),E.overflowX=S+O<=m?"hidden":"auto",E.overflowY=k+x<=c?"hidden":"auto";var _=this._childrenToDisplay,P=0===_.length&&c>0&&m>0;return y.createElement("div",o()({ref:this._setScrollingContainerRef},a,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Object(w.a)("ReactVirtualized__Grid",i),id:u,onScroll:this._onScroll,role:h,style:H({},E,{},f),tabIndex:p}),_.length>0&&y.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:s,style:H({width:t?"auto":S,height:k,maxWidth:S,maxHeight:k,overflow:"hidden",pointerEvents:C?"none":"",position:"relative"},l)},_),P&&d())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=e.cellRenderer,n=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,s=e.overscanColumnCount,l=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,d=e.width,h=e.isScrollingOptOut,f=t.scrollDirectionHorizontal,p=t.scrollDirectionVertical,m=t.instanceProps,b=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,g=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,v=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&d>0){var y=m.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:g}),C=m.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:b}),w=m.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:g}),E=m.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:b});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=C.start,this._renderedRowStopIndex=C.stop;var S=l({direction:"horizontal",cellCount:o,overscanCellsCount:s,scrollDirection:f,startIndex:"number"==typeof y.start?y.start:0,stopIndex:"number"==typeof y.stop?y.stop:-1}),k=l({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:p,startIndex:"number"==typeof C.start?C.start:0,stopIndex:"number"==typeof C.stop?C.stop:-1}),O=S.overscanStartIndex,x=S.overscanStopIndex,_=k.overscanStartIndex,P=k.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var T=_;T<=P;T++)if(!i.has(T,0)){O=0,x=o-1;break}if(!i.hasFixedWidth())for(var I=O;I<=x;I++)if(!i.has(0,I)){_=0,P=u-1;break}}this._childrenToDisplay=n({cellCache:this._cellCache,cellRenderer:r,columnSizeAndPositionManager:m.columnSizeAndPositionManager,columnStartIndex:O,columnStopIndex:x,deferredMeasurementCache:i,horizontalOffsetAdjustment:w,isScrolling:v,isScrollingOptOut:h,parent:this,rowSizeAndPositionManager:m.rowSizeAndPositionManager,rowStartIndex:_,rowStopIndex:P,scrollLeft:g,scrollTop:b,styleCache:this._styleCache,verticalOffsetAdjustment:E,visibleColumnIndices:y,visibleRowIndices:C}),this._columnStartIndex=O,this._columnStopIndex=x,this._rowStartIndex=_,this._rowStopIndex=P}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&N(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=function(e,t){var r;Promise.resolve().then((function(){r=Date.now()}));var n={id:j((function o(){Date.now()-r>=t?e.call():n.id=j(o)}))};return n}(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"==typeof this._deferredInvalidateColumnIndex&&"number"==typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,r=e.scrollLeft,n=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var r=e.scrollLeft,n=e.scrollTop,a=t.props,s=a.height;(0,a.onScroll)({clientHeight:s,clientWidth:a.width,scrollHeight:i,scrollLeft:r,scrollTop:n,scrollWidth:o})},indices:{scrollLeft:r,scrollTop:n}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var r=e.scrollLeft,n=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:r,scrollTop:n});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,r)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollLeftForScrollToColumnStateUpdate(e,r);n&&(n.needToResetStyleCache=!1,this.setState(n))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,r)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,r=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var n=this._rowStartIndex;n<=this._rowStopIndex;n++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(n,"-").concat(o);this._styleCache[i]=e[i],r&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=t._getScrollTopForScrollToRowStateUpdate(e,r);n&&(n.needToResetStyleCache=!1,this.setState(n))}}],[{key:"getDerivedStateFromProps",value:function(e,r){var n={};0===e.columnCount&&0!==r.scrollLeft||0===e.rowCount&&0!==r.scrollTop?(n.scrollLeft=0,n.scrollTop=0):(e.scrollLeft!==r.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==r.scrollTop&&e.scrollToRow<0)&&U(n,t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=r.instanceProps;return n.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(n.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&U(n,{isScrolling:!1}),E({cellCount:a.prevColumnCount,cellSize:"number"==typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"==typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,r)}}),E({cellCount:a.prevRowCount,cellSize:"number"==typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"==typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,r)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,n.instanceProps=a,H({},n,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,r=e.scrollLeft,n=e.scrollTop,o={scrollPositionChangeReason:V};return"number"==typeof r&&r>=0&&(o.scrollDirectionHorizontal=r>t.scrollLeft?1:-1,o.scrollLeft=r),"number"==typeof n&&n>=0&&(o.scrollDirectionVertical=n>t.scrollTop?1:-1,o.scrollTop=n),"number"==typeof r&&r>=0&&r!==t.scrollLeft||"number"==typeof n&&n>=0&&n!==t.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"==typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var r=e.columnCount,n=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,s=t.scrollLeft,l=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),d=l.rowSizeAndPositionManager.getTotalSize(),h=l.scrollbarSizeMeasured&&d>n?l.scrollbarSize:0;return l.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-h,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,r){var n=r.scrollLeft,o=t._getCalculatedScrollLeft(e,r);return"number"==typeof o&&o>=0&&n!==o?t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var r=e.height,n=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,s=t.scrollTop,l=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),d=l.columnSizeAndPositionManager.getTotalSize(),h=l.scrollbarSizeMeasured&&d>a?l.scrollbarSize:0;return l.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:r-h,currentOffset:s,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,r){var n=r.scrollTop,o=t._getCalculatedScrollTop(e,r);return"number"==typeof o&&o>=0&&n!==o?t._getScrollToPositionStateUpdate({prevState:r,scrollLeft:-1,scrollTop:o}):{}}}]),t}(y.PureComponent);v()(W,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,r=e.cellRenderer,n=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,s=e.horizontalOffsetAdjustment,l=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,d=e.rowSizeAndPositionManager,h=e.rowStartIndex,f=e.rowStopIndex,p=e.styleCache,m=e.verticalOffsetAdjustment,b=e.visibleColumnIndices,g=e.visibleRowIndices,v=[],y=n.areOffsetsAdjusted()||d.areOffsetsAdjusted(),w=!l&&!y,E=h;E<=f;E++)for(var S=d.getSizeAndPositionOfCell(E),k=o;k<=i;k++){var O=n.getSizeAndPositionOfCell(k),x=k>=b.start&&k<=b.stop&&E>=g.start&&E<=g.stop,_="".concat(E,"-").concat(k),P=void 0;w&&p[_]?P=p[_]:a&&!a.has(E,k)?P={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(P={height:S.size,left:O.offset+s,position:"absolute",top:S.offset+m,width:O.size},p[_]=P);var T={columnIndex:k,isScrolling:l,isVisible:x,key:_,parent:u,rowIndex:E,style:P},I=void 0;!c&&!l||s||m?I=r(T):(t[_]||(t[_]=r(T)),I=t[_]),null!=I&&!1!==I&&(I.props.role||(I=C.a.cloneElement(I,{role:"gridcell"})),v.push(I))}return v},containerRole:"row",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:function(e){if((!I&&0!==I||e)&&A){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),I=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return I},noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===n?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Object(M.polyfill)(W);var G=W,q=1;function K(e){var t=e.cellCount,r=e.overscanCellsCount,n=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return r=Math.max(1,r),n===q?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+r)}:{overscanStartIndex:Math.max(0,o-r),overscanStopIndex:Math.min(t-1,i+1)}}},,,function(e,t,r){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}.bind(this))}function i(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var r=null,a=null,s=null;if("function"==typeof t.componentWillMount?r="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(r="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==r||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==r?"\n "+r:"")+(null!==a?"\n "+a:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;u.call(this,e,t,n)}}return e}r.r(t),r.d(t,"polyfill",(function(){return a})),n.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,r){"use strict";function n(e){if(!e)return"0 Byte";const t=Math.floor(Math.log(e)/Math.log(1024));return"".concat(parseFloat((e/1024**t).toFixed(2))," ").concat(["Bytes","KB","MB","GB","TB","PB"][t])}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}var o=r(0),i=r(98),a=r.n(i),s=r(542),l=["client","offset","scroll","bounds","margin"];function c(e){var t=[];return l.forEach((function(r){e[r]&&t.push(r)})),t}function u(e,t){var r={};if(t.indexOf("client")>-1&&(r.client={top:e.clientTop,left:e.clientLeft,width:e.clientWidth,height:e.clientHeight}),t.indexOf("offset")>-1&&(r.offset={top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight}),t.indexOf("scroll")>-1&&(r.scroll={top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}),t.indexOf("bounds")>-1){var n=e.getBoundingClientRect();r.bounds={top:n.top,right:n.right,bottom:n.bottom,left:n.left,width:n.width,height:n.height}}if(t.indexOf("margin")>-1){var o=getComputedStyle(e);r.margin={top:o?parseInt(o.marginTop):0,right:o?parseInt(o.marginRight):0,bottom:o?parseInt(o.marginBottom):0,left:o?parseInt(o.marginLeft):0}}return r}var d,h,f,p,m=(d=function(e){var t=e.measure,r=e.measureRef,n=e.contentRect;return(0,e.children)({measure:t,measureRef:r,contentRect:n})},f=h=function(e){var t,r;function i(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).state={contentRect:{entry:{},client:{},offset:{},scroll:{},bounds:{},margin:{}}},t._animationFrameID=null,t._resizeObserver=null,t._node=null,t.measure=function(e){var r=u(t._node,p||c(t.props));e&&(r.entry=e[0].contentRect),t._animationFrameID=window.requestAnimationFrame((function(){null!==t._resizeObserver&&(t.setState({contentRect:r}),"function"==typeof t.props.onResize&&t.props.onResize(r))}))},t._handleRef=function(e){null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.unobserve(t._node),t._node=e,null!==t._resizeObserver&&null!==t._node&&t._resizeObserver.observe(t._node);var r=t.props.innerRef;r&&("function"==typeof r?r(t._node):r.current=t._node)},t}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,t.__proto__=r;var a=i.prototype;return a.componentDidMount=function(){this._resizeObserver=new s.a(this.measure),null!==this._node&&(this._resizeObserver.observe(this._node),"function"==typeof this.props.onResize&&this.props.onResize(u(this._node,p||c(this.props))))},a.componentWillUnmount=function(){null!==this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null),window.cancelAnimationFrame(this._animationFrameID)},a.render=function(){var e=this.props,t=(e.innerRef,e.onResize,function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,["innerRef","onResize"]));return Object(o.createElement)(d,n({},t,{measureRef:this._handleRef,measure:this.measure,contentRect:this.state.contentRect}))},i}(o.Component),h.propTypes={client:a.a.bool,offset:a.a.bool,scroll:a.a.bool,bounds:a.a.bool,margin:a.a.bool,innerRef:a.a.oneOfType([a.a.object,a.a.func]),onResize:a.a.func},f);m.displayName="Measure",m.propTypes.children=a.a.func;t.a=m},,,,,,function(e,t,r){var n=r(79)(r(49),"Set");e.exports=n},function(e,t,r){var n=r(317),o=r(472),i=r(473);e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},function(e,t,r){var n=r(485)();e.exports=n},,,,,,,,,function(e,t,r){"use strict";r(281);var n=r(0),o=r.n(n),i=r(4),a=r.n(i),s=r(9),l=r.n(s),c=r(3),u=r.n(c),d=r(12),h=r.n(d),f=r(92),p=r.n(f),m=r(22),b=r(65),g=r(326),v=r(134),y=r(28),C=r(82),w=r(1);function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?E(Object(r),!0).forEach((function(t){k(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function k(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class O{constructor(e,t,r,n,o,i){k(this,"files",[]),k(this,"folders",{}),k(this,"uploadChildFolders",(async e=>{const t=Object.values(this.folders).map((t=>t.upload(this.folderId,e)));await Promise.all(t)})),k(this,"createAndUploadFolder",(async(e,t)=>{await this.buildCurrentFolderFromEntry();let r=!1,n="";try{const e=await this.createFolder();this.folderId=e.id}catch(o){o.code===w.hc?this.folderId=o.context_info.conflicts[0].id:t?e(o):(r=!0,n=o.code,e({code:w.xc}))}if(t)return;const o={extension:"",name:this.name,status:w.Of,isFolder:!0,size:1,progress:100};r&&(o.status=w.Pf,o.error={code:n}),this.addFolderToUploadQueue(o)})),k(this,"getFormattedFiles",(()=>this.files.map((e=>({file:e,options:S({},this.fileAPIOptions,{folderId:this.folderId,uploadInitTimestamp:Date.now()})}))))),k(this,"createFolderUploadNodesFromEntries",(async e=>{await Promise.all(e.map((async e=>{const{isFile:t,name:r}=e;if(t){const t=await Object(y.i)(e);this.files.push(t)}else this.folders[r]=new O(r,this.addFilesToUploadQueue,this.addFolderToUploadQueue,this.fileAPIOptions,S({},this.baseAPIOptions,{},this.fileAPIOptions),e)})))})),k(this,"readEntry",((e,t)=>{e.readEntries((async r=>{r.length?(await this.createFolderUploadNodesFromEntries(r),this.readEntry(e,t)):t()}),u.a)})),k(this,"buildCurrentFolderFromEntry",(()=>this.entry?new Promise((e=>{const t=this.entry.createReader();this.readEntry(t,e)})):Promise.resolve())),k(this,"getFolderId",(()=>this.folderId)),this.name=e,this.addFilesToUploadQueue=t,this.addFolderToUploadQueue=r,this.fileAPIOptions=n,this.baseAPIOptions=o,this.entry=i}async upload(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.parentFolderId=e,await this.createAndUploadFolder(t,r),this.getFolderId()&&(this.addFilesToUploadQueue(this.getFormattedFiles(),u.a,!0),await this.uploadChildFolders(t))}createFolder(){const e=new C.a(S({},this.baseAPIOptions,{id:"folder_".concat(this.parentFolderId)}));return new Promise(((t,r)=>{e.create(this.parentFolderId,this.name,t,r)}))}}var x=O;function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var T=class{constructor(e,t,r,n){P(this,"files",[]),this.addFilesToUploadQueue=e,this.destinationFolderId=t,this.addFolderToUploadQueue=r,this.baseAPIOptions=n}buildFolderTreeFromWebkitRelativePath(e){Array.from(e).forEach((e=>{const t=Object(y.f)(e),{webkitRelativePath:r}=t;if(!r)return;const n=Object(y.g)(e),o=r.split("/").slice(0,-1);if(o.length<=0)return;if(!this.folder){const e=o[0];this.folder=this.createFolderUploadNode(e,n)}1===o.length&&this.folder.files.push(t);let i=this.folder.folders;const a=o.slice(1);a.forEach(((e,r)=>{i[e]||(i[e]=this.createFolderUploadNode(e,n)),r===a.length-1?i[e].files.push(t):i=i[e].folders}))}))}async buildFolderTreeFromDataTransferItem(e){const t=Object(y.b)(e),r=Object(y.c)(e),n=Object(y.e)(t),{name:o}=n;this.folder=this.createFolderUploadNode(o,r,n)}createFolderUploadNode(e,t,r){return new x(e,this.addFilesToUploadQueue,this.addFolderToUploadQueue,t,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach((function(t){P(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this.baseAPIOptions,{},t),r)}async upload(e){let{errorCallback:t,successCallback:r}=e;await this.folder.upload(this.destinationFolderId,t,!0);const n=this.folder.getFolderId();n&&r([{id:n}])}cancel(){}},I=r(64),A=r(47);function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function M(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function R(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var D=e=>{let{dropValidator:t,onDrop:r}=e;return e=>{var i,s;return s=i=class extends n.PureComponent{constructor(e){super(e),R(this,"removeEventListeners",(e=>{e.removeEventListener("dragenter",this.handleDragEnter),e.removeEventListener("dragover",this.handleDragOver),e.removeEventListener("dragleave",this.handleDragLeave),e.removeEventListener("drop",this.handleDrop)})),R(this,"bindDragDropHandlers",(()=>{const e=Object(A.findDOMNode)(this);e&&e instanceof Element&&(e.addEventListener("dragenter",this.handleDragEnter),e.addEventListener("dragover",this.handleDragOver),e.addEventListener("dragleave",this.handleDragLeave),e.addEventListener("drop",this.handleDrop),this.droppableEl=e)})),R(this,"handleDragEnter",(e=>{if(e.preventDefault(),1==++this.enterLeaveCounter){const{dataTransfer:r}=e,n=!t||t(this.props,r);this.setState({isOver:!0,canDrop:n})}})),R(this,"handleDragOver",(e=>{e.preventDefault();const{canDrop:t}=this.state,{dataTransfer:r}=e;r&&(t?r.effectAllowed&&(r.dropEffect=r.effectAllowed):r.dropEffect="none")})),R(this,"handleDrop",(e=>{e.preventDefault(),this.enterLeaveCounter=0;const{canDrop:t}=this.state;this.setState({canDrop:!1,isDragging:!1,isOver:!1}),t&&r&&r(e,this.props)})),R(this,"handleDragLeave",(e=>{e.preventDefault(),--this.enterLeaveCounter>0||this.setState({canDrop:!1,isDragging:!1,isOver:!1})})),this.enterLeaveCounter=0,this.state={canDrop:!1,isDragging:!1,isOver:!1}}componentDidMount(){this.bindDragDropHandlers()}componentDidUpdate(){this.droppableEl?Object(A.findDOMNode)(this)!==this.droppableEl&&(this.removeEventListeners(this.droppableEl),this.bindDragDropHandlers()):this.bindDragDropHandlers()}componentWillUnmount(){this.droppableEl&&this.droppableEl instanceof Element&&this.removeEventListeners(this.droppableEl)}render(){const t=this.props,{className:r}=t,n=M(t,["className"]),{canDrop:i,isOver:s}=this.state,l=a()(r,{"is-droppable":i,"is-over":s}),c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach((function(t){R(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n,{},this.state,{className:l});return o.a.createElement(e,c)}},R(i,"defaultProps",{className:""}),s}},j=r(128),F=r(340),N=r(276),U=r(172),z=r(193),H=r(11);var B=e=>{let{className:t="",height:r=32,title:o,width:i=32}=e;return n.createElement(H.a,{className:"icon-folder-personal ".concat(t),height:r,title:o,viewBox:"0 0 32 32",width:i},n.createElement("path",{d:"M27,25H5c-0.6,0-1-0.4-1-1V8c0-0.6,0.4-1,1-1h8.6L16,9h11c0.6,0,1,0.4,1,1v14C28,24.6,27.6,25,27,25z",fill:"#EFD289"}),n.createElement("path",{d:"M26.5,24h-21C5.2,24,5,23.8,5,23.5V12h22v11.6C27,23.8,26.8,24,26.5,24z",fill:"#FDEFC1"}))};r(696);var V=e=>{let{name:t}=e;return o.a.createElement("span",{className:"bcu-item-label"},t)};r(697);var W=e=>{let{name:t,extension:r,isFolder:n=!1,isResumableUploadsEnabled:i,status:a}=e,s=n?o.a.createElement(B,null):o.a.createElement(U.a,{extension:r});return i&&a===w.Pf&&(s=o.a.createElement(N.a,{className:"bcu-icon-badge",bottomRight:o.a.createElement(z.a,{height:18,width:18})},s)),o.a.createElement("div",{className:"bcu-item-icon-name"},o.a.createElement("div",{className:"bcu-item-icon"},s),o.a.createElement("div",{className:"bcu-item-name"},o.a.createElement(V,{name:t})))};function G(){return G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},G.apply(this,arguments)}var q,K,X,Q=r(105),Z=r(7);r(698);class $ extends n.PureComponent{static getDerivedStateFromProps(e,t){let{percent:r}=e;return r!==t.percent?{percent:r}:null}constructor(e){super(e);const{percent:t}=e;this.state={percent:t}}render(){const{percent:e}=this.state,t={transitionDelay:e>0&&e<100?"0":"0.4s"};return o.a.createElement("div",{className:"bcu-progress-container",style:t},o.a.createElement("div",{className:"bcu-progress",style:{width:"".concat(e,"%")}}))}}X={percent:0},(K="defaultProps")in(q=$)?Object.defineProperty(q,K,{value:X,enumerable:!0,configurable:!0,writable:!0}):q[K]=X;var Y=$;r(699);var J=e=>{let{progress:t}=e;return o.a.createElement("div",{className:"bcu-item-progress"},o.a.createElement(Y,{percent:t}),o.a.createElement("div",{className:"bcu-progress-label"},t,"%"))};function ee(){return ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}const te=(e,t,r)=>{switch(e){case w.xc:return o.a.createElement(Q.a,Z.a.uploadsOneOrMoreChildFoldersFailedToUploadMessage);case w.Ac:return r?o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededErrorMessageForUpgradeCta):o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededErrorMessage);case w.hc:return o.a.createElement(Q.a,Z.a.uploadsItemNameInUseErrorMessage);case w.gc:return o.a.createElement(Q.a,ee({},Z.a.uploadsProvidedFolderNameInvalidMessage,{values:{name:t}}));case w.Cc:return o.a.createElement(Q.a,Z.a.uploadsStorageLimitErrorMessage);case w.Bc:return o.a.createElement(Q.a,Z.a.uploadsPendingFolderSizeLimitErrorMessage);case w.yc:return o.a.createElement(Q.a,Z.a.uploadsPackageUploadErrorMessage);default:return o.a.createElement(Q.a,Z.a.uploadsDefaultErrorMessage)}};var re=r(60),ne=r(206),oe=r(94),ie=r(35);var ae=()=>o.a.createElement("div",{className:"be-icon-in-progress"},o.a.createElement(oe.a,null),o.a.createElement(ie.b,null)),se=r(2);var le=e=>{let{className:t="",color:r=se.g,height:o=32,title:i,width:a=32}=e;return n.createElement(H.a,{className:"bdl-IconRetry ".concat(t),height:o,title:i,viewBox:"0 0 32 32",width:a},n.createElement("g",{className:"fill-color",fill:r,fillRule:"evenodd"},n.createElement("path",{d:"M25.023 16c0-6.075-4.925-11-11-11s-11 4.925-11 11 4.925 11 11 11c2.601 0 5.06-.904 7.02-2.53a1 1 0 1 1 1.278 1.538A12.949 12.949 0 0 1 14.023 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13a1 1 0 0 1-2 0z",fillRule:"nonzero"}),n.createElement("path",{d:"M20 14l6 6 6-6z"})))},ce=r(48),ue=r(25),de=r(58),he=r(18);r(700);var fe=Object(re.c)((e=>{let t,{error:r={},intl:n,isFolder:i=!1,isResumableUploadsEnabled:a,onClick:s,onUpgradeCTAClick:l,status:c}=e,u=o.a.createElement(oe.a,null);const{code:d}=r,{formatMessage:h}=n;if(i&&c!==w.Sf)return null;switch(c){case w.Of:u=o.a.createElement(ne.a,{color:"#26C281"}),a||(t=Z.a.remove);break;case w.Pf:u=o.a.createElement(le,{height:24,width:24}),t=a?Z.a.resume:Z.a.retry;break;case w.Rf:case w.Tf:a?u=o.a.createElement(ce.c,null):(u=o.a.createElement(ae,null),t=Z.a.uploadsCancelButtonTooltip);break;case w.Sf:default:a?u=o.a.createElement(ce.c,null):t=Z.a.uploadsCancelButtonTooltip}if(c===w.Pf&&d===w.Ac&&l)return o.a.createElement(de.a,{onClick:l,type:"button"},o.a.createElement(Q.a,Z.a.uploadsFileSizeLimitExceededUpgradeMessageForUpgradeCta));const f=c===w.Tf,p=t&&h(t);return o.a.createElement("div",{className:"bcu-item-action"},t?o.a.createElement(he.c,{position:"top-left",text:p},o.a.createElement(ue.a,{"aria-label":p,isDisabled:f,onClick:s,type:"button"},u)):u)}));function pe(){return pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}function me(){return me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},me.apply(this,arguments)}var be=Object(re.c)((e=>{let{intl:t,onClick:r,status:n}=e;const i={};let a=null;n===w.Rf?a="uploadcancel":n===w.Pf&&(a="remove-failed"),a&&(i["data-resin-target"]=a);const s=n===w.Tf,l=t.formatMessage(Z.a.remove);return o.a.createElement("div",{className:"bcu-item-action"},o.a.createElement(he.c,{position:"top-left",text:l},o.a.createElement(ue.a,me({"aria-label":l,isDisabled:s,onClick:r,type:"button"},i),o.a.createElement(oe.a,null))))}));r(574),r(701);var ge=e=>{let{isResumableUploadsEnabled:t=!1,items:r,onClick:n,onRemoveClick:i=u.a,onUpgradeCTAClick:a}=e;return o.a.createElement(F.a,null,(e=>{let{width:s,height:l}=e;const c=(e=>t=>{let{rowData:r}=t;return o.a.createElement(W,G({isResumableUploadsEnabled:e},r))})(t),u=(d=!!a,e=>{let{rowData:t}=e;const{status:r,error:n={},name:i,isFolder:a,file:s}=t,{code:l}=n;if(a&&r!==w.Pf)return null;switch(r){case w.Rf:case w.Tf:return o.a.createElement(J,t);case w.Pf:return b.a.isSafari()&&l===w.wc&&-1!==s.name.indexOf(".zip")?te(w.yc,s.name):te(l,i,d);default:return null}});var d;const h=((e,t,r)=>n=>{let{rowData:i}=n;return o.a.createElement(fe,pe({},i,{isResumableUploadsEnabled:e,onClick:()=>t(i),onUpgradeCTAClick:r}))})(t,n,a),f=(p=i,e=>{let{rowData:t}=e;return t.isFolder?null:o.a.createElement(be,{status:t.status,onClick:()=>p(t)})});var p;return o.a.createElement(j.b,{className:"bcu-item-list",disableHeader:!0,headerHeight:0,height:l,rowClassName:"bcu-item-row",rowCount:r.length,rowGetter:e=>{let{index:t}=e;return r[t]},rowHeight:50,width:s},o.a.createElement(j.a,{cellRenderer:c,dataKey:"name",flexGrow:1,flexShrink:1,width:300}),o.a.createElement(j.a,{cellRenderer:u,dataKey:"progress",flexGrow:1,flexShrink:1,style:{textAlign:"right"},width:300}),o.a.createElement(j.a,{className:t?"":"bcu-item-list-action-column",cellRenderer:h,dataKey:"status",flexShrink:0,width:a?100:25}),t&&o.a.createElement(j.a,{className:"bcu-item-list-action-column",cellRenderer:f,dataKey:"remove",flexShrink:0,width:25}))}))},ve=r(504);var ye=e=>{let{className:t="",color:r=se.b,height:o=55,title:i,width:a=46}=e;return n.createElement(H.a,{className:"upload-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 46 55",width:a},n.createElement("path",{d:"M1,52V3A2,2,0,0,1,3,1H30.91a2,2,0,0,1,1.41.59L44.41,13.68A2,2,0,0,1,45,15.09V52a2,2,0,0,1-2,2H3A2,2,0,0,1,1,52Z",fill:"#fff"}),n.createElement("path",{className:"fill-color",d:"M45.12,13,33,.88A3,3,0,0,0,30.91,0H3A3,3,0,0,0,0,3V52a3,3,0,0,0,3,3H43a3,3,0,0,0,3-3V15.09A3,3,0,0,0,45.12,13ZM43,53H3a1,1,0,0,1-1-1V3A1,1,0,0,1,3,2H30V13a3,3,0,0,0,3,3H44V52A1,1,0,0,1,43,53Z",fill:r}),n.createElement("path",{className:"fill-color",d:"M21,29v4a1,1,0,0,0,.91,1h2.18A1,1,0,0,0,25,33V29h2.74a1,1,0,0,0,.76-1.65l-4.83-5.62a1,1,0,0,0-1.41-.11l-.11.11-4.82,5.62A1,1,0,0,0,18.09,29Z",fill:r}),n.createElement("polyline",{className:"stroke-color",fill:"none",points:"13 36 13 39 33 39 33 36",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}))};var Ce=e=>{let{className:t="",color:r=se.b,height:o=49,title:i,width:a=50}=e;return n.createElement(H.a,{className:"upload-success-state ".concat(t),height:o,title:i,viewBox:"0 0 50 49",width:a},n.createElement("path",{className:"fill-color",d:"M41.88,4.39l4,4.53L17,38.73,4.24,26,9,21.28l5.89,6.09L17,29.57l2.16-2.18,22.74-23M42,0,17,25.28,9,17,0,26,17,43,50,9,42,0Z",fill:r}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"6",x:"4",y:"46"}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"6",x:"33",y:"46"}),n.createElement("rect",{className:"fill-color",fill:r,fillOpacity:"0.2",height:"3",rx:"1.5",ry:"1.5",width:"21",x:"11",y:"46"}))};var we=e=>{let{handleChange:t,inputLabel:r,inputLabelClass:o="",isFolderUpload:i=!1,isMultiple:a=!0}=e;const s=n.useRef(null);return r?n.createElement("label",{className:o,onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||s.current&&s.current.click()},tabIndex:0},r,n.createElement("input",{ref:s,directory:i?"":void 0,multiple:a,onChange:t,type:"file",webkitdirectory:i?"":void 0})):null};function Ee(){return Ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ee.apply(this,arguments)}var Se=e=>{let{fileInputLabel:t,folderInputLabel:r,message:o,onChange:i,useButton:a=!1}=e;const s=o?n.createElement("div",{className:"bcu-upload-state-message"},o):null,l=a?"btn btn-primary be-input-btn":"be-input-link",c=!a&&!!r,u=e=>{if(!i)return;i(e);e.currentTarget.value=""},d=n.createElement(we,{handleChange:u,inputLabel:t,inputLabelClass:l}),h=c?n.createElement(we,{handleChange:u,inputLabel:r,inputLabelClass:l,isFolderUpload:!0}):null;let f;return d&&h?f=n.createElement(Q.a,Ee({},Z.a.uploadOptions,{values:{option1:d,option2:h}})):d&&(f=d),n.createElement("div",null,s,f&&n.createElement("div",{className:"bcu-upload-input-container"},f))};r(702);var ke=e=>{let t,r,{canDrop:n,hasItems:i,isOver:s,isTouch:l,view:c,onSelect:u,isFolderUploadEnabled:d}=e;switch(c){case w.tg:t=o.a.createElement(ve.a,null),r=o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadError)});break;case w.Bg:t=o.a.createElement(ye,null),r=n&&i?o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadInProgress)}):l?o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadNoDragDrop),onChange:u,useButton:!0}):o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadEmptyFileInput),folderInputLabel:d&&o.a.createElement(Q.a,Z.a.uploadEmptyFolderInput),message:d?o.a.createElement(Q.a,Z.a.uploadEmptyWithFolderUploadEnabled):o.a.createElement(Q.a,Z.a.uploadEmptyWithFolderUploadDisabled),onChange:u});break;case w.Cg:t=o.a.createElement(ye,null),r=o.a.createElement(Se,{message:o.a.createElement(Q.a,Z.a.uploadInProgress)});break;case w.Dg:t=o.a.createElement(Ce,null),r=o.a.createElement(Se,{fileInputLabel:o.a.createElement(Q.a,Z.a.uploadSuccessFileInput),folderInputLabel:d&&o.a.createElement(Q.a,Z.a.uploadSuccessFolderInput),message:o.a.createElement(Q.a,Z.a.uploadSuccess),onChange:u,useButton:l})}const h=a()("bcu-upload-state",{"bcu-is-droppable":s&&n,"bcu-is-not-droppable":s&&!n,"bcu-has-items":i});return o.a.createElement("div",{className:h},o.a.createElement("div",null,t,r),o.a.createElement("div",{className:"bcu-drag-drop-overlay"}))};r(703);var Oe=D({dropValidator:(e,t)=>{let{allowedTypes:r}=e,{types:n}=t;if(n instanceof Array)return Array.from(n).some((e=>r.indexOf(e)>-1));return r.filter((e=>n.contains(e))).length>0},onDrop:(e,t)=>{let{addDataTransferItemsToUploadQueue:r}=t;const{dataTransfer:n}=e;r(n)}})((e=>{let{canDrop:t,isOver:r,isTouch:n,view:i,items:a,addFiles:s,onClick:l,isFolderUploadEnabled:c}=e;const u=a.length>0;return o.a.createElement("div",{className:"bcu-droppable-content"},o.a.createElement(ge,{items:a,onClick:l,view:i}),o.a.createElement(ke,{canDrop:t,hasItems:u,isFolderUploadEnabled:c,isOver:r,isTouch:n,onSelect:e=>{let{target:{files:t}}=e;return s(t)},view:i}))})),xe=r(95),_e=r(157);r(704);function Pe(){return Pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Pe.apply(this,arguments)}var Te=e=>{let{onClick:t,hasMultipleFailedUploads:r}=e;const n=r?Z.a.resumeAll:Z.a.resume,i={[_e.a]:"uploadresumeheader"};return o.a.createElement("div",{className:"bcu-uploads-manager-action"},o.a.createElement(xe.a,Pe({onClick:e=>{e.stopPropagation(),t(w.Pf)},type:"button"},i),o.a.createElement(Q.a,n)))};r(705);var Ie=e=>{let{customPrompt:t,hasMultipleFailedUploads:r,isDragging:n,isExpanded:i,isResumeVisible:a,isVisible:s,onClick:l,onKeyDown:c,onUploadsManagerActionClick:u,percent:d,view:h}=e;const f=n||!s,p=t||Z.a.uploadsManagerUploadPrompt,m=f?o.a.createElement(Q.a,p):(e=>{switch(e){case w.Cg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadInProgress);case w.Dg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadComplete);case w.Bg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadPrompt);case w.tg:return o.a.createElement(Q.a,Z.a.uploadsManagerUploadFailed);default:return""}})(h),b=f?0:((e,t)=>{switch(e){case w.Dg:return 100;case w.Bg:case w.tg:return 0;default:return t}})(h,d);return o.a.createElement("div",{"aria-hidden":!s,className:"bcu-overall-progress-bar",onClick:l,onKeyDown:c,role:"button",tabIndex:s?"0":"-1"},o.a.createElement("span",{className:"bcu-upload-status"},m),o.a.createElement(Y,{percent:b}),a&&o.a.createElement(Te,{hasMultipleFailedUploads:r,onClick:u}),o.a.createElement("span",{className:"bcu-uploads-manager-toggle"}))};r(706);var Ae=e=>{let{isExpanded:t,isVisible:r,isResumableUploadsEnabled:n,isDragging:i,items:s,onItemActionClick:l,onRemoveActionClick:c,onUpgradeCTAClick:u,onUploadsManagerActionClick:d,toggleUploadsManager:h,view:f}=e;let p=0,m=0,b=0;s.forEach((e=>{e.status===w.Pf||e.isFolder?e.status===w.Pf&&(p+=1):(m+=e.size,b+=e.size*e.progress/100)}));const g=b/m*100,v=n&&p>0,y=p>1;return o.a.createElement("div",{"data-resin-component":"uploadsmanager","data-resin-feature":"uploads",className:a()("be bcu-uploads-manager-container",{"bcu-is-expanded":t,"bcu-is-visible":r})},o.a.createElement(Ie,{isDragging:i,isExpanded:t,isResumeVisible:v,isVisible:r,hasMultipleFailedUploads:y,onClick:h,onKeyDown:e=>{switch(e.key){case"Enter":case"Space":h()}},onUploadsManagerActionClick:d,percent:g,view:f}),o.a.createElement("div",{className:"bcu-uploads-manager-item-list"},o.a.createElement(ge,{isResumableUploadsEnabled:n,items:s,onClick:l,onRemoveClick:c,onUpgradeCTAClick:u,view:f})))},Le=r(30);r(707);function Me(){return Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Me.apply(this,arguments)}var Re=e=>{let{isLoading:t,hasFiles:r,errorCode:n,onCancel:i,onClose:a,onUpload:s,fileLimit:l,isDone:c}=e;const u=r,d=!r||c,h=!r;let f;if(n===w.zc)f=o.a.createElement(Q.a,Me({},Z.a.uploadErrorTooManyFiles,{values:{fileLimit:l}}));return o.a.createElement("div",{className:"bcu-footer"},o.a.createElement("div",{className:"bcu-footer-left"},a?o.a.createElement(Le.b,{disabled:u,isDisabled:u,onClick:a,type:"button"},o.a.createElement(Q.a,Z.a.close)):null),f&&o.a.createElement("div",{className:"bcu-footer-message"},f),o.a.createElement("div",{className:"bcu-footer-right"},o.a.createElement(Le.b,{disabled:d,isDisabled:d,onClick:i,type:"button"},o.a.createElement(Q.a,Z.a.cancel)),o.a.createElement(de.a,{disabled:h,isDisabled:h,isLoading:t,onClick:s,type:"button"},o.a.createElement(Q.a,Z.a.upload))))};r(337),r(253);function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){Fe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ne=104857600;class Ue extends n.Component{constructor(e){var t;super(e),t=this,Fe(this,"isAutoExpanded",!1),Fe(this,"getBaseAPIOptions",(()=>{const{token:e,sharedLink:t,sharedLinkPassword:r,apiHost:n,uploadHost:o,clientName:i,requestInterceptor:a,responseInterceptor:s}=this.props;return{token:e,sharedLink:t,sharedLinkPassword:r,apiHost:n,uploadHost:o,clientName:i,requestInterceptor:a,responseInterceptor:s}})),Fe(this,"getNewFiles",(e=>{const{rootFolderId:t}=this.props,{itemIds:r}=this.state;return Array.from(e).filter((e=>!r[Object(y.j)(e,t)]))})),Fe(this,"getNewDataTransferItems",(e=>{const{rootFolderId:t}=this.props,{itemIds:r}=this.state;return Array.from(e).filter((e=>!r[Object(y.d)(e,t)]))})),Fe(this,"addFilesToUploadQueue",(function(e,r){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{onBeforeUpload:o,rootFolderId:i}=t.props;if(!e||0===e.length)return;const a=t.getNewFiles(e);if(0===a.length)return;const s={};a.forEach((e=>{s[Object(y.j)(e,i)]=!0})),clearTimeout(t.resetItemsTimeout);const l=Object(y.f)(a[0]);t.setState((e=>({itemIds:je({},e.itemIds,{},s)})),(()=>{o(a),l.webkitRelativePath&&!n?t.addFilesWithRelativePathToQueue(a,r):t.addFilesWithoutRelativePathToQueue(a,r)}))})),Fe(this,"addDroppedItemsToUploadQueue",((e,t)=>{e.items?this.addDataTransferItemsToUploadQueue(e.items,t):Array.from(e.files).forEach((e=>{this.addFilesToUploadQueue([e],t)}))})),Fe(this,"addDataTransferItemsToUploadQueue",((e,t)=>{const{isFolderUploadEnabled:r}=this.props;if(!e||0===e.length)return;const n=[],o=[],i=[];Array.from(e).forEach((e=>{const t=Object(y.m)(e);b.a.isSafari()&&Object(y.n)(e)?i.push(e):t&&r?n.push(e):t||o.push(e)})),this.addFileDataTransferItemsToUploadQueue(o,t),this.addPackageDataTransferItemsToUploadQueue(i,t),this.addFolderDataTransferItemsToUploadQueue(n,t)})),Fe(this,"addFileDataTransferItemsToUploadQueue",((e,t)=>{e.forEach((async e=>{const r=await Object(y.h)(e);r&&this.addFilesToUploadQueue([r],t)}))})),Fe(this,"addPackageDataTransferItemsToUploadQueue",((e,t)=>{e.forEach((e=>{const r=Object(y.l)(e);r&&this.addFilesToUploadQueue([r],t)}))})),Fe(this,"addFolderDataTransferItemsToUploadQueue",(async(e,t)=>{const{rootFolderId:r}=this.props,{itemIds:n}=this.state;if(0===e.length)return;const o=this.getNewDataTransferItems(e);if(o.forEach((e=>{n[Object(y.d)(e,r)]=!0})),0===o.length)return;const i=Object(y.c)(o[0]),{folderId:a=r}=i;o.forEach((async e=>{const r=this.getFolderUploadAPI(a);await r.buildFolderTreeFromDataTransferItem(e),this.addFolderToUploadQueue(r,t,i)}))})),Fe(this,"getFolderUploadAPI",(e=>{const t=this.getBaseAPIOptions();return new T(this.addFilesToUploadQueue,e,this.addToQueue,t)})),Fe(this,"addFolderToUploadQueue",((e,t,r)=>{this.addToQueue([{api:e,extension:"",isFolder:!0,name:e.folder.name,options:r,progress:0,size:1,status:w.Sf}],t)})),Fe(this,"addFilesWithoutRelativePathToQueue",((e,t)=>{const{itemIds:r}=this.state,{rootFolderId:n}=this.props,o=e.map((e=>{const t=Object(y.f)(e),o=Object(y.g)(e),{name:i,size:a}=t;let s=i.substr(i.lastIndexOf(".")+1);s.length===i.length&&(s="");const l={api:this.getUploadAPI(t,o),extension:s,file:t,name:i,progress:0,size:a,status:w.Sf};return o&&(l.options=o),r[Object(y.j)(l,n)]=!0,l}));0!==o.length&&(this.setState({itemIds:r}),this.addToQueue(o,t))})),Fe(this,"addToQueue",((e,t)=>{const{fileLimit:r,useUploadsManager:n}=this.props,{items:o,isUploadsManagerExpanded:i}=this.state;let a=[];const s=o.length,l=s+e.length;l>r?(a=o.concat(e.slice(0,r-o.length)),this.setState({errorCode:w.zc})):(a=o.concat(e),this.setState({errorCode:""}),s<5&&l>=5&&n&&!i&&(this.isAutoExpanded=!0,this.expandUploadsManager())),this.updateViewAndCollection(a,(()=>{t&&t();const{view:e}=this.state;e===w.Cg&&this.upload()}))})),Fe(this,"removeFileFromUploadQueue",(e=>{const{onCancel:t,useUploadsManager:r}=this.props,{items:n}=this.state;this.setState({errorCode:""});const{api:o}=e;o.cancel(),n.splice(n.indexOf(e),1),t([e]),this.updateViewAndCollection(n,(()=>{r&&!n.length&&this.minimizeUploadsManager();const{view:e}=this.state;e===w.Cg&&this.upload()}))})),Fe(this,"cancel",(()=>{const{items:e}=this.state;e.forEach((e=>{const{api:t,status:r}=e;r===w.Rf&&t.cancel()})),this.updateViewAndCollection([])})),Fe(this,"upload",(()=>{const{items:e}=this.state;e.forEach((e=>{e.status===w.Sf&&this.uploadFile(e)}))})),Fe(this,"handleUploadSuccess",((e,t)=>{const{onUpload:r,useUploadsManager:n}=this.props;if(e.progress=100,e.error||(e.status=w.Of),t&&1===t.length){const[r]=t;e.boxFile=r}const{items:o}=this.state;o[o.indexOf(e)]=e,n?(r(e),this.checkClearUploadItems()):r(e.boxFile),this.updateViewAndCollection(o,(()=>{const{view:e}=this.state;e===w.Cg&&this.upload()}))})),Fe(this,"resetUploadManagerExpandState",(()=>{this.isAutoExpanded=!1,this.setState({isUploadsManagerExpanded:!1})})),Fe(this,"handleUploadError",((e,t)=>{const{onError:r,useUploadsManager:n}=this.props,{file:o}=e,{items:i}=this.state;e.status=w.Pf,e.error=t;const a=[...i],s=a.findIndex((t=>t===e));-1!==s&&(a[s]=e);r(n?{item:e,error:t}:{file:o,error:t}),this.updateViewAndCollection(a,(()=>{n&&(this.isAutoExpanded=!0,this.expandUploadsManager());const{view:e}=this.state;e===w.Cg&&this.upload()}))})),Fe(this,"handleUploadProgress",((e,t)=>{if(!t.total||e.status===w.Of||e.status===w.Tf)return;e.progress=Math.min(Math.round(t.loaded/t.total*100),100),e.status=100===e.progress?w.Tf:w.Rf;const{onProgress:r}=this.props;r(e);const{items:n}=this.state;n[n.indexOf(e)]=e,this.updateViewAndCollection(n)})),Fe(this,"onClick",(e=>{const{chunked:t,isResumableUploadsEnabled:r,onClickCancel:n,onClickResume:o,onClickRetry:i}=this.props,{status:a,file:s}=e,l=t&&!e.isFolder&&s.size>Ne&&Object(y.o)(),c=r&&l&&e.api.sessionId;switch(a){case w.Rf:case w.Tf:case w.Of:case w.Sf:this.removeFileFromUploadQueue(e),n(e);break;case w.Pf:c?(e.bytesUploadedOnLastResume=e.api.totalUploadedBytes,this.resumeFile(e),o(e)):(this.resetFile(e),this.uploadFile(e),i(e))}})),Fe(this,"clickAllWithStatus",(e=>{const{items:t}=this.state;t.forEach((t=>{e&&t.status!==e||this.onClick(t)}))})),Fe(this,"expandUploadsManager",(()=>{const{useUploadsManager:e}=this.props;e&&(clearTimeout(this.resetItemsTimeout),this.setState({isUploadsManagerExpanded:!0}))})),Fe(this,"minimizeUploadsManager",(()=>{const{useUploadsManager:e,onMinimize:t}=this.props;e&&t&&(clearTimeout(this.resetItemsTimeout),t(),this.resetUploadManagerExpandState(),this.checkClearUploadItems())})),Fe(this,"checkClearUploadItems",(()=>{this.resetItemsTimeout=setTimeout(this.resetUploadsManagerItemsWhenUploadsComplete,8e3)})),Fe(this,"toggleUploadsManager",(()=>{const{isUploadsManagerExpanded:e}=this.state;e?this.minimizeUploadsManager():this.expandUploadsManager()})),Fe(this,"resetUploadsManagerItemsWhenUploadsComplete",(()=>{const{view:e,items:t,isUploadsManagerExpanded:r}=this.state,{useUploadsManager:n,onCancel:o}=this.props;r&&n&&t.length||e===w.Cg||(o(t),this.setState({items:[],itemIds:{}}))})),Fe(this,"addFilesWithOptionsToUploadQueueAndStartUpload",((e,t)=>{this.addFilesToUploadQueue(e,this.upload),this.addDataTransferItemsToUploadQueue(t,this.upload)}));const{rootFolderId:r,token:n,useUploadsManager:o}=e;this.state={view:r&&n||o?w.Bg:w.tg,items:[],errorCode:"",itemIds:{},isUploadsManagerExpanded:!1},this.id=h()("bcu_")}componentDidMount(){this.rootElement=document.getElementById(this.id),this.appElement=this.rootElement}componentWillUnmount(){this.cancel()}componentDidUpdate(){const{files:e,dataTransferItems:t,useUploadsManager:r}=this.props,n=Array.isArray(e)&&e.length>0,o=Array.isArray(t)&&t.length>0;r&&(n||o)&&this.addFilesWithOptionsToUploadQueueAndStartUpload(e,t)}createAPIFactory(e){const{rootFolderId:t}=this.props,r=l()(e,"folderId")||t,n=l()(e,"fileId"),o=Object(m.c)(r),i=n?Object(m.b)(n):null;return new I.a(je({},this.getBaseAPIOptions(),{id:i||o},e))}addFilesWithRelativePathToQueue(e,t){if(0===e.length)return;const{rootFolderId:r}=this.props,n=Object(y.g)(e[0]),{folderId:o=r}=n,i=this.getFolderUploadAPI(o);i.buildFolderTreeFromWebkitRelativePath(e),this.addFolderToUploadQueue(i,t,n)}getUploadAPI(e,t){const{chunked:r,isResumableUploadsEnabled:n,isUploadFallbackLogicEnabled:o}=this.props,{size:i}=e,a=this.createAPIFactory(t);if(r&&i>Ne){if(Object(y.o)()){const e=a.getChunkedUploadAPI();return n&&(e.isResumableUploadsEnabled=!0),o&&(e.isUploadFallbackLogicEnabled=!0),e}console.warn("Chunked uploading is enabled, but not supported by your browser. You may need to enable HTTPS.")}const s=a.getPlainUploadAPI();return o&&(s.isUploadFallbackLogicEnabled=!0),s}uploadFile(e){const{overwrite:t,rootFolderId:r}=this.props,{api:n,file:o,options:i}=e,{items:a}=this.state;if(a.filter((e=>e.status===w.Rf)).length>=6)return;const s={file:o,folderId:i&&i.folderId?i.folderId:r,errorCallback:t=>this.handleUploadError(e,t),progressCallback:t=>this.handleUploadProgress(e,t),successCallback:t=>this.handleUploadSuccess(e,t),overwrite:t,fileId:i&&i.fileId?i.fileId:null};e.status=w.Rf,a[a.indexOf(e)]=e,n.upload(s),this.updateViewAndCollection(a)}resumeFile(e){const{overwrite:t,rootFolderId:r,onResume:n}=this.props,{api:o,file:i,options:a}=e,{items:s}=this.state;if(s.filter((e=>e.status===w.Rf)).length>=6)return;const l={file:i,folderId:a&&a.folderId?a.folderId:r,errorCallback:t=>this.handleUploadError(e,t),progressCallback:t=>this.handleUploadProgress(e,t),successCallback:t=>this.handleUploadSuccess(e,t),overwrite:t,sessionId:o&&o.sessionId?o.sessionId:null,fileId:a&&a.fileId?a.fileId:null};e.status=w.Rf,delete e.error,s[s.indexOf(e)]=e,n(e),o.resume(l),this.updateViewAndCollection(s)}resetFile(e){const{api:t,file:r,options:n}=e;t&&"function"==typeof t.cancel&&t.cancel(),e.api=this.getUploadAPI(r,n),e.progress=0,e.status=w.Sf,delete e.error;const{items:o}=this.state;o[o.indexOf(e)]=e,this.updateViewAndCollection(o)}updateViewAndCollection(e,t){const{onComplete:r,useUploadsManager:n,isResumableUploadsEnabled:o}=this.props,i=e.some((e=>e.status!==w.Of)),a=e.some((e=>e.status===w.Pf)),s=!e.some((e=>e.status!==w.Sf)),l=e.every((e=>e.status!==w.Sf&&e.status!==w.Rf)),c=e.every((e=>e.status===w.Of||e.status===w.Pf)),u=o?c:l;let d="";e&&0===e.length||s?d=w.Bg:a&&n?d=w.tg:i?d=w.Cg:(d=w.Dg,n||(r(p()(e.map((e=>e.boxFile)))),e=[])),u&&n&&(this.isAutoExpanded&&this.resetUploadManagerExpandState(),r(e));const h={items:e,view:d};0===e.length&&(h.itemIds={},h.errorCode=""),this.setState(h,t)}render(){const{className:e,fileLimit:t,isDraggingItemsToUploadsManager:r=!1,isFolderUploadEnabled:n,isResumableUploadsEnabled:i,isTouch:s,language:l,measureRef:c,messages:u,onClose:d,onUpgradeCTAClick:h,useUploadsManager:f}=this.props,{view:p,items:m,errorCode:b,isUploadsManagerExpanded:g}=this.state,y=!(0===m.length)||!!r,C=0!==m.length,E=m.some((e=>e.status===w.Rf)),S=m.every((e=>e.status===w.Of||e.status===w.Tf)),k=a()("bcu",e,{"be-app-element":!f,be:!f});return o.a.createElement(v.a,{language:l,messages:u},f?o.a.createElement("div",{ref:c,className:k,id:this.id},o.a.createElement(Ae,{isDragging:r,isExpanded:g,isResumableUploadsEnabled:i,isVisible:y,items:m,onItemActionClick:this.onClick,onRemoveActionClick:this.removeFileFromUploadQueue,onUpgradeCTAClick:h,onUploadsManagerActionClick:this.clickAllWithStatus,toggleUploadsManager:this.toggleUploadsManager,view:p})):o.a.createElement("div",{ref:c,className:k,id:this.id},o.a.createElement(Oe,{addDataTransferItemsToUploadQueue:this.addDroppedItemsToUploadQueue,addFiles:this.addFilesToUploadQueue,allowedTypes:["Files"],isFolderUploadEnabled:n,isTouch:s,items:m,onClick:this.onClick,view:p}),o.a.createElement(Re,{errorCode:b,fileLimit:t,hasFiles:C,isLoading:E,onCancel:this.cancel,onClose:d,onUpload:this.upload,isDone:S})))}}Fe(Ue,"defaultProps",{rootFolderId:w.ib,apiHost:w.U,chunked:!0,className:"",clientName:w.I,fileLimit:100,uploadHost:w.X,onBeforeUpload:u.a,onClickCancel:u.a,onClickResume:u.a,onClickRetry:u.a,onClose:u.a,onComplete:u.a,onError:u.a,onResume:u.a,onUpload:u.a,onProgress:u.a,overwrite:!0,useUploadsManager:!1,files:[],onMinimize:u.a,onCancel:u.a,isFolderUploadEnabled:!1,isResumableUploadsEnabled:!1,isUploadFallbackLogicEnabled:!1,dataTransferItems:[],isDraggingItemsToUploadsManager:!1});t.a=Object(g.a)(Ue)},,,,,,,,,function(e,t,r){"use strict";var n=r(63),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var h="function"==typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}function g(){}function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=b.prototype;var y=v.prototype=new g;y.constructor=v,n(y,b.prototype),y.isPureReactComponent=!0;var C={current:null},w=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,r){var n,i={},a=null,s=null;if(null!=t)for(n in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)w.call(t,n)&&!E.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===i[n]&&(i[n]=l[n]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:C.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var O=/\/+/g;function x(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function _(e,t,r,n,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===n?"."+x(l,0):n,Array.isArray(a)?(r="",null!=e&&(r=e.replace(O,"$&/")+"/"),_(a,t,r,"",(function(e){return e}))):null!=a&&(k(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,r+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+e)),t.push(a)),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=n+x(s=e[c],c);l+=_(s,t,r,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=h&&e[h]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=_(s=s.value,t,r,u=n+x(s,c++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function P(e,t,r){if(null==e)return e;var n=[],o=0;return _(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function T(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function A(){var e=I.current;if(null===e)throw Error(f(321));return e}var L={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:n};t.Children={map:P,forEach:function(e,t,r){P(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return P(e,(function(){t++})),t},toArray:function(e){return P(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error(f(143));return e}},t.Component=b,t.PureComponent=v,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null==e)throw Error(f(267,e));var i=n({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=C.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)w.call(t,u)&&!E.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=r;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:T}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return A().useCallback(e,t)},t.useContext=function(e,t){return A().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return A().useEffect(e,t)},t.useImperativeHandle=function(e,t,r){return A().useImperativeHandle(e,t,r)},t.useLayoutEffect=function(e,t){return A().useLayoutEffect(e,t)},t.useMemo=function(e,t){return A().useMemo(e,t)},t.useReducer=function(e,t,r){return A().useReducer(e,t,r)},t.useRef=function(e){return A().useRef(e)},t.useState=function(e){return A().useState(e)},t.version="17.0.1"},function(e,t,r){"use strict";var n=r(0),o=r(63),i=r(374);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!n)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,p={},m={};function b(e,t,r,n,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new b(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new b(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new b(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new b(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new b(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new b(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new b(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new b(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new b(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function C(e,t,r,n){var o=g.hasOwnProperty(t)?g[t]:null;(null!==o?0===o.type:!n&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!f.call(m,e)||!f.call(p,e)&&(h.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,y);g[t]=new b(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new b(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new b("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new b(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,S=60106,k=60107,O=60108,x=60114,_=60109,P=60110,T=60112,I=60113,A=60120,L=60115,M=60116,R=60121,D=60128,j=60129,F=60130,N=60131;if("function"==typeof Symbol&&Symbol.for){var U=Symbol.for;E=U("react.element"),S=U("react.portal"),k=U("react.fragment"),O=U("react.strict_mode"),x=U("react.profiler"),_=U("react.provider"),P=U("react.context"),T=U("react.forward_ref"),I=U("react.suspense"),A=U("react.suspense_list"),L=U("react.memo"),M=U("react.lazy"),R=U("react.block"),U("react.scope"),D=U("react.opaque.id"),j=U("react.debug_trace_mode"),F=U("react.offscreen"),N=U("react.legacy_hidden")}var z,H="function"==typeof Symbol&&Symbol.iterator;function B(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=H&&e[H]||e["@@iterator"])?e:null}function V(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function G(e,t){if(!e||W)return"";W=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=n.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?V(e):""}function q(e){switch(e.tag){case 5:return V(e.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return e=G(e.type,!1);case 11:return e=G(e.type.render,!1);case 22:return e=G(e.type._render,!1);case 1:return e=G(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case x:return"Profiler";case O:return"StrictMode";case I:return"Suspense";case A:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case L:return K(e.type);case R:return K(e._render);case M:t=e._payload,e=e._init;try{return K(e(t))}catch(e){}}return null}function X(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=Q(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,i=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Q(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var r=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function ee(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=X(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&C(e,"checked",t,!1)}function re(e,t){te(e,t);var r=X(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,r):t.hasOwnProperty("defaultValue")&&oe(e,t.type,X(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ne(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function oe(e,t,r){"number"===t&&Y(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return n.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+X(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:X(r)}}function ce(e,t){var r=X(t.value),n=X(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function he(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function fe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?he(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var pe,me,be=(me=function(e,t){if(e.namespaceURI!==de.svg||"innerHTML"in e)e.innerHTML=t;else{for((pe=pe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=pe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction((function(){return me(e,t)}))}:me);function ge(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var ve={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","ms","Moz","O"];function Ce(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||ve.hasOwnProperty(e)&&ve[e]?(""+t).trim():t+"px"}function we(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=Ce(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(ve).forEach((function(e){ye.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ve[t]=ve[e]}))}));var Ee=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Se(e,t){if(t){if(Ee[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ke(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Oe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,_e=null,Pe=null;function Te(e){if(e=ro(e)){if("function"!=typeof xe)throw Error(a(280));var t=e.stateNode;t&&(t=oo(t),xe(e.stateNode,e.type,t))}}function Ie(e){_e?Pe?Pe.push(e):Pe=[e]:_e=e}function Ae(){if(_e){var e=_e,t=Pe;if(Pe=_e=null,Te(e),t)for(e=0;e<t.length;e++)Te(t[e])}}function Le(e,t){return e(t)}function Me(e,t,r,n,o){return e(t,r,n,o)}function Re(){}var De=Le,je=!1,Fe=!1;function Ne(){null===_e&&null===Pe||(Re(),Ae())}function Ue(e,t){var r=e.stateNode;if(null===r)return null;var n=oo(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(a(231,t,typeof r));return r}var ze=!1;if(d)try{var He={};Object.defineProperty(He,"passive",{get:function(){ze=!0}}),window.addEventListener("test",He,He),window.removeEventListener("test",He,He)}catch(me){ze=!1}function Be(e,t,r,n,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Ve=!1,We=null,Ge=!1,qe=null,Ke={onError:function(e){Ve=!0,We=e}};function Xe(e,t,r,n,o,i,a,s,l){Ve=!1,We=null,Be.apply(Ke,arguments)}function Qe(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function $e(e){if(Qe(e)!==e)throw Error(a(188))}function Ye(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(n=o.return)){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return $e(o),e;if(i===n)return $e(o),t;i=i.sibling}throw Error(a(188))}if(r.return!==n.return)r=o,n=i;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var r=e.alternate;null!==t;){if(t===e||t===r)return!0;t=t.return}return!1}var et,tt,rt,nt,ot=!1,it=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],ht="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ft(e,t,r,n,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|r,nativeEvent:o,targetContainers:[n]}}function pt(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function mt(e,t,r,n,o,i){return null===e||e.nativeEvent!==i?(e=ft(t,r,n,o,i),null!==t&&(null!==(t=ro(t))&&tt(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function bt(e){var t=to(e.target);if(null!==t){var r=Qe(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=Ze(r)))return e.blockedOn=t,void nt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(r)}))}))}else if(3===t&&r.stateNode.hydrate)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=ro(r))&&tt(t),e.blockedOn=r,!1;t.shift()}return!0}function vt(e,t,r){gt(e)&&r.delete(t)}function yt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r){e.blockedOn=r;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&gt(at)&&(at=null),null!==st&&gt(st)&&(st=null),null!==lt&&gt(lt)&&(lt=null),ct.forEach(vt),ut.forEach(vt)}function Ct(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,yt)))}function wt(e){function t(t){return Ct(t,e)}if(0<it.length){Ct(it[0],e);for(var r=1;r<it.length;r++){var n=it[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==at&&Ct(at,e),null!==st&&Ct(st,e),null!==lt&&Ct(lt,e),ct.forEach(t),ut.forEach(t),r=0;r<dt.length;r++)(n=dt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<dt.length&&null===(r=dt[0]).blockedOn;)bt(r),null===r.blockedOn&&dt.shift()}function Et(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var St={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},kt={},Ot={};function xt(e){if(kt[e])return kt[e];if(!St[e])return e;var t,r=St[e];for(t in r)if(r.hasOwnProperty(t)&&t in Ot)return kt[e]=r[t];return e}d&&(Ot=document.createElement("div").style,"AnimationEvent"in window||(delete St.animationend.animation,delete St.animationiteration.animation,delete St.animationstart.animation),"TransitionEvent"in window||delete St.transitionend.transition);var _t=xt("animationend"),Pt=xt("animationiteration"),Tt=xt("animationstart"),It=xt("transitionend"),At=new Map,Lt=new Map,Mt=["abort","abort",_t,"animationEnd",Pt,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",It,"transitionEnd","waiting","waiting"];function Rt(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],o=e[r+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Lt.set(n,t),At.set(n,o),c(o,[n])}}(0,i.unstable_now)();var Dt=8;function jt(e){if(0!=(1&e))return Dt=15,1;if(0!=(2&e))return Dt=14,2;if(0!=(4&e))return Dt=13,4;var t=24&e;return 0!==t?(Dt=12,t):0!=(32&e)?(Dt=11,32):0!==(t=192&e)?(Dt=10,t):0!=(256&e)?(Dt=9,256):0!==(t=3584&e)?(Dt=8,t):0!=(4096&e)?(Dt=7,4096):0!==(t=4186112&e)?(Dt=6,t):0!==(t=62914560&e)?(Dt=5,t):67108864&e?(Dt=4,67108864):0!=(134217728&e)?(Dt=3,134217728):0!==(t=805306368&e)?(Dt=2,t):0!=(1073741824&e)?(Dt=1,1073741824):(Dt=8,e)}function Ft(e,t){var r=e.pendingLanes;if(0===r)return Dt=0;var n=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)n=i,o=Dt=15;else if(0!==(i=134217727&r)){var l=i&~a;0!==l?(n=jt(l),o=Dt):0!==(s&=i)&&(n=jt(s),o=Dt)}else 0!==(i=r&~a)?(n=jt(i),o=Dt):0!==s&&(n=jt(s),o=Dt);if(0===n)return 0;if(n=r&((0>(n=31-Vt(n))?0:1<<n)<<1)-1,0!==t&&t!==n&&0==(t&a)){if(jt(t),o<=Dt)return t;Dt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-Vt(t)),n|=e[r],t&=~o;return n}function Nt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ut(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Ut(10,t):e;case 10:return 0===(e=zt(192&~t))?Ut(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function Ht(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Bt(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,(e=e.eventTimes)[t=31-Vt(t)]=r}var Vt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/Gt|0)|0},Wt=Math.log,Gt=Math.LN2;var qt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Xt=!0;function Qt(e,t,r,n){je||Re();var o=$t,i=je;je=!0;try{Me(o,e,t,r,n)}finally{(je=i)||Ne()}}function Zt(e,t,r,n){Kt(qt,$t.bind(null,e,t,r,n))}function $t(e,t,r,n){var o;if(Xt)if((o=0==(4&t))&&0<it.length&&-1<ht.indexOf(e))e=ft(null,e,t,r,n),it.push(e);else{var i=Yt(e,t,r,n);if(null===i)o&&pt(e,n);else{if(o){if(-1<ht.indexOf(e))return e=ft(i,e,t,r,n),void it.push(e);if(function(e,t,r,n,o){switch(t){case"focusin":return at=mt(at,e,t,r,n,o),!0;case"dragenter":return st=mt(st,e,t,r,n,o),!0;case"mouseover":return lt=mt(lt,e,t,r,n,o),!0;case"pointerover":var i=o.pointerId;return ct.set(i,mt(ct.get(i)||null,e,t,r,n,o)),!0;case"gotpointercapture":return i=o.pointerId,ut.set(i,mt(ut.get(i)||null,e,t,r,n,o)),!0}return!1}(i,e,t,r,n))return;pt(e,n)}Rn(e,t,n,null,r)}}}function Yt(e,t,r,n){var o=Oe(n);if(null!==(o=to(o))){var i=Qe(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=Ze(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Rn(e,t,n,o,r),null}var Jt=null,er=null,tr=null;function rr(){if(tr)return tr;var e,t,r=er,n=r.length,o="value"in Jt?Jt.value:Jt.textContent,i=o.length;for(e=0;e<n&&r[e]===o[e];e++);var a=n-e;for(t=1;t<=a&&r[n-t]===o[i-t];t++);return tr=o.slice(e,1<t?1-t:void 0)}function nr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function or(){return!0}function ir(){return!1}function ar(e){function t(t,r,n,o,i){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?or:ir,this.isPropagationStopped=ir,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=or)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=or)},persist:function(){},isPersistent:or}),t}var sr,lr,cr,ur={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},dr=ar(ur),hr=o({},ur,{view:0,detail:0}),fr=ar(hr),pr=o({},hr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==cr&&(cr&&"mousemove"===e.type?(sr=e.screenX-cr.screenX,lr=e.screenY-cr.screenY):lr=sr=0,cr=e),sr)},movementY:function(e){return"movementY"in e?e.movementY:lr}}),mr=ar(pr),br=ar(o({},pr,{dataTransfer:0})),gr=ar(o({},hr,{relatedTarget:0})),vr=ar(o({},ur,{animationName:0,elapsedTime:0,pseudoElement:0})),yr=o({},ur,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Cr=ar(yr),wr=ar(o({},ur,{data:0})),Er={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Or(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kr[e])&&!!t[e]}function xr(){return Or}var _r=o({},hr,{key:function(e){if(e.key){var t=Er[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=nr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xr,charCode:function(e){return"keypress"===e.type?nr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?nr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Pr=ar(_r),Tr=ar(o({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ir=ar(o({},hr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xr})),Ar=ar(o({},ur,{propertyName:0,elapsedTime:0,pseudoElement:0})),Lr=o({},pr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mr=ar(Lr),Rr=[9,13,27,32],Dr=d&&"CompositionEvent"in window,jr=null;d&&"documentMode"in document&&(jr=document.documentMode);var Fr=d&&"TextEvent"in window&&!jr,Nr=d&&(!Dr||jr&&8<jr&&11>=jr),Ur=String.fromCharCode(32),zr=!1;function Hr(e,t){switch(e){case"keyup":return-1!==Rr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Br(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vr=!1;var Wr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Wr[e.type]:"textarea"===t}function qr(e,t,r,n){Ie(n),0<(t=jn(t,"onChange")).length&&(r=new dr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Kr=null,Xr=null;function Qr(e){Pn(e,0)}function Zr(e){if($(no(e)))return e}function $r(e,t){if("change"===e)return t}var Yr=!1;if(d){var Jr;if(d){var en="oninput"in document;if(!en){var tn=document.createElement("div");tn.setAttribute("oninput","return;"),en="function"==typeof tn.oninput}Jr=en}else Jr=!1;Yr=Jr&&(!document.documentMode||9<document.documentMode)}function rn(){Kr&&(Kr.detachEvent("onpropertychange",nn),Xr=Kr=null)}function nn(e){if("value"===e.propertyName&&Zr(Xr)){var t=[];if(qr(t,Xr,e,Oe(e)),e=Qr,je)e(t);else{je=!0;try{Le(e,t)}finally{je=!1,Ne()}}}}function on(e,t,r){"focusin"===e?(rn(),Xr=r,(Kr=t).attachEvent("onpropertychange",nn)):"focusout"===e&&rn()}function an(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zr(Xr)}function sn(e,t){if("click"===e)return Zr(t)}function ln(e,t){if("input"===e||"change"===e)return Zr(t)}var cn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},un=Object.prototype.hasOwnProperty;function dn(e,t){if(cn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!un.call(t,r[n])||!cn(e[r[n]],t[r[n]]))return!1;return!0}function hn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fn(e,t){var r,n=hn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hn(n)}}function pn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?pn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function mn(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=Y((e=t.contentWindow).document)}return t}function bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gn=d&&"documentMode"in document&&11>=document.documentMode,vn=null,yn=null,Cn=null,wn=!1;function En(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;wn||null==vn||vn!==Y(n)||("selectionStart"in(n=vn)&&bn(n)?n={start:n.selectionStart,end:n.selectionEnd}:n={anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Cn&&dn(Cn,n)||(Cn=n,0<(n=jn(yn,"onSelect")).length&&(t=new dr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=vn)))}Rt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Rt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Rt(Mt,2);for(var Sn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),kn=0;kn<Sn.length;kn++)Lt.set(Sn[kn],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var On="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),xn=new Set("cancel close invalid load scroll toggle".split(" ").concat(On));function _n(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,i,s,l,c){if(Xe.apply(this,arguments),Ve){if(!Ve)throw Error(a(198));var u=We;Ve=!1,We=null,Ge||(Ge=!0,qe=u)}}(n,t,void 0,e),e.currentTarget=null}function Pn(e,t){t=0!=(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var a=n.length-1;0<=a;a--){var s=n[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;_n(o,s,c),i=l}else for(a=0;a<n.length;a++){if(l=(s=n[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;_n(o,s,c),i=l}}}if(Ge)throw e=qe,Ge=!1,qe=null,e}function Tn(e,t){var r=io(t),n=e+"__bubble";r.has(n)||(Mn(t,e,2,!1),r.add(n))}var In="_reactListening"+Math.random().toString(36).slice(2);function An(e){e[In]||(e[In]=!0,s.forEach((function(t){xn.has(t)||Ln(t,!1,e,null),Ln(t,!0,e,null)})))}function Ln(e,t,r,n){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=r;if("selectionchange"===e&&9!==r.nodeType&&(i=r.ownerDocument),null!==n&&!t&&xn.has(e)){if("scroll"!==e)return;o|=2,i=n}var a=io(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Mn(i,e,o,t),a.add(s))}function Mn(e,t,r,n){var o=Lt.get(t);switch(void 0===o?2:o){case 0:o=Qt;break;case 1:o=Zt;break;default:o=$t}r=o.bind(null,t,r,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Rn(e,t,r,n,o){var i=n;if(0==(1&t)&&0==(2&t)&&null!==n)e:for(;;){if(null===n)return;var a=n.tag;if(3===a||4===a){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=n.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=to(s)))return;if(5===(l=a.tag)||6===l){n=i=a;continue e}s=s.parentNode}}n=n.return}!function(e,t,r){if(Fe)return e(t,r);Fe=!0;try{return De(e,t,r)}finally{Fe=!1,Ne()}}((function(){var n=i,o=Oe(r),a=[];e:{var s=At.get(e);if(void 0!==s){var l=dr,c=e;switch(e){case"keypress":if(0===nr(r))break e;case"keydown":case"keyup":l=Pr;break;case"focusin":c="focus",l=gr;break;case"focusout":c="blur",l=gr;break;case"beforeblur":case"afterblur":l=gr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=mr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=br;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Ir;break;case _t:case Pt:case Tt:l=vr;break;case It:l=Ar;break;case"scroll":l=fr;break;case"wheel":l=Mr;break;case"copy":case"cut":case"paste":l=Cr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tr}var u=0!=(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var f,p=n;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==h&&(null!=(m=Ue(p,h))&&u.push(Dn(p,m,f)))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,r,o),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=r.relatedTarget||r.fromElement)||!to(c)&&!c[Jn])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?to(c):null)&&(c!==(d=Qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=mr,m="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tr,m="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?s:no(l),f=null==c?s:no(c),(s=new u(m,p+"leave",l,r,o)).target=d,s.relatedTarget=f,m=null,to(o)===n&&((u=new u(h,p+"enter",c,r,o)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,p=0,f=u=l;f;f=Fn(f))p++;for(f=0,m=h;m;m=Fn(m))f++;for(;0<p-f;)u=Fn(u),p--;for(;0<f-p;)h=Fn(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break e;u=Fn(u),h=Fn(h)}u=null}else u=null;null!==l&&Nn(a,s,l,u,!1),null!==c&&null!==d&&Nn(a,d,c,u,!0)}if("select"===(l=(s=n?no(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var b=$r;else if(Gr(s))if(Yr)b=ln;else{b=an;var g=on}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=sn);switch(b&&(b=b(e,n))?qr(a,b,r,o):(g&&g(e,s,n),"focusout"===e&&(g=s._wrapperState)&&g.controlled&&"number"===s.type&&oe(s,"number",s.value)),g=n?no(n):window,e){case"focusin":(Gr(g)||"true"===g.contentEditable)&&(vn=g,yn=n,Cn=null);break;case"focusout":Cn=yn=vn=null;break;case"mousedown":wn=!0;break;case"contextmenu":case"mouseup":case"dragend":wn=!1,En(a,r,o);break;case"selectionchange":if(gn)break;case"keydown":case"keyup":En(a,r,o)}var v;if(Dr)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Vr?Hr(e,r)&&(y="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(y="onCompositionStart");y&&(Nr&&"ko"!==r.locale&&(Vr||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vr&&(v=rr()):(er="value"in(Jt=o)?Jt.value:Jt.textContent,Vr=!0)),0<(g=jn(n,y)).length&&(y=new wr(y,e,null,r,o),a.push({event:y,listeners:g}),v?y.data=v:null!==(v=Br(r))&&(y.data=v))),(v=Fr?function(e,t){switch(e){case"compositionend":return Br(t);case"keypress":return 32!==t.which?null:(zr=!0,Ur);case"textInput":return(e=t.data)===Ur&&zr?null:e;default:return null}}(e,r):function(e,t){if(Vr)return"compositionend"===e||!Dr&&Hr(e,t)?(e=rr(),tr=er=Jt=null,Vr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Nr&&"ko"!==t.locale?null:t.data}}(e,r))&&(0<(n=jn(n,"onBeforeInput")).length&&(o=new wr("onBeforeInput","beforeinput",null,r,o),a.push({event:o,listeners:n}),o.data=v))}Pn(a,t)}))}function Dn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function jn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ue(e,r))&&n.unshift(Dn(e,i,o)),null!=(i=Ue(e,t))&&n.push(Dn(e,i,o))),e=e.return}return n}function Fn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Nn(e,t,r,n,o){for(var i=t._reactName,a=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Ue(r,i))&&a.unshift(Dn(r,l,s)):o||null!=(l=Ue(r,i))&&a.push(Dn(r,l,s))),r=r.return}0!==a.length&&e.push({event:t,listeners:a})}function Un(){}var zn=null,Hn=null;function Bn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Vn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Wn="function"==typeof setTimeout?setTimeout:void 0,Gn="function"==typeof clearTimeout?clearTimeout:void 0;function qn(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Xn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var Qn=0;var Zn=Math.random().toString(36).slice(2),$n="__reactFiber$"+Zn,Yn="__reactProps$"+Zn,Jn="__reactContainer$"+Zn,eo="__reactEvents$"+Zn;function to(e){var t=e[$n];if(t)return t;for(var r=e.parentNode;r;){if(t=r[Jn]||r[$n]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=Xn(e);null!==e;){if(r=e[$n])return r;e=Xn(e)}return t}r=(e=r).parentNode}return null}function ro(e){return!(e=e[$n]||e[Jn])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function no(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function oo(e){return e[Yn]||null}function io(e){var t=e[eo];return void 0===t&&(t=e[eo]=new Set),t}var ao=[],so=-1;function lo(e){return{current:e}}function co(e){0>so||(e.current=ao[so],ao[so]=null,so--)}function uo(e,t){so++,ao[so]=e.current,e.current=t}var ho={},fo=lo(ho),po=lo(!1),mo=ho;function bo(e,t){var r=e.type.contextTypes;if(!r)return ho;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in r)i[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!=(e=e.childContextTypes)}function vo(){co(po),co(fo)}function yo(e,t,r){if(fo.current!==ho)throw Error(a(168));uo(fo,t),uo(po,r)}function Co(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var i in n=n.getChildContext())if(!(i in e))throw Error(a(108,K(t)||"Unknown",i));return o({},r,n)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ho,mo=fo.current,uo(fo,e),uo(po,po.current),!0}function Eo(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Co(e,t,mo),n.__reactInternalMemoizedMergedChildContext=e,co(po),co(fo),uo(fo,e)):co(po),uo(po,r)}var So=null,ko=null,Oo=i.unstable_runWithPriority,xo=i.unstable_scheduleCallback,_o=i.unstable_cancelCallback,Po=i.unstable_shouldYield,To=i.unstable_requestPaint,Io=i.unstable_now,Ao=i.unstable_getCurrentPriorityLevel,Lo=i.unstable_ImmediatePriority,Mo=i.unstable_UserBlockingPriority,Ro=i.unstable_NormalPriority,Do=i.unstable_LowPriority,jo=i.unstable_IdlePriority,Fo={},No=void 0!==To?To:function(){},Uo=null,zo=null,Ho=!1,Bo=Io(),Vo=1e4>Bo?Io:function(){return Io()-Bo};function Wo(){switch(Ao()){case Lo:return 99;case Mo:return 98;case Ro:return 97;case Do:return 96;case jo:return 95;default:throw Error(a(332))}}function Go(e){switch(e){case 99:return Lo;case 98:return Mo;case 97:return Ro;case 96:return Do;case 95:return jo;default:throw Error(a(332))}}function qo(e,t){return e=Go(e),Oo(e,t)}function Ko(e,t,r){return e=Go(e),xo(e,t,r)}function Xo(){if(null!==zo){var e=zo;zo=null,_o(e)}Qo()}function Qo(){if(!Ho&&null!==Uo){Ho=!0;var e=0;try{var t=Uo;qo(99,(function(){for(;e<t.length;e++){var r=t[e];do{r=r(!0)}while(null!==r)}})),Uo=null}catch(t){throw null!==Uo&&(Uo=Uo.slice(e+1)),xo(Lo,Xo),t}finally{Ho=!1}}}var Zo=w.ReactCurrentBatchConfig;function $o(e,t){if(e&&e.defaultProps){for(var r in t=o({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}var Yo=lo(null),Jo=null,ei=null,ti=null;function ri(){ti=ei=Jo=null}function ni(e){var t=Yo.current;co(Yo),e.type._context._currentValue=t}function oi(e,t){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)===t){if(null===r||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,null!==r&&(r.childLanes|=t);e=e.return}}function ii(e,t){Jo=e,ti=ei=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ja=!0),e.firstContext=null)}function ai(e,t){if(ti!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ti=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ei){if(null===Jo)throw Error(a(308));ei=t,Jo.dependencies={lanes:0,firstContext:t,responders:null}}else ei=ei.next=t;return e._currentValue}var si=!1;function li(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ci(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ui(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var r=(e=e.shared).pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function hi(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,i=null;if(null!==(r=r.firstBaseUpdate)){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===i?o=i=a:i=i.next=a,r=r.next}while(null!==r);null===i?o=i=t:i=i.next=t}else o=i=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function fi(e,t,r,n){var i=e.updateQueue;si=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var h=(d=d.updateQueue).lastBaseUpdate;h!==s&&(null===h?d.firstBaseUpdate=u:h.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(h=i.baseState,s=0,d=u=c=null;;){l=a.lane;var f=a.eventTime;if((n&l)===l){null!==d&&(d=d.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var p=e,m=a;switch(l=t,f=r,m.tag){case 1:if("function"==typeof(p=m.payload)){h=p.call(f,h,l);break e}h=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=m.payload)?p.call(f,h,l):p))break e;h=o({},h,l);break e;case 2:si=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=f,c=h):d=d.next=f,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=h),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Hs|=s,e.lanes=s,e.memoizedState=h}}function pi(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(a(191,o));o.call(n)}}}var mi=(new n.Component).refs;function bi(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:o({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var gi={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=hl(),o=fl(e),i=ui(n,o);i.payload=t,null!=r&&(i.callback=r),di(e,i),pl(e,o,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=hl(),o=fl(e),i=ui(n,o);i.tag=1,i.payload=t,null!=r&&(i.callback=r),di(e,i),pl(e,o,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=hl(),n=fl(e),o=ui(r,n);o.tag=2,null!=t&&(o.callback=t),di(e,o),pl(e,n,r)}};function vi(e,t,r,n,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dn(r,n)||!dn(o,i))}function yi(e,t,r){var n=!1,o=ho,i=t.contextType;return"object"==typeof i&&null!==i?i=ai(i):(o=go(t)?mo:fo.current,i=(n=null!=(n=t.contextTypes))?bo(e,o):ho),t=new t(r,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ci(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function wi(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs=mi,li(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ai(i):(i=go(t)?mo:fo.current,o.context=bo(e,i)),fi(e,r,o,n),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(bi(e,t,i,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),fi(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Ei=Array.isArray;function Si(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=n.refs;t===mi&&(t=n.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function ki(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Oi(e){function t(t,r){if(e){var n=t.lastEffect;null!==n?(n.nextEffect=r,t.lastEffect=r):t.firstEffect=t.lastEffect=r,r.nextEffect=null,r.flags=8}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=ql(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags=2,r):n:(t.flags=2,r):r}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Zl(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){return null!==t&&t.elementType===r.type?((n=o(t,r.props)).ref=Si(e,t,r),n.return=e,n):((n=Kl(r.type,r.key,r.props,null,e.mode,n)).ref=Si(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=$l(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,i){return null===t||7!==t.tag?((t=Xl(r,e.mode,n,i)).return=e,t):((t=o(t,r)).return=e,t)}function h(e,t,r){if("string"==typeof t||"number"==typeof t)return(t=Zl(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(r=Kl(t.type,t.key,t.props,null,e.mode,r)).ref=Si(e,null,t),r.return=e,r;case S:return(t=$l(t,e.mode,r)).return=e,t}if(Ei(t)||B(t))return(t=Xl(t,e.mode,r,null)).return=e,t;ki(e,t)}return null}function f(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return r.key===o?r.type===k?d(e,t,r.props.children,n,o):c(e,t,r,n):null;case S:return r.key===o?u(e,t,r,n):null}if(Ei(r)||B(r))return null!==o?null:d(e,t,r,n,null);ki(e,r)}return null}function p(e,t,r,n,o){if("string"==typeof n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return e=e.get(null===n.key?r:n.key)||null,n.type===k?d(t,e,n.props.children,o,n.key):c(t,e,n,o);case S:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o)}if(Ei(n)||B(n))return d(t,e=e.get(r)||null,n,o,null);ki(t,n)}return null}function m(o,a,s,l){for(var c=null,u=null,d=a,m=a=0,b=null;null!==d&&m<s.length;m++){d.index>m?(b=d,d=null):b=d.sibling;var g=f(o,d,s[m],l);if(null===g){null===d&&(d=b);break}e&&d&&null===g.alternate&&t(o,d),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g,d=b}if(m===s.length)return r(o,d),c;if(null===d){for(;m<s.length;m++)null!==(d=h(o,s[m],l))&&(a=i(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=n(o,d);m<s.length;m++)null!==(b=p(d,o,m,s[m],l))&&(e&&null!==b.alternate&&d.delete(null===b.key?m:b.key),a=i(b,a,m),null===u?c=b:u.sibling=b,u=b);return e&&d.forEach((function(e){return t(o,e)})),c}function b(o,s,l,c){var u=B(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,b=s=0,g=null,v=l.next();null!==m&&!v.done;b++,v=l.next()){m.index>b?(g=m,m=null):g=m.sibling;var y=f(o,m,v.value,c);if(null===y){null===m&&(m=g);break}e&&m&&null===y.alternate&&t(o,m),s=i(y,s,b),null===d?u=y:d.sibling=y,d=y,m=g}if(v.done)return r(o,m),u;if(null===m){for(;!v.done;b++,v=l.next())null!==(v=h(o,v.value,c))&&(s=i(v,s,b),null===d?u=v:d.sibling=v,d=v);return u}for(m=n(o,m);!v.done;b++,v=l.next())null!==(v=p(m,o,b,v.value,c))&&(e&&null!==v.alternate&&m.delete(null===v.key?b:v.key),s=i(v,s,b),null===d?u=v:d.sibling=v,d=v);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,n,i,l){var c="object"==typeof i&&null!==i&&i.type===k&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case E:e:{for(u=i.key,c=n;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===k){r(e,c.sibling),(n=o(c,i.props.children)).return=e,e=n;break e}}else if(c.elementType===i.type){r(e,c.sibling),(n=o(c,i.props)).ref=Si(e,c,i),n.return=e,e=n;break e}r(e,c);break}t(e,c),c=c.sibling}i.type===k?((n=Xl(i.props.children,e.mode,l,i.key)).return=e,e=n):((l=Kl(i.type,i.key,i.props,null,e.mode,l)).ref=Si(e,n,i),l.return=e,e=l)}return s(e);case S:e:{for(c=i.key;null!==n;){if(n.key===c){if(4===n.tag&&n.stateNode.containerInfo===i.containerInfo&&n.stateNode.implementation===i.implementation){r(e,n.sibling),(n=o(n,i.children||[])).return=e,e=n;break e}r(e,n);break}t(e,n),n=n.sibling}(n=$l(i,e.mode,l)).return=e,e=n}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==n&&6===n.tag?(r(e,n.sibling),(n=o(n,i)).return=e,e=n):(r(e,n),(n=Zl(i,e.mode,l)).return=e,e=n),s(e);if(Ei(i))return m(e,n,i,l);if(B(i))return b(e,n,i,l);if(u&&ki(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,K(e.type)||"Component"))}return r(e,n)}}var xi=Oi(!0),_i=Oi(!1),Pi={},Ti=lo(Pi),Ii=lo(Pi),Ai=lo(Pi);function Li(e){if(e===Pi)throw Error(a(174));return e}function Mi(e,t){switch(uo(Ai,t),uo(Ii,e),uo(Ti,Pi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:fe(null,"");break;default:t=fe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}co(Ti),uo(Ti,t)}function Ri(){co(Ti),co(Ii),co(Ai)}function Di(e){Li(Ai.current);var t=Li(Ti.current),r=fe(t,e.type);t!==r&&(uo(Ii,e),uo(Ti,r))}function ji(e){Ii.current===e&&(co(Ti),co(Ii))}var Fi=lo(0);function Ni(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ui=null,zi=null,Hi=!1;function Bi(e,t){var r=Wl(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Vi(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wi(e){if(Hi){var t=zi;if(t){var r=t;if(!Vi(e,t)){if(!(t=Kn(r.nextSibling))||!Vi(e,t))return e.flags=-1025&e.flags|2,Hi=!1,void(Ui=e);Bi(Ui,r)}Ui=e,zi=Kn(t.firstChild)}else e.flags=-1025&e.flags|2,Hi=!1,Ui=e}}function Gi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ui=e}function qi(e){if(e!==Ui)return!1;if(!Hi)return Gi(e),Hi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Vn(t,e.memoizedProps))for(t=zi;t;)Bi(e,t),t=Kn(t.nextSibling);if(Gi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){zi=Kn(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}zi=null}}else zi=Ui?Kn(e.stateNode.nextSibling):null;return!0}function Ki(){zi=Ui=null,Hi=!1}var Xi=[];function Qi(){for(var e=0;e<Xi.length;e++)Xi[e]._workInProgressVersionPrimary=null;Xi.length=0}var Zi=w.ReactCurrentDispatcher,$i=w.ReactCurrentBatchConfig,Yi=0,Ji=null,ea=null,ta=null,ra=!1,na=!1;function oa(){throw Error(a(321))}function ia(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!cn(e[r],t[r]))return!1;return!0}function aa(e,t,r,n,o,i){if(Yi=i,Ji=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zi.current=null===e||null===e.memoizedState?La:Ma,e=r(n,o),na){i=0;do{if(na=!1,!(25>i))throw Error(a(301));i+=1,ta=ea=null,t.updateQueue=null,Zi.current=Ra,e=r(n,o)}while(na)}if(Zi.current=Aa,t=null!==ea&&null!==ea.next,Yi=0,ta=ea=Ji=null,ra=!1,t)throw Error(a(300));return e}function sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ta?Ji.memoizedState=ta=e:ta=ta.next=e,ta}function la(){if(null===ea){var e=Ji.alternate;e=null!==e?e.memoizedState:null}else e=ea.next;var t=null===ta?Ji.memoizedState:ta.next;if(null!==t)ta=t,ea=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ea=e).memoizedState,baseState:ea.baseState,baseQueue:ea.baseQueue,queue:ea.queue,next:null},null===ta?Ji.memoizedState=ta=e:ta=ta.next=e}return ta}function ca(e,t){return"function"==typeof t?t(e):t}function ua(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=ea,o=n.baseQueue,i=r.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}n.baseQueue=o=i,r.pending=null}if(null!==o){o=o.next,n=n.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Yi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),n=c.eagerReducer===e?c.eagerState:e(n,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=n):l=l.next=d,Ji.lanes|=u,Hs|=u}c=c.next}while(null!==c&&c!==o);null===l?i=n:l.next=s,cn(n,t.memoizedState)||(ja=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function da(e){var t=la(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(null!==o){r.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);cn(i,t.memoizedState)||(ja=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function ha(e,t,r){var n=t._getVersion;n=n(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===n:(e=e.mutableReadLanes,(e=(Yi&e)===e)&&(t._workInProgressVersionPrimary=n,Xi.push(t))),e)return r(t._source);throw Xi.push(t),Error(a(350))}function fa(e,t,r,n){var o=Ms;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Zi.current,c=l.useState((function(){return ha(o,t,r)})),u=c[1],d=c[0];c=ta;var h=e.memoizedState,f=h.refs,p=f.getSnapshot,m=h.source;h=h.subscribe;var b=Ji;return e.memoizedState={refs:f,source:t,subscribe:n},l.useEffect((function(){f.getSnapshot=r,f.setSnapshot=u;var e=i(t._source);if(!cn(s,e)){e=r(t._source),cn(d,e)||(u(e),e=fl(b),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var n=o.entanglements,a=e;0<a;){var l=31-Vt(a),c=1<<l;n[l]|=e,a&=~c}}}),[r,t,n]),l.useEffect((function(){return n(t._source,(function(){var e=f.getSnapshot,r=f.setSnapshot;try{r(e(t._source));var n=fl(b);o.mutableReadLanes|=n&o.pendingLanes}catch(e){r((function(){throw e}))}}))}),[t,n]),cn(p,r)&&cn(m,t)&&cn(h,n)||((e={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:d}).dispatch=u=Ia.bind(null,Ji,e),c.queue=e,c.baseQueue=null,d=ha(o,t,r),c.memoizedState=c.baseState=d),d}function pa(e,t,r){return fa(la(),e,t,r)}function ma(e){var t=sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e}).dispatch=Ia.bind(null,Ji,e),[t.memoizedState,e]}function ba(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=Ji.updateQueue)?(t={lastEffect:null},Ji.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function ga(e){return e={current:e},sa().memoizedState=e}function va(){return la().memoizedState}function ya(e,t,r,n){var o=sa();Ji.flags|=e,o.memoizedState=ba(1|t,r,void 0,void 0===n?null:n)}function Ca(e,t,r,n){var o=la();n=void 0===n?null:n;var i=void 0;if(null!==ea){var a=ea.memoizedState;if(i=a.destroy,null!==n&&ia(n,a.deps))return void ba(t,r,i,n)}Ji.flags|=e,o.memoizedState=ba(1|t,r,i,n)}function wa(e,t){return ya(516,4,e,t)}function Ea(e,t){return Ca(516,4,e,t)}function Sa(e,t){return Ca(4,2,e,t)}function ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Oa(e,t,r){return r=null!=r?r.concat([e]):null,Ca(4,2,ka.bind(null,t,e),r)}function xa(){}function _a(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ia(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Pa(e,t){var r=la();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&ia(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Ta(e,t){var r=Wo();qo(98>r?98:r,(function(){e(!0)})),qo(97<r?97:r,(function(){var r=$i.transition;$i.transition=1;try{e(!1),t()}finally{$i.transition=r}}))}function Ia(e,t,r){var n=hl(),o=fl(e),i={lane:o,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===Ji||null!==a&&a===Ji)na=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,r);if(i.eagerReducer=a,i.eagerState=l,cn(l,s))return}catch(e){}pl(e,o,n)}}var Aa={readContext:ai,useCallback:oa,useContext:oa,useEffect:oa,useImperativeHandle:oa,useLayoutEffect:oa,useMemo:oa,useReducer:oa,useRef:oa,useState:oa,useDebugValue:oa,useDeferredValue:oa,useTransition:oa,useMutableSource:oa,useOpaqueIdentifier:oa,unstable_isNewReconciler:!1},La={readContext:ai,useCallback:function(e,t){return sa().memoizedState=[e,void 0===t?null:t],e},useContext:ai,useEffect:wa,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,ya(4,2,ka.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ya(4,2,e,t)},useMemo:function(e,t){var r=sa();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=sa();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e=(e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ia.bind(null,Ji,e),[n.memoizedState,e]},useRef:ga,useState:ma,useDebugValue:xa,useDeferredValue:function(e){var t=ma(e),r=t[0],n=t[1];return wa((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=ma(!1),t=e[0];return ga(e=Ta.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,r){var n=sa();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},fa(n,e,t,r)},useOpaqueIdentifier:function(){if(Hi){var e=!1,t=function(e){return{$$typeof:D,toString:e,valueOf:e}}((function(){throw e||(e=!0,r("r:"+(Qn++).toString(36))),Error(a(355))})),r=ma(t)[1];return 0==(2&Ji.mode)&&(Ji.flags|=516,ba(5,(function(){r("r:"+(Qn++).toString(36))}),void 0,null)),t}return ma(t="r:"+(Qn++).toString(36)),t},unstable_isNewReconciler:!1},Ma={readContext:ai,useCallback:_a,useContext:ai,useEffect:Ea,useImperativeHandle:Oa,useLayoutEffect:Sa,useMemo:Pa,useReducer:ua,useRef:va,useState:function(){return ua(ca)},useDebugValue:xa,useDeferredValue:function(e){var t=ua(ca),r=t[0],n=t[1];return Ea((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=ua(ca)[0];return[va().current,e]},useMutableSource:pa,useOpaqueIdentifier:function(){return ua(ca)[0]},unstable_isNewReconciler:!1},Ra={readContext:ai,useCallback:_a,useContext:ai,useEffect:Ea,useImperativeHandle:Oa,useLayoutEffect:Sa,useMemo:Pa,useReducer:da,useRef:va,useState:function(){return da(ca)},useDebugValue:xa,useDeferredValue:function(e){var t=da(ca),r=t[0],n=t[1];return Ea((function(){var t=$i.transition;$i.transition=1;try{n(e)}finally{$i.transition=t}}),[e]),r},useTransition:function(){var e=da(ca)[0];return[va().current,e]},useMutableSource:pa,useOpaqueIdentifier:function(){return da(ca)[0]},unstable_isNewReconciler:!1},Da=w.ReactCurrentOwner,ja=!1;function Fa(e,t,r,n){t.child=null===e?_i(t,null,r,n):xi(t,e.child,r,n)}function Na(e,t,r,n,o){r=r.render;var i=t.ref;return ii(t,o),n=aa(e,t,r,n,i,o),null===e||ja?(t.flags|=1,Fa(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Ua(e,t,r,n,o,i){if(null===e){var a=r.type;return"function"!=typeof a||Gl(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=Kl(r.type,null,n,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,za(e,t,a,n,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(r=null!==(r=r.compare)?r:dn)(o,n)&&e.ref===t.ref)?is(e,t,i):(t.flags|=1,(e=ql(a,n)).ref=t.ref,e.return=t,t.child=e)}function za(e,t,r,n,o,i){if(null!==e&&dn(e.memoizedProps,n)&&e.ref===t.ref){if(ja=!1,0==(i&o))return t.lanes=e.lanes,is(e,t,i);0!=(16384&e.flags)&&(ja=!0)}return Va(e,t,r,n,i)}function Ha(e,t,r){var n=t.pendingProps,o=n.children,i=null!==e?e.memoizedState:null;if("hidden"===n.mode||"unstable-defer-without-hiding"===n.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},El(t,r);else{if(0==(1073741824&r))return e=null!==i?i.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},El(t,e),null;t.memoizedState={baseLanes:0},El(t,null!==i?i.baseLanes:r)}else null!==i?(n=i.baseLanes|r,t.memoizedState=null):n=r,El(t,n);return Fa(e,t,o,r),t.child}function Ba(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=128)}function Va(e,t,r,n,o){var i=go(r)?mo:fo.current;return i=bo(t,i),ii(t,o),r=aa(e,t,r,n,i,o),null===e||ja?(t.flags|=1,Fa(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,is(e,t,o))}function Wa(e,t,r,n,o){if(go(r)){var i=!0;wo(t)}else i=!1;if(ii(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,r,n),wi(t,r,n,o),n=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=r.contextType;"object"==typeof c&&null!==c?c=ai(c):c=bo(t,c=go(r)?mo:fo.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==n||l!==c)&&Ci(t,a,n,c),si=!1;var h=t.memoizedState;a.state=h,fi(t,n,a,o),l=t.memoizedState,s!==n||h!==l||po.current||si?("function"==typeof u&&(bi(t,r,u,n),l=t.memoizedState),(s=si||vi(t,r,s,n,h,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=l),a.props=n,a.state=l,a.context=c,n=s):("function"==typeof a.componentDidMount&&(t.flags|=4),n=!1)}else{a=t.stateNode,ci(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:$o(t.type,s),a.props=c,d=t.pendingProps,h=a.context,"object"==typeof(l=r.contextType)&&null!==l?l=ai(l):l=bo(t,l=go(r)?mo:fo.current);var f=r.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||h!==l)&&Ci(t,a,n,l),si=!1,h=t.memoizedState,a.state=h,fi(t,n,a,o);var p=t.memoizedState;s!==d||h!==p||po.current||si?("function"==typeof f&&(bi(t,r,f,n),p=t.memoizedState),(c=si||vi(t,r,c,n,h,p,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(n,p,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(n,p,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=p),a.props=n,a.state=p,a.context=l,n=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=256),n=!1)}return Ga(e,t,r,n,i,o)}function Ga(e,t,r,n,o,i){Ba(e,t);var a=0!=(64&t.flags);if(!n&&!a)return o&&Eo(t,r,!1),is(e,t,i);n=t.stateNode,Da.current=t;var s=a&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&a?(t.child=xi(t,e.child,null,i),t.child=xi(t,null,s,i)):Fa(e,t,s,i),t.memoizedState=n.state,o&&Eo(t,r,!0),t.child}function qa(e){var t=e.stateNode;t.pendingContext?yo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yo(0,t.context,!1),Mi(e,t.containerInfo)}var Ka,Xa,Qa,Za,$a={dehydrated:null,retryLane:0};function Ya(e,t,r){var n,o=t.pendingProps,i=Fi.current,a=!1;return(n=0!=(64&t.flags))||(n=(null===e||null!==e.memoizedState)&&0!=(2&i)),n?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),uo(Fi,1&i),null===e?(void 0!==o.fallback&&Wi(t),e=o.children,i=o.fallback,a?(e=Ja(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=$a,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ja(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=$a,t.lanes=33554432,e):((r=Ql({mode:"visible",children:e},t.mode,r,null)).return=t,t.child=r)):(e.memoizedState,a?(o=ts(e,t,o.children,o.fallback,r),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:r}:{baseLanes:i.baseLanes|r},a.childLanes=e.childLanes&~r,t.memoizedState=$a,o):(r=es(e,t,o.children,r),t.memoizedState=null,r))}function Ja(e,t,r,n){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Ql(t,o,0,null),r=Xl(r,o,n,null),i.return=e,r.return=e,i.sibling=r,e.child=i,r}function es(e,t,r,n){var o=e.child;return e=o.sibling,r=ql(o,{mode:"visible",children:r}),0==(2&t.mode)&&(r.lanes=n),r.return=t,r.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function ts(e,t,r,n,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:r};return 0==(2&i)&&t.child!==a?((r=t.child).childLanes=0,r.pendingProps=s,null!==(a=r.lastEffect)?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=ql(a,s),null!==e?n=ql(e,n):(n=Xl(n,i,o,null)).flags|=2,n.return=t,r.return=t,r.sibling=n,t.child=r,n}function rs(e,t){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),oi(e.return,t)}function ns(e,t,r,n,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o,a.lastEffect=i)}function os(e,t,r){var n=t.pendingProps,o=n.revealOrder,i=n.tail;if(Fa(e,t,n.children,r),0!=(2&(n=Fi.current)))n=1&n|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rs(e,r);else if(19===e.tag)rs(e,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(uo(Fi,n),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===Ni(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),ns(t,!1,o,r,i,t.lastEffect);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ni(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}ns(t,!0,r,null,i,t.lastEffect);break;case"together":ns(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function is(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Hs|=t.lanes,0!=(r&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=ql(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=ql(e,e.pendingProps)).return=t;r.sibling=null}return t.child}return null}function as(e,t){if(!Hi)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function ss(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&vo(),null;case 3:return Ri(),co(po),co(fo),Qi(),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(qi(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Xa(t),null;case 5:ji(t);var i=Li(Ai.current);if(r=t.type,null!==e&&null!=t.stateNode)Qa(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(null===t.stateNode)throw Error(a(166));return null}if(e=Li(Ti.current),qi(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[$n]=t,n[Yn]=s,r){case"dialog":Tn("cancel",n),Tn("close",n);break;case"iframe":case"object":case"embed":Tn("load",n);break;case"video":case"audio":for(e=0;e<On.length;e++)Tn(On[e],n);break;case"source":Tn("error",n);break;case"img":case"image":case"link":Tn("error",n),Tn("load",n);break;case"details":Tn("toggle",n);break;case"input":ee(n,s),Tn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Tn("invalid",n);break;case"textarea":le(n,s),Tn("invalid",n)}for(var c in Se(r,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?n.textContent!==i&&(e=["children",i]):"number"==typeof i&&n.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Tn("scroll",n));switch(r){case"input":Z(n),ne(n,s,!0);break;case"textarea":Z(n),ue(n);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(n.onclick=Un)}n=e,t.updateQueue=n,null!==n&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===de.html&&(e=he(r)),e===de.html?"script"===r?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=c.createElement(r,{is:n.is}):(e=c.createElement(r),"select"===r&&(c=e,n.multiple?c.multiple=!0:n.size&&(c.size=n.size))):e=c.createElementNS(e,r),e[$n]=t,e[Yn]=n,Ka(e,t,!1,!1),t.stateNode=e,c=ke(r,n),r){case"dialog":Tn("cancel",e),Tn("close",e),i=n;break;case"iframe":case"object":case"embed":Tn("load",e),i=n;break;case"video":case"audio":for(i=0;i<On.length;i++)Tn(On[i],e);i=n;break;case"source":Tn("error",e),i=n;break;case"img":case"image":case"link":Tn("error",e),Tn("load",e),i=n;break;case"details":Tn("toggle",e),i=n;break;case"input":ee(e,n),i=J(e,n),Tn("invalid",e);break;case"option":i=ie(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=o({},n,{value:void 0}),Tn("invalid",e);break;case"textarea":le(e,n),i=se(e,n),Tn("invalid",e);break;default:i=n}Se(r,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?we(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&be(e,d):"children"===s?"string"==typeof d?("textarea"!==r||""!==d)&&ge(e,d):"number"==typeof d&&ge(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Tn("scroll",e):null!=d&&C(e,s,d,c))}switch(r){case"input":Z(e),ne(e,n,!1);break;case"textarea":Z(e),ue(e);break;case"option":null!=n.value&&e.setAttribute("value",""+X(n.value));break;case"select":e.multiple=!!n.multiple,null!=(s=n.value)?ae(e,!!n.multiple,s,!1):null!=n.defaultValue&&ae(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Un)}Bn(r,n)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Za(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(a(166));r=Li(Ai.current),Li(Ti.current),qi(t)?(n=t.stateNode,r=t.memoizedProps,n[$n]=t,n.nodeValue!==r&&(t.flags|=4)):((n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[$n]=t,t.stateNode=n)}return null;case 13:return co(Fi),n=t.memoizedState,0!=(64&t.flags)?(t.lanes=r,t):(n=null!==n,r=!1,null===e?void 0!==t.memoizedProps.fallback&&qi(t):r=null!==e.memoizedState,n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Fi.current)?0===Ns&&(Ns=3):(0!==Ns&&3!==Ns||(Ns=4),null===Ms||0==(134217727&Hs)&&0==(134217727&Bs)||vl(Ms,Ds))),(n||r)&&(t.flags|=4),null);case 4:return Ri(),Xa(t),null===e&&An(t.stateNode.containerInfo),null;case 10:return ni(t),null;case 19:if(co(Fi),null===(n=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=n.rendering))if(s)as(n,!1);else{if(0!==Ns||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Ni(e))){for(t.flags|=64,as(n,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===n.lastEffect&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;null!==r;)e=n,(s=r).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return uo(Fi,1&Fi.current|2),t.child}e=e.sibling}null!==n.tail&&Vo()>qs&&(t.flags|=64,s=!0,as(n,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Ni(c))){if(t.flags|=64,s=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),as(n,!0),null===n.tail&&"hidden"===n.tailMode&&!c.alternate&&!Hi)return null!==(t=t.lastEffect=n.lastEffect)&&(t.nextEffect=null),null}else 2*Vo()-n.renderingStartTime>qs&&1073741824!==r&&(t.flags|=64,s=!0,as(n,!1),t.lanes=33554432);n.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=n.last)?r.sibling=c:t.child=c,n.last=c)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Vo(),r.sibling=null,t=Fi.current,uo(Fi,s?1&t|2:1&t),r):null;case 23:case 24:return Sl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==n.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function ls(e){switch(e.tag){case 1:go(e.type)&&vo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ri(),co(po),co(fo),Qi(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return ji(e),null;case 13:return co(Fi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return co(Fi),null;case 4:return Ri(),null;case 10:return ni(e),null;case 23:case 24:return Sl(),null;default:return null}}function cs(e,t){try{var r="",n=t;do{r+=q(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function us(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Ka=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Xa=function(){},Qa=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Li(Ti.current);var a,s=null;switch(r){case"input":i=J(e,i),n=J(e,n),s=[];break;case"option":i=ie(e,i),n=ie(e,n),s=[];break;case"select":i=o({},i,{value:void 0}),n=o({},n,{value:void 0}),s=[];break;case"textarea":i=se(e,i),n=se(e,n),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof n.onClick&&(e.onclick=Un)}for(d in Se(r,n),r=null,i)if(!n.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in n){var u=n[d];if(c=null!=i?i[d]:void 0,n.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(s||(s=[]),s.push(d,r)),r=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Tn("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===D?u.toString():(s=s||[]).push(d,u))}r&&(s=s||[]).push("style",r);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Za=function(e,t,r,n){r!==n&&(t.flags|=4)};var ds="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,r){(r=ui(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Zs||(Zs=!0,$s=n),us(0,t)},r}function fs(e,t,r){(r=ui(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return us(0,t),n(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(r.callback=function(){"function"!=typeof n&&(null===Ys?Ys=new Set([this]):Ys.add(this),us(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}var ps="function"==typeof WeakSet?WeakSet:Set;function ms(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){zl(e,t)}else t.current=null}function bs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var r=e.memoizedProps,n=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?r:$o(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&qn(t.stateNode.containerInfo))}throw Error(a(163))}function gs(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=r.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;n=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Fl(r,e),jl(r,e)),e=n}while(e!==t)}return;case 1:return e=r.stateNode,4&r.flags&&(null===t?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:$o(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=r.updateQueue)&&pi(r,t,e));case 3:if(null!==(t=r.updateQueue)){if(e=null,null!==r.child)switch(r.child.tag){case 5:case 1:e=r.child.stateNode}pi(r,t,e)}return;case 5:return e=r.stateNode,void(null===t&&4&r.flags&&Bn(r.type,r.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===r.memoizedState&&(r=r.alternate,null!==r&&(r=r.memoizedState,null!==r&&(r=r.dehydrated,null!==r&&wt(r)))))}throw Error(a(163))}function vs(e,t){for(var r=e;;){if(5===r.tag){var n=r.stateNode;if(t)"function"==typeof(n=n.style).setProperty?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var o=r.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,n.style.display=Ce("display",o)}}else if(6===r.tag)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((23!==r.tag&&24!==r.tag||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function ys(e,t){if(ko&&"function"==typeof ko.onCommitFiberUnmount)try{ko.onCommitFiberUnmount(So,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e=e.next;do{var n=r,o=n.destroy;if(n=n.tag,void 0!==o)if(0!=(4&n))Fl(t,r);else{n=t;try{o()}catch(e){zl(n,e)}}r=r.next}while(r!==e)}break;case 1:if(ms(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){zl(t,e)}break;case 5:ms(t);break;case 4:Os(e,t)}}function Cs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ws(e){return 5===e.tag||3===e.tag||4===e.tag}function Es(e){e:{for(var t=e.return;null!==t;){if(ws(t))break e;t=t.return}throw Error(a(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:case 4:t=t.containerInfo,n=!0;break;default:throw Error(a(161))}16&r.flags&&(ge(t,""),r.flags&=-17);e:t:for(r=e;;){for(;null===r.sibling;){if(null===r.return||ws(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;5!==r.tag&&6!==r.tag&&18!==r.tag;){if(2&r.flags)continue t;if(null===r.child||4===r.tag)continue t;r.child.return=r,r=r.child}if(!(2&r.flags)){r=r.stateNode;break e}}n?Ss(e,r,t):ks(e,r,t)}function Ss(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Un));else if(4!==n&&null!==(e=e.child))for(Ss(e,t,r),e=e.sibling;null!==e;)Ss(e,t,r),e=e.sibling}function ks(e,t,r){var n=e.tag,o=5===n||6===n;if(o)e=o?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(ks(e,t,r),e=e.sibling;null!==e;)ks(e,t,r),e=e.sibling}function Os(e,t){for(var r,n,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(r=i.stateNode,i.tag){case 5:n=!1;break e;case 3:case 4:r=r.containerInfo,n=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(ys(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}n?(s=r,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,n=!0,o.child.return=o,o=o.child;continue}}else if(ys(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function xs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var n=r=r.next;do{3==(3&n.tag)&&(e=n.destroy,n.destroy=void 0,void 0!==e&&e()),n=n.next}while(n!==r)}return;case 1:case 12:case 17:return;case 5:if(null!=(r=t.stateNode)){n=t.memoizedProps;var o=null!==e?e.memoizedProps:n;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(r[Yn]=n,"input"===e&&"radio"===n.type&&null!=n.name&&te(r,n),ke(e,o),t=ke(e,n),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?we(r,l):"dangerouslySetInnerHTML"===s?be(r,l):"children"===s?ge(r,l):C(r,s,l,t)}switch(e){case"input":re(r,n);break;case"textarea":ce(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,null!=(i=n.value)?ae(r,!!n.multiple,i,!1):e!==!!n.multiple&&(null!=n.defaultValue?ae(r,!!n.multiple,n.defaultValue,!0):ae(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((r=t.stateNode).hydrate&&(r.hydrate=!1,wt(r.containerInfo)));case 13:return null!==t.memoizedState&&(Gs=Vo(),vs(t.child,!0)),void _s(t);case 19:return void _s(t);case 23:case 24:return void vs(t,null!==t.memoizedState)}throw Error(a(163))}function _s(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new ps),t.forEach((function(t){var n=Bl.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))}))}}function Ps(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Ts=Math.ceil,Is=w.ReactCurrentDispatcher,As=w.ReactCurrentOwner,Ls=0,Ms=null,Rs=null,Ds=0,js=0,Fs=lo(0),Ns=0,Us=null,zs=0,Hs=0,Bs=0,Vs=0,Ws=null,Gs=0,qs=1/0;function Ks(){qs=Vo()+500}var Xs,Qs=null,Zs=!1,$s=null,Ys=null,Js=!1,el=null,tl=90,rl=[],nl=[],ol=null,il=0,al=null,sl=-1,ll=0,cl=0,ul=null,dl=!1;function hl(){return 0!=(48&Ls)?Vo():-1!==sl?sl:sl=Vo()}function fl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wo()?1:2;if(0===ll&&(ll=zs),0!==Zo.transition){0!==cl&&(cl=null!==Ws?Ws.pendingLanes:0),e=ll;var t=4186112&~cl;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Wo(),0!=(4&Ls)&&98===e?e=Ut(12,ll):e=Ut(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ll),e}function pl(e,t,r){if(50<il)throw il=0,al=null,Error(a(185));if(null===(e=ml(e,t)))return null;Bt(e,t,r),e===Ms&&(Bs|=t,4===Ns&&vl(e,Ds));var n=Wo();1===t?0!=(8&Ls)&&0==(48&Ls)?yl(e):(bl(e,r),0===Ls&&(Ks(),Xo())):(0==(4&Ls)||98!==n&&99!==n||(null===ol?ol=new Set([e]):ol.add(e)),bl(e,r)),Ws=e}function ml(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}function bl(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Vt(s),c=1<<l,u=i[l];if(-1===u){if(0==(c&n)||0!=(c&o)){u=t,jt(c);var d=Dt;i[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(n=Ft(e,e===Ms?Ds:0),t=Dt,0===n)null!==r&&(r!==Fo&&_o(r),e.callbackNode=null,e.callbackPriority=0);else{if(null!==r){if(e.callbackPriority===t)return;r!==Fo&&_o(r)}15===t?(r=yl.bind(null,e),null===Uo?(Uo=[r],zo=xo(Lo,Qo)):Uo.push(r),r=Fo):14===t?r=Ko(99,yl.bind(null,e)):(r=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),r=Ko(r,gl.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function gl(e){if(sl=-1,cl=ll=0,0!=(48&Ls))throw Error(a(327));var t=e.callbackNode;if(Dl()&&e.callbackNode!==t)return null;var r=Ft(e,e===Ms?Ds:0);if(0===r)return null;var n=r,o=Ls;Ls|=16;var i=xl();for(Ms===e&&Ds===n||(Ks(),kl(e,n));;)try{Tl();break}catch(t){Ol(e,t)}if(ri(),Is.current=i,Ls=o,null!==Rs?n=0:(Ms=null,Ds=0,n=Ns),0!=(zs&Bs))kl(e,0);else if(0!==n){if(2===n&&(Ls|=64,e.hydrate&&(e.hydrate=!1,qn(e.containerInfo)),0!==(r=Nt(e))&&(n=_l(e,r))),1===n)throw t=Us,kl(e,0),vl(e,r),bl(e,Vo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(a(345));case 2:case 5:Ll(e);break;case 3:if(vl(e,r),(62914560&r)===r&&10<(n=Gs+500-Vo())){if(0!==Ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){hl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Wn(Ll.bind(null,e),n);break}Ll(e);break;case 4:if(vl(e,r),(4186112&r)===r)break;for(n=e.eventTimes,o=-1;0<r;){var s=31-Vt(r);i=1<<s,(s=n[s])>o&&(o=s),r&=~i}if(r=o,10<(r=(120>(r=Vo()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ts(r/1960))-r)){e.timeoutHandle=Wn(Ll.bind(null,e),r);break}Ll(e);break;default:throw Error(a(329))}}return bl(e,Vo()),e.callbackNode===t?gl.bind(null,e):null}function vl(e,t){for(t&=~Vs,t&=~Bs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Vt(t),n=1<<r;e[r]=-1,t&=~n}}function yl(e){if(0!=(48&Ls))throw Error(a(327));if(Dl(),e===Ms&&0!=(e.expiredLanes&Ds)){var t=Ds,r=_l(e,t);0!=(zs&Bs)&&(r=_l(e,t=Ft(e,t)))}else r=_l(e,t=Ft(e,0));if(0!==e.tag&&2===r&&(Ls|=64,e.hydrate&&(e.hydrate=!1,qn(e.containerInfo)),0!==(t=Nt(e))&&(r=_l(e,t))),1===r)throw r=Us,kl(e,0),vl(e,t),bl(e,Vo()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ll(e),bl(e,Vo()),null}function Cl(e,t){var r=Ls;Ls|=1;try{return e(t)}finally{0===(Ls=r)&&(Ks(),Xo())}}function wl(e,t){var r=Ls;Ls&=-2,Ls|=8;try{return e(t)}finally{0===(Ls=r)&&(Ks(),Xo())}}function El(e,t){uo(Fs,js),js|=t,zs|=t}function Sl(){js=Fs.current,co(Fs)}function kl(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,Gn(r)),null!==Rs)for(r=Rs.return;null!==r;){var n=r;switch(n.tag){case 1:null!=(n=n.type.childContextTypes)&&vo();break;case 3:Ri(),co(po),co(fo),Qi();break;case 5:ji(n);break;case 4:Ri();break;case 13:case 19:co(Fi);break;case 10:ni(n);break;case 23:case 24:Sl()}r=r.return}Ms=e,Rs=ql(e.current,null),Ds=js=zs=t,Ns=0,Us=null,Vs=Bs=Hs=0}function Ol(e,t){for(;;){var r=Rs;try{if(ri(),Zi.current=Aa,ra){for(var n=Ji.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}ra=!1}if(Yi=0,ta=ea=Ji=null,na=!1,As.current=null,null===r||null===r.return){Ns=1,Us=t,Rs=null;break}e:{var i=e,a=r.return,s=r,l=t;if(t=Ds,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Fi.current),h=a;do{var f;if(f=13===h.tag){var p=h.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var m=h.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(f){var b=h.updateQueue;if(null===b){var g=new Set;g.add(c),h.updateQueue=g}else b.add(c);if(0==(2&h.mode)){if(h.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var v=ui(-1,1);v.tag=2,di(s,v)}s.lanes|=1;break e}l=void 0,s=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ds,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var C=Hl.bind(null,i,c,s);c.then(C,C)}h.flags|=4096,h.lanes=t;break e}h=h.return}while(null!==h);l=Error((K(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ns&&(Ns=2),l=cs(l,s),h=a;do{switch(h.tag){case 3:i=l,h.flags|=4096,t&=-t,h.lanes|=t,hi(h,hs(0,i,t));break e;case 1:i=l;var w=h.type,E=h.stateNode;if(0==(64&h.flags)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Ys||!Ys.has(E)))){h.flags|=4096,t&=-t,h.lanes|=t,hi(h,fs(h,i,t));break e}}h=h.return}while(null!==h)}Al(r)}catch(e){t=e,Rs===r&&null!==r&&(Rs=r=r.return);continue}break}}function xl(){var e=Is.current;return Is.current=Aa,null===e?Aa:e}function _l(e,t){var r=Ls;Ls|=16;var n=xl();for(Ms===e&&Ds===t||kl(e,t);;)try{Pl();break}catch(t){Ol(e,t)}if(ri(),Ls=r,Is.current=n,null!==Rs)throw Error(a(261));return Ms=null,Ds=0,Ns}function Pl(){for(;null!==Rs;)Il(Rs)}function Tl(){for(;null!==Rs&&!Po();)Il(Rs)}function Il(e){var t=Xs(e.alternate,e,js);e.memoizedProps=e.pendingProps,null===t?Al(e):Rs=t,As.current=null}function Al(e){var t=e;do{var r=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(r=ss(r,t,js)))return void(Rs=r);if(24!==(r=t).tag&&23!==r.tag||null===r.memoizedState||0!=(1073741824&js)||0==(4&r.mode)){for(var n=0,o=r.child;null!==o;)n|=o.lanes|o.childLanes,o=o.sibling;r.childLanes=n}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(r=ls(t)))return r.flags&=2047,void(Rs=r);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Rs=t);Rs=t=e}while(null!==t);0===Ns&&(Ns=5)}function Ll(e){var t=Wo();return qo(99,Ml.bind(null,e,t)),null}function Ml(e,t){do{Dl()}while(null!==el);if(0!=(48&Ls))throw Error(a(327));var r=e.finishedWork;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null;var n=r.lanes|r.childLanes,o=n,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Vt(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==ol&&0==(24&n)&&ol.has(e)&&ol.delete(e),e===Ms&&(Rs=Ms=null,Ds=0),1<r.flags?null!==r.lastEffect?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,null!==n){if(o=Ls,Ls|=32,As.current=null,zn=Xt,bn(s=mn())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,h=-1,f=-1,p=0,m=0,b=s,g=null;t:for(;;){for(var v;b!==l||0!==i&&3!==b.nodeType||(h=d+i),b!==c||0!==u&&3!==b.nodeType||(f=d+u),3===b.nodeType&&(d+=b.nodeValue.length),null!==(v=b.firstChild);)g=b,b=v;for(;;){if(b===s)break t;if(g===l&&++p===i&&(h=d),g===c&&++m===u&&(f=d),null!==(v=b.nextSibling))break;g=(b=g).parentNode}b=v}l=-1===h||-1===f?null:{start:h,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;Hn={focusedElem:s,selectionRange:l},Xt=!1,ul=null,dl=!1,Qs=n;do{try{Rl()}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);ul=null,Qs=n;do{try{for(s=e;null!==Qs;){var y=Qs.flags;if(16&y&&ge(Qs.stateNode,""),128&y){var C=Qs.alternate;if(null!==C){var w=C.ref;null!==w&&("function"==typeof w?w(null):w.current=null)}}switch(1038&y){case 2:Es(Qs),Qs.flags&=-3;break;case 6:Es(Qs),Qs.flags&=-3,xs(Qs.alternate,Qs);break;case 1024:Qs.flags&=-1025;break;case 1028:Qs.flags&=-1025,xs(Qs.alternate,Qs);break;case 4:xs(Qs.alternate,Qs);break;case 8:Os(s,l=Qs);var E=l.alternate;Cs(l),null!==E&&Cs(E)}Qs=Qs.nextEffect}}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);if(w=Hn,C=mn(),y=w.focusedElem,s=w.selectionRange,C!==y&&y&&y.ownerDocument&&pn(y.ownerDocument.documentElement,y)){null!==s&&bn(y)&&(C=s.start,void 0===(w=s.end)&&(w=C),"selectionStart"in y?(y.selectionStart=C,y.selectionEnd=Math.min(w,y.value.length)):(w=(C=y.ownerDocument||document)&&C.defaultView||window).getSelection&&(w=w.getSelection(),l=y.textContent.length,E=Math.min(s.start,l),s=void 0===s.end?E:Math.min(s.end,l),!w.extend&&E>s&&(l=s,s=E,E=l),l=fn(y,E),i=fn(y,s),l&&i&&(1!==w.rangeCount||w.anchorNode!==l.node||w.anchorOffset!==l.offset||w.focusNode!==i.node||w.focusOffset!==i.offset)&&((C=C.createRange()).setStart(l.node,l.offset),w.removeAllRanges(),E>s?(w.addRange(C),w.extend(i.node,i.offset)):(C.setEnd(i.node,i.offset),w.addRange(C))))),C=[];for(w=y;w=w.parentNode;)1===w.nodeType&&C.push({element:w,left:w.scrollLeft,top:w.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<C.length;y++)(w=C[y]).element.scrollLeft=w.left,w.element.scrollTop=w.top}Xt=!!zn,Hn=zn=null,e.current=r,Qs=n;do{try{for(y=e;null!==Qs;){var S=Qs.flags;if(36&S&&gs(y,Qs.alternate,Qs),128&S){C=void 0;var k=Qs.ref;if(null!==k){var O=Qs.stateNode;Qs.tag,C=O,"function"==typeof k?k(C):k.current=C}}Qs=Qs.nextEffect}}catch(e){if(null===Qs)throw Error(a(330));zl(Qs,e),Qs=Qs.nextEffect}}while(null!==Qs);Qs=null,No(),Ls=o}else e.current=r;if(Js)Js=!1,el=e,tl=t;else for(Qs=n;null!==Qs;)t=Qs.nextEffect,Qs.nextEffect=null,8&Qs.flags&&((S=Qs).sibling=null,S.stateNode=null),Qs=t;if(0===(n=e.pendingLanes)&&(Ys=null),1===n?e===al?il++:(il=0,al=e):il=0,r=r.stateNode,ko&&"function"==typeof ko.onCommitFiberRoot)try{ko.onCommitFiberRoot(So,r,void 0,64==(64&r.current.flags))}catch(e){}if(bl(e,Vo()),Zs)throw Zs=!1,e=$s,$s=null,e;return 0!=(8&Ls)||Xo(),null}function Rl(){for(;null!==Qs;){var e=Qs.alternate;dl||null===ul||(0!=(8&Qs.flags)?Je(Qs,ul)&&(dl=!0):13===Qs.tag&&Ps(e,Qs)&&Je(Qs,ul)&&(dl=!0));var t=Qs.flags;0!=(256&t)&&bs(e,Qs),0==(512&t)||Js||(Js=!0,Ko(97,(function(){return Dl(),null}))),Qs=Qs.nextEffect}}function Dl(){if(90!==tl){var e=97<tl?97:tl;return tl=90,qo(e,Nl)}return!1}function jl(e,t){rl.push(t,e),Js||(Js=!0,Ko(97,(function(){return Dl(),null})))}function Fl(e,t){nl.push(t,e),Js||(Js=!0,Ko(97,(function(){return Dl(),null})))}function Nl(){if(null===el)return!1;var e=el;if(el=null,0!=(48&Ls))throw Error(a(331));var t=Ls;Ls|=32;var r=nl;nl=[];for(var n=0;n<r.length;n+=2){var o=r[n],i=r[n+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(a(330));zl(i,e)}}for(r=rl,rl=[],n=0;n<r.length;n+=2){o=r[n],i=r[n+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(a(330));zl(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Ls=t,Xo(),!0}function Ul(e,t,r){di(e,t=hs(0,t=cs(r,t),1)),t=hl(),null!==(e=ml(e,1))&&(Bt(e,1,t),bl(e,t))}function zl(e,t){if(3===e.tag)Ul(e,e,t);else for(var r=e.return;null!==r;){if(3===r.tag){Ul(r,e,t);break}if(1===r.tag){var n=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n))){var o=fs(r,e=cs(t,e),1);if(di(r,o),o=hl(),null!==(r=ml(r,1)))Bt(r,1,o),bl(r,o);else if("function"==typeof n.componentDidCatch&&(null===Ys||!Ys.has(n)))try{n.componentDidCatch(t,e)}catch(e){}break}}r=r.return}}function Hl(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=hl(),e.pingedLanes|=e.suspendedLanes&r,Ms===e&&(Ds&r)===r&&(4===Ns||3===Ns&&(62914560&Ds)===Ds&&500>Vo()-Gs?kl(e,0):Vs|=r),bl(e,t)}function Bl(e,t){var r=e.stateNode;null!==r&&r.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Wo()?1:2:(0===ll&&(ll=zs),0===(t=zt(62914560&~ll))&&(t=4194304))),r=hl(),null!==(e=ml(e,t))&&(Bt(e,t,r),bl(e,r))}function Vl(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Wl(e,t,r,n){return new Vl(e,t,r,n)}function Gl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function ql(e,t){var r=e.alternate;return null===r?((r=Wl(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Kl(e,t,r,n,o,i){var s=2;if(n=e,"function"==typeof e)Gl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case k:return Xl(r.children,o,i,t);case j:s=8,o|=16;break;case O:s=8,o|=1;break;case x:return(e=Wl(12,r,t,8|o)).elementType=x,e.type=x,e.lanes=i,e;case I:return(e=Wl(13,r,t,o)).type=I,e.elementType=I,e.lanes=i,e;case A:return(e=Wl(19,r,t,o)).elementType=A,e.lanes=i,e;case F:return Ql(r,o,i,t);case N:return(e=Wl(24,r,t,o)).elementType=N,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:s=10;break e;case P:s=9;break e;case T:s=11;break e;case L:s=14;break e;case M:s=16,n=null;break e;case R:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Wl(s,r,t,o)).elementType=e,t.type=n,t.lanes=i,t}function Xl(e,t,r,n){return(e=Wl(7,e,n,t)).lanes=r,e}function Ql(e,t,r,n){return(e=Wl(23,e,n,t)).elementType=F,e.lanes=r,e}function Zl(e,t,r){return(e=Wl(6,e,null,t)).lanes=r,e}function $l(e,t,r){return(t=Wl(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yl(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Ht(0),this.expirationTimes=Ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ht(0),this.mutableSourceEagerHydrationData=null}function Jl(e,t,r,n){var o=t.current,i=hl(),s=fl(o);e:if(r){t:{if(Qe(r=r._reactInternals)!==r||1!==r.tag)throw Error(a(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(go(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===r.tag){var c=r.type;if(go(c)){r=Co(r,c,l);break e}}r=l}else r=ho;return null===t.context?t.context=r:t.pendingContext=r,(t=ui(i,s)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),di(o,t),pl(o,s,i),s}function ec(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function tc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function rc(e,t){tc(e,t),(e=e.alternate)&&tc(e,t)}function nc(e,t,r){var n=null!=r&&null!=r.hydrationOptions&&r.hydrationOptions.mutableSources||null;if(r=new Yl(e,t,null!=r&&!0===r.hydrate),t=Wl(3,null,null,2===t?7:1===t?3:0),r.current=t,t.stateNode=r,li(t),e[Jn]=r.current,An(8===e.nodeType?e.parentNode:e),n)for(e=0;e<n.length;e++){var o=(t=n[e])._getVersion;o=o(t._source),null==r.mutableSourceEagerHydrationData?r.mutableSourceEagerHydrationData=[t,o]:r.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=r}function oc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ic(e,t,r,n,o){var i=r._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=ec(a);s.call(e)}}Jl(t,a,e,o)}else{if(i=r._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new nc(e,0,t?{hydrate:!0}:void 0)}(r,n),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=ec(a);l.call(e)}}wl((function(){Jl(t,a,e,o)}))}return ec(a)}function ac(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!oc(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)}Xs=function(e,t,r){var n=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||po.current)ja=!0;else{if(0==(r&n)){switch(ja=!1,t.tag){case 3:qa(t),Ki();break;case 5:Di(t);break;case 1:go(t.type)&&wo(t);break;case 4:Mi(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var o=t.type._context;uo(Yo,o._currentValue),o._currentValue=n;break;case 13:if(null!==t.memoizedState)return 0!=(r&t.child.childLanes)?Ya(e,t,r):(uo(Fi,1&Fi.current),null!==(t=is(e,t,r))?t.sibling:null);uo(Fi,1&Fi.current);break;case 19:if(n=0!=(r&t.childLanes),0!=(64&e.flags)){if(n)return os(e,t,r);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),uo(Fi,Fi.current),n)break;return null;case 23:case 24:return t.lanes=0,Ha(e,t,r)}return is(e,t,r)}ja=0!=(16384&e.flags)}else ja=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=bo(t,fo.current),ii(t,r),o=aa(null,t,n,e,o,r),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(n)){var i=!0;wo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,li(t);var s=n.getDerivedStateFromProps;"function"==typeof s&&bi(t,n,s,e),o.updater=gi,t.stateNode=o,o._reactInternals=t,wi(t,n,e,r),t=Ga(null,t,n,!0,i,r)}else t.tag=0,Fa(null,t,o,r),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Gl(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===L)return 14}return 2}(o),e=$o(o,e),i){case 0:t=Va(null,t,o,e,r);break e;case 1:t=Wa(null,t,o,e,r);break e;case 11:t=Na(null,t,o,e,r);break e;case 14:t=Ua(null,t,o,$o(o.type,e),n,r);break e}throw Error(a(306,o,""))}return t;case 0:return n=t.type,o=t.pendingProps,Va(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 1:return n=t.type,o=t.pendingProps,Wa(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 3:if(qa(t),n=t.updateQueue,null===e||null===n)throw Error(a(282));if(n=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ci(e,t),fi(t,n,null,r),(n=t.memoizedState.element)===o)Ki(),t=is(e,t,r);else{if((i=(o=t.stateNode).hydrate)&&(zi=Kn(t.stateNode.containerInfo.firstChild),Ui=t,i=Hi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Xi.push(i);for(r=_i(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|1024,r=r.sibling}else Fa(e,t,n,r),Ki();t=t.child}return t;case 5:return Di(t),null===e&&Wi(t),n=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Vn(n,o)?s=null:null!==i&&Vn(n,i)&&(t.flags|=16),Ba(e,t),Fa(e,t,s,r),t.child;case 6:return null===e&&Wi(t),null;case 13:return Ya(e,t,r);case 4:return Mi(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=xi(t,null,n,r):Fa(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,Na(e,t,n,o=t.elementType===n?o:$o(n,o),r);case 7:return Fa(e,t,t.pendingProps,r),t.child;case 8:case 12:return Fa(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(uo(Yo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=cn(l,i)?0:0|("function"==typeof n._calculateChangedBits?n._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!po.current){t=is(e,t,r);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===n&&0!=(u.observedBits&i)){1===l.tag&&((u=ui(-1,r&-r)).tag=2,di(l,u)),l.lanes|=r,null!==(u=l.alternate)&&(u.lanes|=r),oi(l.return,r),c.lanes|=r;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Fa(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=(i=t.pendingProps).children,ii(t,r),n=n(o=ai(o,i.unstable_observedBits)),t.flags|=1,Fa(e,t,n,r),t.child;case 14:return i=$o(o=t.type,t.pendingProps),Ua(e,t,o,i=$o(o.type,i),n,r);case 15:return za(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:$o(n,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(n)?(e=!0,wo(t)):e=!1,ii(t,r),yi(t,n,o),wi(t,n,o,r),Ga(null,t,n,!0,e,r);case 19:return os(e,t,r);case 23:case 24:return Ha(e,t,r)}throw Error(a(156,t.tag))},nc.prototype.render=function(e){Jl(e,this._internalRoot,null,null)},nc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Jl(null,e,null,(function(){t[Jn]=null}))},et=function(e){13===e.tag&&(pl(e,4,hl()),rc(e,4))},tt=function(e){13===e.tag&&(pl(e,67108864,hl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=hl(),r=fl(e);pl(e,r,t),rc(e,r)}},nt=function(e,t){return t()},xe=function(e,t,r){switch(t){case"input":if(re(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=oo(n);if(!o)throw Error(a(90));$(n),re(n,o)}}}break;case"textarea":ce(e,r);break;case"select":null!=(t=r.value)&&ae(e,!!r.multiple,t,!1)}},Le=Cl,Me=function(e,t,r,n,o){var i=Ls;Ls|=4;try{return qo(98,e.bind(null,t,r,n,o))}finally{0===(Ls=i)&&(Ks(),Xo())}},Re=function(){0==(49&Ls)&&(function(){if(null!==ol){var e=ol;ol=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,bl(e,Vo())}))}Xo()}(),Dl())},De=function(e,t){var r=Ls;Ls|=2;try{return e(t)}finally{0===(Ls=r)&&(Ks(),Xo())}};var sc={Events:[ro,no,oo,Ie,Ae,Dl,{current:!1}]},lc={findFiberByHostInstance:to,bundleType:0,version:"17.0.1",rendererPackageName:"react-dom"},cc={bundleType:lc.bundleType,version:lc.version,rendererPackageName:lc.rendererPackageName,rendererConfig:lc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ye(e))?null:e.stateNode},findFiberByHostInstance:lc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var uc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!uc.isDisabled&&uc.supportsFiber)try{So=uc.inject(cc),ko=uc}catch(me){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sc,t.createPortal=ac,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Ye(t))?null:e.stateNode},t.flushSync=function(e,t){var r=Ls;if(0!=(48&r))return e(t);Ls|=1;try{if(e)return qo(99,e.bind(null,t))}finally{Ls=r,Xo()}},t.hydrate=function(e,t,r){if(!oc(t))throw Error(a(200));return ic(null,e,t,!0,r)},t.render=function(e,t,r){if(!oc(t))throw Error(a(200));return ic(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!oc(e))throw Error(a(40));return!!e._reactRootContainer&&(wl((function(){ic(null,null,e,!1,(function(){e._reactRootContainer=null,e[Jn]=null}))})),!0)},t.unstable_batchedUpdates=Cl,t.unstable_createPortal=function(e,t){return ac(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!oc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ic(e,t,r,!1,n)},t.version="17.0.1"},function(e,t,r){"use strict";e.exports=r(375)},function(e,t,r){"use strict";var n,o,i,a;if("object"==typeof performance&&"function"==typeof performance.now){var s=performance;t.unstable_now=function(){return s.now()}}else{var l=Date,c=l.now();t.unstable_now=function(){return l.now()-c}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,d=null,h=function e(){if(null!==u)try{var r=t.unstable_now();u(!0,r),u=null}catch(t){throw setTimeout(e,0),t}};n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(h,0))},o=function(e,t){d=setTimeout(e,t)},i=function(){clearTimeout(d)},t.unstable_shouldYield=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var b=!1,g=null,v=-1,y=5,C=0;t.unstable_shouldYield=function(){return t.unstable_now()>=C},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,E=w.port2;w.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();C=e+y;try{g(!0,e)?E.postMessage(null):(b=!1,g=null)}catch(e){throw E.postMessage(null),e}}else b=!1},n=function(e){g=e,b||(b=!0,E.postMessage(null))},o=function(e,r){v=f((function(){e(t.unstable_now())}),r)},i=function(){p(v),v=-1}}function S(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,o=e[n];if(!(void 0!==o&&0<x(o,t)))break e;e[n]=t,e[r]=o,r=n}}function k(e){return void 0===(e=e[0])?null:e}function O(e){var t=e[0];if(void 0!==t){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length;n<o;){var i=2*(n+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>x(a,r))void 0!==l&&0>x(l,a)?(e[n]=l,e[s]=r,n=s):(e[n]=a,e[i]=r,n=i);else{if(!(void 0!==l&&0>x(l,r)))break e;e[n]=l,e[s]=r,n=s}}}return t}return null}function x(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}var _=[],P=[],T=1,I=null,A=3,L=!1,M=!1,R=!1;function D(e){for(var t=k(P);null!==t;){if(null===t.callback)O(P);else{if(!(t.startTime<=e))break;O(P),t.sortIndex=t.expirationTime,S(_,t)}t=k(P)}}function j(e){if(R=!1,D(e),!M)if(null!==k(_))M=!0,n(F);else{var t=k(P);null!==t&&o(j,t.startTime-e)}}function F(e,r){M=!1,R&&(R=!1,i()),L=!0;var n=A;try{for(D(r),I=k(_);null!==I&&(!(I.expirationTime>r)||e&&!t.unstable_shouldYield());){var a=I.callback;if("function"==typeof a){I.callback=null,A=I.priorityLevel;var s=a(I.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?I.callback=s:I===k(_)&&O(_),D(r)}else O(_);I=k(_)}if(null!==I)var l=!0;else{var c=k(P);null!==c&&o(j,c.startTime-r),l=!1}return l}finally{I=null,A=n,L=!1}}var N=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||L||(M=!0,n(F))},t.unstable_getCurrentPriorityLevel=function(){return A},t.unstable_getFirstCallbackNode=function(){return k(_)},t.unstable_next=function(e){switch(A){case 1:case 2:case 3:var t=3;break;default:t=A}var r=A;A=t;try{return e()}finally{A=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=N,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=A;A=e;try{return t()}finally{A=r}},t.unstable_scheduleCallback=function(e,r,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:T++,callback:r,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,S(P,e),null===k(_)&&e===k(P)&&(R?i():R=!0,o(j,a-s))):(e.sortIndex=l,S(_,e),M||L||(M=!0,n(F))),e},t.unstable_wrapCallback=function(e){var t=A;return function(){var r=A;A=t;try{return e.apply(this,arguments)}finally{A=r}}}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(139),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(139);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(139);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(139);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(138);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(138),o=r(175),i=r(196);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(176),o=r(389),i=r(46),a=r(228),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?h:s).test(a(e))}},function(e,t,r){var n=r(100),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(390),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var n=r(49)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(393),o=r(138),i=r(175);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},function(e,t,r){var n=r(394),o=r(395),i=r(396),a=r(397),s=r(398);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(140);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(140),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(140);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},function(e,t,r){var n=r(141);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(141);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(141);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(141);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(86),o=r(114);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(67),o=r(52);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},function(e,t){e.exports=function(){return!1}},function(e,t,r){var n=r(67),o=r(179),i=r(52),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},function(e,t,r){var n=r(231)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(86),o=r(143);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(46),o=r(156),i=r(413),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){var n=r(86),o=r(182);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},function(e,t,r){var n=r(86),o=r(234);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(79)(r(49),"DataView");e.exports=n},function(e,t,r){var n=r(79)(r(49),"Promise");e.exports=n},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(185),o=r(421),i=r(422),a=r(423),s=r(237);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},function(e,t,r){var n=r(185);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(100),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},function(e,t,r){var n=r(425),o=r(180),i=r(181),a=i&&i.isMap,s=a?o(a):n;e.exports=s},function(e,t,r){var n=r(130),o=r(52);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},function(e,t,r){var n=r(427),o=r(180),i=r(181),a=i&&i.isSet,s=a?o(a):n;e.exports=s},function(e,t,r){var n=r(130),o=r(52);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},function(e,t,r){var n=r(112),o=r(214),i=r(433),a=r(107);e.exports=function(e,t){return t=n(t,e),null==(e=i(e,t))||delete e[a(o(t))]}},function(e,t,r){var n=r(430),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},function(e,t,r){var n=r(431);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var n=r(196);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function r(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},function(e,t,r){var n=r(100),o=r(174),i=r(39),a=r(144),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r}},function(e,t,r){var n=r(197),o=r(315);e.exports=function(e,t){return t.length<2?e:n(e,o(t,0,-1))}},function(e,t,r){var n=r(239);e.exports=function(e){return n(e)?void 0:e}},function(e,t,r){var n=r(436);e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},function(e,t,r){var n=r(183),o=r(437);e.exports=function e(t,r,i,a,s){var l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];r>0&&i(u)?r>1?e(u,r-1,i,a,s):n(s,u):a||(s[s.length]=u)}return s}},function(e,t,r){var n=r(100),o=r(118),i=r(39),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},function(e,t){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},function(e,t,r){var n=r(440),o=r(229),i=r(198),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},function(e,t){e.exports=function(e){return function(){return e}}},function(e,t){var r=Date.now;e.exports=function(e){var t=0,n=0;return function(){var o=r(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},function(e,t,r){"use strict";e.exports=r(443)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,d=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,b=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,C=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case h:case a:case l:case s:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case b:case c:return e;default:return t}}case i:return t}}}function E(e){return w(e)===h}t.typeOf=w,t.AsyncMode=d,t.ConcurrentMode=h,t.ContextConsumer=u,t.ContextProvider=c,t.Element=o,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=b,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===h||e===l||e===s||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===b||e.$$typeof===c||e.$$typeof===u||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===C)},t.isAsyncMode=function(e){return E(e)||w(e)===d},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===b},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===s},t.isSuspense=function(e){return w(e)===p}},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};n.get||n.set?Object.defineProperty(t,r,n):t[r]=e[r]}return t.default=e,t}(r(0)),o=s(r(447)),i=s(r(47)),a=s(r(450));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.default||console.error("It looks like Tether has not been included. Please load this dependency first https://github.com/HubSpot/tether");var b=void 0!==i.default.createPortal,g=[o.default.string,o.default.shape({appendChild:o.default.func.isRequired})],v=["auto auto","top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],y=function(e){function t(e){var r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?p(e):t}(this,h(t).call(this,e)),m(p(p(r)),"_targetNode",null),m(p(p(r)),"_elementParentNode",null),m(p(p(r)),"_tether",null),m(p(p(r)),"_elementComponent",null),m(p(p(r)),"_targetComponent",null),r.updateChildrenComponents(r.props),r}var r,o,s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(t,e),r=t,o=[{key:"updateChildrenComponents",value:function(e){var t=n.Children.toArray(e.children);if(this._targetComponent=t[0],this._elementComponent=t[1],this._targetComponent&&this._elementComponent&&this._createContainer(),this._elementParentNode&&this.props.className!==e.className){var r,o,i=(this.props.className||"").split(" ").filter((function(e){return e.length>0})),a=(e.className||"").split(" ").filter((function(e){return e.length>0}));(r=this._elementParentNode.classList).remove.apply(r,u(i)),(o=this._elementParentNode.classList).add.apply(o,u(a))}}},{key:"componentDidMount",value:function(){this._update()}},{key:"componentDidUpdate",value:function(){this._update()}},{key:"componentWillUnmount",value:function(){this._destroy()}},{key:"getTetherInstance",value:function(){return this._tether}},{key:"disable",value:function(){this._tether.disable()}},{key:"enable",value:function(){this._tether.enable()}},{key:"on",value:function(e,t,r){this._tether.on(e,t,r)}},{key:"once",value:function(e,t,r){this._tether.once(e,t,r)}},{key:"off",value:function(e,t){this._tether.off(e,t)}},{key:"position",value:function(){this._tether.position()}},{key:"_registerEventListeners",value:function(){var e=this;this.on("update",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onUpdate&&e.props.onUpdate.apply(e,r)})),this.on("repositioned",(function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e.props.onRepositioned&&e.props.onRepositioned.apply(e,r)}))}},{key:"_destroy",value:function(){this._elementParentNode&&(b||i.default.unmountComponentAtNode(this._elementParentNode),this._elementParentNode.parentNode.removeChild(this._elementParentNode)),this._tether&&this._tether.destroy(),this._elementParentNode=null,this._tether=null,this._targetNode=null,this._targetComponent=null,this._elementComponent=null}},{key:"_createContainer",value:function(){if(!this._elementParentNode){var e=this.props,t=e.renderElementTag,r=e.className;this._elementParentNode=document.createElement(t),this._elementParentNode.className=r||"",this._renderNode.appendChild(this._elementParentNode)}}},{key:"_update",value:function(){var e=this,t=!this._elementComponent||!this._targetComponent;t||(this._targetNode=i.default.findDOMNode(this),t=!this._targetNode),t?this._destroy():b?this._updateTether():i.default.unstable_renderSubtreeIntoContainer(this,this._elementComponent,this._elementParentNode,(function(){e._elementParentNode&&e._updateTether()}))}},{key:"_updateTether",value:function(){var e=this.props,t=(e.children,e.renderElementTag,e.renderElementTo,e.id),r=(e.className,e.style),n=c(e,["children","renderElementTag","renderElementTo","id","className","style"]),o=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){m(e,t,r[t])}))}return e}({target:this._targetNode,element:this._elementParentNode},n),i=t||"";if(this._elementParentNode.id!==i&&(this._elementParentNode.id=i),r){var s=this._elementParentNode.style;Object.keys(r).forEach((function(e){s[e]!==r[e]&&(s[e]=r[e])}))}this._tether?this._tether.setOptions(o):(this._tether=new a.default(o),this._registerEventListeners()),this._tether.position()}},{key:"render",value:function(){return this._targetComponent?b&&this._elementComponent?[this._targetComponent,i.default.createPortal(this._elementComponent,this._elementParentNode)]:this._targetComponent:null}},{key:"_renderNode",get:function(){var e=this.props.renderElementTo;return"string"==typeof e?document.querySelector(e):e||document.body}}],o&&d(r.prototype,o),s&&d(r,s),t}(n.Component);function C(e){this.updateChildrenComponents(e)}m(y,"propTypes",{renderElementTag:o.default.string,renderElementTo:o.default.oneOfType(g),attachment:o.default.oneOf(v).isRequired,targetAttachment:o.default.oneOf(v),offset:o.default.string,targetOffset:o.default.string,targetModifier:o.default.string,enabled:o.default.bool,classes:o.default.object,classPrefix:o.default.string,optimizations:o.default.object,constraints:o.default.array,id:o.default.string,className:o.default.string,style:o.default.object,onUpdate:o.default.func,onRepositioned:o.default.func,children:function(e,t,r){var o=e.children,i=n.Children.count(o);return i<=0?new Error("".concat(r," expects at least one child to use as the target element.")):i>2?new Error("Only a max of two children allowed in ".concat(r,".")):void 0}}),m(y,"defaultProps",{renderElementTag:"div",renderElementTo:null});var w,E,S=n.default.version.split(".").map(Number),k=(E=2,function(e){if(Array.isArray(e))return e}(w=S)||function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(o)throw i}}return r}(w,E)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()),O=k[0],x=k[1];O<16||16===O&&x<9?y.prototype.componentWillUpdate=C:y.prototype.UNSAFE_componentWillUpdate=C;var _=y;t.default=_},function(e,t,r){e.exports=r(448)()},function(e,t,r){"use strict";var n=r(449);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var n,o,i;o=[],n=function(){"use strict";var e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=void 0;void 0===r&&(r={modules:[]});var n=null;function o(e){var t=e.getBoundingClientRect(),r={};for(var n in t)r[n]=t[n];try{if(e.ownerDocument!==document){var i=e.ownerDocument.defaultView.frameElement;if(i){var a=o(i);r.top+=a.top,r.bottom+=a.top,r.left+=a.left,r.right+=a.left}}}catch(e){}return r}function i(e){var t=(getComputedStyle(e)||{}).position,r=[];if("fixed"===t)return[e];for(var n=e;(n=n.parentNode)&&n&&1===n.nodeType;){var o=void 0;try{o=getComputedStyle(n)}catch(e){}if(null==o)return r.push(n),r;var i=o,a=i.overflow,s=i.overflowX,l=i.overflowY;/(auto|scroll|overlay)/.test(a+l+s)&&("absolute"!==t||["relative","absolute","fixed"].indexOf(o.position)>=0)&&r.push(n)}return r.push(e.ownerDocument.body),e.ownerDocument!==document&&r.push(e.ownerDocument.defaultView),r}var a,s=(a=0,function(){return++a}),l={},c=function(){var e=n;e&&document.body.contains(e)||((e=document.createElement("div")).setAttribute("data-tether-id",s()),m(e.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(e),n=e);var t=e.getAttribute("data-tether-id");return void 0===l[t]&&(l[t]=o(e),S((function(){delete l[t]}))),l[t]};function u(){n&&document.body.removeChild(n),n=null}function d(e){var t=void 0;e===document?(t=document,e=document.documentElement):t=e.ownerDocument;var r=t.documentElement,n=o(e),i=c();return n.top-=i.top,n.left-=i.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.right),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-r.clientTop,n.left=n.left-r.clientLeft,n.right=t.body.clientWidth-n.width-n.left,n.bottom=t.body.clientHeight-n.height-n.top,n}function h(e){return e.offsetParent||document.documentElement}var f=null;function p(){if(f)return f;var e=document.createElement("div");e.style.width="100%",e.style.height="200px";var t=document.createElement("div");m(t.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),t.appendChild(e),document.body.appendChild(t);var r=e.offsetWidth;t.style.overflow="scroll";var n=e.offsetWidth;r===n&&(n=t.clientWidth),document.body.removeChild(t);var o=r-n;return f={width:o,height:o}}function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=[];return Array.prototype.push.apply(t,arguments),t.slice(1).forEach((function(t){if(t)for(var r in t)({}).hasOwnProperty.call(t,r)&&(e[r]=t[r])})),e}function b(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.remove(t)}));else{var r=new RegExp("(^| )"+t.split(" ").join("|")+"( |$)","gi"),n=y(e).replace(r," ");C(e,n)}}function g(e,t){if(void 0!==e.classList)t.split(" ").forEach((function(t){t.trim()&&e.classList.add(t)}));else{b(e,t);var r=y(e)+" "+t;C(e,r)}}function v(e,t){if(void 0!==e.classList)return e.classList.contains(t);var r=y(e);return new RegExp("(^| )"+t+"( |$)","gi").test(r)}function y(e){return e.className instanceof e.ownerDocument.defaultView.SVGAnimatedString?e.className.baseVal:e.className}function C(e,t){e.setAttribute("class",t)}function w(e,t,r){r.forEach((function(r){-1===t.indexOf(r)&&v(e,r)&&b(e,r)})),t.forEach((function(t){v(e,t)||g(e,t)}))}var E=[],S=function(e){E.push(e)},k=function(){for(var e=void 0;e=E.pop();)e()},O=function(){function r(){t(this,r)}return e(r,[{key:"on",value:function(e,t,r){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[e]&&(this.bindings[e]=[]),this.bindings[e].push({handler:t,ctx:r,once:n})}},{key:"once",value:function(e,t,r){this.on(e,t,r,!0)}},{key:"off",value:function(e,t){if(void 0!==this.bindings&&void 0!==this.bindings[e])if(void 0===t)delete this.bindings[e];else for(var r=0;r<this.bindings[e].length;)this.bindings[e][r].handler===t?this.bindings[e].splice(r,1):++r}},{key:"trigger",value:function(e){if(void 0!==this.bindings&&this.bindings[e]){for(var t=0,r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(;t<this.bindings[e].length;){var i=this.bindings[e][t],a=i.handler,s=i.ctx,l=i.once,c=s;void 0===c&&(c=this),a.apply(c,n),l?this.bindings[e].splice(t,1):++t}}}}]),r}();r.Utils={getActualBoundingClientRect:o,getScrollParents:i,getBounds:d,getOffsetParent:h,extend:m,addClass:g,removeClass:b,hasClass:v,updateClasses:w,defer:S,flush:k,uniqueId:s,Evented:O,getScrollBarSize:p,removeUtilElements:u};var x=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),_=(e=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),function(e,t,r){for(var n=!0;n;){var o=e,i=t,a=r;n=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,i);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(a)}var c=Object.getPrototypeOf(o);if(null===c)return;e=c,t=i,r=a,n=!0,s=c=void 0}});function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}if(void 0===r)throw new Error("You must include the utils.js file before tether.js");var i=($=r.Utils).getScrollParents,h=(d=$.getBounds,$.getOffsetParent),g=(m=$.extend,$.addClass),b=$.removeClass,p=(w=$.updateClasses,S=$.defer,k=$.flush,$.getScrollBarSize),u=$.removeUtilElements;function T(e,t){var r=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return e+r>=t&&t>=e-r}var I,A,L,M,R=function(){if("undefined"==typeof document)return"";for(var e=document.createElement("div"),t=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],r=0;r<t.length;++r){var n=t[r];if(void 0!==e.style[n])return n}}(),D=[],j=function(){D.forEach((function(e){e.position(!1)})),k()};function F(){return"object"==typeof performance&&"function"==typeof performance.now?performance.now():+new Date}I=null,A=null,L=null,M=function e(){if(void 0!==A&&A>16)return A=Math.min(A-16,250),void(L=setTimeout(e,250));void 0!==I&&F()-I<10||(null!=L&&(clearTimeout(L),L=null),I=F(),j(),A=F()-I)},"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach((function(e){window.addEventListener(e,M)}));var N={center:"center",left:"right",right:"left"},U={middle:"middle",top:"bottom",bottom:"top"},z={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},H=function(e,t){var r=e.left,n=e.top;return"auto"===r&&(r=N[t.left]),"auto"===n&&(n=U[t.top]),{left:r,top:n}},B=function(e){var t=e.left,r=e.top;return void 0!==z[e.left]&&(t=z[e.left]),void 0!==z[e.top]&&(r=z[e.top]),{left:t,top:r}};function V(){for(var e={top:0,left:0},t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){var r=t.top,n=t.left;"string"==typeof r&&(r=parseFloat(r,10)),"string"==typeof n&&(n=parseFloat(n,10)),e.top+=r,e.left+=n})),e}function W(e,t){return"string"==typeof e.left&&-1!==e.left.indexOf("%")&&(e.left=parseFloat(e.left,10)/100*t.width),"string"==typeof e.top&&-1!==e.top.indexOf("%")&&(e.top=parseFloat(e.top,10)/100*t.height),e}var G=function(e){var t=e.split(" "),r=x(t,2);return{top:r[0],left:r[1]}},q=G,K=function(n){function o(e){var n=this;t(this,o),_(Object.getPrototypeOf(o.prototype),"constructor",this).call(this),this.position=this.position.bind(this),D.push(this),this.history=[],this.setOptions(e,!1),r.modules.forEach((function(e){void 0!==e.initialize&&e.initialize.call(n)})),this.position()}return P(o,n),e(o,[{key:"getClass",value:function(){var e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],t=this.options.classes;return void 0!==t&&t[e]?this.options.classes[e]:this.options.classPrefix?this.options.classPrefix+"-"+e:e}},{key:"setOptions",value:function(e){var t=this,r=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=m(n,e);var o=this.options,a=o.element,s=o.target,l=o.targetModifier;if(this.element=a,this.target=s,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach((function(e){if(void 0===t[e])throw new Error("Tether Error: Both element and target must be defined");void 0!==t[e].jquery?t[e]=t[e][0]:"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),g(this.element,this.getClass("element")),!1!==this.options.addTargetClasses&&g(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=q(this.options.targetAttachment),this.attachment=q(this.options.attachment),this.offset=G(this.options.offset),this.targetOffset=G(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=i(this.target),!1!==this.options.enabled&&this.enable(r)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return d(this.target);if("visible"===this.targetModifier)return this.target===document.body?{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth}:((i={height:(e=d(this.target)).height,width:e.width,top:e.top,left:e.left}).height=Math.min(i.height,e.height-(pageYOffset-e.top)),i.height=Math.min(i.height,e.height-(e.top+e.height-(pageYOffset+innerHeight))),i.height=Math.min(innerHeight,i.height),i.height-=2,i.width=Math.min(i.width,e.width-(pageXOffset-e.left)),i.width=Math.min(i.width,e.width-(e.left+e.width-(pageXOffset+innerWidth))),i.width=Math.min(innerWidth,i.width),i.width-=2,i.top<pageYOffset&&(i.top=pageYOffset),i.left<pageXOffset&&(i.left=pageXOffset),i);if("scroll-handle"===this.targetModifier){var e=void 0,t=this.target;t===document.body?(t=document.documentElement,e={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):e=d(t);var r=getComputedStyle(t),n=0;(t.scrollWidth>t.clientWidth||[r.overflow,r.overflowX].indexOf("scroll")>=0||this.target!==document.body)&&(n=15);var o=e.height-parseFloat(r.borderTopWidth)-parseFloat(r.borderBottomWidth)-n,i={width:15,height:.975*o*(o/t.scrollHeight),left:e.left+e.width-parseFloat(r.borderLeftWidth)-15},a=0;o<408&&this.target===document.body&&(a=-11e-5*Math.pow(o,2)-.00727*o+22.58),this.target!==document.body&&(i.height=Math.max(i.height,24));var s=this.target.scrollTop/(t.scrollHeight-o);return i.top=s*(o-i.height-a)+e.top+parseFloat(r.borderTopWidth),this.target===document.body&&(i.height=Math.max(i.height,24)),i}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(e,t){return void 0===this._cache&&(this._cache={}),void 0===this._cache[e]&&(this._cache[e]=t.call(this)),this._cache[e]}},{key:"enable",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];!1!==this.options.addTargetClasses&&g(this.target,this.getClass("enabled")),g(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach((function(t){t!==e.target.ownerDocument&&t.addEventListener("scroll",e.position)})),t&&this.position()}},{key:"disable",value:function(){var e=this;b(this.target,this.getClass("enabled")),b(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.position)}))}},{key:"destroy",value:function(){var e=this;this.disable(),D.forEach((function(t,r){t===e&&D.splice(r,1)})),0===D.length&&u()}},{key:"updateAttachClasses",value:function(e,t){var r=this;e=e||this.attachment,t=t||this.targetAttachment;var n=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var o=this._addAttachClasses;e.top&&o.push(this.getClass("element-attached")+"-"+e.top),e.left&&o.push(this.getClass("element-attached")+"-"+e.left),t.top&&o.push(this.getClass("target-attached")+"-"+t.top),t.left&&o.push(this.getClass("target-attached")+"-"+t.left);var i=[];n.forEach((function(e){i.push(r.getClass("element-attached")+"-"+e),i.push(r.getClass("target-attached")+"-"+e)})),S((function(){void 0!==r._addAttachClasses&&(w(r.element,r._addAttachClasses,i),!1!==r.options.addTargetClasses&&w(r.target,r._addAttachClasses,i),delete r._addAttachClasses)}))}},{key:"position",value:function(){var e=this,t=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var n=H(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,n);var o=this.cache("element-bounds",(function(){return d(e.element)})),i=o.width,a=o.height;if(0===i&&0===a&&void 0!==this.lastSize){var s=this.lastSize;i=s.width,a=s.height}else this.lastSize={width:i,height:a};var l=this.cache("target-bounds",(function(){return e.getTargetBounds()})),c=l,u=W(B(this.attachment),{width:i,height:a}),f=W(B(n),c),m=W(this.offset,{width:i,height:a}),b=W(this.targetOffset,c);u=V(u,m),f=V(f,b);for(var g=l.left+f.left-u.left,v=l.top+f.top-u.top,y=0;y<r.modules.length;++y){var C=r.modules[y].position.call(this,{left:g,top:v,targetAttachment:n,targetPos:l,elementPos:o,offset:u,targetOffset:f,manualOffset:m,manualTargetOffset:b,scrollbarSize:O,attachment:this.attachment});if(!1===C)return!1;void 0!==C&&"object"==typeof C&&(v=C.top,g=C.left)}var w={page:{top:v,left:g},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-a+innerHeight,left:g-pageXOffset,right:pageXOffset-g-i+innerWidth}},E=this.target.ownerDocument,S=E.defaultView,O=void 0;return S.innerHeight>E.documentElement.clientHeight&&(O=this.cache("scrollbar-size",p),w.viewport.bottom-=O.height),S.innerWidth>E.documentElement.clientWidth&&(O=this.cache("scrollbar-size",p),w.viewport.right-=O.width),-1!==["","static"].indexOf(E.body.style.position)&&-1!==["","static"].indexOf(E.body.parentElement.style.position)||(w.page.bottom=E.body.scrollHeight-v-a,w.page.right=E.body.scrollWidth-g-i),void 0!==this.options.optimizations&&!1!==this.options.optimizations.moveElement&&void 0===this.targetModifier&&function(){var t=e.cache("target-offsetparent",(function(){return h(e.target)})),r=e.cache("target-offsetparent-bounds",(function(){return d(t)})),n=getComputedStyle(t),o=r,i={};if(["Top","Left","Bottom","Right"].forEach((function(e){i[e.toLowerCase()]=parseFloat(n["border"+e+"Width"])})),r.right=E.body.scrollWidth-r.left-o.width+i.right,r.bottom=E.body.scrollHeight-r.top-o.height+i.bottom,w.page.top>=r.top+i.top&&w.page.bottom>=r.bottom&&w.page.left>=r.left+i.left&&w.page.right>=r.right){var a=t.scrollTop,s=t.scrollLeft;w.offset={top:w.page.top-r.top+a-i.top,left:w.page.left-r.left+s-i.left}}}(),this.move(w),this.history.unshift(w),this.history.length>3&&this.history.pop(),t&&k(),!0}}},{key:"move",value:function(e){var t=this;if(void 0!==this.element.parentNode){var r={};for(var n in e)for(var o in r[n]={},e[n]){for(var i=!1,a=0;a<this.history.length;++a){var s=this.history[a];if(void 0!==s[n]&&!T(s[n][o],e[n][o])){i=!0;break}}i||(r[n][o]=!0)}var l={top:"",left:"",right:"",bottom:""},c=function(e,r){if(!1!==(void 0!==t.options.optimizations?t.options.optimizations.gpu:null)){var n=void 0,o=void 0;e.top?(l.top=0,n=r.top):(l.bottom=0,n=-r.bottom),e.left?(l.left=0,o=r.left):(l.right=0,o=-r.right),"number"==typeof window.devicePixelRatio&&devicePixelRatio%1==0&&(o=Math.round(o*devicePixelRatio)/devicePixelRatio,n=Math.round(n*devicePixelRatio)/devicePixelRatio),l[R]="translateX("+o+"px) translateY("+n+"px)","msTransform"!==R&&(l[R]+=" translateZ(0)")}else e.top?l.top=r.top+"px":l.bottom=r.bottom+"px",e.left?l.left=r.left+"px":l.right=r.right+"px"},u=!1;if((r.page.top||r.page.bottom)&&(r.page.left||r.page.right)?(l.position="absolute",c(r.page,e.page)):(r.viewport.top||r.viewport.bottom)&&(r.viewport.left||r.viewport.right)?(l.position="fixed",c(r.viewport,e.viewport)):void 0!==r.offset&&r.offset.top&&r.offset.left?function(){l.position="absolute";var n=t.cache("target-offsetparent",(function(){return h(t.target)}));h(t.element)!==n&&S((function(){t.element.parentNode.removeChild(t.element),n.appendChild(t.element)})),c(r.offset,e.offset),u=!0}():(l.position="absolute",c({top:!0,left:!0},e.page)),!u)if(this.options.bodyElement)this.element.parentNode!==this.options.bodyElement&&this.options.bodyElement.appendChild(this.element);else{for(var d=function(e){var t=e.ownerDocument;return(t.fullscreenElement||t.webkitFullscreenElement||t.mozFullScreenElement||t.msFullscreenElement)===e},f=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName&&!d(p);){if("static"!==getComputedStyle(p).position){f=!1;break}p=p.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var b={},g=!1;for(var o in l){var v=l[o];this.element.style[o]!==v&&(g=!0,b[o]=v)}g&&S((function(){m(t.element.style,b),t.trigger("repositioned")}))}}}]),o}(O);K.modules=[],r.position=j;var X=m(K,r);x=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),d=($=r.Utils).getBounds;var m=$.extend,Q=(w=$.updateClasses,S=$.defer,["left","top","right","bottom"]);function Z(e,t){return"scrollParent"===t?t=e.scrollParents[0]:"window"===t&&(t=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),t===document&&(t=t.documentElement),void 0!==t.nodeType&&function(){var e=t,r=d(t),n=r,o=getComputedStyle(t);if(t=[n.left,n.top,r.width+n.left,r.height+n.top],e.ownerDocument!==document){var i=e.ownerDocument.defaultView;t[0]+=i.pageXOffset,t[1]+=i.pageYOffset,t[2]+=i.pageXOffset,t[3]+=i.pageYOffset}Q.forEach((function(e,r){"Top"===(e=e[0].toUpperCase()+e.substr(1))||"Left"===e?t[r]+=parseFloat(o["border"+e+"Width"]):t[r]-=parseFloat(o["border"+e+"Width"])}))}(),t}r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,o=e.targetAttachment;if(!this.options.constraints)return!0;var i=this.cache("element-bounds",(function(){return d(t.element)})),a=i.height,s=i.width;if(0===s&&0===a&&void 0!==this.lastSize){var l=this.lastSize;s=l.width,a=l.height}var c=this.cache("target-bounds",(function(){return t.getTargetBounds()})),u=c.height,h=c.width,f=[this.getClass("pinned"),this.getClass("out-of-bounds")];this.options.constraints.forEach((function(e){var t=e.outOfBoundsClass,r=e.pinnedClass;t&&f.push(t),r&&f.push(r)})),f.forEach((function(e){["left","top","right","bottom"].forEach((function(t){f.push(e+"-"+t)}))}));var p=[],b=m({},o),g=m({},this.attachment);return this.options.constraints.forEach((function(e){var i=e.to,l=e.attachment,c=e.pin;void 0===l&&(l="");var d=void 0,f=void 0;if(l.indexOf(" ")>=0){var m=l.split(" "),v=x(m,2);f=v[0],d=v[1]}else d=f=l;var y=Z(t,i);"target"!==f&&"both"!==f||(r<y[1]&&"top"===b.top&&(r+=u,b.top="bottom"),r+a>y[3]&&"bottom"===b.top&&(r-=u,b.top="top")),"together"===f&&("top"===b.top&&("bottom"===g.top&&r<y[1]?(r+=u,b.top="bottom",r+=a,g.top="top"):"top"===g.top&&r+a>y[3]&&r-(a-u)>=y[1]&&(r-=a-u,b.top="bottom",g.top="bottom")),"bottom"===b.top&&("top"===g.top&&r+a>y[3]?(r-=u,b.top="top",r-=a,g.top="bottom"):"bottom"===g.top&&r<y[1]&&r+(2*a-u)<=y[3]&&(r+=a-u,b.top="top",g.top="top")),"middle"===b.top&&(r+a>y[3]&&"top"===g.top?(r-=a,g.top="bottom"):r<y[1]&&"bottom"===g.top&&(r+=a,g.top="top"))),"target"!==d&&"both"!==d||(n<y[0]&&"left"===b.left&&(n+=h,b.left="right"),n+s>y[2]&&"right"===b.left&&(n-=h,b.left="left")),"together"===d&&(n<y[0]&&"left"===b.left?"right"===g.left?(n+=h,b.left="right",n+=s,g.left="left"):"left"===g.left&&(n+=h,b.left="right",n-=s,g.left="right"):n+s>y[2]&&"right"===b.left?"left"===g.left?(n-=h,b.left="left",n-=s,g.left="right"):"right"===g.left&&(n-=h,b.left="left",n+=s,g.left="left"):"center"===b.left&&(n+s>y[2]&&"left"===g.left?(n-=s,g.left="right"):n<y[0]&&"right"===g.left&&(n+=s,g.left="left"))),"element"!==f&&"both"!==f||(r<y[1]&&"bottom"===g.top&&(r+=a,g.top="top"),r+a>y[3]&&"top"===g.top&&(r-=a,g.top="bottom")),"element"!==d&&"both"!==d||(n<y[0]&&("right"===g.left?(n+=s,g.left="left"):"center"===g.left&&(n+=s/2,g.left="left")),n+s>y[2]&&("left"===g.left?(n-=s,g.left="right"):"center"===g.left&&(n-=s/2,g.left="right"))),"string"==typeof c?c=c.split(",").map((function(e){return e.trim()})):!0===c&&(c=["top","left","right","bottom"]),c=c||[];var C,w,E=[],S=[];r<y[1]&&(c.indexOf("top")>=0?(r=y[1],E.push("top")):S.push("top")),r+a>y[3]&&(c.indexOf("bottom")>=0?(r=y[3]-a,E.push("bottom")):S.push("bottom")),n<y[0]&&(c.indexOf("left")>=0?(n=y[0],E.push("left")):S.push("left")),n+s>y[2]&&(c.indexOf("right")>=0?(n=y[2]-s,E.push("right")):S.push("right")),E.length&&(C=void 0,C=void 0!==t.options.pinnedClass?t.options.pinnedClass:t.getClass("pinned"),p.push(C),E.forEach((function(e){p.push(C+"-"+e)}))),S.length&&(w=void 0,w=void 0!==t.options.outOfBoundsClass?t.options.outOfBoundsClass:t.getClass("out-of-bounds"),p.push(w),S.forEach((function(e){p.push(w+"-"+e)}))),(E.indexOf("left")>=0||E.indexOf("right")>=0)&&(g.left=b.left=!1),(E.indexOf("top")>=0||E.indexOf("bottom")>=0)&&(g.top=b.top=!1),b.top===o.top&&b.left===o.left&&g.top===t.attachment.top&&g.left===t.attachment.left||(t.updateAttachClasses(g,b),t.trigger("update",{attachment:g,targetAttachment:b}))})),S((function(){!1!==t.options.addTargetClasses&&w(t.target,p,f),w(t.element,p,f)})),{top:r,left:n}}});var $,d=($=r.Utils).getBounds,w=$.updateClasses;return S=$.defer,r.modules.push({position:function(e){var t=this,r=e.top,n=e.left,o=this.cache("element-bounds",(function(){return d(t.element)})),i=o.height,a=o.width,s=this.getTargetBounds(),l=r+i,c=n+a,u=[];r<=s.bottom&&l>=s.top&&["left","right"].forEach((function(e){var t=s[e];t!==n&&t!==c||u.push(e)})),n<=s.right&&c>=s.left&&["top","bottom"].forEach((function(e){var t=s[e];t!==r&&t!==l||u.push(e)}));var h=[],f=[],p=["left","top","right","bottom"];return h.push(this.getClass("abutted")),p.forEach((function(e){h.push(t.getClass("abutted")+"-"+e)})),u.length&&f.push(this.getClass("abutted")),u.forEach((function(e){f.push(t.getClass("abutted")+"-"+e)})),S((function(){!1!==t.options.addTargetClasses&&w(t.target,f,h),w(t.element,f,h)})),!0}}),x=function(){function e(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r.modules.push({position:function(e){var t=e.top,r=e.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:t,left:r}));var o=void 0,i=void 0;if("string"==typeof n){(n=n.split(" "))[1]=n[1]||n[0];var a=x(n,2);o=a[0],i=a[1],o=parseFloat(o,10),i=parseFloat(i,10)}else o=n.top,i=n.left;return{top:t+=o,left:r+=i}}}}),X},void 0===(i="function"==typeof n?n.apply(t,o):n)||(e.exports=i)},function(e,t,r){},function(e,t,r){},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e,t){return null!=e&&r.call(e,t)}},function(e,t,r){var n=r(177),o=r(112),i=r(142),a=r(46),s=r(107);e.exports=function(e,t,r,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,h=e;null!=h&&++c<u;){var f=s(t[c]),p=r;if(c!=d){var m=h[f];void 0===(p=l?l(m,f,h):void 0)&&(p=a(m)?m:i(t[c+1])?[]:{})}n(h,f,p),h=h[f]}return e}},function(e,t,r){"use strict";var n=r(36),o=r(242),i=r(456),a=r(248);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(145));s.Axios=i,s.Cancel=r(146),s.CancelToken=r(469),s.isCancel=r(247),s.VERSION=r(249).version,s.all=function(e){return Promise.all(e)},s.spread=r(470),s.isAxiosError=r(471),e.exports=s,e.exports.default=s},function(e,t,r){"use strict";var n=r(36),o=r(243),i=r(457),a=r(458),s=r(248),l=r(468),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e,t){if("string"==typeof e?(t=t||{}).url=e:t=e||{},!t.url)throw new Error("Provided config url is not valid");(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&l.assertOptions(r,{silentJSONParsing:c.transitional(c.boolean),forcedJSONParsing:c.transitional(c.boolean),clarifyTimeoutError:c.transitional(c.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d=d.concat(u),i=Promise.resolve(t);d.length;)i=i.then(d.shift(),d.shift());return i}for(var h=t;n.length;){var f=n.shift(),p=n.shift();try{h=f(h)}catch(e){p(e);break}}try{i=a(h)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},u.prototype.getUri=function(e){if(!e.url)throw new Error("Provided config url is not valid");return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=u},function(e,t,r){"use strict";var n=r(36);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,r){"use strict";var n=r(36),o=r(459),i=r(247),a=r(145),s=r(146);function l(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s("canceled")}e.exports=function(e){return l(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return l(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(l(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,r){"use strict";var n=r(36),o=r(145);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},function(e,t,r){"use strict";var n=r(36);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},function(e,t,r){"use strict";var n=r(246);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},function(e,t,r){"use strict";var n=r(36);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,r){"use strict";var n=r(464),o=r(465);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},function(e,t,r){"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},function(e,t,r){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,r){"use strict";var n=r(36),o=["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"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},function(e,t,r){"use strict";var n=r(36);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},function(e,t,r){"use strict";var n=r(249).version,o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={};o.transitional=function(e,t,r){function o(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(o(n," has been removed"+(t?" in "+t:"")));return t&&!i[n]&&(i[n]=!0,console.warn(o(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},function(e,t,r){"use strict";var n=r(146);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,r){"use strict";var n=r(36);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},function(e,t){e.exports=function(e){return e!=e}},function(e,t){e.exports=function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}},function(e,t,r){var n=r(475),o=r(114);e.exports=function(e){return null==e?[]:n(e,o(e))}},function(e,t,r){var n=r(174);e.exports=function(e,t){return n(t,(function(t){return e[t]}))}},function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++o<i;)r=t(r,e[o],o,e);return r}},function(e,t,r){var n=r(478),o=r(106),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(a,"")}},function(e,t,r){var n=r(479)({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(e,t,r){var n=r(481),o=r(482),i=r(106),a=r(483);e.exports=function(e,t,r){return e=i(e),void 0===(t=r?void 0:t)?o(e)?a(e):n(e):e.match(t)||[]}},function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},function(e,t){var r=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return r.test(e)}},function(e,t){var r="\\ud800-\\udfff",n="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",a="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",s="["+a+"]",l="\\d+",c="["+n+"]",u="["+o+"]",d="[^"+r+a+l+n+o+i+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",m="(?:"+u+"|"+d+")",b="(?:"+p+"|"+d+")",g="(?:['’](?:d|ll|m|re|s|t|ve))?",v="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",C="[\\ufe0e\\ufe0f]?",w=C+y+("(?:\\u200d(?:"+["[^"+r+"]",h,f].join("|")+")"+C+y+")*"),E="(?:"+[c,h,f].join("|")+")"+w,S=RegExp([p+"?"+u+"+"+g+"(?="+[s,p,"$"].join("|")+")",b+"+"+v+"(?="+[s,p+m,"$"].join("|")+")",p+"?"+m+"+"+g,p+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",l,E].join("|"),"g");e.exports=function(e){return e.match(S)||[]}},function(e,t,r){var n=r(168),o=r(251),i=r(354),a=r(486),s=r(46),l=r(143),c=r(252);e.exports=function e(t,r,u,d,h){t!==r&&i(r,(function(i,l){if(h||(h=new n),s(i))a(t,r,l,u,e,d,h);else{var f=d?d(c(t,l),i,l+"",t,r,h):void 0;void 0===f&&(f=i),o(t,l,f)}}),l)}},function(e,t){e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}}},function(e,t,r){var n=r(251),o=r(232),i=r(237),a=r(201),s=r(238),l=r(118),c=r(39),u=r(487),d=r(129),h=r(176),f=r(46),p=r(239),m=r(170),b=r(252),g=r(488);e.exports=function(e,t,r,v,y,C,w){var E=b(e,r),S=b(t,r),k=w.get(S);if(k)n(e,r,k);else{var O=C?C(E,S,r+"",e,t,w):void 0,x=void 0===O;if(x){var _=c(S),P=!_&&d(S),T=!_&&!P&&m(S);O=S,_||P||T?c(E)?O=E:u(E)?O=a(E):P?(x=!1,O=o(S,!0)):T?(x=!1,O=i(S,!0)):O=[]:p(S)||l(S)?(O=E,l(E)?O=g(E):f(E)&&!h(E)||(O=s(S))):x=!1}x&&(w.set(S,O),y(O,S,v,C,w),w.delete(S)),n(e,r,O)}}},function(e,t,r){var n=r(93),o=r(52);e.exports=function(e){return o(e)&&n(e)}},function(e,t,r){var n=r(86),o=r(143);e.exports=function(e){return n(e,o(e))}},function(e,t,r){var n=r(490),o=r(283);e.exports=function(e){return n((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var l=r[n];l&&e(t,l,n,a)}return t}))}},function(e,t,r){var n=r(198),o=r(240),i=r(241);e.exports=function(e,t){return i(o(e,t,n),e+"")}},function(e,t,r){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}},function(e,t,r){"use strict";var n="%[a-f0-9]{2}",o=new RegExp(n,"gi"),i=new RegExp("("+n+")+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],a(r),a(n))}function s(e){try{return decodeURIComponent(e)}catch(n){for(var t=e.match(o),r=1;r<t.length;r++)t=(e=a(t,r).join("")).match(o);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/\+/g," "),decodeURIComponent(e)}catch(t){return function(e){for(var t={"%FE%FF":"��","%FF%FE":"��"},r=i.exec(e);r;){try{t[r[0]]=decodeURIComponent(r[0])}catch(e){var n=s(r[0]);n!==r[0]&&(t[r[0]]=n)}r=i.exec(e)}t["%C2"]="�";for(var o=Object.keys(t),a=0;a<o.length;a++){var l=o[a];e=e.replace(new RegExp(l,"g"),t[l])}return e}(e)}}},function(e,t,r){var n=r(67),o=r(52);e.exports=function(e){return"number"==typeof e||o(e)&&"[object Number]"==n(e)}},function(e,t,r){"use strict";var n=r(0);r(624);t.a=e=>{let{children:t,className:r="",isDisabled:o}=e;return n.createElement("div",{className:"btn-group ".concat(r," ").concat(o?"is-disabled":"")},t)}},,function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#222",height:i=9,title:a,width:s=9}=e;return n.createElement(o.a,{className:"icon-plus-thin ".concat(t),height:i,title:a,viewBox:"0 0 9 9",width:s},n.createElement("path",{className:"fill-color",d:"M5 4V0H4v4H0v1h4v4h1V5h4V4H5z",fill:r,fillRule:"evenodd"}))}},function(e,t,r){"use strict";var n=r(0),o=r(11);t.a=e=>{let{className:t="",color:r="#222",height:i=1,title:a,width:s=9}=e;return n.createElement(o.a,{className:"icon-minus-thin ".concat(t),height:i,title:a,viewBox:"0 0 9 1",width:s},n.createElement("path",{className:"fill-color",d:"M0 0h9v1H0z",fill:r,fillRule:"evenodd"}))}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));function n(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}},function(e,t,r){var n=r(695);e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n,o=r(6),i=r(16),a=r(27),s=r(81);function l(e){return"function"==typeof e}function c(e,t,r,o,a,u,d){if(1===e.length&&Object(i.e)(e[0]))return[{type:n.literal,value:e[0].value}];for(var h=[],f=0,p=e;f<p.length;f++){var m=p[f];if(Object(i.e)(m))h.push({type:n.literal,value:m.value});else if(Object(i.i)(m))"number"==typeof u&&h.push({type:n.literal,value:r.getNumberFormat(t).format(u)});else{var b=m.value;if(!a||!(b in a))throw new s.e(b,d);var g=a[b];if(Object(i.b)(m))g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),h.push({type:"string"==typeof g?n.literal:n.object,value:g});else if(Object(i.c)(m)){var v="string"==typeof m.style?o.date[m.style]:Object(i.d)(m.style)?m.style.parsedOptions:void 0;h.push({type:n.literal,value:r.getDateTimeFormat(t,v).format(g)})}else if(Object(i.l)(m)){v="string"==typeof m.style?o.time[m.style]:Object(i.d)(m.style)?m.style.parsedOptions:o.time.medium;h.push({type:n.literal,value:r.getDateTimeFormat(t,v).format(g)})}else if(Object(i.f)(m)){(v="string"==typeof m.style?o.number[m.style]:Object(i.g)(m.style)?m.style.parsedOptions:void 0)&&v.scale&&(g*=v.scale||1),h.push({type:n.literal,value:r.getNumberFormat(t,v).format(g)})}else{if(Object(i.k)(m)){var y=m.children,C=m.value,w=a[C];if(!l(w))throw new s.d(C,"function",d);var E=w(c(y,t,r,o,a,u).map((function(e){return e.value})));Array.isArray(E)||(E=[E]),h.push.apply(h,E.map((function(e){return{type:"string"==typeof e?n.literal:n.object,value:e}})))}if(Object(i.j)(m)){if(!(S=m.options[g]||m.options.other))throw new s.c(m.value,g,Object.keys(m.options),d);h.push.apply(h,c(S.value,t,r,o,a))}else if(Object(i.h)(m)){var S;if(!(S=m.options["=".concat(g)])){if(!Intl.PluralRules)throw new s.b('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',s.a.MISSING_INTL_API,d);var k=r.getPluralRules(t,{type:m.pluralType}).select(g-(m.offset||0));S=m.options[k]||m.options.other}if(!S)throw new s.c(m.value,g,Object.keys(m.options),d);h.push.apply(h,c(S.value,t,r,o,a,g-(m.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===n.literal&&t.type===n.literal?r.value+=t.value:e.push(t),e}),[])}(h)}function u(e,t){return t?Object.keys(e).reduce((function(r,n){var i,a;return r[n]=(i=e[n],(a=t[n])?Object(o.a)(Object(o.a)(Object(o.a)({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=Object(o.a)(Object(o.a)({},i[t]),a[t]||{}),e}),{})):i),r}),Object(o.a)({},e)):e}function d(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(n||(n={}));var h=function(){function e(t,r,i,s){void 0===r&&(r=e.defaultLocale);var l,h=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=h.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===n.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return c(h.ast,h.locales,h.formatters,h.formats,e,void 0,h.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=h.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(h.locales)[0]}},this.getAst=function(){return h.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=s||{},p=(f.formatters,Object(o.c)(f,["formatters"]));this.ast=e.__parse(t,Object(o.a)(Object(o.a)({},p),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=u(e.formats,i),this.formatters=s&&s.formatters||(void 0===(l=this.formatterCache)&&(l={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Object(a.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,Object(o.d)([void 0],t,!1)))}),{cache:d(l.number),strategy:a.b.variadic}),getDateTimeFormat:Object(a.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,Object(o.d)([void 0],t,!1)))}),{cache:d(l.dateTime),strategy:a.b.variadic}),getPluralRules:Object(a.a)((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,Object(o.d)([void 0],t,!1)))}),{cache:d(l.pluralRules),strategy:a.b.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=i.m,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},,function(e,t,r){"use strict";var n=r(0),o=r(11),i=r(2);t.a=e=>{let{className:t="",color:r=i.b,height:a=126,title:s,width:l=130}=e;return n.createElement(o.a,{className:"error-empty-state ".concat(t),height:a,title:s,viewBox:"0 0 150 150",width:l},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M75.5,6.1337822 L75.5,5.49178758 C75.5,5.2201808 75.7319336,5 76,5 C76.2761424,5 76.5,5.21505737 76.5,5.49047852 L76.5,6.1337822 C76.651814,6.22160185 76.7783981,6.348186 76.8662178,6.5 L77.5095215,6.5 C77.7804053,6.5 78,6.73193359 78,7 C78,7.27614237 77.7849426,7.5 77.5095215,7.5 L76.8662178,7.5 C76.7783981,7.651814 76.651814,7.77839815 76.5,7.8662178 L76.5,8.50952148 C76.5,8.78040529 76.2680664,9 76,9 C75.7238576,9 75.5,8.76897915 75.5,8.49525623 L75.5,7.8662178 C75.348186,7.77839815 75.2216019,7.651814 75.1337822,7.5 L74.4904785,7.5 C74.2195947,7.5 74,7.26806641 74,7 C74,6.72385763 74.2150574,6.5 74.4904785,6.5 L75.1337822,6.5 C75.2216019,6.348186 75.348186,6.22160185 75.5,6.1337822 Z M16,73.6337822 L16,72.9917876 C16,72.7201808 16.2319336,72.5 16.5,72.5 C16.7761424,72.5 17,72.7150574 17,72.9904785 L17,73.6337822 C17.151814,73.7216019 17.2783981,73.848186 17.3662178,74 L18.0095215,74 C18.2804053,74 18.5,74.2319336 18.5,74.5 C18.5,74.7761424 18.2849426,75 18.0095215,75 L17.3662178,75 C17.2783981,75.151814 17.151814,75.2783981 17,75.3662178 L17,76.0095215 C17,76.2804053 16.7680664,76.5 16.5,76.5 C16.2238576,76.5 16,76.2689791 16,75.9952562 L16,75.3662178 C15.848186,75.2783981 15.7216019,75.151814 15.6337822,75 L14.9904785,75 C14.7195947,75 14.5,74.7680664 14.5,74.5 C14.5,74.2238576 14.7150574,74 14.9904785,74 L15.6337822,74 C15.7216019,73.848186 15.848186,73.7216019 16,73.6337822 Z M132.5,81.6337822 L132.5,80.9917876 C132.5,80.7201808 132.731934,80.5 133,80.5 C133.276142,80.5 133.5,80.7150574 133.5,80.9904785 L133.5,81.6337822 C133.651814,81.7216019 133.778398,81.848186 133.866218,82 L134.509521,82 C134.780405,82 135,82.2319336 135,82.5 C135,82.7761424 134.784943,83 134.509521,83 L133.866218,83 C133.778398,83.151814 133.651814,83.2783981 133.5,83.3662178 L133.5,84.0095215 C133.5,84.2804053 133.268066,84.5 133,84.5 C132.723858,84.5 132.5,84.2689791 132.5,83.9952562 L132.5,83.3662178 C132.348186,83.2783981 132.221602,83.151814 132.133782,83 L131.490479,83 C131.219595,83 131,82.7680664 131,82.5 C131,82.2238576 131.215057,82 131.490479,82 L132.133782,82 C132.221602,81.848186 132.348186,81.7216019 132.5,81.6337822 Z M47,23.1337822 L47,22.4917876 C47,22.2201808 47.2319336,22 47.5,22 C47.7761424,22 48,22.2150574 48,22.4904785 L48,23.1337822 C48.151814,23.2216019 48.2783981,23.348186 48.3662178,23.5 L49.0095215,23.5 C49.2804053,23.5 49.5,23.7319336 49.5,24 C49.5,24.2761424 49.2849426,24.5 49.0095215,24.5 L48.3662178,24.5 C48.2783981,24.651814 48.151814,24.7783981 48,24.8662178 L48,25.5095215 C48,25.7804053 47.7680664,26 47.5,26 C47.2238576,26 47,25.7689791 47,25.4952562 L47,24.8662178 C46.848186,24.7783981 46.7216019,24.651814 46.6337822,24.5 L45.9904785,24.5 C45.7195947,24.5 45.5,24.2680664 45.5,24 C45.5,23.7238576 45.7150574,23.5 45.9904785,23.5 L46.6337822,23.5 C46.7216019,23.348186 46.848186,23.2216019 47,23.1337822 Z M107,24.6337822 L107,23.9917876 C107,23.7201808 107.231934,23.5 107.5,23.5 C107.776142,23.5 108,23.7150574 108,23.9904785 L108,24.6337822 C108.151814,24.7216019 108.278398,24.848186 108.366218,25 L109.009521,25 C109.280405,25 109.5,25.2319336 109.5,25.5 C109.5,25.7761424 109.284943,26 109.009521,26 L108.366218,26 C108.278398,26.151814 108.151814,26.2783981 108,26.3662178 L108,27.0095215 C108,27.2804053 107.768066,27.5 107.5,27.5 C107.223858,27.5 107,27.2689791 107,26.9952562 L107,26.3662178 C106.848186,26.2783981 106.721602,26.151814 106.633782,26 L105.990479,26 C105.719595,26 105.5,25.7680664 105.5,25.5 C105.5,25.2238576 105.715057,25 105.990479,25 L106.633782,25 C106.721602,24.848186 106.848186,24.7216019 107,24.6337822 Z M142.5,44.6337822 L142.5,43.9917876 C142.5,43.7201808 142.731934,43.5 143,43.5 C143.276142,43.5 143.5,43.7150574 143.5,43.9904785 L143.5,44.6337822 C143.651814,44.7216019 143.778398,44.848186 143.866218,45 L144.509521,45 C144.780405,45 145,45.2319336 145,45.5 C145,45.7761424 144.784943,46 144.509521,46 L143.866218,46 C143.778398,46.151814 143.651814,46.2783981 143.5,46.3662178 L143.5,47.0095215 C143.5,47.2804053 143.268066,47.5 143,47.5 C142.723858,47.5 142.5,47.2689791 142.5,46.9952562 L142.5,46.3662178 C142.348186,46.2783981 142.221602,46.151814 142.133782,46 L141.490479,46 C141.219595,46 141,45.7680664 141,45.5 C141,45.2238576 141.215057,45 141.490479,45 L142.133782,45 C142.221602,44.848186 142.348186,44.7216019 142.5,44.6337822 Z M26.4375,26.7086139 L26.4375,26.3073672 C26.4375,26.137613 26.5824585,26 26.75,26 C26.922589,26 27.0625,26.1344109 27.0625,26.3065491 L27.0625,26.7086139 C27.1573838,26.7635012 27.2364988,26.8426162 27.2913861,26.9375 L27.6934509,26.9375 C27.8627533,26.9375 28,27.0824585 28,27.25 C28,27.422589 27.8655891,27.5625 27.6934509,27.5625 L27.2913861,27.5625 C27.2364988,27.6573838 27.1573838,27.7364988 27.0625,27.7913861 L27.0625,28.1934509 C27.0625,28.3627533 26.9175415,28.5 26.75,28.5 C26.577411,28.5 26.4375,28.355612 26.4375,28.1974433 L26.4375,27.7913861 C26.3426162,27.7364988 26.2635012,27.6573838 26.2086139,27.5625 L25.8065491,27.5625 C25.6372467,27.5625 25.5,27.4175415 25.5,27.25 C25.5,27.077411 25.6344109,26.9375 25.8065491,26.9375 L26.2086139,26.9375 C26.2635012,26.8426162 26.3426162,26.7635012 26.4375,26.7086139 Z M5.9375,66.7086139 L5.9375,66.3073672 C5.9375,66.137613 6.0824585,66 6.25,66 C6.42258898,66 6.5625,66.1344109 6.5625,66.3065491 L6.5625,66.7086139 C6.65738375,66.7635012 6.73649884,66.8426162 6.79138613,66.9375 L7.19345093,66.9375 C7.36275331,66.9375 7.5,67.0824585 7.5,67.25 C7.5,67.422589 7.36558914,67.5625 7.19345093,67.5625 L6.79138613,67.5625 C6.73649884,67.6573838 6.65738375,67.7364988 6.5625,67.7913861 L6.5625,68.1934509 C6.5625,68.3627533 6.4175415,68.5 6.25,68.5 C6.07741102,68.5 5.9375,68.355612 5.9375,68.1974433 L5.9375,67.7913861 C5.84261625,67.7364988 5.76350116,67.6573838 5.70861387,67.5625 L5.30654907,67.5625 C5.13724669,67.5625 5,67.4175415 5,67.25 C5,67.077411 5.13441086,66.9375 5.30654907,66.9375 L5.70861387,66.9375 C5.76350116,66.8426162 5.84261625,66.7635012 5.9375,66.7086139 Z M128.4375,35.2086139 L128.4375,34.8073672 C128.4375,34.637613 128.582458,34.5 128.75,34.5 C128.922589,34.5 129.0625,34.6344109 129.0625,34.8065491 L129.0625,35.2086139 C129.157384,35.2635012 129.236499,35.3426162 129.291386,35.4375 L129.693451,35.4375 C129.862753,35.4375 130,35.5824585 130,35.75 C130,35.922589 129.865589,36.0625 129.693451,36.0625 L129.291386,36.0625 C129.236499,36.1573838 129.157384,36.2364988 129.0625,36.2913861 L129.0625,36.6934509 C129.0625,36.8627533 128.917542,37 128.75,37 C128.577411,37 128.4375,36.855612 128.4375,36.6974433 L128.4375,36.2913861 C128.342616,36.2364988 128.263501,36.1573838 128.208614,36.0625 L127.806549,36.0625 C127.637247,36.0625 127.5,35.9175415 127.5,35.75 C127.5,35.577411 127.634411,35.4375 127.806549,35.4375 L128.208614,35.4375 C128.263501,35.3426162 128.342616,35.2635012 128.4375,35.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M22.7914692,53.0566298 C22.7914692,44.2833882 29.9045187,37.1712707 38.67891,37.1712707 C45.7737865,37.1712707 51.7824509,41.8212886 53.8227562,48.239555 C55.2405695,47.3058073 56.9383368,46.7624309 58.7630332,46.7624309 C60.5666328,46.7624309 62.2462216,47.2933152 63.654021,48.2073246 L63.654021,48.2073246 C64.4190329,41.9873442 69.7216602,37.1712707 76.1492891,37.1712707 C83.1025803,37.1712707 88.7393365,42.8072884 88.7393365,49.7596685",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(55.765403, 45.113950) rotate(-16.000000) translate(-55.765403, -45.113950) "}),n.createElement("path",{className:"stroke-color",d:"M83.943128,54.2555249 C83.943128,45.4822833 91.0561775,38.3701657 99.8305687,38.3701657 C108.60496,38.3701657 115.718009,45.4822833 115.718009,54.2555249 C115.718009,54.3264389 115.717545,54.3972444 115.716618,54.4679385 C116.654607,54.136276 117.664045,53.9558011 118.71564,53.9558011 C123.682276,53.9558011 127.708531,57.981528 127.708531,62.9475138",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(105.825829, 52.277119) rotate(12.000000) translate(-105.825829, -52.277119) "}),n.createElement("path",{className:"stroke-color fill-white",d:"M50.9395397,69.2196888 C50.9559175,68.4219236 51.610933,67.7752072 52.4046043,67.7752072 L97.4958697,67.7752072 C98.2886247,67.7752072 98.9444823,68.4183107 98.9609042,69.2182265 L99.4445195,92.7751921 L99.7620359,108.24146 C99.7783805,109.037607 99.1770355,109.912104 98.4076164,110.184881 C98.4076164,110.184881 87.4203791,114.5 74.950237,114.5 C62.4800948,114.5 51.4928575,110.184881 51.4928575,110.184881 C50.7283448,109.907706 50.1221794,109.033417 50.1385386,108.236558 L50.4774294,91.7291413 L50.9395397,69.2196888 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("ellipse",{className:"fill-color fill-opacity",cx:"74.950237",cy:"78.3725829",fill:r,fillOpacity:"0.1",rx:"23.0218009",ry:"4.33529006"}),n.createElement("path",{className:"stroke-color fill-white",d:"M74.950237,79.8176796 C97.465656,79.8176796 115.718009,75.5044007 115.718009,70.1837017 C115.718009,64.8630026 97.465656,60.5497238 74.950237,60.5497238 C52.4348179,60.5497238 34.1824645,64.8630026 34.1824645,70.1837017 C34.1824645,75.5044007 52.4348179,79.8176796 74.950237,79.8176796 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("ellipse",{className:"stroke-color fill-white",cx:"74.950237",cy:"68.4977555",fill:"#FFFFFF",rx:"24.4606635",ry:"4.09444061",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M75,145 C92.9492544,145 107.5,143.656854 107.5,142 C107.5,140.343146 92.9492544,139 75,139 C57.0507456,139 42.5,140.343146 42.5,142 C42.5,143.656854 57.0507456,145 75,145 Z M52.8509947,83.1913741 C52.8712542,82.3922739 53.1310662,82.3484877 53.4058629,83.0830098 C53.4058629,83.0830098 54.9449475,86.510498 55.7326913,92.6144423 C56.1527728,95.8695035 53.9282708,103.074457 55.7326913,105.159127 C57.3617489,107.041199 60.8117179,105.68032 64.1108787,107.455589 C67.4100395,109.230858 72.2793624,112.331621 70.2784638,112.127382 C61.553615,111.236802 53.5881693,108.414342 53.5881693,108.414342 C52.8342042,108.164383 52.2394252,107.313681 52.2596778,106.514853 L52.8509947,83.1913741 Z M74.950237,71.6141582 C83.2980852,71.6141582 97.0127962,70.1313923 97.0127962,68.8551108 C95.6484975,68.0340868 84.2687795,66.59622 74.9502365,66.59622 C65.6316935,66.59622 54.8064568,67.6979178 52.8876777,68.8551108 C52.8876777,70.1313923 66.6023888,71.6141582 74.950237,71.6141582 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color fill-white",d:"M59.7884631,63.0000267 L152.135708,63.5798175 C153.123448,63.5860189 153.924171,64.4019833 153.924171,65.3977901 C153.924171,66.3956273 153.123712,67.2095597 152.135708,67.2157627 L59.7884631,67.7955534 C58.8007222,67.8017549 58,66.7255324 58,65.3977901 C58,64.0673406 58.8004581,62.9938237 59.7884631,63.0000267 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2",transform:"translate(105.962085, 65.397790) rotate(70.000000) translate(-105.962085, -65.397790) "}),n.createElement("path",{className:"stroke-color",d:"M96.0000002,31 L92.2294151,32.3351735",stroke:r,strokeLinecap:"square",strokeWidth:"2"})))}},,,,,,,function(e,t,r){"use strict";var n=r(512);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=void 0;var n,o=r(690);var i=((n=o)&&n.__esModule?n:{default:n}).default,a=i.canUseDOM?window.HTMLElement:{};t.canUseDOM=i.canUseDOM;t.default=a},function(e,t,r){var n=r(49);e.exports=function(){return n.Date.now()}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";(function(e){var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var r=-1;return e.some((function(e,n){return e[0]===t&&(r=n,!0)})),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var r=e(this.__entries__,t),n=this.__entries__[r];return n&&n[1]},t.prototype.set=function(t,r){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=r:this.__entries__.push([t,r])},t.prototype.delete=function(t){var r=this.__entries__,n=e(r,t);~n&&r.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var r=0,n=this.__entries__;r<n.length;r++){var o=n[r];e.call(t,o[1],o[0])}},t}()}(),n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var r=!1,n=!1,o=0;function a(){r&&(r=!1,e()),n&&l()}function s(){i(a)}function l(){var e=Date.now();if(r){if(e-o<2)return;n=!0}else r=!0,n=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,r=t.indexOf(e);~r&&t.splice(r,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,r=void 0===t?"":t;a.some((function(e){return!!~r.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),c=function(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var o=n[r];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},u=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=g(0,0,0,0);function h(e){return parseFloat(e)||0}function f(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return t.reduce((function(t,r){return t+h(e["border-"+r+"-width"])}),0)}function p(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return d;var n=u(e).getComputedStyle(e),o=function(e){for(var t={},r=0,n=["top","right","bottom","left"];r<n.length;r++){var o=n[r],i=e["padding-"+o];t[o]=h(i)}return t}(n),i=o.left+o.right,a=o.top+o.bottom,s=h(n.width),l=h(n.height);if("border-box"===n.boxSizing&&(Math.round(s+i)!==t&&(s-=f(n,"left","right")+i),Math.round(l+a)!==r&&(l-=f(n,"top","bottom")+a)),!function(e){return e===u(e).document.documentElement}(e)){var c=Math.round(s+i)-t,p=Math.round(l+a)-r;1!==Math.abs(c)&&(s-=c),1!==Math.abs(p)&&(l-=p)}return g(o.left,o.top,s,l)}var m="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof u(e).SVGGraphicsElement}:function(e){return e instanceof u(e).SVGElement&&"function"==typeof e.getBBox};function b(e){return n?m(e)?function(e){var t=e.getBBox();return g(0,0,t.width,t.height)}(e):p(e):d}function g(e,t,r,n){return{x:e,y:t,width:r,height:n}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=b(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var r,n,o,i,a,s,l,u=(n=(r=t).x,o=r.y,i=r.width,a=r.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),c(l,{x:n,y:o,width:i,height:a,top:o,right:n+i,bottom:a+o,left:n}),l);c(this,{target:e,contentRect:u})},C=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof u(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new y(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new r,E=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=l.getInstance(),n=new C(t,r,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach((function(e){E.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}}));var S=void 0!==o.ResizeObserver?o.ResizeObserver:E;t.a=S}).call(this,r(51))},,,,,,,,,,function(e,t,r){},,,,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(199),a=r.n(i),s=r(3),l=r.n(s),c=r(23),u=r.n(c),d=r(1);function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.a=e=>t=>class extends n.PureComponent{constructor(e){super(e),f(this,"onClick",(e=>{const{onClick:t=l.a}=this.props;this.close(t,e)})),f(this,"onClose",(e=>{const{onClose:t=l.a}=this.props;this.close(t,e)})),f(this,"onCancel",(e=>{const{onCancel:t=l.a}=this.props;this.close(t,e)})),f(this,"onChoose",(e=>{const{onChoose:t=l.a}=this.props;this.close(t,e)})),f(this,"onButtonClick",(()=>{this.setState({isOpen:!0})})),this.state={isOpen:!1}}close(e,t){this.setState({isOpen:!1},(()=>e(t)))}render(){const{isOpen:r}=this.state,n=this.props,{modal:i}=n,s=h(n,["modal"]),l=u()(s,["onCancel","onChoose","onClose","modal"]),{buttonLabel:c="Missing modal.buttonLabel in options",buttonClassName:f="btn btn-primary",modalClassName:p="be-modal-wrapper-content",overlayClassName:m="be-modal-wrapper-overlay"}=i;switch(e){case d.E:l.onCancel=this.onCancel,l.onChoose=this.onChoose;break;case d.I:l.onClose=this.onClose;break;default:throw new Error("Unknown kit type")}return o.a.createElement("div",null,o.a.createElement("button",{className:f,onClick:this.onButtonClick,type:"button"},c),o.a.createElement(a.a,{className:p,contentLabel:e,isOpen:r,overlayClassName:m},o.a.createElement(t,l)))}}},,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(105),a=r(11),s=r(2);var l=e=>{let{className:t="",color:r=s.b,height:o=25,title:i,width:l=45}=e;return n.createElement(a.a,{className:"icon-logo ".concat(t),height:o,title:i,viewBox:"0 0 98 52",width:l},n.createElement("path",{className:"fill-color",d:"M95.34 44.7c1.1 1.53.8 3.66-.75 4.8-1.56 1.13-3.74.84-4.93-.64l-7.8-10.23-7.82 10.23c-1.2 1.48-3.36 1.77-4.9.63-1.55-1.15-1.87-3.28-.75-4.8l9.06-11.86L68.4 21c-1.1-1.54-.8-3.67.75-4.8 1.55-1.14 3.72-.85 4.9.63l7.82 10.23 7.8-10.23c1.2-1.48 3.38-1.77 4.92-.63 1.52 1.13 1.84 3.26.73 4.8L86.3 32.84l9.04 11.85zM53.9 43.22c-5.86 0-10.6-4.65-10.6-10.4 0-5.72 4.74-10.37 10.6-10.37 5.85 0 10.6 4.65 10.6 10.38 0 5.74-4.75 10.4-10.6 10.4zm-31.23 0c-5.85 0-10.6-4.65-10.6-10.4 0-5.72 4.75-10.37 10.6-10.37 5.86 0 10.6 4.65 10.6 10.38 0 5.74-4.74 10.4-10.6 10.4zm31.22-27.7c-6.78 0-12.66 3.73-15.63 9.2-2.97-5.47-8.84-9.2-15.6-9.2-4 0-7.66 1.3-10.6 3.46V4.38C12.02 2.52 10.45 1 8.53 1 6.6 1 5.03 2.5 5 4.4v28.7c.16 9.43 8 17.03 17.67 17.03 6.77 0 12.64-3.73 15.6-9.2 2.98 5.47 8.86 9.2 15.62 9.2 9.74 0 17.66-7.75 17.66-17.32 0-9.55-7.92-17.3-17.68-17.3z",fill:r,fillRule:"evenodd"}))},c=r(7);r(692);t.a=e=>{let{url:t}=e;return o.a.createElement("div",{className:"be-logo","data-testid":"be-Logo"},function(e){return"box"===e?o.a.createElement(l,null):"string"==typeof e?o.a.createElement("img",{alt:"",className:"be-logo-custom",src:e}):o.a.createElement("div",{className:"be-logo-placeholder"},o.a.createElement(i.a,c.a.logo))}(t))}},function(e,t,r){var n=r(564),o=r(283),i=r(282);e.exports=function(e){return function(t,r,a){return a&&"number"!=typeof a&&o(t,r,a)&&(r=a=void 0),t=i(t),void 0===r?(r=t,t=0):r=i(r),a=void 0===a?t<r?1:-1:i(a),n(t,r,a,e)}}},function(e,t){var r=Math.ceil,n=Math.max;e.exports=function(e,t,o,i){for(var a=-1,s=n(r((t-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t){window.Element.prototype.closest=function(e){window.Element.prototype.matches||(window.Element.prototype.matches=window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector);let t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}},function(e,t,r){},,function(e,t,r){"use strict";r.d(t,"a",(function(){return g})),r.d(t,"b",(function(){return y}));var n=r(0),o=r.n(n),i=r(60),a=r(25),s=r(676),l=r(1);var c=e=>{let{delimiter:t}=e;return t===l.nb?o.a.createElement(s.a,{className:"be-breadcrumb-seperator",color:l.M,direction:"right",size:"7px"}):o.a.createElement("span",null,"/")};r(956);var u=e=>{let{name:t="",onClick:r,isLast:n,delimiter:i}=e;const s=r?o.a.createElement(a.a,{onClick:r,type:"button",className:"bdl-Breadcrumb-title"},t):o.a.createElement("div",{className:"bdl-Breadcrumb-title"},t);return o.a.createElement("span",{className:"be-breadcrumb"},s,n?null:o.a.createElement(c,{delimiter:i}))},d=r(132),h=r(133),f=r(75);r(957);var p=e=>{let{crumbs:t,onCrumbClick:r,className:n=""}=e;return o.a.createElement(d.a,{constrainToScrollParent:!0},o.a.createElement(a.a,{className:"be-breadcrumbs-drop-down ".concat(n),type:"button"},"···"),o.a.createElement(h.a,null,t.map((e=>{let{id:t,name:n}=e;return o.a.createElement(f.a,{key:t,onClick:()=>r(t)},n)}))))},m=r(7);r(958);function b(e,t,r,n){if(Array.isArray(e)){const t=n!==l.nb;return o.a.createElement("span",{className:"be-breadcrumb-more"},o.a.createElement(p,{className:t?"be-breadcrumbs-condensed":"",crumbs:e,onCrumbClick:r}),o.a.createElement(c,{delimiter:t?l.ob:l.nb}))}const{id:i,name:a}=e;return o.a.createElement(u,{delimiter:n,isLast:t,name:a,onClick:()=>r(i)})}var g=Object(i.c)((e=>{let{rootId:t,crumbs:r,onCrumbClick:n,delimiter:i,isSmall:a=!1,intl:s}=e;if(!t||0===r.length)return o.a.createElement("span",null);const c=function(e,t){const r=t.findIndex((t=>t.id===e));return-1===r?t:t.slice(r)}(t,r),d=c.find((e=>{let{id:t}=e;return t===l.ib}));d&&(d.name=s.formatMessage(m.a.rootBreadcrumb));const{length:h}=c,f=c[h-1],p=f.id?()=>n(f.id):void 0,g=o.a.createElement(u,{isLast:!0,name:f.name,onClick:p}),v=h>1?b(c[h-2],!1,n,i):null,y=h>3?b(c.slice(1,h-2),!1,n,i):null,C=h>2?b(c[0],!1,n,i):null;return o.a.createElement("div",{className:"be-breadcrumbs"},a?null:C,a?null:y,v,g)})),v=r(105);r(959);var y=e=>{let{item:t,onItemClick:r,rootId:n}=e;const{path_collection:i}=t,{entries:a=[]}=i||{};return o.a.createElement("span",{className:"be-inline-breadcrumbs"},o.a.createElement(v.a,m.a.in)," ",o.a.createElement(g,{crumbs:a,delimiter:l.ob,onCrumbClick:r,rootId:n}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var n=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var r=window.getComputedStyle(e);return t?"visible"!==r.getPropertyValue("overflow"):"none"==r.getPropertyValue("display")}function i(e,t){var r=e.nodeName.toLowerCase();return(n.test(r)&&!e.disabled||"a"===r&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&i(e,!r)}e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertNodeList=l,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var r=document.querySelectorAll(t);l(r,t),t="length"in r?r[0]:r}return s=t||s},t.validateElement=c,t.hide=function(e){c(e)&&(e||s).setAttribute("aria-hidden","true")},t.show=function(e){c(e)&&(e||s).removeAttribute("aria-hidden")},t.documentNotReadyOrSSRTesting=function(){s=null},t.resetForTesting=function(){s=null};var n,o=r(689),i=(n=o)&&n.__esModule?n:{default:n},a=r(513);var s=null;function l(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){return!(!e&&!s)||((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),!1)}},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(558),o=r(363),i=r(1);t.a=Object(n.a)(i.I)(o.a)},function(e,t,r){"use strict";(function(e){function n(t,r){var n,o,i,a=void 0!==(n=void 0!==r?r:"undefined"!=typeof window?window:"undefined"!=typeof self?self:e).document&&n.document.attachEvent;if(!a){var s=(i=n.requestAnimationFrame||n.mozRequestAnimationFrame||n.webkitRequestAnimationFrame||function(e){return n.setTimeout(e,20)},function(e){return i(e)}),l=(o=n.cancelAnimationFrame||n.mozCancelAnimationFrame||n.webkitCancelAnimationFrame||n.clearTimeout,function(e){return o(e)}),c=function(e){var t=e.__resizeTriggers__,r=t.firstElementChild,n=t.lastElementChild,o=r.firstElementChild;n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,o.style.width=r.offsetWidth+1+"px",o.style.height=r.offsetHeight+1+"px",r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight},u=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;c(this),this.__resizeRAF__&&l(this.__resizeRAF__),this.__resizeRAF__=s((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(r){r.call(t,e)})))}))}},d=!1,h="",f="animationstart",p="Webkit Moz O ms".split(" "),m="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),b=n.document.createElement("fakeelement");if(void 0!==b.style.animationName&&(d=!0),!1===d)for(var g=0;g<p.length;g++)if(void 0!==b.style[p[g]+"AnimationName"]){h="-"+p[g].toLowerCase()+"-",f=m[g],d=!0;break}var v="resizeanim",y="@"+h+"keyframes "+v+" { from { opacity: 0; } to { opacity: 0; } } ",C=h+"animation: 1ms "+v+"; "}return{addResizeListener:function(e,r){if(a)e.attachEvent("onresize",r);else{if(!e.__resizeTriggers__){var o=e.ownerDocument,i=n.getComputedStyle(e);i&&"static"==i.position&&(e.style.position="relative"),function(e){if(!e.getElementById("detectElementResize")){var r=(y||"")+".resize-triggers { "+(C||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',n=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=r:o.appendChild(e.createTextNode(r)),n.appendChild(o)}}(o),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=o.createElement("div")).className="resize-triggers";var s=o.createElement("div");s.className="expand-trigger",s.appendChild(o.createElement("div"));var l=o.createElement("div");l.className="contract-trigger",e.__resizeTriggers__.appendChild(s),e.__resizeTriggers__.appendChild(l),e.appendChild(e.__resizeTriggers__),c(e),e.addEventListener("scroll",u,!0),f&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==v&&c(e)},e.__resizeTriggers__.addEventListener(f,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(a)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",u,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}r.d(t,"a",(function(){return n}))}).call(this,r(51))},,,,,,,function(e,t,r){"use strict";var n=r(623);function o(){}e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return r.checkPropTypes=o,r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(0);let o;!function(e){e.DOWN="down",e.LEFT="left",e.RIGHT="right",e.UP="up"}(o||(o={}));const i={[o.DOWN]:135,[o.LEFT]:225,[o.RIGHT]:45,[o.UP]:315};t.a=e=>{let{className:t="",color:r="#000",direction:a=o.UP,size:s="9px",thickness:l="2px"}=e;return n.createElement("span",{className:"icon-chevron icon-chevron-".concat(a," ").concat(t),style:{borderColor:r,borderStyle:"solid solid none none",borderWidth:l,display:"inline-block",height:s,transform:"rotate(".concat(i[a],"deg)"),width:s}})}},function(e,t,r){"use strict";var n=r(494);r.d(t,"a",(function(){return n.a}))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(60),a=r(172),s=r(2),l=r(10);function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}var u=e=>n.createElement(l.a,c({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#2687FC",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:s.q,d:"M26 11a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3h20zm-6.999 8c-1.117 0-1.933.543-2.439 1.401a6.024 6.024 0 01.414 1.45c.066.42.003.809-.165 1.138a1.7 1.7 0 00.193.011h4.002l.14-.006c.63-.054.924-.476.844-.988a5.028 5.028 0 00-.258-.997c-.453-1.2-1.367-2.009-2.73-2.009zM13 19c-1.364 0-2.278.81-2.731 2.01a4.774 4.774 0 00-.185.62c-.028.123-.053.25-.073.378-.084.54.258.992.992.992h4.002l.14-.006c.63-.054.924-.476.843-.988a5.028 5.028 0 00-.257-.997C15.277 19.81 14.363 19 13 19zm0-4a1.5 1.5 0 100 3 1.5 1.5 0 000-3zm6.001 0a1.5 1.5 0 100 3 1.5 1.5 0 000-3z"})));function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var h=e=>n.createElement(l.a,d({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"#737E88",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:"#B8BEC3",d:"M26 11a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3h20zm-10 3c-2.77 0-5 2.23-5 5s2.23 5 5 5 5-2.23 5-5-2.23-5-5-5zm-3.923 4.077l2.385 2.385V21c0 .538.461 1 1 1v1C13.538 22.692 12 21.077 12 19c0-.308.077-.615.077-.923zm5.461-2.77C19 15.924 20 17.308 20 19c0 1.077-.385 2-1.077 2.692C18.77 21.308 18.385 21 18 21h-.538v-1.538c0-.231-.154-.462-.462-.462h-3v-1h1c.308 0 .538-.23.538-.538v-.924h1c.539 0 1-.461 1-1v-.23z"})));function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}var p=e=>n.createElement(l.a,f({width:32,height:32,viewBox:"0 0 32 32"},e),n.createElement("g",{fill:"none",fillRule:"evenodd"},n.createElement("path",{fill:"gold",d:"M6 6h6c2 0 1.5 2 4 2h10a3 3 0 013 3v13a3 3 0 01-3 3H6a3 3 0 01-3-3V9a3 3 0 013-3z"}),n.createElement("path",{fill:s.D,fillOpacity:.5,d:"M6 11h20a3 3 0 013 3v10a3 3 0 01-3 3H6a3 3 0 01-3-3V14a3 3 0 013-3z"})));var m=e=>{let{dimension:t=32,isCollab:r=!1,isExternal:o=!1,title:i}=e;return o?n.createElement(h,{height:t,title:i,width:t}):r?n.createElement(u,{height:t,title:i,width:t}):n.createElement(p,{height:t,title:i,width:t})},b=r(11);var g=e=>{let{className:t="",height:r=32,title:o,width:i=32}=e;return n.createElement(b.a,{className:"icon-bookmark ".concat(t),height:r,title:o,viewBox:"0 0 32 32",width:i},n.createElement("path",{clipRule:"evenodd",d:"M24.5 27.5h-17c-.6 0-1-.4-1-1v-21c0-.6.4-1 1-1h17c.6 0 1 .4 1 1v21c0 .6-.4 1-1 1z",fill:"#75818C",fillRule:"evenodd"}),n.createElement("path",{clipRule:"evenodd",d:"M24.5 9.5V26c0 .3-.2.5-.5.5H8c-.3 0-.5-.2-.5-.5V9.5h17zM7.5 6.5h1v1h-1zM9.5 6.5h1v1h-1zM11.5 6.5h1v1h-1z",fill:"#FFF",fillRule:"evenodd"}),n.createElement("path",{d:"M16.4 21.9c-1.1 1.1-3.1 1.1-4.2 0-.6-.6-.9-1.3-.9-2.1s.3-1.6.9-2.1l1.4-1.4-.7-.7-1.4 1.4c-.8.8-1.2 1.8-1.2 2.8 0 1.1.4 2.1 1.2 2.8.8.8 1.8 1.2 2.8 1.2 1.1 0 2.1-.4 2.8-1.2l1.4-1.4-.7-.7-1.4 1.4zM20.6 13.4c-1.6-1.6-4.1-1.6-5.7 0l-1.4 1.4.7.7 1.4-1.4c.6-.6 1.4-.9 2.1-.9.8 0 1.5.3 2.1.9 1.2 1.2 1.2 3.1 0 4.2l-1.4 1.4.7.7 1.4-1.4c1.7-1.5 1.7-4 .1-5.6z",fill:"#75818C"}),n.createElement("path",{d:"M17.06 16.232l.708.707-2.83 2.828-.706-.708z",fill:"#75818C"}))},v=r(1),y=r(7);r(974);t.a=Object(i.c)((e=>{let{intl:t,rowData:r,dimension:n}=e;const{type:i,extension:s,has_collaborations:l,is_externally_owned:c}=r;let u;switch(i){case v.jg:return u=t.formatMessage(y.a.file),o.a.createElement(a.a,{dimension:n,extension:s,title:u});case v.kg:return u=l?t.formatMessage(y.a.collaboratedFolder):c?t.formatMessage(y.a.externalFolder):t.formatMessage(y.a.personalFolder),o.a.createElement(m,{dimension:n,isCollab:l,isExternal:c,title:u});case v.lg:return u=t.formatMessage(y.a.bookmark),o.a.createElement(g,{height:n,width:n,title:u});default:return u=t.formatMessage(y.a.file),o.a.createElement(a.a,{dimension:n,title:u})}}))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(25),a=r(1);r(970);var s=e=>{let{item:t,onClick:r,onFocus:n,canPreview:s,isTouch:l}=e;const{name:c,type:u}=t,d=n?()=>n(t):null;return u===a.kg||!l&&(u===a.lg||s)?o.a.createElement(i.a,{className:"be-item-label","data-testid":"be-item-name",onClick:()=>r(t),onFocus:d,type:"button"},c):o.a.createElement("span",{className:"be-item-label"},c)},l=r(571),c=r(105),u=r(345),d=r(311),h=r(7);r(971);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}var p=e=>{let{item:t,view:r}=e;const{modified_at:n="",interacted_at:i="",modified_by:s}=t,l=s&&s.name||"",p=r===a.yg,m=p&&i||n,{size:b}=t,g=o.a.createElement(d.a,{date:m,omitCommas:!0});let v=h.a.modifiedDateBy;return p?v=h.a.interactedDate:l||(v=h.a.modifiedDate),o.a.createElement("span",null,o.a.createElement("span",{className:"bdl-ItemSubDetails-modifiedBy"},o.a.createElement(c.a,f({},v,{values:{date:g,name:l}}))),o.a.createElement("span",{className:"bdl-ItemSubDetails-size"},Object(u.a)(b)))};r(972);var m=e=>{let{view:t,rootId:r,item:n,onItemClick:i}=e;return o.a.createElement("div",{className:"be-item-details"},t===a.Ag||t===a.zg?o.a.createElement(l.b,{item:n,onItemClick:i,rootId:r}):o.a.createElement(p,{item:n,view:t}))};r(973);t.a=e=>{let{canPreview:t=!1,isTouch:r=!1,item:n,onItemClick:i,onItemSelect:l,showDetails:c=!0,rootId:u,view:d}=e;return o.a.createElement("div",{className:"be-item-name"},o.a.createElement(s,{canPreview:t,isTouch:r,item:n,onClick:i,onFocus:l}),d===a.zg||c?o.a.createElement(m,{item:n,onItemClick:i,rootId:u,view:d}):null)}},,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(47),a=r(264),s=r(558),l=(r(281),r(4)),c=r.n(l),u=r(108),d=r.n(u),h=r(9),f=r.n(h),p=r(12),m=r.n(p),b=r(3),g=r.n(b),v=r(947),y=r(942),C=r(946),w=r(948),E=r(134),S=r(326),k=r(943),O=r(57),x=r(64),_=r(945),P=r(951),T=r(128),I=r(340),A=r(937),L=r(938),M=r(939),R=r(952),D=r(1);var j=function(e,t,r,n){const{type:o,extension:i="",selected:a}=n,s=!r||!!a,l=!!o&&e.indexOf(o)>-1,c=!(e.indexOf(D.jg)>-1)||!t.length||t.indexOf(i)>-1;return s&&l&&c},F=r(48),N=r(210),U=r(263);function z(){return z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}r(574),r(1008);var H=e=>{let{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,selectableType:s,canSetShareAccess:l,hasHitSelectionLimit:u,isSingleSelect:d,extensionsWhitelist:h,onItemSelect:p,onItemClick:m,onShareAccessChange:b,onFocusChange:g,currentCollection:v,tableRef:y}=e;const C=Object(M.a)(),w=Object(L.a)(r,t,m),E=((e,t,r,n,i)=>a=>{let{rowData:s}=a;const{name:l="",selected:c=!1}=s,u=i?U.a:N.a;return j(t,r,n,s)?o.a.createElement(u,z({hideLabel:!0,label:l,name:l,onChange:()=>e(s),value:l},{[i?"isSelected":"isChecked"]:c})):o.a.createElement("span",null)})(p,s,h,u,d),S=((e,t,r,n,i)=>a=>{let{rowData:s}=a;const l=f()(s,"permissions.can_set_share_access",!1);if(!(t&&l&&j(r,n,i,s)&&s.selected))return o.a.createElement("span",null);const{allowed_shared_link_access_levels:c}=s;return c?o.a.createElement(R.a,{canSetShareAccess:t,className:"bcp-shared-access-select",item:s,onChange:e}):o.a.createElement(F.c,{className:"bcp-share-access-loading"})})(b,l,s,h,u),{id:k,items:x=[]}=v,_=x.length,P=e=>{let{index:r}=e;if(-1===r)return"";const{selected:n,type:o}=x[r],i=j(s,h,u,x[r]);return c()("bcp-item-row bcp-item-row-".concat(r),{"bcp-item-row-selected":n&&t!==D.Ag,"bcp-item-row-unselectable":o!==D.kg&&!i})},H=e=>{let{event:t,rowData:r,index:n}=e;j(s,h,u,r)&&!Object(O.b)(t.target)?p(r):g(n)};return o.a.createElement(A.a,{columnCount:1,rowCount:_,className:"bcp-item-grid",id:k,items:x,onSelect:p,onOpen:m,scrollToRow:a,onScrollToChange:e=>{let{scrollToRow:t}=e;return Object(O.a)(i,".bcp-item-row-".concat(t))}},(e=>{let{onSectionRendered:t,scrollToRow:r,focusOnRender:a}=e;return o.a.createElement(I.a,null,(e=>{let{width:s,height:l}=e;return o.a.createElement(T.b,{width:s,height:l,disableHeader:!0,headerHeight:0,rowHeight:n?70:50,rowCount:_,rowGetter:e=>{let{index:t}=e;return x[t]},ref:y,rowClassName:P,onRowClick:H,scrollToIndex:r,onRowsRendered:e=>{let{startIndex:n,stopIndex:o}=e;t({rowStartIndex:n,rowStopIndex:o}),a&&Object(O.a)(i,".bcp-item-row-".concat(r))}},o.a.createElement(T.a,{dataKey:D.bd,cellRenderer:C,width:n?30:50,flexShrink:0}),o.a.createElement(T.a,{dataKey:D.nd,cellRenderer:w,width:300,flexGrow:1}),n?null:o.a.createElement(T.a,{dataKey:D.Ed,cellRenderer:S,width:260,flexShrink:0}),o.a.createElement(T.a,{dataKey:D.bd,cellRenderer:E,width:n?20:30,flexShrink:0}))}))}))};r(1009);var B=e=>{let{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,hasHitSelectionLimit:s,selectableType:l,currentCollection:c,tableRef:u,canSetShareAccess:d,isSingleSelect:h,onItemClick:f,onItemSelect:p,onShareAccessChange:m,onFocusChange:b,extensionsWhitelist:g}=e;return o.a.createElement("div",{className:"bcp-content"},t===D.tg||t===D.Ag?null:o.a.createElement(P.a,{percent:c.percentLoaded}),function(e,t){const{items:r=[]}=t;return e===D.tg||0===r.length}(t,c)?o.a.createElement(_.a,{view:t,isLoading:100!==c.percentLoaded}):o.a.createElement(H,{view:t,rootId:r,isSmall:n,rootElement:i,focusedRow:a,currentCollection:c,tableRef:u,canSetShareAccess:d,hasHitSelectionLimit:s,isSingleSelect:h,selectableType:l,onItemSelect:p,onItemClick:f,onFocusChange:b,onShareAccessChange:m,extensionsWhitelist:g}))},V=r(105),W=r(60),G=r(24),q=r(677),K=r(206),X=r(94),Q=r(7),Z=r(95),$=r(104);r(1010);function Y(){return Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}var J=Object(W.c)((e=>{let{currentCollection:t,selectedCount:r,selectedItems:n,onSelectedClick:i,hasHitSelectionLimit:a,intl:s,isSingleSelect:l,onCancel:c,onChoose:u,chooseButtonLabel:d,cancelButtonLabel:h,children:f,renderCustomActionButtons:p,showSelectedButton:m}=e;const b=s.formatMessage(Q.a.cancel),g=s.formatMessage(Q.a.choose),v=!r;return o.a.createElement("footer",{className:"bcp-footer"},o.a.createElement("div",{className:"bcp-footer-left"},m&&!l&&o.a.createElement(G.b,{className:"bcp-selected",onClick:i,type:"button"},o.a.createElement(V.a,Y({className:"bcp-selected-count"},Q.a.selected,{values:{count:r}})),a&&o.a.createElement("span",{className:"bcp-selected-max"},"(",o.a.createElement(V.a,Q.a.max),")"))),o.a.createElement("div",{className:"bcp-footer-right"},f,p?p({currentFolderId:t.id,currentFolderName:t.name,onCancel:c,onChoose:u,selectedCount:r,selectedItems:n}):o.a.createElement(q.a,{className:"bcp-footer-actions"},o.a.createElement($.a,{text:h||b},o.a.createElement(G.b,{"aria-label":b,onClick:c,type:"button"},o.a.createElement(X.a,{height:16,width:16}))),o.a.createElement($.a,{isDisabled:v,text:d||g},o.a.createElement(Z.a,{"aria-label":g,disabled:v,isDisabled:v,onClick:u,type:"button"},o.a.createElement(K.a,{color:"#fff",height:16,width:16}))))))})),ee=r(19);r(337),r(253),r(552),r(1011);function te(){return te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},te.apply(this,arguments)}function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?re(Object(r),!0).forEach((function(t){oe(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ie="".concat(D.jg,",").concat(D.lg);class ae extends n.Component{constructor(e){var t;super(e),t=this,oe(this,"firstLoad",!0),oe(this,"getSelectedItems",(()=>{const{selected:e}=this.state;return Object.keys(e).map((t=>{const r=ne({},e[t]);return delete r.selected,r}))})),oe(this,"choose",(()=>{const{onChoose:e}=this.props;e(this.getSelectedItems())})),oe(this,"deleteSelectedKeys",(()=>{const{selected:e}=this.state;Object.keys(e).forEach((t=>delete e[t].selected))})),oe(this,"cancel",(()=>{const{onCancel:e}=this.props;this.deleteSelectedKeys(),this.setState({selected:{}},(()=>e()))})),oe(this,"refreshCollection",(()=>{const{currentCollection:{id:e},view:t,searchQuery:r}=this.state;if(t===D.ug&&e)this.fetchFolder(e,!1);else if(t===D.yg)this.showRecents(!1);else if(t===D.zg&&r)this.search(r);else{if(t!==D.Ag)throw new Error("Cannot refresh incompatible view!");this.showSelected()}})),oe(this,"errorCallback",((e,t)=>{this.setState({view:D.tg}),console.error(e,t)})),oe(this,"onItemClick",(e=>{if("string"==typeof e)return void this.fetchFolder(e);const{id:t,type:r}=e;r===D.kg&&this.fetchFolder(t)})),oe(this,"fetchFolder",(function(e){let r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const{rootFolderId:n}=t.props,{currentCollection:{id:o},currentOffset:i,currentPageSize:a,searchQuery:s="",sortBy:l,sortDirection:c}=t.state,u="string"==typeof e?e:n,d=o&&o!==u,h=!!s.trim().length,f=d||h?0:i;t.firstLoad||t.rootElement.focus(),t.setState({searchQuery:"",view:D.ug,currentCollection:t.currentUnloadedCollection(),currentOffset:f}),t.api.getFolderAPI().getFolder(u,a,f,l,c,(e=>{t.fetchFolderSuccessCallback(e,r)}),t.errorCallback,{forceFetch:!0})})),oe(this,"showSelected",(()=>{const{selected:e,sortBy:t,sortDirection:r}=this.state;this.setState({searchQuery:"",view:D.Ag,currentCollection:{sortBy:t,sortDirection:r,percentLoaded:100,items:Object.keys(e).map((e=>this.api.getCache().get(e)))}},this.finishNavigation)})),oe(this,"searchSuccessCallback",(e=>{const{currentCollection:t}=this.state;this.setState({currentCollection:te(t,e)})})),oe(this,"debouncedSearch",d()(((e,t)=>{const{currentOffset:r,currentPageSize:n}=this.state;this.api.getSearchAPI().search(e,t,n,r,this.searchSuccessCallback,this.errorCallback,{forceFetch:!0})}),D.jb)),oe(this,"search",(e=>{const{rootFolderId:t}=this.props,{currentCollection:{id:r},currentOffset:n,searchQuery:o}=this.state,i="string"==typeof r?r:t,a=e.trim();if(!e)return this.debouncedSearch.cancel(),void this.setState({currentOffset:0},(()=>{this.fetchFolder(i,!1)}));a?(this.setState({searchQuery:e,view:D.zg,currentCollection:this.currentUnloadedCollection(),currentOffset:a===o?n:0}),this.debouncedSearch(i,e)):this.setState({searchQuery:e})})),oe(this,"upload",(()=>{const{currentCollection:{id:e,permissions:t}}=this.state,{canUpload:r}=this.props;if(!e||!t)return;const{can_upload:n}=t;r&&n&&this.setState({isUploadModalOpen:!0})})),oe(this,"uploadSuccessHandler",(()=>{const{currentCollection:{id:e}}=this.state;this.fetchFolder(e,!1)})),oe(this,"createFolder",(()=>{this.createFolderCallback()})),oe(this,"createFolderCallback",(e=>{const{isCreateFolderModalOpen:t,currentCollection:r}=this.state,{canCreateNewFolder:n}=this.props;if(!n)return;const{id:o,permissions:i}=r;if(!o||!i)return;const{can_upload:a}=i;a&&(t&&e?e.trim()?e.length>255?this.setState({errorCode:D.ic,isLoading:!1}):(this.setState({isLoading:!0}),this.api.getFolderAPI().create(o,e.trim(),(()=>{this.fetchFolder(o)}),(e=>{let{response:{status:t}}=e;this.setState({errorCode:409===t?D.hc:D.gc,isLoading:!1})}))):this.setState({errorCode:D.gc,isLoading:!1}):this.setState({isCreateFolderModalOpen:!0,errorCode:""}))})),oe(this,"select",(function(e){let{forceSharedLink:r=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{canSetShareAccess:n,type:o,maxSelectable:i}=t.props,{view:a,selected:s,currentCollection:{items:l=[]}}=t.state,{id:c,type:u}=e;if(!c||!u||-1===o.indexOf(u))return;const d=Object.keys(s),h=d.length,f=h===i,p=1===i,m=t.api.getAPI(u).getCacheKey(c),b=s[m],g=t.api.getCache().get(m),v=-1!==d.indexOf(m);if(b&&b===g)delete b.selected,delete s[m];else{if(f&&!p&&!v)return;if(h>0&&p){const e=d[0];delete s[e].selected,delete s[e]}e.selected=!0,s[m]=e,n&&r&&t.fetchSharedLinkInfo(e)}const y=l.findIndex((t=>t.id===e.id));t.setState({selected:s,focusedRow:y},(()=>{a===D.Ag&&t.showSelected()}))})),oe(this,"fetchSharedLinkInfo",(e=>{const{id:t,type:r}=e;switch(r){case D.kg:this.api.getFolderAPI().getFolderFields(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;case D.jg:this.api.getFileAPI().getFile(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;case D.lg:this.api.getWebLinkAPI().getWeblink(t,this.handleSharedLinkSuccess,g.a,{fields:ee.d});break;default:throw new Error("Unknown Type")}})),oe(this,"handleSharedLinkSuccess",(async e=>{const{selected:t}=this.state,{id:r,type:n}=e,o=this.api.getAPI(n).getCacheKey(r);let i=e;!e[D.Ed]&&f()(e,D.td,!1)&&await this.api.getAPI(e.type).share(e,void 0,(e=>{i=e})),this.updateItemInCollection(i),i.selected&&i!==t[o]&&this.select(i,{forceSharedLink:!1})})),oe(this,"changeShareAccess",((e,t)=>{const{canSetShareAccess:r}=this.props;if(!t||!r)return;const{permissions:n,type:o}=t;if(!n||!o)return;const{can_set_share_access:i}=n;i&&this.api.getAPI(o).share(t,e,(e=>{this.updateItemInCollection(e),t.selected&&this.select(e,{forceSharedLink:!1})}))})),oe(this,"updateItemInCollection",(e=>{const{currentCollection:t}=this.state,{items:r=[]}=t,n={currentCollection:ne({},t,{items:r.map((t=>t.id===e.id?e:t))})};this.setState(n)})),oe(this,"sort",((e,t)=>{const{currentCollection:{id:r}}=this.state;r&&this.setState({sortBy:e,sortDirection:t},this.refreshCollection)})),oe(this,"tableRef",(e=>{this.table=e})),oe(this,"closeModals",(()=>{const{focusedRow:e}=this.state;this.setState({isLoading:!1,isCreateFolderModalOpen:!1,isUploadModalOpen:!1});const{selected:t,currentCollection:{items:r=[]}}=this.state;t&&r.length>0&&Object(O.a)(this.rootElement,".bcp-item-row-".concat(e))})),oe(this,"onKeyDown",(e=>{if(Object(O.c)(e.target))return;const{rootFolderId:t}=this.props,r=e.key.toLowerCase();switch(r){case"/":Object(O.a)(this.rootElement,'.be-search input[type="search"]',!1),e.preventDefault();break;case"arrowdown":Object(O.a)(this.rootElement,".bcp-item-row",!1),this.setState({focusedRow:0}),e.preventDefault();break;case"g":break;case"b":this.globalModifier&&(Object(O.a)(this.rootElement,".be-breadcrumb button",!1),e.preventDefault());break;case"f":this.globalModifier&&(this.fetchFolder(t),e.preventDefault());break;case"c":this.globalModifier&&(this.choose(),e.preventDefault());break;case"x":this.globalModifier&&(this.cancel(),e.preventDefault());break;case"s":this.globalModifier&&(this.showSelected(),e.preventDefault());break;case"u":this.globalModifier&&(this.upload(),e.preventDefault());break;case"r":this.globalModifier&&(this.showRecents(),e.preventDefault());break;case"n":this.globalModifier&&(this.createFolder(),e.preventDefault());break;default:return void(this.globalModifier=!1)}this.globalModifier="g"===r})),oe(this,"onFocusChange",(e=>{this.setState({focusedRow:e})})),oe(this,"paginate",(e=>{this.setState({currentOffset:e},this.refreshCollection)}));const{apiHost:r,clientName:n,initialPage:o,initialPageSize:i,language:a,requestInterceptor:s,responseInterceptor:l,rootFolderId:c,sharedLink:u,sharedLinkPassword:h,sortBy:p,sortDirection:b,token:v,uploadHost:y}=e;this.api=new x.a({apiHost:r,clientName:n,id:"".concat(D.ig).concat(c),language:a,requestInterceptor:s,responseInterceptor:l,sharedLink:u,sharedLinkPassword:h,token:v,uploadHost:y}),this.id=m()("bcp_"),this.state={sortBy:p,sortDirection:b,rootName:"",currentCollection:{},currentOffset:i*(o-1),currentPageSize:i,selected:{},searchQuery:"",view:D.ug,isCreateFolderModalOpen:!1,isUploadModalOpen:!1,focusedRow:0,isLoading:!1,errorCode:""}}clearCache(){this.api.destroy(!0)}componentWillUnmount(){this.clearCache()}componentDidMount(){const{defaultView:e,currentFolderId:t}=this.props;this.rootElement=document.getElementById(this.id),this.appElement=this.rootElement.firstElementChild,e===D.mb?this.showRecents():this.fetchFolder(t)}componentDidUpdate(e,t){let{currentFolderId:r}=e;const{currentFolderId:n}=this.props,{currentCollection:{id:o}}=t;r!==n&&"string"==typeof n&&o!==n&&this.fetchFolder(n)}currentUnloadedCollection(){const{currentCollection:e}=this.state;return te(e,{percentLoaded:0})}finishNavigation(){const{autoFocus:e}=this.props,{currentCollection:{percentLoaded:t}}=this.state;!this.firstLoad||e?(100!==t||Object(O.b)(document.activeElement)||(Object(O.a)(this.rootElement,".bcp-item-row"),this.setState({focusedRow:0})),this.firstLoad=!1):this.firstLoad=!1}fetchFolderSuccessCallback(e,t){const{clearSelectedItemsOnNavigation:r,rootFolderId:n}=this.props,{id:o,name:i}=e,a={currentCollection:e,rootName:o===n?i:""},s=r?ne({},a,{selected:{}}):a;this.closeModals(),r&&this.deleteSelectedKeys(),t?this.setState(s,this.finishNavigation):this.setState(s)}recentsSuccessCallback(e,t){const r={currentCollection:e};t?this.setState(r,this.finishNavigation):this.setState(r)}showRecents(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const{rootFolderId:t}=this.props;this.setState({searchQuery:"",view:D.yg,currentCollection:this.currentUnloadedCollection(),currentOffset:0}),this.api.getRecentsAPI().recents(t,(t=>{this.recentsSuccessCallback(t,e)}),this.errorCallback,{forceFetch:!0})}render(){const{language:e,messages:t,rootFolderId:r,logoUrl:n,canUpload:i,canSetShareAccess:a,canCreateNewFolder:s,contentUploaderProps:l,extensions:u,maxSelectable:d,type:h,token:f,sharedLink:p,sharedLinkPassword:m,apiHost:b,uploadHost:g,isHeaderLogoVisible:S,isPaginationVisible:O,isSmall:x,className:_,measureRef:P,chooseButtonLabel:T,cancelButtonLabel:I,requestInterceptor:A,responseInterceptor:L,renderCustomActionButtons:M,showSelectedButton:R}=this.props,{view:D,rootName:j,selected:F,currentCollection:N,currentPageSize:U,searchQuery:z,isCreateFolderModalOpen:H,isUploadModalOpen:V,isLoading:W,errorCode:G,focusedRow:q}=this.state,{id:K,offset:X,permissions:Q,totalCount:Z}=N,{can_upload:$}=Q||{},Y=Object.keys(F).length,ee=1===d,te=Y===d&&!ee,re=i&&!!$,ne=s&&!!$,oe=c()("be bcp",_);return o.a.createElement(E.a,{language:e,messages:t},o.a.createElement("div",{id:this.id,className:oe,ref:P,"data-testid":"content-picker"},o.a.createElement("div",{className:"be-app-element",onKeyDown:this.onKeyDown,tabIndex:0},o.a.createElement(v.a,{view:D,isHeaderLogoVisible:S,isSmall:x,searchQuery:z,logoUrl:n,onSearch:this.search}),o.a.createElement(y.a,{view:D,rootId:r,isSmall:x,rootName:j,currentCollection:N,canUpload:re,canCreateNewFolder:ne,onUpload:this.upload,onCreate:this.createFolder,onItemClick:this.fetchFolder,onSortChange:this.sort}),o.a.createElement(B,{view:D,isSmall:x,rootId:r,rootElement:this.rootElement,focusedRow:q,selectableType:h,canSetShareAccess:a,extensionsWhitelist:u,hasHitSelectionLimit:te,currentCollection:N,isSingleSelect:ee,tableRef:this.tableRef,onItemSelect:this.select,onItemClick:this.onItemClick,onFocusChange:this.onFocusChange,onShareAccessChange:this.changeShareAccess}),o.a.createElement(J,{currentCollection:N,selectedCount:Y,selectedItems:this.getSelectedItems(),showSelectedButton:R,hasHitSelectionLimit:te,isSingleSelect:ee,onSelectedClick:this.showSelected,onChoose:this.choose,onCancel:this.cancel,chooseButtonLabel:T,cancelButtonLabel:I,renderCustomActionButtons:M},O?o.a.createElement(k.a,{offset:X,onOffsetChange:this.paginate,pageSize:U,totalCount:Z}):null)),re&&this.appElement?o.a.createElement(C.a,{isOpen:V,currentFolderId:K,token:f,sharedLink:p,sharedLinkPassword:m,apiHost:b,uploadHost:g,onClose:this.uploadSuccessHandler,parentElement:this.rootElement,appElement:this.appElement,contentUploaderProps:l,requestInterceptor:A,responseInterceptor:L}):null,ne&&this.appElement?o.a.createElement(w.a,{isOpen:H,onCreate:this.createFolderCallback,onCancel:this.closeModals,isLoading:W,errorCode:G,parentElement:this.rootElement,appElement:this.appElement}):null))}}oe(ae,"defaultProps",{type:ie,rootFolderId:D.ib,onChoose:g.a,onCancel:g.a,initialPage:D.db,initialPageSize:D.eb,sortBy:D.nd,sortDirection:D.Lf,extensions:[],maxSelectable:1/0,canUpload:!0,canSetShareAccess:!0,canCreateNewFolder:!0,autoFocus:!1,className:"",apiHost:D.U,uploadHost:D.X,clientName:D.E,defaultView:D.kb,contentUploaderProps:{},showSelectedButton:!0,clearSelectedItemsOnNavigation:!1,isHeaderLogoVisible:!0,isPaginationVisible:!0});var se=Object(S.a)(ae),le=Object(s.a)(D.E)(se);function ce(){return ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ce.apply(this,arguments)}function ue(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function de(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class he extends a.a{constructor(){super(...arguments),de(this,"onChoose",(e=>{this.emit("choose",e)})),de(this,"onCancel",(()=>{this.emit("cancel")}))}getType(){const{type:e}=this.options||{};return e||"".concat(D.kg,",").concat(D.jg,",").concat(D.lg)}getClientName(){return D.E}render(){const e=this.options,{modal:t}=e,r=ue(e,["modal"]),n=t?le:se;Object(i.render)(o.a.createElement(n,ce({clientName:this.getClientName(),componentRef:this.setComponent,language:this.language,messages:this.messages,modal:t,onCancel:this.onCancel,onChoose:this.onChoose,rootFolderId:this.id,token:this.token,type:this.getType()},r)),this.container)}}t.a=he},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=r(0),a=p(i),s=p(r(47)),l=p(r(14)),c=p(r(686)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(573)),d=r(513),h=p(d),f=r(344);function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var b=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",v=void 0!==s.default.createPortal,y=function(){return v?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function C(e){return e()}var w=function(e){function t(){var e,r,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return r=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.removePortal=function(){!v&&s.default.unmountComponentAtNode(o.node),C(o.props.parentSelector).removeChild(o.node)},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var r=y()(o,a.default.createElement(c.default,n({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(r)},m(o,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(v||(this.node=document.createElement("div")),this.node.className=this.props.portalClassName,C(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:C(e.parentSelector),nextParent:C(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,r){if(d.canUseDOM){var n=this.props,o=n.isOpen,i=n.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=r.prevParent,s=r.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),r=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);r?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,r-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&v?(!this.node&&v&&(this.node=document.createElement("div")),y()(a.default.createElement(c.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(i.Component);w.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.instanceOf(h.default),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func},w.defaultProps={isOpen:!1,portalClassName:b,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,parentSelector:function(){return document.body}},w.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,f.polyfill)(w),t.default=w},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),s=m(a),l=m(r(14)),c=p(r(687)),u=m(r(688)),d=p(r(573)),h=p(r(691)),f=m(r(513));function p(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function m(e){return e&&e.__esModule?e:{default:e}}var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},g=0,v=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.setOverlayRef=function(e){r.overlay=e,r.props.overlayRef&&r.props.overlayRef(e)},r.setContentRef=function(e){r.content=e,r.props.contentRef&&r.props.contentRef(e)},r.afterClose=function(){var e=r.props,t=e.appElement,n=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName;i&&h.remove(document.body,i),o&&h.remove(document.getElementsByTagName("html")[0],o),n&&g>0&&0===(g-=1)&&d.show(t),r.props.shouldFocusAfterRender&&(r.props.shouldReturnFocusAfterClose?(c.returnFocus(),c.teardownScopedFocus()):c.popWithoutFocus()),r.props.onAfterClose&&r.props.onAfterClose()},r.open=function(){r.beforeOpen(),r.state.afterOpen&&r.state.beforeClose?(clearTimeout(r.closeTimer),r.setState({beforeClose:!1})):(r.props.shouldFocusAfterRender&&(c.setupScopedFocus(r.node),c.markForFocusLater()),r.setState({isOpen:!0},(function(){r.setState({afterOpen:!0}),r.props.isOpen&&r.props.onAfterOpen&&r.props.onAfterOpen()})))},r.close=function(){r.props.closeTimeoutMS>0?r.closeWithTimeout():r.closeWithoutTimeout()},r.focusContent=function(){return r.content&&!r.contentHasFocus()&&r.content.focus()},r.closeWithTimeout=function(){var e=Date.now()+r.props.closeTimeoutMS;r.setState({beforeClose:!0,closesAt:e},(function(){r.closeTimer=setTimeout(r.closeWithoutTimeout,r.state.closesAt-Date.now())}))},r.closeWithoutTimeout=function(){r.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},r.afterClose)},r.handleKeyDown=function(e){9===e.keyCode&&(0,u.default)(r.content,e),r.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),r.requestClose(e))},r.handleOverlayOnClick=function(e){null===r.shouldClose&&(r.shouldClose=!0),r.shouldClose&&r.props.shouldCloseOnOverlayClick&&(r.ownerHandlesClose()?r.requestClose(e):r.focusContent()),r.shouldClose=null},r.handleContentOnMouseUp=function(){r.shouldClose=!1},r.handleOverlayOnMouseDown=function(e){r.props.shouldCloseOnOverlayClick||e.target!=r.overlay||e.preventDefault()},r.handleContentOnClick=function(){r.shouldClose=!1},r.handleContentOnMouseDown=function(){r.shouldClose=!1},r.requestClose=function(e){return r.ownerHandlesClose()&&r.props.onRequestClose(e)},r.ownerHandlesClose=function(){return r.props.onRequestClose},r.shouldBeClosed=function(){return!r.state.isOpen&&!r.state.beforeClose},r.contentHasFocus=function(){return document.activeElement===r.content||r.content.contains(document.activeElement)},r.buildClassName=function(e,t){var n="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},i=n.base;return r.state.afterOpen&&(i=i+" "+n.afterOpen),r.state.beforeClose&&(i=i+" "+n.beforeClose),"string"==typeof t&&t?i+" "+t:i},r.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(r,n){return r[e+"-"+n]=t[n],r}),{})},r.state={afterOpen:!1,beforeClose:!1},r.shouldClose=null,r.moveFromContentToOverlay=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,r=e.ariaHideApp,n=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&h.add(document.body,o),n&&h.add(document.getElementsByTagName("html")[0],n),r&&(g+=1,d.hide(t))}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.overlayClassName,o=e.defaultStyles,i=t?{}:o.content,a=r?{}:o.overlay;return this.shouldBeClosed()?null:s.default.createElement("div",{ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},a,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},s.default.createElement("div",n({ref:this.setContentRef,style:n({},i,this.props.style.content),className:this.buildClassName("content",t),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",this.props.aria||{}),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),this.props.children))}}]),t}(a.Component);v.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},v.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.instanceOf(f.default),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,testId:l.default.string},t.default=v,e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.handleBlur=c,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=null;try{return void(0!==a.length&&(e=a.pop()).focus())}catch(t){console.warn(["You tried to return focus to",e,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",u))};var n,o=r(572),i=(n=o)&&n.__esModule?n:{default:n};var a=[],s=null,l=!1;function c(){l=!0}function u(){if(l){if(l=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()}),0)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,i.default)(e);if(!r.length)return void t.preventDefault();var n,o=t.shiftKey,a=r[0],s=r[r.length-1];if(e===document.activeElement){if(!o)return;n=s}s!==document.activeElement||o||(n=a);a===document.activeElement&&o&&(n=s);if(n)return t.preventDefault(),void n.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==l||"Chrome"==l[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var c=r.indexOf(document.activeElement);c>-1&&(c+=o?-1:1);if(void 0===r[c])return t.preventDefault(),void(n=o?s:a).focus();t.preventDefault(),r[c].focus()};var n,o=r(572),i=(n=o)&&n.__esModule?n:{default:n};e.exports=t.default},function(e,t,r){"use strict";e.exports=function(){}},function(e,t,r){var n;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){0};var n={},o={};t.add=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)}));var r,i},t.remove=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)}));var r,i}},function(e,t,r){},function(e,t){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(t){return"function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?e.exports=n=function(e){return r(e)}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)},n(t)}e.exports=n},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(t,n)}e.exports=r},function(e,t){e.exports=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(57);function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class c extends n.PureComponent{static getDerivedStateFromProps(e,t){const{prevId:r,prevScrollToColumn:n,prevScrollToRow:o}=t,{id:i,scrollToColumn:a,scrollToRow:s}=e;if(i!==r)return{focusOnRender:!1,prevId:i,prevScrollToColumn:0,prevScrollToRow:0,scrollToColumn:0,scrollToRow:0};const l={};return n!==a&&o!==s?(l.prevScrollToColumn=a,l.prevScrollToRow=s,l.scrollToColumn=a,l.scrollToRow=s):s!==o?(l.prevScrollToRow=s,l.scrollToRow=s):a!==n&&(l.prevScrollToColumn=a,l.scrollToColumn=a),Object.keys(l).length?l:null}constructor(e){super(e),l(this,"onKeyDown",(e=>{if(Object(s.c)(e.target))return;const{columnCount:t,rowCount:r,onSelect:n,onRename:o,onDownload:i,onShare:a,onDelete:l,onOpen:c,items:u}=this.props,{scrollToColumn:d,scrollToRow:h}=this.state;let{scrollToColumn:f,scrollToRow:p}=this.state;const m=u[p],b=e.metaKey||e.ctrlKey;switch(e.key){case"ArrowDown":p=b?r-1:Math.min(p+1,r-1),e.stopPropagation();break;case"ArrowLeft":f=b?0:Math.max(f-1,0);break;case"ArrowRight":f=b?t-1:Math.min(f+1,t-1);break;case"ArrowUp":p=b?0:Math.max(p-1,0);break;case"Enter":c(m),e.preventDefault();break;case"Delete":l(m),e.preventDefault();break;case"X":n(m),e.preventDefault();break;case"D":i(m),e.preventDefault();break;case"S":a(m),e.preventDefault();break;case"R":o(m),e.preventDefault();break;default:return}f===d&&p===h||(e.preventDefault(),this.updateScrollState({scrollToColumn:f,scrollToRow:p}))})),l(this,"onSectionRendered",(e=>{let{columnStartIndex:t,columnStopIndex:r,rowStartIndex:n,rowStopIndex:o}=e;this.columnStartIndex=t,this.columnStopIndex=r,this.rowStartIndex=n,this.rowStopIndex=o}));const{id:t,scrollToRow:r,scrollToColumn:n}=e;this.state={focusOnRender:!1,prevId:t,prevScrollToColumn:n,prevScrollToRow:r,scrollToColumn:n,scrollToRow:r},this.columnStartIndex=0,this.columnStopIndex=0,this.rowStartIndex=0,this.rowStopIndex=0}updateScrollState(e){let{scrollToColumn:t,scrollToRow:r}=e;const{onScrollToChange:n}=this.props;n({scrollToColumn:t,scrollToRow:r}),this.setState({scrollToColumn:t,scrollToRow:r,focusOnRender:!0})}render(){const{className:e,children:t}=this.props,{scrollToColumn:r,scrollToRow:n,focusOnRender:i}=this.state;return o.a.createElement("div",{className:e,onKeyDown:this.onKeyDown},t({onSectionRendered:this.onSectionRendered,scrollToColumn:r,scrollToRow:n,focusOnRender:i}))}}l(c,"defaultProps",{scrollToColumn:0,scrollToRow:0,onRename:a.a,onShare:a.a,onDownload:a.a,onOpen:a.a,onSelect:a.a,onDelete:a.a}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(679);t.a=function(e,t,r,n){let a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c=>{let{rowData:u}=c;return o.a.createElement(i.a,{canPreview:a,isTouch:l,item:u,onItemClick:r,onItemSelect:n,rootId:e,showDetails:s,view:t})}}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(678);t.a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32;return t=>{let{rowData:r}=t;return o.a.createElement("div",{className:"be-item-icon"},o.a.createElement(i.a,{rowData:r,dimension:e}))}}},,,function(e,t,r){"use strict";var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(60),l=r(7),c=r(571),u=r(1);var d=Object(s.c)((e=>{let t,{view:r,isSmall:n,rootId:i,rootName:a,currentCollection:s,onItemClick:d,intl:h}=e;if(r===u.ug||r===u.zg){const{id:e,name:n="",breadcrumbs:o=[]}=s;t=o.concat({id:e,name:n}),r===u.zg&&(t=t.concat({id:void 0,name:h.formatMessage(l.a.searchBreadcrumb)}))}else t=[{id:void 0,name:h.formatMessage(l.a["".concat(r,"Breadcrumb")])}],r!==u.yg&&t.unshift({id:i,name:a||h.formatMessage(l.a.rootBreadcrumb)});return o.a.createElement(c.a,{crumbs:t,delimiter:u.nb,isSmall:n,onCrumbClick:d,rootId:i})})),h=r(105),f=r(132),p=r(133),m=r(284),b=r(24),g=r(11);var v=e=>{let{className:t="",color:r="#222222",height:o=13,title:i,width:a=17}=e;return n.createElement(g.a,{className:"icon-sort ".concat(t),height:o,title:i,viewBox:"0 0 17.49 13.49",width:a},n.createElement("path",{className:"fill-color",d:"M8.48 4.24L4.74.5V.24h-.25L4.24 0 4 .24h-.26V.5L0 4.24l.71.71 3.03-3.04v11.33h1V1.91l3.04 3.04.7-.71m.52 5l3.74 3.74v.26H13l.24.24.24-.24h.26v-.26l3.74-3.74-.7-.7-3.04 3.03V.24h-1v11.33L9.71 8.54l-.71.7",fill:r}))},y=r(104),C=r(2);r(960);function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function E(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var S=Object(s.c)((e=>{let{intl:t}=e,r=E(e,["intl"]);const n=t.formatMessage(l.a.sort);return o.a.createElement(y.a,{text:n},o.a.createElement(b.b,w({"aria-label":n,className:"be-btn-sort",type:"button"},r),o.a.createElement(v,{color:C.l})))}));const k=[[u.nd,u.Lf],[u.nd,u.Mf],[u.Tc,u.Lf],[u.Tc,u.Mf],[u.Hd,u.Lf],[u.Hd,u.Mf]];var O=e=>{let{sortBy:t,sortDirection:r,onSortChange:n}=e;return o.a.createElement(f.a,{isRightAligned:!0},o.a.createElement(S,null),o.a.createElement(p.a,null,k.map((e=>{let[i,a]=e;const s=i===t&&a===r,c="".concat(i).concat(a);return o.a.createElement(m.a,{key:c,isSelected:s,onClick:()=>n(i,a)},o.a.createElement(h.a,l.a[c]))}))))};var x=e=>{let{className:t="",color:r="#222222",height:o=17,title:i,width:a=17}=e;return n.createElement(g.a,{className:"icon-add-thin ".concat(t),height:o,title:i,viewBox:"0 0 17 17",width:a},n.createElement("path",{className:"fill-color",d:"M8 0h1v17H8z",fill:r}),n.createElement("path",{className:"fill-color",d:"M17 8v1H0V8z",fill:r}))};r(961);function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}var P=e=>o.a.createElement(y.a,{text:o.a.createElement(h.a,l.a.add)},o.a.createElement(b.b,_({className:"be-btn-add","aria-label":l.a.add.defaultMessage,type:"button"},e),o.a.createElement(x,{color:C.l}))),T=r(75);var I=e=>{let{onUpload:t,onCreate:r,showUpload:n=!0,showCreate:i=!0}=e;return o.a.createElement(f.a,{isRightAligned:!0},o.a.createElement(P,null),o.a.createElement(p.a,null,n&&o.a.createElement(T.a,{onClick:t},o.a.createElement(h.a,l.a.upload)),i&&o.a.createElement(T.a,{onClick:r},o.a.createElement(h.a,l.a.newFolder))))},A=r(496),L=r(497),M=r(25);r(962);var R=Object(s.c)((e=>{let{columnCount:t,gridMaxColumns:r,gridMinColumns:o,intl:i,maxColumnCount:a,onChange:s}=e;const{formatMessage:c}=i,u=r-a+1,d=r-o+1,h=d-t+1;return o<a&&n.createElement("div",{className:"bdl-GridViewSlider"},n.createElement(M.a,{className:"bdl-GridViewSlider-button",onClick:()=>{s(Math.max(u,h-1))},type:"button","aria-label":c(l.a.gridViewDecreaseColumnSize)},n.createElement(L.a,{color:C.k,width:14,height:14})),n.createElement("input",{"aria-label":c(l.a.gridViewColumnSize),className:"bdl-GridViewSlider-range",max:d,min:u,onChange:e=>{s(e.currentTarget.valueAsNumber)},step:1,type:"range",value:h}),n.createElement(M.a,{className:"bdl-GridViewSlider-button",onClick:()=>{s(Math.min(d,h+1))},type:"button","aria-label":c(l.a.gridViewIncreaseColumnSize)},n.createElement(A.a,{color:C.k,width:14,height:14})))})),D=r(4),j=r.n(D);var F=e=>{let{className:t="",color:r=C.k,height:o=16,title:i,width:a=16}=e;return n.createElement(g.a,{className:"icon-grid-view-inverted ".concat(t),title:i,width:a,height:o,viewBox:"0 0 16 16"},n.createElement("path",{d:"M2.5 2h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm7 0h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm-7 7h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zm7 0h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-4a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5z",fill:r,fillRule:"nonzero"}))};var N=e=>{let{className:t="",color:r="#222",height:o=9,opacity:i=1,title:a,width:s=9}=e;return n.createElement(g.a,{className:"icon-list-view ".concat(t),height:o,title:a,viewBox:"0 0 9 9",width:s},n.createElement("path",{className:"fill-color",d:"M0 5h9V4H0v1zm0 4h9V8H0v1zm0-9v1h9V0H0z",fill:r,fillOpacity:i,fillRule:"evenodd"}))};r(963);function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function z(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var H=Object(s.c)((e=>{let{className:t="",onViewModeChange:r=a.a,intl:n,viewMode:i}=e,s=z(e,["className","onViewModeChange","intl","viewMode"]);const c=i===u.wg,d=c?n.formatMessage(l.a.listView):n.formatMessage(l.a.gridView);return o.a.createElement(y.a,{text:d},o.a.createElement(b.b,U({"aria-label":d,"data-testid":"view-mode-change-button",className:j()("bdl-ViewModeChangeButton",t),type:"button",onClick:()=>{r(c?u.xg:u.wg)}},s),c?o.a.createElement(N,{color:C.l,width:17,height:17}):o.a.createElement(F,{color:C.l,width:17,height:17})))}));r(964);var B=e=>{let{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i,gridMaxColumns:a,gridMinColumns:s,maxGridColumnCountForWidth:l,onCreate:c,onGridViewSliderChange:d,onSortChange:h,onUpload:f,onViewModeChange:p,view:m,viewMode:b}=e;const{sortBy:g,sortDirection:v,items:y=[]}=n,C=!!i,w=y.length>0,E=m===u.ug,S=E&&w,k=(!!r||!!t)&&E;return o.a.createElement("div",{className:"be-sub-header-right"},w&&b===u.wg&&o.a.createElement(R,{columnCount:i,gridMaxColumns:a,gridMinColumns:s,maxColumnCount:l,onChange:d}),w&&C&&o.a.createElement(H,{viewMode:b,onViewModeChange:p}),S&&!!g&&!!v&&o.a.createElement(O,{onSortChange:h,sortBy:g,sortDirection:v}),k&&o.a.createElement(I,{isDisabled:!E,onCreate:c,onUpload:f,showCreate:t,showUpload:r}))};r(965);t.a=e=>{let{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i=0,gridMaxColumns:s=0,gridMinColumns:l=0,maxGridColumnCountForWidth:c=0,onGridViewSliderChange:h=a.a,isSmall:f,onCreate:p,onItemClick:m,onSortChange:b,onUpload:g,onViewModeChange:v,rootId:y,rootName:C,view:w,viewMode:E=u.xg}=e;return o.a.createElement("div",{className:"be-sub-header","data-testid":"be-sub-header"},o.a.createElement(d,{currentCollection:n,isSmall:f,onItemClick:m,rootId:y,rootName:C,view:w}),o.a.createElement(B,{canCreateNewFolder:t,canUpload:r,currentCollection:n,gridColumnCount:i,gridMaxColumns:s,gridMinColumns:l,maxGridColumnCountForWidth:c,onCreate:p,onGridViewSliderChange:h,onSortChange:b,onUpload:g,onViewModeChange:v,view:w,viewMode:E}))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return _}));var n=r(0),o=r.n(n),i=r(3),a=r.n(i),s=r(105),l=r(200),c=r.n(l),u=r(24),d=r(78),h=r(33),f=r(7);r(966);function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var m=e=>{let{onPageClick:t,pageCount:r=0,pageNumber:n=0}=e;return o.a.createElement(d.b,{className:"bdl-Pagination-dropdown",constrainToWindow:!0,isRightAligned:!0},o.a.createElement(u.b,{className:"bdl-Pagination-toggle"},o.a.createElement(s.a,p({},f.a.pageStatus,{values:{pageNumber:n,pageCount:r}}))),o.a.createElement(h.a,{className:"bdl-Pagination-dropdownMenu"},c()(1,r+1).map((e=>o.a.createElement(h.b,{key:e,isDisabled:e===n,onClick:()=>t(e)},e)))))},b=r(677),g=r(11);var v=e=>{let{className:t="",color:r="#000000",height:o=13,title:i,width:a=8}=e;return n.createElement(g.a,{className:"icon-page-back ".concat(t),height:o,title:i,viewBox:"0 0 8 13",width:a},n.createElement("path",{className:"fill-color",d:"M.1 11.3l4.6-4.5L.1 2.2 1.5.8l6 6-6 6-1.4-1.5z",fill:r,fillRule:"evenodd",transform:"rotate(180 4 7)"}))};var y=e=>{let{className:t="",color:r="#000000",height:o=13,title:i,width:a=8}=e;return n.createElement(g.a,{className:"icon-page-forward ".concat(t),height:o,title:i,viewBox:"0 0 8 13",width:a},n.createElement("path",{className:"fill-color",d:"M.1 11.3l4.6-4.5L.1 2.2 1.5.8l6 6-6 6-1.4-1.5z",fill:r,fillRule:"evenodd"}))},C=r(104);const w={height:9,width:6};var E=e=>{let{handleNextClick:t,handlePreviousClick:r,hasNextPage:n,hasPreviousPage:i,isOffsetBasedPagination:a=!0,onPageClick:l,pageCount:c=0,pageNumber:d=0}=e;return o.a.createElement("div",{className:"bdl-Pagination"},a&&o.a.createElement("div",{className:"bdl-Pagination-count"},o.a.createElement(m,{onPageClick:l,pageCount:c,pageNumber:d})),o.a.createElement(b.a,{className:"bdl-Pagination-nav"},o.a.createElement(C.a,{isDisabled:!i,text:o.a.createElement(s.a,f.a.previousPage)},o.a.createElement(u.b,{isDisabled:!i,onClick:r},o.a.createElement(v,w))),o.a.createElement(C.a,{isDisabled:!n,text:o.a.createElement(s.a,f.a.nextPage)},o.a.createElement(u.b,{isDisabled:!n,onClick:t},o.a.createElement(y,w)))))};var S=e=>{let{hasNextMarker:t=!1,hasPrevMarker:r=!1,onMarkerBasedPageChange:n=a.a}=e;if(!t&&!r)return null;return o.a.createElement(E,{handleNextClick:()=>{n(1)},handlePreviousClick:()=>{n(-1)},hasNextPage:t,hasPreviousPage:r,isOffsetBasedPagination:!1})},k=r(1);var O=e=>{let{offset:t=0,onOffsetChange:r=a.a,pageSize:n=k.eb,totalCount:i=0}=e;const s=Math.ceil(i/n);if(s<=1)return null;const l=Math.floor(t/n)+1,c=l>0?Math.min(s,l):1,u=c<s,d=c>1,h=e=>{let t=(e-1)*n;t<=0&&(t=0),t>=i&&(t=i-n),r(t)};return o.a.createElement(E,{handleNextClick:()=>{h(c+1)},handlePreviousClick:()=>{h(c-1)},hasNextPage:u,hasPreviousPage:d,isOffsetBasedPagination:!0,onPageClick:h,pageCount:s,pageNumber:c})};r(967);function x(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var _=e=>{let{hasNextMarker:t,hasPrevMarker:r,onMarkerBasedPageChange:n}=e,i=x(e,["hasNextMarker","hasPrevMarker","onMarkerBasedPageChange"]);return t||r?o.a.createElement(S,{hasNextMarker:t,hasPrevMarker:r,onMarkerBasedPageChange:n}):o.a.createElement(O,i)}},,function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r.n(n),i=r(105),a=r(504),s=r(11),l=r(2);var c=e=>{let{className:t="",color:r=l.b,height:o=126,title:i,width:a=130}=e;return n.createElement(s.a,{className:"folder-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("ellipse",{className:"fill-color fill-opacity",cx:"75",cy:"142",fill:r,fillOpacity:"0.1",rx:"32.5",ry:"3"}),n.createElement("path",{className:"fill-color",d:"M97,6.1337822 L97,5.49178758 C97,5.2201808 97.2319336,5 97.5,5 C97.7761424,5 98,5.21505737 98,5.49047852 L98,6.1337822 C98.151814,6.22160185 98.2783981,6.348186 98.3662178,6.5 L99.0095215,6.5 C99.2804053,6.5 99.5,6.73193359 99.5,7 C99.5,7.27614237 99.2849426,7.5 99.0095215,7.5 L98.3662178,7.5 C98.2783981,7.651814 98.151814,7.77839815 98,7.8662178 L98,8.50952148 C98,8.78040529 97.7680664,9 97.5,9 C97.2238576,9 97,8.76897915 97,8.49525623 L97,7.8662178 C96.848186,7.77839815 96.7216019,7.651814 96.6337822,7.5 L95.9904785,7.5 C95.7195947,7.5 95.5,7.26806641 95.5,7 C95.5,6.72385763 95.7150574,6.5 95.9904785,6.5 L96.6337822,6.5 C96.7216019,6.348186 96.848186,6.22160185 97,6.1337822 Z M9.5,89.6337822 L9.5,88.9917876 C9.5,88.7201808 9.73193359,88.5 10,88.5 C10.2761424,88.5 10.5,88.7150574 10.5,88.9904785 L10.5,89.6337822 C10.651814,89.7216019 10.7783981,89.848186 10.8662178,90 L11.5095215,90 C11.7804053,90 12,90.2319336 12,90.5 C12,90.7761424 11.7849426,91 11.5095215,91 L10.8662178,91 C10.7783981,91.151814 10.651814,91.2783981 10.5,91.3662178 L10.5,92.0095215 C10.5,92.2804053 10.2680664,92.5 10,92.5 C9.72385763,92.5 9.5,92.2689791 9.5,91.9952562 L9.5,91.3662178 C9.348186,91.2783981 9.22160185,91.151814 9.1337822,91 L8.49047852,91 C8.21959471,91 8,90.7680664 8,90.5 C8,90.2238576 8.21505737,90 8.49047852,90 L9.1337822,90 C9.22160185,89.848186 9.348186,89.7216019 9.5,89.6337822 Z M137.5,84.6337822 L137.5,83.9917876 C137.5,83.7201808 137.731934,83.5 138,83.5 C138.276142,83.5 138.5,83.7150574 138.5,83.9904785 L138.5,84.6337822 C138.651814,84.7216019 138.778398,84.848186 138.866218,85 L139.509521,85 C139.780405,85 140,85.2319336 140,85.5 C140,85.7761424 139.784943,86 139.509521,86 L138.866218,86 C138.778398,86.151814 138.651814,86.2783981 138.5,86.3662178 L138.5,87.0095215 C138.5,87.2804053 138.268066,87.5 138,87.5 C137.723858,87.5 137.5,87.2689791 137.5,86.9952562 L137.5,86.3662178 C137.348186,86.2783981 137.221602,86.151814 137.133782,86 L136.490479,86 C136.219595,86 136,85.7680664 136,85.5 C136,85.2238576 136.215057,85 136.490479,85 L137.133782,85 C137.221602,84.848186 137.348186,84.7216019 137.5,84.6337822 Z M113.5,23.1337822 L113.5,22.4917876 C113.5,22.2201808 113.731934,22 114,22 C114.276142,22 114.5,22.2150574 114.5,22.4904785 L114.5,23.1337822 C114.651814,23.2216019 114.778398,23.348186 114.866218,23.5 L115.509521,23.5 C115.780405,23.5 116,23.7319336 116,24 C116,24.2761424 115.784943,24.5 115.509521,24.5 L114.866218,24.5 C114.778398,24.651814 114.651814,24.7783981 114.5,24.8662178 L114.5,25.5095215 C114.5,25.7804053 114.268066,26 114,26 C113.723858,26 113.5,25.7689791 113.5,25.4952562 L113.5,24.8662178 C113.348186,24.7783981 113.221602,24.651814 113.133782,24.5 L112.490479,24.5 C112.219595,24.5 112,24.2680664 112,24 C112,23.7238576 112.215057,23.5 112.490479,23.5 L113.133782,23.5 C113.221602,23.348186 113.348186,23.2216019 113.5,23.1337822 Z M33.5,20.6337822 L33.5,19.9917876 C33.5,19.7201808 33.7319336,19.5 34,19.5 C34.2761424,19.5 34.5,19.7150574 34.5,19.9904785 L34.5,20.6337822 C34.651814,20.7216019 34.7783981,20.848186 34.8662178,21 L35.5095215,21 C35.7804053,21 36,21.2319336 36,21.5 C36,21.7761424 35.7849426,22 35.5095215,22 L34.8662178,22 C34.7783981,22.151814 34.651814,22.2783981 34.5,22.3662178 L34.5,23.0095215 C34.5,23.2804053 34.2680664,23.5 34,23.5 C33.7238576,23.5 33.5,23.2689791 33.5,22.9952562 L33.5,22.3662178 C33.348186,22.2783981 33.2216019,22.151814 33.1337822,22 L32.4904785,22 C32.2195947,22 32,21.7680664 32,21.5 C32,21.2238576 32.2150574,21 32.4904785,21 L33.1337822,21 C33.2216019,20.848186 33.348186,20.7216019 33.5,20.6337822 Z M132.5,52.6337822 L132.5,51.9917876 C132.5,51.7201808 132.731934,51.5 133,51.5 C133.276142,51.5 133.5,51.7150574 133.5,51.9904785 L133.5,52.6337822 C133.651814,52.7216019 133.778398,52.848186 133.866218,53 L134.509521,53 C134.780405,53 135,53.2319336 135,53.5 C135,53.7761424 134.784943,54 134.509521,54 L133.866218,54 C133.778398,54.151814 133.651814,54.2783981 133.5,54.3662178 L133.5,55.0095215 C133.5,55.2804053 133.268066,55.5 133,55.5 C132.723858,55.5 132.5,55.2689791 132.5,54.9952562 L132.5,54.3662178 C132.348186,54.2783981 132.221602,54.151814 132.133782,54 L131.490479,54 C131.219595,54 131,53.7680664 131,53.5 C131,53.2238576 131.215057,53 131.490479,53 L132.133782,53 C132.221602,52.848186 132.348186,52.7216019 132.5,52.6337822 Z M27.9375,28.7086139 L27.9375,28.3073672 C27.9375,28.137613 28.0824585,28 28.25,28 C28.422589,28 28.5625,28.1344109 28.5625,28.3065491 L28.5625,28.7086139 C28.6573838,28.7635012 28.7364988,28.8426162 28.7913861,28.9375 L29.1934509,28.9375 C29.3627533,28.9375 29.5,29.0824585 29.5,29.25 C29.5,29.422589 29.3655891,29.5625 29.1934509,29.5625 L28.7913861,29.5625 C28.7364988,29.6573838 28.6573838,29.7364988 28.5625,29.7913861 L28.5625,30.1934509 C28.5625,30.3627533 28.4175415,30.5 28.25,30.5 C28.077411,30.5 27.9375,30.355612 27.9375,30.1974433 L27.9375,29.7913861 C27.8426162,29.7364988 27.7635012,29.6573838 27.7086139,29.5625 L27.3065491,29.5625 C27.1372467,29.5625 27,29.4175415 27,29.25 C27,29.077411 27.1344109,28.9375 27.3065491,28.9375 L27.7086139,28.9375 C27.7635012,28.8426162 27.8426162,28.7635012 27.9375,28.7086139 Z M16.4375,83.7086139 L16.4375,83.3073672 C16.4375,83.137613 16.5824585,83 16.75,83 C16.922589,83 17.0625,83.1344109 17.0625,83.3065491 L17.0625,83.7086139 C17.1573838,83.7635012 17.2364988,83.8426162 17.2913861,83.9375 L17.6934509,83.9375 C17.8627533,83.9375 18,84.0824585 18,84.25 C18,84.422589 17.8655891,84.5625 17.6934509,84.5625 L17.2913861,84.5625 C17.2364988,84.6573838 17.1573838,84.7364988 17.0625,84.7913861 L17.0625,85.1934509 C17.0625,85.3627533 16.9175415,85.5 16.75,85.5 C16.577411,85.5 16.4375,85.355612 16.4375,85.1974433 L16.4375,84.7913861 C16.3426162,84.7364988 16.2635012,84.6573838 16.2086139,84.5625 L15.8065491,84.5625 C15.6372467,84.5625 15.5,84.4175415 15.5,84.25 C15.5,84.077411 15.6344109,83.9375 15.8065491,83.9375 L16.2086139,83.9375 C16.2635012,83.8426162 16.3426162,83.7635012 16.4375,83.7086139 Z M123.4375,48.2086139 L123.4375,47.8073672 C123.4375,47.637613 123.582458,47.5 123.75,47.5 C123.922589,47.5 124.0625,47.6344109 124.0625,47.8065491 L124.0625,48.2086139 C124.157384,48.2635012 124.236499,48.3426162 124.291386,48.4375 L124.693451,48.4375 C124.862753,48.4375 125,48.5824585 125,48.75 C125,48.922589 124.865589,49.0625 124.693451,49.0625 L124.291386,49.0625 C124.236499,49.1573838 124.157384,49.2364988 124.0625,49.2913861 L124.0625,49.6934509 C124.0625,49.8627533 123.917542,50 123.75,50 C123.577411,50 123.4375,49.855612 123.4375,49.6974433 L123.4375,49.2913861 C123.342616,49.2364988 123.263501,49.1573838 123.208614,49.0625 L122.806549,49.0625 C122.637247,49.0625 122.5,48.9175415 122.5,48.75 C122.5,48.577411 122.634411,48.4375 122.806549,48.4375 L123.208614,48.4375 C123.263501,48.3426162 123.342616,48.2635012 123.4375,48.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M68.8246342,87.5 C76.40963,91.8231286 93.0935221,92.3842512 94.8471309,98.1662993 C96.6007397,103.948347 51.5,108.892186 51.5,108.892186 L56.3324509,114.952313",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M109.403973,65.6681213 C121.308377,94.6323489 136.937803,71.8237566 136.937803,71.8237566",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M135,69.348975 C137.383789,74.3303392 145.105602,69 145.105602,69",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M81.0723406,87.5 C73.4873447,91.8231286 56.8034526,92.3842512 55.0498438,98.1662993 C53.296235,103.948347 98.3969748,108.892186 98.3969748,108.892186 L93.5645239,114.952313",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M13.0621966,65.6681213 C24.9666013,94.6323489 40.5960273,71.8237566 40.5960273,71.8237566",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(26.829112, 73.012365) scale(-1, 1) translate(-26.829112, -73.012365) "}),n.createElement("path",{className:"stroke-color",d:"M5,69.348975 C7.38378882,74.3303392 15.1056022,69 15.1056022,69",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(10.052801, 70.237963) scale(-1, 1) translate(-10.052801, -70.237963) "}),n.createElement("path",{className:"stroke-color fill-white",d:"M35,37.9900737 C35,37.1671287 35.6677833,36.5 36.5086652,36.5 L64.7706257,36.5 C65.6038385,36.5 66.5588137,37.1050351 66.9100361,37.8652661 L70.1170158,44.806865 C70.4653667,45.5608807 70.0812601,46.1721311 69.2572363,46.1721311 L36.4905247,46.1721311 C35.6673306,46.1721311 35,45.5073264 35,44.6820574 L35,37.9900737 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M36.7873881,39.9245 C36.7873881,39.101555 37.4555019,38.4344262 38.2810514,38.4344262 L63.4450865,38.4344262 C64.270014,38.4344262 65.1964383,39.054175 65.5149504,39.8202068 L68.3841724,46.7207768 C68.7023992,47.4861223 68.2883944,48.1065574 67.4517556,48.1065574 L38.2960054,48.1065574 C37.462819,48.1065574 36.7873881,47.4417526 36.7873881,46.6164836 L36.7873881,39.9245 Z",fill:r,fillOpacity:"0.1"}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"53.1967213",rx:"1.5",stroke:r,strokeWidth:"2",width:"80",x:"35",y:"42.3032787"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M37,81.7185235 C37,80.8915052 37.6574211,80.3784293 38.4748917,80.5333945 C38.4748917,80.5333945 42.0893396,81.8018989 62.3333333,81.8018989 C74.9176315,81.8018989 80.4976661,85.1139445 87.6666667,85.1139445 C102.165889,85.1139445 111.621106,80.7823489 111.621106,80.7823489 C112.382648,80.4723656 113,80.8978342 113,81.7185235 L113,92.0025509 C113,92.8295692 112.319761,93.5 111.498955,93.5 L38.5010449,93.5 C37.6720407,93.5 37,92.8232402 37,92.0025509 L37,81.7185235 Z",fill:r,fillOpacity:"0.1"})))};var u=e=>{let{className:t="",color:r=l.b,height:o=126,title:i,width:a=130}=e;return n.createElement(s.a,{className:"selected-items-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",id:"Export",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M97,6.1337822 L97,5.49178758 C97,5.2201808 97.2319336,5 97.5,5 C97.7761424,5 98,5.21505737 98,5.49047852 L98,6.1337822 C98.151814,6.22160185 98.2783981,6.348186 98.3662178,6.5 L99.0095215,6.5 C99.2804053,6.5 99.5,6.73193359 99.5,7 C99.5,7.27614237 99.2849426,7.5 99.0095215,7.5 L98.3662178,7.5 C98.2783981,7.651814 98.151814,7.77839815 98,7.8662178 L98,8.50952148 C98,8.78040529 97.7680664,9 97.5,9 C97.2238576,9 97,8.76897915 97,8.49525623 L97,7.8662178 C96.848186,7.77839815 96.7216019,7.651814 96.6337822,7.5 L95.9904785,7.5 C95.7195947,7.5 95.5,7.26806641 95.5,7 C95.5,6.72385763 95.7150574,6.5 95.9904785,6.5 L96.6337822,6.5 C96.7216019,6.348186 96.848186,6.22160185 97,6.1337822 Z M6.5,89.6337822 L6.5,88.9917876 C6.5,88.7201808 6.73193359,88.5 7,88.5 C7.27614237,88.5 7.5,88.7150574 7.5,88.9904785 L7.5,89.6337822 C7.651814,89.7216019 7.77839815,89.848186 7.8662178,90 L8.50952148,90 C8.78040529,90 9,90.2319336 9,90.5 C9,90.7761424 8.78494263,91 8.50952148,91 L7.8662178,91 C7.77839815,91.151814 7.651814,91.2783981 7.5,91.3662178 L7.5,92.0095215 C7.5,92.2804053 7.26806641,92.5 7,92.5 C6.72385763,92.5 6.5,92.2689791 6.5,91.9952562 L6.5,91.3662178 C6.348186,91.2783981 6.22160185,91.151814 6.1337822,91 L5.49047852,91 C5.21959471,91 5,90.7680664 5,90.5 C5,90.2238576 5.21505737,90 5.49047852,90 L6.1337822,90 C6.22160185,89.848186 6.348186,89.7216019 6.5,89.6337822 Z M142.5,95.1337822 L142.5,94.4917876 C142.5,94.2201808 142.731934,94 143,94 C143.276142,94 143.5,94.2150574 143.5,94.4904785 L143.5,95.1337822 C143.651814,95.2216019 143.778398,95.348186 143.866218,95.5 L144.509521,95.5 C144.780405,95.5 145,95.7319336 145,96 C145,96.2761424 144.784943,96.5 144.509521,96.5 L143.866218,96.5 C143.778398,96.651814 143.651814,96.7783981 143.5,96.8662178 L143.5,97.5095215 C143.5,97.7804053 143.268066,98 143,98 C142.723858,98 142.5,97.7689791 142.5,97.4952562 L142.5,96.8662178 C142.348186,96.7783981 142.221602,96.651814 142.133782,96.5 L141.490479,96.5 C141.219595,96.5 141,96.2680664 141,96 C141,95.7238576 141.215057,95.5 141.490479,95.5 L142.133782,95.5 C142.221602,95.348186 142.348186,95.2216019 142.5,95.1337822 Z M113.5,17.1337822 L113.5,16.4917876 C113.5,16.2201808 113.731934,16 114,16 C114.276142,16 114.5,16.2150574 114.5,16.4904785 L114.5,17.1337822 C114.651814,17.2216019 114.778398,17.348186 114.866218,17.5 L115.509521,17.5 C115.780405,17.5 116,17.7319336 116,18 C116,18.2761424 115.784943,18.5 115.509521,18.5 L114.866218,18.5 C114.778398,18.651814 114.651814,18.7783981 114.5,18.8662178 L114.5,19.5095215 C114.5,19.7804053 114.268066,20 114,20 C113.723858,20 113.5,19.7689791 113.5,19.4952562 L113.5,18.8662178 C113.348186,18.7783981 113.221602,18.651814 113.133782,18.5 L112.490479,18.5 C112.219595,18.5 112,18.2680664 112,18 C112,17.7238576 112.215057,17.5 112.490479,17.5 L113.133782,17.5 C113.221602,17.348186 113.348186,17.2216019 113.5,17.1337822 Z M39.5,30.6337822 L39.5,29.9917876 C39.5,29.7201808 39.7319336,29.5 40,29.5 C40.2761424,29.5 40.5,29.7150574 40.5,29.9904785 L40.5,30.6337822 C40.651814,30.7216019 40.7783981,30.848186 40.8662178,31 L41.5095215,31 C41.7804053,31 42,31.2319336 42,31.5 C42,31.7761424 41.7849426,32 41.5095215,32 L40.8662178,32 C40.7783981,32.151814 40.651814,32.2783981 40.5,32.3662178 L40.5,33.0095215 C40.5,33.2804053 40.2680664,33.5 40,33.5 C39.7238576,33.5 39.5,33.2689791 39.5,32.9952562 L39.5,32.3662178 C39.348186,32.2783981 39.2216019,32.151814 39.1337822,32 L38.4904785,32 C38.2195947,32 38,31.7680664 38,31.5 C38,31.2238576 38.2150574,31 38.4904785,31 L39.1337822,31 C39.2216019,30.848186 39.348186,30.7216019 39.5,30.6337822 Z M42.5,142.133782 L42.5,141.491788 C42.5,141.220181 42.7319336,141 43,141 C43.2761424,141 43.5,141.215057 43.5,141.490479 L43.5,142.133782 C43.651814,142.221602 43.7783981,142.348186 43.8662178,142.5 L44.5095215,142.5 C44.7804053,142.5 45,142.731934 45,143 C45,143.276142 44.7849426,143.5 44.5095215,143.5 L43.8662178,143.5 C43.7783981,143.651814 43.651814,143.778398 43.5,143.866218 L43.5,144.509521 C43.5,144.780405 43.2680664,145 43,145 C42.7238576,145 42.5,144.768979 42.5,144.495256 L42.5,143.866218 C42.348186,143.778398 42.2216019,143.651814 42.1337822,143.5 L41.4904785,143.5 C41.2195947,143.5 41,143.268066 41,143 C41,142.723858 41.2150574,142.5 41.4904785,142.5 L42.1337822,142.5 C42.2216019,142.348186 42.348186,142.221602 42.5,142.133782 Z M63.4375,128.208614 L63.4375,127.807367 C63.4375,127.637613 63.5824585,127.5 63.75,127.5 C63.922589,127.5 64.0625,127.634411 64.0625,127.806549 L64.0625,128.208614 C64.1573838,128.263501 64.2364988,128.342616 64.2913861,128.4375 L64.6934509,128.4375 C64.8627533,128.4375 65,128.582458 65,128.75 C65,128.922589 64.8655891,129.0625 64.6934509,129.0625 L64.2913861,129.0625 C64.2364988,129.157384 64.1573838,129.236499 64.0625,129.291386 L64.0625,129.693451 C64.0625,129.862753 63.9175415,130 63.75,130 C63.577411,130 63.4375,129.855612 63.4375,129.697443 L63.4375,129.291386 C63.3426162,129.236499 63.2635012,129.157384 63.2086139,129.0625 L62.8065491,129.0625 C62.6372467,129.0625 62.5,128.917542 62.5,128.75 C62.5,128.577411 62.6344109,128.4375 62.8065491,128.4375 L63.2086139,128.4375 C63.2635012,128.342616 63.3426162,128.263501 63.4375,128.208614 Z M132.5,122.633782 L132.5,121.991788 C132.5,121.720181 132.731934,121.5 133,121.5 C133.276142,121.5 133.5,121.715057 133.5,121.990479 L133.5,122.633782 C133.651814,122.721602 133.778398,122.848186 133.866218,123 L134.509521,123 C134.780405,123 135,123.231934 135,123.5 C135,123.776142 134.784943,124 134.509521,124 L133.866218,124 C133.778398,124.151814 133.651814,124.278398 133.5,124.366218 L133.5,125.009521 C133.5,125.280405 133.268066,125.5 133,125.5 C132.723858,125.5 132.5,125.268979 132.5,124.995256 L132.5,124.366218 C132.348186,124.278398 132.221602,124.151814 132.133782,124 L131.490479,124 C131.219595,124 131,123.768066 131,123.5 C131,123.223858 131.215057,123 131.490479,123 L132.133782,123 C132.221602,122.848186 132.348186,122.721602 132.5,122.633782 Z M33.9375,38.7086139 L33.9375,38.3073672 C33.9375,38.137613 34.0824585,38 34.25,38 C34.422589,38 34.5625,38.1344109 34.5625,38.3065491 L34.5625,38.7086139 C34.6573838,38.7635012 34.7364988,38.8426162 34.7913861,38.9375 L35.1934509,38.9375 C35.3627533,38.9375 35.5,39.0824585 35.5,39.25 C35.5,39.422589 35.3655891,39.5625 35.1934509,39.5625 L34.7913861,39.5625 C34.7364988,39.6573838 34.6573838,39.7364988 34.5625,39.7913861 L34.5625,40.1934509 C34.5625,40.3627533 34.4175415,40.5 34.25,40.5 C34.077411,40.5 33.9375,40.355612 33.9375,40.1974433 L33.9375,39.7913861 C33.8426162,39.7364988 33.7635012,39.6573838 33.7086139,39.5625 L33.3065491,39.5625 C33.1372467,39.5625 33,39.4175415 33,39.25 C33,39.077411 33.1344109,38.9375 33.3065491,38.9375 L33.7086139,38.9375 C33.7635012,38.8426162 33.8426162,38.7635012 33.9375,38.7086139 Z M16.4375,107.708614 L16.4375,107.307367 C16.4375,107.137613 16.5824585,107 16.75,107 C16.922589,107 17.0625,107.134411 17.0625,107.306549 L17.0625,107.708614 C17.1573838,107.763501 17.2364988,107.842616 17.2913861,107.9375 L17.6934509,107.9375 C17.8627533,107.9375 18,108.082458 18,108.25 C18,108.422589 17.8655891,108.5625 17.6934509,108.5625 L17.2913861,108.5625 C17.2364988,108.657384 17.1573838,108.736499 17.0625,108.791386 L17.0625,109.193451 C17.0625,109.362753 16.9175415,109.5 16.75,109.5 C16.577411,109.5 16.4375,109.355612 16.4375,109.197443 L16.4375,108.791386 C16.3426162,108.736499 16.2635012,108.657384 16.2086139,108.5625 L15.8065491,108.5625 C15.6372467,108.5625 15.5,108.417542 15.5,108.25 C15.5,108.077411 15.6344109,107.9375 15.8065491,107.9375 L16.2086139,107.9375 C16.2635012,107.842616 16.3426162,107.763501 16.4375,107.708614 Z M123.4375,118.208614 L123.4375,117.807367 C123.4375,117.637613 123.582458,117.5 123.75,117.5 C123.922589,117.5 124.0625,117.634411 124.0625,117.806549 L124.0625,118.208614 C124.157384,118.263501 124.236499,118.342616 124.291386,118.4375 L124.693451,118.4375 C124.862753,118.4375 125,118.582458 125,118.75 C125,118.922589 124.865589,119.0625 124.693451,119.0625 L124.291386,119.0625 C124.236499,119.157384 124.157384,119.236499 124.0625,119.291386 L124.0625,119.693451 C124.0625,119.862753 123.917542,120 123.75,120 C123.577411,120 123.4375,119.855612 123.4375,119.697443 L123.4375,119.291386 C123.342616,119.236499 123.263501,119.157384 123.208614,119.0625 L122.806549,119.0625 C122.637247,119.0625 122.5,118.917542 122.5,118.75 C122.5,118.577411 122.634411,118.4375 122.806549,118.4375 L123.208614,118.4375 C123.263501,118.342616 123.342616,118.263501 123.4375,118.208614 Z",fill:r}),n.createElement("path",{className:"fill-color",d:"M43.4804692,103.174876 L41.1752714,101.240586 C40.7617585,100.893607 40.1285056,100.946696 39.7735038,101.369771 C39.416027,101.795795 39.4705231,102.420947 39.8896962,102.772675 L42.9680029,105.355681 C43.1743888,105.528859 43.4355129,105.602379 43.6894604,105.57998 C43.9483712,105.55797 44.1918657,105.438515 44.3678615,105.228771 L48.2284051,100.627954 C48.5780776,100.211231 48.526314,99.5763992 48.1032393,99.2213974 C47.6772151,98.8639206 47.0502638,98.920561 46.6963163,99.3423792 L43.4804692,103.174876 Z M37,102 C37,98.1340068 40.1350851,95 44.0024366,95 L94.9975634,95 C98.8649024,95 102,98.1418733 102,102 C102,105.865993 98.8649149,109 94.9975634,109 L44.0024366,109 C40.1350976,109 37,105.858127 37,102 Z",fill:r}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"60",rx:"1.5",stroke:r,strokeWidth:"2",width:"40",x:"62",y:"53"}),n.createElement("path",{className:"fill-color",d:"M33.4804692,85.1748765 L31.1752714,83.2405859 C30.7617585,82.8936073 30.1285056,82.9466958 29.7735038,83.3697705 C29.416027,83.7957948 29.4705231,84.4209468 29.8896962,84.7726747 L32.9680029,87.3556808 C33.1743888,87.5288591 33.4355129,87.6023789 33.6894604,87.57998 C33.9483712,87.5579702 34.1918657,87.4385148 34.3678615,87.2287712 L38.2284051,82.6279545 C38.5780776,82.211231 38.526314,81.5763992 38.1032393,81.2213974 C37.6772151,80.8639206 37.0502638,80.920561 36.6963163,81.3423792 L33.4804692,85.1748765 Z M27,84 C27,80.1340068 30.1350851,77 34.0024366,77 L84.9975634,77 C88.8649024,77 92,80.1418733 92,84 C92,87.8659932 88.8649149,91 84.9975634,91 L34.0024366,91 C30.1350976,91 27,87.8581267 27,84 Z",fill:r}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"60",rx:"1.5",stroke:r,strokeWidth:"2",width:"40",x:"70",y:"37"}),n.createElement("path",{className:"stroke-color fill-white",d:"M79,46.4981237 C79,45.6707328 79.6757415,45 80.4989041,45 L112.911044,45 C113.738866,45 114.834395,45.5280187 115.346944,46.1656381 L123.063004,55.7645454 C123.580493,56.4083096 124,57.6097136 124,58.4215292 L124,103.508654 C124,104.332302 123.328952,105 122.502769,105 L80.4972305,105 C79.6703329,105 79,104.326172 79,103.501876 L79,46.4981237 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color",d:"M86.5,70 C86.5,69.4477153 86.9473652,69 87.4981537,69 L115.501846,69 C116.053111,69 116.5,69.4438648 116.5,70 C116.5,70.5522847 116.052635,71 115.501846,71 L87.4981537,71 C86.9468886,71 86.5,70.5561352 86.5,70 Z M86.5,75 C86.5,74.4477153 86.9473652,74 87.4981537,74 L115.501846,74 C116.053111,74 116.5,74.4438648 116.5,75 C116.5,75.5522847 116.052635,76 115.501846,76 L87.4981537,76 C86.9468886,76 86.5,75.5561352 86.5,75 Z M86.5,80 C86.5,79.4477153 86.9449463,79 87.4933977,79 L103.506602,79 C104.055241,79 104.5,79.4438648 104.5,80 C104.5,80.5522847 104.055054,81 103.506602,81 L87.4933977,81 C86.9447593,81 86.5,80.5561352 86.5,80 Z M106.9,80 C106.9,79.4477153 107.350975,79 107.890778,79 L111.909222,79 C112.456414,79 112.9,79.4438648 112.9,80 C112.9,80.5522847 112.449025,81 111.909222,81 L107.890778,81 C107.343586,81 106.9,80.5561352 106.9,80 Z",fill:r}),n.createElement("path",{className:"fill-color fill-opacity",d:"M81,93.0952639 C81,92.2673619 81.6405192,91.819868 82.4446313,92.0247586 C82.4446313,92.0247586 83.7455648,92.9506249 94.6666667,92.9506249 C101.455564,92.9506249 104.465846,95.7883014 108.333333,95.7883014 C116.155282,95.7883014 120.733786,92.3847142 120.733786,92.3847142 C121.433097,91.949238 122,92.2738296 122,93.0952639 L122,101.474211 C122,102.302113 121.322576,102.973261 120.492164,102.973261 L82.5078364,102.973261 C81.6750814,102.973261 81,102.295646 81,101.474211 L81,93.0952639 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color",d:"M123,56 L114.615019,56 C113.723068,56 113,55.2734286 113,54.3849814 L113,46",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M51.4997804,57 C51.5159706,57 58.357785,57.0000513 62,57.0001537 M62,71 L50.5002196,71 C46.3579627,71 42.8594173,70.1626263 42.8594173,66.0195799",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"stroke-color",d:"M42.860937,66.126647 C42.860937,63.7364857 44.5317428,61.2152184 47.5857812,61 L81.4999054,61 C83.4329543,61 85,61.5709366 85,63.5 C85,65.4329966 83.4293087,66 81.4999054,66 L51.887125,66",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))};var d=e=>{let{className:t="",color:r=l.b,height:o=180,title:i,width:a=180}=e;return n.createElement(s.a,{className:"search-empty-state ".concat(t),height:o,title:i,viewBox:"0 0 150 150",width:a},n.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},n.createElement("path",{className:"fill-color",d:"M65.5,6.1337822 L65.5,5.49178758 C65.5,5.2201808 65.7319336,5 66,5 C66.2761424,5 66.5,5.21505737 66.5,5.49047852 L66.5,6.1337822 C66.651814,6.22160185 66.7783981,6.348186 66.8662178,6.5 L67.5095215,6.5 C67.7804053,6.5 68,6.73193359 68,7 C68,7.27614237 67.7849426,7.5 67.5095215,7.5 L66.8662178,7.5 C66.7783981,7.651814 66.651814,7.77839815 66.5,7.8662178 L66.5,8.50952148 C66.5,8.78040529 66.2680664,9 66,9 C65.7238576,9 65.5,8.76897915 65.5,8.49525623 L65.5,7.8662178 C65.348186,7.77839815 65.2216019,7.651814 65.1337822,7.5 L64.4904785,7.5 C64.2195947,7.5 64,7.26806641 64,7 C64,6.72385763 64.2150574,6.5 64.4904785,6.5 L65.1337822,6.5 C65.2216019,6.348186 65.348186,6.22160185 65.5,6.1337822 Z M11,78.6337822 L11,77.9917876 C11,77.7201808 11.2319336,77.5 11.5,77.5 C11.7761424,77.5 12,77.7150574 12,77.9904785 L12,78.6337822 C12.151814,78.7216019 12.2783981,78.848186 12.3662178,79 L13.0095215,79 C13.2804053,79 13.5,79.2319336 13.5,79.5 C13.5,79.7761424 13.2849426,80 13.0095215,80 L12.3662178,80 C12.2783981,80.151814 12.151814,80.2783981 12,80.3662178 L12,81.0095215 C12,81.2804053 11.7680664,81.5 11.5,81.5 C11.2238576,81.5 11,81.2689791 11,80.9952562 L11,80.3662178 C10.848186,80.2783981 10.7216019,80.151814 10.6337822,80 L9.99047852,80 C9.71959471,80 9.5,79.7680664 9.5,79.5 C9.5,79.2238576 9.71505737,79 9.99047852,79 L10.6337822,79 C10.7216019,78.848186 10.848186,78.7216019 11,78.6337822 Z M142.5,81.6337822 L142.5,80.9917876 C142.5,80.7201808 142.731934,80.5 143,80.5 C143.276142,80.5 143.5,80.7150574 143.5,80.9904785 L143.5,81.6337822 C143.651814,81.7216019 143.778398,81.848186 143.866218,82 L144.509521,82 C144.780405,82 145,82.2319336 145,82.5 C145,82.7761424 144.784943,83 144.509521,83 L143.866218,83 C143.778398,83.151814 143.651814,83.2783981 143.5,83.3662178 L143.5,84.0095215 C143.5,84.2804053 143.268066,84.5 143,84.5 C142.723858,84.5 142.5,84.2689791 142.5,83.9952562 L142.5,83.3662178 C142.348186,83.2783981 142.221602,83.151814 142.133782,83 L141.490479,83 C141.219595,83 141,82.7680664 141,82.5 C141,82.2238576 141.215057,82 141.490479,82 L142.133782,82 C142.221602,81.848186 142.348186,81.7216019 142.5,81.6337822 Z M47,23.1337822 L47,22.4917876 C47,22.2201808 47.2319336,22 47.5,22 C47.7761424,22 48,22.2150574 48,22.4904785 L48,23.1337822 C48.151814,23.2216019 48.2783981,23.348186 48.3662178,23.5 L49.0095215,23.5 C49.2804053,23.5 49.5,23.7319336 49.5,24 C49.5,24.2761424 49.2849426,24.5 49.0095215,24.5 L48.3662178,24.5 C48.2783981,24.651814 48.151814,24.7783981 48,24.8662178 L48,25.5095215 C48,25.7804053 47.7680664,26 47.5,26 C47.2238576,26 47,25.7689791 47,25.4952562 L47,24.8662178 C46.848186,24.7783981 46.7216019,24.651814 46.6337822,24.5 L45.9904785,24.5 C45.7195947,24.5 45.5,24.2680664 45.5,24 C45.5,23.7238576 45.7150574,23.5 45.9904785,23.5 L46.6337822,23.5 C46.7216019,23.348186 46.848186,23.2216019 47,23.1337822 Z M92,24.6337822 L92,23.9917876 C92,23.7201808 92.2319336,23.5 92.5,23.5 C92.7761424,23.5 93,23.7150574 93,23.9904785 L93,24.6337822 C93.151814,24.7216019 93.2783981,24.848186 93.3662178,25 L94.0095215,25 C94.2804053,25 94.5,25.2319336 94.5,25.5 C94.5,25.7761424 94.2849426,26 94.0095215,26 L93.3662178,26 C93.2783981,26.151814 93.151814,26.2783981 93,26.3662178 L93,27.0095215 C93,27.2804053 92.7680664,27.5 92.5,27.5 C92.2238576,27.5 92,27.2689791 92,26.9952562 L92,26.3662178 C91.848186,26.2783981 91.7216019,26.151814 91.6337822,26 L90.9904785,26 C90.7195947,26 90.5,25.7680664 90.5,25.5 C90.5,25.2238576 90.7150574,25 90.9904785,25 L91.6337822,25 C91.7216019,24.848186 91.848186,24.7216019 92,24.6337822 Z M137,44.6337822 L137,43.9917876 C137,43.7201808 137.231934,43.5 137.5,43.5 C137.776142,43.5 138,43.7150574 138,43.9904785 L138,44.6337822 C138.151814,44.7216019 138.278398,44.848186 138.366218,45 L139.009521,45 C139.280405,45 139.5,45.2319336 139.5,45.5 C139.5,45.7761424 139.284943,46 139.009521,46 L138.366218,46 C138.278398,46.151814 138.151814,46.2783981 138,46.3662178 L138,47.0095215 C138,47.2804053 137.768066,47.5 137.5,47.5 C137.223858,47.5 137,47.2689791 137,46.9952562 L137,46.3662178 C136.848186,46.2783981 136.721602,46.151814 136.633782,46 L135.990479,46 C135.719595,46 135.5,45.7680664 135.5,45.5 C135.5,45.2238576 135.715057,45 135.990479,45 L136.633782,45 C136.721602,44.848186 136.848186,44.7216019 137,44.6337822 Z M26.4375,26.7086139 L26.4375,26.3073672 C26.4375,26.137613 26.5824585,26 26.75,26 C26.922589,26 27.0625,26.1344109 27.0625,26.3065491 L27.0625,26.7086139 C27.1573838,26.7635012 27.2364988,26.8426162 27.2913861,26.9375 L27.6934509,26.9375 C27.8627533,26.9375 28,27.0824585 28,27.25 C28,27.422589 27.8655891,27.5625 27.6934509,27.5625 L27.2913861,27.5625 C27.2364988,27.6573838 27.1573838,27.7364988 27.0625,27.7913861 L27.0625,28.1934509 C27.0625,28.3627533 26.9175415,28.5 26.75,28.5 C26.577411,28.5 26.4375,28.355612 26.4375,28.1974433 L26.4375,27.7913861 C26.3426162,27.7364988 26.2635012,27.6573838 26.2086139,27.5625 L25.8065491,27.5625 C25.6372467,27.5625 25.5,27.4175415 25.5,27.25 C25.5,27.077411 25.6344109,26.9375 25.8065491,26.9375 L26.2086139,26.9375 C26.2635012,26.8426162 26.3426162,26.7635012 26.4375,26.7086139 Z M5.9375,66.7086139 L5.9375,66.3073672 C5.9375,66.137613 6.0824585,66 6.25,66 C6.42258898,66 6.5625,66.1344109 6.5625,66.3065491 L6.5625,66.7086139 C6.65738375,66.7635012 6.73649884,66.8426162 6.79138613,66.9375 L7.19345093,66.9375 C7.36275331,66.9375 7.5,67.0824585 7.5,67.25 C7.5,67.422589 7.36558914,67.5625 7.19345093,67.5625 L6.79138613,67.5625 C6.73649884,67.6573838 6.65738375,67.7364988 6.5625,67.7913861 L6.5625,68.1934509 C6.5625,68.3627533 6.4175415,68.5 6.25,68.5 C6.07741102,68.5 5.9375,68.355612 5.9375,68.1974433 L5.9375,67.7913861 C5.84261625,67.7364988 5.76350116,67.6573838 5.70861387,67.5625 L5.30654907,67.5625 C5.13724669,67.5625 5,67.4175415 5,67.25 C5,67.077411 5.13441086,66.9375 5.30654907,66.9375 L5.70861387,66.9375 C5.76350116,66.8426162 5.84261625,66.7635012 5.9375,66.7086139 Z M128.4375,35.2086139 L128.4375,34.8073672 C128.4375,34.637613 128.582458,34.5 128.75,34.5 C128.922589,34.5 129.0625,34.6344109 129.0625,34.8065491 L129.0625,35.2086139 C129.157384,35.2635012 129.236499,35.3426162 129.291386,35.4375 L129.693451,35.4375 C129.862753,35.4375 130,35.5824585 130,35.75 C130,35.922589 129.865589,36.0625 129.693451,36.0625 L129.291386,36.0625 C129.236499,36.1573838 129.157384,36.2364988 129.0625,36.2913861 L129.0625,36.6934509 C129.0625,36.8627533 128.917542,37 128.75,37 C128.577411,37 128.4375,36.855612 128.4375,36.6974433 L128.4375,36.2913861 C128.342616,36.2364988 128.263501,36.1573838 128.208614,36.0625 L127.806549,36.0625 C127.637247,36.0625 127.5,35.9175415 127.5,35.75 C127.5,35.577411 127.634411,35.4375 127.806549,35.4375 L128.208614,35.4375 C128.263501,35.3426162 128.342616,35.2635012 128.4375,35.2086139 Z",fill:r}),n.createElement("path",{className:"stroke-color fill-white",d:"M28.6960227,56.1349895 C28.6960227,55.1429691 29.4786923,54.1926774 30.4600887,54.0260004 C30.4600887,54.0260004 36.4804935,52.7556391 46.2317709,52.7556391 C57.3677087,52.7556391 66.0324375,54.0948818 66.0324375,54.0948818 C67.0148852,54.2295817 67.8113164,55.1487922 67.8113164,56.1438829 L67.8113164,104.101951 C67.8113164,105.098883 67.0004601,105.966124 66.0231367,106.037317 C66.0231367,106.037317 57.0783775,106.688942 48.2536696,107.331436 C39.4289616,107.97393 30.4312685,110.298757 30.4312685,110.298757 C29.4729187,110.530897 28.6960227,109.922074 28.6960227,108.922872 L28.6960227,56.1349895 Z M107.774385,56.1349895 C107.774385,55.1429691 106.991715,54.1926774 106.010319,54.0260004 C106.010319,54.0260004 99.9899138,52.7556391 90.2386364,52.7556391 C79.1026986,52.7556391 70.4379698,54.0948818 70.4379698,54.0948818 C69.4555221,54.2295817 68.6590909,55.1487922 68.6590909,56.1438829 L68.6590909,104.101951 C68.6590909,105.098883 69.4699472,105.966124 70.4472706,106.037317 C70.4472706,106.037317 79.3920298,106.688942 88.2167377,107.331436 C97.0414457,107.97393 106.039139,110.298757 106.039139,110.298757 C106.997489,110.530897 107.774385,109.922074 107.774385,108.922872 L107.774385,56.1349895 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"stroke-color fill-white",d:"M24.5,55.5385148 C24.5,54.5437169 25.2937254,53.6358332 26.2842442,53.5154783 C26.2842442,53.5154783 36.328268,52.1541353 46.0795455,52.1541353 C57.2154833,52.1541353 65.880212,53.493378 65.880212,53.493378 C66.8626597,53.628078 67.6590909,54.5450678 67.6590909,55.5385148 L67.6590909,104.707319 C67.6590909,105.702117 66.854409,106.397236 65.873167,106.269834 C65.873167,106.269834 56.8693182,104.925421 46.0795455,104.925421 C35.2897727,104.925421 26.2723499,106.271548 26.2723499,106.271548 C25.2935081,106.402446 24.5,105.700766 24.5,104.707319 L24.5,55.5385148 Z M67.6590909,55.5385148 C67.6590909,54.5437169 68.4528163,53.6358332 69.4433351,53.5154783 C69.4433351,53.5154783 79.4873589,52.1541353 89.2386364,52.1541353 C100.374574,52.1541353 109.039303,53.493378 109.039303,53.493378 C110.021751,53.628078 110.818182,54.5450678 110.818182,55.5385148 L110.818182,104.707319 C110.818182,105.702117 110.0135,106.397236 109.032258,106.269834 C109.032258,106.269834 100.028409,104.925421 89.2386364,104.925421 C78.4488636,104.925421 69.4314408,106.271548 69.4314408,106.271548 C68.452599,106.402446 67.6590909,105.700766 67.6590909,104.707319 L67.6590909,55.5385148 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M75,145 C92.9492544,145 107.5,143.656854 107.5,142 C107.5,140.343146 92.9492544,139 75,139 C57.0507456,139 42.5,140.343146 42.5,142 C42.5,143.656854 57.0507456,145 75,145 Z M73.6534091,56.1363656 C73.6534091,55.1435852 74.4449488,54.4789956 75.4238059,54.652396 L80.3251831,55.5206542 L78.9752933,58.7180233 C78.5889267,59.633177 78.8348134,60.9519608 79.5331474,61.6725356 L85.4008667,67.7271331 L80.3251831,79.4305004 L85.4008667,90.8693423 L79.566026,96.600942 C78.8534067,97.3009522 78.8094216,98.4791911 79.4650655,99.2295031 L82.628255,102.849424 L75.4265498,104.11876 C74.4472712,104.291362 73.6534091,103.624162 73.6534091,102.633696 L73.6534091,56.1363656 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color fill-white",d:"M67.6590909,55.5385148 C67.6590909,54.5437169 68.4398495,53.9274678 69.410837,54.1640018 L76.6339368,55.9235594 L74.2082646,59.7351425 C73.6771908,60.569646 73.8423899,61.7847372 74.579969,62.4515857 L81.0026388,68.2583499 L75.4517045,79.7540898 L81.0026388,89.9057851 L74.5014209,96.5802373 C73.8084414,97.2916823 73.8804366,98.3579493 74.6693627,98.9673234 L77.9459525,101.498192 L69.2777292,105.720178 C68.38378,106.155589 67.6590909,105.700766 67.6590909,104.707319 L67.6590909,55.5385148 Z",fill:"#FFFFFF",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),n.createElement("path",{className:"fill-color",d:"M31.09375,74.8061271 C31.09375,74.2550262 31.5411152,73.8082707 32.0919037,73.8082707 L60.0955963,73.8082707 C60.6468614,73.8082707 61.09375,74.251184 61.09375,74.8061271 C61.09375,75.3572279 60.6463848,75.8039834 60.0955963,75.8039834 L32.0919037,75.8039834 C31.5406386,75.8039834 31.09375,75.3610701 31.09375,74.8061271 Z M31.09375,80.8082707 C31.09375,80.2571698 31.5411152,79.8104143 32.0919037,79.8104143 L60.0955963,79.8104143 C60.6468614,79.8104143 61.09375,80.2533276 61.09375,80.8082707 C61.09375,81.3593715 60.6463848,81.8061271 60.0955963,81.8061271 L32.0919037,81.8061271 C31.5406386,81.8061271 31.09375,81.3632137 31.09375,80.8082707 Z M31.09375,86.8104143 C31.09375,86.2593134 31.5386963,85.8125579 32.0871477,85.8125579 L48.1003523,85.8125579 C48.6489907,85.8125579 49.09375,86.2554713 49.09375,86.8104143 C49.09375,87.3615152 48.6488037,87.8082707 48.1003523,87.8082707 L32.0871477,87.8082707 C31.5385093,87.8082707 31.09375,87.3653573 31.09375,86.8104143 Z M51.49375,86.8104143 C51.49375,86.2593134 51.9447252,85.8125579 52.484528,85.8125579 L56.502972,85.8125579 C57.0501636,85.8125579 57.49375,86.2554713 57.49375,86.8104143 C57.49375,87.3615152 57.0427748,87.8082707 56.502972,87.8082707 L52.484528,87.8082707 C51.9373364,87.8082707 51.49375,87.3653573 51.49375,86.8104143 Z",fill:r}),n.createElement("path",{className:"stroke-color",d:"M48.5273522,34.7647694 C48.5467621,34.7647694 49.5559827,34.7648311 53.5032935,34.7649543 M53.7433867,52.8098822 C48.8081991,52.8098822 47.3290151,52.8098822 47.3290151,52.8098822 C42.3630139,52.8098822 38.168735,50.5995078 38.168735,45.6153919",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(45.956061, 43.787326) rotate(90.000000) translate(-45.956061, -43.787326) "}),n.createElement("path",{className:"stroke-color",d:"M29.9425084,54.2248865 C29.9425084,51.3495045 31.9455767,48.3164009 35.6069523,48.0574916 L58.2824081,48.0574916 C60.5998701,48.0574916 62.4785442,49.9473402 62.4785442,52.2680179 C62.4785442,54.5934274 60.5954995,56.4785442 58.2824081,56.4785442 L39.5648134,56.4785442",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"translate(46.210526, 52.268018) rotate(90.000000) translate(-46.210526, -52.268018) "}),n.createElement("rect",{className:"stroke-color fill-white",fill:"#FFFFFF",height:"8.42105263",rx:"1",stroke:r,strokeWidth:"2",transform:"translate(116.761439, 60.552519) scale(-1, 1) rotate(45.000000) translate(-116.761439, -60.552519) ",width:"4.79545455",x:"114.363712",y:"56.3419929"}),n.createElement("path",{className:"stroke-color fill-white",d:"M123.539164,61.3515768 C123.147424,60.9598368 122.510815,60.9613104 122.125838,61.3462876 L117.599803,65.8723224 C117.210984,66.2611412 117.214326,66.8948826 117.605092,67.285649 L128.095643,77.7762001 C128.487383,78.16794 129.123992,78.1664665 129.50897,77.7814893 L134.035004,73.2554545 C134.423823,72.8666357 134.420482,72.2328943 134.029715,71.8421279 L123.539164,61.3515768 Z M103.329545,63.481203 C112.268086,63.481203 119.514205,56.210038 119.514205,47.2406015 C119.514205,38.271165 112.268086,31 103.329545,31 C94.3910051,31 87.1448864,38.271165 87.1448864,47.2406015 C87.1448864,56.210038 94.3910051,63.481203 103.329545,63.481203 Z",fill:"#FFFFFF",stroke:r,strokeWidth:"2"}),n.createElement("path",{className:"fill-color fill-opacity",d:"M121.963311,65.663821 C121.727831,65.4283409 121.342447,65.4319361 121.109104,65.66528 L120.269321,66.5050623 C120.033035,66.7413482 120.036926,67.1283342 120.267862,67.3592702 L128.772316,75.8637239 C129.007796,76.099204 129.39318,76.0956087 129.626524,75.8622649 L130.466306,75.0224825 C130.702592,74.7861966 130.698701,74.3992106 130.467765,74.1682747 L121.963311,65.663821 Z M96.3596054,58.705387 C98.3267224,59.8307464 91.7811151,47.2744178 98.1580266,40.8099242 C104.534938,34.3454307 115.990851,42.6502669 115.057515,40.8099242 C114.701837,40.1086033 114.287033,39.4425406 113.819691,38.8183475 C111.359011,35.5318067 107.441818,33.406015 103.02983,33.406015 C95.5810459,33.406015 89.5426136,39.4653192 89.5426136,46.9398496 C89.5426136,51.9796152 92.2878329,56.3759843 96.3596054,58.705387 Z",fill:r,fillOpacity:"0.1"}),n.createElement("path",{className:"stroke-color",d:"M103.329545,36.4135338 C97.3705185,36.4135338 92.5397727,41.2609771 92.5397727,47.2406015 C92.5397727,48.6694994 92.81562,50.033747 93.3167936,51.2826485",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})))},h=r(7),f=r(1);r(968);var p=e=>{let t,{view:r,isLoading:n}=e;const s=!n||r!==f.ug&&r!==f.vg?o.a.createElement(i.a,h.a["".concat(r,"State")]):o.a.createElement(i.a,h.a.loadingState);switch(r){case f.tg:t=o.a.createElement(a.a,null);break;case f.Ag:t=o.a.createElement(u,null);break;case f.zg:t=o.a.createElement(d,null);break;default:t=o.a.createElement(c,null)}return o.a.createElement("div",{className:"be-empty"},t,o.a.createElement("div",null,s))}},function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r(0),o=r.n(n),i=r(199),a=r.n(i),s=r(60),l=r(363),c=(r(614),r(7)),u=r(1);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},d.apply(this,arguments)}var h=Object(s.c)((e=>{let{isOpen:t,currentFolderId:r,token:n,sharedLink:i,sharedLinkPassword:s,apiHost:h,uploadHost:f,onClose:p,parentElement:m,appElement:b,onUpload:g,contentUploaderProps:v,requestInterceptor:y,responseInterceptor:C,intl:w}=e;return o.a.createElement(a.a,{appElement:b,className:u.B,contentLabel:w.formatMessage(c.a.upload),isOpen:t,onRequestClose:p,overlayClassName:u.C,parentSelector:()=>m,portalClassName:"".concat(u.z," be-modal-upload")},o.a.createElement(l.a,d({},v,{apiHost:h,onClose:p,onComplete:g,requestInterceptor:y,responseInterceptor:C,rootFolderId:r,sharedLink:i,sharedLinkPassword:s,token:n,uploadHost:f})))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r(0),o=r.n(n),i=r(60),a=r(562),s=r(7),l=r(1);r(955);var c=Object(i.c)((e=>{let{isHeaderLogoVisible:t=!0,view:r,isSmall:n,searchQuery:i,onSearch:c,logoUrl:u,intl:d}=e;const{formatMessage:h}=d,f=h(s.a.searchPlaceholder),p=r===l.ug,m=r===l.zg;return o.a.createElement("div",{className:"be-header"},t&&o.a.createElement(a.a,{isSmall:n,url:u}),o.a.createElement("div",{className:"be-search"},o.a.createElement("input",{"aria-label":f,"data-testid":"be-Header-searchInput",disabled:!p&&!m,onChange:e=>{let{currentTarget:t}=e;return c(t.value)},placeholder:f,type:"search",value:i})))}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));var n=r(0),o=r.n(n),i=r(199),a=r.n(i),s=r(105),l=r(60),c=r(58),u=r(30),d=r(7),h=r(1);function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}var p=Object(l.c)((e=>{let t,{isOpen:r,onCreate:n,onCancel:i,isLoading:l,errorCode:p,parentElement:m,appElement:b,intl:g}=e,v=null;const y=()=>{v&&v.value&&n(v.value)};switch(p){case h.hc:t=d.a.createDialogErrorInUse;break;case h.ic:t=d.a.createDialogErrorTooLong;break;default:t=p?d.a.createDialogErrorInvalid:null}return o.a.createElement(a.a,{appElement:b,className:h.A,contentLabel:g.formatMessage(d.a.createDialogLabel),isOpen:r,onRequestClose:i,overlayClassName:h.C,parentSelector:()=>m,portalClassName:h.z},o.a.createElement("label",null,t?o.a.createElement("div",{className:"be-modal-error"},o.a.createElement(s.a,t)):null,o.a.createElement(s.a,f({tagName:"div"},d.a.createDialogText)),o.a.createElement("input",{ref:e=>{v=e,v instanceof HTMLInputElement&&(v.focus(),v.select())},onKeyDown:e=>{let{key:t}=e;if("Enter"===t)y()},required:!0,type:"text"})),o.a.createElement("div",{className:"be-modal-btns"},o.a.createElement(c.a,{"data-testid":"be-btn-create-folder",isLoading:l,onClick:y,type:"button"},o.a.createElement(s.a,d.a.create)),o.a.createElement(u.b,{"data-testid":"be-btn-create-folder-cancel",isDisabled:l,onClick:i,type:"button"},o.a.createElement(s.a,d.a.cancel))))}))},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r(0),o=r.n(n);r(969);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class a extends n.PureComponent{constructor(e){super(e),i(this,"startProgress",(()=>{const{percent:e}=this.state;0===e?this.interval=setInterval(this.incrementProgress,100):100===e&&(this.timeout=setTimeout(this.resetProgress,600))})),i(this,"incrementProgress",(()=>{const{percent:e}=this.state;this.setState({percent:e+2/(e||1)})})),i(this,"resetProgress",(()=>{this.setState(a.defaultProps)}));const{percent:t}=e;this.state={percent:t}}clearTimeoutAndInterval(){clearInterval(this.interval),clearTimeout(this.timeout)}componentDidMount(){this.startProgress()}componentDidUpdate(e){const{percent:t}=this.props;e.percent!==t&&(this.clearTimeoutAndInterval(),this.setState({percent:t},this.startProgress))}componentWillUnmount(){this.clearTimeoutAndInterval()}render(){const{percent:e}=this.state,t={opacity:e>0&&e<100?1:0,transitionDelay:e>0&&e<100?"0":"0.4s"};return o.a.createElement("div",{className:"be-progress-container",style:t},o.a.createElement("div",{className:"be-progress",style:{width:"".concat(e,"%")}}))}}i(a,"defaultProps",{percent:0});var s=a},function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r(0),o=r.n(n),i=r(60),a=r(7),s=r(1);r(975);var l=Object(i.c)((e=>{let{className:t,canSetShareAccess:r,onChange:n,item:i,intl:l}=e;const{allowed_shared_link_access_levels:c,permissions:u,shared_link:d}=i;if(!c)return o.a.createElement("span",null);const{access:h=s.c}=d||{},{can_set_share_access:f}=u||{},p=c.indexOf(s.d)>-1,m=c.indexOf(s.a)>-1,b=c.indexOf(s.b)>-1;return r&&f&&(p||b||m)?o.a.createElement("select",{className:"be-share-access-select ".concat(t),onChange:e=>{let{target:t}=e;return n(t.value,i)},value:h},p?o.a.createElement("option",{value:s.d},l.formatMessage(a.a.shareAccessOpen)):null,m?o.a.createElement("option",{value:s.a},l.formatMessage(a.a.shareAccessCollab)):null,b?o.a.createElement("option",{value:s.b},l.formatMessage(a.a.shareAccessCompany)):null,o.a.createElement("option",{value:s.c},h===s.c?l.formatMessage(a.a.shareAccessNone):l.formatMessage(a.a.shareAccessRemove))):o.a.createElement("span",null)}))},,,function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";var n=r(683),o=r(1);class i extends n.a{getType(){return"".concat(o.jg,",").concat(o.lg)}getClientName(){return o.J}}t.a=i},function(e,t,r){"use strict";var n=r(683),o=r(1);class i extends n.a{getType(){return o.kg}getClientName(){return o.K}}t.a=i},,,,,,function(e,t,r){"use strict";r.r(t),function(e){var t=r(1e3),n=r(1001),o=r(683);e.Box=e.Box||{},e.Box.FilePicker=t.a,e.Box.FolderPicker=n.a,e.Box.ContentPicker=o.a}.call(this,r(51))},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){}]);