InvokeAI/invokeai/frontend/dist/assets/polyfills-db6c30c5.js
2023-02-08 01:53:34 +13:00

2 lines
11 KiB
JavaScript

var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=function(t){return t&&t.Math==Math&&t},e=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")(),r={},o=function(t){try{return!!t()}catch(n){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),u=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),c=u,f=Function.prototype.call,a=c?f.bind(f):function(){return f.apply(f,arguments)},l={},s={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,y=p&&!s.call({1:2},1);l.f=y?function(t){var n=p(this,t);return!!n&&n.enumerable}:s;var b,v,d=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}},g=u,h=Function.prototype,m=h.call,O=g&&h.bind.bind(m,m),w=g?O:function(t){return function(){return m.apply(t,arguments)}},S=w,j=S({}.toString),P=S("".slice),E=function(t){return P(j(t),8,-1)},T=o,L=E,I=Object,M=w("".split),F=T((function(){return!I("z").propertyIsEnumerable(0)}))?function(t){return"String"==L(t)?M(t,""):I(t)}:I,D=function(t){return null==t},A=D,C=TypeError,x=function(t){if(A(t))throw C("Can't call method on "+t);return t},_=F,k=x,z=function(t){return _(k(t))},N="object"==typeof document&&document.all,R={all:N,IS_HTMLDDA:void 0===N&&void 0!==N},W=R.all,G=R.IS_HTMLDDA?function(t){return"function"==typeof t||t===W}:function(t){return"function"==typeof t},H=G,B=R.all,U=R.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:H(t)||t===B}:function(t){return"object"==typeof t?null!==t:H(t)},X=e,q=G,K=function(t){return q(t)?t:void 0},V=function(t,n){return arguments.length<2?K(X[t]):X[t]&&X[t][n]},Y=w({}.isPrototypeOf),$=e,J="undefined"!=typeof navigator&&String(navigator.userAgent)||"",Q=$.process,Z=$.Deno,tt=Q&&Q.versions||Z&&Z.version,nt=tt&&tt.v8;nt&&(v=(b=nt.split("."))[0]>0&&b[0]<4?1:+(b[0]+b[1])),!v&&J&&(!(b=J.match(/Edge\/(\d+)/))||b[1]>=74)&&(b=J.match(/Chrome\/(\d+)/))&&(v=+b[1]);var et=v,rt=o,ot=!!Object.getOwnPropertySymbols&&!rt((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et&&et<41})),it=ot&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=V,ct=G,ft=Y,at=Object,lt=it?function(t){return"symbol"==typeof t}:function(t){var n=ut("Symbol");return ct(n)&&ft(n.prototype,at(t))},st=String,pt=G,yt=function(t){try{return st(t)}catch(n){return"Object"}},bt=TypeError,vt=function(t){if(pt(t))return t;throw bt(yt(t)+" is not a function")},dt=vt,gt=D,ht=a,mt=G,Ot=U,wt=TypeError,St={},jt={get exports(){return St},set exports(t){St=t}},Pt=e,Et=Object.defineProperty,Tt=function(t,n){try{Et(Pt,t,{value:n,configurable:!0,writable:!0})}catch(e){Pt[t]=n}return n},Lt=Tt,It="__core-js_shared__",Mt=e[It]||Lt(It,{}),Ft=Mt;(jt.exports=function(t,n){return Ft[t]||(Ft[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.27.2",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.27.2/LICENSE",source:"https://github.com/zloirock/core-js"});var Dt=x,At=Object,Ct=function(t){return At(Dt(t))},xt=Ct,_t=w({}.hasOwnProperty),kt=Object.hasOwn||function(t,n){return _t(xt(t),n)},zt=w,Nt=0,Rt=Math.random(),Wt=zt(1..toString),Gt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Wt(++Nt+Rt,36)},Ht=St,Bt=kt,Ut=Gt,Xt=ot,qt=it,Kt=e.Symbol,Vt=Ht("wks"),Yt=qt?Kt.for||Kt:Kt&&Kt.withoutSetter||Ut,$t=function(t){return Bt(Vt,t)||(Vt[t]=Xt&&Bt(Kt,t)?Kt[t]:Yt("Symbol."+t)),Vt[t]},Jt=a,Qt=U,Zt=lt,tn=function(t,n){var e=t[n];return gt(e)?void 0:dt(e)},nn=function(t,n){var e,r;if("string"===n&&mt(e=t.toString)&&!Ot(r=ht(e,t)))return r;if(mt(e=t.valueOf)&&!Ot(r=ht(e,t)))return r;if("string"!==n&&mt(e=t.toString)&&!Ot(r=ht(e,t)))return r;throw wt("Can't convert object to primitive value")},en=TypeError,rn=$t("toPrimitive"),on=function(t,n){if(!Qt(t)||Zt(t))return t;var e,r=tn(t,rn);if(r){if(void 0===n&&(n="default"),e=Jt(r,t,n),!Qt(e)||Zt(e))return e;throw en("Can't convert object to primitive value")}return void 0===n&&(n="number"),nn(t,n)},un=lt,cn=function(t){var n=on(t,"string");return un(n)?n:n+""},fn=U,an=e.document,ln=fn(an)&&fn(an.createElement),sn=function(t){return ln?an.createElement(t):{}},pn=sn,yn=!i&&!o((function(){return 7!=Object.defineProperty(pn("div"),"a",{get:function(){return 7}}).a})),bn=i,vn=a,dn=l,gn=d,hn=z,mn=cn,On=kt,wn=yn,Sn=Object.getOwnPropertyDescriptor;r.f=bn?Sn:function(t,n){if(t=hn(t),n=mn(n),wn)try{return Sn(t,n)}catch(e){}if(On(t,n))return gn(!vn(dn.f,t,n),t[n])};var jn={},Pn=i&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),En=U,Tn=String,Ln=TypeError,In=function(t){if(En(t))return t;throw Ln(Tn(t)+" is not an object")},Mn=i,Fn=yn,Dn=Pn,An=In,Cn=cn,xn=TypeError,_n=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,zn="enumerable",Nn="configurable",Rn="writable";jn.f=Mn?Dn?function(t,n,e){if(An(t),n=Cn(n),An(e),"function"==typeof t&&"prototype"===n&&"value"in e&&Rn in e&&!e[Rn]){var r=kn(t,n);r&&r[Rn]&&(t[n]=e.value,e={configurable:Nn in e?e[Nn]:r[Nn],enumerable:zn in e?e[zn]:r[zn],writable:!1})}return _n(t,n,e)}:_n:function(t,n,e){if(An(t),n=Cn(n),An(e),Fn)try{return _n(t,n,e)}catch(r){}if("get"in e||"set"in e)throw xn("Accessors not supported");return"value"in e&&(t[n]=e.value),t};var Wn=jn,Gn=d,Hn=i?function(t,n,e){return Wn.f(t,n,Gn(1,e))}:function(t,n,e){return t[n]=e,t},Bn={},Un={get exports(){return Bn},set exports(t){Bn=t}},Xn=i,qn=kt,Kn=Function.prototype,Vn=Xn&&Object.getOwnPropertyDescriptor,Yn=qn(Kn,"name"),$n={EXISTS:Yn,PROPER:Yn&&"something"===function(){}.name,CONFIGURABLE:Yn&&(!Xn||Xn&&Vn(Kn,"name").configurable)},Jn=G,Qn=Mt,Zn=w(Function.toString);Jn(Qn.inspectSource)||(Qn.inspectSource=function(t){return Zn(t)});var te,ne,ee,re=Qn.inspectSource,oe=G,ie=e.WeakMap,ue=oe(ie)&&/native code/.test(String(ie)),ce=Gt,fe=St("keys"),ae=function(t){return fe[t]||(fe[t]=ce(t))},le={},se=ue,pe=e,ye=U,be=Hn,ve=kt,de=Mt,ge=ae,he=le,me="Object already initialized",Oe=pe.TypeError,we=pe.WeakMap;if(se||de.state){var Se=de.state||(de.state=new we);Se.get=Se.get,Se.has=Se.has,Se.set=Se.set,te=function(t,n){if(Se.has(t))throw Oe(me);return n.facade=t,Se.set(t,n),n},ne=function(t){return Se.get(t)||{}},ee=function(t){return Se.has(t)}}else{var je=ge("state");he[je]=!0,te=function(t,n){if(ve(t,je))throw Oe(me);return n.facade=t,be(t,je,n),n},ne=function(t){return ve(t,je)?t[je]:{}},ee=function(t){return ve(t,je)}}var Pe={set:te,get:ne,has:ee,enforce:function(t){return ee(t)?ne(t):te(t,{})},getterFor:function(t){return function(n){var e;if(!ye(n)||(e=ne(n)).type!==t)throw Oe("Incompatible receiver, "+t+" required");return e}}},Ee=w,Te=o,Le=G,Ie=kt,Me=i,Fe=$n.CONFIGURABLE,De=re,Ae=Pe.enforce,Ce=Pe.get,xe=String,_e=Object.defineProperty,ke=Ee("".slice),ze=Ee("".replace),Ne=Ee([].join),Re=Me&&!Te((function(){return 8!==_e((function(){}),"length",{value:8}).length})),We=String(String).split("String"),Ge=Un.exports=function(t,n,e){"Symbol("===ke(xe(n),0,7)&&(n="["+ze(xe(n),/^Symbol\(([^)]*)\)/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!Ie(t,"name")||Fe&&t.name!==n)&&(Me?_e(t,"name",{value:n,configurable:!0}):t.name=n),Re&&e&&Ie(e,"arity")&&t.length!==e.arity&&_e(t,"length",{value:e.arity});try{e&&Ie(e,"constructor")&&e.constructor?Me&&_e(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=Ae(t);return Ie(r,"source")||(r.source=Ne(We,"string"==typeof n?n:"")),t};Function.prototype.toString=Ge((function(){return Le(this)&&Ce(this).source||De(this)}),"toString");var He=G,Be=jn,Ue=Bn,Xe=Tt,qe={},Ke=Math.ceil,Ve=Math.floor,Ye=Math.trunc||function(t){var n=+t;return(n>0?Ve:Ke)(n)},$e=function(t){var n=+t;return n!=n||0===n?0:Ye(n)},Je=$e,Qe=Math.max,Ze=Math.min,tr=$e,nr=Math.min,er=function(t){return t>0?nr(tr(t),9007199254740991):0},rr=function(t){return er(t.length)},or=z,ir=function(t,n){var e=Je(t);return e<0?Qe(e+n,0):Ze(e,n)},ur=rr,cr=function(t){return function(n,e,r){var o,i=or(n),u=ur(i),c=ir(r,u);if(t&&e!=e){for(;u>c;)if((o=i[c++])!=o)return!0}else for(;u>c;c++)if((t||c in i)&&i[c]===e)return t||c||0;return!t&&-1}},fr={includes:cr(!0),indexOf:cr(!1)},ar=kt,lr=z,sr=fr.indexOf,pr=le,yr=w([].push),br=function(t,n){var e,r=lr(t),o=0,i=[];for(e in r)!ar(pr,e)&&ar(r,e)&&yr(i,e);for(;n.length>o;)ar(r,e=n[o++])&&(~sr(i,e)||yr(i,e));return i},vr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],dr=br,gr=vr.concat("length","prototype");qe.f=Object.getOwnPropertyNames||function(t){return dr(t,gr)};var hr={};hr.f=Object.getOwnPropertySymbols;var mr=V,Or=qe,wr=hr,Sr=In,jr=w([].concat),Pr=mr("Reflect","ownKeys")||function(t){var n=Or.f(Sr(t)),e=wr.f;return e?jr(n,e(t)):n},Er=kt,Tr=Pr,Lr=r,Ir=jn,Mr=o,Fr=G,Dr=/#|\.prototype\./,Ar=function(t,n){var e=xr[Cr(t)];return e==kr||e!=_r&&(Fr(n)?Mr(n):!!n)},Cr=Ar.normalize=function(t){return String(t).replace(Dr,".").toLowerCase()},xr=Ar.data={},_r=Ar.NATIVE="N",kr=Ar.POLYFILL="P",zr=Ar,Nr=e,Rr=r.f,Wr=Hn,Gr=function(t,n,e,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:n;if(He(e)&&Ue(e,i,r),r.global)o?t[n]=e:Xe(n,e);else{try{r.unsafe?t[n]&&(o=!0):delete t[n]}catch(u){}o?t[n]=e:Be.f(t,n,{value:e,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable})}return t},Hr=Tt,Br=function(t,n,e){for(var r=Tr(n),o=Ir.f,i=Lr.f,u=0;u<r.length;u++){var c=r[u];Er(t,c)||e&&Er(e,c)||o(t,c,i(n,c))}},Ur=zr,Xr=E,qr=w,Kr=function(t){if("Function"===Xr(t))return qr(t)},Vr=vt,Yr=u,$r=Kr(Kr.bind),Jr=function(t,n){return Vr(t),void 0===n?t:Yr?$r(t,n):function(){return t.apply(n,arguments)}},Qr=F,Zr=Ct,to=rr,no=function(t){var n=1==t;return function(e,r,o){for(var i,u=Zr(e),c=Qr(u),f=Jr(r,o),a=to(c);a-- >0;)if(f(i=c[a],a,u))switch(t){case 0:return i;case 1:return a}return n?-1:void 0}},eo={findLast:no(0),findLastIndex:no(1)},ro={},oo=br,io=vr,uo=Object.keys||function(t){return oo(t,io)},co=i,fo=Pn,ao=jn,lo=In,so=z,po=uo;ro.f=co&&!fo?Object.defineProperties:function(t,n){lo(t);for(var e,r=so(n),o=po(n),i=o.length,u=0;i>u;)ao.f(t,e=o[u++],r[e]);return t};var yo,bo=V("document","documentElement"),vo=In,go=ro,ho=vr,mo=le,Oo=bo,wo=sn,So="prototype",jo="script",Po=ae("IE_PROTO"),Eo=function(){},To=function(t){return"<"+jo+">"+t+"</"+jo+">"},Lo=function(t){t.write(To("")),t.close();var n=t.parentWindow.Object;return t=null,n},Io=function(){try{yo=new ActiveXObject("htmlfile")}catch(o){}var t,n,e;Io="undefined"!=typeof document?document.domain&&yo?Lo(yo):(n=wo("iframe"),e="java"+jo+":",n.style.display="none",Oo.appendChild(n),n.src=String(e),(t=n.contentWindow.document).open(),t.write(To("document.F=Object")),t.close(),t.F):Lo(yo);for(var r=ho.length;r--;)delete Io[So][ho[r]];return Io()};mo[Po]=!0;var Mo=$t,Fo=Object.create||function(t,n){var e;return null!==t?(Eo[So]=vo(t),e=new Eo,Eo[So]=null,e[Po]=t):e=Io(),void 0===n?e:go.f(e,n)},Do=jn.f,Ao=Mo("unscopables"),Co=Array.prototype;null==Co[Ao]&&Do(Co,Ao,{configurable:!0,value:Fo(null)});var xo=eo.findLast,_o=function(t){Co[Ao][t]=!0};(function(t,n){var e,r,o,i,u,c=t.target,f=t.global,a=t.stat;if(e=f?Nr:a?Nr[c]||Hr(c,{}):(Nr[c]||{}).prototype)for(r in n){if(i=n[r],o=t.dontCallGetSet?(u=Rr(e,r))&&u.value:e[r],!Ur(f?r:c+(a?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Br(i,o)}(t.sham||o&&o.sham)&&Wr(i,"sham",!0),Gr(e,r,i,t)}})({target:"Array",proto:!0},{findLast:function(t){return xo(this,t,arguments.length>1?arguments[1]:void 0)}}),_o("findLast");