@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

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 (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,4169 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[6],{"0x2o":function(e,t,r){"use strict";var n=r("q1tI"),i=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;i=o("react.element"),t.Fragment=o("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,c={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,o={},s=null,l=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)u.call(t,n)&&!c.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:s,ref:l,props:o,_owner:a.current}}t.jsx=s,t.jsxs=s},"6VBw":function(e,t,r){"use strict";var n=r("VTBJ"),i=r("ODXe"),o=r("rePB"),a=r("Ff2n"),u=r("q1tI"),c=r.n(u),s=r("TSYQ"),l=r.n(s),f=Object(u["createContext"])({}),d=f,g=r("U8pU"),h=r("AJpP"),v=r("Kwbf"),p=r("MNnm"),y="rc-util-key";function b(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function O(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(p["a"])())return null;var n,i=document.createElement("style");(null===(t=r.csp)||void 0===t?void 0:t.nonce)&&(i.nonce=null===(n=r.csp)||void 0===n?void 0:n.nonce);i.innerHTML=e;var o=b(r),a=o.firstChild;return r.prepend&&o.prepend?o.prepend(i):r.prepend&&a?o.insertBefore(i,a):o.appendChild(i),i}var m=new Map;function D(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=b(r);if(!m.has(n)){var i=O("",r),o=i.parentNode;m.set(n,o),o.removeChild(i)}var a=Array.from(m.get(n).children).find((function(e){return"STYLE"===e.tagName&&e[y]===t}));if(a){var u,c,s;if((null===(u=r.csp)||void 0===u?void 0:u.nonce)&&a.nonce!==(null===(c=r.csp)||void 0===c?void 0:c.nonce))a.nonce=null===(s=r.csp)||void 0===s?void 0:s.nonce;return a.innerHTML!==e&&(a.innerHTML=e),a}var l=O(e,r);return l[y]=t,l}function w(e,t){Object(v["a"])(e,"[@ant-design/icons] ".concat(t))}function S(e){return"object"===Object(g["a"])(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===Object(g["a"])(e.icon)||"function"===typeof e.icon)}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,r){var n=e[r];switch(r){case"class":t.className=n,delete t.class;break;default:t[r]=n}return t}),{})}function I(e,t,r){return r?c.a.createElement(e.tag,Object(n["a"])(Object(n["a"])({key:t},T(e.attrs)),r),(e.children||[]).map((function(r,n){return I(r,"".concat(t,"-").concat(e.tag,"-").concat(n))}))):c.a.createElement(e.tag,Object(n["a"])({key:t},T(e.attrs)),(e.children||[]).map((function(r,n){return I(r,"".concat(t,"-").concat(e.tag,"-").concat(n))})))}function C(e){return Object(h["generate"])(e)[0]}function E(e){return e?Array.isArray(e)?e:[e]:[]}var k="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",j=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=Object(u["useContext"])(d),r=t.csp;Object(u["useEffect"])((function(){D(e,"@ant-design-icons",{prepend:!0,csp:r})}),[])},P=["icon","className","onClick","style","primaryColor","secondaryColor"],N={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function x(e){var t=e.primaryColor,r=e.secondaryColor;N.primaryColor=t,N.secondaryColor=r||C(t),N.calculated=!!r}function R(){return Object(n["a"])({},N)}var M=function(e){var t=e.icon,r=e.className,i=e.onClick,o=e.style,u=e.primaryColor,c=e.secondaryColor,s=Object(a["a"])(e,P),l=N;if(u&&(l={primaryColor:u,secondaryColor:c||C(u)}),j(),w(S(t),"icon should be icon definiton, but got ".concat(t)),!S(t))return null;var f=t;return f&&"function"===typeof f.icon&&(f=Object(n["a"])(Object(n["a"])({},f),{},{icon:f.icon(l.primaryColor,l.secondaryColor)})),I(f.icon,"svg-".concat(f.name),Object(n["a"])({className:r,onClick:i,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},s))};M.displayName="IconReact",M.getTwoToneColors=R,M.setTwoToneColors=x;var _=M;function A(e){var t=E(e),r=Object(i["a"])(t,2),n=r[0],o=r[1];return _.setTwoToneColors({primaryColor:n,secondaryColor:o})}function L(){var e=_.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var U=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];A("#1890ff");var H=u["forwardRef"]((function(e,t){var r,c=e.className,s=e.icon,f=e.spin,g=e.rotate,h=e.tabIndex,v=e.onClick,p=e.twoToneColor,y=Object(a["a"])(e,U),b=u["useContext"](d),O=b.prefixCls,m=void 0===O?"anticon":O,D=l()(m,(r={},Object(o["a"])(r,"".concat(m,"-").concat(s.name),!!s.name),Object(o["a"])(r,"".concat(m,"-spin"),!!f||"loading"===s.name),r),c),w=h;void 0===w&&v&&(w=-1);var S=g?{msTransform:"rotate(".concat(g,"deg)"),transform:"rotate(".concat(g,"deg)")}:void 0,T=E(p),I=Object(i["a"])(T,2),C=I[0],k=I[1];return u["createElement"]("span",Object(n["a"])(Object(n["a"])({role:"img","aria-label":s.name},y),{},{ref:t,tabIndex:w,onClick:v,className:D}),u["createElement"](_,{icon:s,primaryColor:C,secondaryColor:k,style:S}))}));H.displayName="AntdIcon",H.getTwoToneColor=L,H.setTwoToneColor=A;t["a"]=H},EqDG:function(e,t,r){"use strict";r.d(t,"a",(function(){return st}));var n=r("aKzv"),i="dnd-core/INIT_COORDS",o="dnd-core/BEGIN_DRAG",a="dnd-core/PUBLISH_DRAG_SOURCE",u="dnd-core/HOVER",c="dnd-core/DROP",s="dnd-core/END_DRAG";function l(e,t){return{type:i,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}function f(e){return f="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},f(e)}function d(e,t,r){return t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:r||null}),e)}function g(e,t){return e.filter((function(e){return e!==t}))}function h(e){return"object"===f(e)}function v(e,t){var r=new Map,n=function(e){r.set(e,r.has(e)?r.get(e)+1:1)};e.forEach(n),t.forEach(n);var i=[];return r.forEach((function(e,t){1===e&&i.push(t)})),i}function p(e,t){return e.filter((function(e){return t.indexOf(e)>-1}))}var y={type:i,payload:{clientOffset:null,sourceClientOffset:null}};function b(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{publishSource:!0},n=r.publishSource,i=void 0===n||n,a=r.clientOffset,u=r.getSourceClientOffset,c=e.getMonitor(),s=e.getRegistry();e.dispatch(l(a)),O(t,c,s);var f=w(t,c);if(null!==f){var d=null;if(a){if(!u)throw new Error("getSourceClientOffset must be defined");m(u),d=u(f)}e.dispatch(l(a,d));var g=s.getSource(f),h=g.beginDrag(c,f);if(null!=h){D(h),s.pinSource(f);var v=s.getSourceType(f);return{type:o,payload:{itemType:v,item:h,sourceId:f,clientOffset:a||null,sourceClientOffset:d||null,isSourcePublic:!!i}}}}else e.dispatch(y)}}function O(e,t,r){Object(n["a"])(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach((function(e){Object(n["a"])(r.getSource(e),"Expected sourceIds to be registered.")}))}function m(e){Object(n["a"])("function"===typeof e,"When clientOffset is provided, getSourceClientOffset must be a function.")}function D(e){Object(n["a"])(h(e),"Item must be an object.")}function w(e,t){for(var r=null,n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function S(e){return function(){var t=e.getMonitor();if(t.isDragging())return{type:a}}}function T(e,t){return null===t?null===e:Array.isArray(e)?e.some((function(e){return e===t})):e===t}function I(e){return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.clientOffset;C(t);var i=t.slice(0),o=e.getMonitor(),a=e.getRegistry();E(i,o,a);var c=o.getItemType();return k(i,a,c),j(i,o,a),{type:u,payload:{targetIds:i,clientOffset:n||null}}}}function C(e){Object(n["a"])(Array.isArray(e),"Expected targetIds to be an array.")}function E(e,t,r){Object(n["a"])(t.isDragging(),"Cannot call hover while not dragging."),Object(n["a"])(!t.didDrop(),"Cannot call hover after drop.");for(var i=0;i<e.length;i++){var o=e[i];Object(n["a"])(e.lastIndexOf(o)===i,"Expected targetIds to be unique in the passed array.");var a=r.getTarget(o);Object(n["a"])(a,"Expected targetIds to be registered.")}}function k(e,t,r){for(var n=e.length-1;n>=0;n--){var i=e[n],o=t.getTargetType(i);T(o,r)||e.splice(n,1)}}function j(e,t,r){e.forEach((function(e){var n=r.getTarget(e);n.hover(t,e)}))}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 N(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){x(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 x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.getMonitor(),n=e.getRegistry();M(r);var i=L(r);i.forEach((function(i,o){var a=_(i,o,n,r),u={type:c,payload:{dropResult:N(N({},t),a)}};e.dispatch(u)}))}}function M(e){Object(n["a"])(e.isDragging(),"Cannot call drop while not dragging."),Object(n["a"])(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function _(e,t,r,n){var i=r.getTarget(e),o=i?i.drop(n,e):void 0;return A(o),"undefined"===typeof o&&(o=0===t?{}:n.getDropResult()),o}function A(e){Object(n["a"])("undefined"===typeof e||h(e),"Drop result must either be an object or undefined.")}function L(e){var t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function U(e){return function(){var t=e.getMonitor(),r=e.getRegistry();H(t);var n=t.getSourceId();if(null!=n){var i=r.getSource(n,!0);i.endDrag(t,n),r.unpinSource()}return{type:s}}}function H(e){Object(n["a"])(e.isDragging(),"Cannot call endDrag while not dragging.")}function F(e){return{beginDrag:b(e),publishDragSource:S(e),hover:I(e),drop:R(e),endDrag:U(e)}}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function z(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 K(e,t,r){return t&&z(e.prototype,t),r&&z(e,r),e}var X=function(){function e(t,r){var n=this;B(this,e),this.isSetUp=!1,this.handleRefCountChange=function(){var e=n.store.getState().refCount>0;n.backend&&(e&&!n.isSetUp?(n.backend.setup(),n.isSetUp=!0):!e&&n.isSetUp&&(n.backend.teardown(),n.isSetUp=!1))},this.store=t,this.monitor=r,t.subscribe(this.handleRefCountChange)}return K(e,[{key:"receiveBackend",value:function(e){this.backend=e}},{key:"getMonitor",value:function(){return this.monitor}},{key:"getBackend",value:function(){return this.backend}},{key:"getRegistry",value:function(){return this.monitor.registry}},{key:"getActions",value:function(){var e=this,t=this.store.dispatch;function r(r){return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=r.apply(e,i);"undefined"!==typeof a&&t(a)}}var n=F(this);return Object.keys(n).reduce((function(e,t){var i=n[t];return e[t]=r(i),e}),{})}},{key:"dispatch",value:function(e){this.store.dispatch(e)}}]),e}();r("VTBJ");function G(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Y=function(){return"function"===typeof Symbol&&Symbol.observable||"@@observable"}(),q=function(){return Math.random().toString(36).substring(7).split("").join(".")},W={INIT:"@@redux/INIT"+q(),REPLACE:"@@redux/REPLACE"+q(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+q()}};function V(e){if("object"!==typeof e||null===e)return!1;var t=e;while(null!==Object.getPrototypeOf(t))t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function J(e,t,r){var n;if("function"===typeof t&&"function"===typeof r||"function"===typeof r&&"function"===typeof arguments[3])throw new Error(G(0));if("function"===typeof t&&"undefined"===typeof r&&(r=t,t=void 0),"undefined"!==typeof r){if("function"!==typeof r)throw new Error(G(1));return r(J)(e,t)}if("function"!==typeof e)throw new Error(G(2));var i=e,o=t,a=[],u=a,c=!1;function s(){u===a&&(u=a.slice())}function l(){if(c)throw new Error(G(3));return o}function f(e){if("function"!==typeof e)throw new Error(G(4));if(c)throw new Error(G(5));var t=!0;return s(),u.push(e),function(){if(t){if(c)throw new Error(G(6));t=!1,s();var r=u.indexOf(e);u.splice(r,1),a=null}}}function d(e){if(!V(e))throw new Error(G(7));if("undefined"===typeof e.type)throw new Error(G(8));if(c)throw new Error(G(9));try{c=!0,o=i(o,e)}finally{c=!1}for(var t=a=u,r=0;r<t.length;r++){var n=t[r];n()}return e}function g(e){if("function"!==typeof e)throw new Error(G(10));i=e,d({type:W.REPLACE})}function h(){var e,t=f;return e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(G(11));function r(){e.next&&e.next(l())}r();var n=t(r);return{unsubscribe:n}}},e[Y]=function(){return this},e}return d({type:W.INIT}),n={dispatch:d,subscribe:f,getState:l,replaceReducer:g},n[Y]=h,n}var $=function(e,t){return e===t};function Q(e,t){return!e&&!t||!(!e||!t)&&(e.x===t.x&&e.y===t.y)}function Z(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:$;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!r(e[n],t[n]))return!1;return!0}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){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(r),!0).forEach((function(t){re(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}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}var ne={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ne,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case i:case o:return{initialSourceClientOffset:r.sourceClientOffset,initialClientOffset:r.clientOffset,clientOffset:r.clientOffset};case u:return Q(e.clientOffset,r.clientOffset)?e:te(te({},e),{},{clientOffset:r.clientOffset});case s:case c:return ne;default:return e}}var oe="dnd-core/ADD_SOURCE",ae="dnd-core/ADD_TARGET",ue="dnd-core/REMOVE_SOURCE",ce="dnd-core/REMOVE_TARGET";function se(e){return{type:oe,payload:{sourceId:e}}}function le(e){return{type:ae,payload:{targetId:e}}}function fe(e){return{type:ue,payload:{sourceId:e}}}function de(e){return{type:ce,payload:{targetId:e}}}function ge(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 he(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(r),!0).forEach((function(t){ve(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ge(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var pe={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pe,t=arguments.length>1?arguments[1]:void 0,r=t.payload;switch(t.type){case o:return he(he({},e),{},{itemType:r.itemType,item:r.item,sourceId:r.sourceId,isSourcePublic:r.isSourcePublic,dropResult:null,didDrop:!1});case a:return he(he({},e),{},{isSourcePublic:!0});case u:return he(he({},e),{},{targetIds:r.targetIds});case ce:return-1===e.targetIds.indexOf(r.targetId)?e:he(he({},e),{},{targetIds:g(e.targetIds,r.targetId)});case c:return he(he({},e),{},{dropResult:r.dropResult,didDrop:!0,targetIds:[]});case s:return he(he({},e),{},{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}function be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case oe:case ae:return e+1;case ue:case ce:return e-1;default:return e}}var Oe=[],me=[];function De(e,t){if(e===Oe)return!1;if(e===me||"undefined"===typeof t)return!0;var r=p(t,e);return r.length>0}function we(){var e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:break;case oe:case ae:case ce:case ue:return Oe;case o:case a:case s:case c:default:return me}var t=e.payload,r=t.targetIds,n=void 0===r?[]:r,i=t.prevTargetIds,l=void 0===i?[]:i,f=v(n,l),d=f.length>0||!Z(n,l);if(!d)return Oe;var g=l[l.length-1],h=n[n.length-1];return g!==h&&(g&&f.push(g),h&&f.push(h)),f}function Se(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e+1}function Te(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?Te(Object(r),!0).forEach((function(t){Ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Te(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(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return{dirtyHandlerIds:we(e.dirtyHandlerIds,{type:t.type,payload:Ie(Ie({},t.payload),{},{prevTargetIds:d(e,"dragOperation.targetIds",[])})}),dragOffset:ie(e.dragOffset,t),refCount:be(e.refCount,t),dragOperation:ye(e.dragOperation,t),stateId:Se(e.stateId)}}function ke(e,t){return{x:e.x+t.x,y:e.y+t.y}}function je(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Pe(e){var t=e.clientOffset,r=e.initialClientOffset,n=e.initialSourceClientOffset;return t&&r&&n?je(ke(t,n),r):null}function Ne(e){var t=e.clientOffset,r=e.initialClientOffset;return t&&r?je(t,r):null}function xe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(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 Me(e,t,r){return t&&Re(e.prototype,t),r&&Re(e,r),e}Oe.__IS_NONE__=!0,me.__IS_ALL__=!0;var _e,Ae=function(){function e(t,r){xe(this,e),this.store=t,this.registry=r}return Me(e,[{key:"subscribeToStateChange",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{handlerIds:void 0},i=r.handlerIds;Object(n["a"])("function"===typeof e,"listener must be a function."),Object(n["a"])("undefined"===typeof i||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,a=function(){var r=t.store.getState(),n=r.stateId;try{var a=n===o||n===o+1&&!De(r.dirtyHandlerIds,i);a||e()}finally{o=n}};return this.store.subscribe(a)}},{key:"subscribeToOffsetChange",value:function(e){var t=this;Object(n["a"])("function"===typeof e,"listener must be a function.");var r=this.store.getState().dragOffset,i=function(){var n=t.store.getState().dragOffset;n!==r&&(r=n,e())};return this.store.subscribe(i)}},{key:"canDragSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e);return Object(n["a"])(t,"Expected to find a valid source. sourceId=".concat(e)),!this.isDragging()&&t.canDrag(this,e)}},{key:"canDropOnTarget",value:function(e){if(!e)return!1;var t=this.registry.getTarget(e);if(Object(n["a"])(t,"Expected to find a valid target. targetId=".concat(e)),!this.isDragging()||this.didDrop())return!1;var r=this.registry.getTargetType(e),i=this.getItemType();return T(r,i)&&t.canDrop(this,e)}},{key:"isDragging",value:function(){return Boolean(this.getItemType())}},{key:"isDraggingSource",value:function(e){if(!e)return!1;var t=this.registry.getSource(e,!0);if(Object(n["a"])(t,"Expected to find a valid source. sourceId=".concat(e)),!this.isDragging()||!this.isSourcePublic())return!1;var r=this.registry.getSourceType(e),i=this.getItemType();return r===i&&t.isDragging(this,e)}},{key:"isOverTarget",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shallow:!1};if(!e)return!1;var r=t.shallow;if(!this.isDragging())return!1;var n=this.registry.getTargetType(e),i=this.getItemType();if(i&&!T(n,i))return!1;var o=this.getTargetIds();if(!o.length)return!1;var a=o.indexOf(e);return r?a===o.length-1:a>-1}},{key:"getItemType",value:function(){return this.store.getState().dragOperation.itemType}},{key:"getItem",value:function(){return this.store.getState().dragOperation.item}},{key:"getSourceId",value:function(){return this.store.getState().dragOperation.sourceId}},{key:"getTargetIds",value:function(){return this.store.getState().dragOperation.targetIds}},{key:"getDropResult",value:function(){return this.store.getState().dragOperation.dropResult}},{key:"didDrop",value:function(){return this.store.getState().dragOperation.didDrop}},{key:"isSourcePublic",value:function(){return Boolean(this.store.getState().dragOperation.isSourcePublic)}},{key:"getInitialClientOffset",value:function(){return this.store.getState().dragOffset.initialClientOffset}},{key:"getInitialSourceClientOffset",value:function(){return this.store.getState().dragOffset.initialSourceClientOffset}},{key:"getClientOffset",value:function(){return this.store.getState().dragOffset.clientOffset}},{key:"getSourceClientOffset",value:function(){return Pe(this.store.getState().dragOffset)}},{key:"getDifferenceFromInitialOffset",value:function(){return Ne(this.store.getState().dragOffset)}}]),e}(),Le=0;function Ue(){return Le++}function He(e){return He="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},He(e)}function Fe(e){Object(n["a"])("function"===typeof e.canDrag,"Expected canDrag to be a function."),Object(n["a"])("function"===typeof e.beginDrag,"Expected beginDrag to be a function."),Object(n["a"])("function"===typeof e.endDrag,"Expected endDrag to be a function.")}function Be(e){Object(n["a"])("function"===typeof e.canDrop,"Expected canDrop to be a function."),Object(n["a"])("function"===typeof e.hover,"Expected hover to be a function."),Object(n["a"])("function"===typeof e.drop,"Expected beginDrag to be a function.")}function ze(e,t){t&&Array.isArray(e)?e.forEach((function(e){return ze(e,!1)})):Object(n["a"])("string"===typeof e||"symbol"===He(e),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}(function(e){e["SOURCE"]="SOURCE",e["TARGET"]="TARGET"})(_e||(_e={}));var Ke=r("b7DX"),Xe=[],Ge=[],Ye=Ke["a"].makeRequestCallFromTimer(qe);function qe(){if(Ge.length)throw Ge.shift()}function We(e){var t;t=Xe.length?Xe.pop():new Ve,t.task=e,Object(Ke["a"])(t)}var Ve=function(){function e(){}return e.prototype.call=function(){try{this.task.call()}catch(e){We.onerror?We.onerror(e):(Ge.push(e),Ye())}finally{this.task=null,Xe[Xe.length]=this}},e}();function Je(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a 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)}}function Qe(e,t,r){return t&&$e(e.prototype,t),r&&$e(e,r),e}function Ze(e,t){return it(e)||nt(e,t)||tt(e,t)||et()}function et(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tt(e,t){if(e){if("string"===typeof e)return rt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?rt(e,t):void 0}}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function nt(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,u=e[Symbol.iterator]();!(n=(a=u.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(c){i=!0,o=c}finally{try{n||null==u["return"]||u["return"]()}finally{if(i)throw o}}return r}}function it(e){if(Array.isArray(e))return e}function ot(e){var t=Ue().toString();switch(e){case _e.SOURCE:return"S".concat(t);case _e.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function at(e){switch(e[0]){case"S":return _e.SOURCE;case"T":return _e.TARGET;default:Object(n["a"])(!1,"Cannot parse handler ID: ".concat(e))}}function ut(e,t){var r=e.entries(),n=!1;do{var i=r.next(),o=i.done,a=Ze(i.value,2),u=a[1];if(u===t)return!0;n=!!o}while(!n);return!1}var ct=function(){function e(t){Je(this,e),this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}return Qe(e,[{key:"addSource",value:function(e,t){ze(e),Fe(t);var r=this.addHandler(_e.SOURCE,e,t);return this.store.dispatch(se(r)),r}},{key:"addTarget",value:function(e,t){ze(e,!0),Be(t);var r=this.addHandler(_e.TARGET,e,t);return this.store.dispatch(le(r)),r}},{key:"containsHandler",value:function(e){return ut(this.dragSources,e)||ut(this.dropTargets,e)}},{key:"getSource",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(n["a"])(this.isSourceId(e),"Expected a valid source ID.");var r=t&&e===this.pinnedSourceId,i=r?this.pinnedSource:this.dragSources.get(e);return i}},{key:"getTarget",value:function(e){return Object(n["a"])(this.isTargetId(e),"Expected a valid target ID."),this.dropTargets.get(e)}},{key:"getSourceType",value:function(e){return Object(n["a"])(this.isSourceId(e),"Expected a valid source ID."),this.types.get(e)}},{key:"getTargetType",value:function(e){return Object(n["a"])(this.isTargetId(e),"Expected a valid target ID."),this.types.get(e)}},{key:"isSourceId",value:function(e){var t=at(e);return t===_e.SOURCE}},{key:"isTargetId",value:function(e){var t=at(e);return t===_e.TARGET}},{key:"removeSource",value:function(e){var t=this;Object(n["a"])(this.getSource(e),"Expected an existing source."),this.store.dispatch(fe(e)),We((function(){t.dragSources.delete(e),t.types.delete(e)}))}},{key:"removeTarget",value:function(e){Object(n["a"])(this.getTarget(e),"Expected an existing target."),this.store.dispatch(de(e)),this.dropTargets.delete(e),this.types.delete(e)}},{key:"pinSource",value:function(e){var t=this.getSource(e);Object(n["a"])(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t}},{key:"unpinSource",value:function(){Object(n["a"])(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}},{key:"addHandler",value:function(e,t,r){var n=ot(e);return this.types.set(n,t),e===_e.SOURCE?this.dragSources.set(n,r):e===_e.TARGET&&this.dropTargets.set(n,r),n}}]),e}();function st(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=lt(n),o=new Ae(i,new ct(i)),a=new X(i,o),u=e(a,t,r);return a.receiveBackend(u),a}function lt(e){var t="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__;return J(Ee,e&&t&&t({name:"dnd-core",instanceId:"dnd-core"}))}},Hdnm:function(e,t,r){"use strict";function n(e){return n="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},n(e)}function i(e){return null!==e&&"object"===n(e)&&Object.prototype.hasOwnProperty.call(e,"current")}r.d(t,"a",(function(){return i}))},JEhF:function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return b}));var n=r("nKUr"),i=r("q1tI"),o=r("EqDG"),a=r("p/5y"),u=["children"];function c(e,t){return g(e)||d(e,t)||l(e,t)||s()}function s(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"===typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done);a=!0)if(o.push(n.value),t&&o.length===t)break}catch(c){u=!0,i=c}finally{try{a||null==r["return"]||r["return"]()}finally{if(u)throw i}}return o}}function g(e){if(Array.isArray(e))return e}function h(e,t){if(null==e)return{};var r,n,i=v(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function v(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var p=0,y=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__"),b=Object(i["memo"])((function(e){var t=e.children,r=h(e,u),o=O(r),s=c(o,2),l=s[0],f=s[1];return Object(i["useEffect"])((function(){if(f){var e=D();return++p,function(){0===--p&&(e[y]=null)}}}),[]),Object(n["jsx"])(a["a"].Provider,Object.assign({value:l},{children:t}),void 0)}));function O(e){if("manager"in e){var t={dragDropManager:e.manager};return[t,!1]}var r=m(e.backend,e.context,e.options,e.debugMode),n=!e.context;return[r,n]}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D(),r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=t;return i[y]||(i[y]={dragDropManager:Object(o["a"])(e,t,r,n)}),i[y]}function D(){return"undefined"!==typeof e?e:window}}).call(this,r("IyRk"))},Jk9P:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r("aKzv");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),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}var c=!1,s=function(){function e(t){i(this,e),u(this,"internalMonitor",void 0),u(this,"targetId",null),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;Object(n["a"])(!c,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return c=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{c=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},JpUf:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("aKzv"),i=r("q1tI");function o(e){if("string"!==typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function a(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Object(i["isValidElement"])(t)){var n=t;return e(n,r),n}var a=t;o(a);var u=r?function(t){return e(t,r)}:e;return s(a,u)}}function u(e){var t={};return Object.keys(e).forEach((function(r){var n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{var i=a(n);t[r]=function(){return i}}})),t}function c(e,t){"function"===typeof e?e(t):e.current=t}function s(e,t){var r=e.ref;return Object(n["a"])("string"!==typeof r,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?Object(i["cloneElement"])(e,{ref:function(e){c(r,e),c(t,e)}}):Object(i["cloneElement"])(e,{ref:t})}},UhZW:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("khz9"),i=r("JpUf"),o=r("Hdnm");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}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}var l=function(){function e(t){var r=this;a(this,e),s(this,"hooks",Object(i["a"])({dropTarget:function(e,t){r.clearDropTarget(),r.dropTargetOptions=t,Object(o["a"])(e)?r.dropTargetRef=e:r.dropTargetNode=e,r.reconnect()}})),s(this,"handlerId",null),s(this,"dropTargetRef",null),s(this,"dropTargetNode",void 0),s(this,"dropTargetOptionsInternal",null),s(this,"unsubscribeDropTarget",void 0),s(this,"lastConnectedHandlerId",null),s(this,"lastConnectedDropTarget",null),s(this,"lastConnectedDropTargetOptions",null),s(this,"backend",void 0),this.backend=t}return c(e,[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!Object(n["a"])(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}]),e}()},aKzv:function(e,t,r){"use strict";function n(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];if(!e){var o;if(void 0===t)o=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var a=0;o=new Error(t.replace(/%s/g,(function(){return n[a++]}))),o.name="Invariant Violation"}throw o.framesToPop=1,o}}r.d(t,"a",(function(){return n}))},b7DX:function(e,t,r){"use strict";(function(e){function n(e){o.length||(i(),!0),o[o.length]=e}r.d(t,"a",(function(){return n}));var i,o=[],a=0,u=1024;function c(){while(a<o.length){var e=a;if(a+=1,o[e].call(),a>u){for(var t=0,r=o.length-a;t<r;t++)o[t]=o[t+a];o.length-=a,a=0}}o.length=0,a=0,!1}var s="undefined"!==typeof e?e:self,l=s.MutationObserver||s.WebKitMutationObserver;function f(e){var t=1,r=new l(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}function d(e){return function(){var t=setTimeout(n,0),r=setInterval(n,50);function n(){clearTimeout(t),clearInterval(r),e()}}}i="function"===typeof l?f(c):d(c),n.requestFlush=i,n.makeRequestCallFromTimer=d}).call(this,r("IyRk"))},cwzq:function(e,t,r){"use strict";function n(e,t,r){var n=r.getRegistry(),i=n.addTarget(e,t);return[i,function(){return n.removeTarget(i)}]}function i(e,t,r){var n=r.getRegistry(),i=n.addSource(e,t);return[i,function(){return n.removeSource(i)}]}r.d(t,"b",(function(){return n})),r.d(t,"a",(function(){return i}))},"d/lI":function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("JpUf"),i=r("Hdnm"),o=r("khz9");function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 c(e,t,r){return t&&u(e.prototype,t),r&&u(e,r),e}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}var l=function(){function e(t){var r=this;a(this,e),s(this,"hooks",Object(n["a"])({dragSource:function(e,t){r.clearDragSource(),r.dragSourceOptions=t||null,Object(i["a"])(e)?r.dragSourceRef=e:r.dragSourceNode=e,r.reconnectDragSource()},dragPreview:function(e,t){r.clearDragPreview(),r.dragPreviewOptions=t||null,Object(i["a"])(e)?r.dragPreviewRef=e:r.dragPreviewNode=e,r.reconnectDragPreview()}})),s(this,"handlerId",null),s(this,"dragSourceRef",null),s(this,"dragSourceNode",void 0),s(this,"dragSourceOptionsInternal",null),s(this,"dragSourceUnsubscribe",void 0),s(this,"dragPreviewRef",null),s(this,"dragPreviewNode",void 0),s(this,"dragPreviewOptionsInternal",null),s(this,"dragPreviewUnsubscribe",void 0),s(this,"lastConnectedHandlerId",null),s(this,"lastConnectedDragSource",null),s(this,"lastConnectedDragSourceOptions",null),s(this,"lastConnectedDragPreview",null),s(this,"lastConnectedDragPreviewOptions",null),s(this,"backend",void 0),this.backend=t}return c(e,[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();t&&this.disconnectDragPreview(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!Object(o["a"])(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!Object(o["a"])(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}]),e}()},khz9:function(e,t,r){"use strict";function n(e,t,r,n){var i=r?r.call(n,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var s=o[c];if(!u(s))return!1;var l=e[s],f=t[s];if(i=r?r.call(n,l,f,s):void 0,!1===i||void 0===i&&l!==f)return!1}return!0}r.d(t,"a",(function(){return n}))},m68W:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("aKzv");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),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}var c=!1,s=!1,l=function(){function e(t){i(this,e),u(this,"internalMonitor",void 0),u(this,"sourceId",null),this.internalMonitor=t.getMonitor()}return a(e,[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){Object(n["a"])(!c,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return c=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{c=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;Object(n["a"])(!s,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return s=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{s=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}]),e}()},nKUr:function(e,t,r){"use strict";e.exports=r("0x2o")},"p/5y":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("q1tI"),i=Object(n["createContext"])({dragDropManager:void 0})},qJlv:function(e,t,r){"use strict";r.d(t,"a",(function(){return Q}));var n={};function i(e){var t=null,r=function(){return null==t&&(t=e()),t};return r}function o(e,t){return e.filter((function(e){return e!==t}))}function a(e,t){var r=new Set,n=function(e){return r.add(e)};e.forEach(n),t.forEach(n);var i=[];return r.forEach((function(e){return i.push(e)})),i}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(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 s(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}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}r.r(n),r.d(n,"FILE",(function(){return C})),r.d(n,"URL",(function(){return E})),r.d(n,"TEXT",(function(){return k})),r.d(n,"HTML",(function(){return j}));var f=function(){function e(t){u(this,e),l(this,"entered",[]),l(this,"isNodeInDocument",void 0),this.isNodeInDocument=t}return s(e,[{key:"enter",value:function(e){var t=this,r=this.entered.length,n=function(r){return t.isNodeInDocument(r)&&(!r.contains||r.contains(e))};return this.entered=a(this.entered.filter(n),[e]),0===r&&this.entered.length>0}},{key:"leave",value:function(e){var t=this.entered.length;return this.entered=o(this.entered.filter(this.isNodeInDocument),e),t>0&&0===this.entered.length}},{key:"reset",value:function(){this.entered=[]}}]),e}(),d=i((function(){return/firefox/i.test(navigator.userAgent)})),g=i((function(){return Boolean(window.safari)}));function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(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 p(e,t,r){return t&&v(e.prototype,t),r&&v(e,r),e}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b=function(){function e(t,r){h(this,e),y(this,"xs",void 0),y(this,"ys",void 0),y(this,"c1s",void 0),y(this,"c2s",void 0),y(this,"c3s",void 0);for(var n=t.length,i=[],o=0;o<n;o++)i.push(o);i.sort((function(e,r){return t[e]<t[r]?-1:1}));for(var a,u,c=[],s=[],l=[],f=0;f<n-1;f++)a=t[f+1]-t[f],u=r[f+1]-r[f],s.push(a),c.push(u),l.push(u/a);for(var d=[l[0]],g=0;g<s.length-1;g++){var v=l[g],p=l[g+1];if(v*p<=0)d.push(0);else{a=s[g];var b=s[g+1],O=a+b;d.push(3*O/((O+b)/v+(O+a)/p))}}d.push(l[l.length-1]);for(var m,D=[],w=[],S=0;S<d.length-1;S++){m=l[S];var T=d[S],I=1/s[S],C=T+d[S+1]-m-m;D.push((m-T-C)*I),w.push(C*I*I)}this.xs=t,this.ys=r,this.c1s=d,this.c2s=D,this.c3s=w}return p(e,[{key:"interpolate",value:function(e){var t=this.xs,r=this.ys,n=this.c1s,i=this.c2s,o=this.c3s,a=t.length-1;if(e===t[a])return r[a];var u,c=0,s=o.length-1;while(c<=s){u=Math.floor(.5*(c+s));var l=t[u];if(l<e)c=u+1;else{if(!(l>e))return r[u];s=u-1}}a=Math.max(0,s);var f=e-t[a],d=f*f;return r[a]+n[a]*f+i[a]*d+o[a]*f*d}}]),e}(),O=1;function m(e){var t=e.nodeType===O?e:e.parentElement;if(!t)return null;var r=t.getBoundingClientRect(),n=r.top,i=r.left;return{x:i,y:n}}function D(e){return{x:e.clientX,y:e.clientY}}function w(e){var t;return"IMG"===e.nodeName&&(d()||!(null!==(t=document.documentElement)&&void 0!==t&&t.contains(e)))}function S(e,t,r,n){var i=e?t.width:r,o=e?t.height:n;return g()&&e&&(o/=window.devicePixelRatio,i/=window.devicePixelRatio),{dragPreviewWidth:i,dragPreviewHeight:o}}function T(e,t,r,n,i){var o=w(t),a=o?e:t,u=m(a),c={x:r.x-u.x,y:r.y-u.y},s=e.offsetWidth,l=e.offsetHeight,f=n.anchorX,d=n.anchorY,h=S(o,t,s,l),v=h.dragPreviewWidth,p=h.dragPreviewHeight,y=function(){var e=new b([0,.5,1],[c.y,c.y/l*p,c.y+p-l]),t=e.interpolate(d);return g()&&o&&(t+=(window.devicePixelRatio-1)*p),t},O=function(){var e=new b([0,.5,1],[c.x,c.x/s*v,c.x+v-s]);return e.interpolate(f)},D=i.offsetX,T=i.offsetY,I=0===D||D,C=0===T||T;return{x:I?D:O(),y:C?T:y()}}var I,C="__NATIVE_FILE__",E="__NATIVE_URL__",k="__NATIVE_TEXT__",j="__NATIVE_HTML__";function P(e,t,r){var n=t.reduce((function(t,r){return t||e.getData(r)}),"");return null!=n?n:r}function N(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var x=(I={},N(I,C,{exposeProperties:{files:function(e){return Array.prototype.slice.call(e.files)},items:function(e){return e.items}},matchesTypes:["Files"]}),N(I,j,{exposeProperties:{html:function(e,t){return P(e,t,"")}},matchesTypes:["Html","text/html"]}),N(I,E,{exposeProperties:{urls:function(e,t){return P(e,t,"").split("\n")}},matchesTypes:["Url","text/uri-list"]}),N(I,k,{exposeProperties:{text:function(e,t){return P(e,t,"")}},matchesTypes:["Text","text/plain"]}),I);function R(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M(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 _(e,t,r){return t&&M(e.prototype,t),r&&M(e,r),e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var L=function(){function e(t){R(this,e),A(this,"item",void 0),A(this,"config",void 0),this.config=t,this.item={},this.initializeExposedProperties()}return _(e,[{key:"initializeExposedProperties",value:function(){var e=this;Object.keys(this.config.exposeProperties).forEach((function(t){Object.defineProperty(e.item,t,{configurable:!0,enumerable:!0,get:function(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})}))}},{key:"loadDataTransfer",value:function(e){var t=this;if(e){var r={};Object.keys(this.config.exposeProperties).forEach((function(n){r[n]={value:t.config.exposeProperties[n](e,t.config.matchesTypes),configurable:!0,enumerable:!0}})),Object.defineProperties(this.item,r)}}},{key:"canDrag",value:function(){return!0}},{key:"beginDrag",value:function(){return this.item}},{key:"isDragging",value:function(e,t){return t===e.getSourceId()}},{key:"endDrag",value:function(){}}]),e}();function U(e,t){var r=new L(x[e]);return r.loadDataTransfer(t),r}function H(e){if(!e)return null;var t=Array.prototype.slice.call(e.types||[]);return Object.keys(x).filter((function(e){var r=x[e].matchesTypes;return r.some((function(e){return t.indexOf(e)>-1}))}))[0]||null}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B(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 z(e,t,r){return t&&B(e.prototype,t),r&&B(e,r),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}var X=function(){function e(t,r){F(this,e),K(this,"ownerDocument",null),K(this,"globalContext",void 0),K(this,"optionsArgs",void 0),this.globalContext=t,this.optionsArgs=r}return z(e,[{key:"window",get:function(){return this.globalContext?this.globalContext:"undefined"!==typeof window?window:void 0}},{key:"document",get:function(){var e;return null!==(e=this.globalContext)&&void 0!==e&&e.document?this.globalContext.document:this.window?this.window.document:void 0}},{key:"rootElement",get:function(){var e;return(null===(e=this.optionsArgs)||void 0===e?void 0:e.rootElement)||this.window}}]),e}();function G(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 Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach((function(t){J(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W(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 V(e,t,r){return t&&W(e.prototype,t),r&&W(e,r),e}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 $=function(){function e(t,r,n){var i=this;q(this,e),J(this,"options",void 0),J(this,"actions",void 0),J(this,"monitor",void 0),J(this,"registry",void 0),J(this,"enterLeaveCounter",void 0),J(this,"sourcePreviewNodes",new Map),J(this,"sourcePreviewNodeOptions",new Map),J(this,"sourceNodes",new Map),J(this,"sourceNodeOptions",new Map),J(this,"dragStartSourceIds",null),J(this,"dropTargetIds",[]),J(this,"dragEnterTargetIds",[]),J(this,"currentNativeSource",null),J(this,"currentNativeHandle",null),J(this,"currentDragSourceNode",null),J(this,"altKeyPressed",!1),J(this,"mouseMoveTimeoutTimer",null),J(this,"asyncEndDragFrameId",null),J(this,"dragOverTargetIds",null),J(this,"getSourceClientOffset",(function(e){var t=i.sourceNodes.get(e);return t&&m(t)||null})),J(this,"endDragNativeItem",(function(){i.isDraggingNativeItem()&&(i.actions.endDrag(),i.currentNativeHandle&&i.registry.removeSource(i.currentNativeHandle),i.currentNativeHandle=null,i.currentNativeSource=null)})),J(this,"isNodeInDocument",(function(e){return Boolean(e&&i.document&&i.document.body&&i.document.body.contains(e))})),J(this,"endDragIfSourceWasRemovedFromDOM",(function(){var e=i.currentDragSourceNode;null==e||i.isNodeInDocument(e)||i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()})),J(this,"handleTopDragStartCapture",(function(){i.clearCurrentDragSourceNode(),i.dragStartSourceIds=[]})),J(this,"handleTopDragStart",(function(e){if(!e.defaultPrevented){var t=i.dragStartSourceIds;i.dragStartSourceIds=null;var r=D(e);i.monitor.isDragging()&&i.actions.endDrag(),i.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:i.getSourceClientOffset,clientOffset:r});var n=e.dataTransfer,o=H(n);if(i.monitor.isDragging()){if(n&&"function"===typeof n.setDragImage){var a=i.monitor.getSourceId(),u=i.sourceNodes.get(a),c=i.sourcePreviewNodes.get(a)||u;if(c){var s=i.getCurrentSourcePreviewNodeOptions(),l=s.anchorX,f=s.anchorY,d=s.offsetX,g=s.offsetY,h={anchorX:l,anchorY:f},v={offsetX:d,offsetY:g},p=T(u,c,r,h,v);n.setDragImage(c,p.x,p.y)}}try{null===n||void 0===n||n.setData("application/json",{})}catch(O){}i.setCurrentDragSourceNode(e.target);var y=i.getCurrentSourcePreviewNodeOptions(),b=y.captureDraggingState;b?i.actions.publishDragSource():setTimeout((function(){return i.actions.publishDragSource()}),0)}else if(o)i.beginDragNativeItem(o);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}}})),J(this,"handleTopDragEndCapture",(function(){i.clearCurrentDragSourceNode()&&i.monitor.isDragging()&&i.actions.endDrag()})),J(this,"handleTopDragEnterCapture",(function(e){i.dragEnterTargetIds=[];var t=i.enterLeaveCounter.enter(e.target);if(t&&!i.monitor.isDragging()){var r=e.dataTransfer,n=H(r);n&&i.beginDragNativeItem(n,r)}})),J(this,"handleTopDragEnter",(function(e){var t=i.dragEnterTargetIds;if(i.dragEnterTargetIds=[],i.monitor.isDragging()){i.altKeyPressed=e.altKey,t.length>0&&i.actions.hover(t,{clientOffset:D(e)});var r=t.some((function(e){return i.monitor.canDropOnTarget(e)}));r&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect()))}})),J(this,"handleTopDragOverCapture",(function(){i.dragOverTargetIds=[]})),J(this,"handleTopDragOver",(function(e){var t=i.dragOverTargetIds;if(i.dragOverTargetIds=[],!i.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer&&(e.dataTransfer.dropEffect="none"));i.altKeyPressed=e.altKey,i.actions.hover(t||[],{clientOffset:D(e)});var r=(t||[]).some((function(e){return i.monitor.canDropOnTarget(e)}));r?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=i.getCurrentDropEffect())):i.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))})),J(this,"handleTopDragLeaveCapture",(function(e){i.isDraggingNativeItem()&&e.preventDefault();var t=i.enterLeaveCounter.leave(e.target);t&&i.isDraggingNativeItem()&&setTimeout((function(){return i.endDragNativeItem()}),0)})),J(this,"handleTopDropCapture",(function(e){var t;(i.dropTargetIds=[],i.isDraggingNativeItem())?(e.preventDefault(),null===(t=i.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)):H(e.dataTransfer)&&e.preventDefault();i.enterLeaveCounter.reset()})),J(this,"handleTopDrop",(function(e){var t=i.dropTargetIds;i.dropTargetIds=[],i.actions.hover(t,{clientOffset:D(e)}),i.actions.drop({dropEffect:i.getCurrentDropEffect()}),i.isDraggingNativeItem()?i.endDragNativeItem():i.monitor.isDragging()&&i.actions.endDrag()})),J(this,"handleSelectStart",(function(e){var t=e.target;"function"===typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))})),this.options=new X(r,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new f(this.isNodeInDocument)}return V(e,[{key:"profile",value:function(){var e,t;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:(null===(e=this.dragStartSourceIds)||void 0===e?void 0:e.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:(null===(t=this.dragOverTargetIds)||void 0===t?void 0:t.length)||0}}},{key:"window",get:function(){return this.options.window}},{key:"document",get:function(){return this.options.document}},{key:"rootElement",get:function(){return this.options.rootElement}},{key:"setup",value:function(){var e=this.rootElement;if(void 0!==e){if(e.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");e.__isReactDndBackendSetUp=!0,this.addEventListeners(e)}}},{key:"teardown",value:function(){var e,t=this.rootElement;void 0!==t&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&(null===(e=this.window)||void 0===e||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}},{key:"connectDragPreview",value:function(e,t,r){var n=this;return this.sourcePreviewNodeOptions.set(e,r),this.sourcePreviewNodes.set(e,t),function(){n.sourcePreviewNodes.delete(e),n.sourcePreviewNodeOptions.delete(e)}}},{key:"connectDragSource",value:function(e,t,r){var n=this;this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,r);var i=function(t){return n.handleDragStart(t,e)},o=function(e){return n.handleSelectStart(e)};return t.setAttribute("draggable","true"),t.addEventListener("dragstart",i),t.addEventListener("selectstart",o),function(){n.sourceNodes.delete(e),n.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",i),t.removeEventListener("selectstart",o),t.setAttribute("draggable","false")}}},{key:"connectDropTarget",value:function(e,t){var r=this,n=function(t){return r.handleDragEnter(t,e)},i=function(t){return r.handleDragOver(t,e)},o=function(t){return r.handleDrop(t,e)};return t.addEventListener("dragenter",n),t.addEventListener("dragover",i),t.addEventListener("drop",o),function(){t.removeEventListener("dragenter",n),t.removeEventListener("dragover",i),t.removeEventListener("drop",o)}}},{key:"addEventListeners",value:function(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}},{key:"removeEventListeners",value:function(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}},{key:"getCurrentSourceNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return Y({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}},{key:"getCurrentDropEffect",value:function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}},{key:"getCurrentSourcePreviewNodeOptions",value:function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions.get(e);return Y({anchorX:.5,anchorY:.5,captureDraggingState:!1},t||{})}},{key:"isDraggingNativeItem",value:function(){var e=this.monitor.getItemType();return Object.keys(n).some((function(t){return n[t]===e}))}},{key:"beginDragNativeItem",value:function(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=U(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}},{key:"setCurrentDragSourceNode",value:function(e){var t=this;this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e;var r=1e3;this.mouseMoveTimeoutTimer=setTimeout((function(){var e;return null===(e=t.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",t.endDragIfSourceWasRemovedFromDOM,!0)}),r)}},{key:"clearCurrentDragSourceNode",value:function(){if(this.currentDragSourceNode){var e;if(this.currentDragSourceNode=null,this.rootElement)null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0);return this.mouseMoveTimeoutTimer=null,!0}return!1}},{key:"handleDragStart",value:function(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}},{key:"handleDragEnter",value:function(e,t){this.dragEnterTargetIds.unshift(t)}},{key:"handleDragOver",value:function(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}},{key:"handleDrop",value:function(e,t){this.dropTargetIds.unshift(t)}}]),e}(),Q=function(e,t,r){return new $(e,t,r)}}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [6],
3
+ {
4
+ '0x2o': function (e, t, r) {
5
+ 'use strict';
6
+ var n = r('q1tI'),
7
+ i = 60103;
8
+ if (((t.Fragment = 60107), 'function' === typeof Symbol && Symbol.for)) {
9
+ var o = Symbol.for;
10
+ (i = o('react.element')), (t.Fragment = o('react.fragment'));
11
+ }
12
+ var a =
13
+ n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
14
+ .ReactCurrentOwner,
15
+ u = Object.prototype.hasOwnProperty,
16
+ c = { key: !0, ref: !0, __self: !0, __source: !0 };
17
+ function s(e, t, r) {
18
+ var n,
19
+ o = {},
20
+ s = null,
21
+ l = null;
22
+ for (n in (void 0 !== r && (s = '' + r),
23
+ void 0 !== t.key && (s = '' + t.key),
24
+ void 0 !== t.ref && (l = t.ref),
25
+ t))
26
+ u.call(t, n) && !c.hasOwnProperty(n) && (o[n] = t[n]);
27
+ if (e && e.defaultProps)
28
+ for (n in ((t = e.defaultProps), t)) void 0 === o[n] && (o[n] = t[n]);
29
+ return {
30
+ $$typeof: i,
31
+ type: e,
32
+ key: s,
33
+ ref: l,
34
+ props: o,
35
+ _owner: a.current,
36
+ };
37
+ }
38
+ (t.jsx = s), (t.jsxs = s);
39
+ },
40
+ '6VBw': function (e, t, r) {
41
+ 'use strict';
42
+ var n = r('VTBJ'),
43
+ i = r('ODXe'),
44
+ o = r('rePB'),
45
+ a = r('Ff2n'),
46
+ u = r('q1tI'),
47
+ c = r.n(u),
48
+ s = r('TSYQ'),
49
+ l = r.n(s),
50
+ f = Object(u['createContext'])({}),
51
+ d = f,
52
+ g = r('U8pU'),
53
+ h = r('AJpP'),
54
+ v = r('Kwbf'),
55
+ p = r('MNnm'),
56
+ y = 'rc-util-key';
57
+ function b(e) {
58
+ if (e.attachTo) return e.attachTo;
59
+ var t = document.querySelector('head');
60
+ return t || document.body;
61
+ }
62
+ function O(e) {
63
+ var t,
64
+ r =
65
+ arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
66
+ if (!Object(p['a'])()) return null;
67
+ var n,
68
+ i = document.createElement('style');
69
+ (null === (t = r.csp) || void 0 === t ? void 0 : t.nonce) &&
70
+ (i.nonce = null === (n = r.csp) || void 0 === n ? void 0 : n.nonce);
71
+ i.innerHTML = e;
72
+ var o = b(r),
73
+ a = o.firstChild;
74
+ return (
75
+ r.prepend && o.prepend
76
+ ? o.prepend(i)
77
+ : r.prepend && a
78
+ ? o.insertBefore(i, a)
79
+ : o.appendChild(i),
80
+ i
81
+ );
82
+ }
83
+ var m = new Map();
84
+ function D(e, t) {
85
+ var r =
86
+ arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
87
+ n = b(r);
88
+ if (!m.has(n)) {
89
+ var i = O('', r),
90
+ o = i.parentNode;
91
+ m.set(n, o), o.removeChild(i);
92
+ }
93
+ var a = Array.from(m.get(n).children).find(function (e) {
94
+ return 'STYLE' === e.tagName && e[y] === t;
95
+ });
96
+ if (a) {
97
+ var u, c, s;
98
+ if (
99
+ (null === (u = r.csp) || void 0 === u ? void 0 : u.nonce) &&
100
+ a.nonce !==
101
+ (null === (c = r.csp) || void 0 === c ? void 0 : c.nonce)
102
+ )
103
+ a.nonce = null === (s = r.csp) || void 0 === s ? void 0 : s.nonce;
104
+ return a.innerHTML !== e && (a.innerHTML = e), a;
105
+ }
106
+ var l = O(e, r);
107
+ return (l[y] = t), l;
108
+ }
109
+ function w(e, t) {
110
+ Object(v['a'])(e, '[@ant-design/icons] '.concat(t));
111
+ }
112
+ function S(e) {
113
+ return (
114
+ 'object' === Object(g['a'])(e) &&
115
+ 'string' === typeof e.name &&
116
+ 'string' === typeof e.theme &&
117
+ ('object' === Object(g['a'])(e.icon) || 'function' === typeof e.icon)
118
+ );
119
+ }
120
+ function T() {
121
+ var e =
122
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
123
+ return Object.keys(e).reduce(function (t, r) {
124
+ var n = e[r];
125
+ switch (r) {
126
+ case 'class':
127
+ (t.className = n), delete t.class;
128
+ break;
129
+ default:
130
+ t[r] = n;
131
+ }
132
+ return t;
133
+ }, {});
134
+ }
135
+ function I(e, t, r) {
136
+ return r
137
+ ? c.a.createElement(
138
+ e.tag,
139
+ Object(n['a'])(Object(n['a'])({ key: t }, T(e.attrs)), r),
140
+ (e.children || []).map(function (r, n) {
141
+ return I(r, ''.concat(t, '-').concat(e.tag, '-').concat(n));
142
+ }),
143
+ )
144
+ : c.a.createElement(
145
+ e.tag,
146
+ Object(n['a'])({ key: t }, T(e.attrs)),
147
+ (e.children || []).map(function (r, n) {
148
+ return I(r, ''.concat(t, '-').concat(e.tag, '-').concat(n));
149
+ }),
150
+ );
151
+ }
152
+ function C(e) {
153
+ return Object(h['generate'])(e)[0];
154
+ }
155
+ function E(e) {
156
+ return e ? (Array.isArray(e) ? e : [e]) : [];
157
+ }
158
+ var k =
159
+ '\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n',
160
+ j = function () {
161
+ var e =
162
+ arguments.length > 0 && void 0 !== arguments[0]
163
+ ? arguments[0]
164
+ : k,
165
+ t = Object(u['useContext'])(d),
166
+ r = t.csp;
167
+ Object(u['useEffect'])(function () {
168
+ D(e, '@ant-design-icons', { prepend: !0, csp: r });
169
+ }, []);
170
+ },
171
+ P = [
172
+ 'icon',
173
+ 'className',
174
+ 'onClick',
175
+ 'style',
176
+ 'primaryColor',
177
+ 'secondaryColor',
178
+ ],
179
+ N = { primaryColor: '#333', secondaryColor: '#E6E6E6', calculated: !1 };
180
+ function x(e) {
181
+ var t = e.primaryColor,
182
+ r = e.secondaryColor;
183
+ (N.primaryColor = t),
184
+ (N.secondaryColor = r || C(t)),
185
+ (N.calculated = !!r);
186
+ }
187
+ function R() {
188
+ return Object(n['a'])({}, N);
189
+ }
190
+ var M = function (e) {
191
+ var t = e.icon,
192
+ r = e.className,
193
+ i = e.onClick,
194
+ o = e.style,
195
+ u = e.primaryColor,
196
+ c = e.secondaryColor,
197
+ s = Object(a['a'])(e, P),
198
+ l = N;
199
+ if (
200
+ (u && (l = { primaryColor: u, secondaryColor: c || C(u) }),
201
+ j(),
202
+ w(S(t), 'icon should be icon definiton, but got '.concat(t)),
203
+ !S(t))
204
+ )
205
+ return null;
206
+ var f = t;
207
+ return (
208
+ f &&
209
+ 'function' === typeof f.icon &&
210
+ (f = Object(n['a'])(
211
+ Object(n['a'])({}, f),
212
+ {},
213
+ { icon: f.icon(l.primaryColor, l.secondaryColor) },
214
+ )),
215
+ I(
216
+ f.icon,
217
+ 'svg-'.concat(f.name),
218
+ Object(n['a'])(
219
+ {
220
+ className: r,
221
+ onClick: i,
222
+ style: o,
223
+ 'data-icon': f.name,
224
+ width: '1em',
225
+ height: '1em',
226
+ fill: 'currentColor',
227
+ 'aria-hidden': 'true',
228
+ },
229
+ s,
230
+ ),
231
+ )
232
+ );
233
+ };
234
+ (M.displayName = 'IconReact'),
235
+ (M.getTwoToneColors = R),
236
+ (M.setTwoToneColors = x);
237
+ var _ = M;
238
+ function A(e) {
239
+ var t = E(e),
240
+ r = Object(i['a'])(t, 2),
241
+ n = r[0],
242
+ o = r[1];
243
+ return _.setTwoToneColors({ primaryColor: n, secondaryColor: o });
244
+ }
245
+ function L() {
246
+ var e = _.getTwoToneColors();
247
+ return e.calculated
248
+ ? [e.primaryColor, e.secondaryColor]
249
+ : e.primaryColor;
250
+ }
251
+ var U = [
252
+ 'className',
253
+ 'icon',
254
+ 'spin',
255
+ 'rotate',
256
+ 'tabIndex',
257
+ 'onClick',
258
+ 'twoToneColor',
259
+ ];
260
+ A('#1890ff');
261
+ var H = u['forwardRef'](function (e, t) {
262
+ var r,
263
+ c = e.className,
264
+ s = e.icon,
265
+ f = e.spin,
266
+ g = e.rotate,
267
+ h = e.tabIndex,
268
+ v = e.onClick,
269
+ p = e.twoToneColor,
270
+ y = Object(a['a'])(e, U),
271
+ b = u['useContext'](d),
272
+ O = b.prefixCls,
273
+ m = void 0 === O ? 'anticon' : O,
274
+ D = l()(
275
+ m,
276
+ ((r = {}),
277
+ Object(o['a'])(r, ''.concat(m, '-').concat(s.name), !!s.name),
278
+ Object(o['a'])(
279
+ r,
280
+ ''.concat(m, '-spin'),
281
+ !!f || 'loading' === s.name,
282
+ ),
283
+ r),
284
+ c,
285
+ ),
286
+ w = h;
287
+ void 0 === w && v && (w = -1);
288
+ var S = g
289
+ ? {
290
+ msTransform: 'rotate('.concat(g, 'deg)'),
291
+ transform: 'rotate('.concat(g, 'deg)'),
292
+ }
293
+ : void 0,
294
+ T = E(p),
295
+ I = Object(i['a'])(T, 2),
296
+ C = I[0],
297
+ k = I[1];
298
+ return u['createElement'](
299
+ 'span',
300
+ Object(n['a'])(
301
+ Object(n['a'])({ role: 'img', 'aria-label': s.name }, y),
302
+ {},
303
+ { ref: t, tabIndex: w, onClick: v, className: D },
304
+ ),
305
+ u['createElement'](_, {
306
+ icon: s,
307
+ primaryColor: C,
308
+ secondaryColor: k,
309
+ style: S,
310
+ }),
311
+ );
312
+ });
313
+ (H.displayName = 'AntdIcon'),
314
+ (H.getTwoToneColor = L),
315
+ (H.setTwoToneColor = A);
316
+ t['a'] = H;
317
+ },
318
+ EqDG: function (e, t, r) {
319
+ 'use strict';
320
+ r.d(t, 'a', function () {
321
+ return st;
322
+ });
323
+ var n = r('aKzv'),
324
+ i = 'dnd-core/INIT_COORDS',
325
+ o = 'dnd-core/BEGIN_DRAG',
326
+ a = 'dnd-core/PUBLISH_DRAG_SOURCE',
327
+ u = 'dnd-core/HOVER',
328
+ c = 'dnd-core/DROP',
329
+ s = 'dnd-core/END_DRAG';
330
+ function l(e, t) {
331
+ return {
332
+ type: i,
333
+ payload: { sourceClientOffset: t || null, clientOffset: e || null },
334
+ };
335
+ }
336
+ function f(e) {
337
+ return (
338
+ (f =
339
+ 'function' === typeof Symbol && 'symbol' === typeof Symbol.iterator
340
+ ? function (e) {
341
+ return typeof e;
342
+ }
343
+ : function (e) {
344
+ return e &&
345
+ 'function' === typeof Symbol &&
346
+ e.constructor === Symbol &&
347
+ e !== Symbol.prototype
348
+ ? 'symbol'
349
+ : typeof e;
350
+ }),
351
+ f(e)
352
+ );
353
+ }
354
+ function d(e, t, r) {
355
+ return t.split('.').reduce(function (e, t) {
356
+ return e && e[t] ? e[t] : r || null;
357
+ }, e);
358
+ }
359
+ function g(e, t) {
360
+ return e.filter(function (e) {
361
+ return e !== t;
362
+ });
363
+ }
364
+ function h(e) {
365
+ return 'object' === f(e);
366
+ }
367
+ function v(e, t) {
368
+ var r = new Map(),
369
+ n = function (e) {
370
+ r.set(e, r.has(e) ? r.get(e) + 1 : 1);
371
+ };
372
+ e.forEach(n), t.forEach(n);
373
+ var i = [];
374
+ return (
375
+ r.forEach(function (e, t) {
376
+ 1 === e && i.push(t);
377
+ }),
378
+ i
379
+ );
380
+ }
381
+ function p(e, t) {
382
+ return e.filter(function (e) {
383
+ return t.indexOf(e) > -1;
384
+ });
385
+ }
386
+ var y = {
387
+ type: i,
388
+ payload: { clientOffset: null, sourceClientOffset: null },
389
+ };
390
+ function b(e) {
391
+ return function () {
392
+ var t =
393
+ arguments.length > 0 && void 0 !== arguments[0]
394
+ ? arguments[0]
395
+ : [],
396
+ r =
397
+ arguments.length > 1 && void 0 !== arguments[1]
398
+ ? arguments[1]
399
+ : { publishSource: !0 },
400
+ n = r.publishSource,
401
+ i = void 0 === n || n,
402
+ a = r.clientOffset,
403
+ u = r.getSourceClientOffset,
404
+ c = e.getMonitor(),
405
+ s = e.getRegistry();
406
+ e.dispatch(l(a)), O(t, c, s);
407
+ var f = w(t, c);
408
+ if (null !== f) {
409
+ var d = null;
410
+ if (a) {
411
+ if (!u) throw new Error('getSourceClientOffset must be defined');
412
+ m(u), (d = u(f));
413
+ }
414
+ e.dispatch(l(a, d));
415
+ var g = s.getSource(f),
416
+ h = g.beginDrag(c, f);
417
+ if (null != h) {
418
+ D(h), s.pinSource(f);
419
+ var v = s.getSourceType(f);
420
+ return {
421
+ type: o,
422
+ payload: {
423
+ itemType: v,
424
+ item: h,
425
+ sourceId: f,
426
+ clientOffset: a || null,
427
+ sourceClientOffset: d || null,
428
+ isSourcePublic: !!i,
429
+ },
430
+ };
431
+ }
432
+ } else e.dispatch(y);
433
+ };
434
+ }
435
+ function O(e, t, r) {
436
+ Object(n['a'])(
437
+ !t.isDragging(),
438
+ 'Cannot call beginDrag while dragging.',
439
+ ),
440
+ e.forEach(function (e) {
441
+ Object(n['a'])(
442
+ r.getSource(e),
443
+ 'Expected sourceIds to be registered.',
444
+ );
445
+ });
446
+ }
447
+ function m(e) {
448
+ Object(n['a'])(
449
+ 'function' === typeof e,
450
+ 'When clientOffset is provided, getSourceClientOffset must be a function.',
451
+ );
452
+ }
453
+ function D(e) {
454
+ Object(n['a'])(h(e), 'Item must be an object.');
455
+ }
456
+ function w(e, t) {
457
+ for (var r = null, n = e.length - 1; n >= 0; n--)
458
+ if (t.canDragSource(e[n])) {
459
+ r = e[n];
460
+ break;
461
+ }
462
+ return r;
463
+ }
464
+ function S(e) {
465
+ return function () {
466
+ var t = e.getMonitor();
467
+ if (t.isDragging()) return { type: a };
468
+ };
469
+ }
470
+ function T(e, t) {
471
+ return null === t
472
+ ? null === e
473
+ : Array.isArray(e)
474
+ ? e.some(function (e) {
475
+ return e === t;
476
+ })
477
+ : e === t;
478
+ }
479
+ function I(e) {
480
+ return function (t) {
481
+ var r =
482
+ arguments.length > 1 && void 0 !== arguments[1]
483
+ ? arguments[1]
484
+ : {},
485
+ n = r.clientOffset;
486
+ C(t);
487
+ var i = t.slice(0),
488
+ o = e.getMonitor(),
489
+ a = e.getRegistry();
490
+ E(i, o, a);
491
+ var c = o.getItemType();
492
+ return (
493
+ k(i, a, c),
494
+ j(i, o, a),
495
+ { type: u, payload: { targetIds: i, clientOffset: n || null } }
496
+ );
497
+ };
498
+ }
499
+ function C(e) {
500
+ Object(n['a'])(Array.isArray(e), 'Expected targetIds to be an array.');
501
+ }
502
+ function E(e, t, r) {
503
+ Object(n['a'])(t.isDragging(), 'Cannot call hover while not dragging.'),
504
+ Object(n['a'])(!t.didDrop(), 'Cannot call hover after drop.');
505
+ for (var i = 0; i < e.length; i++) {
506
+ var o = e[i];
507
+ Object(n['a'])(
508
+ e.lastIndexOf(o) === i,
509
+ 'Expected targetIds to be unique in the passed array.',
510
+ );
511
+ var a = r.getTarget(o);
512
+ Object(n['a'])(a, 'Expected targetIds to be registered.');
513
+ }
514
+ }
515
+ function k(e, t, r) {
516
+ for (var n = e.length - 1; n >= 0; n--) {
517
+ var i = e[n],
518
+ o = t.getTargetType(i);
519
+ T(o, r) || e.splice(n, 1);
520
+ }
521
+ }
522
+ function j(e, t, r) {
523
+ e.forEach(function (e) {
524
+ var n = r.getTarget(e);
525
+ n.hover(t, e);
526
+ });
527
+ }
528
+ function P(e, t) {
529
+ var r = Object.keys(e);
530
+ if (Object.getOwnPropertySymbols) {
531
+ var n = Object.getOwnPropertySymbols(e);
532
+ t &&
533
+ (n = n.filter(function (t) {
534
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
535
+ })),
536
+ r.push.apply(r, n);
537
+ }
538
+ return r;
539
+ }
540
+ function N(e) {
541
+ for (var t = 1; t < arguments.length; t++) {
542
+ var r = null != arguments[t] ? arguments[t] : {};
543
+ t % 2
544
+ ? P(Object(r), !0).forEach(function (t) {
545
+ x(e, t, r[t]);
546
+ })
547
+ : Object.getOwnPropertyDescriptors
548
+ ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
549
+ : P(Object(r)).forEach(function (t) {
550
+ Object.defineProperty(
551
+ e,
552
+ t,
553
+ Object.getOwnPropertyDescriptor(r, t),
554
+ );
555
+ });
556
+ }
557
+ return e;
558
+ }
559
+ function x(e, t, r) {
560
+ return (
561
+ t in e
562
+ ? Object.defineProperty(e, t, {
563
+ value: r,
564
+ enumerable: !0,
565
+ configurable: !0,
566
+ writable: !0,
567
+ })
568
+ : (e[t] = r),
569
+ e
570
+ );
571
+ }
572
+ function R(e) {
573
+ return function () {
574
+ var t =
575
+ arguments.length > 0 && void 0 !== arguments[0]
576
+ ? arguments[0]
577
+ : {},
578
+ r = e.getMonitor(),
579
+ n = e.getRegistry();
580
+ M(r);
581
+ var i = L(r);
582
+ i.forEach(function (i, o) {
583
+ var a = _(i, o, n, r),
584
+ u = { type: c, payload: { dropResult: N(N({}, t), a) } };
585
+ e.dispatch(u);
586
+ });
587
+ };
588
+ }
589
+ function M(e) {
590
+ Object(n['a'])(e.isDragging(), 'Cannot call drop while not dragging.'),
591
+ Object(n['a'])(
592
+ !e.didDrop(),
593
+ 'Cannot call drop twice during one drag operation.',
594
+ );
595
+ }
596
+ function _(e, t, r, n) {
597
+ var i = r.getTarget(e),
598
+ o = i ? i.drop(n, e) : void 0;
599
+ return (
600
+ A(o),
601
+ 'undefined' === typeof o && (o = 0 === t ? {} : n.getDropResult()),
602
+ o
603
+ );
604
+ }
605
+ function A(e) {
606
+ Object(n['a'])(
607
+ 'undefined' === typeof e || h(e),
608
+ 'Drop result must either be an object or undefined.',
609
+ );
610
+ }
611
+ function L(e) {
612
+ var t = e.getTargetIds().filter(e.canDropOnTarget, e);
613
+ return t.reverse(), t;
614
+ }
615
+ function U(e) {
616
+ return function () {
617
+ var t = e.getMonitor(),
618
+ r = e.getRegistry();
619
+ H(t);
620
+ var n = t.getSourceId();
621
+ if (null != n) {
622
+ var i = r.getSource(n, !0);
623
+ i.endDrag(t, n), r.unpinSource();
624
+ }
625
+ return { type: s };
626
+ };
627
+ }
628
+ function H(e) {
629
+ Object(n['a'])(
630
+ e.isDragging(),
631
+ 'Cannot call endDrag while not dragging.',
632
+ );
633
+ }
634
+ function F(e) {
635
+ return {
636
+ beginDrag: b(e),
637
+ publishDragSource: S(e),
638
+ hover: I(e),
639
+ drop: R(e),
640
+ endDrag: U(e),
641
+ };
642
+ }
643
+ function B(e, t) {
644
+ if (!(e instanceof t))
645
+ throw new TypeError('Cannot call a class as a function');
646
+ }
647
+ function z(e, t) {
648
+ for (var r = 0; r < t.length; r++) {
649
+ var n = t[r];
650
+ (n.enumerable = n.enumerable || !1),
651
+ (n.configurable = !0),
652
+ 'value' in n && (n.writable = !0),
653
+ Object.defineProperty(e, n.key, n);
654
+ }
655
+ }
656
+ function K(e, t, r) {
657
+ return t && z(e.prototype, t), r && z(e, r), e;
658
+ }
659
+ var X = (function () {
660
+ function e(t, r) {
661
+ var n = this;
662
+ B(this, e),
663
+ (this.isSetUp = !1),
664
+ (this.handleRefCountChange = function () {
665
+ var e = n.store.getState().refCount > 0;
666
+ n.backend &&
667
+ (e && !n.isSetUp
668
+ ? (n.backend.setup(), (n.isSetUp = !0))
669
+ : !e &&
670
+ n.isSetUp &&
671
+ (n.backend.teardown(), (n.isSetUp = !1)));
672
+ }),
673
+ (this.store = t),
674
+ (this.monitor = r),
675
+ t.subscribe(this.handleRefCountChange);
676
+ }
677
+ return (
678
+ K(e, [
679
+ {
680
+ key: 'receiveBackend',
681
+ value: function (e) {
682
+ this.backend = e;
683
+ },
684
+ },
685
+ {
686
+ key: 'getMonitor',
687
+ value: function () {
688
+ return this.monitor;
689
+ },
690
+ },
691
+ {
692
+ key: 'getBackend',
693
+ value: function () {
694
+ return this.backend;
695
+ },
696
+ },
697
+ {
698
+ key: 'getRegistry',
699
+ value: function () {
700
+ return this.monitor.registry;
701
+ },
702
+ },
703
+ {
704
+ key: 'getActions',
705
+ value: function () {
706
+ var e = this,
707
+ t = this.store.dispatch;
708
+ function r(r) {
709
+ return function () {
710
+ for (
711
+ var n = arguments.length, i = new Array(n), o = 0;
712
+ o < n;
713
+ o++
714
+ )
715
+ i[o] = arguments[o];
716
+ var a = r.apply(e, i);
717
+ 'undefined' !== typeof a && t(a);
718
+ };
719
+ }
720
+ var n = F(this);
721
+ return Object.keys(n).reduce(function (e, t) {
722
+ var i = n[t];
723
+ return (e[t] = r(i)), e;
724
+ }, {});
725
+ },
726
+ },
727
+ {
728
+ key: 'dispatch',
729
+ value: function (e) {
730
+ this.store.dispatch(e);
731
+ },
732
+ },
733
+ ]),
734
+ e
735
+ );
736
+ })();
737
+ r('VTBJ');
738
+ function G(e) {
739
+ return (
740
+ 'Minified Redux error #' +
741
+ e +
742
+ '; visit https://redux.js.org/Errors?code=' +
743
+ e +
744
+ ' for the full message or use the non-minified dev environment for full errors. '
745
+ );
746
+ }
747
+ var Y = (function () {
748
+ return (
749
+ ('function' === typeof Symbol && Symbol.observable) ||
750
+ '@@observable'
751
+ );
752
+ })(),
753
+ q = function () {
754
+ return Math.random().toString(36).substring(7).split('').join('.');
755
+ },
756
+ W = {
757
+ INIT: '@@redux/INIT' + q(),
758
+ REPLACE: '@@redux/REPLACE' + q(),
759
+ PROBE_UNKNOWN_ACTION: function () {
760
+ return '@@redux/PROBE_UNKNOWN_ACTION' + q();
761
+ },
762
+ };
763
+ function V(e) {
764
+ if ('object' !== typeof e || null === e) return !1;
765
+ var t = e;
766
+ while (null !== Object.getPrototypeOf(t)) t = Object.getPrototypeOf(t);
767
+ return Object.getPrototypeOf(e) === t;
768
+ }
769
+ function J(e, t, r) {
770
+ var n;
771
+ if (
772
+ ('function' === typeof t && 'function' === typeof r) ||
773
+ ('function' === typeof r && 'function' === typeof arguments[3])
774
+ )
775
+ throw new Error(G(0));
776
+ if (
777
+ ('function' === typeof t &&
778
+ 'undefined' === typeof r &&
779
+ ((r = t), (t = void 0)),
780
+ 'undefined' !== typeof r)
781
+ ) {
782
+ if ('function' !== typeof r) throw new Error(G(1));
783
+ return r(J)(e, t);
784
+ }
785
+ if ('function' !== typeof e) throw new Error(G(2));
786
+ var i = e,
787
+ o = t,
788
+ a = [],
789
+ u = a,
790
+ c = !1;
791
+ function s() {
792
+ u === a && (u = a.slice());
793
+ }
794
+ function l() {
795
+ if (c) throw new Error(G(3));
796
+ return o;
797
+ }
798
+ function f(e) {
799
+ if ('function' !== typeof e) throw new Error(G(4));
800
+ if (c) throw new Error(G(5));
801
+ var t = !0;
802
+ return (
803
+ s(),
804
+ u.push(e),
805
+ function () {
806
+ if (t) {
807
+ if (c) throw new Error(G(6));
808
+ (t = !1), s();
809
+ var r = u.indexOf(e);
810
+ u.splice(r, 1), (a = null);
811
+ }
812
+ }
813
+ );
814
+ }
815
+ function d(e) {
816
+ if (!V(e)) throw new Error(G(7));
817
+ if ('undefined' === typeof e.type) throw new Error(G(8));
818
+ if (c) throw new Error(G(9));
819
+ try {
820
+ (c = !0), (o = i(o, e));
821
+ } finally {
822
+ c = !1;
823
+ }
824
+ for (var t = (a = u), r = 0; r < t.length; r++) {
825
+ var n = t[r];
826
+ n();
827
+ }
828
+ return e;
829
+ }
830
+ function g(e) {
831
+ if ('function' !== typeof e) throw new Error(G(10));
832
+ (i = e), d({ type: W.REPLACE });
833
+ }
834
+ function h() {
835
+ var e,
836
+ t = f;
837
+ return (
838
+ (e = {
839
+ subscribe: function (e) {
840
+ if ('object' !== typeof e || null === e) throw new Error(G(11));
841
+ function r() {
842
+ e.next && e.next(l());
843
+ }
844
+ r();
845
+ var n = t(r);
846
+ return { unsubscribe: n };
847
+ },
848
+ }),
849
+ (e[Y] = function () {
850
+ return this;
851
+ }),
852
+ e
853
+ );
854
+ }
855
+ return (
856
+ d({ type: W.INIT }),
857
+ (n = { dispatch: d, subscribe: f, getState: l, replaceReducer: g }),
858
+ (n[Y] = h),
859
+ n
860
+ );
861
+ }
862
+ var $ = function (e, t) {
863
+ return e === t;
864
+ };
865
+ function Q(e, t) {
866
+ return (!e && !t) || (!(!e || !t) && e.x === t.x && e.y === t.y);
867
+ }
868
+ function Z(e, t) {
869
+ var r =
870
+ arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : $;
871
+ if (e.length !== t.length) return !1;
872
+ for (var n = 0; n < e.length; ++n) if (!r(e[n], t[n])) return !1;
873
+ return !0;
874
+ }
875
+ function ee(e, t) {
876
+ var r = Object.keys(e);
877
+ if (Object.getOwnPropertySymbols) {
878
+ var n = Object.getOwnPropertySymbols(e);
879
+ t &&
880
+ (n = n.filter(function (t) {
881
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
882
+ })),
883
+ r.push.apply(r, n);
884
+ }
885
+ return r;
886
+ }
887
+ function te(e) {
888
+ for (var t = 1; t < arguments.length; t++) {
889
+ var r = null != arguments[t] ? arguments[t] : {};
890
+ t % 2
891
+ ? ee(Object(r), !0).forEach(function (t) {
892
+ re(e, t, r[t]);
893
+ })
894
+ : Object.getOwnPropertyDescriptors
895
+ ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
896
+ : ee(Object(r)).forEach(function (t) {
897
+ Object.defineProperty(
898
+ e,
899
+ t,
900
+ Object.getOwnPropertyDescriptor(r, t),
901
+ );
902
+ });
903
+ }
904
+ return e;
905
+ }
906
+ function re(e, t, r) {
907
+ return (
908
+ t in e
909
+ ? Object.defineProperty(e, t, {
910
+ value: r,
911
+ enumerable: !0,
912
+ configurable: !0,
913
+ writable: !0,
914
+ })
915
+ : (e[t] = r),
916
+ e
917
+ );
918
+ }
919
+ var ne = {
920
+ initialSourceClientOffset: null,
921
+ initialClientOffset: null,
922
+ clientOffset: null,
923
+ };
924
+ function ie() {
925
+ var e =
926
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ne,
927
+ t = arguments.length > 1 ? arguments[1] : void 0,
928
+ r = t.payload;
929
+ switch (t.type) {
930
+ case i:
931
+ case o:
932
+ return {
933
+ initialSourceClientOffset: r.sourceClientOffset,
934
+ initialClientOffset: r.clientOffset,
935
+ clientOffset: r.clientOffset,
936
+ };
937
+ case u:
938
+ return Q(e.clientOffset, r.clientOffset)
939
+ ? e
940
+ : te(te({}, e), {}, { clientOffset: r.clientOffset });
941
+ case s:
942
+ case c:
943
+ return ne;
944
+ default:
945
+ return e;
946
+ }
947
+ }
948
+ var oe = 'dnd-core/ADD_SOURCE',
949
+ ae = 'dnd-core/ADD_TARGET',
950
+ ue = 'dnd-core/REMOVE_SOURCE',
951
+ ce = 'dnd-core/REMOVE_TARGET';
952
+ function se(e) {
953
+ return { type: oe, payload: { sourceId: e } };
954
+ }
955
+ function le(e) {
956
+ return { type: ae, payload: { targetId: e } };
957
+ }
958
+ function fe(e) {
959
+ return { type: ue, payload: { sourceId: e } };
960
+ }
961
+ function de(e) {
962
+ return { type: ce, payload: { targetId: e } };
963
+ }
964
+ function ge(e, t) {
965
+ var r = Object.keys(e);
966
+ if (Object.getOwnPropertySymbols) {
967
+ var n = Object.getOwnPropertySymbols(e);
968
+ t &&
969
+ (n = n.filter(function (t) {
970
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
971
+ })),
972
+ r.push.apply(r, n);
973
+ }
974
+ return r;
975
+ }
976
+ function he(e) {
977
+ for (var t = 1; t < arguments.length; t++) {
978
+ var r = null != arguments[t] ? arguments[t] : {};
979
+ t % 2
980
+ ? ge(Object(r), !0).forEach(function (t) {
981
+ ve(e, t, r[t]);
982
+ })
983
+ : Object.getOwnPropertyDescriptors
984
+ ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
985
+ : ge(Object(r)).forEach(function (t) {
986
+ Object.defineProperty(
987
+ e,
988
+ t,
989
+ Object.getOwnPropertyDescriptor(r, t),
990
+ );
991
+ });
992
+ }
993
+ return e;
994
+ }
995
+ function ve(e, t, r) {
996
+ return (
997
+ t in e
998
+ ? Object.defineProperty(e, t, {
999
+ value: r,
1000
+ enumerable: !0,
1001
+ configurable: !0,
1002
+ writable: !0,
1003
+ })
1004
+ : (e[t] = r),
1005
+ e
1006
+ );
1007
+ }
1008
+ var pe = {
1009
+ itemType: null,
1010
+ item: null,
1011
+ sourceId: null,
1012
+ targetIds: [],
1013
+ dropResult: null,
1014
+ didDrop: !1,
1015
+ isSourcePublic: null,
1016
+ };
1017
+ function ye() {
1018
+ var e =
1019
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : pe,
1020
+ t = arguments.length > 1 ? arguments[1] : void 0,
1021
+ r = t.payload;
1022
+ switch (t.type) {
1023
+ case o:
1024
+ return he(
1025
+ he({}, e),
1026
+ {},
1027
+ {
1028
+ itemType: r.itemType,
1029
+ item: r.item,
1030
+ sourceId: r.sourceId,
1031
+ isSourcePublic: r.isSourcePublic,
1032
+ dropResult: null,
1033
+ didDrop: !1,
1034
+ },
1035
+ );
1036
+ case a:
1037
+ return he(he({}, e), {}, { isSourcePublic: !0 });
1038
+ case u:
1039
+ return he(he({}, e), {}, { targetIds: r.targetIds });
1040
+ case ce:
1041
+ return -1 === e.targetIds.indexOf(r.targetId)
1042
+ ? e
1043
+ : he(he({}, e), {}, { targetIds: g(e.targetIds, r.targetId) });
1044
+ case c:
1045
+ return he(
1046
+ he({}, e),
1047
+ {},
1048
+ { dropResult: r.dropResult, didDrop: !0, targetIds: [] },
1049
+ );
1050
+ case s:
1051
+ return he(
1052
+ he({}, e),
1053
+ {},
1054
+ {
1055
+ itemType: null,
1056
+ item: null,
1057
+ sourceId: null,
1058
+ dropResult: null,
1059
+ didDrop: !1,
1060
+ isSourcePublic: null,
1061
+ targetIds: [],
1062
+ },
1063
+ );
1064
+ default:
1065
+ return e;
1066
+ }
1067
+ }
1068
+ function be() {
1069
+ var e =
1070
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
1071
+ t = arguments.length > 1 ? arguments[1] : void 0;
1072
+ switch (t.type) {
1073
+ case oe:
1074
+ case ae:
1075
+ return e + 1;
1076
+ case ue:
1077
+ case ce:
1078
+ return e - 1;
1079
+ default:
1080
+ return e;
1081
+ }
1082
+ }
1083
+ var Oe = [],
1084
+ me = [];
1085
+ function De(e, t) {
1086
+ if (e === Oe) return !1;
1087
+ if (e === me || 'undefined' === typeof t) return !0;
1088
+ var r = p(t, e);
1089
+ return r.length > 0;
1090
+ }
1091
+ function we() {
1092
+ var e = arguments.length > 1 ? arguments[1] : void 0;
1093
+ switch (e.type) {
1094
+ case u:
1095
+ break;
1096
+ case oe:
1097
+ case ae:
1098
+ case ce:
1099
+ case ue:
1100
+ return Oe;
1101
+ case o:
1102
+ case a:
1103
+ case s:
1104
+ case c:
1105
+ default:
1106
+ return me;
1107
+ }
1108
+ var t = e.payload,
1109
+ r = t.targetIds,
1110
+ n = void 0 === r ? [] : r,
1111
+ i = t.prevTargetIds,
1112
+ l = void 0 === i ? [] : i,
1113
+ f = v(n, l),
1114
+ d = f.length > 0 || !Z(n, l);
1115
+ if (!d) return Oe;
1116
+ var g = l[l.length - 1],
1117
+ h = n[n.length - 1];
1118
+ return g !== h && (g && f.push(g), h && f.push(h)), f;
1119
+ }
1120
+ function Se() {
1121
+ var e =
1122
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0;
1123
+ return e + 1;
1124
+ }
1125
+ function Te(e, t) {
1126
+ var r = Object.keys(e);
1127
+ if (Object.getOwnPropertySymbols) {
1128
+ var n = Object.getOwnPropertySymbols(e);
1129
+ t &&
1130
+ (n = n.filter(function (t) {
1131
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
1132
+ })),
1133
+ r.push.apply(r, n);
1134
+ }
1135
+ return r;
1136
+ }
1137
+ function Ie(e) {
1138
+ for (var t = 1; t < arguments.length; t++) {
1139
+ var r = null != arguments[t] ? arguments[t] : {};
1140
+ t % 2
1141
+ ? Te(Object(r), !0).forEach(function (t) {
1142
+ Ce(e, t, r[t]);
1143
+ })
1144
+ : Object.getOwnPropertyDescriptors
1145
+ ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
1146
+ : Te(Object(r)).forEach(function (t) {
1147
+ Object.defineProperty(
1148
+ e,
1149
+ t,
1150
+ Object.getOwnPropertyDescriptor(r, t),
1151
+ );
1152
+ });
1153
+ }
1154
+ return e;
1155
+ }
1156
+ function Ce(e, t, r) {
1157
+ return (
1158
+ t in e
1159
+ ? Object.defineProperty(e, t, {
1160
+ value: r,
1161
+ enumerable: !0,
1162
+ configurable: !0,
1163
+ writable: !0,
1164
+ })
1165
+ : (e[t] = r),
1166
+ e
1167
+ );
1168
+ }
1169
+ function Ee() {
1170
+ var e =
1171
+ arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
1172
+ t = arguments.length > 1 ? arguments[1] : void 0;
1173
+ return {
1174
+ dirtyHandlerIds: we(e.dirtyHandlerIds, {
1175
+ type: t.type,
1176
+ payload: Ie(
1177
+ Ie({}, t.payload),
1178
+ {},
1179
+ { prevTargetIds: d(e, 'dragOperation.targetIds', []) },
1180
+ ),
1181
+ }),
1182
+ dragOffset: ie(e.dragOffset, t),
1183
+ refCount: be(e.refCount, t),
1184
+ dragOperation: ye(e.dragOperation, t),
1185
+ stateId: Se(e.stateId),
1186
+ };
1187
+ }
1188
+ function ke(e, t) {
1189
+ return { x: e.x + t.x, y: e.y + t.y };
1190
+ }
1191
+ function je(e, t) {
1192
+ return { x: e.x - t.x, y: e.y - t.y };
1193
+ }
1194
+ function Pe(e) {
1195
+ var t = e.clientOffset,
1196
+ r = e.initialClientOffset,
1197
+ n = e.initialSourceClientOffset;
1198
+ return t && r && n ? je(ke(t, n), r) : null;
1199
+ }
1200
+ function Ne(e) {
1201
+ var t = e.clientOffset,
1202
+ r = e.initialClientOffset;
1203
+ return t && r ? je(t, r) : null;
1204
+ }
1205
+ function xe(e, t) {
1206
+ if (!(e instanceof t))
1207
+ throw new TypeError('Cannot call a class as a function');
1208
+ }
1209
+ function Re(e, t) {
1210
+ for (var r = 0; r < t.length; r++) {
1211
+ var n = t[r];
1212
+ (n.enumerable = n.enumerable || !1),
1213
+ (n.configurable = !0),
1214
+ 'value' in n && (n.writable = !0),
1215
+ Object.defineProperty(e, n.key, n);
1216
+ }
1217
+ }
1218
+ function Me(e, t, r) {
1219
+ return t && Re(e.prototype, t), r && Re(e, r), e;
1220
+ }
1221
+ (Oe.__IS_NONE__ = !0), (me.__IS_ALL__ = !0);
1222
+ var _e,
1223
+ Ae = (function () {
1224
+ function e(t, r) {
1225
+ xe(this, e), (this.store = t), (this.registry = r);
1226
+ }
1227
+ return (
1228
+ Me(e, [
1229
+ {
1230
+ key: 'subscribeToStateChange',
1231
+ value: function (e) {
1232
+ var t = this,
1233
+ r =
1234
+ arguments.length > 1 && void 0 !== arguments[1]
1235
+ ? arguments[1]
1236
+ : { handlerIds: void 0 },
1237
+ i = r.handlerIds;
1238
+ Object(n['a'])(
1239
+ 'function' === typeof e,
1240
+ 'listener must be a function.',
1241
+ ),
1242
+ Object(n['a'])(
1243
+ 'undefined' === typeof i || Array.isArray(i),
1244
+ 'handlerIds, when specified, must be an array of strings.',
1245
+ );
1246
+ var o = this.store.getState().stateId,
1247
+ a = function () {
1248
+ var r = t.store.getState(),
1249
+ n = r.stateId;
1250
+ try {
1251
+ var a =
1252
+ n === o || (n === o + 1 && !De(r.dirtyHandlerIds, i));
1253
+ a || e();
1254
+ } finally {
1255
+ o = n;
1256
+ }
1257
+ };
1258
+ return this.store.subscribe(a);
1259
+ },
1260
+ },
1261
+ {
1262
+ key: 'subscribeToOffsetChange',
1263
+ value: function (e) {
1264
+ var t = this;
1265
+ Object(n['a'])(
1266
+ 'function' === typeof e,
1267
+ 'listener must be a function.',
1268
+ );
1269
+ var r = this.store.getState().dragOffset,
1270
+ i = function () {
1271
+ var n = t.store.getState().dragOffset;
1272
+ n !== r && ((r = n), e());
1273
+ };
1274
+ return this.store.subscribe(i);
1275
+ },
1276
+ },
1277
+ {
1278
+ key: 'canDragSource',
1279
+ value: function (e) {
1280
+ if (!e) return !1;
1281
+ var t = this.registry.getSource(e);
1282
+ return (
1283
+ Object(n['a'])(
1284
+ t,
1285
+ 'Expected to find a valid source. sourceId='.concat(e),
1286
+ ),
1287
+ !this.isDragging() && t.canDrag(this, e)
1288
+ );
1289
+ },
1290
+ },
1291
+ {
1292
+ key: 'canDropOnTarget',
1293
+ value: function (e) {
1294
+ if (!e) return !1;
1295
+ var t = this.registry.getTarget(e);
1296
+ if (
1297
+ (Object(n['a'])(
1298
+ t,
1299
+ 'Expected to find a valid target. targetId='.concat(e),
1300
+ ),
1301
+ !this.isDragging() || this.didDrop())
1302
+ )
1303
+ return !1;
1304
+ var r = this.registry.getTargetType(e),
1305
+ i = this.getItemType();
1306
+ return T(r, i) && t.canDrop(this, e);
1307
+ },
1308
+ },
1309
+ {
1310
+ key: 'isDragging',
1311
+ value: function () {
1312
+ return Boolean(this.getItemType());
1313
+ },
1314
+ },
1315
+ {
1316
+ key: 'isDraggingSource',
1317
+ value: function (e) {
1318
+ if (!e) return !1;
1319
+ var t = this.registry.getSource(e, !0);
1320
+ if (
1321
+ (Object(n['a'])(
1322
+ t,
1323
+ 'Expected to find a valid source. sourceId='.concat(e),
1324
+ ),
1325
+ !this.isDragging() || !this.isSourcePublic())
1326
+ )
1327
+ return !1;
1328
+ var r = this.registry.getSourceType(e),
1329
+ i = this.getItemType();
1330
+ return r === i && t.isDragging(this, e);
1331
+ },
1332
+ },
1333
+ {
1334
+ key: 'isOverTarget',
1335
+ value: function (e) {
1336
+ var t =
1337
+ arguments.length > 1 && void 0 !== arguments[1]
1338
+ ? arguments[1]
1339
+ : { shallow: !1 };
1340
+ if (!e) return !1;
1341
+ var r = t.shallow;
1342
+ if (!this.isDragging()) return !1;
1343
+ var n = this.registry.getTargetType(e),
1344
+ i = this.getItemType();
1345
+ if (i && !T(n, i)) return !1;
1346
+ var o = this.getTargetIds();
1347
+ if (!o.length) return !1;
1348
+ var a = o.indexOf(e);
1349
+ return r ? a === o.length - 1 : a > -1;
1350
+ },
1351
+ },
1352
+ {
1353
+ key: 'getItemType',
1354
+ value: function () {
1355
+ return this.store.getState().dragOperation.itemType;
1356
+ },
1357
+ },
1358
+ {
1359
+ key: 'getItem',
1360
+ value: function () {
1361
+ return this.store.getState().dragOperation.item;
1362
+ },
1363
+ },
1364
+ {
1365
+ key: 'getSourceId',
1366
+ value: function () {
1367
+ return this.store.getState().dragOperation.sourceId;
1368
+ },
1369
+ },
1370
+ {
1371
+ key: 'getTargetIds',
1372
+ value: function () {
1373
+ return this.store.getState().dragOperation.targetIds;
1374
+ },
1375
+ },
1376
+ {
1377
+ key: 'getDropResult',
1378
+ value: function () {
1379
+ return this.store.getState().dragOperation.dropResult;
1380
+ },
1381
+ },
1382
+ {
1383
+ key: 'didDrop',
1384
+ value: function () {
1385
+ return this.store.getState().dragOperation.didDrop;
1386
+ },
1387
+ },
1388
+ {
1389
+ key: 'isSourcePublic',
1390
+ value: function () {
1391
+ return Boolean(
1392
+ this.store.getState().dragOperation.isSourcePublic,
1393
+ );
1394
+ },
1395
+ },
1396
+ {
1397
+ key: 'getInitialClientOffset',
1398
+ value: function () {
1399
+ return this.store.getState().dragOffset.initialClientOffset;
1400
+ },
1401
+ },
1402
+ {
1403
+ key: 'getInitialSourceClientOffset',
1404
+ value: function () {
1405
+ return this.store.getState().dragOffset
1406
+ .initialSourceClientOffset;
1407
+ },
1408
+ },
1409
+ {
1410
+ key: 'getClientOffset',
1411
+ value: function () {
1412
+ return this.store.getState().dragOffset.clientOffset;
1413
+ },
1414
+ },
1415
+ {
1416
+ key: 'getSourceClientOffset',
1417
+ value: function () {
1418
+ return Pe(this.store.getState().dragOffset);
1419
+ },
1420
+ },
1421
+ {
1422
+ key: 'getDifferenceFromInitialOffset',
1423
+ value: function () {
1424
+ return Ne(this.store.getState().dragOffset);
1425
+ },
1426
+ },
1427
+ ]),
1428
+ e
1429
+ );
1430
+ })(),
1431
+ Le = 0;
1432
+ function Ue() {
1433
+ return Le++;
1434
+ }
1435
+ function He(e) {
1436
+ return (
1437
+ (He =
1438
+ 'function' === typeof Symbol && 'symbol' === typeof Symbol.iterator
1439
+ ? function (e) {
1440
+ return typeof e;
1441
+ }
1442
+ : function (e) {
1443
+ return e &&
1444
+ 'function' === typeof Symbol &&
1445
+ e.constructor === Symbol &&
1446
+ e !== Symbol.prototype
1447
+ ? 'symbol'
1448
+ : typeof e;
1449
+ }),
1450
+ He(e)
1451
+ );
1452
+ }
1453
+ function Fe(e) {
1454
+ Object(n['a'])(
1455
+ 'function' === typeof e.canDrag,
1456
+ 'Expected canDrag to be a function.',
1457
+ ),
1458
+ Object(n['a'])(
1459
+ 'function' === typeof e.beginDrag,
1460
+ 'Expected beginDrag to be a function.',
1461
+ ),
1462
+ Object(n['a'])(
1463
+ 'function' === typeof e.endDrag,
1464
+ 'Expected endDrag to be a function.',
1465
+ );
1466
+ }
1467
+ function Be(e) {
1468
+ Object(n['a'])(
1469
+ 'function' === typeof e.canDrop,
1470
+ 'Expected canDrop to be a function.',
1471
+ ),
1472
+ Object(n['a'])(
1473
+ 'function' === typeof e.hover,
1474
+ 'Expected hover to be a function.',
1475
+ ),
1476
+ Object(n['a'])(
1477
+ 'function' === typeof e.drop,
1478
+ 'Expected beginDrag to be a function.',
1479
+ );
1480
+ }
1481
+ function ze(e, t) {
1482
+ t && Array.isArray(e)
1483
+ ? e.forEach(function (e) {
1484
+ return ze(e, !1);
1485
+ })
1486
+ : Object(n['a'])(
1487
+ 'string' === typeof e || 'symbol' === He(e),
1488
+ t
1489
+ ? 'Type can only be a string, a symbol, or an array of either.'
1490
+ : 'Type can only be a string or a symbol.',
1491
+ );
1492
+ }
1493
+ (function (e) {
1494
+ (e['SOURCE'] = 'SOURCE'), (e['TARGET'] = 'TARGET');
1495
+ })(_e || (_e = {}));
1496
+ var Ke = r('b7DX'),
1497
+ Xe = [],
1498
+ Ge = [],
1499
+ Ye = Ke['a'].makeRequestCallFromTimer(qe);
1500
+ function qe() {
1501
+ if (Ge.length) throw Ge.shift();
1502
+ }
1503
+ function We(e) {
1504
+ var t;
1505
+ (t = Xe.length ? Xe.pop() : new Ve()), (t.task = e), Object(Ke['a'])(t);
1506
+ }
1507
+ var Ve = (function () {
1508
+ function e() {}
1509
+ return (
1510
+ (e.prototype.call = function () {
1511
+ try {
1512
+ this.task.call();
1513
+ } catch (e) {
1514
+ We.onerror ? We.onerror(e) : (Ge.push(e), Ye());
1515
+ } finally {
1516
+ (this.task = null), (Xe[Xe.length] = this);
1517
+ }
1518
+ }),
1519
+ e
1520
+ );
1521
+ })();
1522
+ function Je(e, t) {
1523
+ if (!(e instanceof t))
1524
+ throw new TypeError('Cannot call a class as a function');
1525
+ }
1526
+ function $e(e, t) {
1527
+ for (var r = 0; r < t.length; r++) {
1528
+ var n = t[r];
1529
+ (n.enumerable = n.enumerable || !1),
1530
+ (n.configurable = !0),
1531
+ 'value' in n && (n.writable = !0),
1532
+ Object.defineProperty(e, n.key, n);
1533
+ }
1534
+ }
1535
+ function Qe(e, t, r) {
1536
+ return t && $e(e.prototype, t), r && $e(e, r), e;
1537
+ }
1538
+ function Ze(e, t) {
1539
+ return it(e) || nt(e, t) || tt(e, t) || et();
1540
+ }
1541
+ function et() {
1542
+ throw new TypeError(
1543
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1544
+ );
1545
+ }
1546
+ function tt(e, t) {
1547
+ if (e) {
1548
+ if ('string' === typeof e) return rt(e, t);
1549
+ var r = Object.prototype.toString.call(e).slice(8, -1);
1550
+ return (
1551
+ 'Object' === r && e.constructor && (r = e.constructor.name),
1552
+ 'Map' === r || 'Set' === r
1553
+ ? Array.from(e)
1554
+ : 'Arguments' === r ||
1555
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
1556
+ ? rt(e, t)
1557
+ : void 0
1558
+ );
1559
+ }
1560
+ }
1561
+ function rt(e, t) {
1562
+ (null == t || t > e.length) && (t = e.length);
1563
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
1564
+ return n;
1565
+ }
1566
+ function nt(e, t) {
1567
+ if ('undefined' !== typeof Symbol && Symbol.iterator in Object(e)) {
1568
+ var r = [],
1569
+ n = !0,
1570
+ i = !1,
1571
+ o = void 0;
1572
+ try {
1573
+ for (
1574
+ var a, u = e[Symbol.iterator]();
1575
+ !(n = (a = u.next()).done);
1576
+ n = !0
1577
+ )
1578
+ if ((r.push(a.value), t && r.length === t)) break;
1579
+ } catch (c) {
1580
+ (i = !0), (o = c);
1581
+ } finally {
1582
+ try {
1583
+ n || null == u['return'] || u['return']();
1584
+ } finally {
1585
+ if (i) throw o;
1586
+ }
1587
+ }
1588
+ return r;
1589
+ }
1590
+ }
1591
+ function it(e) {
1592
+ if (Array.isArray(e)) return e;
1593
+ }
1594
+ function ot(e) {
1595
+ var t = Ue().toString();
1596
+ switch (e) {
1597
+ case _e.SOURCE:
1598
+ return 'S'.concat(t);
1599
+ case _e.TARGET:
1600
+ return 'T'.concat(t);
1601
+ default:
1602
+ throw new Error('Unknown Handler Role: '.concat(e));
1603
+ }
1604
+ }
1605
+ function at(e) {
1606
+ switch (e[0]) {
1607
+ case 'S':
1608
+ return _e.SOURCE;
1609
+ case 'T':
1610
+ return _e.TARGET;
1611
+ default:
1612
+ Object(n['a'])(!1, 'Cannot parse handler ID: '.concat(e));
1613
+ }
1614
+ }
1615
+ function ut(e, t) {
1616
+ var r = e.entries(),
1617
+ n = !1;
1618
+ do {
1619
+ var i = r.next(),
1620
+ o = i.done,
1621
+ a = Ze(i.value, 2),
1622
+ u = a[1];
1623
+ if (u === t) return !0;
1624
+ n = !!o;
1625
+ } while (!n);
1626
+ return !1;
1627
+ }
1628
+ var ct = (function () {
1629
+ function e(t) {
1630
+ Je(this, e),
1631
+ (this.types = new Map()),
1632
+ (this.dragSources = new Map()),
1633
+ (this.dropTargets = new Map()),
1634
+ (this.pinnedSourceId = null),
1635
+ (this.pinnedSource = null),
1636
+ (this.store = t);
1637
+ }
1638
+ return (
1639
+ Qe(e, [
1640
+ {
1641
+ key: 'addSource',
1642
+ value: function (e, t) {
1643
+ ze(e), Fe(t);
1644
+ var r = this.addHandler(_e.SOURCE, e, t);
1645
+ return this.store.dispatch(se(r)), r;
1646
+ },
1647
+ },
1648
+ {
1649
+ key: 'addTarget',
1650
+ value: function (e, t) {
1651
+ ze(e, !0), Be(t);
1652
+ var r = this.addHandler(_e.TARGET, e, t);
1653
+ return this.store.dispatch(le(r)), r;
1654
+ },
1655
+ },
1656
+ {
1657
+ key: 'containsHandler',
1658
+ value: function (e) {
1659
+ return ut(this.dragSources, e) || ut(this.dropTargets, e);
1660
+ },
1661
+ },
1662
+ {
1663
+ key: 'getSource',
1664
+ value: function (e) {
1665
+ var t =
1666
+ arguments.length > 1 &&
1667
+ void 0 !== arguments[1] &&
1668
+ arguments[1];
1669
+ Object(n['a'])(
1670
+ this.isSourceId(e),
1671
+ 'Expected a valid source ID.',
1672
+ );
1673
+ var r = t && e === this.pinnedSourceId,
1674
+ i = r ? this.pinnedSource : this.dragSources.get(e);
1675
+ return i;
1676
+ },
1677
+ },
1678
+ {
1679
+ key: 'getTarget',
1680
+ value: function (e) {
1681
+ return (
1682
+ Object(n['a'])(
1683
+ this.isTargetId(e),
1684
+ 'Expected a valid target ID.',
1685
+ ),
1686
+ this.dropTargets.get(e)
1687
+ );
1688
+ },
1689
+ },
1690
+ {
1691
+ key: 'getSourceType',
1692
+ value: function (e) {
1693
+ return (
1694
+ Object(n['a'])(
1695
+ this.isSourceId(e),
1696
+ 'Expected a valid source ID.',
1697
+ ),
1698
+ this.types.get(e)
1699
+ );
1700
+ },
1701
+ },
1702
+ {
1703
+ key: 'getTargetType',
1704
+ value: function (e) {
1705
+ return (
1706
+ Object(n['a'])(
1707
+ this.isTargetId(e),
1708
+ 'Expected a valid target ID.',
1709
+ ),
1710
+ this.types.get(e)
1711
+ );
1712
+ },
1713
+ },
1714
+ {
1715
+ key: 'isSourceId',
1716
+ value: function (e) {
1717
+ var t = at(e);
1718
+ return t === _e.SOURCE;
1719
+ },
1720
+ },
1721
+ {
1722
+ key: 'isTargetId',
1723
+ value: function (e) {
1724
+ var t = at(e);
1725
+ return t === _e.TARGET;
1726
+ },
1727
+ },
1728
+ {
1729
+ key: 'removeSource',
1730
+ value: function (e) {
1731
+ var t = this;
1732
+ Object(n['a'])(
1733
+ this.getSource(e),
1734
+ 'Expected an existing source.',
1735
+ ),
1736
+ this.store.dispatch(fe(e)),
1737
+ We(function () {
1738
+ t.dragSources.delete(e), t.types.delete(e);
1739
+ });
1740
+ },
1741
+ },
1742
+ {
1743
+ key: 'removeTarget',
1744
+ value: function (e) {
1745
+ Object(n['a'])(
1746
+ this.getTarget(e),
1747
+ 'Expected an existing target.',
1748
+ ),
1749
+ this.store.dispatch(de(e)),
1750
+ this.dropTargets.delete(e),
1751
+ this.types.delete(e);
1752
+ },
1753
+ },
1754
+ {
1755
+ key: 'pinSource',
1756
+ value: function (e) {
1757
+ var t = this.getSource(e);
1758
+ Object(n['a'])(t, 'Expected an existing source.'),
1759
+ (this.pinnedSourceId = e),
1760
+ (this.pinnedSource = t);
1761
+ },
1762
+ },
1763
+ {
1764
+ key: 'unpinSource',
1765
+ value: function () {
1766
+ Object(n['a'])(
1767
+ this.pinnedSource,
1768
+ 'No source is pinned at the time.',
1769
+ ),
1770
+ (this.pinnedSourceId = null),
1771
+ (this.pinnedSource = null);
1772
+ },
1773
+ },
1774
+ {
1775
+ key: 'addHandler',
1776
+ value: function (e, t, r) {
1777
+ var n = ot(e);
1778
+ return (
1779
+ this.types.set(n, t),
1780
+ e === _e.SOURCE
1781
+ ? this.dragSources.set(n, r)
1782
+ : e === _e.TARGET && this.dropTargets.set(n, r),
1783
+ n
1784
+ );
1785
+ },
1786
+ },
1787
+ ]),
1788
+ e
1789
+ );
1790
+ })();
1791
+ function st(e) {
1792
+ var t =
1793
+ arguments.length > 1 && void 0 !== arguments[1]
1794
+ ? arguments[1]
1795
+ : void 0,
1796
+ r =
1797
+ arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
1798
+ n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
1799
+ i = lt(n),
1800
+ o = new Ae(i, new ct(i)),
1801
+ a = new X(i, o),
1802
+ u = e(a, t, r);
1803
+ return a.receiveBackend(u), a;
1804
+ }
1805
+ function lt(e) {
1806
+ var t =
1807
+ 'undefined' !== typeof window && window.__REDUX_DEVTOOLS_EXTENSION__;
1808
+ return J(Ee, e && t && t({ name: 'dnd-core', instanceId: 'dnd-core' }));
1809
+ }
1810
+ },
1811
+ Hdnm: function (e, t, r) {
1812
+ 'use strict';
1813
+ function n(e) {
1814
+ return (
1815
+ (n =
1816
+ 'function' === typeof Symbol && 'symbol' === typeof Symbol.iterator
1817
+ ? function (e) {
1818
+ return typeof e;
1819
+ }
1820
+ : function (e) {
1821
+ return e &&
1822
+ 'function' === typeof Symbol &&
1823
+ e.constructor === Symbol &&
1824
+ e !== Symbol.prototype
1825
+ ? 'symbol'
1826
+ : typeof e;
1827
+ }),
1828
+ n(e)
1829
+ );
1830
+ }
1831
+ function i(e) {
1832
+ return (
1833
+ null !== e &&
1834
+ 'object' === n(e) &&
1835
+ Object.prototype.hasOwnProperty.call(e, 'current')
1836
+ );
1837
+ }
1838
+ r.d(t, 'a', function () {
1839
+ return i;
1840
+ });
1841
+ },
1842
+ JEhF: function (e, t, r) {
1843
+ 'use strict';
1844
+ (function (e) {
1845
+ r.d(t, 'a', function () {
1846
+ return b;
1847
+ });
1848
+ var n = r('nKUr'),
1849
+ i = r('q1tI'),
1850
+ o = r('EqDG'),
1851
+ a = r('p/5y'),
1852
+ u = ['children'];
1853
+ function c(e, t) {
1854
+ return g(e) || d(e, t) || l(e, t) || s();
1855
+ }
1856
+ function s() {
1857
+ throw new TypeError(
1858
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1859
+ );
1860
+ }
1861
+ function l(e, t) {
1862
+ if (e) {
1863
+ if ('string' === typeof e) return f(e, t);
1864
+ var r = Object.prototype.toString.call(e).slice(8, -1);
1865
+ return (
1866
+ 'Object' === r && e.constructor && (r = e.constructor.name),
1867
+ 'Map' === r || 'Set' === r
1868
+ ? Array.from(e)
1869
+ : 'Arguments' === r ||
1870
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)
1871
+ ? f(e, t)
1872
+ : void 0
1873
+ );
1874
+ }
1875
+ }
1876
+ function f(e, t) {
1877
+ (null == t || t > e.length) && (t = e.length);
1878
+ for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
1879
+ return n;
1880
+ }
1881
+ function d(e, t) {
1882
+ var r =
1883
+ null == e
1884
+ ? null
1885
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
1886
+ e['@@iterator'];
1887
+ if (null != r) {
1888
+ var n,
1889
+ i,
1890
+ o = [],
1891
+ a = !0,
1892
+ u = !1;
1893
+ try {
1894
+ for (r = r.call(e); !(a = (n = r.next()).done); a = !0)
1895
+ if ((o.push(n.value), t && o.length === t)) break;
1896
+ } catch (c) {
1897
+ (u = !0), (i = c);
1898
+ } finally {
1899
+ try {
1900
+ a || null == r['return'] || r['return']();
1901
+ } finally {
1902
+ if (u) throw i;
1903
+ }
1904
+ }
1905
+ return o;
1906
+ }
1907
+ }
1908
+ function g(e) {
1909
+ if (Array.isArray(e)) return e;
1910
+ }
1911
+ function h(e, t) {
1912
+ if (null == e) return {};
1913
+ var r,
1914
+ n,
1915
+ i = v(e, t);
1916
+ if (Object.getOwnPropertySymbols) {
1917
+ var o = Object.getOwnPropertySymbols(e);
1918
+ for (n = 0; n < o.length; n++)
1919
+ (r = o[n]),
1920
+ t.indexOf(r) >= 0 ||
1921
+ (Object.prototype.propertyIsEnumerable.call(e, r) &&
1922
+ (i[r] = e[r]));
1923
+ }
1924
+ return i;
1925
+ }
1926
+ function v(e, t) {
1927
+ if (null == e) return {};
1928
+ var r,
1929
+ n,
1930
+ i = {},
1931
+ o = Object.keys(e);
1932
+ for (n = 0; n < o.length; n++)
1933
+ (r = o[n]), t.indexOf(r) >= 0 || (i[r] = e[r]);
1934
+ return i;
1935
+ }
1936
+ var p = 0,
1937
+ y = Symbol.for('__REACT_DND_CONTEXT_INSTANCE__'),
1938
+ b = Object(i['memo'])(function (e) {
1939
+ var t = e.children,
1940
+ r = h(e, u),
1941
+ o = O(r),
1942
+ s = c(o, 2),
1943
+ l = s[0],
1944
+ f = s[1];
1945
+ return (
1946
+ Object(i['useEffect'])(function () {
1947
+ if (f) {
1948
+ var e = D();
1949
+ return (
1950
+ ++p,
1951
+ function () {
1952
+ 0 === --p && (e[y] = null);
1953
+ }
1954
+ );
1955
+ }
1956
+ }, []),
1957
+ Object(n['jsx'])(
1958
+ a['a'].Provider,
1959
+ Object.assign({ value: l }, { children: t }),
1960
+ void 0,
1961
+ )
1962
+ );
1963
+ });
1964
+ function O(e) {
1965
+ if ('manager' in e) {
1966
+ var t = { dragDropManager: e.manager };
1967
+ return [t, !1];
1968
+ }
1969
+ var r = m(e.backend, e.context, e.options, e.debugMode),
1970
+ n = !e.context;
1971
+ return [r, n];
1972
+ }
1973
+ function m(e) {
1974
+ var t =
1975
+ arguments.length > 1 && void 0 !== arguments[1]
1976
+ ? arguments[1]
1977
+ : D(),
1978
+ r = arguments.length > 2 ? arguments[2] : void 0,
1979
+ n = arguments.length > 3 ? arguments[3] : void 0,
1980
+ i = t;
1981
+ return (
1982
+ i[y] || (i[y] = { dragDropManager: Object(o['a'])(e, t, r, n) }),
1983
+ i[y]
1984
+ );
1985
+ }
1986
+ function D() {
1987
+ return 'undefined' !== typeof e ? e : window;
1988
+ }
1989
+ }.call(this, r('IyRk')));
1990
+ },
1991
+ Jk9P: function (e, t, r) {
1992
+ 'use strict';
1993
+ r.d(t, 'a', function () {
1994
+ return s;
1995
+ });
1996
+ var n = r('aKzv');
1997
+ function i(e, t) {
1998
+ if (!(e instanceof t))
1999
+ throw new TypeError('Cannot call a class as a function');
2000
+ }
2001
+ function o(e, t) {
2002
+ for (var r = 0; r < t.length; r++) {
2003
+ var n = t[r];
2004
+ (n.enumerable = n.enumerable || !1),
2005
+ (n.configurable = !0),
2006
+ 'value' in n && (n.writable = !0),
2007
+ Object.defineProperty(e, n.key, n);
2008
+ }
2009
+ }
2010
+ function a(e, t, r) {
2011
+ return t && o(e.prototype, t), r && o(e, r), e;
2012
+ }
2013
+ function u(e, t, r) {
2014
+ return (
2015
+ t in e
2016
+ ? Object.defineProperty(e, t, {
2017
+ value: r,
2018
+ enumerable: !0,
2019
+ configurable: !0,
2020
+ writable: !0,
2021
+ })
2022
+ : (e[t] = r),
2023
+ e
2024
+ );
2025
+ }
2026
+ var c = !1,
2027
+ s = (function () {
2028
+ function e(t) {
2029
+ i(this, e),
2030
+ u(this, 'internalMonitor', void 0),
2031
+ u(this, 'targetId', null),
2032
+ (this.internalMonitor = t.getMonitor());
2033
+ }
2034
+ return (
2035
+ a(e, [
2036
+ {
2037
+ key: 'receiveHandlerId',
2038
+ value: function (e) {
2039
+ this.targetId = e;
2040
+ },
2041
+ },
2042
+ {
2043
+ key: 'getHandlerId',
2044
+ value: function () {
2045
+ return this.targetId;
2046
+ },
2047
+ },
2048
+ {
2049
+ key: 'subscribeToStateChange',
2050
+ value: function (e, t) {
2051
+ return this.internalMonitor.subscribeToStateChange(e, t);
2052
+ },
2053
+ },
2054
+ {
2055
+ key: 'canDrop',
2056
+ value: function () {
2057
+ if (!this.targetId) return !1;
2058
+ Object(n['a'])(
2059
+ !c,
2060
+ 'You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor',
2061
+ );
2062
+ try {
2063
+ return (
2064
+ (c = !0),
2065
+ this.internalMonitor.canDropOnTarget(this.targetId)
2066
+ );
2067
+ } finally {
2068
+ c = !1;
2069
+ }
2070
+ },
2071
+ },
2072
+ {
2073
+ key: 'isOver',
2074
+ value: function (e) {
2075
+ return (
2076
+ !!this.targetId &&
2077
+ this.internalMonitor.isOverTarget(this.targetId, e)
2078
+ );
2079
+ },
2080
+ },
2081
+ {
2082
+ key: 'getItemType',
2083
+ value: function () {
2084
+ return this.internalMonitor.getItemType();
2085
+ },
2086
+ },
2087
+ {
2088
+ key: 'getItem',
2089
+ value: function () {
2090
+ return this.internalMonitor.getItem();
2091
+ },
2092
+ },
2093
+ {
2094
+ key: 'getDropResult',
2095
+ value: function () {
2096
+ return this.internalMonitor.getDropResult();
2097
+ },
2098
+ },
2099
+ {
2100
+ key: 'didDrop',
2101
+ value: function () {
2102
+ return this.internalMonitor.didDrop();
2103
+ },
2104
+ },
2105
+ {
2106
+ key: 'getInitialClientOffset',
2107
+ value: function () {
2108
+ return this.internalMonitor.getInitialClientOffset();
2109
+ },
2110
+ },
2111
+ {
2112
+ key: 'getInitialSourceClientOffset',
2113
+ value: function () {
2114
+ return this.internalMonitor.getInitialSourceClientOffset();
2115
+ },
2116
+ },
2117
+ {
2118
+ key: 'getSourceClientOffset',
2119
+ value: function () {
2120
+ return this.internalMonitor.getSourceClientOffset();
2121
+ },
2122
+ },
2123
+ {
2124
+ key: 'getClientOffset',
2125
+ value: function () {
2126
+ return this.internalMonitor.getClientOffset();
2127
+ },
2128
+ },
2129
+ {
2130
+ key: 'getDifferenceFromInitialOffset',
2131
+ value: function () {
2132
+ return this.internalMonitor.getDifferenceFromInitialOffset();
2133
+ },
2134
+ },
2135
+ ]),
2136
+ e
2137
+ );
2138
+ })();
2139
+ },
2140
+ JpUf: function (e, t, r) {
2141
+ 'use strict';
2142
+ r.d(t, 'a', function () {
2143
+ return u;
2144
+ });
2145
+ var n = r('aKzv'),
2146
+ i = r('q1tI');
2147
+ function o(e) {
2148
+ if ('string' !== typeof e.type) {
2149
+ var t = e.type.displayName || e.type.name || 'the component';
2150
+ throw new Error(
2151
+ 'Only native element nodes can now be passed to React DnD connectors.' +
2152
+ 'You can either wrap '.concat(
2153
+ t,
2154
+ ' into a <div>, or turn it into a ',
2155
+ ) +
2156
+ 'drag source or a drop target itself.',
2157
+ );
2158
+ }
2159
+ }
2160
+ function a(e) {
2161
+ return function () {
2162
+ var t =
2163
+ arguments.length > 0 && void 0 !== arguments[0]
2164
+ ? arguments[0]
2165
+ : null,
2166
+ r =
2167
+ arguments.length > 1 && void 0 !== arguments[1]
2168
+ ? arguments[1]
2169
+ : null;
2170
+ if (!Object(i['isValidElement'])(t)) {
2171
+ var n = t;
2172
+ return e(n, r), n;
2173
+ }
2174
+ var a = t;
2175
+ o(a);
2176
+ var u = r
2177
+ ? function (t) {
2178
+ return e(t, r);
2179
+ }
2180
+ : e;
2181
+ return s(a, u);
2182
+ };
2183
+ }
2184
+ function u(e) {
2185
+ var t = {};
2186
+ return (
2187
+ Object.keys(e).forEach(function (r) {
2188
+ var n = e[r];
2189
+ if (r.endsWith('Ref')) t[r] = e[r];
2190
+ else {
2191
+ var i = a(n);
2192
+ t[r] = function () {
2193
+ return i;
2194
+ };
2195
+ }
2196
+ }),
2197
+ t
2198
+ );
2199
+ }
2200
+ function c(e, t) {
2201
+ 'function' === typeof e ? e(t) : (e.current = t);
2202
+ }
2203
+ function s(e, t) {
2204
+ var r = e.ref;
2205
+ return (
2206
+ Object(n['a'])(
2207
+ 'string' !== typeof r,
2208
+ 'Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs',
2209
+ ),
2210
+ r
2211
+ ? Object(i['cloneElement'])(e, {
2212
+ ref: function (e) {
2213
+ c(r, e), c(t, e);
2214
+ },
2215
+ })
2216
+ : Object(i['cloneElement'])(e, { ref: t })
2217
+ );
2218
+ }
2219
+ },
2220
+ UhZW: function (e, t, r) {
2221
+ 'use strict';
2222
+ r.d(t, 'a', function () {
2223
+ return l;
2224
+ });
2225
+ var n = r('khz9'),
2226
+ i = r('JpUf'),
2227
+ o = r('Hdnm');
2228
+ function a(e, t) {
2229
+ if (!(e instanceof t))
2230
+ throw new TypeError('Cannot call a class as a function');
2231
+ }
2232
+ function u(e, t) {
2233
+ for (var r = 0; r < t.length; r++) {
2234
+ var n = t[r];
2235
+ (n.enumerable = n.enumerable || !1),
2236
+ (n.configurable = !0),
2237
+ 'value' in n && (n.writable = !0),
2238
+ Object.defineProperty(e, n.key, n);
2239
+ }
2240
+ }
2241
+ function c(e, t, r) {
2242
+ return t && u(e.prototype, t), r && u(e, r), e;
2243
+ }
2244
+ function s(e, t, r) {
2245
+ return (
2246
+ t in e
2247
+ ? Object.defineProperty(e, t, {
2248
+ value: r,
2249
+ enumerable: !0,
2250
+ configurable: !0,
2251
+ writable: !0,
2252
+ })
2253
+ : (e[t] = r),
2254
+ e
2255
+ );
2256
+ }
2257
+ var l = (function () {
2258
+ function e(t) {
2259
+ var r = this;
2260
+ a(this, e),
2261
+ s(
2262
+ this,
2263
+ 'hooks',
2264
+ Object(i['a'])({
2265
+ dropTarget: function (e, t) {
2266
+ r.clearDropTarget(),
2267
+ (r.dropTargetOptions = t),
2268
+ Object(o['a'])(e)
2269
+ ? (r.dropTargetRef = e)
2270
+ : (r.dropTargetNode = e),
2271
+ r.reconnect();
2272
+ },
2273
+ }),
2274
+ ),
2275
+ s(this, 'handlerId', null),
2276
+ s(this, 'dropTargetRef', null),
2277
+ s(this, 'dropTargetNode', void 0),
2278
+ s(this, 'dropTargetOptionsInternal', null),
2279
+ s(this, 'unsubscribeDropTarget', void 0),
2280
+ s(this, 'lastConnectedHandlerId', null),
2281
+ s(this, 'lastConnectedDropTarget', null),
2282
+ s(this, 'lastConnectedDropTargetOptions', null),
2283
+ s(this, 'backend', void 0),
2284
+ (this.backend = t);
2285
+ }
2286
+ return (
2287
+ c(e, [
2288
+ {
2289
+ key: 'connectTarget',
2290
+ get: function () {
2291
+ return this.dropTarget;
2292
+ },
2293
+ },
2294
+ {
2295
+ key: 'reconnect',
2296
+ value: function () {
2297
+ var e =
2298
+ this.didHandlerIdChange() ||
2299
+ this.didDropTargetChange() ||
2300
+ this.didOptionsChange();
2301
+ e && this.disconnectDropTarget();
2302
+ var t = this.dropTarget;
2303
+ this.handlerId &&
2304
+ (t
2305
+ ? e &&
2306
+ ((this.lastConnectedHandlerId = this.handlerId),
2307
+ (this.lastConnectedDropTarget = t),
2308
+ (this.lastConnectedDropTargetOptions =
2309
+ this.dropTargetOptions),
2310
+ (this.unsubscribeDropTarget =
2311
+ this.backend.connectDropTarget(
2312
+ this.handlerId,
2313
+ t,
2314
+ this.dropTargetOptions,
2315
+ )))
2316
+ : (this.lastConnectedDropTarget = t));
2317
+ },
2318
+ },
2319
+ {
2320
+ key: 'receiveHandlerId',
2321
+ value: function (e) {
2322
+ e !== this.handlerId &&
2323
+ ((this.handlerId = e), this.reconnect());
2324
+ },
2325
+ },
2326
+ {
2327
+ key: 'dropTargetOptions',
2328
+ get: function () {
2329
+ return this.dropTargetOptionsInternal;
2330
+ },
2331
+ set: function (e) {
2332
+ this.dropTargetOptionsInternal = e;
2333
+ },
2334
+ },
2335
+ {
2336
+ key: 'didHandlerIdChange',
2337
+ value: function () {
2338
+ return this.lastConnectedHandlerId !== this.handlerId;
2339
+ },
2340
+ },
2341
+ {
2342
+ key: 'didDropTargetChange',
2343
+ value: function () {
2344
+ return this.lastConnectedDropTarget !== this.dropTarget;
2345
+ },
2346
+ },
2347
+ {
2348
+ key: 'didOptionsChange',
2349
+ value: function () {
2350
+ return !Object(n['a'])(
2351
+ this.lastConnectedDropTargetOptions,
2352
+ this.dropTargetOptions,
2353
+ );
2354
+ },
2355
+ },
2356
+ {
2357
+ key: 'disconnectDropTarget',
2358
+ value: function () {
2359
+ this.unsubscribeDropTarget &&
2360
+ (this.unsubscribeDropTarget(),
2361
+ (this.unsubscribeDropTarget = void 0));
2362
+ },
2363
+ },
2364
+ {
2365
+ key: 'dropTarget',
2366
+ get: function () {
2367
+ return (
2368
+ this.dropTargetNode ||
2369
+ (this.dropTargetRef && this.dropTargetRef.current)
2370
+ );
2371
+ },
2372
+ },
2373
+ {
2374
+ key: 'clearDropTarget',
2375
+ value: function () {
2376
+ (this.dropTargetRef = null), (this.dropTargetNode = null);
2377
+ },
2378
+ },
2379
+ ]),
2380
+ e
2381
+ );
2382
+ })();
2383
+ },
2384
+ aKzv: function (e, t, r) {
2385
+ 'use strict';
2386
+ function n(e, t) {
2387
+ for (
2388
+ var r = arguments.length, n = new Array(r > 2 ? r - 2 : 0), i = 2;
2389
+ i < r;
2390
+ i++
2391
+ )
2392
+ n[i - 2] = arguments[i];
2393
+ if (!e) {
2394
+ var o;
2395
+ if (void 0 === t)
2396
+ o = new Error(
2397
+ 'Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.',
2398
+ );
2399
+ else {
2400
+ var a = 0;
2401
+ (o = new Error(
2402
+ t.replace(/%s/g, function () {
2403
+ return n[a++];
2404
+ }),
2405
+ )),
2406
+ (o.name = 'Invariant Violation');
2407
+ }
2408
+ throw ((o.framesToPop = 1), o);
2409
+ }
2410
+ }
2411
+ r.d(t, 'a', function () {
2412
+ return n;
2413
+ });
2414
+ },
2415
+ b7DX: function (e, t, r) {
2416
+ 'use strict';
2417
+ (function (e) {
2418
+ function n(e) {
2419
+ o.length || (i(), !0), (o[o.length] = e);
2420
+ }
2421
+ r.d(t, 'a', function () {
2422
+ return n;
2423
+ });
2424
+ var i,
2425
+ o = [],
2426
+ a = 0,
2427
+ u = 1024;
2428
+ function c() {
2429
+ while (a < o.length) {
2430
+ var e = a;
2431
+ if (((a += 1), o[e].call(), a > u)) {
2432
+ for (var t = 0, r = o.length - a; t < r; t++) o[t] = o[t + a];
2433
+ (o.length -= a), (a = 0);
2434
+ }
2435
+ }
2436
+ (o.length = 0), (a = 0), !1;
2437
+ }
2438
+ var s = 'undefined' !== typeof e ? e : self,
2439
+ l = s.MutationObserver || s.WebKitMutationObserver;
2440
+ function f(e) {
2441
+ var t = 1,
2442
+ r = new l(e),
2443
+ n = document.createTextNode('');
2444
+ return (
2445
+ r.observe(n, { characterData: !0 }),
2446
+ function () {
2447
+ (t = -t), (n.data = t);
2448
+ }
2449
+ );
2450
+ }
2451
+ function d(e) {
2452
+ return function () {
2453
+ var t = setTimeout(n, 0),
2454
+ r = setInterval(n, 50);
2455
+ function n() {
2456
+ clearTimeout(t), clearInterval(r), e();
2457
+ }
2458
+ };
2459
+ }
2460
+ (i = 'function' === typeof l ? f(c) : d(c)),
2461
+ (n.requestFlush = i),
2462
+ (n.makeRequestCallFromTimer = d);
2463
+ }.call(this, r('IyRk')));
2464
+ },
2465
+ cwzq: function (e, t, r) {
2466
+ 'use strict';
2467
+ function n(e, t, r) {
2468
+ var n = r.getRegistry(),
2469
+ i = n.addTarget(e, t);
2470
+ return [
2471
+ i,
2472
+ function () {
2473
+ return n.removeTarget(i);
2474
+ },
2475
+ ];
2476
+ }
2477
+ function i(e, t, r) {
2478
+ var n = r.getRegistry(),
2479
+ i = n.addSource(e, t);
2480
+ return [
2481
+ i,
2482
+ function () {
2483
+ return n.removeSource(i);
2484
+ },
2485
+ ];
2486
+ }
2487
+ r.d(t, 'b', function () {
2488
+ return n;
2489
+ }),
2490
+ r.d(t, 'a', function () {
2491
+ return i;
2492
+ });
2493
+ },
2494
+ 'd/lI': function (e, t, r) {
2495
+ 'use strict';
2496
+ r.d(t, 'a', function () {
2497
+ return l;
2498
+ });
2499
+ var n = r('JpUf'),
2500
+ i = r('Hdnm'),
2501
+ o = r('khz9');
2502
+ function a(e, t) {
2503
+ if (!(e instanceof t))
2504
+ throw new TypeError('Cannot call a class as a function');
2505
+ }
2506
+ function u(e, t) {
2507
+ for (var r = 0; r < t.length; r++) {
2508
+ var n = t[r];
2509
+ (n.enumerable = n.enumerable || !1),
2510
+ (n.configurable = !0),
2511
+ 'value' in n && (n.writable = !0),
2512
+ Object.defineProperty(e, n.key, n);
2513
+ }
2514
+ }
2515
+ function c(e, t, r) {
2516
+ return t && u(e.prototype, t), r && u(e, r), e;
2517
+ }
2518
+ function s(e, t, r) {
2519
+ return (
2520
+ t in e
2521
+ ? Object.defineProperty(e, t, {
2522
+ value: r,
2523
+ enumerable: !0,
2524
+ configurable: !0,
2525
+ writable: !0,
2526
+ })
2527
+ : (e[t] = r),
2528
+ e
2529
+ );
2530
+ }
2531
+ var l = (function () {
2532
+ function e(t) {
2533
+ var r = this;
2534
+ a(this, e),
2535
+ s(
2536
+ this,
2537
+ 'hooks',
2538
+ Object(n['a'])({
2539
+ dragSource: function (e, t) {
2540
+ r.clearDragSource(),
2541
+ (r.dragSourceOptions = t || null),
2542
+ Object(i['a'])(e)
2543
+ ? (r.dragSourceRef = e)
2544
+ : (r.dragSourceNode = e),
2545
+ r.reconnectDragSource();
2546
+ },
2547
+ dragPreview: function (e, t) {
2548
+ r.clearDragPreview(),
2549
+ (r.dragPreviewOptions = t || null),
2550
+ Object(i['a'])(e)
2551
+ ? (r.dragPreviewRef = e)
2552
+ : (r.dragPreviewNode = e),
2553
+ r.reconnectDragPreview();
2554
+ },
2555
+ }),
2556
+ ),
2557
+ s(this, 'handlerId', null),
2558
+ s(this, 'dragSourceRef', null),
2559
+ s(this, 'dragSourceNode', void 0),
2560
+ s(this, 'dragSourceOptionsInternal', null),
2561
+ s(this, 'dragSourceUnsubscribe', void 0),
2562
+ s(this, 'dragPreviewRef', null),
2563
+ s(this, 'dragPreviewNode', void 0),
2564
+ s(this, 'dragPreviewOptionsInternal', null),
2565
+ s(this, 'dragPreviewUnsubscribe', void 0),
2566
+ s(this, 'lastConnectedHandlerId', null),
2567
+ s(this, 'lastConnectedDragSource', null),
2568
+ s(this, 'lastConnectedDragSourceOptions', null),
2569
+ s(this, 'lastConnectedDragPreview', null),
2570
+ s(this, 'lastConnectedDragPreviewOptions', null),
2571
+ s(this, 'backend', void 0),
2572
+ (this.backend = t);
2573
+ }
2574
+ return (
2575
+ c(e, [
2576
+ {
2577
+ key: 'receiveHandlerId',
2578
+ value: function (e) {
2579
+ this.handlerId !== e &&
2580
+ ((this.handlerId = e), this.reconnect());
2581
+ },
2582
+ },
2583
+ {
2584
+ key: 'connectTarget',
2585
+ get: function () {
2586
+ return this.dragSource;
2587
+ },
2588
+ },
2589
+ {
2590
+ key: 'dragSourceOptions',
2591
+ get: function () {
2592
+ return this.dragSourceOptionsInternal;
2593
+ },
2594
+ set: function (e) {
2595
+ this.dragSourceOptionsInternal = e;
2596
+ },
2597
+ },
2598
+ {
2599
+ key: 'dragPreviewOptions',
2600
+ get: function () {
2601
+ return this.dragPreviewOptionsInternal;
2602
+ },
2603
+ set: function (e) {
2604
+ this.dragPreviewOptionsInternal = e;
2605
+ },
2606
+ },
2607
+ {
2608
+ key: 'reconnect',
2609
+ value: function () {
2610
+ this.reconnectDragSource(), this.reconnectDragPreview();
2611
+ },
2612
+ },
2613
+ {
2614
+ key: 'reconnectDragSource',
2615
+ value: function () {
2616
+ var e = this.dragSource,
2617
+ t =
2618
+ this.didHandlerIdChange() ||
2619
+ this.didConnectedDragSourceChange() ||
2620
+ this.didDragSourceOptionsChange();
2621
+ t && this.disconnectDragSource(),
2622
+ this.handlerId &&
2623
+ (e
2624
+ ? t &&
2625
+ ((this.lastConnectedHandlerId = this.handlerId),
2626
+ (this.lastConnectedDragSource = e),
2627
+ (this.lastConnectedDragSourceOptions =
2628
+ this.dragSourceOptions),
2629
+ (this.dragSourceUnsubscribe =
2630
+ this.backend.connectDragSource(
2631
+ this.handlerId,
2632
+ e,
2633
+ this.dragSourceOptions,
2634
+ )))
2635
+ : (this.lastConnectedDragSource = e));
2636
+ },
2637
+ },
2638
+ {
2639
+ key: 'reconnectDragPreview',
2640
+ value: function () {
2641
+ var e = this.dragPreview,
2642
+ t =
2643
+ this.didHandlerIdChange() ||
2644
+ this.didConnectedDragPreviewChange() ||
2645
+ this.didDragPreviewOptionsChange();
2646
+ t && this.disconnectDragPreview(),
2647
+ this.handlerId &&
2648
+ (e
2649
+ ? t &&
2650
+ ((this.lastConnectedHandlerId = this.handlerId),
2651
+ (this.lastConnectedDragPreview = e),
2652
+ (this.lastConnectedDragPreviewOptions =
2653
+ this.dragPreviewOptions),
2654
+ (this.dragPreviewUnsubscribe =
2655
+ this.backend.connectDragPreview(
2656
+ this.handlerId,
2657
+ e,
2658
+ this.dragPreviewOptions,
2659
+ )))
2660
+ : (this.lastConnectedDragPreview = e));
2661
+ },
2662
+ },
2663
+ {
2664
+ key: 'didHandlerIdChange',
2665
+ value: function () {
2666
+ return this.lastConnectedHandlerId !== this.handlerId;
2667
+ },
2668
+ },
2669
+ {
2670
+ key: 'didConnectedDragSourceChange',
2671
+ value: function () {
2672
+ return this.lastConnectedDragSource !== this.dragSource;
2673
+ },
2674
+ },
2675
+ {
2676
+ key: 'didConnectedDragPreviewChange',
2677
+ value: function () {
2678
+ return this.lastConnectedDragPreview !== this.dragPreview;
2679
+ },
2680
+ },
2681
+ {
2682
+ key: 'didDragSourceOptionsChange',
2683
+ value: function () {
2684
+ return !Object(o['a'])(
2685
+ this.lastConnectedDragSourceOptions,
2686
+ this.dragSourceOptions,
2687
+ );
2688
+ },
2689
+ },
2690
+ {
2691
+ key: 'didDragPreviewOptionsChange',
2692
+ value: function () {
2693
+ return !Object(o['a'])(
2694
+ this.lastConnectedDragPreviewOptions,
2695
+ this.dragPreviewOptions,
2696
+ );
2697
+ },
2698
+ },
2699
+ {
2700
+ key: 'disconnectDragSource',
2701
+ value: function () {
2702
+ this.dragSourceUnsubscribe &&
2703
+ (this.dragSourceUnsubscribe(),
2704
+ (this.dragSourceUnsubscribe = void 0));
2705
+ },
2706
+ },
2707
+ {
2708
+ key: 'disconnectDragPreview',
2709
+ value: function () {
2710
+ this.dragPreviewUnsubscribe &&
2711
+ (this.dragPreviewUnsubscribe(),
2712
+ (this.dragPreviewUnsubscribe = void 0),
2713
+ (this.dragPreviewNode = null),
2714
+ (this.dragPreviewRef = null));
2715
+ },
2716
+ },
2717
+ {
2718
+ key: 'dragSource',
2719
+ get: function () {
2720
+ return (
2721
+ this.dragSourceNode ||
2722
+ (this.dragSourceRef && this.dragSourceRef.current)
2723
+ );
2724
+ },
2725
+ },
2726
+ {
2727
+ key: 'dragPreview',
2728
+ get: function () {
2729
+ return (
2730
+ this.dragPreviewNode ||
2731
+ (this.dragPreviewRef && this.dragPreviewRef.current)
2732
+ );
2733
+ },
2734
+ },
2735
+ {
2736
+ key: 'clearDragSource',
2737
+ value: function () {
2738
+ (this.dragSourceNode = null), (this.dragSourceRef = null);
2739
+ },
2740
+ },
2741
+ {
2742
+ key: 'clearDragPreview',
2743
+ value: function () {
2744
+ (this.dragPreviewNode = null), (this.dragPreviewRef = null);
2745
+ },
2746
+ },
2747
+ ]),
2748
+ e
2749
+ );
2750
+ })();
2751
+ },
2752
+ khz9: function (e, t, r) {
2753
+ 'use strict';
2754
+ function n(e, t, r, n) {
2755
+ var i = r ? r.call(n, e, t) : void 0;
2756
+ if (void 0 !== i) return !!i;
2757
+ if (e === t) return !0;
2758
+ if ('object' !== typeof e || !e || 'object' !== typeof t || !t)
2759
+ return !1;
2760
+ var o = Object.keys(e),
2761
+ a = Object.keys(t);
2762
+ if (o.length !== a.length) return !1;
2763
+ for (
2764
+ var u = Object.prototype.hasOwnProperty.bind(t), c = 0;
2765
+ c < o.length;
2766
+ c++
2767
+ ) {
2768
+ var s = o[c];
2769
+ if (!u(s)) return !1;
2770
+ var l = e[s],
2771
+ f = t[s];
2772
+ if (
2773
+ ((i = r ? r.call(n, l, f, s) : void 0),
2774
+ !1 === i || (void 0 === i && l !== f))
2775
+ )
2776
+ return !1;
2777
+ }
2778
+ return !0;
2779
+ }
2780
+ r.d(t, 'a', function () {
2781
+ return n;
2782
+ });
2783
+ },
2784
+ m68W: function (e, t, r) {
2785
+ 'use strict';
2786
+ r.d(t, 'a', function () {
2787
+ return l;
2788
+ });
2789
+ var n = r('aKzv');
2790
+ function i(e, t) {
2791
+ if (!(e instanceof t))
2792
+ throw new TypeError('Cannot call a class as a function');
2793
+ }
2794
+ function o(e, t) {
2795
+ for (var r = 0; r < t.length; r++) {
2796
+ var n = t[r];
2797
+ (n.enumerable = n.enumerable || !1),
2798
+ (n.configurable = !0),
2799
+ 'value' in n && (n.writable = !0),
2800
+ Object.defineProperty(e, n.key, n);
2801
+ }
2802
+ }
2803
+ function a(e, t, r) {
2804
+ return t && o(e.prototype, t), r && o(e, r), e;
2805
+ }
2806
+ function u(e, t, r) {
2807
+ return (
2808
+ t in e
2809
+ ? Object.defineProperty(e, t, {
2810
+ value: r,
2811
+ enumerable: !0,
2812
+ configurable: !0,
2813
+ writable: !0,
2814
+ })
2815
+ : (e[t] = r),
2816
+ e
2817
+ );
2818
+ }
2819
+ var c = !1,
2820
+ s = !1,
2821
+ l = (function () {
2822
+ function e(t) {
2823
+ i(this, e),
2824
+ u(this, 'internalMonitor', void 0),
2825
+ u(this, 'sourceId', null),
2826
+ (this.internalMonitor = t.getMonitor());
2827
+ }
2828
+ return (
2829
+ a(e, [
2830
+ {
2831
+ key: 'receiveHandlerId',
2832
+ value: function (e) {
2833
+ this.sourceId = e;
2834
+ },
2835
+ },
2836
+ {
2837
+ key: 'getHandlerId',
2838
+ value: function () {
2839
+ return this.sourceId;
2840
+ },
2841
+ },
2842
+ {
2843
+ key: 'canDrag',
2844
+ value: function () {
2845
+ Object(n['a'])(
2846
+ !c,
2847
+ 'You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor',
2848
+ );
2849
+ try {
2850
+ return (
2851
+ (c = !0),
2852
+ this.internalMonitor.canDragSource(this.sourceId)
2853
+ );
2854
+ } finally {
2855
+ c = !1;
2856
+ }
2857
+ },
2858
+ },
2859
+ {
2860
+ key: 'isDragging',
2861
+ value: function () {
2862
+ if (!this.sourceId) return !1;
2863
+ Object(n['a'])(
2864
+ !s,
2865
+ 'You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor',
2866
+ );
2867
+ try {
2868
+ return (
2869
+ (s = !0),
2870
+ this.internalMonitor.isDraggingSource(this.sourceId)
2871
+ );
2872
+ } finally {
2873
+ s = !1;
2874
+ }
2875
+ },
2876
+ },
2877
+ {
2878
+ key: 'subscribeToStateChange',
2879
+ value: function (e, t) {
2880
+ return this.internalMonitor.subscribeToStateChange(e, t);
2881
+ },
2882
+ },
2883
+ {
2884
+ key: 'isDraggingSource',
2885
+ value: function (e) {
2886
+ return this.internalMonitor.isDraggingSource(e);
2887
+ },
2888
+ },
2889
+ {
2890
+ key: 'isOverTarget',
2891
+ value: function (e, t) {
2892
+ return this.internalMonitor.isOverTarget(e, t);
2893
+ },
2894
+ },
2895
+ {
2896
+ key: 'getTargetIds',
2897
+ value: function () {
2898
+ return this.internalMonitor.getTargetIds();
2899
+ },
2900
+ },
2901
+ {
2902
+ key: 'isSourcePublic',
2903
+ value: function () {
2904
+ return this.internalMonitor.isSourcePublic();
2905
+ },
2906
+ },
2907
+ {
2908
+ key: 'getSourceId',
2909
+ value: function () {
2910
+ return this.internalMonitor.getSourceId();
2911
+ },
2912
+ },
2913
+ {
2914
+ key: 'subscribeToOffsetChange',
2915
+ value: function (e) {
2916
+ return this.internalMonitor.subscribeToOffsetChange(e);
2917
+ },
2918
+ },
2919
+ {
2920
+ key: 'canDragSource',
2921
+ value: function (e) {
2922
+ return this.internalMonitor.canDragSource(e);
2923
+ },
2924
+ },
2925
+ {
2926
+ key: 'canDropOnTarget',
2927
+ value: function (e) {
2928
+ return this.internalMonitor.canDropOnTarget(e);
2929
+ },
2930
+ },
2931
+ {
2932
+ key: 'getItemType',
2933
+ value: function () {
2934
+ return this.internalMonitor.getItemType();
2935
+ },
2936
+ },
2937
+ {
2938
+ key: 'getItem',
2939
+ value: function () {
2940
+ return this.internalMonitor.getItem();
2941
+ },
2942
+ },
2943
+ {
2944
+ key: 'getDropResult',
2945
+ value: function () {
2946
+ return this.internalMonitor.getDropResult();
2947
+ },
2948
+ },
2949
+ {
2950
+ key: 'didDrop',
2951
+ value: function () {
2952
+ return this.internalMonitor.didDrop();
2953
+ },
2954
+ },
2955
+ {
2956
+ key: 'getInitialClientOffset',
2957
+ value: function () {
2958
+ return this.internalMonitor.getInitialClientOffset();
2959
+ },
2960
+ },
2961
+ {
2962
+ key: 'getInitialSourceClientOffset',
2963
+ value: function () {
2964
+ return this.internalMonitor.getInitialSourceClientOffset();
2965
+ },
2966
+ },
2967
+ {
2968
+ key: 'getSourceClientOffset',
2969
+ value: function () {
2970
+ return this.internalMonitor.getSourceClientOffset();
2971
+ },
2972
+ },
2973
+ {
2974
+ key: 'getClientOffset',
2975
+ value: function () {
2976
+ return this.internalMonitor.getClientOffset();
2977
+ },
2978
+ },
2979
+ {
2980
+ key: 'getDifferenceFromInitialOffset',
2981
+ value: function () {
2982
+ return this.internalMonitor.getDifferenceFromInitialOffset();
2983
+ },
2984
+ },
2985
+ ]),
2986
+ e
2987
+ );
2988
+ })();
2989
+ },
2990
+ nKUr: function (e, t, r) {
2991
+ 'use strict';
2992
+ e.exports = r('0x2o');
2993
+ },
2994
+ 'p/5y': function (e, t, r) {
2995
+ 'use strict';
2996
+ r.d(t, 'a', function () {
2997
+ return i;
2998
+ });
2999
+ var n = r('q1tI'),
3000
+ i = Object(n['createContext'])({ dragDropManager: void 0 });
3001
+ },
3002
+ qJlv: function (e, t, r) {
3003
+ 'use strict';
3004
+ r.d(t, 'a', function () {
3005
+ return Q;
3006
+ });
3007
+ var n = {};
3008
+ function i(e) {
3009
+ var t = null,
3010
+ r = function () {
3011
+ return null == t && (t = e()), t;
3012
+ };
3013
+ return r;
3014
+ }
3015
+ function o(e, t) {
3016
+ return e.filter(function (e) {
3017
+ return e !== t;
3018
+ });
3019
+ }
3020
+ function a(e, t) {
3021
+ var r = new Set(),
3022
+ n = function (e) {
3023
+ return r.add(e);
3024
+ };
3025
+ e.forEach(n), t.forEach(n);
3026
+ var i = [];
3027
+ return (
3028
+ r.forEach(function (e) {
3029
+ return i.push(e);
3030
+ }),
3031
+ i
3032
+ );
3033
+ }
3034
+ function u(e, t) {
3035
+ if (!(e instanceof t))
3036
+ throw new TypeError('Cannot call a class as a function');
3037
+ }
3038
+ function c(e, t) {
3039
+ for (var r = 0; r < t.length; r++) {
3040
+ var n = t[r];
3041
+ (n.enumerable = n.enumerable || !1),
3042
+ (n.configurable = !0),
3043
+ 'value' in n && (n.writable = !0),
3044
+ Object.defineProperty(e, n.key, n);
3045
+ }
3046
+ }
3047
+ function s(e, t, r) {
3048
+ return t && c(e.prototype, t), r && c(e, r), e;
3049
+ }
3050
+ function l(e, t, r) {
3051
+ return (
3052
+ t in e
3053
+ ? Object.defineProperty(e, t, {
3054
+ value: r,
3055
+ enumerable: !0,
3056
+ configurable: !0,
3057
+ writable: !0,
3058
+ })
3059
+ : (e[t] = r),
3060
+ e
3061
+ );
3062
+ }
3063
+ r.r(n),
3064
+ r.d(n, 'FILE', function () {
3065
+ return C;
3066
+ }),
3067
+ r.d(n, 'URL', function () {
3068
+ return E;
3069
+ }),
3070
+ r.d(n, 'TEXT', function () {
3071
+ return k;
3072
+ }),
3073
+ r.d(n, 'HTML', function () {
3074
+ return j;
3075
+ });
3076
+ var f = (function () {
3077
+ function e(t) {
3078
+ u(this, e),
3079
+ l(this, 'entered', []),
3080
+ l(this, 'isNodeInDocument', void 0),
3081
+ (this.isNodeInDocument = t);
3082
+ }
3083
+ return (
3084
+ s(e, [
3085
+ {
3086
+ key: 'enter',
3087
+ value: function (e) {
3088
+ var t = this,
3089
+ r = this.entered.length,
3090
+ n = function (r) {
3091
+ return (
3092
+ t.isNodeInDocument(r) && (!r.contains || r.contains(e))
3093
+ );
3094
+ };
3095
+ return (
3096
+ (this.entered = a(this.entered.filter(n), [e])),
3097
+ 0 === r && this.entered.length > 0
3098
+ );
3099
+ },
3100
+ },
3101
+ {
3102
+ key: 'leave',
3103
+ value: function (e) {
3104
+ var t = this.entered.length;
3105
+ return (
3106
+ (this.entered = o(
3107
+ this.entered.filter(this.isNodeInDocument),
3108
+ e,
3109
+ )),
3110
+ t > 0 && 0 === this.entered.length
3111
+ );
3112
+ },
3113
+ },
3114
+ {
3115
+ key: 'reset',
3116
+ value: function () {
3117
+ this.entered = [];
3118
+ },
3119
+ },
3120
+ ]),
3121
+ e
3122
+ );
3123
+ })(),
3124
+ d = i(function () {
3125
+ return /firefox/i.test(navigator.userAgent);
3126
+ }),
3127
+ g = i(function () {
3128
+ return Boolean(window.safari);
3129
+ });
3130
+ function h(e, t) {
3131
+ if (!(e instanceof t))
3132
+ throw new TypeError('Cannot call a class as a function');
3133
+ }
3134
+ function v(e, t) {
3135
+ for (var r = 0; r < t.length; r++) {
3136
+ var n = t[r];
3137
+ (n.enumerable = n.enumerable || !1),
3138
+ (n.configurable = !0),
3139
+ 'value' in n && (n.writable = !0),
3140
+ Object.defineProperty(e, n.key, n);
3141
+ }
3142
+ }
3143
+ function p(e, t, r) {
3144
+ return t && v(e.prototype, t), r && v(e, r), e;
3145
+ }
3146
+ function y(e, t, r) {
3147
+ return (
3148
+ t in e
3149
+ ? Object.defineProperty(e, t, {
3150
+ value: r,
3151
+ enumerable: !0,
3152
+ configurable: !0,
3153
+ writable: !0,
3154
+ })
3155
+ : (e[t] = r),
3156
+ e
3157
+ );
3158
+ }
3159
+ var b = (function () {
3160
+ function e(t, r) {
3161
+ h(this, e),
3162
+ y(this, 'xs', void 0),
3163
+ y(this, 'ys', void 0),
3164
+ y(this, 'c1s', void 0),
3165
+ y(this, 'c2s', void 0),
3166
+ y(this, 'c3s', void 0);
3167
+ for (var n = t.length, i = [], o = 0; o < n; o++) i.push(o);
3168
+ i.sort(function (e, r) {
3169
+ return t[e] < t[r] ? -1 : 1;
3170
+ });
3171
+ for (var a, u, c = [], s = [], l = [], f = 0; f < n - 1; f++)
3172
+ (a = t[f + 1] - t[f]),
3173
+ (u = r[f + 1] - r[f]),
3174
+ s.push(a),
3175
+ c.push(u),
3176
+ l.push(u / a);
3177
+ for (var d = [l[0]], g = 0; g < s.length - 1; g++) {
3178
+ var v = l[g],
3179
+ p = l[g + 1];
3180
+ if (v * p <= 0) d.push(0);
3181
+ else {
3182
+ a = s[g];
3183
+ var b = s[g + 1],
3184
+ O = a + b;
3185
+ d.push((3 * O) / ((O + b) / v + (O + a) / p));
3186
+ }
3187
+ }
3188
+ d.push(l[l.length - 1]);
3189
+ for (var m, D = [], w = [], S = 0; S < d.length - 1; S++) {
3190
+ m = l[S];
3191
+ var T = d[S],
3192
+ I = 1 / s[S],
3193
+ C = T + d[S + 1] - m - m;
3194
+ D.push((m - T - C) * I), w.push(C * I * I);
3195
+ }
3196
+ (this.xs = t),
3197
+ (this.ys = r),
3198
+ (this.c1s = d),
3199
+ (this.c2s = D),
3200
+ (this.c3s = w);
3201
+ }
3202
+ return (
3203
+ p(e, [
3204
+ {
3205
+ key: 'interpolate',
3206
+ value: function (e) {
3207
+ var t = this.xs,
3208
+ r = this.ys,
3209
+ n = this.c1s,
3210
+ i = this.c2s,
3211
+ o = this.c3s,
3212
+ a = t.length - 1;
3213
+ if (e === t[a]) return r[a];
3214
+ var u,
3215
+ c = 0,
3216
+ s = o.length - 1;
3217
+ while (c <= s) {
3218
+ u = Math.floor(0.5 * (c + s));
3219
+ var l = t[u];
3220
+ if (l < e) c = u + 1;
3221
+ else {
3222
+ if (!(l > e)) return r[u];
3223
+ s = u - 1;
3224
+ }
3225
+ }
3226
+ a = Math.max(0, s);
3227
+ var f = e - t[a],
3228
+ d = f * f;
3229
+ return r[a] + n[a] * f + i[a] * d + o[a] * f * d;
3230
+ },
3231
+ },
3232
+ ]),
3233
+ e
3234
+ );
3235
+ })(),
3236
+ O = 1;
3237
+ function m(e) {
3238
+ var t = e.nodeType === O ? e : e.parentElement;
3239
+ if (!t) return null;
3240
+ var r = t.getBoundingClientRect(),
3241
+ n = r.top,
3242
+ i = r.left;
3243
+ return { x: i, y: n };
3244
+ }
3245
+ function D(e) {
3246
+ return { x: e.clientX, y: e.clientY };
3247
+ }
3248
+ function w(e) {
3249
+ var t;
3250
+ return (
3251
+ 'IMG' === e.nodeName &&
3252
+ (d() ||
3253
+ !(
3254
+ null !== (t = document.documentElement) &&
3255
+ void 0 !== t &&
3256
+ t.contains(e)
3257
+ ))
3258
+ );
3259
+ }
3260
+ function S(e, t, r, n) {
3261
+ var i = e ? t.width : r,
3262
+ o = e ? t.height : n;
3263
+ return (
3264
+ g() &&
3265
+ e &&
3266
+ ((o /= window.devicePixelRatio), (i /= window.devicePixelRatio)),
3267
+ { dragPreviewWidth: i, dragPreviewHeight: o }
3268
+ );
3269
+ }
3270
+ function T(e, t, r, n, i) {
3271
+ var o = w(t),
3272
+ a = o ? e : t,
3273
+ u = m(a),
3274
+ c = { x: r.x - u.x, y: r.y - u.y },
3275
+ s = e.offsetWidth,
3276
+ l = e.offsetHeight,
3277
+ f = n.anchorX,
3278
+ d = n.anchorY,
3279
+ h = S(o, t, s, l),
3280
+ v = h.dragPreviewWidth,
3281
+ p = h.dragPreviewHeight,
3282
+ y = function () {
3283
+ var e = new b([0, 0.5, 1], [c.y, (c.y / l) * p, c.y + p - l]),
3284
+ t = e.interpolate(d);
3285
+ return g() && o && (t += (window.devicePixelRatio - 1) * p), t;
3286
+ },
3287
+ O = function () {
3288
+ var e = new b([0, 0.5, 1], [c.x, (c.x / s) * v, c.x + v - s]);
3289
+ return e.interpolate(f);
3290
+ },
3291
+ D = i.offsetX,
3292
+ T = i.offsetY,
3293
+ I = 0 === D || D,
3294
+ C = 0 === T || T;
3295
+ return { x: I ? D : O(), y: C ? T : y() };
3296
+ }
3297
+ var I,
3298
+ C = '__NATIVE_FILE__',
3299
+ E = '__NATIVE_URL__',
3300
+ k = '__NATIVE_TEXT__',
3301
+ j = '__NATIVE_HTML__';
3302
+ function P(e, t, r) {
3303
+ var n = t.reduce(function (t, r) {
3304
+ return t || e.getData(r);
3305
+ }, '');
3306
+ return null != n ? n : r;
3307
+ }
3308
+ function N(e, t, r) {
3309
+ return (
3310
+ t in e
3311
+ ? Object.defineProperty(e, t, {
3312
+ value: r,
3313
+ enumerable: !0,
3314
+ configurable: !0,
3315
+ writable: !0,
3316
+ })
3317
+ : (e[t] = r),
3318
+ e
3319
+ );
3320
+ }
3321
+ var x =
3322
+ ((I = {}),
3323
+ N(I, C, {
3324
+ exposeProperties: {
3325
+ files: function (e) {
3326
+ return Array.prototype.slice.call(e.files);
3327
+ },
3328
+ items: function (e) {
3329
+ return e.items;
3330
+ },
3331
+ },
3332
+ matchesTypes: ['Files'],
3333
+ }),
3334
+ N(I, j, {
3335
+ exposeProperties: {
3336
+ html: function (e, t) {
3337
+ return P(e, t, '');
3338
+ },
3339
+ },
3340
+ matchesTypes: ['Html', 'text/html'],
3341
+ }),
3342
+ N(I, E, {
3343
+ exposeProperties: {
3344
+ urls: function (e, t) {
3345
+ return P(e, t, '').split('\n');
3346
+ },
3347
+ },
3348
+ matchesTypes: ['Url', 'text/uri-list'],
3349
+ }),
3350
+ N(I, k, {
3351
+ exposeProperties: {
3352
+ text: function (e, t) {
3353
+ return P(e, t, '');
3354
+ },
3355
+ },
3356
+ matchesTypes: ['Text', 'text/plain'],
3357
+ }),
3358
+ I);
3359
+ function R(e, t) {
3360
+ if (!(e instanceof t))
3361
+ throw new TypeError('Cannot call a class as a function');
3362
+ }
3363
+ function M(e, t) {
3364
+ for (var r = 0; r < t.length; r++) {
3365
+ var n = t[r];
3366
+ (n.enumerable = n.enumerable || !1),
3367
+ (n.configurable = !0),
3368
+ 'value' in n && (n.writable = !0),
3369
+ Object.defineProperty(e, n.key, n);
3370
+ }
3371
+ }
3372
+ function _(e, t, r) {
3373
+ return t && M(e.prototype, t), r && M(e, r), e;
3374
+ }
3375
+ function A(e, t, r) {
3376
+ return (
3377
+ t in e
3378
+ ? Object.defineProperty(e, t, {
3379
+ value: r,
3380
+ enumerable: !0,
3381
+ configurable: !0,
3382
+ writable: !0,
3383
+ })
3384
+ : (e[t] = r),
3385
+ e
3386
+ );
3387
+ }
3388
+ var L = (function () {
3389
+ function e(t) {
3390
+ R(this, e),
3391
+ A(this, 'item', void 0),
3392
+ A(this, 'config', void 0),
3393
+ (this.config = t),
3394
+ (this.item = {}),
3395
+ this.initializeExposedProperties();
3396
+ }
3397
+ return (
3398
+ _(e, [
3399
+ {
3400
+ key: 'initializeExposedProperties',
3401
+ value: function () {
3402
+ var e = this;
3403
+ Object.keys(this.config.exposeProperties).forEach(function (t) {
3404
+ Object.defineProperty(e.item, t, {
3405
+ configurable: !0,
3406
+ enumerable: !0,
3407
+ get: function () {
3408
+ return (
3409
+ console.warn(
3410
+ 'Browser doesn\'t allow reading "'.concat(
3411
+ t,
3412
+ '" until the drop event.',
3413
+ ),
3414
+ ),
3415
+ null
3416
+ );
3417
+ },
3418
+ });
3419
+ });
3420
+ },
3421
+ },
3422
+ {
3423
+ key: 'loadDataTransfer',
3424
+ value: function (e) {
3425
+ var t = this;
3426
+ if (e) {
3427
+ var r = {};
3428
+ Object.keys(this.config.exposeProperties).forEach(function (
3429
+ n,
3430
+ ) {
3431
+ r[n] = {
3432
+ value: t.config.exposeProperties[n](
3433
+ e,
3434
+ t.config.matchesTypes,
3435
+ ),
3436
+ configurable: !0,
3437
+ enumerable: !0,
3438
+ };
3439
+ }),
3440
+ Object.defineProperties(this.item, r);
3441
+ }
3442
+ },
3443
+ },
3444
+ {
3445
+ key: 'canDrag',
3446
+ value: function () {
3447
+ return !0;
3448
+ },
3449
+ },
3450
+ {
3451
+ key: 'beginDrag',
3452
+ value: function () {
3453
+ return this.item;
3454
+ },
3455
+ },
3456
+ {
3457
+ key: 'isDragging',
3458
+ value: function (e, t) {
3459
+ return t === e.getSourceId();
3460
+ },
3461
+ },
3462
+ { key: 'endDrag', value: function () {} },
3463
+ ]),
3464
+ e
3465
+ );
3466
+ })();
3467
+ function U(e, t) {
3468
+ var r = new L(x[e]);
3469
+ return r.loadDataTransfer(t), r;
3470
+ }
3471
+ function H(e) {
3472
+ if (!e) return null;
3473
+ var t = Array.prototype.slice.call(e.types || []);
3474
+ return (
3475
+ Object.keys(x).filter(function (e) {
3476
+ var r = x[e].matchesTypes;
3477
+ return r.some(function (e) {
3478
+ return t.indexOf(e) > -1;
3479
+ });
3480
+ })[0] || null
3481
+ );
3482
+ }
3483
+ function F(e, t) {
3484
+ if (!(e instanceof t))
3485
+ throw new TypeError('Cannot call a class as a function');
3486
+ }
3487
+ function B(e, t) {
3488
+ for (var r = 0; r < t.length; r++) {
3489
+ var n = t[r];
3490
+ (n.enumerable = n.enumerable || !1),
3491
+ (n.configurable = !0),
3492
+ 'value' in n && (n.writable = !0),
3493
+ Object.defineProperty(e, n.key, n);
3494
+ }
3495
+ }
3496
+ function z(e, t, r) {
3497
+ return t && B(e.prototype, t), r && B(e, r), e;
3498
+ }
3499
+ function K(e, t, r) {
3500
+ return (
3501
+ t in e
3502
+ ? Object.defineProperty(e, t, {
3503
+ value: r,
3504
+ enumerable: !0,
3505
+ configurable: !0,
3506
+ writable: !0,
3507
+ })
3508
+ : (e[t] = r),
3509
+ e
3510
+ );
3511
+ }
3512
+ var X = (function () {
3513
+ function e(t, r) {
3514
+ F(this, e),
3515
+ K(this, 'ownerDocument', null),
3516
+ K(this, 'globalContext', void 0),
3517
+ K(this, 'optionsArgs', void 0),
3518
+ (this.globalContext = t),
3519
+ (this.optionsArgs = r);
3520
+ }
3521
+ return (
3522
+ z(e, [
3523
+ {
3524
+ key: 'window',
3525
+ get: function () {
3526
+ return this.globalContext
3527
+ ? this.globalContext
3528
+ : 'undefined' !== typeof window
3529
+ ? window
3530
+ : void 0;
3531
+ },
3532
+ },
3533
+ {
3534
+ key: 'document',
3535
+ get: function () {
3536
+ var e;
3537
+ return null !== (e = this.globalContext) &&
3538
+ void 0 !== e &&
3539
+ e.document
3540
+ ? this.globalContext.document
3541
+ : this.window
3542
+ ? this.window.document
3543
+ : void 0;
3544
+ },
3545
+ },
3546
+ {
3547
+ key: 'rootElement',
3548
+ get: function () {
3549
+ var e;
3550
+ return (
3551
+ (null === (e = this.optionsArgs) || void 0 === e
3552
+ ? void 0
3553
+ : e.rootElement) || this.window
3554
+ );
3555
+ },
3556
+ },
3557
+ ]),
3558
+ e
3559
+ );
3560
+ })();
3561
+ function G(e, t) {
3562
+ var r = Object.keys(e);
3563
+ if (Object.getOwnPropertySymbols) {
3564
+ var n = Object.getOwnPropertySymbols(e);
3565
+ t &&
3566
+ (n = n.filter(function (t) {
3567
+ return Object.getOwnPropertyDescriptor(e, t).enumerable;
3568
+ })),
3569
+ r.push.apply(r, n);
3570
+ }
3571
+ return r;
3572
+ }
3573
+ function Y(e) {
3574
+ for (var t = 1; t < arguments.length; t++) {
3575
+ var r = null != arguments[t] ? arguments[t] : {};
3576
+ t % 2
3577
+ ? G(Object(r), !0).forEach(function (t) {
3578
+ J(e, t, r[t]);
3579
+ })
3580
+ : Object.getOwnPropertyDescriptors
3581
+ ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
3582
+ : G(Object(r)).forEach(function (t) {
3583
+ Object.defineProperty(
3584
+ e,
3585
+ t,
3586
+ Object.getOwnPropertyDescriptor(r, t),
3587
+ );
3588
+ });
3589
+ }
3590
+ return e;
3591
+ }
3592
+ function q(e, t) {
3593
+ if (!(e instanceof t))
3594
+ throw new TypeError('Cannot call a class as a function');
3595
+ }
3596
+ function W(e, t) {
3597
+ for (var r = 0; r < t.length; r++) {
3598
+ var n = t[r];
3599
+ (n.enumerable = n.enumerable || !1),
3600
+ (n.configurable = !0),
3601
+ 'value' in n && (n.writable = !0),
3602
+ Object.defineProperty(e, n.key, n);
3603
+ }
3604
+ }
3605
+ function V(e, t, r) {
3606
+ return t && W(e.prototype, t), r && W(e, r), e;
3607
+ }
3608
+ function J(e, t, r) {
3609
+ return (
3610
+ t in e
3611
+ ? Object.defineProperty(e, t, {
3612
+ value: r,
3613
+ enumerable: !0,
3614
+ configurable: !0,
3615
+ writable: !0,
3616
+ })
3617
+ : (e[t] = r),
3618
+ e
3619
+ );
3620
+ }
3621
+ var $ = (function () {
3622
+ function e(t, r, n) {
3623
+ var i = this;
3624
+ q(this, e),
3625
+ J(this, 'options', void 0),
3626
+ J(this, 'actions', void 0),
3627
+ J(this, 'monitor', void 0),
3628
+ J(this, 'registry', void 0),
3629
+ J(this, 'enterLeaveCounter', void 0),
3630
+ J(this, 'sourcePreviewNodes', new Map()),
3631
+ J(this, 'sourcePreviewNodeOptions', new Map()),
3632
+ J(this, 'sourceNodes', new Map()),
3633
+ J(this, 'sourceNodeOptions', new Map()),
3634
+ J(this, 'dragStartSourceIds', null),
3635
+ J(this, 'dropTargetIds', []),
3636
+ J(this, 'dragEnterTargetIds', []),
3637
+ J(this, 'currentNativeSource', null),
3638
+ J(this, 'currentNativeHandle', null),
3639
+ J(this, 'currentDragSourceNode', null),
3640
+ J(this, 'altKeyPressed', !1),
3641
+ J(this, 'mouseMoveTimeoutTimer', null),
3642
+ J(this, 'asyncEndDragFrameId', null),
3643
+ J(this, 'dragOverTargetIds', null),
3644
+ J(this, 'getSourceClientOffset', function (e) {
3645
+ var t = i.sourceNodes.get(e);
3646
+ return (t && m(t)) || null;
3647
+ }),
3648
+ J(this, 'endDragNativeItem', function () {
3649
+ i.isDraggingNativeItem() &&
3650
+ (i.actions.endDrag(),
3651
+ i.currentNativeHandle &&
3652
+ i.registry.removeSource(i.currentNativeHandle),
3653
+ (i.currentNativeHandle = null),
3654
+ (i.currentNativeSource = null));
3655
+ }),
3656
+ J(this, 'isNodeInDocument', function (e) {
3657
+ return Boolean(
3658
+ e &&
3659
+ i.document &&
3660
+ i.document.body &&
3661
+ i.document.body.contains(e),
3662
+ );
3663
+ }),
3664
+ J(this, 'endDragIfSourceWasRemovedFromDOM', function () {
3665
+ var e = i.currentDragSourceNode;
3666
+ null == e ||
3667
+ i.isNodeInDocument(e) ||
3668
+ (i.clearCurrentDragSourceNode() &&
3669
+ i.monitor.isDragging() &&
3670
+ i.actions.endDrag());
3671
+ }),
3672
+ J(this, 'handleTopDragStartCapture', function () {
3673
+ i.clearCurrentDragSourceNode(), (i.dragStartSourceIds = []);
3674
+ }),
3675
+ J(this, 'handleTopDragStart', function (e) {
3676
+ if (!e.defaultPrevented) {
3677
+ var t = i.dragStartSourceIds;
3678
+ i.dragStartSourceIds = null;
3679
+ var r = D(e);
3680
+ i.monitor.isDragging() && i.actions.endDrag(),
3681
+ i.actions.beginDrag(t || [], {
3682
+ publishSource: !1,
3683
+ getSourceClientOffset: i.getSourceClientOffset,
3684
+ clientOffset: r,
3685
+ });
3686
+ var n = e.dataTransfer,
3687
+ o = H(n);
3688
+ if (i.monitor.isDragging()) {
3689
+ if (n && 'function' === typeof n.setDragImage) {
3690
+ var a = i.monitor.getSourceId(),
3691
+ u = i.sourceNodes.get(a),
3692
+ c = i.sourcePreviewNodes.get(a) || u;
3693
+ if (c) {
3694
+ var s = i.getCurrentSourcePreviewNodeOptions(),
3695
+ l = s.anchorX,
3696
+ f = s.anchorY,
3697
+ d = s.offsetX,
3698
+ g = s.offsetY,
3699
+ h = { anchorX: l, anchorY: f },
3700
+ v = { offsetX: d, offsetY: g },
3701
+ p = T(u, c, r, h, v);
3702
+ n.setDragImage(c, p.x, p.y);
3703
+ }
3704
+ }
3705
+ try {
3706
+ null === n ||
3707
+ void 0 === n ||
3708
+ n.setData('application/json', {});
3709
+ } catch (O) {}
3710
+ i.setCurrentDragSourceNode(e.target);
3711
+ var y = i.getCurrentSourcePreviewNodeOptions(),
3712
+ b = y.captureDraggingState;
3713
+ b
3714
+ ? i.actions.publishDragSource()
3715
+ : setTimeout(function () {
3716
+ return i.actions.publishDragSource();
3717
+ }, 0);
3718
+ } else if (o) i.beginDragNativeItem(o);
3719
+ else {
3720
+ if (
3721
+ n &&
3722
+ !n.types &&
3723
+ ((e.target && !e.target.hasAttribute) ||
3724
+ !e.target.hasAttribute('draggable'))
3725
+ )
3726
+ return;
3727
+ e.preventDefault();
3728
+ }
3729
+ }
3730
+ }),
3731
+ J(this, 'handleTopDragEndCapture', function () {
3732
+ i.clearCurrentDragSourceNode() &&
3733
+ i.monitor.isDragging() &&
3734
+ i.actions.endDrag();
3735
+ }),
3736
+ J(this, 'handleTopDragEnterCapture', function (e) {
3737
+ i.dragEnterTargetIds = [];
3738
+ var t = i.enterLeaveCounter.enter(e.target);
3739
+ if (t && !i.monitor.isDragging()) {
3740
+ var r = e.dataTransfer,
3741
+ n = H(r);
3742
+ n && i.beginDragNativeItem(n, r);
3743
+ }
3744
+ }),
3745
+ J(this, 'handleTopDragEnter', function (e) {
3746
+ var t = i.dragEnterTargetIds;
3747
+ if (((i.dragEnterTargetIds = []), i.monitor.isDragging())) {
3748
+ (i.altKeyPressed = e.altKey),
3749
+ t.length > 0 && i.actions.hover(t, { clientOffset: D(e) });
3750
+ var r = t.some(function (e) {
3751
+ return i.monitor.canDropOnTarget(e);
3752
+ });
3753
+ r &&
3754
+ (e.preventDefault(),
3755
+ e.dataTransfer &&
3756
+ (e.dataTransfer.dropEffect = i.getCurrentDropEffect()));
3757
+ }
3758
+ }),
3759
+ J(this, 'handleTopDragOverCapture', function () {
3760
+ i.dragOverTargetIds = [];
3761
+ }),
3762
+ J(this, 'handleTopDragOver', function (e) {
3763
+ var t = i.dragOverTargetIds;
3764
+ if (((i.dragOverTargetIds = []), !i.monitor.isDragging()))
3765
+ return (
3766
+ e.preventDefault(),
3767
+ void (
3768
+ e.dataTransfer && (e.dataTransfer.dropEffect = 'none')
3769
+ )
3770
+ );
3771
+ (i.altKeyPressed = e.altKey),
3772
+ i.actions.hover(t || [], { clientOffset: D(e) });
3773
+ var r = (t || []).some(function (e) {
3774
+ return i.monitor.canDropOnTarget(e);
3775
+ });
3776
+ r
3777
+ ? (e.preventDefault(),
3778
+ e.dataTransfer &&
3779
+ (e.dataTransfer.dropEffect = i.getCurrentDropEffect()))
3780
+ : i.isDraggingNativeItem()
3781
+ ? e.preventDefault()
3782
+ : (e.preventDefault(),
3783
+ e.dataTransfer && (e.dataTransfer.dropEffect = 'none'));
3784
+ }),
3785
+ J(this, 'handleTopDragLeaveCapture', function (e) {
3786
+ i.isDraggingNativeItem() && e.preventDefault();
3787
+ var t = i.enterLeaveCounter.leave(e.target);
3788
+ t &&
3789
+ i.isDraggingNativeItem() &&
3790
+ setTimeout(function () {
3791
+ return i.endDragNativeItem();
3792
+ }, 0);
3793
+ }),
3794
+ J(this, 'handleTopDropCapture', function (e) {
3795
+ var t;
3796
+ ((i.dropTargetIds = []), i.isDraggingNativeItem())
3797
+ ? (e.preventDefault(),
3798
+ null === (t = i.currentNativeSource) ||
3799
+ void 0 === t ||
3800
+ t.loadDataTransfer(e.dataTransfer))
3801
+ : H(e.dataTransfer) && e.preventDefault();
3802
+ i.enterLeaveCounter.reset();
3803
+ }),
3804
+ J(this, 'handleTopDrop', function (e) {
3805
+ var t = i.dropTargetIds;
3806
+ (i.dropTargetIds = []),
3807
+ i.actions.hover(t, { clientOffset: D(e) }),
3808
+ i.actions.drop({ dropEffect: i.getCurrentDropEffect() }),
3809
+ i.isDraggingNativeItem()
3810
+ ? i.endDragNativeItem()
3811
+ : i.monitor.isDragging() && i.actions.endDrag();
3812
+ }),
3813
+ J(this, 'handleSelectStart', function (e) {
3814
+ var t = e.target;
3815
+ 'function' === typeof t.dragDrop &&
3816
+ ('INPUT' === t.tagName ||
3817
+ 'SELECT' === t.tagName ||
3818
+ 'TEXTAREA' === t.tagName ||
3819
+ t.isContentEditable ||
3820
+ (e.preventDefault(), t.dragDrop()));
3821
+ }),
3822
+ (this.options = new X(r, n)),
3823
+ (this.actions = t.getActions()),
3824
+ (this.monitor = t.getMonitor()),
3825
+ (this.registry = t.getRegistry()),
3826
+ (this.enterLeaveCounter = new f(this.isNodeInDocument));
3827
+ }
3828
+ return (
3829
+ V(e, [
3830
+ {
3831
+ key: 'profile',
3832
+ value: function () {
3833
+ var e, t;
3834
+ return {
3835
+ sourcePreviewNodes: this.sourcePreviewNodes.size,
3836
+ sourcePreviewNodeOptions:
3837
+ this.sourcePreviewNodeOptions.size,
3838
+ sourceNodeOptions: this.sourceNodeOptions.size,
3839
+ sourceNodes: this.sourceNodes.size,
3840
+ dragStartSourceIds:
3841
+ (null === (e = this.dragStartSourceIds) || void 0 === e
3842
+ ? void 0
3843
+ : e.length) || 0,
3844
+ dropTargetIds: this.dropTargetIds.length,
3845
+ dragEnterTargetIds: this.dragEnterTargetIds.length,
3846
+ dragOverTargetIds:
3847
+ (null === (t = this.dragOverTargetIds) || void 0 === t
3848
+ ? void 0
3849
+ : t.length) || 0,
3850
+ };
3851
+ },
3852
+ },
3853
+ {
3854
+ key: 'window',
3855
+ get: function () {
3856
+ return this.options.window;
3857
+ },
3858
+ },
3859
+ {
3860
+ key: 'document',
3861
+ get: function () {
3862
+ return this.options.document;
3863
+ },
3864
+ },
3865
+ {
3866
+ key: 'rootElement',
3867
+ get: function () {
3868
+ return this.options.rootElement;
3869
+ },
3870
+ },
3871
+ {
3872
+ key: 'setup',
3873
+ value: function () {
3874
+ var e = this.rootElement;
3875
+ if (void 0 !== e) {
3876
+ if (e.__isReactDndBackendSetUp)
3877
+ throw new Error(
3878
+ 'Cannot have two HTML5 backends at the same time.',
3879
+ );
3880
+ (e.__isReactDndBackendSetUp = !0),
3881
+ this.addEventListeners(e);
3882
+ }
3883
+ },
3884
+ },
3885
+ {
3886
+ key: 'teardown',
3887
+ value: function () {
3888
+ var e,
3889
+ t = this.rootElement;
3890
+ void 0 !== t &&
3891
+ ((t.__isReactDndBackendSetUp = !1),
3892
+ this.removeEventListeners(this.rootElement),
3893
+ this.clearCurrentDragSourceNode(),
3894
+ this.asyncEndDragFrameId &&
3895
+ (null === (e = this.window) ||
3896
+ void 0 === e ||
3897
+ e.cancelAnimationFrame(this.asyncEndDragFrameId)));
3898
+ },
3899
+ },
3900
+ {
3901
+ key: 'connectDragPreview',
3902
+ value: function (e, t, r) {
3903
+ var n = this;
3904
+ return (
3905
+ this.sourcePreviewNodeOptions.set(e, r),
3906
+ this.sourcePreviewNodes.set(e, t),
3907
+ function () {
3908
+ n.sourcePreviewNodes.delete(e),
3909
+ n.sourcePreviewNodeOptions.delete(e);
3910
+ }
3911
+ );
3912
+ },
3913
+ },
3914
+ {
3915
+ key: 'connectDragSource',
3916
+ value: function (e, t, r) {
3917
+ var n = this;
3918
+ this.sourceNodes.set(e, t), this.sourceNodeOptions.set(e, r);
3919
+ var i = function (t) {
3920
+ return n.handleDragStart(t, e);
3921
+ },
3922
+ o = function (e) {
3923
+ return n.handleSelectStart(e);
3924
+ };
3925
+ return (
3926
+ t.setAttribute('draggable', 'true'),
3927
+ t.addEventListener('dragstart', i),
3928
+ t.addEventListener('selectstart', o),
3929
+ function () {
3930
+ n.sourceNodes.delete(e),
3931
+ n.sourceNodeOptions.delete(e),
3932
+ t.removeEventListener('dragstart', i),
3933
+ t.removeEventListener('selectstart', o),
3934
+ t.setAttribute('draggable', 'false');
3935
+ }
3936
+ );
3937
+ },
3938
+ },
3939
+ {
3940
+ key: 'connectDropTarget',
3941
+ value: function (e, t) {
3942
+ var r = this,
3943
+ n = function (t) {
3944
+ return r.handleDragEnter(t, e);
3945
+ },
3946
+ i = function (t) {
3947
+ return r.handleDragOver(t, e);
3948
+ },
3949
+ o = function (t) {
3950
+ return r.handleDrop(t, e);
3951
+ };
3952
+ return (
3953
+ t.addEventListener('dragenter', n),
3954
+ t.addEventListener('dragover', i),
3955
+ t.addEventListener('drop', o),
3956
+ function () {
3957
+ t.removeEventListener('dragenter', n),
3958
+ t.removeEventListener('dragover', i),
3959
+ t.removeEventListener('drop', o);
3960
+ }
3961
+ );
3962
+ },
3963
+ },
3964
+ {
3965
+ key: 'addEventListeners',
3966
+ value: function (e) {
3967
+ e.addEventListener &&
3968
+ (e.addEventListener('dragstart', this.handleTopDragStart),
3969
+ e.addEventListener(
3970
+ 'dragstart',
3971
+ this.handleTopDragStartCapture,
3972
+ !0,
3973
+ ),
3974
+ e.addEventListener(
3975
+ 'dragend',
3976
+ this.handleTopDragEndCapture,
3977
+ !0,
3978
+ ),
3979
+ e.addEventListener('dragenter', this.handleTopDragEnter),
3980
+ e.addEventListener(
3981
+ 'dragenter',
3982
+ this.handleTopDragEnterCapture,
3983
+ !0,
3984
+ ),
3985
+ e.addEventListener(
3986
+ 'dragleave',
3987
+ this.handleTopDragLeaveCapture,
3988
+ !0,
3989
+ ),
3990
+ e.addEventListener('dragover', this.handleTopDragOver),
3991
+ e.addEventListener(
3992
+ 'dragover',
3993
+ this.handleTopDragOverCapture,
3994
+ !0,
3995
+ ),
3996
+ e.addEventListener('drop', this.handleTopDrop),
3997
+ e.addEventListener('drop', this.handleTopDropCapture, !0));
3998
+ },
3999
+ },
4000
+ {
4001
+ key: 'removeEventListeners',
4002
+ value: function (e) {
4003
+ e.removeEventListener &&
4004
+ (e.removeEventListener(
4005
+ 'dragstart',
4006
+ this.handleTopDragStart,
4007
+ ),
4008
+ e.removeEventListener(
4009
+ 'dragstart',
4010
+ this.handleTopDragStartCapture,
4011
+ !0,
4012
+ ),
4013
+ e.removeEventListener(
4014
+ 'dragend',
4015
+ this.handleTopDragEndCapture,
4016
+ !0,
4017
+ ),
4018
+ e.removeEventListener('dragenter', this.handleTopDragEnter),
4019
+ e.removeEventListener(
4020
+ 'dragenter',
4021
+ this.handleTopDragEnterCapture,
4022
+ !0,
4023
+ ),
4024
+ e.removeEventListener(
4025
+ 'dragleave',
4026
+ this.handleTopDragLeaveCapture,
4027
+ !0,
4028
+ ),
4029
+ e.removeEventListener('dragover', this.handleTopDragOver),
4030
+ e.removeEventListener(
4031
+ 'dragover',
4032
+ this.handleTopDragOverCapture,
4033
+ !0,
4034
+ ),
4035
+ e.removeEventListener('drop', this.handleTopDrop),
4036
+ e.removeEventListener(
4037
+ 'drop',
4038
+ this.handleTopDropCapture,
4039
+ !0,
4040
+ ));
4041
+ },
4042
+ },
4043
+ {
4044
+ key: 'getCurrentSourceNodeOptions',
4045
+ value: function () {
4046
+ var e = this.monitor.getSourceId(),
4047
+ t = this.sourceNodeOptions.get(e);
4048
+ return Y(
4049
+ { dropEffect: this.altKeyPressed ? 'copy' : 'move' },
4050
+ t || {},
4051
+ );
4052
+ },
4053
+ },
4054
+ {
4055
+ key: 'getCurrentDropEffect',
4056
+ value: function () {
4057
+ return this.isDraggingNativeItem()
4058
+ ? 'copy'
4059
+ : this.getCurrentSourceNodeOptions().dropEffect;
4060
+ },
4061
+ },
4062
+ {
4063
+ key: 'getCurrentSourcePreviewNodeOptions',
4064
+ value: function () {
4065
+ var e = this.monitor.getSourceId(),
4066
+ t = this.sourcePreviewNodeOptions.get(e);
4067
+ return Y(
4068
+ { anchorX: 0.5, anchorY: 0.5, captureDraggingState: !1 },
4069
+ t || {},
4070
+ );
4071
+ },
4072
+ },
4073
+ {
4074
+ key: 'isDraggingNativeItem',
4075
+ value: function () {
4076
+ var e = this.monitor.getItemType();
4077
+ return Object.keys(n).some(function (t) {
4078
+ return n[t] === e;
4079
+ });
4080
+ },
4081
+ },
4082
+ {
4083
+ key: 'beginDragNativeItem',
4084
+ value: function (e, t) {
4085
+ this.clearCurrentDragSourceNode(),
4086
+ (this.currentNativeSource = U(e, t)),
4087
+ (this.currentNativeHandle = this.registry.addSource(
4088
+ e,
4089
+ this.currentNativeSource,
4090
+ )),
4091
+ this.actions.beginDrag([this.currentNativeHandle]);
4092
+ },
4093
+ },
4094
+ {
4095
+ key: 'setCurrentDragSourceNode',
4096
+ value: function (e) {
4097
+ var t = this;
4098
+ this.clearCurrentDragSourceNode(),
4099
+ (this.currentDragSourceNode = e);
4100
+ var r = 1e3;
4101
+ this.mouseMoveTimeoutTimer = setTimeout(function () {
4102
+ var e;
4103
+ return null === (e = t.rootElement) || void 0 === e
4104
+ ? void 0
4105
+ : e.addEventListener(
4106
+ 'mousemove',
4107
+ t.endDragIfSourceWasRemovedFromDOM,
4108
+ !0,
4109
+ );
4110
+ }, r);
4111
+ },
4112
+ },
4113
+ {
4114
+ key: 'clearCurrentDragSourceNode',
4115
+ value: function () {
4116
+ if (this.currentDragSourceNode) {
4117
+ var e;
4118
+ if (((this.currentDragSourceNode = null), this.rootElement))
4119
+ null === (e = this.window) ||
4120
+ void 0 === e ||
4121
+ e.clearTimeout(this.mouseMoveTimeoutTimer || void 0),
4122
+ this.rootElement.removeEventListener(
4123
+ 'mousemove',
4124
+ this.endDragIfSourceWasRemovedFromDOM,
4125
+ !0,
4126
+ );
4127
+ return (this.mouseMoveTimeoutTimer = null), !0;
4128
+ }
4129
+ return !1;
4130
+ },
4131
+ },
4132
+ {
4133
+ key: 'handleDragStart',
4134
+ value: function (e, t) {
4135
+ e.defaultPrevented ||
4136
+ (this.dragStartSourceIds || (this.dragStartSourceIds = []),
4137
+ this.dragStartSourceIds.unshift(t));
4138
+ },
4139
+ },
4140
+ {
4141
+ key: 'handleDragEnter',
4142
+ value: function (e, t) {
4143
+ this.dragEnterTargetIds.unshift(t);
4144
+ },
4145
+ },
4146
+ {
4147
+ key: 'handleDragOver',
4148
+ value: function (e, t) {
4149
+ null === this.dragOverTargetIds &&
4150
+ (this.dragOverTargetIds = []),
4151
+ this.dragOverTargetIds.unshift(t);
4152
+ },
4153
+ },
4154
+ {
4155
+ key: 'handleDrop',
4156
+ value: function (e, t) {
4157
+ this.dropTargetIds.unshift(t);
4158
+ },
4159
+ },
4160
+ ]),
4161
+ e
4162
+ );
4163
+ })(),
4164
+ Q = function (e, t, r) {
4165
+ return new $(e, t, r);
4166
+ };
4167
+ },
4168
+ },
4169
+ ]);