payload 1.11.3 → 1.11.5

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 (109) hide show
  1. package/components/index.js +2 -2
  2. package/components/styles.css +1 -1
  3. package/dist/admin/components/elements/Button/index.scss +11 -6
  4. package/dist/admin/components/elements/CopyToClipboard/index.js +1 -1
  5. package/dist/admin/components/elements/CopyToClipboard/index.js.map +1 -1
  6. package/dist/admin/components/elements/CopyToClipboard/index.scss +5 -0
  7. package/dist/admin/components/elements/DeleteDocument/index.js +1 -2
  8. package/dist/admin/components/elements/DeleteDocument/index.js.map +1 -1
  9. package/dist/admin/components/elements/FileDetails/Meta/index.scss +1 -1
  10. package/dist/admin/components/elements/FileDetails/index.scss +1 -1
  11. package/dist/admin/components/elements/ListDrawer/index.scss +2 -2
  12. package/dist/admin/components/elements/Localizer/index.scss +2 -2
  13. package/dist/admin/components/elements/Nav/index.scss +6 -2
  14. package/dist/admin/components/elements/NavGroup/index.scss +5 -1
  15. package/dist/admin/components/elements/Paginator/ClickableArrow/index.js +1 -1
  16. package/dist/admin/components/elements/Paginator/ClickableArrow/index.js.map +1 -1
  17. package/dist/admin/components/elements/Paginator/index.scss +8 -2
  18. package/dist/admin/components/elements/PerPage/index.scss +1 -1
  19. package/dist/admin/components/elements/Pill/index.scss +6 -1
  20. package/dist/admin/components/elements/StepNav/index.scss +1 -1
  21. package/dist/admin/components/elements/Table/index.scss +5 -0
  22. package/dist/admin/components/elements/VersionsCount/index.scss +1 -1
  23. package/dist/admin/components/forms/field-types/Array/index.js +1 -1
  24. package/dist/admin/components/forms/field-types/Array/index.js.map +1 -1
  25. package/dist/admin/components/forms/field-types/Array/index.scss +1 -1
  26. package/dist/admin/components/forms/field-types/Blocks/index.scss +1 -1
  27. package/dist/admin/components/forms/field-types/RichText/elements/link/Element/index.scss +1 -1
  28. package/dist/admin/components/views/Account/index.scss +1 -1
  29. package/dist/admin/components/views/Global/index.scss +1 -1
  30. package/dist/admin/components/views/collections/Edit/index.scss +1 -1
  31. package/dist/admin/components/views/collections/List/SelectAll/index.scss +5 -1
  32. package/dist/admin/components/views/collections/List/SelectRow/index.scss +6 -1
  33. package/dist/admin/index.html +2 -2
  34. package/dist/admin/scss/app.scss +10 -1
  35. package/dist/auth/defaultUser.d.ts +1 -2
  36. package/dist/auth/defaultUser.js +2 -2
  37. package/dist/auth/defaultUser.js.map +1 -1
  38. package/dist/bin/build.js +1 -25
  39. package/dist/bin/build.js.map +1 -1
  40. package/dist/bin/index.js +4 -4
  41. package/dist/bin/index.js.map +1 -1
  42. package/dist/bundlers/mocks/dotENV.js.map +1 -0
  43. package/dist/bundlers/mocks/emptyModule.js.map +1 -0
  44. package/dist/bundlers/mocks/fileMock.js.map +1 -0
  45. package/dist/bundlers/types.d.ts +7 -0
  46. package/dist/bundlers/types.js +3 -0
  47. package/dist/bundlers/types.js.map +1 -0
  48. package/dist/bundlers/webpack/bundler.d.ts +3 -0
  49. package/dist/bundlers/webpack/bundler.js +11 -0
  50. package/dist/bundlers/webpack/bundler.js.map +1 -0
  51. package/dist/{webpack → bundlers/webpack}/components.config.js +4 -4
  52. package/dist/bundlers/webpack/components.config.js.map +1 -0
  53. package/dist/bundlers/webpack/configs/base.d.ts +3 -0
  54. package/dist/{webpack/getBaseConfig.js → bundlers/webpack/configs/base.js} +16 -10
  55. package/dist/bundlers/webpack/configs/base.js.map +1 -0
  56. package/dist/bundlers/webpack/configs/dev.d.ts +3 -0
  57. package/dist/{webpack/getDevConfig.js → bundlers/webpack/configs/dev.js} +17 -8
  58. package/dist/bundlers/webpack/configs/dev.js.map +1 -0
  59. package/dist/bundlers/webpack/configs/prod.d.ts +3 -0
  60. package/dist/{webpack/getProdConfig.js → bundlers/webpack/configs/prod.js} +11 -9
  61. package/dist/bundlers/webpack/configs/prod.js.map +1 -0
  62. package/dist/bundlers/webpack/scripts/build.d.ts +6 -0
  63. package/dist/bundlers/webpack/scripts/build.js +33 -0
  64. package/dist/bundlers/webpack/scripts/build.js.map +1 -0
  65. package/dist/bundlers/webpack/scripts/dev.d.ts +7 -0
  66. package/dist/bundlers/webpack/scripts/dev.js +31 -0
  67. package/dist/bundlers/webpack/scripts/dev.js.map +1 -0
  68. package/dist/bundlers/webpack/scripts/serve.d.ts +7 -0
  69. package/dist/bundlers/webpack/scripts/serve.js +27 -0
  70. package/dist/bundlers/webpack/scripts/serve.js.map +1 -0
  71. package/dist/collections/buildSchema.js.map +1 -1
  72. package/dist/collections/initLocal.js.map +1 -1
  73. package/dist/config/build.js +3 -6
  74. package/dist/config/build.js.map +1 -1
  75. package/dist/config/sanitize.d.ts +1 -2
  76. package/dist/config/sanitize.js +26 -14
  77. package/dist/config/sanitize.js.map +1 -1
  78. package/dist/config/schema.js +5 -0
  79. package/dist/config/schema.js.map +1 -1
  80. package/dist/config/types.d.ts +13 -6
  81. package/dist/config/types.js.map +1 -1
  82. package/dist/express/admin.d.ts +1 -1
  83. package/dist/express/admin.js +3 -24
  84. package/dist/express/admin.js.map +1 -1
  85. package/dist/globals/initLocal.js.map +1 -1
  86. package/dist/initHTTP.js +1 -1
  87. package/dist/initHTTP.js.map +1 -1
  88. package/docs/admin/hooks.mdx +1 -1
  89. package/package.json +5 -5
  90. package/dist/webpack/components.config.js.map +0 -1
  91. package/dist/webpack/getBaseConfig.d.ts +0 -4
  92. package/dist/webpack/getBaseConfig.js.map +0 -1
  93. package/dist/webpack/getDevConfig.d.ts +0 -4
  94. package/dist/webpack/getDevConfig.js.map +0 -1
  95. package/dist/webpack/getProdConfig.d.ts +0 -4
  96. package/dist/webpack/getProdConfig.js.map +0 -1
  97. package/dist/webpack/init.d.ts +0 -4
  98. package/dist/webpack/init.js +0 -22
  99. package/dist/webpack/init.js.map +0 -1
  100. package/dist/webpack/mocks/dotENV.js.map +0 -1
  101. package/dist/webpack/mocks/emptyModule.js.map +0 -1
  102. package/dist/webpack/mocks/fileMock.js.map +0 -1
  103. /package/dist/{webpack → bundlers}/mocks/dotENV.d.ts +0 -0
  104. /package/dist/{webpack → bundlers}/mocks/dotENV.js +0 -0
  105. /package/dist/{webpack → bundlers}/mocks/emptyModule.d.ts +0 -0
  106. /package/dist/{webpack → bundlers}/mocks/emptyModule.js +0 -0
  107. /package/dist/{webpack → bundlers}/mocks/fileMock.d.ts +0 -0
  108. /package/dist/{webpack → bundlers}/mocks/fileMock.js +0 -0
  109. /package/dist/{webpack → bundlers/webpack}/components.config.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- (()=>{var e={3680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortableContext:()=>Ie,arrayMove:()=>_e,arraySwap:()=>Ce,defaultAnimateLayoutChanges:()=>Fe,defaultNewIndexGetter:()=>Ae,hasSortableData:()=>Ve,horizontalListSortingStrategy:()=>Te,rectSortingStrategy:()=>Me,rectSwappingStrategy:()=>Le,sortableKeyboardCoordinates:()=>Ke,useSortable:()=>He,verticalListSortingStrategy:()=>Re});var r=n(9497),a=n.n(r);n(3935);const o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function l(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function i(e){return"nodeType"in e}function u(e){var t,n;return e?l(e)?e:i(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=u(e);return e instanceof t}function s(e){return!l(e)&&e instanceof u(e).HTMLElement}function f(e){return e?l(e)?e.document:i(e)?c(e)?e:s(e)?e.ownerDocument:document:document:document}const d=o?r.useLayoutEffect:r.useEffect;function p(e){const t=(0,r.useRef)(e);return d((()=>{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 h(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return d((()=>{n.current!==e&&(n.current=e)}),t),n}function v(e){const t=p(e),n=(0,r.useRef)(null),a=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,a]}let m={};function g(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==m[e]?0:m[e]+1;return m[e]=n,e+"-"+n}),[e,t])}function y(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,a]of r){const r=t[n];null!=r&&(t[n]=r+e*a)}return t}),{...t})}}const b=y(1),w=y(-1);function k(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function x(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=u(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 S=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[S.Translate.toString(e),S.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}});var E;function _(){}!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"}(E||(E={}));const C=Object.freeze({x:0,y:0});function P(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function O(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function N(e){let{left:t,top:n,height:r,width:a}=e;return[{x:t,y:n},{x:t+a,y:n},{x:t,y:n+r},{x:t+a,y:n+r}]}function T(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function M(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 L={ignoreTransform:!1};function D(e,t){void 0===t&&(t=L);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=u(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=M(t);if(!r)return e;const{scaleX:a,scaleY:o,x:l,y:i}=r,u=e.left-l-(1-a)*parseFloat(n),c=e.top-i-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),s=a?e.width/a:e.width,f=o?e.height/o:e.height;return{width:s,height:f,top:c,right:u+s,bottom:c+f,left:u}}(n,t,r))}const{top:r,left:a,width:o,height:l,bottom:i,right:c}=n;return{top:r,left:a,width:o,height:l,bottom:i,right:c}}function R(e){return D(e,{ignoreTransform:!0})}function z(e,t){const n=[];return e?function r(a){if(null!=t&&n.length>=t)return n;if(!a)return n;if(c(a)&&null!=a.scrollingElement&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!s(a)||function(e){return e instanceof u(e).SVGElement}(a))return n;if(n.includes(a))return n;const o=u(e).getComputedStyle(a);return a!==e&&function(e,t){void 0===t&&(t=u(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)}))}(a,o)&&n.push(a),function(e,t){return void 0===t&&(t=u(e).getComputedStyle(e)),"fixed"===t.position}(a,o)?n:r(a.parentNode)}(e):n}function j(e){const[t]=z(e,1);return null!=t?t:null}var I;function A(e){return!(!o||!e)&&e===document.scrollingElement}function F(e){const t={x:0,y:0},n=A(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"}(I||(I={}));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:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function B(e,t){if(void 0===t&&(t=D),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);j(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}class W{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 $(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 H,V;function Q(e){e.preventDefault()}function K(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"}(H||(H={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(V||(V={}));const q={start:[V.Space,V.Enter],cancel:[V.Esc],end:[V.Space,V.Enter]},Y=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case V.Right:return{...n,x:n.x+25};case V.Left:return{...n,x:n.x-25};case V.Down:return{...n,y:n.y+25};case V.Up:return{...n,y:n.y-25}}};class X{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 W(f(t)),this.windowListeners=new W(u(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(H.Resize,this.handleCancel),this.windowListeners.add(H.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(H.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&B(n),t(C)}handleKeyDown(e){if(k(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:a=q,coordinateGetter:o=Y,scrollBehavior:l="smooth"}=r,{code:i}=e;if(a.end.includes(i))return void this.handleEnd(e);if(a.cancel.includes(i))return void this.handleCancel(e);const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:C;this.referenceCoordinates||(this.referenceCoordinates=c);const s=o(e,{active:t,context:n.current,currentCoordinates:c});if(s){const t=w(s,c),r={x:0,y:0},{scrollableAncestors:a}=n.current;for(const n of a){const a=e.code,{isTop:o,isRight:i,isLeft:u,isBottom:c,maxScroll:f,minScroll:d}=F(n),p=U(n),h={x:Math.min(a===V.Right?p.right-p.width/2:p.right,Math.max(a===V.Right?p.left:p.left+p.width/2,s.x)),y:Math.min(a===V.Down?p.bottom-p.height/2:p.bottom,Math.max(a===V.Down?p.top:p.top+p.height/2,s.y))},v=a===V.Right&&!i||a===V.Left&&!u,m=a===V.Down&&!c||a===V.Up&&!o;if(v&&h.x!==s.x){const e=n.scrollLeft+t.x,o=a===V.Right&&e<=f.x||a===V.Left&&e>=d.x;if(o&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=o?n.scrollLeft-e:a===V.Right?n.scrollLeft-f.x:n.scrollLeft-d.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(m&&h.y!==s.y){const e=n.scrollTop+t.y,o=a===V.Down&&e<=f.y||a===V.Up&&e>=d.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=o?n.scrollTop-e:a===V.Down?n.scrollTop-f.y:n.scrollTop-d.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,b(w(s,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 G(e){return Boolean(e&&"distance"in e)}function J(e){return Boolean(e&&"delay"in e)}X.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=q,onActivation:a}=t,{active:o}=n;const{code:l}=e.nativeEvent;if(r.start.includes(l)){const t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==a||a({event:e.nativeEvent}),!0)}return!1}}];class Z{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=u(e);return e instanceof t?e:f(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:a}=e,{target:o}=a;this.props=e,this.events=t,this.document=f(o),this.documentListeners=new W(this.document),this.listeners=new W(n),this.windowListeners=new W(u(o)),this.initialCoordinates=null!=(r=x(a))?r:C,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(H.Resize,this.handleCancel),this.windowListeners.add(H.DragStart,Q),this.windowListeners.add(H.VisibilityChange,this.handleCancel),this.windowListeners.add(H.ContextMenu,Q),this.documentListeners.add(H.Keydown,this.handleKeydown),t){if(G(t))return;if(J(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(H.Click,K,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(H.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:a}=this,{onMove:o,options:{activationConstraint:l}}=a;if(!r)return;const i=null!=(t=x(e))?t:C,u=w(r,i);if(!n&&l){if(J(l))return $(u,l.tolerance)?this.handleCancel():void 0;if(G(l))return null!=l.tolerance&&$(u,l.tolerance)?this.handleCancel():$(u,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),o(i)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===V.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ee={move:{name:"pointermove"},end:{name:"pointerup"}};class te extends Z{constructor(e){const{event:t}=e,n=f(t.target);super(e,ee,n)}}te.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 ne={move:{name:"mousemove"},end:{name:"mouseup"}};var re;!function(e){e[e.RightClick=2]="RightClick"}(re||(re={}));(class extends Z{constructor(e){super(e,ne,f(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==re.RightClick&&(null==r||r({event:n}),!0)}}];const ae={move:{name:"touchmove"},end:{name:"touchend"}};var oe,le;(class extends Z{constructor(e){super(e,ae)}static setup(){return window.addEventListener(ae.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ae.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return!(a.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(oe||(oe={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(le||(le={}));I.Backward,I.Forward,I.Backward,I.Forward;var ie,ue;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ie||(ie={})),function(e){e.Optimized="optimized"}(ue||(ue={}));function ce(e){let{callback:t,disabled:n}=e;const a=p(t),o=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(a)}),[n]);return(0,r.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}const se={draggable:{measure:R},droppable:{measure:R,strategy:ie.WhileDragging,frequency:ue.Optimized},dragOverlay:{measure:D}};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 de={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:_},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:se,measureDroppableContainers:_,windowRect:null,measuringScheduled:!1},pe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:_,draggableNodes:new Map,over:null,measureDroppableContainers:_},he=(0,r.createContext)(pe),ve=(0,r.createContext)(de);const me=(0,r.createContext)({...C,scaleX:1,scaleY:1});var ge;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(ge||(ge={}));const ye=(0,r.createContext)(null),be="button",we="Droppable";function ke(e){let{id:t,data:n,disabled:a=!1,attributes:o}=e;const l=g(we),{activators:i,activatorEvent:u,active:c,activeNodeRect:s,ariaDescribedById:f,draggableNodes:p,over:m}=(0,r.useContext)(he),{role:y=be,roleDescription:b="draggable",tabIndex:w=0}=null!=o?o:{},k=(null==c?void 0:c.id)===t,x=(0,r.useContext)(k?me:ye),[S,E]=v(),[_,C]=v(),P=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:a}=n;return e[r]=e=>{a(e,t)},e}),{})),[e,t])}(i,t),O=h(n);d((()=>(p.set(t,{id:t,key:l,node:S,activatorNode:_,data:O}),()=>{const e=p.get(t);e&&e.key===l&&p.delete(t)})),[p,t]);return{active:c,activatorEvent:u,activeNodeRect:s,attributes:(0,r.useMemo)((()=>({role:y,tabIndex:w,"aria-disabled":a,"aria-pressed":!(!k||y!==be)||void 0,"aria-roledescription":b,"aria-describedby":f.draggable})),[a,y,w,k,b,f.draggable]),isDragging:k,listeners:a?void 0:P,node:S,over:m,setNodeRef:E,setActivatorNodeRef:C,transform:x}}function xe(){return(0,r.useContext)(ve)}const Se="Droppable",Ee={timeout:25};function _e(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function Ce(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function Pe(e,t){return e.reduce(((e,n,r)=>{const a=t.get(n);return a&&(e[r]=a),e}),Array(e.length))}function Oe(e){return null!==e&&e>=0}const Ne={scaleX:1,scaleY:1},Te=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:a,overIndex:o,index:l}=e;const i=null!=(t=n[a])?t:r;if(!i)return null;const u=function(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];if(!r||!a&&!o)return 0;if(n<t)return a?r.left-(a.left+a.width):o.left-(r.left+r.width);return o?o.left-(r.left+r.width):r.left-(a.left+a.width)}(n,l,a);if(l===a){const e=n[o];return e?{x:a<o?e.left+e.width-(i.left+i.width):e.left-i.left,y:0,...Ne}:null}return l>a&&l<=o?{x:-i.width-u,y:0,...Ne}:l<a&&l>=o?{x:i.width+u,y:0,...Ne}:{x:0,y:0,...Ne}};const Me=e=>{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=_e(t,r,n),l=t[a],i=o[a];return i&&l?{x:i.left-l.left,y:i.top-l.top,scaleX:i.width/l.width,scaleY:i.height/l.height}:null},Le=e=>{let t,n,{activeIndex:r,index:a,rects:o,overIndex:l}=e;return a===r&&(t=o[a],n=o[l]),a===l&&(t=o[a],n=o[r]),n&&t?{x:n.left-t.left,y:n.top-t.top,scaleX:n.width/t.width,scaleY:n.height/t.height}:null},De={scaleX:1,scaleY:1},Re=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:l}=e;const i=null!=(t=o[n])?t:r;if(!i)return null;if(a===n){const e=o[l];return e?{x:0,y:n<l?e.top+e.height-(i.top+i.height):e.top-i.top,...De}:null}const u=function(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];if(!r)return 0;if(n<t)return a?r.top-(a.top+a.height):o?o.top-(r.top+r.height):0;return o?o.top-(r.top+r.height):a?r.top-(a.top+a.height):0}(o,a,n);return a>n&&a<=l?{x:0,y:-i.height-u,...De}:a<n&&a>=l?{x:0,y:i.height+u,...De}:{x:0,y:0,...De}};const ze="Sortable",je=a().createContext({activeIndex:-1,containerId:ze,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Me,disabled:{draggable:!1,droppable:!1}});function Ie(e){let{children:t,id:n,items:o,strategy:l=Me,disabled:i=!1}=e;const{active:u,dragOverlay:c,droppableRects:s,over:f,measureDroppableContainers:p}=xe(),h=g(ze,n),v=Boolean(null!==c.rect),m=(0,r.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),y=null!=u,b=u?m.indexOf(u.id):-1,w=f?m.indexOf(f.id):-1,k=(0,r.useRef)(m),x=!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}(m,k.current),S=-1!==w&&-1===b||x,E=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(i);d((()=>{x&&y&&p(m)}),[x,m,y,p]),(0,r.useEffect)((()=>{k.current=m}),[m]);const _=(0,r.useMemo)((()=>({activeIndex:b,containerId:h,disabled:E,disableTransforms:S,items:m,overIndex:w,useDragOverlay:v,sortedRects:Pe(m,s),strategy:l})),[b,h,E.draggable,E.droppable,S,m,w,s,v,l]);return a().createElement(je.Provider,{value:_},t)}const Ae=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return _e(n,r,a).indexOf(t)},Fe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:l,previousItems:i,previousContainerId:u,transition:c}=e;return!(!c||!r)&&((i===o||a!==l)&&(!!n||l!==a&&t===u))},Ue={duration:200,easing:"ease"},Be="transform",We=S.Transition.toString({property:Be,duration:0,easing:"linear"}),$e={roleDescription:"sortable"};function He(e){let{animateLayoutChanges:t=Fe,attributes:n,disabled:a,data:o,getNewIndex:l=Ae,id:i,strategy:u,resizeObserverConfig:c,transition:s=Ue}=e;const{items:f,containerId:p,activeIndex:m,disabled:y,disableTransforms:b,sortedRects:w,overIndex:x,useDragOverlay:_,strategy:C}=(0,r.useContext)(je),P=function(e,t){var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{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,y),O=f.indexOf(i),N=(0,r.useMemo)((()=>({sortable:{containerId:p,index:O,items:f},...o})),[p,o,O,f]),T=(0,r.useMemo)((()=>f.slice(f.indexOf(i))),[f,i]),{rect:M,node:L,isOver:R,setNodeRef:z}=function(e){let{data:t,disabled:n=!1,id:a,resizeObserverConfig:o}=e;const l=g(Se),{active:i,dispatch:u,over:c,measureDroppableContainers:s}=(0,r.useContext)(he),f=(0,r.useRef)({disabled:n}),p=(0,r.useRef)(!1),m=(0,r.useRef)(null),y=(0,r.useRef)(null),{disabled:b,updateMeasurementsFor:w,timeout:k}={...Ee,...o},x=h(null!=w?w:a),S=ce({callback:(0,r.useCallback)((()=>{p.current?(null!=y.current&&clearTimeout(y.current),y.current=setTimeout((()=>{s(Array.isArray(x.current)?x.current:[x.current]),y.current=null}),k)):p.current=!0}),[k]),disabled:b||!i}),_=(0,r.useCallback)(((e,t)=>{S&&(t&&(S.unobserve(t),p.current=!1),e&&S.observe(e))}),[S]),[C,P]=v(_),O=h(t);return(0,r.useEffect)((()=>{S&&C.current&&(S.disconnect(),p.current=!1,S.observe(C.current))}),[C,S]),d((()=>(u({type:E.RegisterDroppable,element:{id:a,key:l,disabled:n,node:C,rect:m,data:O}}),()=>u({type:E.UnregisterDroppable,key:l,id:a}))),[a]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(u({type:E.SetDroppableDisabled,id:a,key:l,disabled:n}),f.current.disabled=n)}),[a,l,n,u]),{active:i,rect:m,isOver:(null==c?void 0:c.id)===a,node:C,over:c,setNodeRef:P}}({id:i,data:N,disabled:P.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...c}}),{active:j,activatorEvent:I,activeNodeRect:A,attributes:F,setNodeRef:U,listeners:B,isDragging:W,over:$,setActivatorNodeRef:H,transform:V}=ke({id:i,data:N,attributes:{...$e,...n},disabled:P.draggable}),Q=function(){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)}(z,U),K=Boolean(j),q=K&&!b&&Oe(m)&&Oe(x),Y=!_&&W,X=Y&&q?V:null,G=q?null!=X?X:(null!=u?u:C)({rects:w,activeNodeRect:A,activeIndex:m,overIndex:x,index:O}):null,J=Oe(m)&&Oe(x)?l({id:i,items:f,activeIndex:m,overIndex:x}):O,Z=null==j?void 0:j.id,ee=(0,r.useRef)({activeId:Z,items:f,newIndex:J,containerId:p}),te=f!==ee.current.items,ne=t({active:j,containerId:p,isDragging:W,isSorting:K,id:i,index:O,items:f,newIndex:ee.current.newIndex,previousItems:ee.current.items,previousContainerId:ee.current.containerId,transition:s,wasDragging:null!=ee.current.activeId}),re=function(e){let{disabled:t,index:n,node:a,rect:o}=e;const[l,i]=(0,r.useState)(null),u=(0,r.useRef)(n);return d((()=>{if(!t&&n!==u.current&&a.current){const e=o.current;if(e){const t=D(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)&&i(n)}}n!==u.current&&(u.current=n)}),[t,n,a,o]),(0,r.useEffect)((()=>{l&&i(null)}),[l]),l}({disabled:!ne,index:O,node:L,rect:M});return(0,r.useEffect)((()=>{K&&ee.current.newIndex!==J&&(ee.current.newIndex=J),p!==ee.current.containerId&&(ee.current.containerId=p),f!==ee.current.items&&(ee.current.items=f)}),[K,J,p,f]),(0,r.useEffect)((()=>{if(Z===ee.current.activeId)return;if(Z&&!ee.current.activeId)return void(ee.current.activeId=Z);const e=setTimeout((()=>{ee.current.activeId=Z}),50);return()=>clearTimeout(e)}),[Z]),{active:j,activeIndex:m,attributes:F,data:N,rect:M,index:O,newIndex:J,items:f,isOver:R,isSorting:K,isDragging:W,listeners:B,node:L,overIndex:x,over:$,setNodeRef:Q,setActivatorNodeRef:H,setDroppableNodeRef:z,setDraggableNodeRef:U,transform:null!=re?re:G,transition:function(){if(re||te&&ee.current.newIndex===O)return We;if(Y&&!k(I)||!s)return;if(K||ne)return S.Transition.toString({...s,property:Be});return}()}}function Ve(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 Qe=[V.Down,V.Right,V.Up,V.Left],Ke=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:o,over:l,scrollableAncestors:i}}=t;if(Qe.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];o.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const o=a.get(n.id);if(o)switch(e.code){case V.Down:r.top<o.top&&t.push(n);break;case V.Up:r.top>o.top&&t.push(n);break;case V.Left:r.left>o.left&&t.push(n);break;case V.Right:r.left<o.left&&t.push(n)}}));const u=(e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=N(t),o=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=N(r),l=a.reduce(((e,t,r)=>e+P(n[r],t)),0),i=Number((l/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:i}})}}return o.sort(O)})({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null});let c=T(u,"id");if(c===(null==l?void 0:l.id)&&u.length>1&&(c=u[1].id),null!=c){const e=o.get(n.id),t=o.get(c),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const n=z(u).some(((e,t)=>i[t]!==e)),a=qe(e,t),o=function(e,t){if(!Ve(e)||!Ve(t))return!1;if(!qe(e,t))return!1;return e.data.current.sortable.index<t.data.current.sortable.index}(e,t),c=n||!a?{x:0,y:0}:{x:o?r.width-l.width:0,y:o?r.height-l.height:0},s={x:l.left,y:l.top};return c.x&&c.y?s:w(s,c)}}}};function qe(e,t){return!(!Ve(e)||!Ve(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},698:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(9497)),u=l(n(3796));t.default=function(e){var t=e.children,n=(0,u.default)();return t?"function"==typeof t?i.default.createElement(i.Fragment,null,t(n)):i.default.createElement(i.Fragment,null,t):null}},3108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(9497).createContext)({});t.default=r},7071:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=l(n(9497)),c=i(n(3108)),s=function(e,t){var n=t.payload,a=n.breakpoints;n.animationRef.current=null;var o=e.eventsFired,l=document.documentElement,i=l.style,u=l.clientWidth,c=l.clientHeight,s=window.innerWidth,f=window.innerHeight,d="".concat(u/100,"px"),p="".concat(c/100,"px"),h=a?Object.keys(a).reduce((function(e,t){var n;return r(r({},e),((n={})[t]=window.matchMedia(a[t]).matches,n))}),{}):{},v={width:s,height:f,"--vw":d,"--vh":p,breakpoints:h,eventsFired:o+1};return i.setProperty("--vw",d),i.setProperty("--vh",p),v};t.default=function(e){var t=e.breakpoints,n=e.children,a=(0,u.useRef)(null),o=(0,u.useReducer)(s,{width:void 0,height:void 0,"--vw":"","--vh":"",breakpoints:{},eventsFired:0}),l=o[0],i=o[1],f=(0,u.useCallback)((function(){a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame((function(){return i({type:"UPDATE",payload:{breakpoints:t,animationRef:a}})}))}),[t]),d=(0,u.useCallback)((function(){setTimeout((function(){f()}),500)}),[f]);return(0,u.useEffect)((function(){return window.addEventListener("resize",f),window.addEventListener("orientationchange",d),function(){window.removeEventListener("resize",f),window.removeEventListener("orientationchange",d)}}),[f,d]),(0,u.useEffect)((function(){0===l.eventsFired&&i({type:"UPDATE",payload:{breakpoints:t,animationRef:a}})}),[t,l]),u.default.createElement(c.default.Provider,{value:r({},l)},n&&n)}},727:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withWindowInfo=t.WindowInfoProvider=t.WindowInfoContext=t.WindowInfo=t.useWindowInfo=void 0;var a=n(3796);Object.defineProperty(t,"useWindowInfo",{enumerable:!0,get:function(){return r(a).default}});var o=n(698);Object.defineProperty(t,"WindowInfo",{enumerable:!0,get:function(){return r(o).default}});var l=n(3108);Object.defineProperty(t,"WindowInfoContext",{enumerable:!0,get:function(){return r(l).default}});var i=n(7071);Object.defineProperty(t,"WindowInfoProvider",{enumerable:!0,get:function(){return r(i).default}});var u=n(8917);Object.defineProperty(t,"withWindowInfo",{enumerable:!0,get:function(){return r(u).default}})},3796:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(9497),o=r(n(3108));t.default=function(){return(0,a.useContext)(o.default)}},8917:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=a(n(9497)),l=a(n(3796));t.default=function(e){return function(t){var n=(0,l.default)();return o.default.createElement(e,r({},r(r({},t),{windowInfo:n})))}}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function u(e){return r.isMemo(e)?l:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=l;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var l=s(n);f&&(l=l.concat(f(n)));for(var i=u(t),v=u(n),m=0;m<l.length;++m){var g=l[m];if(!(o[g]||r&&r[g]||v&&v[g]||i&&i[g])){var y=d(n,g);try{c(t,g,y)}catch(e){}}}}return t}},5826:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},6182:(e,t,n)=>{"use strict";n.r(t)},8896:(e,t,n)=>{"use strict";n.r(t)},2583:(e,t,n)=>{"use strict";n.r(t)},1207:(e,t,n)=>{"use strict";n.r(t)},9477:(e,t,n)=>{"use strict";n.r(t)},7942:(e,t,n)=>{"use strict";n.r(t)},3051:(e,t,n)=>{"use strict";n.r(t)},4245:(e,t,n)=>{"use strict";n.r(t)},2810:(e,t,n)=>{"use strict";n.r(t)},6319:(e,t,n)=>{"use strict";n.r(t)},1516:(e,t,n)=>{"use strict";n.r(t)},5623:(e,t,n)=>{"use strict";n.r(t)},2894:(e,t,n)=>{"use strict";n.r(t)},3351:(e,t,n)=>{"use strict";n.r(t)},4929:(e,t,n)=>{"use strict";n.r(t)},8834:(e,t,n)=>{"use strict";n.r(t)},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,l){if(l!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(9497),a=n(3840);
1
+ (()=>{var e={3680:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SortableContext:()=>Ie,arrayMove:()=>_e,arraySwap:()=>Ce,defaultAnimateLayoutChanges:()=>Fe,defaultNewIndexGetter:()=>Ae,hasSortableData:()=>Ve,horizontalListSortingStrategy:()=>Te,rectSortingStrategy:()=>Me,rectSwappingStrategy:()=>Le,sortableKeyboardCoordinates:()=>Ke,useSortable:()=>He,verticalListSortingStrategy:()=>Re});var r=n(9497),a=n.n(r);n(3935);const o="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function l(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function i(e){return"nodeType"in e}function u(e){var t,n;return e?l(e)?e:i(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=u(e);return e instanceof t}function s(e){return!l(e)&&e instanceof u(e).HTMLElement}function f(e){return e?l(e)?e.document:i(e)?c(e)?e:s(e)?e.ownerDocument:document:document:document}const d=o?r.useLayoutEffect:r.useEffect;function p(e){const t=(0,r.useRef)(e);return d((()=>{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 h(e,t){void 0===t&&(t=[e]);const n=(0,r.useRef)(e);return d((()=>{n.current!==e&&(n.current=e)}),t),n}function v(e){const t=p(e),n=(0,r.useRef)(null),a=(0,r.useCallback)((e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e}),[]);return[n,a]}let m={};function g(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==m[e]?0:m[e]+1;return m[e]=n,e+"-"+n}),[e,t])}function y(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return r.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,a]of r){const r=t[n];null!=r&&(t[n]=r+e*a)}return t}),{...t})}}const b=y(1),w=y(-1);function k(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function x(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=u(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 S=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[S.Translate.toString(e),S.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}});var E;function _(){}!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"}(E||(E={}));const C=Object.freeze({x:0,y:0});function P(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function O(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function N(e){let{left:t,top:n,height:r,width:a}=e;return[{x:t,y:n},{x:t+a,y:n},{x:t,y:n+r},{x:t+a,y:n+r}]}function T(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function M(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 L={ignoreTransform:!1};function D(e,t){void 0===t&&(t=L);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=u(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=M(t);if(!r)return e;const{scaleX:a,scaleY:o,x:l,y:i}=r,u=e.left-l-(1-a)*parseFloat(n),c=e.top-i-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),s=a?e.width/a:e.width,f=o?e.height/o:e.height;return{width:s,height:f,top:c,right:u+s,bottom:c+f,left:u}}(n,t,r))}const{top:r,left:a,width:o,height:l,bottom:i,right:c}=n;return{top:r,left:a,width:o,height:l,bottom:i,right:c}}function R(e){return D(e,{ignoreTransform:!0})}function z(e,t){const n=[];return e?function r(a){if(null!=t&&n.length>=t)return n;if(!a)return n;if(c(a)&&null!=a.scrollingElement&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!s(a)||function(e){return e instanceof u(e).SVGElement}(a))return n;if(n.includes(a))return n;const o=u(e).getComputedStyle(a);return a!==e&&function(e,t){void 0===t&&(t=u(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)}))}(a,o)&&n.push(a),function(e,t){return void 0===t&&(t=u(e).getComputedStyle(e)),"fixed"===t.position}(a,o)?n:r(a.parentNode)}(e):n}function j(e){const[t]=z(e,1);return null!=t?t:null}var I;function A(e){return!(!o||!e)&&e===document.scrollingElement}function F(e){const t={x:0,y:0},n=A(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"}(I||(I={}));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:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function B(e,t){if(void 0===t&&(t=D),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);j(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}class W{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 $(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 H,V;function Q(e){e.preventDefault()}function K(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"}(H||(H={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(V||(V={}));const q={start:[V.Space,V.Enter],cancel:[V.Esc],end:[V.Space,V.Enter]},Y=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case V.Right:return{...n,x:n.x+25};case V.Left:return{...n,x:n.x-25};case V.Down:return{...n,y:n.y+25};case V.Up:return{...n,y:n.y-25}}};class X{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 W(f(t)),this.windowListeners=new W(u(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(H.Resize,this.handleCancel),this.windowListeners.add(H.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(H.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&B(n),t(C)}handleKeyDown(e){if(k(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:a=q,coordinateGetter:o=Y,scrollBehavior:l="smooth"}=r,{code:i}=e;if(a.end.includes(i))return void this.handleEnd(e);if(a.cancel.includes(i))return void this.handleCancel(e);const{collisionRect:u}=n.current,c=u?{x:u.left,y:u.top}:C;this.referenceCoordinates||(this.referenceCoordinates=c);const s=o(e,{active:t,context:n.current,currentCoordinates:c});if(s){const t=w(s,c),r={x:0,y:0},{scrollableAncestors:a}=n.current;for(const n of a){const a=e.code,{isTop:o,isRight:i,isLeft:u,isBottom:c,maxScroll:f,minScroll:d}=F(n),p=U(n),h={x:Math.min(a===V.Right?p.right-p.width/2:p.right,Math.max(a===V.Right?p.left:p.left+p.width/2,s.x)),y:Math.min(a===V.Down?p.bottom-p.height/2:p.bottom,Math.max(a===V.Down?p.top:p.top+p.height/2,s.y))},v=a===V.Right&&!i||a===V.Left&&!u,m=a===V.Down&&!c||a===V.Up&&!o;if(v&&h.x!==s.x){const e=n.scrollLeft+t.x,o=a===V.Right&&e<=f.x||a===V.Left&&e>=d.x;if(o&&!t.y)return void n.scrollTo({left:e,behavior:l});r.x=o?n.scrollLeft-e:a===V.Right?n.scrollLeft-f.x:n.scrollLeft-d.x,r.x&&n.scrollBy({left:-r.x,behavior:l});break}if(m&&h.y!==s.y){const e=n.scrollTop+t.y,o=a===V.Down&&e<=f.y||a===V.Up&&e>=d.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:l});r.y=o?n.scrollTop-e:a===V.Down?n.scrollTop-f.y:n.scrollTop-d.y,r.y&&n.scrollBy({top:-r.y,behavior:l});break}}this.handleMove(e,b(w(s,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 G(e){return Boolean(e&&"distance"in e)}function J(e){return Boolean(e&&"delay"in e)}X.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=q,onActivation:a}=t,{active:o}=n;const{code:l}=e.nativeEvent;if(r.start.includes(l)){const t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==a||a({event:e.nativeEvent}),!0)}return!1}}];class Z{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=u(e);return e instanceof t?e:f(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:a}=e,{target:o}=a;this.props=e,this.events=t,this.document=f(o),this.documentListeners=new W(this.document),this.listeners=new W(n),this.windowListeners=new W(u(o)),this.initialCoordinates=null!=(r=x(a))?r:C,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(H.Resize,this.handleCancel),this.windowListeners.add(H.DragStart,Q),this.windowListeners.add(H.VisibilityChange,this.handleCancel),this.windowListeners.add(H.ContextMenu,Q),this.documentListeners.add(H.Keydown,this.handleKeydown),t){if(G(t))return;if(J(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(H.Click,K,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(H.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:a}=this,{onMove:o,options:{activationConstraint:l}}=a;if(!r)return;const i=null!=(t=x(e))?t:C,u=w(r,i);if(!n&&l){if(J(l))return $(u,l.tolerance)?this.handleCancel():void 0;if(G(l))return null!=l.tolerance&&$(u,l.tolerance)?this.handleCancel():$(u,l.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),o(i)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===V.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const ee={move:{name:"pointermove"},end:{name:"pointerup"}};class te extends Z{constructor(e){const{event:t}=e,n=f(t.target);super(e,ee,n)}}te.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 ne={move:{name:"mousemove"},end:{name:"mouseup"}};var re;!function(e){e[e.RightClick=2]="RightClick"}(re||(re={}));(class extends Z{constructor(e){super(e,ne,f(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==re.RightClick&&(null==r||r({event:n}),!0)}}];const ae={move:{name:"touchmove"},end:{name:"touchend"}};var oe,le;(class extends Z{constructor(e){super(e,ae)}static setup(){return window.addEventListener(ae.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ae.move.name,e)};function e(){}}}).activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return!(a.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(oe||(oe={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(le||(le={}));I.Backward,I.Forward,I.Backward,I.Forward;var ie,ue;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(ie||(ie={})),function(e){e.Optimized="optimized"}(ue||(ue={}));function ce(e){let{callback:t,disabled:n}=e;const a=p(t),o=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(a)}),[n]);return(0,r.useEffect)((()=>()=>null==o?void 0:o.disconnect()),[o]),o}const se={draggable:{measure:R},droppable:{measure:R,strategy:ie.WhileDragging,frequency:ue.Optimized},dragOverlay:{measure:D}};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 de={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:_},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:se,measureDroppableContainers:_,windowRect:null,measuringScheduled:!1},pe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:_,draggableNodes:new Map,over:null,measureDroppableContainers:_},he=(0,r.createContext)(pe),ve=(0,r.createContext)(de);const me=(0,r.createContext)({...C,scaleX:1,scaleY:1});var ge;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(ge||(ge={}));const ye=(0,r.createContext)(null),be="button",we="Droppable";function ke(e){let{id:t,data:n,disabled:a=!1,attributes:o}=e;const l=g(we),{activators:i,activatorEvent:u,active:c,activeNodeRect:s,ariaDescribedById:f,draggableNodes:p,over:m}=(0,r.useContext)(he),{role:y=be,roleDescription:b="draggable",tabIndex:w=0}=null!=o?o:{},k=(null==c?void 0:c.id)===t,x=(0,r.useContext)(k?me:ye),[S,E]=v(),[_,C]=v(),P=function(e,t){return(0,r.useMemo)((()=>e.reduce(((e,n)=>{let{eventName:r,handler:a}=n;return e[r]=e=>{a(e,t)},e}),{})),[e,t])}(i,t),O=h(n);d((()=>(p.set(t,{id:t,key:l,node:S,activatorNode:_,data:O}),()=>{const e=p.get(t);e&&e.key===l&&p.delete(t)})),[p,t]);return{active:c,activatorEvent:u,activeNodeRect:s,attributes:(0,r.useMemo)((()=>({role:y,tabIndex:w,"aria-disabled":a,"aria-pressed":!(!k||y!==be)||void 0,"aria-roledescription":b,"aria-describedby":f.draggable})),[a,y,w,k,b,f.draggable]),isDragging:k,listeners:a?void 0:P,node:S,over:m,setNodeRef:E,setActivatorNodeRef:C,transform:x}}function xe(){return(0,r.useContext)(ve)}const Se="Droppable",Ee={timeout:25};function _e(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function Ce(e,t,n){const r=e.slice();return r[t]=e[n],r[n]=e[t],r}function Pe(e,t){return e.reduce(((e,n,r)=>{const a=t.get(n);return a&&(e[r]=a),e}),Array(e.length))}function Oe(e){return null!==e&&e>=0}const Ne={scaleX:1,scaleY:1},Te=e=>{var t;let{rects:n,activeNodeRect:r,activeIndex:a,overIndex:o,index:l}=e;const i=null!=(t=n[a])?t:r;if(!i)return null;const u=function(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];if(!r||!a&&!o)return 0;if(n<t)return a?r.left-(a.left+a.width):o.left-(r.left+r.width);return o?o.left-(r.left+r.width):r.left-(a.left+a.width)}(n,l,a);if(l===a){const e=n[o];return e?{x:a<o?e.left+e.width-(i.left+i.width):e.left-i.left,y:0,...Ne}:null}return l>a&&l<=o?{x:-i.width-u,y:0,...Ne}:l<a&&l>=o?{x:i.width+u,y:0,...Ne}:{x:0,y:0,...Ne}};const Me=e=>{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=_e(t,r,n),l=t[a],i=o[a];return i&&l?{x:i.left-l.left,y:i.top-l.top,scaleX:i.width/l.width,scaleY:i.height/l.height}:null},Le=e=>{let t,n,{activeIndex:r,index:a,rects:o,overIndex:l}=e;return a===r&&(t=o[a],n=o[l]),a===l&&(t=o[a],n=o[r]),n&&t?{x:n.left-t.left,y:n.top-t.top,scaleX:n.width/t.width,scaleY:n.height/t.height}:null},De={scaleX:1,scaleY:1},Re=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:l}=e;const i=null!=(t=o[n])?t:r;if(!i)return null;if(a===n){const e=o[l];return e?{x:0,y:n<l?e.top+e.height-(i.top+i.height):e.top-i.top,...De}:null}const u=function(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];if(!r)return 0;if(n<t)return a?r.top-(a.top+a.height):o?o.top-(r.top+r.height):0;return o?o.top-(r.top+r.height):a?r.top-(a.top+a.height):0}(o,a,n);return a>n&&a<=l?{x:0,y:-i.height-u,...De}:a<n&&a>=l?{x:0,y:i.height+u,...De}:{x:0,y:0,...De}};const ze="Sortable",je=a().createContext({activeIndex:-1,containerId:ze,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:Me,disabled:{draggable:!1,droppable:!1}});function Ie(e){let{children:t,id:n,items:o,strategy:l=Me,disabled:i=!1}=e;const{active:u,dragOverlay:c,droppableRects:s,over:f,measureDroppableContainers:p}=xe(),h=g(ze,n),v=Boolean(null!==c.rect),m=(0,r.useMemo)((()=>o.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[o]),y=null!=u,b=u?m.indexOf(u.id):-1,w=f?m.indexOf(f.id):-1,k=(0,r.useRef)(m),x=!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}(m,k.current),S=-1!==w&&-1===b||x,E=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(i);d((()=>{x&&y&&p(m)}),[x,m,y,p]),(0,r.useEffect)((()=>{k.current=m}),[m]);const _=(0,r.useMemo)((()=>({activeIndex:b,containerId:h,disabled:E,disableTransforms:S,items:m,overIndex:w,useDragOverlay:v,sortedRects:Pe(m,s),strategy:l})),[b,h,E.draggable,E.droppable,S,m,w,s,v,l]);return a().createElement(je.Provider,{value:_},t)}const Ae=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return _e(n,r,a).indexOf(t)},Fe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:l,previousItems:i,previousContainerId:u,transition:c}=e;return!(!c||!r)&&((i===o||a!==l)&&(!!n||l!==a&&t===u))},Ue={duration:200,easing:"ease"},Be="transform",We=S.Transition.toString({property:Be,duration:0,easing:"linear"}),$e={roleDescription:"sortable"};function He(e){let{animateLayoutChanges:t=Fe,attributes:n,disabled:a,data:o,getNewIndex:l=Ae,id:i,strategy:u,resizeObserverConfig:c,transition:s=Ue}=e;const{items:f,containerId:p,activeIndex:m,disabled:y,disableTransforms:b,sortedRects:w,overIndex:x,useDragOverlay:_,strategy:C}=(0,r.useContext)(je),P=function(e,t){var n,r;if("boolean"==typeof e)return{draggable:e,droppable:!1};return{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,y),O=f.indexOf(i),N=(0,r.useMemo)((()=>({sortable:{containerId:p,index:O,items:f},...o})),[p,o,O,f]),T=(0,r.useMemo)((()=>f.slice(f.indexOf(i))),[f,i]),{rect:M,node:L,isOver:R,setNodeRef:z}=function(e){let{data:t,disabled:n=!1,id:a,resizeObserverConfig:o}=e;const l=g(Se),{active:i,dispatch:u,over:c,measureDroppableContainers:s}=(0,r.useContext)(he),f=(0,r.useRef)({disabled:n}),p=(0,r.useRef)(!1),m=(0,r.useRef)(null),y=(0,r.useRef)(null),{disabled:b,updateMeasurementsFor:w,timeout:k}={...Ee,...o},x=h(null!=w?w:a),S=ce({callback:(0,r.useCallback)((()=>{p.current?(null!=y.current&&clearTimeout(y.current),y.current=setTimeout((()=>{s(Array.isArray(x.current)?x.current:[x.current]),y.current=null}),k)):p.current=!0}),[k]),disabled:b||!i}),_=(0,r.useCallback)(((e,t)=>{S&&(t&&(S.unobserve(t),p.current=!1),e&&S.observe(e))}),[S]),[C,P]=v(_),O=h(t);return(0,r.useEffect)((()=>{S&&C.current&&(S.disconnect(),p.current=!1,S.observe(C.current))}),[C,S]),d((()=>(u({type:E.RegisterDroppable,element:{id:a,key:l,disabled:n,node:C,rect:m,data:O}}),()=>u({type:E.UnregisterDroppable,key:l,id:a}))),[a]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(u({type:E.SetDroppableDisabled,id:a,key:l,disabled:n}),f.current.disabled=n)}),[a,l,n,u]),{active:i,rect:m,isOver:(null==c?void 0:c.id)===a,node:C,over:c,setNodeRef:P}}({id:i,data:N,disabled:P.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...c}}),{active:j,activatorEvent:I,activeNodeRect:A,attributes:F,setNodeRef:U,listeners:B,isDragging:W,over:$,setActivatorNodeRef:H,transform:V}=ke({id:i,data:N,attributes:{...$e,...n},disabled:P.draggable}),Q=function(){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)}(z,U),K=Boolean(j),q=K&&!b&&Oe(m)&&Oe(x),Y=!_&&W,X=Y&&q?V:null,G=q?null!=X?X:(null!=u?u:C)({rects:w,activeNodeRect:A,activeIndex:m,overIndex:x,index:O}):null,J=Oe(m)&&Oe(x)?l({id:i,items:f,activeIndex:m,overIndex:x}):O,Z=null==j?void 0:j.id,ee=(0,r.useRef)({activeId:Z,items:f,newIndex:J,containerId:p}),te=f!==ee.current.items,ne=t({active:j,containerId:p,isDragging:W,isSorting:K,id:i,index:O,items:f,newIndex:ee.current.newIndex,previousItems:ee.current.items,previousContainerId:ee.current.containerId,transition:s,wasDragging:null!=ee.current.activeId}),re=function(e){let{disabled:t,index:n,node:a,rect:o}=e;const[l,i]=(0,r.useState)(null),u=(0,r.useRef)(n);return d((()=>{if(!t&&n!==u.current&&a.current){const e=o.current;if(e){const t=D(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)&&i(n)}}n!==u.current&&(u.current=n)}),[t,n,a,o]),(0,r.useEffect)((()=>{l&&i(null)}),[l]),l}({disabled:!ne,index:O,node:L,rect:M});return(0,r.useEffect)((()=>{K&&ee.current.newIndex!==J&&(ee.current.newIndex=J),p!==ee.current.containerId&&(ee.current.containerId=p),f!==ee.current.items&&(ee.current.items=f)}),[K,J,p,f]),(0,r.useEffect)((()=>{if(Z===ee.current.activeId)return;if(Z&&!ee.current.activeId)return void(ee.current.activeId=Z);const e=setTimeout((()=>{ee.current.activeId=Z}),50);return()=>clearTimeout(e)}),[Z]),{active:j,activeIndex:m,attributes:F,data:N,rect:M,index:O,newIndex:J,items:f,isOver:R,isSorting:K,isDragging:W,listeners:B,node:L,overIndex:x,over:$,setNodeRef:Q,setActivatorNodeRef:H,setDroppableNodeRef:z,setDraggableNodeRef:U,transform:null!=re?re:G,transition:function(){if(re||te&&ee.current.newIndex===O)return We;if(Y&&!k(I)||!s)return;if(K||ne)return S.Transition.toString({...s,property:Be});return}()}}function Ve(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 Qe=[V.Down,V.Right,V.Up,V.Left],Ke=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:o,over:l,scrollableAncestors:i}}=t;if(Qe.includes(e.code)){if(e.preventDefault(),!n||!r)return;const t=[];o.getEnabled().forEach((n=>{if(!n||null!=n&&n.disabled)return;const o=a.get(n.id);if(o)switch(e.code){case V.Down:r.top<o.top&&t.push(n);break;case V.Up:r.top>o.top&&t.push(n);break;case V.Left:r.left>o.left&&t.push(n);break;case V.Right:r.left<o.left&&t.push(n)}}));const u=(e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=N(t),o=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=N(r),l=a.reduce(((e,t,r)=>e+P(n[r],t)),0),i=Number((l/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:i}})}}return o.sort(O)})({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null});let c=T(u,"id");if(c===(null==l?void 0:l.id)&&u.length>1&&(c=u[1].id),null!=c){const e=o.get(n.id),t=o.get(c),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const n=z(u).some(((e,t)=>i[t]!==e)),a=qe(e,t),o=function(e,t){if(!Ve(e)||!Ve(t))return!1;if(!qe(e,t))return!1;return e.data.current.sortable.index<t.data.current.sortable.index}(e,t),c=n||!a?{x:0,y:0}:{x:o?r.width-l.width:0,y:o?r.height-l.height:0},s={x:l.left,y:l.top};return c.x&&c.y?s:w(s,c)}}}};function qe(e,t){return!(!Ve(e)||!Ve(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},698:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return a(t,e),t},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=o(n(9497)),u=l(n(3796));t.default=function(e){var t=e.children,n=(0,u.default)();return t?"function"==typeof t?i.default.createElement(i.Fragment,null,t(n)):i.default.createElement(i.Fragment,null,t):null}},3108:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(0,n(9497).createContext)({});t.default=r},7071:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,a)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),l=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return o(t,e),t},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=l(n(9497)),c=i(n(3108)),s=function(e,t){var n=t.payload,a=n.breakpoints;n.animationRef.current=null;var o=e.eventsFired,l=document.documentElement,i=l.style,u=l.clientWidth,c=l.clientHeight,s=window.innerWidth,f=window.innerHeight,d="".concat(u/100,"px"),p="".concat(c/100,"px"),h=a?Object.keys(a).reduce((function(e,t){var n;return r(r({},e),((n={})[t]=window.matchMedia(a[t]).matches,n))}),{}):{},v={width:s,height:f,"--vw":d,"--vh":p,breakpoints:h,eventsFired:o+1};return i.setProperty("--vw",d),i.setProperty("--vh",p),v};t.default=function(e){var t=e.breakpoints,n=e.children,a=(0,u.useRef)(null),o=(0,u.useReducer)(s,{width:void 0,height:void 0,"--vw":"","--vh":"",breakpoints:{},eventsFired:0}),l=o[0],i=o[1],f=(0,u.useCallback)((function(){a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame((function(){return i({type:"UPDATE",payload:{breakpoints:t,animationRef:a}})}))}),[t]),d=(0,u.useCallback)((function(){setTimeout((function(){f()}),500)}),[f]);return(0,u.useEffect)((function(){return window.addEventListener("resize",f),window.addEventListener("orientationchange",d),function(){window.removeEventListener("resize",f),window.removeEventListener("orientationchange",d)}}),[f,d]),(0,u.useEffect)((function(){0===l.eventsFired&&i({type:"UPDATE",payload:{breakpoints:t,animationRef:a}})}),[t,l]),u.default.createElement(c.default.Provider,{value:r({},l)},n&&n)}},727:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.withWindowInfo=t.WindowInfoProvider=t.WindowInfoContext=t.WindowInfo=t.useWindowInfo=void 0;var a=n(3796);Object.defineProperty(t,"useWindowInfo",{enumerable:!0,get:function(){return r(a).default}});var o=n(698);Object.defineProperty(t,"WindowInfo",{enumerable:!0,get:function(){return r(o).default}});var l=n(3108);Object.defineProperty(t,"WindowInfoContext",{enumerable:!0,get:function(){return r(l).default}});var i=n(7071);Object.defineProperty(t,"WindowInfoProvider",{enumerable:!0,get:function(){return r(i).default}});var u=n(8917);Object.defineProperty(t,"withWindowInfo",{enumerable:!0,get:function(){return r(u).default}})},3796:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(9497),o=r(n(3108));t.default=function(){return(0,a.useContext)(o.default)}},8917:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},r.apply(this,arguments)},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=a(n(9497)),l=a(n(3796));t.default=function(e){return function(t){var n=(0,l.default)();return o.default.createElement(e,r({},r(r({},t),{windowInfo:n})))}}},8679:(e,t,n)=>{"use strict";var r=n(9864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function u(e){return r.isMemo(e)?l:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=l;var c=Object.defineProperty,s=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var l=s(n);f&&(l=l.concat(f(n)));for(var i=u(t),v=u(n),m=0;m<l.length;++m){var g=l[m];if(!(o[g]||r&&r[g]||v&&v[g]||i&&i[g])){var y=d(n,g);try{c(t,g,y)}catch(e){}}}}return t}},6182:(e,t,n)=>{"use strict";n.r(t)},8896:(e,t,n)=>{"use strict";n.r(t)},2583:(e,t,n)=>{"use strict";n.r(t)},1207:(e,t,n)=>{"use strict";n.r(t)},9477:(e,t,n)=>{"use strict";n.r(t)},7942:(e,t,n)=>{"use strict";n.r(t)},3051:(e,t,n)=>{"use strict";n.r(t)},4245:(e,t,n)=>{"use strict";n.r(t)},2810:(e,t,n)=>{"use strict";n.r(t)},6319:(e,t,n)=>{"use strict";n.r(t)},1516:(e,t,n)=>{"use strict";n.r(t)},5623:(e,t,n)=>{"use strict";n.r(t)},2894:(e,t,n)=>{"use strict";n.r(t)},3351:(e,t,n)=>{"use strict";n.r(t)},4929:(e,t,n)=>{"use strict";n.r(t)},8834:(e,t,n)=>{"use strict";n.r(t)},2703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,l){if(l!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5697:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4448:(e,t,n)=>{"use strict";var r=n(9497),a=n(3840);
2
2
  /**
3
3
  * @license React
4
4
  * react-dom.production.min.js
@@ -15,7 +15,7 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,i=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case f:case o:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case v:case u:return e;default:return t}}case a:return t}}}function x(e){return k(e)===f}t.AsyncMode=s,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=v,t.Portal=a,t.Profiler=i,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===s},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===i},t.isStrictMode=function(e){return k(e)===l},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===l||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8223:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.r(t),n.d(t,{BrowserRouter:()=>xe,HashRouter:()=>Se,Link:()=>Ne,MemoryRouter:()=>X,NavLink:()=>Le,Prompt:()=>J,Redirect:()=>re,Route:()=>ue,Router:()=>Y,StaticRouter:()=>he,Switch:()=>ve,generatePath:()=>ne,matchPath:()=>ie,useHistory:()=>ye,useLocation:()=>be,useParams:()=>we,useRouteMatch:()=>ke,withRouter:()=>me});var o=n(9497),l=n.n(o),i=n(5697),u=n.n(i);function c(){return c=Object.assign?Object.assign.bind():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},c.apply(this,arguments)}function s(e){return"/"===e.charAt(0)}function f(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const d=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],o=e&&s(e),l=t&&s(t),i=o||l;if(e&&s(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var c=0,d=a.length;d>=0;d--){var p=a[d];"."===p?f(a,d):".."===p?(f(a,d),c++):c&&(f(a,d),c--)}if(!i)for(;c--;c)a.unshift("..");!i||""===a[0]||a[0]&&s(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function p(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const h=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=p(t),a=p(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var v=!0,m="Invariant failed";function g(e,t){if(!e){if(v)throw new Error(m);var n="function"==typeof t?t():t,r=n?"".concat(m,": ").concat(n):m;throw new Error(r)}}function y(e){return"/"===e.charAt(0)?e:"/"+e}function b(e){return"/"===e.charAt(0)?e.substr(1):e}function w(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function k(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function x(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function S(e,t,n,r){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=c({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=d(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a}function E(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var _=!("undefined"==typeof window||!window.document||!window.document.createElement);function C(e,t){t(window.confirm(e))}var P="popstate",O="hashchange";function N(){try{return window.history.state||{}}catch(e){return{}}}function T(e){void 0===e&&(e={}),_||g(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,l=o.forceRefresh,i=void 0!==l&&l,u=o.getUserConfirmation,s=void 0===u?C:u,f=o.keyLength,d=void 0===f?6:f,p=e.basename?k(y(e.basename)):"";function h(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return p&&(o=w(o,p)),S(o,r,n)}function v(){return Math.random().toString(36).substr(2,d)}var m=E();function b(e){c(B,e),B.length=n.length,m.notifyListeners(B.location,B.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(h(e.state))}function M(){D(h(N()))}var L=!1;function D(e){if(L)L=!1,b();else{m.confirmTransitionTo(e,"POP",s,(function(t){t?b({action:"POP",location:e}):function(e){var t=B.location,n=z.indexOf(t.key);-1===n&&(n=0);var r=z.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(L=!0,I(a))}(e)}))}}var R=h(N()),z=[R.key];function j(e){return p+x(e)}function I(e){n.go(e)}var A=0;function F(e){1===(A+=e)&&1===e?(window.addEventListener(P,T),a&&window.addEventListener(O,M)):0===A&&(window.removeEventListener(P,T),a&&window.removeEventListener(O,M))}var U=!1;var B={length:n.length,action:"POP",location:R,createHref:j,push:function(e,t){var a="PUSH",o=S(e,t,v(),B.location);m.confirmTransitionTo(o,a,s,(function(e){if(e){var t=j(o),l=o.key,u=o.state;if(r)if(n.pushState({key:l,state:u},null,t),i)window.location.href=t;else{var c=z.indexOf(B.location.key),s=z.slice(0,c+1);s.push(o.key),z=s,b({action:a,location:o})}else window.location.href=t}}))},replace:function(e,t){var a="REPLACE",o=S(e,t,v(),B.location);m.confirmTransitionTo(o,a,s,(function(e){if(e){var t=j(o),l=o.key,u=o.state;if(r)if(n.replaceState({key:l,state:u},null,t),i)window.location.replace(t);else{var c=z.indexOf(B.location.key);-1!==c&&(z[c]=o.key),b({action:a,location:o})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=m.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=m.appendListener(e);return F(1),function(){F(-1),t()}}};return B}var M="hashchange",L={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+b(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:b,decodePath:y},slash:{encodePath:y,decodePath:y}};function D(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function R(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function z(e){window.location.replace(D(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),_||g(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,a=void 0===r?C:r,o=n.hashType,l=void 0===o?"slash":o,i=e.basename?k(y(e.basename)):"",u=L[l],s=u.encodePath,f=u.decodePath;function d(){var e=f(R());return i&&(e=w(e,i)),S(e)}var p=E();function h(e){c(U,e),U.length=t.length,p.notifyListeners(U.location,U.action)}var v=!1,m=null;function b(){var e,t,n=R(),r=s(n);if(n!==r)z(r);else{var o=d(),l=U.location;if(!v&&(t=o,(e=l).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(m===x(o))return;m=null,function(e){if(v)v=!1,h();else{var t="POP";p.confirmTransitionTo(e,t,a,(function(n){n?h({action:t,location:e}):function(e){var t=U.location,n=T.lastIndexOf(x(t));-1===n&&(n=0);var r=T.lastIndexOf(x(e));-1===r&&(r=0);var a=n-r;a&&(v=!0,j(a))}(e)}))}}(o)}}var P=R(),O=s(P);P!==O&&z(O);var N=d(),T=[x(N)];function j(e){t.go(e)}var I=0;function A(e){1===(I+=e)&&1===e?window.addEventListener(M,b):0===I&&window.removeEventListener(M,b)}var F=!1;var U={length:t.length,action:"POP",location:N,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=D(window.location.href)),n+"#"+s(i+x(e))},push:function(e,t){var n="PUSH",r=S(e,void 0,void 0,U.location);p.confirmTransitionTo(r,n,a,(function(e){if(e){var t=x(r),a=s(i+t);if(R()!==a){m=t,function(e){window.location.hash=e}(a);var o=T.lastIndexOf(x(U.location)),l=T.slice(0,o+1);l.push(t),T=l,h({action:n,location:r})}else h()}}))},replace:function(e,t){var n="REPLACE",r=S(e,void 0,void 0,U.location);p.confirmTransitionTo(r,n,a,(function(e){if(e){var t=x(r),a=s(i+t);R()!==a&&(m=t,z(a));var o=T.indexOf(x(U.location));-1!==o&&(T[o]=t),h({action:n,location:r})}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(e){void 0===e&&(e=!1);var t=p.setPrompt(e);return F||(A(1),F=!0),function(){return F&&(F=!1,A(-1)),t()}},listen:function(e){var t=p.appendListener(e);return A(1),function(){A(-1),t()}}};return U}function I(e,t,n){return Math.min(Math.max(e,t),n)}var A=n(9658),F=n.n(A);n(9864);function U(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var B=n(8679),W=n.n(B),$=1073741823,H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var V=l().createContext||function(e,t){var n,r,o="__create-react-context-"+function(){var e="__global_unique_id__";return H[e]=(H[e]||0)+1}()+"__",i=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}a(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(l=a)?0!==o||1/o==1/l:o!=o&&l!=l)?n=0:(n="function"==typeof t?t(r,a):$,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,l},r.render=function(){return this.props.children},n}(l().Component);i.childContextTypes=((n={})[o]=u().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}a(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?$:t},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?$:e},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(l().Component);return c.contextTypes=((r={})[o]=u().object,r),{Provider:i,Consumer:c}},Q=function(e){var t=V();return t.displayName=e,t},K=Q("Router-History"),q=Q("Router"),Y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}a(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return l().createElement(q.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},l().createElement(K.Provider,{children:this.props.children||null,value:this.props.history}))},t}(l().Component);var X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=function(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,a=void 0===r?["/"]:r,o=t.initialIndex,l=void 0===o?0:o,i=t.keyLength,u=void 0===i?6:i,s=E();function f(e){c(g,e),g.length=g.entries.length,s.notifyListeners(g.location,g.action)}function d(){return Math.random().toString(36).substr(2,u)}var p=I(l,0,a.length-1),h=a.map((function(e){return S(e,void 0,"string"==typeof e?d():e.key||d())})),v=x;function m(e){var t=I(g.index+e,0,g.entries.length-1),r=g.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var g={length:h.length,action:"POP",location:h[p],index:p,entries:h,createHref:v,push:function(e,t){var r="PUSH",a=S(e,t,d(),g.location);s.confirmTransitionTo(a,r,n,(function(e){if(e){var t=g.index+1,n=g.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),f({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=S(e,t,d(),g.location);s.confirmTransitionTo(a,r,n,(function(e){e&&(g.entries[g.index]=a,f({action:r,location:a}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=g.index+e;return t>=0&&t<g.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return g}(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var G=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(l().Component);function J(e){var t=e.message,n=e.when,r=void 0===n||n;return l().createElement(q.Consumer,null,(function(e){if(e||g(!1),!r||e.staticContext)return null;var n=e.history.block;return l().createElement(G,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var Z={},ee=1e4,te=0;function ne(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(Z[e])return Z[e];var t=F().compile(e);return te<ee&&(Z[e]=t,te++),t}(e)(t,{pretty:!0})}function re(e){var t=e.computedMatch,n=e.to,r=e.push,a=void 0!==r&&r;return l().createElement(q.Consumer,null,(function(e){e||g(!1);var r=e.history,o=e.staticContext,i=a?r.push:r.replace,u=S(t?"string"==typeof n?ne(n,t.params):c({},n,{pathname:ne(n.pathname,t.params)}):n);return o?(i(u),null):l().createElement(G,{onMount:function(){i(u)},onUpdate:function(e,t){var n,r,a=S(t.to);n=a,r=c({},u,{key:a.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&h(n.state,r.state)||i(u)},to:n})}))}var ae={},oe=1e4,le=0;function ie(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,l=n.strict,i=void 0!==l&&l,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=ae[n]||(ae[n]={});if(r[e])return r[e];var a=[],o={regexp:F()(e,a,t),keys:a};return le<oe&&(r[e]=o,le++),o}(n,{end:o,strict:i,sensitive:c}),a=r.regexp,l=r.keys,u=a.exec(e);if(!u)return null;var s=u[0],f=u.slice(1),d=e===s;return o&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:l.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var ue=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this;return l().createElement(q.Consumer,null,(function(t){t||g(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?ie(n.pathname,e.props):t.match}),a=e.props,o=a.children,i=a.component,u=a.render;return Array.isArray(o)&&function(e){return 0===l().Children.count(e)}(o)&&(o=null),l().createElement(q.Provider,{value:r},r.match?o?"function"==typeof o?o(r):o:i?l().createElement(i,r):u?u(r):null:"function"==typeof o?o(r):null)}))},t}(l().Component);function ce(e){return"/"===e.charAt(0)?e:"/"+e}function se(e,t){if(!e)return t;var n=ce(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function fe(e){return"string"==typeof e?e:x(e)}function de(e){return function(){g(!1)}}function pe(){}var he=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return pe},t.handleBlock=function(){return pe},t}a(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,a=void 0===r?"":r,o=n.context,l=void 0===o?{}:o;l.action=t,l.location=function(e,t){return e?c({},t,{pathname:ce(e)+t.pathname}):t}(a,S(e)),l.url=fe(l.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,a=void 0===r?{}:r,o=e.location,i=void 0===o?"/":o,u=U(e,["basename","context","location"]),s={createHref:function(e){return ce(n+fe(e))},action:"POP",location:se(n,S(i)),push:this.handlePush,replace:this.handleReplace,go:de(),goBack:de(),goForward:de(),listen:this.handleListen,block:this.handleBlock};return l().createElement(Y,c({},u,{history:s,staticContext:a}))},t}(l().Component);var ve=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this;return l().createElement(q.Consumer,null,(function(t){t||g(!1);var n,r,a=e.props.location||t.location;return l().Children.forEach(e.props.children,(function(e){if(null==r&&l().isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?ie(a.pathname,c({},e.props,{path:o})):t.match}})),r?l().cloneElement(n,{location:a,computedMatch:r}):null}))},t}(l().Component);function me(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=U(t,["wrappedComponentRef"]);return l().createElement(q.Consumer,null,(function(t){return t||g(!1),l().createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,W()(n,e)}var ge=l().useContext;function ye(){return ge(K)}function be(){return ge(q).location}function we(){var e=ge(q).match;return e?e.params:{}}function ke(e){var t=be(),n=ge(q).match;return e?ie(t.pathname,e):n}var xe=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=T(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var Se=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=j(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var Ee=function(e,t){return"function"==typeof e?e(t):e},_e=function(e,t){return"string"==typeof e?S(e,null,null,t):e},Ce=function(e){return e},Pe=l().forwardRef;void 0===Pe&&(Pe=Ce);var Oe=Pe((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,o=U(e,["innerRef","navigate","onClick"]),i=o.target,u=c({},o,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||i&&"_self"!==i||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=Ce!==Pe&&t||n,l().createElement("a",u)}));var Ne=Pe((function(e,t){var n=e.component,r=void 0===n?Oe:n,a=e.replace,o=e.to,i=e.innerRef,u=U(e,["component","replace","to","innerRef"]);return l().createElement(q.Consumer,null,(function(e){e||g(!1);var n=e.history,s=_e(Ee(o,e.location),e.location),f=s?n.createHref(s):"",d=c({},u,{href:f,navigate:function(){var t=Ee(o,e.location),r=x(e.location)===x(_e(t));(a||r?n.replace:n.push)(t)}});return Ce!==Pe?d.ref=t||i:d.innerRef=i,l().createElement(r,d)}))})),Te=function(e){return e},Me=l().forwardRef;void 0===Me&&(Me=Te);var Le=Me((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,a=e.activeClassName,o=void 0===a?"active":a,i=e.activeStyle,u=e.className,s=e.exact,f=e.isActive,d=e.location,p=e.sensitive,h=e.strict,v=e.style,m=e.to,y=e.innerRef,b=U(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return l().createElement(q.Consumer,null,(function(e){e||g(!1);var n=d||e.location,a=_e(Ee(m,n),n),w=a.pathname,k=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=k?ie(n.pathname,{path:k,exact:s,sensitive:p,strict:h}):null,S=!!(f?f(x,n):x),E="function"==typeof u?u(S):u,_="function"==typeof v?v(S):v;S&&(E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(E,o),_=c({},_,i));var C=c({"aria-current":S&&r||null,className:E,style:_,to:a},b);return Te!==Me?C.ref=t||y:C.innerRef=y,l().createElement(Ne,C)}))}))},9658:(e,t,n)=>{var r=n(5826);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return i(o(e,t),t)},e.exports.tokensToFunction=i,e.exports.tokensToRegExp=d;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,l=0,i="",s=t&&t.delimiter||"/";null!=(n=a.exec(e));){var f=n[0],d=n[1],p=n.index;if(i+=e.slice(l,p),l=p+f.length,d)i+=d[1];else{var h=e[l],v=n[2],m=n[3],g=n[4],y=n[5],b=n[6],w=n[7];i&&(r.push(i),i="");var k=null!=v&&null!=h&&h!==v,x="+"===b||"*"===b,S="?"===b||"*"===b,E=n[2]||s,_=g||y;r.push({name:m||o++,prefix:v||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+u(E)+"]+?"})}}return l<e.length&&(i+=e.substr(l)),i&&r.push(i),r}function l(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function i(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",f(t)));return function(t,a){for(var o="",i=t||{},u=(a||{}).pretty?l:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,d=i[s.name];if(null==d){if(s.optional){s.partial&&(o+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');o+=s.prefix+f}}else o+=s}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,l="",i=0;i<e.length;i++){var c=e[i];if("string"==typeof c)l+=u(c);else{var d=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+d+p+")*"),l+=p=c.optional?c.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),v=l.slice(-h.length)===h;return a||(l=(v?l.slice(0,-h.length):l)+"(?:"+h+"(?=$))?"),l+=o?"$":a&&v?"":"(?="+h+"|$)",s(new RegExp("^"+l,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(o(e,n),t,n)}(e,t,n)}},53:(e,t)=>{"use strict";
18
+ */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,i=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function k(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case s:case f:case o:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case c:case d:case m:case v:case u:return e;default:return t}}case a:return t}}}function x(e){return k(e)===f}t.AsyncMode=s,t.ConcurrentMode=f,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=v,t.Portal=a,t.Profiler=i,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return x(e)||k(e)===s},t.isConcurrentMode=x,t.isContextConsumer=function(e){return k(e)===c},t.isContextProvider=function(e){return k(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return k(e)===d},t.isFragment=function(e){return k(e)===o},t.isLazy=function(e){return k(e)===m},t.isMemo=function(e){return k(e)===v},t.isPortal=function(e){return k(e)===a},t.isProfiler=function(e){return k(e)===i},t.isStrictMode=function(e){return k(e)===l},t.isSuspense=function(e){return k(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===f||e===i||e===l||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===c||e.$$typeof===d||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=k},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},8223:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.r(t),n.d(t,{BrowserRouter:()=>xe,HashRouter:()=>Se,Link:()=>Ne,MemoryRouter:()=>X,NavLink:()=>Le,Prompt:()=>J,Redirect:()=>re,Route:()=>ue,Router:()=>Y,StaticRouter:()=>he,Switch:()=>ve,generatePath:()=>ne,matchPath:()=>ie,useHistory:()=>ye,useLocation:()=>be,useParams:()=>we,useRouteMatch:()=>ke,withRouter:()=>me});var o=n(9497),l=n.n(o),i=n(5697),u=n.n(i);function c(){return c=Object.assign?Object.assign.bind():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},c.apply(this,arguments)}function s(e){return"/"===e.charAt(0)}function f(e,t){for(var n=t,r=n+1,a=e.length;r<a;n+=1,r+=1)e[n]=e[r];e.pop()}const d=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],o=e&&s(e),l=t&&s(t),i=o||l;if(e&&s(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var c=0,d=a.length;d>=0;d--){var p=a[d];"."===p?f(a,d):".."===p?(f(a,d),c++):c&&(f(a,d),c--)}if(!i)for(;c--;c)a.unshift("..");!i||""===a[0]||a[0]&&s(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function p(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const h=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=p(t),a=p(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var v=!0,m="Invariant failed";function g(e,t){if(!e){if(v)throw new Error(m);var n="function"==typeof t?t():t,r=n?"".concat(m,": ").concat(n):m;throw new Error(r)}}function y(e){return"/"===e.charAt(0)?e:"/"+e}function b(e){return"/"===e.charAt(0)?e.substr(1):e}function w(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function k(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function x(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function S(e,t,n,r){var a;"string"==typeof e?(a=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),a.state=t):(void 0===(a=c({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=d(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a}function E(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var _=!("undefined"==typeof window||!window.document||!window.document.createElement);function C(e,t){t(window.confirm(e))}var P="popstate",O="hashchange";function N(){try{return window.history.state||{}}catch(e){return{}}}function T(e){void 0===e&&(e={}),_||g(!1);var t,n=window.history,r=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,a=!(-1===window.navigator.userAgent.indexOf("Trident")),o=e,l=o.forceRefresh,i=void 0!==l&&l,u=o.getUserConfirmation,s=void 0===u?C:u,f=o.keyLength,d=void 0===f?6:f,p=e.basename?k(y(e.basename)):"";function h(e){var t=e||{},n=t.key,r=t.state,a=window.location,o=a.pathname+a.search+a.hash;return p&&(o=w(o,p)),S(o,r,n)}function v(){return Math.random().toString(36).substr(2,d)}var m=E();function b(e){c(B,e),B.length=n.length,m.notifyListeners(B.location,B.action)}function T(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||D(h(e.state))}function M(){D(h(N()))}var L=!1;function D(e){if(L)L=!1,b();else{m.confirmTransitionTo(e,"POP",s,(function(t){t?b({action:"POP",location:e}):function(e){var t=B.location,n=z.indexOf(t.key);-1===n&&(n=0);var r=z.indexOf(e.key);-1===r&&(r=0);var a=n-r;a&&(L=!0,I(a))}(e)}))}}var R=h(N()),z=[R.key];function j(e){return p+x(e)}function I(e){n.go(e)}var A=0;function F(e){1===(A+=e)&&1===e?(window.addEventListener(P,T),a&&window.addEventListener(O,M)):0===A&&(window.removeEventListener(P,T),a&&window.removeEventListener(O,M))}var U=!1;var B={length:n.length,action:"POP",location:R,createHref:j,push:function(e,t){var a="PUSH",o=S(e,t,v(),B.location);m.confirmTransitionTo(o,a,s,(function(e){if(e){var t=j(o),l=o.key,u=o.state;if(r)if(n.pushState({key:l,state:u},null,t),i)window.location.href=t;else{var c=z.indexOf(B.location.key),s=z.slice(0,c+1);s.push(o.key),z=s,b({action:a,location:o})}else window.location.href=t}}))},replace:function(e,t){var a="REPLACE",o=S(e,t,v(),B.location);m.confirmTransitionTo(o,a,s,(function(e){if(e){var t=j(o),l=o.key,u=o.state;if(r)if(n.replaceState({key:l,state:u},null,t),i)window.location.replace(t);else{var c=z.indexOf(B.location.key);-1!==c&&(z[c]=o.key),b({action:a,location:o})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=m.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=m.appendListener(e);return F(1),function(){F(-1),t()}}};return B}var M="hashchange",L={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+b(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:b,decodePath:y},slash:{encodePath:y,decodePath:y}};function D(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function R(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function z(e){window.location.replace(D(window.location.href)+"#"+e)}function j(e){void 0===e&&(e={}),_||g(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),r=n.getUserConfirmation,a=void 0===r?C:r,o=n.hashType,l=void 0===o?"slash":o,i=e.basename?k(y(e.basename)):"",u=L[l],s=u.encodePath,f=u.decodePath;function d(){var e=f(R());return i&&(e=w(e,i)),S(e)}var p=E();function h(e){c(U,e),U.length=t.length,p.notifyListeners(U.location,U.action)}var v=!1,m=null;function b(){var e,t,n=R(),r=s(n);if(n!==r)z(r);else{var o=d(),l=U.location;if(!v&&(t=o,(e=l).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash))return;if(m===x(o))return;m=null,function(e){if(v)v=!1,h();else{var t="POP";p.confirmTransitionTo(e,t,a,(function(n){n?h({action:t,location:e}):function(e){var t=U.location,n=T.lastIndexOf(x(t));-1===n&&(n=0);var r=T.lastIndexOf(x(e));-1===r&&(r=0);var a=n-r;a&&(v=!0,j(a))}(e)}))}}(o)}}var P=R(),O=s(P);P!==O&&z(O);var N=d(),T=[x(N)];function j(e){t.go(e)}var I=0;function A(e){1===(I+=e)&&1===e?window.addEventListener(M,b):0===I&&window.removeEventListener(M,b)}var F=!1;var U={length:t.length,action:"POP",location:N,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=D(window.location.href)),n+"#"+s(i+x(e))},push:function(e,t){var n="PUSH",r=S(e,void 0,void 0,U.location);p.confirmTransitionTo(r,n,a,(function(e){if(e){var t=x(r),a=s(i+t);if(R()!==a){m=t,function(e){window.location.hash=e}(a);var o=T.lastIndexOf(x(U.location)),l=T.slice(0,o+1);l.push(t),T=l,h({action:n,location:r})}else h()}}))},replace:function(e,t){var n="REPLACE",r=S(e,void 0,void 0,U.location);p.confirmTransitionTo(r,n,a,(function(e){if(e){var t=x(r),a=s(i+t);R()!==a&&(m=t,z(a));var o=T.indexOf(x(U.location));-1!==o&&(T[o]=t),h({action:n,location:r})}}))},go:j,goBack:function(){j(-1)},goForward:function(){j(1)},block:function(e){void 0===e&&(e=!1);var t=p.setPrompt(e);return F||(A(1),F=!0),function(){return F&&(F=!1,A(-1)),t()}},listen:function(e){var t=p.appendListener(e);return A(1),function(){A(-1),t()}}};return U}function I(e,t,n){return Math.min(Math.max(e,t),n)}var A=n(9658),F=n.n(A);n(9864);function U(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var B=n(8679),W=n.n(B),$=1073741823,H="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};var V=l().createContext||function(e,t){var n,r,o="__create-react-context-"+function(){var e="__global_unique_id__";return H[e]=(H[e]||0)+1}()+"__",i=function(e){function n(){for(var t,n,r,a=arguments.length,o=new Array(a),l=0;l<a;l++)o[l]=arguments[l];return(t=e.call.apply(e,[this].concat(o))||this).emitter=(n=t.props.value,r=[],{on:function(e){r.push(e)},off:function(e){r=r.filter((function(t){return t!==e}))},get:function(){return n},set:function(e,t){n=e,r.forEach((function(e){return e(n,t)}))}}),t}a(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[o]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,a=e.value;((o=r)===(l=a)?0!==o||1/o==1/l:o!=o&&l!=l)?n=0:(n="function"==typeof t?t(r,a):$,0!==(n|=0)&&this.emitter.set(e.value,n))}var o,l},r.render=function(){return this.props.children},n}(l().Component);i.childContextTypes=((n={})[o]=u().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}a(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?$:t},r.componentDidMount=function(){this.context[o]&&this.context[o].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?$:e},r.componentWillUnmount=function(){this.context[o]&&this.context[o].off(this.onUpdate)},r.getValue=function(){return this.context[o]?this.context[o].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(l().Component);return c.contextTypes=((r={})[o]=u().object,r),{Provider:i,Consumer:c}},Q=function(e){var t=V();return t.displayName=e,t},K=Q("Router-History"),q=Q("Router"),Y=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}a(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return l().createElement(q.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},l().createElement(K.Provider,{children:this.props.children||null,value:this.props.history}))},t}(l().Component);var X=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=function(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,a=void 0===r?["/"]:r,o=t.initialIndex,l=void 0===o?0:o,i=t.keyLength,u=void 0===i?6:i,s=E();function f(e){c(g,e),g.length=g.entries.length,s.notifyListeners(g.location,g.action)}function d(){return Math.random().toString(36).substr(2,u)}var p=I(l,0,a.length-1),h=a.map((function(e){return S(e,void 0,"string"==typeof e?d():e.key||d())})),v=x;function m(e){var t=I(g.index+e,0,g.entries.length-1),r=g.entries[t];s.confirmTransitionTo(r,"POP",n,(function(e){e?f({action:"POP",location:r,index:t}):f()}))}var g={length:h.length,action:"POP",location:h[p],index:p,entries:h,createHref:v,push:function(e,t){var r="PUSH",a=S(e,t,d(),g.location);s.confirmTransitionTo(a,r,n,(function(e){if(e){var t=g.index+1,n=g.entries.slice(0);n.length>t?n.splice(t,n.length-t,a):n.push(a),f({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=S(e,t,d(),g.location);s.confirmTransitionTo(a,r,n,(function(e){e&&(g.entries[g.index]=a,f({action:r,location:a}))}))},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=g.index+e;return t>=0&&t<g.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return g}(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var G=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(l().Component);function J(e){var t=e.message,n=e.when,r=void 0===n||n;return l().createElement(q.Consumer,null,(function(e){if(e||g(!1),!r||e.staticContext)return null;var n=e.history.block;return l().createElement(G,{onMount:function(e){e.release=n(t)},onUpdate:function(e,r){r.message!==t&&(e.release(),e.release=n(t))},onUnmount:function(e){e.release()},message:t})}))}var Z={},ee=1e4,te=0;function ne(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(Z[e])return Z[e];var t=F().compile(e);return te<ee&&(Z[e]=t,te++),t}(e)(t,{pretty:!0})}function re(e){var t=e.computedMatch,n=e.to,r=e.push,a=void 0!==r&&r;return l().createElement(q.Consumer,null,(function(e){e||g(!1);var r=e.history,o=e.staticContext,i=a?r.push:r.replace,u=S(t?"string"==typeof n?ne(n,t.params):c({},n,{pathname:ne(n.pathname,t.params)}):n);return o?(i(u),null):l().createElement(G,{onMount:function(){i(u)},onUpdate:function(e,t){var n,r,a=S(t.to);n=a,r=c({},u,{key:a.key}),n.pathname===r.pathname&&n.search===r.search&&n.hash===r.hash&&n.key===r.key&&h(n.state,r.state)||i(u)},to:n})}))}var ae={},oe=1e4,le=0;function ie(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,a=n.exact,o=void 0!==a&&a,l=n.strict,i=void 0!==l&&l,u=n.sensitive,c=void 0!==u&&u;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=ae[n]||(ae[n]={});if(r[e])return r[e];var a=[],o={regexp:F()(e,a,t),keys:a};return le<oe&&(r[e]=o,le++),o}(n,{end:o,strict:i,sensitive:c}),a=r.regexp,l=r.keys,u=a.exec(e);if(!u)return null;var s=u[0],f=u.slice(1),d=e===s;return o&&!d?null:{path:n,url:"/"===n&&""===s?"/":s,isExact:d,params:l.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var ue=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this;return l().createElement(q.Consumer,null,(function(t){t||g(!1);var n=e.props.location||t.location,r=c({},t,{location:n,match:e.props.computedMatch?e.props.computedMatch:e.props.path?ie(n.pathname,e.props):t.match}),a=e.props,o=a.children,i=a.component,u=a.render;return Array.isArray(o)&&function(e){return 0===l().Children.count(e)}(o)&&(o=null),l().createElement(q.Provider,{value:r},r.match?o?"function"==typeof o?o(r):o:i?l().createElement(i,r):u?u(r):null:"function"==typeof o?o(r):null)}))},t}(l().Component);function ce(e){return"/"===e.charAt(0)?e:"/"+e}function se(e,t){if(!e)return t;var n=ce(e);return 0!==t.pathname.indexOf(n)?t:c({},t,{pathname:t.pathname.substr(n.length)})}function fe(e){return"string"==typeof e?e:x(e)}function de(e){return function(){g(!1)}}function pe(){}var he=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).handlePush=function(e){return t.navigateTo(e,"PUSH")},t.handleReplace=function(e){return t.navigateTo(e,"REPLACE")},t.handleListen=function(){return pe},t.handleBlock=function(){return pe},t}a(t,e);var n=t.prototype;return n.navigateTo=function(e,t){var n=this.props,r=n.basename,a=void 0===r?"":r,o=n.context,l=void 0===o?{}:o;l.action=t,l.location=function(e,t){return e?c({},t,{pathname:ce(e)+t.pathname}):t}(a,S(e)),l.url=fe(l.location)},n.render=function(){var e=this.props,t=e.basename,n=void 0===t?"":t,r=e.context,a=void 0===r?{}:r,o=e.location,i=void 0===o?"/":o,u=U(e,["basename","context","location"]),s={createHref:function(e){return ce(n+fe(e))},action:"POP",location:se(n,S(i)),push:this.handlePush,replace:this.handleReplace,go:de(),goBack:de(),goForward:de(),listen:this.handleListen,block:this.handleBlock};return l().createElement(Y,c({},u,{history:s,staticContext:a}))},t}(l().Component);var ve=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t.prototype.render=function(){var e=this;return l().createElement(q.Consumer,null,(function(t){t||g(!1);var n,r,a=e.props.location||t.location;return l().Children.forEach(e.props.children,(function(e){if(null==r&&l().isValidElement(e)){n=e;var o=e.props.path||e.props.from;r=o?ie(a.pathname,c({},e.props,{path:o})):t.match}})),r?l().cloneElement(n,{location:a,computedMatch:r}):null}))},t}(l().Component);function me(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=U(t,["wrappedComponentRef"]);return l().createElement(q.Consumer,null,(function(t){return t||g(!1),l().createElement(e,c({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,W()(n,e)}var ge=l().useContext;function ye(){return ge(K)}function be(){return ge(q).location}function we(){var e=ge(q).match;return e?e.params:{}}function ke(e){var t=be(),n=ge(q).match;return e?ie(t.pathname,e):n}var xe=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=T(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var Se=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).history=j(t.props),t}return a(t,e),t.prototype.render=function(){return l().createElement(Y,{history:this.history,children:this.props.children})},t}(l().Component);var Ee=function(e,t){return"function"==typeof e?e(t):e},_e=function(e,t){return"string"==typeof e?S(e,null,null,t):e},Ce=function(e){return e},Pe=l().forwardRef;void 0===Pe&&(Pe=Ce);var Oe=Pe((function(e,t){var n=e.innerRef,r=e.navigate,a=e.onClick,o=U(e,["innerRef","navigate","onClick"]),i=o.target,u=c({},o,{onClick:function(e){try{a&&a(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||i&&"_self"!==i||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=Ce!==Pe&&t||n,l().createElement("a",u)}));var Ne=Pe((function(e,t){var n=e.component,r=void 0===n?Oe:n,a=e.replace,o=e.to,i=e.innerRef,u=U(e,["component","replace","to","innerRef"]);return l().createElement(q.Consumer,null,(function(e){e||g(!1);var n=e.history,s=_e(Ee(o,e.location),e.location),f=s?n.createHref(s):"",d=c({},u,{href:f,navigate:function(){var t=Ee(o,e.location),r=x(e.location)===x(_e(t));(a||r?n.replace:n.push)(t)}});return Ce!==Pe?d.ref=t||i:d.innerRef=i,l().createElement(r,d)}))})),Te=function(e){return e},Me=l().forwardRef;void 0===Me&&(Me=Te);var Le=Me((function(e,t){var n=e["aria-current"],r=void 0===n?"page":n,a=e.activeClassName,o=void 0===a?"active":a,i=e.activeStyle,u=e.className,s=e.exact,f=e.isActive,d=e.location,p=e.sensitive,h=e.strict,v=e.style,m=e.to,y=e.innerRef,b=U(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return l().createElement(q.Consumer,null,(function(e){e||g(!1);var n=d||e.location,a=_e(Ee(m,n),n),w=a.pathname,k=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),x=k?ie(n.pathname,{path:k,exact:s,sensitive:p,strict:h}):null,S=!!(f?f(x,n):x),E="function"==typeof u?u(S):u,_="function"==typeof v?v(S):v;S&&(E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(E,o),_=c({},_,i));var C=c({"aria-current":S&&r||null,className:E,style:_,to:a},b);return Te!==Me?C.ref=t||y:C.innerRef=y,l().createElement(Ne,C)}))}))},6585:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},9658:(e,t,n)=>{var r=n(6585);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return i(o(e,t),t)},e.exports.tokensToFunction=i,e.exports.tokensToRegExp=d;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,l=0,i="",s=t&&t.delimiter||"/";null!=(n=a.exec(e));){var f=n[0],d=n[1],p=n.index;if(i+=e.slice(l,p),l=p+f.length,d)i+=d[1];else{var h=e[l],v=n[2],m=n[3],g=n[4],y=n[5],b=n[6],w=n[7];i&&(r.push(i),i="");var k=null!=v&&null!=h&&h!==v,x="+"===b||"*"===b,S="?"===b||"*"===b,E=n[2]||s,_=g||y;r.push({name:m||o++,prefix:v||"",delimiter:E,optional:S,repeat:x,partial:k,asterisk:!!w,pattern:_?c(_):w?".*":"[^"+u(E)+"]+?"})}}return l<e.length&&(i+=e.substr(l)),i&&r.push(i),r}function l(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function i(e,t){for(var n=new Array(e.length),a=0;a<e.length;a++)"object"==typeof e[a]&&(n[a]=new RegExp("^(?:"+e[a].pattern+")$",f(t)));return function(t,a){for(var o="",i=t||{},u=(a||{}).pretty?l:encodeURIComponent,c=0;c<e.length;c++){var s=e[c];if("string"!=typeof s){var f,d=i[s.name];if(null==d){if(s.optional){s.partial&&(o+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(r(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var p=0;p<d.length;p++){if(f=u(d[p]),!n[c].test(f))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(f)+"`");o+=(0===p?s.prefix:s.delimiter)+f}}else{if(f=s.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):u(d),!n[c].test(f))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+f+'"');o+=s.prefix+f}}else o+=s}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e&&e.sensitive?"":"i"}function d(e,t,n){r(t)||(n=t||n,t=[]);for(var a=(n=n||{}).strict,o=!1!==n.end,l="",i=0;i<e.length;i++){var c=e[i];if("string"==typeof c)l+=u(c);else{var d=u(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+d+p+")*"),l+=p=c.optional?c.partial?d+"("+p+")?":"(?:"+d+"("+p+"))?":d+"("+p+")"}}var h=u(n.delimiter||"/"),v=l.slice(-h.length)===h;return a||(l=(v?l.slice(0,-h.length):l)+"(?:"+h+"(?=$))?"),l+=o?"$":a&&v?"":"(?="+h+"|$)",s(new RegExp("^"+l,f(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],a=0;a<e.length;a++)r.push(p(e[a],t,n).source);return s(new RegExp("(?:"+r.join("|")+")",f(n)),t)}(e,t,n):function(e,t,n){return d(o(e,n),t,n)}(e,t,n)}},53:(e,t)=>{"use strict";
19
19
  /**
20
20
  * @license React
21
21
  * scheduler.production.min.js
@@ -1 +1 @@
1
- .icon--plus{height:1.9230769231rem;width:1.9230769231rem}.icon--plus .stroke,.icon--x line{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--chevron{height:1.9230769231rem;width:1.9230769231rem}.icon--chevron .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--edit{shape-rendering:auto;height:1.9230769231rem;width:1.9230769231rem}.icon--edit .fill{fill:var(--theme-elevation-800);stroke:none}.icon--swap{height:1.9230769231rem;width:1.9230769231rem}.icon--swap .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--link{height:1.9230769231rem;width:1.9230769231rem}.icon--link .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.tooltip{--caret-size:6px;background-color:var(--theme-elevation-800);border-radius:2px;color:var(--theme-elevation-0);font-weight:400;line-height:1.4423076923rem;opacity:0;padding:.3846153846rem .7692307692rem;visibility:hidden;white-space:nowrap;z-index:2}.tooltip,.tooltip:after{left:50%;position:absolute}.tooltip:after{border-left:var(--caret-size) solid transparent;border-right:var(--caret-size) solid transparent;content:" ";display:block;height:0;transform:translate3d(-50%,100%,0);width:0}.tooltip--show{cursor:default;opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.tooltip--position-top{bottom:100%;transform:translate3d(-50%,calc(var(--caret-size)*-1),0)}.tooltip--position-top:after{border-top:var(--caret-size) solid var(--theme-elevation-800);bottom:1px}.tooltip--position-bottom{top:100%;transform:translate3d(-50%,var(--caret-size),0)}.tooltip--position-bottom:after{border-bottom:var(--caret-size) solid var(--theme-elevation-800);bottom:calc(100% + var(--caret-size) - 1px)}@media(max-width:1024px){.tooltip{display:none}}html[data-theme=light] .tooltip{background-color:var(--theme-error-250);color:var(--theme-error-750)}html[data-theme=light] .tooltip--position-top:after{border-top-color:var(--theme-error-250)}html[data-theme=light] .tooltip--position-bottom:after{border-bottom-color:var(--theme-error-250)}a.btn{display:inline-block}.btn{background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;font-size:1rem;font-weight:400;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;margin-top:1.9230769231rem;text-align:center;text-decoration:none}.btn .btn__icon{border:1px solid;border-radius:100%}.btn .btn__icon .stroke{stroke:currentColor;fill:none}.btn .btn__icon .fill{fill:currentColor}.btn--has-tooltip{position:relative}.btn--icon-style-none .btn__icon,.btn--icon-style-without-border .btn__icon{border:none}.btn span{line-height:1.9230769231rem}.btn span,.btn svg{vertical-align:top}.btn--size-medium{padding:.9615384615rem 1.9230769231rem}.btn--size-small{padding:.4807692308rem .9615384615rem}.btn--style-primary{background-color:var(--theme-elevation-800);color:var(--theme-elevation-0)}.btn--style-primary.btn--disabled{background-color:var(--theme-elevation-400)}.btn--style-primary:not(.btn--disabled):hover{background:var(--theme-elevation-750)}.btn--style-primary:not(.btn--disabled):active{background:var(--theme-elevation-700)}.btn--style-primary:focus{box-shadow:0 0 0 2px var(--theme-success-500);outline:none}.btn--style-secondary{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-800);color:var(--theme-elevation-800)}.btn--style-secondary:hover{background:var(--theme-elevation-100);box-shadow:inset 0 0 0 1px var(--theme-elevation-700)}.btn--style-secondary:active{background:var(--theme-elevation-200)}.btn--style-secondary.btn--disabled{background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-400);color:var(--theme-elevation-400)}.btn--style-secondary:focus{box-shadow:inset 0 0 0 1px var(--theme-elevation-700),0 0 0 2px var(--theme-success-500);outline:none}.btn--style-none{border-radius:0;margin:0;padding:0}.btn--style-none:focus{opacity:.8}.btn--style-none:active{opacity:.7}.btn--round{border-radius:100%}.btn--icon span{display:flex;justify-content:space-between}.btn--icon.btn--style-primary .icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn--icon.btn--style-primary .icon .fill{fill:var(--theme-elevation-0)}.btn--style-icon-label{font-weight:600;padding:0}.btn--style-light-gray{box-shadow:inset 0 0 0 1px var(--theme-elevation-800)}.btn--icon-position-left .btn__content{flex-direction:row-reverse}.btn--icon-position-left .btn__icon{margin-right:.9615384615rem}.btn--icon-position-right .btn__icon{margin-left:.9615384615rem}.btn--icon-only .btn__icon{margin:0;padding:0}.btn--disabled{cursor:default}.btn:hover .btn__icon{background:var(--theme-elevation-800)}.btn:hover .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:hover .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus{outline:none}.btn:focus .btn__icon{background:var(--theme-elevation-150)}.btn:focus .btn__icon .stroke{stroke:var(--theme-elevation-800);fill:none}.btn:focus .btn__icon .fill{fill:var(--theme-elevation-800)}.btn:active .btn__icon{background:var(--theme-elevation-700)}.btn:active .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:active .btn__icon .fill{fill:var(--theme-elevation-0)}.popup-button{display:inline-flex}.popup{position:relative}.popup__content{background:var(--theme-input-bg);max-width:calc(100vw - 1.92308rem);opacity:0;pointer-events:none;position:absolute;visibility:hidden;z-index:var(--z-popup)}.popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg);content:" ";position:absolute;top:calc(100% - 1px)}.popup__wrap{overflow:hidden}.popup .popup__scroll{overflow-y:auto;padding:1.9230769231rem;padding-right:calc(var(--scrollbar-width) + 1.92308rem);white-space:nowrap;width:calc(100% + var(--scrollbar-width))}.popup--show-scrollbar .popup__scroll{padding-right:0;width:100%}.popup:active,.popup:focus{outline:none}.popup--size-small .popup__scroll{padding:1.4423076923rem calc(var(--scrollbar-width) + 1.44231rem) 1.4423076923rem 1.4423076923rem}.popup--size-small .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-small.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--size-small.popup--h-align-left .popup__content:after{left:.8173076923rem}.popup--size-large .popup__content{box-shadow:0 20px 35px -10px rgba(0,2,4,.2),0 6px 4px -4px rgba(0,2,4,.02)}.popup--size-large .popup__scroll{padding:2.8846153846rem calc(var(--scrollbar-width) + 2.88462rem) 1.9230769231rem 2.8846153846rem}.popup--size-wide .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-wide .popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg)}.popup--size-wide .popup__scroll{padding:.4807692308rem .9615384615rem}.popup--size-wide.popup--align-left .popup__content{left:-.9615384615rem}.popup--size-wide.popup--align-left .popup__content:after{left:.8173076923rem}.popup--h-align-left .popup__content{left:-3.3653846154rem}.popup--h-align-left .popup__content:after{left:3.3653846154rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(-50%)}.popup--h-align-right .popup__content{right:-3.3653846154rem}.popup--h-align-right .popup__content:after{right:3.3653846154rem}.popup--v-align-top .popup__content{bottom:calc(100% + 1.92308rem)}.popup--v-align-bottom .popup__content{box-shadow:0 -2px 20px 7px rgba(0,2,4,.1),0 6px 4px -4px rgba(0,2,4,.02);top:calc(100% + .96154rem)}.popup--v-align-bottom .popup__content:after{border-bottom-color:var(--theme-input-bg);border-top-color:transparent!important;bottom:calc(100% - 1px);top:auto}.popup--v-align-bottom.popup--color-dark .popup__content:after{border-bottom-color:var(--theme-elevation-800)}.popup--color-dark .popup__content{background:var(--theme-elevation-800);color:var(--theme-input-bg)}.popup--color-dark .popup__content:after{border-top-color:var(--theme-elevation-800)}.popup--active .popup__content{opacity:1;pointer-events:all;visibility:visible}@media(max-width:1024px){.popup--size-large .popup__scroll,.popup__scroll{padding:1.4423076923rem;padding-right:calc(var(--scrollbar-width) + 1.44231rem)}.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--h-align-left .popup__content:after{left:.9615384615rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(0)}.popup--h-align-right .popup__content{right:-.9615384615rem}.popup--h-align-right .popup__content:after{right:.9615384615rem}.popup--force-h-align-left .popup__content{left:-.9615384615rem;right:auto;transform:none}.popup--force-h-align-left .popup__content:after{left:.9615384615rem;right:auto;transform:none}.popup--force-h-align-right .popup__content{left:auto;right:-.9615384615rem;transform:none}.popup--force-h-align-right .popup__content:after{left:auto;right:.9615384615rem;transform:none}}.banner{background:var(--theme-elevation-100);border:0;border-radius:3px;color:var(--theme-elevation-800);font-size:1rem;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;padding:.9615384615rem;vertical-align:middle}.banner--has-action{cursor:pointer;text-decoration:none}.banner--has-icon{display:flex}.banner--has-icon svg{display:block}.banner--type-default.button--has-action:hover{background:var(--theme-elevation-900)}.banner--type-default.button--has-action:active{background:var(--theme-elevation-950)}.banner--type-error{background:var(--theme-error-100);color:var(--theme-error-500)}.banner--type-error svg .stroke{stroke:var(--theme-error-500);fill:none}.banner--type-error svg .fill{fill:var(--theme-error-500)}.banner--type-error.button--has-action:hover{background:var(--theme-error-200)}.banner--type-error.button--has-action:active{background:var(--theme-error-300)}.banner--type-success{background:var(--theme-success-500);color:var(--color-base-800)}.banner--type-success.button--has-action:active,.banner--type-success.button--has-action:hover{background:var(--theme-success-200)}.template-minimal{align-items:center;display:flex;justify-content:center;margin-left:auto;margin-right:auto;min-height:100%;padding:5.7692307692rem 1.9230769231rem;width:100%}.template-minimal--width-normal .template-minimal__wrap{max-width:500px;width:100%}.template-minimal--width-wide .template-minimal__wrap{max-width:1024px;width:100%}.icon--check{height:1.9230769231rem;width:1.9230769231rem}.icon--check .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--search{height:1.9230769231rem;width:1.9230769231rem}.icon--search .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--menu .fill{fill:var(--theme-text)}.pill{align-items:center;background:var(--theme-elevation-150);border:0;border-radius:3px;color:var(--theme-elevation-800);cursor:default;display:inline-flex;flex-shrink:0;font-size:1rem;line-height:1.9230769231rem;overflow:hidden;padding:0 .4807692308rem;text-overflow:ellipsis;white-space:nowrap}.pill--rounded{border-radius:var(--style-radius-l);font-size:12px;line-height:18px}.pill:active,.pill:focus{outline:none}.pill--has-action{cursor:pointer;text-decoration:none}.pill--is-dragging{cursor:grabbing}.pill--has-icon svg{display:block}.pill--align-icon-left{padding-left:0}.pill--align-icon-right{padding-right:0}.pill--style-white{background:var(--theme-elevation-0)}.pill--style-light-gray,.pill--style-light.pill--has-action:active,.pill--style-light.pill--has-action:hover,.pill--style-white.pill--has-action:active,.pill--style-white.pill--has-action:hover{background:var(--theme-elevation-100)}.pill--style-light-gray{color:var(--theme-elevation-800)}.pill--style-warning{background:var(--theme-warning-500)}.pill--style-success{background:var(--theme-success-500);color:var(--color-base-800)}.pill--style-dark{background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.pill--style-dark svg .stroke{stroke:var(--theme-elevation-0);fill:none}.pill--style-dark svg .fill{fill:var(--theme-elevation-0)}.pill--style-dark.pill--has-action:hover{background:var(--theme-elevation-750)}.pill--style-dark.pill--has-action:active{background:var(--theme-elevation-700)}html[data-theme=dark] .pill--style-error{background:var(--theme-error-500);color:var(--color-base-1000)}html[data-theme=light] .pill--style-error{background:var(--theme-error-250);color:var(--theme-error-750)}
1
+ .icon--plus{height:1.9230769231rem;width:1.9230769231rem}.icon--plus .stroke,.icon--x line{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--chevron{height:1.9230769231rem;width:1.9230769231rem}.icon--chevron .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--edit{shape-rendering:auto;height:1.9230769231rem;width:1.9230769231rem}.icon--edit .fill{fill:var(--theme-elevation-800);stroke:none}.icon--swap{height:1.9230769231rem;width:1.9230769231rem}.icon--swap .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--link{height:1.9230769231rem;width:1.9230769231rem}.icon--link .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.tooltip{--caret-size:6px;background-color:var(--theme-elevation-800);border-radius:2px;color:var(--theme-elevation-0);font-weight:400;line-height:1.4423076923rem;opacity:0;padding:.3846153846rem .7692307692rem;visibility:hidden;white-space:nowrap;z-index:2}.tooltip,.tooltip:after{left:50%;position:absolute}.tooltip:after{border-left:var(--caret-size) solid transparent;border-right:var(--caret-size) solid transparent;content:" ";display:block;height:0;transform:translate3d(-50%,100%,0);width:0}.tooltip--show{cursor:default;opacity:1;transition:opacity .2s ease-in-out;visibility:visible}.tooltip--position-top{bottom:100%;transform:translate3d(-50%,calc(var(--caret-size)*-1),0)}.tooltip--position-top:after{border-top:var(--caret-size) solid var(--theme-elevation-800);bottom:1px}.tooltip--position-bottom{top:100%;transform:translate3d(-50%,var(--caret-size),0)}.tooltip--position-bottom:after{border-bottom:var(--caret-size) solid var(--theme-elevation-800);bottom:calc(100% + var(--caret-size) - 1px)}@media(max-width:1024px){.tooltip{display:none}}html[data-theme=light] .tooltip{background-color:var(--theme-error-250);color:var(--theme-error-750)}html[data-theme=light] .tooltip--position-top:after{border-top-color:var(--theme-error-250)}html[data-theme=light] .tooltip--position-bottom:after{border-bottom-color:var(--theme-error-250)}a.btn{display:inline-block}.btn{background:transparent;border:0;border-radius:4px;color:inherit;cursor:pointer;font-size:1rem;font-weight:400;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;margin-top:1.9230769231rem;text-align:center;-webkit-text-decoration:none;text-decoration:none}.btn .btn__icon{border:1px solid;border-radius:100%}.btn .btn__icon .stroke{stroke:currentColor;fill:none}.btn .btn__icon .fill{fill:currentColor}.btn--has-tooltip{position:relative}.btn--icon-style-none .btn__icon,.btn--icon-style-without-border .btn__icon{border:none}.btn span{line-height:1.9230769231rem}.btn span,.btn svg{vertical-align:top}.btn--size-medium{padding:.9615384615rem 1.9230769231rem}.btn--size-small{padding:.4807692308rem .9615384615rem}.btn--style-primary{background-color:var(--theme-elevation-800);color:var(--theme-elevation-0)}.btn--style-primary.btn--disabled{background-color:var(--theme-elevation-400)}.btn--style-primary:not(.btn--disabled):focus-visible,.btn--style-primary:not(.btn--disabled):hover{background:var(--theme-elevation-750)}.btn--style-primary:not(.btn--disabled):active{background:var(--theme-elevation-700)}.btn--style-primary:focus:not(:focus-visible){box-shadow:0 0 0 2px var(--theme-success-500);outline:none}.btn--style-secondary{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-800);color:var(--theme-elevation-800)}.btn--style-secondary:focus-visible,.btn--style-secondary:hover{background:var(--theme-elevation-100);box-shadow:inset 0 0 0 1px var(--theme-elevation-700)}.btn--style-secondary:active{background:var(--theme-elevation-200)}.btn--style-secondary.btn--disabled{background:none;box-shadow:inset 0 0 0 1px var(--theme-elevation-400);color:var(--theme-elevation-400)}.btn--style-secondary:focus:not(:focus-visible){box-shadow:inset 0 0 0 1px var(--theme-elevation-700),0 0 0 2px var(--theme-success-500);outline:none}.btn--style-none{border-radius:0;margin:0;padding:0}.btn--style-none:focus{opacity:.8}.btn--style-none:active{opacity:.7}.btn--round{border-radius:100%}.btn--icon span{display:flex;justify-content:space-between}.btn--icon.btn--style-primary .icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn--icon.btn--style-primary .icon .fill{fill:var(--theme-elevation-0)}.btn--style-icon-label{font-weight:600;padding:0}.btn--style-light-gray{box-shadow:inset 0 0 0 1px var(--theme-elevation-800)}.btn--icon-position-left .btn__content{flex-direction:row-reverse}.btn--icon-position-left .btn__icon{margin-right:.9615384615rem}.btn--icon-position-right .btn__icon{margin-left:.9615384615rem}.btn--icon-only .btn__icon{margin:0;padding:0}.btn--disabled{cursor:default}.btn:focus-visible .btn__icon,.btn:hover .btn__icon{background:var(--theme-elevation-800)}.btn:focus-visible .btn__icon .stroke,.btn:hover .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:focus-visible .btn__icon .fill,.btn:hover .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus:not(:focus-visible){outline:none}.btn:focus:not(:focus-visible) .btn__icon{background:var(--theme-elevation-150)}.btn:focus:not(:focus-visible) .btn__icon .stroke{stroke:var(--theme-elevation-800);fill:none}.btn:focus:not(:focus-visible) .btn__icon .fill{fill:var(--theme-elevation-800)}.btn:active .btn__icon{background:var(--theme-elevation-700)}.btn:active .btn__icon .stroke{stroke:var(--theme-elevation-0);fill:none}.btn:active .btn__icon .fill{fill:var(--theme-elevation-0)}.btn:focus-visible{outline:var(--accessibility-outline);outline-offset:var(--accessibility-outline-offset)}.popup-button{display:inline-flex}.popup{position:relative}.popup__content{background:var(--theme-input-bg);max-width:calc(100vw - 1.92308rem);opacity:0;pointer-events:none;position:absolute;visibility:hidden;z-index:var(--z-popup)}.popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg);content:" ";position:absolute;top:calc(100% - 1px)}.popup__wrap{overflow:hidden}.popup .popup__scroll{overflow-y:auto;padding:1.9230769231rem;padding-right:calc(var(--scrollbar-width) + 1.92308rem);white-space:nowrap;width:calc(100% + var(--scrollbar-width))}.popup--show-scrollbar .popup__scroll{padding-right:0;width:100%}.popup:active,.popup:focus{outline:none}.popup--size-small .popup__scroll{padding:1.4423076923rem calc(var(--scrollbar-width) + 1.44231rem) 1.4423076923rem 1.4423076923rem}.popup--size-small .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-small.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--size-small.popup--h-align-left .popup__content:after{left:.8173076923rem}.popup--size-large .popup__content{box-shadow:0 20px 35px -10px rgba(0,2,4,.2),0 6px 4px -4px rgba(0,2,4,.02)}.popup--size-large .popup__scroll{padding:2.8846153846rem calc(var(--scrollbar-width) + 2.88462rem) 1.9230769231rem 2.8846153846rem}.popup--size-wide .popup__content{box-shadow:0 0 30px 0 rgba(0,2,4,.12),0 30px 25px -8px rgba(0,2,4,.1)}.popup--size-wide .popup__content:after{border:12px solid transparent;border-top:12px solid var(--theme-input-bg)}.popup--size-wide .popup__scroll{padding:.4807692308rem .9615384615rem}.popup--size-wide.popup--align-left .popup__content{left:-.9615384615rem}.popup--size-wide.popup--align-left .popup__content:after{left:.8173076923rem}.popup--h-align-left .popup__content{left:-3.3653846154rem}.popup--h-align-left .popup__content:after{left:3.3653846154rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(-50%)}.popup--h-align-right .popup__content{right:-3.3653846154rem}.popup--h-align-right .popup__content:after{right:3.3653846154rem}.popup--v-align-top .popup__content{bottom:calc(100% + 1.92308rem)}.popup--v-align-bottom .popup__content{box-shadow:0 -2px 20px 7px rgba(0,2,4,.1),0 6px 4px -4px rgba(0,2,4,.02);top:calc(100% + .96154rem)}.popup--v-align-bottom .popup__content:after{border-bottom-color:var(--theme-input-bg);border-top-color:transparent!important;bottom:calc(100% - 1px);top:auto}.popup--v-align-bottom.popup--color-dark .popup__content:after{border-bottom-color:var(--theme-elevation-800)}.popup--color-dark .popup__content{background:var(--theme-elevation-800);color:var(--theme-input-bg)}.popup--color-dark .popup__content:after{border-top-color:var(--theme-elevation-800)}.popup--active .popup__content{opacity:1;pointer-events:all;visibility:visible}@media(max-width:1024px){.popup--size-large .popup__scroll,.popup__scroll{padding:1.4423076923rem;padding-right:calc(var(--scrollbar-width) + 1.44231rem)}.popup--h-align-left .popup__content{left:-.9615384615rem}.popup--h-align-left .popup__content:after{left:.9615384615rem}.popup--h-align-center .popup__content,.popup--h-align-center .popup__content:after{left:50%;transform:translateX(0)}.popup--h-align-right .popup__content{right:-.9615384615rem}.popup--h-align-right .popup__content:after{right:.9615384615rem}.popup--force-h-align-left .popup__content{left:-.9615384615rem;right:auto;transform:none}.popup--force-h-align-left .popup__content:after{left:.9615384615rem;right:auto;transform:none}.popup--force-h-align-right .popup__content{left:auto;right:-.9615384615rem;transform:none}.popup--force-h-align-right .popup__content:after{left:auto;right:.9615384615rem;transform:none}}.banner{background:var(--theme-elevation-100);border:0;border-radius:3px;color:var(--theme-elevation-800);font-size:1rem;line-height:1.9230769231rem;margin-bottom:1.9230769231rem;padding:.9615384615rem;vertical-align:middle}.banner--has-action{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.banner--has-icon{display:flex}.banner--has-icon svg{display:block}.banner--type-default.button--has-action:hover{background:var(--theme-elevation-900)}.banner--type-default.button--has-action:active{background:var(--theme-elevation-950)}.banner--type-error{background:var(--theme-error-100);color:var(--theme-error-500)}.banner--type-error svg .stroke{stroke:var(--theme-error-500);fill:none}.banner--type-error svg .fill{fill:var(--theme-error-500)}.banner--type-error.button--has-action:hover{background:var(--theme-error-200)}.banner--type-error.button--has-action:active{background:var(--theme-error-300)}.banner--type-success{background:var(--theme-success-500);color:var(--color-base-800)}.banner--type-success.button--has-action:active,.banner--type-success.button--has-action:hover{background:var(--theme-success-200)}.template-minimal{align-items:center;display:flex;justify-content:center;margin-left:auto;margin-right:auto;min-height:100%;padding:5.7692307692rem 1.9230769231rem;width:100%}.template-minimal--width-normal .template-minimal__wrap{max-width:500px;width:100%}.template-minimal--width-wide .template-minimal__wrap{max-width:1024px;width:100%}.icon--check{height:1.9230769231rem;width:1.9230769231rem}.icon--check .stroke{fill:none;stroke:var(--theme-elevation-800);stroke-width:2px}.icon--search{height:1.9230769231rem;width:1.9230769231rem}.icon--search .stroke{stroke:var(--theme-elevation-800);stroke-width:1px}.icon--menu .fill{fill:var(--theme-text)}.pill{align-items:center;background:var(--theme-elevation-150);border:0;border-radius:3px;color:var(--theme-elevation-800);cursor:default;display:inline-flex;flex-shrink:0;font-size:1rem;line-height:1.9230769231rem;overflow:hidden;padding:0 .4807692308rem;text-overflow:ellipsis;white-space:nowrap}.pill--rounded{border-radius:var(--style-radius-l);font-size:12px;line-height:18px}.pill:active,.pill:focus:not(:focus-visible){outline:none}.pill:focus-visible{outline:var(--accessibility-outline);outline-offset:var(--accessibility-outline-offset)}.pill--has-action{cursor:pointer;-webkit-text-decoration:none;text-decoration:none}.pill--is-dragging{cursor:grabbing}.pill--has-icon svg{display:block}.pill--align-icon-left{padding-left:0}.pill--align-icon-right{padding-right:0}.pill--style-white{background:var(--theme-elevation-0)}.pill--style-light-gray,.pill--style-light.pill--has-action:active,.pill--style-light.pill--has-action:hover,.pill--style-white.pill--has-action:active,.pill--style-white.pill--has-action:hover{background:var(--theme-elevation-100)}.pill--style-light-gray{color:var(--theme-elevation-800)}.pill--style-warning{background:var(--theme-warning-500)}.pill--style-success{background:var(--theme-success-500);color:var(--color-base-800)}.pill--style-dark{background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.pill--style-dark svg .stroke{stroke:var(--theme-elevation-0);fill:none}.pill--style-dark svg .fill{fill:var(--theme-elevation-0)}.pill--style-dark.pill--has-action:hover{background:var(--theme-elevation-750)}.pill--style-dark.pill--has-action:active{background:var(--theme-elevation-700)}html[data-theme=dark] .pill--style-error{background:var(--theme-error-500);color:var(--color-base-1000)}html[data-theme=light] .pill--style-error{background:var(--theme-error-250);color:var(--theme-error-750)}
@@ -66,7 +66,7 @@ a.btn {
66
66
  }
67
67
 
68
68
  &:not(.btn--disabled) {
69
- &:hover {
69
+ &:hover, &:focus-visible {
70
70
  background: var(--theme-elevation-750);
71
71
  }
72
72
 
@@ -75,7 +75,7 @@ a.btn {
75
75
  }
76
76
  }
77
77
 
78
- &:focus {
78
+ &:focus:not(:focus-visible) {
79
79
  box-shadow: $focus-box-shadow;
80
80
  outline: none;
81
81
  }
@@ -91,7 +91,7 @@ a.btn {
91
91
  background: none;
92
92
  backdrop-filter: blur(5px);
93
93
 
94
- &:hover {
94
+ &:hover, &:focus-visible {
95
95
  background: var(--theme-elevation-100);
96
96
  box-shadow: $hover-box-shadow;
97
97
  }
@@ -106,7 +106,7 @@ a.btn {
106
106
  box-shadow: inset 0 0 0 $style-stroke-width var(--theme-elevation-400);
107
107
  }
108
108
 
109
- &:focus {
109
+ &:focus:not(:focus-visible) {
110
110
  outline: none;
111
111
  box-shadow: $hover-box-shadow, $focus-box-shadow;
112
112
  }
@@ -179,14 +179,14 @@ a.btn {
179
179
  cursor: default;
180
180
  }
181
181
 
182
- &:hover {
182
+ &:hover, &:focus-visible {
183
183
  .btn__icon {
184
184
  @include color-svg(var(--theme-elevation-0));
185
185
  background: var(--theme-elevation-800);
186
186
  }
187
187
  }
188
188
 
189
- &:focus {
189
+ &:focus:not(:focus-visible) {
190
190
  .btn__icon {
191
191
  @include color-svg(var(--theme-elevation-800));
192
192
  background: var(--theme-elevation-150);
@@ -201,4 +201,9 @@ a.btn {
201
201
  background: var(--theme-elevation-700);
202
202
  }
203
203
  }
204
+
205
+ &:focus-visible {
206
+ outline: var(--accessibility-outline);
207
+ outline-offset: var(--accessibility-outline-offset);
208
+ }
204
209
  }
@@ -56,7 +56,7 @@ const CopyToClipboard = ({ value, defaultMessage, successMessage, }) => {
56
56
  react_1.default.createElement(Tooltip_1.default, { show: hovered || copied, delay: copied ? 0 : undefined },
57
57
  copied && (successMessage !== null && successMessage !== void 0 ? successMessage : t('copied')),
58
58
  !copied && (defaultMessage !== null && defaultMessage !== void 0 ? defaultMessage : t('copy'))),
59
- react_1.default.createElement("textarea", { readOnly: true, value: value, ref: ref })));
59
+ react_1.default.createElement("textarea", { readOnly: true, tabIndex: -1, value: value, ref: ref })));
60
60
  }
61
61
  return null;
62
62
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/CopyToClipboard/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgD;AAChD,iDAA+C;AAC/C,4DAAoC;AACpC,yDAAiC;AAGjC,wBAAsB;AAEtB,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,MAAM,eAAe,GAAoB,CAAC,EACxC,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IACzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,EAAC,SAAS,CAAC,CAAC;IAExC,IAAI,KAAK,EAAE;QACT,OAAO,CACL,0CACE,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,KAAK,CAAC,CAAC;gBAClB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACZ,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE;oBACtB,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBACrB,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACnD,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;oBAC7B,SAAS,CAAC,IAAI,CAAC,CAAC;iBACjB;YACH,CAAC;YAED,8BAAC,cAAI,OAAG;YACR,8BAAC,iBAAO,IACN,IAAI,EAAE,OAAO,IAAI,MAAM,EACvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;gBAE5B,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;gBACzC,CAAC,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CACjC;YACV,4CACE,QAAQ,QACR,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,GACR,CACK,CACV,CAAC;KACH;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/CopyToClipboard/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAgD;AAChD,iDAA+C;AAC/C,4DAAoC;AACpC,yDAAiC;AAGjC,wBAAsB;AAEtB,MAAM,SAAS,GAAG,mBAAmB,CAAC;AAEtC,MAAM,eAAe,GAAoB,CAAC,EACxC,KAAK,EACL,cAAc,EACd,cAAc,GACf,EAAE,EAAE;IACH,MAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,CAAC,CAAC;IACzB,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC5C,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,EAAE,CAAC,EAAE,GAAG,IAAA,8BAAc,EAAC,SAAS,CAAC,CAAC;IAExC,IAAI,KAAK,EAAE;QACT,OAAO,CACL,0CACE,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,YAAY,EAAE,GAAG,EAAE;gBACjB,UAAU,CAAC,KAAK,CAAC,CAAC;gBAClB,SAAS,CAAC,KAAK,CAAC,CAAC;YACnB,CAAC,EACD,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;gBACZ,IAAI,GAAG,IAAI,GAAG,CAAC,OAAO,EAAE;oBACtB,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;oBACrB,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;oBACnD,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;oBAC7B,SAAS,CAAC,IAAI,CAAC,CAAC;iBACjB;YACH,CAAC;YAED,8BAAC,cAAI,OAAG;YACR,8BAAC,iBAAO,IACN,IAAI,EAAE,OAAO,IAAI,MAAM,EACvB,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;gBAE5B,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,QAAQ,CAAC,CAAC;gBACzC,CAAC,MAAM,IAAI,CAAC,cAAc,aAAd,cAAc,cAAd,cAAc,GAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CACjC;YACV,4CACE,QAAQ,QACR,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,GACR,CACK,CACV,CAAC;KACH;IAED,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AAEF,kBAAe,eAAe,CAAC"}
@@ -5,6 +5,7 @@
5
5
  position: relative;
6
6
  cursor: pointer;
7
7
  vertical-align: middle;
8
+ border-radius: 100%;
8
9
 
9
10
  textarea {
10
11
  position: absolute;
@@ -18,4 +19,8 @@
18
19
  &:active {
19
20
  outline: none;
20
21
  }
22
+
23
+ &:focus-visible {
24
+ outline: var(--accessibility-outline);
25
+ }
21
26
  }
@@ -86,8 +86,7 @@ const DeleteDocument = (props) => {
86
86
  }, [setModified, serverURL, api, slug, id, toggleModal, modalSlug, t, singular, i18n, title, history, admin, addDefaultError]);
87
87
  if (id) {
88
88
  return (react_1.default.createElement(react_1.default.Fragment, null,
89
- react_1.default.createElement("button", { type: "button", id: buttonId, className: `${baseClass}__toggle`, onClick: (e) => {
90
- e.preventDefault();
89
+ react_1.default.createElement(Button_1.default, { buttonStyle: "none", id: buttonId, className: `${baseClass}__toggle`, onClick: () => {
91
90
  setDeleting(false);
92
91
  toggleModal(modalSlug);
93
92
  } }, t('delete')),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/DeleteDocument/index.tsx"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/admin/components/elements/DeleteDocument/index.tsx"],"names":[],"mappings":"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"}
@@ -8,7 +8,7 @@
8
8
  font-weight: 600;
9
9
  text-decoration: none;
10
10
 
11
- &:hover {
11
+ &:hover, &:focus-visible {
12
12
  text-decoration: underline;
13
13
  }
14
14
  }
@@ -27,7 +27,7 @@
27
27
  font-weight: 600;
28
28
  text-decoration: none;
29
29
 
30
- &:hover {
30
+ &:hover, &:focus-visible {
31
31
  text-decoration: underline;
32
32
  }
33
33
  }
@@ -39,8 +39,8 @@
39
39
  cursor: pointer;
40
40
  color: inherit;
41
41
 
42
- &:focus,
43
- &:focus-within {
42
+ &:focus:not(:focus-visible),
43
+ &:focus-within:not(:focus-visible) {
44
44
  outline: none;
45
45
  }
46
46
 
@@ -13,7 +13,7 @@
13
13
  font-weight: 600;
14
14
  cursor: pointer;
15
15
 
16
- &:hover {
16
+ &:hover, &:focus-visible {
17
17
  text-decoration: underline;
18
18
  }
19
19
 
@@ -38,7 +38,7 @@
38
38
  cursor: pointer;
39
39
  padding-right: 0;
40
40
 
41
- &:hover {
41
+ &:hover, &:focus-visible {
42
42
  text-decoration: underline;
43
43
  }
44
44
  }
@@ -71,6 +71,10 @@
71
71
  >* {
72
72
  margin-top: base(1);
73
73
  }
74
+
75
+ a:focus-visible {
76
+ outline: var(--accessibility-outline);
77
+ }
74
78
  }
75
79
 
76
80
  &__log-out {
@@ -88,12 +92,12 @@
88
92
  display: flex;
89
93
  text-decoration: none;
90
94
 
91
- &:focus {
95
+ &:focus:not(:focus-visible) {
92
96
  box-shadow: none;
93
97
  font-weight: 600;
94
98
  }
95
99
 
96
- &:hover {
100
+ &:hover, &:focus-visible {
97
101
  text-decoration: underline;
98
102
  }
99
103
 
@@ -22,13 +22,17 @@
22
22
  margin-top: base(-.2);
23
23
  }
24
24
 
25
- &:hover {
25
+ &:hover, &:focus-visible {
26
26
  color: var(--theme-elevation-1000);
27
27
 
28
28
  .stroke {
29
29
  stroke: var(--theme-elevation-1000);
30
30
  }
31
31
  }
32
+
33
+ &:focus-visible {
34
+ outline: none;
35
+ }
32
36
  }
33
37
 
34
38
  &__indicator {