1(self.webpackChunkcathay_securities_ui=self.webpackChunkcathay_securities_ui||[]).push([[329],{841:function(e){e.exports=function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}}}()},3060:e=>{"use strict";e.exports=Object},3956:e=>{"use strict";e.exports=ReferenceError},4029:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=Object.prototype.hasOwnProperty;function i(e,t,n){for(n of e.keys())if(o(n,t))return n}function o(e,t){var n,s,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((s=e.length)===t.length)for(;s--&&o(e[s],t[s]););return-1===s}if(n===Set){if(e.size!==t.size)return!1;for(s of e){if((a=s)&&"object"==typeof a&&!(a=i(t,a)))return!1;if(!t.has(a))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(s of e){if((a=s[0])&&"object"==typeof a&&!(a=i(t,a)))return!1;if(!o(s[1],t.get(a)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((s=e.byteLength)===t.byteLength)for(;s--&&e.getInt8(s)===t.getInt8(s););return-1===s}if(ArrayBuffer.isView(e)){if((s=e.byteLength)===t.byteLength)for(;s--&&e[s]===t[s];);return-1===s}if(!n||"object"==typeof e){for(n in s=0,e){if(r.call(e,n)&&++s&&!r.call(t,n))return!1;if(!(n in t)||!o(e[n],t[n]))return!1}return Object.keys(t).length===s}}return e!=e&&t!=t}},7573:(e,t,n)=>{"use strict";var r=n(3060);e.exports=r.getPrototypeOf||null},18671:e=>{"use strict";e.exports=URIError},19811:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var s=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},s.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},s.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var a=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),a.call(this,e)};var c=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var u=s.utcOffset;s.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?u.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],s=60*+i[1]+ +i[2];return 0===s?0:"+"===o?s:-s}(r),null===r))return this;var s=Math.abs(r)<=16?60*r:r;if(0===s)return this.utc(i);var a=this.clone();if(i)return a.$offset=s,a.$u=!1,a;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(a=this.local().add(s+c,e)).$offset=s,a.$x.$localOffset=c,a};var l=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var d=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var f=s.diff;s.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=o(e).local();return f.call(r,i,t,n)}}}()},23463:function(e){e.exports=function(){"use strict";return function(e,t,n){var r=t.prototype,i=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,n,r,o){var s=e.name?e:e.$locale(),a=i(s[t]),c=i(s[n]),u=a||c.map(function(e){return e.slice(0,r)});if(!o)return u;var l=s.weekStart;return u.map(function(e,t){return u[(t+(l||0))%7]})},s=function(){return n.Ls[n.locale()]},a=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})}(e.formats[t.toUpperCase()])},c=function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return a(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};r.localeData=function(){return c.bind(this)()},n.localeData=function(){var e=s();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return n.weekdays()},weekdaysShort:function(){return n.weekdaysShort()},weekdaysMin:function(){return n.weekdaysMin()},months:function(){return n.months()},monthsShort:function(){return n.monthsShort()},longDateFormat:function(t){return a(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},n.months=function(){return o(s(),"months")},n.monthsShort=function(){return o(s(),"monthsShort","months",3)},n.weekdays=function(e){return o(s(),"weekdays",null,null,e)},n.weekdaysShort=function(e){return o(s(),"weekdaysShort","weekdays",3,e)},n.weekdaysMin=function(e){return o(s(),"weekdaysMin","weekdays",2,e)}}}()},27494:(e,t,n)=>{var r;!function(){"use strict"; 2/** 3 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. 4 * 5 * @codingstandard ftlabs-jsv2 6 * @copyright The Financial Times Limited [All Rights Reserved] 7 * @license MIT License (see LICENSE.txt) 8 */function i(e,t){var n;if(t=t||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=t.touchBoundary||10,this.layer=e,this.tapDelay=t.tapDelay||200,this.tapTimeout=t.tapTimeout||700,!i.notNeeded(e)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],o=this,a=0,
8c=r.length;a<c;a++)o[r[a]]=u(o[r[a]],o);s&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,r){var i=Node.prototype.removeEventListener;"click"===t?i.call(e,t,n.hijacked||n,r):i.call(e,t,n,r)},e.addEventListener=function(t,n,r){var i=Node.prototype.addEventListener;"click"===t?i.call(e,t,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):i.call(e,t,n,r)}),"function"==typeof e.onclick&&(n=e.onclick,e.addEventListener("click",function(e){n(e)},!1),e.onclick=null)}function u(e,t){return function(){return e.apply(t,arguments)}}}var o=navigator.userAgent.indexOf("Windows Phone")>=0,s=navigator.userAgent.indexOf("Android")>0&&!o,a=/iP(ad|hone|od)/.test(navigator.userAgent)&&!o,c=a&&/OS 4_\d(_\d)?/.test(navigator.userAgent),u=a&&/OS [6-7]_\d/.test(navigator.userAgent),l=navigator.userAgent.indexOf("BB10")>0;i.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(a&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},i.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!s;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},i.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],(n=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},i.prototype.determineEventType=function(e){return s&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},i.prototype.focus=function(e){var t;a&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},i.prototype.updateScrollParent=function(e){var t,n;if(!(t=e.fastClickScrollParent)||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},i.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},i.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],a){if((r=window.getSelection()).rangeCount&&!r.isCollapsed)return!0;if(!c){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},i.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n},i.prototype.onTouchMove=function(e){return!this.trackingClick||((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0)},i.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},i.prototype.onTouchEnd=function(e){var t,n,r,i,o,l=this.targetElement;if(!this.trackingClick)return!0;
8if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,u&&(o=e.changedTouches[0],(l=document.elementFromPoint(o.pageX-window.pageXOffset,o.pageY-window.pageYOffset)||l).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(r=l.tagName.toLowerCase())){if(t=this.findControl(l)){if(this.focus(l),s)return!1;l=t}}else if(this.needsFocus(l))return e.timeStamp-n>100||a&&window.top!==window&&"input"===r?(this.targetElement=null,!1):(this.focus(l),this.sendClick(l,e),a&&"select"===r||(this.targetElement=null,e.preventDefault()),!1);return!(!a||c||!(i=l.fastClickScrollParent)||i.fastClickLastScrollTop===i.scrollTop)||(this.needsClick(l)||(e.preventDefault(),this.sendClick(l,e)),!1)},i.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},i.prototype.onMouse=function(e){return!this.targetElement||(!!e.forwardedTouchEvent||(!e.cancelable||(!(!this.needsClick(this.targetElement)||this.cancelNextClick)||(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1))))},i.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail||((t=this.onMouse(e))||(this.targetElement=null),t)},i.prototype.destroy=function(){var e=this.layer;s&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},i.notNeeded=function(e){var t,n,r;if(void 0===window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!s)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(l&&(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]>=10&&r[2]>=3&&(t=document.querySelector("meta[name=viewport]"))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction||(!!(+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]>=27&&(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||("none"===e.style.touchAction||"manipulation"===e.style.touchAction))},i.attach=function(e,t){return new i(e,t)},void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},29382:(e,t,n)=>{"use strict";n.d(t,{$$:()=>v,Es:()=>p,KG:()=>y,Ks:()=>C,Ll:()=>c,Re:()=>M,Sw:()=>s,TW:()=>h,WQ:()=>E,YG:()=>A,YN:()=>m,ZC:()=>b,_q:()=>g,ag:()=>O,e_:()=>k,jn:()=>o,kx:()=>D,l6:()=>a,lk:()=>w,sb:()=>d,wz:()=>l,xZ:()=>f,zk:()=>u});var r=n(19959),i=n(16056);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.useMemo)(()=>e=>{t.forEach(t=>t(e))},t)}const s="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function a(e){const t=Object.prototype.toString.call(e);return"[object Window]"===t||"[object global]"===t}function c(e){return"nodeType"in e}function u(e){var t,n;return e?a(e)?e:c(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function l(e){const{Document:t}=u(e);return e instanceof t}function d(e){return!a(e)&&e instanceof u(e).HTMLElement}function f(e){return e instanceof u(e).SVGElement}function h(e){return e?a(e)?e.document:c(e)?l(e)?e:d(e)||f(e)?e.ownerDocument:document:document:document}const p=s?i.useLayoutEffect:i.useEffect;function g(e){const t=(0,i.useRef)(e);return p(()=>{t.current=e}),(0,i.useCallback)(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}function v(){const e=(0,i.useRef)(null);return[(0,i.useCallback)((t,n)=>{e.current=setInterval(t,n)},[]),(0,i.useCallback)(()=>{null!==e.current&&(clearInterval(e.current),e.current=null)},[])]}function m(e,t){void 0===t&&(t=[e]);const n=(0,i.useRef)(e);return p(()=>{n.current!==e&&(n.current=e)},t),n}function y(e,t){const n=(0,i.useRef)();return(0,i.useMemo)(()=>{const t=e(n.current);return n.current=t,t},[...t])}function w(e){const t=g(e),n=(0,i.useRef)(null),r=(0,i.useCallback)(e=>{e!==n.current&&(null==t||t(e,n.current)),n.current=e},[]);return[n,r]}function b(e){const t=(0,i.useRef)();return(0,i.useEffect)(()=>{t.current=e},[e]),t.current}let x={};function A(e,t){return(0,i.useMemo)(()=>
8{if(t)return t;const n=null==x[e]?0:x[e]+1;return x[e]=n,e+"-"+n},[e,t])}function S(e){return function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];return i.reduce((t,n)=>{const r=Object.entries(n);for(const[n,i]of r){const r=t[n];null!=r&&(t[n]=r+e*i)}return t},(0,r.A)({},t))}}const E=S(1),M=S(-1);function D(e){if(!e)return!1;const{KeyboardEvent:t}=u(e.target);return t&&e instanceof t}function k(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 C=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[C.Translate.toString(e),C.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),N="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function O(e){return e.matches(N)?e:e.querySelector(N)}},31941:e=>{"use strict";e.exports=Error},32223:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},32910:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},38717:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}},47727:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=!("undefined"==typeof window||!window.document||!window.document.createElement);var i;function o(e){if((!i&&0!==i||e)&&r){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),i=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return i}}
vendor: 5,010 bytes, line 8
8,55738:(e,t,n)=>{"use strict";var r=n(32910);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},56909:(e,t,n)=>{"use strict";var r=n(78515);e.exports=Function.prototype.bind||r},60894:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",s="hour",a="day",c="week",u="month",l="quarter",d="year",f="date",h="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},m=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},y={s:m,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,u),o=n-i<0,s=t.clone().add(r+(o?-1:1),u);return+(-(r+(n-i)/(o?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:u,y:d,w:c,d:a,D:f,h:s,m:o,s:i,ms:r,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},w="en",b={};b[w]=v;var x="$isDayjsObject",A=function(e){return e instanceof D||!(!e||!e[x])},S=function e(t,n,r){var i;if(!t)return w;if("string"==typeof t){var o=t.toLowerCase();b[o]&&(i=o),n&&(b[o]=n,i=o);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var a=t.name;b[a]=t,i=a}return!r&&i&&(w=i),i||!r&&w},E=function(e,t){if(A(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new D(n)},M=y;M.l=S,M.i=A,M.w=function(e,t){return E(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var D=function(){function v(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var m=v.prototype;return m.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(M.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(p);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},m.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},m.$utils=function(){return M},m.isValid=function(){return!(this.$d.toString()===h)},m.isSame=function(e,t){var n=E(e);return this.startOf(t)<=n&&n<=this.endOf(t)},m.isAfter=function(e,t){return E(e)<this.startOf(t)},m.isBefore=function(e,t){return this.endOf(t)<E(e)},m.$g=function(e,t,n){return M.u(e)?this[t]:this.set(n,e)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(e,t){var n=this,r=!!M.u(t)||t,l=M.p(e),h=function(e,t){var i=M.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(a)},p=function(e,t){return M.w(n.toDate()[e].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},g=this.$W,v=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case d:return r?h(1,0):h(31,11);case u:return r?h(1,v):h(0,v+1);case c:var w=this.$locale().weekStart||0,b=(g<w?g+7:g)-w;return h(r?m-b:m+(6-b),v);case a:case f:return p(y+"Hours",0);case s:return p(y+"Minutes",1);case o:return p(y+"Seconds",2);case i:return p(y+"Milliseconds",3);default:return this.clone()}},m.endOf=function(e){return this.startOf(e,!1)},m.$set=function(e,t){var n,c=M.p(e),l="set"+(this.$u?"UTC":""),h=(n={},n[a]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[d]=l+"FullYear",n[s]=l+"Hours",n[o]=l+"Minutes",n[i]=l+"Seconds",n[r]=l+"Milliseconds",n)[c],p=c===a?this.$D+(t-this.$W):t;if(c===u||c===d){var g=this.clone().set(f,1);g.$d[h](p),g.init(),this.$d=g.set(f,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](p);return this.init(),this},m.set=function(e,t){return this.clone().$set(e,t)},m.get=function(e){return this[M.p(e)]()},m.add=function(r,l){var f,h=this;r=Number(r);var p=M.p(l),g=function(e){var t=E(h);return M.w(t.date(t.date()+Math.round(e*r)),h)};if(p===u)return this.set(u,this.$M+r);if(p===d)return this.set(d,this.$y+r);if(p===a)return g(1);if(p===c)return g(7);var v=(f={},f[o]=t,f[s]=n,f[i]=e,f)[p]||1,m=this.$d.getTime()+r*v;return M.w(m,this)},m.subtract=function(e,t){return this.add(-1*e,t)},m.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||h;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=M.z(this),o=this.$H,s=this.$m,a=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,d=function(e,n,i,o){return e&&(e[
vendor: 1,142 bytes, line 8
8n]||e(t,r))||i[n].slice(0,o)},f=function(e){return M.s(o%12||12,e,"0")},p=l||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(g,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return M.s(t.$y,4,"0");case"M":return a+1;case"MM":return M.s(a+1,2,"0");case"MMM":return d(n.monthsShort,a,u,3);case"MMMM":return d(u,a);case"D":return t.$D;case"DD":return M.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,c,2);case"ddd":return d(n.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(o);case"HH":return M.s(o,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return p(o,s,!0);case"A":return p(o,s,!1);case"m":return String(s);case"mm":return M.s(s,2,"0");case"s":return String(t.$s);case"ss":return M.s(t.$s,2,"0");case"SSS":return M.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,f,h){var p,g=this,v=M.p(f),m=E(r),y=(m.utcOffset()-this.utcOffset())*t,w=this-m,b=function(){return M.m(g,m)};
8switch(v){case d:p=b()/12;break;case u:p=b();break;case l:p=b()/3;break;case c:p=(w-y)/6048e5;break;case a:p=(w-y)/864e5;break;case s:p=w/n;break;case o:p=w/t;break;case i:p=w/e;break;default:p=w}return h?p:M.a(p)},m.daysInMonth=function(){return this.endOf(u).$D},m.$locale=function(){return b[this.$L]},m.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=S(e,t,!0);return r&&(n.$L=r),n},m.clone=function(){return M.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},v}(),k=D.prototype;return E.prototype=k,[["$ms",r],["$s",i],["$m",o],["$H",s],["$W",a],["$M",u],["$y",d],["$D",f]].forEach(function(e){k[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),E.extend=function(e,t){return e.$i||(e(t,D,E),e.$i=!0),E},E.locale=S,E.isDayjs=A,E.unix=function(e){return E(1e3*e)},E.en=b[w],E.Ls=b,E.p={},E}()},66493:(e,t,n)=>{"use strict";var r,i=n(3060),o=n(31941),s=n(75415),a=n(67184),c=n(3956),u=n(78722),l=n(97353),d=n(18671),f=n(10269),h=n(6383),p=n(31015),g=n(2077),v=n(96071),m=n(15073),y=n(47080),w=Function,b=function(e){try{return w('"use strict"; return ('+e+").constructor;")()}catch(e){}},x=n(55738),A=n(91487),S=function(){throw new l},E=x?function(){try{return S}catch(e){try{return x(arguments,"callee").get}catch(e){return S}}}():S,M=n(23843)(),D=n(71517),k=n(7573),C=n(32223),N=n(58730),O=n(60812),R={},T="undefined"!=typeof Uint8Array&&D?D(Uint8Array):r,$={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":M&&D?D([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":s,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":w,"%GeneratorFunction%":R,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
8IteratorPrototype%":M&&D?D(D([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&M&&D?D((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&M&&D?D((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":M&&D?D(""[Symbol.iterator]()):r,"%Symbol%":M?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":T,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":N,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":k,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":p,"%Math.min%":g,"%Math.pow%":v,"%Math.round%":m,"%Math.sign%":y,"%Reflect.getPrototypeOf%":C};if(D)try{null.error}catch(e){var _=D(D(e));$["%Error.prototype%"]=_}var I=function e(t){var n;if("%AsyncFunction%"===t)n=b("async function () {}");else if("%GeneratorFunction%"===t)n=b("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=b("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&D&&(n=D(i.prototype))}return $[t]=n,n},P={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=n(56909),Y=n(4783),F=L.call(O,Array.prototype.concat),U=L.call(N,Array.prototype.splice),W=L.call(O,String.prototype.replace),B=L.call(O,String.prototype.slice),z=L.call(O,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,H=/\\(\\)?/g,G=function(e,t){var n,r=e;if(Y(P,r)&&(r="%"+(n=P[r])[0]+"%"),Y($,r)){var i=$[r];
8if(i===R&&(i=I(r)),void 0===i&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===z(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=B(e,0,1),n=B(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return W(e,j,function(e,t,n,i){r[r.length]=n?W(i,H,"$1"):t||e}),r}(e),r=n.length>0?n[0]:"",i=G("%"+r+"%",t),o=i.name,s=i.value,a=!1,c=i.alias;c&&(r=c[0],U(n,F([0,1],c)));for(var d=1,f=!0;d<n.length;d+=1){var h=n[d],p=B(h,0,1),g=B(h,-1);if(('"'===p||"'"===p||"`"===p||'"'===g||"'"===g||"`"===g)&&p!==g)throw new u("property names with quotes must have matching quotes");if("constructor"!==h&&f||(a=!0),Y($,o="%"+(r+="."+h)+"%"))s=$[o];else if(null!=s){if(!(h in s)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(x&&d+1>=n.length){var v=x(s,h);s=(f=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[h]}else f=Y(s,h),s=s[h];f&&!a&&($[o]=s)}}return s}},67184:e=>{"use strict";e.exports=RangeError},70484:function(e){e.exports=function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),o=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return n.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return n.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return r.bind(this)(o)}}}()},71517:(e,t,n)=>{"use strict";var r=n(32223),i=n(7573),o=n(78667);e.exports=r?function(e){return r(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},75415:e=>{"use strict";e.exports=EvalError},78515:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n}(arguments,1),a=n(0,i.length-s.length),c=[],u=0;u<a;u++)c[u]="$"+u;if(o=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n}(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=i.apply(this,r(s,arguments));return Object(t)===t?t:this}return i.apply(e,r(s,arguments))}),i.prototype){var l=function(){};l.prototype=i.prototype,o.prototype=new l,l.prototype=null}return o}},78667:(e,t,n)=>{"use strict";var r,i=n(15798),o=n(55738);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var s=!!r&&o&&o(Object.prototype,"__proto__"),a=Object,c=a.getPrototypeOf;e.exports=s&&"function"==typeof s.get?i([s.get]):"function"==typeof c&&function(e){return c(null==e?e:a(e))}},78722:e=>{"use strict";e.exports=SyntaxError},80300:(e,t,n)=>{"use strict";n.d(t,{FN:()=>i});var r=n(19959);n(29382);const i=e=>{let{transform:t}=e;return(0,r.A)((0,r.A)({},t),{},{x:0})}},81057:(e,t,n)=>{"use strict";n.d(t,{A:()=>Fe}); 9/*! 10 * decimal.js v10.6.0 11 * An arbitrary-precision Decimal type for JavaScript. 12 * https://github.com/MikeMcl/decimal.js 13 * Copyright (c) 2025 Michael Mclaughlin <[email protected]> 14 * MIT Licence 15 */ 16var r,i,o=9e15,s=1e9,a="0123456789abcdef",c="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",u="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823
16066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",l={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-o,maxE:o,crypto:!1},d=!0,f="[DecimalError] ",h=f+"Invalid argument: ",p=f+"Precision limit exceeded",g=f+"crypto unavailable",v="[object Decimal]",m=Math.floor,y=Math.pow,w=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,b=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,x=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,A=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,S=1e7,E=c.length-1,M=u.length-1,D={toStringTag:v};function k(e){var t,n,r,i=e.length-1,o="",s=e[0];if(i>0){for(o+=s,t=1;t<i;t++)(n=7-(r=e[t]+"").length)&&(o+=Y(n)),o+=r;(n=7-(r=(s=e[t])+"").length)&&(o+=Y(n))}else if(0===s)return"0";for(;s%10==0;)s/=10;return o+s}function C(e,t,n){if(e!==~~e||e<t||e>n)throw Error(h+e)}function N(e,t,n,r){var i,o,s,a;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),o=y(10,7-t),a=e[i]%o|0,null==r?t<3?(0==t?a=a/100|0:1==t&&(a=a/10|0),s=n<4&&99999==a||n>3&&49999==a||5e4==a||0==a):s=(n<4&&a+1==o||n>3&&a+1==o/2)&&(e[i+1]/o/100|0)==y(10,t-2)-1||(a==o/2||0==a)&&!(e[i+1]/o/100|0):t<4?(0==t?a=a/1e3|0:1==t?a=a/100|0:2==t&&(a=a/10|0),s=(r||n<4)&&9999==a||!r&&n>3&&4999==a):s=((r||n<4)&&a+1==o||!r&&n>3&&a+1==o/2)&&(e[i+1]/o/1e3|0)==y(10,t-3)-1,s}function O(e,t,n){for(var r,i,o=[0],s=0,c=e.length;s<c;){for(i=o.length;i--;)o[i]*=t;for(o[0]+=a.indexOf(e.charAt(s++)),r=0;r<o.length;r++)o[r]>n-1&&(void 0===o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}D.absoluteValue=D.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),T(e)},D.ceil=function(){return T(new this.constructor(this),this.e+1,2)},D.clampedTo=D.clamp=function(e,t){var n=this,r=n.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(h+t);return n.cmp(e)<0?e:n.cmp(t)>0?t:new r(n)},D.comparedTo=D.cmp=function(e){var t,n,r,i,o=this,s=o.d,a=(e=new o.constructor(e)).d,c=o.s,u=e.s;if(!s||!a)return c&&u?c!==u?c:s===a?0:!s^c<0?1:-1:NaN;if(!s[0]||!a[0])return s[0]?c:a[0]?-u:0;if(c!==u)return c;if(o.e!==e.e)return o.e>e.e^c<0?1:-1;for(t=0,n=(r=s.length)<(i=a.length)?r:i;t<n;++t)if(s[t]!==a[t])return s[t]>a[t]^c<0?1:-1;return r===i?0:r>i^c<0?1:-1},D.cosine=D.cos=function(){var e,t,n=this,r=n.constructor;return n.d?n.d[0]?(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r,i;if(t.isZero())return t;r=t.d.length,r<32?i=(1/Z(4,n=Math.ceil(r/3))).toString():(n=16,i="2.3283064365386962890625e-10");e.precision+=n,t=q(e,1,t.times(i),new e(1));for(var o=n;o--;){var s=t.times(t);t=s.times(s).minus(s).times(8).plus(1)}return e.precision-=n,t}(r,X(r,n)),r.precision=e,r.rounding=t,T(2==i||3==i?n.neg():n,e,t,!0)):new r(1):new r(NaN)},D.cubeRoot=D.cbrt=function(){var e,t,n,r,i,o,s,a,c,u,l=this,f=l.constructor;if(!l.isFinite()||l.isZero())return new f(l);for(d=!1,(o=l.s*y(l.s*l,1/3))&&Math.abs(o)!=1/0?r=new f(o.toString()):(n=k(l.d),(o=((e=l.e)-n.length+1)%3)&&(n+=1==o||-2==o?"0":"00"),o=y(n,1/3),e=m((e+1)/3)-(e%3==(e<0?-1:2)),(r=new f(n=o==1/0?"5e"+e:(n=o.toExponential()).slice(0,n.indexOf("e")+1)+e)).s=l.s),s=(e=f.precision)+3;;)if(u=(c=(a=r).times(a).times(a)).plus(l),r=R(u.plus(l).times(a),u.plus(c),s+2,1),k(a.d).slice(0,s)===(n=k(r.d)).slice(0,s)){if("9999"!=(n=n.slice(s-3,s+1))&&(i||"4999"!=n)){+n&&(+n.slice(1)||"5"!=n.charAt(0))||(T(r,e+1,1),t=!r.times(r).times(r).eq(l));break}
16if(!i&&(T(a,e+1,0),a.times(a).times(a).eq(l))){r=a;break}s+=4,i=1}return d=!0,T(r,e,f.rounding,t)},D.decimalPlaces=D.dp=function(){var e,t=this.d,n=NaN;if(t){if(n=7*((e=t.length-1)-m(this.e/7)),e=t[e])for(;e%10==0;e/=10)n--;n<0&&(n=0)}return n},D.dividedBy=D.div=function(e){return R(this,new this.constructor(e))},D.dividedToIntegerBy=D.divToInt=function(e){var t=this.constructor;return T(R(this,new t(e),0,1,1),t.precision,t.rounding)},D.equals=D.eq=function(e){return 0===this.cmp(e)},D.floor=function(){return T(new this.constructor(this),this.e+1,3)},D.greaterThan=D.gt=function(e){return this.cmp(e)>0},D.greaterThanOrEqualTo=D.gte=function(e){var t=this.cmp(e);return 1==t||0===t},D.hyperbolicCosine=D.cosh=function(){var e,t,n,r,i,o=this,s=o.constructor,a=new s(1);if(!o.isFinite())return new s(o.s?1/0:NaN);if(o.isZero())return a;n=s.precision,r=s.rounding,s.precision=n+Math.max(o.e,o.sd())+4,s.rounding=1,(i=o.d.length)<32?t=(1/Z(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),o=q(s,1,o.times(t),new s(1),!0);for(var c,u=e,l=new s(8);u--;)c=o.times(o),o=a.minus(c.times(l.minus(c.times(l))));return T(o,s.precision=n,s.rounding=r,!0)},D.hyperbolicSine=D.sinh=function(){var e,t,n,r,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,n=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(r=i.d.length)<3)i=q(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(r))>16?16:0|e,i=q(o,2,i=i.times(1/Z(5,e)),i,!0);for(var s,a=new o(5),c=new o(16),u=new o(20);e--;)s=i.times(i),i=i.times(a.plus(s.times(c.times(s).plus(u))))}return o.precision=t,o.rounding=n,T(i,t,n,!0)},D.hyperbolicTangent=D.tanh=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,R(n.sinh(),n.cosh(),r.precision=e,r.rounding=t)):new r(n.s)},D.inverseCosine=D.acos=function(){var e=this,t=e.constructor,n=e.abs().cmp(1),r=t.precision,i=t.rounding;return-1!==n?0===n?e.isNeg()?P(t,r,i):new t(0):new t(NaN):e.isZero()?P(t,r+4,i).times(.5):(t.precision=r+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=r,t.rounding=i,e.times(2))},D.inverseHyperbolicCosine=D.acosh=function(){var e,t,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(e=r.precision,t=r.rounding,r.precision=e+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,d=!1,n=n.times(n).minus(1).sqrt().plus(n),d=!0,r.precision=e,r.rounding=t,n.ln()):new r(n)},D.inverseHyperbolicSine=D.asinh=function(){var e,t,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,d=!1,n=n.times(n).plus(1).sqrt().plus(n),d=!0,r.precision=e,r.rounding=t,n.ln())},D.inverseHyperbolicTangent=D.atanh=function(){var e,t,n,r,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,r=i.sd(),Math.max(r,e)<2*-i.e-1?T(new o(i),e,t,!0):(o.precision=n=r-i.e,i=R(i.plus(1),new o(1).minus(i),n+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5))):new o(NaN)},D.inverseSine=D.asin=function(){var e,t,n,r,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),n=o.precision,r=o.rounding,-1!==t?0===t?((e=P(o,n+4,r).times(.5)).s=i.s,e):new o(NaN):(o.precision=n+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=n,o.rounding=r,i.times(2)))},D.inverseTangent=D.atan=function(){var e,t,n,r,i,o,s,a,c,u=this,l=u.constructor,f=l.precision,h=l.rounding;if(u.isFinite()){if(u.isZero())return new l(u);if(u.abs().eq(1)&&f+4<=M)return(s=P(l,f+4,h).times(.25)).s=u.s,s}else{if(!u.s)return new l(NaN);if(f+4<=M)return(s=P(l,f+4,h).times(.5)).s=u.s,s}for(l.precision=a=f+10,l.rounding=1,e=n=Math.min(28,a/7+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(d=!1,t=Math.ceil(a/7),r=1,c=u.times(u),s=new l(u),i=u;-1!==e;)if(i=i.times(c),o=s.minus(i.div(r+=2)),i=i.times(c),void 0!==(s=o.plus(i.div(r+=2))).d[t])for(e=t;s.d[e]===o.d[e]&&e--;);return n&&(s=s.times(2<<n-1)),d=!0,T(s,l.precision=f,l.rounding=h,!0)},D.isFinite=function(){return!!this.d},D.isInteger=D.isInt=function(){return!!this.d&&m(this.e/7)>this.d.length-2},D.isNaN=function(){return!this.s}
16,D.isNegative=D.isNeg=function(){return this.s<0},D.isPositive=D.isPos=function(){return this.s>0},D.isZero=function(){return!!this.d&&0===this.d[0]},D.lessThan=D.lt=function(e){return this.cmp(e)<0},D.lessThanOrEqualTo=D.lte=function(e){return this.cmp(e)<1},D.logarithm=D.log=function(e){var t,n,r,i,o,s,a,c,u=this,l=u.constructor,f=l.precision,h=l.rounding;if(null==e)e=new l(10),t=!0;else{if(n=(e=new l(e)).d,e.s<0||!n||!n[0]||e.eq(1))return new l(NaN);t=e.eq(10)}if(n=u.d,u.s<0||!n||!n[0]||u.eq(1))return new l(n&&!n[0]?-1/0:1!=u.s?NaN:n?0:1/0);if(t)if(n.length>1)o=!0;else{for(i=n[0];i%10==0;)i/=10;o=1!==i}if(d=!1,s=z(u,a=f+5),r=t?I(l,a+10):z(e,a),N((c=R(s,r,a,1)).d,i=f,h))do{if(s=z(u,a+=10),r=t?I(l,a+10):z(e,a),c=R(s,r,a,1),!o){+k(c.d).slice(i+1,i+15)+1==1e14&&(c=T(c,f+1,0));break}}while(N(c.d,i+=10,h));return d=!0,T(c,f,h)},D.minus=D.sub=function(e){var t,n,r,i,o,s,a,c,u,l,f,h,p=this,g=p.constructor;if(e=new g(e),!p.d||!e.d)return p.s&&e.s?p.d?e.s=-e.s:e=new g(e.d||p.s!==e.s?p:NaN):e=new g(NaN),e;if(p.s!=e.s)return e.s=-e.s,p.plus(e);if(u=p.d,h=e.d,a=g.precision,c=g.rounding,!u[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!u[0])return new g(3===c?-0:0);e=new g(p)}return d?T(e,a,c):e}if(n=m(e.e/7),l=m(p.e/7),u=u.slice(),o=l-n){for((f=o<0)?(t=u,o=-o,s=h.length):(t=h,n=l,s=u.length),o>(r=Math.max(Math.ceil(a/7),s)+2)&&(o=r,t.length=1),t.reverse(),r=o;r--;)t.push(0);t.reverse()}else{for((f=(r=u.length)<(s=h.length))&&(s=r),r=0;r<s;r++)if(u[r]!=h[r]){f=u[r]<h[r];break}o=0}for(f&&(t=u,u=h,h=t,e.s=-e.s),s=u.length,r=h.length-s;r>0;--r)u[s++]=0;for(r=h.length;r>o;){if(u[--r]<h[r]){for(i=r;i&&0===u[--i];)u[i]=S-1;--u[i],u[r]+=S}u[r]-=h[r]}for(;0===u[--s];)u.pop();for(;0===u[0];u.shift())--n;return u[0]?(e.d=u,e.e=_(u,n),d?T(e,a,c):e):new g(3===c?-0:0)},D.modulo=D.mod=function(e){var t,n=this,r=n.constructor;return e=new r(e),!n.d||!e.s||e.d&&!e.d[0]?new r(NaN):!e.d||n.d&&!n.d[0]?T(new r(n),r.precision,r.rounding):(d=!1,9==r.modulo?(t=R(n,e.abs(),0,3,1)).s*=e.s:t=R(n,e,0,r.modulo,1),t=t.times(e),d=!0,n.minus(t))},D.naturalExponential=D.exp=function(){return B(this)},D.naturalLogarithm=D.ln=function(){return z(this)},D.negated=D.neg=function(){var e=new this.constructor(this);return e.s=-e.s,T(e)},D.plus=D.add=function(e){var t,n,r,i,o,s,a,c,u,l,f=this,h=f.constructor;if(e=new h(e),!f.d||!e.d)return f.s&&e.s?f.d||(e=new h(e.d||f.s===e.s?f:NaN)):e=new h(NaN),e;if(f.s!=e.s)return e.s=-e.s,f.minus(e);if(u=f.d,l=e.d,a=h.precision,c=h.rounding,!u[0]||!l[0])return l[0]||(e=new h(f)),d?T(e,a,c):e;if(o=m(f.e/7),r=m(e.e/7),u=u.slice(),i=o-r){for(i<0?(n=u,i=-i,s=l.length):(n=l,r=o,s=u.length),i>(s=(o=Math.ceil(a/7))>s?o+1:s+1)&&(i=s,n.length=1),n.reverse();i--;)n.push(0);n.reverse()}for((s=u.length)-(i=l.length)<0&&(i=s,n=l,l=u,u=n),t=0;i;)t=(u[--i]=u[i]+l[i]+t)/S|0,u[i]%=S;for(t&&(u.unshift(t),++r),s=u.length;0==u[--s];)u.pop();return e.d=u,e.e=_(u,r),d?T(e,a,c):e},D.precision=D.sd=function(e){var t,n=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(h+e);return n.d?(t=L(n.d),e&&n.e+1>t&&(t=n.e+1)):t=NaN,t},D.round=function(){var e=this,t=e.constructor;return T(new t(e),e.e+1,t.rounding)},D.sine=D.sin=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+Math.max(n.e,n.sd())+7,r.rounding=1,n=function(e,t){var n,r=t.d.length;if(r<3)return t.isZero()?t:q(e,2,t,t);n=(n=1.4*Math.sqrt(r))>16?16:0|n,t=t.times(1/Z(5,n)),t=q(e,2,t,t);for(var i,o=new e(5),s=new e(16),a=new e(20);n--;)i=t.times(t),t=t.times(o.plus(i.times(s.times(i).minus(a))));return t}(r,X(r,n)),r.precision=e,r.rounding=t,T(i>2?n.neg():n,e,t,!0)):new r(NaN)},D.squareRoot=D.sqrt=function(){var e,t,n,r,i,o,s=this,a=s.d,c=s.e,u=s.s,l=s.constructor;if(1!==u||!a||!a[0])return new l(!u||u<0&&(!a||a[0])?NaN:a?s:1/0);for(d=!1,0==(u=Math.sqrt(+s))||u==1/0?(((t=k(a)).length+c)%2==0&&(t+="0"),u=Math.sqrt(t),c=m((c+1)/2)-(c<0||c%2),r=new l(t=u==1/0?"5e"+c:(t=u.toExponential()).slice(0,t.indexOf("e")+1)+c)):r=new l(u.toString()),n=(c=l.precision)+3;;)if(r=(o=r).plus(R(s,o,n+2,1)).times(.5),k(o.d).slice(0,n)===(t=k(r.d)).slice(0,n)){if("9999"!=(t=t.slice(n-3,n+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(T(r,c+1,1),e=!r.times(r).eq(s));break}if(!i&&(T(o,c+1,0),o.times(o).eq(s))){r=o;break}n+=4,i=1}return d=!0,T(r,c,l.rounding,e)},D.tangent=D.tan=function(){var e,t,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(e=r.precision,t=r.rounding,r.precision=e+10,r.rounding=1,(n=n.sin()).s=1,n=R(n,new r(1).minus(n.times(n)).sqrt(),e+10,0),r.precision=e,r.rounding=t,T(2==i||4==i?n.neg():n,e,t,!0)):new r(NaN)},D.times=D.mul=function(e){var t,n,r,i,o,s,a,c,u,l=this,f=l.constructor,h=l.d,p=(e=new f(e)).d;if(e.s*=l.s,!(h&&h[0]&&p&&p[0]))return new f(!e.s||h&&!h[0]&&!p||p&&!p[0]&&!h?NaN:h&&p?0*e.s:e.s/0);
16for(n=m(l.e/7)+m(e.e/7),(c=h.length)<(u=p.length)&&(o=h,h=p,p=o,s=c,c=u,u=s),o=[],r=s=c+u;r--;)o.push(0);for(r=u;--r>=0;){for(t=0,i=c+r;i>r;)a=o[i]+p[r]*h[i-r-1]+t,o[i--]=a%S|0,t=a/S|0;o[i]=(o[i]+t)%S|0}for(;!o[--s];)o.pop();return t?++n:o.shift(),e.d=o,e.e=_(o,n),d?T(e,f.precision,f.rounding):e},D.toBinary=function(e,t){return V(this,2,e,t)},D.toDecimalPlaces=D.toDP=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(C(e,0,s),void 0===t?t=r.rounding:C(t,0,8),T(n,e+n.e+1,t))},D.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=$(r,!0):(C(e,0,s),void 0===t?t=i.rounding:C(t,0,8),n=$(r=T(new i(r),e+1,t),!0,e+1)),r.isNeg()&&!r.isZero()?"-"+n:n},D.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?n=$(i):(C(e,0,s),void 0===t?t=o.rounding:C(t,0,8),n=$(r=T(new o(i),e+i.e+1,t),!1,e+r.e+1)),i.isNeg()&&!i.isZero()?"-"+n:n},D.toFraction=function(e){var t,n,r,i,o,s,a,c,u,l,f,p,g=this,v=g.d,m=g.constructor;if(!v)return new m(g);if(u=n=new m(1),r=c=new m(0),s=(o=(t=new m(r)).e=L(v)-g.e-1)%7,t.d[0]=y(10,s<0?7+s:s),null==e)e=o>0?t:u;else{if(!(a=new m(e)).isInt()||a.lt(u))throw Error(h+a);e=a.gt(t)?o>0?t:u:a}for(d=!1,a=new m(k(v)),l=m.precision,m.precision=o=7*v.length*2;f=R(a,t,0,1,1),1!=(i=n.plus(f.times(r))).cmp(e);)n=r,r=i,i=u,u=c.plus(f.times(i)),c=i,i=t,t=a.minus(f.times(i)),a=i;return i=R(e.minus(n),r,0,1,1),c=c.plus(i.times(u)),n=n.plus(i.times(r)),c.s=u.s=g.s,p=R(u,r,o,1).minus(g).abs().cmp(R(c,n,o,1).minus(g).abs())<1?[u,r]:[c,n],m.precision=l,d=!0,p},D.toHexadecimal=D.toHex=function(e,t){return V(this,16,e,t)},D.toNearest=function(e,t){var n=this,r=n.constructor;if(n=new r(n),null==e){if(!n.d)return n;e=new r(1),t=r.rounding}else{if(e=new r(e),void 0===t?t=r.rounding:C(t,0,8),!n.d)return e.s?n:e;if(!e.d)return e.s&&(e.s=n.s),e}return e.d[0]?(d=!1,n=R(n,e,0,t,1).times(e),d=!0,T(n)):(e.s=n.s,n=e),n},D.toNumber=function(){return+this},D.toOctal=function(e,t){return V(this,8,e,t)},D.toPower=D.pow=function(e){var t,n,r,i,o,s,a=this,c=a.constructor,u=+(e=new c(e));if(!(a.d&&e.d&&a.d[0]&&e.d[0]))return new c(y(+a,u));if((a=new c(a)).eq(1))return a;if(r=c.precision,o=c.rounding,e.eq(1))return T(a,r,o);if((t=m(e.e/7))>=e.d.length-1&&(n=u<0?-u:u)<=9007199254740991)return i=F(c,a,n,r),e.s<0?new c(1).div(i):T(i,r,o);if((s=a.s)<0){if(t<e.d.length-1)return new c(NaN);if(1&e.d[t]||(s=1),0==a.e&&1==a.d[0]&&1==a.d.length)return a.s=s,a}return(t=0!=(n=y(+a,u))&&isFinite(n)?new c(n+"").e:m(u*(Math.log("0."+k(a.d))/Math.LN10+a.e+1)))>c.maxE+1||t<c.minE-1?new c(t>0?s/0:0):(d=!1,c.rounding=a.s=1,n=Math.min(12,(t+"").length),(i=B(e.times(z(a,r+n)),r)).d&&N((i=T(i,r+5,1)).d,r,o)&&(t=r+10,+k((i=T(B(e.times(z(a,t+n)),t),t+5,1)).d).slice(r+1,r+15)+1==1e14&&(i=T(i,r+1,0))),i.s=s,d=!0,c.rounding=o,T(i,r,o))},D.toPrecision=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=$(r,r.e<=i.toExpNeg||r.e>=i.toExpPos):(C(e,1,s),void 0===t?t=i.rounding:C(t,0,8),n=$(r=T(new i(r),e,t),e<=r.e||r.e<=i.toExpNeg,e)),r.isNeg()&&!r.isZero()?"-"+n:n},D.toSignificantDigits=D.toSD=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(C(e,1,s),void 0===t?t=n.rounding:C(t,0,8)),T(new n(this),e,t)},D.toString=function(){var e=this,t=e.constructor,n=$(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+n:n},D.truncated=D.trunc=function(){return T(new this.constructor(this),this.e+1,1)},D.valueOf=D.toJSON=function(){var e=this,t=e.constructor,n=$(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+n:n};var R=function(){function e(e,t,n){var r,i=0,o=e.length;for(e=e.slice();o--;)r=e[o]*t+i,e[o]=r%n|0,i=r/n|0;return i&&e.unshift(i),e}function t(e,t,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function n(e,t,n,r){for(var i=0;n--;)e[n]-=i,i=e[n]<t[n]?1:0,e[n]=i*r+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(i,o,s,a,c,u){var l,d,f,h,p,g,v,y,w,b,x,A,E,M,D,k,C,N,O,R,$=i.constructor,_=i.s==o.s?1:-1,I=i.d,P=o.d;if(!(I&&I[0]&&P&&P[0]))return new $(i.s&&o.s&&(I?!P||I[0]!=P[0]:P)?I&&0==I[0]||!P?0*_:_/0:NaN);for(u?(p=1,d=i.e-o.e):(u=S,p=7,d=m(i.e/p)-m(o.e/p)),O=P.length,C=I.length,b=(w=new $(_)).d=[],f=0;P[f]==(I[f]||0);f++);if(P[f]>(I[f]||0)&&d--,null==s?(M=s=$.precision,a=$.rounding):M=c?s+(i.e-o.e)+1:s,M<0)b.push(1),g=!0;else{if(M=M/p+2|0,f=0,1==O){for(h=0,P=P[0],M++;(f<C||h)&&M--;f++)D=h*u+(I[f]||0),b[f]=D/P|0,h=D%P|0;g=h||f<C}else{for((h=u/(P[0]+1)|0)>1&&(P=e(P,h,u),I=e(I,h,u),O=P.length,C=I.length),k=O,A=(x=I.slice(0,O)).length;A<O;)x[A++]=0;(R=P.slice()).unshift(0),N=P[0],P[1]>=u/2&&++N;do{h=0,(l=t(P,x,O,A))<0?(E=x[0],O!=A&&(E=E*u+(x[1]||0)),(h=E/N|0)>1?(h>=u&&(h=u-1),1==(l=t(v=e(P,h,u),x,y=v.length,A=x.length))&&(h--,n(v,O<y?R:P,y,u))):(0==h&&(l=h=1),v=P.slice()),(y=v.length)<A&&v.unshift(0),n(x,v,A,u),-1==l&&(l=t(P,x,O,A=x.length))<1&&(h++,n(x,O<A?R:P,A,u)),A=x.length):0===l&&(h++,x=[0]),b[f++]=h,l&&x[0]?x[A++]=I[k]||0:(x=[I[k]],A=1)}while((k++<C||void 0!==x[0])&&M--);g=void 0!==x[0]}b[0]||b.shift()}if(1==p)w.e=d,r=g;else{for(f=1,h=b[0];h>=10;h/=10)f++;w.e=f+d*p-1,T(w,c?s+w.e+1:s,a,g)}return w}}();function T(e,t,n,r){var i,o,s,a,c,u,l,f,h,p=e.constructor;e:if(null!=t){if(!(f=e.d))return e;for(i=1,a=f[0];a>=10;a/=10)i++;if((o=t-i)<0)o+=7,s=t,c=(l=f[h=0])/y(10,i-s-1)%10|0;else if((h=Math.ceil((o+1)/7))>=(a=f.length)){if(!r)break e;for(;a++<=h;)f.push(0);l=c=0,i=1,s=(o%=7)-7+1}else{for(l=a=f[h],i=1;a>=10;a/=10)i++;c=(s=(o%=7)-7+i)<0?0:l/y(10,i-s-1)%10|0}if(r=r||t<0||void 0!==f[h+1]||(s<0?l:l%y(10,i-s-1)),u=n<4?(c||r)&&(0==n||n==(e.s<0?3:2)):c>5||5==c&&(4==n||r||6==n&&(o>0?s>0?l/y(10,i-s):0:f[h-1])%10&1||n==(e.s<0?8:7)),t<1||!f[0])return f.length=0,u?(t-=e.e+1,f[0]=y(10,(7-t%7)%7),e.e=-t||0):f[0]=e.e=0,e;if(0==o?(f.length=h,a=1,h--):(f.length=h+1,a=y(10,7-o),f[h]=s>0?(l/y(10,i-s)%y(10,s)|0)*a:0),u)for(;;){if(0==h){for(o=1,s=f[0];s>=10;s/=10)o++;for(s=f[0]+=a,a=1;s>=10;s/=10)a++;o!=a&&(e.e++,f[0]==S&&(f[0]=1));break}if(f[h]+=a,f[h]!=S)break;f[h--]=0,a=1}for(o=f.length;0===f[--o];)f.pop()}return d&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function $(e,t,n){if(!e.isFinite())return j(e);var r,i=e.e,o=k(e.d),s=o.length;return t?(n&&(r=n-s)>0?o=o.charAt(0)+"."+o.slice(1)+Y(r):s>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+Y(-i-1)+o,n&&(r=n-s)>0&&(o+=Y(r))):i>=s?(o+=Y(i+1-s),n&&(r=n-i-1)>0&&(o=o+"."+Y(r))):((r=i+1)<s&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-s)>0&&(i+1===s&&(o+="."),o+=Y(r))),o}function _(e,t){var n=e[0];for(t*=7;n>=10;n/=10)t++;return t}function I(e,t,n){if(t>E)throw d=!0,n&&(e.precision=n),Error(p);return T(new e(c),t,1,!0)}function P(e,t,n){if(t>M)throw Error(p);return T(new e(u),t,n,!0)}function L(e){var t=e.length-1,n=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)n--;for(t=e[0];t>=10;t/=10)n++}return n}function Y(e){for(var t="";e--;)t+="0";return t}function F(e,t,n,r){var i,o=new e(1),s=Math.ceil(r/7+4);for(d=!1;;){if(n%2&&K((o=o.times(t)).d,s)&&(i=!0),0===(n=m(n/2))){n=o.d.length-1,i&&0===o.d[n]&&++o.d[n];break}K((t=t.times(t)).d,s)}return d=!0,o}function U(e){return 1&e.d[e.d.length-1]}function W(e,t,n){for(var r,i,o=new e(t[0]),s=0;++s<t.length;){if(!(i=new e(t[s])).s){o=i;break}((r=o.cmp(i))===n||0===r&&o.s===n)&&(o=i)}return o}function B(e,t){var n,r,i,o,s,a,c,u=0,l=0,f=0,h=e.constructor,p=h.rounding,g=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(null==t?(d=!1,c=g):c=t,a=new h(.03125);e.e>-2;)e=e.times(a),f+=5;for(c+=r=Math.log(y(2,f))/Math.LN10*2+5|0,n=o=s=new h(1),h.precision=c;;){if(o=T(o.times(e),c,1),n=n.times(++l),k((a=s.plus(R(o,n,c,1))).d).slice(0,c)===k(s.d).slice(0,c)){for(i=f;i--;)s=T(s.times(s),c,1);if(null!=t)return h.precision=g,s;if(!(u<3&&N(s.d,c-r,p,u)))return T(s,h.precision=g,p,d=!0);h.precision=c+=10,n=o=a=new h(1),l=0,u++}s=a}}function z(e,t){var n,r,i,o,s,a,c,u,l,f,h,p=1,g=e,v=g.d,m=g.constructor,y=m.rounding,w=m.precision;if(g.s<0||!v||!v[0]||!g.e&&1==v[0]&&1==v.length)return new m(v&&!v[0]?-1/0:1!=g.s?NaN:v?0:g);if(null==t?(d=!1,l=w):l=t,m.precision=l+=10,r=(n=k(v)).charAt(0),!(Math.abs(o=g.e)<15e14))return u=I(m,l+2,w).times(o+""),g=z(new m(r+"."+n.slice(1)),l-10).plus(u),m.precision=w,null==t?T(g,
16w,y,d=!0):g;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=k((g=g.times(e)).d)).charAt(0),p++;for(o=g.e,r>1?(g=new m("0."+n),o++):g=new m(r+"."+n.slice(1)),f=g,c=s=g=R(g.minus(1),g.plus(1),l,1),h=T(g.times(g),l,1),i=3;;){if(s=T(s.times(h),l,1),k((u=c.plus(R(s,new m(i),l,1))).d).slice(0,l)===k(c.d).slice(0,l)){if(c=c.times(2),0!==o&&(c=c.plus(I(m,l+2,w).times(o+""))),c=R(c,new m(p),l,1),null!=t)return m.precision=w,c;if(!N(c.d,l-10,y,a))return T(c,m.precision=w,y,d=!0);m.precision=l+=10,u=s=g=R(f.minus(1),f.plus(1),l,1),h=T(g.times(g),l,1),i=a=1}c=u,i+=2}}function j(e){return String(e.s*e.s/0)}function H(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);r++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(r,i)){if(i-=r,e.e=n=n-r-1,e.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&e.d.push(+t.slice(0,r)),i-=7;r<i;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=i;for(;r--;)t+="0";e.d.push(+t),d&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function G(e,t){var n,r,i,o,s,a,c,u,l;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),A.test(t))return H(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(b.test(t))n=16,t=t.toLowerCase();else if(w.test(t))n=2;else{if(!x.test(t))throw Error(h+t);n=8}for((o=t.search(/p/i))>0?(c=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),s=(o=t.indexOf("."))>=0,r=e.constructor,s&&(o=(a=(t=t.replace(".","")).length)-o,i=F(r,new r(n),o,2*o)),o=l=(u=O(t,n,S)).length-1;0===u[o];--o)u.pop();return o<0?new r(0*e.s):(e.e=_(u,l),e.d=u,d=!1,s&&(e=R(e,i,4*a)),c&&(e=e.times(Math.abs(c)<54?y(2,c):Ye.pow(2,c))),d=!0,e)}function q(e,t,n,r,i){var o,s,a,c,u=e.precision,l=Math.ceil(u/7);for(d=!1,c=n.times(n),a=new e(r);;){if(s=R(a.times(c),new e(t++*t++),u,1),a=i?r.plus(s):r.minus(s),r=R(s.times(c),new e(t++*t++),u,1),void 0!==(s=a.plus(r)).d[l]){for(o=l;s.d[o]===a.d[o]&&o--;);if(-1==o)break}o=a,a=r,r=s,s=o}return d=!0,s.d.length=l+1,s}function Z(e,t){for(var n=e;--t;)n*=e;return n}function X(e,t){var n,r=t.s<0,o=P(e,e.precision,1),s=o.times(.5);if((t=t.abs()).lte(s))return i=r?4:1,t;if((n=t.divToInt(o)).isZero())i=r?3:2;else{if((t=t.minus(n.times(o))).lte(s))return i=U(n)?r?2:3:r?4:1,t;i=U(n)?r?1:4:r?3:2}return t.minus(o).abs()}function V(e,t,n,i){var o,c,u,l,d,f,h,p,g,v=e.constructor,m=void 0!==n;if(m?(C(n,1,s),void 0===i?i=v.rounding:C(i,0,8)):(n=v.precision,i=v.rounding),e.isFinite()){for(m?(o=2,16==t?n=4*n-3:8==t&&(n=3*n-2)):o=t,(u=(h=$(e)).indexOf("."))>=0&&(h=h.replace(".",""),(g=new v(1)).e=h.length-u,g.d=O($(g),10,o),g.e=g.d.length),c=d=(p=O(h,10,o)).length;0==p[--d];)p.pop();if(p[0]){if(u<0?c--:((e=new v(e)).d=p,e.e=c,p=(e=R(e,g,n,i,0,o)).d,c=e.e,f=r),u=p[n],l=o/2,f=f||void 0!==p[n+1],f=i<4?(void 0!==u||f)&&(0===i||i===(e.s<0?3:2)):u>l||u===l&&(4===i||f||6===i&&1&p[n-1]||i===(e.s<0?8:7)),p.length=n,f)for(;++p[--n]>o-1;)p[n]=0,n||(++c,p.unshift(1));for(d=p.length;!p[d-1];--d);for(u=0,h="";u<d;u++)h+=a.charAt(p[u]);if(m){if(d>1)if(16==t||8==t){for(u=16==t?4:3,--d;d%u;d++)h+="0";for(d=(p=O(h,o,t)).length;!p[d-1];--d);for(u=1,h="1.";u<d;u++)h+=a.charAt(p[u])}else h=h.charAt(0)+"."+h.slice(1);h=h+(c<0?"p":"p+")+c}else if(c<0){for(;++c;)h="0"+h;h="0."+h}else if(++c>d)for(c-=d;c--;)h+="0";else c<d&&(h=h.slice(0,c)+"."+h.slice(c))}else h=m?"0p+0":"0";h=(16==t?"0x":2==t?"0b":8==t?"0o":"")+h}else h=j(e);return e.s<0?"-"+h:h}function K(e,t){if(e.length>t)return e.length=t,!0}function J(e){return new this(e).abs()}function Q(e){return new this(e).acos()}function ee(e){return new this(e).acosh()}function te(e,t){return new this(e).plus(t)}function ne(e){return new this(e).asin()}function re(e){return new this(e).asinh()}function ie(e){return new this(e).atan()}function oe(e){return new this(e).atanh()}function se(e,t){e=new this(e),t=new this(t);var n,r=this.precision,i=this.rounding,o=r+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(n=t.s<0?P(this,r,i):new this(0)).s=e.s:!e.d||t.isZero()?(n=P(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,n=this.atan(R(e,t,o,1)),t=P(this,o,1),this.precision=r,this.rounding=i,n=e.s<0?n.minus(t):n.plus(t)):n=this.atan(R(e,t,o,1)):(n=P(this,o,1).times(t.s>0?.25:.75)).s=e.s:n=new this(NaN),n}function ae(e){return new this(e).cbrt()}function ce(e){return T(e=new this(e),e.e+1,2)}function ue(e,t,n){return new this(e).clamp(t,n)}function le(e){if(!e||"object"!=typeof e)throw Error(f+"Object expected");var t,n,r,i=!0===e.defaults,a=["precision",1,s,"rounding",0,8,"toExpNeg",-o,0,"toExpPos",0,o,"maxE",0,o,"minE",-o,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(n=a[t],i&&(this[n]=l[n]),void 0!==(r=e[n])){if(!(m(r)===r&&r>=a[t+1]&&r<=a[t+2]))throw Error(h+n+": "+r);this[n]=r}if(n="crypto",i&&(this[n]=l[n]),void 0!==(r=e[n])){if(!0!==r&&!1!==r&&0!==r&&1!==r)throw Error(h+n+": "+r);if(r){if("undefined"==typeof crypto||!crypto||!crypto.getRandomValues&&!crypto.randomBytes)throw Error(g);this[n]=!0}else this[n]=!1}return this}function de(e){return new this(e).cos()}function fe(e){return new this(e).cosh()}function he(e,t){return new this(e).div(t)}function pe(e){return new this(e).exp()}function ge(e){return T(e=new this(e),e.e+1,3)}function ve(){var e,t,n=new this(0);for(d=!1,e=0;e<arguments.length;)if((t=new this(arguments[e++])).d)n.d&&(n=n.plus(t.times(t)));else{if(t.s)return d=!0,new this(1/0);n=t}return d=!0,n.sqrt()}function me(e){return e instanceof Ye||e&&e.toStringTag===v||!1}function ye(e){return new this(e).ln()}function we(e,t){return new this(e).log(t)}function be(e){return new this(e).log(2)}function xe(e){return new this(e).log(10)}function Ae(){return W(this,arguments,-1)}
16function Se(){return W(this,arguments,1)}function Ee(e,t){return new this(e).mod(t)}function Me(e,t){return new this(e).mul(t)}function De(e,t){return new this(e).pow(t)}function ke(e){var t,n,r,i,o=0,a=new this(1),c=[];if(void 0===e?e=this.precision:C(e,1,s),r=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(r));o<r;)(i=t[o])>=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:c[o++]=i%1e7;else{if(!crypto.randomBytes)throw Error(g);for(t=crypto.randomBytes(r*=4);o<r;)(i=t[o]+(t[o+1]<<8)+(t[o+2]<<16)+((127&t[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,o):(c.push(i%1e7),o+=4);o=r/4}else for(;o<r;)c[o++]=1e7*Math.random()|0;for(e%=7,(r=c[--o])&&e&&(i=y(10,7-e),c[o]=(r/i|0)*i);0===c[o];o--)c.pop();if(o<0)n=0,c=[0];else{for(n=-1;0===c[0];n-=7)c.shift();for(r=1,i=c[0];i>=10;i/=10)r++;r<7&&(n-=7-r)}return a.e=n,a.d=c,a}function Ce(e){return T(e=new this(e),e.e+1,this.rounding)}function Ne(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function Oe(e){return new this(e).sin()}function Re(e){return new this(e).sinh()}function Te(e){return new this(e).sqrt()}function $e(e,t){return new this(e).sub(t)}function _e(){var e=0,t=arguments,n=new this(t[e]);for(d=!1;n.s&&++e<t.length;)n=n.plus(t[e]);return d=!0,T(n,this.precision,this.rounding)}function Ie(e){return new this(e).tan()}function Pe(e){return new this(e).tanh()}function Le(e){return T(e=new this(e),e.e+1,1)}D[Symbol.for("nodejs.util.inspect.custom")]=D.toString,D[Symbol.toStringTag]="Decimal";var Ye=D.constructor=function e(t){var n,r,i;function o(e){var t,n,r,i=this;if(!(i instanceof o))return new o(e);if(i.constructor=o,me(e))return i.s=e.s,void(d?!e.d||e.e>o.maxE?(i.e=NaN,i.d=null):e.e<o.minE?(i.e=0,i.d=[0]):(i.e=e.e,i.d=e.d.slice()):(i.e=e.e,i.d=e.d?e.d.slice():e.d));if("number"===(r=typeof e)){if(0===e)return i.s=1/e<0?-1:1,i.e=0,void(i.d=[0]);if(e<0?(e=-e,i.s=-1):i.s=1,e===~~e&&e<1e7){for(t=0,n=e;n>=10;n/=10)t++;return void(d?t>o.maxE?(i.e=NaN,i.d=null):t<o.minE?(i.e=0,i.d=[0]):(i.e=t,i.d=[e]):(i.e=t,i.d=[e]))}return 0*e!=0?(e||(i.s=NaN),i.e=NaN,void(i.d=null)):H(i,e.toString())}if("string"===r)return 45===(n=e.charCodeAt(0))?(e=e.slice(1),i.s=-1):(43===n&&(e=e.slice(1)),i.s=1),A.test(e)?H(i,e):G(i,e);if("bigint"===r)return e<0?(e=-e,i.s=-1):i.s=1,H(i,e.toString());throw Error(h+e)}if(o.prototype=D,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=le,o.clone=e,o.isDecimal=me,o.abs=J,o.acos=Q,o.acosh=ee,o.add=te,o.asin=ne,o.asinh=re,o.atan=ie,o.atanh=oe,o.atan2=se,o.cbrt=ae,o.
16ceil=ce,o.clamp=ue,o.cos=de,o.cosh=fe,o.div=he,o.exp=pe,o.floor=ge,o.hypot=ve,o.ln=ye,o.log=we,o.log10=xe,o.log2=be,o.max=Ae,o.min=Se,o.mod=Ee,o.mul=Me,o.pow=De,o.random=ke,o.round=Ce,o.sign=Ne,o.sin=Oe,o.sinh=Re,o.sqrt=Te,o.sub=$e,o.sum=_e,o.tan=Ie,o.tanh=Pe,o.trunc=Le,void 0===t&&(t={}),t&&!0!==t.defaults)for(i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<i.length;)t.hasOwnProperty(r=i[n++])||(t[r]=this[r]);return o.config(t),o}(l);c=new Ye(c),u=new Ye(u);const Fe=Ye},83356:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekYear=function(){var e=this.month(),t=this.week(),n=this.year();return 1===t&&11===e?n+1:0===e&&t>=52?n-1:n}}}()},85623:function(e){e.exports=function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,"day").add(e,"day")}}}()},86538:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},89265:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,i){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(t).add(1,t).date(r),s=i(this).endOf(e);if(o.isBefore(s))return 1}var a=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),c=this.diff(a,e,!0);return c<0?i(this).startOf("week").week():Math.ceil(c)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},90044:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,s={},a=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],l=function(e){var t=s[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=s.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},f={A:[o,function(e){this.afternoon=d(e,!1)}],a:[o,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c("seconds")],ss:[i,c("seconds")],m:[i,c("minutes")],mm:[i,c("minutes")],H:[i,c("hours")],h:[i,c("hours")],HH:[i,c("hours")],hh:[i,c("hours")],D:[i,c("day")],DD:[r,c("day")],Do:[o,function(e){var t=s.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],w:[i,c("week")],ww:[r,c("week")],M:[i,c("month")],MM:[r,c("month")],MMM:[o,function(e){var t=l("months"),n=(l("monthsShort")||t.map(function(e){return e.slice(0,3)})).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,c("year")],YY:[r,function(e){this.year=a(e)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function h(n){var r,i;r=n,i=s&&s.formats;for(var o=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(e,t,n){return t||n.slice(1)})})).match(t),a=o.length,c=0;c<a;c+=1){var u=o[c],l=f[u],d=l&&l[0],h=l&&l[1];o[c]=h?{regex:d,parser:h}:u.replace(/^\[|\]$/g,"")}return function(e){for(var t={},n=0,r=0;n<a;n+=1){var i=o[n];if("string"==typeof i)r+=i.length;
16else{var s=i.regex,c=i.parser,u=e.slice(r),l=s.exec(u)[0];c.call(t,l),e=e.replace(l,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(a=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,o=e.args;this.$u=r;var a=o[1];if("string"==typeof a){var c=!0===o[2],u=!0===o[3],l=c||u,d=o[2];u&&(d=o[2]),s=this.$locale(),!c&&d&&(s=n.Ls[d]),this.$d=function(e,t,n,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var i=h(t)(e),o=i.year,s=i.month,a=i.day,c=i.hours,u=i.minutes,l=i.seconds,d=i.milliseconds,f=i.zone,p=i.week,g=new Date,v=a||(o||s?1:g.getDate()),m=o||g.getFullYear(),y=0;o&&!s||(y=s>0?s-1:g.getMonth());var w,b=c||0,x=u||0,A=l||0,S=d||0;return f?new Date(Date.UTC(m,y,v,b,x,A,S+60*f.offset*1e3)):n?new Date(Date.UTC(m,y,v,b,x,A,S)):(w=new Date(m,y,v,b,x,A,S),p&&(w=r(w).week(p).toDate()),w)}catch(e){return new Date("")}}(t,a,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),l&&t!=this.format(a)&&(this.$d=new Date("")),s={}}else if(a instanceof Array)for(var f=a.length,p=1;p<=f;p+=1){o[1]=a[p-1];var g=n.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}p===f&&(this.$d=new Date(""))}else i.call(this,e)}}}()},91204:function(e,t,n){e.exports=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e),r={name:"zh-cn",weekdays:"æææ¥_ææä¸_ææäº_ææä¸_ææå_ææäº_ææå
".split("_"),weekdaysShort:"卿¥_å¨ä¸_å¨äº_å¨ä¸_å¨å_å¨äº_å¨å
".split("_"),weekdaysMin:"æ¥_ä¸_äº_ä¸_å_äº_å
".split("_"),months:"䏿_äºæ_䏿_åæ_äºæ_å
æ_䏿_å
«æ_乿_åæ_å䏿_åäºæ".split("_"),monthsShort:"1æ_2æ_3æ_4æ_5æ_6æ_7æ_8æ_9æ_10æ_11æ_12æ".split("_"),ordinal:function(e,t){return"W"===t?e+"å¨":e+"æ¥"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYYå¹´MæDæ¥",LLL:"YYYYå¹´MæDæ¥Ahç¹mmå",LLLL:"YYYYå¹´MæDæ¥ddddAhç¹mmå",l:"YYYY/M/D",ll:"YYYYå¹´MæDæ¥",lll:"YYYYå¹´MæDæ¥ HH:mm",llll:"YYYYå¹´MæDæ¥dddd HH:mm"},relativeTime:{future:"%så
",past:"%så",s:"å ç§",m:"1 åé",mm:"%d åé",h:"1 å°æ¶",hh:"%d å°æ¶",d:"1 天",dd:"%d 天",M:"1 个æ",MM:"%d 个æ",y:"1 å¹´",yy:"%d å¹´"},meridiem:function(e,t){var n=100*e+t;return n<600?"忍":n<900?"æ©ä¸":n<1100?"ä¸å":n<1300?"ä¸å":n<1800?"ä¸å":"æä¸"}};return n.default.locale(r,null,!0),r}(n(60894))},91487:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},97353:e=>{"use strict";e.exports=TypeError},97540:(e,t,n)=>{"use strict";n.d(t,{Mp:()=>ze,vL:()=>K,cA:()=>le,IG:()=>fe,Sj:()=>O,fF:()=>Ze,PM:()=>qe,zM:()=>Ke,MS:()=>w,FR:()=>b});var r=n(63214),i=n(19959),o=n(16056),s=n(76308),a=n(29382);const c={display:"none"};function u(e){let{id:t,value:n}=e;return o.createElement("div",{id:t,style:c},n)}function l(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;return o.createElement("div",{id:t,style:{position:"fixed",top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"},role:"status","aria-live":r,"aria-atomic":!0},n)}const d=["transform"],f=["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"],h=(0,o.createContext)(null);const p={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},g={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function v(e){let{announcements:t=g,container:n,hiddenTextDescribedById:r,screenReaderInstructions:i=p}=e;const{announce:c,announcement:d}=function(){const[e,t]=(0,o.useState)("");return{announce:(0,o.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}(),f=(0,a.YG)("DndLiveRegion"),[v,m]=(0,o.useState)(!1);if((0,o.useEffect)(()=>{m(!0)},[]),function(e){const t=(0,o.useContext)(h);(0,o.useEffect)(()=>
16{if(!t)throw new Error("useDndMonitor must be used within a children of <DndContext>");return t(e)},[e,t])}((0,o.useMemo)(()=>({onDragStart(e){let{active:n}=e;c(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&c(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;c(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;c(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;c(t.onDragCancel({active:n,over:r}))}}),[c,t])),!v)return null;const y=o.createElement(o.Fragment,null,o.createElement(u,{id:r,value:i.draggable}),o.createElement(l,{id:f,announcement:d}));return n?(0,s.createPortal)(y,n):y}var m;function y(){}function w(e,t){return(0,o.useMemo)(()=>({sensor:e,options:null!=t?t:{}}),[e,t])}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.useMemo)(()=>[...t].filter(e=>null!=e),[...t])}!function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"}(m||(m={}));const x=Object.freeze({x:0,y:0});function A(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function S(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),i=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),s=i-r,a=o-n;if(r<i&&n<o){const n=t.width*t.height,r=e.width*e.height,i=s*a;return Number((i/(n+r-i)).toFixed(4))}return 0}const E=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const i=[];for(const e of r){const{id:r}=e,o=n.get(r);if(o){const n=S(o,t);n>0&&i.push({id:r,data:{droppableContainer:e,value:n}})}}return i.sort(A)};function M(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:x}function D(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.reduce((t,n)=>(0,i.A)((0,i.A)({},t),{},{top:t.top+e*n.y,bottom:t.bottom+e*n.y,left:t.left+e*n.x,right:t.right+e*n.x}),(0,i.A)({},t))}}const k=D(1);function C(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 N={ignoreTransform:!1};function O(e,t){void 0===t&&(t=N);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:t,transformOrigin:r}=(0,a.zk)(e).getComputedStyle(e);t&&(n=function(e,t,n){const r=C(t);if(!r)return e;const{scaleX:i,scaleY:o,x:s,y:a}=r,c=e.left-s-(1-i)*parseFloat(n),u=e.top-a-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),l=i?e.width/i:e.width,d=o?e.height/o:e.height;return{width:l,height:d,top:u,right:c+l,bottom:u+d,left:c}}(n,t,r))}const{top:r,left:i,width:o,height:s,bottom:c,right:u}=n;return{top:r,left:i,width:o,height:s,bottom:c,right:u}}function R(e){return O(e,{ignoreTransform:!0})}function T(e,t){const n=[];return e?function r(i){if(null!=t&&n.length>=t)return n;if(!i)return n;if((0,a.wz)(i)&&null!=i.scrollingElement&&!n.includes(i.scrollingElement))return n.push(i.scrollingElement),n;if(!(0,a.sb)(i)||(0,a.xZ)(i))return n;if(n.includes(i))return n;const o=(0,a.zk)(e).getComputedStyle(i);return i!==e&&function(e,t){void 0===t&&(t=(0,a.zk)(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)})}(i,o)&&n.push(i),function(e,t){return void 0===t&&(t=(0,a.zk)(e).getComputedStyle(e)),"fixed"===t.position}(i,o)?n:r(i.parentNode)}(e):n}function $(e){const[t]=T(e,1);return null!=t?t:null}function _(e){return a.Sw&&e?(0,a.l6)(e)?e:(0,a.Ll)(e)?(0,a.wz)(e)||e===(0,a.TW)(e).scrollingElement?window:(0,a.sb)(e)?e:null:null:null}function I(e){return(0,a.l6)(e)?e.scrollX:e.scrollLeft}function P(e){return(0,a.l6)(e)?e.scrollY:e.scrollTop}function L(e){return{x:I(e),y:P(e)}}var Y;function F(e){return!(!a.Sw||!e)&&e===document.scrollingElement}function U(e){const t={x:0,y:0},n=F(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"}(Y||(Y={}));const W={x:.2,y:.2};function B(e,t,n,r,i){let{top:o,left:s,right:a,bottom:c}=n;void 0===r&&(r=10),void 0===i&&(i=W);const{isTop:u,isBottom:l,isLeft:d,isRight:f}=U(e),h={x:0,y:0},p={x:0,y:0},g=t.height*i.y,v=t.width*i.x;
16return!u&&o<=t.top+g?(h.y=Y.Backward,p.y=r*Math.abs((t.top+g-o)/g)):!l&&c>=t.bottom-g&&(h.y=Y.Forward,p.y=r*Math.abs((t.bottom-g-c)/g)),!f&&a>=t.right-v?(h.x=Y.Forward,p.x=r*Math.abs((t.right-v-a)/v)):!d&&s<=t.left+v&&(h.x=Y.Backward,p.x=r*Math.abs((t.left+v-s)/v)),{direction:h,speed:p}}function z(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:i}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:i,width:e.clientWidth,height:e.clientHeight}}function j(e){return e.reduce((e,t)=>(0,a.WQ)(e,L(t)),x)}function H(e,t){if(void 0===t&&(t=O),!e)return;const{top:n,left:r,bottom:i,right:o}=t(e);$(e)&&(i<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const G=[["x",["left","right"],function(e){return e.reduce((e,t)=>e+I(t),0)}],["y",["top","bottom"],function(e){return e.reduce((e,t)=>e+P(t),0)}]];class q{constructor(e,t){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=T(t),r=j(n);this.rect=(0,i.A)({},e),this.width=e.width,this.height=e.height;for(const[e,t,i]of G)for(const o of t)Object.defineProperty(this,o,{get:()=>{const t=i(n),s=r[e]-t;return this.rect[o]+s},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Z{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)})},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function X(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 V,K;function J(e){e.preventDefault()}function Q(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"}(V||(V={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter",e.Tab="Tab"}(K||(K={}));const ee={start:[K.Space,K.Enter],cancel:[K.Esc],end:[K.Space,K.Enter,K.Tab]},te=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case K.Right:return(0,i.A)((0,i.A)({},n),{},{x:n.x+25});case K.Left:return(0,i.A)((0,i.A)({},n),{},{x:n.x-25});case K.Down:return(0,i.A)((0,i.A)({},n),{},{y:n.y+25});case K.Up:return(0,i.A)((0,i.A)({},n),{},{y:n.y-25})}};class ne{constructor(e){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=e;const{event:{target:t}}=e;this.props=e,this.listeners=new Z((0,a.TW)(t)),this.windowListeners=new Z((0,a.zk)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(V.Resize,this.handleCancel),this.windowListeners.add(V.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(V.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&H(n),t(x)}handleKeyDown(e){if((0,a.kx)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:i=ee,coordinateGetter:o=te,scrollBehavior:s="smooth"}=r,{code:c}=e;if(i.end.includes(c))return void this.handleEnd(e);if(i.cancel.includes(c))return void this.handleCancel(e);const{collisionRect:u}=n.current,l=u?{x:u.left,y:u.top}:x;this.referenceCoordinates||(this.referenceCoordinates=l);const d=o(e,{active:t,context:n.current,currentCoordinates:l});if(d){const t=(0,a.Re)(d,l),r={x:0,y:0},{scrollableAncestors:i}=n.current;for(const n of i){const i=e.code,{isTop:o,isRight:a,isLeft:c,isBottom:u,maxScroll:l,minScroll:f}=U(n),h=z(n),p={x:Math.min(i===K.Right?h.right-h.width/2:h.right,Math.max(i===K.Right?h.left:h.left+h.width/2,d.x)),y:Math.min(i===K.Down?h.bottom-h.height/2:h.bottom,Math.max(i===K.Down?h.top:h.top+h.height/2,d.y))},g=i===K.Right&&!a||i===K.Left&&!c,v=i===K.Down&&!u||i===K.Up&&!o;if(g&&p.x!==d.x){const e=n.scrollLeft+t.x,o=i===K.Right&&e<=l.x||i===K.Left&&e>=f.x;
16if(o&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=o?n.scrollLeft-e:i===K.Right?n.scrollLeft-l.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(v&&p.y!==d.y){const e=n.scrollTop+t.y,o=i===K.Down&&e<=l.y||i===K.Up&&e>=f.y;if(o&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=o?n.scrollTop-e:i===K.Down?n.scrollTop-l.y:n.scrollTop-f.y,r.y&&n.scrollBy({top:-r.y,behavior:s});break}}this.handleMove(e,(0,a.WQ)((0,a.Re)(d,this.referenceCoordinates),r))}}}handleMove(e,t){const{onMove:n}=this.props;e.preventDefault(),n(t)}handleEnd(e){const{onEnd:t}=this.props;e.preventDefault(),this.detach(),t()}handleCancel(e){const{onCancel:t}=this.props;e.preventDefault(),this.detach(),t()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}function re(e){return Boolean(e&&"distance"in e)}function ie(e){return Boolean(e&&"delay"in e)}ne.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=ee,onActivation:i}=t,{active:o}=n;const{code:s}=e.nativeEvent;if(r.start.includes(s)){const t=o.activatorNode.current;return(!t||e.target===t)&&(e.preventDefault(),null==i||i({event:e.nativeEvent}),!0)}return!1}}];class oe{constructor(e,t,n){var r;void 0===n&&(n=function(e){const{EventTarget:t}=(0,a.zk)(e);return e instanceof t?e:(0,a.TW)(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:i}=e,{target:o}=i;this.props=e,this.events=t,this.document=(0,a.TW)(o),this.documentListeners=new Z(this.document),this.listeners=new Z(n),this.windowListeners=new Z((0,a.zk)(o)),this.initialCoordinates=null!=(r=(0,a.e_)(i))?r:x,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,bypassActivationConstraint:n}}}=this;if(this.listeners.add(e.move.name,this.handleMove,{passive:!1}),this.listeners.add(e.end.name,this.handleEnd),e.cancel&&this.listeners.add(e.cancel.name,this.handleCancel),this.windowListeners.add(V.Resize,this.handleCancel),this.windowListeners.add(V.DragStart,J),this.windowListeners.add(V.VisibilityChange,this.handleCancel),this.windowListeners.add(V.ContextMenu,J),this.documentListeners.add(V.Keydown,this.handleKeydown),t){if(null!=n&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(ie(t))return this.timeoutId=setTimeout(this.handleStart,t.delay),void this.handlePending(t);if(re(t))return void this.handlePending(t)}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handlePending(e,t){const{active:n,onPending:r}=this.props;r(n,e,this.initialCoordinates,t)}handleStart(){const{initialCoordinates:e}=this,{onStart:t}=this.props;e&&(this.activated=!0,this.documentListeners.add(V.Click,Q,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(V.SelectionChange,this.removeTextSelection),t(e))}handleMove(e){var t;const{activated:n,initialCoordinates:r,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!r)return;const c=null!=(t=(0,a.e_)(e))?t:x,u=(0,a.Re)(r,c);
16if(!n&&s){if(re(s)){if(null!=s.tolerance&&X(u,s.tolerance))return this.handleCancel();if(X(u,s.distance))return this.handleStart()}return ie(s)&&X(u,s.tolerance)?this.handleCancel():void this.handlePending(s,u)}e.cancelable&&e.preventDefault(),o(c)}handleEnd(){const{onAbort:e,onEnd:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleCancel(){const{onAbort:e,onCancel:t}=this.props;this.detach(),this.activated||e(this.props.active),t()}handleKeydown(e){e.code===K.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const se={cancel:{name:"pointercancel"},move:{name:"pointermove"},end:{name:"pointerup"}};class ae extends oe{constructor(e){const{event:t}=e,n=(0,a.TW)(t.target);super(e,se,n)}}ae.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 ce={move:{name:"mousemove"},end:{name:"mouseup"}};var ue;!function(e){e[e.RightClick=2]="RightClick"}(ue||(ue={}));class le extends oe{constructor(e){super(e,ce,(0,a.TW)(e.event.target))}}le.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==ue.RightClick&&(null==r||r({event:n}),!0)}}];const de={cancel:{name:"touchcancel"},move:{name:"touchmove"},end:{name:"touchend"}};class fe extends oe{constructor(e){super(e,de)}static setup(){return window.addEventListener(de.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(de.move.name,e)};function e(){}}}var he,pe;function ge(e){let{acceleration:t,activator:n=he.Pointer,canScroll:r,draggingRect:i,enabled:s,interval:c=5,order:u=pe.TreeOrder,pointerCoordinates:l,scrollableAncestors:d,scrollableAncestorRects:f,delta:h,threshold:p}=e;const g=function(e){let{delta:t,disabled:n}=e;const r=(0,a.ZC)(t);return(0,a.KG)(e=>{if(n||!r||!e)return ve;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Y.Backward]:e.x[Y.Backward]||-1===i.x,[Y.Forward]:e.x[Y.Forward]||1===i.x},y:{[Y.Backward]:e.y[Y.Backward]||-1===i.y,[Y.Forward]:e.y[Y.Forward]||1===i.y}}},[n,t,r])}({delta:h,disabled:!s}),[v,m]=(0,a.$$)(),y=(0,o.useRef)({x:0,y:0}),w=(0,o.useRef)({x:0,y:0}),b=(0,o.useMemo)(()=>{switch(n){case he.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case he.DraggableRect:return i}},[n,i,l]),x=(0,o.useRef)(null),A=(0,o.useCallback)(()=>{const e=x.current;if(!e)return;const t=y.current.x*w.current.x,n=y.current.y*w.current.y;e.scrollBy(t,n)},[]),S=(0,o.useMemo)(()=>u===pe.TreeOrder?[...d].reverse():d,[u,d]);(0,o.useEffect)(()=>{if(s&&d.length&&b){for(const e of S){if(!1===(null==r?void 0:r(e)))continue;const n=d.indexOf(e),i=f[n];if(!i)continue;const{direction:o,speed:s}=B(e,i,b,t,p);for(const e of["x","y"])g[e][o[e]]||(s[e]=0,o[e]=0);if(s.x>0||s.y>0)return m(),x.current=e,v(A,c),y.current=s,void(w.current=o)}y.current={x:0,y:0},w.current={x:0,y:0},m()}else m()},[t,A,r,m,s,c,JSON.stringify(b),JSON.stringify(g),v,d,S,f,JSON.stringify(p)])}fe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:i}=n;return!(i.length>1)&&(null==r||r({event:n}),!0)}}],function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"}(he||(he={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(pe||(pe={}));const ve={x:{[Y.Backward]:!1,[Y.Forward]:!1},y:{[Y.Backward]:!1,[Y.Forward]:!1}};var me,ye;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(me||(me={})),function(e){e.Optimized="optimized"}(ye||(ye={}));const we=new Map;function be(e,t){return(0,a.KG)(n=>e?n||("function"==typeof t?t(e):e):null,[t,e])}function xe(e){let{callback:t,disabled:n}=e;const r=(0,a._q)(t),i=(0,o.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.ResizeObserver)return;const{ResizeObserver:e}=window;return new e(r)},[n]);return(0,o.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}function Ae(e){return new q(O(e),e)}function Se(e,t,n){void 0===t&&(t=Ae);const[r,i]=(0,o.useState)(null);function s(){i(r=>{if(!e)return null;var i;if(!1===e.isConnected)return null!=(i=null!=r?r:n)?i:null;const o=t(e);
16return JSON.stringify(r)===JSON.stringify(o)?r:o})}const c=function(e){let{callback:t,disabled:n}=e;const r=(0,a._q)(t),i=(0,o.useMemo)(()=>{if(n||"undefined"==typeof window||void 0===window.MutationObserver)return;const{MutationObserver:e}=window;return new e(r)},[r,n]);return(0,o.useEffect)(()=>()=>null==i?void 0:i.disconnect(),[i]),i}({callback(t){if(e)for(const n of t){const{type:t,target:r}=n;if("childList"===t&&r instanceof HTMLElement&&r.contains(e)){s();break}}}}),u=xe({callback:s});return(0,a.Es)(()=>{s(),e?(null==u||u.observe(e),null==c||c.observe(document.body,{childList:!0,subtree:!0})):(null==u||u.disconnect(),null==c||c.disconnect())},[e]),r}const Ee=[];function Me(e,t){void 0===t&&(t=[]);const n=(0,o.useRef)(null);return(0,o.useEffect)(()=>{n.current=null},t),(0,o.useEffect)(()=>{const t=e!==x;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)},[e]),n.current?(0,a.Re)(e,n.current):x}function De(e){return(0,o.useMemo)(()=>e?function(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}(e):null,[e])}const ke=[];function Ce(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return(0,a.sb)(t)?t:e}const Ne=[{sensor:ae,options:{}},{sensor:ne,options:{}}],Oe={current:{}},Re={draggable:{measure:R},droppable:{measure:R,strategy:me.WhileDragging,frequency:ye.Optimized},dragOverlay:{measure:O}};class Te 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 $e={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Te,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:y},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Re,measureDroppableContainers:y,windowRect:null,measuringScheduled:!1},_e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:y,draggableNodes:new Map,over:null,measureDroppableContainers:y},Ie=(0,o.createContext)(_e),Pe=(0,o.createContext)($e);function Le(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Te}}}function Ye(e,t){switch(t.type){case m.DragStart:return(0,i.A)((0,i.A)({},e),{},{draggable:(0,i.A)((0,i.A)({},e.draggable),{},{initialCoordinates:t.initialCoordinates,active:t.active})});case m.DragMove:return null==e.draggable.active?e:(0,i.A)((0,i.A)({},e),{},{draggable:(0,i.A)((0,i.A)({},e.draggable),{},{translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}})});case m.DragEnd:case m.DragCancel:return(0,i.A)((0,i.A)({},e),{},{draggable:(0,i.A)((0,i.A)({},e.draggable),{},{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case m.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Te(e.droppable.containers);return o.set(r,n),(0,i.A)((0,i.A)({},e),{},{droppable:(0,i.A)((0,i.A)({},e.droppable),{},{containers:o})})}case m.SetDroppableDisabled:{const{id:n,key:r,disabled:o}=t,s=e.droppable.containers.get(n);if(!s||r!==s.key)return e;const a=new Te(e.droppable.containers);return a.set(n,(0,i.A)((0,i.A)({},s),{},{disabled:o})),(0,i.A)((0,i.A)({},e),{},{droppable:(0,i.A)((0,i.A)({},e.droppable),{},{containers:a})})}case m.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const s=new Te(e.droppable.containers);return s.delete(n),(0,i.A)((0,i.A)({},e),{},{droppable:(0,i.A)((0,i.A)({},e.droppable),{},{containers:s})})}default:return e}}function Fe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:i}=(0,o.useContext)(Ie),s=(0,a.ZC)(r),c=(0,a.ZC)(null==n?void 0:n.id);return(0,o.useEffect)(()=>{if(!t&&!r&&s&&null!=c){if(!(0,a.kx)(s))return;if(document.activeElement===s.target)return;const e=i.get(c);if(!e)return;const{activatorNode:t,node:n}=e;if(!t.current&&!n.current)return;requestAnimationFrame(()=>{for(const e of[t.current,n.current]){if(!e)continue;const t=(0,a.ag)(e);if(t){t.focus();break}}})}},[r,t,i,c,s]),null}function Ue(e,t){let{transform:n}=t,o=(0,r.A)(t,d);return null!=e&&e.length?e.reduce((e,t)=>
16t((0,i.A)({transform:e},o)),n):n}const We=(0,o.createContext)((0,i.A)((0,i.A)({},x),{},{scaleX:1,scaleY:1}));var Be;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Be||(Be={}));const ze=(0,o.memo)(function(e){var t,n,c,u;let{id:l,accessibility:d,autoScroll:p=!0,children:g,sensors:y=Ne,collisionDetection:w=E,measuring:b,modifiers:A}=e,S=(0,r.A)(e,f);const D=(0,o.useReducer)(Ye,void 0,Le),[C,N]=D,[R,I]=function(){const[e]=(0,o.useState)(()=>new Set),t=(0,o.useCallback)(t=>(e.add(t),()=>e.delete(t)),[e]);return[(0,o.useCallback)(t=>{let{type:n,event:r}=t;e.forEach(e=>{var t;return null==(t=e[n])?void 0:t.call(e,r)})},[e]),t]}(),[P,Y]=(0,o.useState)(Be.Uninitialized),U=P===Be.Initialized,{draggable:{active:W,nodes:B,translate:z},droppable:{containers:H}}=C,G=null!=W?B.get(W):null,Z=(0,o.useRef)({initial:null,translated:null}),X=(0,o.useMemo)(()=>{var e;return null!=W?{id:W,data:null!=(e=null==G?void 0:G.data)?e:Oe,rect:Z}:null},[W,G]),V=(0,o.useRef)(null),[K,J]=(0,o.useState)(null),[Q,ee]=(0,o.useState)(null),te=(0,a.YN)(S,Object.values(S)),ne=(0,a.YG)("DndDescribedBy",l),re=(0,o.useMemo)(()=>H.getEnabled(),[H]),ie=(oe=b,(0,o.useMemo)(()=>({draggable:(0,i.A)((0,i.A)({},Re.draggable),null==oe?void 0:oe.draggable),droppable:(0,i.A)((0,i.A)({},Re.droppable),null==oe?void 0:oe.droppable),dragOverlay:(0,i.A)((0,i.A)({},Re.dragOverlay),null==oe?void 0:oe.dragOverlay)}),[null==oe?void 0:oe.draggable,null==oe?void 0:oe.droppable,null==oe?void 0:oe.dragOverlay]));var oe;const{droppableRects:se,measureDroppableContainers:ae,measuringScheduled:ce}=function(e,t){let{dragging:n,dependencies:r,config:i}=t;const[s,c]=(0,o.useState)(null),{frequency:u,measure:l,strategy:d}=i,f=(0,o.useRef)(e),h=function(){switch(d){case me.Always:return!1;case me.BeforeDragging:return n;default:return!n}}(),p=(0,a.YN)(h),g=(0,o.useCallback)(function(e){void 0===e&&(e=[]),p.current||c(t=>null===t?e:t.concat(e.filter(e=>!t.includes(e))))},[p]),v=(0,o.useRef)(null),m=(0,a.KG)(t=>{if(h&&!n)return we;if(!t||t===we||f.current!==e||null!=s){const t=new Map;for(let n of e){if(!n)continue;if(s&&s.length>0&&!s.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,r=e?new q(l(e),e):null;n.rect.current=r,r&&t.set(n.id,r)}return t}return t},[e,s,n,h,l]);return(0,o.useEffect)(()=>{f.current=e},[e]),(0,o.useEffect)(()=>{h||g()},[n,h]),(0,o.useEffect)(()=>{s&&s.length>0&&c(null)},[JSON.stringify(s)]),(0,o.useEffect)(()=>{h||"number"!=typeof u||null!==v.current||(v.current=setTimeout(()=>{g(),v.current=null},u))},[u,h,g,...r]),{droppableRects:m,measureDroppableContainers:g,measuringScheduled:null!=s}}(re,{dragging:U,dependencies:[z.x,z.y],config:ie.droppable}),ue=function(e,t){const n=null!=t?e.get(t):void 0,r=n?n.node.current:null;return(0,a.KG)(e=>{var n;return null==t?null:null!=(n=null!=r?r:e)?n:null},[r,t])}(B,W),le=(0,o.useMemo)(()=>Q?(0,a.e_)(Q):null,[Q]),de=function(){const e=!1===(null==K?void 0:K.autoScrollEnabled),t="object"==typeof p?!1===p.enabled:!1===p,n=U&&!e&&!t;if("object"==typeof p)return(0,i.A)((0,i.A)({},p),{},{enabled:n});return{enabled:n}}(),fe=function(e,t){return be(e,t)}(ue,ie.draggable.measure);!function(e){let{activeNode:t,measure:n,initialRect:r,config:i=!0}=e;const s=(0,o.useRef)(!1),{x:c,y:u}="boolean"==typeof i?{x:i,y:i}:i;(0,a.Es)(()=>{if(!c&&!u||!t)return void(s.current=!1);if(s.current||!r)return;const e=null==t?void 0:t.node.current;if(!e||!1===e.isConnected)return;const i=M(n(e),r);if(c||(i.x=0),u||(i.y=0),s.current=!0,Math.abs(i.x)>0||Math.abs(i.y)>0){const t=$(e);t&&t.scrollBy({top:i.y,left:i.x})}},[t,c,u,r,n])}({activeNode:null!=W?B.get(W):null,config:de.layoutShiftCompensation,initialRect:fe,measure:ie.draggable.measure});const he=Se(ue,ie.draggable.measure,fe),pe=Se(ue?ue.parentElement:null),ve=(0,o.useRef)({activatorEvent:null,active:null,activeNode:ue,collisionRect:null,collisions:null,droppableRects:se,draggableNodes:B,draggingNode:null,draggingNodeRect:null,droppableContainers:H,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),ye=H.getNodeFor(null==(t=ve.current.over)?void 0:t.id),Ae=function(e){let{measure:t}=e;const[n,r]=(0,o.useState)(null),s=xe({callback:(0,o.useCallback)(e=>{for(const{target:n}of e)if((0,a.sb)(n)){r(e=>{const r=t(n);return e?(0,i.A)((0,i.A)({},e),{},{width:r.width,height:r.height}):r});break}},[t])}),c=(0,o.useCallback)(e=>{const n=Ce(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),r(n?t(n):null)},[t,s]),[u,l]=(0,a.lk)(c);return(0,o.useMemo)(()=>({nodeRef:u,rect:n,setRef:l}),[n,u,l])}({measure:ie.dragOverlay.measure}),Te=null!=(n=Ae.nodeRef.current)?n:ue,$e=U?null!=(c=Ae.rect)?c:he:null,_e=Boolean(Ae.nodeRef.current&&Ae.rect),ze=M(je
16=_e?null:he,be(je));var je;const He=De(Te?(0,a.zk)(Te):null),Ge=function(e){const t=(0,o.useRef)(e),n=(0,a.KG)(n=>e?n&&n!==Ee&&e&&t.current&&e.parentNode===t.current.parentNode?n:T(e):Ee,[e]);return(0,o.useEffect)(()=>{t.current=e},[e]),n}(U?null!=ye?ye:ue:null),qe=function(e,t){void 0===t&&(t=O);const[n]=e,r=De(n?(0,a.zk)(n):null),[i,s]=(0,o.useState)(ke);function c(){s(()=>e.length?e.map(e=>F(e)?r:new q(t(e),e)):ke)}const u=xe({callback:c});return(0,a.Es)(()=>{null==u||u.disconnect(),c(),e.forEach(e=>null==u?void 0:u.observe(e))},[e]),i}(Ge),Ze=Ue(A,{transform:{x:z.x-ze.x,y:z.y-ze.y,scaleX:1,scaleY:1},activatorEvent:Q,active:X,activeNodeRect:he,containerNodeRect:pe,draggingNodeRect:$e,over:ve.current.over,overlayNodeRect:Ae.rect,scrollableAncestors:Ge,scrollableAncestorRects:qe,windowRect:He}),Xe=le?(0,a.WQ)(le,z):null,Ve=function(e){const[t,n]=(0,o.useState)(null),r=(0,o.useRef)(e),i=(0,o.useCallback)(e=>{const t=_(e.target);t&&n(e=>e?(e.set(t,L(t)),new Map(e)):null)},[]);return(0,o.useEffect)(()=>{const t=r.current;if(e!==t){o(t);const s=e.map(e=>{const t=_(e);return t?(t.addEventListener("scroll",i,{passive:!0}),[t,L(t)]):null}).filter(e=>null!=e);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(t)};function o(e){e.forEach(e=>{const t=_(e);null==t||t.removeEventListener("scroll",i)})}},[i,e]),(0,o.useMemo)(()=>e.length?t?Array.from(t.values()).reduce((e,t)=>(0,a.WQ)(e,t),x):j(e):x,[e,t])}(Ge),Ke=Me(Ve),Je=Me(Ve,[he]),Qe=(0,a.WQ)(Ze,Ke),et=$e?k($e,Ze):null,tt=X&&et?w({active:X,collisionRect:et,droppableRects:se,droppableContainers:re,pointerCoordinates:Xe}):null,nt=function(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}(tt,"id"),[rt,it]=(0,o.useState)(null),ot=function(e,t,n){return(0,i.A)((0,i.A)({},e),{},{scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1})}(_e?Ze:(0,a.WQ)(Ze,Je),null!=(u=null==rt?void 0:rt.rect)?u:null,he),st=(0,o.useRef)(null),at=(0,o.useCallback)((e,t)=>{let{sensor:n,options:r}=t;if(null==V.current)return;const i=B.get(V.current);if(!i)return;const o=e.nativeEvent,a=new n({active:V.current,activeNode:i,event:o,options:r,context:ve,onAbort(e){if(!B.get(e))return;const{onDragAbort:t}=te.current,n={id:e};null==t||t(n),R({type:"onDragAbort",event:n})},onPending(e,t,n,r){if(!B.get(e))return;const{onDragPending:i}=te.current,o={id:e,constraint:t,initialCoordinates:n,offset:r};null==i||i(o),R({type:"onDragPending",event:o})},onStart(e){const t=V.current;if(null==t)return;const n=B.get(t);if(!n)return;const{onDragStart:r}=te.current,i={activatorEvent:o,active:{id:t,data:n.data,rect:Z}};(0,s.unstable_batchedUpdates)(()=>{null==r||r(i),Y(Be.Initializing),N({type:m.DragStart,initialCoordinates:e,active:t}),R({type:"onDragStart",event:i}),J(st.current),ee(o)})},onMove(e){N({type:m.DragMove,coordinates:e})},onEnd:c(m.DragEnd),onCancel:c(m.DragCancel)});function c(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=ve.current;let a=null;if(t&&i){const{cancelDrop:s}=te.current;if(a={activatorEvent:o,active:t,collisions:n,delta:i,over:r},e===m.DragEnd&&"function"==typeof s){await Promise.resolve(s(a))&&(e=m.DragCancel)}}V.current=null,(0,s.unstable_batchedUpdates)(()=>{N({type:e}),Y(Be.Uninitialized),it(null),J(null),ee(null),st.current=null;const t=e===m.DragEnd?"onDragEnd":"onDragCancel";if(a){const e=te.current[t];null==e||e(a),R({type:t,event:a})}})}}st.current=a},[B]),ct=(0,o.useCallback)((e,t)=>(n,r)=>{const i=n.nativeEvent,o=B.get(r);if(null!==V.current||!o||i.dndKit||i.defaultPrevented)return;const s={active:o};!0===e(n,t.options,s)&&(i.dndKit={capturedBy:t.sensor},V.current=r,at(n,t))},[B,at]),ut=function(e,t){return(0,o.useMemo)(()=>e.reduce((e,n)=>{const{sensor:r}=n;return[...e,...r.activators.map(e=>({eventName:e.eventName,handler:t(e.handler,n)}))]},[]),[e,t])}(y,ct);!function(e){(0,o.useEffect)(()=>{if(!a.Sw)return;const t=e.map(e=>{let{sensor:t}=e;return null==t.setup?void 0:t.setup()});return()=>{for(const e of t)null==e||e()}},e.map(e=>{let{sensor:t}=e;return t}))}(y),(0,a.Es)(()=>{he&&P===Be.Initializing&&Y(Be.Initialized)},[he,P]),(0,o.useEffect)(()=>{const{onDragMove:e}=te.current,{active:t,activatorEvent:n,collisions:r,over:i}=ve.current;if(!t||!n)return;const o={active:t,activatorEvent:n,collisions:r,delta:{x:Qe.x,y:Qe.y},over:i};(0,s.unstable_batchedUpdates)(()=>{null==e||e(o),R({type:"onDragMove",event:o})})},[Qe.x,Qe.y]),(0,o.useEffect)(()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=ve.current;if(!e||null==V.current||!t||!i)return;const{onDragOver:o}=te.current,a=r.get(nt),c=a&&a.rect.current?{id:a.id,rect:a.rect.current,data:a.data,disabled:a.disabled}:null,u={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:c};(0,s.unstable_batchedUpdates)(()=>{it(c),null==o||o(u),R({type:"onDragOver",event:u})})},[nt]),(0,a.Es)(()=>{ve.current={activatorEvent:Q,active:X,activeNode:ue,collisionRect:et,collisions:tt,droppableRects:se,draggableNodes:B,draggingNode:Te,draggingNodeRect:$e,droppableContainers:H,over:rt,scrollableAncestors:Ge,scrollAdjustedTranslate:Qe},Z.current={initial:$e,translated:et}},[X,ue,tt,et,B,Te,$e,se,H,rt,Ge,Qe]),ge((0,i.A)((0,i.A)({},de),{},{delta:z,draggingRect:et,pointerCoordinates:Xe,scrollableAncestors:Ge,scrollableAncestorRects:qe}));const lt=(0,o.useMemo)(()=>({active:X,activeNode:ue,activeNodeRect:he,activatorEvent:Q,collisions:tt,containerNodeRect:pe,dragOverlay:Ae,draggableNodes:B,droppableContainers:H,droppableRects:se,over:rt,measureDroppableContainers:ae,scrollableAncestors:Ge,scrollableAncestorRects:qe,measuringConfiguration:ie,measuringScheduled:ce,windowRect:He}),[X,ue,he,Q,tt,pe,Ae,B,H,se,rt,ae,Ge,qe,ie,ce,He]),dt=(0,o.useMemo)(()=>({activatorEvent:Q,activators:ut,active:X,activeNodeRect:he,ariaDescribedById:{draggable:ne},dispatch:N,draggableNodes:B,over:rt,measureDroppableContainers:ae}),[Q,ut,X,he,N,ne,B,rt,ae]);return o.createElement(h.Provider,{value:I},o.createElement(Ie.Provider,{value:dt},o.createElement(Pe.Provider,{value:lt},o.createElement(We.Provider,{value:ot},g)),o.createElement(Fe,{disabled:!1===(null==d?void 0:d.restoreFocus)}
16)),o.createElement(v,(0,i.A)((0,i.A)({},d),{},{hiddenTextDescribedById:ne})))}),je=(0,o.createContext)(null),He="button",Ge="Draggable";function qe(e){let{id:t,data:n,disabled:r=!1,attributes:i}=e;const s=(0,a.YG)(Ge),{activators:c,activatorEvent:u,active:l,activeNodeRect:d,ariaDescribedById:f,draggableNodes:h,over:p}=(0,o.useContext)(Ie),{role:g=He,roleDescription:v="draggable",tabIndex:m=0}=null!=i?i:{},y=(null==l?void 0:l.id)===t,w=(0,o.useContext)(y?We:je),[b,x]=(0,a.lk)(),[A,S]=(0,a.lk)(),E=function(e,t){return(0,o.useMemo)(()=>e.reduce((e,n)=>{let{eventName:r,handler:i}=n;return e[r]=e=>{i(e,t)},e},{}),[e,t])}(c,t),M=(0,a.YN)(n);(0,a.Es)(()=>(h.set(t,{id:t,key:s,node:b,activatorNode:A,data:M}),()=>{const e=h.get(t);e&&e.key===s&&h.delete(t)}),[h,t]);return{active:l,activatorEvent:u,activeNodeRect:d,attributes:(0,o.useMemo)(()=>({role:g,tabIndex:m,"aria-disabled":r,"aria-pressed":!(!y||g!==He)||void 0,"aria-roledescription":v,"aria-describedby":f.draggable}),[r,g,m,y,v,f.draggable]),isDragging:y,listeners:r?void 0:E,node:b,over:p,setNodeRef:x,setActivatorNodeRef:S,transform:w}}function Ze(){return(0,o.useContext)(Pe)}const Xe="Droppable",Ve={timeout:25};function Ke(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:s}=e;const c=(0,a.YG)(Xe),{active:u,dispatch:l,over:d,measureDroppableContainers:f}=(0,o.useContext)(Ie),h=(0,o.useRef)({disabled:n}),p=(0,o.useRef)(!1),g=(0,o.useRef)(null),v=(0,o.useRef)(null),{disabled:y,updateMeasurementsFor:w,timeout:b}=(0,i.A)((0,i.A)({},Ve),s),x=(0,a.YN)(null!=w?w:r),A=xe({callback:(0,o.useCallback)(()=>{p.current?(null!=v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{f(Array.isArray(x.current)?x.current:[x.current]),v.current=null},b)):p.current=!0},[b]),disabled:y||!u}),S=(0,o.useCallback)((e,t)=>{A&&(t&&(A.unobserve(t),p.current=!1),e&&A.observe(e))},[A]),[E,M]=(0,a.lk)(S),D=(0,a.YN)(t);return(0,o.useEffect)(()=>{A&&E.current&&(A.disconnect(),p.current=!1,A.observe(E.current))},[E,A]),(0,o.useEffect)(()=>(l({type:m.RegisterDroppable,element:{id:r,key:c,disabled:n,node:E,rect:g,data:D}}),()=>l({type:m.UnregisterDroppable,key:c,id:r})),[r]),(0,o.useEffect)(()=>{n!==h.current.disabled&&(l({type:m.SetDroppableDisabled,id:r,key:c,disabled:n}),h.current.disabled=n)},[r,c,n,l]),{active:u,rect:g,isOver:(null==d?void 0:d.id)===r,node:E,over:d,setNodeRef:M}}},98491:(e,t,n)=>{"use strict";n.d(t,{_G:()=>f,be:()=>a,gB:()=>g,gl:()=>A});var r=n(19959),i=n(16056),o=n(97540),s=n(29382);function a(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function c(e,t){return e.reduce((e,n,r)=>{const i=t.get(n);return i&&(e[r]=i),e},Array(e.length))}function u(e){return null!==e&&e>=0}const l=e=>{let{rects:t,activeIndex:n,overIndex:r,index:i}=e;const o=a(t,r,n),s=t[i],c=o[i];return c&&s?{x:c.left-s.left,y:c.top-s.top,scaleX:c.width/s.width,scaleY:c.height/s.height}:null},d={scaleX:1,scaleY:1},f=e=>{var t;let{activeIndex:n,activeNodeRect:i,index:o,rects:s,overIndex:a}=e;const c=null!=(t=s[n])?t:i;if(!c)return null;if(o===n){const e=s[a];return e?(0,r.A)({x:0,y:n<a?e.top+e.height-(c.top+c.height):e.top-c.top},d):null}const u=function(e,t,n){const r=e[t],i=e[t-1],o=e[t+1];if(!r)return 0;if(n<t)return i?r.top-(i.top+i.height):o?o.top-(r.top+r.height):0;return o?o.top-(r.top+r.height):i?r.top-(i.top+i.height):0}(s,o,n);return o>n&&o<=a?(0,r.A)({x:0,y:-c.height-u},d):o<n&&o>=a?(0,r.A)({x:0,y:c.height+u},d):(0,r.A)({x:0,y:0},d)};const h="Sortable",p=i.createContext({activeIndex:-1,containerId:h,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:l,disabled:{draggable:!1,droppable:!1}});function g(e){let{children:t,id:n,items:r,strategy:a=l,disabled:u=!1}=e;const{active:d,dragOverlay:f,droppableRects:g,over:v,measureDroppableContainers:m}=(0,o.fF)(),y=(0,s.YG)(h,n),w=Boolean(null!==f.rect),b=(0,i.useMemo)(()=>r.map(e=>"object"==typeof e&&"id"in e?e.id:e),[r]),x=null!=d,A=d?b.indexOf(d.id):-1,S=v?b.indexOf(v.id):-1,E=(0,i.useRef)(b),M=!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}(b,E.current),D=-1!==S&&-1===A||M,k=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(u);(0,s.Es)(()=>{M&&x&&m(b)},[M,b,x,m]),(0,i.useEffect)(()=>{E.current=b},[b]);const C=(0,i.useMemo)(()=>({activeIndex:A,containerId:y,disabled:k,disableTransforms:D,items:b,overIndex:S,useDragOverlay:w,sortedRects:c(b,g),strategy:a}),[A,y,k.draggable,k.droppable,D,b,S,g,w,a]);return i.createElement(p.Provider,{value:C},t)}const v=e=>{let{id:t,items:n,activeIndex:r,overIndex:i}=e;return a(n,r,i).indexOf(t)},m=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:i,items:o,newIndex:s,previousItems:a,previousContainerId:c,transition:u}=e;return!(!u||!r)&&((a===o||i!==s)&&(!!n||s!==i&&t===c))},y={duration:200,easing:"ease"},w="transform",b=s.Ks.Transition.toString({property:w,duration:0,easing:"linear"}),x={roleDescription:"sortable"};function A(e){let{animateLayoutChanges:t=m,attributes:n,disabled:a,data:c,getNewIndex:l=v,id:d,strategy:f,resizeObserverConfig:h,transition:g=y}=e;const{items:A,containerId:S,activeIndex:E,disabled:M,disableTransforms:D,sortedRects:k,overIndex:C,useDragOverlay:N,strategy:O}=(0,i.useContext)(p),R=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,M),T=A.indexOf(d),$=(0,i.useMemo)(()=>(0,r.A)({sortable:{containerId:S,index:T,items:A}},c),[S,c,T,A]),_=(0,i.useMemo)(()=>A.slice(A.indexOf(d)),[A,d]),{rect:I,node:P,isOver:L,setNodeRef:Y}=(0,o.zM)({id:d,data:$,disabled:R.droppable,resizeObserverConfig:(0,r.A)({updateMeasurementsFor:_},h)}),{active:F,activatorEvent:U,activeNodeRect:W,attributes:B,setNodeRef:z,listeners:j,isDragging:H,over:G,setActivatorNodeRef:q,transform:Z}=(0,o.PM)({id:d,data:$,attributes:(0,r.A)((0,r.A)({},x),n),disabled:R.draggable}),X=(0,s.jn)(Y,z),V=Boolean(F),K=V&&!D&&u(E)&&u(C),J=!N&&H,Q=J&&K?Z:null,ee=K?null!=Q?Q:(null!=f?f:O)({rects:k,activeNodeRect:W,activeIndex:E,overIndex:C,index:T}):null,te=u(E)&&u(C)?l({id:d,items:A,activeIndex:E,overIndex:C}):T,ne=null==F?void 0:F.id,re=(0,i.useRef)({activeId:ne,items:A,newIndex:te,containerId:S}),ie=A!==re.current.items,oe=t({active:F,containerId:S,isDragging:H,isSorting:V,id:d,index:T,items:A,newIndex:re.current.newIndex,previousItems:re.current.items,previousContainerId:re.current.containerId,transition:g,wasDragging:null!=re.current.activeId}),se=function(e){let{disabled:t,index:n,node:r,rect:a}=e;const[c,u]=(0,i.useState)(null),l=(0,i.useRef)(n);return(0,s.Es)(()=>
16{if(!t&&n!==l.current&&r.current){const e=a.current;if(e){const t=(0,o.Sj)(r.current,{ignoreTransform:!0}),n={x:e.left-t.left,y:e.top-t.top,scaleX:e.width/t.width,scaleY:e.height/t.height};(n.x||n.y)&&u(n)}}n!==l.current&&(l.current=n)},[t,n,r,a]),(0,i.useEffect)(()=>{c&&u(null)},[c]),c}({disabled:!oe,index:T,node:P,rect:I});return(0,i.useEffect)(()=>{V&&re.current.newIndex!==te&&(re.current.newIndex=te),S!==re.current.containerId&&(re.current.containerId=S),A!==re.current.items&&(re.current.items=A)},[V,te,S,A]),(0,i.useEffect)(()=>{if(ne===re.current.activeId)return;if(ne&&!re.current.activeId)return void(re.current.activeId=ne);const e=setTimeout(()=>{re.current.activeId=ne},50);return()=>clearTimeout(e)},[ne]),{active:F,activeIndex:E,attributes:B,data:$,rect:I,index:T,newIndex:te,items:A,isOver:L,isSorting:V,isDragging:H,listeners:j,node:P,overIndex:C,over:G,setNodeRef:X,setActivatorNodeRef:q,setDroppableNodeRef:Y,setDraggableNodeRef:z,transform:null!=se?se:ee,transition:function(){if(se||ie&&re.current.newIndex===T)return b;if(J&&!(0,s.kx)(U)||!g)return;if(V||oe)return s.Ks.Transition.toString((0,r.A)((0,r.A)({},g),{},{property:w}));return}()}}o.vL.Down,o.vL.Right,o.vL.Up,o.vL.Left}}]);
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.