(window.webpackJsonp=window.webpackJsonp||[]).push([["context-menu-renderer"],{F0Qt:function(e){e.exports=JSON.parse('{"wrapper":"wrapper-21v50zE8","input":"input-24iGIobO","box":"box-3574HVnv","icon":"icon-2jsUbtec","noOutline":"noOutline-3VoWuntz","intent-danger":"intent-danger-1Sr9dowC","check":"check-382c8Fu1","dot":"dot-3gRd-7Qt"}')},"P4l+":function(e,t,n){},R5JZ:function(e,t,n){"use strict";function o(e,t,n,o,r){function i(r){if(e>r.timeStamp)return;const i=r.target;void 0!==n&&null!==t&&null!==i&&i.ownerDocument===o&&(t.contains(i)||n(r))}return r.click&&o.addEventListener("click",i,!1),r.mouseDown&&o.addEventListener("mousedown",i,!1),r.touchEnd&&o.addEventListener("touchend",i,!1),r.touchStart&&o.addEventListener("touchstart",i,!1),()=>{o.removeEventListener("click",i,!1),o.removeEventListener("mousedown",i,!1),o.removeEventListener("touchend",i,!1),o.removeEventListener("touchstart",i,!1)}}n.d(t,"a",(function(){return o}))},Sn4D:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var o=n("q1tI"),r=n.n(o),i=n("Eyy1"),s=n("TSYQ"),c=n("x0D+"),a=n("0YpW"),l=n("AiMB"),u=n("mkWe"),d=n("qFKp"),h=n("X0gx"),v=n("sHQ4");function m(e){const{position:t="Bottom",onClose:n,children:m,className:f,theme:p=v}=e,w=Object(i.ensureNotNull)(Object(o.useContext)(u.a)),[g,b]=Object(o.useState)(0),E=Object(o.useRef)(null),y=Object(o.useContext)(h.a);return Object(o.useEffect)(()=>{const e=Object(i.ensureNotNull)(E.current);return e.focus({preventScroll:!0}),y.subscribe(w,n),Object(a.a)(!0),d.CheckMobile.iOS()&&Object(c.disableBodyScroll)(e),b(w.addDrawer()),()=>{y.unsubscribe(w,n);const t=w.removeDrawer();d.CheckMobile.iOS()&&Object(c.enableBodyScroll)(e),0===t&&Object(a.a)(!1)}},[]),r.a.createElement(l.a,null,r.a.createElement("div",{className:s(v.wrap,v["position"+t])},g===w.currentDrawer&&r.a.createElement("div",{className:v.backdrop,onClick:n}),r.a.createElement("div",{className:s(v.drawer,p.drawer,v["position"+t],f),ref:E,tabIndex:-1,"data-name":e["data-name"]},m)))}},XfUw:function(e,t){e.exports=''},cbq4:function(e,t,n){"use strict";n.r(t),n.d(t,"ContextMenuRenderer",(function(){return a}));var o=n("q1tI"),r=n("i8i4"),i=n("xRqE"),s=n("Ialn"),c=n("+EG+");class a{constructor(e,t,n,r){this._root=document.createElement("div"),this._isShown=!1,this._manager=null,this._props={isOpened:!1,items:e,position:{x:0,y:0},menuStatName:t.statName,mode:t.mode,"data-name":t["data-name"]},this._onDestroy=n,this._onShow=r,this._activeElement=document.activeElement,this._returnFocus=t.returnFocus,this._takeFocus=t.takeFocus,this._menuElementRef=o.createRef(),t.manager&&(this._manager=t.manager)}show(e,t,n){this._onShow&&this._onShow(),this._isShown=!0,this._render({...this._props,position:(t,o)=>{
"function"==typeof e&&(e=e(t,o)),e.touches&&e.touches.length>0&&(e={clientX:e.touches[0].clientX,clientY:e.touches[0].clientY});return{x:!n&&Object(s.isRtl)()?e.clientX-t:e.clientX,y:e.clientY,overrideHeight:e.overrideHeight}},isOpened:!0,onClose:()=>{this.hide(),this.destroy()},doNotCloseOn:t,takeFocus:this._takeFocus,menuElementReference:this._menuElementRef})}hide(){this._isShown=!1,this._render({...this._props,isOpened:!1})}isShown(){return this._isShown}destroy(){this._isShown=!1,r.unmountComponentAtNode(this._root),this._onDestroy&&this._onDestroy(),this._returnFocus&&this._activeElement instanceof HTMLElement&&this._activeElement.focus({preventScroll:!0})}_render(e){r.render(o.createElement(c.b.Provider,{value:this._manager},o.createElement(i.b,{...e})),this._root)}}},fEjm:function(e,t,n){e.exports={favorite:"favorite-I_fAY9V2",disabled:"disabled-I_fAY9V2",active:"active-I_fAY9V2",checked:"checked-I_fAY9V2"}},hn2c:function(e,t){e.exports=''},mkWe:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s}));var o=n("q1tI"),r=n.n(o);class i extends r.a.PureComponent{constructor(e){super(e),this._addDrawer=()=>{const e=this.state.currentDrawer+1;return this.setState({currentDrawer:e}),e},this._removeDrawer=()=>{const e=this.state.currentDrawer-1;return this.setState({currentDrawer:e}),e},this.state={currentDrawer:0}}render(){return r.a.createElement(s.Provider,{value:{addDrawer:this._addDrawer,removeDrawer:this._removeDrawer,currentDrawer:this.state.currentDrawer}},this.props.children)}}const s=r.a.createContext(null)},pr86:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));n("YFKU");var o=n("q1tI"),r=n("TSYQ"),i=n("Iivm"),s=n("sg5d"),c=n("XfUw"),a=n("fEjm");const l={add:window.t("Add to favorites"),remove:window.t("Remove from favorites")};function u(e){const{className:t,isFilled:n,isActive:u,onClick:d,...h}=e;return o.createElement(i.a,{...h,className:r(a.favorite,"apply-common-tooltip",n&&a.checked,u&&a.active,t),icon:n?s:c,onClick:d,title:n?l.remove:l.add})}},sHQ4:function(e,t,n){e.exports={wrap:"wrap-164vy-kj",positionBottom:"positionBottom-164vy-kj",backdrop:"backdrop-164vy-kj",drawer:"drawer-164vy-kj",positionLeft:"positionLeft-164vy-kj"}},sg5d:function(e,t){e.exports=''},tUxN:function(e,t){e.exports=''},vCF3:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("q1tI"),r=n("TSYQ"),i=n("Iivm"),s=n("tUxN"),c=n("F0Qt");n("P4l+");function a(e){const t=r(c.box,c["intent-"+e.intent],{[c.check]:!Boolean(e.indeterminate),
[c.dot]:Boolean(e.indeterminate),[c.noOutline]:-1===e.tabIndex}),n=r(c.wrapper,e.className);return o.createElement("span",{className:n,title:e.title},o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:c.input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference}),o.createElement("span",{className:t},o.createElement(i.a,{icon:s,className:c.icon})))}},"x0D+":function(e,t,n){var o,r,i;r=[t],void 0===(i="function"==typeof(o=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t