@blueprintjs/core
Version:
Core styles & components
1 lines • 168 kB
JavaScript
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@blueprintjs/icons"),require("classnames"),require("popper.js"),require("react"),require("react-dom"),require("react-popper"),require("react-transition-group"),require("resize-observer-polyfill"),require("tslib")):"function"==typeof define&&define.amd?define(["@blueprintjs/icons","classnames","popper.js","react","react-dom","react-popper","react-transition-group","resize-observer-polyfill","tslib"],t):"object"==typeof exports?exports.Blueprint=t(require("@blueprintjs/icons"),require("classnames"),require("popper.js"),require("react"),require("react-dom"),require("react-popper"),require("react-transition-group"),require("resize-observer-polyfill"),require("tslib")):(e.Blueprint=e.Blueprint||{},e.Blueprint.Core=t(e.Blueprint.Icons,e.classNames,e.Popper,e.React,e.ReactDOM,e.ReactPopper,e.ReactTransitionGroup,e.ResizeObserver,e.window))}(self,(function(e,t,n,r,o,i,a,s,l){return function(){"use strict";var u={787:function(e,t,n){n.r(t),n.d(t,{AbstractComponent:function(){return jr},AbstractComponent2:function(){return Xr},AbstractPureComponent:function(){return Zr},AbstractPureComponent2:function(){return Qr},Alert:function(){return $i},Alignment:function(){return y},AnchorButton:function(){return Bi},AnimationStates:function(){return sa},Blockquote:function(){return Yi},Boundary:function(){return Jr},Breadcrumb:function(){return ea},Breadcrumbs:function(){return ua},Button:function(){return Mi},ButtonGroup:function(){return ca},Callout:function(){return pa},Card:function(){return da},Checkbox:function(){return Da},Classes:function(){return r},Code:function(){return qi},Collapse:function(){return ha},CollapsibleList:function(){return fa},Colors:function(){return $r},ContextMenu:function(){return vl},ContextMenuTarget:function(){return ma},ControlGroup:function(){return Sa},DISPLAYNAME_PREFIX:function(){return eo},Dialog:function(){return Ji},DialogStep:function(){return va},Divider:function(){return _a},Drawer:function(){return Na},EditableText:function(){return ba},Elevation:function(){return g},Expander:function(){return ol},FileInput:function(){return ka},FocusStyleManager:function(){return Mr},FormGroup:function(){return La},H1:function(){return Ui},H2:function(){return Gi},H3:function(){return Ki},H4:function(){return Vi},H5:function(){return Wi},H6:function(){return zi},HTMLSelect:function(){return Xa},HTMLTable:function(){return Za},HandleInteractionKind:function(){return Gs},HandleType:function(){return Us},Hotkey:function(){return ds},HotkeyConfig:function(){return E.HotkeyConfig},Hotkeys:function(){return hs},HotkeysContext:function(){return bs},HotkeysDialog2:function(){return Ts},HotkeysProvider:function(){return Is},HotkeysProviderProps:function(){return h.HotkeysProviderProps},HotkeysTarget:function(){return Ns},HotkeysTarget2:function(){return Ps},HotkeysTarget2Props:function(){return m.HotkeysTarget2Props},IAnchorButtonProps:function(){return s.IAnchorButtonProps},IButtonProps:function(){return s.IButtonProps},IHotkeyProps:function(){return c.IHotkeyProps},IHotkeysDialogProps:function(){return p.IHotkeysDialogProps},IHotkeysTargetComponent:function(){return d.IHotkeysTargetComponent},IKeyCombo:function(){return l.IKeyCombo},IKeyComboProps:function(){return u.IKeyComboProps},INavbarDividerProps:function(){return v.INavbarDividerProps},Icon:function(){return ki},IconName:function(){return Di.IconName},InputGroup:function(){return wa},Intent:function(){return _},KeyCombo:function(){return ps},Keys:function(){return o},Label:function(){return Xi},Menu:function(){return aa},MenuDivider:function(){return ta},MenuItem:function(){return ra},MultiSlider:function(){return js},MultistepDialog:function(){return ya},Navbar:function(){return Ls},NavbarDivider:function(){return As},NavbarGroup:function(){return Ds},NavbarHeading:function(){return ks},NonIdealState:function(){return xs},NumericInput:function(){return Wa},OL:function(){return Zi},OverflowDirection:function(){return Fi},OverflowList:function(){return la},Overlay:function(){return si},PanelStack:function(){return Ms},Popover:function(){return bi},PopoverInteractionKind:function(){return Ci},PopoverPosition:function(){return Hs},PopperBoundary:function(){return Bs.Boundary},PopperModifiers:function(){return Bs.Modifiers},Portal:function(){return ii},Position:function(){return N},Pre:function(){return ji},ProgressBar:function(){return Fs},Radio:function(){return Aa},RadioGroup:function(){return qa},RangeSlider:function(){return Js},ResizeSensor:function(){return ci},Slider:function(){return $s},Spinner:function(){return xi},Switch:function(){return Pa},Tab:function(){return el},Tabs:function(){return al},Tag:function(){return ul},TagInput:function(){return pl},Text:function(){return na},TextArea:function(){return ja},Toast:function(){return dl},Toaster:function(){return hl},Tooltip:function(){return pi},Tree:function(){return ml},TreeNode:function(){return fl},UL:function(){return Qi},UseHotkeysOptions:function(){return f.UseHotkeysOptions},UseHotkeysReturnValue:function(){return f.UseHotkeysReturnValue},Utils:function(){return i},combineRefs:function(){return io},comboMatches:function(){return rs},getKeyCombo:function(){return as},getKeyComboString:function(){return is},getPositionIgnoreAngles:function(){return b},getRef:function(){return so},hideHotkeysDialog:function(){return ys},isPositionHorizontal:function(){return T},isPositionVertical:function(){return C},isRefCallback:function(){return oo},isRefObject:function(){return ro},mergeRefs:function(){return ao},parseKeyCombo:function(){return os},refHandler:function(){return uo},removeNonHTMLProps:function(){return no},setHotkeysDialogProps:function(){return vs},setRef:function(){return lo},useHotkeys:function(){return Ss}});var r={};n.r(r),n.d(r,{ACTIVE:function(){return O},ALERT:function(){return ye},ALERT_BODY:function(){return ge},ALERT_CONTENTS:function(){return _e},ALERT_FOOTER:function(){return Ne},ALIGN_LEFT:function(){return I},ALIGN_RIGHT:function(){return S},BLOCKQUOTE:function(){return pe},BREADCRUMB:function(){return Te},BREADCRUMBS:function(){return be},BREADCRUMBS_COLLAPSED:function(){return Oe},BREADCRUMB_CURRENT:function(){return Ce},BUTTON:function(){return Ie},BUTTON_GROUP:function(){return Se},BUTTON_SPINNER:function(){return Re},BUTTON_TEXT:function(){return Pe},CALLOUT:function(){return Ae},CALLOUT_ICON:function(){return De},CARD:function(){return ke},CHECKBOX:function(){return Nt},CODE:function(){return de},CODE_BLOCK:function(){return he},COLLAPSE:function(){return Le},COLLAPSE_BODY:function(){return xe},COLLAPSIBLE_LIST:function(){return we},CONTEXT_MENU:function(){return Me},CONTEXT_MENU_POPOVER_TARGET:function(){return Be},CONTROL:function(){return yt},CONTROL_GROUP:function(){return He},CONTROL_INDICATOR:function(){return gt},CONTROL_INDICATOR_CHILD:function(){return _t},DARK:function(){return R},DIALOG:function(){return Fe},DIALOG_BODY:function(){return Ge},DIALOG_CLOSE_BUTTON:function(){return Ke},DIALOG_CONTAINER:function(){return Ue},DIALOG_FOOTER:function(){return Ve},DIALOG_FOOTER_ACTIONS:function(){return We},DIALOG_HEADER:function(){return ze},DIALOG_STEP:function(){return Ye},DIALOG_STEP_CONTAINER:function(){return qe},DIALOG_STEP_ICON:function(){return Xe},DIALOG_STEP_TITLE:function(){return je},DISABLED:function(){return P},DIVIDER:function(){return Ze},DRAWER:function(){return Qe},DRAWER_BODY:function(){return Je},DRAWER_FOOTER:function(){return $e},DRAWER_HEADER:function(){return et},EDITABLE_TEXT:function(){return tt},EDITABLE_TEXT_CONTENT:function(){return nt},EDITABLE_TEXT_EDITING:function(){return rt},EDITABLE_TEXT_INPUT:function(){return ot},EDITABLE_TEXT_PLACEHOLDER:function(){return it},ELEVATION_0:function(){return q},ELEVATION_1:function(){return j},ELEVATION_2:function(){return X},ELEVATION_3:function(){return Z},ELEVATION_4:function(){return Q},END:function(){return Vn},FILE_INPUT:function(){return Ot},FILE_INPUT_HAS_SELECTION:function(){return It},FILE_UPLOAD_INPUT:function(){return St},FILE_UPLOAD_INPUT_CUSTOM_TEXT:function(){return Rt},FILL:function(){return A},FIXED:function(){return D},FIXED_TOP:function(){return k},FLEX_EXPANDER:function(){return at},FOCUS_DISABLED:function(){return ne},FORM_CONTENT:function(){return Ht},FORM_GROUP:function(){return Bt},FORM_HELPER_TEXT:function(){return Ft},HEADING:function(){return fe},HOTKEY:function(){return kt},HOTKEY_COLUMN:function(){return xt},HOTKEY_DIALOG:function(){return wt},HOTKEY_LABEL:function(){return Lt},HTML_SELECT:function(){return st},HTML_TABLE:function(){return ut},HTML_TABLE_BORDERED:function(){return ct},HTML_TABLE_CONDENSED:function(){return pt},HTML_TABLE_STRIPED:function(){return dt},ICON:function(){return Or},ICON_LARGE:function(){return Sr},ICON_STANDARD:function(){return Ir},INLINE:function(){return L},INPUT:function(){return ht},INPUT_ACTION:function(){return Et},INPUT_GHOST:function(){return ft},INPUT_GROUP:function(){return mt},INPUT_LEFT_CONTAINER:function(){return vt},INTENT_DANGER:function(){return te},INTENT_PRIMARY:function(){return J},INTENT_SUCCESS:function(){return $},INTENT_WARNING:function(){return ee},INTERACTIVE:function(){return x},KEY:function(){return Pt},KEY_COMBO:function(){return At},LABEL:function(){return Mt},LARGE:function(){return w},LIST:function(){return me},LIST_UNSTYLED:function(){return ve},LOADING:function(){return M},MENU:function(){return Ut},MENU_DIVIDER:function(){return Wt},MENU_HEADER:function(){return zt},MENU_ITEM:function(){return Gt},MENU_ITEM_LABEL:function(){return Kt},MENU_SUBMENU:function(){return Vt},MINIMAL:function(){return B},MODIFIER_KEY:function(){return Dt},MONOSPACE_TEXT:function(){return ie},MULTILINE:function(){return F},MULTISTEP_DIALOG:function(){return Yt},MULTISTEP_DIALOG_FOOTER:function(){return Zt},MULTISTEP_DIALOG_LEFT_PANEL:function(){return jt},MULTISTEP_DIALOG_PANELS:function(){return qt},MULTISTEP_DIALOG_RIGHT_PANEL:function(){return Xt},NAVBAR:function(){return Qt},NAVBAR_DIVIDER:function(){return en},NAVBAR_GROUP:function(){return Jt},NAVBAR_HEADING:function(){return $t},NON_IDEAL_STATE:function(){return tn},NON_IDEAL_STATE_VISUAL:function(){return nn},NUMERIC_INPUT:function(){return rn},OUTLINED:function(){return H},OVERFLOW_LIST:function(){return on},OVERFLOW_LIST_SPACER:function(){return an},OVERLAY:function(){return sn},OVERLAY_BACKDROP:function(){return ln},OVERLAY_CONTAINER:function(){return un},OVERLAY_CONTENT:function(){return cn},OVERLAY_INLINE:function(){return pn},OVERLAY_OPEN:function(){return dn},OVERLAY_SCROLL_CONTAINER:function(){return hn},PANEL_STACK:function(){return fn},PANEL_STACK_HEADER:function(){return mn},PANEL_STACK_HEADER_BACK:function(){return vn},PANEL_STACK_VIEW:function(){return En},POPOVER:function(){return yn},POPOVER_ARROW:function(){return gn},POPOVER_BACKDROP:function(){return _n},POPOVER_CAPTURING_DISMISS:function(){return Nn},POPOVER_CONTENT:function(){return Tn},POPOVER_CONTENT_SIZING:function(){return Cn},POPOVER_DISMISS:function(){return bn},POPOVER_DISMISS_OVERRIDE:function(){return On},POPOVER_OPEN:function(){return In},POPOVER_TARGET:function(){return Sn},POPOVER_WRAPPER:function(){return Rn},PORTAL:function(){return xn},POSITION_BOTTOM:function(){return W},POSITION_LEFT:function(){return z},POSITION_RIGHT:function(){return Y},POSITION_TOP:function(){return V},PROGRESS_BAR:function(){return An},PROGRESS_METER:function(){return Dn},PROGRESS_NO_ANIMATION:function(){return Ln},PROGRESS_NO_STRIPES:function(){return kn},RADIO:function(){return Tt},ROUND:function(){return U},RTL:function(){return Ee},RUNNING_TEXT:function(){return oe},SELECT:function(){return lt},SKELETON:function(){return wn},SLIDER:function(){return Mn},SLIDER_AXIS:function(){return Bn},SLIDER_HANDLE:function(){return Hn},SLIDER_LABEL:function(){return Fn},SLIDER_PROGRESS:function(){return Gn},SLIDER_TRACK:function(){return Un},SMALL:function(){return G},SPINNER:function(){return Wn},SPINNER_ANIMATION:function(){return zn},SPINNER_HEAD:function(){return Yn},SPINNER_NO_SPIN:function(){return qn},SPINNER_TRACK:function(){return jn},START:function(){return Kn},SWITCH:function(){return Ct},SWITCH_INNER_TEXT:function(){return bt},TAB:function(){return Xn},TABS:function(){return er},TAB_INDICATOR:function(){return Zn},TAB_INDICATOR_WRAPPER:function(){return Qn},TAB_LIST:function(){return Jn},TAB_PANEL:function(){return $n},TAG:function(){return tr},TAG_INPUT:function(){return rr},TAG_INPUT_ICON:function(){return or},TAG_INPUT_VALUES:function(){return ir},TAG_REMOVE:function(){return nr},TEXT_DISABLED:function(){return ue},TEXT_LARGE:function(){return ae},TEXT_MUTED:function(){return le},TEXT_OVERFLOW_ELLIPSIS:function(){return ce},TEXT_SMALL:function(){return se},TOAST:function(){return ar},TOAST_CONTAINER:function(){return sr},TOAST_MESSAGE:function(){return lr},TOOLTIP:function(){return ur},TOOLTIP_INDICATOR:function(){return cr},TRANSITION_CONTAINER:function(){return Pn},TREE:function(){return pr},TREE_NODE:function(){return dr},TREE_NODE_CARET:function(){return hr},TREE_NODE_CARET_CLOSED:function(){return fr},TREE_NODE_CARET_NONE:function(){return mr},TREE_NODE_CARET_OPEN:function(){return vr},TREE_NODE_CONTENT:function(){return Er},TREE_NODE_EXPANDED:function(){return yr},TREE_NODE_ICON:function(){return gr},TREE_NODE_LABEL:function(){return _r},TREE_NODE_LIST:function(){return Nr},TREE_NODE_SECONDARY_LABEL:function(){return Tr},TREE_NODE_SELECTED:function(){return Cr},TREE_ROOT:function(){return br},UI_TEXT:function(){return re},VERTICAL:function(){return K},alignmentClass:function(){return Pr},elevationClass:function(){return Ar},getClassNamespace:function(){return Rr},iconClass:function(){return Dr},intentClass:function(){return kr},positionClass:function(){return Lr}});var o={};n.r(o),n.d(o,{ARROW_DOWN:function(){return _o},ARROW_LEFT:function(){return Eo},ARROW_RIGHT:function(){return go},ARROW_UP:function(){return yo},BACKSPACE:function(){return co},DELETE:function(){return No},ENTER:function(){return ho},ESCAPE:function(){return mo},SHIFT:function(){return fo},SPACE:function(){return vo},TAB:function(){return po},isKeyboardClick:function(){return To}});var i={};n.r(i),n.d(i,{approxEqual:function(){return zr},arrayLengthCompare:function(){return Wr},arraysEqual:function(){return Co},clamp:function(){return Yr},countDecimalPlaces:function(){return qr},createReactRef:function(){return zo},deepCompareKeys:function(){return Oo},elementIsOrContains:function(){return xo},ensureElement:function(){return Go},getDeepUnequalKeyValues:function(){return Io},getDisplayName:function(){return Vo},getRef:function(){return so},isDarkTheme:function(){return qo},isElementOfType:function(){return Wo},isFunction:function(){return Do},isNodeEnv:function(){return Vr},isReactChildrenElementOrElements:function(){return Uo},isReactElement:function(){return Ko},isReactNodeEmpty:function(){return Fo},safeInvoke:function(){return ko},safeInvokeMember:function(){return Yo},safeInvokeOrValue:function(){return Lo},setRef:function(){return lo},shallowCompareKeys:function(){return bo},throttle:function(){return Bo},throttleEvent:function(){return wo},throttleReactEventCallback:function(){return Mo}});var a={};n.r(a),n.d(a,{hide:function(){return Ri},isOpen:function(){return Pi},show:function(){return Si}});var s={};n.r(s),n.d(s,{T:function(){return wi}});var l={};n.r(l),n.d(l,{A6:function(){return rs},q1:function(){return as},$w:function(){return is},cU:function(){return ss},SG:function(){return os}});var u={};n.r(u),n.d(u,{M:function(){return ps}});var c={};n.r(c),n.d(c,{q:function(){return ds}});var p={};n.r(p),n.d(p,{dX:function(){return ys},sc:function(){return gs},Ar:function(){return ms},wq:function(){return vs},_T:function(){return Es}});var d={};n.r(d),n.d(d,{N:function(){return Ns}});var h={};n.r(h),n.d(h,{B:function(){return bs},N:function(){return Is}});var f={};n.r(f),n.d(f,{y:function(){return Ss}});var m={};n.r(m),n.d(m,{h:function(){return Ps}});var v={};n.r(v),n.d(v,{o:function(){return As}});var E={};n.r(E);var y={CENTER:"center",LEFT:"left",RIGHT:"right"},g={ZERO:0,ONE:1,TWO:2,THREE:3,FOUR:4},_={NONE:"none",PRIMARY:"primary",SUCCESS:"success",WARNING:"warning",DANGER:"danger"},N={BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",LEFT:"left",LEFT_BOTTOM:"left-bottom",LEFT_TOP:"left-top",RIGHT:"right",RIGHT_BOTTOM:"right-bottom",RIGHT_TOP:"right-top",TOP:"top",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"};function T(e){return e===N.TOP||e===N.TOP_LEFT||e===N.TOP_RIGHT||e===N.BOTTOM||e===N.BOTTOM_LEFT||e===N.BOTTOM_RIGHT}function C(e){return e===N.LEFT||e===N.LEFT_TOP||e===N.LEFT_BOTTOM||e===N.RIGHT||e===N.RIGHT_TOP||e===N.RIGHT_BOTTOM}function b(e){return e===N.TOP||e===N.TOP_LEFT||e===N.TOP_RIGHT?N.TOP:e===N.BOTTOM||e===N.BOTTOM_LEFT||e===N.BOTTOM_RIGHT?N.BOTTOM:e===N.LEFT||e===N.LEFT_TOP||e===N.LEFT_BOTTOM?N.LEFT:N.RIGHT}var O="bp3-active",I="bp3-align-left",S="bp3-align-right",R="bp3-dark",P="bp3-disabled",A="bp3-fill",D="bp3-fixed",k="bp3-fixed-top",L="bp3-inline",x="bp3-interactive",w="bp3-large",M="bp3-loading",B="bp3-minimal",H="bp3-outlined",F="bp3-multiline",U="bp3-round",G="bp3-small",K="bp3-vertical",V=Lr(N.TOP),W=Lr(N.BOTTOM),z=Lr(N.LEFT),Y=Lr(N.RIGHT),q=Ar(g.ZERO),j=Ar(g.ONE),X=Ar(g.TWO),Z=Ar(g.THREE),Q=Ar(g.FOUR),J=kr(_.PRIMARY),$=kr(_.SUCCESS),ee=kr(_.WARNING),te=kr(_.DANGER),ne="bp3-focus-disabled",re="bp3-ui-text",oe="bp3-running-text",ie="bp3-monospace-text",ae="bp3-text-large",se="bp3-text-small",le="bp3-text-muted",ue="bp3-text-disabled",ce="bp3-text-overflow-ellipsis",pe="bp3-blockquote",de="bp3-code",he="bp3-code-block",fe="bp3-heading",me="bp3-list",ve="bp3-list-unstyled",Ee="bp3-rtl",ye="bp3-alert",ge=ye+"-body",_e=ye+"-contents",Ne=ye+"-footer",Te="bp3-breadcrumb",Ce=Te+"-current",be=Te+"s",Oe=Te+"s-collapsed",Ie="bp3-button",Se=Ie+"-group",Re=Ie+"-spinner",Pe=Ie+"-text",Ae="bp3-callout",De=Ae+"-icon",ke="bp3-card",Le="bp3-collapse",xe=Le+"-body",we="bp3-collapse-list",Me="bp3-context-menu",Be=Me+"-popover-target",He="bp3-control-group",Fe="bp3-dialog",Ue=Fe+"-container",Ge=Fe+"-body",Ke=Fe+"-close-button",Ve=Fe+"-footer",We=Fe+"-footer-actions",ze=Fe+"-header",Ye="bp3-dialog-step",qe=Ye+"-container",je=Ye+"-title",Xe=Ye+"-icon",Ze="bp3-divider",Qe="bp3-drawer",Je=Qe+"-body",$e=Qe+"-footer",et=Qe+"-header",tt="bp3-editable-text",nt=tt+"-content",rt=tt+"-editing",ot=tt+"-input",it=tt+"-placeholder",at="bp3-flex-expander",st="bp3-html-select",lt="bp3-select",ut="bp3-html-table",ct=ut+"-bordered",pt=ut+"-condensed",dt=ut+"-striped",ht="bp3-input",ft=ht+"-ghost",mt=ht+"-group",vt=ht+"-left-container",Et=ht+"-action",yt="bp3-control",gt=yt+"-indicator",_t=gt+"-child",Nt="bp3-checkbox",Tt="bp3-radio",Ct="bp3-switch",bt=Ct+"-inner-text",Ot="bp3-file-input",It="bp3-file-input-has-selection",St="bp3-file-upload-input",Rt="bp3-file-upload-input-custom-text",Pt="bp3-key",At=Pt+"-combo",Dt="bp3-modifier-key",kt="bp3-hotkey",Lt=kt+"-label",xt=kt+"-column",wt=kt+"-dialog",Mt="bp3-label",Bt="bp3-form-group",Ht="bp3-form-content",Ft="bp3-form-helper-text",Ut="bp3-menu",Gt=Ut+"-item",Kt=Gt+"-label",Vt="bp3-submenu",Wt=Ut+"-divider",zt=Ut+"-header",Yt="bp3-multistep-dialog",qt=Yt+"-panels",jt=Yt+"-left-panel",Xt=Yt+"-right-panel",Zt=Yt+"-footer",Qt="bp3-navbar",Jt=Qt+"-group",$t=Qt+"-heading",en=Qt+"-divider",tn="bp3-non-ideal-state",nn=tn+"-visual",rn="bp3-numeric-input",on="bp3-overflow-list",an=on+"-spacer",sn="bp3-overlay",ln=sn+"-backdrop",un=sn+"-container",cn=sn+"-content",pn=sn+"-inline",dn=sn+"-open",hn=sn+"-scroll-container",fn="bp3-panel-stack",mn=fn+"-header",vn=fn+"-header-back",En=fn+"-view",yn="bp3-popover",gn=yn+"-arrow",_n=yn+"-backdrop",Nn=yn+"-capturing-dismiss",Tn=yn+"-content",Cn=Tn+"-sizing",bn=yn+"-dismiss",On=bn+"-override",In=yn+"-open",Sn=yn+"-target",Rn=yn+"-wrapper",Pn="bp3-transition-container",An="bp3-progress-bar",Dn="bp3-progress-meter",kn="bp3-no-stripes",Ln="bp3-no-animation",xn="bp3-portal",wn="bp3-skeleton",Mn="bp3-slider",Bn=Mn+"-axis",Hn=Mn+"-handle",Fn=Mn+"-label",Un=Mn+"-track",Gn=Mn+"-progress",Kn="bp3-start",Vn="bp3-end",Wn="bp3-spinner",zn=Wn+"-animation",Yn=Wn+"-head",qn="bp3-no-spin",jn=Wn+"-track",Xn="bp3-tab",Zn=Xn+"-indicator",Qn=Zn+"-wrapper",Jn=Xn+"-list",$n=Xn+"-panel",er=Xn+"s",tr="bp3-tag",nr=tr+"-remove",rr="bp3-tag-input",or=rr+"-icon",ir=rr+"-values",ar="bp3-toast",sr=ar+"-container",lr=ar+"-message",ur="bp3-tooltip",cr=ur+"-indicator",pr="bp3-tree",dr="bp3-tree-node",hr=dr+"-caret",fr=hr+"-closed",mr=hr+"-none",vr=hr+"-open",Er=dr+"-content",yr=dr+"-expanded",gr=dr+"-icon",_r=dr+"-label",Nr=dr+"-list",Tr=dr+"-secondary-label",Cr=dr+"-selected",br="bp3-tree-root",Or="bp3-icon",Ir=Or+"-standard",Sr=Or+"-large";function Rr(){return"bp3"}function Pr(e){switch(e){case y.LEFT:return I;case y.RIGHT:return S;default:return}}function Ar(e){if(void 0!==e)return"bp3-elevation-"+e}function Dr(e){if(null!=e)return 0===e.indexOf("bp3-icon-")?e:"bp3-icon-"+e}function kr(e){if(null!=e&&e!==_.NONE)return"bp3-intent-"+e.toLowerCase()}function Lr(e){if(void 0!==e)return"bp3-position-"+e}var xr=function(){function e(e,t){var n=this;this.container=e,this.className=t,this.isRunning=!1,this.handleKeyDown=function(e){9===e.which&&(n.reset(),n.container.addEventListener("mousedown",n.handleMouseDown))},this.handleMouseDown=function(){n.reset(),n.container.classList.add(n.className),n.container.addEventListener("keydown",n.handleKeyDown)}}return e.prototype.isActive=function(){return this.isRunning},e.prototype.start=function(){this.container.addEventListener("mousedown",this.handleMouseDown),this.isRunning=!0},e.prototype.stop=function(){this.reset(),this.isRunning=!1},e.prototype.reset=function(){this.container.classList.remove(this.className),this.container.removeEventListener("keydown",this.handleKeyDown),this.container.removeEventListener("mousedown",this.handleMouseDown)},e}(),wr="undefined"!=typeof document?new xr(document.documentElement,ne):{isActive:function(){return!0},start:function(){return!0},stop:function(){return!0}},Mr={alwaysShowFocus:function(){return wr.stop()},isActive:function(){return wr.isActive()},onlyShowFocusOnTabs:function(){return wr.start()}},Br=n(770),Hr=n(888),Fr=n.n(Hr),Ur="[Blueprint]",Gr=Ur+" <Dialog> iconName is ignored if title is omitted.",Kr=Ur+" <Dialog> isCloseButtonShown prop is ignored if title is omitted.";function Vr(e){return"undefined"!=typeof process&&process.env&&"production"===e}function Wr(e,t){return void 0===e&&(e=[]),void 0===t&&(t=[]),e.length-t.length}function zr(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)<=n}function Yr(e,t,n){if(null==e)return e;if(n<t)throw new Error("[Blueprint] clamp: max cannot be less than min");return Math.min(Math.max(e,t),n)}function qr(e){if(!isFinite(e))return 0;for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}var jr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Vr("production")||r.validateProps(r.props),r}return(0,Br.__extends)(t,e),t.prototype.componentWillReceiveProps=function(e){Vr("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(Hr.Component),Xr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.requestIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},r.cancelAnimationFrames=function(){if(r.requestIds.length>0){for(var e=0,t=r.requestIds;e<t.length;e++){var n=t[e];window.cancelAnimationFrame(n)}r.requestIds=[]}},Vr("production")||r.validateProps(r.props),r}return(0,Br.__extends)(t,e),t.prototype.componentDidUpdate=function(e,t,n){Vr("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts(),this.cancelAnimationFrames()},t.prototype.requestAnimationFrame=function(e){var t=window.requestAnimationFrame(e);return this.requestIds.push(t),function(){return window.cancelAnimationFrame(t)}},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(Hr.Component),Zr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},Vr("production")||r.validateProps(r.props),r}return(0,Br.__extends)(t,e),t.prototype.componentWillReceiveProps=function(e){Vr("production")||this.validateProps(e)},t.prototype.componentWillUnmount=function(){this.clearTimeouts()},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(Hr.PureComponent),Qr=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.timeoutIds=[],r.requestIds=[],r.clearTimeouts=function(){if(r.timeoutIds.length>0){for(var e=0,t=r.timeoutIds;e<t.length;e++){var n=t[e];window.clearTimeout(n)}r.timeoutIds=[]}},r.cancelAnimationFrames=function(){if(r.requestIds.length>0){for(var e=0,t=r.requestIds;e<t.length;e++){var n=t[e];window.cancelAnimationFrame(n)}r.requestIds=[]}},Vr("production")||r.validateProps(r.props),r}return(0,Br.__extends)(t,e),t.prototype.componentDidUpdate=function(e,t,n){Vr("production")||this.validateProps(this.props)},t.prototype.componentWillUnmount=function(){this.clearTimeouts(),this.cancelAnimationFrames()},t.prototype.requestAnimationFrame=function(e){var t=window.requestAnimationFrame(e);return this.requestIds.push(t),function(){return window.cancelAnimationFrame(t)}},t.prototype.setTimeout=function(e,t){var n=window.setTimeout(e,t);return this.timeoutIds.push(n),function(){return window.clearTimeout(n)}},t.prototype.validateProps=function(e){},t}(Hr.PureComponent),Jr={START:"start",END:"end"},$r={BLACK:"#10161A",BLUE1:"#0E5A8A",BLUE2:"#106BA3",BLUE3:"#137CBD",BLUE4:"#2B95D6",BLUE5:"#48AFF0",COBALT1:"#1F4B99",COBALT2:"#2458B3",COBALT3:"#2965CC",COBALT4:"#4580E6",COBALT5:"#669EFF",DARK_GRAY1:"#182026",DARK_GRAY2:"#202B33",DARK_GRAY3:"#293742",DARK_GRAY4:"#30404D",DARK_GRAY5:"#394B59",FOREST1:"#1D7324",FOREST2:"#238C2C",FOREST3:"#29A634",FOREST4:"#43BF4D",FOREST5:"#62D96B",GOLD1:"#A67908",GOLD2:"#BF8C0A",GOLD3:"#D99E0B",GOLD4:"#F2B824",GOLD5:"#FFC940",GRAY1:"#5C7080",GRAY2:"#738694",GRAY3:"#8A9BA8",GRAY4:"#A7B6C2",GRAY5:"#BFCCD6",GREEN1:"#0A6640",GREEN2:"#0D8050",GREEN3:"#0F9960",GREEN4:"#15B371",GREEN5:"#3DCC91",INDIGO1:"#5642A6",INDIGO2:"#634DBF",INDIGO3:"#7157D9",INDIGO4:"#9179F2",INDIGO5:"#AD99FF",LIGHT_GRAY1:"#CED9E0",LIGHT_GRAY2:"#D8E1E8",LIGHT_GRAY3:"#E1E8ED",LIGHT_GRAY4:"#EBF1F5",LIGHT_GRAY5:"#F5F8FA",LIME1:"#728C23",LIME2:"#87A629",LIME3:"#9BBF30",LIME4:"#B6D94C",LIME5:"#D1F26D",ORANGE1:"#A66321",ORANGE2:"#BF7326",ORANGE3:"#D9822B",ORANGE4:"#F29D49",ORANGE5:"#FFB366",RED1:"#A82A2A",RED2:"#C23030",RED3:"#DB3737",RED4:"#F55656",RED5:"#FF7373",ROSE1:"#A82255",ROSE2:"#C22762",ROSE3:"#DB2C6F",ROSE4:"#F5498B",ROSE5:"#FF66A1",SEPIA1:"#63411E",SEPIA2:"#7D5125",SEPIA3:"#96622D",SEPIA4:"#B07B46",SEPIA5:"#C99765",TURQUOISE1:"#008075",TURQUOISE2:"#00998C",TURQUOISE3:"#00B3A4",TURQUOISE4:"#14CCBD",TURQUOISE5:"#2EE6D6",VERMILION1:"#9E2B0E",VERMILION2:"#B83211",VERMILION3:"#D13913",VERMILION4:"#EB532D",VERMILION5:"#FF6E4A",VIOLET1:"#5C255C",VIOLET2:"#752F75",VIOLET3:"#8F398F",VIOLET4:"#A854A8",VIOLET5:"#C274C2",WHITE:"#FFFFFF"},eo="Blueprint3",to=["active","alignText","asyncControl","containerRef","current","elementRef","fill","icon","inputRef","intent","inline","large","loading","leftElement","leftIcon","minimal","onRemove","outlined","panel","panelClassName","popoverProps","rightElement","rightIcon","round","small","text"];function no(e,t,n){return void 0===t&&(t=to),void 0===n&&(n=!1),n&&(t=t.concat(to)),t.reduce((function(e,t){return-1!==t.indexOf("-")||e.hasOwnProperty(t)&&delete e[t],e}),(0,Br.__assign)({},e))}function ro(e){return null!=e&&void 0!==e.current}function oo(e){return"function"==typeof e}function io(e,t){return ao(e,t)}function ao(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){e.forEach((function(e){oo(e)?e(t):ro(e)&&(e.current=t)}))}}function so(e){var t;return null===e?null:null!==(t=e.current)&&void 0!==t?t:e}function lo(e,t){void 0!==e&&(ro(e)?e.current=t:oo(e)&&e(t))}function uo(e,t,n){return ro(n)?(e[t]=n,n):function(r){e[t]=r,oo(n)&&n(r)}}var co=8,po=9,ho=13,fo=16,mo=27,vo=32,Eo=37,yo=38,go=39,_o=40,No=46;function To(e){return e===ho||e===vo}function Co(e,t,n){return void 0===n&&(n=function(e,t){return e===t}),null==e&&null==t||null!=e&&null!=t&&e.length===t.length&&e.every((function(e,r){return n(e,t[r])}))}function bo(e,t,n){if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return!1;if(null!=n)return So(e,t,n);var r=Object.keys(e),o=Object.keys(t);return So(e,t,{include:r})&&So(e,t,{include:o})}function Oo(e,t,n){if(e===t)return!0;if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e)||Array.isArray(t))return Co(e,t,Oo);if(Po(e)||Po(t))return e===t;if(null!=n)return Ro(e,t,n);if(e.constructor!==t.constructor)return!1;var r=Object.keys(e),o=Object.keys(t);return null!=r&&null!=o&&(0===r.length&&0===o.length||Co(r,o)&&Ro(e,t,r))}function Io(e,t,n){return void 0===e&&(e={}),void 0===t&&(t={}),function(e,t,n,r){return n.filter((function(n){return!function(e,t,n){return Oo(e,t,[n])}(e,t,n)})).map((function(n){return{key:n,valueA:e[n],valueB:t[n]}}))}(e,t,null==n?function(e,t){var n=Object.keys(e),r=Object.keys(t),o=Ao(n.concat(r));return Object.keys(o)}(e,t):n)}function So(e,t,n){return function(e,t,n){if(function(e){return null!=e&&null!=e.include}(n))return n.include;if(function(e){return null!=e&&null!=e.exclude}(n)){var r=Object.keys(e),o=Object.keys(t),i=Ao(r.concat(o));return n.exclude.forEach((function(e){return delete i[e]})),Object.keys(i)}return[]}(e,t,n).every((function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&e[n]===t[n]}))}function Ro(e,t,n){return n.every((function(n){return e.hasOwnProperty(n)===t.hasOwnProperty(n)&&Oo(e[n],t[n])}))}function Po(e){return"number"==typeof e||"string"==typeof e||"boolean"==typeof e}function Ao(e){return e.reduce((function(e,t){return e[t]=!0,e}),{})}function Do(e){return"function"==typeof e}function ko(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Do(e))return e.apply(void 0,t)}function Lo(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Do(e)?e.apply(void 0,t):e}function xo(e,t){return e===t||e.contains(t)}function wo(e,t,n){var r=Ho((function(t){e.dispatchEvent(new CustomEvent(n,t))}));return e.addEventListener(t,r),r}function Mo(e,t){return void 0===t&&(t={}),Ho(e,(function(e){t.preventDefault&&e.preventDefault()}),(function(e){return e.persist()}))}function Bo(e){return Ho(e)}function Ho(e,t,n){var r=!1;return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];Do(t)&&t.apply(void 0,o),r||(r=!0,Do(n)&&n.apply(void 0,o),requestAnimationFrame((function(){e.apply(void 0,o),r=!1})))}}function Fo(e,t){return void 0===t&&(t=!1),null==e||""===e||!1===e||!t&&Array.isArray(e)&&(0===e.length||e.every((function(e){return Fo(e,!0)})))}function Uo(e){return!Fo(e,!0)&&!0!==e}function Go(e,t){return void 0===t&&(t="span"),null==e||"boolean"==typeof e?void 0:"string"==typeof e?e.trim().length>0?Hr.createElement(t,{},e):void 0:"number"==typeof e||"symbol"==typeof e.type||Array.isArray(e)?Hr.createElement(t,{},e):Ko(e)?e:void 0}function Ko(e){return"object"==typeof e&&void 0!==e.type&&void 0!==e.props}function Vo(e){return e.displayName||e.name||"Unknown"}function Wo(e,t){return null!=e&&null!=e.type&&null!=e.type.displayName&&e.type.displayName===t.displayName}function zo(){return void 0!==Hr.createRef?Hr.createRef():{current:null}}function Yo(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(null!=e){var o=e[t];if(Do(o))return o.apply(void 0,n)}}function qo(e){return null!=e&&e instanceof Element&&null!=e.closest("."+R)}var jo=n(957),Xo=n.n(jo),Zo=n(757);function Qo(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function Jo(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function $o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function ei(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 n=null,r=null,o=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?r="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(r="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?o="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(o="UNSAFE_componentWillUpdate"),null!==n||null!==r||null!==o){var i=e.displayName||e.name,a="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+i+" uses "+a+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==r?"\n "+r:"")+(null!==o?"\n "+o:"")+"\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=Qo,t.componentWillReceiveProps=Jo),"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=$o;var s=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;s.call(this,e,t,r)}}return e}Qo.__suppressDeprecationWarning=!0,Jo.__suppressDeprecationWarning=!0,$o.__suppressDeprecationWarning=!0;var ti=n(72),ni=n(323),ri=!Do(Zo.createPortal),oi={blueprintPortalClassName:function(e,t){if(null!=e[t]&&"string"!=typeof e[t])return new Error("[Blueprint] <Portal> context blueprintPortalClassName must be string")}},ii=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.context={},t.state={hasMounted:!1},t.portalElement=null,t}return(0,Br.__extends)(t,e),t.prototype.render=function(){return ri||"undefined"==typeof document||!this.state.hasMounted||null===this.portalElement?null:Zo.createPortal(this.props.children,this.portalElement)},t.prototype.componentDidMount=function(){this.props.container&&(this.portalElement=this.createContainerElement(),this.props.container.appendChild(this.portalElement),this.setState({hasMounted:!0},this.props.onChildrenMount),ri&&this.unstableRenderNoPortal())},t.prototype.componentDidUpdate=function(e){null!=this.portalElement&&e.className!==this.props.className&&(void 0!==e.className&&this.portalElement.classList.remove(e.className),ai(this.portalElement.classList,this.props.className)),ri&&this.unstableRenderNoPortal()},t.prototype.componentWillUnmount=function(){null!=this.portalElement&&(ri&&Zo.unmountComponentAtNode(this.portalElement),this.portalElement.remove())},t.prototype.createContainerElement=function(){var e=document.createElement("div");return e.classList.add(xn),ai(e.classList,this.props.className),null!=this.context&&ai(e.classList,this.context.blueprintPortalClassName),e},t.prototype.unstableRenderNoPortal=function(){null!==this.portalElement&&Zo.unstable_renderSubtreeIntoContainer(this,Hr.createElement("div",null,this.props.children),this.portalElement)},t.displayName=eo+".Portal",t.contextTypes=oi,t.defaultProps={container:"undefined"!=typeof document?document.body:void 0},t}(Hr.Component);function ai(e,t){null!=t&&""!==t&&e.add.apply(e,t.split(" "))}var si=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasEverOpened:t.props.isOpen},t.containerElement=null,t.refHandlers={container:function(e){return t.containerElement=(0,Zo.findDOMNode)(e)}},t.maybeRenderChild=function(e){if(Do(e)&&(e=e()),null==e)return null;var n="object"==typeof e?Hr.cloneElement(e,{className:Xo()(e.props.className,cn),tabIndex:t.props.enforceFocus||t.props.autoFocus?0:void 0}):Hr.createElement("span",{className:cn},e),r=t.props,o=r.onOpening,i=r.onOpened,a=r.onClosing,s=r.onClosed,l=r.transitionDuration,u=r.transitionName,c=ni.CSSTransition;return Hr.createElement(c,{classNames:u,onEntering:o,onEntered:i,onExiting:a,onExited:s,timeout:l,addEndListener:t.handleTransitionAddEnd},n)},t.handleBackdropMouseDown=function(e){var n,r=t.props,o=r.backdropProps,i=r.canOutsideClickClose,a=r.enforceFocus,s=r.onClose;i&&(null==s||s(e)),a&&t.bringFocusInsideOverlay(),null===(n=null==o?void 0:o.onMouseDown)||void 0===n||n.call(o,e)},t.handleDocumentClick=function(e){var r=t.props,o=r.canOutsideClickClose,i=r.isOpen,a=r.onClose,s=e.composed?e.composedPath()[0]:e.target,l=n.openStack.indexOf(t),u=n.openStack.slice(l).some((function(e){var t=e.containerElement;return t&&t.contains(s)&&!t.isSameNode(s)}));i&&o&&!u&&(null==a||a(e))},t.handleDocumentFocus=function(e){var n=e.composed?e.composedPath()[0]:e.target;t.props.enforceFocus&&null!=t.containerElement&&n instanceof Node&&!t.containerElement.contains(n)&&(e.preventDefault(),e.stopImmediatePropagation(),t.bringFocusInsideOverlay())},t.handleKeyDown=function(e){var n=t.props,r=n.canEscapeKeyClose,o=n.onClose;e.which===mo&&r&&(null==o||o(e),e.preventDefault())},t.handleTransitionAddEnd=function(){},t}var n;return(0,Br.__extends)(t,e),n=t,t.getDerivedStateFromProps=function(e){var t=e.isOpen;return t?{hasEverOpened:t}:null},t.prototype.render=function(){var e,t;if(this.props.lazy&&!this.state.hasEverOpened)return null;var n=this.props,r=n.children,o=n.className,i=n.usePortal,a=n.isOpen,s=a&&null!==(t=Hr.Children.map(r,this.maybeRenderChild))&&void 0!==t?t:[],l=this.maybeRenderBackdrop();null!==l&&s.unshift(l);var u=Xo()(sn,((e={})[dn]=a,e[pn]=!i,e),o),c=Hr.createElement(ni.TransitionGroup,{appear:!0,className:u,component:"div",onKeyDown:this.handleKeyDown,ref:this.refHandlers.container},s);return i?Hr.createElement(ii,{className:this.props.portalClassName,container:this.props.portalContainer},c):c},t.prototype.componentDidMount=function(){this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentDidUpdate=function(e){e.isOpen&&!this.props.isOpen?this.overlayWillClose():!e.isOpen&&this.props.isOpen&&this.overlayWillOpen()},t.prototype.componentWillUnmount=function(){this.overlayWillClose()},t.prototype.bringFocusInsideOverlay=function(){var e=this;return this.requestAnimationFrame((function(){if(null!=e.containerElement&&null!=document.activeElement&&e.props.isOpen&&!e.containerElement.contains(document.activeElement)){var t=e.containerElement.querySelector("[autofocus]"),n=e.containerElement.querySelector("[tabindex]");null!=t?t.focus():null!=n&&n.focus()}}))},t.prototype.maybeRenderBackdrop=function(){var e=this.props,t=e.backdropClassName,n=e.backdropProps,r=e.hasBackdrop,o=e.isOpen,i=e.transitionDuration,a=e.transitionName;return r&&o?Hr.createElement(ni.CSSTransition,{classNames:a,key:"__backdrop",timeout:i,addEndListener:this.handleTransitionAddEnd},Hr.createElement("div",(0,Br.__assign)({},n,{className:Xo()(ln,t,null==n?void 0:n.className),onMouseDown:this.handleBackdropMouseDown,tabIndex:this.props.canOutsideClickClose?0:void 0}))):null},t.prototype.overlayWillClose=function(){document.removeEventListener("focus",this.handleDocumentFocus,!0),document.removeEventListener("mousedown",this.handleDocumentClick);var e=n.openStack,t=e.indexOf(this);if(-1!==t){if(e.splice(t,1),e.length>0){var r=n.getLastOpened();r.props.enforceFocus&&document.addEventListener("focus",r.handleDocumentFocus,!0)}0===e.filter((function(e){return e.props.usePortal&&e.props.hasBackdrop})).length&&document.body.classList.remove(dn)}},t.prototype.overlayWillOpen=function(){var e=n.openStack;e.length>0&&document.removeEventListener("focus",n.getLastOpened().handleDocumentFocus,!0),e.push(this),this.props.autoFocus&&this.bringFocusInsideOverlay(),this.props.enforceFocus&&document.addEventListener("focus",this.handleDocumentFocus,!0),this.props.canOutsideClickClose&&!this.props.hasBackdrop&&document.addEventListener("mousedown",this.handleDocumentClick),this.props.hasBackdrop&&this.props.usePortal&&document.body.classList.add(dn)},t.displayName=eo+".Overlay",t.defaultProps={autoFocus:!0,backdropProps:{},canEscapeKeyClose:!0,canOutsideClickClose:!0,enforceFocus:!0,hasBackdrop:!0,isOpen:!1,lazy:!0,transitionDuration:300,transitionName:sn,usePortal:!0},t.openStack=[],t.getLastOpened=function(){return n.openStack[n.openStack.length-1]},n=(0,Br.__decorate)([ei],t)}(Qr),li=n(1),ui=n.n(li),ci=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.element=null,t.observer=new(ui())((function(e){var n,r;return null===(r=(n=t.props).onResize)||void 0===r?void 0:r.call(n,e)})),t}return(0,Br.__extends)(t,e),t.prototype.render=function(){return Hr.Children.only(this.props.children)},t.prototype.componentDidMount=function(){this.observeElement()},t.prototype.componentDidUpdate=function(e){this.observeElement(this.props.observeParents!==e.observeParents)},t.prototype.componentWillUnmount=function(){this.observer.disconnect()},t.prototype.observeElement=function(e){void 0===e&&(e=!1);var t=this.getElement();if(t instanceof Element){if((t!==this.element||e)&&(this.observer.disconnect(),this.element=t,this.observer.observe(t),this.props.observeParents))for(var n=t.parentElement;null!=n;)this.observer.observe(n),n=n.parentElement}else this.observer.disconnect()},t.prototype.getElement=function(){try{return(0,Zo.findDOMNode)(this)}catch(e){return null}},t.displayName=eo+".ResizeSensor",(0,Br.__decorate)([ei],t)}(Qr),pi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popover=null,t}return(0,Br.__extends)(t,e),t.prototype.render=function(){var e,t=this,n=this.props,r=n.children,o=n.intent,i=n.popoverClassName,a=(0,Br.__rest)(n,["children","intent","popoverClassName"]),s=Xo()(ur,((e={})[B]=this.props.minimal,e),kr(o),i);return Hr.createElement(bi,(0,Br.__assign)({interactionKind:Ci.HOVER_TARGET_ONLY,modifiers:{arrow:{enabled:!this.props.minimal}}},a,{autoFocus:!1,canEscapeKeyClose:!1,enforceFocus:!1,lazy:!0,popoverClassName:s,portalContainer:this.props.portalContainer,ref:function(e){return t.popover=e}}),r)},t.prototype.reposition=function(){null!=this.popover&&this.popover.reposition()},t.displayName=eo+".Tooltip",t.defaultProps={hoverCloseDelay:0,hoverOpenDelay:100,minimal:!1,transitionDuration:100},(0,Br.__decorate)([ei],t)}(Qr);function di(e){return e.split("-")[0]}function hi(e){return-1!==["left","right"].indexOf(e)}function fi(e){switch(e){case"top":return"bottom";case"left":return"right";case"bottom":return"top";default:return"left"}}function mi(e){switch(e.split("-")[1]){case"start":return"left";case"end":return"right";default:return"center"}}function vi(e){var t=di(e.placement);if(null==e.arrowElement)return hi(t)?fi(t)+" "+mi(t):mi(t)+" "+fi(t);var n=e.arrowElement.clientHeight/2,r=e.offsets.arrow;return hi(t)?fi(t)+" "+(r.top+n)+"px":r.left+n+"px "+fi(t)}var Ei=function(e){if(null==e.arrowElement)return e;var t=e.arrowElement.clientWidth,n=di(e.placement),r=hi(n),o=r?"width":"height",i=r?"left":"top",a=Math.round(t/2/Math.sqrt(2));return"top"===n||"left"===n?(e.offsets.popper[i]-=a+4,e.offsets.arrow[i]=e.offsets.popper[o]-t+a):(e.offsets.popper[i]+=a+4,e.offsets.arrow[i]=-a),e};function yi(e){if(null==e)return 0;switch(di(e)){case"top":return-90;case"left":return 180;case"bottom":return 90;default:return 0}}var gi=function(e){var t=e.arrowProps,n=t.ref,r=t.style,o=e.placement;return Hr.createElement("div",{className:gn,ref:n,style:null==r.left||isNaN(+r.left)?{}:r},Hr.createElement("svg",{viewBox:"0 0 30 30",style:{transform:"rotate("+yi(o)+"deg)"}},Hr.createElement("path",{className:gn+"-border",d:"M8.11 6.302c1.015-.936 1.887-2.922 1.887-4.297v26c0-1.378-.868-3.357-1.888-4.297L.925 17.09c-1.237-1.14-1.233-3.034 0-4.17L8.11 6.302z"}),Hr.createElement("path",{className:gn+"-fill",d:"M8.787 7.036c1.22-1.125 2.21-3.376 2.21-5.03V0v30-2.005c0-1.654-.983-3.9-2.21-5.03l-7.183-6.616c-.81-.746-.802-1.96 0-2.7l7.183-6.614z"})))};function _i(e){switch(e){case N.TOP_LEFT:return"top-start";case N.TOP:return"top";case N.TOP_RIGHT:return"top-end";case N.RIGHT_TOP:return"right-start";case N.RIGHT:return"right";case N.RIGHT_BOTTOM:return"right-end";case N.BOTTOM_RIGHT:return"bottom-end";case N.BOTTOM:return"bottom";case N.BOTTOM_LEFT:return"bottom-start";case N.LEFT_BOTTOM:return"left-end";case N.LEFT:return"left";case N.LEFT_TOP:return"left-start";case"auto":case"auto-start":case"auto-end":return e;default:return function(e){throw new Error("Unexpected position: "+e)}(e)}}gi.displayName=eo+".PopoverArrow";var Ni,Ti,Ci={CLICK:"click",CLICK_TARGET_ONLY:"click-target",HOVER:"hover",HOVER_TARGET_ONLY:"hover-target"},bi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.popoverRef=zo(),t.popoverElement=null,t.targetElement=null,t.state={hasDarkParent:!1,isOpen:t.getIsOpen(t.props),transformOrigin:""},t.isMouseInTargetOrPopover=!1,t.lostFocusOnSamePage=!0,t.handlePopoverRef=uo(t,"popoverElement",t.props.popoverRef),t.handleTargetRef=function(e){return t.targetElement=e},t.reposition=function(){var e;return null===(e=t.popperScheduleUpdate)||void 0===e?void 0:e.call(t)},t.renderPopover=function(e){var n,r=t.props,o=r.usePortal,i=r.interactionKind,a=t.state.transformOrigin;t.popperScheduleUpdate=e.scheduleUpdate;var s={onClick:t.handlePopoverClick};(i===Ci.HOVER||!o&&i===Ci.HOVER_TARGET_ONLY)&&(s.onMouseEnter=t.handleMouseEnter,s.onMouseLeave=t.handleMouseLeave);var l=Xo()(yn,((n={})[R]=t.props.inheritDarkTheme&&t.state.hasDarkParent,n[B]=t.props.minimal,n[Nn]=t.props.captureDismiss,n),t.props.popoverClassName);return Hr.createElement("div",{className:Pn,ref:e.ref,style:e.style},Hr.createElement(ci,{onResize:t.reposition},Hr.createElement("div",(0,Br.__assign)({className:l,style:{transformOrigin:a},ref:t.popoverRef},s),t.isArrowEnabled()&&Hr.createElement(gi,{arrowProps:e.arrowProps,placement:e.placement}),Hr.createElement("div",{className:Tn},t.understandChildren().content))))},t.renderTarget=function(e){var n,r,o=t.props,i=o.fill,a=o.openOnTargetFocus,s=o.targetClassName,l=o.targetProps,u=void 0===l?{}:l,c=t.state.isOpen,p=t.isControlled(),d=t.isHoverInteractionKind(),h=t.props.targetTagName;i&&(h="div");var f=d?{onBlur:t.handleTargetBlur,onFocus:t.handleTargetFocus,onMouseEnter:t.handleMouseEnter,onMouseLeave:t.handleMouseLeave}:{onClick:t.handleTargetClick};f.className=Xo()(Sn,((n={})[In]=c,n),u.className,s),f.ref=e.ref;var m=Go(t.understandChildren().target);if(void 0===m)return null;var v=m.props.tabIndex,E=null==v&&a&&d?0:v,y=Hr.cloneElement(m,{className:Xo()(m.props.className,(r={},r[O]=c&&!p&&!d,r)),disabled:!(!c||!Wo(m,pi))||m.props.disabled,tabIndex:E}),g=Hr.createElement(h,(0,Br.__assign)((0,Br.__assign)({},u),f),y);return Hr.createElement(ci,{onResize:t.reposition},g)},t.isControlled=function(){return void 0!==t.props.isOpen},t.handleTargetFocus=function(e){var n,r;if(t.props.openOnTargetFocus&&t.isHoverInteractionKind()){if(null==e.relatedTarget&&!t.lostFocusOnSamePage)return;t.handleMouseEnter(e)}null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onFocus)||void 0===r||r.call(n,e)},t.handleTargetBlur=function(e){var n,r;t.props.openOnTargetFocus&&t.isHoverInteractionKind()&&(null==e.relatedTarget||t.isElementInPopover(e.relatedTarget)||t.handleMouseLeave(e)),t.lostFocusOnSamePage=null!=e.relatedTarget,null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onBlur)||void 0===r||r.call(n,e)},t.handleMouseEnter=function(e){var n,r;t.isMouseInTargetOrPopover=!0,t.props.usePortal||!t.isElementInPopover(e.target)||t.props.interactionKind!==Ci.HOVER_TARGET_ONLY||t.props.openOnTargetFocus?t.props.disabled||t.setOpenState(!0,e,t.props.hoverOpenDelay):t.handleMouseLeave(e),null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onMouseEnter)||void 0===r||r.call(n,e)},t.handleMouseLeave=function(e){var n,r;t.isMouseInTargetOrPopover=!1,t.setTimeout((function(){t.isMouseInTargetOrPopover||t.setOpenState(!1,e,t.props.hoverCloseDelay)})),null===(r=null===(n=t.props.targetProps)||void 0===n?void 0:n.onMouseLeave)||void 0===r||r.call(n,e)},t.handlePopoverClick=function(e){var n=e.target,r=n.closest("."+yn),o=r===t.popoverRef.current,i=null==r?void 0:r.classList.contains(Nn),a=n.closest("."+bn+", ."+On),s=null!=a&&a.classList.contains(bn),l=null!=n.closest(":disabled, ."+P);!s||l||i&&!o||t.setOpenState(!1,e)},t.handleOverlayClose=function(e){if(null!==t.targetElement&&void 0!==e){var n=e.target;(!xo(t.targetElement,n)||e.nativeEvent instanceof KeyboardEvent)&&t.setOpenState(!1,e)}},t.handleTargetClick=function(e){var n,r;t.props.disabled||t.isElementInPopover(e.target)||(null==t.props.isOpen?t.setState((function(e){return{isOpen:!e.isOpen}})):t.setOpenState(!t.props.isOpen,e)),null===(r=nu