You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
83 KiB
JavaScript
1 line
83 KiB
JavaScript
|
9 months ago
|
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3338],{84717:function(e,t,r){r.d(t,{Z5:function(){return nF},_l:function(){return n1},bK:function(){return lA}});var n=r(2265),l=r(54887),i=r(70746),a=r(73416),o=r(871),d=r(71925),s=r(38439),c=r(11713),u=r(14749);let p=/[ \t]{2,}/g,g=/^[ \t]*/gm,f=e=>e.replace(p," ").replace(g,"").trim();function m(e,t){}function b(){}function h(e,t,r){let n=t.map(t=>{var n;let l=(n=t.options,{...r,...n});return e.addEventListener(t.eventName,t.fn,l),function(){e.removeEventListener(t.eventName,t.fn,l)}});return function(){n.forEach(e=>{e()})}}m.bind(null,"warn"),m.bind(null,"error");class I extends Error{}function y(e,t){if(!e)throw new I("Invariant failed")}I.prototype.toString=function(){return this.message};class v extends n.Component{componentDidMount(){this.unbind=h(window,[{eventName:"error",fn:this.onWindowError}])}componentDidCatch(e){if(e instanceof I){this.setState({});return}throw e}componentWillUnmount(){this.unbind()}render(){return this.props.children(this.setCallbacks)}constructor(...e){super(...e),this.callbacks=null,this.unbind=b,this.onWindowError=e=>{let t=this.getCallbacks();t.isDragging()&&t.tryAbort(),e.error instanceof I&&e.preventDefault()},this.getCallbacks=()=>{if(!this.callbacks)throw Error("Unable to find AppCallbacks in <ErrorBoundary/>");return this.callbacks},this.setCallbacks=e=>{this.callbacks=e}}}let x=e=>e+1,D=(e,t)=>{let r=e.droppableId===t.droppableId,n=x(e.index),l=x(t.index);return r?"\n You have moved the item from position ".concat(n,"\n to position ").concat(l,"\n "):"\n You have moved the item from position ".concat(n,"\n in list ").concat(e.droppableId,"\n to list ").concat(t.droppableId,"\n in position ").concat(l,"\n ")},E=(e,t,r)=>t.droppableId===r.droppableId?"\n The item ".concat(e,"\n has been combined with ").concat(r.draggableId):"\n The item ".concat(e,"\n in list ").concat(t.droppableId,"\n has been combined with ").concat(r.draggableId,"\n in list ").concat(r.droppableId,"\n "),A=e=>"\n The item has returned to its starting position\n of ".concat(x(e.index),"\n");var N={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:e=>"\n You have lifted an item in position ".concat(x(e.source.index),"\n"),onDragUpdate:e=>{let t=e.destination;if(t)return D(e.source,t);let r=e.combine;return r?E(e.draggableId,e.source,r):"You are over an area that cannot be dropped on"},onDragEnd:e=>{if("CANCEL"===e.reason)return"\n Movement cancelled.\n ".concat(A(e.source),"\n ");let t=e.destination,r=e.combine;return t?"\n You have dropped the item.\n ".concat(D(e.source,t),"\n "):r?"\n You have dropped the item.\n ".concat(E(e.draggableId,e.source,r),"\n "):"\n The item has been dropped while not over a drop area.\n ".concat(A(e.source),"\n ")}};let C={x:0,y:0},R=(e,t)=>({x:e.x+t.x,y:e.y+t.y}),P=(e,t)=>({x:e.x-t.x,y:e.y-t.y}),w=(e,t)=>e.x===t.x&&e.y===t.y,O=e=>({x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}),S=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return"x"===e?{x:t,y:r}:{x:r,y:t}},B=(e,t)=>Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2),G=(e,t)=>Math.min(...t.map(t=>B(e,t))),L=e=>t=>({x:e(t.x),y:e(t.y)});var T=(e,t)=>{let r=(0,d.Dz)({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r};let _=(e,t)=>({top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}),M=e=>[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}],F=(e,t)=>t?_(e,t.scroll.diff.displacement):e,k=(e,t,r)=>r&&r.increasedBy?{...e,[t.end]:e[t.end]+r.increasedBy[t.line]}:e,W=(e,t)=>t&&t.shouldClipSubject?T(t.pageMarginBox,e):(0,d.Dz)(e);var U=e=>{let{page:t,withPlaceholder:r,axis:n,frame:l}=e,i=W
|