UNPKG

@fe-hl/shared

Version:

javascript常用工具库,支持typescript

6 lines 54.7 kB
/*! * @fe-hl/shared v1.0.6 * (c) 2022-2024 hl * Released under the MIT License. */ var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r={exports:{}};r.exports=function(){var t=1e3,r=6e4,e=36e5,n="millisecond",i="second",o="minute",u="hour",c="day",a="week",f="month",s="quarter",l="year",d="date",h="Invalid Date",v=/^(\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,p={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(t){var r=["th","st","nd","rd"],e=t%100;return"["+t+(r[(e-20)%10]||r[e]||r[0])+"]"}},y=function(t,r,e){var n=String(t);return!n||n.length>=r?t:""+Array(r+1-n.length).join(e)+t},b={s:y,z:function(t){var r=-t.utcOffset(),e=Math.abs(r),n=Math.floor(e/60),i=e%60;return(r<=0?"+":"-")+y(n,2,"0")+":"+y(i,2,"0")},m:function t(r,e){if(r.date()<e.date())return-t(e,r);var n=12*(e.year()-r.year())+(e.month()-r.month()),i=r.clone().add(n,f),o=e-i<0,u=r.clone().add(n+(o?-1:1),f);return+(-(n+(e-i)/(o?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:f,y:l,w:a,d:c,D:d,h:u,m:o,s:i,ms:n,Q:s}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m="en",w={};w[m]=p;var x="$isDayjsObject",S=function(t){return t instanceof D||!(!t||!t[x])},O=function t(r,e,n){var i;if(!r)return m;if("string"==typeof r){var o=r.toLowerCase();w[o]&&(i=o),e&&(w[o]=e,i=o);var u=r.split("-");if(!i&&u.length>1)return t(u[0])}else{var c=r.name;w[c]=r,i=c}return!n&&i&&(m=i),i||!n&&m},E=function(t,r){if(S(t))return t.clone();var e="object"==typeof r?r:{};return e.date=t,e.args=arguments,new D(e)},$=b;$.l=O,$.i=S,$.w=function(t,r){return E(t,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var D=function(){function p(t){this.$L=O(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[x]=!0}var y=p.prototype;return y.parse=function(t){this.$d=function(t){var r=t.date,e=t.utc;if(null===r)return new Date(NaN);if($.u(r))return new Date;if(r instanceof Date)return new Date(r);if("string"==typeof r&&!/Z$/i.test(r)){var n=r.match(v);if(n){var i=n[2]-1||0,o=(n[7]||"0").substring(0,3);return e?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,o)}}return new Date(r)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return $},y.isValid=function(){return!(this.$d.toString()===h)},y.isSame=function(t,r){var e=E(t);return this.startOf(r)<=e&&e<=this.endOf(r)},y.isAfter=function(t,r){return E(t)<this.startOf(r)},y.isBefore=function(t,r){return this.endOf(r)<E(t)},y.$g=function(t,r,e){return $.u(t)?this[r]:this.set(e,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,r){var e=this,n=!!$.u(r)||r,s=$.p(t),h=function(t,r){var i=$.w(e.$u?Date.UTC(e.$y,r,t):new Date(e.$y,r,t),e);return n?i:i.endOf(c)},v=function(t,r){return $.w(e.toDate()[t].apply(e.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(r)),e)},g=this.$W,p=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(s){case l:return n?h(1,0):h(31,11);case f:return n?h(1,p):h(0,p+1);case a:var m=this.$locale().weekStart||0,w=(g<m?g+7:g)-m;return h(n?y-w:y+(6-w),p);case c:case d:return v(b+"Hours",0);case u:return v(b+"Minutes",1);case o:return v(b+"Seconds",2);case i:return v(b+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,r){var e,a=$.p(t),s="set"+(this.$u?"UTC":""),h=(e={},e[c]=s+"Date",e[d]=s+"Date",e[f]=s+"Month",e[l]=s+"FullYear",e[u]=s+"Hours",e[o]=s+"Minutes",e[i]=s+"Seconds",e[n]=s+"Milliseconds",e)[a],v=a===c?this.$D+(r-this.$W):r;if(a===f||a===l){var g=this.clone().set(d,1);g.$d[h](v),g.init(),this.$d=g.set(d,Math.min(this.$D,g.daysInMonth())).$d}else h&&this.$d[h](v);return this.init(),this},y.set=function(t,r){return this.clone().$set(t,r)},y.get=function(t){return this[$.p(t)]()},y.add=function(n,s){var d,h=this;n=Number(n);var v=$.p(s),g=function(t){var r=E(h);return $.w(r.date(r.date()+Math.round(t*n)),h)};if(v===f)return this.set(f,this.$M+n);if(v===l)return this.set(l,this.$y+n);if(v===c)return g(1);if(v===a)return g(7);var p=(d={},d[o]=r,d[u]=e,d[i]=t,d)[v]||1,y=this.$d.getTime()+n*p;return $.w(y,this)},y.subtract=function(t,r){return this.add(-1*t,r)},y.format=function(t){var r=this,e=this.$locale();if(!this.isValid())return e.invalidDate||h;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=$.z(this),o=this.$H,u=this.$m,c=this.$M,a=e.weekdays,f=e.months,s=e.meridiem,l=function(t,e,i,o){return t&&(t[e]||t(r,n))||i[e].slice(0,o)},d=function(t){return $.s(o%12||12,t,"0")},v=s||function(t,r,e){var n=t<12?"AM":"PM";return e?n.toLowerCase():n};return n.replace(g,(function(t,n){return n||function(t){switch(t){case"YY":return String(r.$y).slice(-2);case"YYYY":return $.s(r.$y,4,"0");case"M":return c+1;case"MM":return $.s(c+1,2,"0");case"MMM":return l(e.monthsShort,c,f,3);case"MMMM":return l(f,c);case"D":return r.$D;case"DD":return $.s(r.$D,2,"0");case"d":return String(r.$W);case"dd":return l(e.weekdaysMin,r.$W,a,2);case"ddd":return l(e.weekdaysShort,r.$W,a,3);case"dddd":return a[r.$W];case"H":return String(o);case"HH":return $.s(o,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return v(o,u,!0);case"A":return v(o,u,!1);case"m":return String(u);case"mm":return $.s(u,2,"0");case"s":return String(r.$s);case"ss":return $.s(r.$s,2,"0");case"SSS":return $.s(r.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,d,h){var v,g=this,p=$.p(d),y=E(n),b=(y.utcOffset()-this.utcOffset())*r,m=this-y,w=function(){return $.m(g,y)};switch(p){case l:v=w()/12;break;case f:v=w();break;case s:v=w()/3;break;case a:v=(m-b)/6048e5;break;case c:v=(m-b)/864e5;break;case u:v=m/e;break;case o:v=m/r;break;case i:v=m/t;break;default:v=m}return h?v:$.a(v)},y.daysInMonth=function(){return this.endOf(f).$D},y.$locale=function(){return w[this.$L]},y.locale=function(t,r){if(!t)return this.$L;var e=this.clone(),n=O(t,r,!0);return n&&(e.$L=n),e},y.clone=function(){return $.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},p}(),M=D.prototype;return E.prototype=M,[["$ms",n],["$s",i],["$m",o],["$H",u],["$W",c],["$M",f],["$y",l],["$D",d]].forEach((function(t){M[t[1]]=function(r){return this.$g(r,t[0],t[1])}})),E.extend=function(t,r){return t.$i||(t(r,D,E),t.$i=!0),E},E.locale=O,E.isDayjs=S,E.unix=function(t){return E(1e3*t)},E.en=w[m],E.Ls=w,E.p={},E}();var e=r.exports,n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD";return e(t).format(r)},i=function(t){return e(t).valueOf()},o=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).add(t,"day").format(n)},u=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).subtract(t,"day").format(n)},c=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).add(t,"month").format(n)},a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).subtract(t,"month").format(n)},f=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).add(t,"years").format(n)},s=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"YYYY-MM-DD";return e(r).subtract(t,"years").format(n)},l=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(r).diff(e(t),"years")},d=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(r).diff(e(t),"month")},h=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(r).diff(e(t),"day")},v=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return e(r).diff(e(t),"hour")},g=function(t){return t&&t.Math===Math&&t},p=g("object"==typeof globalThis&&globalThis)||g("object"==typeof window&&window)||g("object"==typeof self&&self)||g("object"==typeof t&&t)||g("object"==typeof t&&t)||function(){return this}()||Function("return this")(),y={},b=function(t){try{return!!t()}catch(t){return!0}},m=!b((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),w=!b((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),x=w,S=Function.prototype.call,O=x?S.bind(S):function(){return S.apply(S,arguments)},E={},$={}.propertyIsEnumerable,D=Object.getOwnPropertyDescriptor,M=D&&!$.call({1:2},1);E.f=M?function(t){var r=D(this,t);return!!r&&r.enumerable}:$;var A,I,j=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},R=w,N=Function.prototype,P=N.call,T=R&&N.bind.bind(P,P),_=R?T:function(t){return function(){return P.apply(t,arguments)}},Y=_,F=Y({}.toString),k=Y("".slice),C=function(t){return k(F(t),8,-1)},L=b,U=C,H=Object,W=_("".split),q=L((function(){return!H("z").propertyIsEnumerable(0)}))?function(t){return"String"===U(t)?W(t,""):H(t)}:H,z=function(t){return null==t},G=z,K=TypeError,B=function(t){if(G(t))throw new K("Can't call method on "+t);return t},J=q,V=B,X=function(t){return J(V(t))},Q="object"==typeof document&&document.all,Z={all:Q,IS_HTMLDDA:void 0===Q&&void 0!==Q},tt=Z.all,rt=Z.IS_HTMLDDA?function(t){return"function"==typeof t||t===tt}:function(t){return"function"==typeof t},et=rt,nt=Z.all,it=Z.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:et(t)||t===nt}:function(t){return"object"==typeof t?null!==t:et(t)},ot=p,ut=rt,ct=function(t,r){return arguments.length<2?(e=ot[t],ut(e)?e:void 0):ot[t]&&ot[t][r];var e},at=_({}.isPrototypeOf),ft=p,st="undefined"!=typeof navigator&&String(navigator.userAgent)||"",lt=ft.process,dt=ft.Deno,ht=lt&&lt.versions||dt&&dt.version,vt=ht&&ht.v8;vt&&(I=(A=vt.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!I&&st&&(!(A=st.match(/Edge\/(\d+)/))||A[1]>=74)&&(A=st.match(/Chrome\/(\d+)/))&&(I=+A[1]);var gt=I,pt=gt,yt=b,bt=p.String,mt=!!Object.getOwnPropertySymbols&&!yt((function(){var t=Symbol("symbol detection");return!bt(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&pt&&pt<41})),wt=mt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,xt=ct,St=rt,Ot=at,Et=Object,$t=wt?function(t){return"symbol"==typeof t}:function(t){var r=xt("Symbol");return St(r)&&Ot(r.prototype,Et(t))},Dt=String,Mt=function(t){try{return Dt(t)}catch(t){return"Object"}},At=rt,It=Mt,jt=TypeError,Rt=function(t){if(At(t))return t;throw new jt(It(t)+" is not a function")},Nt=Rt,Pt=z,Tt=function(t,r){var e=t[r];return Pt(e)?void 0:Nt(e)},_t=O,Yt=rt,Ft=it,kt=TypeError,Ct={exports:{}},Lt=p,Ut=Object.defineProperty,Ht=function(t,r){try{Ut(Lt,t,{value:r,configurable:!0,writable:!0})}catch(e){Lt[t]=r}return r},Wt=Ht,qt="__core-js_shared__",zt=p[qt]||Wt(qt,{}),Gt=zt;(Ct.exports=function(t,r){return Gt[t]||(Gt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.33.3",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Kt=B,Bt=Object,Jt=function(t){return Bt(Kt(t))},Vt=Jt,Xt=_({}.hasOwnProperty),Qt=Object.hasOwn||function(t,r){return Xt(Vt(t),r)},Zt=_,tr=0,rr=Math.random(),er=Zt(1..toString),nr=function(t){return"Symbol("+(void 0===t?"":t)+")_"+er(++tr+rr,36)},ir=p,or=Ct.exports,ur=Qt,cr=nr,ar=mt,fr=wt,sr=ir.Symbol,lr=or("wks"),dr=fr?sr.for||sr:sr&&sr.withoutSetter||cr,hr=function(t){return ur(lr,t)||(lr[t]=ar&&ur(sr,t)?sr[t]:dr("Symbol."+t)),lr[t]},vr=O,gr=it,pr=$t,yr=Tt,br=function(t,r){var e,n;if("string"===r&&Yt(e=t.toString)&&!Ft(n=_t(e,t)))return n;if(Yt(e=t.valueOf)&&!Ft(n=_t(e,t)))return n;if("string"!==r&&Yt(e=t.toString)&&!Ft(n=_t(e,t)))return n;throw new kt("Can't convert object to primitive value")},mr=TypeError,wr=hr("toPrimitive"),xr=function(t,r){if(!gr(t)||pr(t))return t;var e,n=yr(t,wr);if(n){if(void 0===r&&(r="default"),e=vr(n,t,r),!gr(e)||pr(e))return e;throw new mr("Can't convert object to primitive value")}return void 0===r&&(r="number"),br(t,r)},Sr=xr,Or=$t,Er=function(t){var r=Sr(t,"string");return Or(r)?r:r+""},$r=it,Dr=p.document,Mr=$r(Dr)&&$r(Dr.createElement),Ar=function(t){return Mr?Dr.createElement(t):{}},Ir=Ar,jr=!m&&!b((function(){return 7!==Object.defineProperty(Ir("div"),"a",{get:function(){return 7}}).a})),Rr=m,Nr=O,Pr=E,Tr=j,_r=X,Yr=Er,Fr=Qt,kr=jr,Cr=Object.getOwnPropertyDescriptor;y.f=Rr?Cr:function(t,r){if(t=_r(t),r=Yr(r),kr)try{return Cr(t,r)}catch(t){}if(Fr(t,r))return Tr(!Nr(Pr.f,t,r),t[r])};var Lr={},Ur=m&&b((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Hr=it,Wr=String,qr=TypeError,zr=function(t){if(Hr(t))return t;throw new qr(Wr(t)+" is not an object")},Gr=m,Kr=jr,Br=Ur,Jr=zr,Vr=Er,Xr=TypeError,Qr=Object.defineProperty,Zr=Object.getOwnPropertyDescriptor,te="enumerable",re="configurable",ee="writable";Lr.f=Gr?Br?function(t,r,e){if(Jr(t),r=Vr(r),Jr(e),"function"==typeof t&&"prototype"===r&&"value"in e&&ee in e&&!e[ee]){var n=Zr(t,r);n&&n[ee]&&(t[r]=e.value,e={configurable:re in e?e[re]:n[re],enumerable:te in e?e[te]:n[te],writable:!1})}return Qr(t,r,e)}:Qr:function(t,r,e){if(Jr(t),r=Vr(r),Jr(e),Kr)try{return Qr(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new Xr("Accessors not supported");return"value"in e&&(t[r]=e.value),t};var ne=Lr,ie=j,oe=m?function(t,r,e){return ne.f(t,r,ie(1,e))}:function(t,r,e){return t[r]=e,t},ue={exports:{}},ce=m,ae=Qt,fe=Function.prototype,se=ce&&Object.getOwnPropertyDescriptor,le=ae(fe,"name"),de={EXISTS:le,PROPER:le&&"something"===function(){}.name,CONFIGURABLE:le&&(!ce||ce&&se(fe,"name").configurable)},he=rt,ve=zt,ge=_(Function.toString);he(ve.inspectSource)||(ve.inspectSource=function(t){return ge(t)});var pe,ye,be,me=ve.inspectSource,we=rt,xe=p.WeakMap,Se=we(xe)&&/native code/.test(String(xe)),Oe=Ct.exports,Ee=nr,$e=Oe("keys"),De=function(t){return $e[t]||($e[t]=Ee(t))},Me={},Ae=Se,Ie=p,je=it,Re=oe,Ne=Qt,Pe=zt,Te=De,_e=Me,Ye="Object already initialized",Fe=Ie.TypeError,ke=Ie.WeakMap;if(Ae||Pe.state){var Ce=Pe.state||(Pe.state=new ke);Ce.get=Ce.get,Ce.has=Ce.has,Ce.set=Ce.set,pe=function(t,r){if(Ce.has(t))throw new Fe(Ye);return r.facade=t,Ce.set(t,r),r},ye=function(t){return Ce.get(t)||{}},be=function(t){return Ce.has(t)}}else{var Le=Te("state");_e[Le]=!0,pe=function(t,r){if(Ne(t,Le))throw new Fe(Ye);return r.facade=t,Re(t,Le,r),r},ye=function(t){return Ne(t,Le)?t[Le]:{}},be=function(t){return Ne(t,Le)}}var Ue={set:pe,get:ye,has:be,enforce:function(t){return be(t)?ye(t):pe(t,{})},getterFor:function(t){return function(r){var e;if(!je(r)||(e=ye(r)).type!==t)throw new Fe("Incompatible receiver, "+t+" required");return e}}},He=_,We=b,qe=rt,ze=Qt,Ge=m,Ke=de.CONFIGURABLE,Be=me,Je=Ue.enforce,Ve=Ue.get,Xe=String,Qe=Object.defineProperty,Ze=He("".slice),tn=He("".replace),rn=He([].join),en=Ge&&!We((function(){return 8!==Qe((function(){}),"length",{value:8}).length})),nn=String(String).split("String"),on=ue.exports=function(t,r,e){"Symbol("===Ze(Xe(r),0,7)&&(r="["+tn(Xe(r),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!ze(t,"name")||Ke&&t.name!==r)&&(Ge?Qe(t,"name",{value:r,configurable:!0}):t.name=r),en&&e&&ze(e,"arity")&&t.length!==e.arity&&Qe(t,"length",{value:e.arity});try{e&&ze(e,"constructor")&&e.constructor?Ge&&Qe(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=Je(t);return ze(n,"source")||(n.source=rn(nn,"string"==typeof r?r:"")),t};Function.prototype.toString=on((function(){return qe(this)&&Ve(this).source||Be(this)}),"toString");var un=rt,cn=Lr,an=ue.exports,fn=Ht,sn=function(t,r,e,n){n||(n={});var i=n.enumerable,o=void 0!==n.name?n.name:r;if(un(e)&&an(e,o,n),n.global)i?t[r]=e:fn(r,e);else{try{n.unsafe?t[r]&&(i=!0):delete t[r]}catch(t){}i?t[r]=e:cn.f(t,r,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},ln={},dn=Math.ceil,hn=Math.floor,vn=Math.trunc||function(t){var r=+t;return(r>0?hn:dn)(r)},gn=function(t){var r=+t;return r!=r||0===r?0:vn(r)},pn=gn,yn=Math.max,bn=Math.min,mn=function(t,r){var e=pn(t);return e<0?yn(e+r,0):bn(e,r)},wn=gn,xn=Math.min,Sn=function(t){return t>0?xn(wn(t),9007199254740991):0},On=Sn,En=function(t){return On(t.length)},$n=X,Dn=mn,Mn=En,An=function(t){return function(r,e,n){var i,o=$n(r),u=Mn(o),c=Dn(n,u);if(t&&e!=e){for(;u>c;)if((i=o[c++])!=i)return!0}else for(;u>c;c++)if((t||c in o)&&o[c]===e)return t||c||0;return!t&&-1}},In={includes:An(!0),indexOf:An(!1)},jn=Qt,Rn=X,Nn=In.indexOf,Pn=Me,Tn=_([].push),_n=function(t,r){var e,n=Rn(t),i=0,o=[];for(e in n)!jn(Pn,e)&&jn(n,e)&&Tn(o,e);for(;r.length>i;)jn(n,e=r[i++])&&(~Nn(o,e)||Tn(o,e));return o},Yn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fn=_n,kn=Yn.concat("length","prototype");ln.f=Object.getOwnPropertyNames||function(t){return Fn(t,kn)};var Cn={};Cn.f=Object.getOwnPropertySymbols;var Ln=ct,Un=ln,Hn=Cn,Wn=zr,qn=_([].concat),zn=Ln("Reflect","ownKeys")||function(t){var r=Un.f(Wn(t)),e=Hn.f;return e?qn(r,e(t)):r},Gn=Qt,Kn=zn,Bn=y,Jn=Lr,Vn=b,Xn=rt,Qn=/#|\.prototype\./,Zn=function(t,r){var e=ri[ti(t)];return e===ni||e!==ei&&(Xn(r)?Vn(r):!!r)},ti=Zn.normalize=function(t){return String(t).replace(Qn,".").toLowerCase()},ri=Zn.data={},ei=Zn.NATIVE="N",ni=Zn.POLYFILL="P",ii=Zn,oi=p,ui=y.f,ci=oe,ai=sn,fi=Ht,si=function(t,r,e){for(var n=Kn(r),i=Jn.f,o=Bn.f,u=0;u<n.length;u++){var c=n[u];Gn(t,c)||e&&Gn(e,c)||i(t,c,o(r,c))}},li=ii,di=function(t,r){var e,n,i,o,u,c=t.target,a=t.global,f=t.stat;if(e=a?oi:f?oi[c]||fi(c,{}):(oi[c]||{}).prototype)for(n in r){if(o=r[n],i=t.dontCallGetSet?(u=ui(e,n))&&u.value:e[n],!li(a?n:c+(f?".":"#")+n,t.forced)&&void 0!==i){if(typeof o==typeof i)continue;si(o,i)}(t.sham||i&&i.sham)&&ci(o,"sham",!0),ai(e,n,o,t)}},hi=C,vi=Array.isArray||function(t){return"Array"===hi(t)},gi=TypeError,pi=Er,yi=Lr,bi=j,mi=function(t,r,e){var n=pi(r);n in t?yi.f(t,n,bi(0,e)):t[n]=e},wi={};wi[hr("toStringTag")]="z";var xi="[object z]"===String(wi),Si=xi,Oi=rt,Ei=C,$i=hr("toStringTag"),Di=Object,Mi="Arguments"===Ei(function(){return arguments}()),Ai=Si?Ei:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Di(t),$i))?e:Mi?Ei(r):"Object"===(n=Ei(r))&&Oi(r.callee)?"Arguments":n},Ii=_,ji=b,Ri=rt,Ni=Ai,Pi=me,Ti=function(){},_i=[],Yi=ct("Reflect","construct"),Fi=/^\s*(?:class|function)\b/,ki=Ii(Fi.exec),Ci=!Fi.test(Ti),Li=function(t){if(!Ri(t))return!1;try{return Yi(Ti,_i,t),!0}catch(t){return!1}},Ui=function(t){if(!Ri(t))return!1;switch(Ni(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ci||!!ki(Fi,Pi(t))}catch(t){return!0}};Ui.sham=!0;var Hi=!Yi||ji((function(){var t;return Li(Li.call)||!Li(Object)||!Li((function(){t=!0}))||t}))?Ui:Li,Wi=vi,qi=Hi,zi=it,Gi=hr("species"),Ki=Array,Bi=function(t){var r;return Wi(t)&&(r=t.constructor,(qi(r)&&(r===Ki||Wi(r.prototype))||zi(r)&&null===(r=r[Gi]))&&(r=void 0)),void 0===r?Ki:r},Ji=b,Vi=gt,Xi=hr("species"),Qi=function(t){return Vi>=51||!Ji((function(){var r=[];return(r.constructor={})[Xi]=function(){return{foo:1}},1!==r[t](Boolean).foo}))},Zi=di,to=b,ro=vi,eo=it,no=Jt,io=En,oo=function(t){if(t>9007199254740991)throw gi("Maximum allowed index exceeded");return t},uo=mi,co=function(t,r){return new(Bi(t))(0===r?0:r)},ao=Qi,fo=gt,so=hr("isConcatSpreadable"),lo=fo>=51||!to((function(){var t=[];return t[so]=!1,t.concat()[0]!==t})),ho=function(t){if(!eo(t))return!1;var r=t[so];return void 0!==r?!!r:ro(t)};Zi({target:"Array",proto:!0,arity:1,forced:!lo||!ao("concat")},{concat:function(t){var r,e,n,i,o,u=no(this),c=co(u,0),a=0;for(r=-1,n=arguments.length;r<n;r++)if(ho(o=-1===r?u:arguments[r]))for(i=io(o),oo(a+i),e=0;e<i;e++,a++)e in o&&uo(c,a,o[e]);else oo(a+1),uo(c,a++,o);return c.length=a,c}});var vo=_n,go=Yn,po=Object.keys||function(t){return vo(t,go)},yo=Jt,bo=po;di({target:"Object",stat:!0,forced:b((function(){bo(1)}))},{keys:function(t){return bo(yo(t))}});var mo,wo=w,xo=Function.prototype,So=xo.apply,Oo=xo.call,Eo="object"==typeof Reflect&&Reflect.apply||(wo?Oo.bind(So):function(){return Oo.apply(So,arguments)}),$o=_([].slice),Do=Ai,Mo=String,Ao=function(t){if("Symbol"===Do(t))throw new TypeError("Cannot convert a Symbol value to a string");return Mo(t)},Io=vi,jo=rt,Ro=C,No=Ao,Po=_([].push),To=di,_o=ct,Yo=Eo,Fo=O,ko=_,Co=b,Lo=rt,Uo=$t,Ho=$o,Wo=function(t){if(jo(t))return t;if(Io(t)){for(var r=t.length,e=[],n=0;n<r;n++){var i=t[n];"string"==typeof i?Po(e,i):"number"!=typeof i&&"Number"!==Ro(i)&&"String"!==Ro(i)||Po(e,No(i))}var o=e.length,u=!0;return function(t,r){if(u)return u=!1,r;if(Io(this))return r;for(var n=0;n<o;n++)if(e[n]===t)return r}}},qo=mt,zo=String,Go=_o("JSON","stringify"),Ko=ko(/./.exec),Bo=ko("".charAt),Jo=ko("".charCodeAt),Vo=ko("".replace),Xo=ko(1..toString),Qo=/[\uD800-\uDFFF]/g,Zo=/^[\uD800-\uDBFF]$/,tu=/^[\uDC00-\uDFFF]$/,ru=!qo||Co((function(){var t=_o("Symbol")("stringify detection");return"[null]"!==Go([t])||"{}"!==Go({a:t})||"{}"!==Go(Object(t))})),eu=Co((function(){return'"\\udf06\\ud834"'!==Go("\udf06\ud834")||'"\\udead"'!==Go("\udead")})),nu=function(t,r){var e=Ho(arguments),n=Wo(r);if(Lo(n)||void 0!==t&&!Uo(t))return e[1]=function(t,r){if(Lo(n)&&(r=Fo(n,this,zo(t),r)),!Uo(r))return r},Yo(Go,null,e)},iu=function(t,r,e){var n=Bo(e,r-1),i=Bo(e,r+1);return Ko(Zo,t)&&!Ko(tu,i)||Ko(tu,t)&&!Ko(Zo,n)?"\\u"+Xo(Jo(t,0),16):t};Go&&To({target:"JSON",stat:!0,arity:3,forced:ru||eu},{stringify:function(t,r,e){var n=Ho(arguments),i=Yo(ru?nu:Go,null,n);return eu&&"string"==typeof i?Vo(i,Qo,iu):i}}),function(t){t.LOCAL="localStorage",t.SESSION="sessionStorage"}(mo||(mo={}));var ou="STORAGE_",uu=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mo.SESSION,e=window[r].getItem("".concat(ou).concat(t));if(e)try{return JSON.parse(e)}catch(t){return e}return""},cu=function(t,r){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:mo.SESSION;r instanceof Object&&(r=JSON.stringify(r)),window[e].setItem("".concat(ou).concat(t),r)},au=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:mo.SESSION;window[r].removeItem("".concat(ou).concat(t))},fu=zr,su=function(){var t=fu(this),r="";return t.hasIndices&&(r+="d"),t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.unicodeSets&&(r+="v"),t.sticky&&(r+="y"),r},lu=b,du=p.RegExp,hu=lu((function(){var t=du("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),vu=hu||lu((function(){return!du("a","y").sticky})),gu=hu||lu((function(){var t=du("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),pu={BROKEN_CARET:gu,MISSED_STICKY:vu,UNSUPPORTED_Y:hu},yu={},bu=m,mu=Ur,wu=Lr,xu=zr,Su=X,Ou=po;yu.f=bu&&!mu?Object.defineProperties:function(t,r){xu(t);for(var e,n=Su(r),i=Ou(r),o=i.length,u=0;o>u;)wu.f(t,e=i[u++],n[e]);return t};var Eu,$u=ct("document","documentElement"),Du=zr,Mu=yu,Au=Yn,Iu=Me,ju=$u,Ru=Ar,Nu="prototype",Pu="script",Tu=De("IE_PROTO"),_u=function(){},Yu=function(t){return"<"+Pu+">"+t+"</"+Pu+">"},Fu=function(t){t.write(Yu("")),t.close();var r=t.parentWindow.Object;return t=null,r},ku=function(){try{Eu=new ActiveXObject("htmlfile")}catch(t){}var t,r,e;ku="undefined"!=typeof document?document.domain&&Eu?Fu(Eu):(r=Ru("iframe"),e="java"+Pu+":",r.style.display="none",ju.appendChild(r),r.src=String(e),(t=r.contentWindow.document).open(),t.write(Yu("document.F=Object")),t.close(),t.F):Fu(Eu);for(var n=Au.length;n--;)delete ku[Nu][Au[n]];return ku()};Iu[Tu]=!0;var Cu=Object.create||function(t,r){var e;return null!==t?(_u[Nu]=Du(t),e=new _u,_u[Nu]=null,e[Tu]=t):e=ku(),void 0===r?e:Mu.f(e,r)},Lu=b,Uu=p.RegExp,Hu=Lu((function(){var t=Uu(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Wu=b,qu=p.RegExp,zu=Wu((function(){var t=qu("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Gu=O,Ku=_,Bu=Ao,Ju=su,Vu=pu,Xu=Ct.exports,Qu=Cu,Zu=Ue.get,tc=Hu,rc=zu,ec=Xu("native-string-replace",String.prototype.replace),nc=RegExp.prototype.exec,ic=nc,oc=Ku("".charAt),uc=Ku("".indexOf),cc=Ku("".replace),ac=Ku("".slice),fc=function(){var t=/a/,r=/b*/g;return Gu(nc,t,"a"),Gu(nc,r,"a"),0!==t.lastIndex||0!==r.lastIndex}(),sc=Vu.BROKEN_CARET,lc=void 0!==/()??/.exec("")[1];(fc||lc||sc||tc||rc)&&(ic=function(t){var r,e,n,i,o,u,c,a=this,f=Zu(a),s=Bu(t),l=f.raw;if(l)return l.lastIndex=a.lastIndex,r=Gu(ic,l,s),a.lastIndex=l.lastIndex,r;var d=f.groups,h=sc&&a.sticky,v=Gu(Ju,a),g=a.source,p=0,y=s;if(h&&(v=cc(v,"y",""),-1===uc(v,"g")&&(v+="g"),y=ac(s,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==oc(s,a.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,p++),e=new RegExp("^(?:"+g+")",v)),lc&&(e=new RegExp("^"+g+"$(?!\\s)",v)),fc&&(n=a.lastIndex),i=Gu(nc,h?e:a,y),h?i?(i.input=ac(i.input,p),i[0]=ac(i[0],p),i.index=a.lastIndex,a.lastIndex+=i[0].length):a.lastIndex=0:fc&&i&&(a.lastIndex=a.global?i.index+i[0].length:n),lc&&i&&i.length>1&&Gu(ec,i[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&d)for(i.groups=u=Qu(null),o=0;o<d.length;o++)u[(c=d[o])[0]]=i[c[1]];return i});var dc=ic;di({target:"RegExp",proto:!0,forced:/./.exec!==dc},{exec:dc});var hc,vc,gc=di,pc=O,yc=rt,bc=zr,mc=Ao,wc=(hc=!1,(vc=/[ac]/).exec=function(){return hc=!0,/./.exec.apply(this,arguments)},!0===vc.test("abc")&&hc),xc=/./.test;gc({target:"RegExp",proto:!0,forced:!wc},{test:function(t){var r=bc(this),e=mc(t),n=r.exec;if(!yc(n))return pc(xc,r,e);var i=pc(n,r,e);return null!==i&&(bc(i),!0)}});var Sc=_,Oc=Rt,Ec=rt,$c=String,Dc=TypeError,Mc=function(t,r,e){try{return Sc(Oc(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}},Ac=zr,Ic=function(t){if("object"==typeof t||Ec(t))return t;throw new Dc("Can't set "+$c(t)+" as a prototype")},jc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Mc(Object.prototype,"__proto__","set"))(e,[]),r=e instanceof Array}catch(t){}return function(e,n){return Ac(e),Ic(n),r?t(e,n):e.__proto__=n,e}}():void 0),Rc=rt,Nc=it,Pc=jc,Tc=function(t,r,e){var n,i;return Pc&&Rc(n=r.constructor)&&n!==e&&Nc(i=n.prototype)&&i!==e.prototype&&Pc(t,i),t},_c=it,Yc=C,Fc=hr("match"),kc=function(t){var r;return _c(t)&&(void 0!==(r=t[Fc])?!!r:"RegExp"===Yc(t))},Cc=O,Lc=Qt,Uc=at,Hc=su,Wc=RegExp.prototype,qc=function(t){var r=t.flags;return void 0!==r||"flags"in Wc||Lc(t,"flags")||!Uc(Wc,t)?r:Cc(Hc,t)},zc=Lr.f,Gc=ue.exports,Kc=Lr,Bc=function(t,r,e){return e.get&&Gc(e.get,r,{getter:!0}),e.set&&Gc(e.set,r,{setter:!0}),Kc.f(t,r,e)},Jc=ct,Vc=Bc,Xc=m,Qc=hr("species"),Zc=m,ta=p,ra=_,ea=ii,na=Tc,ia=oe,oa=ln.f,ua=at,ca=kc,aa=Ao,fa=qc,sa=pu,la=function(t,r,e){e in t||zc(t,e,{configurable:!0,get:function(){return r[e]},set:function(t){r[e]=t}})},da=sn,ha=b,va=Qt,ga=Ue.enforce,pa=function(t){var r=Jc(t);Xc&&r&&!r[Qc]&&Vc(r,Qc,{configurable:!0,get:function(){return this}})},ya=Hu,ba=zu,ma=hr("match"),wa=ta.RegExp,xa=wa.prototype,Sa=ta.SyntaxError,Oa=ra(xa.exec),Ea=ra("".charAt),$a=ra("".replace),Da=ra("".indexOf),Ma=ra("".slice),Aa=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ia=/a/g,ja=/a/g,Ra=new wa(Ia)!==Ia,Na=sa.MISSED_STICKY,Pa=sa.UNSUPPORTED_Y,Ta=Zc&&(!Ra||Na||ya||ba||ha((function(){return ja[ma]=!1,wa(Ia)!==Ia||wa(ja)===ja||"/a/i"!==String(wa(Ia,"i"))})));if(ea("RegExp",Ta)){for(var _a=function(t,r){var e,n,i,o,u,c,a=ua(xa,this),f=ca(t),s=void 0===r,l=[],d=t;if(!a&&f&&s&&t.constructor===_a)return t;if((f||ua(xa,t))&&(t=t.source,s&&(r=fa(d))),t=void 0===t?"":aa(t),r=void 0===r?"":aa(r),d=t,ya&&"dotAll"in Ia&&(n=!!r&&Da(r,"s")>-1)&&(r=$a(r,/s/g,"")),e=r,Na&&"sticky"in Ia&&(i=!!r&&Da(r,"y")>-1)&&Pa&&(r=$a(r,/y/g,"")),ba&&(o=function(t){for(var r,e=t.length,n=0,i="",o=[],u={},c=!1,a=!1,f=0,s="";n<=e;n++){if("\\"===(r=Ea(t,n)))r+=Ea(t,++n);else if("]"===r)c=!1;else if(!c)switch(!0){case"["===r:c=!0;break;case"("===r:Oa(Aa,Ma(t,n+1))&&(n+=2,a=!0),i+=r,f++;continue;case">"===r&&a:if(""===s||va(u,s))throw new Sa("Invalid capture group name");u[s]=!0,o[o.length]=[s,f],a=!1,s="";continue}a?s+=r:i+=r}return[i,o]}(t),t=o[0],l=o[1]),u=na(wa(t,r),a?this:xa,_a),(n||i||l.length)&&(c=ga(u),n&&(c.dotAll=!0,c.raw=_a(function(t){for(var r,e=t.length,n=0,i="",o=!1;n<=e;n++)"\\"!==(r=Ea(t,n))?o||"."!==r?("["===r?o=!0:"]"===r&&(o=!1),i+=r):i+="[\\s\\S]":i+=r+Ea(t,++n);return i}(t),e)),i&&(c.sticky=!0),l.length&&(c.groups=l)),t!==d)try{ia(u,"source",""===d?"(?:)":d)}catch(t){}return u},Ya=oa(wa),Fa=0;Ya.length>Fa;)la(_a,wa,Ya[Fa++]);xa.constructor=_a,_a.prototype=xa,da(ta,"RegExp",_a,{constructor:!0})}pa("RegExp");var ka=m,Ca=Hu,La=C,Ua=Bc,Ha=Ue.get,Wa=RegExp.prototype,qa=TypeError;ka&&Ca&&Ua(Wa,"dotAll",{configurable:!0,get:function(){if(this!==Wa){if("RegExp"===La(this))return!!Ha(this).dotAll;throw new qa("Incompatible receiver, RegExp required")}}});var za=m,Ga=pu.MISSED_STICKY,Ka=C,Ba=Bc,Ja=Ue.get,Va=RegExp.prototype,Xa=TypeError;za&&Ga&&Ba(Va,"sticky",{configurable:!0,get:function(){if(this!==Va){if("RegExp"===Ka(this))return!!Ja(this).sticky;throw new Xa("Incompatible receiver, RegExp required")}}});var Qa=de.PROPER,Za=sn,tf=zr,rf=Ao,ef=b,nf=qc,of="toString",uf=RegExp.prototype[of],cf=ef((function(){return"/a/b"!==uf.call({source:"a",flags:"b"})})),af=Qa&&uf.name!==of;(cf||af)&&Za(RegExp.prototype,of,(function(){var t=tf(this);return"/"+rf(t.source)+"/"+rf(nf(t))}),{unsafe:!0});var ff=/^(1[3-9])\d{9}$/i,sf=function(t){return ff.test(t)},lf=function(){return new RegExp("^\\d{".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,"}$"))},df=function(t){return lf(arguments.length>1&&void 0!==arguments[1]?arguments[1]:6).test(t)},hf=/\D+/g,vf=function(t){return hf.test(t)},gf=/^(\d{6})(\d{4})(\d{2})(\d{2})(\d{2})(\d)(\d|X|x)$/,pf=function(t){return gf.test(t)},yf=/^[\w-]+(\.[\w-]+)*@[\w-]+(\.[\w-]+)+$/,bf=function(t){return yf.test(t)},mf=/^(0\d{2,3}-\d{7,8})(-\d{1,4})?$/,wf=function(t){return mf.test(t)},xf=/^(?:(http|https|ftp):\/\/)?((?:[\w]+\.)+[a-z0-9]+)((?:\/[^/?#]*)+)?(\?[^#]+)?(#.+)?$/i,Sf=function(t){return xf.test(t)},Of=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:17;return new RegExp("^[a-zA-Z]\\w{".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:5,",").concat(t,"}$"))},Ef=function(t){return Of(arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,arguments.length>2&&void 0!==arguments[2]?arguments[2]:17).test(t)},$f=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return new RegExp("^\\d+(\\.\\d{".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,",").concat(t,"})?$"))},Df=function(t){return $f(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2&&void 0!==arguments[2]?arguments[2]:2).test(t)},Mf=function(){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return new RegExp("^[\\u4E00-\\u9FA5]{".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,",").concat(t,"}$"))},Af=function(t){return Mf(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2&&void 0!==arguments[2]?arguments[2]:2).test(t)},If=Ai,jf=xi?{}.toString:function(){return"[object "+If(this)+"]"};xi||sn(Object.prototype,"toString",jf,{unsafe:!0});var Rf=Rt,Nf=Jt,Pf=q,Tf=En,_f=TypeError,Yf=function(t){return function(r,e,n,i){Rf(e);var o=Nf(r),u=Pf(o),c=Tf(o),a=t?c-1:0,f=t?-1:1;if(n<2)for(;;){if(a in u){i=u[a],a+=f;break}if(a+=f,t?a<0:c<=a)throw new _f("Reduce of empty array with no initial value")}for(;t?a>=0:c>a;a+=f)a in u&&(i=e(i,u[a],a,o));return i}},Ff={left:Yf(!1),right:Yf(!0)},kf=b,Cf=function(t,r){var e=[][t];return!!e&&kf((function(){e.call(null,r||function(){return 1},1)}))},Lf="process"===C(p.process),Uf=Ff.left;di({target:"Array",proto:!0,forced:!Lf&&gt>79&&gt<83||!Cf("reduce")},{reduce:function(t){var r=arguments.length;return Uf(this,t,r,r>1?arguments[1]:void 0)}});var Hf=_(1..valueOf),Wf=gn,qf=Ao,zf=B,Gf=RangeError,Kf=di,Bf=_,Jf=gn,Vf=Hf,Xf=function(t){var r=qf(zf(this)),e="",n=Wf(t);if(n<0||n===1/0)throw new Gf("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(r+=r))1&n&&(e+=r);return e},Qf=b,Zf=RangeError,ts=String,rs=Math.floor,es=Bf(Xf),ns=Bf("".slice),is=Bf(1..toFixed),os=function(t,r,e){return 0===r?e:r%2==1?os(t,r-1,e*t):os(t*t,r/2,e)},us=function(t,r,e){for(var n=-1,i=e;++n<6;)i+=r*t[n],t[n]=i%1e7,i=rs(i/1e7)},cs=function(t,r){for(var e=6,n=0;--e>=0;)n+=t[e],t[e]=rs(n/r),n=n%r*1e7},as=function(t){for(var r=6,e="";--r>=0;)if(""!==e||0===r||0!==t[r]){var n=ts(t[r]);e=""===e?n:e+es("0",7-n.length)+n}return e};Kf({target:"Number",proto:!0,forced:Qf((function(){return"0.000"!==is(8e-5,3)||"1"!==is(.9,0)||"1.25"!==is(1.255,2)||"1000000000000000128"!==is(0xde0b6b3a7640080,0)}))||!Qf((function(){is({})}))},{toFixed:function(t){var r,e,n,i,o=Vf(this),u=Jf(t),c=[0,0,0,0,0,0],a="",f="0";if(u<0||u>20)throw new Zf("Incorrect fraction digits");if(o!=o)return"NaN";if(o<=-1e21||o>=1e21)return ts(o);if(o<0&&(a="-",o=-o),o>1e-21)if(e=(r=function(t){for(var r=0,e=t;e>=4096;)r+=12,e/=4096;for(;e>=2;)r+=1,e/=2;return r}(o*os(2,69,1))-69)<0?o*os(2,-r,1):o/os(2,r,1),e*=4503599627370496,(r=52-r)>0){for(us(c,0,e),n=u;n>=7;)us(c,1e7,0),n-=7;for(us(c,os(10,n,1),0),n=r-1;n>=23;)cs(c,1<<23),n-=23;cs(c,1<<n),us(c,1,1),cs(c,2),f=as(c)}else us(c,0,e),us(c,1<<-r,0),f=as(c)+es("0",u);return f=u>0?a+((i=f.length)<=u?"0."+es("0",u-i)+f:ns(f,0,i-u)+"."+ns(f,i-u)):a+f}});var fs=p,ss="\t\n\v\f\r                 \u2028\u2029\ufeff",ls=B,ds=Ao,hs=ss,vs=_("".replace),gs=RegExp("^["+hs+"]+"),ps=RegExp("(^|[^"+hs+"])["+hs+"]+$"),ys=function(t){return function(r){var e=ds(ls(r));return 1&t&&(e=vs(e,gs,"")),2&t&&(e=vs(e,ps,"$1")),e}},bs={start:ys(1),end:ys(2),trim:ys(3)},ms=di,ws=m,xs=p,Ss=fs,Os=_,Es=ii,$s=Qt,Ds=Tc,Ms=at,As=$t,Is=xr,js=b,Rs=ln.f,Ns=y.f,Ps=Lr.f,Ts=Hf,_s=bs.trim,Ys="Number",Fs=xs[Ys];Ss[Ys];var ks=Fs.prototype,Cs=xs.TypeError,Ls=Os("".slice),Us=Os("".charCodeAt),Hs=function(t){var r,e,n,i,o,u,c,a,f=Is(t,"number");if(As(f))throw new Cs("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=_s(f),43===(r=Us(f,0))||45===r){if(88===(e=Us(f,2))||120===e)return NaN}else if(48===r){switch(Us(f,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+f}for(u=(o=Ls(f,2)).length,c=0;c<u;c++)if((a=Us(o,c))<48||a>i)return NaN;return parseInt(o,n)}return+f},Ws=Es(Ys,!Fs(" 0o1")||!Fs("0b1")||Fs("+0x1")),qs=function(t){var r,e=arguments.length<1?0:Fs(function(t){var r=Is(t,"number");return"bigint"==typeof r?r:Hs(r)}(t));return Ms(ks,r=this)&&js((function(){Ts(r)}))?Ds(Object(e),this,qs):e};qs.prototype=ks,Ws&&(ks.constructor=qs),ms({global:!0,constructor:!0,wrap:!0,forced:Ws},{Number:qs});Ws&&function(t,r){for(var e,n=ws?Rs(r):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)$s(r,e=n[i])&&!$s(t,e)&&Ps(t,e,Ns(r,e))}(Ss[Ys],Fs);var zs=di,Gs=q,Ks=X,Bs=Cf,Js=_([].join);zs({target:"Array",proto:!0,forced:Gs!==Object||!Bs("join",",")},{join:function(t){return Js(Ks(this),void 0===t?",":t)}});var Vs=Jt,Xs=mn,Qs=En,Zs=hr,tl=Cu,rl=Lr.f,el=Zs("unscopables"),nl=Array.prototype;void 0===nl[el]&&rl(nl,el,{configurable:!0,value:tl(null)});var il=function(t){nl[el][t]=!0},ol=function(t){for(var r=Vs(this),e=Qs(r),n=arguments.length,i=Xs(n>1?arguments[1]:void 0,e),o=n>2?arguments[2]:void 0,u=void 0===o?e:Xs(o,e);u>i;)r[i++]=t;return r},ul=il;di({target:"Array",proto:!0},{fill:ol}),ul("fill");var cl=1e6,al=1e6,fl="[big.js] ",sl=fl+"Invalid ",ll=sl+"decimal places",dl=sl+"rounding mode",hl=fl+"Division by zero",vl={},gl=void 0,pl=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function yl(t,r,e,n){var i=t.c;if(e===gl&&(e=t.constructor.RM),0!==e&&1!==e&&2!==e&&3!==e)throw Error(dl);if(r<1)n=3===e&&(n||!!i[0])||0===r&&(1===e&&i[0]>=5||2===e&&(i[0]>5||5===i[0]&&(n||i[1]!==gl))),i.length=1,n?(t.e=t.e-r+1,i[0]=1):i[0]=t.e=0;else if(r<i.length){if(n=1===e&&i[r]>=5||2===e&&(i[r]>5||5===i[r]&&(n||i[r+1]!==gl||1&i[r-1]))||3===e&&(n||!!i[0]),i.length=r,n)for(;++i[--r]>9;)if(i[r]=0,0===r){++t.e,i.unshift(1);break}for(r=i.length;!i[--r];)i.pop()}return t}function bl(t,r,e){var n=t.e,i=t.c.join(""),o=i.length;if(r)i=i.charAt(0)+(o>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;)i="0"+i;i="0."+i}else if(n>0)if(++n>o)for(n-=o;n--;)i+="0";else n<o&&(i=i.slice(0,n)+"."+i.slice(n));else o>1&&(i=i.charAt(0)+"."+i.slice(1));return t.s<0&&e?"-"+i:i}vl.abs=function(){var t=new this.constructor(this);return t.s=1,t},vl.cmp=function(t){var r,e=this,n=e.c,i=(t=new e.constructor(t)).c,o=e.s,u=t.s,c=e.e,a=t.e;if(!n[0]||!i[0])return n[0]?o:i[0]?-u:0;if(o!=u)return o;if(r=o<0,c!=a)return c>a^r?1:-1;for(u=(c=n.length)<(a=i.length)?c:a,o=-1;++o<u;)if(n[o]!=i[o])return n[o]>i[o]^r?1:-1;return c==a?0:c>a^r?1:-1},vl.div=function(t){var r=this,e=r.constructor,n=r.c,i=(t=new e(t)).c,o=r.s==t.s?1:-1,u=e.DP;if(u!==~~u||u<0||u>cl)throw Error(ll);if(!i[0])throw Error(hl);if(!n[0])return t.s=o,t.c=[t.e=0],t;var c,a,f,s,l,d=i.slice(),h=c=i.length,v=n.length,g=n.slice(0,c),p=g.length,y=t,b=y.c=[],m=0,w=u+(y.e=r.e-t.e)+1;for(y.s=o,o=w<0?0:w,d.unshift(0);p++<c;)g.push(0);do{for(f=0;f<10;f++){if(c!=(p=g.length))s=c>p?1:-1;else for(l=-1,s=0;++l<c;)if(i[l]!=g[l]){s=i[l]>g[l]?1:-1;break}if(!(s<0))break;for(a=p==c?i:d;p;){if(g[--p]<a[p]){for(l=p;l&&!g[--l];)g[l]=9;--g[l],g[p]+=10}g[p]-=a[p]}for(;!g[0];)g.shift()}b[m++]=s?f:++f,g[0]&&s?g[p]=n[h]||0:g=[n[h]]}while((h++<v||g[0]!==gl)&&o--);return b[0]||1==m||(b.shift(),y.e--,w--),m>w&&yl(y,w,e.RM,g[0]!==gl),y},vl.eq=function(t){return 0===this.cmp(t)},vl.gt=function(t){return this.cmp(t)>0},vl.gte=function(t){return this.cmp(t)>-1},vl.lt=function(t){return this.cmp(t)<0},vl.lte=function(t){return this.cmp(t)<1},vl.minus=vl.sub=function(t){var r,e,n,i,o=this,u=o.constructor,c=o.s,a=(t=new u(t)).s;if(c!=a)return t.s=-a,o.plus(t);var f=o.c.slice(),s=o.e,l=t.c,d=t.e;if(!f[0]||!l[0])return l[0]?t.s=-a:f[0]?t=new u(o):t.s=1,t;if(c=s-d){for((i=c<0)?(c=-c,n=f):(d=s,n=l),n.reverse(),a=c;a--;)n.push(0);n.reverse()}else for(e=((i=f.length<l.length)?f:l).length,c=a=0;a<e;a++)if(f[a]!=l[a]){i=f[a]<l[a];break}if(i&&(n=f,f=l,l=n,t.s=-t.s),(a=(e=l.length)-(r=f.length))>0)for(;a--;)f[r++]=0;for(a=r;e>c;){if(f[--e]<l[e]){for(r=e;r&&!f[--r];)f[r]=9;--f[r],f[e]+=10}f[e]-=l[e]}for(;0===f[--a];)f.pop();for(;0===f[0];)f.shift(),--d;return f[0]||(t.s=1,f=[d=0]),t.c=f,t.e=d,t},vl.mod=function(t){var r,e=this,n=e.constructor,i=e.s,o=(t=new n(t)).s;if(!t.c[0])throw Error(hl);return e.s=t.s=1,r=1==t.cmp(e),e.s=i,t.s=o,r?new n(e):(i=n.DP,o=n.RM,n.DP=n.RM=0,e=e.div(t),n.DP=i,n.RM=o,this.minus(e.times(t)))},vl.neg=function(){var t=new this.constructor(this);return t.s=-t.s,t},vl.plus=vl.add=function(t){var r,e,n,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,c=i.c,a=t.e,f=t.c;if(!c[0]||!f[0])return f[0]||(c[0]?t=new o(i):t.s=i.s),t;if(c=c.slice(),r=u-a){for(r>0?(a=u,n=f):(r=-r,n=c),n.reverse();r--;)n.push(0);n.reverse()}for(c.length-f.length<0&&(n=f,f=c,c=n),r=f.length,e=0;r;c[r]%=10)e=(c[--r]=c[r]+f[r]+e)/10|0;for(e&&(c.unshift(e),++a),r=c.length;0===c[--r];)c.pop();return t.c=c,t.e=a,t},vl.pow=function(t){var r=this,e=new r.constructor("1"),n=e,i=t<0;if(t!==~~t||t<-1e6||t>al)throw Error(sl+"exponent");for(i&&(t=-t);1&t&&(n=n.times(r)),t>>=1;)r=r.times(r);return i?e.div(n):n},vl.prec=function(t,r){if(t!==~~t||t<1||t>cl)throw Error(sl+"precision");return yl(new this.constructor(this),t,r)},vl.round=function(t,r){if(t===gl)t=0;else if(t!==~~t||t<-cl||t>cl)throw Error(ll);return yl(new this.constructor(this),t+this.e+1,r)},vl.sqrt=function(){var t,r,e,n=this,i=n.constructor,o=n.s,u=n.e,c=new i("0.5");if(!n.c[0])return new i(n);if(o<0)throw Error(fl+"No square root");0===(o=Math.sqrt(n+""))||o===1/0?((r=n.c.join("")).length+u&1||(r+="0"),u=((u+1)/2|0)-(u<0||1&u),t=new i(((o=Math.sqrt(r))==1/0?"5e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)):t=new i(o+""),u=t.e+(i.DP+=4);do{e=t,t=c.times(e.plus(n.div(e)))}while(e.c.slice(0,u).join("")!==t.c.slice(0,u).join(""));return yl(t,(i.DP-=4)+t.e+1,i.RM)},vl.times=vl.mul=function(t){var r,e=this,n=e.constructor,i=e.c,o=(t=new n(t)).c,u=i.length,c=o.length,a=e.e,f=t.e;if(t.s=e.s==t.s?1:-1,!i[0]||!o[0])return t.c=[t.e=0],t;for(t.e=a+f,u<c&&(r=i,i=o,o=r,f=u,u=c,c=f),r=new Array(f=u+c);f--;)r[f]=0;for(a=c;a--;){for(c=0,f=u+a;f>a;)c=r[f]+o[a]*i[f-a-1]+c,r[f--]=c%10,c=c/10|0;r[f]=c}for(c?++t.e:r.shift(),a=r.length;!r[--a];)r.pop();return t.c=r,t},vl.toExponential=function(t,r){var e=this,n=e.c[0];if(t!==gl){if(t!==~~t||t<0||t>cl)throw Error(ll);for(e=yl(new e.constructor(e),++t,r);e.c.length<t;)e.c.push(0)}return bl(e,!0,!!n)},vl.toFixed=function(t,r){var e=this,n=e.c[0];if(t!==gl){if(t!==~~t||t<0||t>cl)throw Error(ll);for(t=t+(e=yl(new e.constructor(e),t+e.e+1,r)).e+1;e.c.length<t;)e.c.push(0)}return bl(e,!1,!!n)},vl[Symbol.for("nodejs.util.inspect.custom")]=vl.toJSON=vl.toString=function(){var t=this,r=t.constructor;return bl(t,t.e<=r.NE||t.e>=r.PE,!!t.c[0])},vl.toNumber=function(){var t=Number(bl(this,!0,!0));if(!0===this.constructor.strict&&!this.eq(t.toString()))throw Error(fl+"Imprecise conversion");return t},vl.toPrecision=function(t,r){var e=this,n=e.constructor,i=e.c[0];if(t!==gl){if(t!==~~t||t<1||t>cl)throw Error(sl+"precision");for(e=yl(new n(e),t,r);e.c.length<t;)e.c.push(0)}return bl(e,t<=e.e||e.e<=n.NE||e.e>=n.PE,!!i)},vl.valueOf=function(){var t=this,r=t.constructor;if(!0===r.strict)throw Error(fl+"valueOf disallowed");return bl(t,t.e<=r.NE||t.e>=r.PE,!0)};var ml=function t(){function r(e){var n=this;if(!(n instanceof r))return e===gl?t():new r(e);if(e instanceof r)n.s=e.s,n.e=e.e,n.c=e.c.slice();else{if("string"!=typeof e){if(!0===r.strict&&"bigint"!=typeof e)throw TypeError(sl+"value");e=0===e&&1/e<0?"-0":String(e)}!function(t,r){var e,n,i;if(!pl.test(r))throw Error(sl+"number");t.s="-"==r.charAt(0)?(r=r.slice(1),-1):1,(e=r.indexOf("."))>-1&&(r=r.replace(".",""));(n=r.search(/e/i))>0?(e<0&&(e=n),e+=+r.slice(n+1),r=r.substring(0,n)):e<0&&(e=r.length);for(i=r.length,n=0;n<i&&"0"==r.charAt(n);)++n;if(n==i)t.c=[t.e=0];else{for(;i>0&&"0"==r.charAt(--i););for(t.e=e-n-1,t.c=[],e=0;n<=i;)t.c[e++]=+r.charAt(n++)}}(n,e)}n.constructor=r}return r.prototype=vl,r.DP=20,r.RM=1,r.NE=-7,r.PE=21,r.strict=false,r.roundDown=0,r.roundHalfUp=1,r.roundHalfEven=2,r.roundUp=3,r}(),wl=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.reduce((function(t,r){return new ml(t).plus(new ml(r))}),0).toString()},xl=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.reduce((function(t,r){return new ml(t).minus(new ml(r))})).toString()},Sl=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.reduce((function(t,r){return new ml(t).times(new ml(r))})).toString()},Ol=function(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return r.reduce((function(t,r){return new ml(t).div(new ml(r))})).toString()},El=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return new ml(t).round(r).toString()},$l=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Number(Ol(t,100)).toFixed(r)},Dl=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return Number(Sl(t,100)).toFixed(r)},Ml=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t?Number(Ol(t,1e4)).toFixed(r):r>0?"0."+new Array(r).fill(0).join(""):"0"},Al=p,Il=b,jl=Ao,Rl=bs.trim,Nl=ss,Pl=_("".charAt),Tl=Al.parseFloat,_l=Al.Symbol,Yl=_l&&_l.iterator,Fl=1/Tl(Nl+"-0")!=-1/0||Yl&&!Il((function(){Tl(Object(Yl))}))?function(t){var r=Rl(jl(t)),e=Tl(r);return 0===e&&"-"===Pl(r,0)?-0:e}:Tl;di({global:!0,forced:parseFloat!==Fl},{parseFloat:Fl});var kl=C,Cl=_,Ll=function(t){if("Function"===kl(t))return Cl(t)},Ul=sn,Hl=dc,Wl=b,ql=hr,zl=oe,Gl=ql("species"),Kl=RegExp.prototype,Bl=function(t,r,e,n){var i=ql(t),o=!Wl((function(){var r={};return r[i]=function(){return 7},7!==""[t](r)})),u=o&&!Wl((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[Gl]=function(){return e},e.flags="",e[i]=/./[i]),e.exec=function(){return r=!0,null},e[i](""),!r}));if(!o||!u||e){var c=Ll(/./[i]),a=r(i,""[t],(function(t,r,e,n,i){var u=Ll(t),a=r.exec;return a===Hl||a===Kl.exec?o&&!i?{done:!0,value:c(r,e,n)}:{done:!0,value:u(e,r,n)}:{done:!1}}));Ul(String.prototype,t,a[0]),Ul(Kl,i,a[1])}n&&zl(Kl[i],"sham",!0)},Jl=_,Vl=gn,Xl=Ao,Ql=B,Zl=Jl("".charAt),td=Jl("".charCodeAt),rd=Jl("".slice),ed=function(t){return function(r,e){var n,i,o=Xl(Ql(r)),u=Vl(e),c=o.length;return u<0||u>=c?t?"":void 0:(n=td(o,u))<55296||n>56319||u+1===c||(i=td(o,u+1))<56320||i>57343?t?Zl(o,u):n:t?rd(o,u,u+2):i-56320+(n-55296<<10)+65536}},nd={codeAt:ed(!1),charAt:ed(!0)}.charAt,id=function(t,r,e){return r+(e?nd(t,r).length:1)},od=_,ud=Jt,cd=Math.floor,ad=od("".charAt),fd=od("".replace),sd=od("".slice),ld=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,dd=/\$([$&'`]|\d{1,2})/g,hd=O,vd=zr,gd=rt,pd=C,yd=dc,bd=TypeError,md=function(t,r){var e=t.exec;if(gd(e)){var n=hd(e,t,r);return null!==n&&vd(n),n}if("RegExp"===pd(t))return hd(yd,t,r);throw new bd("RegExp#exec called on incompatible receiver")},wd=Eo,xd=O,Sd=_,Od=Bl,Ed=b,$d=zr,Dd=rt,Md=z,Ad=gn,Id=Sn,jd=Ao,Rd=B,Nd=id,Pd=Tt,Td=function(t,r,e,n,i,o){var u=e+t.length,c=n.length,a=dd;return void 0!==i&&(i=ud(i),a=ld),fd(o,a,(function(o,a){var f;switch(ad(a,0)){case"$":return"$";case"&":return t;case"`":return sd(r,0,e);case"'":return sd(r,u);case"<":f=i[sd(a,1,-1)];break;default:var s=+a;if(0===s)return o;if(s>c){var l=cd(s/10);return 0===l?o:l<=c?void 0===n[l-1]?ad(a,1):n[l-1]+ad(a,1):o}f=n[s-1]}return void 0===f?"":f}))},_d=md,Yd=hr("replace"),Fd=Math.max,kd=Math.min,Cd=Sd([].concat),Ld=Sd([].push),Ud=Sd("".indexOf),Hd=Sd("".slice),Wd="$0"==="a".replace(/./,"$0"),qd=!!/./[Yd]&&""===/./[Yd]("a","$0"),zd=!Ed((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));Od("replace",(function(t,r,e){var n=qd?"$":"$0";return[function(t,e){var n=Rd(this),i=Md(t)?void 0:Pd(t,Yd);return i?xd(i,t,n,e):xd(r,jd(n),t,e)},function(t,i){var o=$d(this),u=jd(t);if("string"==typeof i&&-1===Ud(i,n)&&-1===Ud(i,"$<")){var c=e(r,o,u,i);if(c.done)return c.value}var a=Dd(i);a||(i=jd(i));var f,s=o.global;s&&(f=o.unicode,o.lastIndex=0);for(var l,d=[];null!==(l=_d(o,u))&&(Ld(d,l),s);){""===jd(l[0])&&(o.lastIndex=Nd(u,Id(o.lastIndex),f))}for(var h,v="",g=0,p=0;p<d.length;p++){for(var y,b=jd((l=d[p])[0]),m=Fd(kd(Ad(l.index),u.length),0),w=[],x=1;x<l.length;x++)Ld(w,void 0===(h=l[x])?h:String(h));var S=l.groups;if(a){var O=Cd([b],w,m,u);void 0!==S&&Ld(O,S),y=jd(wd(i,void 0,O))}else y=Td(b,u,m,w,S,i);m>=g&&(v+=Hd(u,g,m)+y,g=m+b.length)}return v+Hd(u,g)}]}),!zd||!Wd||qd);var Gd=de.PROPER,Kd=b,Bd=ss,Jd=bs.trim;di({target:"String",proto:!0,forced:function(t){return Kd((function(){return!!Bd[t]()||"​…᠎"!=="​…᠎"[t]()||Gd&&Bd[t].name!==t}))}("trim")},{trim:function(){return Jd(this)}});var Vd=di,Xd=vi,Qd=Hi,Zd=it,th=mn,rh=En,eh=X,nh=mi,ih=hr,oh=$o,uh=Qi("slice"),ch=ih("species"),ah=Array,fh=Math.max;Vd({target:"Array",proto:!0,forced:!uh},{slice:function(t,r){var e,n,i,o=eh(this),u=rh(o),c=th(t,u),a=th(void 0===r?u:r,u);if(Xd(o)&&(e=o.constructor,(Qd(e)&&(e===ah||Xd(e.prototype))||Zd(e)&&null===(e=e[ch]))&&(e=void 0),e===ah||void 0===e))return oh(o,c,a);for(n=new(void 0===e?ah:e)(fh(a-c,0)),i=0;c<a;c++,i++)c in o&&nh(n,i,o[c]);return n.length=i,n}});var sh=In.includes,lh=il;di({target:"Array",proto:!0,forced:b((function(){return!Array(1).includes()}))},{includes:function(t){return sh(this,t,arguments.length>1?arguments[1]:void 0)}}),lh("includes");var dh=O,hh=zr,vh=z,gh=Sn,ph=Ao,yh=B,bh=Tt,mh=id,wh=md;Bl("match",(function(t,r,e){return[function(r){var e=yh(this),n=vh(r)?void 0:bh(r,t);return n?dh(n,r,e):new RegExp(r)[t](ph(e))},function(t){var n=hh(this),i=ph(t),o=e(r,n,i);if(o.done)return o.value;if(!n.global)return wh(n,i);var u=n.unicode;n.lastIndex=0;for(var c,a=[],f=0;null!==(c=wh(n,i));){var s=ph(c[0]);a[f]=s,""===s&&(n.lastIndex=mh(i,gh(n.lastIndex),u)),f++}return 0===f?null:a}]}));var xh=Hi,Sh=Mt,Oh=TypeError,Eh=zr,$h=function(t){if(xh(t))return t;throw new Oh(Sh(t)+" is not a constructor")},Dh=z,Mh=hr("species"),Ah=mn,Ih=En,jh=mi,Rh=Array,Nh=Math.max,Ph=Eo,Th=O,_h=_,Yh=Bl,Fh=zr,kh=z,Ch=kc,Lh=B,Uh=function(t,r){var e,n=Eh(t).constructor;return void 0===n||Dh(e=Eh(n)[Mh])?r:$h(e)},Hh=id,Wh=Sn,qh=Ao,zh=Tt,Gh=function(t,r,e){for(var n=Ih(t),i=Ah(r,n),o=Ah(void 0===e?n:e,n),u=Rh(Nh(o-i,0)),c=0;i<o;i++,c++)jh(u,c,t[i]);return u.length=c,u},Kh=md,Bh=dc,Jh=b,Vh=pu.UNSUPPORTED_Y,Xh=4294967295,Qh=Math.min,Zh=[].push,tv=_h(/./.exec),rv=_h(Zh),ev=_h("".slice),nv=!Jh((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"