-
-
Notifications
You must be signed in to change notification settings - Fork 994
Apply laravel 9 and laravel 10 upgrade guide #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @@ -0,0 +1 @@ | |||
| !function(){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(r){return r&&r.Math==Math&&r},e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||function(){return this}()||Function("return this")(),n={},o=function(r){try{return!!r()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!o((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),u=c,a=Function.prototype.call,f=u?a.bind(a):function(){return a.apply(a,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!l.call({1:2},1);s.f=y?function(r){var t=p(this,r);return!!t&&t.enumerable}:l;var d,h,v=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},g=c,m=Function.prototype,E=m.call,b=g&&m.bind.bind(E,E),O=g?b:function(r){return function(){return E.apply(r,arguments)}},w=O,A=w({}.toString),T=w("".slice),S=function(r){return T(A(r),8,-1)},R=o,I=S,_=Object,j=O("".split),P=R((function(){return!_("z").propertyIsEnumerable(0)}))?function(r){return"String"==I(r)?j(r,""):_(r)}:_,x=function(r){return null==r},C=x,L=TypeError,M=function(r){if(C(r))throw L("Can't call method on "+r);return r},D=P,N=M,k=function(r){return D(N(r))},U="object"==typeof document&&document.all,F={all:U,IS_HTMLDDA:void 0===U&&void 0!==U},W=F.all,V=F.IS_HTMLDDA?function(r){return"function"==typeof r||r===W}:function(r){return"function"==typeof r},z=V,B=F.all,Y=F.IS_HTMLDDA?function(r){return"object"==typeof r?null!==r:z(r)||r===B}:function(r){return"object"==typeof r?null!==r:z(r)},H=e,G=V,q=function(r,t){return arguments.length<2?(e=H[r],G(e)?e:void 0):H[r]&&H[r][t];var e},X=O({}.isPrototypeOf),Q=e,J="undefined"!=typeof navigator&&String(navigator.userAgent)||"",K=Q.process,Z=Q.Deno,$=K&&K.versions||Z&&Z.version,rr=$&&$.v8;rr&&(h=(d=rr.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!h&&J&&(!(d=J.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=J.match(/Chrome\/(\d+)/))&&(h=+d[1]);var tr=h,er=o,nr=!!Object.getOwnPropertySymbols&&!er((function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&tr&&tr<41})),or=nr&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ir=q,cr=V,ur=X,ar=Object,fr=or?function(r){return"symbol"==typeof r}:function(r){var t=ir("Symbol");return cr(t)&&ur(t.prototype,ar(r))},sr=String,lr=function(r){try{return sr(r)}catch(t){return"Object"}},pr=V,yr=lr,dr=TypeError,hr=function(r){if(pr(r))return r;throw dr(yr(r)+" is not a function")},vr=hr,gr=x,mr=f,Er=V,br=Y,Or=TypeError,wr={},Ar={get exports(){return wr},set exports(r){wr=r}},Tr=e,Sr=Object.defineProperty,Rr=function(r,t){try{Sr(Tr,r,{value:t,configurable:!0,writable:!0})}catch(e){Tr[r]=t}return t},Ir=Rr,_r="__core-js_shared__",jr=e[_r]||Ir(_r,{}),Pr=jr;(Ar.exports=function(r,t){return Pr[r]||(Pr[r]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var xr=M,Cr=Object,Lr=function(r){return Cr(xr(r))},Mr=Lr,Dr=O({}.hasOwnProperty),Nr=Object.hasOwn||function(r,t){return Dr(Mr(r),t)},kr=O,Ur=0,Fr=Math.random(),Wr=kr(1..toString),Vr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Wr(++Ur+Fr,36)},zr=wr,Br=Nr,Yr=Vr,Hr=nr,Gr=or,qr=e.Symbol,Xr=zr("wks"),Qr=Gr?qr.for||qr:qr&&qr.withoutSetter||Yr,Jr=function(r){return Br(Xr,r)||(Xr[r]=Hr&&Br(qr,r)?qr[r]:Qr("Symbol."+r)),Xr[r]},Kr=f,Zr=Y,$r=fr,rt=function(r,t){var e=r[t];return gr(e)?void 0:vr(e)},tt=function(r,t){var e,n;if("string"===t&&Er(e=r.toString)&&!br(n=mr(e,r)))return n;if(Er(e=r.valueOf)&&!br(n=mr(e,r)))return n;if("string"!==t&&Er(e=r.toString)&&!br(n=mr(e,r)))return n;throw Or("Can't convert object to primitive value")},et=TypeError,nt=Jr("toPrimitive"),ot=function(r,t){if(!Zr(r)||$r(r))return r;var e,n=rt(r,nt);if(n){if(void 0===t&&(t="default"),e=Kr(n,r,t),!Zr(e)||$r(e))return e;throw et("Can't convert object to primitive value")}return void 0===t&&(t="number"),tt(r,t)},it=ot,ct=fr,ut=function(r){var t=it(r,"string");return ct(t)?t:t+""},at=Y,ft=e.document,st=at(ft)&&at(ft.createElement),lt=function(r){return st?ft.createElement(r):{}},pt=lt,yt=!i&&!o((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),dt=i,ht=f,vt=s,gt=v,mt=k,Et=ut,bt=Nr,Ot=yt,wt=Object.getOwnPropertyDescriptor;n.f=dt?wt:function(r,t){if(r=mt(r),t=Et(t),Ot)try{return wt(r,t)}catch(e){}if(bt(r,t))return gt(!ht(vt.f,r,t),r[t])};var At={},Tt=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),St=Y,Rt=String,It=TypeError,_t=function(r){if(St(r))return r;throw It(Rt(r)+" is not an object")},jt=i,Pt=yt,xt=Tt,Ct=_t,Lt=ut,Mt=TypeError,Dt=Object.defineProperty,Nt=Object.getOwnPropertyDescriptor,kt="enumerable",Ut="configurable",Ft="writable";At.f=jt?xt?function(r,t,e){if(Ct(r),t=Lt(t),Ct(e),"function"==typeof r&&"prototype"===t&&"value"in e&&Ft in e&&!e[Ft]){var n=Nt(r,t);n&&n[Ft]&&(r[t]=e.value,e={configurable:Ut in e?e[Ut]:n[Ut],enumerable:kt in e?e[kt]:n[kt],writable:!1})}return Dt(r,t,e)}:Dt:function(r,t,e){if(Ct(r),t=Lt(t),Ct(e),Pt)try{return Dt(r,t,e)}catch(n){}if("get"in e||"set"in e)throw Mt("Accessors not supported");return"value"in e&&(r[t]=e.value),r};var Wt=At,Vt=v,zt=i?function(r,t,e){return Wt.f(r,t,Vt(1,e))}:function(r,t,e){return r[t]=e,r},Bt={},Yt={get exports(){return Bt},set exports(r){Bt=r}},Ht=i,Gt=Nr,qt=Function.prototype,Xt=Ht&&Object.getOwnPropertyDescriptor,Qt=Gt(qt,"name"),Jt={EXISTS:Qt,PROPER:Qt&&"something"===function(){}.name,CONFIGURABLE:Qt&&(!Ht||Ht&&Xt(qt,"name").configurable)},Kt=V,Zt=jr,$t=O(Function.toString);Kt(Zt.inspectSource)||(Zt.inspectSource=function(r){return $t(r)});var re,te,ee,ne=Zt.inspectSource,oe=V,ie=e.WeakMap,ce=oe(ie)&&/native code/.test(String(ie)),ue=Vr,ae=wr("keys"),fe=function(r){return ae[r]||(ae[r]=ue(r))},se={},le=ce,pe=e,ye=Y,de=zt,he=Nr,ve=jr,ge=fe,me=se,Ee="Object already initialized",be=pe.TypeError,Oe=pe.WeakMap;if(le||ve.state){var we=ve.state||(ve.state=new Oe);we.get=we.get,we.has=we.has,we.set=we.set,re=function(r,t){if(we.has(r))throw be(Ee);return t.facade=r,we.set(r,t),t},te=function(r){return we.get(r)||{}},ee=function(r){return we.has(r)}}else{var Ae=ge("state");me[Ae]=!0,re=function(r,t){if(he(r,Ae))throw be(Ee);return t.facade=r,de(r,Ae,t),t},te=function(r){return he(r,Ae)?r[Ae]:{}},ee=function(r){return he(r,Ae)}}var Te={set:re,get:te,has:ee,enforce:function(r){return ee(r)?te(r):re(r,{})},getterFor:function(r){return function(t){var e;if(!ye(t)||(e=te(t)).type!==r)throw be("Incompatible receiver, "+r+" required");return e}}},Se=O,Re=o,Ie=V,_e=Nr,je=i,Pe=Jt.CONFIGURABLE,xe=ne,Ce=Te.enforce,Le=Te.get,Me=String,De=Object.defineProperty,Ne=Se("".slice),ke=Se("".replace),Ue=Se([].join),Fe=je&&!Re((function(){return 8!==De((function(){}),"length",{value:8}).length})),We=String(String).split("String"),Ve=Yt.exports=function(r,t,e){"Symbol("===Ne(Me(t),0,7)&&(t="["+ke(Me(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!_e(r,"name")||Pe&&r.name!==t)&&(je?De(r,"name",{value:t,configurable:!0}):r.name=t),Fe&&e&&_e(e,"arity")&&r.length!==e.arity&&De(r,"length",{value:e.arity});try{e&&_e(e,"constructor")&&e.constructor?je&&De(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=Ce(r);return _e(n,"source")||(n.source=Ue(We,"string"==typeof t?t:"")),r};Function.prototype.toString=Ve((function(){return Ie(this)&&Le(this).source||xe(this)}),"toString");var ze=V,Be=At,Ye=Bt,He=Rr,Ge=function(r,t,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(ze(e)&&Ye(e,i,n),n.global)o?r[t]=e:He(t,e);else{try{n.unsafe?r[t]&&(o=!0):delete r[t]}catch(c){}o?r[t]=e:Be.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},qe={},Xe=Math.ceil,Qe=Math.floor,Je=Math.trunc||function(r){var t=+r;return(t>0?Qe:Xe)(t)},Ke=function(r){var t=+r;return t!=t||0===t?0:Je(t)},Ze=Ke,$e=Math.max,rn=Math.min,tn=Ke,en=Math.min,nn=function(r){return r>0?en(tn(r),9007199254740991):0},on=function(r){return nn(r.length)},cn=k,un=function(r,t){var e=Ze(r);return e<0?$e(e+t,0):rn(e,t)},an=on,fn=function(r){return function(t,e,n){var o,i=cn(t),c=an(i),u=un(n,c);if(r&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((r||u in i)&&i[u]===e)return r||u||0;return!r&&-1}},sn={includes:fn(!0),indexOf:fn(!1)},ln=Nr,pn=k,yn=sn.indexOf,dn=se,hn=O([].push),vn=function(r,t){var e,n=pn(r),o=0,i=[];for(e in n)!ln(dn,e)&&ln(n,e)&&hn(i,e);for(;t.length>o;)ln(n,e=t[o++])&&(~yn(i,e)||hn(i,e));return i},gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mn=vn,En=gn.concat("length","prototype");qe.f=Object.getOwnPropertyNames||function(r){return mn(r,En)};var bn={};bn.f=Object.getOwnPropertySymbols;var On=q,wn=qe,An=bn,Tn=_t,Sn=O([].concat),Rn=On("Reflect","ownKeys")||function(r){var t=wn.f(Tn(r)),e=An.f;return e?Sn(t,e(r)):t},In=Nr,_n=Rn,jn=n,Pn=At,xn=function(r,t,e){for(var n=_n(t),o=Pn.f,i=jn.f,c=0;c<n.length;c++){var u=n[c];In(r,u)||e&&In(e,u)||o(r,u,i(t,u))}},Cn=o,Ln=V,Mn=/#|\.prototype\./,Dn=function(r,t){var e=kn[Nn(r)];return e==Fn||e!=Un&&(Ln(t)?Cn(t):!!t)},Nn=Dn.normalize=function(r){return String(r).replace(Mn,".").toLowerCase()},kn=Dn.data={},Un=Dn.NATIVE="N",Fn=Dn.POLYFILL="P",Wn=Dn,Vn=e,zn=n.f,Bn=zt,Yn=Ge,Hn=Rr,Gn=xn,qn=Wn,Xn=function(r,t){var e,n,o,i,c,u=r.target,a=r.global,f=r.stat;if(e=a?Vn:f?Vn[u]||Hn(u,{}):(Vn[u]||{}).prototype)for(n in t){if(i=t[n],o=r.dontCallGetSet?(c=zn(e,n))&&c.value:e[n],!qn(a?n:u+(f?".":"#")+n,r.forced)&&void 0!==o){if(typeof i==typeof o)continue;Gn(i,o)}(r.sham||o&&o.sham)&&Bn(i,"sham",!0),Yn(e,n,i,r)}},Qn=S,Jn=i,Kn=Array.isArray||function(r){return"Array"==Qn(r)},Zn=TypeError,$n=Object.getOwnPropertyDescriptor,ro=Jn&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}()?function(r,t){if(Kn(r)&&!$n(r,"length").writable)throw Zn("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t},to=TypeError,eo=function(r){if(r>9007199254740991)throw to("Maximum allowed index exceeded");return r},no=Lr,oo=on,io=ro,co=eo;Xn({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var t=no(this),e=oo(t),n=arguments.length;co(e+n);for(var o=0;o<n;o++)t[e]=arguments[o],e++;return io(t,e),e}});var uo=lr,ao=TypeError,fo=Lr,so=on,lo=ro,po=function(r,t){if(!delete r[t])throw ao("Cannot delete property "+uo(t)+" of "+uo(r))},yo=eo;Xn({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(r){return r instanceof TypeError}}()},{unshift:function(r){var t=fo(this),e=so(t),n=arguments.length;if(n){yo(e+n);for(var o=e;o--;){var i=o+n;o in t?t[i]=t[o]:po(t,i)}for(var c=0;c<n;c++)t[c]=arguments[c]}return lo(t,e+n)}});var ho="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,vo={};vo[Jr("toStringTag")]="z";var go,mo,Eo,bo="[object z]"===String(vo),Oo=V,wo=S,Ao=Jr("toStringTag"),To=Object,So="Arguments"==wo(function(){return arguments}()),Ro=bo?wo:function(r){var t,e,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=To(r),Ao))?e:So?wo(t):"Object"==(n=wo(t))&&Oo(t.callee)?"Arguments":n},Io=Bt,_o=At,jo=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),Po=Nr,xo=V,Co=Lr,Lo=jo,Mo=fe("IE_PROTO"),Do=Object,No=Do.prototype,ko=Lo?Do.getPrototypeOf:function(r){var t=Co(r);if(Po(t,Mo))return t[Mo];var e=t.constructor;return xo(e)&&t instanceof e?e.prototype:t instanceof Do?No:null},Uo=O,Fo=hr,Wo=V,Vo=String,zo=TypeError,Bo=function(r,t,e){try{return Uo(Fo(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(n){}},Yo=_t,Ho=function(r){if("object"==typeof r||Wo(r))return r;throw zo("Can't set "+Vo(r)+" as a prototype")},Go=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=Bo(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(n){}return function(e,n){return Yo(e),Ho(n),t?r(e,n):e.__proto__=n,e}}():void 0),qo=ho,Xo=i,Qo=e,Jo=V,Ko=Y,Zo=Nr,$o=Ro,ri=lr,ti=zt,ei=Ge,ni=function(r,t,e){return e.get&&Io(e.get,t,{getter:!0}),e.set&&Io(e.set,t,{setter:!0}),_o.f(r,t,e)},oi=X,ii=ko,ci=Go,ui=Jr,ai=Vr,fi=Te.enforce,si=Te.get,li=Qo.Int8Array,pi=li&&li.prototype,yi=Qo.Uint8ClampedArray,di=yi&&yi.prototype,hi=li&&ii(li),vi=pi&&ii(pi),gi=Object.prototype,mi=Qo.TypeError,Ei=ui("toStringTag"),bi=ai("TYPED_ARRAY_TAG"),Oi="TypedArrayConstructor",wi=qo&&!!ci&&"Opera"!==$o(Qo.opera),Ai=!1,Ti={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Si={BigInt64Array:8,BigUint64Array:8},Ri=function(r){var t=ii(r);if(Ko(t)){var e=si(t);return e&&Zo(e,Oi)?e[Oi]:Ri(t)}},Ii=function(r){if(!Ko(r))return!1;var t=$o(r);return Zo(Ti,t)||Zo(Si,t)};for(go in Ti)(Eo=(mo=Qo[go])&&mo.prototype)?fi(Eo)[Oi]=mo:wi=!1;for(go in Si)(Eo=(mo=Qo[go])&&mo.prototype)&&(fi(Eo)[Oi]=mo);if((!wi||!Jo(hi)||hi===Function.prototype)&&(hi=function(){throw mi("Incorrect invocation")},wi))for(go in Ti)Qo[go]&&ci(Qo[go],hi);if((!wi||!vi||vi===gi)&&(vi=hi.prototype,wi))for(go in Ti)Qo[go]&&ci(Qo[go].prototype,vi);if(wi&&ii(di)!==vi&&ci(di,vi),Xo&&!Zo(vi,Ei))for(go in Ai=!0,ni(vi,Ei,{configurable:!0,get:function(){return Ko(this)?this[bi]:void 0}}),Ti)Qo[go]&&ti(Qo[go],bi,go);var _i={NATIVE_ARRAY_BUFFER_VIEWS:wi,TYPED_ARRAY_TAG:Ai&&bi,aTypedArray:function(r){if(Ii(r))return r;throw mi("Target is not a typed array")},aTypedArrayConstructor:function(r){if(Jo(r)&&(!ci||oi(hi,r)))return r;throw mi(ri(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(Xo){if(e)for(var o in Ti){var i=Qo[o];if(i&&Zo(i.prototype,r))try{delete i.prototype[r]}catch(c){try{i.prototype[r]=t}catch(u){}}}vi[r]&&!e||ei(vi,r,e?t:wi&&pi[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(Xo){if(ci){if(e)for(n in Ti)if((o=Qo[n])&&Zo(o,r))try{delete o[r]}catch(i){}if(hi[r]&&!e)return;try{return ei(hi,r,e?t:wi&&hi[r]||t)}catch(i){}}for(n in Ti)!(o=Qo[n])||o[r]&&!e||ei(o,r,t)}},getTypedArrayConstructor:Ri,isView:function(r){if(!Ko(r))return!1;var t=$o(r);return"DataView"===t||Zo(Ti,t)||Zo(Si,t)},isTypedArray:Ii,TypedArray:hi,TypedArrayPrototype:vi},ji=on,Pi=Ke,xi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("at",(function(r){var t=xi(this),e=ji(t),n=Pi(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:t[o]}));var Ci=S,Li=O,Mi=function(r){if("Function"===Ci(r))return Li(r)},Di=hr,Ni=c,ki=Mi(Mi.bind),Ui=function(r,t){return Di(r),void 0===t?r:Ni?ki(r,t):function(){return r.apply(t,arguments)}},Fi=P,Wi=Lr,Vi=on,zi=function(r){var t=1==r;return function(e,n,o){for(var i,c=Wi(e),u=Fi(c),a=Ui(n,o),f=Vi(u);f-- >0;)if(a(i=u[f],f,c))switch(r){case 0:return i;case 1:return f}return t?-1:void 0}},Bi={findLast:zi(0),findLastIndex:zi(1)},Yi=Bi.findLast,Hi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("findLast",(function(r){return Yi(Hi(this),r,arguments.length>1?arguments[1]:void 0)}));var Gi=Bi.findLastIndex,qi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("findLastIndex",(function(r){return Gi(qi(this),r,arguments.length>1?arguments[1]:void 0)}));var Xi=on,Qi=function(r,t){for(var e=Xi(r),n=new t(e),o=0;o<e;o++)n[o]=r[e-o-1];return n},Ji=_i.aTypedArray,Ki=_i.getTypedArrayConstructor;(0,_i.exportTypedArrayMethod)("toReversed",(function(){return Qi(Ji(this),Ki(this))}));var Zi=on,$i=hr,rc=function(r,t){for(var e=0,n=Zi(t),o=new r(n);n>e;)o[e]=t[e++];return o},tc=_i.aTypedArray,ec=_i.getTypedArrayConstructor,nc=_i.exportTypedArrayMethod,oc=O(_i.TypedArrayPrototype.sort);nc("toSorted",(function(r){void 0!==r&&$i(r);var t=tc(this),e=rc(ec(t),t);return oc(e,r)}));var ic=on,cc=Ke,uc=RangeError,ac=Ro,fc=ot,sc=TypeError,lc=function(r,t,e,n){var o=ic(r),i=cc(e),c=i<0?o+i:i;if(c>=o||c<0)throw uc("Incorrect index");for(var u=new t(o),a=0;a<o;a++)u[a]=a===c?n:r[a];return u},pc=function(r){var t=ac(r);return"BigInt64Array"==t||"BigUint64Array"==t},yc=Ke,dc=function(r){var t=fc(r,"number");if("number"==typeof t)throw sc("Can't convert number to bigint");return BigInt(t)},hc=_i.aTypedArray,vc=_i.getTypedArrayConstructor,gc=_i.exportTypedArrayMethod,mc=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}();gc("with",{with:function(r,t){var e=hc(this),n=yc(r),o=pc(e)?dc(t):+t;return lc(e,vc(e),n,o)}}.with,!mc);var Ec=c,bc=Function.prototype,Oc=bc.apply,wc=bc.call,Ac="object"==typeof Reflect&&Reflect.apply||(Ec?wc.bind(Oc):function(){return wc.apply(Oc,arguments)}),Tc=At.f,Sc=V,Rc=Y,Ic=Go,_c=function(r,t,e){var n,o;return Ic&&Sc(n=t.constructor)&&n!==e&&Rc(o=n.prototype)&&o!==e.prototype&&Ic(r,o),r},jc=Ro,Pc=String,xc=function(r){if("Symbol"===jc(r))throw TypeError("Cannot convert a Symbol value to a string");return Pc(r)},Cc=xc,Lc=function(r,t){return void 0===r?arguments.length<2?"":t:Cc(r)},Mc=Y,Dc=zt,Nc=Error,kc=O("".replace),Uc=String(Nc("zxcasd").stack),Fc=/\n\s*at [^:]*:[^\n]*/,Wc=Fc.test(Uc),Vc=function(r,t){if(Wc&&"string"==typeof r&&!Nc.prepareStackTrace)for(;t--;)r=kc(r,Fc,"");return r},zc=v,Bc=!o((function(){var r=Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",zc(1,7)),7!==r.stack)})),Yc=zt,Hc=Vc,Gc=Bc,qc=Error.captureStackTrace,Xc=q,Qc=Nr,Jc=zt,Kc=X,Zc=Go,$c=xn,ru=function(r,t,e){e in r||Tc(r,e,{configurable:!0,get:function(){return t[e]},set:function(r){t[e]=r}})},tu=_c,eu=Lc,nu=function(r,t){Mc(t)&&"cause"in t&&Dc(r,"cause",t.cause)},ou=function(r,t,e,n){Gc&&(qc?qc(r,t):Yc(r,"stack",Hc(e,n)))},iu=i,cu=Xn,uu=Ac,au=function(r,t,e,n){var o="stackTraceLimit",i=n?2:1,c=r.split("."),u=c[c.length-1],a=Xc.apply(null,c);if(a){var f=a.prototype;if(Qc(f,"cause")&&delete f.cause,!e)return a;var s=Xc("Error"),l=t((function(r,t){var e=eu(n?t:r,void 0),o=n?new a(r):new a;return void 0!==e&&Jc(o,"message",e),ou(o,l,o.stack,2),this&&Kc(f,this)&&tu(o,this,l),arguments.length>i&&nu(o,arguments[i]),o}));l.prototype=f,"Error"!==u?Zc?Zc(l,s):$c(l,s,{name:!0}):iu&&o in a&&(ru(l,a,o),ru(l,a,"prepareStackTrace")),$c(l,a);try{f.name!==u&&Jc(f,"name",u),f.constructor=l}catch(p){}return l}},fu="WebAssembly",su=e[fu],lu=7!==Error("e",{cause:7}).cause,pu=function(r,t){var e={};e[r]=au(r,t,lu),cu({global:!0,constructor:!0,arity:1,forced:lu},e)},yu=function(r,t){if(su&&su[r]){var e={};e[r]=au(fu+"."+r,t,lu),cu({target:fu,stat:!0,constructor:!0,arity:1,forced:lu},e)}};pu("Error",(function(r){return function(t){return uu(r,this,arguments)}})),pu("EvalError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("RangeError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("ReferenceError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("SyntaxError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("TypeError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("URIError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("CompileError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("LinkError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("RuntimeError",(function(r){return function(t){return uu(r,this,arguments)}}));var du=X,hu=TypeError,vu=Xn,gu=e,mu=q,Eu=v,bu=At.f,Ou=Nr,wu=function(r,t){if(du(t,r))return r;throw hu("Incorrect invocation")},Au=_c,Tu=Lc,Su={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Ru=Vc,Iu=i,_u="DOMException",ju=mu("Error"),Pu=mu(_u),xu=function(){wu(this,Cu);var r=arguments.length,t=Tu(r<1?void 0:arguments[0]),e=Tu(r<2?void 0:arguments[1],"Error"),n=new Pu(t,e),o=ju(t);return o.name=_u,bu(n,"stack",Eu(1,Ru(o.stack,1))),Au(n,this,xu),n},Cu=xu.prototype=Pu.prototype,Lu="stack"in ju(_u),Mu="stack"in new Pu(1,2),Du=Pu&&Iu&&Object.getOwnPropertyDescriptor(gu,_u),Nu=!(!Du||Du.writable&&Du.configurable),ku=Lu&&!Nu&&!Mu;vu({global:!0,constructor:!0,forced:ku},{DOMException:ku?xu:Pu});var Uu=mu(_u),Fu=Uu.prototype;if(Fu.constructor!==Uu)for(var Wu in bu(Fu,"constructor",Eu(1,Uu)),Su)if(Ou(Su,Wu)){var Vu=Su[Wu],zu=Vu.s;Ou(Uu,zu)||bu(Uu,zu,Eu(6,Vu.c))}var Bu={},Yu=vn,Hu=gn,Gu=Object.keys||function(r){return Yu(r,Hu)},qu=i,Xu=Tt,Qu=At,Ju=_t,Ku=k,Zu=Gu;Bu.f=qu&&!Xu?Object.defineProperties:function(r,t){Ju(r);for(var e,n=Ku(t),o=Zu(t),i=o.length,c=0;i>c;)Qu.f(r,e=o[c++],n[e]);return r};var $u,ra=q("document","documentElement"),ta=_t,ea=Bu,na=gn,oa=se,ia=ra,ca=lt,ua="prototype",aa="script",fa=fe("IE_PROTO"),sa=function(){},la=function(r){return"<"+aa+">"+r+"</"+aa+">"},pa=function(r){r.write(la("")),r.close();var t=r.parentWindow.Object;return r=null,t},ya=function(){try{$u=new ActiveXObject("htmlfile")}catch(o){}var r,t,e;ya="undefined"!=typeof document?document.domain&&$u?pa($u):(t=ca("iframe"),e="java"+aa+":",t.style.display="none",ia.appendChild(t),t.src=String(e),(r=t.contentWindow.document).open(),r.write(la("document.F=Object")),r.close(),r.F):pa($u);for(var n=na.length;n--;)delete ya[ua][na[n]];return ya()};oa[fa]=!0;var da=Jr,ha=Object.create||function(r,t){var e;return null!==r?(sa[ua]=ta(r),e=new sa,sa[ua]=null,e[fa]=r):e=ya(),void 0===t?e:ea.f(e,t)},va=At.f,ga=da("unscopables"),ma=Array.prototype;null==ma[ga]&&va(ma,ga,{configurable:!0,value:ha(null)});var Ea=function(r){ma[ga][r]=!0},ba=Lr,Oa=on,wa=Ke,Aa=Ea;Xn({target:"Array",proto:!0},{at:function(r){var t=ba(this),e=Oa(t),n=wa(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:t[o]}}),Aa("at");var Ta=Xn,Sa=M,Ra=Ke,Ia=xc,_a=o,ja=O("".charAt);Ta({target:"String",proto:!0,forced:_a((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(r){var t=Ia(Sa(this)),e=t.length,n=Ra(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:ja(t,o)}});var Pa=Bi.findLast,xa=Ea;Xn({target:"Array",proto:!0},{findLast:function(r){return Pa(this,r,arguments.length>1?arguments[1]:void 0)}}),xa("findLast");var Ca=Bi.findLastIndex,La=Ea;Xn({target:"Array",proto:!0},{findLastIndex:function(r){return Ca(this,r,arguments.length>1?arguments[1]:void 0)}}),La("findLastIndex"),function(){function t(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function e(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(T,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var e,n=t.slice(0,t.indexOf(":")+1);if(e="/"===t[n.length+1]?"file:"!==n?(e=t.slice(n.length+2)).slice(e.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===r[0])return t.slice(0,t.length-e.length-1)+r;for(var o=e.slice(0,e.lastIndexOf("/")+1)+r,i=[],c=-1,u=0;u<o.length;u++)-1!==c?"/"===o[u]&&(i.push(o.slice(c,u+1)),c=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:c=u:(i.pop(),u+=2):c=u;return-1!==c&&i.push(o.slice(c)),t.slice(0,t.length-e.length)+i.join("")}}function n(r,t){return e(r,t)||(-1!==r.indexOf(":")?r:e("./"+r,t))}function o(r,t,n,o,i){for(var c in r){var u=e(c,n)||c,s=r[c];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?t[u]=l:a("W1",c,s)}}}function i(r,t,e){var i;for(i in r.imports&&o(r.imports,e.imports,t,e,null),r.scopes||{}){var c=n(i,t);o(r.scopes[i],e.scopes[c]||(e.scopes[c]={}),t,e,c)}for(i in r.depcache||{})e.depcache[n(i,t)]=r.depcache[i];for(i in r.integrity||{})e.integrity[n(i,t)]=r.integrity[i]}function c(r,t){if(t[r])return r;var e=r.length;do{var n=r.slice(0,e+1);if(n in t)return n}while(-1!==(e=r.lastIndexOf("/",e-1)))}function u(r,t){var e=c(r,t);if(e){var n=t[e];if(null===n)return;if(!(r.length>e.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);a("W2",e,n)}}function a(r,e,n){console.warn(t(r,[n,e].join(", ")))}function f(r,t,e){for(var n=r.scopes,o=e&&c(e,n);o;){var i=u(t,n[o]);if(i)return i;o=c(o.slice(0,o.lastIndexOf("/")),n)}return u(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[R]={}}function l(r,e,n,o){var i=r[R][e];if(i)return i;var c=[],u=Object.create(null);S&&Object.defineProperty(u,S,{value:"Module"});var a=Promise.resolve().then((function(){return r.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(t(2,e));var o=n[1]((function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in u&&u[r]===t||(u[r]=t,e=!0);else{for(var n in r)t=r[n],n in u&&u[n]===t||(u[n]=t,e=!0);r&&r.__esModule&&(u.__esModule=r.__esModule)}if(e)for(var o=0;o<c.length;o++){var a=c[o];a&&a(u)}return t}),2===n[1].length?{import:function(t,n){return r.import(t,e,n)},meta:r.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(r){throw i.e=null,i.er=r,r})),f=a.then((function(t){return Promise.all(t[0].map((function(n,o){var i=t[1][o],c=t[2][o];return Promise.resolve(r.resolve(n,e)).then((function(t){var n=l(r,t,e,c);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(r){i.d=r}))}));return i=r[R][e]={id:e,i:c,n:u,m:o,I:a,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(r,t,e,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=e),Promise.all(t.d.map((function(t){return p(r,t,e,n)})))})).catch((function(r){if(t.er)throw r;throw t.e=null,r}))}function y(r,t){return t.C=p(r,t,t,{}).then((function(){return d(r,t,{})})).then((function(){return t.n}))}function d(r,t,e){function n(){try{var r=i.call(_);if(r)return r=r.then((function(){t.C=t.n,t.E=null}),(function(r){throw t.er=r,t.E=null,r})),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}if(!e[t.id]){if(e[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o,i=t.e;return t.e=null,t.d.forEach((function(n){try{var i=d(r,n,e);i&&(o=o||[]).push(i)}catch(u){throw t.er=u,u}})),o?Promise.all(o).then(n):n()}}function h(){[].forEach.call(document.querySelectorAll("script"),(function(r){if(!r.sp)if("systemjs-module"===r.type){if(r.sp=!0,!r.src)return;System.import("import:"===r.src.slice(0,7)?r.src.slice(7):n(r.src,v)).catch((function(t){if(t.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),r.dispatchEvent(e)}return Promise.reject(t)}))}else if("systemjs-importmap"===r.type){r.sp=!0;var e=r.src?(System.fetch||fetch)(r.src,{integrity:r.integrity,passThrough:!0}).then((function(r){if(!r.ok)throw Error(r.status);return r.text()})).catch((function(e){return e.message=t("W4",r.src)+"\n"+e.message,console.warn(e),"function"==typeof r.onerror&&r.onerror(),"{}"})):r.innerHTML;x=x.then((function(){return e})).then((function(e){!function(r,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(t("W5")))}i(o,n,r)}(C,e,r.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,m="undefined"!=typeof self,E="undefined"!=typeof document,b=m?self:r;if(E){var O=document.querySelector("base[href]");O&&(v=O.href)}if(!v&&"undefined"!=typeof location){var w=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(v=v.slice(0,w+1))}var A,T=/\\/g,S=g&&Symbol.toStringTag,R=g?Symbol():"@",I=s.prototype;I.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(r,t,e)})).then((function(r){var t=l(n,r,void 0,e);return t.C||y(n,t)}))},I.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},I.register=function(r,t,e){A=[r,t,e]},I.getRegister=function(){var r=A;return A=void 0,r};var _=Object.freeze(Object.create(null));b.System=new s;var j,P,x=Promise.resolve(),C={imports:{},scopes:{},depcache:{},integrity:{}},L=E;if(I.prepareImport=function(r){return(L||r)&&(h(),L=!1),x},E&&(h(),window.addEventListener("DOMContentLoaded",h)),I.addImportMap=function(r,t){i(r,t||v,C)},E){window.addEventListener("error",(function(r){D=r.filename,N=r.error}));var M=location.origin}I.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(M+"/")&&(t.crossOrigin="anonymous");var e=C.integrity[r];return e&&(t.integrity=e),t.src=r,t};var D,N,k={},U=I.register;I.register=function(r,t){if(E&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){j=r;var o=this;P=setTimeout((function(){k[n.src]=[r,t],o.import(n.src)}))}}else j=void 0;return U.call(this,r,t)},I.instantiate=function(r,e){var n=k[r];if(n)return delete k[r],n;var o=this;return Promise.resolve(I.createScript(r)).then((function(n){return new Promise((function(i,c){n.addEventListener("error",(function(){c(Error(t(3,[r,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),D===r)c(N);else{var t=o.getRegister(r);t&&t[0]===j&&clearTimeout(P),i(t)}})),document.head.appendChild(n)}))}))},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var F=I.instantiate,W=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(r,e,n){var o=this;return this.shouldFetch(r,e,n)?this.fetch(r,{credentials:"same-origin",integrity:C.integrity[r],meta:n}).then((function(n){if(!n.ok)throw Error(t(7,[n.status,n.statusText,r,e].join(", ")));var i=n.headers.get("content-type");if(!i||!W.test(i))throw Error(t(4,i));return n.text().then((function(t){return t.indexOf("//# sourceURL=")<0&&(t+="\n//# sourceURL="+r),(0,eval)(t),o.getRegister(r)}))})):F.apply(this,arguments)},I.resolve=function(r,n){return f(C,e(r,n=n||v)||r,n)||function(r,e){throw Error(t(8,[r,e].join(", ")))}(r,n)};var V=I.instantiate;I.instantiate=function(r,t,e){var n=C.depcache[r];if(n)for(var o=0;o<n.length;o++)l(this,this.resolve(n[o],r),r);return V.call(this,r,t,e)},m&&"function"==typeof importScripts&&(I.instantiate=function(r){var t=this;return Promise.resolve().then((function(){return importScripts(r),t.getRegister(r)}))})}()}(); | |||
Check warning
Code scanning / CodeQL
Prototype-polluting function
| @@ -0,0 +1 @@ | |||
| !function(){"use strict";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=function(r){return r&&r.Math==Math&&r},e=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof r&&r)||function(){return this}()||Function("return this")(),n={},o=function(r){try{return!!r()}catch(t){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!o((function(){var r=function(){}.bind();return"function"!=typeof r||r.hasOwnProperty("prototype")})),u=c,a=Function.prototype.call,f=u?a.bind(a):function(){return a.apply(a,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!l.call({1:2},1);s.f=y?function(r){var t=p(this,r);return!!t&&t.enumerable}:l;var d,h,v=function(r,t){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:t}},g=c,m=Function.prototype,E=m.call,b=g&&m.bind.bind(E,E),O=g?b:function(r){return function(){return E.apply(r,arguments)}},w=O,A=w({}.toString),T=w("".slice),S=function(r){return T(A(r),8,-1)},R=o,I=S,_=Object,j=O("".split),P=R((function(){return!_("z").propertyIsEnumerable(0)}))?function(r){return"String"==I(r)?j(r,""):_(r)}:_,x=function(r){return null==r},C=x,L=TypeError,M=function(r){if(C(r))throw L("Can't call method on "+r);return r},D=P,N=M,k=function(r){return D(N(r))},U="object"==typeof document&&document.all,F={all:U,IS_HTMLDDA:void 0===U&&void 0!==U},W=F.all,V=F.IS_HTMLDDA?function(r){return"function"==typeof r||r===W}:function(r){return"function"==typeof r},z=V,B=F.all,Y=F.IS_HTMLDDA?function(r){return"object"==typeof r?null!==r:z(r)||r===B}:function(r){return"object"==typeof r?null!==r:z(r)},H=e,G=V,q=function(r,t){return arguments.length<2?(e=H[r],G(e)?e:void 0):H[r]&&H[r][t];var e},X=O({}.isPrototypeOf),Q=e,J="undefined"!=typeof navigator&&String(navigator.userAgent)||"",K=Q.process,Z=Q.Deno,$=K&&K.versions||Z&&Z.version,rr=$&&$.v8;rr&&(h=(d=rr.split("."))[0]>0&&d[0]<4?1:+(d[0]+d[1])),!h&&J&&(!(d=J.match(/Edge\/(\d+)/))||d[1]>=74)&&(d=J.match(/Chrome\/(\d+)/))&&(h=+d[1]);var tr=h,er=o,nr=!!Object.getOwnPropertySymbols&&!er((function(){var r=Symbol();return!String(r)||!(Object(r)instanceof Symbol)||!Symbol.sham&&tr&&tr<41})),or=nr&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ir=q,cr=V,ur=X,ar=Object,fr=or?function(r){return"symbol"==typeof r}:function(r){var t=ir("Symbol");return cr(t)&&ur(t.prototype,ar(r))},sr=String,lr=function(r){try{return sr(r)}catch(t){return"Object"}},pr=V,yr=lr,dr=TypeError,hr=function(r){if(pr(r))return r;throw dr(yr(r)+" is not a function")},vr=hr,gr=x,mr=f,Er=V,br=Y,Or=TypeError,wr={},Ar={get exports(){return wr},set exports(r){wr=r}},Tr=e,Sr=Object.defineProperty,Rr=function(r,t){try{Sr(Tr,r,{value:t,configurable:!0,writable:!0})}catch(e){Tr[r]=t}return t},Ir=Rr,_r="__core-js_shared__",jr=e[_r]||Ir(_r,{}),Pr=jr;(Ar.exports=function(r,t){return Pr[r]||(Pr[r]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.1",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE",source:"https://github.com/zloirock/core-js"});var xr=M,Cr=Object,Lr=function(r){return Cr(xr(r))},Mr=Lr,Dr=O({}.hasOwnProperty),Nr=Object.hasOwn||function(r,t){return Dr(Mr(r),t)},kr=O,Ur=0,Fr=Math.random(),Wr=kr(1..toString),Vr=function(r){return"Symbol("+(void 0===r?"":r)+")_"+Wr(++Ur+Fr,36)},zr=wr,Br=Nr,Yr=Vr,Hr=nr,Gr=or,qr=e.Symbol,Xr=zr("wks"),Qr=Gr?qr.for||qr:qr&&qr.withoutSetter||Yr,Jr=function(r){return Br(Xr,r)||(Xr[r]=Hr&&Br(qr,r)?qr[r]:Qr("Symbol."+r)),Xr[r]},Kr=f,Zr=Y,$r=fr,rt=function(r,t){var e=r[t];return gr(e)?void 0:vr(e)},tt=function(r,t){var e,n;if("string"===t&&Er(e=r.toString)&&!br(n=mr(e,r)))return n;if(Er(e=r.valueOf)&&!br(n=mr(e,r)))return n;if("string"!==t&&Er(e=r.toString)&&!br(n=mr(e,r)))return n;throw Or("Can't convert object to primitive value")},et=TypeError,nt=Jr("toPrimitive"),ot=function(r,t){if(!Zr(r)||$r(r))return r;var e,n=rt(r,nt);if(n){if(void 0===t&&(t="default"),e=Kr(n,r,t),!Zr(e)||$r(e))return e;throw et("Can't convert object to primitive value")}return void 0===t&&(t="number"),tt(r,t)},it=ot,ct=fr,ut=function(r){var t=it(r,"string");return ct(t)?t:t+""},at=Y,ft=e.document,st=at(ft)&&at(ft.createElement),lt=function(r){return st?ft.createElement(r):{}},pt=lt,yt=!i&&!o((function(){return 7!=Object.defineProperty(pt("div"),"a",{get:function(){return 7}}).a})),dt=i,ht=f,vt=s,gt=v,mt=k,Et=ut,bt=Nr,Ot=yt,wt=Object.getOwnPropertyDescriptor;n.f=dt?wt:function(r,t){if(r=mt(r),t=Et(t),Ot)try{return wt(r,t)}catch(e){}if(bt(r,t))return gt(!ht(vt.f,r,t),r[t])};var At={},Tt=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),St=Y,Rt=String,It=TypeError,_t=function(r){if(St(r))return r;throw It(Rt(r)+" is not an object")},jt=i,Pt=yt,xt=Tt,Ct=_t,Lt=ut,Mt=TypeError,Dt=Object.defineProperty,Nt=Object.getOwnPropertyDescriptor,kt="enumerable",Ut="configurable",Ft="writable";At.f=jt?xt?function(r,t,e){if(Ct(r),t=Lt(t),Ct(e),"function"==typeof r&&"prototype"===t&&"value"in e&&Ft in e&&!e[Ft]){var n=Nt(r,t);n&&n[Ft]&&(r[t]=e.value,e={configurable:Ut in e?e[Ut]:n[Ut],enumerable:kt in e?e[kt]:n[kt],writable:!1})}return Dt(r,t,e)}:Dt:function(r,t,e){if(Ct(r),t=Lt(t),Ct(e),Pt)try{return Dt(r,t,e)}catch(n){}if("get"in e||"set"in e)throw Mt("Accessors not supported");return"value"in e&&(r[t]=e.value),r};var Wt=At,Vt=v,zt=i?function(r,t,e){return Wt.f(r,t,Vt(1,e))}:function(r,t,e){return r[t]=e,r},Bt={},Yt={get exports(){return Bt},set exports(r){Bt=r}},Ht=i,Gt=Nr,qt=Function.prototype,Xt=Ht&&Object.getOwnPropertyDescriptor,Qt=Gt(qt,"name"),Jt={EXISTS:Qt,PROPER:Qt&&"something"===function(){}.name,CONFIGURABLE:Qt&&(!Ht||Ht&&Xt(qt,"name").configurable)},Kt=V,Zt=jr,$t=O(Function.toString);Kt(Zt.inspectSource)||(Zt.inspectSource=function(r){return $t(r)});var re,te,ee,ne=Zt.inspectSource,oe=V,ie=e.WeakMap,ce=oe(ie)&&/native code/.test(String(ie)),ue=Vr,ae=wr("keys"),fe=function(r){return ae[r]||(ae[r]=ue(r))},se={},le=ce,pe=e,ye=Y,de=zt,he=Nr,ve=jr,ge=fe,me=se,Ee="Object already initialized",be=pe.TypeError,Oe=pe.WeakMap;if(le||ve.state){var we=ve.state||(ve.state=new Oe);we.get=we.get,we.has=we.has,we.set=we.set,re=function(r,t){if(we.has(r))throw be(Ee);return t.facade=r,we.set(r,t),t},te=function(r){return we.get(r)||{}},ee=function(r){return we.has(r)}}else{var Ae=ge("state");me[Ae]=!0,re=function(r,t){if(he(r,Ae))throw be(Ee);return t.facade=r,de(r,Ae,t),t},te=function(r){return he(r,Ae)?r[Ae]:{}},ee=function(r){return he(r,Ae)}}var Te={set:re,get:te,has:ee,enforce:function(r){return ee(r)?te(r):re(r,{})},getterFor:function(r){return function(t){var e;if(!ye(t)||(e=te(t)).type!==r)throw be("Incompatible receiver, "+r+" required");return e}}},Se=O,Re=o,Ie=V,_e=Nr,je=i,Pe=Jt.CONFIGURABLE,xe=ne,Ce=Te.enforce,Le=Te.get,Me=String,De=Object.defineProperty,Ne=Se("".slice),ke=Se("".replace),Ue=Se([].join),Fe=je&&!Re((function(){return 8!==De((function(){}),"length",{value:8}).length})),We=String(String).split("String"),Ve=Yt.exports=function(r,t,e){"Symbol("===Ne(Me(t),0,7)&&(t="["+ke(Me(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(t="get "+t),e&&e.setter&&(t="set "+t),(!_e(r,"name")||Pe&&r.name!==t)&&(je?De(r,"name",{value:t,configurable:!0}):r.name=t),Fe&&e&&_e(e,"arity")&&r.length!==e.arity&&De(r,"length",{value:e.arity});try{e&&_e(e,"constructor")&&e.constructor?je&&De(r,"prototype",{writable:!1}):r.prototype&&(r.prototype=void 0)}catch(o){}var n=Ce(r);return _e(n,"source")||(n.source=Ue(We,"string"==typeof t?t:"")),r};Function.prototype.toString=Ve((function(){return Ie(this)&&Le(this).source||xe(this)}),"toString");var ze=V,Be=At,Ye=Bt,He=Rr,Ge=function(r,t,e,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:t;if(ze(e)&&Ye(e,i,n),n.global)o?r[t]=e:He(t,e);else{try{n.unsafe?r[t]&&(o=!0):delete r[t]}catch(c){}o?r[t]=e:Be.f(r,t,{value:e,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return r},qe={},Xe=Math.ceil,Qe=Math.floor,Je=Math.trunc||function(r){var t=+r;return(t>0?Qe:Xe)(t)},Ke=function(r){var t=+r;return t!=t||0===t?0:Je(t)},Ze=Ke,$e=Math.max,rn=Math.min,tn=Ke,en=Math.min,nn=function(r){return r>0?en(tn(r),9007199254740991):0},on=function(r){return nn(r.length)},cn=k,un=function(r,t){var e=Ze(r);return e<0?$e(e+t,0):rn(e,t)},an=on,fn=function(r){return function(t,e,n){var o,i=cn(t),c=an(i),u=un(n,c);if(r&&e!=e){for(;c>u;)if((o=i[u++])!=o)return!0}else for(;c>u;u++)if((r||u in i)&&i[u]===e)return r||u||0;return!r&&-1}},sn={includes:fn(!0),indexOf:fn(!1)},ln=Nr,pn=k,yn=sn.indexOf,dn=se,hn=O([].push),vn=function(r,t){var e,n=pn(r),o=0,i=[];for(e in n)!ln(dn,e)&&ln(n,e)&&hn(i,e);for(;t.length>o;)ln(n,e=t[o++])&&(~yn(i,e)||hn(i,e));return i},gn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],mn=vn,En=gn.concat("length","prototype");qe.f=Object.getOwnPropertyNames||function(r){return mn(r,En)};var bn={};bn.f=Object.getOwnPropertySymbols;var On=q,wn=qe,An=bn,Tn=_t,Sn=O([].concat),Rn=On("Reflect","ownKeys")||function(r){var t=wn.f(Tn(r)),e=An.f;return e?Sn(t,e(r)):t},In=Nr,_n=Rn,jn=n,Pn=At,xn=function(r,t,e){for(var n=_n(t),o=Pn.f,i=jn.f,c=0;c<n.length;c++){var u=n[c];In(r,u)||e&&In(e,u)||o(r,u,i(t,u))}},Cn=o,Ln=V,Mn=/#|\.prototype\./,Dn=function(r,t){var e=kn[Nn(r)];return e==Fn||e!=Un&&(Ln(t)?Cn(t):!!t)},Nn=Dn.normalize=function(r){return String(r).replace(Mn,".").toLowerCase()},kn=Dn.data={},Un=Dn.NATIVE="N",Fn=Dn.POLYFILL="P",Wn=Dn,Vn=e,zn=n.f,Bn=zt,Yn=Ge,Hn=Rr,Gn=xn,qn=Wn,Xn=function(r,t){var e,n,o,i,c,u=r.target,a=r.global,f=r.stat;if(e=a?Vn:f?Vn[u]||Hn(u,{}):(Vn[u]||{}).prototype)for(n in t){if(i=t[n],o=r.dontCallGetSet?(c=zn(e,n))&&c.value:e[n],!qn(a?n:u+(f?".":"#")+n,r.forced)&&void 0!==o){if(typeof i==typeof o)continue;Gn(i,o)}(r.sham||o&&o.sham)&&Bn(i,"sham",!0),Yn(e,n,i,r)}},Qn=S,Jn=i,Kn=Array.isArray||function(r){return"Array"==Qn(r)},Zn=TypeError,$n=Object.getOwnPropertyDescriptor,ro=Jn&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){return r instanceof TypeError}}()?function(r,t){if(Kn(r)&&!$n(r,"length").writable)throw Zn("Cannot set read only .length");return r.length=t}:function(r,t){return r.length=t},to=TypeError,eo=function(r){if(r>9007199254740991)throw to("Maximum allowed index exceeded");return r},no=Lr,oo=on,io=ro,co=eo;Xn({target:"Array",proto:!0,arity:1,forced:o((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(r){return r instanceof TypeError}}()},{push:function(r){var t=no(this),e=oo(t),n=arguments.length;co(e+n);for(var o=0;o<n;o++)t[e]=arguments[o],e++;return io(t,e),e}});var uo=lr,ao=TypeError,fo=Lr,so=on,lo=ro,po=function(r,t){if(!delete r[t])throw ao("Cannot delete property "+uo(t)+" of "+uo(r))},yo=eo;Xn({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(r){return r instanceof TypeError}}()},{unshift:function(r){var t=fo(this),e=so(t),n=arguments.length;if(n){yo(e+n);for(var o=e;o--;){var i=o+n;o in t?t[i]=t[o]:po(t,i)}for(var c=0;c<n;c++)t[c]=arguments[c]}return lo(t,e+n)}});var ho="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView,vo={};vo[Jr("toStringTag")]="z";var go,mo,Eo,bo="[object z]"===String(vo),Oo=V,wo=S,Ao=Jr("toStringTag"),To=Object,So="Arguments"==wo(function(){return arguments}()),Ro=bo?wo:function(r){var t,e,n;return void 0===r?"Undefined":null===r?"Null":"string"==typeof(e=function(r,t){try{return r[t]}catch(e){}}(t=To(r),Ao))?e:So?wo(t):"Object"==(n=wo(t))&&Oo(t.callee)?"Arguments":n},Io=Bt,_o=At,jo=!o((function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})),Po=Nr,xo=V,Co=Lr,Lo=jo,Mo=fe("IE_PROTO"),Do=Object,No=Do.prototype,ko=Lo?Do.getPrototypeOf:function(r){var t=Co(r);if(Po(t,Mo))return t[Mo];var e=t.constructor;return xo(e)&&t instanceof e?e.prototype:t instanceof Do?No:null},Uo=O,Fo=hr,Wo=V,Vo=String,zo=TypeError,Bo=function(r,t,e){try{return Uo(Fo(Object.getOwnPropertyDescriptor(r,t)[e]))}catch(n){}},Yo=_t,Ho=function(r){if("object"==typeof r||Wo(r))return r;throw zo("Can't set "+Vo(r)+" as a prototype")},Go=Object.setPrototypeOf||("__proto__"in{}?function(){var r,t=!1,e={};try{(r=Bo(Object.prototype,"__proto__","set"))(e,[]),t=e instanceof Array}catch(n){}return function(e,n){return Yo(e),Ho(n),t?r(e,n):e.__proto__=n,e}}():void 0),qo=ho,Xo=i,Qo=e,Jo=V,Ko=Y,Zo=Nr,$o=Ro,ri=lr,ti=zt,ei=Ge,ni=function(r,t,e){return e.get&&Io(e.get,t,{getter:!0}),e.set&&Io(e.set,t,{setter:!0}),_o.f(r,t,e)},oi=X,ii=ko,ci=Go,ui=Jr,ai=Vr,fi=Te.enforce,si=Te.get,li=Qo.Int8Array,pi=li&&li.prototype,yi=Qo.Uint8ClampedArray,di=yi&&yi.prototype,hi=li&&ii(li),vi=pi&&ii(pi),gi=Object.prototype,mi=Qo.TypeError,Ei=ui("toStringTag"),bi=ai("TYPED_ARRAY_TAG"),Oi="TypedArrayConstructor",wi=qo&&!!ci&&"Opera"!==$o(Qo.opera),Ai=!1,Ti={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Si={BigInt64Array:8,BigUint64Array:8},Ri=function(r){var t=ii(r);if(Ko(t)){var e=si(t);return e&&Zo(e,Oi)?e[Oi]:Ri(t)}},Ii=function(r){if(!Ko(r))return!1;var t=$o(r);return Zo(Ti,t)||Zo(Si,t)};for(go in Ti)(Eo=(mo=Qo[go])&&mo.prototype)?fi(Eo)[Oi]=mo:wi=!1;for(go in Si)(Eo=(mo=Qo[go])&&mo.prototype)&&(fi(Eo)[Oi]=mo);if((!wi||!Jo(hi)||hi===Function.prototype)&&(hi=function(){throw mi("Incorrect invocation")},wi))for(go in Ti)Qo[go]&&ci(Qo[go],hi);if((!wi||!vi||vi===gi)&&(vi=hi.prototype,wi))for(go in Ti)Qo[go]&&ci(Qo[go].prototype,vi);if(wi&&ii(di)!==vi&&ci(di,vi),Xo&&!Zo(vi,Ei))for(go in Ai=!0,ni(vi,Ei,{configurable:!0,get:function(){return Ko(this)?this[bi]:void 0}}),Ti)Qo[go]&&ti(Qo[go],bi,go);var _i={NATIVE_ARRAY_BUFFER_VIEWS:wi,TYPED_ARRAY_TAG:Ai&&bi,aTypedArray:function(r){if(Ii(r))return r;throw mi("Target is not a typed array")},aTypedArrayConstructor:function(r){if(Jo(r)&&(!ci||oi(hi,r)))return r;throw mi(ri(r)+" is not a typed array constructor")},exportTypedArrayMethod:function(r,t,e,n){if(Xo){if(e)for(var o in Ti){var i=Qo[o];if(i&&Zo(i.prototype,r))try{delete i.prototype[r]}catch(c){try{i.prototype[r]=t}catch(u){}}}vi[r]&&!e||ei(vi,r,e?t:wi&&pi[r]||t,n)}},exportTypedArrayStaticMethod:function(r,t,e){var n,o;if(Xo){if(ci){if(e)for(n in Ti)if((o=Qo[n])&&Zo(o,r))try{delete o[r]}catch(i){}if(hi[r]&&!e)return;try{return ei(hi,r,e?t:wi&&hi[r]||t)}catch(i){}}for(n in Ti)!(o=Qo[n])||o[r]&&!e||ei(o,r,t)}},getTypedArrayConstructor:Ri,isView:function(r){if(!Ko(r))return!1;var t=$o(r);return"DataView"===t||Zo(Ti,t)||Zo(Si,t)},isTypedArray:Ii,TypedArray:hi,TypedArrayPrototype:vi},ji=on,Pi=Ke,xi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("at",(function(r){var t=xi(this),e=ji(t),n=Pi(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:t[o]}));var Ci=S,Li=O,Mi=function(r){if("Function"===Ci(r))return Li(r)},Di=hr,Ni=c,ki=Mi(Mi.bind),Ui=function(r,t){return Di(r),void 0===t?r:Ni?ki(r,t):function(){return r.apply(t,arguments)}},Fi=P,Wi=Lr,Vi=on,zi=function(r){var t=1==r;return function(e,n,o){for(var i,c=Wi(e),u=Fi(c),a=Ui(n,o),f=Vi(u);f-- >0;)if(a(i=u[f],f,c))switch(r){case 0:return i;case 1:return f}return t?-1:void 0}},Bi={findLast:zi(0),findLastIndex:zi(1)},Yi=Bi.findLast,Hi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("findLast",(function(r){return Yi(Hi(this),r,arguments.length>1?arguments[1]:void 0)}));var Gi=Bi.findLastIndex,qi=_i.aTypedArray;(0,_i.exportTypedArrayMethod)("findLastIndex",(function(r){return Gi(qi(this),r,arguments.length>1?arguments[1]:void 0)}));var Xi=on,Qi=function(r,t){for(var e=Xi(r),n=new t(e),o=0;o<e;o++)n[o]=r[e-o-1];return n},Ji=_i.aTypedArray,Ki=_i.getTypedArrayConstructor;(0,_i.exportTypedArrayMethod)("toReversed",(function(){return Qi(Ji(this),Ki(this))}));var Zi=on,$i=hr,rc=function(r,t){for(var e=0,n=Zi(t),o=new r(n);n>e;)o[e]=t[e++];return o},tc=_i.aTypedArray,ec=_i.getTypedArrayConstructor,nc=_i.exportTypedArrayMethod,oc=O(_i.TypedArrayPrototype.sort);nc("toSorted",(function(r){void 0!==r&&$i(r);var t=tc(this),e=rc(ec(t),t);return oc(e,r)}));var ic=on,cc=Ke,uc=RangeError,ac=Ro,fc=ot,sc=TypeError,lc=function(r,t,e,n){var o=ic(r),i=cc(e),c=i<0?o+i:i;if(c>=o||c<0)throw uc("Incorrect index");for(var u=new t(o),a=0;a<o;a++)u[a]=a===c?n:r[a];return u},pc=function(r){var t=ac(r);return"BigInt64Array"==t||"BigUint64Array"==t},yc=Ke,dc=function(r){var t=fc(r,"number");if("number"==typeof t)throw sc("Can't convert number to bigint");return BigInt(t)},hc=_i.aTypedArray,vc=_i.getTypedArrayConstructor,gc=_i.exportTypedArrayMethod,mc=!!function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(r){return 8===r}}();gc("with",{with:function(r,t){var e=hc(this),n=yc(r),o=pc(e)?dc(t):+t;return lc(e,vc(e),n,o)}}.with,!mc);var Ec=c,bc=Function.prototype,Oc=bc.apply,wc=bc.call,Ac="object"==typeof Reflect&&Reflect.apply||(Ec?wc.bind(Oc):function(){return wc.apply(Oc,arguments)}),Tc=At.f,Sc=V,Rc=Y,Ic=Go,_c=function(r,t,e){var n,o;return Ic&&Sc(n=t.constructor)&&n!==e&&Rc(o=n.prototype)&&o!==e.prototype&&Ic(r,o),r},jc=Ro,Pc=String,xc=function(r){if("Symbol"===jc(r))throw TypeError("Cannot convert a Symbol value to a string");return Pc(r)},Cc=xc,Lc=function(r,t){return void 0===r?arguments.length<2?"":t:Cc(r)},Mc=Y,Dc=zt,Nc=Error,kc=O("".replace),Uc=String(Nc("zxcasd").stack),Fc=/\n\s*at [^:]*:[^\n]*/,Wc=Fc.test(Uc),Vc=function(r,t){if(Wc&&"string"==typeof r&&!Nc.prepareStackTrace)for(;t--;)r=kc(r,Fc,"");return r},zc=v,Bc=!o((function(){var r=Error("a");return!("stack"in r)||(Object.defineProperty(r,"stack",zc(1,7)),7!==r.stack)})),Yc=zt,Hc=Vc,Gc=Bc,qc=Error.captureStackTrace,Xc=q,Qc=Nr,Jc=zt,Kc=X,Zc=Go,$c=xn,ru=function(r,t,e){e in r||Tc(r,e,{configurable:!0,get:function(){return t[e]},set:function(r){t[e]=r}})},tu=_c,eu=Lc,nu=function(r,t){Mc(t)&&"cause"in t&&Dc(r,"cause",t.cause)},ou=function(r,t,e,n){Gc&&(qc?qc(r,t):Yc(r,"stack",Hc(e,n)))},iu=i,cu=Xn,uu=Ac,au=function(r,t,e,n){var o="stackTraceLimit",i=n?2:1,c=r.split("."),u=c[c.length-1],a=Xc.apply(null,c);if(a){var f=a.prototype;if(Qc(f,"cause")&&delete f.cause,!e)return a;var s=Xc("Error"),l=t((function(r,t){var e=eu(n?t:r,void 0),o=n?new a(r):new a;return void 0!==e&&Jc(o,"message",e),ou(o,l,o.stack,2),this&&Kc(f,this)&&tu(o,this,l),arguments.length>i&&nu(o,arguments[i]),o}));l.prototype=f,"Error"!==u?Zc?Zc(l,s):$c(l,s,{name:!0}):iu&&o in a&&(ru(l,a,o),ru(l,a,"prepareStackTrace")),$c(l,a);try{f.name!==u&&Jc(f,"name",u),f.constructor=l}catch(p){}return l}},fu="WebAssembly",su=e[fu],lu=7!==Error("e",{cause:7}).cause,pu=function(r,t){var e={};e[r]=au(r,t,lu),cu({global:!0,constructor:!0,arity:1,forced:lu},e)},yu=function(r,t){if(su&&su[r]){var e={};e[r]=au(fu+"."+r,t,lu),cu({target:fu,stat:!0,constructor:!0,arity:1,forced:lu},e)}};pu("Error",(function(r){return function(t){return uu(r,this,arguments)}})),pu("EvalError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("RangeError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("ReferenceError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("SyntaxError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("TypeError",(function(r){return function(t){return uu(r,this,arguments)}})),pu("URIError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("CompileError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("LinkError",(function(r){return function(t){return uu(r,this,arguments)}})),yu("RuntimeError",(function(r){return function(t){return uu(r,this,arguments)}}));var du=X,hu=TypeError,vu=Xn,gu=e,mu=q,Eu=v,bu=At.f,Ou=Nr,wu=function(r,t){if(du(t,r))return r;throw hu("Incorrect invocation")},Au=_c,Tu=Lc,Su={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}},Ru=Vc,Iu=i,_u="DOMException",ju=mu("Error"),Pu=mu(_u),xu=function(){wu(this,Cu);var r=arguments.length,t=Tu(r<1?void 0:arguments[0]),e=Tu(r<2?void 0:arguments[1],"Error"),n=new Pu(t,e),o=ju(t);return o.name=_u,bu(n,"stack",Eu(1,Ru(o.stack,1))),Au(n,this,xu),n},Cu=xu.prototype=Pu.prototype,Lu="stack"in ju(_u),Mu="stack"in new Pu(1,2),Du=Pu&&Iu&&Object.getOwnPropertyDescriptor(gu,_u),Nu=!(!Du||Du.writable&&Du.configurable),ku=Lu&&!Nu&&!Mu;vu({global:!0,constructor:!0,forced:ku},{DOMException:ku?xu:Pu});var Uu=mu(_u),Fu=Uu.prototype;if(Fu.constructor!==Uu)for(var Wu in bu(Fu,"constructor",Eu(1,Uu)),Su)if(Ou(Su,Wu)){var Vu=Su[Wu],zu=Vu.s;Ou(Uu,zu)||bu(Uu,zu,Eu(6,Vu.c))}var Bu={},Yu=vn,Hu=gn,Gu=Object.keys||function(r){return Yu(r,Hu)},qu=i,Xu=Tt,Qu=At,Ju=_t,Ku=k,Zu=Gu;Bu.f=qu&&!Xu?Object.defineProperties:function(r,t){Ju(r);for(var e,n=Ku(t),o=Zu(t),i=o.length,c=0;i>c;)Qu.f(r,e=o[c++],n[e]);return r};var $u,ra=q("document","documentElement"),ta=_t,ea=Bu,na=gn,oa=se,ia=ra,ca=lt,ua="prototype",aa="script",fa=fe("IE_PROTO"),sa=function(){},la=function(r){return"<"+aa+">"+r+"</"+aa+">"},pa=function(r){r.write(la("")),r.close();var t=r.parentWindow.Object;return r=null,t},ya=function(){try{$u=new ActiveXObject("htmlfile")}catch(o){}var r,t,e;ya="undefined"!=typeof document?document.domain&&$u?pa($u):(t=ca("iframe"),e="java"+aa+":",t.style.display="none",ia.appendChild(t),t.src=String(e),(r=t.contentWindow.document).open(),r.write(la("document.F=Object")),r.close(),r.F):pa($u);for(var n=na.length;n--;)delete ya[ua][na[n]];return ya()};oa[fa]=!0;var da=Jr,ha=Object.create||function(r,t){var e;return null!==r?(sa[ua]=ta(r),e=new sa,sa[ua]=null,e[fa]=r):e=ya(),void 0===t?e:ea.f(e,t)},va=At.f,ga=da("unscopables"),ma=Array.prototype;null==ma[ga]&&va(ma,ga,{configurable:!0,value:ha(null)});var Ea=function(r){ma[ga][r]=!0},ba=Lr,Oa=on,wa=Ke,Aa=Ea;Xn({target:"Array",proto:!0},{at:function(r){var t=ba(this),e=Oa(t),n=wa(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:t[o]}}),Aa("at");var Ta=Xn,Sa=M,Ra=Ke,Ia=xc,_a=o,ja=O("".charAt);Ta({target:"String",proto:!0,forced:_a((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(r){var t=Ia(Sa(this)),e=t.length,n=Ra(r),o=n>=0?n:e+n;return o<0||o>=e?void 0:ja(t,o)}});var Pa=Bi.findLast,xa=Ea;Xn({target:"Array",proto:!0},{findLast:function(r){return Pa(this,r,arguments.length>1?arguments[1]:void 0)}}),xa("findLast");var Ca=Bi.findLastIndex,La=Ea;Xn({target:"Array",proto:!0},{findLastIndex:function(r){return Ca(this,r,arguments.length>1?arguments[1]:void 0)}}),La("findLastIndex"),function(){function t(r,t){return(t||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+r+")"}function e(r,t){if(-1!==r.indexOf("\\")&&(r=r.replace(T,"/")),"/"===r[0]&&"/"===r[1])return t.slice(0,t.indexOf(":")+1)+r;if("."===r[0]&&("/"===r[1]||"."===r[1]&&("/"===r[2]||2===r.length&&(r+="/"))||1===r.length&&(r+="/"))||"/"===r[0]){var e,n=t.slice(0,t.indexOf(":")+1);if(e="/"===t[n.length+1]?"file:"!==n?(e=t.slice(n.length+2)).slice(e.indexOf("/")+1):t.slice(8):t.slice(n.length+("/"===t[n.length])),"/"===r[0])return t.slice(0,t.length-e.length-1)+r;for(var o=e.slice(0,e.lastIndexOf("/")+1)+r,i=[],c=-1,u=0;u<o.length;u++)-1!==c?"/"===o[u]&&(i.push(o.slice(c,u+1)),c=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:c=u:(i.pop(),u+=2):c=u;return-1!==c&&i.push(o.slice(c)),t.slice(0,t.length-e.length)+i.join("")}}function n(r,t){return e(r,t)||(-1!==r.indexOf(":")?r:e("./"+r,t))}function o(r,t,n,o,i){for(var c in r){var u=e(c,n)||c,s=r[c];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?t[u]=l:a("W1",c,s)}}}function i(r,t,e){var i;for(i in r.imports&&o(r.imports,e.imports,t,e,null),r.scopes||{}){var c=n(i,t);o(r.scopes[i],e.scopes[c]||(e.scopes[c]={}),t,e,c)}for(i in r.depcache||{})e.depcache[n(i,t)]=r.depcache[i];for(i in r.integrity||{})e.integrity[n(i,t)]=r.integrity[i]}function c(r,t){if(t[r])return r;var e=r.length;do{var n=r.slice(0,e+1);if(n in t)return n}while(-1!==(e=r.lastIndexOf("/",e-1)))}function u(r,t){var e=c(r,t);if(e){var n=t[e];if(null===n)return;if(!(r.length>e.length&&"/"!==n[n.length-1]))return n+r.slice(e.length);a("W2",e,n)}}function a(r,e,n){console.warn(t(r,[n,e].join(", ")))}function f(r,t,e){for(var n=r.scopes,o=e&&c(e,n);o;){var i=u(t,n[o]);if(i)return i;o=c(o.slice(0,o.lastIndexOf("/")),n)}return u(t,r.imports)||-1!==t.indexOf(":")&&t}function s(){this[R]={}}function l(r,e,n,o){var i=r[R][e];if(i)return i;var c=[],u=Object.create(null);S&&Object.defineProperty(u,S,{value:"Module"});var a=Promise.resolve().then((function(){return r.instantiate(e,n,o)})).then((function(n){if(!n)throw Error(t(2,e));var o=n[1]((function(r,t){i.h=!0;var e=!1;if("string"==typeof r)r in u&&u[r]===t||(u[r]=t,e=!0);else{for(var n in r)t=r[n],n in u&&u[n]===t||(u[n]=t,e=!0);r&&r.__esModule&&(u.__esModule=r.__esModule)}if(e)for(var o=0;o<c.length;o++){var a=c[o];a&&a(u)}return t}),2===n[1].length?{import:function(t,n){return r.import(t,e,n)},meta:r.createContext(e)}:void 0);return i.e=o.execute||function(){},[n[0],o.setters||[],n[2]||[]]}),(function(r){throw i.e=null,i.er=r,r})),f=a.then((function(t){return Promise.all(t[0].map((function(n,o){var i=t[1][o],c=t[2][o];return Promise.resolve(r.resolve(n,e)).then((function(t){var n=l(r,t,e,c);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(r){i.d=r}))}));return i=r[R][e]={id:e,i:c,n:u,m:o,I:a,L:f,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(r,t,e,n){if(!n[t.id])return n[t.id]=!0,Promise.resolve(t.L).then((function(){return t.p&&null!==t.p.e||(t.p=e),Promise.all(t.d.map((function(t){return p(r,t,e,n)})))})).catch((function(r){if(t.er)throw r;throw t.e=null,r}))}function y(r,t){return t.C=p(r,t,t,{}).then((function(){return d(r,t,{})})).then((function(){return t.n}))}function d(r,t,e){function n(){try{var r=i.call(_);if(r)return r=r.then((function(){t.C=t.n,t.E=null}),(function(r){throw t.er=r,t.E=null,r})),t.E=r;t.C=t.n,t.L=t.I=void 0}catch(e){throw t.er=e,e}}if(!e[t.id]){if(e[t.id]=!0,!t.e){if(t.er)throw t.er;return t.E?t.E:void 0}var o,i=t.e;return t.e=null,t.d.forEach((function(n){try{var i=d(r,n,e);i&&(o=o||[]).push(i)}catch(u){throw t.er=u,u}})),o?Promise.all(o).then(n):n()}}function h(){[].forEach.call(document.querySelectorAll("script"),(function(r){if(!r.sp)if("systemjs-module"===r.type){if(r.sp=!0,!r.src)return;System.import("import:"===r.src.slice(0,7)?r.src.slice(7):n(r.src,v)).catch((function(t){if(t.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("error",!1,!1),r.dispatchEvent(e)}return Promise.reject(t)}))}else if("systemjs-importmap"===r.type){r.sp=!0;var e=r.src?(System.fetch||fetch)(r.src,{integrity:r.integrity,passThrough:!0}).then((function(r){if(!r.ok)throw Error(r.status);return r.text()})).catch((function(e){return e.message=t("W4",r.src)+"\n"+e.message,console.warn(e),"function"==typeof r.onerror&&r.onerror(),"{}"})):r.innerHTML;x=x.then((function(){return e})).then((function(e){!function(r,e,n){var o={};try{o=JSON.parse(e)}catch(u){console.warn(Error(t("W5")))}i(o,n,r)}(C,e,r.src||v)}))}}))}var v,g="undefined"!=typeof Symbol,m="undefined"!=typeof self,E="undefined"!=typeof document,b=m?self:r;if(E){var O=document.querySelector("base[href]");O&&(v=O.href)}if(!v&&"undefined"!=typeof location){var w=(v=location.href.split("#")[0].split("?")[0]).lastIndexOf("/");-1!==w&&(v=v.slice(0,w+1))}var A,T=/\\/g,S=g&&Symbol.toStringTag,R=g?Symbol():"@",I=s.prototype;I.import=function(r,t,e){var n=this;return t&&"object"==typeof t&&(e=t,t=void 0),Promise.resolve(n.prepareImport()).then((function(){return n.resolve(r,t,e)})).then((function(r){var t=l(n,r,void 0,e);return t.C||y(n,t)}))},I.createContext=function(r){var t=this;return{url:r,resolve:function(e,n){return Promise.resolve(t.resolve(e,n||r))}}},I.register=function(r,t,e){A=[r,t,e]},I.getRegister=function(){var r=A;return A=void 0,r};var _=Object.freeze(Object.create(null));b.System=new s;var j,P,x=Promise.resolve(),C={imports:{},scopes:{},depcache:{},integrity:{}},L=E;if(I.prepareImport=function(r){return(L||r)&&(h(),L=!1),x},E&&(h(),window.addEventListener("DOMContentLoaded",h)),I.addImportMap=function(r,t){i(r,t||v,C)},E){window.addEventListener("error",(function(r){D=r.filename,N=r.error}));var M=location.origin}I.createScript=function(r){var t=document.createElement("script");t.async=!0,r.indexOf(M+"/")&&(t.crossOrigin="anonymous");var e=C.integrity[r];return e&&(t.integrity=e),t.src=r,t};var D,N,k={},U=I.register;I.register=function(r,t){if(E&&"loading"===document.readyState&&"string"!=typeof r){var e=document.querySelectorAll("script[src]"),n=e[e.length-1];if(n){j=r;var o=this;P=setTimeout((function(){k[n.src]=[r,t],o.import(n.src)}))}}else j=void 0;return U.call(this,r,t)},I.instantiate=function(r,e){var n=k[r];if(n)return delete k[r],n;var o=this;return Promise.resolve(I.createScript(r)).then((function(n){return new Promise((function(i,c){n.addEventListener("error",(function(){c(Error(t(3,[r,e].join(", "))))})),n.addEventListener("load",(function(){if(document.head.removeChild(n),D===r)c(N);else{var t=o.getRegister(r);t&&t[0]===j&&clearTimeout(P),i(t)}})),document.head.appendChild(n)}))}))},I.shouldFetch=function(){return!1},"undefined"!=typeof fetch&&(I.fetch=fetch);var F=I.instantiate,W=/^(text|application)\/(x-)?javascript(;|$)/;I.instantiate=function(r,e,n){var o=this;return this.shouldFetch(r,e,n)?this.fetch(r,{credentials:"same-origin",integrity:C.integrity[r],meta:n}).then((function(n){if(!n.ok)throw Error(t(7,[n.status,n.statusText,r,e].join(", ")));var i=n.headers.get("content-type");if(!i||!W.test(i))throw Error(t(4,i));return n.text().then((function(t){return t.indexOf("//# sourceURL=")<0&&(t+="\n//# sourceURL="+r),(0,eval)(t),o.getRegister(r)}))})):F.apply(this,arguments)},I.resolve=function(r,n){return f(C,e(r,n=n||v)||r,n)||function(r,e){throw Error(t(8,[r,e].join(", ")))}(r,n)};var V=I.instantiate;I.instantiate=function(r,t,e){var n=C.depcache[r];if(n)for(var o=0;o<n.length;o++)l(this,this.resolve(n[o],r),r);return V.call(this,r,t,e)},m&&"function"==typeof importScripts&&(I.instantiate=function(r){var t=this;return Promise.resolve().then((function(){return importScripts(r),t.getRegister(r)}))})}()}(); | |||
Check failure
Code scanning / CodeQL
Code injection
jeremykenedy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why Remove the needed $ alias and use alpine instead of Vue?
|
|
||
| # Roles Default Models | ||
| ROLES_DEFAULT_ROLE_MODEL=jeremykenedy\LaravelRoles\Models\Role | ||
| ROLES_DEFAULT_PERMISSION_MODEL=jeremykenedy\LaravelRoles\Models\Permission |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To confirm, this is because I changed the models to extend the packages models... correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes !
| * @var array | ||
| */ | ||
| protected $routeMiddleware = [ | ||
| protected $middlewareAliases = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To clarify, did the variable name change within Laravel or is this a personal preference?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is part of the upgrade guide https://laravel.com/docs/10.x/upgrade#middleware-aliases
| */ | ||
| protected $policies = [ | ||
| 'App\Models\Model' => 'App\Policies\ModelPolicy', | ||
| // 'App\Models\Model' => 'App\Policies\ModelPolicy', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why comment it out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was triggering an error if not, to be honest I am not using it in my own project so I never checked how policies works
Uncaught ReflectionException: Class "App\Policies\ModelPolicy" does not exist in Command line code:1
vite.config.js
Outdated
| import $ from " jquery"; | ||
| import jQuery from "jquery"; | ||
| // import "jquery"; | ||
| // import $ from " jquery"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the aliases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Impossible to start de dev server (or build for prod) otherwise
Error: Cannot find module ' jquery'
Require stack:
- /app/vite.config.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ho my bad there is a typo !
|
By The way there is an error with laravel 10 within the |
|
All seems good, I just have the question still about alpine.js... |
Not sure what you are talking about ? I did revert the changes (and fix a typo) in |
and other fixes