@clickview/reports 0.65.1-dev.8 → 0.66.0-rc.0

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 (128) hide show
  1. package/dist/bundles.json +3 -3
  2. package/dist/css/{8600-reports-827f094f2b.chunk.css → 6404-reports-523a36d09d.chunk.css} +1 -0
  3. package/dist/css/{reports-app-872f3f7c71.css → reports-app-a0d6bac8ae.css} +1 -1
  4. package/dist/languages/en.json +1 -1
  5. package/dist/scripts/{1103-7bebcdab79-reports.chunk.js → 1103-f00f2b1cad-reports.chunk.js} +1 -1
  6. package/dist/scripts/1177-d9cc3234cb-reports.chunk.js +1 -0
  7. package/dist/scripts/1456-986688c70a-reports.chunk.js +1 -0
  8. package/dist/scripts/1648-c0202be5a3-reports.chunk.js +1 -0
  9. package/dist/scripts/1934-ca8497c768-reports.chunk.js +2 -0
  10. package/dist/scripts/2087-c09a16fd33-reports.chunk.js +1 -0
  11. package/dist/scripts/209-d7cfcffff1-reports.chunk.js +1 -0
  12. package/dist/scripts/2217-bc17b34274-reports.chunk.js +1 -0
  13. package/dist/scripts/2476-439c556746-reports.chunk.js +1 -0
  14. package/dist/scripts/2539-8fe62bf66a-reports.chunk.js +1 -0
  15. package/dist/scripts/2997-330c31814e-reports.chunk.js +1 -0
  16. package/dist/scripts/312-8b006e92ff-reports.chunk.js +1 -0
  17. package/dist/scripts/3807-a9d634ce6e-reports.chunk.js +1 -0
  18. package/dist/scripts/4208-eec2029b43-reports.chunk.js +1 -0
  19. package/dist/scripts/4234-e3c04f41eb-reports.chunk.js +1 -0
  20. package/dist/scripts/4372-26474a3318-reports.chunk.js +1 -0
  21. package/dist/scripts/438-df4d3020f2-reports.chunk.js +1 -0
  22. package/dist/scripts/447-022b598be7-reports.chunk.js +1 -0
  23. package/dist/scripts/4582-971c083e71-reports.chunk.js +1 -0
  24. package/dist/scripts/4752-db4247883d-reports.chunk.js +2 -0
  25. package/dist/scripts/{4752-e271596c05-reports.chunk.js.LICENSE.txt → 4752-db4247883d-reports.chunk.js.LICENSE.txt} +1 -1
  26. package/dist/scripts/4979-25e8a65112-reports.chunk.js +1 -0
  27. package/dist/scripts/5051-79c9e3ad7c-reports.chunk.js +1 -0
  28. package/dist/scripts/5173-cce3b37672-reports.chunk.js +1 -0
  29. package/dist/scripts/5177-292595a2d2-reports.chunk.js +1 -0
  30. package/dist/scripts/5802-2125536755-reports.chunk.js +1 -0
  31. package/dist/scripts/6007-6dcc3a8442-reports.chunk.js +1 -0
  32. package/dist/scripts/6031-919f4abbdf-reports.chunk.js +1 -0
  33. package/dist/scripts/6081-2bbda6cac3-reports.chunk.js +1 -0
  34. package/dist/scripts/6180-3c8491f0e1-reports.chunk.js +2 -0
  35. package/dist/scripts/6180-3c8491f0e1-reports.chunk.js.LICENSE.txt +1 -0
  36. package/dist/scripts/6198-189ddde870-reports.chunk.js +1 -0
  37. package/dist/scripts/6404-363bf6eefb-reports.chunk.js +2 -0
  38. package/dist/scripts/6404-363bf6eefb-reports.chunk.js.LICENSE.txt +1 -0
  39. package/dist/scripts/645-969e5030af-reports.chunk.js +1 -0
  40. package/dist/scripts/6545-d5ffc5293f-reports.chunk.js +1 -0
  41. package/dist/scripts/6811-262c09365b-reports.chunk.js +1 -0
  42. package/dist/scripts/7058-b380c3d8b8-reports.chunk.js +1 -0
  43. package/dist/scripts/7183-c3a73229dd-reports.chunk.js +1 -0
  44. package/dist/scripts/7238-5ba5572d86-reports.chunk.js +1 -0
  45. package/dist/scripts/7562-b792003421-reports.chunk.js +1 -0
  46. package/dist/scripts/7709-82750ee317-reports.chunk.js +1 -0
  47. package/dist/scripts/7723-76c4e8a129-reports.chunk.js +1 -0
  48. package/dist/scripts/7925-c6c532c9c4-reports.chunk.js +1 -0
  49. package/dist/scripts/799-4dfaa76136-reports.chunk.js +2 -0
  50. package/dist/scripts/799-4dfaa76136-reports.chunk.js.LICENSE.txt +1 -0
  51. package/dist/scripts/8087-bb3132fc2d-reports.chunk.js +1 -0
  52. package/dist/scripts/8393-f0a160ba29-reports.chunk.js +1 -0
  53. package/dist/scripts/8450-2f283cf85b-reports.chunk.js +1 -0
  54. package/dist/scripts/8591-4811082ab0-reports.chunk.js +1 -0
  55. package/dist/scripts/8622-c1c5ba309f-reports.chunk.js +1 -0
  56. package/dist/scripts/8989-646937fcdf-reports.chunk.js +1 -0
  57. package/dist/scripts/9162-5289bb3744-reports.chunk.js +1 -0
  58. package/dist/scripts/9285-da0904739b-reports.chunk.js +1 -0
  59. package/dist/scripts/9590-c73ab2da48-reports.chunk.js +1 -0
  60. package/dist/scripts/9661-1886a27af5-reports.chunk.js +1 -0
  61. package/dist/scripts/9822-cf55abf43e-reports.chunk.js +1 -0
  62. package/dist/scripts/9949-af2792970f-reports.chunk.js +1 -0
  63. package/dist/scripts/bundle-98883391b7.min.js +2 -0
  64. package/dist/scripts/{bundle-af9ff54c72.min.js.LICENSE.txt → bundle-98883391b7.min.js.LICENSE.txt} +1 -1
  65. package/dist/scripts/polyfills-3db3f009d4.min.js +1 -0
  66. package/package.json +1 -1
  67. package/dist/scripts/1177-15635377a5-reports.chunk.js +0 -1
  68. package/dist/scripts/1456-2e26c515ba-reports.chunk.js +0 -1
  69. package/dist/scripts/1648-71a130bda9-reports.chunk.js +0 -1
  70. package/dist/scripts/1934-2a1a62b254-reports.chunk.js +0 -2
  71. package/dist/scripts/2087-db7c35b5e5-reports.chunk.js +0 -1
  72. package/dist/scripts/209-d6ac748b34-reports.chunk.js +0 -1
  73. package/dist/scripts/2217-eb5d4f8908-reports.chunk.js +0 -1
  74. package/dist/scripts/2476-8076bf61ee-reports.chunk.js +0 -1
  75. package/dist/scripts/2539-0506dca9b2-reports.chunk.js +0 -1
  76. package/dist/scripts/2997-071a9945bc-reports.chunk.js +0 -1
  77. package/dist/scripts/312-16d6e64496-reports.chunk.js +0 -1
  78. package/dist/scripts/3807-315b28cb3a-reports.chunk.js +0 -1
  79. package/dist/scripts/4208-09c55c2f6a-reports.chunk.js +0 -1
  80. package/dist/scripts/4234-a0e238e25e-reports.chunk.js +0 -1
  81. package/dist/scripts/4372-0ab4485cc2-reports.chunk.js +0 -1
  82. package/dist/scripts/438-b01d125145-reports.chunk.js +0 -1
  83. package/dist/scripts/447-0818db2ece-reports.chunk.js +0 -1
  84. package/dist/scripts/4582-1c48bb7d01-reports.chunk.js +0 -1
  85. package/dist/scripts/4752-e271596c05-reports.chunk.js +0 -2
  86. package/dist/scripts/4979-0de3b83b6b-reports.chunk.js +0 -1
  87. package/dist/scripts/5051-7329f78dd3-reports.chunk.js +0 -1
  88. package/dist/scripts/5173-18a482e23a-reports.chunk.js +0 -1
  89. package/dist/scripts/5177-7e1d0e0984-reports.chunk.js +0 -1
  90. package/dist/scripts/5802-042ef18230-reports.chunk.js +0 -1
  91. package/dist/scripts/6007-dc4e1b42ba-reports.chunk.js +0 -1
  92. package/dist/scripts/6031-88c0a3dc69-reports.chunk.js +0 -1
  93. package/dist/scripts/6081-de96b73672-reports.chunk.js +0 -1
  94. package/dist/scripts/6180-2d9d2ee04a-reports.chunk.js +0 -2
  95. package/dist/scripts/6180-2d9d2ee04a-reports.chunk.js.LICENSE.txt +0 -1
  96. package/dist/scripts/6198-31e1880518-reports.chunk.js +0 -1
  97. package/dist/scripts/645-f4c0e36c0e-reports.chunk.js +0 -1
  98. package/dist/scripts/6545-3de6419e70-reports.chunk.js +0 -1
  99. package/dist/scripts/6811-71794e032d-reports.chunk.js +0 -1
  100. package/dist/scripts/7058-0b2d163c6f-reports.chunk.js +0 -1
  101. package/dist/scripts/7183-6af4540ceb-reports.chunk.js +0 -1
  102. package/dist/scripts/7238-afd4d7a5f7-reports.chunk.js +0 -1
  103. package/dist/scripts/7562-30501cce36-reports.chunk.js +0 -1
  104. package/dist/scripts/7709-632b11f5ab-reports.chunk.js +0 -1
  105. package/dist/scripts/7723-f15da81dd1-reports.chunk.js +0 -1
  106. package/dist/scripts/7925-9b54620187-reports.chunk.js +0 -1
  107. package/dist/scripts/799-c98f8ff1d6-reports.chunk.js +0 -2
  108. package/dist/scripts/799-c98f8ff1d6-reports.chunk.js.LICENSE.txt +0 -1
  109. package/dist/scripts/8087-b1408ac345-reports.chunk.js +0 -1
  110. package/dist/scripts/8393-cd38f79363-reports.chunk.js +0 -1
  111. package/dist/scripts/8450-c5c5b5b57a-reports.chunk.js +0 -1
  112. package/dist/scripts/8591-c96a49d49c-reports.chunk.js +0 -1
  113. package/dist/scripts/8600-e3ab9ad6aa-reports.chunk.js +0 -2
  114. package/dist/scripts/8600-e3ab9ad6aa-reports.chunk.js.LICENSE.txt +0 -1
  115. package/dist/scripts/8622-a526901062-reports.chunk.js +0 -1
  116. package/dist/scripts/8989-199e7a8d3e-reports.chunk.js +0 -1
  117. package/dist/scripts/9162-ce2cddc237-reports.chunk.js +0 -1
  118. package/dist/scripts/9285-7acf1eaabb-reports.chunk.js +0 -1
  119. package/dist/scripts/9590-81a5b2980a-reports.chunk.js +0 -1
  120. package/dist/scripts/9661-6ade006cac-reports.chunk.js +0 -1
  121. package/dist/scripts/9822-ee8e6a3e3e-reports.chunk.js +0 -1
  122. package/dist/scripts/9949-5855447007-reports.chunk.js +0 -1
  123. package/dist/scripts/bundle-af9ff54c72.min.js +0 -2
  124. package/dist/scripts/polyfills-1fd2233039.min.js +0 -1
  125. /package/dist/scripts/{1934-2a1a62b254-reports.chunk.js.LICENSE.txt → 1934-ca8497c768-reports.chunk.js.LICENSE.txt} +0 -0
  126. /package/dist/scripts/{8839-3640cb49a4-reports.chunk.js → 8839-105209cac1-reports.chunk.js} +0 -0
  127. /package/dist/scripts/{9059-91926c7a19-reports.chunk.js → 9059-b5cd91bd18-reports.chunk.js} +0 -0
  128. /package/dist/scripts/{9647-42a23afc61-reports.chunk.js → 9647-f0c111d3f0-reports.chunk.js} +0 -0
@@ -22,7 +22,7 @@
22
22
 
23
23
  /**
24
24
  * @license
25
- * Video.js 7.21.6 <http://videojs.com/>
25
+ * Video.js 7.21.7 <http://videojs.com/>
26
26
  * Copyright Brightcove, Inc. <https://www.brightcove.com/>
27
27
  * Available under Apache License Version 2.0
28
28
  * <https://github.com/videojs/video.js/blob/main/LICENSE>
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[4979],{32119:(e,n,t)=>{t.d(n,{G:()=>c});var r=t(32735),i=t(71365);function c(e){var n,t;return n=e,t=i.u.getInstance(n),r.useEffect(function(){return function(){i.u.releaseInstance(n)}}),t}},34079:(e,n,t)=>{t.d(n,{O:()=>l});var r=t(32735),i=t(23481),c=t(40782),o=t(36532),a=i.T.encloseNamespace("interactives.pendingIndicator");function u(e){var n="d-flex align-items-center h-100";return n+=e.showLabel?" justify-content-between":" justify-content-center",e.className&&(n+=" ".concat(e.className)),n}function l(e){var n=function(){return r.createElement("div",{className:u(e)},!!e.showLabel&&r.createElement("em",null,a("pending")),r.createElement(c.O,null))};return e.title?r.createElement(o.u,{title:e.title,spanHack:!0,spanHackClassName:e.tooltipClassName||"h-100 w-100 d-flex align-items-center"},r.createElement(n,null)):r.createElement(n,null)}},39157:(e,n,t)=>{t.d(n,{HI:()=>m,R6:()=>l,Rt:()=>v,UU:()=>f,Zs:()=>s,nq:()=>d});var r=t(75896),i=t(94892),c=t(28972),o=t(8246),a=t(83140),u=t(80845);function l(e,n,t){var c={markingRequired:[],lowScore:[],highScore:[],completed:[],notCompleted:[]},o=(0,u.Q)(e),a=new Set(o.map(function(e){return e.id}));n.students.forEach(function(n){var o=Object.assign(Object.assign({},n),{summary:v(e,n)});o.summary.awaitingMarking?c.markingRequired.push(o):r.m.last(n.results).attempts.filter(function(e){var n;return!!a.has(null===(n=null==e?void 0:e.answers[0])||void 0===n?void 0:n.questionId)}).length===a.size?(c.completed.push(o),o.summary.percentCorrect>=((null==t?void 0:t.HIGH)||i.i.HIGH)&&c.highScore.push(o),o.summary.percentCorrect<((null==t?void 0:t.MODERATE)||i.i.MODERATE)&&c.lowScore.push(o)):c.notCompleted.push(o)});var l=r.m.sortBy(c.lowScore,function(e){return e.summary.percentCorrect}),s=r.m.sortBy(c.highScore,function(e){return-e.summary.percentCorrect});return Object.assign(Object.assign({},c),{lowScore:l,highScore:s})}function s(e,n){return(0,u.Wn)(e).find(function(e){return e.id.toString()===n.toString()})}function f(e){return"".concat(e.questionId,":").concat(e.resultId)}function m(e,n,t){var r=(0,u.j_)(n),i=(0,u.f6)(e,r);return(null==i?void 0:i.answers.every(function(e){var n;return(null===(n=t[f(e)])||void 0===n?void 0:n.status)===o.N.Correct}))?o.N.Correct:(null==i?void 0:i.answers.every(function(e){var n;return(null===(n=t[f(e)])||void 0===n?void 0:n.status)===o.N.Incorrect}))?o.N.Incorrect:void 0}function d(e,n){var t=n.students.length,r=0,i=0,o=0,l=0,s=0;return n.students.forEach(function(n){var t=(0,u.j_)(n);if(t){s+=n.results.length;var f=a.A.isInteractionCorrect(e,t);f===c.w.Correct&&r++,f===c.w.UnAnswered&&o++,f===c.w.AwaitingMarking&&l++,f!==c.w.UnAnswered&&i++}}),{percentCorrect:t>0?r/t:0,correct:r,answered:i,unanswered:o,awaitingMarking:l,attempts:s}}function v(e,n){var t=(0,u.j_)(n),r=(0,u.Q)(e),i=r.length,o=0,l=0;r.forEach(function(e){var n=a.A.isInteractionCorrect(e,t);n===c.w.Correct&&o++,n===c.w.AwaitingMarking&&l++});var s=i>0?o/i:0,f=new Set(r.map(function(e){return e.id})),m=t.attempts.filter(function(e){var n;return!!f.has(null===(n=null==e?void 0:e.answers[0])||void 0===n?void 0:n.questionId)}).length;return{answered:m,attempts:n.results.length,unanswered:i-m,percentCorrect:s,correct:o,awaitingMarking:l}}},40782:(e,n,t)=>{t.d(n,{I:()=>r,O:()=>u});var r,i=t(32735),c=t(2606),o=t(92380);function a(e){var n=i.useCallback(function(n){if(n){var t=n.r.baseVal.value,r=2*Math.PI*t,i=r-e.percentage*r;n.style.strokeDasharray="".concat(r," ").concat(r),n.style.strokeDashoffset=i.toString()}},[e.percentage]);return i.createElement("svg",null,i.createElement("circle",{r:(0,c.pu)(e.size),className:o.Z.backgroundCircle}),!(0,c.zR)(e.percentage)&&i.createElement("circle",{ref:n,r:(0,c.pu)(e.size),className:(0,c.V4)(e.percentage,e.scoreThresholds)}))}function u(e){var n,t=(0,c.Ki)(e.percentage),u=e.size||(e.layout===r.LabelInside?c.Mk.Large:c.Mk.Small),l=e.customLabel||(0,c.DV)(t);return e.layout===r.LabelOnly?i.createElement("span",{className:(0,c.IA)(t)},l):i.createElement("div",{className:"d-flex align-items-center justify-content-between ".concat(null!==(n=e.className)&&void 0!==n?n:"")},e.layout===r.LabelBefore&&i.createElement("span",{className:"me-2"},l),i.createElement("div",{className:(0,c.tw)(u,t)},i.createElement(a,{percentage:t,size:u,scoreThresholds:e.scoreThresholds}),e.layout===r.LabelInside&&i.createElement("span",{className:o.Z.centredPercentageText},l)))}!function(e){e.CircleOnly="circle_only",e.LabelOnly="label_only",e.LabelBefore="label_before",e.LabelInside="label_inside"}(r||(r={})),u.defaultProps={layout:r.CircleOnly}},2606:(e,n,t)=>{t.d(n,{DV:()=>p,IA:()=>d,Ki:()=>g,Mk:()=>a,V4:()=>m,pu:()=>f,tw:()=>v,zR:()=>w});var r=t(94892),i=t(92380);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function o(e,n,t){return(n=function(e){var n=function(e){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=c(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var a,u=.2,l=.36;!function(e){e.Small="small",e.Large="large",e.ExtraSmall="extraSmall"}(a||(a={}));var s=o(o(o({},a.ExtraSmall,{size:2}),a.Small,{size:2}),a.Large,{size:5.8});function f(e){var n=s[e].size,t=e===a.Large?l:u;return"".concat(n/2-2*t,"rem")}function m(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.i;return e>=n.HIGH?i.Z.circleSuccess:e>=n.MODERATE?i.Z.circleWarning:i.Z.circleDanger}function d(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.i;return e>=n.HIGH?"text-success":e>=n.MODERATE?"text-warning":"text-danger"}function v(e,n){var t="d-inline-block ".concat(i.Z.circleContainer);return e===a.Large&&(t+=" ".concat(i.Z.lgCircleContainer)),e===a.ExtraSmall&&(t+=" ".concat(i.Z.xsCircleContainer)),w(n)&&(t+=" ".concat(i.Z.pendingCircle)),t}function g(e){if(!w(e))return+e.toFixed(2)}function p(e){return w(e)?"--%":"".concat(Math.round(100*e),"%")}function w(e){return"number"!=typeof e}},28972:(e,n,t)=>{var r;t.d(n,{w:()=>r}),function(e){e[e.Correct=0]="Correct",e[e.Incorrect=1]="Incorrect",e[e.AwaitingMarking=2]="AwaitingMarking",e[e.Answered=3]="Answered",e[e.UnAnswered=4]="UnAnswered",e[e.NotApplicable=5]="NotApplicable"}(r||(r={}))},8246:(e,n,t)=>{var r;t.d(n,{N:()=>r}),function(e){e[e.Incorrect=0]="Incorrect",e[e.Correct=1]="Correct",e[e.PendingReview=2]="PendingReview"}(r||(r={}))},69883:(e,n,t)=>{t.d(n,{Z:()=>o});var r=t(79976),i=t(60139),c=t(32119);function o(){var e=(0,c.G)(r.P.ALERT);return{success:function(n){e.success(n)()},error:function(n){e.error(n)()},warning:function(n){e.createAlert({type:i.NK.Warning,heading:i.R6.Warning,message:n})},info:function(n,t){e.createAlert({heading:n,message:t,type:i.NK.Info})}}}},93264:(e,n,t)=>{t.d(n,{T:()=>c});var r=t(21161),i=function(e,n,t){var r=n-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(t)+e},c={ToDisplayDuration:function(e,n){if(!r.isNumber(e))return"";var t=new Date(e),c=t.getUTCHours(),o=i(t.getUTCMinutes(),2,"0"),a=i(t.getUTCSeconds(),2,"0");return n||c>0?"".concat(c,":").concat(o,":").concat(a):"".concat(o,":").concat(a)},ToDisplayDurationNewStyle:function(e,n){if(!r.isNumber(e))return"";var t=new Date(e),i=t.getUTCHours(),c=t.getUTCMinutes(),o=t.getUTCSeconds();if((i>0||c>0)&&o>=30&&(c+=1),i>0){var a=i>1?"hrs":"hr";return c>0?n&&o>0?"".concat(i).concat(a," ").concat(c,"m ").concat(o,"s"):"".concat(i).concat(a," ").concat(c,"m "):"".concat(i," ").concat(a)}return c>0?n&&o>0?"".concat(c,"m ").concat(o,"s"):"".concat(c,"m"):"".concat(o,"s")}}},83140:(e,n,t)=>{t.d(n,{A:()=>g});var r=t(28972),i=t(8246),c=t(37751);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(e,n,t){return(n=function(e){var n=function(e){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var t=n.call(e,"string");if("object"!=o(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o(n)?n:n+""}(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(){return r.w.NotApplicable}function l(e,n){var t=e.actionableItems.filter(function(e){return e.isCorrect});return t.every(function(e){return!n(e.id)})?r.w.UnAnswered:t.every(function(e){var t;return e.name.trim().toLowerCase()===(null===(t=n(e.id))||void 0===t?void 0:t.trim().toLowerCase())})?r.w.Correct:r.w.Incorrect}function s(e,n){return e.actionableItems.every(function(e){return!n(e.id)})?r.w.UnAnswered:e.actionableItems.filter(function(e){return e.isCorrect}).every(function(e){var t,r=n(e.id);return(null==r?void 0:r.toString())===(null===(t=e.id)||void 0===t?void 0:t.toString())||r===e.name})?r.w.Correct:r.w.Incorrect}function f(e,n){return function(t){var r=null==n?void 0:n.attempts.find(function(n){return n.id===e.id});return null==r?void 0:r.answers.find(function(e){return e.id===t})}}function m(e,n){var t=f(e,n);return s(e,function(e){var n=t(e);return null==n?void 0:n.text})}function d(e,n){return function(e,n){var t;return e.actionableItems.forEach(function(e){var c=n(e.id);t=c?c.status!==i.N.Correct?c.status!==i.N.Incorrect?r.w.AwaitingMarking:r.w.Incorrect:r.w.Correct:r.w.UnAnswered}),t}(e,f(e,n))}var v=a(a(a(a(a(a(a({},c.Z9.Annotation,u),c.Z9.Image,u),c.Z9.MissingWord,function(e,n){var t=f(e,n);return l(e,function(e){var n=t(e);return null==n?void 0:n.text})}),c.Z9.MultipleChoice,m),c.Z9.ShortAnswer,d),c.Z9.TrueOrFalse,m),c.Z9.Illustration,d),g={notApplicable:u,awaitingMarking:function(){return r.w.AwaitingMarking},isMissingWordCorrect:l,isMultipleChoiceCorrect:s,isInteractionCorrect:function(e,n){return(0,v[e.typeId])(e,n)}}},80845:(e,n,t)=>{t.d(n,{Q:()=>l,Wn:()=>o,f6:()=>u,j_:()=>a});var r=t(75896),i=t(37751);function c(e){return e.typeId!==i.Z9.Annotation&&e.typeId!==i.Z9.Image}function o(e){return r.m.flatten(e.timepoints.map(function(e){return e.interactions}))}function a(e){return r.m.last(e.results)}function u(e,n){return r.m.findWhere(null==n?void 0:n.attempts,{id:e})}function l(e){return o(e).filter(c)}},92380:(e,n,t)=>{t.d(n,{Z:()=>r});const r={circleContainer:"p8Vgz",backgroundCircle:"asGGE",circleSuccess:"PXLNj",circleWarning:"ZckRN",circleDanger:"slBRg",lgCircleContainer:"N8KCI",xsCircleContainer:"RPqZ2",pendingCircle:"DKrcq",centredPercentageText:"tpmLR"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[5051],{31453:(e,t,r)=>{function n(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return"";var n=t.filter(function(e){return!!e});return n.length?n.join(" "):""}r.d(t,{A:()=>n})},49475:(e,t,r)=>{function n(e){var t=[];return Object.keys(e).forEach(function(r){var n=e[r];n&&t.push("".concat(r,":").concat(Array.isArray(n)?n.join(","):n))}),t.join(":")}r.d(t,{u:()=>n})},77369:(e,t,r)=>{r.d(t,{C:()=>w,g:()=>b});var n,a=r(32735),i=r(23481),o=r(31453),l=r(83914),c=r(36532),u=r(5960);!function(e){e.Exchange="exchange",e.Streamable="streamable",e.MoviesAndTv="movies_and_tv",e.Twig="twig"}(n||(n={}));var s,d,m=r(93264),f=r(26361),p=r(35223);function g(e){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g(e)}function v(e,t,r){return(t=function(e){var t=function(e){if("object"!=g(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=g(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==g(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}!function(e){e.Folder="category",e.CategoryTree="category_tree",e.CustomLibrary="custom_library",e.HostedLibrary="hosted_library",e.Exchange="exchange",e.Workspace="workspace",e.Video="video",e.Clip="clip",e.Interactive="interactive"}(s||(s={})),function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(d||(d={}));var b,y="shared.shared-utils",h={mapRatingToClass:function(e){return e?function(e){switch(!0){case e<32:return"bg-purple";case e<48:return"bg-green";case e<80:return"bg-blue";case e<96:return"bg-red";case e<128:return"bg-pink";case e>=128:return"bg-yellow";default:return""}}(e):""},mapSourceToDisplayName:function(e,t){switch(e.type){case s.HostedLibrary:case s.CustomLibrary:return e.name;case s.Exchange:return i.T.getPhrase(y,"exchange");case s.Workspace:return i.T.getPhrase(y,t?"myVideos":"workspace");default:return""}},mapSourceToClass:function(e){switch(e){case s.HostedLibrary:case s.CustomLibrary:return"bg-blue";case s.Exchange:return"bg-green";case s.Workspace:default:return"bg-red"}},isInteractive:function(e){var t,r;return!!(null===(r=null===(t=null==e?void 0:e.interactives)||void 0===t?void 0:t.data)||void 0===r?void 0:r.length)},mapTypeToSvg:function(e){var t=v(v(v(v(v(v(v({},d.Pdf,p.vn.FilePDF),d.Image,p.vn.FileImg),d.PowerPoint,p.vn.FilePowerpoint),d.Document,p.vn.FileWord),d.Excel,p.vn.FileExcel),d.Zip,p.vn.FileZip),d.File,p.vn.File)[e];return t||(t=p.vn.Folder),t},mapTypeToClass:function(e){switch(e){case d.Pdf:return"icon-red";case d.Image:return"icon-purple";case d.Document:return"icon-blue";case d.Excel:return"icon-green";case d.PowerPoint:return"icon-orange";case d.Zip:return"icon-teal";case d.File:return"icon-gray";default:return""}},mapTypeToExtension:function(e){return e?{pdf:"pdf",image:"png",powerpoint:"pptx"}[e.toLowerCase()]:""},mapTypeToName:function(e){if(!e)return"";switch(e){case d.Pdf:return i.T.getPhrase(y,"pdf");case d.Image:return i.T.getPhrase(y,"image");case d.Document:return i.T.getPhrase(y,"document");case d.Excel:return i.T.getPhrase(y,"spreadsheet");case d.PowerPoint:return i.T.getPhrase(y,"presentation");case d.Zip:return i.T.getPhrase(y,"zipArchive");case d.File:return i.T.getPhrase(y,"file");default:return""}}},x=r(49500),E=i.T.encloseNamespace("shared.badges");!function(e){e.DurationExact="duration-exact",e.DurationApproximate="duration-approximate",e.Interactive="interactive",e.Rating="rating",e.ProductionYear="production-year",e.Captions="captions",e.Status="status",e.Trending="trending",e.Count="count",e.Restriction="restriction",e.Source="source"}(b||(b={}));var T={xs:l.S.ExtraSmall,sm:l.S.Small,std:l.S.Standard,lg:l.S.Large},S={xs:"badge-xs",sm:"badge-sm",std:"badge-std",lg:"badge-lg"};function w(e){var t=e.type,r=e.data,i=e.size,s=void 0===i?"std":i;if(!function(e,t){var r,n;return"boolean"==typeof t?!!t:e===b.Rating?t&&!!t.value:e===b.Interactive?!!(null==t?void 0:t.length)||!!(null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.length):e===b.Captions?!!(null==t?void 0:t.length)||!!(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.length):e===b.Status?"number"==typeof t:!!t}(t,r))return a.createElement(a.Fragment,null);var d=function(e,t,r){var a,i=S[r],l="";if(e===b.DurationApproximate&&(l="duration-badge-new px-2 rounded-pill text-nowrap d-flex align-items-center"),e===b.DurationExact&&(l="duration-badge"),e===b.Interactive&&(l="interactive-badge"),e===b.Rating&&(l="rating-badge text-shadow ".concat(h.mapRatingToClass(t.value))),e===b.ProductionYear&&(l="production-year-badge text-shadow"),e===b.Captions)return"p-0";if(e===b.Status)return"badge ".concat(function(e){switch(e){case u.X.Published:return"bg-success";case u.X.Archived:case u.X.Rejected:return"bg-danger";case u.X.Draft:return"draft-badge px-2 rounded-pill text-nowrap d-flex align-items-center";case u.X.Pending:case u.X.Processing:return"bg-warning"}}(t));if(e===b.Trending)return"trending-badge px-1 d-flex align-items-center ".concat(i);if(e===b.Count&&(l="count-badge px-1 rounded"),e===b.Restriction){var c=f.l.mapRestrictionToClass(t.restrictions);return(0,o.A)("restriction-badge rounded-pill px-2 d-flex align-items-center",c)}return e===b.Source&&(l=(a=t).includes(n.Streamable)?"px-1 text-nowrap d-flex align-items-center ".concat(x.Z.streamable):a.includes(n.MoviesAndTv)?"bg-indigo text-white px-1 text-nowrap d-flex align-items-center":a.includes(n.Exchange)?"bg-orange text-white px-1 text-nowrap d-flex align-items-center":a.includes(n.Twig)?"bg-pink text-white px-1 text-nowrap d-flex align-items-center":""),(0,o.A)("badge",l)}(t,r,s);d="".concat(d," ").concat(e.inline?"d-inline-block":"d-flex justify-content-center"," ").concat(e.className||"");var g=function(e,t,r){if(e===b.Interactive)return E("interactive");if(e===b.DurationApproximate)return m.T.ToDisplayDurationNewStyle(t);if(e===b.DurationExact)return m.T.ToDisplayDuration(t);if(e===b.Rating)return t.code;if(e===b.ProductionYear)return t;if(e===b.Captions)return a.createElement(l.x,{svgName:p.vn.CloseCaptionBadge});if(e===b.Status)return u.X[t];if(e===b.Trending)return a.createElement(a.Fragment,null,a.createElement(l.x,{svgName:p.vn.Trending,size:T[r]}),a.createElement("span",{className:"ps-1"},t));if(e===b.Count)return t;if(e===b.Restriction)return a.createElement(a.Fragment,null,a.createElement(l.x,{svgName:f.l.mapRestrictionToSvg(t.restrictions)}),a.createElement("span",null,f.l.mapRestrictionToText(t.restrictions,t.yearGroups)));if(e===b.Source){var i=t;return i.includes(n.Streamable)?"streamable":i.includes(n.MoviesAndTv)?"movies + tv":i.includes(n.Exchange)?"exchange":i.includes(n.Twig)?"twig":"-"}}(t,r,s),v=function(e,t){return e===b.Rating?{title:t.name,placement:"top"}:null}(t,r),y=e.inline&&"d-inline-block";return v?a.createElement("div",{className:"badge-wrapper d-inline"},a.createElement(c.u,Object.assign({},v,{spanHack:!0,spanHackClassName:y}),a.createElement("span",{className:d},g))):a.createElement("span",{className:"".concat(d," badge-wrapper")},g)}},99943:(e,t,r)=>{r.d(t,{b:()=>l});var n=r(32735),a=r(49475),i=r(99827);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){var t,r,l=(t=(0,n.useState)(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,a=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],u=l[1],s=(0,a.u)((0,i.b)());return(0,n.useEffect)(function(){u(function(e){return!e})},[e.isFetching]),(0,n.useEffect)(function(){u(function(e){return!e})},[s]),c}},54679:(e,t,r)=>{r.d(t,{Y:()=>l});var n=r(32735),a=r(2948),i=r(79489);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){var t,r,l,c=(r=(0,a.D)(i.y.AUDIENCE_FILTER_SELECTED_COUNT),l=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,a=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return l}}(r,l)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(r,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];(0,n.useEffect)(function(){e.data?c(e.data.studentCount):c(null)},[null===(t=e.data)||void 0===t?void 0:t.studentCount])}},84049:(e,t,r)=>{r.d(t,{P:()=>d});var n=r(32735),a=r(2948),i=r(41196),o=r(16714),l=r(22902),c=r(79489),u=r(99827);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function d(e){var t,r,d=(0,(0,l.T)().hasPermissions)(o.C.ViewCustomerAnalytics),m=(0,u.R)(),f=d&&!!m,p=(0,i.W)(f&&e,{start:null==m?void 0:m.start,end:null==m?void 0:m.end}),g=(t=(0,a.D)(c.y.AUDIENCE_FILTER_SUGGESTIONS),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,a=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];(0,n.useEffect)(function(){var e,t;p.data&&g("users",null===(t=null===(e=p.data)||void 0===e?void 0:e.students)||void 0===t?void 0:t.map(function(e){return e.user.id}))},[p.isFetching])}},91470:(e,t,r)=>{r.d(t,{I:()=>s});var n=r(32735),a=r(68050),i=r(69111),o=r(755),l=n.createElement(a.Z,{className:"py-3"},n.createElement(i.Z,{xs:1,className:"d-flex align-items-center justify-content-center"},n.createElement("div",{className:"partial-loading-background ".concat(o.Z.partialNumber)})),n.createElement(i.Z,{xs:5,className:"d-flex align-items-center"},n.createElement("div",{className:"partial-loading-background ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:4,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(o.Z.partialShortText)}))),c=n.createElement(a.Z,{className:"py-3"},n.createElement(i.Z,{xs:5,className:"d-flex align-items-center"},n.createElement("div",{className:"partial-loading-background mx-4 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:3,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(o.Z.partialShortText)}))),u=n.createElement(a.Z,{className:"py-3"},n.createElement(i.Z,{xs:2,className:"d-flex"},n.createElement("div",{className:"partial-loading-background mx-3 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:2,className:"d-flex justify-content-center"},n.createElement("div",{className:"partial-loading-background mx-2 ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:2,className:"d-flex justify-content-center"},n.createElement("div",{className:"partial-loading-background ".concat(o.Z.partialShortText)})),n.createElement(i.Z,{xs:6,className:"d-flex justify-content-between"},n.createElement("div",{className:"d-block partial-loading-background ".concat(o.Z.heatMapItemContainer," ").concat(o.Z.partialShortText)})));function s(e){var t,r,a=function(e){switch(e){case"video-views":return{headerComponent:l,tableStyle:o.Z.videoTable};case"interactives":return{headerComponent:c,tableStyle:o.Z.interactiveTable};case"engagement-users":return{headerComponent:u,tableStyle:o.Z.userTable};default:return{headerComponent:n.createElement(n.Fragment,null),tableStyle:""}}}(e.variant),i=a.headerComponent,s=a.tableStyle;return n.createElement("div",{className:"bg-white rounded ".concat(s," ").concat(null!==(t=e.className)&&void 0!==t?t:"")},n.createElement("div",{className:"border-bottom ".concat(o.Z.header," ").concat(null!==(r=e.headerClassName)&&void 0!==r?r:"")},i),e.children)}},36630:(e,t,r)=>{r.d(t,{M:()=>l});var n=r(61990),a=r(30321),i=r(16562),o={notFound:n.l};function l(e){(0,i.v)(e,o,{forbidden:!0}),(0,a.b)(e)}},87480:(e,t,r)=>{r.d(t,{U:()=>l});var n=r(32735),a=r(2948),i=r(79489);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){var t,r,l=(t=(0,a.D)(i.y.HEADER_TITLE),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,i,o,l=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){u=!0,a=e}finally{try{if(!c&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return l}}(t,r)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];(0,n.useEffect)(function(){return l(e),function(){l(null)}},[e])}},755:(e,t,r)=>{r.d(t,{Z:()=>n});const n={videoTable:"PT_It",interactiveTable:"GHe8q",userTable:"nbjsx",header:"iXtL9",itemHeader:"m8bTu",videoItemContainer:"z4_as",interactiveItemContainer:"GFx4k",userItemContainer:"zc5wl",heatMapItemContainer:"L0FuZ",partialAvatar:"RG2PB",partialNumber:"bjOQq",partialLongText:"b3oVS",partialMediumText:"pb1z8",partialShortText:"Mm5Da",partialThumbnail:"fXWEe",partialHeatMap:"WcStG"}},68050:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(95685),a=r.n(n),i=r(32735),o=r(46304),l=r(74512);const c=i.forwardRef(({bsPrefix:e,className:t,as:r="div",...n},i)=>{const c=(0,o.vE)(e,"row"),u=(0,o.pi)(),s=(0,o.zG)(),d=`${c}-cols`,m=[];return u.forEach(e=>{const t=n[e];let r;delete n[e],null!=t&&"object"==typeof t?({cols:r}=t):r=t;const a=e!==s?`-${e}`:"";null!=r&&m.push(`${d}${a}-${r}`)}),(0,l.jsx)(r,{ref:i,...n,className:a()(t,c,...m)})});c.displayName="Row";const u=c}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[5173],{61124:(t,e,r)=>{var n=r(90278),u=r(96718),i=r(66996);function a(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n;++e<r;)this.add(t[e])}a.prototype.add=a.prototype.push=u,a.prototype.has=i,t.exports=a},26974:t=>{t.exports=function(t,e,r,n){var u=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++u]);++u<i;)r=e(r,t[u],u,t);return r}},44793:t=>{t.exports=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}},30804:t=>{t.exports=function(t){return t.split("")}},64159:t=>{var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;t.exports=function(t){return t.match(e)||[]}},60641:(t,e,r)=>{var n=r(32630)();t.exports=n},35897:(t,e,r)=>{var n=r(60641),u=r(52635);t.exports=function(t,e){return t&&n(t,e,u)}},48402:t=>{var e=Object.prototype.hasOwnProperty;t.exports=function(t,r){return null!=t&&e.call(t,r)}},70007:t=>{t.exports=function(t,e){return null!=t&&e in Object(t)}},31071:(t,e,r)=>{var n=r(67229),u=r(3387);t.exports=function t(e,r,i,a,o){return e===r||(null==e||null==r||!u(e)&&!u(r)?e!=e&&r!=r:n(e,r,i,a,t,o))}},67229:(t,e,r)=>{var n=r(4281),u=r(12503),i=r(6001),a=r(88784),o=r(26686),s=r(77236),f=r(98752),l=r(14812),c="[object Arguments]",d="[object Array]",h="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,v,m,_){var y=s(t),x=s(e),g=y?d:o(t),F=x?d:o(e),b=(g=g==c?h:g)==h,w=(F=F==c?h:F)==h,E=g==F;if(E&&f(t)){if(!f(e))return!1;y=!0,b=!1}if(E&&!b)return _||(_=new n),y||l(t)?u(t,e,r,v,m,_):i(t,e,g,r,v,m,_);if(!(1&r)){var D=b&&p.call(t,"__wrapped__"),O=w&&p.call(e,"__wrapped__");if(D||O){var j=D?t.value():t,A=O?e.value():e;return _||(_=new n),m(j,A,r,v,_)}}return!!E&&(_||(_=new n),a(t,e,r,v,m,_))}},9157:(t,e,r)=>{var n=r(4281),u=r(31071);t.exports=function(t,e,r,i){var a=r.length,o=a,s=!i;if(null==t)return!o;for(t=Object(t);a--;){var f=r[a];if(s&&f[2]?f[1]!==t[f[0]]:!(f[0]in t))return!1}for(;++a<o;){var l=(f=r[a])[0],c=t[l],d=f[1];if(s&&f[2]){if(void 0===c&&!(l in t))return!1}else{var h=new n;if(i)var p=i(c,d,l,t,e,h);if(!(void 0===p?u(d,c,3,i,h):p))return!1}}return!0}},88904:(t,e,r)=>{var n=r(68418),u=r(54555),i=r(15362),a=r(77236),o=r(21651);t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?u(t[0],t[1]):n(t):o(t)}},68418:(t,e,r)=>{var n=r(9157),u=r(59182),i=r(57375);t.exports=function(t){var e=u(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(r){return r===t||n(r,t,e)}}},54555:(t,e,r)=>{var n=r(31071),u=r(33795),i=r(33646),a=r(73266),o=r(41457),s=r(57375),f=r(18780);t.exports=function(t,e){return a(t)&&o(e)?s(f(t),e):function(r){var a=u(r,t);return void 0===a&&a===e?i(r,t):n(e,a,3)}}},61712:t=>{t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},14815:(t,e,r)=>{var n=r(80166);t.exports=function(t){return function(e){return n(e,t)}}},40516:t=>{t.exports=function(t){return function(e){return null==t?void 0:t[e]}}},4293:t=>{t.exports=function(t,e,r){var n=-1,u=t.length;e<0&&(e=-e>u?0:u+e),(r=r>u?u:r)<0&&(r+=u),u=e>r?0:r-e>>>0,e>>>=0;for(var i=Array(u);++n<u;)i[n]=t[n+e];return i}},80925:(t,e,r)=>{var n=r(26460);t.exports=function(t,e){return n(e,function(e){return t[e]})}},30555:t=>{t.exports=function(t,e){return t.has(e)}},24793:(t,e,r)=>{var n=r(4293);t.exports=function(t,e,r){var u=t.length;return r=void 0===r?u:r,!e&&r>=u?t:n(t,e,r)}},32630:t=>{t.exports=function(t){return function(e,r,n){for(var u=-1,i=Object(e),a=n(e),o=a.length;o--;){var s=a[t?o:++u];if(!1===r(i[s],s,i))break}return e}}},54660:(t,e,r)=>{var n=r(24793),u=r(34327),i=r(51119),a=r(41119);t.exports=function(t){return function(e){e=a(e);var r=u(e)?i(e):void 0,o=r?r[0]:e.charAt(0),s=r?n(r,1).join(""):e.slice(1);return o[t]()+s}}},34958:(t,e,r)=>{var n=r(26974),u=r(58638),i=r(90280),a=RegExp("['’]","g");t.exports=function(t){return function(e){return n(i(u(e).replace(a,"")),t,"")}}},80968:(t,e,r)=>{var n=r(40516)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});t.exports=n},12503:(t,e,r)=>{var n=r(61124),u=r(44793),i=r(30555);t.exports=function(t,e,r,a,o,s){var f=1&r,l=t.length,c=e.length;if(l!=c&&!(f&&c>l))return!1;var d=s.get(t),h=s.get(e);if(d&&h)return d==e&&h==t;var p=-1,v=!0,m=2&r?new n:void 0;for(s.set(t,e),s.set(e,t);++p<l;){var _=t[p],y=e[p];if(a)var x=f?a(y,_,p,e,t,s):a(_,y,p,t,e,s);if(void 0!==x){if(x)continue;v=!1;break}if(m){if(!u(e,function(t,e){if(!i(m,e)&&(_===t||o(_,t,r,a,s)))return m.push(e)})){v=!1;break}}else if(_!==y&&!o(_,y,r,a,s)){v=!1;break}}return s.delete(t),s.delete(e),v}},6001:(t,e,r)=>{var n=r(54690),u=r(5982),i=r(26530),a=r(12503),o=r(52876),s=r(66350),f=n?n.prototype:void 0,l=f?f.valueOf:void 0;t.exports=function(t,e,r,n,f,c,d){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!c(new u(t),new u(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var h=o;case"[object Set]":var p=1&n;if(h||(h=s),t.size!=e.size&&!p)return!1;var v=d.get(t);if(v)return v==e;n|=2,d.set(t,e);var m=a(h(t),h(e),n,f,c,d);return d.delete(t),m;case"[object Symbol]":if(l)return l.call(t)==l.call(e)}return!1}},88784:(t,e,r)=>{var n=r(36094),u=Object.prototype.hasOwnProperty;t.exports=function(t,e,r,i,a,o){var s=1&r,f=n(t),l=f.length;if(l!=n(e).length&&!s)return!1;for(var c=l;c--;){var d=f[c];if(!(s?d in e:u.call(e,d)))return!1}var h=o.get(t),p=o.get(e);if(h&&p)return h==e&&p==t;var v=!0;o.set(t,e),o.set(e,t);for(var m=s;++c<l;){var _=t[d=f[c]],y=e[d];if(i)var x=s?i(y,_,d,e,t,o):i(_,y,d,t,e,o);if(!(void 0===x?_===y||a(_,y,r,i,o):x)){v=!1;break}m||(m="constructor"==d)}if(v&&!m){var g=t.constructor,F=e.constructor;g==F||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof F&&F instanceof F||(v=!1)}return o.delete(t),o.delete(e),v}},59182:(t,e,r)=>{var n=r(41457),u=r(52635);t.exports=function(t){for(var e=u(t),r=e.length;r--;){var i=e[r],a=t[i];e[r]=[i,a,n(a)]}return e}},37383:(t,e,r)=>{var n=r(18422),u=r(86981),i=r(77236),a=r(74363),o=r(99216),s=r(18780);t.exports=function(t,e,r){for(var f=-1,l=(e=n(e,t)).length,c=!1;++f<l;){var d=s(e[f]);if(!(c=null!=t&&r(t,d)))break;t=t[d]}return c||++f!=l?c:!!(l=null==t?0:t.length)&&o(l)&&a(d,l)&&(i(t)||u(t))}},34327:t=>{var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return e.test(t)}},65471:t=>{var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;t.exports=function(t){return e.test(t)}},41457:(t,e,r)=>{var n=r(85973);t.exports=function(t){return t==t&&!n(t)}},17807:t=>{t.exports=function(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}},52876:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r}},57375:t=>{t.exports=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}}},96718:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},66996:t=>{t.exports=function(t){return this.__data__.has(t)}},66350:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},51119:(t,e,r)=>{var n=r(30804),u=r(34327),i=r(64501);t.exports=function(t){return u(t)?i(t):n(t)}},64501:t=>{var e="\\ud800-\\udfff",r="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",u="\\ud83c[\\udffb-\\udfff]",i="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+u+")?",f="[\\ufe0e\\ufe0f]?",l=f+s+"(?:\\u200d(?:"+[i,a,o].join("|")+")"+f+s+")*",c="(?:"+[i+n+"?",n,a,o,r].join("|")+")",d=RegExp(u+"(?="+u+")|"+c+l,"g");t.exports=function(t){return t.match(d)||[]}},6645:t=>{var e="\\ud800-\\udfff",r="\\u2700-\\u27bf",n="a-z\\xdf-\\xf6\\xf8-\\xff",u="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",o="\\d+",s="["+r+"]",f="["+n+"]",l="[^"+e+i+o+r+n+u+"]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="["+u+"]",p="(?:"+f+"|"+l+")",v="(?:"+h+"|"+l+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",_="(?:['’](?:D|LL|M|RE|S|T|VE))?",y="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",x="[\\ufe0e\\ufe0f]?",g=x+y+"(?:\\u200d(?:"+["[^"+e+"]",c,d].join("|")+")"+x+y+")*",F="(?:"+[s,c,d].join("|")+")"+g,b=RegExp([h+"?"+f+"+"+m+"(?="+[a,h,"$"].join("|")+")",v+"+"+_+"(?="+[a,h+p,"$"].join("|")+")",h+"?"+p+"+"+m,h+"+"+_,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,F].join("|"),"g");t.exports=function(t){return t.match(b)||[]}},39935:(t,e,r)=>{var n=r(73400),u=r(34958)(function(t,e,r){return e=e.toLowerCase(),t+(r?n(e):e)});t.exports=u},73400:(t,e,r)=>{var n=r(41119),u=r(23940);t.exports=function(t){return u(n(t).toLowerCase())}},13382:(t,e,r)=>{var n=r(42327);t.exports=function(t,e){return n(t,5,e="function"==typeof e?e:void 0)}},58638:(t,e,r)=>{var n=r(80968),u=r(41119),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");t.exports=function(t){return(t=u(t))&&t.replace(i,n).replace(a,"")}},23973:(t,e,r)=>{var n=r(48402),u=r(37383);t.exports=function(t,e){return null!=t&&u(t,e,n)}},33646:(t,e,r)=>{var n=r(70007),u=r(37383);t.exports=function(t,e){return null!=t&&u(t,e,n)}},15362:t=>{t.exports=function(t){return t}},34461:(t,e,r)=>{var n=r(94318),u=r(77236),i=r(3387);t.exports=function(t){return"string"==typeof t||!u(t)&&i(t)&&"[object String]"==n(t)}},52169:(t,e,r)=>{var n=r(40999),u=r(35897),i=r(88904);t.exports=function(t,e){var r={};return e=i(e,3),u(t,function(t,u,i){n(r,e(t,u,i),t)}),r}},53792:(t,e,r)=>{var n=r(40999),u=r(35897),i=r(88904);t.exports=function(t,e){var r={};return e=i(e,3),u(t,function(t,u,i){n(r,u,e(t,u,i))}),r}},21651:(t,e,r)=>{var n=r(61712),u=r(14815),i=r(73266),a=r(18780);t.exports=function(t){return i(t)?n(a(t)):u(t)}},54002:(t,e,r)=>{var n=r(34958)(function(t,e,r){return t+(r?"_":"")+e.toLowerCase()});t.exports=n},22702:(t,e,r)=>{var n=r(54690),u=r(66438),i=r(26686),a=r(81580),o=r(34461),s=r(17807),f=r(52876),l=r(66350),c=r(51119),d=r(90567),h=n?n.iterator:void 0;t.exports=function(t){if(!t)return[];if(a(t))return o(t)?c(t):u(t);if(h&&t[h])return s(t[h]());var e=i(t);return("[object Map]"==e?f:"[object Set]"==e?l:d)(t)}},23940:(t,e,r)=>{var n=r(54660)("toUpperCase");t.exports=n},90567:(t,e,r)=>{var n=r(80925),u=r(52635);t.exports=function(t){return null==t?[]:n(t,u(t))}},90280:(t,e,r)=>{var n=r(64159),u=r(65471),i=r(41119),a=r(6645);t.exports=function(t,e,r){return t=i(t),void 0===(e=r?void 0:e)?u(t)?a(t):n(t):t.match(e)||[]}},18479:t=>{"use strict";function e(t){this._maxSize=t,this.clear()}e.prototype.clear=function(){this._size=0,this._values={}},e.prototype.get=function(t){return this._values[t]},e.prototype.set=function(t,e){return this._size>=this._maxSize&&this.clear(),this._values.hasOwnProperty(t)||this._size++,this._values[t]=e};var r=/[^.^\]^[]+|(?=\[\]|\.\.)/g,n=/^\d+$/,u=/^\d/,i=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,a=/^\s*(['"]?)(.*?)(\1)\s*$/,o=!1,s=new e(512),f=new e(512),l=new e(512);try{new Function("")}catch(t){o=!0}function c(t){return s.get(t)||s.set(t,d(t).map(function(t){return t.replace(a,"$2")}))}function d(t){return t.match(r)}function h(t,e,r){return"string"==typeof e&&(r=e,e=!1),r=r||"data",(t=t||"")&&"["!==t.charAt(0)&&(t="."+t),e?function(t,e){var r,n=e,u=d(t);return p(u,function(t,e,u,i,a){r=i===a.length-1,n+=(t=e||u?"["+t+"]":"."+t)+(r?")":" || {})")}),new Array(u.length+1).join("(")+n}(t,r):r+t}function p(t,e,r){var n,u,i,a,o=t.length;for(u=0;u<o;u++)(n=t[u])&&(m(n)&&(n='"'+n+'"'),i=!(a=v(n))&&/^\d+$/.test(n),e.call(r,n,a,i,u,t))}function v(t){return"string"==typeof t&&t&&-1!==["'",'"'].indexOf(t.charAt(0))}function m(t){return!v(t)&&(function(t){return t.match(u)&&!t.match(n)}(t)||function(t){return i.test(t)}(t))}t.exports={Cache:e,expr:h,split:d,normalizePath:c,setter:o?function(t){var e=c(t);return function(t,r){return function(t,e,r){for(var n=0,u=t.length;n<u-1;)e=e[t[n++]];e[t[n]]=r}(e,t,r)}}:function(t){return f.get(t)||f.set(t,new Function("data, value",h(t,"data")+" = value"))},getter:o?function(t,e){var r=c(t);return function(t){return function(t,e,r){for(var n=0,u=t.length;n<u;){if(null==r&&e)return;r=r[t[n++]]}return r}(r,e,t)}}:function(t,e){var r=t+"_"+e;return l.get(r)||l.set(r,new Function("data","return "+h(t,e,"data")))},join:function(t){return t.reduce(function(t,e){return t+(v(e)||n.test(e)?"["+e+"]":(t?".":"")+e)},"")},forEach:function(t,e,r){p(d(t),e,r)}}},63958:t=>{"use strict";function e(t){return Array.prototype.slice.apply(t)}var r="pending",n="resolved",u="rejected";function i(t){this.status=r,this._continuations=[],this._parent=null,this._paused=!1,t&&t.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function a(t){return t&&"function"==typeof t.then}function o(t){return t}function s(t){return"undefined"!=typeof window&&"AggregateError"in window?new window.AggregateError(t):{errors:t}}if(i.prototype={then:function(t,e){var r=i.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:r,nextFn:t,catchFn:e}),r;if(e)try{var n=e(this._error);return a(n)?(this._chainPromiseData(n,r),r):i.resolve(n)._setParent(this)}catch(t){return i.reject(t)._setParent(this)}return i.reject(this._error)._setParent(this)}return this._continuations.push({promise:r,nextFn:t,catchFn:e}),this._runResolutions(),r},catch:function(t){if(this._isResolved())return i.resolve(this._data)._setParent(this);var e=i.unresolved()._setParent(this);return this._continuations.push({promise:e,catchFn:t}),this._runRejections(),e},finally:function(t){var e=!1;function r(r,n){if(!e){e=!0,t||(t=o);var u=t(r);return a(u)?u.then(function(){if(n)throw n;return r}):r}}return this.then(function(t){return r(t)}).catch(function(t){return r(null,t)})},pause:function(){return this._paused=!0,this},resume:function(){var t=this._findFirstPaused();return t&&(t._paused=!1,t._runResolutions(),t._runRejections()),this},_findAncestry:function(){return this._continuations.reduce(function(t,e){if(e.promise){var r={promise:e.promise,children:e.promise._findAncestry()};t.push(r)}return t},[])},_setParent:function(t){if(this._parent)throw new Error("parent already set");return this._parent=t,this},_continueWith:function(t){var e=this._findFirstPending();e&&(e._data=t,e._setResolved())},_findFirstPending:function(){return this._findFirstAncestor(function(t){return t._isPending&&t._isPending()})},_findFirstPaused:function(){return this._findFirstAncestor(function(t){return t._paused})},_findFirstAncestor:function(t){for(var e,r=this;r;)t(r)&&(e=r),r=r._parent;return e},_failWith:function(t){var e=this._findFirstPending();e&&(e._error=t,e._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var t=this._error,e=this._takeContinuations(),r=this;e.forEach(function(e){if(e.catchFn)try{var n=e.catchFn(t);r._handleUserFunctionResult(n,e.promise)}catch(t){e.promise.reject(t)}else e.promise.reject(t)})}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var t=this._takeContinuations(),e=this._data,r=this;return t.forEach(function(t){if(t.nextFn)try{var n=t.nextFn(e);r._handleUserFunctionResult(n,t.promise)}catch(e){r._handleResolutionError(e,t)}else t.promise&&t.promise.resolve(e)}),a(this._data)?this._handleWhenResolvedDataIsPromise(this._data):void 0}},_handleResolutionError:function(t,e){if(this._setRejected(),e.catchFn)try{return void e.catchFn(t)}catch(e){t=e}e.promise&&e.promise.reject(t)},_handleWhenResolvedDataIsPromise:function(t){var e=this;return t.then(function(t){e._data=t,e._runResolutions()}).catch(function(t){e._error=t,e._setRejected(),e._runRejections()})},_handleUserFunctionResult:function(t,e){a(t)?this._chainPromiseData(t,e):e.resolve(t)},_chainPromiseData:function(t,e){t.then(function(t){e.resolve(t)}).catch(function(t){e.reject(t)})},_setResolved:function(){this.status=n,this._paused||this._runResolutions()},_setRejected:function(){this.status=u,this._paused||this._runRejections()},_isPending:function(){return this.status===r},_isResolved:function(){return this.status===n},_isRejected:function(){return this.status===u}},i.resolve=function(t){return new i(function(e,r){a(t)?t.then(function(t){e(t)}).catch(function(t){r(t)}):e(t)})},i.reject=function(t){return new i(function(e,r){r(t)})},i.unresolved=function(){return new i(function(t,e){this.resolve=t,this.reject=e})},i.all=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new i(function(e,r){var n=[],u=0,a=!1;t.forEach(function(o,s){i.resolve(o).then(function(r){n[s]=r,(u+=1)===t.length&&e(n)}).catch(function(t){!function(t){a||(a=!0,r(t))}(t)})})}):i.resolve([])},i.any=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new i(function(e,r){var n=[],u=0,a=!1;t.forEach(function(o,f){i.resolve(o).then(function(t){a||(a=!0,e(t))}).catch(function(e){n[f]=e,(u+=1)===t.length&&r(s(n))})})}):i.reject(s([]))},i.allSettled=function(){var t=e(arguments);return Array.isArray(t[0])&&(t=t[0]),t.length?new i(function(e){var r=[],n=0,u=function(){(n+=1)===t.length&&e(r)};t.forEach(function(t,e){i.resolve(t).then(function(t){r[e]={status:"fulfilled",value:t},u()}).catch(function(t){r[e]={status:"rejected",reason:t},u()})})}):i.resolve([])},Promise===i)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var f=Promise;i.installGlobally=function(t){if(Promise===i)return t;var r=function(t){if(void 0===t||t.__patched)return t;var r=t;return t=function(){r.apply(this,e(arguments))},t.__patched=!0,t}(t);return Promise=i,r},i.uninstallGlobally=function(){Promise===i&&(Promise=f)},t.exports={SynchronousPromise:i}},99556:t=>{function e(t,e){var r=t.length,n=new Array(r),u={},i=r,a=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++){var u=t[r];e.has(u[0])||e.set(u[0],new Set),e.has(u[1])||e.set(u[1],new Set),e.get(u[0]).add(u[1])}return e}(e),o=function(t){for(var e=new Map,r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}(t);for(e.forEach(function(t){if(!o.has(t[0])||!o.has(t[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});i--;)u[i]||s(t[i],i,new Set);return n;function s(t,e,i){if(i.has(t)){var f;try{f=", node was:"+JSON.stringify(t)}catch(t){f=""}throw new Error("Cyclic dependency"+f)}if(!o.has(t))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!u[e]){u[e]=!0;var l=a.get(t)||new Set;if(e=(l=Array.from(l)).length){i.add(t);do{var c=l[--e];s(c,o.get(c),i)}while(e);i.delete(t)}n[--r]=t}}}t.exports=function(t){return e(function(t){for(var e=new Set,r=0,n=t.length;r<n;r++){var u=t[r];e.add(u[0]),e.add(u[1])}return Array.from(e)}(t),t)},t.exports.array=e},99044:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=void 0;var u=n(r(23973)),i=n(r(3098)),a=function(){function t(t,e){if(this.refs=t,"function"!=typeof e){if(!(0,u.default)(e,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!e.then&&!e.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=e.is,n=e.then,i=e.otherwise,a="function"==typeof r?r:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.every(function(t){return t===r})};this.fn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var u=e.pop(),o=e.pop(),s=a.apply(void 0,e)?n:i;if(s)return"function"==typeof s?s(o):o.concat(s.resolve(u))}}else this.fn=e}return t.prototype.resolve=function(t,e){var r=this.refs.map(function(t){return t.getValue(e)}),n=this.fn.apply(t,r.concat(t,e));if(void 0===n||n===t)return t;if(!(0,i.default)(n))throw new TypeError("conditions must return a schema object");return n.resolve(e)},t}();e.default=a,t.exports=e.default},78664:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=void 0;var u=n(r(3098)),i=function(){function t(t){this._resolve=function(e,r){var n=t(e,r);if(!(0,u.default)(n))throw new TypeError("lazy() functions must return a valid schema");return n.resolve(r)}}var e=t.prototype;return e.resolve=function(t){return this._resolve(t.value,t)},e.cast=function(t,e){return this._resolve(t,e).cast(t,e)},e.validate=function(t,e){return this._resolve(t,e).validate(t,e)},e.validateSync=function(t,e){return this._resolve(t,e).validateSync(t,e)},e.validateAt=function(t,e,r){return this._resolve(e,r).validateAt(t,e,r)},e.validateSyncAt=function(t,e,r){return this._resolve(e,r).validateSyncAt(t,e,r)},t}();i.prototype.__isYupSchema__=!0;var a=i;e.default=a,t.exports=e.default},44618:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=void 0;var u=n(r(448)),i=r(18479),a=function(){function t(t,e){if(void 0===e&&(e={}),"string"!=typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext="$"===this.key[0],this.isValue="."===this.key[0],this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?"$":this.isValue?".":"";this.path=this.key.slice(r.length),this.getter=this.path&&(0,i.getter)(this.path,!0),this.map=e.map}var e=t.prototype;return e.getValue=function(t){var e=this.isContext?t.context:this.isValue?t.value:t.parent;return this.getter&&(e=this.getter(e||{})),this.map&&(e=this.map(e)),e},e.cast=function(t,e){return this.getValue((0,u.default)({},e,{value:t}))},e.resolve=function(){return this},e.describe=function(){return{type:"ref",key:this.key}},e.toString=function(){return"Ref("+this.key+")"},t.isRef=function(t){return t&&t.__isYupRef},t}();e.default=a,a.prototype.__isYupRef=!0,t.exports=e.default},81699:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=a;var u=n(r(74107)),i=/\$\{\s*(\w+)\s*\}/g;function a(t,e,r,n){var u=this;this.name="ValidationError",this.value=e,this.path=r,this.type=n,this.errors=[],this.inner=[],t&&[].concat(t).forEach(function(t){u.errors=u.errors.concat(t.errors||t),t.inner&&(u.inner=u.inner.concat(t.inner.length?t.inner:t))}),this.message=this.errors.length>1?this.errors.length+" errors occurred":this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,a)}a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a.isError=function(t){return t&&"ValidationError"===t.name},a.formatError=function(t,e){var r;"string"==typeof t&&(r=t,t=function(t){return r.replace(i,function(e,r){return(0,u.default)(t[r])})});var n=function(e){return e.path=e.label||e.path||"this","function"==typeof t?t(e):t};return 1===arguments.length?n:n(e)},t.exports=e.default},41249:(t,e,r)=>{"use strict";var n=r(54168),u=r(34169);e.__esModule=!0,e.default=void 0;var i=u(r(448)),a=u(r(82683)),o=u(r(9122)),s=u(r(58628)),f=u(r(3098)),l=u(r(29331)),c=u(r(74107)),d=u(r(96199)),h=r(12293),p=n(r(65638));function v(){var t=(0,a.default)(["","[","]"]);return v=function(){return t},t}var m=_;function _(t){var e=this;if(!(this instanceof _))return new _(t);d.default.call(this,{type:"array"}),this._subType=void 0,this.withMutation(function(){e.transform(function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}),t&&e.of(t)})}e.default=m,(0,o.default)(_,d.default,{_typeCheck:function(t){return Array.isArray(t)},_cast:function(t,e){var r=this,n=d.default.prototype._cast.call(this,t,e);if(!this._typeCheck(n)||!this._subType)return n;var u=!1,i=n.map(function(t){var n=r._subType.cast(t,e);return n!==t&&(u=!0),n});return u?i:n},_validate:function(t,e){var r=this;void 0===e&&(e={});var n=[],u=e.sync,a=e.path,o=this._subType,s=this._option("abortEarly",e),f=this._option("recursive",e),c=null!=e.originalValue?e.originalValue:t;return d.default.prototype._validate.call(this,t,e).catch((0,p.propagateErrors)(s,n)).then(function(t){if(!f||!o||!r._typeCheck(t)){if(n.length)throw n[0];return t}c=c||t;var d=t.map(function(r,n){var u=(0,l.default)(v(),e.path,n),a=(0,i.default)({},e,{path:u,strict:!0,parent:t,originalValue:c[n]});return!o.validate||o.validate(r,a)});return(0,p.default)({sync:u,path:a,value:t,errors:n,endEarly:s,validations:d})})},_isPresent:function(t){return d.default.prototype._cast.call(this,t)&&t.length>0},of:function(t){var e=this.clone();if(!1!==t&&!(0,f.default)(t))throw new TypeError("`array.of()` sub-schema must be a valid yup schema, or `false` to negate a current sub-schema. not: "+(0,c.default)(t));return e._subType=t,e},min:function(t,e){return e=e||h.array.min,this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,s.default)(e)||e.length>=this.resolve(t)}})},max:function(t,e){return e=e||h.array.max,this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return(0,s.default)(e)||e.length<=this.resolve(t)}})},ensure:function(){var t=this;return this.default(function(){return[]}).transform(function(e){return t.isType(e)?e:null===e?[]:[].concat(e)})},compact:function(t){var e=t?function(e,r,n){return!t(e,r,n)}:function(t){return!!t};return this.transform(function(t){return null!=t?t.filter(e):t})},describe:function(){var t=d.default.prototype.describe.call(this);return this._subType&&(t.innerType=this._subType.describe()),t}}),t.exports=e.default},26071:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=void 0;var u=n(r(9122)),i=n(r(96199)),a=o;function o(){var t=this;if(!(this instanceof o))return new o;i.default.call(this,{type:"boolean"}),this.withMutation(function(){t.transform(function(t){if(!this.isType(t)){if(/^(true|1)$/i.test(t))return!0;if(/^(false|0)$/i.test(t))return!1}return t})})}e.default=a,(0,u.default)(o,i.default,{_typeCheck:function(t){return t instanceof Boolean&&(t=t.valueOf()),"boolean"==typeof t}}),t.exports=e.default},61353:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=void 0;var u=n(r(96199)),i=n(r(9122)),a=n(r(43138)),o=r(12293),s=n(r(58628)),f=n(r(44618)),l=new Date(""),c=d;function d(){var t=this;if(!(this instanceof d))return new d;u.default.call(this,{type:"date"}),this.withMutation(function(){t.transform(function(t){return this.isType(t)?t:(t=(0,a.default)(t))?new Date(t):l})})}e.default=c,(0,i.default)(d,u.default,{_typeCheck:function(t){return e=t,"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(t.getTime());var e},min:function(t,e){void 0===e&&(e=o.date.min);var r=t;if(!f.default.isRef(r)&&(r=this.cast(t),!this._typeCheck(r)))throw new TypeError("`min` must be a Date or a value that can be `cast()` to a Date");return this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(t){return(0,s.default)(t)||t>=this.resolve(r)}})},max:function(t,e){void 0===e&&(e=o.date.max);var r=t;if(!f.default.isRef(r)&&(r=this.cast(t),!this._typeCheck(r)))throw new TypeError("`max` must be a Date or a value that can be `cast()` to a Date");return this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(t){return(0,s.default)(t)||t<=this.resolve(r)}})}}),t.exports=e.default},5173:(t,e,r)=>{"use strict";var n=r(34169);e.O7=void 0,n(r(96199)).default;var u=n(r(26071));u.default;var i=n(r(76921));e.Z_=i.default,n(r(44489)).default,n(r(61353)).default;var a=n(r(4509));e.Ry=a.default;var o=n(r(41249));e.IX=o.default;n(r(44618)),n(r(78664));n(r(81699)).default,n(r(55058)).default,n(r(3098)).default,n(r(60757)).default;var s=u.default;e.O7=s},12293:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=e.array=e.object=e.boolean=e.date=e.number=e.string=e.mixed=void 0;var u=n(r(74107)),i={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(t){var e=t.path,r=t.type,n=t.value,i=t.originalValue,a=null!=i&&i!==n,o=e+" must be a `"+r+"` type, but the final value was: `"+(0,u.default)(n,!0)+"`"+(a?" (cast from the value `"+(0,u.default)(i,!0)+"`).":".");return null===n&&(o+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),o}};e.mixed=i;var a={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"};e.string=a;var o={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",notEqual:"${path} must be not equal to ${notEqual}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"};e.number=o;var s={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"};e.date=s;var f={};e.boolean=f;var l={noUnknown:"${path} field cannot have keys not specified in the object shape"};e.object=l;var c={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items"};e.array=c;var d={mixed:i,string:a,number:o,date:s,object:l,array:c,boolean:f};e.default=d},96199:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=y;var u=n(r(448)),i=n(r(23973)),a=n(r(13382)),o=n(r(22702)),s=r(12293),f=n(r(99044)),l=n(r(65638)),c=n(r(38853)),d=n(r(3098)),h=n(r(79473)),p=n(r(74107)),v=n(r(44618)),m=r(55058),_=function(){function t(){this.list=new Set,this.refs=new Map}var e=t.prototype;return e.toArray=function(){return(0,o.default)(this.list).concat((0,o.default)(this.refs.values()))},e.add=function(t){v.default.isRef(t)?this.refs.set(t.key,t):this.list.add(t)},e.delete=function(t){v.default.isRef(t)?this.refs.delete(t.key,t):this.list.delete(t)},e.has=function(t,e){if(this.list.has(t))return!0;for(var r,n=this.refs.values();!(r=n.next()).done;)if(e(r.value)===t)return!0;return!1},t}();function y(t){var e=this;if(void 0===t&&(t={}),!(this instanceof y))return new y;this._deps=[],this._conditions=[],this._options={abortEarly:!0,recursive:!0},this._exclusive=Object.create(null),this._whitelist=new _,this._blacklist=new _,this.tests=[],this.transforms=[],this.withMutation(function(){e.typeError(s.mixed.notType)}),(0,i.default)(t,"default")&&(this._defaultDefault=t.default),this._type=t.type||"mixed"}for(var x=y.prototype={__isYupSchema__:!0,constructor:y,clone:function(){var t=this;return this._mutate?this:(0,a.default)(this,function(e){if((0,d.default)(e)&&e!==t)return e})},label:function(t){var e=this.clone();return e._label=t,e},meta:function(t){if(0===arguments.length)return this._meta;var e=this.clone();return e._meta=(0,u.default)(e._meta||{},t),e},withMutation:function(t){var e=this._mutate;this._mutate=!0;var r=t(this);return this._mutate=e,r},concat:function(t){if(!t||t===this)return this;if(t._type!==this._type&&"mixed"!==this._type)throw new TypeError("You cannot `concat()` schema's of different types: "+this._type+" and "+t._type);var e=(0,c.default)(t.clone(),this);return(0,i.default)(t,"_default")&&(e._default=t._default),e.tests=this.tests,e._exclusive=this._exclusive,e.withMutation(function(e){t.tests.forEach(function(t){e.test(t.OPTIONS)})}),e},isType:function(t){return!(!this._nullable||null!==t)||!this._typeCheck||this._typeCheck(t)},resolve:function(t){var e=this;if(e._conditions.length){var r=e._conditions;(e=e.clone())._conditions=[],e=(e=r.reduce(function(e,r){return r.resolve(e,t)},e)).resolve(t)}return e},cast:function(t,e){void 0===e&&(e={});var r=this.resolve((0,u.default)({},e,{value:t})),n=r._cast(t,e);if(void 0!==t&&!1!==e.assert&&!0!==r.isType(n)){var i=(0,p.default)(t),a=(0,p.default)(n);throw new TypeError("The value of "+(e.path||"field")+' could not be cast to a value that satisfies the schema type: "'+r._type+'". \n\nattempted value: '+i+" \n"+(a!==i?"result of cast: "+a:""))}return n},_cast:function(t){var e=this,r=void 0===t?t:this.transforms.reduce(function(r,n){return n.call(e,r,t)},t);return void 0===r&&(0,i.default)(this,"_default")&&(r=this.default()),r},_validate:function(t,e){var r=this;void 0===e&&(e={});var n=t,i=null!=e.originalValue?e.originalValue:t,a=this._option("strict",e),o=this._option("abortEarly",e),s=e.sync,f=e.path,c=this._label;a||(n=this._cast(n,(0,u.default)({assert:!1},e)));var d={value:n,path:f,schema:this,options:e,label:c,originalValue:i,sync:s},h=[];return this._typeError&&h.push(this._typeError(d)),this._whitelistError&&h.push(this._whitelistError(d)),this._blacklistError&&h.push(this._blacklistError(d)),(0,l.default)({validations:h,endEarly:o,value:n,path:f,sync:s}).then(function(t){return(0,l.default)({path:f,sync:s,value:t,endEarly:o,validations:r.tests.map(function(t){return t(d)})})})},validate:function(t,e){return void 0===e&&(e={}),this.resolve((0,u.default)({},e,{value:t}))._validate(t,e)},validateSync:function(t,e){var r,n;if(void 0===e&&(e={}),this.resolve((0,u.default)({},e,{value:t}))._validate(t,(0,u.default)({},e,{sync:!0})).then(function(t){return r=t}).catch(function(t){return n=t}),n)throw n;return r},isValid:function(t,e){return this.validate(t,e).then(function(){return!0}).catch(function(t){if("ValidationError"===t.name)return!1;throw t})},isValidSync:function(t,e){try{return this.validateSync(t,e),!0}catch(t){if("ValidationError"===t.name)return!1;throw t}},getDefault:function(t){return void 0===t&&(t={}),this.resolve(t).default()},default:function(t){if(0===arguments.length){var e=(0,i.default)(this,"_default")?this._default:this._defaultDefault;return"function"==typeof e?e.call(this):(0,a.default)(e)}var r=this.clone();return r._default=t,r},strict:function(t){void 0===t&&(t=!0);var e=this.clone();return e._options.strict=t,e},_isPresent:function(t){return null!=t},required:function(t){return void 0===t&&(t=s.mixed.required),this.test({message:t,name:"required",exclusive:!0,test:function(t){return this.schema._isPresent(t)}})},notRequired:function(){var t=this.clone();return t.tests=t.tests.filter(function(t){return"required"!==t.OPTIONS.name}),t},nullable:function(t){void 0===t&&(t=!0);var e=this.clone();return e._nullable=t,e},transform:function(t){var e=this.clone();return e.transforms.push(t),e},test:function(){var t;if(void 0===(t=1===arguments.length?"function"==typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(t.message=s.mixed.default),"function"!=typeof t.test)throw new TypeError("`test` is a required parameters");var e=this.clone(),r=(0,h.default)(t),n=t.exclusive||t.name&&!0===e._exclusive[t.name];if(t.exclusive&&!t.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e._exclusive[t.name]=!!t.exclusive,e.tests=e.tests.filter(function(e){if(e.OPTIONS.name===t.name){if(n)return!1;if(e.OPTIONS.test===r.OPTIONS.test)return!1}return!0}),e.tests.push(r),e},when:function(t,e){1===arguments.length&&(e=t,t=".");var r=this.clone(),n=[].concat(t).map(function(t){return new v.default(t)});return n.forEach(function(t){t.isSibling&&r._deps.push(t.key)}),r._conditions.push(new f.default(n,e)),r},typeError:function(t){var e=this.clone();return e._typeError=(0,h.default)({message:t,name:"typeError",test:function(t){return!(void 0!==t&&!this.schema.isType(t))||this.createError({params:{type:this.schema._type}})}}),e},oneOf:function(t,e){void 0===e&&(e=s.mixed.oneOf);var r=this.clone();return t.forEach(function(t){r._whitelist.add(t),r._blacklist.delete(t)}),r._whitelistError=(0,h.default)({message:e,name:"oneOf",test:function(t){if(void 0===t)return!0;var e=this.schema._whitelist;return!!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r},notOneOf:function(t,e){void 0===e&&(e=s.mixed.notOneOf);var r=this.clone();return t.forEach(function(t){r._blacklist.add(t),r._whitelist.delete(t)}),r._blacklistError=(0,h.default)({message:e,name:"notOneOf",test:function(t){var e=this.schema._blacklist;return!e.has(t,this.resolve)||this.createError({params:{values:e.toArray().join(", ")}})}}),r},strip:function(t){void 0===t&&(t=!0);var e=this.clone();return e._strip=t,e},_option:function(t,e){return(0,i.default)(e,t)?e[t]:this._options[t]},describe:function(){var t=this.clone();return{type:t._type,meta:t._meta,label:t._label,tests:t.tests.map(function(t){return{name:t.OPTIONS.name,params:t.OPTIONS.params}}).filter(function(t,e,r){return r.findIndex(function(e){return e.name===t.name})===e})}}},g=["validate","validateSync"],F=function(){var t=g[b];x[t+"At"]=function(e,r,n){void 0===n&&(n={});var i=(0,m.getIn)(this,e,r,n.context),a=i.parent,o=i.parentPath;return i.schema[t](a&&a[o],(0,u.default)({},n,{parent:a,path:e}))}},b=0;b<g.length;b++)F();for(var w=["equals","is"],E=0;E<w.length;E++)x[w[E]]=x.oneOf;for(var D=["not","nope"],O=0;O<D.length;O++)x[D[O]]=x.notOneOf;x.optional=x.notRequired,t.exports=e.default},44489:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=f;var u=n(r(9122)),i=n(r(96199)),a=r(12293),o=n(r(58628)),s=function(t){return(0,o.default)(t)||t===(0|t)};function f(){var t=this;if(!(this instanceof f))return new f;i.default.call(this,{type:"number"}),this.withMutation(function(){t.transform(function(t){var e=t;if("string"==typeof e){if(""===(e=e.replace(/\s/g,"")))return NaN;e=+e}return this.isType(e)?e:parseFloat(e)})})}(0,u.default)(f,i.default,{_typeCheck:function(t){return t instanceof Number&&(t=t.valueOf()),"number"==typeof t&&!function(t){return t!=+t}(t)},min:function(t,e){return void 0===e&&(e=a.number.min),this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,o.default)(e)||e>=this.resolve(t)}})},max:function(t,e){return void 0===e&&(e=a.number.max),this.test({message:e,name:"max",exclusive:!0,params:{max:t},test:function(e){return(0,o.default)(e)||e<=this.resolve(t)}})},lessThan:function(t,e){return void 0===e&&(e=a.number.lessThan),this.test({message:e,name:"max",exclusive:!0,params:{less:t},test:function(e){return(0,o.default)(e)||e<this.resolve(t)}})},moreThan:function(t,e){return void 0===e&&(e=a.number.moreThan),this.test({message:e,name:"min",exclusive:!0,params:{more:t},test:function(e){return(0,o.default)(e)||e>this.resolve(t)}})},positive:function(t){return void 0===t&&(t=a.number.positive),this.moreThan(0,t)},negative:function(t){return void 0===t&&(t=a.number.negative),this.lessThan(0,t)},integer:function(t){return void 0===t&&(t=a.number.integer),this.test({name:"integer",message:t,test:s})},truncate:function(){return this.transform(function(t){return(0,o.default)(t)?t:0|t})},round:function(t){var e=["ceil","floor","round","trunc"];if("trunc"===(t=t&&t.toLowerCase()||"round"))return this.truncate();if(-1===e.indexOf(t.toLowerCase()))throw new TypeError("Only valid options for round() are: "+e.join(", "));return this.transform(function(e){return(0,o.default)(e)?e:Math[t](e)})}}),t.exports=e.default},4509:(t,e,r)=>{"use strict";var n=r(54168),u=r(34169);e.__esModule=!0,e.default=w;var i=u(r(82683)),a=u(r(448)),o=u(r(23973)),s=u(r(54002)),f=u(r(39935)),l=u(r(52169)),c=u(r(53792)),d=r(18479),h=u(r(96199)),p=r(12293),v=u(r(43630)),m=u(r(20055)),_=u(r(9122)),y=u(r(29331)),x=n(r(65638));function g(){var t=(0,i.default)(["",".",""]);return g=function(){return t},t}function F(){var t=(0,i.default)(["",".",""]);return F=function(){return t},t}var b=function(t){return"[object Object]"===Object.prototype.toString.call(t)};function w(t){var e=this;if(!(this instanceof w))return new w(t);h.default.call(this,{type:"object",default:function(){var t=this;if(this._nodes.length){var e={};return this._nodes.forEach(function(r){e[r]=t.fields[r].default?t.fields[r].default():void 0}),e}}}),this.fields=Object.create(null),this._nodes=[],this._excludedEdges=[],this.withMutation(function(){e.transform(function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t=null}return this.isType(t)?t:null}),t&&e.shape(t)})}(0,_.default)(w,h.default,{_typeCheck:function(t){return b(t)||"function"==typeof t},_cast:function(t,e){var r=this;void 0===e&&(e={});var n=h.default.prototype._cast.call(this,t,e);if(void 0===n)return this.default();if(!this._typeCheck(n))return n;var u=this.fields,i=!0===this._option("stripUnknown",e),s=this._nodes.concat(Object.keys(n).filter(function(t){return-1===r._nodes.indexOf(t)})),f={},l=(0,a.default)({},e,{parent:f,__validating:!1}),c=!1;return s.forEach(function(t){var r=u[t],a=(0,o.default)(n,t);if(r){var s,d=r._options&&r._options.strict;if(l.path=(0,y.default)(F(),e.path,t),l.value=n[t],!0===(r=r.resolve(l))._strip)return void(c=c||t in n);void 0!==(s=e.__validating&&d?n[t]:r.cast(n[t],l))&&(f[t]=s)}else a&&!i&&(f[t]=n[t]);f[t]!==n[t]&&(c=!0)}),c?f:n},_validate:function(t,e){var r,n,u=this;void 0===e&&(e={});var i=e.sync,o=[],s=null!=e.originalValue?e.originalValue:t;return r=this._option("abortEarly",e),n=this._option("recursive",e),e=(0,a.default)({},e,{__validating:!0,originalValue:s}),h.default.prototype._validate.call(this,t,e).catch((0,x.propagateErrors)(r,o)).then(function(t){if(!n||!b(t)){if(o.length)throw o[0];return t}s=s||t;var f=u._nodes.map(function(r){var n=(0,y.default)(g(),e.path,r),i=u.fields[r],o=(0,a.default)({},e,{path:n,parent:t,originalValue:s[r]});return i&&i.validate?(o.strict=!0,i.validate(t[r],o)):Promise.resolve(!0)});return(0,x.default)({sync:i,validations:f,value:t,errors:o,endEarly:r,path:e.path,sort:(0,m.default)(u.fields)})})},concat:function(t){var e=h.default.prototype.concat.call(this,t);return e._nodes=(0,v.default)(e.fields,e._excludedEdges),e},shape:function(t,e){void 0===e&&(e=[]);var r=this.clone(),n=(0,a.default)(r.fields,t);if(r.fields=n,e.length){Array.isArray(e[0])||(e=[e]);var u=e.map(function(t){return t[0]+"-"+t[1]});r._excludedEdges=r._excludedEdges.concat(u)}return r._nodes=(0,v.default)(n,r._excludedEdges),r},from:function(t,e,r){var n=(0,d.getter)(t,!0);return this.transform(function(u){if(null==u)return u;var i=u;return(0,o.default)(u,t)&&(i=(0,a.default)({},u),r||delete i[t],i[e]=n(u)),i})},noUnknown:function(t,e){void 0===t&&(t=!0),void 0===e&&(e=p.object.noUnknown),"string"==typeof t&&(e=t,t=!0);var r=this.test({name:"noUnknown",exclusive:!0,message:e,test:function(e){return null==e||!t||0===function(t,e){var r=Object.keys(t.fields);return Object.keys(e).filter(function(t){return-1===r.indexOf(t)})}(this.schema,e).length}});return r._options.stripUnknown=t,r},unknown:function(t,e){return void 0===t&&(t=!0),void 0===e&&(e=p.object.noUnknown),this.noUnknown(!t,e)},transformKeys:function(t){return this.transform(function(e){return e&&(0,l.default)(e,function(e,r){return t(r)})})},camelCase:function(){return this.transformKeys(f.default)},snakeCase:function(){return this.transformKeys(s.default)},constantCase:function(){return this.transformKeys(function(t){return(0,s.default)(t).toUpperCase()})},describe:function(){var t=h.default.prototype.describe.call(this);return t.fields=(0,c.default)(this.fields,function(t){return t.describe()}),t}}),t.exports=e.default},60757:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=function(t){Object.keys(t).forEach(function(e){Object.keys(t[e]).forEach(function(r){u.default[e][r]=t[e][r]})})};var u=n(r(12293));t.exports=e.default},76921:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=c;var u=n(r(9122)),i=n(r(96199)),a=r(12293),o=n(r(58628)),s=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,f=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,l=function(t){return(0,o.default)(t)||t===t.trim()};function c(){var t=this;if(!(this instanceof c))return new c;i.default.call(this,{type:"string"}),this.withMutation(function(){t.transform(function(t){return this.isType(t)?t:null!=t&&t.toString?t.toString():t})})}(0,u.default)(c,i.default,{_typeCheck:function(t){return t instanceof String&&(t=t.valueOf()),"string"==typeof t},_isPresent:function(t){return i.default.prototype._cast.call(this,t)&&t.length>0},length:function(t,e){return void 0===e&&(e=a.string.length),this.test({message:e,name:"length",exclusive:!0,params:{length:t},test:function(e){return(0,o.default)(e)||e.length===this.resolve(t)}})},min:function(t,e){return void 0===e&&(e=a.string.min),this.test({message:e,name:"min",exclusive:!0,params:{min:t},test:function(e){return(0,o.default)(e)||e.length>=this.resolve(t)}})},max:function(t,e){return void 0===e&&(e=a.string.max),this.test({name:"max",exclusive:!0,message:e,params:{max:t},test:function(e){return(0,o.default)(e)||e.length<=this.resolve(t)}})},matches:function(t,e){var r,n=!1;return e&&(e.message||e.hasOwnProperty("excludeEmptyString")?(n=e.excludeEmptyString,r=e.message):r=e),this.test({message:r||a.string.matches,params:{regex:t},test:function(e){return(0,o.default)(e)||""===e&&n||t.test(e)}})},email:function(t){return void 0===t&&(t=a.string.email),this.matches(s,{message:t,excludeEmptyString:!0})},url:function(t){return void 0===t&&(t=a.string.url),this.matches(f,{message:t,excludeEmptyString:!0})},ensure:function(){return this.default("").transform(function(t){return null===t?"":t})},trim:function(t){return void 0===t&&(t=a.string.trim),this.transform(function(t){return null!=t?t.trim():t}).test({message:t,name:"trim",test:l})},lowercase:function(t){return void 0===t&&(t=a.string.lowercase),this.transform(function(t){return(0,o.default)(t)?t:t.toLowerCase()}).test({message:t,name:"string_case",exclusive:!0,test:function(t){return(0,o.default)(t)||t===t.toLowerCase()}})},uppercase:function(t){return void 0===t&&(t=a.string.uppercase),this.transform(function(t){return(0,o.default)(t)?t:t.toUpperCase()}).test({message:t,name:"string_case",exclusive:!0,test:function(t){return(0,o.default)(t)||t===t.toUpperCase()}})}}),t.exports=e.default},79473:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.createErrorFactory=d,e.default=function(t){var e=t.name,r=t.message,n=t.test,a=t.params;function l(t){var l=t.value,h=t.path,p=t.label,v=t.options,m=t.originalValue,_=t.sync,y=(0,u.default)(t,["value","path","label","options","originalValue","sync"]),x=v.parent,g=function(t){return s.default.isRef(t)?t.getValue({value:l,parent:x,context:v.context}):t},F=d({message:r,path:h,value:l,originalValue:m,params:a,label:p,resolve:g,name:e}),b=(0,i.default)({path:h,parent:x,type:e,createError:F,resolve:g,options:v},y);return function(t,e,r,n){var u=t.call(e,r);if(!n)return Promise.resolve(u);if(c(u))throw new Error('Validation test of type: "'+e.type+'" returned a Promise during a synchronous validate. This test will finish after the validate call has returned');return f.SynchronousPromise.resolve(u)}(n,b,l,_).then(function(t){if(o.default.isError(t))throw t;if(!t)throw F()})}return l.OPTIONS=t,l};var u=n(r(66820)),i=n(r(448)),a=n(r(53792)),o=n(r(81699)),s=n(r(44618)),f=r(63958),l=o.default.formatError,c=function(t){return t&&"function"==typeof t.then&&"function"==typeof t.catch};function d(t){var e=t.value,r=t.label,n=t.resolve,s=t.originalValue,f=(0,u.default)(t,["value","label","resolve","originalValue"]);return function(t){var u=void 0===t?{}:t,c=u.path,d=void 0===c?f.path:c,h=u.message,p=void 0===h?f.message:h,v=u.type,m=void 0===v?f.name:v,_=u.params;return _=(0,i.default)({path:d,value:e,originalValue:s,label:r},function(t,e,r){return(0,a.default)((0,i.default)({},t,e),r)}(f.params,_,n)),(0,i.default)(new o.default(l(p,_),e,d,m),{params:_})}}},9122:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=function(t,e,r){t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),(0,u.default)(t.prototype,r)};var u=n(r(448));t.exports=e.default},58628:(t,e)=>{"use strict";e.__esModule=!0,e.default=void 0,e.default=function(t){return null==t},t.exports=e.default},3098:(t,e)=>{"use strict";e.__esModule=!0,e.default=void 0,e.default=function(t){return t&&t.__isYupSchema__},t.exports=e.default},43138:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t){var e,n,u=[1,4,5,6,7,10,11],i=0;if(n=r.exec(t)){for(var a,o=0;a=u[o];++o)n[a]=+n[a]||0;n[2]=(+n[2]||1)-1,n[3]=+n[3]||1,n[7]=n[7]?String(n[7]).substr(0,3):0,void 0!==n[8]&&""!==n[8]||void 0!==n[9]&&""!==n[9]?("Z"!==n[8]&&void 0!==n[9]&&(i=60*n[10]+n[11],"+"===n[9]&&(i=0-i)),e=Date.UTC(n[1],n[2],n[3],n[4],n[5]+i,n[6],n[7])):e=+new Date(n[1],n[2],n[3],n[4],n[5],n[6],n[7])}else e=Date.parse?Date.parse(t):NaN;return e};var r=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;t.exports=e.default},29331:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return t.reduce(function(t,e){var n=r.shift();return t+(null==n?"":n)+e}).replace(/^\./,"")},t.exports=e.default},38853:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=function t(e,r){for(var n in r)if((0,u.default)(r,n)){var o=r[n],s=e[n];if(void 0===s)e[n]=o;else{if(s===o)continue;(0,i.default)(s)?(0,i.default)(o)&&(e[n]=o.concat(s)):a(s)?a(o)&&(e[n]=t(s,o)):Array.isArray(s)&&Array.isArray(o)&&(e[n]=o.concat(s))}}return e};var u=n(r(23973)),i=n(r(3098)),a=function(t){return"[object Object]"===Object.prototype.toString.call(t)};t.exports=e.default},74107:(t,e)=>{"use strict";e.__esModule=!0,e.default=function(t,e){var r=o(t,e);return null!==r?r:JSON.stringify(t,function(t,r){var n=o(this[t],e);return null!==n?n:r},2)};var r=Object.prototype.toString,n=Error.prototype.toString,u=RegExp.prototype.toString,i="undefined"!=typeof Symbol?Symbol.prototype.toString:function(){return""},a=/^Symbol\((.*)\)(.*)$/;function o(t,e){if(void 0===e&&(e=!1),null==t||!0===t||!1===t)return""+t;var o=typeof t;if("number"===o)return function(t){return t!=+t?"NaN":0===t&&1/t<0?"-0":""+t}(t);if("string"===o)return e?'"'+t+'"':t;if("function"===o)return"[Function "+(t.name||"anonymous")+"]";if("symbol"===o)return i.call(t).replace(a,"Symbol($1)");var s=r.call(t).slice(8,-1);return"Date"===s?isNaN(t.getTime())?""+t:t.toISOString(t):"Error"===s||t instanceof Error?"["+n.call(t)+"]":"RegExp"===s?u.call(t):null}t.exports=e.default},55058:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.getIn=o,e.default=void 0;var u=r(18479),i=n(r(23973)),a=function(t){return t.substr(0,t.length-1).substr(1)};function o(t,e,r,n){var o,s,f;return n=n||r,e?((0,u.forEach)(e,function(u,l,c){var d=l?a(u):u;if(c||(0,i.default)(t,"_subType")){var h=c?parseInt(d,10):0;if(t=t.resolve({context:n,parent:o,value:r})._subType,r){if(c&&h>=r.length)throw new Error("Yup.reach cannot resolve an array item at index: "+u+", in the path: "+e+". because there is no value at that index. ");r=r[h]}}if(!c){if(t=t.resolve({context:n,parent:o,value:r}),!(0,i.default)(t,"fields")||!(0,i.default)(t.fields,d))throw new Error("The schema does not contain the path: "+e+". (failed at: "+f+' which is a type: "'+t._type+'") ');t=t.fields[d],o=r,r=r&&r[d],s=d,f=l?"["+u+"]":"."+u}}),{schema:t,parent:o,parentPath:s}):{parent:o,parentPath:e,schema:t}}e.default=function(t,e,r,n){return o(t,e,r,n).schema}},65638:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.propagateErrors=function(t,e){return t?null:function(t){return e.push(t),t.value}},e.settled=f,e.collectErrors=l,e.default=function(t){var e,r,n,i=t.endEarly,a=(0,u.default)(t,["endEarly"]);return i?(e=a.validations,r=a.value,n=a.sync,o(n).all(e).catch(function(t){throw"ValidationError"===t.name&&(t.value=r),t}).then(function(){return r})):l(a)};var u=n(r(66820)),i=r(63958),a=n(r(81699)),o=function(t){return t?i.SynchronousPromise:Promise},s=function(t){return void 0===t&&(t=[]),t.inner&&t.inner.length?t.inner:[].concat(t)};function f(t,e){var r=o(e);return r.all(t.map(function(t){return r.resolve(t).then(function(t){return{fulfilled:!0,value:t}},function(t){return{fulfilled:!1,value:t}})}))}function l(t){var e=t.validations,r=t.value,n=t.path,u=t.sync,i=t.errors,o=t.sort;return i=s(i),f(e,u).then(function(t){var e=t.filter(function(t){return!t.fulfilled}).reduce(function(t,e){var r=e.value;if(!a.default.isError(r))throw r;return t.concat(r)},[]);if(o&&e.sort(o),(i=e.concat(i)).length)throw new a.default(i,r,n);return r})}},20055:(t,e)=>{"use strict";function r(t,e){var r=1/0;return t.some(function(t,n){if(-1!==e.path.indexOf(t))return r=n,!0}),r}e.__esModule=!0,e.default=function(t){var e=Object.keys(t);return function(t,n){return r(e,t)-r(e,n)}},t.exports=e.default},43630:(t,e,r)=>{"use strict";var n=r(34169);e.__esModule=!0,e.default=function(t,e){void 0===e&&(e=[]);var r=[],n=[];function f(t,u){var i=(0,a.split)(t)[0];~n.indexOf(i)||n.push(i),~e.indexOf(u+"-"+i)||r.push([u,i])}for(var l in t)if((0,u.default)(t,l)){var c=t[l];~n.indexOf(l)||n.push(l),o.default.isRef(c)&&c.isSibling?f(c.path,l):(0,s.default)(c)&&c._deps&&c._deps.forEach(function(t){return f(t,l)})}return i.default.array(n,r).reverse()};var u=n(r(23973)),i=n(r(99556)),a=r(18479),o=n(r(44618)),s=n(r(3098));t.exports=e.default},448:t=>{function e(){return t.exports=e=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},t.exports.__esModule=!0,t.exports.default=t.exports,e.apply(null,arguments)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},34169:t=>{t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},54168:(t,e,r)=>{var n=r(8114).default;function u(e,r){if("function"==typeof WeakMap)var i=new WeakMap,a=new WeakMap;return(t.exports=u=function(t,e){if(!e&&t&&t.__esModule)return t;var r,u,o={__proto__:null,default:t};if(null===t||"object"!=n(t)&&"function"!=typeof t)return o;if(r=e?a:i){if(r.has(t))return r.get(t);r.set(t,o)}for(var s in t)"default"!==s&&{}.hasOwnProperty.call(t,s)&&((u=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(t,s))&&(u.get||u.set)?r(o,s,u):o[s]=t[s]);return o},t.exports.__esModule=!0,t.exports.default=t.exports)(e,r)}t.exports=u,t.exports.__esModule=!0,t.exports.default=t.exports},66820:t=>{t.exports=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r},t.exports.__esModule=!0,t.exports.default=t.exports},82683:t=>{t.exports=function(t,e){return e||(e=t.slice(0)),t.raw=e,t},t.exports.__esModule=!0,t.exports.default=t.exports},8114:t=>{function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[5177],{25281:(t,e,n)=>{n.d(e,{n:()=>o});var r=["#FF9300","#38A2E8","#7A76E8","#B679C7","#F7847B","#D9584F","#FFCD52","#5DC786","#40BCC3","#40C2BB"];function o(t){return t.map(function(t,e){return Object.assign(Object.assign({},t),{color:r[e%r.length]})})}},10334:(t,e,n)=>{n.d(e,{f:()=>B});var r=n(32735),o=n(8935),a=n(72306),i=n.n(a),l=n(70312),u=n.n(l),c=n(23481),s=n(75896),f=n(25281);function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e,n,r){var o={},a=t[e];return null==a||a.forEach(function(t){var e,r=t.name||"Unknown";r&&!(null==n?void 0:n.includes(r.toLowerCase()))&&(o[r]=null!==(e=o[r])&&void 0!==e?e:0,o[r]+=t.count)}),(0,f.n)(s.m.sortBy(Object.keys(o).map(function(t){return{name:r?r(t):t,y:o[t],type:"pie"}}),"name"))}var d=n(99183),m=n(62798),v=n(34354);function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function g(t,e,n){return(e=function(t){var e=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==b(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=g(g({},m.t.Login,"login_group_by"),m.t.VideoView,"video_view_group_by"),S=g(g(g(g(g({},v.k.YearGroup,"yearGroups"),v.k.Role,"role"),v.a.ContentType,"contentType"),v.a.Subject,"subject"),v.a.Topic,"topic"),w=v.k.YearGroup,E=g(g({},m.t.Login,g(g({},v.k.YearGroup,"totalStudentLogins"),v.k.Role,"totalLogins")),m.t.VideoView,g(g(g(g(g({},v.k.YearGroup,"totalStudentViews"),v.k.Role,"totalViews"),v.a.ContentType,"totalViews"),v.a.Subject,"totalViews"),v.a.Topic,"totalViews")),A=g(g({},m.t.Login,"logins"),m.t.VideoView,"views"),C={title:{text:null},credits:{enabled:!1},chart:{backgroundColor:"transparent",spacing:[0,0,0,0]},plotOptions:{pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!1},showInLegend:!0}}},j=n(39709);function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function k(t,e){var n=h[t];return e?n+"_single":n}function I(t,e){return Object.assign(Object.assign({},C),{series:[{type:"pie",name:e,data:t}]})}function N(t,e){switch(e){case v.k.YearGroup:return function(t){var e,n,r=t.findIndex(function(t){return"Staff"===t.name});if(r>-1){var o=(e=t.splice(r,1),n=1,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,l=[],u=!0,c=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(e,n)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];t.push(o)}return t.sort(function(t,e){var n,r;return parseInt(null===(n=t.name.match(/\d+/))||void 0===n?void 0:n[0])-parseInt(null===(r=e.name.match(/\d+/))||void 0===r?void 0:r[0])})}(y(t,"yearGroupCount",["staff","unknown"]));case v.k.Role:return y(t,"userTypeCount",null,j.j);case v.a.ContentType:return y(t,"contentTypeCount")}}const O={totalCount:"wWFbs",chartContainer:"qJ6EX"};function L(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var _=c.T.encloseNamespace("shared.userActivityPieChart");function V(t){var e=function(t,e){var n,r=[v.k.YearGroup,v.k.Role];return t===m.t.VideoView&&r.push(v.a.ContentType),e&&r.push.apply(r,function(t){if(Array.isArray(t))return T(t)}(n=e.map(function(t){return t.type}))||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(n)||function(t,e){if(t){if("string"==typeof t)return T(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(t,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),r}(t.eventType,t.customGroupBy);return r.createElement(o.Z,{align:"end"},r.createElement(o.Z.Toggle,{id:"group-by-dropdown",variant:"outline-dark",className:"no-caret"},_(S[t.selectedOption])),r.createElement(o.Z.Menu,null,e.map(function(e,n){return t.selectedOption!==e&&r.createElement(o.Z.Item,{key:n,onClick:function(){return t.onSelect(e)}},_(S[e]))})))}function B(t){var e,n,o,a,l,c=(a=r.useState((e=t.eventType,n=!!t.objectId,o=localStorage.getItem(k(e,n)),S[o]?o:w)),l=2,function(t){if(Array.isArray(t))return t}(a)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,l=[],u=!0,c=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(a,l)||function(t,e){if(t){if("string"==typeof t)return L(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?L(t,e):void 0}}(a,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=c[0],f=c[1];(0,d.I)();var p,y,m,v=N(t.events,s),b=function(t){var e;return null!==(e=null==t?void 0:t.reduce(function(t,e){return t+e.y},0))&&void 0!==e?e:null}(v),g=(p=s,y=t.customGroupBy,Array.isArray(y)?null===(m=y.find(function(t){return t.type===p}))||void 0===m?void 0:m.getComponent:void 0);return r.createElement(r.Fragment,null,r.createElement("div",{className:"d-flex align-items-start justify-content-between w-100"},r.createElement("div",null,r.createElement("h3",{className:"h6 m-0"},_(E[t.eventType][s])),"number"==typeof b&&r.createElement("strong",{className:O.totalCount},b)),r.createElement(V,{eventType:t.eventType,selectedOption:s,onSelect:function(e){!function(t,e,n){localStorage.setItem(k(t,n),e)}(t.eventType,e,!!t.objectId),f(e)},customGroupBy:t.customGroupBy})),!!g&&g(),!g&&((null==v?void 0:v.length)?r.createElement(u(),{highcharts:i(),options:I(v,_(A[t.eventType])),containerProps:{className:"".concat(O.chartContainer," position-absolute w-100 h-75 flex-grow-1")}}):t.emptyStateComponent))}},24814:(t,e,n)=>{n.d(e,{J:()=>a});var r=n(32735);const o={partialHeading:"UVI0o",partialSelector:"kSt5B",partialCount:"uuZBw"};function a(){return r.createElement("div",{className:"d-flex align-items-start justify-content-between"},r.createElement("div",null,r.createElement("div",{className:"partial-loading-background mb-2 ".concat(o.partialHeading)}),r.createElement("div",{className:"partial-loading-background ".concat(o.partialCount)})),r.createElement("div",{className:"partial-loading-background rounded ".concat(o.partialSelector)}))}},34354:(t,e,n)=>{var r,o;n.d(e,{a:()=>o,k:()=>r}),function(t){t.YearGroup="year_group",t.Role="role"}(r||(r={})),function(t){t.ContentType="content_type",t.Subject="subject",t.Topic="topic"}(o||(o={}))},37851:(t,e,n)=>{var r;n.d(e,{N:()=>r,d:()=>o}),function(t){t.ORANGE="#F8981D",t.BLUE="#38A2E8",t.DARK="#313543",t.YELLOW="#FFCD52",t.PURPLE="#7A76E8",t.GREEN="#5DC786"}(r||(r={}));var o={fontSize:"14px",fontFamily:'"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"',fontWeight:"400",color:r.DARK}},62798:(t,e,n)=>{var r;n.d(e,{t:()=>r}),function(t){t.Login="login",t.VideoView="video_view"}(r||(r={}))},99183:(t,e,n)=>{n.d(e,{I:()=>a});var r=n(2948),o=n(79489);function a(){(0,r.D)(o.y.LEFT_NAV_STATE)}},9977:(t,e,n)=>{n.d(e,{n:()=>l});var r=n(32735),o=n(2948),a=n(79489);function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t){var e,n,l,u=(n=(0,o.D)(a.y.AUDIENCE_FILTER_SELECTED_COUNT),l=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,a,i,l=[],u=!0,c=!1;try{if(a=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=a.call(n)).done)&&(l.push(r.value),l.length!==e);u=!0);}catch(t){c=!0,o=t}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return l}}(n,l)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(n,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];(0,r.useEffect)(function(){t.data?u(t.data.userCount):u(null)},[null===(e=t.data)||void 0===e?void 0:e.userCount])}},39709:(t,e,n)=>{n.d(e,{$:()=>u,j:()=>l});var r=n(23481),o=n(76881),a=n(37851),i=r.T.encloseNamespace("reportsShared.utils");function l(t){switch(t){case o.Y.Learner:return i("student");case o.Y.Staff:return i("staff");default:return t}}function u(t){switch(t){case o.Y.Learner:return a.N.BLUE;case o.Y.Unknown:case o.Y.Staff:return a.N.ORANGE;default:return a.N.BLUE}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[5802],{20455:(e,t,n)=>{"use strict";n.d(t,{LB:()=>Xe,y9:()=>ut,g4:()=>te,Lg:()=>ae,we:()=>de,pE:()=>E,ey:()=>I,VK:()=>M,_8:()=>C,hI:()=>N,Cj:()=>Ke,O1:()=>Ye,Zj:()=>Ze,VT:()=>v,Dy:()=>h});var r=n(32735),o=n(12788),i=n(17592);const a={display:"none"};function l(e){let{id:t,value:n}=e;return r.createElement("div",{id:t,style:a},n)}function s(e){let{id:t,announcement:n,ariaLiveType:o="assertive"}=e;return r.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":o,"aria-atomic":!0},n)}const u=(0,r.createContext)(null),c={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},d={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function f(e){let{announcements:t=d,container:n,hiddenTextDescribedById:a,screenReaderInstructions:f=c}=e;const{announce:g,announcement:p}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),v=(0,i.Ld)("DndLiveRegion"),[h,m]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{m(!0)},[]),function(e){const t=(0,r.useContext)(u);(0,r.useEffect)(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,r.useMemo)(()=>({onDragStart(e){let{active:n}=e;g(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&g(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;g(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;g(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;g(t.onDragCancel({active:n,over:r}))}}),[g,t])),!h)return null;const y=r.createElement(r.Fragment,null,r.createElement(l,{id:a,value:f.draggable}),r.createElement(s,{id:v,announcement:p}));return n?(0,o.createPortal)(y,n):y}var g;function p(){}function v(e,t){return(0,r.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(g||(g={}));const m=Object.freeze({x:0,y:0});function y(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function b(e,t){const n=(0,i.DC)(e);return n?(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%":"0 0"}function w(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function R(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function x(e){let{left:t,top:n,height:r,width:o}=e;return[{x:t,y:n},{x:t+o,y:n},{x:t,y:n+r},{x:t+o,y:n+r}]}function C(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function S(e,t,n){return void 0===t&&(t=e.left),void 0===n&&(n=e.top),{x:t+.5*e.width,y:n+.5*e.height}}const E=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=S(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=y(S(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(w)},I=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=x(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=x(r),a=o.reduce((e,t,r)=>e+y(n[r],t),0),l=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:l}})}}return i.sort(w)};function P(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),o=Math.min(t.left+t.width,e.left+e.width),i=Math.min(t.top+t.height,e.top+e.height),a=o-r,l=i-n;if(r<o&&n<i){const n=t.width*t.height,r=e.width*e.height,o=a*l;return Number((o/(n+r-o)).toFixed(4))}return 0}const B=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=P(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(R)};function D(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:m}function k(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((t,n)=>({...t,top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),{...t})}}const A=k(1);function O(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}const F={ignoreTransform:!1};function M(e,t){void 0===t&&(t=F);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:t}=(0,i.Jj)(e),{transform:r,transformOrigin:o}=t(e);r&&(n=function(e,t,n){const r=O(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:l}=r,s=e.left-a-(1-o)*parseFloat(n),u=e.top-l-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),c=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:c,height:d,top:u,right:s+c,bottom:u+d,left:s}}(n,r,o))}const{top:r,left:o,width:a,height:l,bottom:s,right:u}=n;return{top:r,left:o,width:a,height:l,bottom:s,right:u}}function T(e){return M(e,{ignoreTransform:!0})}function N(e,t){const n=[];return e?function r(o){if(null!=t&&n.length>=t)return n;if(!o)return n;if((0,i.qk)(o)&&null!=o.scrollingElement&&!n.includes(o.scrollingElement))return n.push(o.scrollingElement),n;if(!(0,i.Re)(o)||(0,i.vZ)(o))return n;if(n.includes(o))return n;const{getComputedStyle:a}=(0,i.Jj)(o),l=a(o);return o!==e&&function(e,t){void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(e=>{const r=t[e];return"string"==typeof r&&n.test(r)})}(o,l)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,l)?n:r(o.parentNode)}(e):n}function G(e){const[t]=N(e,1);return null!=t?t:null}function L(e){return i.Nq&&e?(0,i.FJ)(e)?e:(0,i.UG)(e)?(0,i.qk)(e)||e===(0,i.r3)(e).scrollingElement?window:(0,i.Re)(e)?e:null:null:null}function z(e){return(0,i.FJ)(e)?e.scrollX:e.scrollLeft}function H(e){return(0,i.FJ)(e)?e.scrollY:e.scrollTop}function j(e){return{x:z(e),y:H(e)}}var W;function V(e){return!(!i.Nq||!e)&&e===document.scrollingElement}function X(e){const t={x:0,y:0},n=V(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height};return{isTop:e.scrollTop<=t.y,isLeft:e.scrollLeft<=t.x,isBottom:e.scrollTop>=r.y,isRight:e.scrollLeft>=r.x,maxScroll:r,minScroll:t}}!function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"}(W||(W={}));const _={x:.2,y:.2};function q(e,t,n,r,o){let{top:i,left:a,right:l,bottom:s}=n;void 0===r&&(r=10),void 0===o&&(o=_);const{isTop:u,isBottom:c,isLeft:d,isRight:f}=X(e),g={x:0,y:0},p={x:0,y:0},v=t.height*o.y,h=t.width*o.x;return!u&&i<=t.top+v?(g.y=W.Backward,p.y=r*Math.abs((t.top+v-i)/v)):!c&&s>=t.bottom-v&&(g.y=W.Forward,p.y=r*Math.abs((t.bottom-v-s)/v)),!f&&l>=t.right-h?(g.x=W.Forward,p.x=r*Math.abs((t.right-h-l)/h)):!d&&a<=t.left+h&&(g.x=W.Backward,p.x=r*Math.abs((t.left+h-a)/h)),{direction:g,speed:p}}function U(e){if(e===document.scrollingElement){const{innerWidth:e,innerHeight:t}=window;return{top:0,left:0,right:e,bottom:t,width:e,height:t}}const{top:t,left:n,right:r,bottom:o}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:o,width:e.clientWidth,height:e.clientHeight}}function Y(e){return e.reduce((e,t)=>(0,i.IH)(e,j(t)),m)}function K(e,t){if(void 0===t&&(t=M),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);G(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const J=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+z(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+H(t),0)}]];class ${constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=N(t),r=Y(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of J)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),a=r[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Z{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function Q(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return"number"==typeof t?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t&&r>t.y}var ee,te;function ne(e){e.preventDefault()}function re(e){e.stopPropagation()}!function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"}(ee||(ee={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(te||(te={}));const oe={start:[te.Space,te.Enter],cancel:[te.Esc],end:[te.Space,te.Enter]},ie=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case te.Right:return{...n,x:n.x+25};case te.Left:return{...n,x:n.x-25};case te.Down:return{...n,y:n.y+25};case te.Up:return{...n,y:n.y-25}}};class ae{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Z((0,i.r3)(t)),this.windowListeners=new Z((0,i.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(ee.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&K(n),t(m)}handleKeyDown(e){if((0,i.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=oe,coordinateGetter:a=ie,scrollBehavior:l="smooth"}=r,{code:s}=e;if(o.end.includes(s))return void this.handleEnd(e);if(o.cancel.includes(s))return void this.handleCancel(e);const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:m;this.referenceCoordinates||(this.referenceCoordinates=c);const d=a(e,{active:t,context:n.current,currentCoordinates:c});if(d){const t=(0,i.$X)(d,c),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:s,isBottom:u,maxScroll:c,minScroll:f}=X(n),g=U(n),p={x:Math.min(o===te.Right?g.right-g.width/2:g.right,Math.max(o===te.Right?g.left:g.left+g.width/2,d.x)),y:Math.min(o===te.Down?g.bottom-g.height/2:g.bottom,Math.max(o===te.Down?g.top:g.top+g.height/2,d.y))},v=o===te.Right&&!a||o===te.Left&&!s,h=o===te.Down&&!u||o===te.Up&&!i;if(v&&p.x!==d.x){const e=n.scrollLeft+t.x,i=o===te.Right&&e<=c.x||o===te.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=i?n.scrollLeft-e:o===te.Right?n.scrollLeft-c.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(h&&p.y!==d.y){const e=n.scrollTop+t.y,i=o===te.Down&&e<=c.y||o===te.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=i?n.scrollTop-e:o===te.Down?n.scrollTop-c.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,(0,i.IH)((0,i.$X)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function le(e){return Boolean(e&&"distance"in e)}function se(e){return Boolean(e&&"delay"in e)}ae.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=oe,onActivation:o}=t,{active:i}=n;const{code:a}=e.nativeEvent;if(r.start.includes(a)){const t=i.activatorNode.current;return!(t&&e.target!==t||(e.preventDefault(),null==o||o({event:e.nativeEvent}),0))}return!1}}];class ue{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,i.Jj)(e);return e instanceof t?e:(0,i.r3)(e)}(e.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=e,this.events=t;const{event:o}=e,{target:a}=o;this.props=e,this.events=t,this.document=(0,i.r3)(a),this.documentListeners=new Z(this.document),this.listeners=new Z(n),this.windowListeners=new Z((0,i.Jj)(a)),this.initialCoordinates=null!=(r=(0,i.DC)(o))?r:m,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:e,props:{options:{activationConstraint:t}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),this.windowListeners.add(ee.Resize,this.handleCancel),this.windowListeners.add(ee.DragStart,ne),this.windowListeners.add(ee.VisibilityChange,this.handleCancel),this.windowListeners.add(ee.ContextMenu,ne),this.documentListeners.add(ee.Keydown,this.handleKeydown),t){if(le(t))return;if(se(t))return void(this.timeoutId=setTimeout(this.handleStart,t.delay))}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(ee.Click,re,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(ee.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:o}=this,{onMove:a,options:{activationConstraint:l}}=o;if(!r)return;const s=null!=(t=(0,i.DC)(e))?t:m,u=(0,i.$X)(r,s);if(!n&&l){if(se(l))return Q(u,l.tolerance)?this.handleCancel():void 0;if(le(l))return null!=l.tolerance&&Q(u,l.tolerance)?this.handleCancel():Q(u,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(s)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===te.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ce={move:{name:"pointermove"},end:{name:"pointerup"}};class de extends ue{constructor(e){const{event:t}=e,n=(0,i.r3)(t.target);super(e,ce,n)}}de.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!(!n.isPrimary||0!==n.button||(null==r||r({event:n}),0))}}];const fe={move:{name:"mousemove"},end:{name:"mouseup"}};var ge;!function(e){e[e.RightClick=2]="RightClick"}(ge||(ge={})),class extends ue{constructor(e){super(e,fe,(0,i.r3)(e.event.target))}}.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==ge.RightClick&&(null==r||r({event:n}),!0)}}];const pe={move:{name:"touchmove"},end:{name:"touchend"}};var ve,he;(class extends ue{constructor(e){super(e,pe)}static setup(){return window.addEventListener(pe.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(pe.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:o}=n;return!(o.length>1||(null==r||r({event:n}),0))}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(ve||(ve={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(he||(he={}));const me={x:{[W.Backward]:!1,[W.Forward]:!1},y:{[W.Backward]:!1,[W.Forward]:!1}};var ye,be;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ye||(ye={})),function(e){e.Optimized="optimized"}(be||(be={}));const we=new Map;function Re(e,t){return(0,i.Gj)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function xe(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(o)},[n]);return(0,r.useEffect)(()=>()=>null==a?void 0:a.disconnect(),[a]),a}function Ce(e){return new $(M(e),e)}function Se(e,t,n){void 0===t&&(t=Ce);const[o,a]=(0,r.useReducer)(function(r){if(!e)return null;var o;if(!1===e.isConnected)return null!=(o=null!=r?r:n)?o:null;const i=t(e);return JSON.stringify(r)===JSON.stringify(i)?r:i},null),l=function(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(o)},[o,n]);return(0,r.useEffect)(()=>()=>null==a?void 0:a.disconnect(),[a]),a}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){a();break}}}}),s=xe({callback:a});return(0,i.LI)(()=>{a(),e?(null==s||s.observe(e),null==l||l.observe(document.body,{childList:!0,subtree:!0})):(null==s||s.disconnect(),null==l||l.disconnect())},[e]),o}const Ee=[];function Ie(e,t){void 0===t&&(t=[]);const n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{n.current=null},t),(0,r.useEffect)(()=>{const t=e!==m;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,i.$X)(e,n.current):m}function Pe(e){return(0,r.useMemo)(()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}const Be=[];function De(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,i.Re)(t)?t:e}const ke=[{sensor:de,options:{}},{sensor:ae,options:{}}],Ae={current:{}},Oe={draggable:{measure:T},droppable:{measure:T,strategy:ye.WhileDragging,frequency:be.Optimized},dragOverlay:{measure:M}};class Fe extends Map{get(e){var t;return null!=e&&null!=(t=super.get(e))?t:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(e=>{let{disabled:t}=e;return!t})}getNodeFor(e){var t,n;return null!=(t=null==(n=this.get(e))?void 0:n.node.current)?t:void 0}}const Me={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Fe,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:p},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Oe,measureDroppableContainers:p,windowRect:null,measuringScheduled:!1},Te={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:p,draggableNodes:new Map,over:null,measureDroppableContainers:p},Ne=(0,r.createContext)(Te),Ge=(0,r.createContext)(Me);function Le(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Fe}}}function ze(e,t){switch(t.type){case g.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case g.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case g.DragEnd:case g.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case g.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Fe(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case g.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const a=new Fe(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case g.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Fe(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function He(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(Ne),l=(0,i.D9)(o),s=(0,i.D9)(null==n?void 0:n.id);return(0,r.useEffect)(()=>{if(!t&&!o&&l&&null!=s){if(!(0,i.vd)(l))return;if(document.activeElement===l.target)return;const e=a.get(s);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,i.so)(e);if(t){t.focus();break}}})}},[o,t,a,s,l]),null}function je(e,t){let{transform:n,...r}=t;return null!=e&&e.length?e.reduce((e,t)=>t({transform:e,...r}),n):n}const We=(0,r.createContext)({...m,scaleX:1,scaleY:1});var Ve;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ve||(Ve={}));const Xe=(0,r.memo)(function(e){var t,n,a,l;let{id:s,accessibility:c,autoScroll:d=!0,children:p,sensors:v=ke,collisionDetection:h=B,measuring:y,modifiers:b,...w}=e;const R=(0,r.useReducer)(ze,void 0,Le),[x,S]=R,[E,I]=function(){const[e]=(0,r.useState)(()=>new Set),t=(0,r.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,r.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[P,k]=(0,r.useState)(Ve.Uninitialized),O=P===Ve.Initialized,{draggable:{active:F,nodes:T,translate:z},droppable:{containers:H}}=x,X=F?T.get(F):null,_=(0,r.useRef)({initial:null,translated:null}),U=(0,r.useMemo)(()=>{var e;return null!=F?{id:F,data:null!=(e=null==X?void 0:X.data)?e:Ae,rect:_}:null},[F,X]),K=(0,r.useRef)(null),[J,Z]=(0,r.useState)(null),[Q,ee]=(0,r.useState)(null),te=(0,i.Ey)(w,Object.values(w)),ne=(0,i.Ld)("DndDescribedBy",s),re=(0,r.useMemo)(()=>H.getEnabled(),[H]),oe=(ie=y,(0,r.useMemo)(()=>({draggable:{...Oe.draggable,...null==ie?void 0:ie.draggable},droppable:{...Oe.droppable,...null==ie?void 0:ie.droppable},dragOverlay:{...Oe.dragOverlay,...null==ie?void 0:ie.dragOverlay}}),[null==ie?void 0:ie.draggable,null==ie?void 0:ie.droppable,null==ie?void 0:ie.dragOverlay]));var ie;const{droppableRects:ae,measureDroppableContainers:le,measuringScheduled:se}=function(e,t){let{dragging:n,dependencies:o,config:a}=t;const[l,s]=(0,r.useState)(null),u=null!=l,{frequency:c,measure:d,strategy:f}=a,g=(0,r.useRef)(e),p=function(){switch(f){case ye.Always:return!1;case ye.BeforeDragging:return n;default:return!n}}(),v=(0,i.Ey)(p),h=(0,r.useCallback)(function(e){void 0===e&&(e=[]),v.current||s(t=>t?t.concat(e):e)},[v]),m=(0,r.useRef)(null),y=(0,i.Gj)(t=>{if(p&&!n)return we;const r=l;if(!t||t===we||g.current!==e||null!=r){const t=new Map;for(let n of e){if(!n)continue;if(r&&r.length>0&&!r.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,o=e?new $(d(e),e):null;n.rect.current=o,o&&t.set(n.id,o)}return t}return t},[e,l,n,p,d]);return(0,r.useEffect)(()=>{g.current=e},[e]),(0,r.useEffect)(()=>{p||requestAnimationFrame(()=>h())},[n,p]),(0,r.useEffect)(()=>{u&&s(null)},[u]),(0,r.useEffect)(()=>{p||"number"!=typeof c||null!==m.current||(m.current=setTimeout(()=>{h(),m.current=null},c))},[c,p,h,...o]),{droppableRects:y,measureDroppableContainers:h,measuringScheduled:u}}(re,{dragging:O,dependencies:[z.x,z.y],config:oe.droppable}),ue=function(e,t){const n=null!==t?e.get(t):void 0,r=n?n.node.current:null;return(0,i.Gj)(e=>{var n;return null===t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(T,F),ce=(0,r.useMemo)(()=>Q?(0,i.DC)(Q):null,[Q]),de=function(){const e=!1===(null==J?void 0:J.autoScrollEnabled),t="object"==typeof d?!1===d.enabled:!1===d,n=O&&!e&&!t;return"object"==typeof d?{...d,enabled:n}:{enabled:n}}(),fe=function(e,t){return Re(e,t)}(ue,oe.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:o,config:a=!0}=e;const l=(0,r.useRef)(!1),{x:s,y:u}="boolean"==typeof a?{x:a,y:a}:a;(0,i.LI)(()=>{if(!s&&!u||!t)return void(l.current=!1);if(l.current||!o)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const r=D(n(e),o);if(s||(r.x=0),u||(r.y=0),l.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=G(e);t&&t.scrollBy({top:r.y,left:r.x})}},[t,s,u,o,n])}({activeNode:F?T.get(F):null,config:de.layoutShiftCompensation,initialRect:fe,measure:oe.draggable.measure});const ge=Se(ue,oe.draggable.measure,fe),pe=Se(ue?ue.parentElement:null),be=(0,r.useRef)({activatorEvent:null,active:null,activeNode:ue,collisionRect:null,collisions:null,droppableRects:ae,draggableNodes:T,draggingNode:null,draggingNodeRect:null,droppableContainers:H,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ce=H.getNodeFor(null==(t=be.current.over)?void 0:t.id),Fe=function(e){let{measure:t}=e;const[n,o]=(0,r.useState)(null),a=xe({callback:(0,r.useCallback)(e=>{for(const{target:n}of e)if((0,i.Re)(n)){o(e=>{const r=t(n);return e?{...e,width:r.width,height:r.height}:r});break}},[t])}),l=(0,r.useCallback)(e=>{const n=De(e);null==a||a.disconnect(),n&&(null==a||a.observe(n)),o(n?t(n):null)},[t,a]),[s,u]=(0,i.wm)(l);return(0,r.useMemo)(()=>({nodeRef:s,rect:n,setRef:u}),[n,s,u])}({measure:oe.dragOverlay.measure}),Me=null!=(n=Fe.nodeRef.current)?n:ue,Te=O?null!=(a=Fe.rect)?a:ge:null,Xe=Boolean(Fe.nodeRef.current&&Fe.rect),_e=D(qe=Xe?null:ge,Re(qe));var qe;const Ue=Pe(Me?(0,i.Jj)(Me):null),Ye=function(e){const t=(0,r.useRef)(e),n=(0,i.Gj)(n=>e?n&&n!==Ee&&e&&t.current&&e.parentNode===t.current.parentNode?n:N(e):Ee,[e]);return(0,r.useEffect)(()=>{t.current=e},[e]),n}(O?null!=Ce?Ce:ue:null),Ke=function(e,t){void 0===t&&(t=M);const[n]=e,o=Pe(n?(0,i.Jj)(n):null),[a,l]=(0,r.useReducer)(function(){return e.length?e.map(e=>V(e)?o:new $(t(e),e)):Be},Be),s=xe({callback:l});return e.length>0&&a===Be&&l(),(0,i.LI)(()=>{e.length?e.forEach(e=>null==s?void 0:s.observe(e)):(null==s||s.disconnect(),l())},[e]),a}(Ye),Je=je(b,{transform:{x:z.x-_e.x,y:z.y-_e.y,scaleX:1,scaleY:1},activatorEvent:Q,active:U,activeNodeRect:ge,containerNodeRect:pe,draggingNodeRect:Te,over:be.current.over,overlayNodeRect:Fe.rect,scrollableAncestors:Ye,scrollableAncestorRects:Ke,windowRect:Ue}),$e=ce?(0,i.IH)(ce,z):null,Ze=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)(e=>{const t=L(e.target);t&&n(e=>e?(e.set(t,j(t)),new Map(e)):null)},[]);return(0,r.useEffect)(()=>{const t=o.current;if(e!==t){r(t);const i=e.map(e=>{const t=L(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,j(t)]):null}).filter(e=>null!=e);n(i.length?new Map(i):null),o.current=e}return()=>{r(e),r(t)};function r(e){e.forEach(e=>{const t=L(e);null==t||t.removeEventListener("scroll",a)})}},[a,e]),(0,r.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,i.IH)(e,t),m):Y(e):m,[e,t])}(Ye),Qe=Ie(Ze),et=Ie(Ze,[ge]),tt=(0,i.IH)(Je,Qe),nt=Te?A(Te,Je):null,rt=U&&nt?h({active:U,collisionRect:nt,droppableRects:ae,droppableContainers:re,pointerCoordinates:$e}):null,ot=C(rt,"id"),[it,at]=(0,r.useState)(null),lt=function(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}(Xe?Je:(0,i.IH)(Je,et),null!=(l=null==it?void 0:it.rect)?l:null,ge),st=(0,r.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==K.current)return;const i=T.get(K.current);if(!i)return;const a=e.nativeEvent,l=new n({active:K.current,activeNode:i,event:a,options:r,context:be,onStart(e){const t=K.current;if(null==t)return;const n=T.get(t);if(!n)return;const{onDragStart:r}=te.current,i={active:{id:t,data:n.data,rect:_}};(0,o.unstable_batchedUpdates)(()=>{null==r||r(i),k(Ve.Initializing),S({type:g.DragStart,initialCoordinates:e,active:t}),E({type:"onDragStart",event:i})})},onMove(e){S({type:g.DragMove,coordinates:e})},onEnd:s(g.DragEnd),onCancel:s(g.DragCancel)});function s(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=be.current;let l=null;if(t&&i){const{cancelDrop:o}=te.current;l={activatorEvent:a,active:t,collisions:n,delta:i,over:r},e===g.DragEnd&&"function"==typeof o&&await Promise.resolve(o(l))&&(e=g.DragCancel)}K.current=null,(0,o.unstable_batchedUpdates)(()=>{S({type:e}),k(Ve.Uninitialized),at(null),Z(null),ee(null);const t=e===g.DragEnd?"onDragEnd":"onDragCancel";if(l){const e=te.current[t];null==e||e(l),E({type:t,event:l})}})}}(0,o.unstable_batchedUpdates)(()=>{Z(l),ee(e.nativeEvent)})},[T]),ut=(0,r.useCallback)((e,t)=>(n,r)=>{const o=n.nativeEvent,i=T.get(r);if(null!==K.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},K.current=r,st(n,t))},[T,st]),ct=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}))]},[]),[e,t])}(v,ut);!function(e){(0,r.useEffect)(()=>{if(!i.Nq)return;const t=e.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(const e of t)null==e||e()}},e.map(e=>{let{sensor:t}=e;return t}))}(v),(0,i.LI)(()=>{ge&&P===Ve.Initializing&&k(Ve.Initialized)},[ge,P]),(0,r.useEffect)(()=>{const{onDragMove:e}=te.current,{active:t,activatorEvent:n,collisions:r,over:i}=be.current;if(!t||!n)return;const a={active:t,activatorEvent:n,collisions:r,delta:{x:tt.x,y:tt.y},over:i};(0,o.unstable_batchedUpdates)(()=>{null==e||e(a),E({type:"onDragMove",event:a})})},[tt.x,tt.y]),(0,r.useEffect)(()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=be.current;if(!e||null==K.current||!t||!i)return;const{onDragOver:a}=te.current,l=r.get(ot),s=l&&l.rect.current?{id:l.id,rect:l.rect.current,data:l.data,disabled:l.disabled}:null,u={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:s};(0,o.unstable_batchedUpdates)(()=>{at(s),null==a||a(u),E({type:"onDragOver",event:u})})},[ot]),(0,i.LI)(()=>{be.current={activatorEvent:Q,active:U,activeNode:ue,collisionRect:nt,collisions:rt,droppableRects:ae,draggableNodes:T,draggingNode:Me,draggingNodeRect:Te,droppableContainers:H,over:it,scrollableAncestors:Ye,scrollAdjustedTranslate:tt},_.current={initial:Te,translated:nt}},[U,ue,rt,nt,T,Me,Te,ae,H,it,Ye,tt]),function(e){let{acceleration:t,activator:n=ve.Pointer,canScroll:o,draggingRect:a,enabled:l,interval:s=5,order:u=he.TreeOrder,pointerCoordinates:c,scrollableAncestors:d,scrollableAncestorRects:f,delta:g,threshold:p}=e;const v=function(e){let{delta:t,disabled:n}=e;const r=(0,i.D9)(t);return(0,i.Gj)(e=>{if(n||!r||!e)return me;const o=Math.sign(t.x-r.x),i=Math.sign(t.y-r.y);return{x:{[W.Backward]:e.x[W.Backward]||-1===o,[W.Forward]:e.x[W.Forward]||1===o},y:{[W.Backward]:e.y[W.Backward]||-1===i,[W.Forward]:e.y[W.Forward]||1===i}}},[n,t,r])}({delta:g,disabled:!l}),[h,m]=(0,i.Yz)(),y=(0,r.useRef)({x:0,y:0}),b=(0,r.useRef)({x:0,y:0}),w=(0,r.useMemo)(()=>{switch(n){case ve.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case ve.DraggableRect:return a}},[n,a,c]),R=(0,r.useRef)(null),x=(0,r.useCallback)(()=>{const e=R.current;if(!e)return;const t=y.current.x*b.current.x,n=y.current.y*b.current.y;e.scrollBy(t,n)},[]),C=(0,r.useMemo)(()=>u===he.TreeOrder?[...d].reverse():d,[u,d]);(0,r.useEffect)(()=>{if(l&&d.length&&w){for(const e of C){if(!1===(null==o?void 0:o(e)))continue;const n=d.indexOf(e),r=f[n];if(!r)continue;const{direction:i,speed:a}=q(e,r,w,t,p);for(const e of["x","y"])v[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return m(),R.current=e,h(x,s),y.current=a,void(b.current=i)}y.current={x:0,y:0},b.current={x:0,y:0},m()}else m()},[t,x,o,m,l,s,JSON.stringify(w),JSON.stringify(v),h,d,C,f,JSON.stringify(p)])}({...de,delta:z,draggingRect:nt,pointerCoordinates:$e,scrollableAncestors:Ye,scrollableAncestorRects:Ke});const dt=(0,r.useMemo)(()=>({active:U,activeNode:ue,activeNodeRect:ge,activatorEvent:Q,collisions:rt,containerNodeRect:pe,dragOverlay:Fe,draggableNodes:T,droppableContainers:H,droppableRects:ae,over:it,measureDroppableContainers:le,scrollableAncestors:Ye,scrollableAncestorRects:Ke,measuringConfiguration:oe,measuringScheduled:se,windowRect:Ue}),[U,ue,ge,Q,rt,pe,Fe,T,H,ae,it,le,Ye,Ke,oe,se,Ue]),ft=(0,r.useMemo)(()=>({activatorEvent:Q,activators:ct,active:U,activeNodeRect:ge,ariaDescribedById:{draggable:ne},dispatch:S,draggableNodes:T,over:it,measureDroppableContainers:le}),[Q,ct,U,ge,S,ne,T,it,le]);return r.createElement(u.Provider,{value:I},r.createElement(Ne.Provider,{value:ft},r.createElement(Ge.Provider,{value:dt},r.createElement(We.Provider,{value:lt},p)),r.createElement(He,{disabled:!1===(null==c?void 0:c.restoreFocus)})),r.createElement(f,{...c,hiddenTextDescribedById:ne}))}),_e=(0,r.createContext)(null),qe="button",Ue="Droppable";function Ye(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const l=(0,i.Ld)(Ue),{activators:s,activatorEvent:u,active:c,activeNodeRect:d,ariaDescribedById:f,draggableNodes:g,over:p}=(0,r.useContext)(Ne),{role:v=qe,roleDescription:h="draggable",tabIndex:m=0}=null!=a?a:{},y=(null==c?void 0:c.id)===t,b=(0,r.useContext)(y?We:_e),[w,R]=(0,i.wm)(),[x,C]=(0,i.wm)(),S=function(e,t){return(0,r.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:o}=n;return e[r]=e=>{o(e,t)},e},{}),[e,t])}(s,t),E=(0,i.Ey)(n);return(0,i.LI)(()=>(g.set(t,{id:t,key:l,node:w,activatorNode:x,data:E}),()=>{const e=g.get(t);e&&e.key===l&&g.delete(t)}),[g,t]),{active:c,activatorEvent:u,activeNodeRect:d,attributes:(0,r.useMemo)(()=>({role:v,tabIndex:m,"aria-disabled":o,"aria-pressed":!(!y||v!==qe)||void 0,"aria-roledescription":h,"aria-describedby":f.draggable}),[o,v,m,y,h,f.draggable]),isDragging:y,listeners:o?void 0:S,node:w,over:p,setNodeRef:R,setActivatorNodeRef:C,transform:b}}function Ke(){return(0,r.useContext)(Ge)}const Je="Droppable",$e={timeout:25};function Ze(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const l=(0,i.Ld)(Je),{active:s,dispatch:u,over:c,measureDroppableContainers:d}=(0,r.useContext)(Ne),f=(0,r.useRef)({disabled:n}),p=(0,r.useRef)(!1),v=(0,r.useRef)(null),h=(0,r.useRef)(null),{disabled:m,updateMeasurementsFor:y,timeout:b}={...$e,...a},w=(0,i.Ey)(null!=y?y:o),R=xe({callback:(0,r.useCallback)(()=>{p.current?(null!=h.current&&clearTimeout(h.current),h.current=setTimeout(()=>{d(Array.isArray(w.current)?w.current:[w.current]),h.current=null},b)):p.current=!0},[b]),disabled:m||!s}),x=(0,r.useCallback)((e,t)=>{R&&(t&&(R.unobserve(t),p.current=!1),e&&R.observe(e))},[R]),[C,S]=(0,i.wm)(x),E=(0,i.Ey)(t);return(0,r.useEffect)(()=>{R&&C.current&&(R.disconnect(),p.current=!1,R.observe(C.current))},[C,R]),(0,i.LI)(()=>(u({type:g.RegisterDroppable,element:{id:o,key:l,disabled:n,node:C,rect:v,data:E}}),()=>u({type:g.UnregisterDroppable,key:l,id:o})),[o]),(0,r.useEffect)(()=>{n!==f.current.disabled&&(u({type:g.SetDroppableDisabled,id:o,key:l,disabled:n}),f.current.disabled=n)},[o,l,n,u]),{active:s,rect:v,isOver:(null==c?void 0:c.id)===o,node:C,over:c,setNodeRef:S}}function Qe(e){let{animation:t,children:n}=e;const[o,a]=(0,r.useState)(null),[l,s]=(0,r.useState)(null),u=(0,i.D9)(n);return n||o||!u||a(u),(0,i.LI)(()=>{if(!l)return;const e=null==o?void 0:o.key,n=null==o?void 0:o.props.id;null!=e&&null!=n?Promise.resolve(t(n,l)).then(()=>{a(null)}):a(null)},[t,o,l]),r.createElement(r.Fragment,null,n,o?(0,r.cloneElement)(o,{ref:s}):null)}const et={x:0,y:0,scaleX:1,scaleY:1};function tt(e){let{children:t}=e;return r.createElement(Ne.Provider,{value:Te},r.createElement(We.Provider,{value:et},t))}const nt={position:"fixed",touchAction:"none"},rt=e=>(0,i.vd)(e)?"transform 250ms ease":void 0,ot=(0,r.forwardRef)((e,t)=>{let{as:n,activatorEvent:o,adjustScale:a,children:l,className:s,rect:u,style:c,transform:d,transition:f=rt}=e;if(!u)return null;const g=a?d:{...d,scaleX:1,scaleY:1},p={...nt,width:u.width,height:u.height,top:u.top,left:u.left,transform:i.ux.Transform.toString(g),transformOrigin:a&&o?b(o,u):void 0,transition:"function"==typeof f?f(o):f,...c};return r.createElement(n,{className:s,style:p,ref:t},l)}),it=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&r.node.style.setProperty(e,t);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},at={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:i.ux.Transform.toString(t)},{transform:i.ux.Transform.toString(n)}]},sideEffects:it({styles:{active:{opacity:"0"}}})};let lt=0;function st(e){return(0,r.useMemo)(()=>{if(null!=e)return lt++,lt},[e])}const ut=r.memo(e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:a,transition:l,modifiers:s,wrapperElement:u="div",className:c,zIndex:d=999}=e;const{activatorEvent:f,active:g,activeNodeRect:p,containerNodeRect:v,draggableNodes:h,droppableContainers:m,dragOverlay:y,over:b,measuringConfiguration:w,scrollableAncestors:R,scrollableAncestorRects:x,windowRect:C}=Ke(),S=(0,r.useContext)(We),E=st(null==g?void 0:g.id),I=je(s,{activatorEvent:f,active:g,activeNodeRect:p,containerNodeRect:v,draggingNodeRect:y.rect,over:b,overlayNodeRect:y.rect,scrollableAncestors:R,scrollableAncestorRects:x,transform:S,windowRect:C}),P=Re(p),B=function(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return(0,i.zX)((e,a)=>{if(null===t)return;const l=n.get(e);if(!l)return;const s=l.node.current;if(!s)return;const u=De(a);if(!u)return;const{transform:c}=(0,i.Jj)(a).getComputedStyle(a),d=O(c);if(!d)return;const f="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...at,...e};return e=>{let{active:i,dragOverlay:a,transform:l,...s}=e;if(!t)return;const u=a.rect.left-i.rect.left,c=a.rect.top-i.rect.top,d={scaleX:1!==l.scaleX?i.rect.width*l.scaleX/a.rect.width:1,scaleY:1!==l.scaleY?i.rect.height*l.scaleY/a.rect.height:1},f={x:l.x-u,y:l.y-c,...d},g=o({...s,active:i,dragOverlay:a,transform:{initial:l,final:f}}),[p]=g,v=g[g.length-1];if(JSON.stringify(p)===JSON.stringify(v))return;const h=null==r?void 0:r({active:i,dragOverlay:a,...s}),m=a.node.animate(g,{duration:t,easing:n,fill:"forwards"});return new Promise(e=>{m.onfinish=()=>{null==h||h(),e()}})}}(t);return K(s,o.draggable.measure),f({active:{id:e,data:l.data,node:s,rect:o.draggable.measure(s)},draggableNodes:n,dragOverlay:{node:a,rect:o.dragOverlay.measure(u)},droppableContainers:r,measuringConfiguration:o,transform:d})})}({config:o,draggableNodes:h,droppableContainers:m,measuringConfiguration:w}),D=P?y.setRef:void 0;return r.createElement(tt,null,r.createElement(Qe,{animation:B},g&&E?r.createElement(ot,{key:E,id:g.id,ref:D,as:u,activatorEvent:f,adjustScale:t,className:c,transition:l,rect:P,style:{zIndex:d,...a},transform:I},n):null))})},95339:(e,t,n)=>{"use strict";n.d(t,{DL:()=>r}),n(17592);const r=({transform:e})=>({...e,x:0})},67445:(e,t,n)=>{"use strict";n.d(t,{Fo:()=>p,U2:()=>u,is:()=>S,nB:()=>R,qw:()=>d});var r=n(32735),o=n(20455),i=n(17592);function a(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function l(e,t){return e.reduce((e,n,r)=>{const o=t.get(n);return o&&(e[r]=o),e},Array(e.length))}function s(e){return null!==e&&e>=0}const u=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=a(t,r,n),l=t[o],s=i[o];return s&&l?{x:s.left-l.left,y:s.top-l.top,scaleX:s.width/l.width,scaleY:s.height/l.height}:null},c={scaleX:1,scaleY:1},d=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:o,rects:i,overIndex:a}=e;const l=null!=(t=i[n])?t:r;if(!l)return null;if(o===n){const e=i[a];return e?{x:0,y:n<a?e.top+e.height-(l.top+l.height):e.top-l.top,...c}:null}const s=function(e,t,n){const r=e[t],o=e[t-1],i=e[t+1];return r?n<t?o?r.top-(o.top+o.height):i?i.top-(r.top+r.height):0:i?i.top-(r.top+r.height):o?r.top-(o.top+o.height):0:0}(i,o,n);return o>n&&o<=a?{x:0,y:-l.height-s,...c}:o<n&&o>=a?{x:0,y:l.height+s,...c}:{x:0,y:0,...c}},f="Sortable",g=r.createContext({activeIndex:-1,containerId:f,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:u,disabled:{draggable:!1,droppable:!1}});function p(e){let{children:t,id:n,items:a,strategy:s=u,disabled:c=!1}=e;const{active:d,dragOverlay:p,droppableRects:v,over:h,measureDroppableContainers:m,measuringScheduled:y}=(0,o.Cj)(),b=(0,i.Ld)(f,n),w=Boolean(null!==p.rect),R=(0,r.useMemo)(()=>a.map(e=>"object"==typeof e&&"id"in e?e.id:e),[a]),x=null!=d,C=d?R.indexOf(d.id):-1,S=h?R.indexOf(h.id):-1,E=(0,r.useRef)(R),I=!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(R,E.current),P=-1!==S&&-1===C||I,B=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(c);(0,i.LI)(()=>{I&&x&&!y&&m(R)},[I,R,x,m,y]),(0,r.useEffect)(()=>{E.current=R},[R]);const D=(0,r.useMemo)(()=>({activeIndex:C,containerId:b,disabled:B,disableTransforms:P,items:R,overIndex:S,useDragOverlay:w,sortedRects:l(R,v),strategy:s}),[C,b,B.draggable,B.droppable,P,R,S,v,w,s]);return r.createElement(g.Provider,{value:D},t)}const v=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return a(n,r,o).indexOf(t)},h=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:l,previousContainerId:s,transition:u}=e;return!(!u||!r||l!==i&&o===a||!n&&(a===o||t!==s))},m={duration:200,easing:"ease"},y="transform",b=i.ux.Transition.toString({property:y,duration:0,easing:"linear"}),w={roleDescription:"sortable"};function R(e){let{animateLayoutChanges:t=h,attributes:n,disabled:a,data:l,getNewIndex:u=v,id:c,strategy:d,resizeObserverConfig:f,transition:p=m}=e;const{items:R,containerId:x,activeIndex:C,disabled:S,disableTransforms:E,sortedRects:I,overIndex:P,useDragOverlay:B,strategy:D}=(0,r.useContext)(g),k=function(e,t){var n,r;return"boolean"==typeof e?{draggable:e,droppable:!1}:{draggable:null!=(n=null==e?void 0:e.draggable)?n:t.draggable,droppable:null!=(r=null==e?void 0:e.droppable)?r:t.droppable}}(a,S),A=R.indexOf(c),O=(0,r.useMemo)(()=>({sortable:{containerId:x,index:A,items:R},...l}),[x,l,A,R]),F=(0,r.useMemo)(()=>R.slice(R.indexOf(c)),[R,c]),{rect:M,node:T,isOver:N,setNodeRef:G}=(0,o.Zj)({id:c,data:O,disabled:k.droppable,resizeObserverConfig:{updateMeasurementsFor:F,...f}}),{active:L,activatorEvent:z,activeNodeRect:H,attributes:j,setNodeRef:W,listeners:V,isDragging:X,over:_,setActivatorNodeRef:q,transform:U}=(0,o.O1)({id:c,data:O,attributes:{...w,...n},disabled:k.draggable}),Y=(0,i.HB)(G,W),K=Boolean(L),J=K&&!E&&s(C)&&s(P),$=!B&&X,Z=$&&J?U:null,Q=J?null!=Z?Z:(null!=d?d:D)({rects:I,activeNodeRect:H,activeIndex:C,overIndex:P,index:A}):null,ee=s(C)&&s(P)?u({id:c,items:R,activeIndex:C,overIndex:P}):A,te=null==L?void 0:L.id,ne=(0,r.useRef)({activeId:te,items:R,newIndex:ee,containerId:x}),re=R!==ne.current.items,oe=t({active:L,containerId:x,isDragging:X,isSorting:K,id:c,index:A,items:R,newIndex:ne.current.newIndex,previousItems:ne.current.items,previousContainerId:ne.current.containerId,transition:p,wasDragging:null!=ne.current.activeId}),ie=function(e){let{disabled:t,index:n,node:a,rect:l}=e;const[s,u]=(0,r.useState)(null),c=(0,r.useRef)(n);return(0,i.LI)(()=>{if(!t&&n!==c.current&&a.current){const e=l.current;if(e){const t=(0,o.VK)(a.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==c.current&&(c.current=n)},[t,n,a,l]),(0,r.useEffect)(()=>{s&&requestAnimationFrame(()=>{u(null)})},[s]),s}({disabled:!oe,index:A,node:T,rect:M});return(0,r.useEffect)(()=>{K&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),x!==ne.current.containerId&&(ne.current.containerId=x),R!==ne.current.items&&(ne.current.items=R)},[K,ee,x,R]),(0,r.useEffect)(()=>{if(te===ne.current.activeId)return;if(te&&!ne.current.activeId)return void(ne.current.activeId=te);const e=setTimeout(()=>{ne.current.activeId=te},50);return()=>clearTimeout(e)},[te]),{active:L,activeIndex:C,attributes:j,data:O,rect:M,index:A,newIndex:ee,items:R,isOver:N,isSorting:K,isDragging:X,listeners:V,node:T,overIndex:P,over:_,setNodeRef:Y,setActivatorNodeRef:q,setDroppableNodeRef:G,setDraggableNodeRef:W,transform:null!=ie?ie:Q,transition:ie||re&&ne.current.newIndex===A?b:$&&!(0,i.vd)(z)||!p?void 0:K||oe?i.ux.Transition.toString({...p,property:y}):void 0}}function x(e){if(!e)return!1;const t=e.data.current;return!!(t&&"sortable"in t&&"object"==typeof t.sortable&&"containerId"in t.sortable&&"items"in t.sortable&&"index"in t.sortable)}const C=[o.g4.Down,o.g4.Right,o.g4.Up,o.g4.Left],S=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:l,over:s,scrollableAncestors:u}}=t;if(C.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];l.getEnabled().forEach(n=>{if(!n||null!=n&&n.disabled)return;const i=a.get(n.id);if(i)switch(e.code){case o.g4.Down:r.top<i.top&&t.push(n);break;case o.g4.Up:r.top>i.top&&t.push(n);break;case o.g4.Left:r.left>i.left&&t.push(n);break;case o.g4.Right:r.left<i.left&&t.push(n)}});const f=(0,o.ey)({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null});let g=(0,o._8)(f,"id");if(g===(null==s?void 0:s.id)&&f.length>1&&(g=f[1].id),null!=g){const e=l.get(n.id),t=l.get(g),s=t?a.get(t.id):null,f=null==t?void 0:t.node.current;if(f&&s&&e&&t){const n=(0,o.hI)(f).some((e,t)=>u[t]!==e),a=E(e,t),l=(d=t,!(!x(c=e)||!x(d))&&!!E(c,d)&&c.data.current.sortable.index<d.data.current.sortable.index),g=n||!a?{x:0,y:0}:{x:l?r.width-s.width:0,y:l?r.height-s.height:0},p={x:s.left,y:s.top};return g.x&&g.y?p:(0,i.$X)(p,g)}}}var c,d};function E(e,t){return!(!x(e)||!x(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},17592:(e,t,n)=>{"use strict";n.d(t,{$X:()=>S,D9:()=>b,DC:()=>I,Ey:()=>h,FJ:()=>a,Gj:()=>m,HB:()=>o,IH:()=>C,Jj:()=>s,LI:()=>g,Ld:()=>R,Nq:()=>i,Re:()=>c,UG:()=>l,Yz:()=>v,qk:()=>u,r3:()=>f,so:()=>D,ux:()=>P,vZ:()=>d,vd:()=>E,wm:()=>y,zX:()=>p});var r=n(32735);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function l(e){return"nodeType"in e}function s(e){var t,n;return e?a(e)?e:l(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function u(e){const{Document:t}=s(e);return e instanceof t}function c(e){return!a(e)&&e instanceof s(e).HTMLElement}function d(e){return e instanceof s(e).SVGElement}function f(e){return e?a(e)?e.document:l(e)?u(e)?e:c(e)||d(e)?e.ownerDocument:document:document:document}const g=i?r.useLayoutEffect:r.useEffect;function p(e){const t=(0,r.useRef)(e);return g(()=>{t.current=e}),(0,r.useCallback)(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function v(){const e=(0,r.useRef)(null);return[(0,r.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,r.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function h(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return g(()=>{n.current!==e&&(n.current=e)},t),n}function m(e,t){const n=(0,r.useRef)();return(0,r.useMemo)(()=>{const t=e(n.current);return n.current=t,t},[...t])}function y(e){const t=p(e),n=(0,r.useRef)(null),o=(0,r.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,o]}function b(e){const t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current}let w={};function R(e,t){return(0,r.useMemo)(()=>{if(t)return t;const n=null==w[e]?0:w[e]+1;return w[e]=n,e+"-"+n},[e,t])}function x(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t},{...t})}}const C=x(1),S=x(-1);function E(e){if(!e)return!1;const{KeyboardEvent:t}=s(e.target);return t&&e instanceof t}function I(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=s(e.target);return t&&e instanceof t}(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return function(e){return"clientX"in e&&"clientY"in e}(e)?{x:e.clientX,y:e.clientY}:null}const P=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[P.Translate.toString(e),P.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),B="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function D(e){return e.matches(B)?e:e.querySelector(B)}},52178:function(e,t,n){!function(e,t){"use strict";function n(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){var a=e.apply(t,r);function l(e){n(a,o,i,l,s,"next",e)}function s(e){n(a,o,i,l,s,"throw",e)}l(void 0)})}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function a(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}t=t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t;var l={init:"init"},s=function(e){var t=e.value;return void 0===t?"":t},u=function(){return t.createElement(t.Fragment,null," ")},c={Cell:s,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function d(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce(function(e,t){var n=t.style,r=t.className;return e=o({},e,{},i(t,["style","className"])),n&&(e.style=e.style?o({},e.style||{},{},n||{}):n),r&&(e.className=e.className?e.className+" "+r:r),""===e.className&&delete e.className,e},{})}var f=function(e,t){return void 0===t&&(t={}),function(n){return void 0===n&&(n={}),[].concat(e,[n]).reduce(function(e,r){return function e(t,n,r){return"function"==typeof n?e({},n(t,r)):Array.isArray(n)?d.apply(void 0,[t].concat(n)):d(t,n)}(e,r,o({},t,{userProps:n}))},{})}},g=function(e,t,n,r){return void 0===n&&(n={}),e.reduce(function(e,t){return t(e,n)},t)},p=function(e,t,n){return void 0===n&&(n={}),e.forEach(function(e){e(t,n)})};function v(e,t,n,r){e.findIndex(function(e){return e.pluginName===n}),t.forEach(function(t){e.findIndex(function(e){return e.pluginName===t})})}function h(e,t){return"function"==typeof e?e(t):e}function m(e){var n=t.useRef();return n.current=e,t.useCallback(function(){return n.current},[])}var y="undefined"!=typeof document?t.useLayoutEffect:t.useEffect;function b(e,n){var r=t.useRef(!1);y(function(){r.current&&e(),r.current=!0},n)}function w(e,t,n){return void 0===n&&(n={}),function(r,i){void 0===i&&(i={});var a="string"==typeof r?t[r]:r;if(void 0===a)throw console.info(t),new Error("Renderer Error ☝️");return R(a,o({},e,{column:t},n,{},i))}}function R(e,n){return function(e){return"function"==typeof e&&(t=Object.getPrototypeOf(e)).prototype&&t.prototype.isReactComponent;var t}(r=e)||"function"==typeof r||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(r)?t.createElement(e,n):e;var r}function x(e,t,n){return void 0===n&&(n=0),e.map(function(e){return S(e=o({},e,{parent:t,depth:n})),e.columns&&(e.columns=x(e.columns,e,n+1)),e})}function C(e){return D(e,"columns")}function S(e){var t=e.id,n=e.accessor,r=e.Header;if("string"==typeof n){t=t||n;var o=n.split(".");n=function(e){return function(e,t){if(!t)return e;var n,r="function"==typeof t?t:JSON.stringify(t),o=I.get(r)||function(){var e=function(e){return function e(t,n){if(void 0===n&&(n=[]),Array.isArray(t))for(var r=0;r<t.length;r+=1)e(t[r],n);else n.push(t);return n}(e).map(function(e){return String(e).replace(".","_")}).join(".").replace(T,".").replace(N,"").split(".")}(t);return I.set(r,e),e}();try{n=o.reduce(function(e,t){return e[t]},e)}catch(e){}return void 0!==n?n:void 0}(e,o)}}if(!t&&"string"==typeof r&&r&&(t=r),!t&&e.columns)throw console.error(e),new Error('A column ID (or unique "Header" value) is required!');if(!t)throw console.error(e),new Error("A column ID (or string accessor) is required!");return Object.assign(e,{id:t,accessor:n}),e}function E(e,t){if(!t)throw new Error;return Object.assign(e,o({Header:u,Footer:u},c,{},t,{},e)),Object.assign(e,{originalWidth:e.width}),e}var I=new Map;function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0;r<t.length;r+=1)if(void 0!==t[r])return t[r]}function B(e){if("function"==typeof e)return e}function D(e,t){var n=[];return function e(r){r.forEach(function(r){r[t]?e(r[t]):n.push(r)})}(e),n}function k(e,t){var n=t.manualExpandedKey,r=t.expanded,o=t.expandSubRows,i=void 0===o||o,a=[];return e.forEach(function(e){return function e(t,o){void 0===o&&(o=!0),t.isExpanded=t.original&&t.original[n]||r[t.id],t.canExpand=t.subRows&&!!t.subRows.length,o&&a.push(t),t.subRows&&t.subRows.length&&t.isExpanded&&t.subRows.forEach(function(t){return e(t,i)})}(e)}),a}function A(e,t,n){return B(e)||t[e]||n[e]||n.text}function O(e,t,n){return e?e(t,n):void 0===t}function F(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var M=null,T=/\[/g,N=/\]/g,G=function(e){return o({role:"table"},e)},L=function(e){return o({role:"rowgroup"},e)},z=function(e,t){var n=t.column;return o({key:"header_"+n.id,colSpan:n.totalVisibleHeaderCount,role:"columnheader"},e)},H=function(e,t){var n=t.column;return o({key:"footer_"+n.id,colSpan:n.totalVisibleHeaderCount},e)},j=function(e,t){return o({key:"headerGroup_"+t.index,role:"row"},e)},W=function(e,t){return o({key:"footerGroup_"+t.index},e)},V=function(e,t){return o({key:"row_"+t.row.id,role:"row"},e)},X=function(e,t){var n=t.cell;return o({key:"cell_"+n.row.id+"_"+n.column.id,role:"cell"},e)};function _(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[G],getTableBodyProps:[L],getHeaderGroupProps:[j],getFooterGroupProps:[W],getHeaderProps:[z],getFooterProps:[H],getRowProps:[V],getCellProps:[X],useFinalInstance:[]}}l.resetHiddenColumns="resetHiddenColumns",l.toggleHideColumn="toggleHideColumn",l.setHiddenColumns="setHiddenColumns",l.toggleHideAllColumns="toggleHideAllColumns";var q=function(e){e.getToggleHiddenProps=[U],e.getToggleHideAllColumnsProps=[Y],e.stateReducers.push(K),e.useInstanceBeforeDimensions.push(J),e.headerGroupsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.hiddenColumns])}),e.useInstance.push($)};q.pluginName="useColumnVisibility";var U=function(e,t){var n=t.column;return[e,{onChange:function(e){n.toggleHidden(!e.target.checked)},style:{cursor:"pointer"},checked:n.isVisible,title:"Toggle Column Visible"}]},Y=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleHideAllColumns(!e.target.checked)},style:{cursor:"pointer"},checked:!n.allColumnsHidden&&!n.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!n.allColumnsHidden&&n.state.hiddenColumns.length}]};function K(e,t,n,r){if(t.type===l.init)return o({hiddenColumns:[]},e);if(t.type===l.resetHiddenColumns)return o({},e,{hiddenColumns:r.initialState.hiddenColumns||[]});if(t.type===l.toggleHideColumn){var i=(void 0!==t.value?t.value:!e.hiddenColumns.includes(t.columnId))?[].concat(e.hiddenColumns,[t.columnId]):e.hiddenColumns.filter(function(e){return e!==t.columnId});return o({},e,{hiddenColumns:i})}return t.type===l.setHiddenColumns?o({},e,{hiddenColumns:h(t.value,e.hiddenColumns)}):t.type===l.toggleHideAllColumns?o({},e,{hiddenColumns:(void 0!==t.value?t.value:!e.hiddenColumns.length)?r.allColumns.map(function(e){return e.id}):[]}):void 0}function J(e){var n=e.headers,r=e.state.hiddenColumns;t.useRef(!1).current;var o=0;n.forEach(function(e){return o+=function e(t,n){t.isVisible=n&&!r.includes(t.id);var o=0;return t.headers&&t.headers.length?t.headers.forEach(function(n){return o+=e(n,t.isVisible)}):o=t.isVisible?1:0,t.totalVisibleHeaderCount=o,o}(e,!0)})}function $(e){var n=e.columns,r=e.flatHeaders,o=e.dispatch,i=e.allColumns,a=e.getHooks,s=e.state.hiddenColumns,u=e.autoResetHiddenColumns,c=void 0===u||u,d=m(e),g=i.length===s.length,p=t.useCallback(function(e,t){return o({type:l.toggleHideColumn,columnId:e,value:t})},[o]),v=t.useCallback(function(e){return o({type:l.setHiddenColumns,value:e})},[o]),h=t.useCallback(function(e){return o({type:l.toggleHideAllColumns,value:e})},[o]),y=f(a().getToggleHideAllColumnsProps,{instance:d()});r.forEach(function(e){e.toggleHidden=function(t){o({type:l.toggleHideColumn,columnId:e.id,value:t})},e.getToggleHiddenProps=f(a().getToggleHiddenProps,{instance:d(),column:e})});var w=m(c);b(function(){w()&&o({type:l.resetHiddenColumns})},[o,n]),Object.assign(e,{allColumnsHidden:g,toggleHideColumn:p,setHiddenColumns:v,toggleHideAllColumns:h,getToggleHideAllColumnsProps:y})}var Z={},Q={},ee=function(e,t,n){return e},te=function(e,t){return e.subRows||[]},ne=function(e,t,n){return""+(n?[n.id,t].join("."):t)},re=function(e){return e};function oe(e){var t=e.initialState,n=void 0===t?Z:t,r=e.defaultColumn,a=void 0===r?Q:r,l=e.getSubRows,s=void 0===l?te:l,u=e.getRowId,c=void 0===u?ne:u,d=e.stateReducer,f=void 0===d?ee:d,g=e.useControlledState,p=void 0===g?re:g;return o({},i(e,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:n,defaultColumn:a,getSubRows:s,getRowId:c,stateReducer:f,useControlledState:p})}function ie(e,t){void 0===t&&(t=0);var n=0,r=0,o=0,i=0;return e.forEach(function(e){var a=e.headers;if(e.totalLeft=t,a&&a.length){var l=ie(a,t),s=l[0],u=l[1],c=l[2],d=l[3];e.totalMinWidth=s,e.totalWidth=u,e.totalMaxWidth=c,e.totalFlexWidth=d}else e.totalMinWidth=e.minWidth,e.totalWidth=Math.min(Math.max(e.minWidth,e.width),e.maxWidth),e.totalMaxWidth=e.maxWidth,e.totalFlexWidth=e.canResize?e.totalWidth:0;e.isVisible&&(t+=e.totalWidth,n+=e.totalMinWidth,r+=e.totalWidth,o+=e.totalMaxWidth,i+=e.totalFlexWidth)}),[n,r,o,i]}function ae(e){var t=e.data,n=e.rows,r=e.flatRows,o=e.rowsById,i=e.column,a=e.getRowId,l=e.getSubRows,s=e.accessValueHooks,u=e.getInstance;t.forEach(function(e,c){return function e(n,c,d,f,p){void 0===d&&(d=0);var v=n,h=a(n,c,f),m=o[h];if(m)m.subRows&&m.originalSubRows.forEach(function(t,n){return e(t,n,d+1,m)});else if((m={id:h,original:v,index:c,depth:d,cells:[{}]}).cells.map=F,m.cells.filter=F,m.cells.forEach=F,m.cells[0].getCellProps=F,m.values={},p.push(m),r.push(m),o[h]=m,m.originalSubRows=l(n,c),m.originalSubRows){var y=[];m.originalSubRows.forEach(function(t,n){return e(t,n,d+1,m,y)}),m.subRows=y}i.accessor&&(m.values[i.id]=i.accessor(n,c,m,p,t)),m.values[i.id]=g(s,m.values[i.id],{row:m,column:i,instance:u()})}(e,c,0,void 0,n)})}l.resetExpanded="resetExpanded",l.toggleRowExpanded="toggleRowExpanded",l.toggleAllRowsExpanded="toggleAllRowsExpanded";var le=function(e){e.getToggleAllRowsExpandedProps=[se],e.getToggleRowExpandedProps=[ue],e.stateReducers.push(ce),e.useInstance.push(de),e.prepareRow.push(fe)};le.pluginName="useExpanded";var se=function(e,t){var n=t.instance;return[e,{onClick:function(e){n.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},ue=function(e,t){var n=t.row;return[e,{onClick:function(){n.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function ce(e,t,n,r){if(t.type===l.init)return o({expanded:{}},e);if(t.type===l.resetExpanded)return o({},e,{expanded:r.initialState.expanded||{}});if(t.type===l.toggleAllRowsExpanded){var s=t.value,u=r.isAllRowsExpanded,c=r.rowsById;if(void 0!==s?s:!u){var d={};return Object.keys(c).forEach(function(e){d[e]=!0}),o({},e,{expanded:d})}return o({},e,{expanded:{}})}if(t.type===l.toggleRowExpanded){var f,g=t.id,p=t.value,v=e.expanded[g],h=void 0!==p?p:!v;if(!v&&h)return o({},e,{expanded:o({},e.expanded,(f={},f[g]=!0,f))});if(v&&!h){var m=e.expanded;return m[g],o({},e,{expanded:i(m,[g].map(a))})}return e}}function de(e){var n=e.data,r=e.rows,o=e.rowsById,i=e.manualExpandedKey,a=void 0===i?"expanded":i,s=e.paginateExpandedRows,u=void 0===s||s,c=e.expandSubRows,d=void 0===c||c,g=e.autoResetExpanded,p=void 0===g||g,h=e.getHooks,y=e.plugins,w=e.state.expanded,R=e.dispatch;v(y,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var x=m(p),C=Boolean(Object.keys(o).length&&Object.keys(w).length);C&&Object.keys(o).some(function(e){return!w[e]})&&(C=!1),b(function(){x()&&R({type:l.resetExpanded})},[R,n]);var S=t.useCallback(function(e,t){R({type:l.toggleRowExpanded,id:e,value:t})},[R]),E=t.useCallback(function(e){return R({type:l.toggleAllRowsExpanded,value:e})},[R]),I=t.useMemo(function(){return u?k(r,{manualExpandedKey:a,expanded:w,expandSubRows:d}):r},[u,r,a,w,d]),P=t.useMemo(function(){return function(e){var t=0;return Object.keys(e).forEach(function(e){var n=e.split(".");t=Math.max(t,n.length)}),t}(w)},[w]),B=m(e),D=f(h().getToggleAllRowsExpandedProps,{instance:B()});Object.assign(e,{preExpandedRows:r,expandedRows:I,rows:I,expandedDepth:P,isAllRowsExpanded:C,toggleRowExpanded:S,toggleAllRowsExpanded:E,getToggleAllRowsExpandedProps:D})}function fe(e,t){var n=t.instance.getHooks,r=t.instance;e.toggleRowExpanded=function(t){return r.toggleRowExpanded(e.id,t)},e.getToggleRowExpandedProps=f(n().getToggleRowExpandedProps,{instance:r,row:e})}var ge=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return String(r).toLowerCase().includes(String(n).toLowerCase())})})};ge.autoRemove=function(e){return!e};var pe=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r).toLowerCase()===String(n).toLowerCase()})})};pe.autoRemove=function(e){return!e};var ve=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return void 0===r||String(r)===String(n)})})};ve.autoRemove=function(e){return!e};var he=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t].includes(n)})})};he.autoRemove=function(e){return!e||!e.length};var me=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.every(function(e){return r.includes(e)})})})};me.autoRemove=function(e){return!e||!e.length};var ye=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return r&&r.length&&n.some(function(e){return r.includes(e)})})})};ye.autoRemove=function(e){return!e||!e.length};var be=function(e,t,n){return e.filter(function(e){return t.some(function(t){var r=e.values[t];return n.includes(r)})})};be.autoRemove=function(e){return!e||!e.length};var we=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]===n})})};we.autoRemove=function(e){return void 0===e};var Re=function(e,t,n){return e.filter(function(e){return t.some(function(t){return e.values[t]==n})})};Re.autoRemove=function(e){return null==e};var xe=function(e,t,n){var r=n||[],o=r[0],i=r[1];if((o="number"==typeof o?o:-1/0)>(i="number"==typeof i?i:1/0)){var a=o;o=i,i=a}return e.filter(function(e){return t.some(function(t){var n=e.values[t];return n>=o&&n<=i})})};xe.autoRemove=function(e){return!e||"number"!=typeof e[0]&&"number"!=typeof e[1]};var Ce=Object.freeze({__proto__:null,text:ge,exactText:pe,exactTextCase:ve,includes:he,includesAll:me,includesSome:ye,includesValue:be,exact:we,equals:Re,between:xe});l.resetFilters="resetFilters",l.setFilter="setFilter",l.setAllFilters="setAllFilters";var Se=function(e){e.stateReducers.push(Ee),e.useInstance.push(Ie)};function Ee(e,t,n,r){if(t.type===l.init)return o({filters:[]},e);if(t.type===l.resetFilters)return o({},e,{filters:r.initialState.filters||[]});if(t.type===l.setFilter){var i=t.columnId,a=t.filterValue,s=r.allColumns,u=r.filterTypes,c=s.find(function(e){return e.id===i});if(!c)throw new Error("React-Table: Could not find a column with id: "+i);var d=A(c.filter,u||{},Ce),f=e.filters.find(function(e){return e.id===i}),g=h(a,f&&f.value);return O(d.autoRemove,g,c)?o({},e,{filters:e.filters.filter(function(e){return e.id!==i})}):o({},e,f?{filters:e.filters.map(function(e){return e.id===i?{id:i,value:g}:e})}:{filters:[].concat(e.filters,[{id:i,value:g}])})}if(t.type===l.setAllFilters){var p=t.filters,v=r.allColumns,m=r.filterTypes;return o({},e,{filters:h(p,e.filters).filter(function(e){var t=v.find(function(t){return t.id===e.id});return!O(A(t.filter,m||{},Ce).autoRemove,e.value,t)})})}}function Ie(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,s=e.filterTypes,u=e.manualFilters,c=e.defaultCanFilter,d=void 0!==c&&c,f=e.disableFilters,g=e.state.filters,p=e.dispatch,v=e.autoResetFilters,h=void 0===v||v,y=t.useCallback(function(e,t){p({type:l.setFilter,columnId:e,filterValue:t})},[p]),w=t.useCallback(function(e){p({type:l.setAllFilters,filters:e})},[p]);a.forEach(function(e){var t=e.id,n=e.accessor,r=e.defaultCanFilter,o=e.disableFilters;e.canFilter=n?P(!0!==o&&void 0,!0!==f&&void 0,!0):P(r,d,!1),e.setFilter=function(t){return y(e.id,t)};var i=g.find(function(e){return e.id===t});e.filterValue=i&&i.value});var R=t.useMemo(function(){if(u||!g.length)return[r,o,i];var e=[],t={};return[function n(r,o){void 0===o&&(o=0);var i=r;return(i=g.reduce(function(e,t){var n=t.id,r=t.value,i=a.find(function(e){return e.id===n});if(!i)return e;0===o&&(i.preFilteredRows=e);var l=A(i.filter,s||{},Ce);return l?(i.filteredRows=l(e,[n],r),i.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+i.id+"."),e)},r)).forEach(function(r){e.push(r),t[r.id]=r,r.subRows&&(r.subRows=r.subRows&&r.subRows.length>0?n(r.subRows,o+1):r.subRows)}),i}(r),e,t]},[u,g,r,o,i,a,s]),x=R[0],C=R[1],S=R[2];t.useMemo(function(){a.filter(function(e){return!g.find(function(t){return t.id===e.id})}).forEach(function(e){e.preFilteredRows=x,e.filteredRows=x})},[x,g,a]);var E=m(h);b(function(){E()&&p({type:l.resetFilters})},[p,u?null:n]),Object.assign(e,{preFilteredRows:r,preFilteredFlatRows:o,preFilteredRowsById:i,filteredRows:x,filteredFlatRows:C,filteredRowsById:S,rows:x,flatRows:C,rowsById:S,setFilter:y,setAllFilters:w})}Se.pluginName="useFilters",l.resetGlobalFilter="resetGlobalFilter",l.setGlobalFilter="setGlobalFilter";var Pe=function(e){e.stateReducers.push(Be),e.useInstance.push(De)};function Be(e,t,n,r){if(t.type===l.resetGlobalFilter)return o({},e,{globalFilter:r.initialState.globalFilter||void 0});if(t.type===l.setGlobalFilter){var a=t.filterValue,s=r.userFilterTypes,u=A(r.globalFilter,s||{},Ce),c=h(a,e.globalFilter);return O(u.autoRemove,c)?(e.globalFilter,i(e,["globalFilter"])):o({},e,{globalFilter:c})}}function De(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,s=e.filterTypes,u=e.globalFilter,c=e.manualGlobalFilter,d=e.state.globalFilter,f=e.dispatch,g=e.autoResetGlobalFilter,p=void 0===g||g,v=e.disableGlobalFilter,h=t.useCallback(function(e){f({type:l.setGlobalFilter,filterValue:e})},[f]),y=t.useMemo(function(){if(c||void 0===d)return[r,o,i];var e=[],t={},n=A(u,s||{},Ce);if(!n)return console.warn("Could not find a valid 'globalFilter' option."),r;a.forEach(function(e){var t=e.disableGlobalFilter;e.canFilter=P(!0!==t&&void 0,!0!==v&&void 0,!0)});var l=a.filter(function(e){return!0===e.canFilter});return[function r(o){return(o=n(o,l.map(function(e){return e.id}),d)).forEach(function(n){e.push(n),t[n.id]=n,n.subRows=n.subRows&&n.subRows.length?r(n.subRows):n.subRows}),o}(r),e,t]},[c,d,u,s,a,r,o,i,v]),w=y[0],R=y[1],x=y[2],C=m(p);b(function(){C()&&f({type:l.resetGlobalFilter})},[f,c?null:n]),Object.assign(e,{preGlobalFilteredRows:r,preGlobalFilteredFlatRows:o,preGlobalFilteredRowsById:i,globalFilteredRows:w,globalFilteredFlatRows:R,globalFilteredRowsById:x,rows:w,flatRows:R,rowsById:x,setGlobalFilter:h,disableGlobalFilter:v})}function ke(e,t){return t.reduce(function(e,t){return e+("number"==typeof t?t:0)},0)}Pe.pluginName="useGlobalFilter";var Ae=Object.freeze({__proto__:null,sum:ke,min:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e))}),t},max:function(e){var t=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.max(t,e))}),t},minMax:function(e){var t=e[0]||0,n=e[0]||0;return e.forEach(function(e){"number"==typeof e&&(t=Math.min(t,e),n=Math.max(n,e))}),t+".."+n},average:function(e){return ke(0,e)/e.length},median:function(e){if(!e.length)return null;var t=Math.floor(e.length/2),n=[].concat(e).sort(function(e,t){return e-t});return e.length%2!=0?n[t]:(n[t-1]+n[t])/2},unique:function(e){return Array.from(new Set(e).values())},uniqueCount:function(e){return new Set(e).size},count:function(e){return e.length}}),Oe=[],Fe={};l.resetGroupBy="resetGroupBy",l.setGroupBy="setGroupBy",l.toggleGroupBy="toggleGroupBy";var Me=function(e){e.getGroupByToggleProps=[Te],e.stateReducers.push(Ne),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.groupBy])}),e.visibleColumns.push(Ge),e.useInstance.push(ze),e.prepareRow.push(He)};Me.pluginName="useGroupBy";var Te=function(e,t){var n=t.header;return[e,{onClick:n.canGroupBy?function(e){e.persist(),n.toggleGroupBy()}:void 0,style:{cursor:n.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Ne(e,t,n,r){if(t.type===l.init)return o({groupBy:[]},e);if(t.type===l.resetGroupBy)return o({},e,{groupBy:r.initialState.groupBy||[]});if(t.type===l.setGroupBy)return o({},e,{groupBy:t.value});if(t.type===l.toggleGroupBy){var i=t.columnId,a=t.value,s=void 0!==a?a:!e.groupBy.includes(i);return o({},e,s?{groupBy:[].concat(e.groupBy,[i])}:{groupBy:e.groupBy.filter(function(e){return e!==i})})}}function Ge(e,t){var n=t.instance.state.groupBy,r=n.map(function(t){return e.find(function(e){return e.id===t})}).filter(Boolean),o=e.filter(function(e){return!n.includes(e.id)});return(e=[].concat(r,o)).forEach(function(e){e.isGrouped=n.includes(e.id),e.groupedIndex=n.indexOf(e.id)}),e}var Le={};function ze(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.rowsById,a=e.allColumns,s=e.flatHeaders,u=e.groupByFn,c=void 0===u?je:u,d=e.manualGroupBy,g=e.aggregations,p=void 0===g?Le:g,h=e.plugins,y=e.state.groupBy,w=e.dispatch,R=e.autoResetGroupBy,x=void 0===R||R,C=e.disableGroupBy,S=e.defaultCanGroupBy,E=e.getHooks;v(h,["useColumnOrder","useFilters"],"useGroupBy");var I=m(e);a.forEach(function(t){var n=t.accessor,r=t.defaultGroupBy,o=t.disableGroupBy;t.canGroupBy=n?P(t.canGroupBy,!0!==o&&void 0,!0!==C&&void 0,!0):P(t.canGroupBy,r,S,!1),t.canGroupBy&&(t.toggleGroupBy=function(){return e.toggleGroupBy(t.id)}),t.Aggregated=t.Aggregated||t.Cell});var B=t.useCallback(function(e,t){w({type:l.toggleGroupBy,columnId:e,value:t})},[w]),k=t.useCallback(function(e){w({type:l.setGroupBy,value:e})},[w]);s.forEach(function(e){e.getGroupByToggleProps=f(E().getGroupByToggleProps,{instance:I(),header:e})});var A=t.useMemo(function(){if(d||!y.length)return[r,o,i,Oe,Fe,o,i];var e=y.filter(function(e){return a.find(function(t){return t.id===e})}),t=[],n={},l=[],s={},u=[],f={},g=function r(o,i,d){if(void 0===i&&(i=0),i===e.length)return o;var g=e[i],v=c(o,g);return Object.entries(v).map(function(o,c){var v=o[0],h=o[1],m=g+":"+v,y=r(h,i+1,m=d?d+">"+m:m),b=i?D(h,"leafRows"):h,w=function(t,n,r){var o={};return a.forEach(function(i){if(e.includes(i.id))o[i.id]=n[0]?n[0].values[i.id]:null;else{var a="function"==typeof i.aggregate?i.aggregate:p[i.aggregate]||Ae[i.aggregate];if(a){var l=n.map(function(e){return e.values[i.id]}),s=t.map(function(e){var t=e.values[i.id];if(!r&&i.aggregateValue){var n="function"==typeof i.aggregateValue?i.aggregateValue:p[i.aggregateValue]||Ae[i.aggregateValue];if(!n)throw console.info({column:i}),new Error("React Table: Invalid column.aggregateValue option for column listed above");t=n(t,e,i)}return t});o[i.id]=a(s,l)}else{if(i.aggregate)throw console.info({column:i}),new Error("React Table: Invalid column.aggregate option for column listed above");o[i.id]=null}}}),o}(b,h,i),R={id:m,isGrouped:!0,groupByID:g,groupByVal:v,values:w,subRows:y,leafRows:b,depth:i,index:c};return y.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(u.push(e),f[e.id]=e)}),R})}(r);return g.forEach(function(e){t.push(e),n[e.id]=e,e.isGrouped?(l.push(e),s[e.id]=e):(u.push(e),f[e.id]=e)}),[g,t,n,l,s,u,f]},[d,y,r,o,i,a,p,c]),O=A[0],F=A[1],M=A[2],T=A[3],N=A[4],G=A[5],L=A[6],z=m(x);b(function(){z()&&w({type:l.resetGroupBy})},[w,d?null:n]),Object.assign(e,{preGroupedRows:r,preGroupedFlatRow:o,preGroupedRowsById:i,groupedRows:O,groupedFlatRows:F,groupedRowsById:M,onlyGroupedFlatRows:T,onlyGroupedRowsById:N,nonGroupedFlatRows:G,nonGroupedRowsById:L,rows:O,flatRows:F,rowsById:M,toggleGroupBy:B,setGroupBy:k})}function He(e){e.allCells.forEach(function(t){var n;t.isGrouped=t.column.isGrouped&&t.column.id===e.groupByID,t.isPlaceholder=!t.isGrouped&&t.column.isGrouped,t.isAggregated=!t.isGrouped&&!t.isPlaceholder&&(null==(n=e.subRows)?void 0:n.length)})}function je(e,t){return e.reduce(function(e,n,r){var o=""+n.values[t];return e[o]=Array.isArray(e[o])?e[o]:[],e[o].push(n),e},{})}var We=/([0-9]+)/gm;function Ve(e,t){return e===t?0:e>t?1:-1}function Xe(e,t){return e.values[t]}function _e(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}var qe=Object.freeze({__proto__:null,alphanumeric:function(e,t,n){var r=Xe(e,n),o=Xe(t,n);for(r=_e(r),o=_e(o),r=r.split(We).filter(Boolean),o=o.split(We).filter(Boolean);r.length&&o.length;){var i=r.shift(),a=o.shift(),l=parseInt(i,10),s=parseInt(a,10),u=[l,s].sort();if(isNaN(u[0])){if(i>a)return 1;if(a>i)return-1}else{if(isNaN(u[1]))return isNaN(l)?-1:1;if(l>s)return 1;if(s>l)return-1}}return r.length-o.length},datetime:function(e,t,n){var r=Xe(e,n),o=Xe(t,n);return Ve(r=r.getTime(),o=o.getTime())},basic:function(e,t,n){return Ve(Xe(e,n),Xe(t,n))}});l.resetSortBy="resetSortBy",l.setSortBy="setSortBy",l.toggleSortBy="toggleSortBy",l.clearSortBy="clearSortBy",c.sortType="alphanumeric",c.sortDescFirst=!1;var Ue=function(e){e.getSortByToggleProps=[Ye],e.stateReducers.push(Ke),e.useInstance.push(Je)};Ue.pluginName="useSortBy";var Ye=function(e,t){var n=t.instance,r=t.column,o=n.isMultiSortEvent,i=void 0===o?function(e){return e.shiftKey}:o;return[e,{onClick:r.canSort?function(e){e.persist(),r.toggleSortBy(void 0,!n.disableMultiSort&&i(e))}:void 0,style:{cursor:r.canSort?"pointer":void 0},title:r.canSort?"Toggle SortBy":void 0}]};function Ke(e,t,n,r){if(t.type===l.init)return o({sortBy:[]},e);if(t.type===l.resetSortBy)return o({},e,{sortBy:r.initialState.sortBy||[]});if(t.type===l.clearSortBy)return o({},e,{sortBy:e.sortBy.filter(function(e){return e.id!==t.columnId})});if(t.type===l.setSortBy)return o({},e,{sortBy:t.sortBy});if(t.type===l.toggleSortBy){var i,a=t.columnId,s=t.desc,u=t.multi,c=r.allColumns,d=r.disableMultiSort,f=r.disableSortRemove,g=r.disableMultiRemove,p=r.maxMultiSortColCount,v=void 0===p?Number.MAX_SAFE_INTEGER:p,h=e.sortBy,m=c.find(function(e){return e.id===a}).sortDescFirst,y=h.find(function(e){return e.id===a}),b=h.findIndex(function(e){return e.id===a}),w=null!=s,R=[];return"toggle"!=(i=!d&&u?y?"toggle":"add":b!==h.length-1||1!==h.length?"replace":y?"toggle":"replace")||f||w||u&&g||!(y&&y.desc&&!m||!y.desc&&m)||(i="remove"),"replace"===i?R=[{id:a,desc:w?s:m}]:"add"===i?(R=[].concat(h,[{id:a,desc:w?s:m}])).splice(0,R.length-v):"toggle"===i?R=h.map(function(e){return e.id===a?o({},e,{desc:w?s:!y.desc}):e}):"remove"===i&&(R=h.filter(function(e){return e.id!==a})),o({},e,{sortBy:R})}}function Je(e){var n=e.data,r=e.rows,o=e.flatRows,i=e.allColumns,a=e.orderByFn,s=void 0===a?$e:a,u=e.sortTypes,c=e.manualSortBy,d=e.defaultCanSort,g=e.disableSortBy,p=e.flatHeaders,h=e.state.sortBy,y=e.dispatch,w=e.plugins,R=e.getHooks,x=e.autoResetSortBy,C=void 0===x||x;v(w,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var S=t.useCallback(function(e){y({type:l.setSortBy,sortBy:e})},[y]),E=t.useCallback(function(e,t,n){y({type:l.toggleSortBy,columnId:e,desc:t,multi:n})},[y]),I=m(e);p.forEach(function(e){var t=e.accessor,n=e.canSort,r=e.disableSortBy,o=e.id,i=t?P(!0!==r&&void 0,!0!==g&&void 0,!0):P(d,n,!1);e.canSort=i,e.canSort&&(e.toggleSortBy=function(t,n){return E(e.id,t,n)},e.clearSortBy=function(){y({type:l.clearSortBy,columnId:e.id})}),e.getSortByToggleProps=f(R().getSortByToggleProps,{instance:I(),column:e});var a=h.find(function(e){return e.id===o});e.isSorted=!!a,e.sortedIndex=h.findIndex(function(e){return e.id===o}),e.isSortedDesc=e.isSorted?a.desc:void 0});var D=t.useMemo(function(){if(c||!h.length)return[r,o];var e=[],t=h.filter(function(e){return i.find(function(t){return t.id===e.id})});return[function n(r){var o=s(r,t.map(function(e){var t=i.find(function(t){return t.id===e.id});if(!t)throw new Error("React-Table: Could not find a column with id: "+e.id+" while sorting");var n=t.sortType,r=B(n)||(u||{})[n]||qe[n];if(!r)throw new Error("React-Table: Could not find a valid sortType of '"+n+"' for column '"+e.id+"'.");return function(t,n){return r(t,n,e.id,e.desc)}}),t.map(function(e){var t=i.find(function(t){return t.id===e.id});return t&&t.sortInverted?e.desc:!e.desc}));return o.forEach(function(t){e.push(t),t.subRows&&0!==t.subRows.length&&(t.subRows=n(t.subRows))}),o}(r),e]},[c,h,r,o,i,s,u]),k=D[0],A=D[1],O=m(C);b(function(){O()&&y({type:l.resetSortBy})},[c?null:n]),Object.assign(e,{preSortedRows:r,preSortedFlatRows:o,sortedRows:k,sortedFlatRows:A,rows:k,flatRows:A,setSortBy:S,toggleSortBy:E})}function $e(e,t,n){return[].concat(e).sort(function(e,r){for(var o=0;o<t.length;o+=1){var i=t[o],a=!1===n[o]||"desc"===n[o],l=i(e,r);if(0!==l)return a?-l:l}return n[0]?e.index-r.index:r.index-e.index})}l.resetPage="resetPage",l.gotoPage="gotoPage",l.setPageSize="setPageSize";var Ze=function(e){e.stateReducers.push(Qe),e.useInstance.push(et)};function Qe(e,t,n,r){if(t.type===l.init)return o({pageSize:10,pageIndex:0},e);if(t.type===l.resetPage)return o({},e,{pageIndex:r.initialState.pageIndex||0});if(t.type===l.gotoPage){var i=r.pageCount,a=r.page,s=h(t.pageIndex,e.pageIndex),u=!1;return s>e.pageIndex?u=-1===i?a.length>=e.pageSize:s<i:s<e.pageIndex&&(u=s>-1),u?o({},e,{pageIndex:s}):e}if(t.type===l.setPageSize){var c=t.pageSize,d=e.pageSize*e.pageIndex;return o({},e,{pageIndex:Math.floor(d/c),pageSize:c})}}function et(e){var n=e.rows,r=e.autoResetPage,o=void 0===r||r,i=e.manualExpandedKey,a=void 0===i?"expanded":i,s=e.plugins,u=e.pageCount,c=e.paginateExpandedRows,d=void 0===c||c,f=e.expandSubRows,g=void 0===f||f,p=e.state,h=p.pageSize,y=p.pageIndex,w=p.expanded,R=p.globalFilter,x=p.filters,C=p.groupBy,S=p.sortBy,E=e.dispatch,I=e.data,P=e.manualPagination;v(s,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var B=m(o);b(function(){B()&&E({type:l.resetPage})},[E,P?null:I,R,x,C,S]);var D=P?u:Math.ceil(n.length/h),A=t.useMemo(function(){return D>0?[].concat(new Array(D)).fill(null).map(function(e,t){return t}):[]},[D]),O=t.useMemo(function(){var e;if(P)e=n;else{var t=h*y,r=t+h;e=n.slice(t,r)}return d?e:k(e,{manualExpandedKey:a,expanded:w,expandSubRows:g})},[g,w,a,P,y,h,d,n]),F=y>0,M=-1===D?O.length>=h:y<D-1,T=t.useCallback(function(e){E({type:l.gotoPage,pageIndex:e})},[E]),N=t.useCallback(function(){return T(function(e){return e-1})},[T]),G=t.useCallback(function(){return T(function(e){return e+1})},[T]),L=t.useCallback(function(e){E({type:l.setPageSize,pageSize:e})},[E]);Object.assign(e,{pageOptions:A,pageCount:D,page:O,canPreviousPage:F,canNextPage:M,gotoPage:T,previousPage:N,nextPage:G,setPageSize:L})}Ze.pluginName="usePagination",l.resetPivot="resetPivot",l.togglePivot="togglePivot";var tt=function(e){e.getPivotToggleProps=[rt],e.stateReducers.push(ot),e.useInstanceAfterData.push(it),e.allColumns.push(at),e.accessValue.push(lt),e.materializedColumns.push(st),e.materializedColumnsDeps.push(ut),e.visibleColumns.push(ct),e.visibleColumnsDeps.push(dt),e.useInstance.push(ft),e.prepareRow.push(gt)};tt.pluginName="usePivotColumns";var nt=[],rt=function(e,t){var n=t.header;return[e,{onClick:n.canPivot?function(e){e.persist(),n.togglePivot()}:void 0,style:{cursor:n.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function ot(e,t,n,r){if(t.type===l.init)return o({pivotColumns:nt},e);if(t.type===l.resetPivot)return o({},e,{pivotColumns:r.initialState.pivotColumns||nt});if(t.type===l.togglePivot){var i=t.columnId,a=t.value,s=void 0!==a?a:!e.pivotColumns.includes(i);return o({},e,s?{pivotColumns:[].concat(e.pivotColumns,[i])}:{pivotColumns:e.pivotColumns.filter(function(e){return e!==i})})}}function it(e){e.allColumns.forEach(function(t){t.isPivotSource=e.state.pivotColumns.includes(t.id)})}function at(e,t){var n=t.instance;return e.forEach(function(e){e.isPivotSource=n.state.pivotColumns.includes(e.id),e.uniqueValues=new Set}),e}function lt(e,t){var n=t.column;return n.uniqueValues&&void 0!==e&&n.uniqueValues.add(e),e}function st(e,t){var n=t.instance,r=n.allColumns,i=n.state;if(!i.pivotColumns.length||!i.groupBy||!i.groupBy.length)return e;var a=i.pivotColumns.map(function(e){return r.find(function(t){return t.id===e})}).filter(Boolean),l=r.filter(function(e){return!e.isPivotSource&&!i.groupBy.includes(e.id)&&!i.pivotColumns.includes(e.id)}),s=C(function e(t,n,r){void 0===t&&(t=0),void 0===r&&(r=[]);var i=a[t];return i?Array.from(i.uniqueValues).sort().map(function(a){var l=o({},i,{Header:i.PivotHeader||"string"==typeof i.header?i.Header+": "+a:a,isPivotGroup:!0,parent:n,depth:t,id:n?n.id+"."+i.id+"."+a:i.id+"."+a,pivotValue:a});return l.columns=e(t+1,l,[].concat(r,[function(e){return e.values[i.id]===a}])),l}):l.map(function(e){return o({},e,{canPivot:!1,isPivoted:!0,parent:n,depth:t,id:""+(n?n.id+"."+e.id:e.id),accessor:function(t,n,o){if(r.every(function(e){return e(o)}))return o.values[e.id]}})})}());return[].concat(e,s)}function ut(e,t){var n=t.instance.state,r=n.pivotColumns,o=n.groupBy;return[].concat(e,[r,o])}function ct(e,t){var n=t.instance.state;return e=e.filter(function(e){return!e.isPivotSource}),n.pivotColumns.length&&n.groupBy&&n.groupBy.length&&(e=e.filter(function(e){return e.isGrouped||e.isPivoted})),e}function dt(e,t){var n=t.instance;return[].concat(e,[n.state.pivotColumns,n.state.groupBy])}function ft(e){var t=e.columns,n=e.allColumns,r=e.flatHeaders,o=e.getHooks,i=e.plugins,a=e.dispatch,s=e.autoResetPivot,u=void 0===s||s,c=e.manaulPivot,d=e.disablePivot,g=e.defaultCanPivot;v(i,["useGroupBy"],"usePivotColumns");var p=m(e);n.forEach(function(t){var n=t.accessor,r=t.defaultPivot,o=t.disablePivot;t.canPivot=n?P(t.canPivot,!0!==o&&void 0,!0!==d&&void 0,!0):P(t.canPivot,r,g,!1),t.canPivot&&(t.togglePivot=function(){return e.togglePivot(t.id)}),t.Aggregated=t.Aggregated||t.Cell}),r.forEach(function(e){e.getPivotToggleProps=f(o().getPivotToggleProps,{instance:p(),header:e})});var h=m(u);b(function(){h()&&a({type:l.resetPivot})},[a,c?null:t]),Object.assign(e,{togglePivot:function(e,t){a({type:l.togglePivot,columnId:e,value:t})}})}function gt(e){e.allCells.forEach(function(e){e.isPivoted=e.column.isPivoted})}l.resetSelectedRows="resetSelectedRows",l.toggleAllRowsSelected="toggleAllRowsSelected",l.toggleRowSelected="toggleRowSelected",l.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var pt=function(e){e.getToggleRowSelectedProps=[vt],e.getToggleAllRowsSelectedProps=[ht],e.getToggleAllPageRowsSelectedProps=[mt],e.stateReducers.push(yt),e.useInstance.push(bt),e.prepareRow.push(wt)};pt.pluginName="useRowSelect";var vt=function(e,t){var n=t.instance,r=t.row,o=n.manualRowSelectedKey,i=void 0===o?"isSelected":o;return[e,{onChange:function(e){r.toggleRowSelected(e.target.checked)},style:{cursor:"pointer"},checked:!(!r.original||!r.original[i])||r.isSelected,title:"Toggle Row Selected",indeterminate:r.isSomeSelected}]},ht=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:Boolean(!n.isAllRowsSelected&&Object.keys(n.state.selectedRowIds).length)}]},mt=function(e,t){var n=t.instance;return[e,{onChange:function(e){n.toggleAllPageRowsSelected(e.target.checked)},style:{cursor:"pointer"},checked:n.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:Boolean(!n.isAllPageRowsSelected&&n.page.some(function(e){var t=e.id;return n.state.selectedRowIds[t]}))}]};function yt(e,t,n,r){if(t.type===l.init)return o({selectedRowIds:{}},e);if(t.type===l.resetSelectedRows)return o({},e,{selectedRowIds:r.initialState.selectedRowIds||{}});if(t.type===l.toggleAllRowsSelected){var i=t.value,a=r.isAllRowsSelected,s=r.rowsById,u=r.nonGroupedRowsById,c=void 0===u?s:u,d=void 0!==i?i:!a,f=Object.assign({},e.selectedRowIds);return d?Object.keys(c).forEach(function(e){f[e]=!0}):Object.keys(c).forEach(function(e){delete f[e]}),o({},e,{selectedRowIds:f})}if(t.type===l.toggleRowSelected){var g=t.id,p=t.value,v=r.rowsById,h=r.selectSubRows,m=void 0===h||h,y=r.getSubRows,b=e.selectedRowIds[g],w=void 0!==p?p:!b;if(b===w)return e;var R=o({},e.selectedRowIds);return function e(t){var n=v[t];if(n.isGrouped||(w?R[t]=!0:delete R[t]),m&&y(n))return y(n).forEach(function(t){return e(t.id)})}(g),o({},e,{selectedRowIds:R})}if(t.type===l.toggleAllPageRowsSelected){var x=t.value,C=r.page,S=r.rowsById,E=r.selectSubRows,I=void 0===E||E,P=r.isAllPageRowsSelected,B=r.getSubRows,D=void 0!==x?x:!P,k=o({},e.selectedRowIds);return C.forEach(function(e){return function e(t){var n=S[t];if(n.isGrouped||(D?k[t]=!0:delete k[t]),I&&B(n))return B(n).forEach(function(t){return e(t.id)})}(e.id)}),o({},e,{selectedRowIds:k})}return e}function bt(e){var n=e.data,r=e.rows,o=e.getHooks,i=e.plugins,a=e.rowsById,s=e.nonGroupedRowsById,u=void 0===s?a:s,c=e.autoResetSelectedRows,d=void 0===c||c,g=e.state.selectedRowIds,p=e.selectSubRows,h=void 0===p||p,y=e.dispatch,w=e.page,R=e.getSubRows;v(i,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var x=t.useMemo(function(){var e=[];return r.forEach(function(t){var n=h?function e(t,n,r){if(n[t.id])return!0;var o=r(t);if(o&&o.length){var i=!0,a=!1;return o.forEach(function(t){a&&!i||(e(t,n,r)?a=!0:i=!1)}),!!i||!!a&&null}return!1}(t,g,R):!!g[t.id];t.isSelected=!!n,t.isSomeSelected=null===n,n&&e.push(t)}),e},[r,h,g,R]),C=Boolean(Object.keys(u).length&&Object.keys(g).length),S=C;C&&Object.keys(u).some(function(e){return!g[e]})&&(C=!1),C||w&&w.length&&w.some(function(e){var t=e.id;return!g[t]})&&(S=!1);var E=m(d);b(function(){E()&&y({type:l.resetSelectedRows})},[y,n]);var I=t.useCallback(function(e){return y({type:l.toggleAllRowsSelected,value:e})},[y]),P=t.useCallback(function(e){return y({type:l.toggleAllPageRowsSelected,value:e})},[y]),B=t.useCallback(function(e,t){return y({type:l.toggleRowSelected,id:e,value:t})},[y]),D=m(e),k=f(o().getToggleAllRowsSelectedProps,{instance:D()}),A=f(o().getToggleAllPageRowsSelectedProps,{instance:D()});Object.assign(e,{selectedFlatRows:x,isAllRowsSelected:C,isAllPageRowsSelected:S,toggleRowSelected:B,toggleAllRowsSelected:I,getToggleAllRowsSelectedProps:k,getToggleAllPageRowsSelectedProps:A,toggleAllPageRowsSelected:P})}function wt(e,t){var n=t.instance;e.toggleRowSelected=function(t){return n.toggleRowSelected(e.id,t)},e.getToggleRowSelectedProps=f(n.getHooks().getToggleRowSelectedProps,{instance:n,row:e})}var Rt=function(e){return{}},xt=function(e){return{}};l.setRowState="setRowState",l.setCellState="setCellState",l.resetRowState="resetRowState";var Ct=function(e){e.stateReducers.push(St),e.useInstance.push(Et),e.prepareRow.push(It)};function St(e,t,n,r){var i=r.initialRowStateAccessor,a=void 0===i?Rt:i,s=r.initialCellStateAccessor,u=void 0===s?xt:s,c=r.rowsById;if(t.type===l.init)return o({rowState:{}},e);if(t.type===l.resetRowState)return o({},e,{rowState:r.initialState.rowState||{}});if(t.type===l.setRowState){var d,f=t.rowId,g=t.value,p=void 0!==e.rowState[f]?e.rowState[f]:a(c[f]);return o({},e,{rowState:o({},e.rowState,(d={},d[f]=h(g,p),d))})}if(t.type===l.setCellState){var v,m,y,b,w,R=t.rowId,x=t.columnId,C=t.value,S=void 0!==e.rowState[R]?e.rowState[R]:a(c[R]),E=void 0!==(null==S||null==(v=S.cellState)?void 0:v[x])?S.cellState[x]:u(null==(m=c[R])||null==(y=m.cells)?void 0:y.find(function(e){return e.column.id===x}));return o({},e,{rowState:o({},e.rowState,(w={},w[R]=o({},S,{cellState:o({},S.cellState||{},(b={},b[x]=h(C,E),b))}),w))})}}function Et(e){var n=e.autoResetRowState,r=void 0===n||n,o=e.data,i=e.dispatch,a=t.useCallback(function(e,t){return i({type:l.setRowState,rowId:e,value:t})},[i]),s=t.useCallback(function(e,t,n){return i({type:l.setCellState,rowId:e,columnId:t,value:n})},[i]),u=m(r);b(function(){u()&&i({type:l.resetRowState})},[o]),Object.assign(e,{setRowState:a,setCellState:s})}function It(e,t){var n=t.instance,r=n.initialRowStateAccessor,o=void 0===r?Rt:r,i=n.initialCellStateAccessor,a=void 0===i?xt:i,l=n.state.rowState;e&&(e.state=void 0!==l[e.id]?l[e.id]:o(e),e.setState=function(t){return n.setRowState(e.id,t)},e.cells.forEach(function(t){e.state.cellState||(e.state.cellState={}),t.state=void 0!==e.state.cellState[t.column.id]?e.state.cellState[t.column.id]:a(t),t.setState=function(r){return n.setCellState(e.id,t.column.id,r)}}))}Ct.pluginName="useRowState",l.resetColumnOrder="resetColumnOrder",l.setColumnOrder="setColumnOrder";var Pt=function(e){e.stateReducers.push(Bt),e.visibleColumnsDeps.push(function(e,t){var n=t.instance;return[].concat(e,[n.state.columnOrder])}),e.visibleColumns.push(Dt),e.useInstance.push(kt)};function Bt(e,t,n,r){return t.type===l.init?o({columnOrder:[]},e):t.type===l.resetColumnOrder?o({},e,{columnOrder:r.initialState.columnOrder||[]}):t.type===l.setColumnOrder?o({},e,{columnOrder:h(t.columnOrder,e.columnOrder)}):void 0}function Dt(e,t){var n=t.instance.state.columnOrder;if(!n||!n.length)return e;for(var r=[].concat(n),o=[].concat(e),i=[],a=function(){var e=r.shift(),t=o.findIndex(function(t){return t.id===e});t>-1&&i.push(o.splice(t,1)[0])};o.length&&r.length;)a();return[].concat(i,o)}function kt(e){var n=e.dispatch;e.setColumnOrder=t.useCallback(function(e){return n({type:l.setColumnOrder,columnOrder:e})},[n])}Pt.pluginName="useColumnOrder",c.canResize=!0,l.columnStartResizing="columnStartResizing",l.columnResizing="columnResizing",l.columnDoneResizing="columnDoneResizing",l.resetResize="resetResize";var At=function(e){e.getResizerProps=[Ot],e.getHeaderProps.push({style:{position:"relative"}}),e.stateReducers.push(Ft),e.useInstance.push(Tt),e.useInstanceBeforeDimensions.push(Mt)},Ot=function(e,t){var n=t.instance,r=t.header,o=n.dispatch,i=function(e,t){var n=!1;if("touchstart"===e.type){if(e.touches&&e.touches.length>1)return;n=!0}var r=function(e){var t=[];return function e(n){n.columns&&n.columns.length&&n.columns.map(e),t.push(n)}(e),t}(t).map(function(e){return[e.id,e.totalWidth]}),i=n?Math.round(e.touches[0].clientX):e.clientX,a=function(e){o({type:l.columnResizing,clientX:e})},s=function(){return o({type:l.columnDoneResizing})},u={mouse:{moveEvent:"mousemove",moveHandler:function(e){return a(e.clientX)},upEvent:"mouseup",upHandler:function(e){document.removeEventListener("mousemove",u.mouse.moveHandler),document.removeEventListener("mouseup",u.mouse.upHandler),s()}},touch:{moveEvent:"touchmove",moveHandler:function(e){return e.cancelable&&(e.preventDefault(),e.stopPropagation()),a(e.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(e){document.removeEventListener(u.touch.moveEvent,u.touch.moveHandler),document.removeEventListener(u.touch.upEvent,u.touch.moveHandler),s()}}},c=n?u.touch:u.mouse,d=!!function(){if("boolean"==typeof M)return M;var e=!1;try{var t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(t){e=!1}return M=e}()&&{passive:!1};document.addEventListener(c.moveEvent,c.moveHandler,d),document.addEventListener(c.upEvent,c.upHandler,d),o({type:l.columnStartResizing,columnId:t.id,columnWidth:t.totalWidth,headerIdWidths:r,clientX:i})};return[e,{onMouseDown:function(e){return e.persist()||i(e,r)},onTouchStart:function(e){return e.persist()||i(e,r)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function Ft(e,t){if(t.type===l.init)return o({columnResizing:{columnWidths:{}}},e);if(t.type===l.resetResize)return o({},e,{columnResizing:{columnWidths:{}}});if(t.type===l.columnStartResizing){var n=t.clientX,r=t.columnId,i=t.columnWidth,a=t.headerIdWidths;return o({},e,{columnResizing:o({},e.columnResizing,{startX:n,headerIdWidths:a,columnWidth:i,isResizingColumn:r})})}if(t.type===l.columnResizing){var s=t.clientX,u=e.columnResizing,c=u.startX,d=u.columnWidth,f=u.headerIdWidths,g=(s-c)/d,p={};return(void 0===f?[]:f).forEach(function(e){var t=e[0],n=e[1];p[t]=Math.max(n+n*g,0)}),o({},e,{columnResizing:o({},e.columnResizing,{columnWidths:o({},e.columnResizing.columnWidths,{},p)})})}return t.type===l.columnDoneResizing?o({},e,{columnResizing:o({},e.columnResizing,{startX:null,isResizingColumn:null})}):void 0}At.pluginName="useResizeColumns";var Mt=function(e){var t=e.flatHeaders,n=e.disableResizing,r=e.getHooks,o=e.state.columnResizing,i=m(e);t.forEach(function(e){var t=P(!0!==e.disableResizing&&void 0,!0!==n&&void 0,!0);e.canResize=t,e.width=o.columnWidths[e.id]||e.originalWidth||e.width,e.isResizing=o.isResizingColumn===e.id,t&&(e.getResizerProps=f(r().getResizerProps,{instance:i(),header:e}))})};function Tt(e){var n=e.plugins,r=e.dispatch,o=e.autoResetResize,i=void 0===o||o,a=e.columns;v(n,["useAbsoluteLayout"],"useResizeColumns");var s=m(i);b(function(){s()&&r({type:l.resetResize})},[a]);var u=t.useCallback(function(){return r({type:l.resetResize})},[r]);Object.assign(e,{resetResizing:u})}var Nt={position:"absolute",top:0},Gt=function(e){e.getTableBodyProps.push(Lt),e.getRowProps.push(Lt),e.getHeaderGroupProps.push(Lt),e.getFooterGroupProps.push(Lt),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:o({},Nt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:o({},Nt,{left:n.column.totalLeft+"px",width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:o({},Nt,{left:n.totalLeft+"px",width:n.totalWidth+"px"})}]})};Gt.pluginName="useAbsoluteLayout";var Lt=function(e,t){return[e,{style:{position:"relative",width:t.instance.totalColumnsWidth+"px"}}]},zt={display:"inline-block",boxSizing:"border-box"},Ht=function(e,t){return[e,{style:{display:"flex",width:t.instance.totalColumnsWidth+"px"}}]},jt=function(e){e.getRowProps.push(Ht),e.getHeaderGroupProps.push(Ht),e.getFooterGroupProps.push(Ht),e.getHeaderProps.push(function(e,t){var n=t.column;return[e,{style:o({},zt,{width:n.totalWidth+"px"})}]}),e.getCellProps.push(function(e,t){var n=t.cell;return[e,{style:o({},zt,{width:n.column.totalWidth+"px"})}]}),e.getFooterProps.push(function(e,t){var n=t.column;return[e,{style:o({},zt,{width:n.totalWidth+"px"})}]})};function Wt(e){e.getTableProps.push(Vt),e.getRowProps.push(Xt),e.getHeaderGroupProps.push(Xt),e.getFooterGroupProps.push(Xt),e.getHeaderProps.push(_t),e.getCellProps.push(qt),e.getFooterProps.push(Ut)}jt.pluginName="useBlockLayout",Wt.pluginName="useFlexLayout";var Vt=function(e,t){return[e,{style:{minWidth:t.instance.totalColumnsMinWidth+"px"}}]},Xt=function(e,t){return[e,{style:{display:"flex",flex:"1 0 auto",minWidth:t.instance.totalColumnsMinWidth+"px"}}]},_t=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]},qt=function(e,t){var n=t.cell;return[e,{style:{boxSizing:"border-box",flex:n.column.totalFlexWidth+" 0 auto",minWidth:n.column.totalMinWidth+"px",width:n.column.totalWidth+"px"}}]},Ut=function(e,t){var n=t.column;return[e,{style:{boxSizing:"border-box",flex:n.totalFlexWidth?n.totalFlexWidth+" 0 auto":void 0,minWidth:n.totalMinWidth+"px",width:n.totalWidth+"px"}}]};function Yt(e){e.stateReducers.push($t),e.getTableProps.push(Kt),e.getHeaderProps.push(Jt)}Yt.pluginName="useGridLayout";var Kt=function(e,t){return[e,{style:{display:"grid",gridTemplateColumns:t.instance.state.gridLayout.columnWidths.map(function(e){return e}).join(" ")}}]},Jt=function(e,t){return[e,{id:"header-cell-"+t.column.id,style:{position:"sticky"}}]};function $t(e,t,n,r){if("init"===t.type)return o({gridLayout:{columnWidths:r.columns.map(function(){return"auto"})}},e);if("columnStartResizing"===t.type){var i=t.columnId,a=r.visibleColumns.findIndex(function(e){return e.id===i}),l=function(e){var t,n=null==(t=document.getElementById("header-cell-"+e))?void 0:t.offsetWidth;if(void 0!==n)return n}(i);return void 0!==l?o({},e,{gridLayout:o({},e.gridLayout,{columnId:i,columnIndex:a,startingWidth:l})}):e}if("columnResizing"===t.type){var s=e.gridLayout,u=s.columnIndex,c=s.startingWidth,d=s.columnWidths,f=c-(e.columnResizing.startX-t.clientX),g=[].concat(d);return g[u]=f+"px",o({},e,{gridLayout:o({},e.gridLayout,{columnWidths:g})})}}e._UNSTABLE_usePivotColumns=tt,e.actions=l,e.defaultColumn=c,e.defaultGroupByFn=je,e.defaultOrderByFn=$e,e.defaultRenderer=s,e.emptyRenderer=u,e.ensurePluginOrder=v,e.flexRender=R,e.functionalUpdate=h,e.loopHooks=p,e.makePropGetter=f,e.makeRenderer=w,e.reduceHooks=g,e.safeUseLayoutEffect=y,e.useAbsoluteLayout=Gt,e.useAsyncDebounce=function(e,n){void 0===n&&(n=0);var o=t.useRef({}),i=m(e),a=m(n);return t.useCallback(function(){var e=r(regeneratorRuntime.mark(function e(){var t,n,l,s=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(t=s.length,n=new Array(t),l=0;l<t;l++)n[l]=s[l];return o.current.promise||(o.current.promise=new Promise(function(e,t){o.current.resolve=e,o.current.reject=t})),o.current.timeout&&clearTimeout(o.current.timeout),o.current.timeout=setTimeout(r(regeneratorRuntime.mark(function e(){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return delete o.current.timeout,e.prev=1,e.t0=o.current,e.next=5,i().apply(void 0,n);case 5:e.t1=e.sent,e.t0.resolve.call(e.t0,e.t1),e.next=12;break;case 9:e.prev=9,e.t2=e.catch(1),o.current.reject(e.t2);case 12:return e.prev=12,delete o.current.promise,e.finish(12);case 15:case"end":return e.stop()}},e,null,[[1,9,12,15]])})),a()),e.abrupt("return",o.current.promise);case 5:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),[i,a])},e.useBlockLayout=jt,e.useColumnOrder=Pt,e.useExpanded=le,e.useFilters=Se,e.useFlexLayout=Wt,e.useGetLatest=m,e.useGlobalFilter=Pe,e.useGridLayout=Yt,e.useGroupBy=Me,e.useMountedLayoutEffect=b,e.usePagination=Ze,e.useResizeColumns=At,e.useRowSelect=pt,e.useRowState=Ct,e.useSortBy=Ue,e.useTable=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e=oe(e),r=[q].concat(r);var a=m(t.useRef({}).current);Object.assign(a(),o({},e,{plugins:r,hooks:_()})),r.filter(Boolean).forEach(function(e){e(a().hooks)});var s=m(a().hooks);a().getHooks=s,delete a().hooks,Object.assign(a(),g(s().useOptions,oe(e)));var u=a(),c=u.data,d=u.columns,v=u.initialState,h=u.defaultColumn,y=u.getSubRows,b=u.getRowId,R=u.stateReducer,I=u.useControlledState,P=m(R),B=t.useCallback(function(e,t){if(!t.type)throw console.info({action:t}),new Error("Unknown Action 👆");return[].concat(s().stateReducers,Array.isArray(P())?P():[P()]).reduce(function(n,r){return r(n,t,e,a())||n},e)},[s,P,a]),D=t.useReducer(B,void 0,function(){return B(v,{type:l.init})}),k=D[0],A=D[1],O=g([].concat(s().useControlledState,[I]),k,{instance:a()});Object.assign(a(),{state:O,dispatch:A});var F=t.useMemo(function(){return x(g(s().columns,d,{instance:a()}))},[s,a,d].concat(g(s().columnsDeps,[],{instance:a()})));a().columns=F;var M=t.useMemo(function(){return g(s().allColumns,C(F),{instance:a()}).map(S)},[F,s,a].concat(g(s().allColumnsDeps,[],{instance:a()})));a().allColumns=M;var T=t.useMemo(function(){for(var e=[],t=[],n={},r=[].concat(M);r.length;){var o=r.shift();ae({data:c,rows:e,flatRows:t,rowsById:n,column:o,getRowId:b,getSubRows:y,accessValueHooks:s().accessValue,getInstance:a})}return[e,t,n]},[M,c,b,y,s,a]),N=T[0],G=T[1],L=T[2];Object.assign(a(),{rows:N,initialRows:[].concat(N),flatRows:G,rowsById:L}),p(s().useInstanceAfterData,a());var z=t.useMemo(function(){return g(s().visibleColumns,M,{instance:a()}).map(function(e){return E(e,h)})},[s,M,a,h].concat(g(s().visibleColumnsDeps,[],{instance:a()})));M=t.useMemo(function(){var e=[].concat(z);return M.forEach(function(t){e.find(function(e){return e.id===t.id})||e.push(t)}),e},[M,z]),a().allColumns=M;var H=t.useMemo(function(){return g(s().headerGroups,function(e,t,n){void 0===n&&(n=function(){return{}});for(var r=[],i=e,a=0,l=function(){return a++},s=function(){var e={headers:[]},a=[],s=i.some(function(e){return e.parent});i.forEach(function(r){var i,u=[].concat(a).reverse()[0];s&&(i=r.parent?o({},r.parent,{originalId:r.parent.id,id:r.parent.id+"_"+l(),headers:[r]},n(r)):E(o({originalId:r.id+"_placeholder",id:r.id+"_placeholder_"+l(),placeholderOf:r,headers:[r]},n(r)),t),u&&u.originalId===i.originalId?u.headers.push(r):a.push(i)),e.headers.push(r)}),r.push(e),i=a};i.length;)s();return r.reverse()}(z,h),a())},[s,z,h,a].concat(g(s().headerGroupsDeps,[],{instance:a()})));a().headerGroups=H;var j=t.useMemo(function(){return H.length?H[0].headers:[]},[H]);a().headers=j,a().flatHeaders=H.reduce(function(e,t){return[].concat(e,t.headers)},[]),p(s().useInstanceBeforeDimensions,a());var W=z.filter(function(e){return e.isVisible}).map(function(e){return e.id}).sort().join("_");z=t.useMemo(function(){return z.filter(function(e){return e.isVisible})},[z,W]),a().visibleColumns=z;var V=ie(j),X=V[0],U=V[1],Y=V[2];return a().totalColumnsMinWidth=X,a().totalColumnsWidth=U,a().totalColumnsMaxWidth=Y,p(s().useInstance,a()),[].concat(a().flatHeaders,a().allColumns).forEach(function(e){e.render=w(a(),e),e.getHeaderProps=f(s().getHeaderProps,{instance:a(),column:e}),e.getFooterProps=f(s().getFooterProps,{instance:a(),column:e})}),a().headerGroups=t.useMemo(function(){return H.filter(function(e,t){return e.headers=e.headers.filter(function(e){return e.headers?function e(t){return t.filter(function(t){return t.headers?e(t.headers):t.isVisible}).length}(e.headers):e.isVisible}),!!e.headers.length&&(e.getHeaderGroupProps=f(s().getHeaderGroupProps,{instance:a(),headerGroup:e,index:t}),e.getFooterGroupProps=f(s().getFooterGroupProps,{instance:a(),headerGroup:e,index:t}),!0)})},[H,a,s]),a().footerGroups=[].concat(a().headerGroups).reverse(),a().prepareRow=t.useCallback(function(e){e.getRowProps=f(s().getRowProps,{instance:a(),row:e}),e.allCells=M.map(function(t){var n=e.values[t.id],r={column:t,row:e,value:n};return r.getCellProps=f(s().getCellProps,{instance:a(),cell:r}),r.render=w(a(),t,{row:e,cell:r,value:n}),r}),e.cells=z.map(function(t){return e.allCells.find(function(e){return e.column.id===t.id})}),p(s().prepareRow,e,{instance:a()})},[s,a,M,z]),a().getTableProps=f(s().getTableProps,{instance:a()}),a().getTableBodyProps=f(s().getTableBodyProps,{instance:a()}),p(s().useFinalInstance,a()),a()},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(32735))},35509:(e,t,n)=>{e.exports=n(52178)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_reports=self.webpackChunk_clickview_reports||[]).push([[6007],{51825:(e,a,t)=>{t.d(a,{n:()=>l});var n=t(32735),r=t(40782);function l(e){return n.createElement(r.O,{layout:e.layout,className:e.className,percentage:0,customLabel:"--%"})}},21614:(e,a,t)=>{t.d(a,{U:()=>m});var n=t(32735),r=t(23481),l=t(48605),c=t(92209),i=t(28512),o=t(99827),s=r.T.encloseNamespace("reportsClips.clipNav");function m(e){var a,t,r=(a=(0,o.b)(),t=[e.id],[{label:s("overview"),appLink:{application:i.O.CLIPS,action:c.e.Clips.OVERVIEW,args:t,params:a}},{label:s("engagement"),appLink:{application:i.O.CLIPS,action:c.e.Clips.ENGAGEMENT,args:t,params:a}}]);return n.createElement(l.m,{items:r})}},700:(e,a,t)=>{t.r(a),t.d(a,{ClipEngagementView:()=>G});var n=t(32735),r=t(23481),l=t(20354),c=t(2948),i=t(54316),o=t(4606),s=t(49475),m=t(60051),d=t(16714),u=t(39151),p=t(47812),g=t(31949),v=t(17913),b=t(16562),f=t(22902),y=t(52748),E=t(91470),h=t(17285),N=t(45896),x=t(79489),S=t(48187),k=t(99827),C=t(36630),T=t(9977),w=t(97615),I=t(55554),Z=t(87480),j=t(21295),A=t(44422),L=t(28393),O=t(21614);const F={viewCountContainer:"hy6sE",engagementPercentageContainer:"fmT3M",engagementGraphContainer:"qvzwP",partialTable:"hft_W"};function U(e,a){if(e){if("string"==typeof e)return R(e,a);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?R(e,a):void 0}}function R(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=Array(a);t<a;t++)n[t]=e[t];return n}var M=r.T.encloseNamespace("reportsClips.clipEngagement");function G(e){var a,t,r,G,B,D,P,_=(D=(0,c.D)(x.y.ANONYMISE_USERS),P=1,function(e){if(Array.isArray(e))return e}(D)||function(e,a){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,l,c,i=[],o=!0,s=!1;try{if(l=(t=t.call(e)).next,0===a){if(Object(t)!==t)return;o=!1}else for(;!(o=(n=l.call(t)).done)&&(i.push(n.value),i.length!==a);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw r}}return i}}(D,P)||U(D,P)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],z=(0,k.b)(),V=(0,k.R)(),$=!(0,(0,f.T)().hasPermissions)(d.C.ViewCustomerAnalytics),W=l.a.useBasicFetch($&&g.N.currentUser()),H=l.a.useBasicFetch(S.e.clip(e.id)),q=l.a.useBasicFetch(!!V&&($?!!W.data&&v.u.aggregateEngagement(e.id,V,W.data.id):v.u.aggregateEngagement(e.id,V))),K=l.a.useBasicFetch(!!V&&($?!!W.data&&v.u.individualEngagement(e.id,V,W.data.id):v.u.individualEngagement(e.id,V))),J=(0,o.U)(null===(t=null===(a=K.data)||void 0===a?void 0:a.data)||void 0===t?void 0:t.map(function(e){return e.userId})),Q=J.users,X=J.isLoading,Y=J.usersResponse,ee=l.a.useBasicFetch(p.k.createViewKey(e.id,m.f.MasterObject)),ae=l.a.useBasicFetch(u.L.config());(0,y.M)({title:M("pageTitle",{clip:null===(r=H.data)||void 0===r?void 0:r.name})}),(0,Z.U)(null===(G=H.data)||void 0===G?void 0:G.name),(0,I._)((0,j.yH)(H.data)),(0,w.s)(e.id),(0,T.n)(K),(0,C.M)(H),(0,b.v)([ee,q,K].concat(function(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||U(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(Y.responses)));var te=!!(H.data&&q.data&&ee.data&&ae.data),ne=!(!K.data||K.data.data.length&&X);return n.createElement("div",{className:"pb-3"},n.createElement(O.U,{id:e.id}),n.createElement("div",{className:"d-flex pb-3"},n.createElement("div",{className:"pe-2 ".concat(F.viewCountContainer)},n.createElement(L.m,{useSharerId:$,objectId:e.id,className:"h-100"})),n.createElement("div",{className:"px-2 ".concat(F.engagementPercentageContainer)},n.createElement(A.D,{objectId:e.id,useSharerId:$,className:"h-100",layout:"vertical"})),n.createElement("div",{className:"ps-2 ".concat(F.engagementGraphContainer)},te?n.createElement(N.p,{key:(0,s.u)(z),engagement:q.data,viewKey:ee.data.viewKey,imageCdnUrl:ae.data.imageCdnUrl,playerApiUrl:ae.data.playerApiUrl}):n.createElement(h.O,null))),ne?n.createElement(i.z,{key:(0,s.u)(z),engagement:K.data.data,users:Q,imageCdnUrl:null===(B=ae.data)||void 0===B?void 0:B.imageCdnUrl,anonymiseUsers:_,enableSort:!0}):n.createElement(E.I,{className:F.partialTable}))}},91470:(e,a,t)=>{t.d(a,{I:()=>m});var n=t(32735),r=t(68050),l=t(69111),c=t(755),i=n.createElement(r.Z,{className:"py-3"},n.createElement(l.Z,{xs:1,className:"d-flex align-items-center justify-content-center"},n.createElement("div",{className:"partial-loading-background ".concat(c.Z.partialNumber)})),n.createElement(l.Z,{xs:5,className:"d-flex align-items-center"},n.createElement("div",{className:"partial-loading-background ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:4,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(c.Z.partialShortText)}))),o=n.createElement(r.Z,{className:"py-3"},n.createElement(l.Z,{xs:5,className:"d-flex align-items-center"},n.createElement("div",{className:"partial-loading-background mx-4 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:2,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:3,className:"d-flex align-items-center"},n.createElement("div",{className:"d-block partial-loading-background mx-4 ".concat(c.Z.partialShortText)}))),s=n.createElement(r.Z,{className:"py-3"},n.createElement(l.Z,{xs:2,className:"d-flex"},n.createElement("div",{className:"partial-loading-background mx-3 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:2,className:"d-flex justify-content-center"},n.createElement("div",{className:"partial-loading-background mx-2 ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:2,className:"d-flex justify-content-center"},n.createElement("div",{className:"partial-loading-background ".concat(c.Z.partialShortText)})),n.createElement(l.Z,{xs:6,className:"d-flex justify-content-between"},n.createElement("div",{className:"d-block partial-loading-background ".concat(c.Z.heatMapItemContainer," ").concat(c.Z.partialShortText)})));function m(e){var a,t,r=function(e){switch(e){case"video-views":return{headerComponent:i,tableStyle:c.Z.videoTable};case"interactives":return{headerComponent:o,tableStyle:c.Z.interactiveTable};case"engagement-users":return{headerComponent:s,tableStyle:c.Z.userTable};default:return{headerComponent:n.createElement(n.Fragment,null),tableStyle:""}}}(e.variant),l=r.headerComponent,m=r.tableStyle;return n.createElement("div",{className:"bg-white rounded ".concat(m," ").concat(null!==(a=e.className)&&void 0!==a?a:"")},n.createElement("div",{className:"border-bottom ".concat(c.Z.header," ").concat(null!==(t=e.headerClassName)&&void 0!==t?t:"")},l),e.children)}},48605:(e,a,t)=>{t.d(a,{m:()=>g});var n=t(32735),r=t(81886),l=t(92582),c=t(28825),i=t(77369),o=t(11607),s=t(83914);const m={pillTabSelector:"Hdi6o",tab:"RvNxr",minWidth:"GHSz9",radiusSmall:"VhJJa",tabLink:"WFyvo"};function d(e){return n.createElement(n.Fragment,null,!!e.tab.svgName&&n.createElement("div",{className:e.tab.name?"pe-1":""},n.createElement(s.x,{svgName:e.tab.svgName})),e.tab.name,"number"==typeof e.tab.count&&n.createElement("div",{className:"ps-2"},n.createElement(i.C,{type:i.g.Count,data:e.tab.count})))}function u(e){var a;return n.createElement("nav",{className:null!==(a=e.className)&&void 0!==a?a:"",ref:e.containerRef},n.createElement("ul",{className:"\n list-unstyled d-inline-block m-0 ".concat(m.pillTabSelector,"\n ").concat(e.borderRadius?m.radiusSmall:"","\n ").concat(e.listClassName,"\n ")},e.tabs.map(function(e,a){return n.createElement("li",{className:"\n p-0 ".concat(m.tab," ").concat(e.active?"btn btn-dark":"btn btn-outline-dark","\n ").concat(e.name?m.minWidth:""," ").concat(e.className,"\n "),key:a},e.appLink?n.createElement(c.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"\n cursor-pointer d-flex align-items-center justify-content-center\n text-decoration-none text-reset px-2 text-nowrap ".concat(m.tabLink,"\n ")},n.createElement(d,{tab:e})):n.createElement(o.L,{className:"\n cursor-pointer d-flex align-items-center justify-content-center\n text-decoration-none text-reset px-2 text-nowrap ".concat(m.tabLink,"\n "),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&l.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},n.createElement(d,{tab:e})))})))}u.defaultProps={borderRadius:"lg"};var p=t(75795);function g(e){var a=e.items.map(function(e){var a,t;return{name:e.label,onSelect:function(){return r.Q.C$.trigger(e.appLink)},active:e.appLink.action===(null===(t=null===(a=p.O.getCurrentRoute())||void 0===a?void 0:a.appLink)||void 0===t?void 0:t.action)}});return n.createElement(u,{className:"pb-3",tabs:a})}},48187:(e,a,t)=>{t.d(a,{e:()=>n});var n={clip:function(e,a,t,n){return{url:"{gateway}/v1/objects/".concat(e),key:"clip:".concat(e),success:a,error:t,always:n}}}},97615:(e,a,t)=>{t.d(a,{s:()=>p});var n=t(32735),r=t(20354),l=t(2948),c=t(16714),i=t(31949),o=t(17913),s=t(22902),m=t(79489),d=t(99827);function u(e,a){(null==a||a>e.length)&&(a=e.length);for(var t=0,n=Array(a);t<a;t++)n[t]=e[t];return n}function p(e){var a,t,p=(0,(0,s.T)().hasPermissions)(c.C.ViewCustomerAnalytics),g=(0,d.R)(),v=r.a.useBasicFetch(i.N.currentUser()),b=p&&!!v.data&&!!g,f=r.a.useBasicFetch(b&&o.u.individualEngagement(e,{start:null==g?void 0:g.start,end:null==g?void 0:g.end},v.data.id)),y=(a=(0,l.D)(m.y.AUDIENCE_FILTER_SUGGESTIONS),t=2,function(e){if(Array.isArray(e))return e}(a)||function(e,a){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,l,c,i=[],o=!0,s=!1;try{if(l=(t=t.call(e)).next,0===a){if(Object(t)!==t)return;o=!1}else for(;!(o=(n=l.call(t)).done)&&(i.push(n.value),i.length!==a);o=!0);}catch(e){s=!0,r=e}finally{try{if(!o&&null!=t.return&&(c=t.return(),Object(c)!==c))return}finally{if(s)throw r}}return i}}(a,t)||function(e,a){if(e){if("string"==typeof e)return u(e,a);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,a):void 0}}(a,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1];(0,n.useEffect)(function(){var e;f.data&&y("users",null===(e=f.data)||void 0===e?void 0:e.data.map(function(e){return e.userId}))},[f.isFetching])}},44422:(e,a,t)=>{t.d(a,{D:()=>p});var n=t(32735),r=t(23481),l=t(20354),c=t(51825),i=t(40782),o=t(31949),s=t(17913),m=t(16562),d=t(99827),u=r.T.encloseNamespace("shared.engagementOverviewCard");function p(e){var a,t,r=(0,d.b)(),p=(0,d.R)(),g=!r.users&&!r.classrooms&&!r.classroomGroups,v=l.a.useBasicFetch(!!e.useSharerId&&o.N.currentUser()),b=l.a.useBasicFetch(!!p&&(e.useSharerId?!!v.data&&s.u.aggregateEngagement(e.objectId,p,v.data.id):s.u.aggregateEngagement(e.objectId,p)));(0,m.v)(b);var f=(null===(a=b.data)||void 0===a?void 0:a.engagementRate)>0?b.data.engagementRate:null;return n.createElement("div",{className:"d-flex flex-column rounded bg-white p-3 ".concat(null!==(t=e.className)&&void 0!==t?t:"")},n.createElement("h3",{className:"h6 mb-2"},u("heading")),n.createElement("div",{className:"d-flex align-items-center flex-grow-1\n ".concat("vertical"===e.layout?" flex-column justify-content-center text-center":"")},!!b.data&&n.createElement(n.Fragment,null,n.createElement(i.O,{percentage:f,layout:i.I.LabelInside}),n.createElement("p",{className:"horizontal"===e.layout?"ms-2":""},"number"==typeof f?u(g?"descriptionEveryone":"descriptionSome",{percentage:Math.round(100*b.data.engagementRate)}):u("descriptionNoData"))),!b.data&&n.createElement(n.Fragment,null,n.createElement(c.n,{layout:i.I.LabelInside}),"vertical"===e.layout&&n.createElement("p",null," "))))}},755:(e,a,t)=>{t.d(a,{Z:()=>n});const n={videoTable:"PT_It",interactiveTable:"GHe8q",userTable:"nbjsx",header:"iXtL9",itemHeader:"m8bTu",videoItemContainer:"z4_as",interactiveItemContainer:"GFx4k",userItemContainer:"zc5wl",heatMapItemContainer:"L0FuZ",partialAvatar:"RG2PB",partialNumber:"bjOQq",partialLongText:"b3oVS",partialMediumText:"pb1z8",partialShortText:"Mm5Da",partialThumbnail:"fXWEe",partialHeatMap:"WcStG"}},68050:(e,a,t)=>{t.d(a,{Z:()=>s});var n=t(95685),r=t.n(n),l=t(32735),c=t(46304),i=t(74512);const o=l.forwardRef(({bsPrefix:e,className:a,as:t="div",...n},l)=>{const o=(0,c.vE)(e,"row"),s=(0,c.pi)(),m=(0,c.zG)(),d=`${o}-cols`,u=[];return s.forEach(e=>{const a=n[e];let t;delete n[e],null!=a&&"object"==typeof a?({cols:t}=a):t=a;const r=e!==m?`-${e}`:"";null!=t&&u.push(`${d}${r}-${t}`)}),(0,i.jsx)(t,{ref:l,...n,className:r()(a,o,...u)})});o.displayName="Row";const s=o}}]);