1"use strict";(("undefined"==typeof window?self:window).webpackChunkdebugbear_gae=("undefined"==typeof window?self:window).webpackChunkdebugbear_gae||[]).push([[3354],{38088(e){const t=(e,t,n)=>{const o=n<0?e.length+n:n,i=e.splice(t,1)[0];e.splice(o,0,i)},n=(e,n,o)=>(e=e.slice(),t(e,n,o),e);e.exports=n,e.exports.default=n,e.exports.mutate=t},21524(e,t,n){n.d(t,{A:()=>a});var o=n(94188),i=n(7767),r=n(70551);function a(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,i.A)(e,36e5*n)}},92890(e,t,n){n.d(t,{A:()=>a});var o=n(94188),i=n(7767),r=n(70551);function a(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,i.A)(e,6e4*n)}},2118(e,t,n){n.d(t,{A:()=>a});var o=n(94188),i=n(10123),r=n(70551);function a(e,t){(0,r.A)(2,arguments);var n=(0,i.A)(e),a=(0,o.A)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());return l.setMonth(n.getMonth()+a+1,0),s>=l.getDate()?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},82238(e,t,n){n.d(t,{A:()=>a});var o=n(94188),i=n(92998),r=n(70551);function a(e,t){(0,r.A)(2,arguments);var n=7*(0,o.A)(t);return(0,i.A)(e,n)}},66212(e,t,n){n.d(t,{A:()=>r});var o=n(10123),i=n(70551);function r(e){(0,i.A)(1,arguments);var t=(0,o.A)(e);return t.setHours(23,59,59,999),t}},81810(e,t,n){n.d(t,{A:()=>r});var o=n(31127),i=n(70551);function r(e,t){(0,i.A)(2,arguments);var n=(0,o.A)(e),r=(0,o.A)(t);return n.getTime()===r.getTime()}},49718(e,t,n){n.d(t,{A:()=>r});var o=n(52881),i=n(70551);function r(e,t){(0,i.A)(2,arguments);var n=(0,o.A)(e),r=(0,o.A)(t);return n.getTime()===r.getTime()}},77144(e,t,n){n.d(t,{A:()=>r});var o=n(27827),i=n(70551);function r(e,t,n){(0,i.A)(2,arguments);var r=(0,o.A)(e,n),a=(0,o.A)(t,n);return r.getTime()===a.getTime()}},67440(e,t,n){n.d(t,{A:()=>a});var o=n(82284),i=n(10123),r=n(70551);function a(e){var t,n;if((0,r.A)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==(0,o.A)(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=(0,i.A)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)}),n||new Date(NaN)}},52881(e,t,n){n.d(t,{A:()=>r});var o=n(10123),i=n(70551);function r(e){(0,i.A)(1,arguments);var t=(0,o.A)(e);return t.setMinutes(0,0,0),t}},27827(e,t,n){n.d(t,{A:()=>s});var o=n(10123),i=n(94188),r=n(70551),a=n(71858);function s(e,t){var n,s,l,c,d,u,h,f;(0,r.A)(1,arguments);var p=(0,a.q)(),g=(0,i.A)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(d=t.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==s?s:null===(h=p.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==n?n:0);if(!(g>=0&&g<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=(0,o.A)(e),y=v.getDay(),m=(y<g?7:0)+y-g;return v.setDate(v.getDate()-m),v.setHours(0,0,0,0),v}},90244(e,t,n){n.d(t,{A:()=>l});var o=n(82284),i=n(979),r=n(44327),a=n(70551),s=n(94188);function l(e,t){if((0,a.A)(2,arguments),!t||"object"!==(0,o.A)(t))return new Date(NaN);var n=t.years?(0,s.A)(t.years):0,l=t.months?(0,s.A)(t.months):0,c=t.weeks?(0,s.A)(t.weeks):0,d=t.days?(0,s.A)(t.days):0,u=t.hours?(0,s.A)(t.hours):0,h=t.minutes?(0,s.A)(t.minutes):0,f=t.seconds?(0,s.A)(t.seconds):0,p=(0,r.A)(e,l+12*n),g=(0,i.A)(p,d+7*c),v=1e3*(f+60*(h+60*u));return new Date(g.getTime()-v)}},32831(e,t,n){n.d(t,{A:()=>a});var o=n(21524),i=n(70551),r=n(94188);function a(e,t){(0,i.A)(2,arguments);var n=(0,r.A)(t);return(0,o.A)(e,-n)}},44327(e,t,n){n.d(t,{A:()=>a});var o=n(94188),i=n(2118),r=n(70551);function a(e,t){(0,r.A)(2,arguments);var n=(0,o.A)(t);return(0,i.A)(e,-n)}},36892(e,t,n){n.d(t,{q6:()=>Z,Zj:()=>Q,D:()=>B});var o=n(58168),i=n(80296),r=n(64467);function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),o.forEach(function(t){(0,r.A)(e,t,n[t])})}return e}var s=n(23029),l=n(92901),c=n(56822),d=n(53954),u=n(15361),h=n(9417),f=n(96540),p=n(40961),g=n.cjs(function(e,t){e.exports=function(e,t,n,o,i,r,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,r,a,s],d=0;(l=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}}),v=n.n(g),y=n(45458),m=n(5556),A=n.n(m),x=function(){function e(){(0,s.A)(this,e),(0,r.A)(this,"refs",{})}return(0,l.A)(e,[{key:"add",value:function(e,t){this.refs[e]||(this.refs[e]=[]),this.refs[e].push(t)}},{key:"remove",value:function(e,t){var n=this.getIndex(e,t);-1!==n&&this.refs[e].splice(n,1)}},{key:"isActive",value:function(){return this.active}},{key:"getActive",value:function(){var e=this;return this.refs[this.active.collection].find(function(t){return t.node.sortableInfo.index==e.active.index})}},{key:"getIndex",value:function(e,t){return this.refs[e].indexOf(t)}},{key:"getOrderedRefs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.active.collection;return this.refs[e].sort(w)}}]),e}();
1function w(e,t){return e.node.sortableInfo.index-t.node.sortableInfo.index}function b(e,t){return Object.keys(e).reduce(function(n,o){return-1===t.indexOf(o)&&(n[o]=e[o]),n},{})}var S={end:["touchend","touchcancel","mouseup"],move:["touchmove","mousemove"],start:["touchstart","mousedown"]},O=function(){if("undefined"==typeof window||"undefined"==typeof document)return"";var e=window.getComputedStyle(document.documentElement,"")||["-moz-hidden-iframe"],t=(Array.prototype.slice.call(e).join("").match(/-(moz|webkit|ms)-/)||""===e.OLink&&["","o"])[1];return"ms"===t?"ms":t&&t.length?t[0].toUpperCase()+t.substr(1):""}();function C(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}function T(e,t){e.style["".concat(O,"Transform")]=null==t?"":"translate3d(".concat(t.x,"px,").concat(t.y,"px,0)")}function k(e,t){e.style["".concat(O,"TransitionDuration")]=null==t?"":"".concat(t,"ms")}function I(e,t){for(;e;){if(t(e))return e;e=e.parentNode}return null}function E(e,t,n){return Math.max(e,Math.min(n,t))}function D(e){return"px"===e.substr(-2)?parseFloat(e):0}function N(e,t){var n=t.displayName||t.name;return n?"".concat(e,"(").concat(n,")"):e}function R(e,t){var n=e.getBoundingClientRect();return{top:n.top+t.top,left:n.left+t.left}}function L(e){return e.touches&&e.touches.length?{x:e.touches[0].pageX,y:e.touches[0].pageY}:e.changedTouches&&e.changedTouches.length?{x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY}:{x:e.pageX,y:e.pageY}}function M(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};if(e){var o={left:n.left+e.offsetLeft,top:n.top+e.offsetTop};return e.parentNode===t?o:M(e.parentNode,t,o)}}function W(e){var t=e.lockOffset,n=e.width,o=e.height,i=t,r=t,a="px";if("string"==typeof t){var s=/^[+-]?\d*(?:\.\d*)?(px|%)$/.exec(t);v()(null!==s,'lockOffset value should be a number or a string of a number followed by "px" or "%". Given %s',t),i=parseFloat(t),r=parseFloat(t),a=s[1]}return v()(isFinite(i)&&isFinite(r),"lockOffset value should be a finite. Given %s",t),"%"===a&&(i=i*n/100,r=r*o/100),{x:i,y:r}}function H(e){return e instanceof HTMLElement?function(e){var t=window.getComputedStyle(e),n=/(auto|scroll)/;return["overflow","overflowX","overflowY"].find(function(e){return n.test(t[e])})}(e)?e:H(e.parentNode):null}var P="BUTTON",K="INPUT",j="OPTION",G="TEXTAREA",V="SELECT";function B(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return t=function(t){function i(){var e,t;(0,s.A)(this,i);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=(0,c.A)(this,(e=(0,d.A)(i)).call.apply(e,[this].concat(o))),(0,r.A)((0,h.A)((0,h.A)(t)),"wrappedInstance",(0,f.createRef)()),t}return(0,u.A)(i,t),(0,l.A)(i,[{key:"componentDidMount",value:function(){(0,p.findDOMNode)(this).sortableHandle=!0}},{key:"getWrappedInstance",value:function(){return v()(n.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableHandle() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=n.withRef?this.wrappedInstance:null;return(0,f.createElement)(e,(0,o.A)({ref:t},this.props))}}]),i}(f.Component),(0,r.A)(t,"displayName",N("sortableHandle",e)),t}function _(e){return null!=e.sortableHandle}var F=function(){function e(t,n){(0,s.A)(this,e),this.container=t,this.onScrollCallback=n}return(0,l.A)(e,[{key:"clear",value:function(){null!=this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"update",value:function(e){var t=this,n=e.translate,o=e.minTranslate,i=e.maxTranslate,r=e.width,a=e.height,s={x:0,y:0},l={x:1,y:1},c=this.container,d=c.scrollTop,u=c.scrollLeft,h=c.scrollHeight,f=c.scrollWidth,p=0===d,g=h-d-c.clientHeight===0,v=0===u,y=f-u-c.clientWidth===0;n.y>=i.y-a/2&&!g?(s.y=1,l.y=10*Math.abs((i.y-a/2-n.y)/a)):n.x>=i.x-r/2&&!y?(s.x=1,l.x=10*Math.abs((i.x-r/2-n.x)/r)):n.y<=o.y+a/2&&!p?(s.y=-1,l.y=10*Math.abs((n.y-a/2-o.y)/a)):n.x<=o.x+r/2&&!v&&(s.x=-1,l.x=10*Math.abs((n.x-r/2-o.x)/r)),this.interval&&(this.clear(),this.isAutoScrolling=!1),0===s.x&&0===s.y||(this.interval=setInterval(function(){t.isAutoScrolling=!0;var e={left:l.x*s.x,top:l.y*s.y};t.container.scrollTop+=e.top,t.container.scrollLeft+=e.left,t.onScrollCallback(e)},5))}}]),e}(),Y={axis:A().oneOf(["x","y","xy"]),contentWindow:A().any,disableAutoscroll:A().bool,distance:A().number,getContainer:A().func,getHelperDimensions:A().func,helperClass:A().string,helperContainer:A().oneOfType([A().func,"undefined"==typeof HTMLElement?A(
1).any:A().instanceOf(HTMLElement)]),hideSortableGhost:A().bool,keyboardSortingTransitionDuration:A().number,lockAxis:A().string,lockOffset:A().oneOfType([A().number,A().string,A().arrayOf(A().oneOfType([A().number,A().string]))]),lockToContainerEdges:A().bool,onSortEnd:A().func,onSortMove:A().func,onSortOver:A().func,onSortStart:A().func,pressDelay:A().number,pressThreshold:A().number,keyCodes:A().shape({lift:A().arrayOf(A().number),drop:A().arrayOf(A().number),cancel:A().arrayOf(A().number),up:A().arrayOf(A().number),down:A().arrayOf(A().number)}),shouldCancelStart:A().func,transitionDuration:A().number,updateBeforeSortStart:A().func,useDragHandle:A().bool,useWindowAsScrollContainer:A().bool},X={lift:[32],drop:[32],cancel:[27],up:[38,37],down:[40,39]},U={axis:"y",disableAutoscroll:!1,distance:0,getHelperDimensions:function(e){var t=e.node;return{height:t.offsetHeight,width:t.offsetWidth}},hideSortableGhost:!0,lockOffset:"50%",lockToContainerEdges:!1,pressDelay:0,pressThreshold:5,keyCodes:X,shouldCancelStart:function(e){return-1!==[K,G,V,j,P].indexOf(e.target.tagName)||!!I(e.target,function(e){return"true"===e.contentEditable})},transitionDuration:300,useWindowAsScrollContainer:!1},q=Object.keys(Y),z=(0,f.createContext)({manager:{}});function Z(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return t=function(t){function g(e){var t;(0,s.A)(this,g),t=(0,c.A)(this,(0,d.A)(g).call(this,e)),(0,r.A)((0,h.A)((0,h.A)(t)),"state",{}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleStart",function(e){var n=t.props,o=n.distance,i=n.shouldCancelStart;if(2!==e.button&&!i(e)){t.touched=!0,t.position=L(e);var r=I(e.target,function(e){return null!=e.sortableInfo});if(r&&r.sortableInfo&&t.nodeIsChild(r)&&!t.state.sorting){var a=t.props.useDragHandle,s=r.sortableInfo,l=s.index,c=s.collection;if(s.disabled)return;if(a&&!I(e.target,_))return;t.manager.active={collection:c,index:l},function(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}(e)||"A"!==e.target.tagName||e.preventDefault(),o||(0===t.props.pressDelay?t.handlePress(e):t.pressTimer=setTimeout(function(){return t.handlePress(e)},t.props.pressDelay))}}}),(0,r.A)((0,h.A)((0,h.A)(t)),"nodeIsChild",function(e){return e.sortableInfo.manager===t.manager}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleMove",function(e){var n=t.props,o=n.distance,i=n.pressThreshold;if(!t.state.sorting&&t.touched&&!t._awaitingUpdateBeforeSortStart){var r=L(e),a={x:t.position.x-r.x,y:t.position.y-r.y},s=Math.abs(a.x)+Math.abs(a.y);t.delta=a,o||i&&!(s>=i)?o&&s>=o&&t.manager.isActive()&&t.handlePress(e):(clearTimeout(t.cancelTimer),t.cancelTimer=setTimeout(t.cancel,0))}}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleEnd",function(){t.touched=!1,t.cancel()}),(0,r.A)((0,h.A)((0,h.A)(t)),"cancel",function(){var e=t.props.distance;t.state.sorting||(e||clearTimeout(t.pressTimer),t.manager.active=null)}),(0,r.A)((0,h.A)((0,h.A)(t)),"handlePress",function(e){try{var n=t.manager.getActive(),o=function(){if(n){var o=function(){var n,o,i=f.sortableInfo.index,d=(n=f,{bottom:D((o=window.getComputedStyle(n)).marginBottom),left:D(o.marginLeft),right:D(o.marginRight),top:D(o.marginTop)}),v=function(e){var t=window.getComputedStyle(e);return"grid"===t.display?{x:D(t.gridColumnGap),y:D(t.gridRowGap)}:{x:0,y:0}}(t.container),m=t.scrollContainer.getBoundingClientRect(),A=s({index:i,node:f,collection:p});if(t.node=f,t.margin=d,t.gridGap=v,t.width=A.width,t.height=A.height,t.marginOffset={x:t.margin.left+t.margin.right+t.gridGap.x,y:Math.max(t.margin.top,t.margin.bottom,t.gridGap.y)},t.boundingClientRect=f.getBoundingClientRect(),t.containerBoundingRect=m,t.index=i,t.newIndex=i,t.axis={x:r.indexOf("x")>=0,y:r.indexOf("y")>=0},t.offsetEdge=M(f,t.container),t.initialOffset=L(g?a({},e,{pageX:t.boundingClientRect.left,pageY:t.boundingClientRect.top}):e),t.initialScroll={left:t.scrollContainer.scrollLeft,top:t.scrollContainer.scrollTop},t.initialWindowScroll={left:window.pageXOffset,top:window.pageYOffset},t.helper=t.helperContainer.appendChild(function(e){var t="input, textarea, select, canvas, [contenteditable]",n=e.querySelectorAll(t),o=e.cloneNode(!0);
1return(0,y.A)(o.querySelectorAll(t)).forEach(function(e,t){"file"!==e.type&&(e.value=n[t].value),"radio"===e.type&&e.name&&(e.name="__sortableClone__".concat(e.name)),"CANVAS"===e.tagName&&n[t].width>0&&n[t].height>0&&e.getContext("2d").drawImage(n[t],0,0)}),o}(f)),C(t.helper,{boxSizing:"border-box",height:"".concat(t.height,"px"),left:"".concat(t.boundingClientRect.left-d.left,"px"),pointerEvents:"none",position:"fixed",top:"".concat(t.boundingClientRect.top-d.top,"px"),width:"".concat(t.width,"px")}),g&&t.helper.focus(),c&&(t.sortableGhost=f,C(f,{opacity:0,visibility:"hidden"})),t.minTranslate={},t.maxTranslate={},g){var x=h?{top:0,left:0,width:t.contentWindow.innerWidth,height:t.contentWindow.innerHeight}:t.containerBoundingRect,w=x.top,b=x.left,O=x.width,T=w+x.height,k=b+O;t.axis.x&&(t.minTranslate.x=b-t.boundingClientRect.left,t.maxTranslate.x=k-(t.boundingClientRect.left+t.width)),t.axis.y&&(t.minTranslate.y=w-t.boundingClientRect.top,t.maxTranslate.y=T-(t.boundingClientRect.top+t.height))}else t.axis.x&&(t.minTranslate.x=(h?0:m.left)-t.boundingClientRect.left-t.width/2,t.maxTranslate.x=(h?t.contentWindow.innerWidth:m.left+m.width)-t.boundingClientRect.left-t.width/2),t.axis.y&&(t.minTranslate.y=(h?0:m.top)-t.boundingClientRect.top-t.height/2,t.maxTranslate.y=(h?t.contentWindow.innerHeight:m.top+m.height)-t.boundingClientRect.top-t.height/2);l&&l.split(" ").forEach(function(e){return t.helper.classList.add(e)}),t.listenerNode=e.touches?e.target:t.contentWindow,g?(t.listenerNode.addEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.addEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.addEventListener("keydown",t.handleKeyDown)):(S.move.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortMove,!1)}),S.end.forEach(function(e){return t.listenerNode.addEventListener(e,t.handleSortEnd,!1)})),t.setState({sorting:!0,sortingIndex:i}),u&&u({node:f,index:i,collection:p,isKeySorting:g,nodes:t.manager.getOrderedRefs(),helper:t.helper},e),g&&t.keyMove(0)},i=t.props,r=i.axis,s=i.getHelperDimensions,l=i.helperClass,c=i.hideSortableGhost,d=i.updateBeforeSortStart,u=i.onSortStart,h=i.useWindowAsScrollContainer,f=n.node,p=n.collection,g=t.manager.isKeySorting,v=function(){if("function"==typeof d){t._awaitingUpdateBeforeSortStart=!0;var n=function(t,n){try{var o=(i=f.sortableInfo.index,Promise.resolve(d({collection:p,index:i,node:f,isKeySorting:g},e)).then(function(){}))}catch(e){return n(!0,e)}var i;return o&&o.then?o.then(n.bind(null,!1),n.bind(null,!0)):n(!1,value)}(0,function(e,n){if(t._awaitingUpdateBeforeSortStart=!1,e)throw n;return n});if(n&&n.then)return n.then(function(){})}}();return v&&v.then?v.then(o):o()}}();return Promise.resolve(o&&o.then?o.then(function(){}):void 0)}catch(e){return Promise.reject(e)}}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleSortMove",function(e){var n=t.props.onSortMove;"function"==typeof e.preventDefault&&e.cancelable&&e.preventDefault(),t.updateHelperPosition(e),t.animateNodes(),t.autoscroll(),n&&n(e)}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleSortEnd",function(e){var n=t.props,o=n.hideSortableGhost,i=n.onSortEnd,r=t.manager,a=r.active.collection,s=r.isKeySorting,l=t.manager.getOrderedRefs();t.listenerNode&&(s?(t.listenerNode.removeEventListener("wheel",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("mousedown",t.handleKeyEnd,!0),t.listenerNode.removeEventListener("keydown",t.handleKeyDown)):(S.move.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortMove)}),S.end.forEach(function(e){return t.listenerNode.removeEventListener(e,t.handleSortEnd)}))),t.helper.parentNode.removeChild(t.helper),o&&t.sortableGhost&&C(t.sortableGhost,{opacity:"",visibility:""});for(var c=0,d=l.length;c<d;c++){var u=l[c],h=u.node;u.edgeOffset=null,u.boundingClientRect=null,T(h,null),k(h,null),u.translate=null}t.autoScroller.clear(),t.manager.active=null,t.manager.isKeySorting=!1,t.setState({sorting:!1,sortingIndex:null}),"function"==typeof i&&i({collection:a,newIndex:t.newIndex,oldIndex:t.index,isKeySorting:s,nodes:l},e),t.touched=!1}),(0,r.A)((0,h.A)((0,h.A)(t)),"autoscroll",function(){var e=t.props.disableAutoscroll,n=t.manager.isKeySorting;if(e)t.autoScroller.clear();else{if(n){var o=a({},t.translate),i=0,r=0;return t.axis.x&&(o.x=Math.min(t.maxTranslate.x,Math.max(t.minTranslate.x,t.translate.x)),i=t.translate.x-o.x),t.axis.y&&(o.y=Math.min(t.maxTranslate.y,Math.max(t.minTranslate.y,t.translate.y)),r=t.translate.y-o.y),t.translate=o,T(t.helper,t.translate),t.scrollC
1ontainer.scrollLeft+=i,void(t.scrollContainer.scrollTop+=r)}t.autoScroller.update({height:t.height,maxTranslate:t.maxTranslate,minTranslate:t.minTranslate,translate:t.translate,width:t.width})}}),(0,r.A)((0,h.A)((0,h.A)(t)),"onAutoScroll",function(e){t.translate.x+=e.left,t.translate.y+=e.top,t.animateNodes()}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleKeyDown",function(e){var n=e.keyCode,o=t.props,i=o.shouldCancelStart,r=o.keyCodes,s=a({},X,void 0===r?{}:r);t.manager.active&&!t.manager.isKeySorting||!(t.manager.active||s.lift.includes(n)&&!i(e)&&t.isValidSortingTarget(e))||(e.stopPropagation(),e.preventDefault(),s.lift.includes(n)&&!t.manager.active?t.keyLift(e):s.drop.includes(n)&&t.manager.active?t.keyDrop(e):s.cancel.includes(n)?(t.newIndex=t.manager.active.index,t.keyDrop(e)):s.up.includes(n)?t.keyMove(-1):s.down.includes(n)&&t.keyMove(1))}),(0,r.A)((0,h.A)((0,h.A)(t)),"keyLift",function(e){var n=e.target,o=I(n,function(e){return null!=e.sortableInfo}).sortableInfo,i=o.index,r=o.collection;t.initialFocusedNode=n,t.manager.isKeySorting=!0,t.manager.active={index:i,collection:r},t.handlePress(e)}),(0,r.A)((0,h.A)((0,h.A)(t)),"keyMove",function(e){var n=t.manager.getOrderedRefs(),o=n[n.length-1].node.sortableInfo.index,i=t.newIndex+e,r=t.newIndex;if(!(i<0||i>o)){t.prevIndex=r,t.newIndex=i;var a=function(e,t,n){return e<n&&e>t?e-1:e>n&&e<t?e+1:e}(t.newIndex,t.prevIndex,t.index),s=n.find(function(e){return e.node.sortableInfo.index===a}),l=s.node,c=t.containerScrollDelta,d=s.boundingClientRect||R(l,c),u=s.translate||{x:0,y:0},h=d.top+u.y-c.top,f=d.left+u.x-c.left,p=r<i,g=p&&t.axis.x?l.offsetWidth-t.width:0,v=p&&t.axis.y?l.offsetHeight-t.height:0;t.handleSortMove({pageX:f+g,pageY:h+v,ignoreTransition:0===e})}}),(0,r.A)((0,h.A)((0,h.A)(t)),"keyDrop",function(e){t.handleSortEnd(e),t.initialFocusedNode&&t.initialFocusedNode.focus()}),(0,r.A)((0,h.A)((0,h.A)(t)),"handleKeyEnd",function(e){t.manager.active&&t.keyDrop(e)}),(0,r.A)((0,h.A)((0,h.A)(t)),"isValidSortingTarget",function(e){var n=t.props.useDragHandle,o=e.target,i=I(o,function(e){return null!=e.sortableInfo});return i&&i.sortableInfo&&!i.sortableInfo.disabled&&(n?_(o):o.sortableInfo)});var n=new x;return function(e){v()(!(e.distance&&e.pressDelay),"Attempted to set both `pressDelay` and `distance` on SortableContainer, you may only use one or the other, not both at the same time.")}(e),t.manager=n,t.wrappedInstance=(0,f.createRef)(),t.sortableContextValue={manager:n},t.events={end:t.handleEnd,move:t.handleMove,start:t.handleStart},t}return(0,u.A)(g,t),(0,l.A)(g,[{key:"componentDidMount",value:function(){var e=this,t=this.props.useWindowAsScrollContainer,n=this.getContainer();Promise.resolve(n).then(function(n){var o;e.container=n,e.document=(null===(o=e.container)||void 0===o?void 0:o.ownerDocument)||document;var i=e.props.contentWindow||e.document.defaultView||window;e.contentWindow="function"==typeof i?i():i,e.scrollContainer=t?e.document.scrollingElement||e.document.documentElement:H(e.container)||e.container,e.autoScroller=new F(e.scrollContainer,e.onAutoScroll),Object.keys(e.events).forEach(function(t){return S[t].forEach(function(n){return e.container.addEventListener(n,e.events[t],!1)})}),e.container.addEventListener("keydown",e.handleKeyDown)})}},{key:"componentWillUnmount",value:function(){var e=this;this.helper&&this.helper.parentNode&&this.helper.parentNode.removeChild(this.helper),this.container&&(Object.keys(this.events).forEach(function(t){return S[t].forEach(function(n){return e.container.removeEventListener(n,e.events[t])})}),this.container.removeEventListener("keydown",this.handleKeyDown))}},{key:"updateHelperPosition",value:function(e){var t=this.props,n=t.lockAxis,o=t.lockOffset,r=t.lockToContainerEdges,a=t.transitionDuration,s=t.keyboardSortingTransitionDuration,l=void 0===s?a:s,c=this.manager.isKeySorting,d=e.ignoreTransition,u=L(e),h={x:u.x-this.initialOffset.x,y:u.y-this.initialOffset.y};if(h.y-=window.pageYOffset-this.initialWindowScroll.top,h.x-=window.pageXOffset-this.initialWindowScroll.left,this.translate=h,r){var f=function(e){var t=e.height,n=e.width,o=e.lockOffset,r=Array.isArray(o)?o:[o,o];v()(2===r.length,"lockOffset prop of SortableContainer should be a single value or an array of exactly two values. Given %s",o);var a=(0,i.A)(r,2),s=a[0],l=a[1];return[W({height:t,lockOffset:s,width:n}),W({height:t,lockOffset:l,width:n})]}({height:this.height,lockOffset:o,width:this.width}),p=(0,i.A)(f,2),g=p[0],y=p[1],m={x:this.width/2-g.x,y:this.height/2-g.y},A={x:this.width/2-y.x,y:this.height/2-y.y};h.x=E(this.minTranslate.x+m.x,this.maxTranslate.x-A.x,h.x),h.y=E(this.minTranslate.y+m.y,this.maxTranslate.y-A.y,h.y)}"x"===n?h.y=0:"y"===n&&(h.x=0),c&&l&&!d&&k(this.helper,l),T(this.helper,h)}},{key:"animateNodes",value:function(){var e=this.props,t=e.transitionDuration,n=e.hideSortableGhost,o=e.onSortOver,i=this.containerScrollDelta,r=this.windowScrollDelta,a=this.manager.getOrderedRefs(),s=this.offsetE
1dge.left+this.translate.x+i.left,l=this.offsetEdge.top+this.translate.y+i.top,c=this.manager.isKeySorting,d=this.newIndex;this.newIndex=null;for(var u=0,h=a.length;u<h;u++){var f=a[u].node,p=f.sortableInfo.index,g=f.offsetWidth,v=f.offsetHeight,y={height:this.height>v?v/2:this.height/2,width:this.width>g?g/2:this.width/2},m=c&&p>this.index&&p<=d,A=c&&p<this.index&&p>=d,x={x:0,y:0},w=a[u].edgeOffset;w||(w=M(f,this.container),a[u].edgeOffset=w,c&&(a[u].boundingClientRect=R(f,i)));var b=u<a.length-1&&a[u+1],S=u>0&&a[u-1];b&&!b.edgeOffset&&(b.edgeOffset=M(b.node,this.container),c&&(b.boundingClientRect=R(b.node,i))),p!==this.index?(t&&k(f,t),this.axis.x?this.axis.y?A||p<this.index&&(s+r.left-y.width<=w.left&&l+r.top<=w.top+y.height||l+r.top+y.height<=w.top)?(x.x=this.width+this.marginOffset.x,w.left+x.x>this.containerBoundingRect.width-2*y.width&&b&&(x.x=b.edgeOffset.left-w.left,x.y=b.edgeOffset.top-w.top),null===this.newIndex&&(this.newIndex=p)):(m||p>this.index&&(s+r.left+y.width>=w.left&&l+r.top+y.height>=w.top||l+r.to
1p+y.height>=w.top+v))&&(x.x=-(this.width+this.marginOffset.x),w.left+x.x<this.containerBoundingRect.left+y.width&&S&&(x.x=S.edgeOffset.left-w.left,x.y=S.edgeOffset.top-w.top),this.newIndex=p):m||p>this.index&&s+r.left+y.width>=w.left?(x.x=-(this.width+this.marginOffset.x),this.newIndex=p):(A||p<this.index&&s+r.left<=w.left+y.width)&&(x.x=this.width+this.marginOffset.x,null==this.newIndex&&(this.newIndex=p)):this.axis.y&&(m||p>this.index&&l+r.top+y.height>=w.top?(x.y=-(this.height+this.marginOffset.y),this.newIndex=p):(A||p<this.index&&l+r.top<=w.top+y.height)&&(x.y=this.height+this.marginOffset.y,null==this.newIndex&&(this.newIndex=p))),T(f,x),a[u].translate=x):n&&(this.sortableGhost=f,C(f,{opacity:0,visibility:"hidden"}))}null==this.newIndex&&(this.newIndex=this.index),c&&(this.newIndex=d);var O=c?this.prevIndex:d;o&&this.newIndex!==O&&o({collection:this.manager.active.collection,index:this.index,newIndex:this.newIndex,oldIndex:O,isKeySorting:c,nodes:a,helper:this.helper})}},{key:"getWrappedInstance",value:function(){return v()(n.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableContainer() call"),this.wrappedInstance.current}},{key:"getContainer",value:function(){var e=this.props.getContainer;return"function"!=typeof e?(0,p.findDOMNode)(this):e(n.withRef?this.getWrappedInstance():void 0)}},{key:"render",value:function(){var t=n.withRef?this.wrappedInstance:null;return(0,f.createElement)(z.Provider,{value:this.sortableContextValue},(0,f.createElement)(e,(0,o.A)({ref:t},b(this.props,q))))}},{key:"helperContainer",get:function(){var e=this.props.helperContainer;return"function"==typeof e?e():this.props.helperContainer||this.document.body}},{key:"containerScrollDelta",get:function(){return this.props.useWindowAsScrollContainer?{left:0,top:0}:{left:this.scrollContainer.scrollLeft-this.initialScroll.left,top:this.scrollContainer.scrollTop-this.initialScroll.top}}},{key:"windowScrollDelta",get:function(){return{left:this.contentWindow.pageXOffset-this.initialWindowScroll.left,top:this.contentWindow.pageYOffset-this.initialWindowScroll.top}}}]),g}(f.Component),(0,r.A)(t,"displayName",N("sortableList",e)),(0,r.A)(t,"defaultProps",U),(0,r.A)(t,"propTypes",Y),t}var $={index:A().number.isRequired,collection:A().oneOfType([A().number,A().string]),disabled:A().bool},J=Object.keys($);function Q(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{withRef:!1};return t=function(t){function i(){var e,t;(0,s.A)(this,i);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=(0,c.A)(this,(e=(0,d.A)(i)).call.apply(e,[this].concat(o))),(0,r.A)((0,h.A)((0,h.A)(t)),"wrappedInstance",(0,f.createRef)()),t}return(0,u.A)(i,t),(0,l.A)(i,[{key:"componentDidMount",value:function(){this.register()}},{key:"componentDidUpdate",value:function(e){this.node&&(e.index!==this.props.index&&(this.node.sortableInfo.index=this.props.index),e.disabled!==this.props.disabled&&(this.node.sortableInfo.disabled=this.props.disabled)),e.collection!==this.props.collection&&(this.unregister(e.collection),this.register())}},{key:"componentWillUnmount",value:function(){this.unregister()}},{key:"register",value:function(){var e=this.props,t=e.collection,n=e.disabled,o=e.index,i=(0,p.findDOMNode)(this);i.sortableInfo={collection:t,disabled:n,index:o,manager:this.context.manager},this.node=i,this.ref={node:i},this.context.manager.add(t,this.ref)}},{key:"unregister",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.collection;this.context.manager.remove(e,this.ref)}},{key:"getWrappedInstance",value:function(){return v()(n.withRef,"To access the wrapped instance, you need to pass in {withRef: true} as the second argument of the SortableElement() call"),this.wrappedInstance.current}},{key:"render",value:function(){var t=n.withRef?this.wrappedInstance:null;return(0,f.createElement)(e,(0,o.A)({ref:t},b(this.props,J)))}}]),i}(f.Component),(0,r.A)(t,"displayName",N("sortableElement",e)),(0,r.A)(t,"contextType",z),(0,r.A)(t,"propTypes",$),(0,r.A)(t,"defaultProps",{collection:0}),t}},65363(e,t,n){n.d(t,{A:()=>p});var o=n(58168),i=n(96540),r=n(30538),a=n(52836),s=n(89379),l=n(45458),c=n(53986),d=n(95122),u=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],h=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),o=String(t.getOptionValue(e)).toLowerCase(),i=String(t.getOptionLabel(e)).toLowerCase();return o===n||i===n},f={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,o){return!(!e||t.some(function(t){return h(e,t,o)})||n.some(function(t){return h(e,t,o)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};n(40961),n(27003);var p=(0,i.forwardRef)(function(e,t){var n=function(e){var t=e.allowCreateWhileLoading,n=void 0!==t&&t,o=e.createOptionPosition,a=void 0===o?"last":o,h=e.formatCreateLabel,p=void 0===h?f.formatCreateLabel:h,g=e.isValidNewOption,v=void 0===g?f.isValidNewOption:g,y=e.getNewOptionData,m=void 0===y?f.getNewOptionData:y,A=e.onCreateOption,x=e.options,w=void 0===x?[]:x,b=e.onChange,S=(0,c.A)(e,u),O=S.getOptionValue,C=void 0===O?r.g:O,T=S.getOptionLabel,k=void 0===T?r.b:T,I=S.inputValue,E=S.isLoading,D=S.isMulti,N=S.value,R=S.name,L=(0,i.useMemo)(function(){return v(I,(0,d.H)(N),w,{getOptionValue:C,getOptionLabel:k})?m(I,p(I)):void 0},[p,m,k,C,I,v,w,N]),M=(0,i.useMemo)(function(){return!n&&E||!L?w:"first"===a?[L].c
1oncat((0,l.A)(w)):[].concat((0,l.A)(w),[L])},[n,a,E,L,w]),W=(0,i.useCallback)(function(e,t){if("select-option"!==t.action)return b(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==L)b(e,t);else if(A)A(I);else{var o=m(I,I),i={action:"create-option",name:R,option:o};b((0,d.D)(D,[].concat((0,l.A)((0,d.H)(N)),[o]),o),i)}},[m,I,D,R,L,A,b,N]);return(0,s.A)((0,s.A)({},S),{},{options:M,onChange:W})}((0,a.u)(e));return i.createElement(r.S,(0,o.A)({ref:t},n))})},37012(e,t,n){const o=(0,n(92254).A)(function(e,t){return null==t||t!=t?e:t});n.d(t,["A",0,o])},30371(e,t,n){n.d(t,{A:()=>i});var o=n(5564);function i(e,t){return function(){var n=arguments.length;if(0===n)return t();var i=arguments[n-1];return(0,o.A)(i)||"function"!=typeof i[e]?t.apply(this,arguments):i[e].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},18228(e,t,n){function o(e){return"[object String]"===Object.prototype.toString.call(e)}n.d(t,{A:()=>o})},56359(e,t,n){n.d(t,{A:()=>i});var o=n(18228);function i(e,t){var n=e<0?t.length+e:e;return(0,o.A)(t)?t.charAt(n):t[n]}},38506(e,t,n){n.d(t,{A:()=>r});var o=n(64279),i=n(56359);function r(e,t){for(var n=t,r=0;r<e.length;r+=1){if(null==n)return;var a=e[r];n=(0,o.A)(a)?(0,i.A)(a,n):n[a]}return n}},24445(e,t,n){var o=n(92254),i=n(38506);const r=(0,o.A)(i.A);n.d(t,["A",0,r])},5987(e,t,n){var o=n(92254),i=n(64279),r=n(56359);const a=(0,o.A)(function(e,t){if(null!=t)return(0,i.A)(e)?(0,r.A)(e,t):t[e]});n.d(t,["A",0,a])},46850(e,t,n){var o=n(2173),i=n(37012),r=n(5987);const a=(0,o.A)(function(e,t,n){return(0,i.A)(e,(0,r.A)(t,n))});n.d(t,["A",0,a])},97094(e,t,n){var o=n(30371);const i=(0,n(2173).A)((0,o.A)("slice",function(e,t,n){return Array.prototype.slice.call(n,e,t)}));n.d(t,["A",0,i])},18925(e,t,n){var o=n(92254),i=n(97094);const r=(0,o.A)(function(e,t){if(e<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],o=0;o<t.length;)n.push((0,i.A)(o,o+=e,t));return n});n.d(t,["A",0,r])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.