@zeniai/web-app-ui 5.1.65-prod → 5.1.66-dev

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 (159) hide show
  1. package/dist/assets/AddressRoutes-DEXYkqV1.js +1 -0
  2. package/dist/assets/{AddressScreen-DBh2kopg.js → AddressScreen-D8kv1hF_.js} +2 -2
  3. package/dist/assets/AiCfoScreen-BrNLceCE.js +22 -0
  4. package/dist/assets/BillPayApprovalRoutes-CvKgF8Ok.js +1 -0
  5. package/dist/assets/BillPayRoutes-DYswIHAT.js +119 -0
  6. package/dist/assets/BusinessVerificationPageScreen-YVk91Fzz.js +9 -0
  7. package/dist/assets/CardsAiCfoScreen-BO5V838O.js +14 -0
  8. package/dist/assets/ChargeCardRoutes-BZOF502-.js +71 -0
  9. package/dist/assets/CompanyPassportScreen-CPKfXmmb.js +1 -0
  10. package/dist/assets/ConnectionAuthScreen-Cv-HiaYb.js +11 -0
  11. package/dist/assets/CustomerOnboardingAuthScreen-DdX8BaLn.js +1 -0
  12. package/dist/assets/CustomerOnboardingRoutes-CKdlHWlk.js +30 -0
  13. package/dist/assets/{DashboardRoutes-CvxLfoR-.js → DashboardRoutes-CopaUmWi.js} +4 -4
  14. package/dist/assets/DefaultTenantHome-eT4t7R06.js +1 -0
  15. package/dist/assets/DomesticWireDetailScreen-Cbmuyang.js +18 -0
  16. package/dist/assets/DrawerScreen-CCxq1yzF.js +1 -0
  17. package/dist/assets/EntityDetailRoutes-DK7l7FnA.js +1 -0
  18. package/dist/assets/ExpenseAutomationRoutes-C3RWrFV-.js +25 -0
  19. package/dist/assets/FeaturePreviewScreen-BuXd4W0P.js +1 -0
  20. package/dist/assets/HubSpotOAuthCallbackScreen-D1enkInm.js +1 -0
  21. package/dist/assets/MagicLinkRoutes-BSRFSffK.js +72 -0
  22. package/dist/assets/MagicLinkSignInScreen-BSh1nXKM.js +12 -0
  23. package/dist/assets/{MobileAppDrawer-qPZdyrO4.js → MobileAppDrawer-BIP1MEKX.js} +1 -1
  24. package/dist/assets/NotFoundScreen-DY1Wwus4.js +1 -0
  25. package/dist/assets/NotificationRoutes-6rN7RQjW.js +1 -0
  26. package/dist/assets/OAuthConsentScreen-BqL6PD1E.js +1 -0
  27. package/dist/assets/PandLWithForecastRoutes-AcF3aqCk.js +1 -0
  28. package/dist/assets/PeopleRoutes-DPUTbQp_.js +22 -0
  29. package/dist/assets/PerformanceRoutes-Cn4Ovnir.js +1 -0
  30. package/dist/assets/{Preview-Dk_ia_hl.js → Preview-DDPGc7EO.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-DMhJk96k.js → QBOConnectionScreen-BEQPddK1.js} +1 -1
  32. package/dist/assets/ReferralListScreen-CQycV-0F.js +5 -0
  33. package/dist/assets/ReimbursementApprovalRoutes-Ch3sYOOh.js +1 -0
  34. package/dist/assets/ReimbursementApprovalRuleDetailScreen-BJZRYRum.js +1 -0
  35. package/dist/assets/ReimbursementRoutes-CgQPRNMh.js +68 -0
  36. package/dist/assets/ReportsRoutes-CQztdl9E.js +1 -0
  37. package/dist/assets/RewardsRoutes-B0jOOo8W.js +1 -0
  38. package/dist/assets/ScreenRoutes-D7kpFxVk.js +2 -0
  39. package/dist/assets/SettingsRoutes-CdvEgvyN.js +57 -0
  40. package/dist/assets/SetupPagesScreen-Dh6d6vu-.js +29 -0
  41. package/dist/assets/SignInScreen-FuVo71JP.js +1 -0
  42. package/dist/assets/SignOutScreen-DJh4f2Aj.js +9 -0
  43. package/dist/assets/TaskListScreen-CnT3FhwB.js +9 -0
  44. package/dist/assets/TaskRoutes-BlDolQ3c.js +9 -0
  45. package/dist/assets/TransactionDetailRoutes-C2XNyTUH.js +1 -0
  46. package/dist/assets/TransactionDetailScreen-Ch_kEoMB.js +5 -0
  47. package/dist/assets/TransactionListRoutes-CAZZrQj-.js +1 -0
  48. package/dist/assets/TreasuryRoutes-BQCtQUx_.js +37 -0
  49. package/dist/assets/{VendorsRoutes-Hio5Sfl7.js → VendorsRoutes-BGB3F2EZ.js} +27 -27
  50. package/dist/assets/WiseConfirmationScreen-BSryCvdh.js +12 -0
  51. package/dist/assets/ZeniAccountRoutes-D-szpn5h.js +73 -0
  52. package/dist/assets/ZeniAccountStatementScreen-BORtLhU4.js +9 -0
  53. package/dist/assets/{accountMappingHelper-BJc8FF-F.js → accountMappingHelper-SrHoNEDL.js} +1 -1
  54. package/dist/assets/{analytics-7_b07CgE.js → analytics-CkLW7NeW.js} +1 -1
  55. package/dist/assets/{analyticsHelper-DGI02sYS.js → analyticsHelper-BsiU5y2K.js} +1 -1
  56. package/dist/assets/{core-C1GB7aB-.js → core-Crl6eqZl.js} +2 -2
  57. package/dist/assets/{decodeURIComponentSafe-okum9C8e.js → decodeURIComponentSafe-DwYiSzjo.js} +1 -1
  58. package/dist/assets/dnd-tE28jHT7.js +6 -0
  59. package/dist/assets/{empty-DcVAbZV4.js → empty-BpRPQOis.js} +1 -1
  60. package/dist/assets/{index-D934ejNp.js → empty-C7ggsb2s.js} +1 -1
  61. package/dist/assets/{emptyVideoElement-2r8hCQGV.js → emptyVideoElement-BvjVfzOS.js} +1 -1
  62. package/dist/assets/epic-Qgvh4PH7.js +2 -0
  63. package/dist/assets/getLocaleForTenant-DiFaMSxg.js +1 -0
  64. package/dist/assets/{index-CJkoGhEu.js → index-B5it1rE5.js} +1 -1
  65. package/dist/assets/{index-R6GjjTB3.css → index-BUmr5maU.css} +1 -1
  66. package/dist/assets/index-BdlPaglK.js +1 -0
  67. package/dist/assets/{index-DwUJQ44f.js → index-Bs_5Wou0.js} +2 -2
  68. package/dist/assets/{index-D4_FYu1h.js → index-CJknvk0s.js} +33673 -28214
  69. package/dist/assets/index-CZNTdKXM.js +1 -0
  70. package/dist/assets/{index-DgOeAv6K.js → index-Cg0vsa8G.js} +1 -1
  71. package/dist/assets/{index-Cgq5e8kx.js → index-D5ItYKRr.js} +1 -1
  72. package/dist/assets/{index-DcSDyNQG.js → index-Dvok4kj_.js} +1 -1
  73. package/dist/assets/{lexical-Dcuk4Yua.js → lexical-Bm_vZOjC.js} +1 -1
  74. package/dist/assets/{liveblocks-Dx9GJaKJ.js → liveblocks-B5ZW-VBI.js} +1 -1
  75. package/dist/assets/{lottie-MYbVFail.js → lottie-hSeCd_VX.js} +1 -1
  76. package/dist/assets/{mui-S6TXegyD.js → mui-U77PQnc2.js} +1 -1
  77. package/dist/assets/{pathToGoBack-CYxRwoYN.js → pathToGoBack-BWWNiH76.js} +1 -1
  78. package/dist/assets/{pdf-BijcgxIK.js → pdf-DDcPh2pm.js} +4 -4
  79. package/dist/assets/{pdf-lib-DXIgr0ip.js → pdf-lib-ImawEH2S.js} +1 -1
  80. package/dist/assets/{plaid-nqaFvQD8.js → plaid-TCRHScH1.js} +1 -1
  81. package/dist/assets/{pusher-Dwxn49q9.js → pusher-CimMrDFu.js} +1 -1
  82. package/dist/assets/{react-0X27mp_1.js → react-BUcjX1FU.js} +1 -1
  83. package/dist/assets/{react-BKDInzaa.js → react-BghKQeK_.js} +1 -1
  84. package/dist/assets/{react-ClmE3BGe.js → react-DdRuig8o.js} +1 -1
  85. package/dist/assets/{react-CtohstEB.js → react-DyFf3w8Z.js} +1 -1
  86. package/dist/assets/{react-BmdAxlR-.js → react-DzBjlQkv.js} +1 -1
  87. package/dist/assets/{react-BK9aeab9.js → react-z5kfbX38.js} +1 -1
  88. package/dist/assets/{recharts-DgDFrpbv.js → recharts-e5u-LCPv.js} +3 -3
  89. package/dist/assets/{routePaths-dZ-9-pnI.js → routePaths-jWP9zfXs.js} +1 -1
  90. package/dist/assets/{sentry-i8uQ0afM.js → sentry-BxWyF9h9.js} +1 -1
  91. package/dist/assets/{url-B7pK2_FE.js → url-DTS3WRFG.js} +1 -1
  92. package/dist/assets/{url-DUqjNyjV.js → url-jBDeguac.js} +1 -1
  93. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-CgykUI65.js +1 -0
  94. package/dist/assets/useAskAiCfoHostNavButtonProps-BAtYgUWq.js +1 -0
  95. package/dist/assets/useCashManagementBanner-CRbG3Xtj.js +1 -0
  96. package/dist/assets/useChargeCardPusherEvents-Dq1SGHUY.js +1 -0
  97. package/dist/assets/{useDeviceId-AH1KsB1z.js → useDeviceId-BZa5m-bZ.js} +1 -1
  98. package/dist/assets/useEmailConnectResultRefresh-CiGW-Jar.js +1 -0
  99. package/dist/assets/useInitialThreadRequest-DZr1J4rc.js +1 -0
  100. package/dist/assets/{utils-BGTnhJzp.js → utils-BjvWDnmB.js} +2 -2
  101. package/dist/assets/withTransactionSidePanel-DKnep6Xn.js +21 -0
  102. package/dist/assets/zeni-epic-state-DTyrT1Ga.js +13 -0
  103. package/dist/index.html +1 -1
  104. package/package.json +4 -4
  105. package/dist/assets/AddressRoutes-CaAZUR1d.js +0 -1
  106. package/dist/assets/AiCfoScreen-0P2uyYnp.js +0 -22
  107. package/dist/assets/BillPayApprovalRoutes-Bf6ESEC4.js +0 -1
  108. package/dist/assets/BillPayRoutes-JaK42ohp.js +0 -119
  109. package/dist/assets/BusinessVerificationPageScreen-yN_GrrFh.js +0 -9
  110. package/dist/assets/ChargeCardRoutes-DIGTV0Mu.js +0 -71
  111. package/dist/assets/CompanyPassportScreen-ioZCXwD_.js +0 -1
  112. package/dist/assets/ConnectionAuthScreen-BjfktFq2.js +0 -11
  113. package/dist/assets/CustomerOnboardingAuthScreen-Dzpz1U1f.js +0 -1
  114. package/dist/assets/CustomerOnboardingRoutes-Br-Z1BtF.js +0 -23
  115. package/dist/assets/DefaultTenantHome-GIFjQHwa.js +0 -1
  116. package/dist/assets/DomesticWireDetailScreen-DM1m923S.js +0 -18
  117. package/dist/assets/DrawerScreen-Bw0Jl3tu.js +0 -1
  118. package/dist/assets/EntityDetailRoutes-DpkUcZ1b.js +0 -1
  119. package/dist/assets/ExpenseAutomationRoutes-D1H-vOTZ.js +0 -25
  120. package/dist/assets/FeaturePreviewScreen-RdL9x4ht.js +0 -1
  121. package/dist/assets/HubSpotOAuthCallbackScreen-ChOR5mQ9.js +0 -1
  122. package/dist/assets/MagicLinkRoutes-B0Bm7tIZ.js +0 -72
  123. package/dist/assets/MagicLinkSignInScreen-BSGPgcvY.js +0 -12
  124. package/dist/assets/NotFoundScreen-CLwfUXdC.js +0 -1
  125. package/dist/assets/NotificationRoutes-CsG2sL7b.js +0 -1
  126. package/dist/assets/OAuthConsentScreen-y-MvR-GE.js +0 -1
  127. package/dist/assets/PandLWithForecastRoutes-DhJIPrDf.js +0 -1
  128. package/dist/assets/PeopleRoutes-Bj5rMpkn.js +0 -22
  129. package/dist/assets/PerformanceRoutes-Dh41RQnX.js +0 -1
  130. package/dist/assets/ReferralListScreen-BTezTn63.js +0 -5
  131. package/dist/assets/ReimbursementApprovalRoutes-DMZ_8HxF.js +0 -1
  132. package/dist/assets/ReimbursementApprovalRuleDetailScreen-D4-WsBma.js +0 -1
  133. package/dist/assets/ReimbursementRoutes-CEmvBqU2.js +0 -68
  134. package/dist/assets/ReportsRoutes-DHk4zguu.js +0 -1
  135. package/dist/assets/RewardsRoutes-a_wmpytf.js +0 -1
  136. package/dist/assets/ScreenRoutes-DRJIZt7d.js +0 -2
  137. package/dist/assets/SettingsRoutes-C70whJIl.js +0 -57
  138. package/dist/assets/SetupPagesScreen-BN4AuJYP.js +0 -29
  139. package/dist/assets/SignInScreen-l-2YMbZy.js +0 -1
  140. package/dist/assets/SignOutScreen-Yt1oM0Fq.js +0 -9
  141. package/dist/assets/TaskListScreen-DHIOYmiB.js +0 -9
  142. package/dist/assets/TaskRoutes-PlhqIOO4.js +0 -9
  143. package/dist/assets/TransactionDetailRoutes-Da9AxMSb.js +0 -1
  144. package/dist/assets/TransactionDetailScreen-DT8xA3x1.js +0 -5
  145. package/dist/assets/TransactionListRoutes-BukrAqP2.js +0 -1
  146. package/dist/assets/TreasuryRoutes-CoolddxK.js +0 -37
  147. package/dist/assets/WiseConfirmationScreen-CvwI66d8.js +0 -12
  148. package/dist/assets/ZeniAccountRoutes-Bdh4wUlu.js +0 -57
  149. package/dist/assets/ZeniAccountStatementScreen-C1LlIbPZ.js +0 -9
  150. package/dist/assets/dnd-BKLSY4Qp.js +0 -6
  151. package/dist/assets/empty-BAGbIBoq.js +0 -1
  152. package/dist/assets/epic-BFBt-3XZ.js +0 -2
  153. package/dist/assets/getLocaleForTenant-COPdXUFc.js +0 -1
  154. package/dist/assets/index-DFPmY4t1.js +0 -1
  155. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-zin4AQfk.js +0 -1
  156. package/dist/assets/useAskAiCfoHostNavButtonProps-Zz8eSFW2.js +0 -1
  157. package/dist/assets/useInitialThreadRequest-BKY0Q6gT.js +0 -1
  158. package/dist/assets/withTransactionSidePanel-yGfWimRu.js +0 -21
  159. package/dist/assets/zeni-epic-state-BJXbyZuT.js +0 -13
@@ -1 +1 @@
1
- import{cG as m,cH as l,K9 as _,Ka as d}from"./zeni-epic-state-BJXbyZuT.js";import{d as u}from"./index-D4_FYu1h.js";import"./sentry-i8uQ0afM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="143d3c65-39cb-4848-8e82-f35232f551bb",e._sentryDebugIdIdentifier="sentry-dbid-143d3c65-39cb-4848-8e82-f35232f551bb")}catch{}})();const b=e=>{switch(e){case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e;case"month":default:return"months";case"quarter":return"quarters";case"year":return"years"}},h=(e,a,o,i,s)=>{const r=[],c=[];let t=[];s?.forEach(n=>{r.push(n.companyId),c.push(n.companyName),t=t.concat(n.userRole)}),u.identify(e.userId,{tenant_id:a.tenantId,tenant_email_domain:a.tenantEmailDomain,company_id:a.companyId,company_name:a.companyName,user_role:a.userRole,chargebee_customer_id:i,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:s!=null?r:void 0,company_names:s!=null?c:void 0,user_roles:s!=null?t:void 0,app_type:"web",appearance:o})},g=(e,a)=>m(e,a)?"bill_pay":l(e,a)?"reimbursement":_(e,a)?"zeni_accounts":d(e,a)?"charge_cards":"bill_pay",w=e=>Object.values(e.allocation).map(String).join("-");export{w as a,h as f,g,b as t};
1
+ import{cL as m,cM as l,M5 as _,M6 as d}from"./zeni-epic-state-DTyrT1Ga.js";import{c as u}from"./index-CJknvk0s.js";import"./sentry-BxWyF9h9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c677d073-570b-4c55-8dba-6de8c76211a7",e._sentryDebugIdIdentifier="sentry-dbid-c677d073-570b-4c55-8dba-6de8c76211a7")}catch{}})();const b=e=>{switch(e){case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return e;case"month":default:return"months";case"quarter":return"quarters";case"year":return"years"}},h=(e,a,o,i,s)=>{const c=[],r=[];let t=[];s?.forEach(n=>{c.push(n.companyId),r.push(n.companyName),t=t.concat(n.userRole)}),u.identify(e.userId,{tenant_id:a.tenantId,tenant_email_domain:a.tenantEmailDomain,company_id:a.companyId,company_name:a.companyName,user_role:a.userRole,chargebee_customer_id:i,$email:e.userEmail,user_email_domain:e.userEmailDomain,$first_name:e.firstName,$last_name:e.lastName,company_ids:s!=null?c:void 0,company_names:s!=null?r:void 0,user_roles:s!=null?t:void 0,app_type:"web",appearance:o})},g=(e,a)=>m(e,a)?"bill_pay":l(e,a)?"reimbursement":_(e,a)?"zeni_accounts":d(e,a)?"charge_cards":"bill_pay",w=e=>Object.values(e.allocation).map(String).join("-");export{w as a,h as f,g,b as t};
@@ -1,4 +1,4 @@
1
- import{r as yd,g as Oc,a as D,R as bd,b as Yn,h as Ys}from"./sentry-i8uQ0afM.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new u.Error().stack;s&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[s]="26221786-767f-42ee-9b03-e4e1906ea06f",u._sentryDebugIdIdentifier="sentry-dbid-26221786-767f-42ee-9b03-e4e1906ea06f")}catch{}})();var Xs,Gs,Js,Zs,Wo={exports:{}},He={},ec={exports:{}},nc={};function wd(){return Gs||(Gs=1,ec.exports=(Xs||(Xs=1,function(u){function s(z,V){var q=z.length;z.push(V);e:for(;0<q;){var ee=q-1>>>1,ie=z[ee];if(!(0<p(ie,V)))break e;z[ee]=V,z[q]=ie,q=ee}}function i(z){return z.length===0?null:z[0]}function f(z){if(z.length===0)return null;var V=z[0],q=z.pop();if(q!==V){z[0]=q;e:for(var ee=0,ie=z.length,Qe=ie>>>1;ee<Qe;){var en=2*(ee+1)-1,Fe=z[en],qe=en+1,Be=z[qe];if(0>p(Fe,q))qe<ie&&0>p(Be,Fe)?(z[ee]=Be,z[qe]=q,ee=qe):(z[ee]=Fe,z[en]=q,ee=en);else{if(!(qe<ie&&0>p(Be,q)))break e;z[ee]=Be,z[qe]=q,ee=qe}}}return V}function p(z,V){var q=z.sortIndex-V.sortIndex;return q!==0?q:z.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var v=performance;u.unstable_now=function(){return v.now()}}else{var C=Date,b=C.now();u.unstable_now=function(){return C.now()-b}}var y=[],L=[],T=1,N=null,O=3,F=!1,H=!1,$=!1,A=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function Q(z){for(var V=i(L);V!==null;){if(V.callback===null)f(L);else{if(!(V.startTime<=z))break;f(L),V.sortIndex=V.expirationTime,s(y,V)}V=i(L)}}function X(z){if($=!1,Q(z),!H)if(i(y)!==null)H=!0,ye(re);else{var V=i(L);V!==null&&De(X,V.startTime-z)}}function re(z,V){H=!1,$&&($=!1,I(fe),fe=-1),F=!0;var q=O;try{for(Q(V),N=i(y);N!==null&&(!(N.expirationTime>V)||z&&!Z());){var ee=N.callback;if(typeof ee=="function"){N.callback=null,O=N.priorityLevel;var ie=ee(N.expirationTime<=V);V=u.unstable_now(),typeof ie=="function"?N.callback=ie:N===i(y)&&f(y),Q(V)}else f(y);N=i(y)}if(N!==null)var Qe=!0;else{var en=i(L);en!==null&&De(X,en.startTime-V),Qe=!1}return Qe}finally{N=null,O=q,F=!1}}typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var ce,Ee=!1,ue=null,fe=-1,Ce=5,ke=-1;function Z(){return!(u.unstable_now()-ke<Ce)}function R(){if(ue!==null){var z=u.unstable_now();ke=z;var V=!0;try{V=ue(!0,z)}finally{V?ce():(Ee=!1,ue=null)}}else Ee=!1}if(typeof W=="function")ce=function(){W(R)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,Oe=de.port2;de.port1.onmessage=R,ce=function(){Oe.postMessage(null)}}else ce=function(){A(R,0)};function ye(z){ue=z,Ee||(Ee=!0,ce())}function De(z,V){fe=A(function(){z(u.unstable_now())},V)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(z){z.callback=null},u.unstable_continueExecution=function(){H||F||(H=!0,ye(re))},u.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<z?Math.floor(1e3/z):5},u.unstable_getCurrentPriorityLevel=function(){return O},u.unstable_getFirstCallbackNode=function(){return i(y)},u.unstable_next=function(z){switch(O){case 1:case 2:case 3:var V=3;break;default:V=O}var q=O;O=V;try{return z()}finally{O=q}},u.unstable_pauseExecution=function(){},u.unstable_requestPaint=function(){},u.unstable_runWithPriority=function(z,V){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var q=O;O=z;try{return V()}finally{O=q}},u.unstable_scheduleCallback=function(z,V,q){var ee=u.unstable_now();switch(q=typeof q=="object"&&q!==null&&typeof(q=q.delay)=="number"&&0<q?ee+q:ee,z){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return z={id:T++,callback:V,priorityLevel:z,startTime:q,expirationTime:ie=q+ie,sortIndex:-1},q>ee?(z.sortIndex=q,s(L,z),i(y)===null&&z===i(L)&&($?(I(fe),fe=-1):$=!0,De(X,q-ee))):(z.sortIndex=ie,s(y,z),H||F||(H=!0,ye(re))),z},u.unstable_shouldYield=Z,u.unstable_wrapCallback=function(z){var V=O;return function(){var q=O;O=V;try{return z.apply(this,arguments)}finally{O=q}}}}(nc)),nc)),ec.exports}function kd(){if(Js)return He;Js=1;var u=yd(),s=wd();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function v(e,n){C(e,n),C(e+"Capture",n)}function C(e,n){for(p[e]=n,e=0;e<n.length;e++)f.add(n[e])}var b=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),y=Object.prototype.hasOwnProperty,L=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T={},N={};function O(e,n,t,r,a,l,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=l,this.removeEmptyString=o}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new O(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];F[n]=new O(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new O(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new O(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){F[e]=new O(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new O(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new O(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new O(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new O(e,5,!1,e.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}function A(e,n,t,r){var a=F.hasOwnProperty(n)?F[n]:null;(a!==null?a.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(function(l,o,c,d){if(o==null||function(m,g,x,k){if(x!==null&&x.type===0)return!1;switch(typeof g){case"function":case"symbol":return!0;case"boolean":return!k&&(x!==null?!x.acceptsBooleans:(m=m.toLowerCase().slice(0,5))!=="data-"&&m!=="aria-");default:return!1}}(l,o,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}(n,t,a,r)&&(t=null),r||a===null?function(l){return!!y.call(N,l)||!y.call(T,l)&&(L.test(l)?N[l]=!0:(T[l]=!0,!1))}(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):a.mustUseProperty?e[a.propertyName]=t===null?a.type!==3&&"":t:(n=a.attributeName,r=a.attributeNamespace,t===null?e.removeAttribute(n):(t=(a=a.type)===3||a===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new O(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new O(e,1,!1,e.toLowerCase(),null,!0,!0)});var I=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),Q=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),ue=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),Oe=Symbol.iterator;function ye(e){return e===null||typeof e!="object"?null:typeof(e=Oe&&e[Oe]||e["@@iterator"])=="function"?e:null}var De,z=Object.assign;function V(e){if(De===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);De=n&&n[1]||""}return`
1
+ import{r as yd,g as Oc,a as D,R as bd,b as Yn,h as Ys}from"./sentry-BxWyF9h9.js";(function(){try{var u=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new u.Error().stack;s&&(u._sentryDebugIds=u._sentryDebugIds||{},u._sentryDebugIds[s]="0c1a45e7-5b20-4072-81e8-ea9382429b43",u._sentryDebugIdIdentifier="sentry-dbid-0c1a45e7-5b20-4072-81e8-ea9382429b43")}catch{}})();var Xs,Gs,Js,Zs,Wo={exports:{}},He={},ec={exports:{}},nc={};function wd(){return Gs||(Gs=1,ec.exports=(Xs||(Xs=1,function(u){function s(z,V){var q=z.length;z.push(V);e:for(;0<q;){var ee=q-1>>>1,ie=z[ee];if(!(0<p(ie,V)))break e;z[ee]=V,z[q]=ie,q=ee}}function i(z){return z.length===0?null:z[0]}function f(z){if(z.length===0)return null;var V=z[0],q=z.pop();if(q!==V){z[0]=q;e:for(var ee=0,ie=z.length,Qe=ie>>>1;ee<Qe;){var en=2*(ee+1)-1,Fe=z[en],qe=en+1,Be=z[qe];if(0>p(Fe,q))qe<ie&&0>p(Be,Fe)?(z[ee]=Be,z[qe]=q,ee=qe):(z[ee]=Fe,z[en]=q,ee=en);else{if(!(qe<ie&&0>p(Be,q)))break e;z[ee]=Be,z[qe]=q,ee=qe}}}return V}function p(z,V){var q=z.sortIndex-V.sortIndex;return q!==0?q:z.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var v=performance;u.unstable_now=function(){return v.now()}}else{var C=Date,b=C.now();u.unstable_now=function(){return C.now()-b}}var y=[],L=[],T=1,N=null,O=3,F=!1,H=!1,$=!1,A=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function Q(z){for(var V=i(L);V!==null;){if(V.callback===null)f(L);else{if(!(V.startTime<=z))break;f(L),V.sortIndex=V.expirationTime,s(y,V)}V=i(L)}}function X(z){if($=!1,Q(z),!H)if(i(y)!==null)H=!0,ye(re);else{var V=i(L);V!==null&&De(X,V.startTime-z)}}function re(z,V){H=!1,$&&($=!1,I(fe),fe=-1),F=!0;var q=O;try{for(Q(V),N=i(y);N!==null&&(!(N.expirationTime>V)||z&&!Z());){var ee=N.callback;if(typeof ee=="function"){N.callback=null,O=N.priorityLevel;var ie=ee(N.expirationTime<=V);V=u.unstable_now(),typeof ie=="function"?N.callback=ie:N===i(y)&&f(y),Q(V)}else f(y);N=i(y)}if(N!==null)var Qe=!0;else{var en=i(L);en!==null&&De(X,en.startTime-V),Qe=!1}return Qe}finally{N=null,O=q,F=!1}}typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var ce,Ee=!1,ue=null,fe=-1,Ce=5,ke=-1;function Z(){return!(u.unstable_now()-ke<Ce)}function R(){if(ue!==null){var z=u.unstable_now();ke=z;var V=!0;try{V=ue(!0,z)}finally{V?ce():(Ee=!1,ue=null)}}else Ee=!1}if(typeof W=="function")ce=function(){W(R)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,Oe=de.port2;de.port1.onmessage=R,ce=function(){Oe.postMessage(null)}}else ce=function(){A(R,0)};function ye(z){ue=z,Ee||(Ee=!0,ce())}function De(z,V){fe=A(function(){z(u.unstable_now())},V)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(z){z.callback=null},u.unstable_continueExecution=function(){H||F||(H=!0,ye(re))},u.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ce=0<z?Math.floor(1e3/z):5},u.unstable_getCurrentPriorityLevel=function(){return O},u.unstable_getFirstCallbackNode=function(){return i(y)},u.unstable_next=function(z){switch(O){case 1:case 2:case 3:var V=3;break;default:V=O}var q=O;O=V;try{return z()}finally{O=q}},u.unstable_pauseExecution=function(){},u.unstable_requestPaint=function(){},u.unstable_runWithPriority=function(z,V){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var q=O;O=z;try{return V()}finally{O=q}},u.unstable_scheduleCallback=function(z,V,q){var ee=u.unstable_now();switch(q=typeof q=="object"&&q!==null&&typeof(q=q.delay)=="number"&&0<q?ee+q:ee,z){case 1:var ie=-1;break;case 2:ie=250;break;case 5:ie=1073741823;break;case 4:ie=1e4;break;default:ie=5e3}return z={id:T++,callback:V,priorityLevel:z,startTime:q,expirationTime:ie=q+ie,sortIndex:-1},q>ee?(z.sortIndex=q,s(L,z),i(y)===null&&z===i(L)&&($?(I(fe),fe=-1):$=!0,De(X,q-ee))):(z.sortIndex=ie,s(y,z),H||F||(H=!0,ye(re))),z},u.unstable_shouldYield=Z,u.unstable_wrapCallback=function(z){var V=O;return function(){var q=O;O=V;try{return z.apply(this,arguments)}finally{O=q}}}}(nc)),nc)),ec.exports}function kd(){if(Js)return He;Js=1;var u=yd(),s=wd();function i(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var f=new Set,p={};function v(e,n){C(e,n),C(e+"Capture",n)}function C(e,n){for(p[e]=n,e=0;e<n.length;e++)f.add(n[e])}var b=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),y=Object.prototype.hasOwnProperty,L=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,T={},N={};function O(e,n,t,r,a,l,o){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=l,this.removeEmptyString=o}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new O(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];F[n]=new O(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new O(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new O(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){F[e]=new O(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new O(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new O(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new O(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new O(e,5,!1,e.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function $(e){return e[1].toUpperCase()}function A(e,n,t,r){var a=F.hasOwnProperty(n)?F[n]:null;(a!==null?a.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(function(l,o,c,d){if(o==null||function(m,g,x,k){if(x!==null&&x.type===0)return!1;switch(typeof g){case"function":case"symbol":return!0;case"boolean":return!k&&(x!==null?!x.acceptsBooleans:(m=m.toLowerCase().slice(0,5))!=="data-"&&m!=="aria-");default:return!1}}(l,o,c,d))return!0;if(d)return!1;if(c!==null)switch(c.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}(n,t,a,r)&&(t=null),r||a===null?function(l){return!!y.call(N,l)||!y.call(T,l)&&(L.test(l)?N[l]=!0:(T[l]=!0,!1))}(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):a.mustUseProperty?e[a.propertyName]=t===null?a.type!==3&&"":t:(n=a.attributeName,r=a.attributeNamespace,t===null?e.removeAttribute(n):(t=(a=a.type)===3||a===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(H,$);F[n]=new O(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new O(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new O("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new O(e,1,!1,e.toLowerCase(),null,!0,!0)});var I=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),Q=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),Ee=Symbol.for("react.provider"),ue=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),Ce=Symbol.for("react.suspense"),ke=Symbol.for("react.suspense_list"),Z=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),de=Symbol.for("react.offscreen"),Oe=Symbol.iterator;function ye(e){return e===null||typeof e!="object"?null:typeof(e=Oe&&e[Oe]||e["@@iterator"])=="function"?e:null}var De,z=Object.assign;function V(e){if(De===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);De=n&&n[1]||""}return`
2
2
  `+De+e}var q=!1;function ee(e,n){if(!e||q)return"";q=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(m){var r=m}Reflect.construct(e,[],n)}else{try{n.call()}catch(m){r=m}e.call(n.prototype)}else{try{throw Error()}catch(m){r=m}e()}}catch(m){if(m&&r&&typeof m.stack=="string"){for(var a=m.stack.split(`
3
3
  `),l=r.stack.split(`
4
4
  `),o=a.length-1,c=l.length-1;1<=o&&0<=c&&a[o]!==l[c];)c--;for(;1<=o&&0<=c;o--,c--)if(a[o]!==l[c]){if(o!==1||c!==1)do if(o--,0>--c||a[o]!==l[c]){var d=`
@@ -9,4 +9,4 @@ Error generating stack: `+l.message+`
9
9
  The error may be correlated with this previous error:
10
10
  `+F.current.stack+`
11
11
 
12
- `),Q}return Wa(function(){H.current=C,$.current=I,A.current=T,F.current=void 0}),Wa(function(){function Q(){try{var X=y.getState();if(X===$.current)return;var re=H.current(X);if(b(re,A.current))return;A.current=re,$.current=X}catch(ce){F.current=ce}N()}return O.onStateChange=Q,O.trySubscribe(),Q(),function(){return O.tryUnsubscribe()}},[y,O]),T}(i,f,p.store,p.subscription);return D.useDebugValue(v),v}}var Pc,Bp=Sp();function Lr(u){return Lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Lr(u)}function xp(u){var s=function(i,f){if(Lr(i)!="object"||!i)return i;var p=i[Symbol.toPrimitive];if(p!==void 0){var v=p.call(i,f);if(Lr(v)!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(i)}(u,"string");return Lr(s)=="symbol"?s:s+""}function Ep(u,s,i){return(s=xp(s))in u?Object.defineProperty(u,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[s]=i,u}function Nc(u,s){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);s&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),i.push.apply(i,f)}return i}function _c(u){for(var s=1;s<arguments.length;s++){var i=arguments[s]!=null?arguments[s]:{};s%2?Nc(Object(i),!0).forEach(function(f){Ep(u,f,i[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):Nc(Object(i)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(i,f))})}return u}function Me(u){return"Minified Redux error #"+u+"; visit https://redux.js.org/Errors?code="+u+" for the full message or use the non-minified dev environment for full errors. "}Pc=zc.unstable_batchedUpdates,Hc=Pc;var Tc=typeof Symbol=="function"&&Symbol.observable||"@@observable",Yo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Va={INIT:"@@redux/INIT"+Yo(),REPLACE:"@@redux/REPLACE"+Yo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yo()}};function Cp(u,s,i){var f;if(typeof s=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(Me(0));if(typeof s=="function"&&i===void 0&&(i=s,s=void 0),i!==void 0){if(typeof i!="function")throw new Error(Me(1));return i(Cp)(u,s)}if(typeof u!="function")throw new Error(Me(2));var p=u,v=s,C=[],b=C,y=!1;function L(){b===C&&(b=C.slice())}function T(){if(y)throw new Error(Me(3));return v}function N(F){if(typeof F!="function")throw new Error(Me(4));if(y)throw new Error(Me(5));var H=!0;return L(),b.push(F),function(){if(H){if(y)throw new Error(Me(6));H=!1,L();var $=b.indexOf(F);b.splice($,1),C=null}}}function O(F){if(!function(A){if(typeof A!="object"||A===null)return!1;for(var I=A;Object.getPrototypeOf(I)!==null;)I=Object.getPrototypeOf(I);return Object.getPrototypeOf(A)===I}(F))throw new Error(Me(7));if(F.type===void 0)throw new Error(Me(8));if(y)throw new Error(Me(9));try{y=!0,v=p(v,F)}finally{y=!1}for(var H=C=b,$=0;$<H.length;$++)(0,H[$])();return F}return O({type:Va.INIT}),(f={dispatch:O,subscribe:N,getState:T,replaceReducer:function(F){if(typeof F!="function")throw new Error(Me(10));p=F,O({type:Va.REPLACE})}})[Tc]=function(){var F,H=N;return(F={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(Me(11));function A(){$.next&&$.next(T())}return A(),{unsubscribe:H(A)}}})[Tc]=function(){return this},F},f}function Ap(u){for(var s=Object.keys(u),i={},f=0;f<s.length;f++){var p=s[f];typeof u[p]=="function"&&(i[p]=u[p])}var v,C=Object.keys(i);try{(function(b){Object.keys(b).forEach(function(y){var L=b[y];if(L(void 0,{type:Va.INIT})===void 0)throw new Error(Me(12));if(L(void 0,{type:Va.PROBE_UNKNOWN_ACTION()})===void 0)throw new Error(Me(13))})})(i)}catch(b){v=b}return function(b,y){if(b===void 0&&(b={}),v)throw v;for(var L=!1,T={},N=0;N<C.length;N++){var O=C[N],F=i[O],H=b[O],$=F(H,y);if($===void 0)throw y&&y.type,new Error(Me(14));T[O]=$,L=L||$!==H}return(L=L||C.length!==Object.keys(b).length)?T:b}}function Pp(){for(var u=arguments.length,s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];return s.length===0?function(f){return f}:s.length===1?s[0]:s.reduce(function(f,p){return function(){return f(p.apply(void 0,arguments))}})}function Wp(){for(var u=arguments.length,s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];return function(f){return function(){var p=f.apply(void 0,arguments),v=function(){throw new Error(Me(15))},C={getState:p.getState,dispatch:function(){return v.apply(void 0,arguments)}},b=s.map(function(y){return y(C)});return v=Pp.apply(void 0,b)(p.dispatch),_c(_c({},p),{},{dispatch:v})}}}export{Mp as B,zp as N,Lp as O,Fp as P,_p as R,Gn as _,Ap as a,Cp as b,Pp as c,Wp as d,$a as e,Sd as f,Fr as g,Ac as h,Op as i,Bp as j,bp as k,Tp as l,Mc as m,Up as n,Rp as o,Qd as p,Ip as q,zc as r,Dp as s,qo as t,jp as u};
12
+ `),Q}return Wa(function(){H.current=C,$.current=I,A.current=T,F.current=void 0}),Wa(function(){function Q(){try{var X=y.getState();if(X===$.current)return;var re=H.current(X);if(b(re,A.current))return;A.current=re,$.current=X}catch(ce){F.current=ce}N()}return O.onStateChange=Q,O.trySubscribe(),Q(),function(){return O.tryUnsubscribe()}},[y,O]),T}(i,f,p.store,p.subscription);return D.useDebugValue(v),v}}var Pc,Bp=Sp();function Lr(u){return Lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},Lr(u)}function xp(u){var s=function(i,f){if(Lr(i)!="object"||!i)return i;var p=i[Symbol.toPrimitive];if(p!==void 0){var v=p.call(i,f);if(Lr(v)!="object")return v;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(i)}(u,"string");return Lr(s)=="symbol"?s:s+""}function Ep(u,s,i){return(s=xp(s))in u?Object.defineProperty(u,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):u[s]=i,u}function Nc(u,s){var i=Object.keys(u);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(u);s&&(f=f.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),i.push.apply(i,f)}return i}function _c(u){for(var s=1;s<arguments.length;s++){var i=arguments[s]!=null?arguments[s]:{};s%2?Nc(Object(i),!0).forEach(function(f){Ep(u,f,i[f])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(i)):Nc(Object(i)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(i,f))})}return u}function Me(u){return"Minified Redux error #"+u+"; visit https://redux.js.org/Errors?code="+u+" for the full message or use the non-minified dev environment for full errors. "}Pc=zc.unstable_batchedUpdates,Hc=Pc;var Tc=typeof Symbol=="function"&&Symbol.observable||"@@observable",Yo=function(){return Math.random().toString(36).substring(7).split("").join(".")},Va={INIT:"@@redux/INIT"+Yo(),REPLACE:"@@redux/REPLACE"+Yo(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Yo()}};function Cp(u,s,i){var f;if(typeof s=="function"&&typeof i=="function"||typeof i=="function"&&typeof arguments[3]=="function")throw new Error(Me(0));if(typeof s=="function"&&i===void 0&&(i=s,s=void 0),i!==void 0){if(typeof i!="function")throw new Error(Me(1));return i(Cp)(u,s)}if(typeof u!="function")throw new Error(Me(2));var p=u,v=s,C=[],b=C,y=!1;function L(){b===C&&(b=C.slice())}function T(){if(y)throw new Error(Me(3));return v}function N(F){if(typeof F!="function")throw new Error(Me(4));if(y)throw new Error(Me(5));var H=!0;return L(),b.push(F),function(){if(H){if(y)throw new Error(Me(6));H=!1,L();var $=b.indexOf(F);b.splice($,1),C=null}}}function O(F){if(!function(A){if(typeof A!="object"||A===null)return!1;for(var I=A;Object.getPrototypeOf(I)!==null;)I=Object.getPrototypeOf(I);return Object.getPrototypeOf(A)===I}(F))throw new Error(Me(7));if(F.type===void 0)throw new Error(Me(8));if(y)throw new Error(Me(9));try{y=!0,v=p(v,F)}finally{y=!1}for(var H=C=b,$=0;$<H.length;$++)(0,H[$])();return F}return O({type:Va.INIT}),(f={dispatch:O,subscribe:N,getState:T,replaceReducer:function(F){if(typeof F!="function")throw new Error(Me(10));p=F,O({type:Va.REPLACE})}})[Tc]=function(){var F,H=N;return(F={subscribe:function($){if(typeof $!="object"||$===null)throw new Error(Me(11));function A(){$.next&&$.next(T())}return A(),{unsubscribe:H(A)}}})[Tc]=function(){return this},F},f}function Ap(u){for(var s=Object.keys(u),i={},f=0;f<s.length;f++){var p=s[f];typeof u[p]=="function"&&(i[p]=u[p])}var v,C=Object.keys(i);try{(function(b){Object.keys(b).forEach(function(y){var L=b[y];if(L(void 0,{type:Va.INIT})===void 0)throw new Error(Me(12));if(L(void 0,{type:Va.PROBE_UNKNOWN_ACTION()})===void 0)throw new Error(Me(13))})})(i)}catch(b){v=b}return function(b,y){if(b===void 0&&(b={}),v)throw v;for(var L=!1,T={},N=0;N<C.length;N++){var O=C[N],F=i[O],H=b[O],$=F(H,y);if($===void 0)throw y&&y.type,new Error(Me(14));T[O]=$,L=L||$!==H}return(L=L||C.length!==Object.keys(b).length)?T:b}}function Pp(){for(var u=arguments.length,s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];return s.length===0?function(f){return f}:s.length===1?s[0]:s.reduce(function(f,p){return function(){return f(p.apply(void 0,arguments))}})}function Wp(){for(var u=arguments.length,s=new Array(u),i=0;i<u;i++)s[i]=arguments[i];return function(f){return function(){var p=f.apply(void 0,arguments),v=function(){throw new Error(Me(15))},C={getState:p.getState,dispatch:function(){return v.apply(void 0,arguments)}},b=s.map(function(y){return y(C)});return v=Pp.apply(void 0,b)(p.dispatch),_c(_c({},p),{},{dispatch:v})}}}export{Mp as B,zp as N,Lp as O,Fp as P,_p as R,Gn as _,Ap as a,Cp as b,Pp as c,Wp as d,$a as e,Sd as f,Fr as g,Ac as h,Op as i,Bp as j,bp as k,Tp as l,Mc as m,Up as n,Rp as o,Qd as p,Ip as q,zc as r,qo as s,Dp as t,jp as u};
@@ -1 +1 @@
1
- import"./sentry-i8uQ0afM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="715b565b-55b9-4f91-8364-8f79012472dd",e._sentryDebugIdIdentifier="sentry-dbid-715b565b-55b9-4f91-8364-8f79012472dd")}catch{}})();const o=e=>e.length>0?decodeURIComponent(e.replace(/%(?!\d[0-9a-fA-F]+)/g,"%25")):e;export{o as d};
1
+ import"./sentry-BxWyF9h9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="715b565b-55b9-4f91-8364-8f79012472dd",e._sentryDebugIdIdentifier="sentry-dbid-715b565b-55b9-4f91-8364-8f79012472dd")}catch{}})();const o=e=>e.length>0?decodeURIComponent(e.replace(/%(?!\d[0-9a-fA-F]+)/g,"%25")):e;export{o as d};
@@ -0,0 +1,6 @@
1
+ import{a as v,p as ae,c as V,g as ce,b as et}from"./sentry-BxWyF9h9.js";import{b as ue}from"./core-Crl6eqZl.js";import{j as de}from"./liveblocks-B5ZW-VBI.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="e8b9acf7-4d19-41ef-8baf-d9b60390117c",r._sentryDebugIdIdentifier="sentry-dbid-e8b9acf7-4d19-41ef-8baf-d9b60390117c")}catch{}})();const mt=v.createContext({dragDropManager:void 0});function p(r,t,...e){if(ae!==void 0&&t===void 0)throw new Error("invariant requires an error message argument");if(!r){let i;if(t===void 0)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;i=new Error(t.replace(/%s/g,function(){return e[n++]})),i.name="Invariant Violation"}throw i.framesToPop=1,i}}function Yt(r){return typeof r=="object"}const yt="dnd-core/INIT_COORDS",Dt="dnd-core/BEGIN_DRAG",$t="dnd-core/PUBLISH_DRAG_SOURCE",Z="dnd-core/HOVER",bt="dnd-core/DROP",St="dnd-core/END_DRAG";function It(r,t){return{type:yt,payload:{sourceClientOffset:t||null,clientOffset:r||null}}}const he={type:yt,payload:{clientOffset:null,sourceClientOffset:null}};function le(r){return function(t=[],e={publishSource:!0}){const{publishSource:i=!0,clientOffset:n,getSourceClientOffset:s}=e,o=r.getMonitor(),a=r.getRegistry();r.dispatch(It(n)),function(f,h,m){p(!h.isDragging(),"Cannot call beginDrag while dragging."),f.forEach(function(y){p(m.getSource(y),"Expected sourceIds to be registered.")})}(t,o,a);const c=function(f,h){let m=null;for(let y=f.length-1;y>=0;y--)if(h.canDragSource(f[y])){m=f[y];break}return m}(t,o);if(c==null)return void r.dispatch(he);let u=null;if(n){if(!s)throw new Error("getSourceClientOffset must be defined");(function(f){p(typeof f=="function","When clientOffset is provided, getSourceClientOffset must be a function.")})(s),u=s(c)}r.dispatch(It(n,u));const d=a.getSource(c).beginDrag(o,c);if(d==null)return;(function(f){p(Yt(f),"Item must be an object.")})(d),a.pinSource(c);const g=a.getSourceType(c);return{type:Dt,payload:{itemType:g,item:d,sourceId:c,clientOffset:n||null,sourceClientOffset:u||null,isSourcePublic:!!i}}}}function ge(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function fe(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){ge(r,n,e[n])})}return r}function pe(r){return function(t={}){const e=r.getMonitor(),i=r.getRegistry();(function(s){p(s.isDragging(),"Cannot call drop while not dragging."),p(!s.didDrop(),"Cannot call drop twice during one drag operation.")})(e),function(s){const o=s.getTargetIds().filter(s.canDropOnTarget,s);return o.reverse(),o}(e).forEach((s,o)=>{const a=function(u,d,g,f){const h=g.getTarget(u);let m=h?h.drop(f,u):void 0;return function(y){p(y===void 0||Yt(y),"Drop result must either be an object or undefined.")}(m),m===void 0&&(m=d===0?{}:f.getDropResult()),m}(s,o,i,e),c={type:bt,payload:{dropResult:fe({},t,a)}};r.dispatch(c)})}}function ve(r){return function(){const t=r.getMonitor(),e=r.getRegistry();(function(n){p(n.isDragging(),"Cannot call endDrag while not dragging.")})(t);const i=t.getSourceId();return i!=null&&(e.getSource(i,!0).endDrag(t,i),e.unpinSource()),{type:St}}}function ut(r,t){return t===null?r===null:Array.isArray(r)?r.some(e=>e===t):r===t}function me(r){return function(t,{clientOffset:e}={}){(function(o){p(Array.isArray(o),"Expected targetIds to be an array.")})(t);const i=t.slice(0),n=r.getMonitor(),s=r.getRegistry();return function(o,a,c){for(let u=o.length-1;u>=0;u--){const d=o[u];ut(a.getTargetType(d),c)||o.splice(u,1)}}(i,s,n.getItemType()),function(o,a,c){p(a.isDragging(),"Cannot call hover while not dragging."),p(!a.didDrop(),"Cannot call hover after drop.");for(let u=0;u<o.length;u++){const d=o[u];p(o.lastIndexOf(d)===u,"Expected targetIds to be unique in the passed array."),p(c.getTarget(d),"Expected targetIds to be registered.")}}(i,n,s),function(o,a,c){o.forEach(function(u){c.getTarget(u).hover(a,u)})}(i,n,s),{type:Z,payload:{targetIds:i,clientOffset:e||null}}}}function ye(r){return function(){if(r.getMonitor().isDragging())return{type:$t}}}class De{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:e}=this.store,i=function(n){return{beginDrag:le(n),publishDragSource:ye(n),hover:me(n),drop:pe(n),endDrag:ve(n)}}(this);return Object.keys(i).reduce((n,s)=>{const o=i[s];var a;return n[s]=(a=o,(...c)=>{const u=a.apply(t,c);u!==void 0&&e(u)}),n},{})}dispatch(t){this.store.dispatch(t)}constructor(t,e){this.isSetUp=!1,this.handleRefCountChange=()=>{const i=this.store.getState().refCount>0;this.backend&&(i&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!i&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=e,t.subscribe(this.handleRefCountChange)}}function Ct(r,t){return{x:r.x-t.x,y:r.y-t.y}}const Y=[],Ot=[];Y.__IS_NONE__=!0,Ot.__IS_ALL__=!0;class be{subscribeToStateChange(t,e={}){const{handlerIds:i}=e;p(typeof t=="function","listener must be a function."),p(i===void 0||Array.isArray(i),"handlerIds, when specified, must be an array of strings.");let n=this.store.getState().stateId;return this.store.subscribe(()=>{const s=this.store.getState(),o=s.stateId;try{o===n||o===n+1&&!function(c,u){if(c===Y)return!1;if(c===Ot||u===void 0)return!0;const d=(g=c,u.filter(f=>g.indexOf(f)>-1));var g;return d.length>0}(s.dirtyHandlerIds,i)||t()}finally{n=o}})}subscribeToOffsetChange(t){p(typeof t=="function","listener must be a function.");let e=this.store.getState().dragOffset;return this.store.subscribe(()=>{const i=this.store.getState().dragOffset;i!==e&&(e=i,t())})}canDragSource(t){if(!t)return!1;const e=this.registry.getSource(t);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()&&e.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const e=this.registry.getTarget(t);return p(e,`Expected to find a valid target. targetId=${t}`),!this.isDragging()||this.didDrop()?!1:ut(this.registry.getTargetType(t),this.getItemType())&&e.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const e=this.registry.getSource(t,!0);return p(e,`Expected to find a valid source. sourceId=${t}`),!this.isDragging()||!this.isSourcePublic()?!1:this.registry.getSourceType(t)===this.getItemType()&&e.isDragging(this,t)}isOverTarget(t,e={shallow:!1}){if(!t)return!1;const{shallow:i}=e;if(!this.isDragging())return!1;const n=this.registry.getTargetType(t),s=this.getItemType();if(s&&!ut(n,s))return!1;const o=this.getTargetIds();if(!o.length)return!1;const a=o.indexOf(t);return i?a===o.length-1:a>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return function(t){const{clientOffset:e,initialClientOffset:i,initialSourceClientOffset:n}=t;return e&&i&&n?Ct(function(s,o){return{x:s.x+o.x,y:s.y+o.y}}(e,n),i):null}(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return function(t){const{clientOffset:e,initialClientOffset:i}=t;return e&&i?Ct(e,i):null}(this.store.getState().dragOffset)}constructor(t,e){this.store=t,this.registry=e}}const Nt=V!==void 0?V:self,Pt=Nt.MutationObserver||Nt.WebKitMutationObserver;function Xt(r){return function(){const t=setTimeout(i,0),e=setInterval(i,50);function i(){clearTimeout(t),clearInterval(e),r()}}}const Se=typeof Pt=="function"?function(r){let t=1;const e=new Pt(r),i=document.createTextNode("");return e.observe(i,{characterData:!0}),function(){t=-t,i.data=t}}:Xt;class Oe{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,e){this.onError=t,this.release=e,this.task=null}}const qt=new class{enqueueTask(r){const{queue:t,requestFlush:e}=this;t.length||(e(),this.flushing=!0),t[t.length]=r}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:r}=this;for(;this.index<r.length;){const t=this.index;if(this.index++,r[t].call(),this.index>this.capacity){for(let e=0,i=r.length-this.index;e<i;e++)r[e]=r[e+this.index];r.length-=this.index,this.index=0}}r.length=0,this.index=0,this.flushing=!1},this.registerPendingError=r=>{this.pendingErrors.push(r),this.requestErrorThrow()},this.requestFlush=Se(this.flush),this.requestErrorThrow=Xt(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}},Te=new class{create(r){const t=this.freeTasks,e=t.length?t.pop():new Oe(this.onError,i=>t[t.length]=i);return e.task=r,e}constructor(r){this.onError=r,this.freeTasks=[]}}(qt.registerPendingError),Tt="dnd-core/ADD_SOURCE",wt="dnd-core/ADD_TARGET",Et="dnd-core/REMOVE_SOURCE",Q="dnd-core/REMOVE_TARGET";function dt(r,t){t&&Array.isArray(r)?r.forEach(e=>dt(e,!1)):p(typeof r=="string"||typeof r=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var I;(function(r){r.SOURCE="SOURCE",r.TARGET="TARGET"})(I||(I={}));let we=0;function Ee(r){const t=(we++).toString();switch(r){case I.SOURCE:return`S${t}`;case I.TARGET:return`T${t}`;default:throw new Error(`Unknown Handler Role: ${r}`)}}function Mt(r){switch(r[0]){case"S":return I.SOURCE;case"T":return I.TARGET;default:throw new Error(`Cannot parse handler ID: ${r}`)}}function xt(r,t){const e=r.entries();let i=!1;do{const{done:n,value:[,s]}=e.next();if(s===t)return!0;i=!!n}while(!i);return!1}class Ie{addSource(t,e){dt(t),function(n){p(typeof n.canDrag=="function","Expected canDrag to be a function."),p(typeof n.beginDrag=="function","Expected beginDrag to be a function."),p(typeof n.endDrag=="function","Expected endDrag to be a function.")}(e);const i=this.addHandler(I.SOURCE,t,e);return this.store.dispatch(function(n){return{type:Tt,payload:{sourceId:n}}}(i)),i}addTarget(t,e){dt(t,!0),function(n){p(typeof n.canDrop=="function","Expected canDrop to be a function."),p(typeof n.hover=="function","Expected hover to be a function."),p(typeof n.drop=="function","Expected beginDrag to be a function.")}(e);const i=this.addHandler(I.TARGET,t,e);return this.store.dispatch(function(n){return{type:wt,payload:{targetId:n}}}(i)),i}containsHandler(t){return xt(this.dragSources,t)||xt(this.dropTargets,t)}getSource(t,e=!1){return p(this.isSourceId(t),"Expected a valid source ID."),e&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return p(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return p(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return Mt(t)===I.SOURCE}isTargetId(t){return Mt(t)===I.TARGET}removeSource(t){var e;p(this.getSource(t),"Expected an existing source."),this.store.dispatch(function(i){return{type:Et,payload:{sourceId:i}}}(t)),e=()=>{this.dragSources.delete(t),this.types.delete(t)},qt.enqueueTask(Te.create(e))}removeTarget(t){p(this.getTarget(t),"Expected an existing target."),this.store.dispatch(function(e){return{type:Q,payload:{targetId:e}}}(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const e=this.getSource(t);p(e,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=e}unpinSource(){p(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,e,i){const n=Ee(t);return this.types.set(n,e),t===I.SOURCE?this.dragSources.set(n,i):t===I.TARGET&&this.dropTargets.set(n,i),n}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const Ce=(r,t)=>r===t;function Ne(r=Y,t){switch(t.type){case Z:break;case Tt:case wt:case Q:case Et:return Y;default:return Ot}const{targetIds:e=[],prevTargetIds:i=[]}=t.payload,n=function(c,u){const d=new Map,g=h=>{d.set(h,d.has(h)?d.get(h)+1:1)};c.forEach(g),u.forEach(g);const f=[];return d.forEach((h,m)=>{h===1&&f.push(m)}),f}(e,i);if(!(n.length>0||!function(c,u,d=Ce){if(c.length!==u.length)return!1;for(let g=0;g<c.length;++g)if(!d(c[g],u[g]))return!1;return!0}(e,i)))return Y;const o=i[i.length-1],a=e[e.length-1];return o!==a&&(o&&n.push(o),a&&n.push(a)),n}function Pe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}const kt={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null};function Me(r=kt,t){const{payload:e}=t;switch(t.type){case yt:case Dt:return{initialSourceClientOffset:e.sourceClientOffset,initialClientOffset:e.clientOffset,clientOffset:e.clientOffset};case Z:return i=r.clientOffset,n=e.clientOffset,!i&&!n||i&&n&&i.x===n.x&&i.y===n.y?r:function(s){for(var o=1;o<arguments.length;o++){var a=arguments[o]!=null?arguments[o]:{},c=Object.keys(a);typeof Object.getOwnPropertySymbols=="function"&&(c=c.concat(Object.getOwnPropertySymbols(a).filter(function(u){return Object.getOwnPropertyDescriptor(a,u).enumerable}))),c.forEach(function(u){Pe(s,u,a[u])})}return s}({},r,{clientOffset:e.clientOffset});case St:case bt:return kt;default:return r}var i,n}function xe(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function j(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){xe(r,n,e[n])})}return r}const ke={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};function Re(r=ke,t){const{payload:e}=t;switch(t.type){case Dt:return j({},r,{itemType:e.itemType,item:e.item,sourceId:e.sourceId,isSourcePublic:e.isSourcePublic,dropResult:null,didDrop:!1});case $t:return j({},r,{isSourcePublic:!0});case Z:return j({},r,{targetIds:e.targetIds});case Q:return r.targetIds.indexOf(e.targetId)===-1?r:j({},r,{targetIds:(i=r.targetIds,n=e.targetId,i.filter(s=>s!==n))});case bt:return j({},r,{dropResult:e.dropResult,didDrop:!0,targetIds:[]});case St:return j({},r,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return r}var i,n}function Le(r=0,t){switch(t.type){case Tt:case wt:return r+1;case Et:case Q:return r-1;default:return r}}function _e(r=0){return r+1}function je(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Ae(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){je(r,n,e[n])})}return r}function He(r={},t){return{dirtyHandlerIds:Ne(r.dirtyHandlerIds,{type:t.type,payload:Ae({},t.payload,{prevTargetIds:(e=r,i="dragOperation.targetIds",n=[],i.split(".").reduce((s,o)=>s&&s[o]?s[o]:n||null,e))})}),dragOffset:Me(r.dragOffset,t),refCount:Le(r.refCount,t),dragOperation:Re(r.dragOperation,t),stateId:_e(r.stateId)};var e,i,n}function Ue(r,t=void 0,e={},i=!1){const n=function(c){const u=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION__;return ue(He,c&&u&&u({name:"dnd-core",instanceId:"dnd-core"}))}(i),s=new be(n,new Ie(n)),o=new De(n,s),a=r(o,t,e);return o.receiveBackend(a),o}function Fe(r,t){if(r==null)return{};var e,i,n=function(o,a){if(o==null)return{};var c,u,d={},g=Object.keys(o);for(u=0;u<g.length;u++)c=g[u],a.indexOf(c)>=0||(d[c]=o[c]);return d}(r,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(r);for(i=0;i<s.length;i++)e=s[i],t.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(r,e)&&(n[e]=r[e])}return n}let Rt=0;const X=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var Lt,_t,Be=v.memo(function(r){var{children:t}=r,e=Fe(r,["children"]);const[i,n]=function(s){if("manager"in s)return[{dragDropManager:s.manager},!1];const o=function(c,u=jt(),d,g){const f=u;return f[X]||(f[X]={dragDropManager:Ue(c,u,d,g)}),f[X]}(s.backend,s.context,s.options,s.debugMode),a=!s.context;return[o,a]}(e);return v.useEffect(()=>{if(n){const s=jt();return++Rt,()=>{--Rt==0&&(s[X]=null)}}},[]),de.jsx(mt.Provider,{value:i,children:t})});function jt(){return V!==void 0?V:window}var We=(_t||(_t=1,Lt=function r(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var i,n,s;if(Array.isArray(t)){if((i=t.length)!=e.length)return!1;for(n=i;n--!=0;)if(!r(t[n],e[n]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if((i=(s=Object.keys(t)).length)!==Object.keys(e).length)return!1;for(n=i;n--!=0;)if(!Object.prototype.hasOwnProperty.call(e,s[n]))return!1;for(n=i;n--!=0;){var o=s[n];if(!r(t[o],e[o]))return!1}return!0}return t!=t&&e!=e}),Lt);const Ye=ce(We),k=typeof window<"u"?v.useLayoutEffect:v.useEffect;function Gt(r,t,e){const[i,n]=v.useState(()=>t(r)),s=v.useCallback(()=>{const o=t(r);Ye(i,o)||(n(o),e&&e())},[i,r,e]);return k(s),[i,s]}function Kt(r,t,e){return function(i,n,s){const[o,a]=Gt(i,n,s);return k(function(){const c=i.getHandlerId();if(c!=null)return i.subscribeToStateChange(a,{handlerIds:[c]})},[i,a]),o}(t,r||(()=>({})),()=>e.reconnect())}function zt(r,t){const e=[...t||[]];return t==null&&typeof r!="function"&&e.push(r),v.useMemo(()=>typeof r=="function"?r():r,e)}function $e(r){return v.useMemo(()=>r.hooks.dragSource(),[r])}function Xe(r){return v.useMemo(()=>r.hooks.dragPreview(),[r])}let rt=!1,nt=!1;class qe{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){p(!rt,"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 rt=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{rt=!1}}isDragging(){if(!this.sourceId)return!1;p(!nt,"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 nt=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{nt=!1}}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,e){return this.internalMonitor.isOverTarget(t,e)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}let it=!1;class Ge{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,e){return this.internalMonitor.subscribeToStateChange(t,e)}canDrop(){if(!this.targetId)return!1;p(!it,"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 it=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{it=!1}}isOver(t){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}function ht(r,t,e,i){let n;if(n!==void 0)return!!n;if(r===t)return!0;if(typeof r!="object"||!r||typeof t!="object"||!t)return!1;const s=Object.keys(r),o=Object.keys(t);if(s.length!==o.length)return!1;const a=Object.prototype.hasOwnProperty.bind(t);for(let c=0;c<s.length;c++){const u=s[c];if(!a(u))return!1;const d=r[u],g=t[u];if(n=void 0,n===!1||n===void 0&&d!==g)return!1}return!0}function lt(r){return r!==null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"current")}function Ke(r){return(t=null,e=null)=>{if(!v.isValidElement(t)){const n=t;return r(n,e),n}const i=t;return function(n){if(typeof n.type=="string")return;const s=n.type.displayName||n.type.name||"the component";throw new Error(`Only native element nodes can now be passed to React DnD connectors.You can either wrap ${s} into a <div>, or turn it into a drag source or a drop target itself.`)}(i),function(n,s){const o=n.ref;return p(typeof o!="string","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"),o?v.cloneElement(n,{ref:a=>{At(o,a),At(s,a)}}):v.cloneElement(n,{ref:s})}(i,e?n=>r(n,e):r)}}function Vt(r){const t={};return Object.keys(r).forEach(e=>{const i=r[e];if(e.endsWith("Ref"))t[e]=r[e];else{const n=Ke(i);t[e]=()=>n}}),t}function At(r,t){typeof r=="function"?r(t):r.current=t}class ze{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,e=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return e&&this.disconnectDragSource(),this.handlerId?t?(e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),e):(this.lastConnectedDragSource=t,e):e}reconnectDragPreview(t=!1){const e=this.dragPreview,i=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();i&&this.disconnectDragPreview(),this.handlerId&&(e?i&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!ht(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!ht(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=Vt({dragSource:(e,i)=>{this.clearDragSource(),this.dragSourceOptions=i||null,lt(e)?this.dragSourceRef=e:this.dragSourceNode=e,this.reconnectDragSource()},dragPreview:(e,i)=>{this.clearDragPreview(),this.dragPreviewOptions=i||null,lt(e)?this.dragPreviewRef=e:this.dragPreviewNode=e,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}class Ve{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const e=this.dropTarget;this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=e,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,e,this.dropTargetOptions)):this.lastConnectedDropTarget=e)}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!ht(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=Vt({dropTarget:(e,i)=>{this.clearDropTarget(),this.dropTargetOptions=i,lt(e)?this.dropTargetRef=e:this.dropTargetNode=e,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}function R(){const{dragDropManager:r}=v.useContext(mt);return p(r!=null,"Expected drag drop context"),r}class Je{beginDrag(){const t=this.spec,e=this.monitor;let i=null;return i=typeof t.item=="object"?t.item:typeof t.item=="function"?t.item(e):{},i??null}canDrag(){const t=this.spec,e=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag!="function"||t.canDrag(e)}isDragging(t,e){const i=this.spec,n=this.monitor,{isDragging:s}=i;return s?s(n):e===t.getSourceId()}endDrag(){const t=this.spec,e=this.monitor,i=this.connector,{end:n}=t;n&&n(e.getItem(),e),i.reconnect()}constructor(t,e,i){this.spec=t,this.monitor=e,this.connector=i}}function Ze(r,t,e){const i=R(),n=function(o,a,c){const u=v.useMemo(()=>new Je(o,a,c),[a,c]);return v.useEffect(()=>{u.spec=o},[o]),u}(r,t,e),s=function(o){return v.useMemo(()=>{const a=o.type;return p(a!=null,"spec.type must be defined"),a},[o])}(r);k(function(){if(s!=null){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addSource(c,u);return[f,()=>g.removeSource(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a}},[i,t,e,n,s])}function Sr(r,t){const e=zt(r,t);p(!e.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const i=function(){const s=R();return v.useMemo(()=>new qe(s),[s])}(),n=function(s,o){const a=R(),c=v.useMemo(()=>new ze(a.getBackend()),[a]);return k(()=>(c.dragSourceOptions=s||null,c.reconnect(),()=>c.disconnectDragSource()),[c,s]),k(()=>(c.dragPreviewOptions=o||null,c.reconnect(),()=>c.disconnectDragPreview()),[c,o]),c}(e.options,e.previewOptions);return Ze(e,i,n),[Kt(e.collect,i,n),$e(n),Xe(n)]}function Qe(r){return v.useMemo(()=>r.hooks.dropTarget(),[r])}class tr{canDrop(){const t=this.spec,e=this.monitor;return!t.canDrop||t.canDrop(e.getItem(),e)}hover(){const t=this.spec,e=this.monitor;t.hover&&t.hover(e.getItem(),e)}drop(){const t=this.spec,e=this.monitor;if(t.drop)return t.drop(e.getItem(),e)}constructor(t,e){this.spec=t,this.monitor=e}}function er(r,t,e){const i=R(),n=function(o,a){const c=v.useMemo(()=>new tr(o,a),[a]);return v.useEffect(()=>{c.spec=o},[o]),c}(r,t),s=function(o){const{accept:a}=o;return v.useMemo(()=>(p(o.accept!=null,"accept must be defined"),Array.isArray(a)?a:[a]),[a])}(r);k(function(){const[o,a]=function(c,u,d){const g=d.getRegistry(),f=g.addTarget(c,u);return[f,()=>g.removeTarget(f)]}(s,n,i);return t.receiveHandlerId(o),e.receiveHandlerId(o),a},[i,t,n,e,s.map(o=>o.toString()).join("|")])}function Or(r,t){const e=zt(r,t),i=function(){const s=R();return v.useMemo(()=>new Ge(s),[s])}(),n=function(s){const o=R(),a=v.useMemo(()=>new Ve(o.getBackend()),[o]);return k(()=>(a.dropTargetOptions=s||null,a.reconnect(),()=>a.disconnectDropTarget()),[s]),a}(e.options);return er(e,i,n),[Kt(e.collect,i,n),Qe(n)]}function Jt(r){let t=null;return()=>(t==null&&(t=r()),t)}class rr{enter(t){const e=this.entered.length;return this.entered=function(i,n){const s=new Set,o=c=>s.add(c);i.forEach(o),n.forEach(o);const a=[];return s.forEach(c=>a.push(c)),a}(this.entered.filter(i=>this.isNodeInDocument(i)&&(!i.contains||i.contains(t))),[t]),e===0&&this.entered.length>0}leave(t){const e=this.entered.length;var i,n;return this.entered=(i=this.entered.filter(this.isNodeInDocument),n=t,i.filter(s=>s!==n)),e>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class nr{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${t}" until the drop event.`),null)})})}loadDataTransfer(t){if(t){const e={};Object.keys(this.config.exposeProperties).forEach(i=>{const n=this.config.exposeProperties[i];n!=null&&(e[i]={value:n(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,e)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,e){return e===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const Zt="__NATIVE_FILE__",Qt="__NATIVE_URL__",te="__NATIVE_TEXT__",ee="__NATIVE_HTML__",Ht=Object.freeze(Object.defineProperty({__proto__:null,FILE:Zt,HTML:ee,TEXT:te,URL:Qt},Symbol.toStringTag,{value:"Module"}));function st(r,t,e){const i=t.reduce((n,s)=>n||r.getData(s),"");return i??e}const gt={[Zt]:{exposeProperties:{files:r=>Array.prototype.slice.call(r.files),items:r=>r.items,dataTransfer:r=>r},matchesTypes:["Files"]},[ee]:{exposeProperties:{html:(r,t)=>st(r,t,""),dataTransfer:r=>r},matchesTypes:["Html","text/html"]},[Qt]:{exposeProperties:{urls:(r,t)=>st(r,t,"").split(`
2
+ `),dataTransfer:r=>r},matchesTypes:["Url","text/uri-list"]},[te]:{exposeProperties:{text:(r,t)=>st(r,t,""),dataTransfer:r=>r},matchesTypes:["Text","text/plain"]}};function ot(r){if(!r)return null;const t=Array.prototype.slice.call(r.types||[]);return Object.keys(gt).filter(e=>{const i=gt[e];return!!i?.matchesTypes&&i.matchesTypes.some(n=>t.indexOf(n)>-1)})[0]||null}const ir=Jt(()=>/firefox/i.test(navigator.userAgent)),Ut=Jt(()=>!!window.safari);class Ft{interpolate(t){const{xs:e,ys:i,c1s:n,c2s:s,c3s:o}=this;let a=e.length-1;if(t===e[a])return i[a];let c,u=0,d=o.length-1;for(;u<=d;){c=Math.floor(.5*(u+d));const h=e[c];if(h<t)u=c+1;else{if(!(h>t))return i[c];d=c-1}}a=Math.max(0,d);const g=t-e[a],f=g*g;return i[a]+n[a]*g+s[a]*f+o[a]*g*f}constructor(t,e){const{length:i}=t,n=[];for(let h=0;h<i;h++)n.push(h);n.sort((h,m)=>t[h]<t[m]?-1:1);const s=[],o=[];let a,c;for(let h=0;h<i-1;h++)a=t[h+1]-t[h],c=e[h+1]-e[h],s.push(a),o.push(c/a);const u=[o[0]];for(let h=0;h<s.length-1;h++){const m=o[h],y=o[h+1];if(m*y<=0)u.push(0);else{a=s[h];const S=s[h+1],O=a+S;u.push(3*O/((O+S)/m+(O+a)/y))}}u.push(o[o.length-1]);const d=[],g=[];let f;for(let h=0;h<u.length-1;h++){f=o[h];const m=u[h],y=1/s[h],S=m+u[h+1]-f-f;d.push((f-m-S)*y),g.push(S*y*y)}this.xs=t,this.ys=e,this.c1s=u,this.c2s=d,this.c3s=g}}function re(r){const t=r.nodeType===1?r:r.parentElement;if(!t)return null;const{top:e,left:i}=t.getBoundingClientRect();return{x:i,y:e}}function q(r){return{x:r.clientX,y:r.clientY}}function sr(r,t,e,i,n){const s=(o=t).nodeName==="IMG"&&(ir()||!(!((a=document.documentElement)===null||a===void 0)&&a.contains(o)));var o,a;const c=re(s?r:t),u={x:e.x-c.x,y:e.y-c.y},{offsetWidth:d,offsetHeight:g}=r,{anchorX:f,anchorY:h}=i,{dragPreviewWidth:m,dragPreviewHeight:y}=function(b,L,tt,A){let H=b?L.width:tt,_=b?L.height:A;return Ut()&&b&&(_/=window.devicePixelRatio,H/=window.devicePixelRatio),{dragPreviewWidth:H,dragPreviewHeight:_}}(s,t,d,g),{offsetX:S,offsetY:O}=n,D=O===0||O;return{x:S===0||S?S:new Ft([0,.5,1],[u.x,u.x/d*m,u.x+m-d]).interpolate(f),y:D?O:(()=>{let b=new Ft([0,.5,1],[u.y,u.y/g*y,u.y+y-g]).interpolate(h);return Ut()&&s&&(b+=(window.devicePixelRatio-1)*y),b})()}}let or=class{get window(){return this.globalContext?this.globalContext:typeof window<"u"?window:void 0}get document(){var r;return!((r=this.globalContext)===null||r===void 0)&&r.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var r;return((r=this.optionsArgs)===null||r===void 0?void 0:r.rootElement)||this.window}constructor(r,t){this.ownerDocument=null,this.globalContext=r,this.optionsArgs=t}};function ar(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function Bt(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{},i=Object.keys(e);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(e).filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),i.forEach(function(n){ar(r,n,e[n])})}return r}class cr{profile(){var t,e;return{sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,sourceNodeOptions:this.sourceNodeOptions.size,sourceNodes:this.sourceNodes.size,dragStartSourceIds:((t=this.dragStartSourceIds)===null||t===void 0?void 0:t.length)||0,dropTargetIds:this.dropTargetIds.length,dragEnterTargetIds:this.dragEnterTargetIds.length,dragOverTargetIds:((e=this.dragOverTargetIds)===null||e===void 0?void 0:e.length)||0}}get window(){return this.options.window}get document(){return this.options.document}get rootElement(){return this.options.rootElement}setup(){const t=this.rootElement;if(t!==void 0){if(t.__isReactDndBackendSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");t.__isReactDndBackendSetUp=!0,this.addEventListeners(t)}}teardown(){const t=this.rootElement;var e;t!==void 0&&(t.__isReactDndBackendSetUp=!1,this.removeEventListeners(this.rootElement),this.clearCurrentDragSourceNode(),this.asyncEndDragFrameId&&((e=this.window)===null||e===void 0||e.cancelAnimationFrame(this.asyncEndDragFrameId)))}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,e,i){this.sourceNodes.set(t,e),this.sourceNodeOptions.set(t,i);const n=o=>this.handleDragStart(o,t),s=o=>this.handleSelectStart(o);return e.setAttribute("draggable","true"),e.addEventListener("dragstart",n),e.addEventListener("selectstart",s),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),e.removeEventListener("dragstart",n),e.removeEventListener("selectstart",s),e.setAttribute("draggable","false")}}connectDropTarget(t,e){const i=o=>this.handleDragEnter(o,t),n=o=>this.handleDragOver(o,t),s=o=>this.handleDrop(o,t);return e.addEventListener("dragenter",i),e.addEventListener("dragover",n),e.addEventListener("drop",s),()=>{e.removeEventListener("dragenter",i),e.removeEventListener("dragover",n),e.removeEventListener("drop",s)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),e=this.sourceNodeOptions.get(t);return Bt({dropEffect:this.altKeyPressed?"copy":"move"},e||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId();return Bt({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(t)||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(Ht).some(e=>Ht[e]===t)}beginDragNativeItem(t,e){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(i,n){const s=gt[i];if(!s)throw new Error(`native type ${i} has no configuration`);const o=new nr(s);return o.loadDataTransfer(n),o}(t,e),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return(e=this.rootElement)===null||e===void 0?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){var t;return this.currentDragSourceNode=null,this.rootElement&&((t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)),this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,e){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(e))}handleDragEnter(t,e){this.dragEnterTargetIds.unshift(e)}handleDragOver(t,e){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(e)}handleDrop(t,e){this.dropTargetIds.unshift(e)}constructor(t,e,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&re(s)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=n=>!!(n&&this.document&&this.document.body&&this.document.body.contains(n)),this.endDragIfSourceWasRemovedFromDOM=()=>{const n=this.currentDragSourceNode;n==null||this.isNodeInDocument(n)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=n=>{this.hoverRafId===null&&typeof requestAnimationFrame<"u"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(n||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame<"u"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=n=>{if(n.defaultPrevented)return;const{dragStartSourceIds:s}=this;this.dragStartSourceIds=null;const o=q(n);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(s||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:o});const{dataTransfer:a}=n,c=ot(a);if(this.monitor.isDragging()){if(a&&typeof a.setDragImage=="function"){const d=this.monitor.getSourceId(),g=this.sourceNodes.get(d),f=this.sourcePreviewNodes.get(d)||g;if(f){const{anchorX:h,anchorY:m,offsetX:y,offsetY:S}=this.getCurrentSourcePreviewNodeOptions(),O=sr(g,f,o,{anchorX:h,anchorY:m},{offsetX:y,offsetY:S});a.setDragImage(f,O.x,O.y)}}try{a?.setData("application/json",{})}catch{}this.setCurrentDragSourceNode(n.target);const{captureDraggingState:u}=this.getCurrentSourcePreviewNodeOptions();u?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(c)this.beginDragNativeItem(c);else{if(a&&!a.types&&(n.target&&!n.target.hasAttribute||!n.target.hasAttribute("draggable")))return;n.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=n=>{var s;if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)),!this.enterLeaveCounter.enter(n.target)||this.monitor.isDragging())return;const{dataTransfer:o}=n,a=ot(o);a&&this.beginDragNativeItem(a,o)},this.handleTopDragEnter=n=>{const{dragEnterTargetIds:s}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=n.altKey,s.length>0&&this.actions.hover(s,{clientOffset:q(n)}),s.some(o=>this.monitor.canDropOnTarget(o))&&(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=n=>{var s;this.dragOverTargetIds=[],this.isDraggingNativeItem()&&((s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer))},this.handleTopDragOver=n=>{const{dragOverTargetIds:s}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return n.preventDefault(),void(n.dataTransfer&&(n.dataTransfer.dropEffect="none"));this.altKeyPressed=n.altKey,this.lastClientOffset=q(n),this.scheduleHover(s),(s||[]).some(o=>this.monitor.canDropOnTarget(o))?(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?n.preventDefault():(n.preventDefault(),n.dataTransfer&&(n.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=n=>{this.isDraggingNativeItem()&&n.preventDefault(),this.enterLeaveCounter.leave(n.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=n=>{var s;this.dropTargetIds=[],this.isDraggingNativeItem()?(n.preventDefault(),(s=this.currentNativeSource)===null||s===void 0||s.loadDataTransfer(n.dataTransfer)):ot(n.dataTransfer)&&n.preventDefault(),this.enterLeaveCounter.reset()},this.handleTopDrop=n=>{const{dropTargetIds:s}=this;this.dropTargetIds=[],this.actions.hover(s,{clientOffset:q(n)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=n=>{const s=n.target;typeof s.dragDrop=="function"&&(s.tagName==="INPUT"||s.tagName==="SELECT"||s.tagName==="TEXTAREA"||s.isContentEditable||(n.preventDefault(),s.dragDrop()))},this.options=new or(e,i),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new rr(this.isNodeInDocument)}}const Tr=function(r,t,e){return new cr(r,t,e)};var M,ne=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)},l=(r,t,e)=>(ne(r,t,"read from private field"),e?e.call(r):t.get(r)),E=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},x=(r,t,e,i)=>(ne(r,t,"write to private field"),t.set(r,e),e),ur=class{constructor(){E(this,M,void 0),this.register=r=>{l(this,M).push(r)},this.unregister=r=>{let t;for(;(t=l(this,M).indexOf(r))!==-1;)l(this,M).splice(t,1)},this.backendChanged=r=>{for(let t of l(this,M))t.backendChanged(r)},x(this,M,[])}};M=new WeakMap;var T,B,w,C,N,ft,pt,vt,G,K,W,z=class{constructor(r,t,e){if(E(this,T,void 0),E(this,B,void 0),E(this,w,void 0),E(this,C,void 0),E(this,N,void 0),E(this,ft,(i,n,s)=>{if(!s.backend)throw new Error(`You must specify a 'backend' property in your Backend entry: ${JSON.stringify(s)}`);let o=s.backend(i,n,s.options),a=s.id,c=!s.id&&o&&o.constructor;if(c&&(a=o.constructor.name),!a)throw new Error(`You must specify an 'id' property in your Backend entry: ${JSON.stringify(s)}
3
+ see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx`);if(c&&console.warn(`Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.
4
+ This might be unsupported in the future, please specify 'id' explicitely for every backend.`),l(this,w)[a])throw new Error(`You must specify a unique 'id' property in your Backend entry:
5
+ ${JSON.stringify(s)} (conflicts with: ${JSON.stringify(l(this,w)[a])})`);return{id:a,instance:o,preview:s.preview??!1,transition:s.transition,skipDispatchOnTransition:s.skipDispatchOnTransition??!1}}),this.setup=()=>{if(!(typeof window>"u")){if(z.isSetUp)throw new Error("Cannot have two MultiBackends at the same time.");z.isSetUp=!0,l(this,pt).call(this,window),l(this,w)[l(this,T)].instance.setup()}},this.teardown=()=>{typeof window>"u"||(z.isSetUp=!1,l(this,vt).call(this,window),l(this,w)[l(this,T)].instance.teardown())},this.connectDragSource=(i,n,s)=>l(this,W).call(this,"connectDragSource",i,n,s),this.connectDragPreview=(i,n,s)=>l(this,W).call(this,"connectDragPreview",i,n,s),this.connectDropTarget=(i,n,s)=>l(this,W).call(this,"connectDropTarget",i,n,s),this.profile=()=>l(this,w)[l(this,T)].instance.profile(),this.previewEnabled=()=>l(this,w)[l(this,T)].preview,this.previewsList=()=>l(this,B),this.backendsList=()=>l(this,C),E(this,pt,i=>{l(this,C).forEach(n=>{n.transition&&i.addEventListener(n.transition.event,l(this,G))})}),E(this,vt,i=>{l(this,C).forEach(n=>{n.transition&&i.removeEventListener(n.transition.event,l(this,G))})}),E(this,G,i=>{let n=l(this,T);if(l(this,C).some(s=>!(s.id===l(this,T)||!s.transition||!s.transition.check(i))&&(x(this,T,s.id),!0)),l(this,T)!==n){l(this,w)[n].instance.teardown(),Object.keys(l(this,N)).forEach(a=>{let c=l(this,N)[a];c.unsubscribe(),c.unsubscribe=l(this,K).call(this,c.func,...c.args)}),l(this,B).backendChanged(this);let s=l(this,w)[l(this,T)];if(s.instance.setup(),s.skipDispatchOnTransition)return;let o=new i.constructor(i.type,i);i.target?.dispatchEvent(o)}}),E(this,K,(i,n,s,o)=>l(this,w)[l(this,T)].instance[i](n,s,o)),E(this,W,(i,n,s,o)=>{let a=`${i}_${n}`,c=l(this,K).call(this,i,n,s,o);return l(this,N)[a]={func:i,args:[n,s,o],unsubscribe:c},()=>{l(this,N)[a].unsubscribe(),delete l(this,N)[a]}}),!e||!e.backends||e.backends.length<1)throw new Error(`You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)
6
+ see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx`);x(this,B,new ur),x(this,w,{}),x(this,C,[]),e.backends.forEach(i=>{let n=l(this,ft).call(this,r,t,i);l(this,w)[n.id]=n,l(this,C).push(n)}),x(this,T,l(this,C)[0].id),x(this,N,{})}},ie=z;T=new WeakMap,B=new WeakMap,w=new WeakMap,C=new WeakMap,N=new WeakMap,ft=new WeakMap,pt=new WeakMap,vt=new WeakMap,G=new WeakMap,K=new WeakMap,W=new WeakMap,ie.isSetUp=!1;var dr=(r,t,e)=>new ie(r,t,e),se=(r,t)=>({event:r,check:t}),wr=se("touchstart",r=>{let t=r;return t.touches!==null&&t.touches!==void 0}),Er=se("mousedown",r=>r.type.indexOf("touch")===-1&&r.type.indexOf("mouse")!==-1),at=(r,t)=>({x:r.x-t.x,y:r.y-t.y}),hr=(r,t)=>{let e=r.getClientOffset();if(e===null)return null;if(!t.current||!t.current.getBoundingClientRect)return at(e,(s=>{let o=s.getInitialClientOffset(),a=s.getInitialSourceClientOffset();return o===null||a===null?{x:0,y:0}:at(o,a)})(r));let i=t.current.getBoundingClientRect(),n={x:i.width/2,y:i.height/2};return at(e,n)},lr=r=>{let t=`translate(${r.x.toFixed(1)}px, ${r.y.toFixed(1)}px)`;return{pointerEvents:"none",position:"fixed",top:0,left:0,transform:t,WebkitTransform:t}},gr=()=>{let r=v.useRef(null),t=function(e){const i=R().getMonitor(),[n,s]=Gt(i,e);return v.useEffect(()=>i.subscribeToOffsetChange(s)),v.useEffect(()=>i.subscribeToStateChange(s)),n}(e=>({currentOffset:hr(e,r),isDragging:e.isDragging(),itemType:e.getItemType(),item:e.getItem(),monitor:e}));return t.isDragging&&t.currentOffset!==null?{display:!0,itemType:t.itemType,item:t.item,style:lr(t.currentOffset),monitor:t.monitor,ref:r}:{display:!1}};v.createContext(void 0);var P,fr=v.createContext(null),Ir=({portal:r,...t})=>{let[e,i]=v.useState(null);return et.createElement(fr.Provider,{value:r??e},et.createElement(Be,{backend:dr,...t}),r?null:et.createElement("div",{ref:i}))},Cr=()=>{let r=(()=>{let[e,i]=v.useState(!1),n=v.useContext(mt);return v.useEffect(()=>{let s=n?.dragDropManager?.getBackend(),o={backendChanged:a=>{i(a.previewEnabled())}};return i(s.previewEnabled()),s.previewsList().register(o),()=>{s.previewsList().unregister(o)}},[n,n.dragDropManager]),e})(),t=gr();return r?t:{display:!1}};(function(r){r.mouse="mouse",r.touch="touch",r.keyboard="keyboard"})(P||(P={}));class pr{get delay(){var t;return(t=this.args.delay)!==null&&t!==void 0?t:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var t;return(t=this.args.ignoreContextMenu)!==null&&t!==void 0&&t}get enableHoverOutsideTarget(){var t;return(t=this.args.enableHoverOutsideTarget)!==null&&t!==void 0&&t}get enableKeyboardEvents(){var t;return(t=this.args.enableKeyboardEvents)!==null&&t!==void 0&&t}get enableMouseEvents(){var t;return(t=this.args.enableMouseEvents)!==null&&t!==void 0&&t}get enableTouchEvents(){var t;return(t=this.args.enableTouchEvents)===null||t===void 0||t}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayTouchStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get delayMouseStart(){var t,e,i,n;return(n=(i=(t=this.args)===null||t===void 0?void 0:t.delayMouseStart)!==null&&i!==void 0?i:(e=this.args)===null||e===void 0?void 0:e.delay)!==null&&n!==void 0?n:0}get window(){return this.context&&this.context.window?this.context.window:typeof window<"u"?window:void 0}get document(){var t;return!((t=this.context)===null||t===void 0)&&t.document?this.context.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.args)===null||t===void 0?void 0:t.rootElement)||this.document}constructor(t,e){this.args=t,this.context=e}}const vr=1,mr=0;function ct(r){return r.button===void 0||r.button===mr}function oe(r){return!!r.targetTouches}function J(r,t){return oe(r)?function(e,i){return e.targetTouches.length===1?J(e.targetTouches[0]):i&&e.touches.length===1&&e.touches[0].target===i.target?J(e.touches[0]):void 0}(r,t):{x:r.clientX,y:r.clientY}}const Wt=(()=>{let r=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(r=!0,!0)}))}catch{}return r})(),F={[P.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[P.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[P.keyboard]:{keydown:"keydown"}};class ${profile(){var t;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:((t=this.dragOverTargetIds)===null||t===void 0?void 0:t.length)||0}}get document(){return this.options.document}setup(){const t=this.options.rootElement;t&&(p(!$.isSetUp,"Cannot have two Touch backends at the same time."),$.isSetUp=!0,this.addEventListener(t,"start",this.getTopMoveStartHandler()),this.addEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(t,"move",this.handleTopMove),this.addEventListener(t,"move",this.handleTopMoveCapture,!0),this.addEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(t,"keydown",this.handleCancelOnEscape,!0))}teardown(){const t=this.options.rootElement;t&&($.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(t,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(t,"start",this.handleTopMoveStart),this.removeEventListener(t,"move",this.handleTopMoveCapture,!0),this.removeEventListener(t,"move",this.handleTopMove),this.removeEventListener(t,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(t,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(t,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.addEventListener(a,i,s)})}removeEventListener(t,e,i,n=!1){const s=Wt?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(o){const a=F[o][e];a&&t.removeEventListener(a,i,s)})}connectDragSource(t,e){const i=this.handleMoveStart.bind(this,t);return this.sourceNodes.set(t,e),this.addEventListener(e,"start",i),()=>{this.sourceNodes.delete(t),this.removeEventListener(e,"start",i)}}connectDragPreview(t,e,i){return this.sourcePreviewNodeOptions.set(t,i),this.sourcePreviewNodes.set(t,e),()=>{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDropTarget(t,e){const i=this.options.rootElement;if(!this.document||!i)return()=>{};const n=s=>{if(!this.document||!i||!this.monitor.isDragging())return;let o;switch(s.type){case F.mouse.move:o={x:s.clientX,y:s.clientY};break;case F.touch.move:var a,c;o={x:((a=s.touches[0])===null||a===void 0?void 0:a.clientX)||0,y:((c=s.touches[0])===null||c===void 0?void 0:c.clientY)||0}}const u=o!=null?this.document.elementFromPoint(o.x,o.y):void 0,d=u&&e.contains(u);return u===e||d?this.handleMove(s,t):void 0};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(t,e),()=>{this.document&&(this.targetNodes.delete(t),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(t){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=t,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{t&&!t.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),t&&t.parentElement&&this.draggedSourceNodeRemovalObserver.observe(t.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(t,e,i){this.getSourceClientOffset=n=>{const s=this.sourceNodes.get(n);return s&&function(o){const a=o.nodeType===1?o:o.parentElement;if(!a)return;const{top:c,left:u}=a.getBoundingClientRect();return{x:u,y:c}}(s)},this.handleTopMoveStartCapture=n=>{ct(n)&&(this.moveStartSourceIds=[])},this.handleMoveStart=n=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(n)},this.handleTopMoveStart=n=>{if(!ct(n))return;const s=J(n);s&&(oe(n)&&(this.lastTargetTouchFallback=n.targetTouches[0]),this._mouseClientOffset=s),this.waitingForDelay=!1},this.handleTopMoveStartDelay=n=>{if(!ct(n))return;const s=n.type===F.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,n),s),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(n,s)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(s)},this.handleTopMove=n=>{if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;const{moveStartSourceIds:s,dragOverTargetIds:o}=this,a=this.options.enableHoverOutsideTarget,c=J(n,this.lastTargetTouchFallback);if(!c)return;if(this._isScrolling||!this.monitor.isDragging()&&function(D,b,L,tt,A){if(!A)return!1;const H=180*Math.atan2(tt-b,L-D)/Math.PI+180;for(let _=0;_<A.length;++_){const U=A[_];if(U&&(U.start==null||H>=U.start)&&(U.end==null||H<=U.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,c.x,c.y,this.options.scrollAngleRanges))return void(this._isScrolling=!0);var u,d,g,f;if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&s&&(u=this._mouseClientOffset.x||0,d=this._mouseClientOffset.y||0,g=c.x,f=c.y,Math.sqrt(Math.pow(Math.abs(g-u),2)+Math.pow(Math.abs(f-d),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(s,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;const h=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(h),this.actions.publishDragSource(),n.cancelable&&n.preventDefault();const m=(o||[]).map(D=>this.targetNodes.get(D)).filter(D=>!!D),y=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(c.x,c.y,m):this.document.elementsFromPoint(c.x,c.y),S=[];for(const D in y){if(!y.hasOwnProperty(D))continue;let b=y[D];for(b!=null&&S.push(b);b;)b=b.parentElement,b&&S.indexOf(b)===-1&&S.push(b)}const O=S.filter(D=>m.indexOf(D)>-1).map(D=>this._getDropTargetId(D)).filter(D=>!!D).filter((D,b,L)=>L.indexOf(D)===b);if(a)for(const D in this.targetNodes){const b=this.targetNodes.get(D);if(h&&b&&b.contains(h)&&O.indexOf(D)===-1){O.unshift(D);break}}O.reverse(),this.actions.hover(O,{clientOffset:c})},this._getDropTargetId=n=>{const s=this.targetNodes.keys();let o=s.next();for(;o.done===!1;){const a=o.value;if(n===this.targetNodes.get(a))return a;o=s.next()}},this.handleTopMoveEndCapture=n=>{this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(s){return s.buttons===void 0||!(s.buttons&vr)}(n)&&(this.monitor.isDragging()&&!this.monitor.didDrop()?(n.cancelable&&n.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()):this.moveStartSourceIds=void 0)},this.handleCancelOnEscape=n=>{n.key==="Escape"&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new pr(i,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(P.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(P.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(P.keyboard)}}const Nr=function(r,t={},e={}){return new $(r,t,e)};export{Be as D,Tr as H,Er as O,wr as S,Nr as T,Sr as a,Cr as b,Ir as g,Or as u};
@@ -1 +1 @@
1
- import"./sentry-i8uQ0afM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9d2c64d8-2e54-467b-a8dd-a00c27284d84",e._sentryDebugIdIdentifier="sentry-dbid-9d2c64d8-2e54-467b-a8dd-a00c27284d84")}catch{}})();var n,r;function o(){return r?n:(r=1,n=null)}export{o as r};
1
+ import"./sentry-BxWyF9h9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="9d2c64d8-2e54-467b-a8dd-a00c27284d84",e._sentryDebugIdIdentifier="sentry-dbid-9d2c64d8-2e54-467b-a8dd-a00c27284d84")}catch{}})();var n,r;function o(){return r?n:(r=1,n=null)}export{o as r};
@@ -1 +1 @@
1
- import{g as i}from"./sentry-i8uQ0afM.js";import{r as a}from"./index-DFPmY4t1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63071319-eacd-4eee-a227-cdff659934c0",e._sentryDebugIdIdentifier="sentry-dbid-63071319-eacd-4eee-a227-cdff659934c0")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as i};
1
+ import{g as i}from"./sentry-BxWyF9h9.js";import{r as a}from"./empty-BpRPQOis.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="462b5fae-f6de-4048-9905-aac2f8bed3f0",e._sentryDebugIdIdentifier="sentry-dbid-462b5fae-f6de-4048-9905-aac2f8bed3f0")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as e};
@@ -1 +1 @@
1
- import"./sentry-i8uQ0afM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="707d01db-6943-4945-bdcf-36896f3c6363",e._sentryDebugIdIdentifier="sentry-dbid-707d01db-6943-4945-bdcf-36896f3c6363")}catch{}})();const f={};export{f as default};
1
+ import"./sentry-BxWyF9h9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="707d01db-6943-4945-bdcf-36896f3c6363",e._sentryDebugIdIdentifier="sentry-dbid-707d01db-6943-4945-bdcf-36896f3c6363")}catch{}})();const f={};export{f as default};