Files
ai/web/public/charting_library/bundles/8971.352a74bc5eebf8040884.js

25 lines
73 KiB
JavaScript

(self.webpackChunktradingview=self.webpackChunktradingview||[]).push([[8971],{50151:(t,e)=>{"use strict";function n(t,e){if(void 0===t)throw new Error("".concat(null!=e?e:"Value"," is undefined"));return t}function r(t,e){if(null===t)throw new Error("".concat(null!=e?e:"Value"," is null"));return t}Object.defineProperty(e,"__esModule",{value:!0}),e.ensureNever=e.ensure=e.ensureNotNull=e.ensureDefined=e.assert=void 0,e.assert=function(t,e){if(!t)throw new Error("Assertion failed".concat(e?": ".concat(e):""))},e.ensureDefined=n,e.ensureNotNull=r,e.ensure=function(t,e){return r(n(t,e),e)},e.ensureNever=function(t){}},50335:(t,e)=>{"use strict";function n(t){return Math.round(1e10*t)/1e10}Object.defineProperty(e,"__esModule",{value:!0}),e.alignTo=e.fixComputationError=e.isNaN=e.isInteger=e.isNumber=void 0,e.isNumber=function(t){return"number"==typeof t&&isFinite(t)},e.isInteger=function(t){return"number"==typeof t&&t%1==0},e.isNaN=function(t){return!(t<=0||t>0)},e.fixComputationError=n,e.alignTo=function(t,e){var r=t/e,i=Math.floor(r),o=r-i;return o>2e-10?n(o>.5?(i+1)*e:i*e):t}},30551:(t,e)=>{"use strict";e.hasProperty=e.isObject=void 0,e.isObject=function(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)},e.hasProperty=function(t,e){return e in t}},6453:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pointInHalfplane=function(t,e){const n=e.edge;return n.A*t.x+n.B*t.y+n.C>0===e.isPositive},e.pointInTriangle=function(t,e,n,i){const o=e.add(n).scaled(.5).add(i).scaled(.5);let u=(0,r.intersectLineSegments)(e,n,o,t);if(null!==u)return!1;if(u=(0,r.intersectLineSegments)(n,i,o,t),null!==u)return!1;if(u=(0,r.intersectLineSegments)(i,e,o,t),null!==u)return!1;return!0},e.pointInBox=function(t,e){return t.x>=e.min.x&&t.x<=e.max.x&&t.y>=e.min.y&&t.y<=e.max.y},e.pointInPolygon=function(t,e){let n=e.length-1,r=!1;const i=t.x,o=t.y;for(let t=0;t<e.length;t++){const u=e[t],a=e[n];(u.y<o&&a.y>=o||a.y<o&&u.y>=o)&&u.x+(o-u.y)/(a.y-u.y)*(a.x-u.x)<i&&(r=!r),n=t}return r},e.pointInCircle=function(t,e,n){const r=(t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y);return r<=n*n};const r=n(48892)},2624:(t,e)=>{"use strict";function n(t,e,n){const r=e.subtract(t),i=n.subtract(t).dotProduct(r)/r.dotProduct(r);return{coeff:i,distance:t.addScaled(r,i).subtract(n).length()}}Object.defineProperty(e,"__esModule",{value:!0}),e.distanceToLine=n,e.distanceToSegment=function(t,e,r){const i=n(t,e,r);if(0<=i.coeff&&i.coeff<=1)return i;{const n=t.subtract(r).length(),i=e.subtract(r).length();return n<i?{coeff:0,distance:n}:{coeff:1,distance:i}}}},48892:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intersectLineSegmentAndBox=function(t,e){let n=t[0].x,r=t[0].y,o=t[1].x,u=t[1].y;const a=e.min.x,s=e.min.y,c=e.max.x,f=e.max.y;let l;function d(t,e,n,r,i,o){let u=l.Inside;return t<n?u|=l.Left:t>i&&(u|=l.Right),e<r?u|=l.Bottom:e>o&&(u|=l.Top),u}!function(t){t[t.Inside=0]="Inside",t[t.Left=1]="Left",t[t.Right=2]="Right",t[t.Bottom=4]="Bottom",t[t.Top=8]="Top"}(l||(l={}))
;let h=d(n,r,a,s,c,f),v=d(o,u,a,s,c,f),p=!1,b=0;for(;;){if(b>1e3)throw new Error("Cohen - Sutherland algorithm: infinity loop");if(b++,!(h|v)){p=!0;break}if(h&v)break;{const t=h||v;let e,i;t&l.Top?(e=n+(o-n)*(f-r)/(u-r),i=f):t&l.Bottom?(e=n+(o-n)*(s-r)/(u-r),i=s):t&l.Right?(i=r+(u-r)*(c-n)/(o-n),e=c):(i=r+(u-r)*(a-n)/(o-n),e=a),t===h?(n=e,r=i,h=d(n,r,a,s,c,f)):(o=e,u=i,v=d(o,u,a,s,c,f))}}return p?(0,i.equalPoints)((0,i.point)(n,r),(0,i.point)(o,u))?(0,i.point)(n,r):(0,i.lineSegment)((0,i.point)(n,r),(0,i.point)(o,u)):null},e.intersectLines=a,e.intersectLineSegments=s,e.intersectLineAndBox=function(t,e){const n=e.min.x,o=e.min.y,u=e.max.x,a=e.max.y;if(0===t.A){const e=-t.C/t.B;return o<=e&&e<=a?(0,i.lineSegment)((0,i.point)(n,e),(0,i.point)(u,e)):null}if(0===t.B){const e=-t.C/t.A;return n<=e&&e<=u?(0,i.lineSegment)((0,i.point)(e,o),(0,i.point)(e,a)):null}{const e=[],s=n=>{const r=function(t,e){return-(t.C+t.A*e)/t.B}(t,n);o<=r&&r<=a&&c(e,new i.Point(n,r))},f=r=>{const o=function(t,e){return-(t.C+t.B*e)/t.A}(t,r);n<=o&&o<=u&&c(e,new i.Point(o,r))};switch(s(n),f(o),s(u),f(a),e.length){case 0:return null;case 1:return e[0];case 2:return(0,i.equalPoints)(e[0],e[1])?e[0]:(0,i.lineSegment)(e[0],e[1])}return(0,r.assert)(!1,"We should have at most two intersection points"),null}},e.intersectRayAndBox=function(t,e,n){const r=s(t,e,n.min,new i.Point(n.max.x,n.min.y)),o=s(t,e,new i.Point(n.max.x,n.min.y),n.max),u=s(t,e,n.max,new i.Point(n.min.x,n.max.y)),a=s(t,e,new i.Point(n.min.x,n.max.y),n.min),c=[];null!==r&&r>=0&&c.push(r);null!==o&&o>=0&&c.push(o);null!==u&&u>=0&&c.push(u);null!==a&&a>=0&&c.push(a);if(0===c.length)return null;const f=Math.max(...c);return t.addScaled(e.subtract(t),f)},e.intersectPolygonAndHalfplane=l,e.intersectPolygons=function(t,e){let n=t;for(let t=0;t<e.length&&null!==n;++t){const r=e[t],o=e[(t+1)%e.length],u=e[(t+2)%e.length],a=(0,i.lineThroughPoints)(r,o);n=l(n,(0,i.halfplaneThroughPoint)(a,u))}return n};const r=n(50151),i=n(10555),o=n(2624),u=n(6453);function a(t,e){const n=t.A,r=e.A,o=t.B,u=e.B,a=t.C,s=e.C,c=n*u-r*o;if(Math.abs(c)<1e-6)return null;const f=(o*s-u*a)/c,l=(r*a-n*s)/c;return new i.Point(f,l)}function s(t,e,n,r){const i=function(t,e,n,r){const i=e.subtract(t),o=r.subtract(n),u=i.x*o.y-i.y*o.x;if(Math.abs(u)<1e-6)return null;const a=t.subtract(n);return(a.y*o.x-a.x*o.y)/u}(t,e,n,r);if(null===i)return null;const u=e.subtract(t).scaled(i).add(t),a=(0,o.distanceToSegment)(n,r,u);return Math.abs(a.distance)<1e-6?i:null}function c(t,e){for(const n of t)if((0,i.equalPoints)(n,e))return!1;return t.push(e),!0}function f(t,e){return!(t.length>0&&((0,i.equalPoints)(t[t.length-1],e)||(0,i.equalPoints)(t[0],e)))&&(t.push(e),!0)}function l(t,e){const n=[];for(let r=0;r<t.length;++r){const o=t[r],s=t[(r+1)%t.length],c=(0,i.lineThroughPoints)(o,s);if((0,u.pointInHalfplane)(o,e)){if(f(n,o),!(0,u.pointInHalfplane)(s,e)){const t=a(c,e.edge);null!==t&&f(n,t)}}else if((0,u.pointInHalfplane)(s,e)){const t=a(c,e.edge);null!==t&&f(n,t)}}return n.length>=3?n:null}},10555:(t,e)=>{"use strict"
;Object.defineProperty(e,"__esModule",{value:!0}),e.Point=void 0,e.point=r,e.equalPoints=i,e.line=o,e.lineThroughPoints=function(t,e){if(i(t,e))throw new Error("Points should be distinct");const n=t.y-e.y,r=e.x-t.x,u=t.x*e.y-e.x*t.y;return o(n,r,u)},e.lineSegment=function(t,e){if(i(t,e))throw new Error("Points of a segment should be distinct");return[t,e]},e.halfplane=u,e.halfplaneThroughPoint=function(t,e){const n=t.A*e.x+t.B*e.y+t.C>0;return u(t,n)},e.box=function(t,e){return{min:r(Math.min(t.x,e.x),Math.min(t.y,e.y)),max:r(Math.max(t.x,e.x),Math.max(t.y,e.y))}},e.equalBoxes=function(t,e){return i(t.min,e.min)&&i(t.max,e.max)};class n{constructor(t,e){this.x=t,this.y=e}add(t){return new n(this.x+t.x,this.y+t.y)}addScaled(t,e){return new n(this.x+e*t.x,this.y+e*t.y)}subtract(t){return new n(this.x-t.x,this.y-t.y)}dotProduct(t){return this.x*t.x+this.y*t.y}crossProduct(t){return this.x*t.y-this.y*t.x}signedAngle(t){return Math.atan2(this.crossProduct(t),this.dotProduct(t))}angle(t){return Math.acos(this.dotProduct(t)/(this.length()*t.length()))}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}scaled(t){return new n(this.x*t,this.y*t)}normalized(){return this.scaled(1/this.length())}transposed(){return new n(-this.y,this.x)}clone(){return new n(this.x,this.y)}}function r(t,e){return new n(t,e)}function i(t,e){return t.x===e.x&&t.y===e.y}function o(t,e,n){if(0===t&&0===e)throw new Error("A and B can not be both equal to zero.");return{A:t,B:e,C:n}}function u(t,e){return{edge:t,isPositive:e}}e.Point=n},24377:(t,e,n)=>{"use strict";var r=n(50335);function i(t,e,n){return r.isNaN(e)||e<t?t:e>n?n:Math.round(e)}function o(t,e,n){return r.isNaN(e)||e<t?t:e>n?n:Math.round(1e4*e)/1e4}function u(t){return i(0,t,255)}function a(t){return i(0,t,255)}function s(t){return i(0,t,255)}function c(t){return o(0,t,1)}function f(t){return o(0,t,1)}function l(t){return o(0,t,1)}function d(t){return o(0,t,1)}function h(t){return o(0,t,1)}function v(t){return o(0,t,1)}function p(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255,i=Math.min(e,n,r),o=Math.max(e,n,r),u=0,a=0,s=(i+o)/2;if(i===o)u=0,a=0;else{var c=o-i;switch(a=s>.5?c/(2-o-i):c/(o+i),o){case e:u=((n-r)/c+(n<r?6:0))/6;break;case n:u=((r-e)/c+2)/6;break;case r:u=((e-n)/c+4)/6}}return[u,a,s]}function b(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function g(t){var e,n,r,i=t[0],o=t[1],c=t[2];if(0===o)e=n=r=c;else{var f=c<.5?c*(1+o):c+o-c*o,l=2*c-f;e=b(l,f,i+1/3),n=b(l,f,i),r=b(l,f,i-1/3)}return[u(255*e),a(255*n),s(255*r)]}e.normalizeAlphaComponent=c,e.areEqualRgb=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]},e.rgba=function(t,e,n,r){if(Array.isArray(t)){var i=t;return r=e,[i[0],i[1],i[2],c(r)]}var o=e;return n=n||0,r=r||0,[u(t),a(o),s(n),c(r)]},e.areEqualRgba=function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]},e.rgbToHsl=p,e.hslToRgb=g;var y=[.199,.687,.114];function m(t){return y[0]*t[0]+y[1]*t[1]+y[2]*t[2]}function w(t,e,n){void 0===n&&(n=.05);var r=p(t),i=r[0]+e*n;return r[0]=f(i-Math.floor(i)),g(r)}
function _(t,e,n){void 0===n&&(n=.05);var r=t[0],i=t[1],o=t[2],u=t[3],a=w([r,i,o],e,n);return[a[0],a[1],a[2],u]}e.distanceRgb=function(t,e){var n=t[0],r=t[1],i=t[2],o=e[0]-n,u=e[1]-r,a=e[2]-i;return Math.sqrt(o*o+u*u+a*a)},e.invertRgb=function(t){return[255-t[0],255-t[1],255-t[2]]},e.blendRgba=function(t,e){var n=t[0],r=t[1],i=t[2],o=t[3],f=e[0],l=e[1],d=e[2],h=e[3],v=c(1-(1-h)*(1-o));return[u(f*h/v+n*o*(1-h)/v),a(l*h/v+r*o*(1-h)/v),s(d*h/v+i*o*(1-h)/v),v]},e.shiftRgb=w,e.shiftRgba=_,e.shiftColor=function(t,e,n){return void 0===n&&(n=.05),k(_(M(t),e,n))};var x,j,E,S,O={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",feldspar:"#d19275",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslateblue:"#8470ff",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",
sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",violetred:"#d02090",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function z(t,e){return e in t}function A(t){var e=x.re.exec(t);return null!==e?x.parse(e):null}function P(t){var e=j.re.exec(t);return null!==e?j.parse(e):null}function R(t){var e=E.re.exec(t);return null!==e?E.parse(e):null}function L(t){var e=S.re.exec(t);return null!==e?S.parse(e):null}function k(t){return"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"}function C(t){if(t=t.toLowerCase(),z(O,t)){var e=P(O[t]);if(null!==e)return e;throw new Error("Invalid named color definition")}var n=A(t);if(null!==n)return n;var r=P(t);if(null!==r)return r;var i=R(t);if(null!==i)return i;var o=L(t);return null!==o?[o[0],o[1],o[2]]:null}function B(t){if(t=t.toLowerCase(),z(O,t)){var e=P(O[t]);if(null!==e)return[e[0],e[1],e[2],1];throw new Error("Invalid named color definition")}var n=A(t);if(null!==n)return[n[0],n[1],n[2],1];var r=P(t);if(null!==r)return[r[0],r[1],r[2],1];var i=R(t);if(null!==i)return[i[0],i[1],i[2],1];var o=L(t);return null!==o?o:null}function M(t){var e=B(t);if(null!==e)return e;throw new Error("Passed color string does not match any of the known color representations")}!function(t){t.re=/^rgb\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*\)$/,t.parse=function(t){return[u(parseInt(t[1],10)),a(parseInt(t[2],10)),s(parseInt(t[3],10))]}}(x||(x={})),function(t){t.re=/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,t.parse=function(t){return[u(parseInt(t[1],16)),a(parseInt(t[2],16)),s(parseInt(t[3],16))]}}(j||(j={})),e.rgbToHexString=function(t){var e=t[0],n=t[1],r=t[2],i=e.toString(16),o=n.toString(16),u=r.toString(16);return"#"+(1===i.length?"0":"")+i+(1===o.length?"0":"")+o+(1===u.length?"0":"")+u},function(t){t.re=/^#([0-9a-fA-F])([0-9a-fA-F])([0-9a-fA-F])$/,t.parse=function(t){return[u(parseInt(t[1]+t[1],16)),a(parseInt(t[2]+t[2],16)),s(parseInt(t[3]+t[3],16))]}}(E||(E={})),function(t){t.re=/^rgba\(\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?\d{1,10})\s*,\s*(-?[\d]{0,10}(?:\.\d+)?)\s*\)$/,t.parse=function(t){return[u(parseInt(t[1],10)),a(parseInt(t[2],10)),s(parseInt(t[3],10)),c(parseFloat(t[4]))]}}(S||(S={})),e.rgbaToString=k,e.rgbToBlackWhiteString=function(t,e){if(e<0||e>255)throw new Error("invalid threshold value, valid values are [0, 255]");return m(t)>=e?"white":"black"},e.parseRgb=function(t){var e=C(t);if(null!==e)return e;throw new Error("Passed color string does not match any of the known color representations")},e.tryParseRgba=B,e.parseRgba=M},60521:function(t,e,n){var r;!function(){"use strict";var i,o=1e6,u=1e6,a="[big.js] ",s=a+"Invalid ",c=s+"decimal places",f=s+"rounding mode",l=a+"Division by zero",d={},h=void 0,v=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function p(t,e,n,r){var i=t.c;if(n===h&&(n=t.constructor.RM),
0!==n&&1!==n&&2!==n&&3!==n)throw Error(f);if(e<1)r=3===n&&(r||!!i[0])||0===e&&(1===n&&i[0]>=5||2===n&&(i[0]>5||5===i[0]&&(r||i[1]!==h))),i.length=1,r?(t.e=t.e-e+1,i[0]=1):i[0]=t.e=0;else if(e<i.length){if(r=1===n&&i[e]>=5||2===n&&(i[e]>5||5===i[e]&&(r||i[e+1]!==h||1&i[e-1]))||3===n&&(r||!!i[0]),i.length=e--,r)for(;++i[e]>9;)i[e]=0,e--||(++t.e,i.unshift(1));for(e=i.length;!i[--e];)i.pop()}return t}function b(t,e,n){var r=t.e,i=t.c.join(""),o=i.length;if(e)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)i="0"+i;i="0."+i}else if(r>0)if(++r>o)for(r-=o;r--;)i+="0";else r<o&&(i=i.slice(0,r)+"."+i.slice(r));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return t.s<0&&n?"-"+i:i}d.abs=function(){var t=new this.constructor(this);return t.s=1,t},d.cmp=function(t){var e,n=this,r=n.c,i=(t=new n.constructor(t)).c,o=n.s,u=t.s,a=n.e,s=t.e;if(!r[0]||!i[0])return r[0]?o:i[0]?-u:0;if(o!=u)return o;if(e=o<0,a!=s)return a>s^e?1:-1;for(u=(a=r.length)<(s=i.length)?a:s,o=-1;++o<u;)if(r[o]!=i[o])return r[o]>i[o]^e?1:-1;return a==s?0:a>s^e?1:-1},d.div=function(t){var e=this,n=e.constructor,r=e.c,i=(t=new n(t)).c,u=e.s==t.s?1:-1,a=n.DP;if(a!==~~a||a<0||a>o)throw Error(c);if(!i[0])throw Error(l);if(!r[0])return t.s=u,t.c=[t.e=0],t;var s,f,d,v,b,g=i.slice(),y=s=i.length,m=r.length,w=r.slice(0,s),_=w.length,x=t,j=x.c=[],E=0,S=a+(x.e=e.e-t.e)+1;for(x.s=u,u=S<0?0:S,g.unshift(0);_++<s;)w.push(0);do{for(d=0;d<10;d++){if(s!=(_=w.length))v=s>_?1:-1;else for(b=-1,v=0;++b<s;)if(i[b]!=w[b]){v=i[b]>w[b]?1:-1;break}if(!(v<0))break;for(f=_==s?i:g;_;){if(w[--_]<f[_]){for(b=_;b&&!w[--b];)w[b]=9;--w[b],w[_]+=10}w[_]-=f[_]}for(;!w[0];)w.shift()}j[E++]=v?d:++d,w[0]&&v?w[_]=r[y]||0:w=[r[y]]}while((y++<m||w[0]!==h)&&u--);return j[0]||1==E||(j.shift(),x.e--,S--),E>S&&p(x,S,n.RM,w[0]!==h),x},d.eq=function(t){return 0===this.cmp(t)},d.gt=function(t){return this.cmp(t)>0},d.gte=function(t){return this.cmp(t)>-1},d.lt=function(t){return this.cmp(t)<0},d.lte=function(t){return this.cmp(t)<1},d.minus=d.sub=function(t){var e,n,r,i,o=this,u=o.constructor,a=o.s,s=(t=new u(t)).s;if(a!=s)return t.s=-s,o.plus(t);var c=o.c.slice(),f=o.e,l=t.c,d=t.e;if(!c[0]||!l[0])return l[0]?t.s=-s:c[0]?t=new u(o):t.s=1,t;if(a=f-d){for((i=a<0)?(a=-a,r=c):(d=f,r=l),r.reverse(),s=a;s--;)r.push(0);r.reverse()}else for(n=((i=c.length<l.length)?c:l).length,a=s=0;s<n;s++)if(c[s]!=l[s]){i=c[s]<l[s];break}if(i&&(r=c,c=l,l=r,t.s=-t.s),(s=(n=l.length)-(e=c.length))>0)for(;s--;)c[e++]=0;for(s=e;n>a;){if(c[--n]<l[n]){for(e=n;e&&!c[--e];)c[e]=9;--c[e],c[n]+=10}c[n]-=l[n]}for(;0===c[--s];)c.pop();for(;0===c[0];)c.shift(),--d;return c[0]||(t.s=1,c=[d=0]),t.c=c,t.e=d,t},d.mod=function(t){var e,n=this,r=n.constructor,i=n.s,o=(t=new r(t)).s;if(!t.c[0])throw Error(l);return n.s=t.s=1,e=1==t.cmp(n),n.s=i,t.s=o,e?new r(n):(i=r.DP,o=r.RM,r.DP=r.RM=0,n=n.div(t),r.DP=i,r.RM=o,this.minus(n.times(t)))},d.plus=d.add=function(t){var e,n,r,i=this,o=i.constructor;if(t=new o(t),i.s!=t.s)return t.s=-t.s,i.minus(t);var u=i.e,a=i.c,s=t.e,c=t.c;if(!a[0]||!c[0])return c[0]||(a[0]?t=new o(i):t.s=i.s),t
;if(a=a.slice(),e=u-s){for(e>0?(s=u,r=c):(e=-e,r=a),r.reverse();e--;)r.push(0);r.reverse()}for(a.length-c.length<0&&(r=c,c=a,a=r),e=c.length,n=0;e;a[e]%=10)n=(a[--e]=a[e]+c[e]+n)/10|0;for(n&&(a.unshift(n),++s),e=a.length;0===a[--e];)a.pop();return t.c=a,t.e=s,t},d.pow=function(t){var e=this,n=new e.constructor("1"),r=n,i=t<0;if(t!==~~t||t<-1e6||t>u)throw Error(s+"exponent");for(i&&(t=-t);1&t&&(r=r.times(e)),t>>=1;)e=e.times(e);return i?n.div(r):r},d.prec=function(t,e){if(t!==~~t||t<1||t>o)throw Error(s+"precision");return p(new this.constructor(this),t,e)},d.round=function(t,e){if(t===h)t=0;else if(t!==~~t||t<-o||t>o)throw Error(c);return p(new this.constructor(this),t+this.e+1,e)},d.sqrt=function(){var t,e,n,r=this,i=r.constructor,o=r.s,u=r.e,s=new i("0.5");if(!r.c[0])return new i(r);if(o<0)throw Error(a+"No square root");0===(o=Math.sqrt(r+""))||o===1/0?((e=r.c.join("")).length+u&1||(e+="0"),u=((u+1)/2|0)-(u<0||1&u),t=new i(((o=Math.sqrt(e))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)):t=new i(o+""),u=t.e+(i.DP+=4);do{n=t,t=s.times(n.plus(r.div(n)))}while(n.c.slice(0,u).join("")!==t.c.slice(0,u).join(""));return p(t,(i.DP-=4)+t.e+1,i.RM)},d.times=d.mul=function(t){var e,n=this,r=n.constructor,i=n.c,o=(t=new r(t)).c,u=i.length,a=o.length,s=n.e,c=t.e;if(t.s=n.s==t.s?1:-1,!i[0]||!o[0])return t.c=[t.e=0],t;for(t.e=s+c,u<a&&(e=i,i=o,o=e,c=u,u=a,a=c),e=new Array(c=u+a);c--;)e[c]=0;for(s=a;s--;){for(a=0,c=u+s;c>s;)a=e[c]+o[s]*i[c-s-1]+a,e[c--]=a%10,a=a/10|0;e[c]=a}for(a?++t.e:e.shift(),s=e.length;!e[--s];)e.pop();return t.c=e,t},d.toExponential=function(t,e){var n=this,r=n.c[0];if(t!==h){if(t!==~~t||t<0||t>o)throw Error(c);for(n=p(new n.constructor(n),++t,e);n.c.length<t;)n.c.push(0)}return b(n,!0,!!r)},d.toFixed=function(t,e){var n=this,r=n.c[0];if(t!==h){if(t!==~~t||t<0||t>o)throw Error(c);for(t=t+(n=p(new n.constructor(n),t+n.e+1,e)).e+1;n.c.length<t;)n.c.push(0)}return b(n,!1,!!r)},d.toJSON=d.toString=function(){var t=this,e=t.constructor;return b(t,t.e<=e.NE||t.e>=e.PE,!!t.c[0])},d.toNumber=function(){var t=Number(b(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(a+"Imprecise conversion");return t},d.toPrecision=function(t,e){var n=this,r=n.constructor,i=n.c[0];if(t!==h){if(t!==~~t||t<1||t>o)throw Error(s+"precision");for(n=p(new r(n),t,e);n.c.length<t;)n.c.push(0)}return b(n,t<=n.e||n.e<=r.NE||n.e>=r.PE,!!i)},d.valueOf=function(){var t=this,e=t.constructor;if(!0===e.strict)throw Error(a+"valueOf disallowed");return b(t,t.e<=e.NE||t.e>=e.PE,!0)},i=function t(){function e(n){var r=this;if(!(r instanceof e))return n===h?t():new e(n);if(n instanceof e)r.s=n.s,r.e=n.e,r.c=n.c.slice();else{if("string"!=typeof n){if(!0===e.strict)throw TypeError(s+"number");n=0===n&&1/n<0?"-0":String(n)}!function(t,e){var n,r,i;if(!v.test(e))throw Error(s+"number");t.s="-"==e.charAt(0)?(e=e.slice(1),-1):1,(n=e.indexOf("."))>-1&&(e=e.replace(".",""));(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length);for(i=e.length,r=0;r<i&&"0"==e.charAt(r);)++r
;if(r==i)t.c=[t.e=0];else{for(;i>0&&"0"==e.charAt(--i););for(t.e=n-r-1,t.c=[],n=0;r<=i;)t.c[n++]=+e.charAt(r++)}}(r,n)}r.constructor=e}return e.prototype=d,e.DP=20,e.RM=1,e.NE=-7,e.PE=21,e.strict=false,e.roundDown=0,e.roundHalfUp=1,e.roundHalfEven=2,e.roundUp=3,e}(),i.default=i.Big=i,void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}()},64531:(t,e)=>{"use strict";var n,r=!("undefined"==typeof window||!window.document||!window.document.createElement);function i(){if(n)return n;if(!r||!window.document.body)return"indeterminate";var t=window.document.createElement("div");return t.appendChild(document.createTextNode("ABCD")),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),n="reverse",t.scrollLeft>0?n="default":(t.scrollLeft=1,0===t.scrollLeft&&(n="negative")),document.body.removeChild(t),n}e.detectScrollType=i,e.getNormalizedScrollLeft=function(t,e){var n=t.scrollLeft;if("rtl"!==e)return n;var r=i();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n}return n}},32563:(t,e,n)=>{"use strict";n.d(e,{mobiletouch:()=>i,setClasses:()=>u,touch:()=>o});var r=n(75774);const i=r.mobiletouch,o=r.touch;function u(){document.documentElement.classList.add(r.touch?"feature-touch":"feature-no-touch",r.mobiletouch?"feature-mobiletouch":"feature-no-mobiletouch")}},49483:(t,e,n)=>{"use strict";n.r(e),n.d(e,{CheckMobile:()=>d,appVersion:()=>l,checkPageType:()=>b,desktopAppVersion:()=>f,isChrome:()=>g,isDesktopApp:()=>s,isEdge:()=>m,isFF:()=>y,isLinux:()=>a,isMac:()=>o,isSafari:()=>w,isSymphonyEmbed:()=>c,isWindows:()=>u,onGoPro:()=>_,onMainPage:()=>x,onWidget:()=>v,supportTouch:()=>p});var r=n(75774);const i=window.TradingView=window.TradingView||{};function o(){return r.isMac}function u(){return r.isWindows}function a(){return r.isLinux}function s(){return/TVDesktop/i.test(navigator.userAgent)}function c(){return i.isSymphony||!1}function f(){const t=navigator.userAgent.match(/TVDesktop\/([^\s]+)/);return t&&t[1]}function l(){const t=navigator.userAgent.match(/TradingView\/([^\s]+)/);return t&&t[1]}const d={Android:()=>r.isAndroid,BlackBerry:()=>r.isBlackBerry,iOS:()=>r.isIOS,Opera:()=>r.isOperaMini,isIPad:()=>r.isIPad,any:()=>r.isAnyMobile};i.isMobile=d;const h=new Map;function v(){const t=window.location.pathname,e=window.location.host,n=`${e}${t}`;return h.has(n)||h.set(n,function(t,e){const n=["^widget-docs"];for(const t of n)if(new RegExp(t).test(e))return!0
;const r=["^widgetembed/?$","^cmewidgetembed/?$","^([0-9a-zA-Z-]+)/widgetembed/?$","^([0-9a-zA-Z-]+)/widgetstatic/?$","^([0-9a-zA-Z-]+)?/?mediumwidgetembed/?$","^twitter-chart/?$","^telegram/chart/?$","^embed/([0-9a-zA-Z]{8})/?$","^widgetpopup/?$","^extension/?$","^idea-popup/?$","^hotlistswidgetembed/?$","^([0-9a-zA-Z-]+)/hotlistswidgetembed/?$","^marketoverviewwidgetembed/?$","^([0-9a-zA-Z-]+)/marketoverviewwidgetembed/?$","^eventswidgetembed/?$","^tickerswidgetembed/?$","^forexcrossrateswidgetembed/?$","^forexheatmapwidgetembed/?$","^marketquoteswidgetembed/?$","^screenerwidget/?$","^cryptomktscreenerwidget/?$","^([0-9a-zA-Z-]+)/cryptomktscreenerwidget/?$","^([0-9a-zA-Z-]+)/marketquoteswidgetembed/?$","^technical-analysis-widget-embed/$","^singlequotewidgetembed/?$","^([0-9a-zA-Z-]+)/singlequotewidgetembed/?$","^embed-widget/([0-9a-zA-Z-]+)/(([0-9a-zA-Z-]+)/)?$","^widget-docs/([0-9a-zA-Z-]+)/([0-9a-zA-Z-/]+)?$"],i=t.replace(/^\//,"");let o;for(let t=r.length-1;t>=0;t--)if(o=new RegExp(r[t]),o.test(i))return!0;return!1}(t,e)),h.get(n)??!1}function p(){return r.mobiletouch||r.touch||r.isAnyMobile}function b(t){return new URLSearchParams(window.location.search).get("page_type")===t}i.onWidget=v;const g=r.isChrome,y=r.isFF,m=r.isEdge,w=r.isSafari;function _(){return"/pricing/"===window.location.pathname}function x(){return"/"===window.location.pathname}},11542:(t,e,n)=>{"use strict";n.r(e),n.d(e,{t:()=>r.t,withTranslationContext:()=>i});n(40167);var r=n(89880);function i(t){throw new Error("Not implemented")}},28865:(t,e,n)=>{"use strict";n.d(e,{getIsoLanguageCodeFromLanguage:()=>i});const r={ar_AE:"ar",br:"pt",de_DE:"de",ca_ES:"ca",he_IL:"he",id_ID:"id",in:"en",kr:"ko",ms_MY:"ms",sv_SE:"sv",th_TH:"th",uk:"en",vi_VN:"vi",zh_CN:"zh-Hans",zh_TW:"zh-Hant",zh:"zh-Hans",hu_HU:"hu-HU"};function i(t){return r[t]||t}},37103:(t,e,n)=>{"use strict";n.r(e),n.d(e,{disable:()=>r.disable,enable:()=>r.enable,enabled:()=>r.enabled,getAllFeatures:()=>r.getAllFeatures,setEnabled:()=>r.setEnabled});var r=n(95779);"object"==typeof __initialDisabledFeaturesets&&Array.isArray(__initialDisabledFeaturesets)&&__initialDisabledFeaturesets.forEach(r.disable),"object"==typeof __initialEnabledFeaturesets&&Array.isArray(__initialEnabledFeaturesets)&&__initialEnabledFeaturesets.forEach(r.enable)},40167:(t,e,n)=>{"use strict";n.r(e);var r=n(87465);const i=/{(\w+)}/g,o=/{(\d+)}/g;String.prototype.format=function(...t){const e=(0,r.isObject)(t[0]),n=e?i:o,u=e?(e,n)=>{const r=t[0];return void 0!==r[n]?r[n]:e}:(e,n)=>{const r=parseInt(n,10),i=t[r];return void 0!==i?i:e};return this.replace(n,u)}},57298:()=>{"use strict";var t,e,n,r,i,o;window.parent!==window&&window.CanvasRenderingContext2D&&window.TextMetrics&&(e=window.CanvasRenderingContext2D.prototype)&&e.hasOwnProperty("font")&&e.hasOwnProperty("mozTextStyle")&&"function"==typeof e.__lookupSetter__&&(n=e.__lookupSetter__("font"))&&(e.__defineSetter__("font",(function(t){try{return n.call(this,t)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}})),r=e.measureText,t=function(){this.width=0,
this.isFake=!0,this.__proto__=window.TextMetrics.prototype},e.measureText=function(e){try{return r.apply(this,arguments)}catch(e){if("NS_ERROR_FAILURE"!==e.name)throw e;return new t}},i=e.fillText,e.fillText=function(t,e,n,r){try{i.apply(this,arguments)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}},o=e.strokeText,e.strokeText=function(t,e,n,r){try{o.apply(this,arguments)}catch(t){if("NS_ERROR_FAILURE"!==t.name)throw t}})},85459:function(t,e,n){var r;!function(e){"use strict";function i(){}var o=i.prototype,u=e.EventEmitter;function a(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function s(t){return function(){return this[t].apply(this,arguments)}}function c(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!=typeof t)&&c(t.listener)}o.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},o.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},o.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},o.addListener=function(t,e){if(!c(e))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(t),i="object"==typeof e;for(n in r)r.hasOwnProperty(n)&&-1===a(r[n],e)&&r[n].push(i?e:{listener:e,once:!1});return this},o.on=s("addListener"),o.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},o.once=s("addOnceListener"),o.defineEvent=function(t){return this.getListeners(t),this},o.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},o.removeListener=function(t,e){var n,r,i=this.getListenersAsObject(t);for(r in i)i.hasOwnProperty(r)&&-1!==(n=a(i[r],e))&&i[r].splice(n,1);return this},o.off=s("removeListener"),o.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},o.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},o.manipulateListeners=function(t,e,n){var r,i,o=t?this.removeListener:this.addListener,u=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(r=n.length;r--;)o.call(this,e,n[r]);else for(r in e)e.hasOwnProperty(r)&&(i=e[r])&&("function"==typeof i?o.call(this,r,i):u.call(this,r,i));return this},o.removeEvent=function(t){var e,n=typeof t,r=this._getEvents();if("string"===n)delete r[t];else if(t instanceof RegExp)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return this},o.removeAllListeners=s("removeEvent"),o.emitEvent=function(t,e){var n,r,i,o,u=this.getListenersAsObject(t);for(o in u)if(u.hasOwnProperty(o))for(n=u[o].slice(0),i=0;i<n.length;i++)!0===(r=n[i]).once&&this.removeListener(t,r.listener),r.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,r.listener);return this},o.trigger=s("emitEvent"),o.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},o.setOnceReturnValue=function(t){
return this._onceReturnValue=t,this},o._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},o._getEvents=function(){return this._events||(this._events={})},i.noConflict=function(){return e.EventEmitter=u,i},void 0===(r=function(){return i}.call(e,n,e,t))||(t.exports=r)}(this||{})},27714:(t,e,n)=>{"use strict";function r(t){var e=t.width,n=t.height;if(e<0)throw new Error("Negative width is not allowed for Size");if(n<0)throw new Error("Negative height is not allowed for Size");return{width:e,height:n}}function i(t,e){return t.width===e.width&&t.height===e.height}n.d(e,{CanvasRenderingTarget2D:()=>c,bindCanvasElementBitmapSizeTo:()=>a,equalSizes:()=>i,size:()=>r});var o=function(){function t(t){var e=this;this._resolutionListener=function(){return e._onResolutionChanged()},this._resolutionMediaQueryList=null,this._observers=[],this._window=t,this._installResolutionListener()}return t.prototype.dispose=function(){this._uninstallResolutionListener(),this._window=null},Object.defineProperty(t.prototype,"value",{get:function(){return this._window.devicePixelRatio},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){var e=this,n={next:t};return this._observers.push(n),{unsubscribe:function(){e._observers=e._observers.filter((function(t){return t!==n}))}}},t.prototype._installResolutionListener=function(){if(null!==this._resolutionMediaQueryList)throw new Error("Resolution listener is already installed");var t=this._window.devicePixelRatio;this._resolutionMediaQueryList=this._window.matchMedia("all and (resolution: ".concat(t,"dppx)")),this._resolutionMediaQueryList.addListener(this._resolutionListener)},t.prototype._uninstallResolutionListener=function(){null!==this._resolutionMediaQueryList&&(this._resolutionMediaQueryList.removeListener(this._resolutionListener),this._resolutionMediaQueryList=null)},t.prototype._reinstallResolutionListener=function(){this._uninstallResolutionListener(),this._installResolutionListener()},t.prototype._onResolutionChanged=function(){var t=this;this._observers.forEach((function(e){return e.next(t._window.devicePixelRatio)})),this._reinstallResolutionListener()},t}();var u=function(){function t(t,e,n){var i;this._canvasElement=null,this._bitmapSizeChangedListeners=[],this._suggestedBitmapSize=null,this._suggestedBitmapSizeChangedListeners=[],this._devicePixelRatioObservable=null,this._canvasElementResizeObserver=null,this._canvasElement=t,this._canvasElementClientSize=r({width:this._canvasElement.clientWidth,height:this._canvasElement.clientHeight}),this._transformBitmapSize=null!=e?e:function(t){return t},this._allowResizeObserver=null===(i=null==n?void 0:n.allowResizeObserver)||void 0===i||i,this._chooseAndInitObserver()}return t.prototype.dispose=function(){var t,e;if(null===this._canvasElement)throw new Error("Object is disposed");null===(t=this._canvasElementResizeObserver)||void 0===t||t.disconnect(),this._canvasElementResizeObserver=null,null===(e=this._devicePixelRatioObservable)||void 0===e||e.dispose(),
this._devicePixelRatioObservable=null,this._suggestedBitmapSizeChangedListeners.length=0,this._bitmapSizeChangedListeners.length=0,this._canvasElement=null},Object.defineProperty(t.prototype,"canvasElement",{get:function(){if(null===this._canvasElement)throw new Error("Object is disposed");return this._canvasElement},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"canvasElementClientSize",{get:function(){return this._canvasElementClientSize},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bitmapSize",{get:function(){return r({width:this.canvasElement.width,height:this.canvasElement.height})},enumerable:!1,configurable:!0}),t.prototype.resizeCanvasElement=function(t){this._canvasElementClientSize=r(t),this.canvasElement.style.width="".concat(this._canvasElementClientSize.width,"px"),this.canvasElement.style.height="".concat(this._canvasElementClientSize.height,"px"),this._invalidateBitmapSize()},t.prototype.subscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeBitmapSizeChanged=function(t){this._bitmapSizeChangedListeners=this._bitmapSizeChangedListeners.filter((function(e){return e!==t}))},Object.defineProperty(t.prototype,"suggestedBitmapSize",{get:function(){return this._suggestedBitmapSize},enumerable:!1,configurable:!0}),t.prototype.subscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners.push(t)},t.prototype.unsubscribeSuggestedBitmapSizeChanged=function(t){this._suggestedBitmapSizeChangedListeners=this._suggestedBitmapSizeChangedListeners.filter((function(e){return e!==t}))},t.prototype.applySuggestedBitmapSize=function(){if(null!==this._suggestedBitmapSize){var t=this._suggestedBitmapSize;this._suggestedBitmapSize=null,this._resizeBitmap(t),this._emitSuggestedBitmapSizeChanged(t,this._suggestedBitmapSize)}},t.prototype._resizeBitmap=function(t){var e=this.bitmapSize;i(e,t)||(this.canvasElement.width=t.width,this.canvasElement.height=t.height,this._emitBitmapSizeChanged(e,t))},t.prototype._emitBitmapSizeChanged=function(t,e){var n=this;this._bitmapSizeChangedListeners.forEach((function(r){return r.call(n,t,e)}))},t.prototype._suggestNewBitmapSize=function(t){var e=this._suggestedBitmapSize,n=r(this._transformBitmapSize(t,this._canvasElementClientSize)),o=i(this.bitmapSize,n)?null:n;null===e&&null===o||null!==e&&null!==o&&i(e,o)||(this._suggestedBitmapSize=o,this._emitSuggestedBitmapSizeChanged(e,o))},t.prototype._emitSuggestedBitmapSizeChanged=function(t,e){var n=this;this._suggestedBitmapSizeChangedListeners.forEach((function(r){return r.call(n,t,e)}))},t.prototype._chooseAndInitObserver=function(){var t=this;this._allowResizeObserver?new Promise((function(t){var e=new ResizeObserver((function(n){t(n.every((function(t){return"devicePixelContentBoxSize"in t}))),e.disconnect()}));e.observe(document.body,{box:"device-pixel-content-box"})})).catch((function(){return!1})).then((function(e){return e?t._initResizeObserver():t._initDevicePixelRatioObservable()
})):this._initDevicePixelRatioObservable()},t.prototype._initDevicePixelRatioObservable=function(){var t=this;if(null!==this._canvasElement){var e=s(this._canvasElement);if(null===e)throw new Error("No window is associated with the canvas");this._devicePixelRatioObservable=function(t){return new o(t)}(e),this._devicePixelRatioObservable.subscribe((function(){return t._invalidateBitmapSize()})),this._invalidateBitmapSize()}},t.prototype._invalidateBitmapSize=function(){var t,e;if(null!==this._canvasElement){var n=s(this._canvasElement);if(null!==n){var i=null!==(e=null===(t=this._devicePixelRatioObservable)||void 0===t?void 0:t.value)&&void 0!==e?e:n.devicePixelRatio,o=this._canvasElement.getClientRects(),u=void 0!==o[0]?function(t,e){return r({width:Math.round(t.left*e+t.width*e)-Math.round(t.left*e),height:Math.round(t.top*e+t.height*e)-Math.round(t.top*e)})}(o[0],i):r({width:this._canvasElementClientSize.width*i,height:this._canvasElementClientSize.height*i});this._suggestNewBitmapSize(u)}}},t.prototype._initResizeObserver=function(){var t=this;null!==this._canvasElement&&(this._canvasElementResizeObserver=new ResizeObserver((function(e){var n=e.find((function(e){return e.target===t._canvasElement}));if(n&&n.devicePixelContentBoxSize&&n.devicePixelContentBoxSize[0]){var i=n.devicePixelContentBoxSize[0],o=r({width:i.inlineSize,height:i.blockSize});t._suggestNewBitmapSize(o)}})),this._canvasElementResizeObserver.observe(this._canvasElement,{box:"device-pixel-content-box"}))},t}();function a(t,e){if("device-pixel-content-box"===e.type)return new u(t,e.transform,e.options);throw new Error("Unsupported binding target")}function s(t){return t.ownerDocument.defaultView}var c=function(){function t(t,e,n){if(0===e.width||0===e.height)throw new TypeError("Rendering target could only be created on a media with positive width and height");if(this._mediaSize=e,0===n.width||0===n.height)throw new TypeError("Rendering target could only be created using a bitmap with positive integer width and height");this._bitmapSize=n,this._context=t}return t.prototype.useMediaCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),this._context.scale(this._horizontalPixelRatio,this._verticalPixelRatio),t({context:this._context,mediaSize:this._mediaSize})}finally{this._context.restore()}},t.prototype.useBitmapCoordinateSpace=function(t){try{return this._context.save(),this._context.setTransform(1,0,0,1,0,0),t({context:this._context,mediaSize:this._mediaSize,bitmapSize:this._bitmapSize,horizontalPixelRatio:this._horizontalPixelRatio,verticalPixelRatio:this._verticalPixelRatio})}finally{this._context.restore()}},Object.defineProperty(t.prototype,"_horizontalPixelRatio",{get:function(){return this._bitmapSize.width/this._mediaSize.width},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"_verticalPixelRatio",{get:function(){return this._bitmapSize.height/this._mediaSize.height},enumerable:!1,configurable:!0}),t}()},46956:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});const r=function(){
this.__data__=[],this.size=0};var i=n(54523);const o=function(t,e){for(var n=t.length;n--;)if((0,i.default)(t[n][0],e))return n;return-1};var u=Array.prototype.splice;const a=function(t){var e=this.__data__,n=o(e,t);return!(n<0)&&(n==e.length-1?e.pop():u.call(e,n,1),--this.size,!0)};const s=function(t){var e=this.__data__,n=o(e,t);return n<0?void 0:e[n][1]};const c=function(t){return o(this.__data__,t)>-1};const f=function(t,e){var n=this.__data__,r=o(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this};function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=a,l.prototype.get=s,l.prototype.has=c,l.prototype.set=f;const d=l},19385:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(52494),i=n(99615);const o=(0,r.default)(i.default,"Map")},75440:(t,e,n)=>{"use strict";n.d(e,{default:()=>j});const r=(0,n(52494).default)(Object,"create");const i=function(){this.__data__=r?r(null):{},this.size=0};const o=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var u=Object.prototype.hasOwnProperty;const a=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return u.call(e,t)?e[t]:void 0};var s=Object.prototype.hasOwnProperty;const c=function(t){var e=this.__data__;return r?void 0!==e[t]:s.call(e,t)};const f=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this};function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=c,l.prototype.set=f;const d=l;var h=n(46956),v=n(19385);const p=function(){this.size=0,this.__data__={hash:new d,map:new(v.default||h.default),string:new d}};const b=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const g=function(t,e){var n=t.__data__;return b(e)?n["string"==typeof e?"string":"hash"]:n.map};const y=function(t){var e=g(this,t).delete(t);return this.size-=e?1:0,e};const m=function(t){return g(this,t).get(t)};const w=function(t){return g(this,t).has(t)};const _=function(t,e){var n=g(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this};function x(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}x.prototype.clear=p,x.prototype.delete=y,x.prototype.get=m,x.prototype.has=w,x.prototype.set=_;const j=x},87593:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});var r=n(46956);const i=function(){this.__data__=new r.default,this.size=0};const o=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n};const u=function(t){return this.__data__.get(t)};const a=function(t){return this.__data__.has(t)};var s=n(19385),c=n(75440);const f=function(t,e){var n=this.__data__;if(n instanceof r.default){var i=n.__data__;if(!s.default||i.length<199)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new c.default(i)}return n.set(t,e),
this.size=n.size,this};function l(t){var e=this.__data__=new r.default(t);this.size=e.size}l.prototype.clear=i,l.prototype.delete=o,l.prototype.get=u,l.prototype.has=a,l.prototype.set=f;const d=l},66711:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=n(99615).default.Symbol},16299:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=n(99615).default.Uint8Array},60545:(t,e,n)=>{"use strict";n.d(e,{default:()=>f});const r=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r};var i=n(54404),o=n(56052),u=n(32437),a=n(99313),s=n(9125),c=Object.prototype.hasOwnProperty;const f=function(t,e){var n=(0,o.default)(t),f=!n&&(0,i.default)(t),l=!n&&!f&&(0,u.default)(t),d=!n&&!f&&!l&&(0,s.default)(t),h=n||f||l||d,v=h?r(t.length,String):[],p=v.length;for(var b in t)!e&&!c.call(t,b)||h&&("length"==b||l&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||(0,a.default)(b,p))||v.push(b);return v}},18573:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}},61572:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(857),i=n(54523),o=Object.prototype.hasOwnProperty;const u=function(t,e,n){var u=t[e];o.call(t,e)&&(0,i.default)(u,n)&&(void 0!==n||e in t)||(0,r.default)(t,e,n)}},857:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(55136);const i=function(t,e,n){"__proto__"==e&&r.default?(0,r.default)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},76507:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return function(e,n,r){for(var i=-1,o=Object(e),u=r(e),a=u.length;a--;){var s=u[t?a:++i];if(!1===n(o[s],s,o))break}return e}}()},49084:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(31434),i=n(13383);const o=function(t,e){for(var n=0,o=(e=(0,r.default)(e,t)).length;null!=t&&n<o;)t=t[(0,i.default)(e[n++])];return n&&n==o?t:void 0}},96909:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(18573),i=n(56052);const o=function(t,e,n){var o=e(t);return(0,i.default)(t)?o:(0,r.default)(o,n(t))}},89572:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});var r=n(66711),i=Object.prototype,o=i.hasOwnProperty,u=i.toString,a=r.default?r.default.toStringTag:void 0;const s=function(t){var e=o.call(t,a),n=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=u.call(t);return r&&(e?t[a]=n:delete t[a]),i};var c=Object.prototype.toString;const f=function(t){return c.call(t)};var l=r.default?r.default.toStringTag:void 0;const d=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?s(t):f(t)}},12189:(t,e,n)=>{"use strict";n.d(e,{default:()=>C});var r=n(87593),i=n(75440);const o=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const u=function(t){return this.__data__.has(t)};function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i.default;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=u;const s=a;const c=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}
;const f=function(t,e){return t.has(e)};const l=function(t,e,n,r,i,o){var u=1&n,a=t.length,l=e.length;if(a!=l&&!(u&&l>a))return!1;var d=o.get(t),h=o.get(e);if(d&&h)return d==e&&h==t;var v=-1,p=!0,b=2&n?new s:void 0;for(o.set(t,e),o.set(e,t);++v<a;){var g=t[v],y=e[v];if(r)var m=u?r(y,g,v,e,t,o):r(g,y,v,t,e,o);if(void 0!==m){if(m)continue;p=!1;break}if(b){if(!c(e,(function(t,e){if(!f(b,e)&&(g===t||i(g,t,n,r,o)))return b.push(e)}))){p=!1;break}}else if(g!==y&&!i(g,y,n,r,o)){p=!1;break}}return o.delete(t),o.delete(e),p};var d=n(66711),h=n(16299),v=n(54523);const p=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n};const b=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n};var g=d.default?d.default.prototype:void 0,y=g?g.valueOf:void 0;const m=function(t,e,n,r,i,o,u){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new h.default(t),new h.default(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,v.default)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var a=p;case"[object Set]":var s=1&r;if(a||(a=b),t.size!=e.size&&!s)return!1;var c=u.get(t);if(c)return c==e;r|=2,u.set(t,e);var f=l(a(t),a(e),r,i,o,u);return u.delete(t),f;case"[object Symbol]":if(y)return y.call(t)==y.call(e)}return!1};var w=n(38366),_=Object.prototype.hasOwnProperty;const x=function(t,e,n,r,i,o){var u=1&n,a=(0,w.default)(t),s=a.length;if(s!=(0,w.default)(e).length&&!u)return!1;for(var c=s;c--;){var f=a[c];if(!(u?f in e:_.call(e,f)))return!1}var l=o.get(t),d=o.get(e);if(l&&d)return l==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var v=u;++c<s;){var p=t[f=a[c]],b=e[f];if(r)var g=u?r(b,p,f,e,t,o):r(p,b,f,t,e,o);if(!(void 0===g?p===b||i(p,b,n,r,o):g)){h=!1;break}v||(v="constructor"==f)}if(h&&!v){var y=t.constructor,m=e.constructor;y==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(h=!1)}return o.delete(t),o.delete(e),h};var j=n(81296),E=n(56052),S=n(32437),O=n(9125),z="[object Arguments]",A="[object Array]",P="[object Object]",R=Object.prototype.hasOwnProperty;const L=function(t,e,n,i,o,u){var a=(0,E.default)(t),s=(0,E.default)(e),c=a?A:(0,j.default)(t),f=s?A:(0,j.default)(e),d=(c=c==z?P:c)==P,h=(f=f==z?P:f)==P,v=c==f;if(v&&(0,S.default)(t)){if(!(0,S.default)(e))return!1;a=!0,d=!1}if(v&&!d)return u||(u=new r.default),a||(0,O.default)(t)?l(t,e,n,i,o,u):m(t,e,c,n,i,o,u);if(!(1&n)){var p=d&&R.call(t,"__wrapped__"),b=h&&R.call(e,"__wrapped__");if(p||b){var g=p?t.value():t,y=b?e.value():e;return u||(u=new r.default),o(g,y,n,i,u)}}return!!v&&(u||(u=new r.default),x(t,e,n,i,o,u))};var k=n(13795);const C=function t(e,n,r,i,o){return e===n||(null==e||null==n||!(0,k.default)(e)&&!(0,k.default)(n)?e!=e&&n!=n:L(e,n,r,i,t,o))}},73748:(t,e,n)=>{"use strict";n.d(e,{
default:()=>P});var r=n(87593),i=n(12189);const o=function(t,e,n,o){var u=n.length,a=u,s=!o;if(null==t)return!a;for(t=Object(t);u--;){var c=n[u];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++u<a;){var f=(c=n[u])[0],l=t[f],d=c[1];if(s&&c[2]){if(void 0===l&&!(f in t))return!1}else{var h=new r.default;if(o)var v=o(l,d,f,t,e,h);if(!(void 0===v?(0,i.default)(d,l,3,o,h):v))return!1}}return!0};var u=n(82433);const a=function(t){return t==t&&!(0,u.default)(t)};var s=n(77251);const c=function(t){for(var e=(0,s.default)(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,a(i)]}return e};const f=function(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}};const l=function(t){var e=c(t);return 1==e.length&&e[0][2]?f(e[0][0],e[0][1]):function(n){return n===t||o(n,t,e)}};var d=n(54029);const h=function(t,e){return null!=t&&e in Object(t)};var v=n(31434),p=n(54404),b=n(56052),g=n(99313),y=n(65743),m=n(13383);const w=function(t,e,n){for(var r=-1,i=(e=(0,v.default)(e,t)).length,o=!1;++r<i;){var u=(0,m.default)(e[r]);if(!(o=null!=t&&n(t,u)))break;t=t[u]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&(0,y.default)(i)&&(0,g.default)(u,i)&&((0,b.default)(t)||(0,p.default)(t))};const _=function(t,e){return null!=t&&w(t,e,h)};var x=n(61070);const j=function(t,e){return(0,x.default)(t)&&a(e)?f((0,m.default)(t),e):function(n){var r=(0,d.default)(n,t);return void 0===r&&r===e?_(n,t):(0,i.default)(e,r,3)}};var E=n(76402);const S=function(t){return function(e){return null==e?void 0:e[t]}};var O=n(49084);const z=function(t){return function(e){return(0,O.default)(e,t)}};const A=function(t){return(0,x.default)(t)?S((0,m.default)(t)):z(t)};const P=function(t){return"function"==typeof t?t:null==t?E.default:"object"==typeof t?(0,b.default)(t)?j(t[0],t[1]):l(t):A(t)}},89815:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(5196);const i=(0,n(45635).default)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const u=function(t){if(!(0,r.default)(t))return i(t);var e=[];for(var n in Object(t))o.call(t,n)&&"constructor"!=n&&e.push(n);return e}},38459:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t,e,n){var r=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r<i;)o[r]=t[r+e];return o}},5467:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return function(e){return t(e)}}},31434:(t,e,n)=>{"use strict";n.d(e,{default:()=>b});var r=n(56052),i=n(61070),o=n(59332);var u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;const s=function(t){var e=(0,o.default)(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(u,(function(t,n,r,i){e.push(r?i.replace(a,"$1"):n||t)})),e}));var c=n(66711);const f=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i};var l=n(98111),d=c.default?c.default.prototype:void 0,h=d?d.toString:void 0;const v=function t(e){
if("string"==typeof e)return e;if((0,r.default)(e))return f(e,t)+"";if((0,l.default)(e))return h?h.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n};const p=function(t){return null==t?"":v(t)};const b=function(t,e){return(0,r.default)(t)?t:(0,i.default)(t,e)?[t]:s(p(t))}},97990:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(16299);const i=function(t){var e=new t.constructor(t.byteLength);return new r.default(e).set(new r.default(t)),e}},14054:(t,e,n)=>{"use strict";n.d(e,{default:()=>s});var r=n(99615),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,u=o&&o.exports===i?r.default.Buffer:void 0,a=u?u.allocUnsafe:void 0;const s=function(t,e){if(e)return t.slice();var n=t.length,r=a?a(n):new t.constructor(n);return t.copy(r),r}},11523:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(97990);const i=function(t,e){var n=e?(0,r.default)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},32126:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},52949:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(61572),i=n(857);const o=function(t,e,n,o){var u=!n;n||(n={});for(var a=-1,s=e.length;++a<s;){var c=e[a],f=o?o(n[c],t[c],c,n,t):void 0;void 0===f&&(f=t[c]),u?(0,i.default)(n,c,f):(0,r.default)(n,c,f)}return n}},55136:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(52494);const i=function(){try{var t=(0,r.default)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},97889:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},38366:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(96909),i=n(21578),o=n(77251);const u=function(t){return(0,r.default)(t,o.default,i.default)}},52494:(t,e,n)=>{"use strict";n.d(e,{default:()=>y});var r=n(88987);const i=n(99615).default["__core-js_shared__"];var o,u=(o=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";const a=function(t){return!!u&&u in t};var s=n(82433),c=n(65114),f=/^\[object .+?Constructor\]$/,l=Function.prototype,d=Object.prototype,h=l.toString,v=d.hasOwnProperty,p=RegExp("^"+h.call(v).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const b=function(t){return!(!(0,s.default)(t)||a(t))&&((0,r.default)(t)?p:f).test((0,c.default)(t))};const g=function(t,e){return null==t?void 0:t[e]};const y=function(t,e){var n=g(t,e);return b(n)?n:void 0}},10964:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=(0,n(45635).default)(Object.getPrototypeOf,Object)},21578:(t,e,n)=>{"use strict";n.d(e,{default:()=>a});const r=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var u=t[n];e(u,n,t)&&(o[i++]=u)}return o};var i=n(69043),o=Object.prototype.propertyIsEnumerable,u=Object.getOwnPropertySymbols;const a=u?function(t){return null==t?[]:(t=Object(t),r(u(t),(function(e){return o.call(t,e)})))}:i.default},81296:(t,e,n)=>{
"use strict";n.d(e,{default:()=>j});var r=n(52494),i=n(99615);const o=(0,r.default)(i.default,"DataView");var u=n(19385);const a=(0,r.default)(i.default,"Promise");const s=(0,r.default)(i.default,"Set");const c=(0,r.default)(i.default,"WeakMap");var f=n(89572),l=n(65114),d="[object Map]",h="[object Promise]",v="[object Set]",p="[object WeakMap]",b="[object DataView]",g=(0,l.default)(o),y=(0,l.default)(u.default),m=(0,l.default)(a),w=(0,l.default)(s),_=(0,l.default)(c),x=f.default;(o&&x(new o(new ArrayBuffer(1)))!=b||u.default&&x(new u.default)!=d||a&&x(a.resolve())!=h||s&&x(new s)!=v||c&&x(new c)!=p)&&(x=function(t){var e=(0,f.default)(t),n="[object Object]"==e?t.constructor:void 0,r=n?(0,l.default)(n):"";if(r)switch(r){case g:return b;case y:return d;case m:return h;case w:return v;case _:return p}return e});const j=x},85146:(t,e,n)=>{"use strict";n.d(e,{default:()=>s});var r=n(82433),i=Object.create;const o=function(){function t(){}return function(e){if(!(0,r.default)(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var u=n(10964),a=n(5196);const s=function(t){return"function"!=typeof t.constructor||(0,a.default)(t)?{}:o((0,u.default)(t))}},99313:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=/^(?:0|[1-9]\d*)$/;const i=function(t,e){var n=typeof t;return!!(e=e??9007199254740991)&&("number"==n||"symbol"!=n&&r.test(t))&&t>-1&&t%1==0&&t<e}},61833:(t,e,n)=>{"use strict";n.d(e,{default:()=>a});var r=n(54523),i=n(49634),o=n(99313),u=n(82433);const a=function(t,e,n){if(!(0,u.default)(n))return!1;var a=typeof e;return!!("number"==a?(0,i.default)(n)&&(0,o.default)(e,n.length):"string"==a&&e in n)&&(0,r.default)(n[e],t)}},61070:(t,e,n)=>{"use strict";n.d(e,{default:()=>a});var r=n(56052),i=n(98111),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,u=/^\w*$/;const a=function(t,e){if((0,r.default)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,i.default)(t))||(u.test(t)||!o.test(t)||null!=e&&t in Object(e))}},5196:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=Object.prototype;const i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},92350:(t,e,n)=>{"use strict";n.d(e,{default:()=>a});var r=n(97889),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=i&&"object"==typeof module&&module&&!module.nodeType&&module,u=o&&o.exports===i&&r.default.process;const a=function(){try{var t=o&&o.require&&o.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(t){}}()},45635:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t,e){return function(n){return t(e(n))}}},99615:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(97889),i="object"==typeof self&&self&&self.Object===Object&&self;const o=r.default||i||Function("return this")()},13383:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(98111);const i=function(t){if("string"==typeof t||(0,r.default)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},65114:(t,e,n)=>{"use strict";n.d(e,{default:()=>i})
;var r=Function.prototype.toString;const i=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},90054:(t,e,n)=>{"use strict";n.d(e,{default:()=>K});var r=n(87593);const i=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t};var o=n(61572),u=n(52949),a=n(77251);const s=function(t,e){return t&&(0,u.default)(e,(0,a.default)(e),t)};var c=n(2960);const f=function(t,e){return t&&(0,u.default)(e,(0,c.default)(e),t)};var l=n(14054),d=n(32126),h=n(21578);const v=function(t,e){return(0,u.default)(t,(0,h.default)(t),e)};var p=n(18573),b=n(10964),g=n(69043);const y=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,p.default)(e,(0,h.default)(t)),t=(0,b.default)(t);return e}:g.default;const m=function(t,e){return(0,u.default)(t,y(t),e)};var w=n(38366),_=n(96909);const x=function(t){return(0,_.default)(t,c.default,y)};var j=n(81296),E=Object.prototype.hasOwnProperty;const S=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&E.call(t,"index")&&(n.index=t.index,n.input=t.input),n};var O=n(97990);const z=function(t,e){var n=e?(0,O.default)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)};var A=/\w*$/;const P=function(t){var e=new t.constructor(t.source,A.exec(t));return e.lastIndex=t.lastIndex,e};var R=n(66711),L=R.default?R.default.prototype:void 0,k=L?L.valueOf:void 0;const C=function(t){return k?Object(k.call(t)):{}};var B=n(11523);const M=function(t,e,n){var r=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,O.default)(t);case"[object Boolean]":case"[object Date]":return new r(+t);case"[object DataView]":return z(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,B.default)(t,n);case"[object Map]":case"[object Set]":return new r;case"[object Number]":case"[object String]":return new r(t);case"[object RegExp]":return P(t);case"[object Symbol]":return C(t)}};var T=n(85146),I=n(56052),N=n(32437),$=n(43888),F=n(82433),D=n(13795);const q=function(t){return(0,D.default)(t)&&"[object Set]"==(0,j.default)(t)};var U=n(5467),V=n(92350),W=V.default&&V.default.isSet;const H=W?(0,U.default)(W):q;var Z="[object Arguments]",Q="[object Function]",G="[object Object]",J={};J[Z]=J["[object Array]"]=J["[object ArrayBuffer]"]=J["[object DataView]"]=J["[object Boolean]"]=J["[object Date]"]=J["[object Float32Array]"]=J["[object Float64Array]"]=J["[object Int8Array]"]=J["[object Int16Array]"]=J["[object Int32Array]"]=J["[object Map]"]=J["[object Number]"]=J[G]=J["[object RegExp]"]=J["[object Set]"]=J["[object String]"]=J["[object Symbol]"]=J["[object Uint8Array]"]=J["[object Uint8ClampedArray]"]=J["[object Uint16Array]"]=J["[object Uint32Array]"]=!0,J["[object Error]"]=J[Q]=J["[object WeakMap]"]=!1;const Y=function t(e,n,u,h,p,b){var g,y=1&n,_=2&n,E=4&n;if(u&&(g=p?u(e,h,p,b):u(e)),void 0!==g)return g
;if(!(0,F.default)(e))return e;var O=(0,I.default)(e);if(O){if(g=S(e),!y)return(0,d.default)(e,g)}else{var z=(0,j.default)(e),A=z==Q||"[object GeneratorFunction]"==z;if((0,N.default)(e))return(0,l.default)(e,y);if(z==G||z==Z||A&&!p){if(g=_||A?{}:(0,T.default)(e),!y)return _?m(e,f(g,e)):v(e,s(g,e))}else{if(!J[z])return p?e:{};g=M(e,z,y)}}b||(b=new r.default);var P=b.get(e);if(P)return P;b.set(e,g),H(e)?e.forEach((function(r){g.add(t(r,n,u,r,e,b))})):(0,$.default)(e)&&e.forEach((function(r,i){g.set(i,t(r,n,u,i,e,b))}));var R=E?_?x:w.default:_?c.default:a.default,L=O?void 0:R(e);return i(L||e,(function(r,i){L&&(r=e[i=r]),(0,o.default)(g,i,t(r,n,u,i,e,b))})),g};const K=function(t){return Y(t,5)}},90484:(t,e,n)=>{"use strict";n.d(e,{default:()=>c});var r=n(82433),i=n(99615);const o=function(){return i.default.Date.now()};var u=n(78677),a=Math.max,s=Math.min;const c=function(t,e,n){var i,c,f,l,d,h,v=0,p=!1,b=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var n=i,r=c;return i=c=void 0,v=e,l=t.apply(r,n)}function m(t){var n=t-h;return void 0===h||n>=e||n<0||b&&t-v>=f}function w(){var t=o();if(m(t))return _(t);d=setTimeout(w,function(t){var n=e-(t-h);return b?s(n,f-(t-v)):n}(t))}function _(t){return d=void 0,g&&i?y(t):(i=c=void 0,l)}function x(){var t=o(),n=m(t);if(i=arguments,c=this,h=t,n){if(void 0===d)return function(t){return v=t,d=setTimeout(w,e),p?y(t):l}(h);if(b)return clearTimeout(d),d=setTimeout(w,e),y(h)}return void 0===d&&(d=setTimeout(w,e)),l}return e=(0,u.default)(e)||0,(0,r.default)(n)&&(p=!!n.leading,f=(b="maxWait"in n)?a((0,u.default)(n.maxWait)||0,e):f,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==d&&clearTimeout(d),v=0,i=h=c=d=void 0},x.flush=function(){return void 0===d?l:_(o())},x}},54523:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},68192:(t,e,n)=>{"use strict";n.d(e,{default:()=>l});var r=n(73748),i=n(49634),o=n(77251);const u=function(t){return function(e,n,u){var a=Object(e);if(!(0,i.default)(e)){var s=(0,r.default)(n,3);e=(0,o.default)(e),n=function(t){return s(a[t],t,a)}}var c=t(e,n,u);return c>-1?a[s?e[c]:c]:void 0}};const a=function(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1};var s=n(56882),c=Math.max,f=Math.min;const l=u((function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var o=i-1;return void 0!==n&&(o=(0,s.default)(n),o=n<0?c(i+o,0):f(o,i-1)),a(t,(0,r.default)(e,3),o,!0)}))},54029:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(49084);const i=function(t,e,n){var i=null==t?void 0:(0,r.default)(t,e);return void 0===i?n:i}},76402:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return t}},54404:(t,e,n)=>{"use strict";n.d(e,{default:()=>c});var r=n(89572),i=n(13795);const o=function(t){return(0,i.default)(t)&&"[object Arguments]"==(0,r.default)(t)};var u=Object.prototype,a=u.hasOwnProperty,s=u.propertyIsEnumerable;const c=o(function(){return arguments}())?o:function(t){return(0,
i.default)(t)&&a.call(t,"callee")&&!s.call(t,"callee")}},56052:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=Array.isArray},49634:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(88987),i=n(65743);const o=function(t){return null!=t&&(0,i.default)(t.length)&&!(0,r.default)(t)}},83350:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(89572),i=n(13795);const o=function(t){return!0===t||!1===t||(0,i.default)(t)&&"[object Boolean]"==(0,r.default)(t)}},32437:(t,e,n)=>{"use strict";n.d(e,{default:()=>s});var r=n(99615);const i=function(){return!1};var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,u=o&&"object"==typeof module&&module&&!module.nodeType&&module,a=u&&u.exports===o?r.default.Buffer:void 0;const s=(a?a.isBuffer:void 0)||i},15943:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});var r=n(89815),i=n(81296),o=n(54404),u=n(56052),a=n(49634),s=n(32437),c=n(5196),f=n(9125),l=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,a.default)(t)&&((0,u.default)(t)||"string"==typeof t||"function"==typeof t.splice||(0,s.default)(t)||(0,f.default)(t)||(0,o.default)(t)))return!t.length;var e=(0,i.default)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.default)(t))return!(0,r.default)(t).length;for(var n in t)if(l.call(t,n))return!1;return!0}},50279:(t,e,n)=>{"use strict";n.d(e,{default:()=>i});var r=n(12189);const i=function(t,e){return(0,r.default)(t,e)}},88987:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(89572),i=n(82433);const o=function(t){if(!(0,i.default)(t))return!1;var e=(0,r.default)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},65743:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},43888:(t,e,n)=>{"use strict";n.d(e,{default:()=>c});var r=n(81296),i=n(13795);const o=function(t){return(0,i.default)(t)&&"[object Map]"==(0,r.default)(t)};var u=n(5467),a=n(92350),s=a.default&&a.default.isMap;const c=s?(0,u.default)(s):o},63193:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return null==t}},69708:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(89572),i=n(13795);const o=function(t){return"number"==typeof t||(0,i.default)(t)&&"[object Number]"==(0,r.default)(t)}},82433:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},13795:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},83873:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(89572),i=n(56052),o=n(13795);const u=function(t){return"string"==typeof t||!(0,i.default)(t)&&(0,o.default)(t)&&"[object String]"==(0,r.default)(t)}},98111:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(89572),i=n(13795);const o=function(t){return"symbol"==typeof t||(0,i.default)(t)&&"[object Symbol]"==(0,r.default)(t)}},9125:(t,e,n)=>{"use strict";n.d(e,{default:()=>l})
;var r=n(89572),i=n(65743),o=n(13795),u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u["[object Arguments]"]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u["[object Function]"]=u["[object Map]"]=u["[object Number]"]=u["[object Object]"]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;const a=function(t){return(0,o.default)(t)&&(0,i.default)(t.length)&&!!u[(0,r.default)(t)]};var s=n(5467),c=n(92350),f=c.default&&c.default.isTypedArray;const l=f?(0,s.default)(f):a},77251:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(60545),i=n(89815),o=n(49634);const u=function(t){return(0,o.default)(t)?(0,r.default)(t):(0,i.default)(t)}},2960:(t,e,n)=>{"use strict";n.d(e,{default:()=>f});var r=n(60545),i=n(82433),o=n(5196);const u=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e};var a=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,i.default)(t))return u(t);var e=(0,o.default)(t),n=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&n.push(r);return n};var c=n(49634);const f=function(t){return(0,c.default)(t)?(0,r.default)(t,!0):s(t)}},82593:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},59332:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(75440);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var u=t.apply(this,r);return n.cache=o.set(i,u)||o,u};return n.cache=new(i.Cache||r.default),n}i.Cache=r.default;const o=i},16738:(t,e,n)=>{"use strict";n.d(e,{default:()=>H});var r=n(87593),i=n(857),o=n(54523);const u=function(t,e,n){(void 0!==n&&!(0,o.default)(t[e],n)||void 0===n&&!(e in t))&&(0,i.default)(t,e,n)};var a=n(76507),s=n(14054),c=n(11523),f=n(32126),l=n(85146),d=n(54404),h=n(56052),v=n(49634),p=n(13795);const b=function(t){return(0,p.default)(t)&&(0,v.default)(t)};var g=n(32437),y=n(88987),m=n(82433),w=n(89572),_=n(10964),x=Function.prototype,j=Object.prototype,E=x.toString,S=j.hasOwnProperty,O=E.call(Object);const z=function(t){if(!(0,p.default)(t)||"[object Object]"!=(0,w.default)(t))return!1;var e=(0,_.default)(t);if(null===e)return!0;var n=S.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&E.call(n)==O};var A=n(9125);const P=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var R=n(52949),L=n(2960);const k=function(t){return(0,R.default)(t,(0,L.default)(t))};const C=function(t,e,n,r,i,o,a){var v=P(t,n),p=P(e,n),w=a.get(p);if(w)u(t,n,w);else{var _=o?o(v,p,n+"",t,e,a):void 0,x=void 0===_;if(x){var j=(0,h.default)(p),E=!j&&(0,g.default)(p),S=!j&&!E&&(0,
A.default)(p);_=p,j||E||S?(0,h.default)(v)?_=v:b(v)?_=(0,f.default)(v):E?(x=!1,_=(0,s.default)(p,!0)):S?(x=!1,_=(0,c.default)(p,!0)):_=[]:z(p)||(0,d.default)(p)?(_=v,(0,d.default)(v)?_=k(v):(0,m.default)(v)&&!(0,y.default)(v)||(_=(0,l.default)(p))):x=!1}x&&(a.set(p,_),i(_,p,r,o,a),a.delete(p)),u(t,n,_)}};const B=function t(e,n,i,o,s){e!==n&&(0,a.default)(n,(function(a,c){if(s||(s=new r.default),(0,m.default)(a))C(e,n,c,i,t,o,s);else{var f=o?o(P(e,c),a,c+"",e,n,s):void 0;void 0===f&&(f=a),u(e,c,f)}}),L.default)};var M=n(76402);const T=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)};var I=Math.max;const N=function(t,e,n){return e=I(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=I(r.length-e,0),u=Array(o);++i<o;)u[i]=r[e+i];i=-1;for(var a=Array(e+1);++i<e;)a[i]=r[i];return a[e]=n(u),T(t,this,a)}};const $=function(t){return function(){return t}};var F=n(55136);const D=F.default?function(t,e){return(0,F.default)(t,"toString",{configurable:!0,enumerable:!1,value:$(e),writable:!0})}:M.default;var q=Date.now;const U=function(t){var e=0,n=0;return function(){var r=q(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(D);const V=function(t,e){return U(N(t,e,M.default),t+"")};var W=n(61833);const H=function(t){return V((function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&(0,W.default)(n[0],n[1],u)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var a=n[r];a&&t(e,a,r,o)}return e}))}((function(t,e,n){B(t,e,n)}))},81251:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(56882);const i=function(t,e){var n;if("function"!=typeof e)throw new TypeError("Expected a function");return t=(0,r.default)(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}};const o=function(t){return i(2,t)}},28569:(t,e,n)=>{"use strict";n.d(e,{default:()=>d});const r=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n};var i=n(76507),o=n(77251);const u=function(t,e){return t&&(0,i.default)(t,e,o.default)};var a=n(49634);const s=function(t,e){return function(n,r){if(null==n)return n;if(!(0,a.default)(n))return t(n,r);for(var i=n.length,o=e?i:-1,u=Object(n);(e?o--:++o<i)&&!1!==r(u[o],o,u););return n}}(u);var c=n(73748);const f=function(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n};var l=n(56052);const d=function(t,e,n){var i=(0,l.default)(t)?r:f,o=arguments.length<3;return i(t,(0,c.default)(e,4),n,o,s)}},47339:(t,e,n)=>{"use strict";n.d(e,{default:()=>c});var r=n(61572),i=n(31434),o=n(99313),u=n(82433),a=n(13383);const s=function(t,e,n,s){if(!(0,u.default)(t))return t;for(var c=-1,f=(e=(0,i.default)(e,t)).length,l=f-1,d=t;null!=d&&++c<f;){var h=(0,a.default)(e[c]),v=n;if("__proto__"===h||"constructor"===h||"prototype"===h)return t;if(c!=l){var p=d[h];void 0===(v=s?s(p,h,d):void 0)&&(v=(0,
u.default)(p)?p:(0,o.default)(e[c+1])?[]:{})}(0,r.default)(d,h,v),d=d[h]}return t};const c=function(t,e,n){return null==t?t:s(t,e,n)}},69043:(t,e,n)=>{"use strict";n.d(e,{default:()=>r});const r=function(){return[]}},20057:(t,e,n)=>{"use strict";n.d(e,{default:()=>o});var r=n(90484),i=n(82433);const o=function(t,e,n){var o=!0,u=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return(0,i.default)(n)&&(o="leading"in n?!!n.leading:o,u="trailing"in n?!!n.trailing:u),(0,r.default)(t,e,{leading:o,maxWait:e,trailing:u})}},56882:(t,e,n)=>{"use strict";n.d(e,{default:()=>u});var r=n(78677),i=1/0;const o=function(t){return t?(t=(0,r.default)(t))===i||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0};const u=function(t){var e=o(t),n=e%1;return e==e?n?e-n:e:0}},78677:(t,e,n)=>{"use strict";n.d(e,{default:()=>h});var r=/\s/;const i=function(t){for(var e=t.length;e--&&r.test(t.charAt(e)););return e};var o=/^\s+/;const u=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t};var a=n(82433),s=n(98111),c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,l=/^0o[0-7]+$/i,d=parseInt;const h=function(t){if("number"==typeof t)return t;if((0,s.default)(t))return NaN;if((0,a.default)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,a.default)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=u(t);var n=f.test(t);return n||l.test(t)?d(t.slice(2),n?2:8):c.test(t)?NaN:+t}},81960:(t,e,n)=>{"use strict";n.d(e,{default:()=>f});var r=n(31434),i=n(82593),o=n(49084),u=n(38459);const a=function(t,e){return e.length<2?t:(0,o.default)(t,(0,u.default)(e,0,-1))};var s=n(13383);const c=function(t,e){return e=(0,r.default)(e,t),null==(t=a(t,e))||delete t[(0,s.default)((0,i.default)(e))]};const f=function(t,e){return null==t||c(t,e)}}}]);