diff --git a/assets/index-BWsfjeKm.js b/assets/index-unxZm5-z.js similarity index 86% rename from assets/index-BWsfjeKm.js rename to assets/index-unxZm5-z.js index 004af05..43a9a51 100644 --- a/assets/index-BWsfjeKm.js +++ b/assets/index-unxZm5-z.js @@ -1,4 +1,4 @@ -(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const w of document.querySelectorAll('link[rel="modulepreload"]'))t(w);new MutationObserver(w=>{for(const x of w)if(x.type==="childList")for(const c of x.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&t(c)}).observe(document,{childList:!0,subtree:!0});function _(w){const x={};return w.integrity&&(x.integrity=w.integrity),w.referrerPolicy&&(x.referrerPolicy=w.referrerPolicy),w.crossOrigin==="use-credentials"?x.credentials="include":w.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function t(w){if(w.ep)return;w.ep=!0;const x=_(w);fetch(w.href,x)}})();var Ns=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xd(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var _d={exports:{}},Fi={},wd={exports:{}},ft={};/** +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const w of document.querySelectorAll('link[rel="modulepreload"]'))t(w);new MutationObserver(w=>{for(const x of w)if(x.type==="childList")for(const c of x.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&t(c)}).observe(document,{childList:!0,subtree:!0});function _(w){const x={};return w.integrity&&(x.integrity=w.integrity),w.referrerPolicy&&(x.referrerPolicy=w.referrerPolicy),w.crossOrigin==="use-credentials"?x.credentials="include":w.crossOrigin==="anonymous"?x.credentials="omit":x.credentials="same-origin",x}function t(w){if(w.ep)return;w.ep=!0;const x=_(w);fetch(w.href,x)}})();var Ds=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gd(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var vd={exports:{}},Fi={},bd={exports:{}},ft={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ks=Symbol.for("react.element"),ap=Symbol.for("react.portal"),lp=Symbol.for("react.fragment"),up=Symbol.for("react.strict_mode"),cp=Symbol.for("react.profiler"),dp=Symbol.for("react.provider"),fp=Symbol.for("react.context"),hp=Symbol.for("react.forward_ref"),pp=Symbol.for("react.suspense"),mp=Symbol.for("react.memo"),yp=Symbol.for("react.lazy"),cc=Symbol.iterator;function gp(r){return r===null||typeof r!="object"?null:(r=cc&&r[cc]||r["@@iterator"],typeof r=="function"?r:null)}var jd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Sd=Object.assign,Ed={};function Oo(r,n,_){this.props=r,this.context=n,this.refs=Ed,this.updater=_||jd}Oo.prototype.isReactComponent={};Oo.prototype.setState=function(r,n){if(typeof r!="object"&&typeof r!="function"&&r!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,r,n,"setState")};Oo.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};function kd(){}kd.prototype=Oo.prototype;function Pl(r,n,_){this.props=r,this.context=n,this.refs=Ed,this.updater=_||jd}var Ll=Pl.prototype=new kd;Ll.constructor=Pl;Sd(Ll,Oo.prototype);Ll.isPureReactComponent=!0;var dc=Array.isArray,Td=Object.prototype.hasOwnProperty,Al={current:null},Md={key:!0,ref:!0,__self:!0,__source:!0};function Cd(r,n,_){var t,w={},x=null,c=null;if(n!=null)for(t in n.ref!==void 0&&(c=n.ref),n.key!==void 0&&(x=""+n.key),n)Td.call(n,t)&&!Md.hasOwnProperty(t)&&(w[t]=n[t]);var m=arguments.length-2;if(m===1)w.children=_;else if(1>>1,oe=V[Q];if(0>>1;Qw(B,Y))Ww($,B)?(V[Q]=$,V[W]=Y,Q=W):(V[Q]=B,V[I]=Y,Q=I);else if(Ww($,Y))V[Q]=$,V[W]=Y,Q=W;else break e}}return z}function w(V,z){var Y=V.sortIndex-z.sortIndex;return Y!==0?Y:V.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;r.unstable_now=function(){return x.now()}}else{var c=Date,m=c.now();r.unstable_now=function(){return c.now()-m}}var a=[],h=[],b=1,y=null,s=3,u=!1,l=!1,d=!1,p=typeof setTimeout=="function"?setTimeout:null,o=typeof clearTimeout=="function"?clearTimeout:null,i=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(V){for(var z=_(h);z!==null;){if(z.callback===null)t(h);else if(z.startTime<=V)t(h),z.sortIndex=z.expirationTime,n(a,z);else break;z=_(h)}}function g(V){if(d=!1,f(V),!l)if(_(a)!==null)l=!0,G(j);else{var z=_(h);z!==null&&q(g,z.startTime-V)}}function j(V,z){l=!1,d&&(d=!1,o(T),T=-1),u=!0;var Y=s;try{for(f(z),y=_(a);y!==null&&(!(y.expirationTime>z)||V&&!C());){var Q=y.callback;if(typeof Q=="function"){y.callback=null,s=y.priorityLevel;var oe=Q(y.expirationTime<=z);z=r.unstable_now(),typeof oe=="function"?y.callback=oe:y===_(a)&&t(a),f(z)}else t(a);y=_(a)}if(y!==null)var E=!0;else{var I=_(h);I!==null&&q(g,I.startTime-z),E=!1}return E}finally{y=null,s=Y,u=!1}}var M=!1,k=null,T=-1,P=5,R=-1;function C(){return!(r.unstable_now()-RV||125Q?(V.sortIndex=Y,n(h,V),_(a)===null&&V===_(h)&&(d?(o(T),T=-1):d=!0,q(g,Y-Q))):(V.sortIndex=oe,n(a,V),l||u||(l=!0,G(j))),V},r.unstable_shouldYield=C,r.unstable_wrapCallback=function(V){var z=s;return function(){var Y=s;s=z;try{return V.apply(this,arguments)}finally{s=Y}}}})(Rd);Ad.exports=Rd;var Mp=Ad.exports;/** + */(function(r){function n(V,z){var Y=V.length;V.push(z);e:for(;0>>1,oe=V[Q];if(0>>1;Qw(B,Y))Ww($,B)?(V[Q]=$,V[W]=Y,Q=W):(V[Q]=B,V[I]=Y,Q=I);else if(Ww($,Y))V[Q]=$,V[W]=Y,Q=W;else break e}}return z}function w(V,z){var Y=V.sortIndex-z.sortIndex;return Y!==0?Y:V.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var x=performance;r.unstable_now=function(){return x.now()}}else{var c=Date,m=c.now();r.unstable_now=function(){return c.now()-m}}var a=[],h=[],b=1,y=null,s=3,u=!1,l=!1,d=!1,p=typeof setTimeout=="function"?setTimeout:null,o=typeof clearTimeout=="function"?clearTimeout:null,i=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(V){for(var z=_(h);z!==null;){if(z.callback===null)t(h);else if(z.startTime<=V)t(h),z.sortIndex=z.expirationTime,n(a,z);else break;z=_(h)}}function g(V){if(d=!1,f(V),!l)if(_(a)!==null)l=!0,G(j);else{var z=_(h);z!==null&&q(g,z.startTime-V)}}function j(V,z){l=!1,d&&(d=!1,o(T),T=-1),u=!0;var Y=s;try{for(f(z),y=_(a);y!==null&&(!(y.expirationTime>z)||V&&!C());){var Q=y.callback;if(typeof Q=="function"){y.callback=null,s=y.priorityLevel;var oe=Q(y.expirationTime<=z);z=r.unstable_now(),typeof oe=="function"?y.callback=oe:y===_(a)&&t(a),f(z)}else t(a);y=_(a)}if(y!==null)var k=!0;else{var I=_(h);I!==null&&q(g,I.startTime-z),k=!1}return k}finally{y=null,s=Y,u=!1}}var M=!1,E=null,T=-1,P=5,R=-1;function C(){return!(r.unstable_now()-RV||125Q?(V.sortIndex=Y,n(h,V),_(a)===null&&V===_(h)&&(d?(o(T),T=-1):d=!0,q(g,Y-Q))):(V.sortIndex=oe,n(a,V),l||u||(l=!0,G(j))),V},r.unstable_shouldYield=C,r.unstable_wrapCallback=function(V){var z=s;return function(){var Y=s;s=z;try{return V.apply(this,arguments)}finally{s=Y}}}})(Pd);Od.exports=Pd;var Sp=Od.exports;/** * @license React * react-dom.production.min.js * @@ -30,16 +30,16 @@ * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Cp=Kt,Mr=Mp;function Be(r){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+r,_=1;_"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ra=Object.prototype.hasOwnProperty,Op=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,hc={},pc={};function Pp(r){return Ra.call(pc,r)?!0:Ra.call(hc,r)?!1:Op.test(r)?pc[r]=!0:(hc[r]=!0,!1)}function Lp(r,n,_,t){if(_!==null&&_.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return t?!1:_!==null?!_.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function Ap(r,n,_,t){if(n===null||typeof n>"u"||Lp(r,n,_,t))return!0;if(t)return!1;if(_!==null)switch(_.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function vr(r,n,_,t,w,x,c){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=t,this.attributeNamespace=w,this.mustUseProperty=_,this.propertyName=r,this.type=n,this.sanitizeURL=x,this.removeEmptyString=c}var ir={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){ir[r]=new vr(r,0,!1,r,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var n=r[0];ir[n]=new vr(n,1,!1,r[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(r){ir[r]=new vr(r,2,!1,r.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){ir[r]=new vr(r,2,!1,r,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){ir[r]=new vr(r,3,!1,r.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(r){ir[r]=new vr(r,3,!0,r,null,!1,!1)});["capture","download"].forEach(function(r){ir[r]=new vr(r,4,!1,r,null,!1,!1)});["cols","rows","size","span"].forEach(function(r){ir[r]=new vr(r,6,!1,r,null,!1,!1)});["rowSpan","start"].forEach(function(r){ir[r]=new vr(r,5,!1,r.toLowerCase(),null,!1,!1)});var Dl=/[\-:]([a-z])/g;function Nl(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var n=r.replace(Dl,Nl);ir[n]=new vr(n,1,!1,r,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var n=r.replace(Dl,Nl);ir[n]=new vr(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(r){var n=r.replace(Dl,Nl);ir[n]=new vr(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(r){ir[r]=new vr(r,1,!1,r.toLowerCase(),null,!1,!1)});ir.xlinkHref=new vr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(r){ir[r]=new vr(r,1,!1,r.toLowerCase(),null,!0,!0)});function Fl(r,n,_,t){var w=ir.hasOwnProperty(n)?ir[n]:null;(w!==null?w.type!==0:t||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ra=Object.prototype.hasOwnProperty,kp=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,cc={},dc={};function Tp(r){return Ra.call(dc,r)?!0:Ra.call(cc,r)?!1:kp.test(r)?dc[r]=!0:(cc[r]=!0,!1)}function Mp(r,n,_,t){if(_!==null&&_.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return t?!1:_!==null?!_.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function Cp(r,n,_,t){if(n===null||typeof n>"u"||Mp(r,n,_,t))return!0;if(t)return!1;if(_!==null)switch(_.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function vr(r,n,_,t,w,x,c){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=t,this.attributeNamespace=w,this.mustUseProperty=_,this.propertyName=r,this.type=n,this.sanitizeURL=x,this.removeEmptyString=c}var ir={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){ir[r]=new vr(r,0,!1,r,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var n=r[0];ir[n]=new vr(n,1,!1,r[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(r){ir[r]=new vr(r,2,!1,r.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){ir[r]=new vr(r,2,!1,r,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(r){ir[r]=new vr(r,3,!1,r.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(r){ir[r]=new vr(r,3,!0,r,null,!1,!1)});["capture","download"].forEach(function(r){ir[r]=new vr(r,4,!1,r,null,!1,!1)});["cols","rows","size","span"].forEach(function(r){ir[r]=new vr(r,6,!1,r,null,!1,!1)});["rowSpan","start"].forEach(function(r){ir[r]=new vr(r,5,!1,r.toLowerCase(),null,!1,!1)});var Rl=/[\-:]([a-z])/g;function Il(r){return r[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(r){var n=r.replace(Rl,Il);ir[n]=new vr(n,1,!1,r,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var n=r.replace(Rl,Il);ir[n]=new vr(n,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(r){var n=r.replace(Rl,Il);ir[n]=new vr(n,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(r){ir[r]=new vr(r,1,!1,r.toLowerCase(),null,!1,!1)});ir.xlinkHref=new vr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(r){ir[r]=new vr(r,1,!1,r.toLowerCase(),null,!0,!0)});function Dl(r,n,_,t){var w=ir.hasOwnProperty(n)?ir[n]:null;(w!==null?w.type!==0:t||!(2m||w[c]!==x[m]){var a=` -`+w[c].replace(" at new "," at ");return r.displayName&&a.includes("")&&(a=a.replace("",r.displayName)),a}while(1<=c&&0<=m);break}}}finally{ua=!1,Error.prepareStackTrace=_}return(r=r?r.displayName||r.name:"")?Qo(r):""}function Rp(r){switch(r.tag){case 5:return Qo(r.type);case 16:return Qo("Lazy");case 13:return Qo("Suspense");case 19:return Qo("SuspenseList");case 0:case 2:case 15:return r=ca(r.type,!1),r;case 11:return r=ca(r.type.render,!1),r;case 1:return r=ca(r.type,!0),r;default:return""}}function Fa(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case oo:return"Fragment";case no:return"Portal";case Ia:return"Profiler";case Ul:return"StrictMode";case Da:return"Suspense";case Na:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Nd:return(r.displayName||"Context")+".Consumer";case Dd:return(r._context.displayName||"Context")+".Provider";case Bl:var n=r.render;return r=r.displayName,r||(r=n.displayName||n.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Gl:return n=r.displayName||null,n!==null?n:Fa(r.type)||"Memo";case bn:n=r._payload,r=r._init;try{return Fa(r(n))}catch{}}return null}function Ip(r){var n=r.type;switch(r.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=n.render,r=r.displayName||r.name||"",n.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fa(n);case 8:return n===Ul?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function An(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Ud(r){var n=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Dp(r){var n=Ud(r)?"checked":"value",_=Object.getOwnPropertyDescriptor(r.constructor.prototype,n),t=""+r[n];if(!r.hasOwnProperty(n)&&typeof _<"u"&&typeof _.get=="function"&&typeof _.set=="function"){var w=_.get,x=_.set;return Object.defineProperty(r,n,{configurable:!0,get:function(){return w.call(this)},set:function(c){t=""+c,x.call(this,c)}}),Object.defineProperty(r,n,{enumerable:_.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){r._valueTracker=null,delete r[n]}}}}function Bs(r){r._valueTracker||(r._valueTracker=Dp(r))}function Bd(r){if(!r)return!1;var n=r._valueTracker;if(!n)return!0;var _=n.getValue(),t="";return r&&(t=Ud(r)?r.checked?"true":"false":r.value),r=t,r!==_?(n.setValue(r),!0):!1}function pi(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Ua(r,n){var _=n.checked;return It({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:_??r._wrapperState.initialChecked})}function yc(r,n){var _=n.defaultValue==null?"":n.defaultValue,t=n.checked!=null?n.checked:n.defaultChecked;_=An(n.value!=null?n.value:_),r._wrapperState={initialChecked:t,initialValue:_,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Gd(r,n){n=n.checked,n!=null&&Fl(r,"checked",n,!1)}function Ba(r,n){Gd(r,n);var _=An(n.value),t=n.type;if(_!=null)t==="number"?(_===0&&r.value===""||r.value!=_)&&(r.value=""+_):r.value!==""+_&&(r.value=""+_);else if(t==="submit"||t==="reset"){r.removeAttribute("value");return}n.hasOwnProperty("value")?Ga(r,n.type,_):n.hasOwnProperty("defaultValue")&&Ga(r,n.type,An(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(r.defaultChecked=!!n.defaultChecked)}function gc(r,n,_){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var t=n.type;if(!(t!=="submit"&&t!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+r._wrapperState.initialValue,_||n===r.value||(r.value=n),r.defaultValue=n}_=r.name,_!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,_!==""&&(r.name=_)}function Ga(r,n,_){(n!=="number"||pi(r.ownerDocument)!==r)&&(_==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+_&&(r.defaultValue=""+_))}var $o=Array.isArray;function go(r,n,_,t){if(r=r.options,n){n={};for(var w=0;w<_.length;w++)n["$"+_[w]]=!0;for(_=0;_"+n.valueOf().toString()+"",n=Gs.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;n.firstChild;)r.appendChild(n.firstChild)}});function cs(r,n){if(n){var _=r.firstChild;if(_&&_===r.lastChild&&_.nodeType===3){_.nodeValue=n;return}}r.textContent=n}var es={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Np=["Webkit","ms","Moz","O"];Object.keys(es).forEach(function(r){Np.forEach(function(n){n=n+r.charAt(0).toUpperCase()+r.substring(1),es[n]=es[r]})});function Wd(r,n,_){return n==null||typeof n=="boolean"||n===""?"":_||typeof n!="number"||n===0||es.hasOwnProperty(r)&&es[r]?(""+n).trim():n+"px"}function qd(r,n){r=r.style;for(var _ in n)if(n.hasOwnProperty(_)){var t=_.indexOf("--")===0,w=Wd(_,n[_],t);_==="float"&&(_="cssFloat"),t?r.setProperty(_,w):r[_]=w}}var Fp=It({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ha(r,n){if(n){if(Fp[r]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(Be(137,r));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(Be(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(Be(61))}if(n.style!=null&&typeof n.style!="object")throw Error(Be(62))}}function Wa(r,n){if(r.indexOf("-")===-1)return typeof n.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qa=null;function zl(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Xa=null,vo=null,bo=null;function xc(r){if(r=Cs(r)){if(typeof Xa!="function")throw Error(Be(280));var n=r.stateNode;n&&(n=Vi(n),Xa(r.stateNode,r.type,n))}}function Xd(r){vo?bo?bo.push(r):bo=[r]:vo=r}function Yd(){if(vo){var r=vo,n=bo;if(bo=vo=null,xc(r),n)for(r=0;r>>=0,r===0?32:31-(Zp(r)/Qp|0)|0}var zs=64,Vs=4194304;function Ko(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function vi(r,n){var _=r.pendingLanes;if(_===0)return 0;var t=0,w=r.suspendedLanes,x=r.pingedLanes,c=_&268435455;if(c!==0){var m=c&~w;m!==0?t=Ko(m):(x&=c,x!==0&&(t=Ko(x)))}else c=_&~w,c!==0?t=Ko(c):x!==0&&(t=Ko(x));if(t===0)return 0;if(n!==0&&n!==t&&!(n&w)&&(w=t&-t,x=n&-n,w>=x||w===16&&(x&4194240)!==0))return n;if(t&4&&(t|=_&16),n=r.entangledLanes,n!==0)for(r=r.entanglements,n&=t;0_;_++)n.push(r);return n}function Ts(r,n,_){r.pendingLanes|=n,n!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,n=31-Hr(n),r[n]=_}function em(r,n){var _=r.pendingLanes&~n;r.pendingLanes=n,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=n,r.mutableReadLanes&=n,r.entangledLanes&=n,n=r.entanglements;var t=r.eventTimes;for(r=r.expirationTimes;0<_;){var w=31-Hr(_),x=1<=rs),Cc=" ",Oc=!1;function mf(r,n){switch(r){case"keyup":return Mm.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yf(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var so=!1;function Om(r,n){switch(r){case"compositionend":return yf(n);case"keypress":return n.which!==32?null:(Oc=!0,Cc);case"textInput":return r=n.data,r===Cc&&Oc?null:r;default:return null}}function Pm(r,n){if(so)return r==="compositionend"||!Ql&&mf(r,n)?(r=hf(),si=Xl=jn=null,so=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:_,offset:n-r};r=t}e:{for(;_;){if(_.nextSibling){_=_.nextSibling;break e}_=_.parentNode}_=void 0}_=Rc(_)}}function xf(r,n){return r&&n?r===n?!0:r&&r.nodeType===3?!1:n&&n.nodeType===3?xf(r,n.parentNode):"contains"in r?r.contains(n):r.compareDocumentPosition?!!(r.compareDocumentPosition(n)&16):!1:!1}function _f(){for(var r=window,n=pi();n instanceof r.HTMLIFrameElement;){try{var _=typeof n.contentWindow.location.href=="string"}catch{_=!1}if(_)r=n.contentWindow;else break;n=pi(r.document)}return n}function $l(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n&&(n==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||n==="textarea"||r.contentEditable==="true")}function Bm(r){var n=_f(),_=r.focusedElem,t=r.selectionRange;if(n!==_&&_&&_.ownerDocument&&xf(_.ownerDocument.documentElement,_)){if(t!==null&&$l(_)){if(n=t.start,r=t.end,r===void 0&&(r=n),"selectionStart"in _)_.selectionStart=n,_.selectionEnd=Math.min(r,_.value.length);else if(r=(n=_.ownerDocument||document)&&n.defaultView||window,r.getSelection){r=r.getSelection();var w=_.textContent.length,x=Math.min(t.start,w);t=t.end===void 0?x:Math.min(t.end,w),!r.extend&&x>t&&(w=t,t=x,x=w),w=Ic(_,x);var c=Ic(_,t);w&&c&&(r.rangeCount!==1||r.anchorNode!==w.node||r.anchorOffset!==w.offset||r.focusNode!==c.node||r.focusOffset!==c.offset)&&(n=n.createRange(),n.setStart(w.node,w.offset),r.removeAllRanges(),x>t?(r.addRange(n),r.extend(c.node,c.offset)):(n.setEnd(c.node,c.offset),r.addRange(n)))}}for(n=[],r=_;r=r.parentNode;)r.nodeType===1&&n.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_=document.documentMode,io=null,Ja=null,os=null,el=!1;function Dc(r,n,_){var t=_.window===_?_.document:_.nodeType===9?_:_.ownerDocument;el||io==null||io!==pi(t)||(t=io,"selectionStart"in t&&$l(t)?t={start:t.selectionStart,end:t.selectionEnd}:(t=(t.ownerDocument&&t.ownerDocument.defaultView||window).getSelection(),t={anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}),os&&ys(os,t)||(os=t,t=_i(Ja,"onSelect"),0uo||(r.current=il[uo],il[uo]=null,uo--)}function Et(r,n){uo++,il[uo]=r.current,r.current=n}var Rn={},pr=Dn(Rn),_r=Dn(!1),Wn=Rn;function So(r,n){var _=r.type.contextTypes;if(!_)return Rn;var t=r.stateNode;if(t&&t.__reactInternalMemoizedUnmaskedChildContext===n)return t.__reactInternalMemoizedMaskedChildContext;var w={},x;for(x in _)w[x]=n[x];return t&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=w),w}function wr(r){return r=r.childContextTypes,r!=null}function ji(){Ot(_r),Ot(pr)}function Vc(r,n,_){if(pr.current!==Rn)throw Error(Be(168));Et(pr,n),Et(_r,_)}function Of(r,n,_){var t=r.stateNode;if(n=n.childContextTypes,typeof t.getChildContext!="function")return _;t=t.getChildContext();for(var w in t)if(!(w in n))throw Error(Be(108,Ip(r)||"Unknown",w));return It({},_,t)}function Si(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Rn,Wn=pr.current,Et(pr,r),Et(_r,_r.current),!0}function Hc(r,n,_){var t=r.stateNode;if(!t)throw Error(Be(169));_?(r=Of(r,n,Wn),t.__reactInternalMemoizedMergedChildContext=r,Ot(_r),Ot(pr),Et(pr,r)):Ot(_r),Et(_r,_)}var sn=null,Hi=!1,Sa=!1;function Pf(r){sn===null?sn=[r]:sn.push(r)}function Km(r){Hi=!0,Pf(r)}function Nn(){if(!Sa&&sn!==null){Sa=!0;var r=0,n=bt;try{var _=sn;for(bt=1;r<_.length;r++){var t=_[r];do t=t(!0);while(t!==null)}sn=null,Hi=!1}catch(w){throw sn!==null&&(sn=sn.slice(r+1)),tf(Vl,Nn),w}finally{bt=n,Sa=!1}}return null}var co=[],fo=0,Ei=null,ki=0,Pr=[],Lr=0,qn=null,an=1,ln="";function Fn(r,n){co[fo++]=ki,co[fo++]=Ei,Ei=r,ki=n}function Lf(r,n,_){Pr[Lr++]=an,Pr[Lr++]=ln,Pr[Lr++]=qn,qn=r;var t=an;r=ln;var w=32-Hr(t)-1;t&=~(1<>=c,w-=c,an=1<<32-Hr(n)+w|_<T?(P=k,k=null):P=k.sibling;var R=s(o,k,f[T],g);if(R===null){k===null&&(k=P);break}r&&k&&R.alternate===null&&n(o,k),i=x(R,i,T),M===null?j=R:M.sibling=R,M=R,k=P}if(T===f.length)return _(o,k),Pt&&Fn(o,T),j;if(k===null){for(;TT?(P=k,k=null):P=k.sibling;var C=s(o,k,R.value,g);if(C===null){k===null&&(k=P);break}r&&k&&C.alternate===null&&n(o,k),i=x(C,i,T),M===null?j=C:M.sibling=C,M=C,k=P}if(R.done)return _(o,k),Pt&&Fn(o,T),j;if(k===null){for(;!R.done;T++,R=f.next())R=y(o,R.value,g),R!==null&&(i=x(R,i,T),M===null?j=R:M.sibling=R,M=R);return Pt&&Fn(o,T),j}for(k=t(o,k);!R.done;T++,R=f.next())R=u(k,o,T,R.value,g),R!==null&&(r&&R.alternate!==null&&k.delete(R.key===null?T:R.key),i=x(R,i,T),M===null?j=R:M.sibling=R,M=R);return r&&k.forEach(function(D){return n(o,D)}),Pt&&Fn(o,T),j}function p(o,i,f,g){if(typeof f=="object"&&f!==null&&f.type===oo&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Us:e:{for(var j=f.key,M=i;M!==null;){if(M.key===j){if(j=f.type,j===oo){if(M.tag===7){_(o,M.sibling),i=w(M,f.props.children),i.return=o,o=i;break e}}else if(M.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===bn&&Xc(j)===M.type){_(o,M.sibling),i=w(M,f.props),i.ref=Xo(o,M,f),i.return=o,o=i;break e}_(o,M);break}else n(o,M);M=M.sibling}f.type===oo?(i=Hn(f.props.children,o.mode,g,f.key),i.return=o,o=i):(g=hi(f.type,f.key,f.props,null,o.mode,g),g.ref=Xo(o,i,f),g.return=o,o=g)}return c(o);case no:e:{for(M=f.key;i!==null;){if(i.key===M)if(i.tag===4&&i.stateNode.containerInfo===f.containerInfo&&i.stateNode.implementation===f.implementation){_(o,i.sibling),i=w(i,f.children||[]),i.return=o,o=i;break e}else{_(o,i);break}else n(o,i);i=i.sibling}i=La(f,o.mode,g),i.return=o,o=i}return c(o);case bn:return M=f._init,p(o,i,M(f._payload),g)}if($o(f))return l(o,i,f,g);if(zo(f))return d(o,i,f,g);Qs(o,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,i!==null&&i.tag===6?(_(o,i.sibling),i=w(i,f),i.return=o,o=i):(_(o,i),i=Pa(f,o.mode,g),i.return=o,o=i),c(o)):_(o,i)}return p}var ko=If(!0),Df=If(!1),Ti=Dn(null),Mi=null,ho=null,tu=null;function ru(){tu=ho=Mi=null}function nu(r){var n=Ti.current;Ot(Ti),r._currentValue=n}function ul(r,n,_){for(;r!==null;){var t=r.alternate;if((r.childLanes&n)!==n?(r.childLanes|=n,t!==null&&(t.childLanes|=n)):t!==null&&(t.childLanes&n)!==n&&(t.childLanes|=n),r===_)break;r=r.return}}function _o(r,n){Mi=r,tu=ho=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&n&&(xr=!0),r.firstContext=null)}function Ir(r){var n=r._currentValue;if(tu!==r)if(r={context:r,memoizedValue:n,next:null},ho===null){if(Mi===null)throw Error(Be(308));ho=r,Mi.dependencies={lanes:0,firstContext:r}}else ho=ho.next=r;return n}var Gn=null;function ou(r){Gn===null?Gn=[r]:Gn.push(r)}function Nf(r,n,_,t){var w=n.interleaved;return w===null?(_.next=_,ou(n)):(_.next=w.next,w.next=_),n.interleaved=_,fn(r,t)}function fn(r,n){r.lanes|=n;var _=r.alternate;for(_!==null&&(_.lanes|=n),_=r,r=r.return;r!==null;)r.childLanes|=n,_=r.alternate,_!==null&&(_.childLanes|=n),_=r,r=r.return;return _.tag===3?_.stateNode:null}var xn=!1;function su(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ff(r,n){r=r.updateQueue,n.updateQueue===r&&(n.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function un(r,n){return{eventTime:r,lane:n,tag:0,payload:null,callback:null,next:null}}function Cn(r,n,_){var t=r.updateQueue;if(t===null)return null;if(t=t.shared,yt&2){var w=t.pending;return w===null?n.next=n:(n.next=w.next,w.next=n),t.pending=n,fn(r,_)}return w=t.interleaved,w===null?(n.next=n,ou(t)):(n.next=w.next,w.next=n),t.interleaved=n,fn(r,_)}function ai(r,n,_){if(n=n.updateQueue,n!==null&&(n=n.shared,(_&4194240)!==0)){var t=n.lanes;t&=r.pendingLanes,_|=t,n.lanes=_,Hl(r,_)}}function Yc(r,n){var _=r.updateQueue,t=r.alternate;if(t!==null&&(t=t.updateQueue,_===t)){var w=null,x=null;if(_=_.firstBaseUpdate,_!==null){do{var c={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};x===null?w=x=c:x=x.next=c,_=_.next}while(_!==null);x===null?w=x=n:x=x.next=n}else w=x=n;_={baseState:t.baseState,firstBaseUpdate:w,lastBaseUpdate:x,shared:t.shared,effects:t.effects},r.updateQueue=_;return}r=_.lastBaseUpdate,r===null?_.firstBaseUpdate=n:r.next=n,_.lastBaseUpdate=n}function Ci(r,n,_,t){var w=r.updateQueue;xn=!1;var x=w.firstBaseUpdate,c=w.lastBaseUpdate,m=w.shared.pending;if(m!==null){w.shared.pending=null;var a=m,h=a.next;a.next=null,c===null?x=h:c.next=h,c=a;var b=r.alternate;b!==null&&(b=b.updateQueue,m=b.lastBaseUpdate,m!==c&&(m===null?b.firstBaseUpdate=h:m.next=h,b.lastBaseUpdate=a))}if(x!==null){var y=w.baseState;c=0,b=h=a=null,m=x;do{var s=m.lane,u=m.eventTime;if((t&s)===s){b!==null&&(b=b.next={eventTime:u,lane:0,tag:m.tag,payload:m.payload,callback:m.callback,next:null});e:{var l=r,d=m;switch(s=n,u=_,d.tag){case 1:if(l=d.payload,typeof l=="function"){y=l.call(u,y,s);break e}y=l;break e;case 3:l.flags=l.flags&-65537|128;case 0:if(l=d.payload,s=typeof l=="function"?l.call(u,y,s):l,s==null)break e;y=It({},y,s);break e;case 2:xn=!0}}m.callback!==null&&m.lane!==0&&(r.flags|=64,s=w.effects,s===null?w.effects=[m]:s.push(m))}else u={eventTime:u,lane:s,tag:m.tag,payload:m.payload,callback:m.callback,next:null},b===null?(h=b=u,a=y):b=b.next=u,c|=s;if(m=m.next,m===null){if(m=w.shared.pending,m===null)break;s=m,m=s.next,s.next=null,w.lastBaseUpdate=s,w.shared.pending=null}}while(!0);if(b===null&&(a=y),w.baseState=a,w.firstBaseUpdate=h,w.lastBaseUpdate=b,n=w.shared.interleaved,n!==null){w=n;do c|=w.lane,w=w.next;while(w!==n)}else x===null&&(w.shared.lanes=0);Yn|=c,r.lanes=c,r.memoizedState=y}}function Zc(r,n,_){if(r=n.effects,n.effects=null,r!==null)for(n=0;n_?_:4,r(!0);var t=ka.transition;ka.transition={};try{r(!1),n()}finally{bt=_,ka.transition=t}}function th(){return Dr().memoizedState}function ry(r,n,_){var t=Pn(r);if(_={lane:t,action:_,hasEagerState:!1,eagerState:null,next:null},rh(r))nh(n,_);else if(_=Nf(r,n,_,t),_!==null){var w=yr();Wr(_,r,t,w),oh(_,n,t)}}function ny(r,n,_){var t=Pn(r),w={lane:t,action:_,hasEagerState:!1,eagerState:null,next:null};if(rh(r))nh(n,w);else{var x=r.alternate;if(r.lanes===0&&(x===null||x.lanes===0)&&(x=n.lastRenderedReducer,x!==null))try{var c=n.lastRenderedState,m=x(c,_);if(w.hasEagerState=!0,w.eagerState=m,qr(m,c)){var a=n.interleaved;a===null?(w.next=w,ou(n)):(w.next=a.next,a.next=w),n.interleaved=w;return}}catch{}finally{}_=Nf(r,n,w,t),_!==null&&(w=yr(),Wr(_,r,t,w),oh(_,n,t))}}function rh(r){var n=r.alternate;return r===Rt||n!==null&&n===Rt}function nh(r,n){ss=Pi=!0;var _=r.pending;_===null?n.next=n:(n.next=_.next,_.next=n),r.pending=n}function oh(r,n,_){if(_&4194240){var t=n.lanes;t&=r.pendingLanes,_|=t,n.lanes=_,Hl(r,_)}}var Li={readContext:Ir,useCallback:dr,useContext:dr,useEffect:dr,useImperativeHandle:dr,useInsertionEffect:dr,useLayoutEffect:dr,useMemo:dr,useReducer:dr,useRef:dr,useState:dr,useDebugValue:dr,useDeferredValue:dr,useTransition:dr,useMutableSource:dr,useSyncExternalStore:dr,useId:dr,unstable_isNewReconciler:!1},oy={readContext:Ir,useCallback:function(r,n){return Kr().memoizedState=[r,n===void 0?null:n],r},useContext:Ir,useEffect:$c,useImperativeHandle:function(r,n,_){return _=_!=null?_.concat([r]):null,ui(4194308,4,Qf.bind(null,n,r),_)},useLayoutEffect:function(r,n){return ui(4194308,4,r,n)},useInsertionEffect:function(r,n){return ui(4,2,r,n)},useMemo:function(r,n){var _=Kr();return n=n===void 0?null:n,r=r(),_.memoizedState=[r,n],r},useReducer:function(r,n,_){var t=Kr();return n=_!==void 0?_(n):n,t.memoizedState=t.baseState=n,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:n},t.queue=r,r=r.dispatch=ry.bind(null,Rt,r),[t.memoizedState,r]},useRef:function(r){var n=Kr();return r={current:r},n.memoizedState=r},useState:Qc,useDebugValue:hu,useDeferredValue:function(r){return Kr().memoizedState=r},useTransition:function(){var r=Qc(!1),n=r[0];return r=ty.bind(null,r[1]),Kr().memoizedState=r,[n,r]},useMutableSource:function(){},useSyncExternalStore:function(r,n,_){var t=Rt,w=Kr();if(Pt){if(_===void 0)throw Error(Be(407));_=_()}else{if(_=n(),er===null)throw Error(Be(349));Xn&30||zf(t,n,_)}w.memoizedState=_;var x={value:_,getSnapshot:n};return w.queue=x,$c(Hf.bind(null,t,x,r),[r]),t.flags|=2048,Ss(9,Vf.bind(null,t,x,_,n),void 0,null),_},useId:function(){var r=Kr(),n=er.identifierPrefix;if(Pt){var _=ln,t=an;_=(t&~(1<<32-Hr(t)-1)).toString(32)+_,n=":"+n+"R"+_,_=ws++,0<_&&(n+="H"+_.toString(32)),n+=":"}else _=ey++,n=":"+n+"r"+_.toString(32)+":";return r.memoizedState=n},unstable_isNewReconciler:!1},sy={readContext:Ir,useCallback:Kf,useContext:Ir,useEffect:fu,useImperativeHandle:$f,useInsertionEffect:Yf,useLayoutEffect:Zf,useMemo:Jf,useReducer:Ta,useRef:Xf,useState:function(){return Ta(js)},useDebugValue:hu,useDeferredValue:function(r){var n=Dr();return eh(n,qt.memoizedState,r)},useTransition:function(){var r=Ta(js)[0],n=Dr().memoizedState;return[r,n]},useMutableSource:Bf,useSyncExternalStore:Gf,useId:th,unstable_isNewReconciler:!1},iy={readContext:Ir,useCallback:Kf,useContext:Ir,useEffect:fu,useImperativeHandle:$f,useInsertionEffect:Yf,useLayoutEffect:Zf,useMemo:Jf,useReducer:Ma,useRef:Xf,useState:function(){return Ma(js)},useDebugValue:hu,useDeferredValue:function(r){var n=Dr();return qt===null?n.memoizedState=r:eh(n,qt.memoizedState,r)},useTransition:function(){var r=Ma(js)[0],n=Dr().memoizedState;return[r,n]},useMutableSource:Bf,useSyncExternalStore:Gf,useId:th,unstable_isNewReconciler:!1};function Gr(r,n){if(r&&r.defaultProps){n=It({},n),r=r.defaultProps;for(var _ in r)n[_]===void 0&&(n[_]=r[_]);return n}return n}function cl(r,n,_,t){n=r.memoizedState,_=_(t,n),_=_==null?n:It({},n,_),r.memoizedState=_,r.lanes===0&&(r.updateQueue.baseState=_)}var qi={isMounted:function(r){return(r=r._reactInternals)?$n(r)===r:!1},enqueueSetState:function(r,n,_){r=r._reactInternals;var t=yr(),w=Pn(r),x=un(t,w);x.payload=n,_!=null&&(x.callback=_),n=Cn(r,x,w),n!==null&&(Wr(n,r,w,t),ai(n,r,w))},enqueueReplaceState:function(r,n,_){r=r._reactInternals;var t=yr(),w=Pn(r),x=un(t,w);x.tag=1,x.payload=n,_!=null&&(x.callback=_),n=Cn(r,x,w),n!==null&&(Wr(n,r,w,t),ai(n,r,w))},enqueueForceUpdate:function(r,n){r=r._reactInternals;var _=yr(),t=Pn(r),w=un(_,t);w.tag=2,n!=null&&(w.callback=n),n=Cn(r,w,t),n!==null&&(Wr(n,r,t,_),ai(n,r,t))}};function Kc(r,n,_,t,w,x,c){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(t,x,c):n.prototype&&n.prototype.isPureReactComponent?!ys(_,t)||!ys(w,x):!0}function sh(r,n,_){var t=!1,w=Rn,x=n.contextType;return typeof x=="object"&&x!==null?x=Ir(x):(w=wr(n)?Wn:pr.current,t=n.contextTypes,x=(t=t!=null)?So(r,w):Rn),n=new n(_,x),r.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=qi,r.stateNode=n,n._reactInternals=r,t&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=w,r.__reactInternalMemoizedMaskedChildContext=x),n}function Jc(r,n,_,t){r=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(_,t),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(_,t),n.state!==r&&qi.enqueueReplaceState(n,n.state,null)}function dl(r,n,_,t){var w=r.stateNode;w.props=_,w.state=r.memoizedState,w.refs={},su(r);var x=n.contextType;typeof x=="object"&&x!==null?w.context=Ir(x):(x=wr(n)?Wn:pr.current,w.context=So(r,x)),w.state=r.memoizedState,x=n.getDerivedStateFromProps,typeof x=="function"&&(cl(r,n,x,_),w.state=r.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(n=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),n!==w.state&&qi.enqueueReplaceState(w,w.state,null),Ci(r,_,w,t),w.state=r.memoizedState),typeof w.componentDidMount=="function"&&(r.flags|=4194308)}function Mo(r,n){try{var _="",t=n;do _+=Rp(t),t=t.return;while(t);var w=_}catch(x){w=` +`+w[c].replace(" at new "," at ");return r.displayName&&a.includes("")&&(a=a.replace("",r.displayName)),a}while(1<=c&&0<=m);break}}}finally{ua=!1,Error.prepareStackTrace=_}return(r=r?r.displayName||r.name:"")?Zo(r):""}function Op(r){switch(r.tag){case 5:return Zo(r.type);case 16:return Zo("Lazy");case 13:return Zo("Suspense");case 19:return Zo("SuspenseList");case 0:case 2:case 15:return r=ca(r.type,!1),r;case 11:return r=ca(r.type.render,!1),r;case 1:return r=ca(r.type,!0),r;default:return""}}function Fa(r){if(r==null)return null;if(typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case oo:return"Fragment";case no:return"Portal";case Ia:return"Profiler";case Nl:return"StrictMode";case Da:return"Suspense";case Na:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Rd:return(r.displayName||"Context")+".Consumer";case Ad:return(r._context.displayName||"Context")+".Provider";case Fl:var n=r.render;return r=r.displayName,r||(r=n.displayName||n.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Ul:return n=r.displayName||null,n!==null?n:Fa(r.type)||"Memo";case bn:n=r._payload,r=r._init;try{return Fa(r(n))}catch{}}return null}function Pp(r){var n=r.type;switch(r.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return r=n.render,r=r.displayName||r.name||"",n.displayName||(r!==""?"ForwardRef("+r+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fa(n);case 8:return n===Nl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function An(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Dd(r){var n=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Lp(r){var n=Dd(r)?"checked":"value",_=Object.getOwnPropertyDescriptor(r.constructor.prototype,n),t=""+r[n];if(!r.hasOwnProperty(n)&&typeof _<"u"&&typeof _.get=="function"&&typeof _.set=="function"){var w=_.get,x=_.set;return Object.defineProperty(r,n,{configurable:!0,get:function(){return w.call(this)},set:function(c){t=""+c,x.call(this,c)}}),Object.defineProperty(r,n,{enumerable:_.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){r._valueTracker=null,delete r[n]}}}}function Us(r){r._valueTracker||(r._valueTracker=Lp(r))}function Nd(r){if(!r)return!1;var n=r._valueTracker;if(!n)return!0;var _=n.getValue(),t="";return r&&(t=Dd(r)?r.checked?"true":"false":r.value),r=t,r!==_?(n.setValue(r),!0):!1}function hi(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}function Ua(r,n){var _=n.checked;return It({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:_??r._wrapperState.initialChecked})}function hc(r,n){var _=n.defaultValue==null?"":n.defaultValue,t=n.checked!=null?n.checked:n.defaultChecked;_=An(n.value!=null?n.value:_),r._wrapperState={initialChecked:t,initialValue:_,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Fd(r,n){n=n.checked,n!=null&&Dl(r,"checked",n,!1)}function Ba(r,n){Fd(r,n);var _=An(n.value),t=n.type;if(_!=null)t==="number"?(_===0&&r.value===""||r.value!=_)&&(r.value=""+_):r.value!==""+_&&(r.value=""+_);else if(t==="submit"||t==="reset"){r.removeAttribute("value");return}n.hasOwnProperty("value")?Ga(r,n.type,_):n.hasOwnProperty("defaultValue")&&Ga(r,n.type,An(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(r.defaultChecked=!!n.defaultChecked)}function pc(r,n,_){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var t=n.type;if(!(t!=="submit"&&t!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+r._wrapperState.initialValue,_||n===r.value||(r.value=n),r.defaultValue=n}_=r.name,_!==""&&(r.name=""),r.defaultChecked=!!r._wrapperState.initialChecked,_!==""&&(r.name=_)}function Ga(r,n,_){(n!=="number"||hi(r.ownerDocument)!==r)&&(_==null?r.defaultValue=""+r._wrapperState.initialValue:r.defaultValue!==""+_&&(r.defaultValue=""+_))}var Qo=Array.isArray;function yo(r,n,_,t){if(r=r.options,n){n={};for(var w=0;w<_.length;w++)n["$"+_[w]]=!0;for(_=0;_"+n.valueOf().toString()+"",n=Bs.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;n.firstChild;)r.appendChild(n.firstChild)}});function us(r,n){if(n){var _=r.firstChild;if(_&&_===r.lastChild&&_.nodeType===3){_.nodeValue=n;return}}r.textContent=n}var Jo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ap=["Webkit","ms","Moz","O"];Object.keys(Jo).forEach(function(r){Ap.forEach(function(n){n=n+r.charAt(0).toUpperCase()+r.substring(1),Jo[n]=Jo[r]})});function zd(r,n,_){return n==null||typeof n=="boolean"||n===""?"":_||typeof n!="number"||n===0||Jo.hasOwnProperty(r)&&Jo[r]?(""+n).trim():n+"px"}function Vd(r,n){r=r.style;for(var _ in n)if(n.hasOwnProperty(_)){var t=_.indexOf("--")===0,w=zd(_,n[_],t);_==="float"&&(_="cssFloat"),t?r.setProperty(_,w):r[_]=w}}var Rp=It({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ha(r,n){if(n){if(Rp[r]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(Be(137,r));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(Be(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(Be(61))}if(n.style!=null&&typeof n.style!="object")throw Error(Be(62))}}function Wa(r,n){if(r.indexOf("-")===-1)return typeof n.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qa=null;function Bl(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Xa=null,go=null,vo=null;function gc(r){if(r=Ms(r)){if(typeof Xa!="function")throw Error(Be(280));var n=r.stateNode;n&&(n=Vi(n),Xa(r.stateNode,r.type,n))}}function Hd(r){go?vo?vo.push(r):vo=[r]:go=r}function Wd(){if(go){var r=go,n=vo;if(vo=go=null,gc(r),n)for(r=0;r>>=0,r===0?32:31-(Wp(r)/qp|0)|0}var Gs=64,zs=4194304;function $o(r){switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return r&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return r}}function gi(r,n){var _=r.pendingLanes;if(_===0)return 0;var t=0,w=r.suspendedLanes,x=r.pingedLanes,c=_&268435455;if(c!==0){var m=c&~w;m!==0?t=$o(m):(x&=c,x!==0&&(t=$o(x)))}else c=_&~w,c!==0?t=$o(c):x!==0&&(t=$o(x));if(t===0)return 0;if(n!==0&&n!==t&&!(n&w)&&(w=t&-t,x=n&-n,w>=x||w===16&&(x&4194240)!==0))return n;if(t&4&&(t|=_&16),n=r.entangledLanes,n!==0)for(r=r.entanglements,n&=t;0_;_++)n.push(r);return n}function ks(r,n,_){r.pendingLanes|=n,n!==536870912&&(r.suspendedLanes=0,r.pingedLanes=0),r=r.eventTimes,n=31-Hr(n),r[n]=_}function Qp(r,n){var _=r.pendingLanes&~n;r.pendingLanes=n,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=n,r.mutableReadLanes&=n,r.entangledLanes&=n,n=r.entanglements;var t=r.eventTimes;for(r=r.expirationTimes;0<_;){var w=31-Hr(_),x=1<=ts),kc=" ",Tc=!1;function ff(r,n){switch(r){case"keyup":return Sm.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function hf(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var so=!1;function km(r,n){switch(r){case"compositionend":return hf(n);case"keypress":return n.which!==32?null:(Tc=!0,kc);case"textInput":return r=n.data,r===kc&&Tc?null:r;default:return null}}function Tm(r,n){if(so)return r==="compositionend"||!Yl&&ff(r,n)?(r=cf(),oi=Wl=jn=null,so=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:_,offset:n-r};r=t}e:{for(;_;){if(_.nextSibling){_=_.nextSibling;break e}_=_.parentNode}_=void 0}_=Pc(_)}}function gf(r,n){return r&&n?r===n?!0:r&&r.nodeType===3?!1:n&&n.nodeType===3?gf(r,n.parentNode):"contains"in r?r.contains(n):r.compareDocumentPosition?!!(r.compareDocumentPosition(n)&16):!1:!1}function vf(){for(var r=window,n=hi();n instanceof r.HTMLIFrameElement;){try{var _=typeof n.contentWindow.location.href=="string"}catch{_=!1}if(_)r=n.contentWindow;else break;n=hi(r.document)}return n}function Zl(r){var n=r&&r.nodeName&&r.nodeName.toLowerCase();return n&&(n==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||n==="textarea"||r.contentEditable==="true")}function Dm(r){var n=vf(),_=r.focusedElem,t=r.selectionRange;if(n!==_&&_&&_.ownerDocument&&gf(_.ownerDocument.documentElement,_)){if(t!==null&&Zl(_)){if(n=t.start,r=t.end,r===void 0&&(r=n),"selectionStart"in _)_.selectionStart=n,_.selectionEnd=Math.min(r,_.value.length);else if(r=(n=_.ownerDocument||document)&&n.defaultView||window,r.getSelection){r=r.getSelection();var w=_.textContent.length,x=Math.min(t.start,w);t=t.end===void 0?x:Math.min(t.end,w),!r.extend&&x>t&&(w=t,t=x,x=w),w=Lc(_,x);var c=Lc(_,t);w&&c&&(r.rangeCount!==1||r.anchorNode!==w.node||r.anchorOffset!==w.offset||r.focusNode!==c.node||r.focusOffset!==c.offset)&&(n=n.createRange(),n.setStart(w.node,w.offset),r.removeAllRanges(),x>t?(r.addRange(n),r.extend(c.node,c.offset)):(n.setEnd(c.node,c.offset),r.addRange(n)))}}for(n=[],r=_;r=r.parentNode;)r.nodeType===1&&n.push({element:r,left:r.scrollLeft,top:r.scrollTop});for(typeof _.focus=="function"&&_.focus(),_=0;_=document.documentMode,io=null,Ja=null,ns=null,el=!1;function Ac(r,n,_){var t=_.window===_?_.document:_.nodeType===9?_:_.ownerDocument;el||io==null||io!==hi(t)||(t=io,"selectionStart"in t&&Zl(t)?t={start:t.selectionStart,end:t.selectionEnd}:(t=(t.ownerDocument&&t.ownerDocument.defaultView||window).getSelection(),t={anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}),ns&&ms(ns,t)||(ns=t,t=xi(Ja,"onSelect"),0uo||(r.current=il[uo],il[uo]=null,uo--)}function Et(r,n){uo++,il[uo]=r.current,r.current=n}var Rn={},pr=Dn(Rn),_r=Dn(!1),Wn=Rn;function jo(r,n){var _=r.type.contextTypes;if(!_)return Rn;var t=r.stateNode;if(t&&t.__reactInternalMemoizedUnmaskedChildContext===n)return t.__reactInternalMemoizedMaskedChildContext;var w={},x;for(x in _)w[x]=n[x];return t&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=n,r.__reactInternalMemoizedMaskedChildContext=w),w}function wr(r){return r=r.childContextTypes,r!=null}function wi(){Ot(_r),Ot(pr)}function Bc(r,n,_){if(pr.current!==Rn)throw Error(Be(168));Et(pr,n),Et(_r,_)}function Tf(r,n,_){var t=r.stateNode;if(n=n.childContextTypes,typeof t.getChildContext!="function")return _;t=t.getChildContext();for(var w in t)if(!(w in n))throw Error(Be(108,Pp(r)||"Unknown",w));return It({},_,t)}function ji(r){return r=(r=r.stateNode)&&r.__reactInternalMemoizedMergedChildContext||Rn,Wn=pr.current,Et(pr,r),Et(_r,_r.current),!0}function Gc(r,n,_){var t=r.stateNode;if(!t)throw Error(Be(169));_?(r=Tf(r,n,Wn),t.__reactInternalMemoizedMergedChildContext=r,Ot(_r),Ot(pr),Et(pr,r)):Ot(_r),Et(_r,_)}var sn=null,Hi=!1,Sa=!1;function Mf(r){sn===null?sn=[r]:sn.push(r)}function Ym(r){Hi=!0,Mf(r)}function Nn(){if(!Sa&&sn!==null){Sa=!0;var r=0,n=bt;try{var _=sn;for(bt=1;r<_.length;r++){var t=_[r];do t=t(!0);while(t!==null)}sn=null,Hi=!1}catch(w){throw sn!==null&&(sn=sn.slice(r+1)),Kd(Gl,Nn),w}finally{bt=n,Sa=!1}}return null}var co=[],fo=0,Si=null,Ei=0,Pr=[],Lr=0,qn=null,an=1,ln="";function Fn(r,n){co[fo++]=Ei,co[fo++]=Si,Si=r,Ei=n}function Cf(r,n,_){Pr[Lr++]=an,Pr[Lr++]=ln,Pr[Lr++]=qn,qn=r;var t=an;r=ln;var w=32-Hr(t)-1;t&=~(1<>=c,w-=c,an=1<<32-Hr(n)+w|_<T?(P=E,E=null):P=E.sibling;var R=s(o,E,f[T],g);if(R===null){E===null&&(E=P);break}r&&E&&R.alternate===null&&n(o,E),i=x(R,i,T),M===null?j=R:M.sibling=R,M=R,E=P}if(T===f.length)return _(o,E),Pt&&Fn(o,T),j;if(E===null){for(;TT?(P=E,E=null):P=E.sibling;var C=s(o,E,R.value,g);if(C===null){E===null&&(E=P);break}r&&E&&C.alternate===null&&n(o,E),i=x(C,i,T),M===null?j=C:M.sibling=C,M=C,E=P}if(R.done)return _(o,E),Pt&&Fn(o,T),j;if(E===null){for(;!R.done;T++,R=f.next())R=y(o,R.value,g),R!==null&&(i=x(R,i,T),M===null?j=R:M.sibling=R,M=R);return Pt&&Fn(o,T),j}for(E=t(o,E);!R.done;T++,R=f.next())R=u(E,o,T,R.value,g),R!==null&&(r&&R.alternate!==null&&E.delete(R.key===null?T:R.key),i=x(R,i,T),M===null?j=R:M.sibling=R,M=R);return r&&E.forEach(function(D){return n(o,D)}),Pt&&Fn(o,T),j}function p(o,i,f,g){if(typeof f=="object"&&f!==null&&f.type===oo&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Fs:e:{for(var j=f.key,M=i;M!==null;){if(M.key===j){if(j=f.type,j===oo){if(M.tag===7){_(o,M.sibling),i=w(M,f.props.children),i.return=o,o=i;break e}}else if(M.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===bn&&Hc(j)===M.type){_(o,M.sibling),i=w(M,f.props),i.ref=qo(o,M,f),i.return=o,o=i;break e}_(o,M);break}else n(o,M);M=M.sibling}f.type===oo?(i=Hn(f.props.children,o.mode,g,f.key),i.return=o,o=i):(g=fi(f.type,f.key,f.props,null,o.mode,g),g.ref=qo(o,i,f),g.return=o,o=g)}return c(o);case no:e:{for(M=f.key;i!==null;){if(i.key===M)if(i.tag===4&&i.stateNode.containerInfo===f.containerInfo&&i.stateNode.implementation===f.implementation){_(o,i.sibling),i=w(i,f.children||[]),i.return=o,o=i;break e}else{_(o,i);break}else n(o,i);i=i.sibling}i=La(f,o.mode,g),i.return=o,o=i}return c(o);case bn:return M=f._init,p(o,i,M(f._payload),g)}if(Qo(f))return l(o,i,f,g);if(Go(f))return d(o,i,f,g);Zs(o,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,i!==null&&i.tag===6?(_(o,i.sibling),i=w(i,f),i.return=o,o=i):(_(o,i),i=Pa(f,o.mode,g),i.return=o,o=i),c(o)):_(o,i)}return p}var Eo=Lf(!0),Af=Lf(!1),ki=Dn(null),Ti=null,ho=null,Jl=null;function eu(){Jl=ho=Ti=null}function tu(r){var n=ki.current;Ot(ki),r._currentValue=n}function ul(r,n,_){for(;r!==null;){var t=r.alternate;if((r.childLanes&n)!==n?(r.childLanes|=n,t!==null&&(t.childLanes|=n)):t!==null&&(t.childLanes&n)!==n&&(t.childLanes|=n),r===_)break;r=r.return}}function xo(r,n){Ti=r,Jl=ho=null,r=r.dependencies,r!==null&&r.firstContext!==null&&(r.lanes&n&&(xr=!0),r.firstContext=null)}function Ir(r){var n=r._currentValue;if(Jl!==r)if(r={context:r,memoizedValue:n,next:null},ho===null){if(Ti===null)throw Error(Be(308));ho=r,Ti.dependencies={lanes:0,firstContext:r}}else ho=ho.next=r;return n}var Gn=null;function ru(r){Gn===null?Gn=[r]:Gn.push(r)}function Rf(r,n,_,t){var w=n.interleaved;return w===null?(_.next=_,ru(n)):(_.next=w.next,w.next=_),n.interleaved=_,fn(r,t)}function fn(r,n){r.lanes|=n;var _=r.alternate;for(_!==null&&(_.lanes|=n),_=r,r=r.return;r!==null;)r.childLanes|=n,_=r.alternate,_!==null&&(_.childLanes|=n),_=r,r=r.return;return _.tag===3?_.stateNode:null}var xn=!1;function nu(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function If(r,n){r=r.updateQueue,n.updateQueue===r&&(n.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects})}function un(r,n){return{eventTime:r,lane:n,tag:0,payload:null,callback:null,next:null}}function Cn(r,n,_){var t=r.updateQueue;if(t===null)return null;if(t=t.shared,yt&2){var w=t.pending;return w===null?n.next=n:(n.next=w.next,w.next=n),t.pending=n,fn(r,_)}return w=t.interleaved,w===null?(n.next=n,ru(t)):(n.next=w.next,w.next=n),t.interleaved=n,fn(r,_)}function ii(r,n,_){if(n=n.updateQueue,n!==null&&(n=n.shared,(_&4194240)!==0)){var t=n.lanes;t&=r.pendingLanes,_|=t,n.lanes=_,zl(r,_)}}function Wc(r,n){var _=r.updateQueue,t=r.alternate;if(t!==null&&(t=t.updateQueue,_===t)){var w=null,x=null;if(_=_.firstBaseUpdate,_!==null){do{var c={eventTime:_.eventTime,lane:_.lane,tag:_.tag,payload:_.payload,callback:_.callback,next:null};x===null?w=x=c:x=x.next=c,_=_.next}while(_!==null);x===null?w=x=n:x=x.next=n}else w=x=n;_={baseState:t.baseState,firstBaseUpdate:w,lastBaseUpdate:x,shared:t.shared,effects:t.effects},r.updateQueue=_;return}r=_.lastBaseUpdate,r===null?_.firstBaseUpdate=n:r.next=n,_.lastBaseUpdate=n}function Mi(r,n,_,t){var w=r.updateQueue;xn=!1;var x=w.firstBaseUpdate,c=w.lastBaseUpdate,m=w.shared.pending;if(m!==null){w.shared.pending=null;var a=m,h=a.next;a.next=null,c===null?x=h:c.next=h,c=a;var b=r.alternate;b!==null&&(b=b.updateQueue,m=b.lastBaseUpdate,m!==c&&(m===null?b.firstBaseUpdate=h:m.next=h,b.lastBaseUpdate=a))}if(x!==null){var y=w.baseState;c=0,b=h=a=null,m=x;do{var s=m.lane,u=m.eventTime;if((t&s)===s){b!==null&&(b=b.next={eventTime:u,lane:0,tag:m.tag,payload:m.payload,callback:m.callback,next:null});e:{var l=r,d=m;switch(s=n,u=_,d.tag){case 1:if(l=d.payload,typeof l=="function"){y=l.call(u,y,s);break e}y=l;break e;case 3:l.flags=l.flags&-65537|128;case 0:if(l=d.payload,s=typeof l=="function"?l.call(u,y,s):l,s==null)break e;y=It({},y,s);break e;case 2:xn=!0}}m.callback!==null&&m.lane!==0&&(r.flags|=64,s=w.effects,s===null?w.effects=[m]:s.push(m))}else u={eventTime:u,lane:s,tag:m.tag,payload:m.payload,callback:m.callback,next:null},b===null?(h=b=u,a=y):b=b.next=u,c|=s;if(m=m.next,m===null){if(m=w.shared.pending,m===null)break;s=m,m=s.next,s.next=null,w.lastBaseUpdate=s,w.shared.pending=null}}while(!0);if(b===null&&(a=y),w.baseState=a,w.firstBaseUpdate=h,w.lastBaseUpdate=b,n=w.shared.interleaved,n!==null){w=n;do c|=w.lane,w=w.next;while(w!==n)}else x===null&&(w.shared.lanes=0);Yn|=c,r.lanes=c,r.memoizedState=y}}function qc(r,n,_){if(r=n.effects,n.effects=null,r!==null)for(n=0;n_?_:4,r(!0);var t=ka.transition;ka.transition={};try{r(!1),n()}finally{bt=_,ka.transition=t}}function Kf(){return Dr().memoizedState}function Km(r,n,_){var t=Pn(r);if(_={lane:t,action:_,hasEagerState:!1,eagerState:null,next:null},Jf(r))eh(n,_);else if(_=Rf(r,n,_,t),_!==null){var w=yr();Wr(_,r,t,w),th(_,n,t)}}function Jm(r,n,_){var t=Pn(r),w={lane:t,action:_,hasEagerState:!1,eagerState:null,next:null};if(Jf(r))eh(n,w);else{var x=r.alternate;if(r.lanes===0&&(x===null||x.lanes===0)&&(x=n.lastRenderedReducer,x!==null))try{var c=n.lastRenderedState,m=x(c,_);if(w.hasEagerState=!0,w.eagerState=m,qr(m,c)){var a=n.interleaved;a===null?(w.next=w,ru(n)):(w.next=a.next,a.next=w),n.interleaved=w;return}}catch{}finally{}_=Rf(r,n,w,t),_!==null&&(w=yr(),Wr(_,r,t,w),th(_,n,t))}}function Jf(r){var n=r.alternate;return r===Rt||n!==null&&n===Rt}function eh(r,n){os=Oi=!0;var _=r.pending;_===null?n.next=n:(n.next=_.next,_.next=n),r.pending=n}function th(r,n,_){if(_&4194240){var t=n.lanes;t&=r.pendingLanes,_|=t,n.lanes=_,zl(r,_)}}var Pi={readContext:Ir,useCallback:dr,useContext:dr,useEffect:dr,useImperativeHandle:dr,useInsertionEffect:dr,useLayoutEffect:dr,useMemo:dr,useReducer:dr,useRef:dr,useState:dr,useDebugValue:dr,useDeferredValue:dr,useTransition:dr,useMutableSource:dr,useSyncExternalStore:dr,useId:dr,unstable_isNewReconciler:!1},ey={readContext:Ir,useCallback:function(r,n){return Kr().memoizedState=[r,n===void 0?null:n],r},useContext:Ir,useEffect:Yc,useImperativeHandle:function(r,n,_){return _=_!=null?_.concat([r]):null,li(4194308,4,Xf.bind(null,n,r),_)},useLayoutEffect:function(r,n){return li(4194308,4,r,n)},useInsertionEffect:function(r,n){return li(4,2,r,n)},useMemo:function(r,n){var _=Kr();return n=n===void 0?null:n,r=r(),_.memoizedState=[r,n],r},useReducer:function(r,n,_){var t=Kr();return n=_!==void 0?_(n):n,t.memoizedState=t.baseState=n,r={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:n},t.queue=r,r=r.dispatch=Km.bind(null,Rt,r),[t.memoizedState,r]},useRef:function(r){var n=Kr();return r={current:r},n.memoizedState=r},useState:Xc,useDebugValue:du,useDeferredValue:function(r){return Kr().memoizedState=r},useTransition:function(){var r=Xc(!1),n=r[0];return r=$m.bind(null,r[1]),Kr().memoizedState=r,[n,r]},useMutableSource:function(){},useSyncExternalStore:function(r,n,_){var t=Rt,w=Kr();if(Pt){if(_===void 0)throw Error(Be(407));_=_()}else{if(_=n(),er===null)throw Error(Be(349));Xn&30||Uf(t,n,_)}w.memoizedState=_;var x={value:_,getSnapshot:n};return w.queue=x,Yc(Gf.bind(null,t,x,r),[r]),t.flags|=2048,js(9,Bf.bind(null,t,x,_,n),void 0,null),_},useId:function(){var r=Kr(),n=er.identifierPrefix;if(Pt){var _=ln,t=an;_=(t&~(1<<32-Hr(t)-1)).toString(32)+_,n=":"+n+"R"+_,_=_s++,0<_&&(n+="H"+_.toString(32)),n+=":"}else _=Qm++,n=":"+n+"r"+_.toString(32)+":";return r.memoizedState=n},unstable_isNewReconciler:!1},ty={readContext:Ir,useCallback:Zf,useContext:Ir,useEffect:cu,useImperativeHandle:Yf,useInsertionEffect:Wf,useLayoutEffect:qf,useMemo:Qf,useReducer:Ta,useRef:Hf,useState:function(){return Ta(ws)},useDebugValue:du,useDeferredValue:function(r){var n=Dr();return $f(n,qt.memoizedState,r)},useTransition:function(){var r=Ta(ws)[0],n=Dr().memoizedState;return[r,n]},useMutableSource:Nf,useSyncExternalStore:Ff,useId:Kf,unstable_isNewReconciler:!1},ry={readContext:Ir,useCallback:Zf,useContext:Ir,useEffect:cu,useImperativeHandle:Yf,useInsertionEffect:Wf,useLayoutEffect:qf,useMemo:Qf,useReducer:Ma,useRef:Hf,useState:function(){return Ma(ws)},useDebugValue:du,useDeferredValue:function(r){var n=Dr();return qt===null?n.memoizedState=r:$f(n,qt.memoizedState,r)},useTransition:function(){var r=Ma(ws)[0],n=Dr().memoizedState;return[r,n]},useMutableSource:Nf,useSyncExternalStore:Ff,useId:Kf,unstable_isNewReconciler:!1};function Gr(r,n){if(r&&r.defaultProps){n=It({},n),r=r.defaultProps;for(var _ in r)n[_]===void 0&&(n[_]=r[_]);return n}return n}function cl(r,n,_,t){n=r.memoizedState,_=_(t,n),_=_==null?n:It({},n,_),r.memoizedState=_,r.lanes===0&&(r.updateQueue.baseState=_)}var qi={isMounted:function(r){return(r=r._reactInternals)?$n(r)===r:!1},enqueueSetState:function(r,n,_){r=r._reactInternals;var t=yr(),w=Pn(r),x=un(t,w);x.payload=n,_!=null&&(x.callback=_),n=Cn(r,x,w),n!==null&&(Wr(n,r,w,t),ii(n,r,w))},enqueueReplaceState:function(r,n,_){r=r._reactInternals;var t=yr(),w=Pn(r),x=un(t,w);x.tag=1,x.payload=n,_!=null&&(x.callback=_),n=Cn(r,x,w),n!==null&&(Wr(n,r,w,t),ii(n,r,w))},enqueueForceUpdate:function(r,n){r=r._reactInternals;var _=yr(),t=Pn(r),w=un(_,t);w.tag=2,n!=null&&(w.callback=n),n=Cn(r,w,t),n!==null&&(Wr(n,r,t,_),ii(n,r,t))}};function Zc(r,n,_,t,w,x,c){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(t,x,c):n.prototype&&n.prototype.isPureReactComponent?!ms(_,t)||!ms(w,x):!0}function rh(r,n,_){var t=!1,w=Rn,x=n.contextType;return typeof x=="object"&&x!==null?x=Ir(x):(w=wr(n)?Wn:pr.current,t=n.contextTypes,x=(t=t!=null)?jo(r,w):Rn),n=new n(_,x),r.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=qi,r.stateNode=n,n._reactInternals=r,t&&(r=r.stateNode,r.__reactInternalMemoizedUnmaskedChildContext=w,r.__reactInternalMemoizedMaskedChildContext=x),n}function Qc(r,n,_,t){r=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(_,t),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(_,t),n.state!==r&&qi.enqueueReplaceState(n,n.state,null)}function dl(r,n,_,t){var w=r.stateNode;w.props=_,w.state=r.memoizedState,w.refs={},nu(r);var x=n.contextType;typeof x=="object"&&x!==null?w.context=Ir(x):(x=wr(n)?Wn:pr.current,w.context=jo(r,x)),w.state=r.memoizedState,x=n.getDerivedStateFromProps,typeof x=="function"&&(cl(r,n,x,_),w.state=r.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof w.getSnapshotBeforeUpdate=="function"||typeof w.UNSAFE_componentWillMount!="function"&&typeof w.componentWillMount!="function"||(n=w.state,typeof w.componentWillMount=="function"&&w.componentWillMount(),typeof w.UNSAFE_componentWillMount=="function"&&w.UNSAFE_componentWillMount(),n!==w.state&&qi.enqueueReplaceState(w,w.state,null),Mi(r,_,w,t),w.state=r.memoizedState),typeof w.componentDidMount=="function"&&(r.flags|=4194308)}function To(r,n){try{var _="",t=n;do _+=Op(t),t=t.return;while(t);var w=_}catch(x){w=` Error generating stack: `+x.message+` -`+x.stack}return{value:r,source:n,stack:w,digest:null}}function Ca(r,n,_){return{value:r,source:null,stack:_??null,digest:n??null}}function fl(r,n){try{console.error(n.value)}catch(_){setTimeout(function(){throw _})}}var ay=typeof WeakMap=="function"?WeakMap:Map;function ih(r,n,_){_=un(-1,_),_.tag=3,_.payload={element:null};var t=n.value;return _.callback=function(){Ri||(Ri=!0,wl=t),fl(r,n)},_}function ah(r,n,_){_=un(-1,_),_.tag=3;var t=r.type.getDerivedStateFromError;if(typeof t=="function"){var w=n.value;_.payload=function(){return t(w)},_.callback=function(){fl(r,n)}}var x=r.stateNode;return x!==null&&typeof x.componentDidCatch=="function"&&(_.callback=function(){fl(r,n),typeof t!="function"&&(On===null?On=new Set([this]):On.add(this));var c=n.stack;this.componentDidCatch(n.value,{componentStack:c!==null?c:""})}),_}function ed(r,n,_){var t=r.pingCache;if(t===null){t=r.pingCache=new ay;var w=new Set;t.set(n,w)}else w=t.get(n),w===void 0&&(w=new Set,t.set(n,w));w.has(_)||(w.add(_),r=_y.bind(null,r,n,_),n.then(r,r))}function td(r){do{var n;if((n=r.tag===13)&&(n=r.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return r;r=r.return}while(r!==null);return null}function rd(r,n,_,t,w){return r.mode&1?(r.flags|=65536,r.lanes=w,r):(r===n?r.flags|=65536:(r.flags|=128,_.flags|=131072,_.flags&=-52805,_.tag===1&&(_.alternate===null?_.tag=17:(n=un(-1,1),n.tag=2,Cn(_,n,1))),_.lanes|=1),r)}var ly=pn.ReactCurrentOwner,xr=!1;function mr(r,n,_,t){n.child=r===null?Df(n,null,_,t):ko(n,r.child,_,t)}function nd(r,n,_,t,w){_=_.render;var x=n.ref;return _o(n,w),t=cu(r,n,_,t,x,w),_=du(),r!==null&&!xr?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~w,hn(r,n,w)):(Pt&&_&&Kl(n),n.flags|=1,mr(r,n,t,w),n.child)}function od(r,n,_,t,w){if(r===null){var x=_.type;return typeof x=="function"&&!_u(x)&&x.defaultProps===void 0&&_.compare===null&&_.defaultProps===void 0?(n.tag=15,n.type=x,lh(r,n,x,t,w)):(r=hi(_.type,null,t,n,n.mode,w),r.ref=n.ref,r.return=n,n.child=r)}if(x=r.child,!(r.lanes&w)){var c=x.memoizedProps;if(_=_.compare,_=_!==null?_:ys,_(c,t)&&r.ref===n.ref)return hn(r,n,w)}return n.flags|=1,r=Ln(x,t),r.ref=n.ref,r.return=n,n.child=r}function lh(r,n,_,t,w){if(r!==null){var x=r.memoizedProps;if(ys(x,t)&&r.ref===n.ref)if(xr=!1,n.pendingProps=t=x,(r.lanes&w)!==0)r.flags&131072&&(xr=!0);else return n.lanes=r.lanes,hn(r,n,w)}return hl(r,n,_,t,w)}function uh(r,n,_){var t=n.pendingProps,w=t.children,x=r!==null?r.memoizedState:null;if(t.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Et(mo,Er),Er|=_;else{if(!(_&1073741824))return r=x!==null?x.baseLanes|_:_,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:r,cachePool:null,transitions:null},n.updateQueue=null,Et(mo,Er),Er|=r,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},t=x!==null?x.baseLanes:_,Et(mo,Er),Er|=t}else x!==null?(t=x.baseLanes|_,n.memoizedState=null):t=_,Et(mo,Er),Er|=t;return mr(r,n,w,_),n.child}function ch(r,n){var _=n.ref;(r===null&&_!==null||r!==null&&r.ref!==_)&&(n.flags|=512,n.flags|=2097152)}function hl(r,n,_,t,w){var x=wr(_)?Wn:pr.current;return x=So(n,x),_o(n,w),_=cu(r,n,_,t,x,w),t=du(),r!==null&&!xr?(n.updateQueue=r.updateQueue,n.flags&=-2053,r.lanes&=~w,hn(r,n,w)):(Pt&&t&&Kl(n),n.flags|=1,mr(r,n,_,w),n.child)}function sd(r,n,_,t,w){if(wr(_)){var x=!0;Si(n)}else x=!1;if(_o(n,w),n.stateNode===null)ci(r,n),sh(n,_,t),dl(n,_,t,w),t=!0;else if(r===null){var c=n.stateNode,m=n.memoizedProps;c.props=m;var a=c.context,h=_.contextType;typeof h=="object"&&h!==null?h=Ir(h):(h=wr(_)?Wn:pr.current,h=So(n,h));var b=_.getDerivedStateFromProps,y=typeof b=="function"||typeof c.getSnapshotBeforeUpdate=="function";y||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==t||a!==h)&&Jc(n,c,t,h),xn=!1;var s=n.memoizedState;c.state=s,Ci(n,t,c,w),a=n.memoizedState,m!==t||s!==a||_r.current||xn?(typeof b=="function"&&(cl(n,_,b,t),a=n.memoizedState),(m=xn||Kc(n,_,m,t,s,a,h))?(y||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(n.flags|=4194308)):(typeof c.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=t,n.memoizedState=a),c.props=t,c.state=a,c.context=h,t=m):(typeof c.componentDidMount=="function"&&(n.flags|=4194308),t=!1)}else{c=n.stateNode,Ff(r,n),m=n.memoizedProps,h=n.type===n.elementType?m:Gr(n.type,m),c.props=h,y=n.pendingProps,s=c.context,a=_.contextType,typeof a=="object"&&a!==null?a=Ir(a):(a=wr(_)?Wn:pr.current,a=So(n,a));var u=_.getDerivedStateFromProps;(b=typeof u=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==y||s!==a)&&Jc(n,c,t,a),xn=!1,s=n.memoizedState,c.state=s,Ci(n,t,c,w);var l=n.memoizedState;m!==y||s!==l||_r.current||xn?(typeof u=="function"&&(cl(n,_,u,t),l=n.memoizedState),(h=xn||Kc(n,_,h,t,s,l,a)||!1)?(b||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(t,l,a),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(t,l,a)),typeof c.componentDidUpdate=="function"&&(n.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===r.memoizedProps&&s===r.memoizedState||(n.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===r.memoizedProps&&s===r.memoizedState||(n.flags|=1024),n.memoizedProps=t,n.memoizedState=l),c.props=t,c.state=l,c.context=a,t=h):(typeof c.componentDidUpdate!="function"||m===r.memoizedProps&&s===r.memoizedState||(n.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===r.memoizedProps&&s===r.memoizedState||(n.flags|=1024),t=!1)}return pl(r,n,_,t,x,w)}function pl(r,n,_,t,w,x){ch(r,n);var c=(n.flags&128)!==0;if(!t&&!c)return w&&Hc(n,_,!1),hn(r,n,x);t=n.stateNode,ly.current=n;var m=c&&typeof _.getDerivedStateFromError!="function"?null:t.render();return n.flags|=1,r!==null&&c?(n.child=ko(n,r.child,null,x),n.child=ko(n,null,m,x)):mr(r,n,m,x),n.memoizedState=t.state,w&&Hc(n,_,!0),n.child}function dh(r){var n=r.stateNode;n.pendingContext?Vc(r,n.pendingContext,n.pendingContext!==n.context):n.context&&Vc(r,n.context,!1),iu(r,n.containerInfo)}function id(r,n,_,t,w){return Eo(),eu(w),n.flags|=256,mr(r,n,_,t),n.child}var ml={dehydrated:null,treeContext:null,retryLane:0};function yl(r){return{baseLanes:r,cachePool:null,transitions:null}}function fh(r,n,_){var t=n.pendingProps,w=At.current,x=!1,c=(n.flags&128)!==0,m;if((m=c)||(m=r!==null&&r.memoizedState===null?!1:(w&2)!==0),m?(x=!0,n.flags&=-129):(r===null||r.memoizedState!==null)&&(w|=1),Et(At,w&1),r===null)return ll(n),r=n.memoizedState,r!==null&&(r=r.dehydrated,r!==null)?(n.mode&1?r.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(c=t.children,r=t.fallback,x?(t=n.mode,x=n.child,c={mode:"hidden",children:c},!(t&1)&&x!==null?(x.childLanes=0,x.pendingProps=c):x=Zi(c,t,0,null),r=Hn(r,t,_,null),x.return=n,r.return=n,x.sibling=r,n.child=x,n.child.memoizedState=yl(_),n.memoizedState=ml,r):pu(n,c));if(w=r.memoizedState,w!==null&&(m=w.dehydrated,m!==null))return uy(r,n,c,t,m,w,_);if(x){x=t.fallback,c=n.mode,w=r.child,m=w.sibling;var a={mode:"hidden",children:t.children};return!(c&1)&&n.child!==w?(t=n.child,t.childLanes=0,t.pendingProps=a,n.deletions=null):(t=Ln(w,a),t.subtreeFlags=w.subtreeFlags&14680064),m!==null?x=Ln(m,x):(x=Hn(x,c,_,null),x.flags|=2),x.return=n,t.return=n,t.sibling=x,n.child=t,t=x,x=n.child,c=r.child.memoizedState,c=c===null?yl(_):{baseLanes:c.baseLanes|_,cachePool:null,transitions:c.transitions},x.memoizedState=c,x.childLanes=r.childLanes&~_,n.memoizedState=ml,t}return x=r.child,r=x.sibling,t=Ln(x,{mode:"visible",children:t.children}),!(n.mode&1)&&(t.lanes=_),t.return=n,t.sibling=null,r!==null&&(_=n.deletions,_===null?(n.deletions=[r],n.flags|=16):_.push(r)),n.child=t,n.memoizedState=null,t}function pu(r,n){return n=Zi({mode:"visible",children:n},r.mode,0,null),n.return=r,r.child=n}function $s(r,n,_,t){return t!==null&&eu(t),ko(n,r.child,null,_),r=pu(n,n.pendingProps.children),r.flags|=2,n.memoizedState=null,r}function uy(r,n,_,t,w,x,c){if(_)return n.flags&256?(n.flags&=-257,t=Ca(Error(Be(422))),$s(r,n,c,t)):n.memoizedState!==null?(n.child=r.child,n.flags|=128,null):(x=t.fallback,w=n.mode,t=Zi({mode:"visible",children:t.children},w,0,null),x=Hn(x,w,c,null),x.flags|=2,t.return=n,x.return=n,t.sibling=x,n.child=t,n.mode&1&&ko(n,r.child,null,c),n.child.memoizedState=yl(c),n.memoizedState=ml,x);if(!(n.mode&1))return $s(r,n,c,null);if(w.data==="$!"){if(t=w.nextSibling&&w.nextSibling.dataset,t)var m=t.dgst;return t=m,x=Error(Be(419)),t=Ca(x,t,void 0),$s(r,n,c,t)}if(m=(c&r.childLanes)!==0,xr||m){if(t=er,t!==null){switch(c&-c){case 4:w=2;break;case 16:w=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:w=32;break;case 536870912:w=268435456;break;default:w=0}w=w&(t.suspendedLanes|c)?0:w,w!==0&&w!==x.retryLane&&(x.retryLane=w,fn(r,w),Wr(t,r,w,-1))}return xu(),t=Ca(Error(Be(421))),$s(r,n,c,t)}return w.data==="$?"?(n.flags|=128,n.child=r.child,n=wy.bind(null,r),w._reactRetry=n,null):(r=x.treeContext,kr=Mn(w.nextSibling),Tr=n,Pt=!0,Vr=null,r!==null&&(Pr[Lr++]=an,Pr[Lr++]=ln,Pr[Lr++]=qn,an=r.id,ln=r.overflow,qn=n),n=pu(n,t.children),n.flags|=4096,n)}function ad(r,n,_){r.lanes|=n;var t=r.alternate;t!==null&&(t.lanes|=n),ul(r.return,n,_)}function Oa(r,n,_,t,w){var x=r.memoizedState;x===null?r.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:t,tail:_,tailMode:w}:(x.isBackwards=n,x.rendering=null,x.renderingStartTime=0,x.last=t,x.tail=_,x.tailMode=w)}function hh(r,n,_){var t=n.pendingProps,w=t.revealOrder,x=t.tail;if(mr(r,n,t.children,_),t=At.current,t&2)t=t&1|2,n.flags|=128;else{if(r!==null&&r.flags&128)e:for(r=n.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&ad(r,_,n);else if(r.tag===19)ad(r,_,n);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t&=1}if(Et(At,t),!(n.mode&1))n.memoizedState=null;else switch(w){case"forwards":for(_=n.child,w=null;_!==null;)r=_.alternate,r!==null&&Oi(r)===null&&(w=_),_=_.sibling;_=w,_===null?(w=n.child,n.child=null):(w=_.sibling,_.sibling=null),Oa(n,!1,w,_,x);break;case"backwards":for(_=null,w=n.child,n.child=null;w!==null;){if(r=w.alternate,r!==null&&Oi(r)===null){n.child=w;break}r=w.sibling,w.sibling=_,_=w,w=r}Oa(n,!0,_,null,x);break;case"together":Oa(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function ci(r,n){!(n.mode&1)&&r!==null&&(r.alternate=null,n.alternate=null,n.flags|=2)}function hn(r,n,_){if(r!==null&&(n.dependencies=r.dependencies),Yn|=n.lanes,!(_&n.childLanes))return null;if(r!==null&&n.child!==r.child)throw Error(Be(153));if(n.child!==null){for(r=n.child,_=Ln(r,r.pendingProps),n.child=_,_.return=n;r.sibling!==null;)r=r.sibling,_=_.sibling=Ln(r,r.pendingProps),_.return=n;_.sibling=null}return n.child}function cy(r,n,_){switch(n.tag){case 3:dh(n),Eo();break;case 5:Uf(n);break;case 1:wr(n.type)&&Si(n);break;case 4:iu(n,n.stateNode.containerInfo);break;case 10:var t=n.type._context,w=n.memoizedProps.value;Et(Ti,t._currentValue),t._currentValue=w;break;case 13:if(t=n.memoizedState,t!==null)return t.dehydrated!==null?(Et(At,At.current&1),n.flags|=128,null):_&n.child.childLanes?fh(r,n,_):(Et(At,At.current&1),r=hn(r,n,_),r!==null?r.sibling:null);Et(At,At.current&1);break;case 19:if(t=(_&n.childLanes)!==0,r.flags&128){if(t)return hh(r,n,_);n.flags|=128}if(w=n.memoizedState,w!==null&&(w.rendering=null,w.tail=null,w.lastEffect=null),Et(At,At.current),t)break;return null;case 22:case 23:return n.lanes=0,uh(r,n,_)}return hn(r,n,_)}var ph,gl,mh,yh;ph=function(r,n){for(var _=n.child;_!==null;){if(_.tag===5||_.tag===6)r.appendChild(_.stateNode);else if(_.tag!==4&&_.child!==null){_.child.return=_,_=_.child;continue}if(_===n)break;for(;_.sibling===null;){if(_.return===null||_.return===n)return;_=_.return}_.sibling.return=_.return,_=_.sibling}};gl=function(){};mh=function(r,n,_,t){var w=r.memoizedProps;if(w!==t){r=n.stateNode,zn(tn.current);var x=null;switch(_){case"input":w=Ua(r,w),t=Ua(r,t),x=[];break;case"select":w=It({},w,{value:void 0}),t=It({},t,{value:void 0}),x=[];break;case"textarea":w=za(r,w),t=za(r,t),x=[];break;default:typeof w.onClick!="function"&&typeof t.onClick=="function"&&(r.onclick=wi)}Ha(_,t);var c;_=null;for(h in w)if(!t.hasOwnProperty(h)&&w.hasOwnProperty(h)&&w[h]!=null)if(h==="style"){var m=w[h];for(c in m)m.hasOwnProperty(c)&&(_||(_={}),_[c]="")}else h!=="dangerouslySetInnerHTML"&&h!=="children"&&h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(us.hasOwnProperty(h)?x||(x=[]):(x=x||[]).push(h,null));for(h in t){var a=t[h];if(m=w!=null?w[h]:void 0,t.hasOwnProperty(h)&&a!==m&&(a!=null||m!=null))if(h==="style")if(m){for(c in m)!m.hasOwnProperty(c)||a&&a.hasOwnProperty(c)||(_||(_={}),_[c]="");for(c in a)a.hasOwnProperty(c)&&m[c]!==a[c]&&(_||(_={}),_[c]=a[c])}else _||(x||(x=[]),x.push(h,_)),_=a;else h==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,m=m?m.__html:void 0,a!=null&&m!==a&&(x=x||[]).push(h,a)):h==="children"?typeof a!="string"&&typeof a!="number"||(x=x||[]).push(h,""+a):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&(us.hasOwnProperty(h)?(a!=null&&h==="onScroll"&&Ct("scroll",r),x||m===a||(x=[])):(x=x||[]).push(h,a))}_&&(x=x||[]).push("style",_);var h=x;(n.updateQueue=h)&&(n.flags|=4)}};yh=function(r,n,_,t){_!==t&&(n.flags|=4)};function Yo(r,n){if(!Pt)switch(r.tailMode){case"hidden":n=r.tail;for(var _=null;n!==null;)n.alternate!==null&&(_=n),n=n.sibling;_===null?r.tail=null:_.sibling=null;break;case"collapsed":_=r.tail;for(var t=null;_!==null;)_.alternate!==null&&(t=_),_=_.sibling;t===null?n||r.tail===null?r.tail=null:r.tail.sibling=null:t.sibling=null}}function fr(r){var n=r.alternate!==null&&r.alternate.child===r.child,_=0,t=0;if(n)for(var w=r.child;w!==null;)_|=w.lanes|w.childLanes,t|=w.subtreeFlags&14680064,t|=w.flags&14680064,w.return=r,w=w.sibling;else for(w=r.child;w!==null;)_|=w.lanes|w.childLanes,t|=w.subtreeFlags,t|=w.flags,w.return=r,w=w.sibling;return r.subtreeFlags|=t,r.childLanes=_,n}function dy(r,n,_){var t=n.pendingProps;switch(Jl(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fr(n),null;case 1:return wr(n.type)&&ji(),fr(n),null;case 3:return t=n.stateNode,To(),Ot(_r),Ot(pr),lu(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(r===null||r.child===null)&&(Zs(n)?n.flags|=4:r===null||r.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,Vr!==null&&(El(Vr),Vr=null))),gl(r,n),fr(n),null;case 5:au(n);var w=zn(_s.current);if(_=n.type,r!==null&&n.stateNode!=null)mh(r,n,_,t,w),r.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!t){if(n.stateNode===null)throw Error(Be(166));return fr(n),null}if(r=zn(tn.current),Zs(n)){t=n.stateNode,_=n.type;var x=n.memoizedProps;switch(t[Jr]=n,t[bs]=x,r=(n.mode&1)!==0,_){case"dialog":Ct("cancel",t),Ct("close",t);break;case"iframe":case"object":case"embed":Ct("load",t);break;case"video":case"audio":for(w=0;w<\/script>",r=r.removeChild(r.firstChild)):typeof t.is=="string"?r=c.createElement(_,{is:t.is}):(r=c.createElement(_),_==="select"&&(c=r,t.multiple?c.multiple=!0:t.size&&(c.size=t.size))):r=c.createElementNS(r,_),r[Jr]=n,r[bs]=t,ph(r,n,!1,!1),n.stateNode=r;e:{switch(c=Wa(_,t),_){case"dialog":Ct("cancel",r),Ct("close",r),w=t;break;case"iframe":case"object":case"embed":Ct("load",r),w=t;break;case"video":case"audio":for(w=0;wCo&&(n.flags|=128,t=!0,Yo(x,!1),n.lanes=4194304)}else{if(!t)if(r=Oi(c),r!==null){if(n.flags|=128,t=!0,_=r.updateQueue,_!==null&&(n.updateQueue=_,n.flags|=4),Yo(x,!0),x.tail===null&&x.tailMode==="hidden"&&!c.alternate&&!Pt)return fr(n),null}else 2*Bt()-x.renderingStartTime>Co&&_!==1073741824&&(n.flags|=128,t=!0,Yo(x,!1),n.lanes=4194304);x.isBackwards?(c.sibling=n.child,n.child=c):(_=x.last,_!==null?_.sibling=c:n.child=c,x.last=c)}return x.tail!==null?(n=x.tail,x.rendering=n,x.tail=n.sibling,x.renderingStartTime=Bt(),n.sibling=null,_=At.current,Et(At,t?_&1|2:_&1),n):(fr(n),null);case 22:case 23:return bu(),t=n.memoizedState!==null,r!==null&&r.memoizedState!==null!==t&&(n.flags|=8192),t&&n.mode&1?Er&1073741824&&(fr(n),n.subtreeFlags&6&&(n.flags|=8192)):fr(n),null;case 24:return null;case 25:return null}throw Error(Be(156,n.tag))}function fy(r,n){switch(Jl(n),n.tag){case 1:return wr(n.type)&&ji(),r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 3:return To(),Ot(_r),Ot(pr),lu(),r=n.flags,r&65536&&!(r&128)?(n.flags=r&-65537|128,n):null;case 5:return au(n),null;case 13:if(Ot(At),r=n.memoizedState,r!==null&&r.dehydrated!==null){if(n.alternate===null)throw Error(Be(340));Eo()}return r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 19:return Ot(At),null;case 4:return To(),null;case 10:return nu(n.type._context),null;case 22:case 23:return bu(),null;case 24:return null;default:return null}}var Ks=!1,hr=!1,hy=typeof WeakSet=="function"?WeakSet:Set,Ke=null;function po(r,n){var _=r.ref;if(_!==null)if(typeof _=="function")try{_(null)}catch(t){Ft(r,n,t)}else _.current=null}function vl(r,n,_){try{_()}catch(t){Ft(r,n,t)}}var ld=!1;function py(r,n){if(tl=bi,r=_f(),$l(r)){if("selectionStart"in r)var _={start:r.selectionStart,end:r.selectionEnd};else e:{_=(_=r.ownerDocument)&&_.defaultView||window;var t=_.getSelection&&_.getSelection();if(t&&t.rangeCount!==0){_=t.anchorNode;var w=t.anchorOffset,x=t.focusNode;t=t.focusOffset;try{_.nodeType,x.nodeType}catch{_=null;break e}var c=0,m=-1,a=-1,h=0,b=0,y=r,s=null;t:for(;;){for(var u;y!==_||w!==0&&y.nodeType!==3||(m=c+w),y!==x||t!==0&&y.nodeType!==3||(a=c+t),y.nodeType===3&&(c+=y.nodeValue.length),(u=y.firstChild)!==null;)s=y,y=u;for(;;){if(y===r)break t;if(s===_&&++h===w&&(m=c),s===x&&++b===t&&(a=c),(u=y.nextSibling)!==null)break;y=s,s=y.parentNode}y=u}_=m===-1||a===-1?null:{start:m,end:a}}else _=null}_=_||{start:0,end:0}}else _=null;for(rl={focusedElem:r,selectionRange:_},bi=!1,Ke=n;Ke!==null;)if(n=Ke,r=n.child,(n.subtreeFlags&1028)!==0&&r!==null)r.return=n,Ke=r;else for(;Ke!==null;){n=Ke;try{var l=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(l!==null){var d=l.memoizedProps,p=l.memoizedState,o=n.stateNode,i=o.getSnapshotBeforeUpdate(n.elementType===n.type?d:Gr(n.type,d),p);o.__reactInternalSnapshotBeforeUpdate=i}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Be(163))}}catch(g){Ft(n,n.return,g)}if(r=n.sibling,r!==null){r.return=n.return,Ke=r;break}Ke=n.return}return l=ld,ld=!1,l}function is(r,n,_){var t=n.updateQueue;if(t=t!==null?t.lastEffect:null,t!==null){var w=t=t.next;do{if((w.tag&r)===r){var x=w.destroy;w.destroy=void 0,x!==void 0&&vl(n,_,x)}w=w.next}while(w!==t)}}function Xi(r,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var _=n=n.next;do{if((_.tag&r)===r){var t=_.create;_.destroy=t()}_=_.next}while(_!==n)}}function bl(r){var n=r.ref;if(n!==null){var _=r.stateNode;switch(r.tag){case 5:r=_;break;default:r=_}typeof n=="function"?n(r):n.current=r}}function gh(r){var n=r.alternate;n!==null&&(r.alternate=null,gh(n)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(n=r.stateNode,n!==null&&(delete n[Jr],delete n[bs],delete n[sl],delete n[Qm],delete n[$m])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function vh(r){return r.tag===5||r.tag===3||r.tag===4}function ud(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||vh(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function xl(r,n,_){var t=r.tag;if(t===5||t===6)r=r.stateNode,n?_.nodeType===8?_.parentNode.insertBefore(r,n):_.insertBefore(r,n):(_.nodeType===8?(n=_.parentNode,n.insertBefore(r,_)):(n=_,n.appendChild(r)),_=_._reactRootContainer,_!=null||n.onclick!==null||(n.onclick=wi));else if(t!==4&&(r=r.child,r!==null))for(xl(r,n,_),r=r.sibling;r!==null;)xl(r,n,_),r=r.sibling}function _l(r,n,_){var t=r.tag;if(t===5||t===6)r=r.stateNode,n?_.insertBefore(r,n):_.appendChild(r);else if(t!==4&&(r=r.child,r!==null))for(_l(r,n,_),r=r.sibling;r!==null;)_l(r,n,_),r=r.sibling}var or=null,zr=!1;function vn(r,n,_){for(_=_.child;_!==null;)bh(r,n,_),_=_.sibling}function bh(r,n,_){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(Ui,_)}catch{}switch(_.tag){case 5:hr||po(_,n);case 6:var t=or,w=zr;or=null,vn(r,n,_),or=t,zr=w,or!==null&&(zr?(r=or,_=_.stateNode,r.nodeType===8?r.parentNode.removeChild(_):r.removeChild(_)):or.removeChild(_.stateNode));break;case 18:or!==null&&(zr?(r=or,_=_.stateNode,r.nodeType===8?ja(r.parentNode,_):r.nodeType===1&&ja(r,_),ps(r)):ja(or,_.stateNode));break;case 4:t=or,w=zr,or=_.stateNode.containerInfo,zr=!0,vn(r,n,_),or=t,zr=w;break;case 0:case 11:case 14:case 15:if(!hr&&(t=_.updateQueue,t!==null&&(t=t.lastEffect,t!==null))){w=t=t.next;do{var x=w,c=x.destroy;x=x.tag,c!==void 0&&(x&2||x&4)&&vl(_,n,c),w=w.next}while(w!==t)}vn(r,n,_);break;case 1:if(!hr&&(po(_,n),t=_.stateNode,typeof t.componentWillUnmount=="function"))try{t.props=_.memoizedProps,t.state=_.memoizedState,t.componentWillUnmount()}catch(m){Ft(_,n,m)}vn(r,n,_);break;case 21:vn(r,n,_);break;case 22:_.mode&1?(hr=(t=hr)||_.memoizedState!==null,vn(r,n,_),hr=t):vn(r,n,_);break;default:vn(r,n,_)}}function cd(r){var n=r.updateQueue;if(n!==null){r.updateQueue=null;var _=r.stateNode;_===null&&(_=r.stateNode=new hy),n.forEach(function(t){var w=jy.bind(null,r,t);_.has(t)||(_.add(t),t.then(w,w))})}}function Br(r,n){var _=n.deletions;if(_!==null)for(var t=0;t<_.length;t++){var w=_[t];try{var x=r,c=n,m=c;e:for(;m!==null;){switch(m.tag){case 5:or=m.stateNode,zr=!1;break e;case 3:or=m.stateNode.containerInfo,zr=!0;break e;case 4:or=m.stateNode.containerInfo,zr=!0;break e}m=m.return}if(or===null)throw Error(Be(160));bh(x,c,w),or=null,zr=!1;var a=w.alternate;a!==null&&(a.return=null),w.return=null}catch(h){Ft(w,n,h)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)xh(n,r),n=n.sibling}function xh(r,n){var _=r.alternate,t=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Br(n,r),$r(r),t&4){try{is(3,r,r.return),Xi(3,r)}catch(d){Ft(r,r.return,d)}try{is(5,r,r.return)}catch(d){Ft(r,r.return,d)}}break;case 1:Br(n,r),$r(r),t&512&&_!==null&&po(_,_.return);break;case 5:if(Br(n,r),$r(r),t&512&&_!==null&&po(_,_.return),r.flags&32){var w=r.stateNode;try{cs(w,"")}catch(d){Ft(r,r.return,d)}}if(t&4&&(w=r.stateNode,w!=null)){var x=r.memoizedProps,c=_!==null?_.memoizedProps:x,m=r.type,a=r.updateQueue;if(r.updateQueue=null,a!==null)try{m==="input"&&x.type==="radio"&&x.name!=null&&Gd(w,x),Wa(m,c);var h=Wa(m,x);for(c=0;cw&&(w=c),t&=~x}if(t=w,t=Bt()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*yy(t/1960))-t,10r?16:r,Sn===null)var t=!1;else{if(r=Sn,Sn=null,Ii=0,yt&6)throw Error(Be(331));var w=yt;for(yt|=4,Ke=r.current;Ke!==null;){var x=Ke,c=x.child;if(Ke.flags&16){var m=x.deletions;if(m!==null){for(var a=0;aBt()-gu?Vn(r,0):yu|=_),jr(r,n)}function Th(r,n){n===0&&(r.mode&1?(n=Vs,Vs<<=1,!(Vs&130023424)&&(Vs=4194304)):n=1);var _=yr();r=fn(r,n),r!==null&&(Ts(r,n,_),jr(r,_))}function wy(r){var n=r.memoizedState,_=0;n!==null&&(_=n.retryLane),Th(r,_)}function jy(r,n){var _=0;switch(r.tag){case 13:var t=r.stateNode,w=r.memoizedState;w!==null&&(_=w.retryLane);break;case 19:t=r.stateNode;break;default:throw Error(Be(314))}t!==null&&t.delete(n),Th(r,_)}var Mh;Mh=function(r,n,_){if(r!==null)if(r.memoizedProps!==n.pendingProps||_r.current)xr=!0;else{if(!(r.lanes&_)&&!(n.flags&128))return xr=!1,cy(r,n,_);xr=!!(r.flags&131072)}else xr=!1,Pt&&n.flags&1048576&&Lf(n,ki,n.index);switch(n.lanes=0,n.tag){case 2:var t=n.type;ci(r,n),r=n.pendingProps;var w=So(n,pr.current);_o(n,_),w=cu(null,n,t,r,w,_);var x=du();return n.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,wr(t)?(x=!0,Si(n)):x=!1,n.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,su(n),w.updater=qi,n.stateNode=w,w._reactInternals=n,dl(n,t,r,_),n=pl(null,n,t,!0,x,_)):(n.tag=0,Pt&&x&&Kl(n),mr(null,n,w,_),n=n.child),n;case 16:t=n.elementType;e:{switch(ci(r,n),r=n.pendingProps,w=t._init,t=w(t._payload),n.type=t,w=n.tag=Ey(t),r=Gr(t,r),w){case 0:n=hl(null,n,t,r,_);break e;case 1:n=sd(null,n,t,r,_);break e;case 11:n=nd(null,n,t,r,_);break e;case 14:n=od(null,n,t,Gr(t.type,r),_);break e}throw Error(Be(306,t,""))}return n;case 0:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),hl(r,n,t,w,_);case 1:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),sd(r,n,t,w,_);case 3:e:{if(dh(n),r===null)throw Error(Be(387));t=n.pendingProps,x=n.memoizedState,w=x.element,Ff(r,n),Ci(n,t,null,_);var c=n.memoizedState;if(t=c.element,x.isDehydrated)if(x={element:t,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},n.updateQueue.baseState=x,n.memoizedState=x,n.flags&256){w=Mo(Error(Be(423)),n),n=id(r,n,t,_,w);break e}else if(t!==w){w=Mo(Error(Be(424)),n),n=id(r,n,t,_,w);break e}else for(kr=Mn(n.stateNode.containerInfo.firstChild),Tr=n,Pt=!0,Vr=null,_=Df(n,null,t,_),n.child=_;_;)_.flags=_.flags&-3|4096,_=_.sibling;else{if(Eo(),t===w){n=hn(r,n,_);break e}mr(r,n,t,_)}n=n.child}return n;case 5:return Uf(n),r===null&&ll(n),t=n.type,w=n.pendingProps,x=r!==null?r.memoizedProps:null,c=w.children,nl(t,w)?c=null:x!==null&&nl(t,x)&&(n.flags|=32),ch(r,n),mr(r,n,c,_),n.child;case 6:return r===null&&ll(n),null;case 13:return fh(r,n,_);case 4:return iu(n,n.stateNode.containerInfo),t=n.pendingProps,r===null?n.child=ko(n,null,t,_):mr(r,n,t,_),n.child;case 11:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),nd(r,n,t,w,_);case 7:return mr(r,n,n.pendingProps,_),n.child;case 8:return mr(r,n,n.pendingProps.children,_),n.child;case 12:return mr(r,n,n.pendingProps.children,_),n.child;case 10:e:{if(t=n.type._context,w=n.pendingProps,x=n.memoizedProps,c=w.value,Et(Ti,t._currentValue),t._currentValue=c,x!==null)if(qr(x.value,c)){if(x.children===w.children&&!_r.current){n=hn(r,n,_);break e}}else for(x=n.child,x!==null&&(x.return=n);x!==null;){var m=x.dependencies;if(m!==null){c=x.child;for(var a=m.firstContext;a!==null;){if(a.context===t){if(x.tag===1){a=un(-1,_&-_),a.tag=2;var h=x.updateQueue;if(h!==null){h=h.shared;var b=h.pending;b===null?a.next=a:(a.next=b.next,b.next=a),h.pending=a}}x.lanes|=_,a=x.alternate,a!==null&&(a.lanes|=_),ul(x.return,_,n),m.lanes|=_;break}a=a.next}}else if(x.tag===10)c=x.type===n.type?null:x.child;else if(x.tag===18){if(c=x.return,c===null)throw Error(Be(341));c.lanes|=_,m=c.alternate,m!==null&&(m.lanes|=_),ul(c,_,n),c=x.sibling}else c=x.child;if(c!==null)c.return=x;else for(c=x;c!==null;){if(c===n){c=null;break}if(x=c.sibling,x!==null){x.return=c.return,c=x;break}c=c.return}x=c}mr(r,n,w.children,_),n=n.child}return n;case 9:return w=n.type,t=n.pendingProps.children,_o(n,_),w=Ir(w),t=t(w),n.flags|=1,mr(r,n,t,_),n.child;case 14:return t=n.type,w=Gr(t,n.pendingProps),w=Gr(t.type,w),od(r,n,t,w,_);case 15:return lh(r,n,n.type,n.pendingProps,_);case 17:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),ci(r,n),n.tag=1,wr(t)?(r=!0,Si(n)):r=!1,_o(n,_),sh(n,t,w),dl(n,t,w,_),pl(null,n,t,!0,r,_);case 19:return hh(r,n,_);case 22:return uh(r,n,_)}throw Error(Be(156,n.tag))};function Ch(r,n){return tf(r,n)}function Sy(r,n,_,t){this.tag=r,this.key=_,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=t,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ar(r,n,_,t){return new Sy(r,n,_,t)}function _u(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ey(r){if(typeof r=="function")return _u(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Bl)return 11;if(r===Gl)return 14}return 2}function Ln(r,n){var _=r.alternate;return _===null?(_=Ar(r.tag,n,r.key,r.mode),_.elementType=r.elementType,_.type=r.type,_.stateNode=r.stateNode,_.alternate=r,r.alternate=_):(_.pendingProps=n,_.type=r.type,_.flags=0,_.subtreeFlags=0,_.deletions=null),_.flags=r.flags&14680064,_.childLanes=r.childLanes,_.lanes=r.lanes,_.child=r.child,_.memoizedProps=r.memoizedProps,_.memoizedState=r.memoizedState,_.updateQueue=r.updateQueue,n=r.dependencies,_.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},_.sibling=r.sibling,_.index=r.index,_.ref=r.ref,_}function hi(r,n,_,t,w,x){var c=2;if(t=r,typeof r=="function")_u(r)&&(c=1);else if(typeof r=="string")c=5;else e:switch(r){case oo:return Hn(_.children,w,x,n);case Ul:c=8,w|=8;break;case Ia:return r=Ar(12,_,n,w|2),r.elementType=Ia,r.lanes=x,r;case Da:return r=Ar(13,_,n,w),r.elementType=Da,r.lanes=x,r;case Na:return r=Ar(19,_,n,w),r.elementType=Na,r.lanes=x,r;case Fd:return Zi(_,w,x,n);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Dd:c=10;break e;case Nd:c=9;break e;case Bl:c=11;break e;case Gl:c=14;break e;case bn:c=16,t=null;break e}throw Error(Be(130,r==null?r:typeof r,""))}return n=Ar(c,_,n,w),n.elementType=r,n.type=t,n.lanes=x,n}function Hn(r,n,_,t){return r=Ar(7,r,t,n),r.lanes=_,r}function Zi(r,n,_,t){return r=Ar(22,r,t,n),r.elementType=Fd,r.lanes=_,r.stateNode={isHidden:!1},r}function Pa(r,n,_){return r=Ar(6,r,null,n),r.lanes=_,r}function La(r,n,_){return n=Ar(4,r.children!==null?r.children:[],r.key,n),n.lanes=_,n.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},n}function ky(r,n,_,t,w){this.tag=n,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fa(0),this.expirationTimes=fa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fa(0),this.identifierPrefix=t,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function wu(r,n,_,t,w,x,c,m,a){return r=new ky(r,n,_,m,a),n===1?(n=1,x===!0&&(n|=8)):n=0,x=Ar(3,null,null,n),r.current=x,x.stateNode=r,x.memoizedState={element:t,isDehydrated:_,cache:null,transitions:null,pendingSuspenseBoundaries:null},su(x),r}function Ty(r,n,_){var t=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ah)}catch(r){console.error(r)}}Ah(),Ld.exports=Cr;var Ly=Ld.exports,vd=Ly;Aa.createRoot=vd.createRoot,Aa.hydrateRoot=vd.hydrateRoot;const Ay={Date:!0,RegExp:!0,String:!0,Number:!0};function Rh(r,n,_={cyclesFix:!0},t=[]){var m,a;let w=[];const x=Array.isArray(r);for(const h in r){const b=r[h],y=x?+h:h;if(!(h in n)){w.push({type:"REMOVE",path:[y],oldValue:r[h]});continue}const s=n[h],u=typeof b=="object"&&typeof s=="object"&&Array.isArray(b)===Array.isArray(s);if(b&&s&&u&&!Ay[(a=(m=Object.getPrototypeOf(b))==null?void 0:m.constructor)==null?void 0:a.name]&&(!_.cyclesFix||!t.includes(b))){const l=Rh(b,s,_,_.cyclesFix?t.concat([b]):[]);w.push.apply(w,l.map(d=>(d.path.unshift(y),d)))}else b!==s&&!(Number.isNaN(b)&&Number.isNaN(s))&&!(u&&(isNaN(b)?b+""==s+"":+b==+s))&&w.push({path:[y],type:"CHANGE",value:s,oldValue:b})}const c=Array.isArray(n);for(const h in n)h in r||w.push({type:"CREATE",path:[c?+h:h],value:n[h]});return w}function ti(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Ih={exports:{}};/*! p5.js v1.9.4 May 21, 2024 */(function(r,n){(function(_){r.exports=_()})(function(){var _;return function t(w,x,c){function m(b,y){if(!x[b]){if(!w[b]){var s=typeof ti=="function"&&ti;if(!y&&s)return s(b,!0);if(a)return a(b,!0);throw(y=new Error("Cannot find module '"+b+"'")).code="MODULE_NOT_FOUND",y}s=x[b]={exports:{}},w[b][0].call(s.exports,function(u){return m(w[b][1][u]||u)},s,s.exports,t,w,x,c)}return x[b].exports}for(var a=typeof ti=="function"&&ti,h=0;h>16&255,i[f++]=l>>8&255,i[f++]=255&l;return o===2&&(l=m[u.charCodeAt(d)]<<2|m[u.charCodeAt(d+1)]>>4,i[f++]=255&l),o===1&&(l=m[u.charCodeAt(d)]<<10|m[u.charCodeAt(d+1)]<<4|m[u.charCodeAt(d+2)]>>2,i[f++]=l>>8&255,i[f++]=255&l),i},x.fromByteArray=function(u){for(var l,d=u.length,p=d%3,o=[],i=0,f=d-p;i>18&63]+c[R>>12&63]+c[R>>6&63]+c[63&R]}(k));return T.join("")}(u,i,f>2]+c[l<<4&63]+"==")):p==2&&(l=(u[d-2]<<8)+u[d-1],o.push(c[l>>10]+c[l>>4&63]+c[l<<2&63]+"=")),o.join("")};for(var c=[],m=[],a=typeof Uint8Array<"u"?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,y=h.length;b>>1;case"base64":return V(E).length;default:if($)return W?-1:q(E).length;I=(""+I).toLowerCase(),$=!0}}function f(E,I,B){var W,$=!1;if((I=I===void 0||I<0?0:I)>this.length||(B=B===void 0||B>this.length?this.length:B)<=0||(B>>>=0)<=(I>>>=0))return"";for(E=E||"utf8";;)switch(E){case"hex":var te=this,ye=I,se=B,ce=te.length;(!se||se<0||ce=E.length){if($)return-1;B=E.length-1}else if(B<0){if(!$)return-1;B=0}if(typeof I=="string"&&(I=s.from(I,W)),s.isBuffer(I))return I.length===0?-1:M(E,I,B,W,$);if(typeof I=="number")return I&=255,typeof Uint8Array.prototype.indexOf=="function"?($?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(E,I,B):M(E,[I],B,W,$);throw new TypeError("val must be string, number or Buffer")}function M(E,I,B,W,$){var te=1,se=E.length,fe=I.length;if(W!==void 0&&((W=String(W).toLowerCase())==="ucs2"||W==="ucs-2"||W==="utf16le"||W==="utf-16le")){if(E.length<2||I.length<2)return-1;se/=te=2,fe/=2,B/=2}function ie(me,je){return te===1?me[je]:me.readUInt16BE(je*te)}if($)for(var de=-1,ce=B;ce>8,fe=fe%256,ie.push(fe),ie.push(se);return ie}(I,E.length-B),E,B,W)}function P(E,I,B){B=Math.min(E.length,B);for(var W=[],$=I;$>>10&1023|55296),ce=56320|1023&ce),W.push(ce),$+=ee}var ue=W,me=ue.length;if(me<=R)return String.fromCharCode.apply(String,ue);for(var je="",ye=0;ye"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=u,Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(E,I,B){return I=I,B=B,l(E=E),!(E<=0)&&I!==void 0?typeof B=="string"?y(E).fill(I,B):y(E).fill(I):y(E)},s.allocUnsafe=d,s.allocUnsafeSlow=d,s.isBuffer=function(E){return E!=null&&E._isBuffer===!0&&E!==s.prototype},s.compare=function(E,I){if(Y(E,Uint8Array)&&(E=s.from(E,E.offset,E.byteLength)),Y(I,Uint8Array)&&(I=s.from(I,I.offset,I.byteLength)),!s.isBuffer(E)||!s.isBuffer(I))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(E===I)return 0;for(var B=E.length,W=I.length,$=0,te=Math.min(B,W);$E&&(I+=" ... "),""},h&&(s.prototype[h]=s.prototype.inspect),s.prototype.compare=function(E,I,B,W,$){if(Y(E,Uint8Array)&&(E=s.from(E,E.offset,E.byteLength)),!s.isBuffer(E))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof E);if(B===void 0&&(B=E?E.length:0),W===void 0&&(W=0),$===void 0&&($=this.length),(I=I===void 0?0:I)<0||B>E.length||W<0||$>this.length)throw new RangeError("out of range index");if($<=W&&B<=I)return 0;if($<=W)return-1;if(B<=I)return 1;if(this===E)return 0;for(var te=($>>>=0)-(W>>>=0),se=(B>>>=0)-(I>>>=0),fe=Math.min(te,se),ie=this.slice(W,$),de=E.slice(I,B),ce=0;ce>>=0,isFinite(B)?(B>>>=0,W===void 0&&(W="utf8")):(W=B,B=void 0)}var $=this.length-I;if((B===void 0||$this.length)throw new RangeError("Attempt to write outside buffer bounds");W=W||"utf8";for(var te,se,fe,ie=!1;;)switch(W){case"hex":var de=this,ce=E,ee=I,ue=B,me=(ee=Number(ee)||0,de.length-ee);(!ue||me<(ue=Number(ue)))&&(ue=me),(me=ce.length)/2E.length)throw new RangeError("Index out of range")}function A(E,I,B,W){if(B+W>E.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function F(E,I,B,W,$){return I=+I,B>>>=0,$||A(E,0,B,4),a.write(E,I,B,W,23,4),B+4}function N(E,I,B,W,$){return I=+I,B>>>=0,$||A(E,0,B,8),a.write(E,I,B,W,52,8),B+8}s.prototype.slice=function(E,I){var B=this.length,B=((E=~~E)<0?(E+=B)<0&&(E=0):B>>=0,I>>>=0,B||C(E,I,this.length);for(var W=this[E],$=1,te=0;++te>>=0,I>>>=0,B||C(E,I,this.length);for(var W=this[E+--I],$=1;0>>=0,I||C(E,1,this.length),this[E]},s.prototype.readUInt16LE=function(E,I){return E>>>=0,I||C(E,2,this.length),this[E]|this[E+1]<<8},s.prototype.readUInt16BE=function(E,I){return E>>>=0,I||C(E,2,this.length),this[E]<<8|this[E+1]},s.prototype.readUInt32LE=function(E,I){return E>>>=0,I||C(E,4,this.length),(this[E]|this[E+1]<<8|this[E+2]<<16)+16777216*this[E+3]},s.prototype.readUInt32BE=function(E,I){return E>>>=0,I||C(E,4,this.length),16777216*this[E]+(this[E+1]<<16|this[E+2]<<8|this[E+3])},s.prototype.readIntLE=function(E,I,B){E>>>=0,I>>>=0,B||C(E,I,this.length);for(var W=this[E],$=1,te=0;++te>>=0,I>>>=0,B||C(E,I,this.length);for(var W=I,$=1,te=this[E+--W];0>>=0,I||C(E,1,this.length),128&this[E]?-1*(255-this[E]+1):this[E]},s.prototype.readInt16LE=function(E,I){return E>>>=0,I||C(E,2,this.length),I=this[E]|this[E+1]<<8,32768&I?4294901760|I:I},s.prototype.readInt16BE=function(E,I){return E>>>=0,I||C(E,2,this.length),I=this[E+1]|this[E]<<8,32768&I?4294901760|I:I},s.prototype.readInt32LE=function(E,I){return E>>>=0,I||C(E,4,this.length),this[E]|this[E+1]<<8|this[E+2]<<16|this[E+3]<<24},s.prototype.readInt32BE=function(E,I){return E>>>=0,I||C(E,4,this.length),this[E]<<24|this[E+1]<<16|this[E+2]<<8|this[E+3]},s.prototype.readFloatLE=function(E,I){return E>>>=0,I||C(E,4,this.length),a.read(this,E,!0,23,4)},s.prototype.readFloatBE=function(E,I){return E>>>=0,I||C(E,4,this.length),a.read(this,E,!1,23,4)},s.prototype.readDoubleLE=function(E,I){return E>>>=0,I||C(E,8,this.length),a.read(this,E,!0,52,8)},s.prototype.readDoubleBE=function(E,I){return E>>>=0,I||C(E,8,this.length),a.read(this,E,!1,52,8)},s.prototype.writeUIntLE=function(E,I,B,W){E=+E,I>>>=0,B>>>=0,W||D(this,E,I,B,Math.pow(2,8*B)-1,0);var $=1,te=0;for(this[I]=255&E;++te>>=0,B>>>=0,W||D(this,E,I,B,Math.pow(2,8*B)-1,0);var $=B-1,te=1;for(this[I+$]=255&E;0<=--$&&(te*=256);)this[I+$]=E/te&255;return I+B},s.prototype.writeUInt8=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,1,255,0),this[I]=255&E,I+1},s.prototype.writeUInt16LE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,2,65535,0),this[I]=255&E,this[I+1]=E>>>8,I+2},s.prototype.writeUInt16BE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,2,65535,0),this[I]=E>>>8,this[I+1]=255&E,I+2},s.prototype.writeUInt32LE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,4,4294967295,0),this[I+3]=E>>>24,this[I+2]=E>>>16,this[I+1]=E>>>8,this[I]=255&E,I+4},s.prototype.writeUInt32BE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,4,4294967295,0),this[I]=E>>>24,this[I+1]=E>>>16,this[I+2]=E>>>8,this[I+3]=255&E,I+4},s.prototype.writeIntLE=function(E,I,B,W){E=+E,I>>>=0,W||D(this,E,I,B,(W=Math.pow(2,8*B-1))-1,-W);var $=0,te=1,se=0;for(this[I]=255&E;++$>0)-se&255;return I+B},s.prototype.writeIntBE=function(E,I,B,W){E=+E,I>>>=0,W||D(this,E,I,B,(W=Math.pow(2,8*B-1))-1,-W);var $=B-1,te=1,se=0;for(this[I+$]=255&E;0<=--$&&(te*=256);)E<0&&se===0&&this[I+$+1]!==0&&(se=1),this[I+$]=(E/te>>0)-se&255;return I+B},s.prototype.writeInt8=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,1,127,-128),this[I]=255&(E=E<0?255+E+1:E),I+1},s.prototype.writeInt16LE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,2,32767,-32768),this[I]=255&E,this[I+1]=E>>>8,I+2},s.prototype.writeInt16BE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,2,32767,-32768),this[I]=E>>>8,this[I+1]=255&E,I+2},s.prototype.writeInt32LE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,4,2147483647,-2147483648),this[I]=255&E,this[I+1]=E>>>8,this[I+2]=E>>>16,this[I+3]=E>>>24,I+4},s.prototype.writeInt32BE=function(E,I,B){return E=+E,I>>>=0,B||D(this,E,I,4,2147483647,-2147483648),this[I]=(E=E<0?4294967295+E+1:E)>>>24,this[I+1]=E>>>16,this[I+2]=E>>>8,this[I+3]=255&E,I+4},s.prototype.writeFloatLE=function(E,I,B){return F(this,E,I,!0,B)},s.prototype.writeFloatBE=function(E,I,B){return F(this,E,I,!1,B)},s.prototype.writeDoubleLE=function(E,I,B){return N(this,E,I,!0,B)},s.prototype.writeDoubleBE=function(E,I,B){return N(this,E,I,!1,B)},s.prototype.copy=function(E,I,B,W){if(!s.isBuffer(E))throw new TypeError("argument should be a Buffer");if(B=B||0,W||W===0||(W=this.length),I>=E.length&&(I=E.length),(W=0=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length);var $=(W=E.length-I>>=0,B=B===void 0?this.length:B>>>0,typeof(E=E||0)=="number")for(te=I;te>6|192,63&B|128)}else if(B<65536){if((I-=3)<0)break;te.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((I-=4)<0)break;te.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return te}function V(E){return m.toByteArray(function(I){if((I=(I=I.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;I.length%4!=0;)I+="=";return I}(E))}function z(E,I,B,W){for(var $=0;$=I.length||$>=E.length);++$)I[$+B]=E[$];return $}function Y(E,I){return E instanceof I||E!=null&&E.constructor!=null&&E.constructor.name!=null&&E.constructor.name===I.name}function Q(E){return E!=E}var oe=function(){for(var E="0123456789abcdef",I=new Array(256),B=0;B<16;++B)for(var W=16*B,$=0;$<16;++$)I[W+$]=E[B]+E[$];return I}()}).call(this,t("buffer").Buffer)},{"base64-js":1,buffer:4,ieee754:251}],5:[function(t,w,x){w.exports=function(c){if(typeof c!="function")throw TypeError(String(c)+" is not a function");return c}},{}],6:[function(t,w,x){var c=t("../internals/is-object");w.exports=function(m){if(c(m)||m===null)return m;throw TypeError("Can't set "+String(m)+" as a prototype")}},{"../internals/is-object":75}],7:[function(a,w,x){var c=a("../internals/well-known-symbol"),m=a("../internals/object-create"),a=a("../internals/object-define-property"),h=c("unscopables"),b=Array.prototype;b[h]==null&&a.f(b,h,{configurable:!0,value:m(null)}),w.exports=function(y){b[h][y]=!0}},{"../internals/object-create":91,"../internals/object-define-property":93,"../internals/well-known-symbol":149}],8:[function(t,w,x){var c=t("../internals/string-multibyte").charAt;w.exports=function(m,a,h){return a+(h?c(m,a).length:1)}},{"../internals/string-multibyte":124}],9:[function(t,w,x){w.exports=function(c,m,a){if(c instanceof m)return c;throw TypeError("Incorrect "+(a?a+" ":"")+"invocation")}},{}],10:[function(t,w,x){var c=t("../internals/is-object");w.exports=function(m){if(c(m))return m;throw TypeError(String(m)+" is not an object")}},{"../internals/is-object":75}],11:[function(t,w,x){w.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},{}],12:[function(A,w,x){function c(N){return y(N)&&s(F,u(N))}var m,a=A("../internals/array-buffer-native"),h=A("../internals/descriptors"),b=A("../internals/global"),y=A("../internals/is-object"),s=A("../internals/has"),u=A("../internals/classof"),l=A("../internals/create-non-enumerable-property"),d=A("../internals/redefine"),p=A("../internals/object-define-property").f,o=A("../internals/object-get-prototype-of"),i=A("../internals/object-set-prototype-of"),R=A("../internals/well-known-symbol"),A=A("../internals/uid"),f=b.Int8Array,g=f&&f.prototype,j=b.Uint8ClampedArray,j=j&&j.prototype,M=f&&o(f),k=g&&o(g),T=Object.prototype,P=T.isPrototypeOf,R=R("toStringTag"),C=A("TYPED_ARRAY_TAG"),D=a&&!!i&&u(b.opera)!=="Opera",A=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};for(m in F)b[m]||(D=!1);if((!D||typeof M!="function"||M===Function.prototype)&&(M=function(){throw TypeError("Incorrect invocation")},D))for(m in F)b[m]&&i(b[m],M);if((!D||!k||k===T)&&(k=M.prototype,D))for(m in F)b[m]&&i(b[m].prototype,k);if(D&&o(j)!==k&&i(j,k),h&&!s(k,R))for(m in A=!0,p(k,R,{get:function(){return y(this)?this[C]:void 0}}),F)b[m]&&l(b[m],C,m);w.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:A&&C,aTypedArray:function(N){if(c(N))return N;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(N){if(i){if(P.call(M,N))return N}else for(var G in F)if(s(F,m)&&(G=b[G],G&&(N===G||P.call(G,N))))return N;throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(N,G,q){if(h){if(q)for(var V in F)V=b[V],V&&s(V.prototype,N)&&delete V.prototype[N];k[N]&&!q||d(k,N,!q&&D&&g[N]||G)}},exportTypedArrayStaticMethod:function(N,G,q){var V,z;if(h){if(i){if(q)for(V in F)(z=b[V])&&s(z,N)&&delete z[N];if(M[N]&&!q)return;try{return d(M,N,!q&&D&&f[N]||G)}catch{}}for(V in F)!(z=b[V])||z[N]&&!q||d(z,N,G)}},isView:function(N){return N=u(N),N==="DataView"||s(F,N)},isTypedArray:c,TypedArray:M,TypedArrayPrototype:k}},{"../internals/array-buffer-native":11,"../internals/classof":29,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/global":60,"../internals/has":61,"../internals/is-object":75,"../internals/object-define-property":93,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/uid":146,"../internals/well-known-symbol":149}],13:[function(B,w,x){function c(ee){return[255&ee]}function m(ee){return[255&ee,ee>>8&255]}function a(ee){return[255&ee,ee>>8&255,ee>>16&255,ee>>24&255]}function h(ee){return ee[3]<<24|ee[2]<<16|ee[1]<<8|ee[0]}function b(ee){return te(ee,23,4)}function y(ee){return te(ee,52,8)}function s(ee,ue){A(ee[Y],ue,{get:function(){return G(this)[ue]}})}function u(Se,ue,be,je){if(be=T(be),Se=G(Se),be+ue>Se.byteLength)throw $(Q);var ye=G(Se.buffer).bytes,be=be+Se.byteOffset,Se=ye.slice(be,be+ue);return je?Se:Se.reverse()}function l(ee,ue,me,je,ye,be){if(me=T(me),ee=G(ee),me+ue>ee.byteLength)throw $(Q);for(var Se=G(ee.buffer).bytes,Ne=me+ee.byteOffset,Ce=je(+ye),$e=0;$ede;)(fe=ie[de++])in E||i(E,fe,oe[fe]);d.constructor=E}C&&R(B)!==W&&C(B,W);var P=new I(new E(2)),ce=B.setInt8;P.setInt8(0,2147483648),P.setInt8(1,2147483649),!P.getInt8(0)&&P.getInt8(1)||f(B,{setInt8:function(ue,me){ce.call(this,ue,me<<24>>24)},setUint8:function(ue,me){ce.call(this,ue,me<<24>>24)}},{unsafe:!0})}else E=function(ee){j(this,E,V),ee=T(ee),q(this,{bytes:F.call(new Array(ee),0),byteLength:ee}),p||(this.byteLength=ee)},I=function(ee,ye,me){j(this,I,z),j(ee,E,z);var je=G(ee).byteLength,ye=M(ye);if(ye<0||je>24},getUint8:function(ee){return u(this,1,ee)[0]},getInt16:function(ee){return ee=u(this,2,ee,1>16},getUint16:function(ee){return ee=u(this,2,ee,1>>0},getFloat32:function(ee){return se(u(this,4,ee,1"+s+""}},{"../internals/require-object-coercible":114}],37:[function(t,w,x){function c(){return this}var m=t("../internals/iterators-core").IteratorPrototype,a=t("../internals/object-create"),h=t("../internals/create-property-descriptor"),b=t("../internals/set-to-string-tag"),y=t("../internals/iterators");w.exports=function(s,u,l){return u+=" Iterator",s.prototype=a(m,{next:h(1,l)}),b(s,u,!1,!0),y[u]=c,s}},{"../internals/create-property-descriptor":39,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-create":91,"../internals/set-to-string-tag":118}],38:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/object-define-property"),a=t("../internals/create-property-descriptor");w.exports=c?function(h,b,y){return m.f(h,b,a(1,y))}:function(h,b,y){return h[b]=y,h}},{"../internals/create-property-descriptor":39,"../internals/descriptors":43,"../internals/object-define-property":93}],39:[function(t,w,x){w.exports=function(c,m){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:m}}},{}],40:[function(t,w,x){var c=t("../internals/to-primitive"),m=t("../internals/object-define-property"),a=t("../internals/create-property-descriptor");w.exports=function(h,b,y){b=c(b),b in h?m.f(h,b,a(0,y)):h[b]=y}},{"../internals/create-property-descriptor":39,"../internals/object-define-property":93,"../internals/to-primitive":141}],41:[function(o,w,x){function c(){return this}var m=o("../internals/export"),a=o("../internals/create-iterator-constructor"),h=o("../internals/object-get-prototype-of"),b=o("../internals/object-set-prototype-of"),y=o("../internals/set-to-string-tag"),s=o("../internals/create-non-enumerable-property"),u=o("../internals/redefine"),l=o("../internals/well-known-symbol"),d=o("../internals/is-pure"),p=o("../internals/iterators"),o=o("../internals/iterators-core"),i=o.IteratorPrototype,f=o.BUGGY_SAFARI_ITERATORS,g=l("iterator"),j="values",M="entries";w.exports=function(k,T,P,q,C,D,A){a(P,T,q);function F(E){if(E===C&&Q)return Q;if(!f&&E in z)return z[E];switch(E){case"keys":case j:case M:return function(){return new P(this,E)}}return function(){return new P(this)}}var N,G,q=T+" Iterator",V=!1,z=k.prototype,Y=z[g]||z["@@iterator"]||C&&z[C],Q=!f&&Y||F(C),oe=T=="Array"&&z.entries||Y;if(oe&&(oe=h(oe.call(new k)),i!==Object.prototype&&oe.next&&(d||h(oe)===i||(b?b(oe,i):typeof oe[g]!="function"&&s(oe,g,c)),y(oe,q,!0,!0),d&&(p[q]=c))),C==j&&Y&&Y.name!==j&&(V=!0,Q=function(){return Y.call(this)}),d&&!A||z[g]===Q||s(z,g,Q),p[T]=Q,C)if(N={values:F(j),keys:D?Q:F("keys"),entries:F(M)},A)for(G in N)!f&&!V&&G in z||u(z,G,N[G]);else m({target:T,proto:!0,forced:f||V},N);return N}},{"../internals/create-iterator-constructor":37,"../internals/create-non-enumerable-property":38,"../internals/export":50,"../internals/is-pure":76,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/set-to-string-tag":118,"../internals/well-known-symbol":149}],42:[function(t,w,x){var c=t("../internals/path"),m=t("../internals/has"),a=t("../internals/well-known-symbol-wrapped"),h=t("../internals/object-define-property").f;w.exports=function(b){var y=c.Symbol||(c.Symbol={});m(y,b)||h(y,b,{value:a.f(b)})}},{"../internals/has":61,"../internals/object-define-property":93,"../internals/path":105,"../internals/well-known-symbol-wrapped":148}],43:[function(t,w,x){t=t("../internals/fails"),w.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":51}],44:[function(m,w,x){var c=m("../internals/global"),m=m("../internals/is-object"),a=c.document,h=m(a)&&m(a.createElement);w.exports=function(b){return h?a.createElement(b):{}}},{"../internals/global":60,"../internals/is-object":75}],45:[function(t,w,x){w.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],46:[function(t,w,x){t=t("../internals/engine-user-agent"),w.exports=/(iphone|ipod|ipad).*applewebkit/i.test(t)},{"../internals/engine-user-agent":47}],47:[function(t,w,x){t=t("../internals/get-built-in"),w.exports=t("navigator","userAgent")||""},{"../internals/get-built-in":57}],48:[function(a,w,x){var c,m,h=a("../internals/global"),a=a("../internals/engine-user-agent"),h=h.process,h=h&&h.versions,h=h&&h.v8;h?m=(c=h.split("."))[0]+c[1]:a&&(!(c=a.match(/Edge\/(\d+)/))||74<=c[1])&&(c=a.match(/Chrome\/(\d+)/))&&(m=c[1]),w.exports=m&&+m},{"../internals/engine-user-agent":47,"../internals/global":60}],49:[function(t,w,x){w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],50:[function(t,w,x){var c=t("../internals/global"),m=t("../internals/object-get-own-property-descriptor").f,a=t("../internals/create-non-enumerable-property"),h=t("../internals/redefine"),b=t("../internals/set-global"),y=t("../internals/copy-constructor-properties"),s=t("../internals/is-forced");w.exports=function(u,l){var d,p,o,i=u.target,f=u.global,g=u.stat,j=f?c:g?c[i]||b(i,{}):(c[i]||{}).prototype;if(j)for(d in l){if(p=l[d],o=u.noTargetGet?(o=m(j,d))&&o.value:j[d],!s(f?d:i+(g?".":"#")+d,u.forced)&&o!==void 0){if(typeof p==typeof o)continue;y(p,o)}(u.sham||o&&o.sham)&&a(p,"sham",!0),h(j,d,p,u)}}},{"../internals/copy-constructor-properties":33,"../internals/create-non-enumerable-property":38,"../internals/global":60,"../internals/is-forced":74,"../internals/object-get-own-property-descriptor":94,"../internals/redefine":109,"../internals/set-global":116}],51:[function(t,w,x){w.exports=function(c){try{return!!c()}catch{return!0}}},{}],52:[function(l,w,x){l("../modules/es.regexp.exec");var c=l("../internals/redefine"),m=l("../internals/fails"),a=l("../internals/well-known-symbol"),h=l("../internals/regexp-exec"),b=l("../internals/create-non-enumerable-property"),y=a("species"),s=!m(function(){var o=/./;return o.exec=function(){var i=[];return i.groups={a:"7"},i},"".replace(o,"$")!=="7"}),u="a".replace(/./,"$0")==="$0",l=a("replace"),d=!!/./[l]&&/./[l]("a","$0")==="",p=!m(function(){var i=/(?:)/,o=i.exec,i=(i.exec=function(){return o.apply(this,arguments)},"ab".split(i));return i.length!==2||i[0]!=="a"||i[1]!=="b"});w.exports=function(o,i,f,g){var j,M,k=a(o),T=!m(function(){var R={};return R[k]=function(){return 7},""[o](R)!=7}),P=T&&!m(function(){var R=!1,C=/a/;return o==="split"&&((C={constructor:{}}).constructor[y]=function(){return C},C.flags="",C[k]=/./[k]),C.exec=function(){return R=!0,null},C[k](""),!R});T&&P&&(o!=="replace"||s&&u&&!d)&&(o!=="split"||p)||(j=/./[k],f=(P=f(k,""[o],function(R,C,D,A,F){return C.exec===h?T&&!F?{done:!0,value:j.call(C,D,A)}:{done:!0,value:R.call(D,C,A)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}))[0],M=P[1],c(String.prototype,o,f),c(RegExp.prototype,k,i==2?function(R,C){return M.call(R,this,C)}:function(R){return M.call(R,this)})),g&&b(RegExp.prototype[k],"sham",!0)}},{"../internals/create-non-enumerable-property":38,"../internals/fails":51,"../internals/redefine":109,"../internals/regexp-exec":111,"../internals/well-known-symbol":149,"../modules/es.regexp.exec":192}],53:[function(t,w,x){function c(b,y,s,u,l,d,p,o){for(var i,f=l,g=0,j=!!p&&h(p,o,3);g>1,j=s===23?m(2,-24)-m(2,-77):0,M=y<0||y===0&&1/y<0?1:0,k=0;for((y=c(y))!=y||y===1/0?(d=y!=y?1:0,l=f):(l=a(h(y)/b),y*(p=m(2,-l))<1&&(l--,p*=2),2<=(y+=1<=l+g?j/p:j*m(2,1-g))*p&&(l++,p/=2),f<=l+g?(d=0,l=f):1<=l+g?(d=(y*p-1)*m(2,s),l+=g):(d=y*m(2,g-1)*m(2,s),l=0));8<=s;o[k++]=255&d,d/=256,s-=8);for(l=l<>1,o=f-7,i=l-1,f=y[i--],g=127&f;for(f>>=7;0>=-o,o+=s;0"+g+""},f=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}f=m?((g=m).write(i("")),g.close(),j=g.parentWindow.Object,g=null,j):(g=u("iframe"),j="java"+p+":",g.style.display="none",s.appendChild(g),g.src=String(j),(j=g.contentWindow.document).open(),j.write(i("document.F=Object")),j.close(),j.F);for(var g,j,M=b.length;M--;)delete f[d][b[M]];return f()};y[o]=!0,w.exports=Object.create||function(g,j){var M;return g!==null?(c[d]=a(g),M=new c,c[d]=null,M[o]=g):M=f(),j===void 0?M:h(M,j)}},{"../internals/an-object":10,"../internals/document-create-element":44,"../internals/enum-bug-keys":49,"../internals/hidden-keys":62,"../internals/html":64,"../internals/object-define-properties":92,"../internals/shared-key":119}],92:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/object-define-property"),a=t("../internals/an-object"),h=t("../internals/object-keys");w.exports=c?Object.defineProperties:function(b,y){a(b);for(var s,u=h(y),l=u.length,d=0;dl;)!c(u,s=y[l++])||~a(d,s)||d.push(s);return d}},{"../internals/array-includes":18,"../internals/has":61,"../internals/hidden-keys":62,"../internals/to-indexed-object":135}],100:[function(t,w,x){var c=t("../internals/object-keys-internal"),m=t("../internals/enum-bug-keys");w.exports=Object.keys||function(a){return c(a,m)}},{"../internals/enum-bug-keys":49,"../internals/object-keys-internal":99}],101:[function(t,w,x){var c={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,a=m&&!c.call({1:2},1);x.f=a?function(h){return h=m(this,h),!!h&&h.enumerable}:c},{}],102:[function(t,w,x){var c=t("../internals/an-object"),m=t("../internals/a-possible-prototype");w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a,h=!1,b={};try{(a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(b,[]),h=b instanceof Array}catch{}return function(y,s){return c(y),m(s),h?a.call(y,s):y.__proto__=s,y}}():void 0)},{"../internals/a-possible-prototype":6,"../internals/an-object":10}],103:[function(t,w,x){var c=t("../internals/to-string-tag-support"),m=t("../internals/classof");w.exports=c?{}.toString:function(){return"[object "+m(this)+"]"}},{"../internals/classof":29,"../internals/to-string-tag-support":142}],104:[function(t,w,x){var c=t("../internals/get-built-in"),m=t("../internals/object-get-own-property-names"),a=t("../internals/object-get-own-property-symbols"),h=t("../internals/an-object");w.exports=c("Reflect","ownKeys")||function(b){var y=m.f(h(b)),s=a.f;return s?y.concat(s(b)):y}},{"../internals/an-object":10,"../internals/get-built-in":57,"../internals/object-get-own-property-names":96,"../internals/object-get-own-property-symbols":97}],105:[function(t,w,x){t=t("../internals/global"),w.exports=t},{"../internals/global":60}],106:[function(t,w,x){w.exports=function(c){try{return{error:!1,value:c()}}catch(m){return{error:!0,value:m}}}},{}],107:[function(t,w,x){var c=t("../internals/an-object"),m=t("../internals/is-object"),a=t("../internals/new-promise-capability");w.exports=function(h,b){return c(h),m(b)&&b.constructor===h?b:((0,(h=a.f(h)).resolve)(b),h.promise)}},{"../internals/an-object":10,"../internals/is-object":75,"../internals/new-promise-capability":87}],108:[function(t,w,x){var c=t("../internals/redefine");w.exports=function(m,a,h){for(var b in a)c(m,b,a[b],h);return m}},{"../internals/redefine":109}],109:[function(y,w,x){var c=y("../internals/global"),m=y("../internals/create-non-enumerable-property"),a=y("../internals/has"),h=y("../internals/set-global"),b=y("../internals/inspect-source"),y=y("../internals/internal-state"),s=y.get,u=y.enforce,l=String(String).split("String");(w.exports=function(d,p,o,j){var f=!!j&&!!j.unsafe,g=!!j&&!!j.enumerable,j=!!j&&!!j.noTargetGet;typeof o=="function"&&(typeof p!="string"||a(o,"name")||m(o,"name",p),u(o).source=l.join(typeof p=="string"?p:"")),d===c?g?d[p]=o:h(p,o):(f?!j&&d[p]&&(g=!0):delete d[p],g?d[p]=o:m(d,p,o))})(Function.prototype,"toString",function(){return typeof this=="function"&&s(this).source||b(this)})},{"../internals/create-non-enumerable-property":38,"../internals/global":60,"../internals/has":61,"../internals/inspect-source":69,"../internals/internal-state":71,"../internals/set-global":116}],110:[function(t,w,x){var c=t("./classof-raw"),m=t("./regexp-exec");w.exports=function(a,h){var b=a.exec;if(typeof b=="function"){if(b=b.call(a,h),typeof b!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return b}if(c(a)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return m.call(a,h)}},{"./classof-raw":28,"./regexp-exec":111}],111:[function(h,w,x){var c,m,a=h("./regexp-flags"),h=h("./regexp-sticky-helpers"),b=RegExp.prototype.exec,y=String.prototype.replace,s=b,u=(c=/a/,m=/b*/g,b.call(c,"a"),b.call(m,"a"),c.lastIndex!==0||m.lastIndex!==0),l=h.UNSUPPORTED_Y||h.BROKEN_CARET,d=/()??/.exec("")[1]!==void 0;w.exports=s=u||d||l?function(p){var o,i,f,g,j=this,M=l&&j.sticky,k=a.call(j),T=j.source,P=0,R=p;return M&&((k=k.replace("y","")).indexOf("g")===-1&&(k+="g"),R=String(p).slice(j.lastIndex),0i&&(p=p.slice(0,i)),y?d+p:p+d)}}var m=t("../internals/to-length"),a=t("../internals/string-repeat"),h=t("../internals/require-object-coercible"),b=Math.ceil;w.exports={start:c(!1),end:c(!0)}},{"../internals/require-object-coercible":114,"../internals/string-repeat":128,"../internals/to-length":137}],127:[function(t,w,x){function c(f){return f+22+75*(f<26)}function m(f){var g,j=[],M=(f=function(Y){for(var Q=[],oe=0,E=Y.length;oeo((a-T)/F))throw RangeError(d);for(T+=(D-k)*F,k=D,A=0;Aa)throw RangeError(d);if(g==k){for(var N=T,G=h;;G+=h){var q=G<=P?1:P+b<=G?b:G-P;if(N>1,Y+=o(Y/Q);p*b>>1>>=1)&&(h+=h))1&y&&(b+=h);return b}},{"../internals/require-object-coercible":114,"../internals/to-integer":136}],129:[function(t,w,x){var c=t("../internals/fails"),m=t("../internals/whitespaces");w.exports=function(a){return c(function(){return!!m[a]()||"​…᠎"[a]()!="​…᠎"||m[a].name!==a})}},{"../internals/fails":51,"../internals/whitespaces":150}],130:[function(a,w,x){function c(y){return function(s){return s=String(m(s)),1&y&&(s=s.replace(h,"")),s=2&y?s.replace(b,""):s}}var m=a("../internals/require-object-coercible"),a="["+a("../internals/whitespaces")+"]",h=RegExp("^"+a+a+"*"),b=RegExp(a+a+"*$");w.exports={start:c(1),end:c(2),trim:c(3)}},{"../internals/require-object-coercible":114,"../internals/whitespaces":150}],131:[function(p,w,x){function c(C){return function(){R(C)}}function m(C){R(C.data)}function a(C){b.postMessage(C+"",o.protocol+"//"+o.host)}var h,b=p("../internals/global"),y=p("../internals/fails"),s=p("../internals/classof-raw"),u=p("../internals/function-bind-context"),l=p("../internals/html"),d=p("../internals/document-create-element"),p=p("../internals/engine-is-ios"),o=b.location,i=b.setImmediate,f=b.clearImmediate,g=b.process,j=b.MessageChannel,M=b.Dispatch,k=0,T={},P="onreadystatechange",R=function(C){var D;T.hasOwnProperty(C)&&(D=T[C],delete T[C],D())};i&&f||(i=function(C){for(var D=[],A=1;A=d.length?{value:l.target=void 0,done:!0}:p=="keys"?{value:o,done:!1}:p=="values"?{value:d[o],done:!1}:{value:[o,d[o]],done:!1}},"values"),a.Arguments=a.Array,m("keys"),m("values"),m("entries")},{"../internals/add-to-unscopables":7,"../internals/define-iterator":41,"../internals/internal-state":71,"../internals/iterators":80,"../internals/to-indexed-object":135}],165:[function(b,w,x){var c=b("../internals/export"),h=b("../internals/indexed-object"),m=b("../internals/to-indexed-object"),b=b("../internals/array-method-is-strict"),a=[].join,h=h!=Object,b=b("join",",");c({target:"Array",proto:!0,forced:h||!b},{join:function(y){return a.call(m(this),y===void 0?",":y)}})},{"../internals/array-method-is-strict":22,"../internals/export":50,"../internals/indexed-object":67,"../internals/to-indexed-object":135}],166:[function(m,w,x){var c=m("../internals/export"),m=m("../internals/array-last-index-of");c({target:"Array",proto:!0,forced:m!==[].lastIndexOf},{lastIndexOf:m})},{"../internals/array-last-index-of":20,"../internals/export":50}],167:[function(h,w,x){var c=h("../internals/export"),m=h("../internals/array-iteration").map,a=h("../internals/array-method-has-species-support"),h=h("../internals/array-method-uses-to-length"),a=a("map"),h=h("map");c({target:"Array",proto:!0,forced:!a||!h},{map:function(b){return m(this,b,1D;D++)y(M,P=C[D])&&!y(R,P)&&f(R,P,i(M,P));(R.prototype=k).constructor=R,b(a,j,R)}},{"../internals/classof-raw":28,"../internals/descriptors":43,"../internals/fails":51,"../internals/global":60,"../internals/has":61,"../internals/inherit-if-required":68,"../internals/is-forced":74,"../internals/object-create":91,"../internals/object-define-property":93,"../internals/object-get-own-property-descriptor":94,"../internals/object-get-own-property-names":96,"../internals/redefine":109,"../internals/string-trim":130,"../internals/to-primitive":141}],179:[function(t,w,x){t("../internals/export")({target:"Number",stat:!0},{isFinite:t("../internals/number-is-finite")})},{"../internals/export":50,"../internals/number-is-finite":89}],180:[function(y,w,x){function c(l,d,p){return d===0?p:d%2==1?c(l,d-1,p*l):c(l*l,d/2,p)}var m=y("../internals/export"),a=y("../internals/to-integer"),h=y("../internals/this-number-value"),b=y("../internals/string-repeat"),y=y("../internals/fails"),s=1 .toFixed,u=Math.floor;m({target:"Number",proto:!0,forced:s&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128")||!y(function(){s.call({})})},{toFixed:function(j){function d(P,R){for(var C=-1,D=R;++C<6;)D+=P*M[C],M[C]=D%1e7,D=u(D/1e7)}function p(P){for(var R=6,C=0;0<=--R;)C+=M[R],M[R]=u(C/P),C=C%P*1e7}function o(){for(var P,R=6,C="";0<=--R;)C===""&&R!==0&&M[R]===0||(P=String(M[R]),C=C===""?P:C+b.call("0",7-P.length)+P);return C}var i,f,g=h(this),j=a(j),M=[0,0,0,0,0,0],k="",T="0";if(j<0||20Pe;){var Fe,Ge,ze,Ye=re[Pe++],at=we?Ye.ok:Ye.fail,st=Ye.resolve,Je=Ye.reject,it=Ye.domain;try{at?(we||(Ee.rejection===be&&function(ot,jt){C.call(s,function(){de?te.emit("rejectionHandled",ot):Ve(ue,ot,jt.value)})}(Ae,Ee),Ee.rejection=ye),at===!0?Fe=ge:(it&&it.enter(),Fe=at(ge),it&&(it.exit(),ze=!0)),Fe===Ye.promise?Je(W("Promise-chain cycle")):(Ge=Ce(Fe))?Ge.call(Fe,st,Je):st(Fe)):Je(ge)}catch(ot){it&&!ze&&it.exit(),Je(ot)}}Ee.reactions=[],Ee.notified=!1,K&&!Ee.rejection&&(Z=Ae,ne=Ee,C.call(s,function(){var ot=ne.value,jt=He(ne);if(jt&&(jt=G(function(){de?te.emit("unhandledRejection",ot,Z):Ve(ee,Z,ot)}),ne.rejection=de||He(ne)?be:ye,jt.error))throw jt.value}))}))},Ve=function(Ae,Ee,K){var re;ce?((re=$.createEvent("Event")).promise=Ee,re.reason=K,re.initEvent(Ae,!1,!0),s.dispatchEvent(re)):re={promise:Ee,reason:K},(Ee=s["on"+Ae])?Ee(re):Ae===ee&&F("Unhandled promise rejection",K)},He=function(Ae){return Ae.rejection!==ye&&!Ae.parent},Xe=function(Ae,Ee,K,re){return function(Z){Ae(Ee,K,Z,re)}},We=function(Ae,Ee,K,re){Ee.done||(Ee.done=!0,(Ee=re||Ee).value=K,Ee.state=je,$e(Ae,Ee,!0))},xe=function(Ae,Ee,K,re){if(!Ee.done){Ee.done=!0,re&&(Ee=re);try{if(Ae===K)throw W("Promise can't be resolved itself");var Z=Ce(K);Z?D(function(){var ne={done:!1};try{Z.call(K,Xe(xe,Ae,ne,Ee),Xe(We,Ae,ne,Ee))}catch(ge){We(Ae,ne,ge,Ee)}}):(Ee.value=K,Ee.state=me,$e(Ae,Ee,!1))}catch(ne){We(Ae,{done:!1},ne,Ee)}}};Se&&(B=function(Ae){j(this,B,Q),g(Ae),c.call(this);var Ee=oe(this);try{Ae(Xe(xe,this,Ee),Xe(We,this,Ee))}catch(K){We(this,Ee,K)}},(c=function(Ae){E(this,{type:Q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(B.prototype,{then:function(Ae,Ee){var K=I(this),re=fe(R(this,B));return re.ok=typeof Ae!="function"||Ae,re.fail=typeof Ee=="function"&&Ee,re.domain=de?te.domain:void 0,K.parent=!0,K.reactions.push(re),K.state!=0&&$e(this,K,!1),re.promise},catch:function(Ae){return this.then(void 0,Ae)}}),m=function(){var Ae=new c,Ee=oe(Ae);this.promise=Ae,this.resolve=Xe(xe,Ae,Ee),this.reject=Xe(We,Ae,Ee)},N.f=fe=function(Ae){return Ae===B||Ae===a?new m:ie(Ae)},y||typeof l!="function"||(h=l.prototype.then,d(l.prototype,"then",function(Ae,Ee){var K=this;return new B(function(re,Z){h.call(K,re,Z)}).then(Ae,Ee)},{unsafe:!0}),typeof se=="function"&&b({global:!0,enumerable:!0,forced:!0},{fetch:function(Ae){return A(B,se.apply(s,arguments))}}))),b({global:!0,wrap:!0,forced:Se},{Promise:B}),o(B,Q,!1,!0),i(Q),a=u(Q),b({target:Q,stat:!0,forced:Se},{reject:function(Ae){var Ee=fe(this);return Ee.reject.call(void 0,Ae),Ee.promise}}),b({target:Q,stat:!0,forced:y||Se},{resolve:function(Ae){return A(y&&this===a?B:this,Ae)}}),b({target:Q,stat:!0,forced:Ne},{all:function(Ae){var Ee=this,K=fe(Ee),re=K.resolve,Z=K.reject,ne=G(function(){var ge=g(Ee.resolve),we=[],Pe=0,Fe=1;T(Ae,function(Ge){var ze=Pe++,Ye=!1;we.push(void 0),Fe++,ge.call(Ee,Ge).then(function(at){Ye||(Ye=!0,we[ze]=at,--Fe||re(we))},Z)}),--Fe||re(we)});return ne.error&&Z(ne.value),K.promise},race:function(Ae){var Ee=this,K=fe(Ee),re=K.reject,Z=G(function(){var ne=g(Ee.resolve);T(Ae,function(ge){ne.call(Ee,ge).then(K.resolve,re)})});return Z.error&&re(Z.value),K.promise}})},{"../internals/a-function":5,"../internals/an-instance":9,"../internals/check-correctness-of-iteration":27,"../internals/classof-raw":28,"../internals/engine-v8-version":48,"../internals/export":50,"../internals/get-built-in":57,"../internals/global":60,"../internals/host-report-errors":63,"../internals/inspect-source":69,"../internals/internal-state":71,"../internals/is-forced":74,"../internals/is-object":75,"../internals/is-pure":76,"../internals/iterate":78,"../internals/microtask":82,"../internals/native-promise-constructor":83,"../internals/new-promise-capability":87,"../internals/perform":106,"../internals/promise-resolve":107,"../internals/redefine":109,"../internals/redefine-all":108,"../internals/set-species":117,"../internals/set-to-string-tag":118,"../internals/species-constructor":122,"../internals/task":131,"../internals/well-known-symbol":149}],189:[function(s,w,x){var c=s("../internals/export"),p=s("../internals/get-built-in"),m=s("../internals/a-function"),a=s("../internals/an-object"),h=s("../internals/is-object"),b=s("../internals/object-create"),y=s("../internals/function-bind"),s=s("../internals/fails"),u=p("Reflect","construct"),l=s(function(){function o(){}return!(u(function(){},[],o)instanceof o)}),d=!s(function(){u(function(){})}),p=l||d;c({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(o,i){m(o),a(i);var f=arguments.length<3?o:m(arguments[2]);if(d&&!l)return u(o,i,f);if(o==f){switch(i.length){case 0:return new o;case 1:return new o(i[0]);case 2:return new o(i[0],i[1]);case 3:return new o(i[0],i[1],i[2]);case 4:return new o(i[0],i[1],i[2],i[3])}var g=[null];return g.push.apply(g,i),new(y.apply(o,g))}return g=f.prototype,f=b(h(g)?g:Object.prototype),g=Function.apply.call(o,f,i),h(g)?g:f}})},{"../internals/a-function":5,"../internals/an-object":10,"../internals/export":50,"../internals/fails":51,"../internals/function-bind":56,"../internals/get-built-in":57,"../internals/is-object":75,"../internals/object-create":91}],190:[function(t,w,x){var c=t("../internals/export"),m=t("../internals/is-object"),a=t("../internals/an-object"),h=t("../internals/has"),b=t("../internals/object-get-own-property-descriptor"),y=t("../internals/object-get-prototype-of");c({target:"Reflect",stat:!0},{get:function s(u,l){var d,p=arguments.length<3?u:arguments[2];return a(u)===p?u[l]:(d=b.f(u,l))?h(d,"value")?d.value:d.get===void 0?void 0:d.get.call(p):m(d=y(u))?s(d,l,p):void 0}})},{"../internals/an-object":10,"../internals/export":50,"../internals/has":61,"../internals/is-object":75,"../internals/object-get-own-property-descriptor":94,"../internals/object-get-prototype-of":98}],191:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/global"),a=t("../internals/is-forced"),h=t("../internals/inherit-if-required"),b=t("../internals/object-define-property").f,y=t("../internals/object-get-own-property-names").f,s=t("../internals/is-regexp"),u=t("../internals/regexp-flags"),l=t("../internals/regexp-sticky-helpers"),d=t("../internals/redefine"),p=t("../internals/fails"),o=t("../internals/internal-state").set,i=t("../internals/set-species"),f=t("../internals/well-known-symbol")("match"),g=m.RegExp,j=g.prototype,M=/a/g,k=/a/g,T=new g(M)!==M,P=l.UNSUPPORTED_Y;if(c&&a("RegExp",!T||P||p(function(){return k[f]=!1,g(M)!=M||g(k)==k||g(M,"i")!="/a/i"}))){for(var R=function(A,F){var N,G=this instanceof R,q=s(A),V=F===void 0;return!G&&q&&A.constructor===R&&V?A:(T?q&&!V&&(A=A.source):A instanceof R&&(V&&(F=u.call(A)),A=A.source),P&&(N=!!F&&-1D;)(function(A){A in R||b(R,A,{configurable:!0,get:function(){return g[A]},set:function(F){g[A]=F}})})(C[D++]);(j.constructor=R).prototype=j,d(m,"RegExp",R)}i("RegExp")},{"../internals/descriptors":43,"../internals/fails":51,"../internals/global":60,"../internals/inherit-if-required":68,"../internals/internal-state":71,"../internals/is-forced":74,"../internals/is-regexp":77,"../internals/object-define-property":93,"../internals/object-get-own-property-names":96,"../internals/redefine":109,"../internals/regexp-flags":112,"../internals/regexp-sticky-helpers":113,"../internals/set-species":117,"../internals/well-known-symbol":149}],192:[function(m,w,x){var c=m("../internals/export"),m=m("../internals/regexp-exec");c({target:"RegExp",proto:!0,forced:/./.exec!==m},{exec:m})},{"../internals/export":50,"../internals/regexp-exec":111}],193:[function(h,w,x){var c=h("../internals/redefine"),m=h("../internals/an-object"),s=h("../internals/fails"),a=h("../internals/regexp-flags"),h="toString",b=RegExp.prototype,y=b[h],s=s(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),u=y.name!=h;(s||u)&&c(RegExp.prototype,h,function(){var l=m(this),d=String(l.source),p=l.flags;return"/"+d+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in b)?a.call(l):p)},{unsafe:!0})},{"../internals/an-object":10,"../internals/fails":51,"../internals/redefine":109,"../internals/regexp-flags":112}],194:[function(m,w,x){var c=m("../internals/collection"),m=m("../internals/collection-strong");w.exports=c("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},m)},{"../internals/collection":32,"../internals/collection-strong":30}],195:[function(y,w,x){var c=y("../internals/export"),m=y("../internals/object-get-own-property-descriptor").f,a=y("../internals/to-length"),h=y("../internals/not-a-regexp"),b=y("../internals/require-object-coercible"),l=y("../internals/correct-is-regexp-logic"),y=y("../internals/is-pure"),s="".endsWith,u=Math.min,l=l("endsWith");c({target:"String",proto:!0,forced:!!(y||l||!(c=m(String.prototype,"endsWith"))||c.writable)&&!l},{endsWith:function(d){var p=String(b(this)),o=(h(d),1=u.length?{value:void 0,done:!0}:(u=c(u,l),s.index+=u.length,{value:u,done:!1})})},{"../internals/define-iterator":41,"../internals/internal-state":71,"../internals/string-multibyte":124}],198:[function(t,w,x){var c=t("../internals/fix-regexp-well-known-symbol-logic"),m=t("../internals/an-object"),a=t("../internals/to-length"),h=t("../internals/require-object-coercible"),b=t("../internals/advance-string-index"),y=t("../internals/regexp-exec-abstract");c("match",1,function(s,u,l){return[function(d){var p=h(this),o=d==null?void 0:d[s];return o!==void 0?o.call(d,p):new RegExp(d)[s](String(p))},function(d){var p=l(u,d,this);if(p.done)return p.value;var o=m(d),i=String(this);if(!o.global)return y(o,i);for(var f=o.unicode,g=[],j=o.lastIndex=0;(M=y(o,i))!==null;){var M=String(M[0]);(g[j]=M)===""&&(o.lastIndex=b(i,a(o.lastIndex),f)),j++}return j===0?null:g}]})},{"../internals/advance-string-index":8,"../internals/an-object":10,"../internals/fix-regexp-well-known-symbol-logic":52,"../internals/regexp-exec-abstract":110,"../internals/require-object-coercible":114,"../internals/to-length":137}],199:[function(t,w,x){var c=t("../internals/export"),m=t("../internals/string-pad").start;c({target:"String",proto:!0,forced:t("../internals/string-pad-webkit-bug")},{padStart:function(a){return m(this,a,1]*>)/g,i=/\$([$&'`]|\d\d?)/g;c("replace",2,function(f,g,j,M){var k=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=M.REPLACE_KEEPS_$0,P=k?"$":"$0";return[function(R,C){var D=y(this),A=R==null?void 0:R[f];return A!==void 0?A.call(R,D,C):g.call(String(D),R,C)},function(R,C){if(!k&&T||typeof C=="string"&&C.indexOf(P)===-1){var D=j(g,R,this,C);if(D.done)return D.value}for(var A,F=m(R),N=String(this),G=typeof C=="function",q=(G||(C=String(C)),F.global),V=(q&&(A=F.unicode,F.lastIndex=0),[]);(E=u(F,N))!==null&&(V.push(E),q);)String(E[0])===""&&(F.lastIndex=s(N,h(F.lastIndex),A));for(var z,Y="",Q=0,oe=0;oe>>0;if(C==0)return[];if(T===void 0)return[R];if(!m(T))return j.call(R,T,C);for(var D,A,F,N=[],P=(T.ignoreCase?"i":"")+(T.multiline?"m":"")+(T.unicode?"u":"")+(T.sticky?"y":""),G=0,q=new RegExp(T.source,P+"g");(D=l.call(q,R))&&!(G<(A=q.lastIndex)&&(N.push(R.slice(G,D.index)),1=C));)q.lastIndex===D.index&&q.lastIndex++;return G===R.length?!F&&q.test("")||N.push(""):N.push(R.slice(G)),N.length>C?N.slice(0,C):N}:"0".split(void 0,0).length?function(T,P){return T===void 0&&P===0?[]:j.call(this,T,P)}:j;return[function(T,P){var R=h(this),C=T==null?void 0:T[g];return C!==void 0?C.call(T,R,P):k.call(String(R),T,P)},function(D,P){var R=M(k,D,this,P,k!==j);if(R.done)return R.value;var R=a(D),C=String(this),D=b(R,RegExp),A=R.unicode,F=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(f?"y":"g"),N=new D(f?R:"^(?:"+R.source+")",F),G=P===void 0?i:P>>>0;if(G==0)return[];if(C.length===0)return u(N,C)===null?[C]:[];for(var q=0,V=0,z=[];Vse.key){de.splice(fe,0,se);break}fe===ee&&de.push(se)}ie.updateURL()},forEach:function(se){for(var fe,ie=z(this).entries,de=j(se,16))return;for(Dt=0;Qt();){if(Zt=null,Dt>0)if(Qt()=="."&&Dt<4)Ze++;else return;if(!B.test(Qt()))return;for(;B.test(Qt());){if(Xr=parseInt(Qt(),10),Zt===null)Zt=Xr;else{if(Zt==0)return;Zt=Zt*10+Xr}if(Zt>255)return;Ze++}mt[qe]=mt[qe]*256+Zt,Dt++,(Dt==2||Dt==4)&&qe++}if(Dt!=4)return;break}else if(Qt()==":"){if(Ze++,!Qt())return}else if(Qt())return;mt[qe++]=Ut}if(ht!==null)for(Sr=qe-ht,qe=7;qe!=0&&Sr>0;)Yr=mt[qe],mt[qe--]=mt[ht+Sr-1],mt[ht+--Sr]=Yr;else if(qe!=8)return;return mt}(Ue.slice(1,-1)))?void(pe.host=Qe):Q;if(Ce(pe))return Ue=T(Ue),fe.test(Ue)||(Qe=function(Ie){var mt=Ie.split("."),qe,ht,Ze,Ut,Wt,Dt,Zt;if(mt.length&&mt[mt.length-1]==""&&mt.pop(),(qe=mt.length)>4)return Ie;for(ht=[],Ze=0;Ze1&&Ut.charAt(0)=="0"&&(Wt=W.test(Ut)?16:8,Ut=Ut.slice(Wt==8?1:2)),Ut==="")Dt=0;else{if(!(Wt==10?te:Wt==8?$:se).test(Ut))return Ie;Dt=parseInt(Ut,Wt)}ht.push(Dt)}for(Ze=0;Ze=V(256,5-qe))return null}else if(Dt>255)return null;for(Zt=ht.pop(),Ze=0;Ze":1,"`":1}),ye=j({},je,{"#":1,"?":1,"{":1,"}":1}),be=j({},ye,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Se=function(pe,Ue){var Qe=k(pe,0);return 32"u"&&c!==void 0&&{}.toString.call(c)==="[object process]",f=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function g(){var ee=setTimeout;return function(){return ee(M,1)}}var j=new Array(1e3);function M(){for(var ee=0;eeR,applyPalette:()=>function(G,q,V="rgb565"){if(!G||!G.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(G instanceof Uint8Array||G instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");if(256>24&255,B=$>>16&255,W=$>>8&255,$=255&$,te=d($,W,B,I),te=te in E?E[te]:E[te]=function(ee,ue,me,je,ye){let be=0,Se=1e100;for(let Ve=0;VeSe||(Ne=Ce[0],($e+=k(Ne-ee))>Se||(Ne=Ce[1],($e+=k(Ne-ue))>Se||(Ne=Ce[2],($e+=k(Ne-me))>Se||(Se=$e,be=Ve))))}return be}($,W,B,I,q);oe[ce]=te}else{const ce=V==="rgb444"?p:l;for(let ee=0;ee>16&255,fe=ie>>8&255,ie=255&ie,de=ce(ie,fe,se),de=de in E?E[de]:E[de]=function(ue,me,je,ye){let be=0,Se=1e100;for(let Ve=0;VeSe||(Ne=Ce[1],($e+=k(Ne-me))>Se||(Ne=Ce[2],($e+=k(Ne-je))>Se||(Se=$e,be=Ve)))}return be}(ie,fe,se,q);oe[ee]=de}}return oe},default:()=>N,nearestColor:()=>function(G,q,V=j){return G[T(G,q,V)]},nearestColorIndex:()=>T,nearestColorIndexWithDistance:()=>P,prequantize:()=>function(G,{roundRGB:q=5,roundAlpha:V=10,oneBitAlpha:z=null}={}){const Y=new Uint32Array(G.buffer);for(let B=0;B>24&255;var Q,oe=I>>16&255,E=I>>8&255,I=255&I;W=M(W,V),z&&(Q=typeof z=="number"?z:127,W=W<=Q?0:255),I=M(I,q),E=M(E,q),oe=M(oe,q),Y[B]=W<<24|oe<<16|E<<8|I<<0}},quantize:()=>function(G,q,V={}){var{format:z="rgb565",clearAlpha:Y=!0,clearAlphaColor:Q=0,clearAlphaThreshold:oe=0,oneBitAlpha:E=!1}=V;if(!G||!G.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(G instanceof Uint8Array||G instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");G=new Uint32Array(G.buffer);let I=V.useSqrt!==!1;const B=z==="rgba4444",W=function(He,Xe){const We=Xe==="rgb444"?4096:65536,xe=new Array(We),Ae=He.length;if(Xe==="rgba4444")for(let st=0;st>24&255,K=Z>>16&255,re=Z>>8&255,Z=255&Z,ne=d(Z,re,K,Ee);let Je=ne in xe?xe[ne]:xe[ne]=g();Je.rc+=Z,Je.gc+=re,Je.bc+=K,Je.ac+=Ee,Je.cnt++}else if(Xe==="rgb444")for(let st=0;st>16&255,we=Pe>>8&255,Pe=255&Pe,Fe=p(Pe,we,ge);let Je=Fe in xe?xe[Fe]:xe[Fe]=g();Je.rc+=Pe,Je.gc+=we,Je.bc+=ge,Je.cnt++}else for(let st=0;st>16&255,ze=Ye>>8&255,Ye=255&Ye,at=l(Ye,ze,Ge);let Je=at in xe?xe[at]:xe[at]=g();Je.rc+=Ye,Je.gc+=ze,Je.bc+=Ge,Je.cnt++}return xe}(G,z),$=W.length,te=$-1,se=new Uint32Array($+1);for(var fe=0,ie=0;ie<$;++ie){const He=W[ie];He!=null&&(Ce=1/He.cnt,B&&(He.ac*=Ce),He.rc*=Ce,He.gc*=Ce,He.bc*=Ce,W[fe++]=He)}i(q)/fe<.022&&(I=!1);for(var de,ce,ee,ie=0;ie>1,!(W[de=se[ee]].err<=ue));ce=ee)se[ce]=de;se[ce]=ie}var me,je=fe-q;for(ie=0;ie=me.mtm&&W[me.nn].mtm<=me.tm)break;for(me.mtm==te?ye=se[1]=se[se[0]--]:(f(W,ye),me.tm=ie),ue=W[ye].err,ce=1;(ee=ce+ce)<=se[0]&&(eeW[se[ee+1]].err&&ee++,!(ue<=W[de=se[ee]].err));ce=ee)se[ce]=de;se[ce]=ye}var be=W[me.nn],Se=me.cnt,Ne=be.cnt,Ce=1/(Se+Ne);B&&(me.ac=Ce*(Se*me.ac+Ne*be.ac)),me.rc=Ce*(Se*me.rc+Ne*be.rc),me.gc=Ce*(Se*me.gc+Ne*be.gc),me.bc=Ce*(Se*me.bc+Ne*be.bc),me.cnt+=be.cnt,me.mtm=++ie,W[be.bk].fw=be.fw,W[be.fw].bk=be.bk,be.mtm=te}let $e=[];for(ie=0;;0){let He=o(Math.round(W[ie].rc),0,255),Xe=o(Math.round(W[ie].gc),0,255),We=o(Math.round(W[ie].bc),0,255),xe=255;B&&(xe=o(Math.round(W[ie].ac),0,255),E&&(Ve=typeof E=="number"?E:127,xe=xe<=Ve?0:255),Y&&xe<=oe&&(He=Xe=We=Q,xe=0));var Ve=B?[He,Xe,We,xe]:[He,Xe,We];if(function(Ae,Ee){for(let Z=0;Zfunction(G,q,V=5){if(G.length&&q.length){var z=G.map(I=>I.slice(0,3)),Y=V*V,Q=G[0].length;for(let I=0;IQ?B.slice(0,3):B.slice();var E=P(z,B.slice(0,3),j),oe=E[0],E=E[1];0>>0),Q!=0&&(Y=Math.max(Y,256));const oe=V;V=new Uint8Array(Y),0>=8,$-=8;if((ue>de||fe)&&(fe?(ie=se,de=(1<>=8,$-=8;0>3}function d(G,q,V,z){return G>>4|240&q|(240&V)<<4|(240&z)<<8}function p(G,q,V){return G>>4<<8|240&q|V>>4}function o(G,q,V){return G>8&255)}function A(G,q){for(var V=0;V>1,p=-7,o=a?f-1:0,i=a?-1:1,f=c[m+o];for(o+=i,y=f&(1<<-p)-1,f>>=-p,p+=u;0>=-p,p+=h;0>1,o=b===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=h?0:g-1,f=h?1:-1,g=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(u=isNaN(m)?1:0,s=d):(s=Math.floor(Math.log(m)/Math.LN2),m*(h=Math.pow(2,-s))<1&&(s--,h*=2),2<=(m+=1<=s+p?o/h:o*Math.pow(2,1-p))*h&&(s++,h/=2),d<=s+p?(u=0,s=d):1<=s+p?(u=(m*h-1)*Math.pow(2,b),s+=p):(u=m*Math.pow(2,p-1)*Math.pow(2,b),s=0));8<=b;c[a+i]=255&u,i+=f,u/=256,b-=8);for(s=s<Math.abs(K[0])&&(re=1),re=Math.abs(K[2])>Math.abs(K[re])?2:re}function D(K,re){K.f+=re.f,K.b.f+=re.b.f}function A(K,re,Z){return K=K.a,re=re.a,Z=Z.a,re.b.a===K?Z.b.a===K?a(re.a,Z.a)?b(Z.b.a,re.a,Z.a)<=0:0<=b(re.b.a,Z.a,re.a):b(Z.b.a,K,Z.a)<=0:Z.b.a===K?0<=b(re.b.a,K,re.a):(re=h(re.b.a,K,re.a),(K=h(Z.b.a,K,Z.a))<=re)}function F(K){K.a.i=null;var re=K.e;re.a.c=re.c,re.c.a=re.a,K.e=null}function N(K,re){o(K.a),K.c=!1,(K.a=re).i=K}function G(K){for(var re=K.a.a;(K=Ee(K)).a.a===re;);return K.c&&(N(K,re=f(Ae(K).a.b,K.a.e)),K=Ee(K)),K}function q(K,re,Z){var ne=new xe;return ne.a=Z,ne.e=fe(K.f,re.e,ne),Z.i=ne}function V(K,re){switch(K.s){case 100130:return(1&re)!=0;case 100131:return re!==0;case 100132:return 0>1]],Fe[Pe[ze]])?Xe:We)(Z,ze),Fe[we]=null,Ge[we]=Z.b,Z.b=we}else for(Z.c[-(we+1)]=null;0Math.max(Pe.a,Ge.a))){if(a(we,Pe)){if(0Z.f&&(Z.f*=2,Z.c=$e(Z.c,Z.f+1)),Z.b===0?ge=ne:(ge=Z.b,Z.b=Z.c[Z.b]),Z.e[ge]=re,Z.c[ge]=ne,Z.d[ne]=ge,Z.h&&We(Z,ne),ge):(Z=K.a++,K.c[Z]=re,-(Z+1))}function Ne(K){if(K.a===0)return He(K.b);var re=K.c[K.d[K.a-1]];if(K.b.a!==0&&a(Ve(K.b),re))return He(K.b);for(;--K.a,0K.a||a(ne[Pe],ne[Ge])){ge[Z[we]=Pe]=we;break}ge[Z[we]=Ge]=we,we=Fe}}function We(K,re){for(var Z=K.d,ne=K.e,ge=K.c,we=re,Pe=Z[we];;){var Fe=we>>1,Ge=Z[Fe];if(Fe==0||a(ne[Ge],ne[Pe])){ge[Z[we]=Pe]=we;break}ge[Z[we]=Ge]=we,we=Fe}}function xe(){this.e=this.a=null,this.f=0,this.c=this.b=this.h=this.d=!1}function Ae(K){return K.e.c.b}function Ee(K){return K.e.a.b}(c=de.prototype).x=function(){ce(this,0)},c.B=function(K,re){switch(K){case 100142:return;case 100140:switch(re){case 100130:case 100131:case 100132:case 100133:case 100134:return void(this.s=re)}break;case 100141:return void(this.m=!!re);default:return void ee(this,100900)}ee(this,100901)},c.y=function(K){switch(K){case 100142:return 0;case 100140:return this.s;case 100141:return this.m;default:ee(this,100900)}return!1},c.A=function(K,re,Z){this.j[0]=K,this.j[1]=re,this.j[2]=Z},c.z=function(K,re){var Z=re||null;switch(K){case 100100:case 100106:this.h=Z;break;case 100104:case 100110:this.l=Z;break;case 100101:case 100107:this.k=Z;break;case 100102:case 100108:this.i=Z;break;case 100103:case 100109:this.p=Z;break;case 100105:case 100111:this.o=Z;break;case 100112:this.r=Z;break;default:ee(this,100900)}},c.C=function(K,re){var Z=!1,ne=[0,0,0];ce(this,2);for(var ge=0;ge<3;++ge){var we=K[ge];we<-1e150&&(we=-1e150,Z=!0),1e150ne[ze]&&(ne[ze]=Ye,ge[ze]=Z)}if(ne[1]-Fe[1]>ne[Z=0]-Fe[0]&&(Z=1),Fe[Z=ne[2]-Fe[2]>ne[Z]-Fe[Z]?2:Z]>=ne[Z])Pe[0]=0,Pe[1]=0,Pe[2]=1;else{for(Fe=Ge[Z],ge=ge[Z],Ge=[ne=0,0,0],Fe=[Fe.g[0]-ge.g[0],Fe.g[1]-ge.g[1],Fe.g[2]-ge.g[2]],ze=[0,0,0],Z=we.e;Z!==we;Z=Z.e)ze[0]=Z.g[0]-ge.g[0],ze[1]=Z.g[1]-ge.g[1],ze[2]=Z.g[2]-ge.g[2],Ge[0]=Fe[1]*ze[2]-Fe[2]*ze[1],Ge[1]=Fe[2]*ze[0]-Fe[0]*ze[2],Ge[2]=Fe[0]*ze[1]-Fe[1]*ze[0],ne<(Ye=Ge[0]*Ge[0]+Ge[1]*Ge[1]+Ge[2]*Ge[2])&&(ne=Ye,Pe[0]=Ge[0],Pe[1]=Ge[1],Pe[2]=Ge[2]);ne<=0&&(Pe[0]=Pe[1]=Pe[2]=0,Pe[C(Fe)]=1)}we=!0}for(Ge=C(Pe),Z=this.b.c,ne=(Ge+1)%3,ge=(Ge+2)%3,Ge=0>=1;)++p;if(i=1<>8&255,a[s++]=255&b,a[s++]=b>>8&255,a[s++]=(l!==null?128:0)|p,a[s++]=o,a[s++]=0,l!==null)for(var f=0,g=l.length;f>16&255,a[s++]=j>>8&255,a[s++]=255&j}if(u!==null){if(u<0||65535>8&255,a[s++]=0}var M=!1;this.addFrame=function(k,T,P,R,C,D){if(M===!0&&(--s,M=!1),D=D===void 0?{}:D,k<0||T<0||65535>=1;)++N;var G=1<>8&255,a[s++]=Y,a[s++]=0),a[s++]=44,a[s++]=255&k,a[s++]=k>>8&255,a[s++]=255&T,a[s++]=T>>8&255,a[s++]=255&P,a[s++]=P>>8&255,a[s++]=255&R,a[s++]=R>>8&255,a[s++]=A===!0?128|N-1:0,A===!0)for(var Q=0,oe=F.length;Q>16&255,a[s++]=E>>8&255,a[s++]=255&E}return s=function(I,B,W,$){I[B++]=W;var te=B++,se=1<>=8,ee-=8,B===te+256&&(I[te]=255,te=B++)}function je(He){ue|=He<>=8,ee-=8,B===te+256&&(I[te]=255,te=B++);de===4096?(je(se),de=1+ie,ce=W+1,be={}):(1<>=p,i-=p,T==u)d=1+l,o=(1<<(p=s+1))-1,k=null;else{if(T==l)break;for(var P=T>8,++R;var D=C;if(y>=8;k!==null&&d<4096&&(M[d++]=k<<8|D,o+1<=d&&p<12&&(++p,o=o<<1|1)),k=T}}g!==y&&console.log("Warning, gif stream shorter than expected.")}try{x.GifWriter=c,x.GifReader=function(a){var h=0;if(a[h++]!==71||a[h++]!==73||a[h++]!==70||a[h++]!==56||(a[h++]+1&253)!=56||a[h++]!==97)throw new Error("Invalid GIF 87a/89a header.");var b=a[h++]|a[h++]<<8,y=a[h++]|a[h++]<<8,s=a[h++],u=1<<1+(7&s),l=(a[h++],a[h++],null),d=null,p=(s>>7&&(l=h,h+=3*(d=u)),!0),o=[],i=0,f=null,g=0,j=null;for(this.width=b,this.height=y;p&&h>2&7,h++;break;case 254:for(;;){if(!(0<=(k=a[h++])))throw Error("Invalid block size");if(k===0)break;h+=k}break;default:throw new Error("Unknown graphic control label: 0x"+a[h-1].toString(16))}break;case 44:var k,T=a[h++]|a[h++]<<8,P=a[h++]|a[h++]<<8,R=a[h++]|a[h++]<<8,C=a[h++]|a[h++]<<8,q=a[h++],D=q>>6&1,A=1<<1+(7&q),F=l,N=d,G=!1,q=(q>>7&&(G=!0,F=h,h+=3*(N=A)),h);for(h++;;){if(!(0<=(k=a[h++])))throw Error("Invalid block size");if(k===0)break;h+=k}o.push({x:T,y:P,width:R,height:C,has_local_palette:G,palette_offset:F,palette_size:N,data_offset:q,data_length:h-q,transparent_index:f,interlaced:!!D,delay:i,disposal:g});break;case 59:p=!1;break;default:throw new Error("Unknown gif block: 0x"+a[h-1].toString(16))}this.numFrames=function(){return o.length},this.loopCount=function(){return j},this.frameInfo=function(V){if(V<0||V>=o.length)throw new Error("Frame index out of range.");return o[V]},this.decodeAndBlitFrameBGRA=function(V,z){for(var V=this.frameInfo(V),Y=V.width*V.height,Q=new Uint8Array(Y),oe=(m(a,V.data_offset,Q,Y),V.palette_offset),E=V.transparent_index,I=(E===null&&(E=256),V.width),B=b-I,W=I,$=4*(V.y*b+V.x),te=4*((V.y+V.height)*b+V.x),se=$,fe=4*B,ie=(V.interlaced===!0&&(fe+=4*b*7),8),de=0,ce=Q.length;de>=1)),me===E?se+=4:(ee=a[oe+3*me],ue=a[oe+3*me+1],me=a[oe+3*me+2],z[se++]=me,z[se++]=ue,z[se++]=ee,z[se++]=255),--W}},this.decodeAndBlitFrameRGBA=function(V,z){for(var V=this.frameInfo(V),Y=V.width*V.height,Q=new Uint8Array(Y),oe=(m(a,V.data_offset,Q,Y),V.palette_offset),E=V.transparent_index,I=(E===null&&(E=256),V.width),B=b-I,W=I,$=4*(V.y*b+V.x),te=4*((V.y+V.height)*b+V.x),se=$,fe=4*B,ie=(V.interlaced===!0&&(fe+=4*b*7),8),de=0,ce=Q.length;de>=1)),me===E?se+=4:(ee=a[oe+3*me],ue=a[oe+3*me+1],me=a[oe+3*me+2],z[se++]=ee,z[se++]=ue,z[se++]=me,z[se++]=255),--W}}}}catch{}},{}],254:[function(t,w,x){(function(c){var m,a;m=this,a=function(h){function b(U){if(this==null)throw TypeError();var S,O=String(this),L=O.length,U=U?Number(U):0;if(!((U=U!=U?0:U)<0||L<=U))return 55296<=(S=O.charCodeAt(U))&&S<=56319&&U+1>>16-S;return v.tag>>>=S,v.bitcount-=S,L+O}function A(v,S){for(;v.bitcount<24;)v.tag|=v.source[v.sourceIndex++]<>>=1,O+=S.table[++U],0<=(L-=S.table[U]););return v.tag=H,v.bitcount-=U,S.trans[O+L]}function F(v,S,O){for(;;){var L=A(v,S);if(L===256)return s;if(L<256)v.dest[v.destLen++]=L;else for(var U,H=D(v,i[L-=257],f[L]),L=A(v,O),X=U=v.destLen-D(v,g[L],j[L]);X>>=1,L=U,D(H,2,0)){case 0:O=function(Me){for(var tt,ut;8this.x2&&(this.x2=v)),typeof S=="number"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=S,this.y2=S),Sthis.y2&&(this.y2=S))},Y.prototype.addX=function(v){this.addPoint(v,null)},Y.prototype.addY=function(v){this.addPoint(null,v)},Y.prototype.addBezier=function(v,S,O,L,U,H,X,J){var le=[v,S],ae=[O,L],ve=[U,H],ke=[X,J];this.addPoint(v,S),this.addPoint(X,J);for(var _e=0;_e<=1;_e++){var he,Re=6*le[_e]-12*ae[_e]+6*ve[_e],Oe=-3*le[_e]+9*ae[_e]-9*ve[_e]+3*ke[_e],Le=3*ae[_e]-3*le[_e];Oe==0?Re==0||0<(he=-Le/Re)&&he<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],he)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],he))):(he=Math.pow(Re,2)-4*Le*Oe)<0||(0<(Le=(-Re+Math.sqrt(he))/(2*Oe))&&Le<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],Le)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],Le))),0<(Le=(-Re-Math.sqrt(he))/(2*Oe))&&Le<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],Le)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],Le))))}},Y.prototype.addQuad=function(v,S,O,L,U,H){O=v+2/3*(O-v),L=S+2/3*(L-S),this.addBezier(v,S,O,L,O+1/3*(U-v),L+1/3*(H-S),U,H)},Q.prototype.moveTo=function(v,S){this.commands.push({type:"M",x:v,y:S})},Q.prototype.lineTo=function(v,S){this.commands.push({type:"L",x:v,y:S})},Q.prototype.curveTo=Q.prototype.bezierCurveTo=function(v,S,O,L,U,H){this.commands.push({type:"C",x1:v,y1:S,x2:O,y2:L,x:U,y:H})},Q.prototype.quadTo=Q.prototype.quadraticCurveTo=function(v,S,O,L){this.commands.push({type:"Q",x1:v,y1:S,x:O,y:L})},Q.prototype.close=Q.prototype.closePath=function(){this.commands.push({type:"Z"})},Q.prototype.extend=function(v){var S;if(v.commands)v=v.commands;else if(v instanceof Y)return S=v,this.moveTo(S.x1,S.y1),this.lineTo(S.x2,S.y1),this.lineTo(S.x2,S.y2),this.lineTo(S.x1,S.y2),void this.close();Array.prototype.push.apply(this.commands,v)},Q.prototype.getBoundingBox=function(){for(var v=new Y,S=0,O=0,L=0,U=0,H=0;H>8&255,255&v]},$.USHORT=te(2),W.SHORT=function(v){return[(v=32768<=v?-(65536-v):v)>>8&255,255&v]},$.SHORT=te(2),W.UINT24=function(v){return[v>>16&255,v>>8&255,255&v]},$.UINT24=te(3),W.ULONG=function(v){return[v>>24&255,v>>16&255,v>>8&255,255&v]},$.ULONG=te(4),W.LONG=function(v){return[(v=2147483648<=v?-(4294967296-v):v)>>24&255,v>>16&255,v>>8&255,255&v]},$.LONG=te(4),W.FIXED=W.ULONG,$.FIXED=$.ULONG,W.FWORD=W.SHORT,$.FWORD=$.SHORT,W.UFWORD=W.USHORT,$.UFWORD=$.USHORT,W.LONGDATETIME=function(v){return[0,0,0,0,v>>24&255,v>>16&255,v>>8&255,255&v]},$.LONGDATETIME=te(8),W.TAG=function(v){return I.argument(v.length===4,"Tag should be exactly 4 ASCII characters."),[v.charCodeAt(0),v.charCodeAt(1),v.charCodeAt(2),v.charCodeAt(3)]},$.TAG=te(4),W.Card8=W.BYTE,$.Card8=$.BYTE,W.Card16=W.USHORT,$.Card16=$.USHORT,W.OffSize=W.BYTE,$.OffSize=$.BYTE,W.SID=W.USHORT,$.SID=$.USHORT,W.NUMBER=function(v){return-107<=v&&v<=107?[v+139]:108<=v&&v<=1131?[247+((v-=108)>>8),255&v]:-1131<=v&&v<=-108?[251+((v=-v-108)>>8),255&v]:-32768<=v&&v<=32767?W.NUMBER16(v):W.NUMBER32(v)},$.NUMBER=function(v){return W.NUMBER(v).length},W.NUMBER16=function(v){return[28,v>>8&255,255&v]},$.NUMBER16=te(3),W.NUMBER32=function(v){return[29,v>>24&255,v>>16&255,v>>8&255,255&v]},$.NUMBER32=te(5),W.REAL=function(v){for(var S=v.toString(),O=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(S),L=(O&&(O=parseFloat("1e"+((O[2]?+O[2]:0)+O[1].length)),S=(Math.round(v*O)/O).toString()),""),U=0,H=S.length;U>8&255,S[S.length]=255&L}return S},$.UTF16=function(v){return 2*v.length};var se,fe={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"},ie=(B.MACSTRING=function(v,S,O,L){var U=fe[L];if(U!==void 0){for(var H="",X=0;X>8&255,_e+256&255)}return ae})(v,L,S);return S},W.INDEX=function(v){for(var S=1,O=[S],L=[],U=0;U>8,S[ve+1]=255&ke,S=S.concat(L[ae])}return S},$.TABLE=function(v){for(var S=0,O=v.fields.length,L=0;L>1,J.skip("uShort",3),Le.glyphIndexMap={};for(var ut,rt=new Ee.Parser(Te,Me+tt+14),nt=new Ee.Parser(Te,Me+tt+16+2*ut),ct=new Ee.Parser(Te,Me+tt+16+4*ut),St=new Ee.Parser(Te,Me+tt+16+6*ut),Nt=Me+tt+16+8*ut,Vt=0;Vt>4,X=15&X;if(H==15||(L+=U[H],X==15))break;L+=U[X]}return parseFloat(L)}if(32<=S&&S<=246)return S-139;if(247<=S&&S<=250)return 256*(S-247)+v.parseByte()+108;if(251<=S&&S<=254)return 256*-(S-251)-v.parseByte()-108;throw new Error("Invalid b0 "+S)}function ar(v,S,O){var L=new Ee.Parser(v,S=S!==void 0?S:0),U=[],H=[];for(O=O!==void 0?O:v.length;L.relativeOffset>1,he.length=0,Oe=!0}return function nt(ct){for(var St,Nt,Vt,lr,ur,Ur,wt,Tt,vt,cr,Lt,nr,Mt=0;MtMath.abs(nr-Me)?Te=Lt+he.shift():Me=nr+he.shift(),_e.curveTo(L,U,H,X,wt,Tt),_e.curveTo(vt,cr,Lt,nr,Te,Me);break;default:console.log("Glyph "+S.index+": unknown operator 1200"+$t),he.length=0}break;case 14:0>3;break;case 21:2>16),Mt+=2;break;case 29:ur=he.pop()+v.gsubrsBias,(Ur=v.gsubrs[ur])&&nt(Ur);break;case 30:for(;0=O.begin&&v=ge.length&&(H=L.parseChar(),O.names.push(L.parseString(H)));break;case 2.5:O.numberOfGlyphs=L.parseUShort(),O.offset=new Array(O.numberOfGlyphs);for(var J=0;Jke.value.tag?1:-1}),S.fields=S.fields.concat(L),S.fields=S.fields.concat(U),S}function Au(v,S,O){for(var L=0;L 123 are reserved for internal usage");he|=1<>>1,H=v[U].tag;if(H===S)return U;H>>1,H=v[U];if(H===S)return U;H>>1,X=(U=v[H]).start;if(X===S)return U;X(U=v[O-1]).end?0:U}function As(v,S){this.font=v,this.tableName=S}function Rs(v){As.call(this,v,"gpos")}function Zr(v){As.call(this,v,"gsub")}function Du(v,S,O){for(var L=v.subtables,U=0;US.points.length-1||L.matchedPoints[1]>U.points.length-1)throw Error("Matched points out of range in "+S.name);var X=S.points[L.matchedPoints[0]],J=U.points[L.matchedPoints[1]],L={xScale:L.xScale,scale01:L.scale01,scale10:L.scale10,yScale:L.yScale,dx:0,dy:0},J=ra([J],L)[0];L.dx=X.x-J.x,L.dy=X.y-J.y,H=ra(U.points,L)}S.points=S.points.concat(H)}}return Uu(S.points)}(Rs.prototype=As.prototype={searchTag:ta,binSearch:Ru,getTable:function(v){var S=this.font.tables[this.tableName];return S=!S&&v?this.font.tables[this.tableName]=this.createDefaultTable():S},getScriptNames:function(){var v=this.getTable();return v?v.scripts.map(function(S){return S.tag}):[]},getDefaultScriptName:function(){var v=this.getTable();if(v){for(var S=!1,O=0;O=X[S-1].tag,"Features must be added in alphabetical order."),X.push(U={tag:O,feature:{params:0,lookupListIndexes:[]}}),H.push(S),U.feature}},getLookupTables:function(H,S,O,L,U){var H=this.getFeatureTable(H,S,O,U),X=[];if(H){for(var J,le=H.lookupListIndexes,ae=this.font.tables[this.tableName].lookups,ve=0;ve",H),S.stack.push(Math.round(64*H))}function oa(v,S){var O=S.stack,L=O.pop(),U=S.fv,H=S.pv,X=S.ppem,J=S.deltaBase+16*(v-1),le=S.deltaShift,ae=S.z0;h.DEBUG&&console.log(S.step,"DELTAP["+v+"]",L,O);for(var ve=0;ve>4)===X&&(0<=(_e=(15&_e)-8)&&_e++,h.DEBUG&&console.log(S.step,"DELTAPFIX",ke,"by",_e*le),ke=ae[ke],U.setRelative(ke,ke,_e*le,H))}}function Ds(v,S){var O=S.stack,L=O.pop();h.DEBUG&&console.log(S.step,"ROUND[]"),O.push(64*S.round(L/64))}function sa(v,S){var O=S.stack,L=O.pop(),U=S.ppem,H=S.deltaBase+16*(v-1),X=S.deltaShift;h.DEBUG&&console.log(S.step,"DELTAC["+v+"]",L,O);for(var J=0;J>4)===U&&(0<=(ae=(15&ae)-8)&&ae++,ae=ae*X,h.DEBUG&&console.log(S.step,"DELTACFIX",le,"by",ae),S.cvt[le]+=ae)}}function sc(v,S){var O,U=S.stack,L=U.pop(),U=U.pop(),H=S.z2[L],X=S.z1[U];h.DEBUG&&console.log(S.step,"SDPVTL["+v+"]",L,U),L=v?(O=H.y-X.y,X.x-H.x):(O=X.x-H.x,X.y-H.y),S.dpv=Uo(O,L)}function yn(v,S){var O=S.stack,L=S.prog,U=S.ip;h.DEBUG&&console.log(S.step,"PUSHB["+v+"]");for(var H=0;H":"_")+(L?"R":"_")+(U===0?"Gr":U===1?"Bl":U===2?"Wh":"")+"]",v?le+"("+H.cvt[le]+","+J+")":"",ae,"(d =",X,"->",Le*Oe,")"),H.rp1=H.rp0,H.rp2=ae,S&&(H.rp0=ae)}Gu.prototype.exec=function(v,S){if(typeof S!="number")throw new Error("Point size is not a number!");if(!(2",L),J.interpolate(ke,H,X,le),J.touch(ke)}v.loop=1},tc.bind(void 0,0),tc.bind(void 0,1),function(v){for(var S=v.stack,O=v.rp0,L=v.z0[O],U=v.loop,H=v.fv,X=v.pv,J=v.z1;U--;){var le=S.pop(),ae=J[le];h.DEBUG&&console.log(v.step,(1"u"?sp:ip)(v,function(O,L){if(O)return S(O);var U;try{U=ia(L)}catch(H){return S(H,null)}return S(null,U)})},h.loadSync=function(v){return ia(Nu(t("fs").readFileSync(v)))},Object.defineProperty(h,"__esModule",{value:!0})},a(typeof x=="object"&&w!==void 0?x:m.opentype={})}).call(this,t("buffer").Buffer)},{buffer:4,fs:2}],255:[function(t,w,x){(function(c){function m(b,y){for(var s=0,u=b.length-1;0<=u;u--){var l=b[u];l==="."?b.splice(u,1):l===".."?(b.splice(u,1),s++):s&&(b.splice(u,1),s--)}if(y)for(;s--;)b.unshift("..");return b}function a(b,y){if(b.filter)return b.filter(y);for(var s=[],u=0;u'.concat(i,"").concat(d,""),this.dummyDOM||(this.dummyDOM=document.getElementById(o).parentNode),this.descriptions?this.descriptions.fallbackElements||(this.descriptions.fallbackElements={}):this.descriptions={fallbackElements:{}},this.descriptions.fallbackElements[l]?this.descriptions.fallbackElements[l].innerHTML!==i&&(this.descriptions.fallbackElements[l].innerHTML=i):this._describeElementHTML("fallback",l,i),p===this.LABEL&&(this.descriptions.labelElements||(this.descriptions.labelElements={}),this.descriptions.labelElements[l]?this.descriptions.labelElements[l].innerHTML!==i&&(this.descriptions.labelElements[l].innerHTML=i):this._describeElementHTML("label",l,i)))},c.default.prototype._describeHTML=function(l,d){var p,o=this.canvas.id;l==="fallback"?(this.dummyDOM.querySelector("#".concat(o+m))?this.dummyDOM.querySelector("#"+o+h).insertAdjacentHTML("beforebegin",'

')):(p='

'),this.dummyDOM.querySelector("#".concat(o,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(o,"accessibleOutput")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#".concat(o)).innerHTML=p),this.descriptions.fallback=this.dummyDOM.querySelector("#".concat(o).concat(a)),this.descriptions.fallback.innerHTML=d):l==="label"&&(this.dummyDOM.querySelector("#".concat(o+b))?this.dummyDOM.querySelector("#".concat(o+s))&&this.dummyDOM.querySelector("#".concat(o+s)).insertAdjacentHTML("beforebegin",'

')):(p='

'),this.dummyDOM.querySelector("#".concat(o,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(o,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#"+o).insertAdjacentHTML("afterend",p)),this.descriptions.label=this.dummyDOM.querySelector("#"+o+y),this.descriptions.label.innerHTML=d)},c.default.prototype._describeElementHTML=function(l,d,p){var o,i=this.canvas.id;l==="fallback"?(this.dummyDOM.querySelector("#".concat(i+m))?this.dummyDOM.querySelector("#"+i+h)||this.dummyDOM.querySelector("#"+i+a).insertAdjacentHTML("afterend",'
Canvas elements and their descriptions
')):(o='
Canvas elements and their descriptions
'),this.dummyDOM.querySelector("#".concat(i,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(i,"accessibleOutput")).insertAdjacentHTML("beforebegin",o):this.dummyDOM.querySelector("#"+i).innerHTML=o),(o=document.createElement("tr")).id=i+"_fte_"+d,this.dummyDOM.querySelector("#"+i+h).appendChild(o),this.descriptions.fallbackElements[d]=this.dummyDOM.querySelector("#".concat(i).concat("_fte_").concat(d)),this.descriptions.fallbackElements[d].innerHTML=p):l==="label"&&(this.dummyDOM.querySelector("#".concat(i+b))?this.dummyDOM.querySelector("#".concat(i+s))||this.dummyDOM.querySelector("#"+i+y).insertAdjacentHTML("afterend",'
')):(o='
'),this.dummyDOM.querySelector("#".concat(i,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(i,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",o):this.dummyDOM.querySelector("#"+i).insertAdjacentHTML("afterend",o)),(l=document.createElement("tr")).id=i+"_lte_"+d,this.dummyDOM.querySelector("#"+i+s).appendChild(l),this.descriptions.labelElements[d]=this.dummyDOM.querySelector("#".concat(i).concat("_lte_").concat(d)),this.descriptions.labelElements[d].innerHTML=p)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.ends-with":195,"core-js/modules/es.string.replace":201}],261:[function(t,w,x){t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.map"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.map"),t("core-js/modules/es.string.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.prototype._updateGridOutput=function(c){var m,a,h,b;this.dummyDOM.querySelector("#".concat(c,"_summary"))&&(m=this._accessibleOutputs[c],h=function(y,s,u,l){return s="".concat(s," canvas, ").concat(u," by ").concat(l," pixels, contains ").concat(y[0]),s=(y[0]===1?"".concat(s," shape: "):"".concat(s," shapes: ")).concat(y[1]),s}((a=function(y,s){var u,l="",d="",p=0;for(u in s){var o,i=0;for(o in s[u]){var f='
  • ').concat(s[u][o].color," ").concat(u,",");u==="line"?f+=" location = ".concat(s[u][o].pos,", length = ").concat(s[u][o].length," pixels"):(f+=" location = ".concat(s[u][o].pos),u!=="point"&&(f+=", area = ".concat(s[u][o].area," %")),f+="
  • "),l+=f,i++,p++}d=1').concat(s[u][i].color," ").concat(u,"
    "):'').concat(s[u][i].color," ").concat(u," midpoint"),o[s[u][i].loc.locY][s[u][i].loc.locX]?o[s[u][i].loc.locY][s[u][i].loc.locX]=o[s[u][i].loc.locY][s[u][i].loc.locX]+" "+f:o[s[u][i].loc.locY][s[u][i].loc.locX]=f,d++}for(l in o){var g,j="";for(g in o[l])j+="",o[l][g]!==void 0&&(j+=o[l][g]),j+="";p=p+j+""}return p}(c,this.ingredients.shapes),h!==m.summary.innerHTML&&(m.summary.innerHTML=h),b!==m.map.innerHTML&&(m.map.innerHTML=b),a.details!==m.shapeDetails.innerHTML&&(m.shapeDetails.innerHTML=a.details),this._accessibleOutputs[c]=m)},t=t.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.from":161,"core-js/modules/es.array.map":167,"core-js/modules/es.string.iterator":197}],262:[function(t,w,x){t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.fill"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.map"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.fill"),t("core-js/modules/es.array.map"),t("core-js/modules/es.number.to-fixed"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var c=(t=t("../core/main"))&&t.__esModule?t:{default:t};function m(h){return function(b){if(Array.isArray(b)){for(var y=0,s=new Array(b.length);y')):this.dummyDOM.querySelector("#".concat(l)).innerHTML='
    '))):b==="Label"&&(y=l+h+(d=b),this.dummyDOM.querySelector("#".concat(s=l+"accessibleOutput"+b))||(this.dummyDOM.querySelector("#".concat(l,"_Label"))?this.dummyDOM.querySelector("#".concat(l,"_Label")):this.dummyDOM.querySelector("#".concat(l))).insertAdjacentHTML("afterend",'
    '))),this._accessibleOutputs[y]={},h==="textOutput"?(d="#".concat(l,"gridOutput").concat(d),u='
    Text Output

      '),this.dummyDOM.querySelector(d)?this.dummyDOM.querySelector(d).insertAdjacentHTML("beforebegin",u):this.dummyDOM.querySelector("#".concat(s)).innerHTML=u,this._accessibleOutputs[y].list=this.dummyDOM.querySelector("#".concat(y,"_list"))):h==="gridOutput"&&(d="#".concat(l,"textOutput").concat(d),u='
      Grid Output

        '),this.dummyDOM.querySelector(d)?this.dummyDOM.querySelector(d).insertAdjacentHTML("afterend",u):this.dummyDOM.querySelector("#".concat(s)).innerHTML=u,this._accessibleOutputs[y].map=this.dummyDOM.querySelector("#".concat(y,"_map"))),this._accessibleOutputs[y].shapeDetails=this.dummyDOM.querySelector("#".concat(y,"_shapeDetails")),this._accessibleOutputs[y].summary=this.dummyDOM.querySelector("#".concat(y,"_summary"))},c.default.prototype._updateAccsOutput=function(){var h=this.canvas.id;JSON.stringify(this.ingredients.shapes)===this.ingredients.pShapes&&this.ingredients.colors.background===this.ingredients.pBackground||(this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this._accessibleOutputs.text&&this._updateTextOutput(h+"textOutput"),this._accessibleOutputs.grid&&this._updateGridOutput(h+"gridOutput"),this._accessibleOutputs.textLabel&&this._updateTextOutput(h+"textOutputLabel"),this._accessibleOutputs.gridLabel&&this._updateGridOutput(h+"gridOutputLabel"))},c.default.prototype._accsBackground=function(h){this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this.ingredients.pBackground=this.ingredients.colors.background,this.ingredients.shapes={},this.ingredients.colors.backgroundRGBA!==h&&(this.ingredients.colors.backgroundRGBA=h,this.ingredients.colors.background=this._rgbColorName(h))},c.default.prototype._accsCanvasColors=function(h,b){h==="fill"?this.ingredients.colors.fillRGBA!==b&&(this.ingredients.colors.fillRGBA=b,this.ingredients.colors.fill=this._rgbColorName(b)):h==="stroke"&&this.ingredients.colors.strokeRGBA!==b&&(this.ingredients.colors.strokeRGBA=b,this.ingredients.colors.stroke=this._rgbColorName(b))},c.default.prototype._accsOutput=function(h,b){h==="ellipse"&&b[2]===b[3]?h="circle":h==="rectangle"&&b[2]===b[3]&&(h="square");var y,s,u={},l=!0,d=function(o,i){var f;return o=o==="rectangle"||o==="ellipse"||o==="arc"||o==="circle"||o==="square"?(f=Math.round(i[0]+i[2]/2),Math.round(i[1]+i[3]/2)):o==="triangle"?(f=(i[0]+i[2]+i[4])/3,(i[1]+i[3]+i[5])/3):o==="quadrilateral"?(f=(i[0]+i[2]+i[4]+i[6])/4,(i[1]+i[3]+i[5]+i[7])/4):o==="line"?(f=(i[0]+i[2])/2,(i[1]+i[3])/2):(f=i[0],i[1]),[f,o]}(h,b);if(h==="line"?(u.color=this.ingredients.colors.stroke,u.length=Math.round(this.dist(b[0],b[1],b[2],b[3])),y=this._getPos(b[0],[1]),s=this._getPos(b[2],[3]),u.loc=a(d,this.width,this.height),u.pos=y===s?"at ".concat(y):"from ".concat(y," to ").concat(s)):(h==="point"?u.color=this.ingredients.colors.stroke:(u.color=this.ingredients.colors.fill,u.area=this._getArea(h,b)),u.pos=this._getPos.apply(this,m(d)),u.loc=a(d,this.width,this.height)),this.ingredients.shapes[h]){if(this.ingredients.shapes[h]!==[u]){for(var p in this.ingredients.shapes[h])JSON.stringify(this.ingredients.shapes[h][p])===JSON.stringify(u)&&(l=!1);l===!0&&this.ingredients.shapes[h].push(u)}}else this.ingredients.shapes[h]=[u]},c.default.prototype._getPos=function(s,y){var s=new DOMPointReadOnly(s,y),y=this._renderer.isP3D?new DOMMatrix(this._renderer.uMVMatrix.mat4):this.drawingContext.getTransform(),s=s.matrixTransform(y),y=s.x,s=s.y,u=this.width*this._pixelDensity,l=this.height*this._pixelDensity;return y<.4*u?s<.4*l?"top left":.6*lMath.PI?u+=s:u-=s)):h==="ellipse"||h==="circle"?u=3.14*b[2]/2*b[3]/2:h==="line"||h==="point"?u=0:h==="quadrilateral"?u=Math.abs((b[6]+b[0])*(b[7]-b[1])+(b[0]+b[2])*(b[1]-b[3])+(b[2]+b[4])*(b[3]-b[5])+(b[4]+b[6])*(b[5]-b[7]))/2:h==="rectangle"||h==="square"?u=b[2]*b[3]:h==="triangle"&&(u=Math.abs(b[0]*(b[3]-b[5])+b[2]*(b[5]-b[1])+b[4]*(b[1]-b[3]))/2),this.width*this._pixelDensity),d=this.height*this._pixelDensity,p=[new DOMPoint(0,0),new DOMPoint(l,0),new DOMPoint(l,d),new DOMPoint(0,d)],o=(this._renderer.isP3D?new DOMMatrix(this._renderer.uMVMatrix.mat4):this.drawingContext.getTransform()).inverse(),i=p.map(function(g){return g.matrixTransform(o)}),f=Math.abs((i[3].x+i[0].x)*(i[3].y-i[0].y)+(i[0].x+i[1].x)*(i[0].y-i[1].y)+(i[1].x+i[2].x)*(i[1].y-i[2].y)+(i[2].x+i[3].x)*(i[2].y-i[3].y))/2;return Math.round(100*u/f)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.fill":155,"core-js/modules/es.array.from":161,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.map":167,"core-js/modules/es.number.to-fixed":180,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/web.dom-collections.iterator":243}],263:[function(t,w,x){t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.concat"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.prototype._updateTextOutput=function(c){var m,a,h,b;this.dummyDOM.querySelector("#".concat(c,"_summary"))&&(m=this._accessibleOutputs[c],h=function(y,s,u,l){return u="Your output is a, ".concat(u," by ").concat(l," pixels, ").concat(s," canvas containing the following"),u=y===1?"".concat(u," shape:"):"".concat(u," ").concat(y," shapes:"),u}((a=function(y,s){var u,l="",d=0;for(u in s)for(var p in s[u]){var o='
      • ').concat(s[u][p].color," ").concat(u,"");u==="line"?o+=", ".concat(s[u][p].pos,", ").concat(s[u][p].length," pixels long.
      • "):(o+=", at ".concat(s[u][p].pos),u!=="point"&&(o+=", covering ".concat(s[u][p].area,"% of the canvas")),o+="."),l+=o,d++}return{numShapes:d,listShapes:l}}(c,this.ingredients.shapes)).numShapes,this.ingredients.colors.background,this.width,this.height),b=function(y,s){var u,l="",d=0;for(u in s)for(var p in s[u]){var o='').concat(s[u][p].color," ").concat(u,"");u==="line"?o+="location = ".concat(s[u][p].pos,"length = ").concat(s[u][p].length," pixels"):(o+="location = ".concat(s[u][p].pos,""),u!=="point"&&(o+=" area = ".concat(s[u][p].area,"%")),o+=""),l+=o,d++}return l}(c,this.ingredients.shapes),h!==m.summary.innerHTML&&(m.summary.innerHTML=h),a.listShapes!==m.list.innerHTML&&(m.list.innerHTML=a.listShapes),b!==m.shapeDetails.innerHTML&&(m.shapeDetails.innerHTML=b),this._accessibleOutputs[c]=m)},t=t.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152}],264:[function(t,w,x){var c=(c=t("./core/main"))&&c.__esModule?c:{default:c};t("./core/constants"),t("./core/environment"),t("./core/friendly_errors/stacktrace"),t("./core/friendly_errors/validate_params"),t("./core/friendly_errors/file_errors"),t("./core/friendly_errors/fes_core"),t("./core/friendly_errors/sketch_reader"),t("./core/helpers"),t("./core/legacy"),t("./core/preload"),t("./core/p5.Element"),t("./core/p5.Graphics"),t("./core/p5.Renderer"),t("./core/p5.Renderer2D"),t("./core/rendering"),t("./core/shim"),t("./core/structure"),t("./core/transform"),t("./core/shape/2d_primitives"),t("./core/shape/attributes"),t("./core/shape/curves"),t("./core/shape/vertex"),t("./accessibility/outputs"),t("./accessibility/textOutput"),t("./accessibility/gridOutput"),t("./accessibility/color_namer"),t("./color/color_conversion"),t("./color/creating_reading"),t("./color/p5.Color"),t("./color/setting"),t("./data/p5.TypedDict"),t("./data/local_storage.js"),t("./dom/dom"),t("./accessibility/describe"),t("./events/acceleration"),t("./events/keyboard"),t("./events/mouse"),t("./events/touch"),t("./image/filters"),t("./image/image"),t("./image/loading_displaying"),t("./image/p5.Image"),t("./image/pixels"),t("./io/files"),t("./io/p5.Table"),t("./io/p5.TableRow"),t("./io/p5.XML"),t("./math/calculation"),t("./math/math"),t("./math/noise"),t("./math/p5.Vector"),t("./math/random"),t("./math/trigonometry"),t("./typography/attributes"),t("./typography/loading_displaying"),t("./typography/p5.Font"),t("./utilities/array_functions"),t("./utilities/conversion"),t("./utilities/string_functions"),t("./utilities/time_date"),t("./webgl/3d_primitives"),t("./webgl/interaction"),t("./webgl/light"),t("./webgl/loading"),t("./webgl/material"),t("./webgl/p5.Camera"),t("./webgl/p5.DataArray"),t("./webgl/p5.Geometry"),t("./webgl/p5.Matrix"),t("./webgl/p5.RendererGL.Immediate"),t("./webgl/p5.RendererGL"),t("./webgl/p5.RendererGL.Retained"),t("./webgl/p5.Framebuffer"),t("./webgl/p5.Shader"),t("./webgl/p5.RenderBuffer"),t("./webgl/p5.Texture"),t("./webgl/text"),t("./core/init"),w.exports=c.default},{"./accessibility/color_namer":259,"./accessibility/describe":260,"./accessibility/gridOutput":261,"./accessibility/outputs":262,"./accessibility/textOutput":263,"./color/color_conversion":265,"./color/creating_reading":266,"./color/p5.Color":267,"./color/setting":268,"./core/constants":269,"./core/environment":270,"./core/friendly_errors/fes_core":271,"./core/friendly_errors/file_errors":272,"./core/friendly_errors/sketch_reader":273,"./core/friendly_errors/stacktrace":274,"./core/friendly_errors/validate_params":275,"./core/helpers":276,"./core/init":277,"./core/legacy":279,"./core/main":280,"./core/p5.Element":281,"./core/p5.Graphics":282,"./core/p5.Renderer":283,"./core/p5.Renderer2D":284,"./core/preload":285,"./core/rendering":286,"./core/shape/2d_primitives":287,"./core/shape/attributes":288,"./core/shape/curves":289,"./core/shape/vertex":290,"./core/shim":291,"./core/structure":292,"./core/transform":293,"./data/local_storage.js":294,"./data/p5.TypedDict":295,"./dom/dom":296,"./events/acceleration":297,"./events/keyboard":298,"./events/mouse":299,"./events/touch":300,"./image/filters":301,"./image/image":302,"./image/loading_displaying":303,"./image/p5.Image":304,"./image/pixels":305,"./io/files":306,"./io/p5.Table":307,"./io/p5.TableRow":308,"./io/p5.XML":309,"./math/calculation":310,"./math/math":311,"./math/noise":312,"./math/p5.Vector":313,"./math/random":314,"./math/trigonometry":315,"./typography/attributes":316,"./typography/loading_displaying":317,"./typography/p5.Font":318,"./utilities/array_functions":319,"./utilities/conversion":320,"./utilities/string_functions":321,"./utilities/time_date":322,"./webgl/3d_primitives":323,"./webgl/interaction":325,"./webgl/light":326,"./webgl/loading":327,"./webgl/material":328,"./webgl/p5.Camera":329,"./webgl/p5.DataArray":330,"./webgl/p5.Framebuffer":331,"./webgl/p5.Geometry":332,"./webgl/p5.Matrix":333,"./webgl/p5.RenderBuffer":334,"./webgl/p5.RendererGL":337,"./webgl/p5.RendererGL.Immediate":335,"./webgl/p5.RendererGL.Retained":336,"./webgl/p5.Shader":338,"./webgl/p5.Texture":339,"./webgl/text":340}],265:[function(t,w,x){Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.ColorConversion={_hsbaToHSLA:function(c){var m=c[0],a=c[1],h=c[2],b=(2-a)*h/2;return b!=0&&(b==1?a=0:b<.5?a/=2-a:a=a*h/(2-2*b)),[m,a,b,c[3]]},_hsbaToRGBA:function(c){var m,a,h,b,y,s=6*c[0],u=c[1],l=c[2];return u===0?[l,l,l,c[3]]:(a=l*(1-u),h=l*(1-u*(s-(m=Math.floor(s)))),u=l*(1-u*(1+m-s)),s=m===1?(b=h,y=l,a):m===2?(b=a,y=l,u):m===3?(b=a,y=h,l):m===4?(b=u,y=a,l):m===5?(b=l,y=a,h):(b=l,y=u,a),[b,y,s,c[3]])},_hslaToHSBA:function(c){var m=c[0],a=c[1],h=c[2],b=h<.5?(1+a)*h:h+a-h*a;return[m,a=2*(b-h)/b,b,c[3]]},_hslaToRGBA:function(c){var m,a=6*c[0],h=c[1],b=c[2];return h===0?[b,b,b,c[3]]:[(m=function(y,s,u){return y<0?y+=6:6<=y&&(y-=6),y<1?s+(u-s)*y:y<3?u:y<4?s+(u-s)*(4-y):s})(2+a,h=2*b-(b=b<.5?(1+h)*b:b+h-b*h),b),m(a,h,b),m(a-2,h,b),c[3]]},_rgbaToHSBA:function(c){var m,a,h=c[0],b=c[1],y=c[2],s=Math.max(h,b,y),u=s-Math.min(h,b,y);return u==0?a=m=0:(a=u/s,h===s?m=(b-y)/u:b===s?m=2+(y-h)/u:y===s&&(m=4+(h-b)/u),m<0?m+=6:6<=m&&(m-=6)),[m/6,a,s,c[3]]},_rgbaToHSLA:function(c){var m,a,h=c[0],b=c[1],y=c[2],s=Math.max(h,b,y),l=Math.min(h,b,y),u=s+l,l=s-l;return l==0?a=m=0:(a=u<1?l/u:l/(2-u),h===s?m=(b-y)/l:b===s?m=2+(y-h)/l:y===s&&(m=4+(h-b)/l),m<0?m+=6:6<=m&&(m-=6)),[m/6,a,u/2,c[3]]}},t=t.default.ColorConversion,x.default=t},{"../core/main":280}],266:[function(t,w,x){function c(s){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}function m(s){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(u){return c(u)}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":c(u)})(s)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.map"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.map"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=(y=t("../core/main"))&&y.__esModule?y:{default:y},h=function(s){if(s&&s.__esModule)return s;if(s===null||m(s)!=="object"&&typeof s!="function")return{default:s};var u=b();if(u&&u.has(s))return u.get(s);var l,d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(l in s){var o;Object.prototype.hasOwnProperty.call(s,l)&&((o=p?Object.getOwnPropertyDescriptor(s,l):null)&&(o.get||o.set)?Object.defineProperty(d,l,o):d[l]=s[l])}return d.default=s,u&&u.set(s,d),d}(t("../core/constants"));function b(){var s;return typeof WeakMap!="function"?null:(s=new WeakMap,b=function(){return s},s)}t("./p5.Color"),t("../core/friendly_errors/validate_params"),t("../core/friendly_errors/file_errors"),t("../core/friendly_errors/fes_core"),a.default.prototype.alpha=function(s){return a.default._validateParameters("alpha",arguments),this.color(s)._getAlpha()},a.default.prototype.blue=function(s){return a.default._validateParameters("blue",arguments),this.color(s)._getBlue()},a.default.prototype.brightness=function(s){return a.default._validateParameters("brightness",arguments),this.color(s)._getBrightness()},a.default.prototype.color=function(){for(var s,u=arguments.length,l=new Array(u),d=0;do[0]?o[0]+=1:p[0]+=1),1<=(d=this.lerp(p[0],o[0],l))&&--d),s=this.lerp(p[1],o[1],l),u=this.lerp(p[2],o[2],l),p=this.lerp(p[3],o[3],l),d*=f[i][0],s*=f[i][1],u*=f[i][2],p*=f[i][3],this.color(d,s,u,p)},a.default.prototype.lightness=function(s){return a.default._validateParameters("lightness",arguments),this.color(s)._getLightness()},a.default.prototype.red=function(s){return a.default._validateParameters("red",arguments),this.color(s)._getRed()},a.default.prototype.saturation=function(s){return a.default._validateParameters("saturation",arguments),this.color(s)._getSaturation()};var y=a.default;x.default=y},{"../core/constants":269,"../core/friendly_errors/fes_core":271,"../core/friendly_errors/file_errors":272,"../core/friendly_errors/validate_params":275,"../core/main":280,"./p5.Color":267,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.map":167,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],267:[function(d,w,x){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j})(g)}function m(g){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(j){return c(j)}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":c(j)})(g)}d("core-js/modules/es.symbol"),d("core-js/modules/es.symbol.description"),d("core-js/modules/es.symbol.iterator"),d("core-js/modules/es.array.includes"),d("core-js/modules/es.array.iterator"),d("core-js/modules/es.array.join"),d("core-js/modules/es.array.map"),d("core-js/modules/es.array.slice"),d("core-js/modules/es.object.get-own-property-descriptor"),d("core-js/modules/es.object.to-string"),d("core-js/modules/es.regexp.constructor"),d("core-js/modules/es.regexp.exec"),d("core-js/modules/es.regexp.to-string"),d("core-js/modules/es.string.includes"),d("core-js/modules/es.string.iterator"),d("core-js/modules/es.string.trim"),d("core-js/modules/es.weak-map"),d("core-js/modules/web.dom-collections.iterator"),d("core-js/modules/es.array.includes"),d("core-js/modules/es.array.join"),d("core-js/modules/es.array.map"),d("core-js/modules/es.array.slice"),d("core-js/modules/es.object.to-string"),d("core-js/modules/es.regexp.constructor"),d("core-js/modules/es.regexp.exec"),d("core-js/modules/es.regexp.to-string"),d("core-js/modules/es.string.includes"),d("core-js/modules/es.string.trim"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=s(d("../core/main")),h=function(g){if(g&&g.__esModule)return g;if(g===null||m(g)!=="object"&&typeof g!="function")return{default:g};var j=y();if(j&&j.has(g))return j.get(g);var M,k={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(M in g){var P;Object.prototype.hasOwnProperty.call(g,M)&&((P=T?Object.getOwnPropertyDescriptor(g,M):null)&&(P.get||P.set)?Object.defineProperty(k,M,P):k[M]=g[M])}return k.default=g,j&&j.set(g,k),k}(d("../core/constants")),b=s(d("./color_conversion"));function y(){var g;return typeof WeakMap!="function"?null:(g=new WeakMap,y=function(){return g},g)}function s(g){return g&&g.__esModule?g:{default:g}}function u(g,j){for(var M=0;M<\/script>",r=r.removeChild(r.firstChild)):typeof t.is=="string"?r=c.createElement(_,{is:t.is}):(r=c.createElement(_),_==="select"&&(c=r,t.multiple?c.multiple=!0:t.size&&(c.size=t.size))):r=c.createElementNS(r,_),r[Jr]=n,r[vs]=t,dh(r,n,!1,!1),n.stateNode=r;e:{switch(c=Wa(_,t),_){case"dialog":Ct("cancel",r),Ct("close",r),w=t;break;case"iframe":case"object":case"embed":Ct("load",r),w=t;break;case"video":case"audio":for(w=0;wMo&&(n.flags|=128,t=!0,Xo(x,!1),n.lanes=4194304)}else{if(!t)if(r=Ci(c),r!==null){if(n.flags|=128,t=!0,_=r.updateQueue,_!==null&&(n.updateQueue=_,n.flags|=4),Xo(x,!0),x.tail===null&&x.tailMode==="hidden"&&!c.alternate&&!Pt)return fr(n),null}else 2*Bt()-x.renderingStartTime>Mo&&_!==1073741824&&(n.flags|=128,t=!0,Xo(x,!1),n.lanes=4194304);x.isBackwards?(c.sibling=n.child,n.child=c):(_=x.last,_!==null?_.sibling=c:n.child=c,x.last=c)}return x.tail!==null?(n=x.tail,x.rendering=n,x.tail=n.sibling,x.renderingStartTime=Bt(),n.sibling=null,_=At.current,Et(At,t?_&1|2:_&1),n):(fr(n),null);case 22:case 23:return gu(),t=n.memoizedState!==null,r!==null&&r.memoizedState!==null!==t&&(n.flags|=8192),t&&n.mode&1?Er&1073741824&&(fr(n),n.subtreeFlags&6&&(n.flags|=8192)):fr(n),null;case 24:return null;case 25:return null}throw Error(Be(156,n.tag))}function ly(r,n){switch($l(n),n.tag){case 1:return wr(n.type)&&wi(),r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 3:return ko(),Ot(_r),Ot(pr),iu(),r=n.flags,r&65536&&!(r&128)?(n.flags=r&-65537|128,n):null;case 5:return su(n),null;case 13:if(Ot(At),r=n.memoizedState,r!==null&&r.dehydrated!==null){if(n.alternate===null)throw Error(Be(340));So()}return r=n.flags,r&65536?(n.flags=r&-65537|128,n):null;case 19:return Ot(At),null;case 4:return ko(),null;case 10:return tu(n.type._context),null;case 22:case 23:return gu(),null;case 24:return null;default:return null}}var $s=!1,hr=!1,uy=typeof WeakSet=="function"?WeakSet:Set,Ke=null;function po(r,n){var _=r.ref;if(_!==null)if(typeof _=="function")try{_(null)}catch(t){Ft(r,n,t)}else _.current=null}function vl(r,n,_){try{_()}catch(t){Ft(r,n,t)}}var sd=!1;function cy(r,n){if(tl=vi,r=vf(),Zl(r)){if("selectionStart"in r)var _={start:r.selectionStart,end:r.selectionEnd};else e:{_=(_=r.ownerDocument)&&_.defaultView||window;var t=_.getSelection&&_.getSelection();if(t&&t.rangeCount!==0){_=t.anchorNode;var w=t.anchorOffset,x=t.focusNode;t=t.focusOffset;try{_.nodeType,x.nodeType}catch{_=null;break e}var c=0,m=-1,a=-1,h=0,b=0,y=r,s=null;t:for(;;){for(var u;y!==_||w!==0&&y.nodeType!==3||(m=c+w),y!==x||t!==0&&y.nodeType!==3||(a=c+t),y.nodeType===3&&(c+=y.nodeValue.length),(u=y.firstChild)!==null;)s=y,y=u;for(;;){if(y===r)break t;if(s===_&&++h===w&&(m=c),s===x&&++b===t&&(a=c),(u=y.nextSibling)!==null)break;y=s,s=y.parentNode}y=u}_=m===-1||a===-1?null:{start:m,end:a}}else _=null}_=_||{start:0,end:0}}else _=null;for(rl={focusedElem:r,selectionRange:_},vi=!1,Ke=n;Ke!==null;)if(n=Ke,r=n.child,(n.subtreeFlags&1028)!==0&&r!==null)r.return=n,Ke=r;else for(;Ke!==null;){n=Ke;try{var l=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(l!==null){var d=l.memoizedProps,p=l.memoizedState,o=n.stateNode,i=o.getSnapshotBeforeUpdate(n.elementType===n.type?d:Gr(n.type,d),p);o.__reactInternalSnapshotBeforeUpdate=i}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Be(163))}}catch(g){Ft(n,n.return,g)}if(r=n.sibling,r!==null){r.return=n.return,Ke=r;break}Ke=n.return}return l=sd,sd=!1,l}function ss(r,n,_){var t=n.updateQueue;if(t=t!==null?t.lastEffect:null,t!==null){var w=t=t.next;do{if((w.tag&r)===r){var x=w.destroy;w.destroy=void 0,x!==void 0&&vl(n,_,x)}w=w.next}while(w!==t)}}function Xi(r,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var _=n=n.next;do{if((_.tag&r)===r){var t=_.create;_.destroy=t()}_=_.next}while(_!==n)}}function bl(r){var n=r.ref;if(n!==null){var _=r.stateNode;switch(r.tag){case 5:r=_;break;default:r=_}typeof n=="function"?n(r):n.current=r}}function ph(r){var n=r.alternate;n!==null&&(r.alternate=null,ph(n)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(n=r.stateNode,n!==null&&(delete n[Jr],delete n[vs],delete n[sl],delete n[qm],delete n[Xm])),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}function mh(r){return r.tag===5||r.tag===3||r.tag===4}function id(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||mh(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function xl(r,n,_){var t=r.tag;if(t===5||t===6)r=r.stateNode,n?_.nodeType===8?_.parentNode.insertBefore(r,n):_.insertBefore(r,n):(_.nodeType===8?(n=_.parentNode,n.insertBefore(r,_)):(n=_,n.appendChild(r)),_=_._reactRootContainer,_!=null||n.onclick!==null||(n.onclick=_i));else if(t!==4&&(r=r.child,r!==null))for(xl(r,n,_),r=r.sibling;r!==null;)xl(r,n,_),r=r.sibling}function _l(r,n,_){var t=r.tag;if(t===5||t===6)r=r.stateNode,n?_.insertBefore(r,n):_.appendChild(r);else if(t!==4&&(r=r.child,r!==null))for(_l(r,n,_),r=r.sibling;r!==null;)_l(r,n,_),r=r.sibling}var or=null,zr=!1;function vn(r,n,_){for(_=_.child;_!==null;)yh(r,n,_),_=_.sibling}function yh(r,n,_){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(Ui,_)}catch{}switch(_.tag){case 5:hr||po(_,n);case 6:var t=or,w=zr;or=null,vn(r,n,_),or=t,zr=w,or!==null&&(zr?(r=or,_=_.stateNode,r.nodeType===8?r.parentNode.removeChild(_):r.removeChild(_)):or.removeChild(_.stateNode));break;case 18:or!==null&&(zr?(r=or,_=_.stateNode,r.nodeType===8?ja(r.parentNode,_):r.nodeType===1&&ja(r,_),hs(r)):ja(or,_.stateNode));break;case 4:t=or,w=zr,or=_.stateNode.containerInfo,zr=!0,vn(r,n,_),or=t,zr=w;break;case 0:case 11:case 14:case 15:if(!hr&&(t=_.updateQueue,t!==null&&(t=t.lastEffect,t!==null))){w=t=t.next;do{var x=w,c=x.destroy;x=x.tag,c!==void 0&&(x&2||x&4)&&vl(_,n,c),w=w.next}while(w!==t)}vn(r,n,_);break;case 1:if(!hr&&(po(_,n),t=_.stateNode,typeof t.componentWillUnmount=="function"))try{t.props=_.memoizedProps,t.state=_.memoizedState,t.componentWillUnmount()}catch(m){Ft(_,n,m)}vn(r,n,_);break;case 21:vn(r,n,_);break;case 22:_.mode&1?(hr=(t=hr)||_.memoizedState!==null,vn(r,n,_),hr=t):vn(r,n,_);break;default:vn(r,n,_)}}function ad(r){var n=r.updateQueue;if(n!==null){r.updateQueue=null;var _=r.stateNode;_===null&&(_=r.stateNode=new uy),n.forEach(function(t){var w=by.bind(null,r,t);_.has(t)||(_.add(t),t.then(w,w))})}}function Br(r,n){var _=n.deletions;if(_!==null)for(var t=0;t<_.length;t++){var w=_[t];try{var x=r,c=n,m=c;e:for(;m!==null;){switch(m.tag){case 5:or=m.stateNode,zr=!1;break e;case 3:or=m.stateNode.containerInfo,zr=!0;break e;case 4:or=m.stateNode.containerInfo,zr=!0;break e}m=m.return}if(or===null)throw Error(Be(160));yh(x,c,w),or=null,zr=!1;var a=w.alternate;a!==null&&(a.return=null),w.return=null}catch(h){Ft(w,n,h)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)gh(n,r),n=n.sibling}function gh(r,n){var _=r.alternate,t=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:if(Br(n,r),$r(r),t&4){try{ss(3,r,r.return),Xi(3,r)}catch(d){Ft(r,r.return,d)}try{ss(5,r,r.return)}catch(d){Ft(r,r.return,d)}}break;case 1:Br(n,r),$r(r),t&512&&_!==null&&po(_,_.return);break;case 5:if(Br(n,r),$r(r),t&512&&_!==null&&po(_,_.return),r.flags&32){var w=r.stateNode;try{us(w,"")}catch(d){Ft(r,r.return,d)}}if(t&4&&(w=r.stateNode,w!=null)){var x=r.memoizedProps,c=_!==null?_.memoizedProps:x,m=r.type,a=r.updateQueue;if(r.updateQueue=null,a!==null)try{m==="input"&&x.type==="radio"&&x.name!=null&&Fd(w,x),Wa(m,c);var h=Wa(m,x);for(c=0;cw&&(w=c),t&=~x}if(t=w,t=Bt()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*fy(t/1960))-t,10r?16:r,Sn===null)var t=!1;else{if(r=Sn,Sn=null,Ri=0,yt&6)throw Error(Be(331));var w=yt;for(yt|=4,Ke=r.current;Ke!==null;){var x=Ke,c=x.child;if(Ke.flags&16){var m=x.deletions;if(m!==null){for(var a=0;aBt()-mu?Vn(r,0):pu|=_),jr(r,n)}function Sh(r,n){n===0&&(r.mode&1?(n=zs,zs<<=1,!(zs&130023424)&&(zs=4194304)):n=1);var _=yr();r=fn(r,n),r!==null&&(ks(r,n,_),jr(r,_))}function vy(r){var n=r.memoizedState,_=0;n!==null&&(_=n.retryLane),Sh(r,_)}function by(r,n){var _=0;switch(r.tag){case 13:var t=r.stateNode,w=r.memoizedState;w!==null&&(_=w.retryLane);break;case 19:t=r.stateNode;break;default:throw Error(Be(314))}t!==null&&t.delete(n),Sh(r,_)}var Eh;Eh=function(r,n,_){if(r!==null)if(r.memoizedProps!==n.pendingProps||_r.current)xr=!0;else{if(!(r.lanes&_)&&!(n.flags&128))return xr=!1,iy(r,n,_);xr=!!(r.flags&131072)}else xr=!1,Pt&&n.flags&1048576&&Cf(n,Ei,n.index);switch(n.lanes=0,n.tag){case 2:var t=n.type;ui(r,n),r=n.pendingProps;var w=jo(n,pr.current);xo(n,_),w=lu(null,n,t,r,w,_);var x=uu();return n.flags|=1,typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,wr(t)?(x=!0,ji(n)):x=!1,n.memoizedState=w.state!==null&&w.state!==void 0?w.state:null,nu(n),w.updater=qi,n.stateNode=w,w._reactInternals=n,dl(n,t,r,_),n=pl(null,n,t,!0,x,_)):(n.tag=0,Pt&&x&&Ql(n),mr(null,n,w,_),n=n.child),n;case 16:t=n.elementType;e:{switch(ui(r,n),r=n.pendingProps,w=t._init,t=w(t._payload),n.type=t,w=n.tag=_y(t),r=Gr(t,r),w){case 0:n=hl(null,n,t,r,_);break e;case 1:n=rd(null,n,t,r,_);break e;case 11:n=ed(null,n,t,r,_);break e;case 14:n=td(null,n,t,Gr(t.type,r),_);break e}throw Error(Be(306,t,""))}return n;case 0:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),hl(r,n,t,w,_);case 1:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),rd(r,n,t,w,_);case 3:e:{if(lh(n),r===null)throw Error(Be(387));t=n.pendingProps,x=n.memoizedState,w=x.element,If(r,n),Mi(n,t,null,_);var c=n.memoizedState;if(t=c.element,x.isDehydrated)if(x={element:t,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},n.updateQueue.baseState=x,n.memoizedState=x,n.flags&256){w=To(Error(Be(423)),n),n=nd(r,n,t,_,w);break e}else if(t!==w){w=To(Error(Be(424)),n),n=nd(r,n,t,_,w);break e}else for(kr=Mn(n.stateNode.containerInfo.firstChild),Tr=n,Pt=!0,Vr=null,_=Af(n,null,t,_),n.child=_;_;)_.flags=_.flags&-3|4096,_=_.sibling;else{if(So(),t===w){n=hn(r,n,_);break e}mr(r,n,t,_)}n=n.child}return n;case 5:return Df(n),r===null&&ll(n),t=n.type,w=n.pendingProps,x=r!==null?r.memoizedProps:null,c=w.children,nl(t,w)?c=null:x!==null&&nl(t,x)&&(n.flags|=32),ah(r,n),mr(r,n,c,_),n.child;case 6:return r===null&&ll(n),null;case 13:return uh(r,n,_);case 4:return ou(n,n.stateNode.containerInfo),t=n.pendingProps,r===null?n.child=Eo(n,null,t,_):mr(r,n,t,_),n.child;case 11:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),ed(r,n,t,w,_);case 7:return mr(r,n,n.pendingProps,_),n.child;case 8:return mr(r,n,n.pendingProps.children,_),n.child;case 12:return mr(r,n,n.pendingProps.children,_),n.child;case 10:e:{if(t=n.type._context,w=n.pendingProps,x=n.memoizedProps,c=w.value,Et(ki,t._currentValue),t._currentValue=c,x!==null)if(qr(x.value,c)){if(x.children===w.children&&!_r.current){n=hn(r,n,_);break e}}else for(x=n.child,x!==null&&(x.return=n);x!==null;){var m=x.dependencies;if(m!==null){c=x.child;for(var a=m.firstContext;a!==null;){if(a.context===t){if(x.tag===1){a=un(-1,_&-_),a.tag=2;var h=x.updateQueue;if(h!==null){h=h.shared;var b=h.pending;b===null?a.next=a:(a.next=b.next,b.next=a),h.pending=a}}x.lanes|=_,a=x.alternate,a!==null&&(a.lanes|=_),ul(x.return,_,n),m.lanes|=_;break}a=a.next}}else if(x.tag===10)c=x.type===n.type?null:x.child;else if(x.tag===18){if(c=x.return,c===null)throw Error(Be(341));c.lanes|=_,m=c.alternate,m!==null&&(m.lanes|=_),ul(c,_,n),c=x.sibling}else c=x.child;if(c!==null)c.return=x;else for(c=x;c!==null;){if(c===n){c=null;break}if(x=c.sibling,x!==null){x.return=c.return,c=x;break}c=c.return}x=c}mr(r,n,w.children,_),n=n.child}return n;case 9:return w=n.type,t=n.pendingProps.children,xo(n,_),w=Ir(w),t=t(w),n.flags|=1,mr(r,n,t,_),n.child;case 14:return t=n.type,w=Gr(t,n.pendingProps),w=Gr(t.type,w),td(r,n,t,w,_);case 15:return sh(r,n,n.type,n.pendingProps,_);case 17:return t=n.type,w=n.pendingProps,w=n.elementType===t?w:Gr(t,w),ui(r,n),n.tag=1,wr(t)?(r=!0,ji(n)):r=!1,xo(n,_),rh(n,t,w),dl(n,t,w,_),pl(null,n,t,!0,r,_);case 19:return ch(r,n,_);case 22:return ih(r,n,_)}throw Error(Be(156,n.tag))};function kh(r,n){return Kd(r,n)}function xy(r,n,_,t){this.tag=r,this.key=_,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=t,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ar(r,n,_,t){return new xy(r,n,_,t)}function bu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function _y(r){if(typeof r=="function")return bu(r)?1:0;if(r!=null){if(r=r.$$typeof,r===Fl)return 11;if(r===Ul)return 14}return 2}function Ln(r,n){var _=r.alternate;return _===null?(_=Ar(r.tag,n,r.key,r.mode),_.elementType=r.elementType,_.type=r.type,_.stateNode=r.stateNode,_.alternate=r,r.alternate=_):(_.pendingProps=n,_.type=r.type,_.flags=0,_.subtreeFlags=0,_.deletions=null),_.flags=r.flags&14680064,_.childLanes=r.childLanes,_.lanes=r.lanes,_.child=r.child,_.memoizedProps=r.memoizedProps,_.memoizedState=r.memoizedState,_.updateQueue=r.updateQueue,n=r.dependencies,_.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},_.sibling=r.sibling,_.index=r.index,_.ref=r.ref,_}function fi(r,n,_,t,w,x){var c=2;if(t=r,typeof r=="function")bu(r)&&(c=1);else if(typeof r=="string")c=5;else e:switch(r){case oo:return Hn(_.children,w,x,n);case Nl:c=8,w|=8;break;case Ia:return r=Ar(12,_,n,w|2),r.elementType=Ia,r.lanes=x,r;case Da:return r=Ar(13,_,n,w),r.elementType=Da,r.lanes=x,r;case Na:return r=Ar(19,_,n,w),r.elementType=Na,r.lanes=x,r;case Id:return Zi(_,w,x,n);default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case Ad:c=10;break e;case Rd:c=9;break e;case Fl:c=11;break e;case Ul:c=14;break e;case bn:c=16,t=null;break e}throw Error(Be(130,r==null?r:typeof r,""))}return n=Ar(c,_,n,w),n.elementType=r,n.type=t,n.lanes=x,n}function Hn(r,n,_,t){return r=Ar(7,r,t,n),r.lanes=_,r}function Zi(r,n,_,t){return r=Ar(22,r,t,n),r.elementType=Id,r.lanes=_,r.stateNode={isHidden:!1},r}function Pa(r,n,_){return r=Ar(6,r,null,n),r.lanes=_,r}function La(r,n,_){return n=Ar(4,r.children!==null?r.children:[],r.key,n),n.lanes=_,n.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},n}function wy(r,n,_,t,w){this.tag=n,this.containerInfo=r,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=fa(0),this.expirationTimes=fa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fa(0),this.identifierPrefix=t,this.onRecoverableError=w,this.mutableSourceEagerHydrationData=null}function xu(r,n,_,t,w,x,c,m,a){return r=new wy(r,n,_,m,a),n===1?(n=1,x===!0&&(n|=8)):n=0,x=Ar(3,null,null,n),r.current=x,x.stateNode=r,x.memoizedState={element:t,isDehydrated:_,cache:null,transitions:null,pendingSuspenseBoundaries:null},nu(x),r}function jy(r,n,_){var t=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Oh)}catch(r){console.error(r)}}Oh(),Cd.exports=Cr;var My=Cd.exports,md=My;Aa.createRoot=md.createRoot,Aa.hydrateRoot=md.hydrateRoot;const Cy={Date:!0,RegExp:!0,String:!0,Number:!0};function Ph(r,n,_={cyclesFix:!0},t=[]){var m,a;let w=[];const x=Array.isArray(r);for(const h in r){const b=r[h],y=x?+h:h;if(!(h in n)){w.push({type:"REMOVE",path:[y],oldValue:r[h]});continue}const s=n[h],u=typeof b=="object"&&typeof s=="object"&&Array.isArray(b)===Array.isArray(s);if(b&&s&&u&&!Cy[(a=(m=Object.getPrototypeOf(b))==null?void 0:m.constructor)==null?void 0:a.name]&&(!_.cyclesFix||!t.includes(b))){const l=Ph(b,s,_,_.cyclesFix?t.concat([b]):[]);w.push.apply(w,l.map(d=>(d.path.unshift(y),d)))}else b!==s&&!(Number.isNaN(b)&&Number.isNaN(s))&&!(u&&(isNaN(b)?b+""==s+"":+b==+s))&&w.push({path:[y],type:"CHANGE",value:s,oldValue:b})}const c=Array.isArray(n);for(const h in n)h in r||w.push({type:"CREATE",path:[c?+h:h],value:n[h]});return w}function ei(r){throw new Error('Could not dynamically require "'+r+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Lh={exports:{}};/*! p5.js v1.9.4 May 21, 2024 */(function(r,n){(function(_){r.exports=_()})(function(){var _;return function t(w,x,c){function m(b,y){if(!x[b]){if(!w[b]){var s=typeof ei=="function"&&ei;if(!y&&s)return s(b,!0);if(a)return a(b,!0);throw(y=new Error("Cannot find module '"+b+"'")).code="MODULE_NOT_FOUND",y}s=x[b]={exports:{}},w[b][0].call(s.exports,function(u){return m(w[b][1][u]||u)},s,s.exports,t,w,x,c)}return x[b].exports}for(var a=typeof ei=="function"&&ei,h=0;h>16&255,i[f++]=l>>8&255,i[f++]=255&l;return o===2&&(l=m[u.charCodeAt(d)]<<2|m[u.charCodeAt(d+1)]>>4,i[f++]=255&l),o===1&&(l=m[u.charCodeAt(d)]<<10|m[u.charCodeAt(d+1)]<<4|m[u.charCodeAt(d+2)]>>2,i[f++]=l>>8&255,i[f++]=255&l),i},x.fromByteArray=function(u){for(var l,d=u.length,p=d%3,o=[],i=0,f=d-p;i>18&63]+c[R>>12&63]+c[R>>6&63]+c[63&R]}(E));return T.join("")}(u,i,f>2]+c[l<<4&63]+"==")):p==2&&(l=(u[d-2]<<8)+u[d-1],o.push(c[l>>10]+c[l>>4&63]+c[l<<2&63]+"=")),o.join("")};for(var c=[],m=[],a=typeof Uint8Array<"u"?Uint8Array:Array,h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",b=0,y=h.length;b>>1;case"base64":return V(k).length;default:if($)return W?-1:q(k).length;I=(""+I).toLowerCase(),$=!0}}function f(k,I,B){var W,$=!1;if((I=I===void 0||I<0?0:I)>this.length||(B=B===void 0||B>this.length?this.length:B)<=0||(B>>>=0)<=(I>>>=0))return"";for(k=k||"utf8";;)switch(k){case"hex":var te=this,ye=I,se=B,ce=te.length;(!se||se<0||ce=k.length){if($)return-1;B=k.length-1}else if(B<0){if(!$)return-1;B=0}if(typeof I=="string"&&(I=s.from(I,W)),s.isBuffer(I))return I.length===0?-1:M(k,I,B,W,$);if(typeof I=="number")return I&=255,typeof Uint8Array.prototype.indexOf=="function"?($?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(k,I,B):M(k,[I],B,W,$);throw new TypeError("val must be string, number or Buffer")}function M(k,I,B,W,$){var te=1,se=k.length,fe=I.length;if(W!==void 0&&((W=String(W).toLowerCase())==="ucs2"||W==="ucs-2"||W==="utf16le"||W==="utf-16le")){if(k.length<2||I.length<2)return-1;se/=te=2,fe/=2,B/=2}function ie(me,je){return te===1?me[je]:me.readUInt16BE(je*te)}if($)for(var de=-1,ce=B;ce>8,fe=fe%256,ie.push(fe),ie.push(se);return ie}(I,k.length-B),k,B,W)}function P(k,I,B){B=Math.min(k.length,B);for(var W=[],$=I;$>>10&1023|55296),ce=56320|1023&ce),W.push(ce),$+=ee}var ue=W,me=ue.length;if(me<=R)return String.fromCharCode.apply(String,ue);for(var je="",ye=0;ye"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),typeof Symbol<"u"&&Symbol.species!=null&&s[Symbol.species]===s&&Object.defineProperty(s,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),s.poolSize=8192,s.from=u,Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(k,I,B){return I=I,B=B,l(k=k),!(k<=0)&&I!==void 0?typeof B=="string"?y(k).fill(I,B):y(k).fill(I):y(k)},s.allocUnsafe=d,s.allocUnsafeSlow=d,s.isBuffer=function(k){return k!=null&&k._isBuffer===!0&&k!==s.prototype},s.compare=function(k,I){if(Y(k,Uint8Array)&&(k=s.from(k,k.offset,k.byteLength)),Y(I,Uint8Array)&&(I=s.from(I,I.offset,I.byteLength)),!s.isBuffer(k)||!s.isBuffer(I))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(k===I)return 0;for(var B=k.length,W=I.length,$=0,te=Math.min(B,W);$k&&(I+=" ... "),""},h&&(s.prototype[h]=s.prototype.inspect),s.prototype.compare=function(k,I,B,W,$){if(Y(k,Uint8Array)&&(k=s.from(k,k.offset,k.byteLength)),!s.isBuffer(k))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof k);if(B===void 0&&(B=k?k.length:0),W===void 0&&(W=0),$===void 0&&($=this.length),(I=I===void 0?0:I)<0||B>k.length||W<0||$>this.length)throw new RangeError("out of range index");if($<=W&&B<=I)return 0;if($<=W)return-1;if(B<=I)return 1;if(this===k)return 0;for(var te=($>>>=0)-(W>>>=0),se=(B>>>=0)-(I>>>=0),fe=Math.min(te,se),ie=this.slice(W,$),de=k.slice(I,B),ce=0;ce>>=0,isFinite(B)?(B>>>=0,W===void 0&&(W="utf8")):(W=B,B=void 0)}var $=this.length-I;if((B===void 0||$this.length)throw new RangeError("Attempt to write outside buffer bounds");W=W||"utf8";for(var te,se,fe,ie=!1;;)switch(W){case"hex":var de=this,ce=k,ee=I,ue=B,me=(ee=Number(ee)||0,de.length-ee);(!ue||me<(ue=Number(ue)))&&(ue=me),(me=ce.length)/2k.length)throw new RangeError("Index out of range")}function A(k,I,B,W){if(B+W>k.length)throw new RangeError("Index out of range");if(B<0)throw new RangeError("Index out of range")}function F(k,I,B,W,$){return I=+I,B>>>=0,$||A(k,0,B,4),a.write(k,I,B,W,23,4),B+4}function N(k,I,B,W,$){return I=+I,B>>>=0,$||A(k,0,B,8),a.write(k,I,B,W,52,8),B+8}s.prototype.slice=function(k,I){var B=this.length,B=((k=~~k)<0?(k+=B)<0&&(k=0):B>>=0,I>>>=0,B||C(k,I,this.length);for(var W=this[k],$=1,te=0;++te>>=0,I>>>=0,B||C(k,I,this.length);for(var W=this[k+--I],$=1;0>>=0,I||C(k,1,this.length),this[k]},s.prototype.readUInt16LE=function(k,I){return k>>>=0,I||C(k,2,this.length),this[k]|this[k+1]<<8},s.prototype.readUInt16BE=function(k,I){return k>>>=0,I||C(k,2,this.length),this[k]<<8|this[k+1]},s.prototype.readUInt32LE=function(k,I){return k>>>=0,I||C(k,4,this.length),(this[k]|this[k+1]<<8|this[k+2]<<16)+16777216*this[k+3]},s.prototype.readUInt32BE=function(k,I){return k>>>=0,I||C(k,4,this.length),16777216*this[k]+(this[k+1]<<16|this[k+2]<<8|this[k+3])},s.prototype.readIntLE=function(k,I,B){k>>>=0,I>>>=0,B||C(k,I,this.length);for(var W=this[k],$=1,te=0;++te>>=0,I>>>=0,B||C(k,I,this.length);for(var W=I,$=1,te=this[k+--W];0>>=0,I||C(k,1,this.length),128&this[k]?-1*(255-this[k]+1):this[k]},s.prototype.readInt16LE=function(k,I){return k>>>=0,I||C(k,2,this.length),I=this[k]|this[k+1]<<8,32768&I?4294901760|I:I},s.prototype.readInt16BE=function(k,I){return k>>>=0,I||C(k,2,this.length),I=this[k+1]|this[k]<<8,32768&I?4294901760|I:I},s.prototype.readInt32LE=function(k,I){return k>>>=0,I||C(k,4,this.length),this[k]|this[k+1]<<8|this[k+2]<<16|this[k+3]<<24},s.prototype.readInt32BE=function(k,I){return k>>>=0,I||C(k,4,this.length),this[k]<<24|this[k+1]<<16|this[k+2]<<8|this[k+3]},s.prototype.readFloatLE=function(k,I){return k>>>=0,I||C(k,4,this.length),a.read(this,k,!0,23,4)},s.prototype.readFloatBE=function(k,I){return k>>>=0,I||C(k,4,this.length),a.read(this,k,!1,23,4)},s.prototype.readDoubleLE=function(k,I){return k>>>=0,I||C(k,8,this.length),a.read(this,k,!0,52,8)},s.prototype.readDoubleBE=function(k,I){return k>>>=0,I||C(k,8,this.length),a.read(this,k,!1,52,8)},s.prototype.writeUIntLE=function(k,I,B,W){k=+k,I>>>=0,B>>>=0,W||D(this,k,I,B,Math.pow(2,8*B)-1,0);var $=1,te=0;for(this[I]=255&k;++te>>=0,B>>>=0,W||D(this,k,I,B,Math.pow(2,8*B)-1,0);var $=B-1,te=1;for(this[I+$]=255&k;0<=--$&&(te*=256);)this[I+$]=k/te&255;return I+B},s.prototype.writeUInt8=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,1,255,0),this[I]=255&k,I+1},s.prototype.writeUInt16LE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,2,65535,0),this[I]=255&k,this[I+1]=k>>>8,I+2},s.prototype.writeUInt16BE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,2,65535,0),this[I]=k>>>8,this[I+1]=255&k,I+2},s.prototype.writeUInt32LE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,4,4294967295,0),this[I+3]=k>>>24,this[I+2]=k>>>16,this[I+1]=k>>>8,this[I]=255&k,I+4},s.prototype.writeUInt32BE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,4,4294967295,0),this[I]=k>>>24,this[I+1]=k>>>16,this[I+2]=k>>>8,this[I+3]=255&k,I+4},s.prototype.writeIntLE=function(k,I,B,W){k=+k,I>>>=0,W||D(this,k,I,B,(W=Math.pow(2,8*B-1))-1,-W);var $=0,te=1,se=0;for(this[I]=255&k;++$>0)-se&255;return I+B},s.prototype.writeIntBE=function(k,I,B,W){k=+k,I>>>=0,W||D(this,k,I,B,(W=Math.pow(2,8*B-1))-1,-W);var $=B-1,te=1,se=0;for(this[I+$]=255&k;0<=--$&&(te*=256);)k<0&&se===0&&this[I+$+1]!==0&&(se=1),this[I+$]=(k/te>>0)-se&255;return I+B},s.prototype.writeInt8=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,1,127,-128),this[I]=255&(k=k<0?255+k+1:k),I+1},s.prototype.writeInt16LE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,2,32767,-32768),this[I]=255&k,this[I+1]=k>>>8,I+2},s.prototype.writeInt16BE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,2,32767,-32768),this[I]=k>>>8,this[I+1]=255&k,I+2},s.prototype.writeInt32LE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,4,2147483647,-2147483648),this[I]=255&k,this[I+1]=k>>>8,this[I+2]=k>>>16,this[I+3]=k>>>24,I+4},s.prototype.writeInt32BE=function(k,I,B){return k=+k,I>>>=0,B||D(this,k,I,4,2147483647,-2147483648),this[I]=(k=k<0?4294967295+k+1:k)>>>24,this[I+1]=k>>>16,this[I+2]=k>>>8,this[I+3]=255&k,I+4},s.prototype.writeFloatLE=function(k,I,B){return F(this,k,I,!0,B)},s.prototype.writeFloatBE=function(k,I,B){return F(this,k,I,!1,B)},s.prototype.writeDoubleLE=function(k,I,B){return N(this,k,I,!0,B)},s.prototype.writeDoubleBE=function(k,I,B){return N(this,k,I,!1,B)},s.prototype.copy=function(k,I,B,W){if(!s.isBuffer(k))throw new TypeError("argument should be a Buffer");if(B=B||0,W||W===0||(W=this.length),I>=k.length&&(I=k.length),(W=0=this.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("sourceEnd out of bounds");W>this.length&&(W=this.length);var $=(W=k.length-I>>=0,B=B===void 0?this.length:B>>>0,typeof(k=k||0)=="number")for(te=I;te>6|192,63&B|128)}else if(B<65536){if((I-=3)<0)break;te.push(B>>12|224,B>>6&63|128,63&B|128)}else{if(!(B<1114112))throw new Error("Invalid code point");if((I-=4)<0)break;te.push(B>>18|240,B>>12&63|128,B>>6&63|128,63&B|128)}}return te}function V(k){return m.toByteArray(function(I){if((I=(I=I.split("=")[0]).trim().replace(G,"")).length<2)return"";for(;I.length%4!=0;)I+="=";return I}(k))}function z(k,I,B,W){for(var $=0;$=I.length||$>=k.length);++$)I[$+B]=k[$];return $}function Y(k,I){return k instanceof I||k!=null&&k.constructor!=null&&k.constructor.name!=null&&k.constructor.name===I.name}function Q(k){return k!=k}var oe=function(){for(var k="0123456789abcdef",I=new Array(256),B=0;B<16;++B)for(var W=16*B,$=0;$<16;++$)I[W+$]=k[B]+k[$];return I}()}).call(this,t("buffer").Buffer)},{"base64-js":1,buffer:4,ieee754:251}],5:[function(t,w,x){w.exports=function(c){if(typeof c!="function")throw TypeError(String(c)+" is not a function");return c}},{}],6:[function(t,w,x){var c=t("../internals/is-object");w.exports=function(m){if(c(m)||m===null)return m;throw TypeError("Can't set "+String(m)+" as a prototype")}},{"../internals/is-object":75}],7:[function(a,w,x){var c=a("../internals/well-known-symbol"),m=a("../internals/object-create"),a=a("../internals/object-define-property"),h=c("unscopables"),b=Array.prototype;b[h]==null&&a.f(b,h,{configurable:!0,value:m(null)}),w.exports=function(y){b[h][y]=!0}},{"../internals/object-create":91,"../internals/object-define-property":93,"../internals/well-known-symbol":149}],8:[function(t,w,x){var c=t("../internals/string-multibyte").charAt;w.exports=function(m,a,h){return a+(h?c(m,a).length:1)}},{"../internals/string-multibyte":124}],9:[function(t,w,x){w.exports=function(c,m,a){if(c instanceof m)return c;throw TypeError("Incorrect "+(a?a+" ":"")+"invocation")}},{}],10:[function(t,w,x){var c=t("../internals/is-object");w.exports=function(m){if(c(m))return m;throw TypeError(String(m)+" is not an object")}},{"../internals/is-object":75}],11:[function(t,w,x){w.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},{}],12:[function(A,w,x){function c(N){return y(N)&&s(F,u(N))}var m,a=A("../internals/array-buffer-native"),h=A("../internals/descriptors"),b=A("../internals/global"),y=A("../internals/is-object"),s=A("../internals/has"),u=A("../internals/classof"),l=A("../internals/create-non-enumerable-property"),d=A("../internals/redefine"),p=A("../internals/object-define-property").f,o=A("../internals/object-get-prototype-of"),i=A("../internals/object-set-prototype-of"),R=A("../internals/well-known-symbol"),A=A("../internals/uid"),f=b.Int8Array,g=f&&f.prototype,j=b.Uint8ClampedArray,j=j&&j.prototype,M=f&&o(f),E=g&&o(g),T=Object.prototype,P=T.isPrototypeOf,R=R("toStringTag"),C=A("TYPED_ARRAY_TAG"),D=a&&!!i&&u(b.opera)!=="Opera",A=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8};for(m in F)b[m]||(D=!1);if((!D||typeof M!="function"||M===Function.prototype)&&(M=function(){throw TypeError("Incorrect invocation")},D))for(m in F)b[m]&&i(b[m],M);if((!D||!E||E===T)&&(E=M.prototype,D))for(m in F)b[m]&&i(b[m].prototype,E);if(D&&o(j)!==E&&i(j,E),h&&!s(E,R))for(m in A=!0,p(E,R,{get:function(){return y(this)?this[C]:void 0}}),F)b[m]&&l(b[m],C,m);w.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:A&&C,aTypedArray:function(N){if(c(N))return N;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(N){if(i){if(P.call(M,N))return N}else for(var G in F)if(s(F,m)&&(G=b[G],G&&(N===G||P.call(G,N))))return N;throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(N,G,q){if(h){if(q)for(var V in F)V=b[V],V&&s(V.prototype,N)&&delete V.prototype[N];E[N]&&!q||d(E,N,!q&&D&&g[N]||G)}},exportTypedArrayStaticMethod:function(N,G,q){var V,z;if(h){if(i){if(q)for(V in F)(z=b[V])&&s(z,N)&&delete z[N];if(M[N]&&!q)return;try{return d(M,N,!q&&D&&f[N]||G)}catch{}}for(V in F)!(z=b[V])||z[N]&&!q||d(z,N,G)}},isView:function(N){return N=u(N),N==="DataView"||s(F,N)},isTypedArray:c,TypedArray:M,TypedArrayPrototype:E}},{"../internals/array-buffer-native":11,"../internals/classof":29,"../internals/create-non-enumerable-property":38,"../internals/descriptors":43,"../internals/global":60,"../internals/has":61,"../internals/is-object":75,"../internals/object-define-property":93,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/uid":146,"../internals/well-known-symbol":149}],13:[function(B,w,x){function c(ee){return[255&ee]}function m(ee){return[255&ee,ee>>8&255]}function a(ee){return[255&ee,ee>>8&255,ee>>16&255,ee>>24&255]}function h(ee){return ee[3]<<24|ee[2]<<16|ee[1]<<8|ee[0]}function b(ee){return te(ee,23,4)}function y(ee){return te(ee,52,8)}function s(ee,ue){A(ee[Y],ue,{get:function(){return G(this)[ue]}})}function u(Se,ue,be,je){if(be=T(be),Se=G(Se),be+ue>Se.byteLength)throw $(Q);var ye=G(Se.buffer).bytes,be=be+Se.byteOffset,Se=ye.slice(be,be+ue);return je?Se:Se.reverse()}function l(ee,ue,me,je,ye,be){if(me=T(me),ee=G(ee),me+ue>ee.byteLength)throw $(Q);for(var Se=G(ee.buffer).bytes,Ne=me+ee.byteOffset,Ce=je(+ye),$e=0;$ede;)(fe=ie[de++])in k||i(k,fe,oe[fe]);d.constructor=k}C&&R(B)!==W&&C(B,W);var P=new I(new k(2)),ce=B.setInt8;P.setInt8(0,2147483648),P.setInt8(1,2147483649),!P.getInt8(0)&&P.getInt8(1)||f(B,{setInt8:function(ue,me){ce.call(this,ue,me<<24>>24)},setUint8:function(ue,me){ce.call(this,ue,me<<24>>24)}},{unsafe:!0})}else k=function(ee){j(this,k,V),ee=T(ee),q(this,{bytes:F.call(new Array(ee),0),byteLength:ee}),p||(this.byteLength=ee)},I=function(ee,ye,me){j(this,I,z),j(ee,k,z);var je=G(ee).byteLength,ye=M(ye);if(ye<0||je>24},getUint8:function(ee){return u(this,1,ee)[0]},getInt16:function(ee){return ee=u(this,2,ee,1>16},getUint16:function(ee){return ee=u(this,2,ee,1>>0},getFloat32:function(ee){return se(u(this,4,ee,1"+s+""}},{"../internals/require-object-coercible":114}],37:[function(t,w,x){function c(){return this}var m=t("../internals/iterators-core").IteratorPrototype,a=t("../internals/object-create"),h=t("../internals/create-property-descriptor"),b=t("../internals/set-to-string-tag"),y=t("../internals/iterators");w.exports=function(s,u,l){return u+=" Iterator",s.prototype=a(m,{next:h(1,l)}),b(s,u,!1,!0),y[u]=c,s}},{"../internals/create-property-descriptor":39,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-create":91,"../internals/set-to-string-tag":118}],38:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/object-define-property"),a=t("../internals/create-property-descriptor");w.exports=c?function(h,b,y){return m.f(h,b,a(1,y))}:function(h,b,y){return h[b]=y,h}},{"../internals/create-property-descriptor":39,"../internals/descriptors":43,"../internals/object-define-property":93}],39:[function(t,w,x){w.exports=function(c,m){return{enumerable:!(1&c),configurable:!(2&c),writable:!(4&c),value:m}}},{}],40:[function(t,w,x){var c=t("../internals/to-primitive"),m=t("../internals/object-define-property"),a=t("../internals/create-property-descriptor");w.exports=function(h,b,y){b=c(b),b in h?m.f(h,b,a(0,y)):h[b]=y}},{"../internals/create-property-descriptor":39,"../internals/object-define-property":93,"../internals/to-primitive":141}],41:[function(o,w,x){function c(){return this}var m=o("../internals/export"),a=o("../internals/create-iterator-constructor"),h=o("../internals/object-get-prototype-of"),b=o("../internals/object-set-prototype-of"),y=o("../internals/set-to-string-tag"),s=o("../internals/create-non-enumerable-property"),u=o("../internals/redefine"),l=o("../internals/well-known-symbol"),d=o("../internals/is-pure"),p=o("../internals/iterators"),o=o("../internals/iterators-core"),i=o.IteratorPrototype,f=o.BUGGY_SAFARI_ITERATORS,g=l("iterator"),j="values",M="entries";w.exports=function(E,T,P,q,C,D,A){a(P,T,q);function F(k){if(k===C&&Q)return Q;if(!f&&k in z)return z[k];switch(k){case"keys":case j:case M:return function(){return new P(this,k)}}return function(){return new P(this)}}var N,G,q=T+" Iterator",V=!1,z=E.prototype,Y=z[g]||z["@@iterator"]||C&&z[C],Q=!f&&Y||F(C),oe=T=="Array"&&z.entries||Y;if(oe&&(oe=h(oe.call(new E)),i!==Object.prototype&&oe.next&&(d||h(oe)===i||(b?b(oe,i):typeof oe[g]!="function"&&s(oe,g,c)),y(oe,q,!0,!0),d&&(p[q]=c))),C==j&&Y&&Y.name!==j&&(V=!0,Q=function(){return Y.call(this)}),d&&!A||z[g]===Q||s(z,g,Q),p[T]=Q,C)if(N={values:F(j),keys:D?Q:F("keys"),entries:F(M)},A)for(G in N)!f&&!V&&G in z||u(z,G,N[G]);else m({target:T,proto:!0,forced:f||V},N);return N}},{"../internals/create-iterator-constructor":37,"../internals/create-non-enumerable-property":38,"../internals/export":50,"../internals/is-pure":76,"../internals/iterators":80,"../internals/iterators-core":79,"../internals/object-get-prototype-of":98,"../internals/object-set-prototype-of":102,"../internals/redefine":109,"../internals/set-to-string-tag":118,"../internals/well-known-symbol":149}],42:[function(t,w,x){var c=t("../internals/path"),m=t("../internals/has"),a=t("../internals/well-known-symbol-wrapped"),h=t("../internals/object-define-property").f;w.exports=function(b){var y=c.Symbol||(c.Symbol={});m(y,b)||h(y,b,{value:a.f(b)})}},{"../internals/has":61,"../internals/object-define-property":93,"../internals/path":105,"../internals/well-known-symbol-wrapped":148}],43:[function(t,w,x){t=t("../internals/fails"),w.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":51}],44:[function(m,w,x){var c=m("../internals/global"),m=m("../internals/is-object"),a=c.document,h=m(a)&&m(a.createElement);w.exports=function(b){return h?a.createElement(b):{}}},{"../internals/global":60,"../internals/is-object":75}],45:[function(t,w,x){w.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],46:[function(t,w,x){t=t("../internals/engine-user-agent"),w.exports=/(iphone|ipod|ipad).*applewebkit/i.test(t)},{"../internals/engine-user-agent":47}],47:[function(t,w,x){t=t("../internals/get-built-in"),w.exports=t("navigator","userAgent")||""},{"../internals/get-built-in":57}],48:[function(a,w,x){var c,m,h=a("../internals/global"),a=a("../internals/engine-user-agent"),h=h.process,h=h&&h.versions,h=h&&h.v8;h?m=(c=h.split("."))[0]+c[1]:a&&(!(c=a.match(/Edge\/(\d+)/))||74<=c[1])&&(c=a.match(/Chrome\/(\d+)/))&&(m=c[1]),w.exports=m&&+m},{"../internals/engine-user-agent":47,"../internals/global":60}],49:[function(t,w,x){w.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],50:[function(t,w,x){var c=t("../internals/global"),m=t("../internals/object-get-own-property-descriptor").f,a=t("../internals/create-non-enumerable-property"),h=t("../internals/redefine"),b=t("../internals/set-global"),y=t("../internals/copy-constructor-properties"),s=t("../internals/is-forced");w.exports=function(u,l){var d,p,o,i=u.target,f=u.global,g=u.stat,j=f?c:g?c[i]||b(i,{}):(c[i]||{}).prototype;if(j)for(d in l){if(p=l[d],o=u.noTargetGet?(o=m(j,d))&&o.value:j[d],!s(f?d:i+(g?".":"#")+d,u.forced)&&o!==void 0){if(typeof p==typeof o)continue;y(p,o)}(u.sham||o&&o.sham)&&a(p,"sham",!0),h(j,d,p,u)}}},{"../internals/copy-constructor-properties":33,"../internals/create-non-enumerable-property":38,"../internals/global":60,"../internals/is-forced":74,"../internals/object-get-own-property-descriptor":94,"../internals/redefine":109,"../internals/set-global":116}],51:[function(t,w,x){w.exports=function(c){try{return!!c()}catch{return!0}}},{}],52:[function(l,w,x){l("../modules/es.regexp.exec");var c=l("../internals/redefine"),m=l("../internals/fails"),a=l("../internals/well-known-symbol"),h=l("../internals/regexp-exec"),b=l("../internals/create-non-enumerable-property"),y=a("species"),s=!m(function(){var o=/./;return o.exec=function(){var i=[];return i.groups={a:"7"},i},"".replace(o,"$")!=="7"}),u="a".replace(/./,"$0")==="$0",l=a("replace"),d=!!/./[l]&&/./[l]("a","$0")==="",p=!m(function(){var i=/(?:)/,o=i.exec,i=(i.exec=function(){return o.apply(this,arguments)},"ab".split(i));return i.length!==2||i[0]!=="a"||i[1]!=="b"});w.exports=function(o,i,f,g){var j,M,E=a(o),T=!m(function(){var R={};return R[E]=function(){return 7},""[o](R)!=7}),P=T&&!m(function(){var R=!1,C=/a/;return o==="split"&&((C={constructor:{}}).constructor[y]=function(){return C},C.flags="",C[E]=/./[E]),C.exec=function(){return R=!0,null},C[E](""),!R});T&&P&&(o!=="replace"||s&&u&&!d)&&(o!=="split"||p)||(j=/./[E],f=(P=f(E,""[o],function(R,C,D,A,F){return C.exec===h?T&&!F?{done:!0,value:j.call(C,D,A)}:{done:!0,value:R.call(D,C,A)}:{done:!1}},{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}))[0],M=P[1],c(String.prototype,o,f),c(RegExp.prototype,E,i==2?function(R,C){return M.call(R,this,C)}:function(R){return M.call(R,this)})),g&&b(RegExp.prototype[E],"sham",!0)}},{"../internals/create-non-enumerable-property":38,"../internals/fails":51,"../internals/redefine":109,"../internals/regexp-exec":111,"../internals/well-known-symbol":149,"../modules/es.regexp.exec":192}],53:[function(t,w,x){function c(b,y,s,u,l,d,p,o){for(var i,f=l,g=0,j=!!p&&h(p,o,3);g>1,j=s===23?m(2,-24)-m(2,-77):0,M=y<0||y===0&&1/y<0?1:0,E=0;for((y=c(y))!=y||y===1/0?(d=y!=y?1:0,l=f):(l=a(h(y)/b),y*(p=m(2,-l))<1&&(l--,p*=2),2<=(y+=1<=l+g?j/p:j*m(2,1-g))*p&&(l++,p/=2),f<=l+g?(d=0,l=f):1<=l+g?(d=(y*p-1)*m(2,s),l+=g):(d=y*m(2,g-1)*m(2,s),l=0));8<=s;o[E++]=255&d,d/=256,s-=8);for(l=l<>1,o=f-7,i=l-1,f=y[i--],g=127&f;for(f>>=7;0>=-o,o+=s;0"+g+""},f=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch{}f=m?((g=m).write(i("")),g.close(),j=g.parentWindow.Object,g=null,j):(g=u("iframe"),j="java"+p+":",g.style.display="none",s.appendChild(g),g.src=String(j),(j=g.contentWindow.document).open(),j.write(i("document.F=Object")),j.close(),j.F);for(var g,j,M=b.length;M--;)delete f[d][b[M]];return f()};y[o]=!0,w.exports=Object.create||function(g,j){var M;return g!==null?(c[d]=a(g),M=new c,c[d]=null,M[o]=g):M=f(),j===void 0?M:h(M,j)}},{"../internals/an-object":10,"../internals/document-create-element":44,"../internals/enum-bug-keys":49,"../internals/hidden-keys":62,"../internals/html":64,"../internals/object-define-properties":92,"../internals/shared-key":119}],92:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/object-define-property"),a=t("../internals/an-object"),h=t("../internals/object-keys");w.exports=c?Object.defineProperties:function(b,y){a(b);for(var s,u=h(y),l=u.length,d=0;dl;)!c(u,s=y[l++])||~a(d,s)||d.push(s);return d}},{"../internals/array-includes":18,"../internals/has":61,"../internals/hidden-keys":62,"../internals/to-indexed-object":135}],100:[function(t,w,x){var c=t("../internals/object-keys-internal"),m=t("../internals/enum-bug-keys");w.exports=Object.keys||function(a){return c(a,m)}},{"../internals/enum-bug-keys":49,"../internals/object-keys-internal":99}],101:[function(t,w,x){var c={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,a=m&&!c.call({1:2},1);x.f=a?function(h){return h=m(this,h),!!h&&h.enumerable}:c},{}],102:[function(t,w,x){var c=t("../internals/an-object"),m=t("../internals/a-possible-prototype");w.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var a,h=!1,b={};try{(a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(b,[]),h=b instanceof Array}catch{}return function(y,s){return c(y),m(s),h?a.call(y,s):y.__proto__=s,y}}():void 0)},{"../internals/a-possible-prototype":6,"../internals/an-object":10}],103:[function(t,w,x){var c=t("../internals/to-string-tag-support"),m=t("../internals/classof");w.exports=c?{}.toString:function(){return"[object "+m(this)+"]"}},{"../internals/classof":29,"../internals/to-string-tag-support":142}],104:[function(t,w,x){var c=t("../internals/get-built-in"),m=t("../internals/object-get-own-property-names"),a=t("../internals/object-get-own-property-symbols"),h=t("../internals/an-object");w.exports=c("Reflect","ownKeys")||function(b){var y=m.f(h(b)),s=a.f;return s?y.concat(s(b)):y}},{"../internals/an-object":10,"../internals/get-built-in":57,"../internals/object-get-own-property-names":96,"../internals/object-get-own-property-symbols":97}],105:[function(t,w,x){t=t("../internals/global"),w.exports=t},{"../internals/global":60}],106:[function(t,w,x){w.exports=function(c){try{return{error:!1,value:c()}}catch(m){return{error:!0,value:m}}}},{}],107:[function(t,w,x){var c=t("../internals/an-object"),m=t("../internals/is-object"),a=t("../internals/new-promise-capability");w.exports=function(h,b){return c(h),m(b)&&b.constructor===h?b:((0,(h=a.f(h)).resolve)(b),h.promise)}},{"../internals/an-object":10,"../internals/is-object":75,"../internals/new-promise-capability":87}],108:[function(t,w,x){var c=t("../internals/redefine");w.exports=function(m,a,h){for(var b in a)c(m,b,a[b],h);return m}},{"../internals/redefine":109}],109:[function(y,w,x){var c=y("../internals/global"),m=y("../internals/create-non-enumerable-property"),a=y("../internals/has"),h=y("../internals/set-global"),b=y("../internals/inspect-source"),y=y("../internals/internal-state"),s=y.get,u=y.enforce,l=String(String).split("String");(w.exports=function(d,p,o,j){var f=!!j&&!!j.unsafe,g=!!j&&!!j.enumerable,j=!!j&&!!j.noTargetGet;typeof o=="function"&&(typeof p!="string"||a(o,"name")||m(o,"name",p),u(o).source=l.join(typeof p=="string"?p:"")),d===c?g?d[p]=o:h(p,o):(f?!j&&d[p]&&(g=!0):delete d[p],g?d[p]=o:m(d,p,o))})(Function.prototype,"toString",function(){return typeof this=="function"&&s(this).source||b(this)})},{"../internals/create-non-enumerable-property":38,"../internals/global":60,"../internals/has":61,"../internals/inspect-source":69,"../internals/internal-state":71,"../internals/set-global":116}],110:[function(t,w,x){var c=t("./classof-raw"),m=t("./regexp-exec");w.exports=function(a,h){var b=a.exec;if(typeof b=="function"){if(b=b.call(a,h),typeof b!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return b}if(c(a)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return m.call(a,h)}},{"./classof-raw":28,"./regexp-exec":111}],111:[function(h,w,x){var c,m,a=h("./regexp-flags"),h=h("./regexp-sticky-helpers"),b=RegExp.prototype.exec,y=String.prototype.replace,s=b,u=(c=/a/,m=/b*/g,b.call(c,"a"),b.call(m,"a"),c.lastIndex!==0||m.lastIndex!==0),l=h.UNSUPPORTED_Y||h.BROKEN_CARET,d=/()??/.exec("")[1]!==void 0;w.exports=s=u||d||l?function(p){var o,i,f,g,j=this,M=l&&j.sticky,E=a.call(j),T=j.source,P=0,R=p;return M&&((E=E.replace("y","")).indexOf("g")===-1&&(E+="g"),R=String(p).slice(j.lastIndex),0i&&(p=p.slice(0,i)),y?d+p:p+d)}}var m=t("../internals/to-length"),a=t("../internals/string-repeat"),h=t("../internals/require-object-coercible"),b=Math.ceil;w.exports={start:c(!1),end:c(!0)}},{"../internals/require-object-coercible":114,"../internals/string-repeat":128,"../internals/to-length":137}],127:[function(t,w,x){function c(f){return f+22+75*(f<26)}function m(f){var g,j=[],M=(f=function(Y){for(var Q=[],oe=0,k=Y.length;oeo((a-T)/F))throw RangeError(d);for(T+=(D-E)*F,E=D,A=0;Aa)throw RangeError(d);if(g==E){for(var N=T,G=h;;G+=h){var q=G<=P?1:P+b<=G?b:G-P;if(N>1,Y+=o(Y/Q);p*b>>1>>=1)&&(h+=h))1&y&&(b+=h);return b}},{"../internals/require-object-coercible":114,"../internals/to-integer":136}],129:[function(t,w,x){var c=t("../internals/fails"),m=t("../internals/whitespaces");w.exports=function(a){return c(function(){return!!m[a]()||"​…᠎"[a]()!="​…᠎"||m[a].name!==a})}},{"../internals/fails":51,"../internals/whitespaces":150}],130:[function(a,w,x){function c(y){return function(s){return s=String(m(s)),1&y&&(s=s.replace(h,"")),s=2&y?s.replace(b,""):s}}var m=a("../internals/require-object-coercible"),a="["+a("../internals/whitespaces")+"]",h=RegExp("^"+a+a+"*"),b=RegExp(a+a+"*$");w.exports={start:c(1),end:c(2),trim:c(3)}},{"../internals/require-object-coercible":114,"../internals/whitespaces":150}],131:[function(p,w,x){function c(C){return function(){R(C)}}function m(C){R(C.data)}function a(C){b.postMessage(C+"",o.protocol+"//"+o.host)}var h,b=p("../internals/global"),y=p("../internals/fails"),s=p("../internals/classof-raw"),u=p("../internals/function-bind-context"),l=p("../internals/html"),d=p("../internals/document-create-element"),p=p("../internals/engine-is-ios"),o=b.location,i=b.setImmediate,f=b.clearImmediate,g=b.process,j=b.MessageChannel,M=b.Dispatch,E=0,T={},P="onreadystatechange",R=function(C){var D;T.hasOwnProperty(C)&&(D=T[C],delete T[C],D())};i&&f||(i=function(C){for(var D=[],A=1;A=d.length?{value:l.target=void 0,done:!0}:p=="keys"?{value:o,done:!1}:p=="values"?{value:d[o],done:!1}:{value:[o,d[o]],done:!1}},"values"),a.Arguments=a.Array,m("keys"),m("values"),m("entries")},{"../internals/add-to-unscopables":7,"../internals/define-iterator":41,"../internals/internal-state":71,"../internals/iterators":80,"../internals/to-indexed-object":135}],165:[function(b,w,x){var c=b("../internals/export"),h=b("../internals/indexed-object"),m=b("../internals/to-indexed-object"),b=b("../internals/array-method-is-strict"),a=[].join,h=h!=Object,b=b("join",",");c({target:"Array",proto:!0,forced:h||!b},{join:function(y){return a.call(m(this),y===void 0?",":y)}})},{"../internals/array-method-is-strict":22,"../internals/export":50,"../internals/indexed-object":67,"../internals/to-indexed-object":135}],166:[function(m,w,x){var c=m("../internals/export"),m=m("../internals/array-last-index-of");c({target:"Array",proto:!0,forced:m!==[].lastIndexOf},{lastIndexOf:m})},{"../internals/array-last-index-of":20,"../internals/export":50}],167:[function(h,w,x){var c=h("../internals/export"),m=h("../internals/array-iteration").map,a=h("../internals/array-method-has-species-support"),h=h("../internals/array-method-uses-to-length"),a=a("map"),h=h("map");c({target:"Array",proto:!0,forced:!a||!h},{map:function(b){return m(this,b,1D;D++)y(M,P=C[D])&&!y(R,P)&&f(R,P,i(M,P));(R.prototype=E).constructor=R,b(a,j,R)}},{"../internals/classof-raw":28,"../internals/descriptors":43,"../internals/fails":51,"../internals/global":60,"../internals/has":61,"../internals/inherit-if-required":68,"../internals/is-forced":74,"../internals/object-create":91,"../internals/object-define-property":93,"../internals/object-get-own-property-descriptor":94,"../internals/object-get-own-property-names":96,"../internals/redefine":109,"../internals/string-trim":130,"../internals/to-primitive":141}],179:[function(t,w,x){t("../internals/export")({target:"Number",stat:!0},{isFinite:t("../internals/number-is-finite")})},{"../internals/export":50,"../internals/number-is-finite":89}],180:[function(y,w,x){function c(l,d,p){return d===0?p:d%2==1?c(l,d-1,p*l):c(l*l,d/2,p)}var m=y("../internals/export"),a=y("../internals/to-integer"),h=y("../internals/this-number-value"),b=y("../internals/string-repeat"),y=y("../internals/fails"),s=1 .toFixed,u=Math.floor;m({target:"Number",proto:!0,forced:s&&(8e-5.toFixed(3)!=="0.000"||.9.toFixed(0)!=="1"||1.255.toFixed(2)!=="1.25"||0xde0b6b3a7640080.toFixed(0)!=="1000000000000000128")||!y(function(){s.call({})})},{toFixed:function(j){function d(P,R){for(var C=-1,D=R;++C<6;)D+=P*M[C],M[C]=D%1e7,D=u(D/1e7)}function p(P){for(var R=6,C=0;0<=--R;)C+=M[R],M[R]=u(C/P),C=C%P*1e7}function o(){for(var P,R=6,C="";0<=--R;)C===""&&R!==0&&M[R]===0||(P=String(M[R]),C=C===""?P:C+b.call("0",7-P.length)+P);return C}var i,f,g=h(this),j=a(j),M=[0,0,0,0,0,0],E="",T="0";if(j<0||20Pe;){var Fe,Ge,ze,Ye=re[Pe++],at=we?Ye.ok:Ye.fail,st=Ye.resolve,Je=Ye.reject,it=Ye.domain;try{at?(we||(Ee.rejection===be&&function(ot,jt){C.call(s,function(){de?te.emit("rejectionHandled",ot):Ve(ue,ot,jt.value)})}(Ae,Ee),Ee.rejection=ye),at===!0?Fe=ge:(it&&it.enter(),Fe=at(ge),it&&(it.exit(),ze=!0)),Fe===Ye.promise?Je(W("Promise-chain cycle")):(Ge=Ce(Fe))?Ge.call(Fe,st,Je):st(Fe)):Je(ge)}catch(ot){it&&!ze&&it.exit(),Je(ot)}}Ee.reactions=[],Ee.notified=!1,K&&!Ee.rejection&&(Z=Ae,ne=Ee,C.call(s,function(){var ot=ne.value,jt=He(ne);if(jt&&(jt=G(function(){de?te.emit("unhandledRejection",ot,Z):Ve(ee,Z,ot)}),ne.rejection=de||He(ne)?be:ye,jt.error))throw jt.value}))}))},Ve=function(Ae,Ee,K){var re;ce?((re=$.createEvent("Event")).promise=Ee,re.reason=K,re.initEvent(Ae,!1,!0),s.dispatchEvent(re)):re={promise:Ee,reason:K},(Ee=s["on"+Ae])?Ee(re):Ae===ee&&F("Unhandled promise rejection",K)},He=function(Ae){return Ae.rejection!==ye&&!Ae.parent},Xe=function(Ae,Ee,K,re){return function(Z){Ae(Ee,K,Z,re)}},We=function(Ae,Ee,K,re){Ee.done||(Ee.done=!0,(Ee=re||Ee).value=K,Ee.state=je,$e(Ae,Ee,!0))},xe=function(Ae,Ee,K,re){if(!Ee.done){Ee.done=!0,re&&(Ee=re);try{if(Ae===K)throw W("Promise can't be resolved itself");var Z=Ce(K);Z?D(function(){var ne={done:!1};try{Z.call(K,Xe(xe,Ae,ne,Ee),Xe(We,Ae,ne,Ee))}catch(ge){We(Ae,ne,ge,Ee)}}):(Ee.value=K,Ee.state=me,$e(Ae,Ee,!1))}catch(ne){We(Ae,{done:!1},ne,Ee)}}};Se&&(B=function(Ae){j(this,B,Q),g(Ae),c.call(this);var Ee=oe(this);try{Ae(Xe(xe,this,Ee),Xe(We,this,Ee))}catch(K){We(this,Ee,K)}},(c=function(Ae){k(this,{type:Q,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=p(B.prototype,{then:function(Ae,Ee){var K=I(this),re=fe(R(this,B));return re.ok=typeof Ae!="function"||Ae,re.fail=typeof Ee=="function"&&Ee,re.domain=de?te.domain:void 0,K.parent=!0,K.reactions.push(re),K.state!=0&&$e(this,K,!1),re.promise},catch:function(Ae){return this.then(void 0,Ae)}}),m=function(){var Ae=new c,Ee=oe(Ae);this.promise=Ae,this.resolve=Xe(xe,Ae,Ee),this.reject=Xe(We,Ae,Ee)},N.f=fe=function(Ae){return Ae===B||Ae===a?new m:ie(Ae)},y||typeof l!="function"||(h=l.prototype.then,d(l.prototype,"then",function(Ae,Ee){var K=this;return new B(function(re,Z){h.call(K,re,Z)}).then(Ae,Ee)},{unsafe:!0}),typeof se=="function"&&b({global:!0,enumerable:!0,forced:!0},{fetch:function(Ae){return A(B,se.apply(s,arguments))}}))),b({global:!0,wrap:!0,forced:Se},{Promise:B}),o(B,Q,!1,!0),i(Q),a=u(Q),b({target:Q,stat:!0,forced:Se},{reject:function(Ae){var Ee=fe(this);return Ee.reject.call(void 0,Ae),Ee.promise}}),b({target:Q,stat:!0,forced:y||Se},{resolve:function(Ae){return A(y&&this===a?B:this,Ae)}}),b({target:Q,stat:!0,forced:Ne},{all:function(Ae){var Ee=this,K=fe(Ee),re=K.resolve,Z=K.reject,ne=G(function(){var ge=g(Ee.resolve),we=[],Pe=0,Fe=1;T(Ae,function(Ge){var ze=Pe++,Ye=!1;we.push(void 0),Fe++,ge.call(Ee,Ge).then(function(at){Ye||(Ye=!0,we[ze]=at,--Fe||re(we))},Z)}),--Fe||re(we)});return ne.error&&Z(ne.value),K.promise},race:function(Ae){var Ee=this,K=fe(Ee),re=K.reject,Z=G(function(){var ne=g(Ee.resolve);T(Ae,function(ge){ne.call(Ee,ge).then(K.resolve,re)})});return Z.error&&re(Z.value),K.promise}})},{"../internals/a-function":5,"../internals/an-instance":9,"../internals/check-correctness-of-iteration":27,"../internals/classof-raw":28,"../internals/engine-v8-version":48,"../internals/export":50,"../internals/get-built-in":57,"../internals/global":60,"../internals/host-report-errors":63,"../internals/inspect-source":69,"../internals/internal-state":71,"../internals/is-forced":74,"../internals/is-object":75,"../internals/is-pure":76,"../internals/iterate":78,"../internals/microtask":82,"../internals/native-promise-constructor":83,"../internals/new-promise-capability":87,"../internals/perform":106,"../internals/promise-resolve":107,"../internals/redefine":109,"../internals/redefine-all":108,"../internals/set-species":117,"../internals/set-to-string-tag":118,"../internals/species-constructor":122,"../internals/task":131,"../internals/well-known-symbol":149}],189:[function(s,w,x){var c=s("../internals/export"),p=s("../internals/get-built-in"),m=s("../internals/a-function"),a=s("../internals/an-object"),h=s("../internals/is-object"),b=s("../internals/object-create"),y=s("../internals/function-bind"),s=s("../internals/fails"),u=p("Reflect","construct"),l=s(function(){function o(){}return!(u(function(){},[],o)instanceof o)}),d=!s(function(){u(function(){})}),p=l||d;c({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(o,i){m(o),a(i);var f=arguments.length<3?o:m(arguments[2]);if(d&&!l)return u(o,i,f);if(o==f){switch(i.length){case 0:return new o;case 1:return new o(i[0]);case 2:return new o(i[0],i[1]);case 3:return new o(i[0],i[1],i[2]);case 4:return new o(i[0],i[1],i[2],i[3])}var g=[null];return g.push.apply(g,i),new(y.apply(o,g))}return g=f.prototype,f=b(h(g)?g:Object.prototype),g=Function.apply.call(o,f,i),h(g)?g:f}})},{"../internals/a-function":5,"../internals/an-object":10,"../internals/export":50,"../internals/fails":51,"../internals/function-bind":56,"../internals/get-built-in":57,"../internals/is-object":75,"../internals/object-create":91}],190:[function(t,w,x){var c=t("../internals/export"),m=t("../internals/is-object"),a=t("../internals/an-object"),h=t("../internals/has"),b=t("../internals/object-get-own-property-descriptor"),y=t("../internals/object-get-prototype-of");c({target:"Reflect",stat:!0},{get:function s(u,l){var d,p=arguments.length<3?u:arguments[2];return a(u)===p?u[l]:(d=b.f(u,l))?h(d,"value")?d.value:d.get===void 0?void 0:d.get.call(p):m(d=y(u))?s(d,l,p):void 0}})},{"../internals/an-object":10,"../internals/export":50,"../internals/has":61,"../internals/is-object":75,"../internals/object-get-own-property-descriptor":94,"../internals/object-get-prototype-of":98}],191:[function(t,w,x){var c=t("../internals/descriptors"),m=t("../internals/global"),a=t("../internals/is-forced"),h=t("../internals/inherit-if-required"),b=t("../internals/object-define-property").f,y=t("../internals/object-get-own-property-names").f,s=t("../internals/is-regexp"),u=t("../internals/regexp-flags"),l=t("../internals/regexp-sticky-helpers"),d=t("../internals/redefine"),p=t("../internals/fails"),o=t("../internals/internal-state").set,i=t("../internals/set-species"),f=t("../internals/well-known-symbol")("match"),g=m.RegExp,j=g.prototype,M=/a/g,E=/a/g,T=new g(M)!==M,P=l.UNSUPPORTED_Y;if(c&&a("RegExp",!T||P||p(function(){return E[f]=!1,g(M)!=M||g(E)==E||g(M,"i")!="/a/i"}))){for(var R=function(A,F){var N,G=this instanceof R,q=s(A),V=F===void 0;return!G&&q&&A.constructor===R&&V?A:(T?q&&!V&&(A=A.source):A instanceof R&&(V&&(F=u.call(A)),A=A.source),P&&(N=!!F&&-1D;)(function(A){A in R||b(R,A,{configurable:!0,get:function(){return g[A]},set:function(F){g[A]=F}})})(C[D++]);(j.constructor=R).prototype=j,d(m,"RegExp",R)}i("RegExp")},{"../internals/descriptors":43,"../internals/fails":51,"../internals/global":60,"../internals/inherit-if-required":68,"../internals/internal-state":71,"../internals/is-forced":74,"../internals/is-regexp":77,"../internals/object-define-property":93,"../internals/object-get-own-property-names":96,"../internals/redefine":109,"../internals/regexp-flags":112,"../internals/regexp-sticky-helpers":113,"../internals/set-species":117,"../internals/well-known-symbol":149}],192:[function(m,w,x){var c=m("../internals/export"),m=m("../internals/regexp-exec");c({target:"RegExp",proto:!0,forced:/./.exec!==m},{exec:m})},{"../internals/export":50,"../internals/regexp-exec":111}],193:[function(h,w,x){var c=h("../internals/redefine"),m=h("../internals/an-object"),s=h("../internals/fails"),a=h("../internals/regexp-flags"),h="toString",b=RegExp.prototype,y=b[h],s=s(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),u=y.name!=h;(s||u)&&c(RegExp.prototype,h,function(){var l=m(this),d=String(l.source),p=l.flags;return"/"+d+"/"+String(p===void 0&&l instanceof RegExp&&!("flags"in b)?a.call(l):p)},{unsafe:!0})},{"../internals/an-object":10,"../internals/fails":51,"../internals/redefine":109,"../internals/regexp-flags":112}],194:[function(m,w,x){var c=m("../internals/collection"),m=m("../internals/collection-strong");w.exports=c("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},m)},{"../internals/collection":32,"../internals/collection-strong":30}],195:[function(y,w,x){var c=y("../internals/export"),m=y("../internals/object-get-own-property-descriptor").f,a=y("../internals/to-length"),h=y("../internals/not-a-regexp"),b=y("../internals/require-object-coercible"),l=y("../internals/correct-is-regexp-logic"),y=y("../internals/is-pure"),s="".endsWith,u=Math.min,l=l("endsWith");c({target:"String",proto:!0,forced:!!(y||l||!(c=m(String.prototype,"endsWith"))||c.writable)&&!l},{endsWith:function(d){var p=String(b(this)),o=(h(d),1=u.length?{value:void 0,done:!0}:(u=c(u,l),s.index+=u.length,{value:u,done:!1})})},{"../internals/define-iterator":41,"../internals/internal-state":71,"../internals/string-multibyte":124}],198:[function(t,w,x){var c=t("../internals/fix-regexp-well-known-symbol-logic"),m=t("../internals/an-object"),a=t("../internals/to-length"),h=t("../internals/require-object-coercible"),b=t("../internals/advance-string-index"),y=t("../internals/regexp-exec-abstract");c("match",1,function(s,u,l){return[function(d){var p=h(this),o=d==null?void 0:d[s];return o!==void 0?o.call(d,p):new RegExp(d)[s](String(p))},function(d){var p=l(u,d,this);if(p.done)return p.value;var o=m(d),i=String(this);if(!o.global)return y(o,i);for(var f=o.unicode,g=[],j=o.lastIndex=0;(M=y(o,i))!==null;){var M=String(M[0]);(g[j]=M)===""&&(o.lastIndex=b(i,a(o.lastIndex),f)),j++}return j===0?null:g}]})},{"../internals/advance-string-index":8,"../internals/an-object":10,"../internals/fix-regexp-well-known-symbol-logic":52,"../internals/regexp-exec-abstract":110,"../internals/require-object-coercible":114,"../internals/to-length":137}],199:[function(t,w,x){var c=t("../internals/export"),m=t("../internals/string-pad").start;c({target:"String",proto:!0,forced:t("../internals/string-pad-webkit-bug")},{padStart:function(a){return m(this,a,1]*>)/g,i=/\$([$&'`]|\d\d?)/g;c("replace",2,function(f,g,j,M){var E=M.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,T=M.REPLACE_KEEPS_$0,P=E?"$":"$0";return[function(R,C){var D=y(this),A=R==null?void 0:R[f];return A!==void 0?A.call(R,D,C):g.call(String(D),R,C)},function(R,C){if(!E&&T||typeof C=="string"&&C.indexOf(P)===-1){var D=j(g,R,this,C);if(D.done)return D.value}for(var A,F=m(R),N=String(this),G=typeof C=="function",q=(G||(C=String(C)),F.global),V=(q&&(A=F.unicode,F.lastIndex=0),[]);(k=u(F,N))!==null&&(V.push(k),q);)String(k[0])===""&&(F.lastIndex=s(N,h(F.lastIndex),A));for(var z,Y="",Q=0,oe=0;oe>>0;if(C==0)return[];if(T===void 0)return[R];if(!m(T))return j.call(R,T,C);for(var D,A,F,N=[],P=(T.ignoreCase?"i":"")+(T.multiline?"m":"")+(T.unicode?"u":"")+(T.sticky?"y":""),G=0,q=new RegExp(T.source,P+"g");(D=l.call(q,R))&&!(G<(A=q.lastIndex)&&(N.push(R.slice(G,D.index)),1=C));)q.lastIndex===D.index&&q.lastIndex++;return G===R.length?!F&&q.test("")||N.push(""):N.push(R.slice(G)),N.length>C?N.slice(0,C):N}:"0".split(void 0,0).length?function(T,P){return T===void 0&&P===0?[]:j.call(this,T,P)}:j;return[function(T,P){var R=h(this),C=T==null?void 0:T[g];return C!==void 0?C.call(T,R,P):E.call(String(R),T,P)},function(D,P){var R=M(E,D,this,P,E!==j);if(R.done)return R.value;var R=a(D),C=String(this),D=b(R,RegExp),A=R.unicode,F=(R.ignoreCase?"i":"")+(R.multiline?"m":"")+(R.unicode?"u":"")+(f?"y":"g"),N=new D(f?R:"^(?:"+R.source+")",F),G=P===void 0?i:P>>>0;if(G==0)return[];if(C.length===0)return u(N,C)===null?[C]:[];for(var q=0,V=0,z=[];Vse.key){de.splice(fe,0,se);break}fe===ee&&de.push(se)}ie.updateURL()},forEach:function(se){for(var fe,ie=z(this).entries,de=j(se,16))return;for(Dt=0;Qt();){if(Zt=null,Dt>0)if(Qt()=="."&&Dt<4)Ze++;else return;if(!B.test(Qt()))return;for(;B.test(Qt());){if(Xr=parseInt(Qt(),10),Zt===null)Zt=Xr;else{if(Zt==0)return;Zt=Zt*10+Xr}if(Zt>255)return;Ze++}mt[qe]=mt[qe]*256+Zt,Dt++,(Dt==2||Dt==4)&&qe++}if(Dt!=4)return;break}else if(Qt()==":"){if(Ze++,!Qt())return}else if(Qt())return;mt[qe++]=Ut}if(ht!==null)for(Sr=qe-ht,qe=7;qe!=0&&Sr>0;)Yr=mt[qe],mt[qe--]=mt[ht+Sr-1],mt[ht+--Sr]=Yr;else if(qe!=8)return;return mt}(Ue.slice(1,-1)))?void(pe.host=Qe):Q;if(Ce(pe))return Ue=T(Ue),fe.test(Ue)||(Qe=function(Ie){var mt=Ie.split("."),qe,ht,Ze,Ut,Wt,Dt,Zt;if(mt.length&&mt[mt.length-1]==""&&mt.pop(),(qe=mt.length)>4)return Ie;for(ht=[],Ze=0;Ze1&&Ut.charAt(0)=="0"&&(Wt=W.test(Ut)?16:8,Ut=Ut.slice(Wt==8?1:2)),Ut==="")Dt=0;else{if(!(Wt==10?te:Wt==8?$:se).test(Ut))return Ie;Dt=parseInt(Ut,Wt)}ht.push(Dt)}for(Ze=0;Ze=V(256,5-qe))return null}else if(Dt>255)return null;for(Zt=ht.pop(),Ze=0;Ze":1,"`":1}),ye=j({},je,{"#":1,"?":1,"{":1,"}":1}),be=j({},ye,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Se=function(pe,Ue){var Qe=E(pe,0);return 32"u"&&c!==void 0&&{}.toString.call(c)==="[object process]",f=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function g(){var ee=setTimeout;return function(){return ee(M,1)}}var j=new Array(1e3);function M(){for(var ee=0;eeR,applyPalette:()=>function(G,q,V="rgb565"){if(!G||!G.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(G instanceof Uint8Array||G instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");if(256>24&255,B=$>>16&255,W=$>>8&255,$=255&$,te=d($,W,B,I),te=te in k?k[te]:k[te]=function(ee,ue,me,je,ye){let be=0,Se=1e100;for(let Ve=0;VeSe||(Ne=Ce[0],($e+=E(Ne-ee))>Se||(Ne=Ce[1],($e+=E(Ne-ue))>Se||(Ne=Ce[2],($e+=E(Ne-me))>Se||(Se=$e,be=Ve))))}return be}($,W,B,I,q);oe[ce]=te}else{const ce=V==="rgb444"?p:l;for(let ee=0;ee>16&255,fe=ie>>8&255,ie=255&ie,de=ce(ie,fe,se),de=de in k?k[de]:k[de]=function(ue,me,je,ye){let be=0,Se=1e100;for(let Ve=0;VeSe||(Ne=Ce[1],($e+=E(Ne-me))>Se||(Ne=Ce[2],($e+=E(Ne-je))>Se||(Se=$e,be=Ve)))}return be}(ie,fe,se,q);oe[ee]=de}}return oe},default:()=>N,nearestColor:()=>function(G,q,V=j){return G[T(G,q,V)]},nearestColorIndex:()=>T,nearestColorIndexWithDistance:()=>P,prequantize:()=>function(G,{roundRGB:q=5,roundAlpha:V=10,oneBitAlpha:z=null}={}){const Y=new Uint32Array(G.buffer);for(let B=0;B>24&255;var Q,oe=I>>16&255,k=I>>8&255,I=255&I;W=M(W,V),z&&(Q=typeof z=="number"?z:127,W=W<=Q?0:255),I=M(I,q),k=M(k,q),oe=M(oe,q),Y[B]=W<<24|oe<<16|k<<8|I<<0}},quantize:()=>function(G,q,V={}){var{format:z="rgb565",clearAlpha:Y=!0,clearAlphaColor:Q=0,clearAlphaThreshold:oe=0,oneBitAlpha:k=!1}=V;if(!G||!G.buffer)throw new Error("quantize() expected RGBA Uint8Array data");if(!(G instanceof Uint8Array||G instanceof Uint8ClampedArray))throw new Error("quantize() expected RGBA Uint8Array data");G=new Uint32Array(G.buffer);let I=V.useSqrt!==!1;const B=z==="rgba4444",W=function(He,Xe){const We=Xe==="rgb444"?4096:65536,xe=new Array(We),Ae=He.length;if(Xe==="rgba4444")for(let st=0;st>24&255,K=Z>>16&255,re=Z>>8&255,Z=255&Z,ne=d(Z,re,K,Ee);let Je=ne in xe?xe[ne]:xe[ne]=g();Je.rc+=Z,Je.gc+=re,Je.bc+=K,Je.ac+=Ee,Je.cnt++}else if(Xe==="rgb444")for(let st=0;st>16&255,we=Pe>>8&255,Pe=255&Pe,Fe=p(Pe,we,ge);let Je=Fe in xe?xe[Fe]:xe[Fe]=g();Je.rc+=Pe,Je.gc+=we,Je.bc+=ge,Je.cnt++}else for(let st=0;st>16&255,ze=Ye>>8&255,Ye=255&Ye,at=l(Ye,ze,Ge);let Je=at in xe?xe[at]:xe[at]=g();Je.rc+=Ye,Je.gc+=ze,Je.bc+=Ge,Je.cnt++}return xe}(G,z),$=W.length,te=$-1,se=new Uint32Array($+1);for(var fe=0,ie=0;ie<$;++ie){const He=W[ie];He!=null&&(Ce=1/He.cnt,B&&(He.ac*=Ce),He.rc*=Ce,He.gc*=Ce,He.bc*=Ce,W[fe++]=He)}i(q)/fe<.022&&(I=!1);for(var de,ce,ee,ie=0;ie>1,!(W[de=se[ee]].err<=ue));ce=ee)se[ce]=de;se[ce]=ie}var me,je=fe-q;for(ie=0;ie=me.mtm&&W[me.nn].mtm<=me.tm)break;for(me.mtm==te?ye=se[1]=se[se[0]--]:(f(W,ye),me.tm=ie),ue=W[ye].err,ce=1;(ee=ce+ce)<=se[0]&&(eeW[se[ee+1]].err&&ee++,!(ue<=W[de=se[ee]].err));ce=ee)se[ce]=de;se[ce]=ye}var be=W[me.nn],Se=me.cnt,Ne=be.cnt,Ce=1/(Se+Ne);B&&(me.ac=Ce*(Se*me.ac+Ne*be.ac)),me.rc=Ce*(Se*me.rc+Ne*be.rc),me.gc=Ce*(Se*me.gc+Ne*be.gc),me.bc=Ce*(Se*me.bc+Ne*be.bc),me.cnt+=be.cnt,me.mtm=++ie,W[be.bk].fw=be.fw,W[be.fw].bk=be.bk,be.mtm=te}let $e=[];for(ie=0;;0){let He=o(Math.round(W[ie].rc),0,255),Xe=o(Math.round(W[ie].gc),0,255),We=o(Math.round(W[ie].bc),0,255),xe=255;B&&(xe=o(Math.round(W[ie].ac),0,255),k&&(Ve=typeof k=="number"?k:127,xe=xe<=Ve?0:255),Y&&xe<=oe&&(He=Xe=We=Q,xe=0));var Ve=B?[He,Xe,We,xe]:[He,Xe,We];if(function(Ae,Ee){for(let Z=0;Zfunction(G,q,V=5){if(G.length&&q.length){var z=G.map(I=>I.slice(0,3)),Y=V*V,Q=G[0].length;for(let I=0;IQ?B.slice(0,3):B.slice();var k=P(z,B.slice(0,3),j),oe=k[0],k=k[1];0>>0),Q!=0&&(Y=Math.max(Y,256));const oe=V;V=new Uint8Array(Y),0>=8,$-=8;if((ue>de||fe)&&(fe?(ie=se,de=(1<>=8,$-=8;0>3}function d(G,q,V,z){return G>>4|240&q|(240&V)<<4|(240&z)<<8}function p(G,q,V){return G>>4<<8|240&q|V>>4}function o(G,q,V){return G>8&255)}function A(G,q){for(var V=0;V>1,p=-7,o=a?f-1:0,i=a?-1:1,f=c[m+o];for(o+=i,y=f&(1<<-p)-1,f>>=-p,p+=u;0>=-p,p+=h;0>1,o=b===23?Math.pow(2,-24)-Math.pow(2,-77):0,i=h?0:g-1,f=h?1:-1,g=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(u=isNaN(m)?1:0,s=d):(s=Math.floor(Math.log(m)/Math.LN2),m*(h=Math.pow(2,-s))<1&&(s--,h*=2),2<=(m+=1<=s+p?o/h:o*Math.pow(2,1-p))*h&&(s++,h/=2),d<=s+p?(u=0,s=d):1<=s+p?(u=(m*h-1)*Math.pow(2,b),s+=p):(u=m*Math.pow(2,p-1)*Math.pow(2,b),s=0));8<=b;c[a+i]=255&u,i+=f,u/=256,b-=8);for(s=s<Math.abs(K[0])&&(re=1),re=Math.abs(K[2])>Math.abs(K[re])?2:re}function D(K,re){K.f+=re.f,K.b.f+=re.b.f}function A(K,re,Z){return K=K.a,re=re.a,Z=Z.a,re.b.a===K?Z.b.a===K?a(re.a,Z.a)?b(Z.b.a,re.a,Z.a)<=0:0<=b(re.b.a,Z.a,re.a):b(Z.b.a,K,Z.a)<=0:Z.b.a===K?0<=b(re.b.a,K,re.a):(re=h(re.b.a,K,re.a),(K=h(Z.b.a,K,Z.a))<=re)}function F(K){K.a.i=null;var re=K.e;re.a.c=re.c,re.c.a=re.a,K.e=null}function N(K,re){o(K.a),K.c=!1,(K.a=re).i=K}function G(K){for(var re=K.a.a;(K=Ee(K)).a.a===re;);return K.c&&(N(K,re=f(Ae(K).a.b,K.a.e)),K=Ee(K)),K}function q(K,re,Z){var ne=new xe;return ne.a=Z,ne.e=fe(K.f,re.e,ne),Z.i=ne}function V(K,re){switch(K.s){case 100130:return(1&re)!=0;case 100131:return re!==0;case 100132:return 0>1]],Fe[Pe[ze]])?Xe:We)(Z,ze),Fe[we]=null,Ge[we]=Z.b,Z.b=we}else for(Z.c[-(we+1)]=null;0Math.max(Pe.a,Ge.a))){if(a(we,Pe)){if(0Z.f&&(Z.f*=2,Z.c=$e(Z.c,Z.f+1)),Z.b===0?ge=ne:(ge=Z.b,Z.b=Z.c[Z.b]),Z.e[ge]=re,Z.c[ge]=ne,Z.d[ne]=ge,Z.h&&We(Z,ne),ge):(Z=K.a++,K.c[Z]=re,-(Z+1))}function Ne(K){if(K.a===0)return He(K.b);var re=K.c[K.d[K.a-1]];if(K.b.a!==0&&a(Ve(K.b),re))return He(K.b);for(;--K.a,0K.a||a(ne[Pe],ne[Ge])){ge[Z[we]=Pe]=we;break}ge[Z[we]=Ge]=we,we=Fe}}function We(K,re){for(var Z=K.d,ne=K.e,ge=K.c,we=re,Pe=Z[we];;){var Fe=we>>1,Ge=Z[Fe];if(Fe==0||a(ne[Ge],ne[Pe])){ge[Z[we]=Pe]=we;break}ge[Z[we]=Ge]=we,we=Fe}}function xe(){this.e=this.a=null,this.f=0,this.c=this.b=this.h=this.d=!1}function Ae(K){return K.e.c.b}function Ee(K){return K.e.a.b}(c=de.prototype).x=function(){ce(this,0)},c.B=function(K,re){switch(K){case 100142:return;case 100140:switch(re){case 100130:case 100131:case 100132:case 100133:case 100134:return void(this.s=re)}break;case 100141:return void(this.m=!!re);default:return void ee(this,100900)}ee(this,100901)},c.y=function(K){switch(K){case 100142:return 0;case 100140:return this.s;case 100141:return this.m;default:ee(this,100900)}return!1},c.A=function(K,re,Z){this.j[0]=K,this.j[1]=re,this.j[2]=Z},c.z=function(K,re){var Z=re||null;switch(K){case 100100:case 100106:this.h=Z;break;case 100104:case 100110:this.l=Z;break;case 100101:case 100107:this.k=Z;break;case 100102:case 100108:this.i=Z;break;case 100103:case 100109:this.p=Z;break;case 100105:case 100111:this.o=Z;break;case 100112:this.r=Z;break;default:ee(this,100900)}},c.C=function(K,re){var Z=!1,ne=[0,0,0];ce(this,2);for(var ge=0;ge<3;++ge){var we=K[ge];we<-1e150&&(we=-1e150,Z=!0),1e150ne[ze]&&(ne[ze]=Ye,ge[ze]=Z)}if(ne[1]-Fe[1]>ne[Z=0]-Fe[0]&&(Z=1),Fe[Z=ne[2]-Fe[2]>ne[Z]-Fe[Z]?2:Z]>=ne[Z])Pe[0]=0,Pe[1]=0,Pe[2]=1;else{for(Fe=Ge[Z],ge=ge[Z],Ge=[ne=0,0,0],Fe=[Fe.g[0]-ge.g[0],Fe.g[1]-ge.g[1],Fe.g[2]-ge.g[2]],ze=[0,0,0],Z=we.e;Z!==we;Z=Z.e)ze[0]=Z.g[0]-ge.g[0],ze[1]=Z.g[1]-ge.g[1],ze[2]=Z.g[2]-ge.g[2],Ge[0]=Fe[1]*ze[2]-Fe[2]*ze[1],Ge[1]=Fe[2]*ze[0]-Fe[0]*ze[2],Ge[2]=Fe[0]*ze[1]-Fe[1]*ze[0],ne<(Ye=Ge[0]*Ge[0]+Ge[1]*Ge[1]+Ge[2]*Ge[2])&&(ne=Ye,Pe[0]=Ge[0],Pe[1]=Ge[1],Pe[2]=Ge[2]);ne<=0&&(Pe[0]=Pe[1]=Pe[2]=0,Pe[C(Fe)]=1)}we=!0}for(Ge=C(Pe),Z=this.b.c,ne=(Ge+1)%3,ge=(Ge+2)%3,Ge=0>=1;)++p;if(i=1<>8&255,a[s++]=255&b,a[s++]=b>>8&255,a[s++]=(l!==null?128:0)|p,a[s++]=o,a[s++]=0,l!==null)for(var f=0,g=l.length;f>16&255,a[s++]=j>>8&255,a[s++]=255&j}if(u!==null){if(u<0||65535>8&255,a[s++]=0}var M=!1;this.addFrame=function(E,T,P,R,C,D){if(M===!0&&(--s,M=!1),D=D===void 0?{}:D,E<0||T<0||65535>=1;)++N;var G=1<>8&255,a[s++]=Y,a[s++]=0),a[s++]=44,a[s++]=255&E,a[s++]=E>>8&255,a[s++]=255&T,a[s++]=T>>8&255,a[s++]=255&P,a[s++]=P>>8&255,a[s++]=255&R,a[s++]=R>>8&255,a[s++]=A===!0?128|N-1:0,A===!0)for(var Q=0,oe=F.length;Q>16&255,a[s++]=k>>8&255,a[s++]=255&k}return s=function(I,B,W,$){I[B++]=W;var te=B++,se=1<>=8,ee-=8,B===te+256&&(I[te]=255,te=B++)}function je(He){ue|=He<>=8,ee-=8,B===te+256&&(I[te]=255,te=B++);de===4096?(je(se),de=1+ie,ce=W+1,be={}):(1<>=p,i-=p,T==u)d=1+l,o=(1<<(p=s+1))-1,E=null;else{if(T==l)break;for(var P=T>8,++R;var D=C;if(y>=8;E!==null&&d<4096&&(M[d++]=E<<8|D,o+1<=d&&p<12&&(++p,o=o<<1|1)),E=T}}g!==y&&console.log("Warning, gif stream shorter than expected.")}try{x.GifWriter=c,x.GifReader=function(a){var h=0;if(a[h++]!==71||a[h++]!==73||a[h++]!==70||a[h++]!==56||(a[h++]+1&253)!=56||a[h++]!==97)throw new Error("Invalid GIF 87a/89a header.");var b=a[h++]|a[h++]<<8,y=a[h++]|a[h++]<<8,s=a[h++],u=1<<1+(7&s),l=(a[h++],a[h++],null),d=null,p=(s>>7&&(l=h,h+=3*(d=u)),!0),o=[],i=0,f=null,g=0,j=null;for(this.width=b,this.height=y;p&&h>2&7,h++;break;case 254:for(;;){if(!(0<=(E=a[h++])))throw Error("Invalid block size");if(E===0)break;h+=E}break;default:throw new Error("Unknown graphic control label: 0x"+a[h-1].toString(16))}break;case 44:var E,T=a[h++]|a[h++]<<8,P=a[h++]|a[h++]<<8,R=a[h++]|a[h++]<<8,C=a[h++]|a[h++]<<8,q=a[h++],D=q>>6&1,A=1<<1+(7&q),F=l,N=d,G=!1,q=(q>>7&&(G=!0,F=h,h+=3*(N=A)),h);for(h++;;){if(!(0<=(E=a[h++])))throw Error("Invalid block size");if(E===0)break;h+=E}o.push({x:T,y:P,width:R,height:C,has_local_palette:G,palette_offset:F,palette_size:N,data_offset:q,data_length:h-q,transparent_index:f,interlaced:!!D,delay:i,disposal:g});break;case 59:p=!1;break;default:throw new Error("Unknown gif block: 0x"+a[h-1].toString(16))}this.numFrames=function(){return o.length},this.loopCount=function(){return j},this.frameInfo=function(V){if(V<0||V>=o.length)throw new Error("Frame index out of range.");return o[V]},this.decodeAndBlitFrameBGRA=function(V,z){for(var V=this.frameInfo(V),Y=V.width*V.height,Q=new Uint8Array(Y),oe=(m(a,V.data_offset,Q,Y),V.palette_offset),k=V.transparent_index,I=(k===null&&(k=256),V.width),B=b-I,W=I,$=4*(V.y*b+V.x),te=4*((V.y+V.height)*b+V.x),se=$,fe=4*B,ie=(V.interlaced===!0&&(fe+=4*b*7),8),de=0,ce=Q.length;de>=1)),me===k?se+=4:(ee=a[oe+3*me],ue=a[oe+3*me+1],me=a[oe+3*me+2],z[se++]=me,z[se++]=ue,z[se++]=ee,z[se++]=255),--W}},this.decodeAndBlitFrameRGBA=function(V,z){for(var V=this.frameInfo(V),Y=V.width*V.height,Q=new Uint8Array(Y),oe=(m(a,V.data_offset,Q,Y),V.palette_offset),k=V.transparent_index,I=(k===null&&(k=256),V.width),B=b-I,W=I,$=4*(V.y*b+V.x),te=4*((V.y+V.height)*b+V.x),se=$,fe=4*B,ie=(V.interlaced===!0&&(fe+=4*b*7),8),de=0,ce=Q.length;de>=1)),me===k?se+=4:(ee=a[oe+3*me],ue=a[oe+3*me+1],me=a[oe+3*me+2],z[se++]=ee,z[se++]=ue,z[se++]=me,z[se++]=255),--W}}}}catch{}},{}],254:[function(t,w,x){(function(c){var m,a;m=this,a=function(h){function b(U){if(this==null)throw TypeError();var S,O=String(this),L=O.length,U=U?Number(U):0;if(!((U=U!=U?0:U)<0||L<=U))return 55296<=(S=O.charCodeAt(U))&&S<=56319&&U+1>>16-S;return v.tag>>>=S,v.bitcount-=S,L+O}function A(v,S){for(;v.bitcount<24;)v.tag|=v.source[v.sourceIndex++]<>>=1,O+=S.table[++U],0<=(L-=S.table[U]););return v.tag=H,v.bitcount-=U,S.trans[O+L]}function F(v,S,O){for(;;){var L=A(v,S);if(L===256)return s;if(L<256)v.dest[v.destLen++]=L;else for(var U,H=D(v,i[L-=257],f[L]),L=A(v,O),X=U=v.destLen-D(v,g[L],j[L]);X>>=1,L=U,D(H,2,0)){case 0:O=function(Me){for(var tt,ut;8this.x2&&(this.x2=v)),typeof S=="number"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=S,this.y2=S),Sthis.y2&&(this.y2=S))},Y.prototype.addX=function(v){this.addPoint(v,null)},Y.prototype.addY=function(v){this.addPoint(null,v)},Y.prototype.addBezier=function(v,S,O,L,U,H,X,J){var le=[v,S],ae=[O,L],ve=[U,H],ke=[X,J];this.addPoint(v,S),this.addPoint(X,J);for(var _e=0;_e<=1;_e++){var he,Re=6*le[_e]-12*ae[_e]+6*ve[_e],Oe=-3*le[_e]+9*ae[_e]-9*ve[_e]+3*ke[_e],Le=3*ae[_e]-3*le[_e];Oe==0?Re==0||0<(he=-Le/Re)&&he<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],he)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],he))):(he=Math.pow(Re,2)-4*Le*Oe)<0||(0<(Le=(-Re+Math.sqrt(he))/(2*Oe))&&Le<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],Le)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],Le))),0<(Le=(-Re-Math.sqrt(he))/(2*Oe))&&Le<1&&(_e===0&&this.addX(z(le[_e],ae[_e],ve[_e],ke[_e],Le)),_e===1&&this.addY(z(le[_e],ae[_e],ve[_e],ke[_e],Le))))}},Y.prototype.addQuad=function(v,S,O,L,U,H){O=v+2/3*(O-v),L=S+2/3*(L-S),this.addBezier(v,S,O,L,O+1/3*(U-v),L+1/3*(H-S),U,H)},Q.prototype.moveTo=function(v,S){this.commands.push({type:"M",x:v,y:S})},Q.prototype.lineTo=function(v,S){this.commands.push({type:"L",x:v,y:S})},Q.prototype.curveTo=Q.prototype.bezierCurveTo=function(v,S,O,L,U,H){this.commands.push({type:"C",x1:v,y1:S,x2:O,y2:L,x:U,y:H})},Q.prototype.quadTo=Q.prototype.quadraticCurveTo=function(v,S,O,L){this.commands.push({type:"Q",x1:v,y1:S,x:O,y:L})},Q.prototype.close=Q.prototype.closePath=function(){this.commands.push({type:"Z"})},Q.prototype.extend=function(v){var S;if(v.commands)v=v.commands;else if(v instanceof Y)return S=v,this.moveTo(S.x1,S.y1),this.lineTo(S.x2,S.y1),this.lineTo(S.x2,S.y2),this.lineTo(S.x1,S.y2),void this.close();Array.prototype.push.apply(this.commands,v)},Q.prototype.getBoundingBox=function(){for(var v=new Y,S=0,O=0,L=0,U=0,H=0;H>8&255,255&v]},$.USHORT=te(2),W.SHORT=function(v){return[(v=32768<=v?-(65536-v):v)>>8&255,255&v]},$.SHORT=te(2),W.UINT24=function(v){return[v>>16&255,v>>8&255,255&v]},$.UINT24=te(3),W.ULONG=function(v){return[v>>24&255,v>>16&255,v>>8&255,255&v]},$.ULONG=te(4),W.LONG=function(v){return[(v=2147483648<=v?-(4294967296-v):v)>>24&255,v>>16&255,v>>8&255,255&v]},$.LONG=te(4),W.FIXED=W.ULONG,$.FIXED=$.ULONG,W.FWORD=W.SHORT,$.FWORD=$.SHORT,W.UFWORD=W.USHORT,$.UFWORD=$.USHORT,W.LONGDATETIME=function(v){return[0,0,0,0,v>>24&255,v>>16&255,v>>8&255,255&v]},$.LONGDATETIME=te(8),W.TAG=function(v){return I.argument(v.length===4,"Tag should be exactly 4 ASCII characters."),[v.charCodeAt(0),v.charCodeAt(1),v.charCodeAt(2),v.charCodeAt(3)]},$.TAG=te(4),W.Card8=W.BYTE,$.Card8=$.BYTE,W.Card16=W.USHORT,$.Card16=$.USHORT,W.OffSize=W.BYTE,$.OffSize=$.BYTE,W.SID=W.USHORT,$.SID=$.USHORT,W.NUMBER=function(v){return-107<=v&&v<=107?[v+139]:108<=v&&v<=1131?[247+((v-=108)>>8),255&v]:-1131<=v&&v<=-108?[251+((v=-v-108)>>8),255&v]:-32768<=v&&v<=32767?W.NUMBER16(v):W.NUMBER32(v)},$.NUMBER=function(v){return W.NUMBER(v).length},W.NUMBER16=function(v){return[28,v>>8&255,255&v]},$.NUMBER16=te(3),W.NUMBER32=function(v){return[29,v>>24&255,v>>16&255,v>>8&255,255&v]},$.NUMBER32=te(5),W.REAL=function(v){for(var S=v.toString(),O=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(S),L=(O&&(O=parseFloat("1e"+((O[2]?+O[2]:0)+O[1].length)),S=(Math.round(v*O)/O).toString()),""),U=0,H=S.length;U>8&255,S[S.length]=255&L}return S},$.UTF16=function(v){return 2*v.length};var se,fe={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊©⁄€‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæøṁṖṗɼƒſṠ«»… ÀÃÕŒœ–—“”‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ⁊ÂÊÁËÈÍÎÏÌÓÔ♣ÒÚÛÙıÝýŴŵẄẅẀẁẂẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-inuit":"ᐃᐄᐅᐆᐊᐋᐱᐲᐳᐴᐸᐹᑉᑎᑏᑐᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌᒍᒎᒐᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈᓐᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“”‘’ᕘᕙᕚᕝᕆᕇᕈᕉᕋᕌᕐᕿᖀᖁᖂᖃᖄᖅᖏᖐᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼŁł","x-mac-ce":"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑∏π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄€‹›Țț‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔÒÚÛÙˆ˜¯˘˙˚¸˝˛ˇ"},ie=(B.MACSTRING=function(v,S,O,L){var U=fe[L];if(U!==void 0){for(var H="",X=0;X>8&255,_e+256&255)}return ae})(v,L,S);return S},W.INDEX=function(v){for(var S=1,O=[S],L=[],U=0;U>8,S[ve+1]=255&ke,S=S.concat(L[ae])}return S},$.TABLE=function(v){for(var S=0,O=v.fields.length,L=0;L>1,J.skip("uShort",3),Le.glyphIndexMap={};for(var ut,rt=new Ee.Parser(Te,Me+tt+14),nt=new Ee.Parser(Te,Me+tt+16+2*ut),ct=new Ee.Parser(Te,Me+tt+16+4*ut),St=new Ee.Parser(Te,Me+tt+16+6*ut),Nt=Me+tt+16+8*ut,Vt=0;Vt>4,X=15&X;if(H==15||(L+=U[H],X==15))break;L+=U[X]}return parseFloat(L)}if(32<=S&&S<=246)return S-139;if(247<=S&&S<=250)return 256*(S-247)+v.parseByte()+108;if(251<=S&&S<=254)return 256*-(S-251)-v.parseByte()-108;throw new Error("Invalid b0 "+S)}function ar(v,S,O){var L=new Ee.Parser(v,S=S!==void 0?S:0),U=[],H=[];for(O=O!==void 0?O:v.length;L.relativeOffset>1,he.length=0,Oe=!0}return function nt(ct){for(var St,Nt,Vt,lr,ur,Ur,wt,Tt,vt,cr,Lt,nr,Mt=0;MtMath.abs(nr-Me)?Te=Lt+he.shift():Me=nr+he.shift(),_e.curveTo(L,U,H,X,wt,Tt),_e.curveTo(vt,cr,Lt,nr,Te,Me);break;default:console.log("Glyph "+S.index+": unknown operator 1200"+$t),he.length=0}break;case 14:0>3;break;case 21:2>16),Mt+=2;break;case 29:ur=he.pop()+v.gsubrsBias,(Ur=v.gsubrs[ur])&&nt(Ur);break;case 30:for(;0=O.begin&&v=ge.length&&(H=L.parseChar(),O.names.push(L.parseString(H)));break;case 2.5:O.numberOfGlyphs=L.parseUShort(),O.offset=new Array(O.numberOfGlyphs);for(var J=0;Jke.value.tag?1:-1}),S.fields=S.fields.concat(L),S.fields=S.fields.concat(U),S}function Ou(v,S,O){for(var L=0;L 123 are reserved for internal usage");he|=1<>>1,H=v[U].tag;if(H===S)return U;H>>1,H=v[U];if(H===S)return U;H>>1,X=(U=v[H]).start;if(X===S)return U;X(U=v[O-1]).end?0:U}function Ls(v,S){this.font=v,this.tableName=S}function As(v){Ls.call(this,v,"gpos")}function Zr(v){Ls.call(this,v,"gsub")}function Au(v,S,O){for(var L=v.subtables,U=0;US.points.length-1||L.matchedPoints[1]>U.points.length-1)throw Error("Matched points out of range in "+S.name);var X=S.points[L.matchedPoints[0]],J=U.points[L.matchedPoints[1]],L={xScale:L.xScale,scale01:L.scale01,scale10:L.scale10,yScale:L.yScale,dx:0,dy:0},J=ra([J],L)[0];L.dx=X.x-J.x,L.dy=X.y-J.y,H=ra(U.points,L)}S.points=S.points.concat(H)}}return Du(S.points)}(As.prototype=Ls.prototype={searchTag:ta,binSearch:Pu,getTable:function(v){var S=this.font.tables[this.tableName];return S=!S&&v?this.font.tables[this.tableName]=this.createDefaultTable():S},getScriptNames:function(){var v=this.getTable();return v?v.scripts.map(function(S){return S.tag}):[]},getDefaultScriptName:function(){var v=this.getTable();if(v){for(var S=!1,O=0;O=X[S-1].tag,"Features must be added in alphabetical order."),X.push(U={tag:O,feature:{params:0,lookupListIndexes:[]}}),H.push(S),U.feature}},getLookupTables:function(H,S,O,L,U){var H=this.getFeatureTable(H,S,O,U),X=[];if(H){for(var J,le=H.lookupListIndexes,ae=this.font.tables[this.tableName].lookups,ve=0;ve",H),S.stack.push(Math.round(64*H))}function oa(v,S){var O=S.stack,L=O.pop(),U=S.fv,H=S.pv,X=S.ppem,J=S.deltaBase+16*(v-1),le=S.deltaShift,ae=S.z0;h.DEBUG&&console.log(S.step,"DELTAP["+v+"]",L,O);for(var ve=0;ve>4)===X&&(0<=(_e=(15&_e)-8)&&_e++,h.DEBUG&&console.log(S.step,"DELTAPFIX",ke,"by",_e*le),ke=ae[ke],U.setRelative(ke,ke,_e*le,H))}}function Is(v,S){var O=S.stack,L=O.pop();h.DEBUG&&console.log(S.step,"ROUND[]"),O.push(64*S.round(L/64))}function sa(v,S){var O=S.stack,L=O.pop(),U=S.ppem,H=S.deltaBase+16*(v-1),X=S.deltaShift;h.DEBUG&&console.log(S.step,"DELTAC["+v+"]",L,O);for(var J=0;J>4)===U&&(0<=(ae=(15&ae)-8)&&ae++,ae=ae*X,h.DEBUG&&console.log(S.step,"DELTACFIX",le,"by",ae),S.cvt[le]+=ae)}}function rc(v,S){var O,U=S.stack,L=U.pop(),U=U.pop(),H=S.z2[L],X=S.z1[U];h.DEBUG&&console.log(S.step,"SDPVTL["+v+"]",L,U),L=v?(O=H.y-X.y,X.x-H.x):(O=X.x-H.x,X.y-H.y),S.dpv=Fo(O,L)}function yn(v,S){var O=S.stack,L=S.prog,U=S.ip;h.DEBUG&&console.log(S.step,"PUSHB["+v+"]");for(var H=0;H":"_")+(L?"R":"_")+(U===0?"Gr":U===1?"Bl":U===2?"Wh":"")+"]",v?le+"("+H.cvt[le]+","+J+")":"",ae,"(d =",X,"->",Le*Oe,")"),H.rp1=H.rp0,H.rp2=ae,S&&(H.rp0=ae)}Fu.prototype.exec=function(v,S){if(typeof S!="number")throw new Error("Point size is not a number!");if(!(2",L),J.interpolate(ke,H,X,le),J.touch(ke)}v.loop=1},Ku.bind(void 0,0),Ku.bind(void 0,1),function(v){for(var S=v.stack,O=v.rp0,L=v.z0[O],U=v.loop,H=v.fv,X=v.pv,J=v.z1;U--;){var le=S.pop(),ae=J[le];h.DEBUG&&console.log(v.step,(1"u"?tp:rp)(v,function(O,L){if(O)return S(O);var U;try{U=ia(L)}catch(H){return S(H,null)}return S(null,U)})},h.loadSync=function(v){return ia(Ru(t("fs").readFileSync(v)))},Object.defineProperty(h,"__esModule",{value:!0})},a(typeof x=="object"&&w!==void 0?x:m.opentype={})}).call(this,t("buffer").Buffer)},{buffer:4,fs:2}],255:[function(t,w,x){(function(c){function m(b,y){for(var s=0,u=b.length-1;0<=u;u--){var l=b[u];l==="."?b.splice(u,1):l===".."?(b.splice(u,1),s++):s&&(b.splice(u,1),s--)}if(y)for(;s--;)b.unshift("..");return b}function a(b,y){if(b.filter)return b.filter(y);for(var s=[],u=0;u'.concat(i,"").concat(d,""),this.dummyDOM||(this.dummyDOM=document.getElementById(o).parentNode),this.descriptions?this.descriptions.fallbackElements||(this.descriptions.fallbackElements={}):this.descriptions={fallbackElements:{}},this.descriptions.fallbackElements[l]?this.descriptions.fallbackElements[l].innerHTML!==i&&(this.descriptions.fallbackElements[l].innerHTML=i):this._describeElementHTML("fallback",l,i),p===this.LABEL&&(this.descriptions.labelElements||(this.descriptions.labelElements={}),this.descriptions.labelElements[l]?this.descriptions.labelElements[l].innerHTML!==i&&(this.descriptions.labelElements[l].innerHTML=i):this._describeElementHTML("label",l,i)))},c.default.prototype._describeHTML=function(l,d){var p,o=this.canvas.id;l==="fallback"?(this.dummyDOM.querySelector("#".concat(o+m))?this.dummyDOM.querySelector("#"+o+h).insertAdjacentHTML("beforebegin",'

        ')):(p='

        '),this.dummyDOM.querySelector("#".concat(o,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(o,"accessibleOutput")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#".concat(o)).innerHTML=p),this.descriptions.fallback=this.dummyDOM.querySelector("#".concat(o).concat(a)),this.descriptions.fallback.innerHTML=d):l==="label"&&(this.dummyDOM.querySelector("#".concat(o+b))?this.dummyDOM.querySelector("#".concat(o+s))&&this.dummyDOM.querySelector("#".concat(o+s)).insertAdjacentHTML("beforebegin",'

        ')):(p='

        '),this.dummyDOM.querySelector("#".concat(o,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(o,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",p):this.dummyDOM.querySelector("#"+o).insertAdjacentHTML("afterend",p)),this.descriptions.label=this.dummyDOM.querySelector("#"+o+y),this.descriptions.label.innerHTML=d)},c.default.prototype._describeElementHTML=function(l,d,p){var o,i=this.canvas.id;l==="fallback"?(this.dummyDOM.querySelector("#".concat(i+m))?this.dummyDOM.querySelector("#"+i+h)||this.dummyDOM.querySelector("#"+i+a).insertAdjacentHTML("afterend",'
        Canvas elements and their descriptions
        ')):(o='
        Canvas elements and their descriptions
        '),this.dummyDOM.querySelector("#".concat(i,"accessibleOutput"))?this.dummyDOM.querySelector("#".concat(i,"accessibleOutput")).insertAdjacentHTML("beforebegin",o):this.dummyDOM.querySelector("#"+i).innerHTML=o),(o=document.createElement("tr")).id=i+"_fte_"+d,this.dummyDOM.querySelector("#"+i+h).appendChild(o),this.descriptions.fallbackElements[d]=this.dummyDOM.querySelector("#".concat(i).concat("_fte_").concat(d)),this.descriptions.fallbackElements[d].innerHTML=p):l==="label"&&(this.dummyDOM.querySelector("#".concat(i+b))?this.dummyDOM.querySelector("#".concat(i+s))||this.dummyDOM.querySelector("#"+i+y).insertAdjacentHTML("afterend",'
        ')):(o='
        '),this.dummyDOM.querySelector("#".concat(i,"accessibleOutputLabel"))?this.dummyDOM.querySelector("#".concat(i,"accessibleOutputLabel")).insertAdjacentHTML("beforebegin",o):this.dummyDOM.querySelector("#"+i).insertAdjacentHTML("afterend",o)),(l=document.createElement("tr")).id=i+"_lte_"+d,this.dummyDOM.querySelector("#"+i+s).appendChild(l),this.descriptions.labelElements[d]=this.dummyDOM.querySelector("#".concat(i).concat("_lte_").concat(d)),this.descriptions.labelElements[d].innerHTML=p)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.ends-with":195,"core-js/modules/es.string.replace":201}],261:[function(t,w,x){t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.map"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.map"),t("core-js/modules/es.string.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.prototype._updateGridOutput=function(c){var m,a,h,b;this.dummyDOM.querySelector("#".concat(c,"_summary"))&&(m=this._accessibleOutputs[c],h=function(y,s,u,l){return s="".concat(s," canvas, ").concat(u," by ").concat(l," pixels, contains ").concat(y[0]),s=(y[0]===1?"".concat(s," shape: "):"".concat(s," shapes: ")).concat(y[1]),s}((a=function(y,s){var u,l="",d="",p=0;for(u in s){var o,i=0;for(o in s[u]){var f='
      • ').concat(s[u][o].color," ").concat(u,",");u==="line"?f+=" location = ".concat(s[u][o].pos,", length = ").concat(s[u][o].length," pixels"):(f+=" location = ".concat(s[u][o].pos),u!=="point"&&(f+=", area = ".concat(s[u][o].area," %")),f+="
      • "),l+=f,i++,p++}d=1').concat(s[u][i].color," ").concat(u,"
        "):'').concat(s[u][i].color," ").concat(u," midpoint"),o[s[u][i].loc.locY][s[u][i].loc.locX]?o[s[u][i].loc.locY][s[u][i].loc.locX]=o[s[u][i].loc.locY][s[u][i].loc.locX]+" "+f:o[s[u][i].loc.locY][s[u][i].loc.locX]=f,d++}for(l in o){var g,j="";for(g in o[l])j+="",o[l][g]!==void 0&&(j+=o[l][g]),j+="";p=p+j+""}return p}(c,this.ingredients.shapes),h!==m.summary.innerHTML&&(m.summary.innerHTML=h),b!==m.map.innerHTML&&(m.map.innerHTML=b),a.details!==m.shapeDetails.innerHTML&&(m.shapeDetails.innerHTML=a.details),this._accessibleOutputs[c]=m)},t=t.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.from":161,"core-js/modules/es.array.map":167,"core-js/modules/es.string.iterator":197}],262:[function(t,w,x){t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.fill"),t("core-js/modules/es.array.from"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.map"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.fill"),t("core-js/modules/es.array.map"),t("core-js/modules/es.number.to-fixed"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var c=(t=t("../core/main"))&&t.__esModule?t:{default:t};function m(h){return function(b){if(Array.isArray(b)){for(var y=0,s=new Array(b.length);y')):this.dummyDOM.querySelector("#".concat(l)).innerHTML='
        '))):b==="Label"&&(y=l+h+(d=b),this.dummyDOM.querySelector("#".concat(s=l+"accessibleOutput"+b))||(this.dummyDOM.querySelector("#".concat(l,"_Label"))?this.dummyDOM.querySelector("#".concat(l,"_Label")):this.dummyDOM.querySelector("#".concat(l))).insertAdjacentHTML("afterend",'
        '))),this._accessibleOutputs[y]={},h==="textOutput"?(d="#".concat(l,"gridOutput").concat(d),u='
        Text Output

          '),this.dummyDOM.querySelector(d)?this.dummyDOM.querySelector(d).insertAdjacentHTML("beforebegin",u):this.dummyDOM.querySelector("#".concat(s)).innerHTML=u,this._accessibleOutputs[y].list=this.dummyDOM.querySelector("#".concat(y,"_list"))):h==="gridOutput"&&(d="#".concat(l,"textOutput").concat(d),u='
          Grid Output

            '),this.dummyDOM.querySelector(d)?this.dummyDOM.querySelector(d).insertAdjacentHTML("afterend",u):this.dummyDOM.querySelector("#".concat(s)).innerHTML=u,this._accessibleOutputs[y].map=this.dummyDOM.querySelector("#".concat(y,"_map"))),this._accessibleOutputs[y].shapeDetails=this.dummyDOM.querySelector("#".concat(y,"_shapeDetails")),this._accessibleOutputs[y].summary=this.dummyDOM.querySelector("#".concat(y,"_summary"))},c.default.prototype._updateAccsOutput=function(){var h=this.canvas.id;JSON.stringify(this.ingredients.shapes)===this.ingredients.pShapes&&this.ingredients.colors.background===this.ingredients.pBackground||(this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this._accessibleOutputs.text&&this._updateTextOutput(h+"textOutput"),this._accessibleOutputs.grid&&this._updateGridOutput(h+"gridOutput"),this._accessibleOutputs.textLabel&&this._updateTextOutput(h+"textOutputLabel"),this._accessibleOutputs.gridLabel&&this._updateGridOutput(h+"gridOutputLabel"))},c.default.prototype._accsBackground=function(h){this.ingredients.pShapes=JSON.stringify(this.ingredients.shapes),this.ingredients.pBackground=this.ingredients.colors.background,this.ingredients.shapes={},this.ingredients.colors.backgroundRGBA!==h&&(this.ingredients.colors.backgroundRGBA=h,this.ingredients.colors.background=this._rgbColorName(h))},c.default.prototype._accsCanvasColors=function(h,b){h==="fill"?this.ingredients.colors.fillRGBA!==b&&(this.ingredients.colors.fillRGBA=b,this.ingredients.colors.fill=this._rgbColorName(b)):h==="stroke"&&this.ingredients.colors.strokeRGBA!==b&&(this.ingredients.colors.strokeRGBA=b,this.ingredients.colors.stroke=this._rgbColorName(b))},c.default.prototype._accsOutput=function(h,b){h==="ellipse"&&b[2]===b[3]?h="circle":h==="rectangle"&&b[2]===b[3]&&(h="square");var y,s,u={},l=!0,d=function(o,i){var f;return o=o==="rectangle"||o==="ellipse"||o==="arc"||o==="circle"||o==="square"?(f=Math.round(i[0]+i[2]/2),Math.round(i[1]+i[3]/2)):o==="triangle"?(f=(i[0]+i[2]+i[4])/3,(i[1]+i[3]+i[5])/3):o==="quadrilateral"?(f=(i[0]+i[2]+i[4]+i[6])/4,(i[1]+i[3]+i[5]+i[7])/4):o==="line"?(f=(i[0]+i[2])/2,(i[1]+i[3])/2):(f=i[0],i[1]),[f,o]}(h,b);if(h==="line"?(u.color=this.ingredients.colors.stroke,u.length=Math.round(this.dist(b[0],b[1],b[2],b[3])),y=this._getPos(b[0],[1]),s=this._getPos(b[2],[3]),u.loc=a(d,this.width,this.height),u.pos=y===s?"at ".concat(y):"from ".concat(y," to ").concat(s)):(h==="point"?u.color=this.ingredients.colors.stroke:(u.color=this.ingredients.colors.fill,u.area=this._getArea(h,b)),u.pos=this._getPos.apply(this,m(d)),u.loc=a(d,this.width,this.height)),this.ingredients.shapes[h]){if(this.ingredients.shapes[h]!==[u]){for(var p in this.ingredients.shapes[h])JSON.stringify(this.ingredients.shapes[h][p])===JSON.stringify(u)&&(l=!1);l===!0&&this.ingredients.shapes[h].push(u)}}else this.ingredients.shapes[h]=[u]},c.default.prototype._getPos=function(s,y){var s=new DOMPointReadOnly(s,y),y=this._renderer.isP3D?new DOMMatrix(this._renderer.uMVMatrix.mat4):this.drawingContext.getTransform(),s=s.matrixTransform(y),y=s.x,s=s.y,u=this.width*this._pixelDensity,l=this.height*this._pixelDensity;return y<.4*u?s<.4*l?"top left":.6*lMath.PI?u+=s:u-=s)):h==="ellipse"||h==="circle"?u=3.14*b[2]/2*b[3]/2:h==="line"||h==="point"?u=0:h==="quadrilateral"?u=Math.abs((b[6]+b[0])*(b[7]-b[1])+(b[0]+b[2])*(b[1]-b[3])+(b[2]+b[4])*(b[3]-b[5])+(b[4]+b[6])*(b[5]-b[7]))/2:h==="rectangle"||h==="square"?u=b[2]*b[3]:h==="triangle"&&(u=Math.abs(b[0]*(b[3]-b[5])+b[2]*(b[5]-b[1])+b[4]*(b[1]-b[3]))/2),this.width*this._pixelDensity),d=this.height*this._pixelDensity,p=[new DOMPoint(0,0),new DOMPoint(l,0),new DOMPoint(l,d),new DOMPoint(0,d)],o=(this._renderer.isP3D?new DOMMatrix(this._renderer.uMVMatrix.mat4):this.drawingContext.getTransform()).inverse(),i=p.map(function(g){return g.matrixTransform(o)}),f=Math.abs((i[3].x+i[0].x)*(i[3].y-i[0].y)+(i[0].x+i[1].x)*(i[0].y-i[1].y)+(i[1].x+i[2].x)*(i[1].y-i[2].y)+(i[2].x+i[3].x)*(i[2].y-i[3].y))/2;return Math.round(100*u/f)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.fill":155,"core-js/modules/es.array.from":161,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.map":167,"core-js/modules/es.number.to-fixed":180,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/web.dom-collections.iterator":243}],263:[function(t,w,x){t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.concat"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.prototype._updateTextOutput=function(c){var m,a,h,b;this.dummyDOM.querySelector("#".concat(c,"_summary"))&&(m=this._accessibleOutputs[c],h=function(y,s,u,l){return u="Your output is a, ".concat(u," by ").concat(l," pixels, ").concat(s," canvas containing the following"),u=y===1?"".concat(u," shape:"):"".concat(u," ").concat(y," shapes:"),u}((a=function(y,s){var u,l="",d=0;for(u in s)for(var p in s[u]){var o='
          • ').concat(s[u][p].color," ").concat(u,"");u==="line"?o+=", ".concat(s[u][p].pos,", ").concat(s[u][p].length," pixels long.
          • "):(o+=", at ".concat(s[u][p].pos),u!=="point"&&(o+=", covering ".concat(s[u][p].area,"% of the canvas")),o+="."),l+=o,d++}return{numShapes:d,listShapes:l}}(c,this.ingredients.shapes)).numShapes,this.ingredients.colors.background,this.width,this.height),b=function(y,s){var u,l="",d=0;for(u in s)for(var p in s[u]){var o='').concat(s[u][p].color," ").concat(u,"");u==="line"?o+="location = ".concat(s[u][p].pos,"length = ").concat(s[u][p].length," pixels"):(o+="location = ".concat(s[u][p].pos,""),u!=="point"&&(o+=" area = ".concat(s[u][p].area,"%")),o+=""),l+=o,d++}return l}(c,this.ingredients.shapes),h!==m.summary.innerHTML&&(m.summary.innerHTML=h),a.listShapes!==m.list.innerHTML&&(m.list.innerHTML=a.listShapes),b!==m.shapeDetails.innerHTML&&(m.shapeDetails.innerHTML=b),this._accessibleOutputs[c]=m)},t=t.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.concat":152}],264:[function(t,w,x){var c=(c=t("./core/main"))&&c.__esModule?c:{default:c};t("./core/constants"),t("./core/environment"),t("./core/friendly_errors/stacktrace"),t("./core/friendly_errors/validate_params"),t("./core/friendly_errors/file_errors"),t("./core/friendly_errors/fes_core"),t("./core/friendly_errors/sketch_reader"),t("./core/helpers"),t("./core/legacy"),t("./core/preload"),t("./core/p5.Element"),t("./core/p5.Graphics"),t("./core/p5.Renderer"),t("./core/p5.Renderer2D"),t("./core/rendering"),t("./core/shim"),t("./core/structure"),t("./core/transform"),t("./core/shape/2d_primitives"),t("./core/shape/attributes"),t("./core/shape/curves"),t("./core/shape/vertex"),t("./accessibility/outputs"),t("./accessibility/textOutput"),t("./accessibility/gridOutput"),t("./accessibility/color_namer"),t("./color/color_conversion"),t("./color/creating_reading"),t("./color/p5.Color"),t("./color/setting"),t("./data/p5.TypedDict"),t("./data/local_storage.js"),t("./dom/dom"),t("./accessibility/describe"),t("./events/acceleration"),t("./events/keyboard"),t("./events/mouse"),t("./events/touch"),t("./image/filters"),t("./image/image"),t("./image/loading_displaying"),t("./image/p5.Image"),t("./image/pixels"),t("./io/files"),t("./io/p5.Table"),t("./io/p5.TableRow"),t("./io/p5.XML"),t("./math/calculation"),t("./math/math"),t("./math/noise"),t("./math/p5.Vector"),t("./math/random"),t("./math/trigonometry"),t("./typography/attributes"),t("./typography/loading_displaying"),t("./typography/p5.Font"),t("./utilities/array_functions"),t("./utilities/conversion"),t("./utilities/string_functions"),t("./utilities/time_date"),t("./webgl/3d_primitives"),t("./webgl/interaction"),t("./webgl/light"),t("./webgl/loading"),t("./webgl/material"),t("./webgl/p5.Camera"),t("./webgl/p5.DataArray"),t("./webgl/p5.Geometry"),t("./webgl/p5.Matrix"),t("./webgl/p5.RendererGL.Immediate"),t("./webgl/p5.RendererGL"),t("./webgl/p5.RendererGL.Retained"),t("./webgl/p5.Framebuffer"),t("./webgl/p5.Shader"),t("./webgl/p5.RenderBuffer"),t("./webgl/p5.Texture"),t("./webgl/text"),t("./core/init"),w.exports=c.default},{"./accessibility/color_namer":259,"./accessibility/describe":260,"./accessibility/gridOutput":261,"./accessibility/outputs":262,"./accessibility/textOutput":263,"./color/color_conversion":265,"./color/creating_reading":266,"./color/p5.Color":267,"./color/setting":268,"./core/constants":269,"./core/environment":270,"./core/friendly_errors/fes_core":271,"./core/friendly_errors/file_errors":272,"./core/friendly_errors/sketch_reader":273,"./core/friendly_errors/stacktrace":274,"./core/friendly_errors/validate_params":275,"./core/helpers":276,"./core/init":277,"./core/legacy":279,"./core/main":280,"./core/p5.Element":281,"./core/p5.Graphics":282,"./core/p5.Renderer":283,"./core/p5.Renderer2D":284,"./core/preload":285,"./core/rendering":286,"./core/shape/2d_primitives":287,"./core/shape/attributes":288,"./core/shape/curves":289,"./core/shape/vertex":290,"./core/shim":291,"./core/structure":292,"./core/transform":293,"./data/local_storage.js":294,"./data/p5.TypedDict":295,"./dom/dom":296,"./events/acceleration":297,"./events/keyboard":298,"./events/mouse":299,"./events/touch":300,"./image/filters":301,"./image/image":302,"./image/loading_displaying":303,"./image/p5.Image":304,"./image/pixels":305,"./io/files":306,"./io/p5.Table":307,"./io/p5.TableRow":308,"./io/p5.XML":309,"./math/calculation":310,"./math/math":311,"./math/noise":312,"./math/p5.Vector":313,"./math/random":314,"./math/trigonometry":315,"./typography/attributes":316,"./typography/loading_displaying":317,"./typography/p5.Font":318,"./utilities/array_functions":319,"./utilities/conversion":320,"./utilities/string_functions":321,"./utilities/time_date":322,"./webgl/3d_primitives":323,"./webgl/interaction":325,"./webgl/light":326,"./webgl/loading":327,"./webgl/material":328,"./webgl/p5.Camera":329,"./webgl/p5.DataArray":330,"./webgl/p5.Framebuffer":331,"./webgl/p5.Geometry":332,"./webgl/p5.Matrix":333,"./webgl/p5.RenderBuffer":334,"./webgl/p5.RendererGL":337,"./webgl/p5.RendererGL.Immediate":335,"./webgl/p5.RendererGL.Retained":336,"./webgl/p5.Shader":338,"./webgl/p5.Texture":339,"./webgl/text":340}],265:[function(t,w,x){Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t},t.default.ColorConversion={_hsbaToHSLA:function(c){var m=c[0],a=c[1],h=c[2],b=(2-a)*h/2;return b!=0&&(b==1?a=0:b<.5?a/=2-a:a=a*h/(2-2*b)),[m,a,b,c[3]]},_hsbaToRGBA:function(c){var m,a,h,b,y,s=6*c[0],u=c[1],l=c[2];return u===0?[l,l,l,c[3]]:(a=l*(1-u),h=l*(1-u*(s-(m=Math.floor(s)))),u=l*(1-u*(1+m-s)),s=m===1?(b=h,y=l,a):m===2?(b=a,y=l,u):m===3?(b=a,y=h,l):m===4?(b=u,y=a,l):m===5?(b=l,y=a,h):(b=l,y=u,a),[b,y,s,c[3]])},_hslaToHSBA:function(c){var m=c[0],a=c[1],h=c[2],b=h<.5?(1+a)*h:h+a-h*a;return[m,a=2*(b-h)/b,b,c[3]]},_hslaToRGBA:function(c){var m,a=6*c[0],h=c[1],b=c[2];return h===0?[b,b,b,c[3]]:[(m=function(y,s,u){return y<0?y+=6:6<=y&&(y-=6),y<1?s+(u-s)*y:y<3?u:y<4?s+(u-s)*(4-y):s})(2+a,h=2*b-(b=b<.5?(1+h)*b:b+h-b*h),b),m(a,h,b),m(a-2,h,b),c[3]]},_rgbaToHSBA:function(c){var m,a,h=c[0],b=c[1],y=c[2],s=Math.max(h,b,y),u=s-Math.min(h,b,y);return u==0?a=m=0:(a=u/s,h===s?m=(b-y)/u:b===s?m=2+(y-h)/u:y===s&&(m=4+(h-b)/u),m<0?m+=6:6<=m&&(m-=6)),[m/6,a,s,c[3]]},_rgbaToHSLA:function(c){var m,a,h=c[0],b=c[1],y=c[2],s=Math.max(h,b,y),l=Math.min(h,b,y),u=s+l,l=s-l;return l==0?a=m=0:(a=u<1?l/u:l/(2-u),h===s?m=(b-y)/l:b===s?m=2+(y-h)/l:y===s&&(m=4+(h-b)/l),m<0?m+=6:6<=m&&(m-=6)),[m/6,a,u/2,c[3]]}},t=t.default.ColorConversion,x.default=t},{"../core/main":280}],266:[function(t,w,x){function c(s){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u})(s)}function m(s){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(u){return c(u)}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":c(u)})(s)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.map"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.map"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=(y=t("../core/main"))&&y.__esModule?y:{default:y},h=function(s){if(s&&s.__esModule)return s;if(s===null||m(s)!=="object"&&typeof s!="function")return{default:s};var u=b();if(u&&u.has(s))return u.get(s);var l,d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(l in s){var o;Object.prototype.hasOwnProperty.call(s,l)&&((o=p?Object.getOwnPropertyDescriptor(s,l):null)&&(o.get||o.set)?Object.defineProperty(d,l,o):d[l]=s[l])}return d.default=s,u&&u.set(s,d),d}(t("../core/constants"));function b(){var s;return typeof WeakMap!="function"?null:(s=new WeakMap,b=function(){return s},s)}t("./p5.Color"),t("../core/friendly_errors/validate_params"),t("../core/friendly_errors/file_errors"),t("../core/friendly_errors/fes_core"),a.default.prototype.alpha=function(s){return a.default._validateParameters("alpha",arguments),this.color(s)._getAlpha()},a.default.prototype.blue=function(s){return a.default._validateParameters("blue",arguments),this.color(s)._getBlue()},a.default.prototype.brightness=function(s){return a.default._validateParameters("brightness",arguments),this.color(s)._getBrightness()},a.default.prototype.color=function(){for(var s,u=arguments.length,l=new Array(u),d=0;do[0]?o[0]+=1:p[0]+=1),1<=(d=this.lerp(p[0],o[0],l))&&--d),s=this.lerp(p[1],o[1],l),u=this.lerp(p[2],o[2],l),p=this.lerp(p[3],o[3],l),d*=f[i][0],s*=f[i][1],u*=f[i][2],p*=f[i][3],this.color(d,s,u,p)},a.default.prototype.lightness=function(s){return a.default._validateParameters("lightness",arguments),this.color(s)._getLightness()},a.default.prototype.red=function(s){return a.default._validateParameters("red",arguments),this.color(s)._getRed()},a.default.prototype.saturation=function(s){return a.default._validateParameters("saturation",arguments),this.color(s)._getSaturation()};var y=a.default;x.default=y},{"../core/constants":269,"../core/friendly_errors/fes_core":271,"../core/friendly_errors/file_errors":272,"../core/friendly_errors/validate_params":275,"../core/main":280,"./p5.Color":267,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.map":167,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],267:[function(d,w,x){function c(g){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j})(g)}function m(g){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(j){return c(j)}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":c(j)})(g)}d("core-js/modules/es.symbol"),d("core-js/modules/es.symbol.description"),d("core-js/modules/es.symbol.iterator"),d("core-js/modules/es.array.includes"),d("core-js/modules/es.array.iterator"),d("core-js/modules/es.array.join"),d("core-js/modules/es.array.map"),d("core-js/modules/es.array.slice"),d("core-js/modules/es.object.get-own-property-descriptor"),d("core-js/modules/es.object.to-string"),d("core-js/modules/es.regexp.constructor"),d("core-js/modules/es.regexp.exec"),d("core-js/modules/es.regexp.to-string"),d("core-js/modules/es.string.includes"),d("core-js/modules/es.string.iterator"),d("core-js/modules/es.string.trim"),d("core-js/modules/es.weak-map"),d("core-js/modules/web.dom-collections.iterator"),d("core-js/modules/es.array.includes"),d("core-js/modules/es.array.join"),d("core-js/modules/es.array.map"),d("core-js/modules/es.array.slice"),d("core-js/modules/es.object.to-string"),d("core-js/modules/es.regexp.constructor"),d("core-js/modules/es.regexp.exec"),d("core-js/modules/es.regexp.to-string"),d("core-js/modules/es.string.includes"),d("core-js/modules/es.string.trim"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=s(d("../core/main")),h=function(g){if(g&&g.__esModule)return g;if(g===null||m(g)!=="object"&&typeof g!="function")return{default:g};var j=y();if(j&&j.has(g))return j.get(g);var M,E={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(M in g){var P;Object.prototype.hasOwnProperty.call(g,M)&&((P=T?Object.getOwnPropertyDescriptor(g,M):null)&&(P.get||P.set)?Object.defineProperty(E,M,P):E[M]=g[M])}return E.default=g,j&&j.set(g,E),E}(d("../core/constants")),b=s(d("./color_conversion"));function y(){var g;return typeof WeakMap!="function"?null:(g=new WeakMap,y=function(){return g},g)}function s(g){return g&&g.__esModule?g:{default:g}}function u(g,j){for(var M=0;M"].indexOf(u[0])?void 0:u[0],lineNumber:u[1],columnNumber:u[2],source:y}},this)},parseFFOrSafari:function(b){return b.stack.split(` @@ -49,26 +49,26 @@ For more details, see: `).concat(h)),!0})}var a=null,b=null,h=(c.default._friend `).length?this.parseOpera9(b):b.stack?this.parseOpera11(b):this.parseOpera10(b)},parseOpera9:function(b){for(var y=/Line (\d+).*script (?:in )?(\S+)/i,s=b.message.split(` `),u=[],l=2,d=s.length;l/,"$2").replace(/\([^)]*\)/g,"")||void 0,args:(s=l.match(/\(([^)]*)\)/)?l.replace(/^[^(]+\(([^)]*)\)$/,"$1"):s)===void 0||s==="[arguments not available]"?void 0:s.split(","),fileName:u[0],lineNumber:u[1],columnNumber:u[2],source:y}},this)}}}t.default._getErrorStackParser=function(){return new c},t=t.default,x.default=t},{"../main":280,"core-js/modules/es.array.filter":156,"core-js/modules/es.array.index-of":163,"core-js/modules/es.array.join":165,"core-js/modules/es.array.map":167,"core-js/modules/es.array.slice":168,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.match":198,"core-js/modules/es.string.replace":201,"core-js/modules/es.string.split":203}],275:[function(t,w,x){function c(b){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.for-each"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.last-index-of"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.function.name"),t("core-js/modules/es.map"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.get-prototype-of"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.reflect.construct"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.set"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.for-each"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.for-each"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.last-index-of"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.function.name"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.set"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.for-each"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var m=(m=t("../main"))&&m.__esModule?m:{default:m};(function(b){if(!(b&&b.__esModule)&&!(b===null||h(b)!=="object"&&typeof b!="function")){var y=a();if(y&&y.has(b))return y.get(b);var s,u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(s in b){var d;Object.prototype.hasOwnProperty.call(b,s)&&((d=l?Object.getOwnPropertyDescriptor(b,s):null)&&(d.get||d.set)?Object.defineProperty(u,s,d):u[s]=b[s])}u.default=b,y&&y.set(b,u)}})(t("../constants")),t("../internationalization");function a(){var b;return typeof WeakMap!="function"?null:(b=new WeakMap,a=function(){return b},b)}function h(b){return(h=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(y){return c(y)}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":c(y)})(b)}m.default._validateParameters=m.default._clearValidateParamsCache=function(){},t=m.default,x.default=t},{"../../../docs/parameterData.json":void 0,"../constants":269,"../internationalization":278,"../main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.for-each":160,"core-js/modules/es.array.includes":162,"core-js/modules/es.array.index-of":163,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.join":165,"core-js/modules/es.array.last-index-of":166,"core-js/modules/es.array.map":167,"core-js/modules/es.array.slice":168,"core-js/modules/es.function.name":173,"core-js/modules/es.map":174,"core-js/modules/es.number.constructor":178,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.get-prototype-of":185,"core-js/modules/es.object.keys":186,"core-js/modules/es.object.to-string":187,"core-js/modules/es.reflect.construct":189,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.set":194,"core-js/modules/es.string.includes":196,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.for-each":242,"core-js/modules/web.dom-collections.iterator":243}],276:[function(t,w,x){function c(b){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function m(b){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(y){return c(y)}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":c(y)})(b)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=function(b){if(b&&b.__esModule)return b;if(b===null||m(b)!=="object"&&typeof b!="function")return{default:b};var y=h();if(y&&y.has(b))return y.get(b);var s,u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(s in b){var d;Object.prototype.hasOwnProperty.call(b,s)&&((d=l?Object.getOwnPropertyDescriptor(b,s):null)&&(d.get||d.set)?Object.defineProperty(u,s,d):u[s]=b[s])}return u.default=b,y&&y.set(b,u),u}(t("./constants"));function h(){var b;return typeof WeakMap!="function"?null:(b=new WeakMap,h=function(){return b},b)}x.default={modeAdjust:function(b,y,s,u,l){return l===a.CORNER?{x:b,y,w:s,h:u}:l===a.CORNERS?{x:b,y,w:s-b,h:u-y}:l===a.RADIUS?{x:b-s,y:y-u,w:2*s,h:2*u}:l===a.CENTER?{x:b-.5*s,y:y-.5*u,w:s,h:u}:void 0}}},{"./constants":269,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],277:[function(t,w,x){t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator");var c=(m=t("../core/main"))&&m.__esModule?m:{default:m};t("./internationalization");var m=Promise.resolve();Promise.all([new Promise(function(a,h){document.readyState==="complete"?a():window.addEventListener("load",a,!1)}),m]).then(function(){window._setupDone!==void 0?console.warn("p5.js seems to have been imported multiple times. Please remove the duplicate import"):window.mocha||(window.setup&&typeof window.setup=="function"||window.draw&&typeof window.draw=="function")&&!c.default.instance&&new c.default})},{"../core/main":280,"./internationalization":278,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.to-string":187,"core-js/modules/es.promise":188,"core-js/modules/es.string.iterator":197,"core-js/modules/web.dom-collections.iterator":243}],278:[function(t,w,x){t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.setTranslatorLanguage=x.currentTranslatorLanguage=x.availableTranslatorLanguages=x.initialize=x.translator=void 0;var c,m,a=b(t("i18next")),h=b(t("i18next-browser-languagedetector"));function b(u){return u&&u.__esModule?u:{default:u}}function y(u,l){for(var d=0;d=D.width||k>=D.height?[0,0,0,0]:this._getPixel(M,k);return R=new m.default.Image(T*C,P*C),R.pixelDensity(C),R.canvas.getContext("2d").drawImage(D,M,k,T*C,P*C,0,0,T*C,P*C),R}},{key:"textLeading",value:function(M){return typeof M=="number"?(this._setProperty("_leadingSet",!0),this._setProperty("_textLeading",M),this._pInst):this._textLeading}},{key:"textStyle",value:function(M){return M?(M!==a.NORMAL&&M!==a.ITALIC&&M!==a.BOLD&&M!==a.BOLDITALIC||this._setProperty("_textStyle",M),this._applyTextProperties()):this._textStyle}},{key:"textAscent",value:function(){return this._textAscent===null&&this._updateTextMetrics(),this._textAscent}},{key:"textDescent",value:function(){return this._textDescent===null&&this._updateTextMetrics(),this._textDescent}},{key:"textAlign",value:function(M,k){return M!==void 0?(this._setProperty("_textAlign",M),k!==void 0&&this._setProperty("_textBaseline",k),this._applyTextProperties()):{horizontal:this._textAlign,vertical:this._textBaseline}}},{key:"textWrap",value:function(M){return this._setProperty("_textWrap",M),this._textWrap}},{key:"text",value:function(M,k,T,P,R){var C,D,A,F,N=this._pInst,G=this._textWrap,q=Number.MAX_VALUE,V=T;if((this._doFill||this._doStroke)&&M!==void 0){if(C=(M=(M=typeof M!="string"?M.toString():M).replace(/(\t)/g," ")).split(` -`),P!==void 0){switch(this._rectMode===a.CENTER&&(k-=P/2),this._textAlign){case a.CENTER:k+=P/2;break;case a.RIGHT:k+=P}if(R!==void 0){this._rectMode===a.CENTER&&(T-=R/2,V-=R/2);var M=T,z=N.textAscent();switch(this._textBaseline){case a.BOTTOM:F=T+R,T=Math.max(F,T),V+=z;break;case a.CENTER:F=T+R/2,T=Math.max(F,T),V+=z/2}q=T+R-z,this._textBaseline===a.CENTER&&(q=M+R-z/2)}else this._textBaseline!==a.BOTTOM&&this._textBaseline!==a.CENTER||(V=T-(M=N.textSize()*this._textLeading)/2,q=T+M/2);if(G===a.WORD){for(var Y=[],Q=0;Qh.HALF_PI&&l<=3*h.HALF_PI?Math.atan(p/o*Math.tan(l))+h.PI:Math.atan(p/o*Math.tan(l))+h.TWO_PI,d=d<=h.HALF_PI?Math.atan(p/o*Math.tan(d)):d>h.HALF_PI&&d<=3*h.HALF_PI?Math.atan(p/o*Math.tan(d))+h.PI:Math.atan(p/o*Math.tan(d))+h.TWO_PI),du||Math.abs(this.accelerationY-this.pAccelerationY)>u||Math.abs(this.accelerationZ-this.pAccelerationZ)>u)&&j.deviceMoved(),typeof j.deviceTurned=="function"&&(o=this._toDegrees(this.rotationX)+180,i=this._toDegrees(this.pRotationX)+180,p=m+180,0>>16,y[1+u]=(65280&s[l])>>>8,y[2+u]=255&s[l],y[3+u]=(4278190080&s[l])>>>24},_toImageData:function(y){return y instanceof ImageData?y:y.getContext("2d").getImageData(0,0,y.width,y.height)},_createImageData:function(y,s){return b._tmpCanvas=document.createElement("canvas"),b._tmpCtx=b._tmpCanvas.getContext("2d"),this._tmpCtx.createImageData(y,s)},apply:function(y,p,u){var l=y.getContext("2d"),d=l.getImageData(0,0,y.width,y.height),p=p(d,u);p instanceof ImageData?l.putImageData(p,0,0,0,0,y.width,y.height):l.putImageData(d,0,0,0,0,y.width,y.height)},threshold:function(y){for(var s=1>8)/l,u[d+1]=255*(o*s>>8)/l,u[d+2]=255*(i*s>>8)/l}},dilate:function(y){for(var s,u,l,d,p,o,i,f,g,j=b._toPixels(y),M=0,k=j.length?j.length/4:0,T=new Int32Array(k);M>16&255)+151*(d>>8&255)+28*(255&d))<(i=77*(g>>16&255)+151*(g>>8&255)+28*(255&g))&&(l=g,d=i),d<(i=77*((g=b._getARGB(j,f))>>16&255)+151*(g>>8&255)+28*(255&g))&&(l=g,d=i),d<(f=77*(p>>16&255)+151*(p>>8&255)+28*(255&p))&&(l=p,d=f),d<(g=77*(o>>16&255)+151*(o>>8&255)+28*(255&o))&&(l=o,d=g),T[M++]=l;b._setPixels(j,T)},erode:function(y){for(var s,u,l,d,p,o,i,f,g,j=b._toPixels(y),M=0,k=j.length?j.length/4:0,T=new Int32Array(k);M>16&255)+151*(g>>8&255)+28*(255&g))<(d=77*(d>>16&255)+151*(d>>8&255)+28*(255&d))&&(l=g,d=i),(i=77*((g=b._getARGB(j,f))>>16&255)+151*(g>>8&255)+28*(255&g))>16&255)+151*(p>>8&255)+28*(255&p))>16&255)+151*(o>>8&255)+28*(255&o))>>24],l+=G[(16711680&de)>>16],d+=G[(65280&de)>>8],p+=G[255&de],u+=a[N],i++}Q[f=B+A]=o/u,oe[f]=l/u,E[f]=d/u,I[f]=p/u}B+=T}for(j=(g=-c)*T,F=B=0;F"+V.length.toString()+" out of "+F.toString()),ee.next=48,new Promise(function(ue){return setTimeout(ue,0)});ee.next=50;break;case 48:ee.next=39;break;case 50:R||z.html("Frames processed, generating color palette..."),this.loop(),this.pixelDensity(q),oe=(0,s.GIFEncoder)(),E=function(ue){for(var me=new Uint8Array(ue.length*ue[0].length),je=0;je"+te.toString()+" out of "+F.toString()),ee.next=68,new Promise(function(ue){return setTimeout(ue,0)});case 68:te++,ee.next=60;break;case 71:oe.finish(),de=oe.bytesView(),de=new Blob([de],{type:"image/gif"}),V=[],this._recording=!1,this.loop(),R||(z.html("Done. Downloading your gif!🌸"),0=l&&(l=Math.floor(d.timeDisplayed/l),d.timeDisplayed=0,d.lastChangeTime=p,d.displayIndex+=l,d.loopCount=Math.floor(d.displayIndex/d.numFrames),d.loopLimit!==null&&d.loopCount>=d.loopLimit?d.playing=!1:(p=d.displayIndex%d.numFrames,this.drawingContext.putImageData(d.frames[p].image,0,0),d.displayIndex=p,this.setModified(!0))))}},{key:"_setProperty",value:function(u,l){this[u]=l,this.setModified(!0)}},{key:"loadPixels",value:function(){c.default.Renderer2D.prototype.loadPixels.call(this),this.setModified(!0)}},{key:"updatePixels",value:function(u,l,d,p){c.default.Renderer2D.prototype.updatePixels.call(this,u,l,d,p),this.setModified(!0)}},{key:"get",value:function(u,l,d,p){return c.default._validateParameters("p5.Image.get",arguments),c.default.Renderer2D.prototype.get.apply(this,arguments)}},{key:"_getPixel",value:function(){for(var u=arguments.length,l=new Array(u),d=0;d/g,">").replace(/"/g,""").replace(/'/g,"'")}function u(l,d){d&&d!==!0&&d!=="true"||(d="");var p="";return(l=l||"untitled")&&l.includes(".")&&(p=l.split(".").pop()),d&&p!==d&&(p=d,l="".concat(l,".").concat(p)),[l,p]}t("../core/friendly_errors/validate_params"),t("../core/friendly_errors/file_errors"),t("../core/friendly_errors/fes_core"),m.default.prototype.loadJSON=function(){for(var l=arguments.length,d=new Array(l),p=0;p/,"$2").replace(/\([^)]*\)/g,"")||void 0,args:(s=l.match(/\(([^)]*)\)/)?l.replace(/^[^(]+\(([^)]*)\)$/,"$1"):s)===void 0||s==="[arguments not available]"?void 0:s.split(","),fileName:u[0],lineNumber:u[1],columnNumber:u[2],source:y}},this)}}}t.default._getErrorStackParser=function(){return new c},t=t.default,x.default=t},{"../main":280,"core-js/modules/es.array.filter":156,"core-js/modules/es.array.index-of":163,"core-js/modules/es.array.join":165,"core-js/modules/es.array.map":167,"core-js/modules/es.array.slice":168,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.match":198,"core-js/modules/es.string.replace":201,"core-js/modules/es.string.split":203}],275:[function(t,w,x){function c(b){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.for-each"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.last-index-of"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.function.name"),t("core-js/modules/es.map"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.get-prototype-of"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.reflect.construct"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.set"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.for-each"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.for-each"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.last-index-of"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.function.name"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.set"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.for-each"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var m=(m=t("../main"))&&m.__esModule?m:{default:m};(function(b){if(!(b&&b.__esModule)&&!(b===null||h(b)!=="object"&&typeof b!="function")){var y=a();if(y&&y.has(b))return y.get(b);var s,u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(s in b){var d;Object.prototype.hasOwnProperty.call(b,s)&&((d=l?Object.getOwnPropertyDescriptor(b,s):null)&&(d.get||d.set)?Object.defineProperty(u,s,d):u[s]=b[s])}u.default=b,y&&y.set(b,u)}})(t("../constants")),t("../internationalization");function a(){var b;return typeof WeakMap!="function"?null:(b=new WeakMap,a=function(){return b},b)}function h(b){return(h=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(y){return c(y)}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":c(y)})(b)}m.default._validateParameters=m.default._clearValidateParamsCache=function(){},t=m.default,x.default=t},{"../../../docs/parameterData.json":void 0,"../constants":269,"../internationalization":278,"../main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.for-each":160,"core-js/modules/es.array.includes":162,"core-js/modules/es.array.index-of":163,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.join":165,"core-js/modules/es.array.last-index-of":166,"core-js/modules/es.array.map":167,"core-js/modules/es.array.slice":168,"core-js/modules/es.function.name":173,"core-js/modules/es.map":174,"core-js/modules/es.number.constructor":178,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.get-prototype-of":185,"core-js/modules/es.object.keys":186,"core-js/modules/es.object.to-string":187,"core-js/modules/es.reflect.construct":189,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.set":194,"core-js/modules/es.string.includes":196,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.for-each":242,"core-js/modules/web.dom-collections.iterator":243}],276:[function(t,w,x){function c(b){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(y){return typeof y}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(b)}function m(b){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(y){return c(y)}:function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":c(y)})(b)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=function(b){if(b&&b.__esModule)return b;if(b===null||m(b)!=="object"&&typeof b!="function")return{default:b};var y=h();if(y&&y.has(b))return y.get(b);var s,u={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(s in b){var d;Object.prototype.hasOwnProperty.call(b,s)&&((d=l?Object.getOwnPropertyDescriptor(b,s):null)&&(d.get||d.set)?Object.defineProperty(u,s,d):u[s]=b[s])}return u.default=b,y&&y.set(b,u),u}(t("./constants"));function h(){var b;return typeof WeakMap!="function"?null:(b=new WeakMap,h=function(){return b},b)}x.default={modeAdjust:function(b,y,s,u,l){return l===a.CORNER?{x:b,y,w:s,h:u}:l===a.CORNERS?{x:b,y,w:s-b,h:u-y}:l===a.RADIUS?{x:b-s,y:y-u,w:2*s,h:2*u}:l===a.CENTER?{x:b-.5*s,y:y-.5*u,w:s,h:u}:void 0}}},{"./constants":269,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],277:[function(t,w,x){t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.string.iterator"),t("core-js/modules/web.dom-collections.iterator");var c=(m=t("../core/main"))&&m.__esModule?m:{default:m};t("./internationalization");var m=Promise.resolve();Promise.all([new Promise(function(a,h){document.readyState==="complete"?a():window.addEventListener("load",a,!1)}),m]).then(function(){window._setupDone!==void 0?console.warn("p5.js seems to have been imported multiple times. Please remove the duplicate import"):window.mocha||(window.setup&&typeof window.setup=="function"||window.draw&&typeof window.draw=="function")&&!c.default.instance&&new c.default})},{"../core/main":280,"./internationalization":278,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.to-string":187,"core-js/modules/es.promise":188,"core-js/modules/es.string.iterator":197,"core-js/modules/web.dom-collections.iterator":243}],278:[function(t,w,x){t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.includes"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.object.keys"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.promise"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.string.includes"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.split"),t("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.setTranslatorLanguage=x.currentTranslatorLanguage=x.availableTranslatorLanguages=x.initialize=x.translator=void 0;var c,m,a=b(t("i18next")),h=b(t("i18next-browser-languagedetector"));function b(u){return u&&u.__esModule?u:{default:u}}function y(u,l){for(var d=0;d=D.width||E>=D.height?[0,0,0,0]:this._getPixel(M,E);return R=new m.default.Image(T*C,P*C),R.pixelDensity(C),R.canvas.getContext("2d").drawImage(D,M,E,T*C,P*C,0,0,T*C,P*C),R}},{key:"textLeading",value:function(M){return typeof M=="number"?(this._setProperty("_leadingSet",!0),this._setProperty("_textLeading",M),this._pInst):this._textLeading}},{key:"textStyle",value:function(M){return M?(M!==a.NORMAL&&M!==a.ITALIC&&M!==a.BOLD&&M!==a.BOLDITALIC||this._setProperty("_textStyle",M),this._applyTextProperties()):this._textStyle}},{key:"textAscent",value:function(){return this._textAscent===null&&this._updateTextMetrics(),this._textAscent}},{key:"textDescent",value:function(){return this._textDescent===null&&this._updateTextMetrics(),this._textDescent}},{key:"textAlign",value:function(M,E){return M!==void 0?(this._setProperty("_textAlign",M),E!==void 0&&this._setProperty("_textBaseline",E),this._applyTextProperties()):{horizontal:this._textAlign,vertical:this._textBaseline}}},{key:"textWrap",value:function(M){return this._setProperty("_textWrap",M),this._textWrap}},{key:"text",value:function(M,E,T,P,R){var C,D,A,F,N=this._pInst,G=this._textWrap,q=Number.MAX_VALUE,V=T;if((this._doFill||this._doStroke)&&M!==void 0){if(C=(M=(M=typeof M!="string"?M.toString():M).replace(/(\t)/g," ")).split(` +`),P!==void 0){switch(this._rectMode===a.CENTER&&(E-=P/2),this._textAlign){case a.CENTER:E+=P/2;break;case a.RIGHT:E+=P}if(R!==void 0){this._rectMode===a.CENTER&&(T-=R/2,V-=R/2);var M=T,z=N.textAscent();switch(this._textBaseline){case a.BOTTOM:F=T+R,T=Math.max(F,T),V+=z;break;case a.CENTER:F=T+R/2,T=Math.max(F,T),V+=z/2}q=T+R-z,this._textBaseline===a.CENTER&&(q=M+R-z/2)}else this._textBaseline!==a.BOTTOM&&this._textBaseline!==a.CENTER||(V=T-(M=N.textSize()*this._textLeading)/2,q=T+M/2);if(G===a.WORD){for(var Y=[],Q=0;Qh.HALF_PI&&l<=3*h.HALF_PI?Math.atan(p/o*Math.tan(l))+h.PI:Math.atan(p/o*Math.tan(l))+h.TWO_PI,d=d<=h.HALF_PI?Math.atan(p/o*Math.tan(d)):d>h.HALF_PI&&d<=3*h.HALF_PI?Math.atan(p/o*Math.tan(d))+h.PI:Math.atan(p/o*Math.tan(d))+h.TWO_PI),du||Math.abs(this.accelerationY-this.pAccelerationY)>u||Math.abs(this.accelerationZ-this.pAccelerationZ)>u)&&j.deviceMoved(),typeof j.deviceTurned=="function"&&(o=this._toDegrees(this.rotationX)+180,i=this._toDegrees(this.pRotationX)+180,p=m+180,0>>16,y[1+u]=(65280&s[l])>>>8,y[2+u]=255&s[l],y[3+u]=(4278190080&s[l])>>>24},_toImageData:function(y){return y instanceof ImageData?y:y.getContext("2d").getImageData(0,0,y.width,y.height)},_createImageData:function(y,s){return b._tmpCanvas=document.createElement("canvas"),b._tmpCtx=b._tmpCanvas.getContext("2d"),this._tmpCtx.createImageData(y,s)},apply:function(y,p,u){var l=y.getContext("2d"),d=l.getImageData(0,0,y.width,y.height),p=p(d,u);p instanceof ImageData?l.putImageData(p,0,0,0,0,y.width,y.height):l.putImageData(d,0,0,0,0,y.width,y.height)},threshold:function(y){for(var s=1>8)/l,u[d+1]=255*(o*s>>8)/l,u[d+2]=255*(i*s>>8)/l}},dilate:function(y){for(var s,u,l,d,p,o,i,f,g,j=b._toPixels(y),M=0,E=j.length?j.length/4:0,T=new Int32Array(E);M>16&255)+151*(d>>8&255)+28*(255&d))<(i=77*(g>>16&255)+151*(g>>8&255)+28*(255&g))&&(l=g,d=i),d<(i=77*((g=b._getARGB(j,f))>>16&255)+151*(g>>8&255)+28*(255&g))&&(l=g,d=i),d<(f=77*(p>>16&255)+151*(p>>8&255)+28*(255&p))&&(l=p,d=f),d<(g=77*(o>>16&255)+151*(o>>8&255)+28*(255&o))&&(l=o,d=g),T[M++]=l;b._setPixels(j,T)},erode:function(y){for(var s,u,l,d,p,o,i,f,g,j=b._toPixels(y),M=0,E=j.length?j.length/4:0,T=new Int32Array(E);M>16&255)+151*(g>>8&255)+28*(255&g))<(d=77*(d>>16&255)+151*(d>>8&255)+28*(255&d))&&(l=g,d=i),(i=77*((g=b._getARGB(j,f))>>16&255)+151*(g>>8&255)+28*(255&g))>16&255)+151*(p>>8&255)+28*(255&p))>16&255)+151*(o>>8&255)+28*(255&o))>>24],l+=G[(16711680&de)>>16],d+=G[(65280&de)>>8],p+=G[255&de],u+=a[N],i++}Q[f=B+A]=o/u,oe[f]=l/u,k[f]=d/u,I[f]=p/u}B+=T}for(j=(g=-c)*T,F=B=0;F"+V.length.toString()+" out of "+F.toString()),ee.next=48,new Promise(function(ue){return setTimeout(ue,0)});ee.next=50;break;case 48:ee.next=39;break;case 50:R||z.html("Frames processed, generating color palette..."),this.loop(),this.pixelDensity(q),oe=(0,s.GIFEncoder)(),k=function(ue){for(var me=new Uint8Array(ue.length*ue[0].length),je=0;je"+te.toString()+" out of "+F.toString()),ee.next=68,new Promise(function(ue){return setTimeout(ue,0)});case 68:te++,ee.next=60;break;case 71:oe.finish(),de=oe.bytesView(),de=new Blob([de],{type:"image/gif"}),V=[],this._recording=!1,this.loop(),R||(z.html("Done. Downloading your gif!🌸"),0=l&&(l=Math.floor(d.timeDisplayed/l),d.timeDisplayed=0,d.lastChangeTime=p,d.displayIndex+=l,d.loopCount=Math.floor(d.displayIndex/d.numFrames),d.loopLimit!==null&&d.loopCount>=d.loopLimit?d.playing=!1:(p=d.displayIndex%d.numFrames,this.drawingContext.putImageData(d.frames[p].image,0,0),d.displayIndex=p,this.setModified(!0))))}},{key:"_setProperty",value:function(u,l){this[u]=l,this.setModified(!0)}},{key:"loadPixels",value:function(){c.default.Renderer2D.prototype.loadPixels.call(this),this.setModified(!0)}},{key:"updatePixels",value:function(u,l,d,p){c.default.Renderer2D.prototype.updatePixels.call(this,u,l,d,p),this.setModified(!0)}},{key:"get",value:function(u,l,d,p){return c.default._validateParameters("p5.Image.get",arguments),c.default.Renderer2D.prototype.get.apply(this,arguments)}},{key:"_getPixel",value:function(){for(var u=arguments.length,l=new Array(u),d=0;d/g,">").replace(/"/g,""").replace(/'/g,"'")}function u(l,d){d&&d!==!0&&d!=="true"||(d="");var p="";return(l=l||"untitled")&&l.includes(".")&&(p=l.split(".").pop()),d&&p!==d&&(p=d,l="".concat(l,".").concat(p)),[l,p]}t("../core/friendly_errors/validate_params"),t("../core/friendly_errors/file_errors"),t("../core/friendly_errors/fes_core"),m.default.prototype.loadJSON=function(){for(var l=arguments.length,d=new Array(l),p=0;p"),i.print(""),i.print(' '),i.print(""),i.print(""),i.print(" "),f[0]!=="0"){i.print(" ");for(var T=0;T".concat(P)),i.print(" ")}i.print(" ")}for(var R=0;R");for(var C=0;C".concat(D)),i.print(" ")}i.print(" ")}i.print("
            "),i.print(""),i.print("")}i.close(),i.clear()},m.default.prototype.writeFile=function(i,d,p){var o="application/octet-stream",i=(m.default.prototype._isSafari()&&(o="text/plain"),new Blob(i,{type:o}));m.default.prototype.downloadFile(i,d,p)},m.default.prototype.downloadFile=function(l,i,f){var o,i=u(i,f),f=i[0];l instanceof Blob?h.default.saveAs(l,f):((o=document.createElement("a")).href=l,o.download=f,o.onclick=function(g){document.body.removeChild(g.target),g.stopPropagation()},o.style.display="none",document.body.appendChild(o),m.default.prototype._isSafari()&&(l=(l=`Hello, Safari user! To download this file... 1. Go to File --> Save As. 2. Choose "Page Source" as the Format. -`)+'3. Name it with this extension: ."'.concat(i[1],'"'),alert(l)),o.click())},m.default.prototype._checkFileExtension=u,m.default.prototype._isSafari=function(){return window.HTMLElement.toString().includes("Constructor")},t=m.default,x.default=t},{"../core/friendly_errors/fes_core":271,"../core/friendly_errors/file_errors":272,"../core/friendly_errors/validate_params":275,"../core/main":280,"core-js/modules/es.array.concat":152,"core-js/modules/es.array.includes":162,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.last-index-of":166,"core-js/modules/es.array.map":167,"core-js/modules/es.array.slice":168,"core-js/modules/es.array.splice":170,"core-js/modules/es.function.name":173,"core-js/modules/es.object.from-entries":182,"core-js/modules/es.object.to-string":187,"core-js/modules/es.promise":188,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.string.includes":196,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.replace":201,"core-js/modules/es.string.split":203,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.typed-array.copy-within":210,"core-js/modules/es.typed-array.every":211,"core-js/modules/es.typed-array.fill":212,"core-js/modules/es.typed-array.filter":213,"core-js/modules/es.typed-array.find":215,"core-js/modules/es.typed-array.find-index":214,"core-js/modules/es.typed-array.for-each":218,"core-js/modules/es.typed-array.includes":219,"core-js/modules/es.typed-array.index-of":220,"core-js/modules/es.typed-array.iterator":223,"core-js/modules/es.typed-array.join":224,"core-js/modules/es.typed-array.last-index-of":225,"core-js/modules/es.typed-array.map":226,"core-js/modules/es.typed-array.reduce":228,"core-js/modules/es.typed-array.reduce-right":227,"core-js/modules/es.typed-array.reverse":229,"core-js/modules/es.typed-array.set":230,"core-js/modules/es.typed-array.slice":231,"core-js/modules/es.typed-array.some":232,"core-js/modules/es.typed-array.sort":233,"core-js/modules/es.typed-array.subarray":234,"core-js/modules/es.typed-array.to-locale-string":235,"core-js/modules/es.typed-array.to-string":236,"core-js/modules/es.typed-array.uint8-array":239,"core-js/modules/web.dom-collections.iterator":243,"core-js/modules/web.url":245,"es6-promise/auto":246,"fetch-jsonp":248,"file-saver":249,"whatwg-fetch":258}],307:[function(t,w,x){t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.splice"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.replace"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.splice"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.replace"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var c=(t=t("../core/main"))&&t.__esModule?t:{default:t};function m(a,h){for(var b=0;b>>0},getSeed:function(){return u},rand:function(){return(l=(1664525*l+1013904223)%d)/d}};p.setSeed(s),m=new Array(4096);for(var o=0;o<4096;o++)m[o]=p.rand()},y.default);x.default=y},{"../core/main":280}],313:[function(t,w,x){function c(u){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(u)}function m(u){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(l){return c(l)}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":c(l)})(u)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.every"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.some"),t("core-js/modules/es.math.sign"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.number.is-finite"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.sub"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.every"),t("core-js/modules/es.array.some"),t("core-js/modules/es.math.sign"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.number.is-finite"),t("core-js/modules/es.string.sub"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=(s=t("../core/main"))&&s.__esModule?s:{default:s},h=function(u){if(u&&u.__esModule)return u;if(u===null||m(u)!=="object"&&typeof u!="function")return{default:u};var l=b();if(l&&l.has(u))return l.get(u);var d,p={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(d in u){var i;Object.prototype.hasOwnProperty.call(u,d)&&((i=o?Object.getOwnPropertyDescriptor(u,d):null)&&(i.get||i.set)?Object.defineProperty(p,d,i):p[d]=u[d])}return p.default=u,l&&l.set(u,p),p}(t("../core/constants"));function b(){var u;return typeof WeakMap!="function"?null:(u=new WeakMap,b=function(){return u},u)}function y(u,l){for(var d=0;d>>0},c.default.prototype.randomSeed=function(y){this._lcgSetSeed(m,y),this._gaussian_previous=!1},c.default.prototype.random=function(y,s){var u,l;return c.default._validateParameters("random",arguments),u=this[m]!=null?this._lcg(m):Math.random(),y===void 0?u:s===void 0?Array.isArray(y)?y[Math.floor(u*y.length)]:u*y:(s>>0},getSeed:function(){return u},rand:function(){return(l=(1664525*l+1013904223)%d)/d}};p.setSeed(s),m=new Array(4096);for(var o=0;o<4096;o++)m[o]=p.rand()},y.default);x.default=y},{"../core/main":280}],313:[function(t,w,x){function c(u){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l})(u)}function m(u){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(l){return c(l)}:function(l){return l&&typeof Symbol=="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":c(l)})(u)}t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.every"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.some"),t("core-js/modules/es.math.sign"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.number.is-finite"),t("core-js/modules/es.object.get-own-property-descriptor"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.sub"),t("core-js/modules/es.weak-map"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.concat"),t("core-js/modules/es.array.every"),t("core-js/modules/es.array.some"),t("core-js/modules/es.math.sign"),t("core-js/modules/es.number.constructor"),t("core-js/modules/es.number.is-finite"),t("core-js/modules/es.string.sub"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var a=(s=t("../core/main"))&&s.__esModule?s:{default:s},h=function(u){if(u&&u.__esModule)return u;if(u===null||m(u)!=="object"&&typeof u!="function")return{default:u};var l=b();if(l&&l.has(u))return l.get(u);var d,p={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(d in u){var i;Object.prototype.hasOwnProperty.call(u,d)&&((i=o?Object.getOwnPropertyDescriptor(u,d):null)&&(i.get||i.set)?Object.defineProperty(p,d,i):p[d]=u[d])}return p.default=u,l&&l.set(u,p),p}(t("../core/constants"));function b(){var u;return typeof WeakMap!="function"?null:(u=new WeakMap,b=function(){return u},u)}function y(u,l){for(var d=0;d>>0},c.default.prototype.randomSeed=function(y){this._lcgSetSeed(m,y),this._gaussian_previous=!1},c.default.prototype.random=function(y,s){var u,l;return c.default._validateParameters("random",arguments),u=this[m]!=null?this._lcg(m):Math.random(),y===void 0?u:s===void 0?Array.isArray(y)?y[Math.floor(u*y.length)]:u*y:(sB&&(fe=z,te=N,se=G,z=ce+B*($&&ce=a?h.substring(h.length-a,h.length):h}},c.default.prototype.unhex=function(m){return m instanceof Array?m.map(c.default.prototype.unhex):parseInt("0x".concat(m),16)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.map":167,"core-js/modules/es.number.constructor":178,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.string.repeat":200}],321:[function(t,w,x){t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.filter"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.pad-start"),t("core-js/modules/es.string.replace"),t("core-js/modules/es.string.split"),t("core-js/modules/es.string.trim"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.filter"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.pad-start"),t("core-js/modules/es.string.replace"),t("core-js/modules/es.string.split"),t("core-js/modules/es.string.trim"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var c=(s=t("../core/main"))&&s.__esModule?s:{default:s};function m(u,l){return function(d){if(Array.isArray(d))return d}(u)||function(d,p){if(Symbol.iterator in Object(d)||Object.prototype.toString.call(d)==="[object Arguments]"){var o=[],i=!0,f=!1,g=void 0;try{for(var j,M=d[Symbol.iterator]();!(i=(j=M.next()).done)&&(o.push(j.value),!p||o.length!==p);i=!0);}catch(k){f=!0,g=k}finally{try{i||M.return==null||M.return()}finally{if(f)throw g}}return o}}(u,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(u,l,d){var o=m(u.toString().split("."),2),p=o[0],o=o[1];return d===void 0?(p=p.padStart(l,"0"),o?p+"."+o:p):(p=(u=m(u.toFixed(d).toString().split("."),2))[0],o=u[1],p=p.padStart(l,"0"),o===void 0?p:p+"."+o)}function h(o,l){var d=(o=o.toString()).indexOf("."),p=d!==-1?o.substring(d):"",o=(o=d!==-1?o.substring(0,d):o).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");if(l===0)p="";else if(l!==void 0)if(l>p.length)for(var i=l-(p+=d===-1?".":"").length+1,f=0;f=h.TWO_PI?"".concat(k="ellipse","|"):"".concat(k="arc","|").concat(i,"|").concat(f,"|").concat(g,"|")).concat(j,"|"),k=(this.geometryInHash(M)||((u=new a.default.Geometry(j,1,function(){if(i.toFixed(10)!==f.toFixed(10)){g!==h.PIE&&g!==void 0||(this.vertices.push(new a.default.Vector(.5,.5,0)),this.uvs.push([.5,.5]));for(var T=0;T<=j;T++){var R=(f-i)*(T/j)+i,P=.5+Math.cos(R)/2,R=.5+Math.sin(R)/2;this.vertices.push(new a.default.Vector(P,R,0)),this.uvs.push([P,R]),T>5&31)/31,(W>>10&31)/31)),new m.default.Vector(te,se,fe)),de=1;de<=3;de++){var ce=$+12*de,ce=new m.default.Vector(Q.getFloat32(ce,!0),Q.getFloat32(4+ce,!0),Q.getFloat32(8+ce,!0));D.vertices.push(ce),D.vertexNormals.push(ie),E&&q.push(F,N,G)}D.faces.push([3*B,3*B+1,3*B+2]),D.uvs.push([0,0],[0,0],[0,0])}})(R,C);else{if(C=new DataView(C),!("TextDecoder"in window))return console.warn("Sorry, ASCII STL loading only works in browsers that support TextDecoder (https://caniuse.com/#feat=textencoder)");C=new TextDecoder("utf-8").decode(C).split(` -`),function(D,A){for(var F,N,G="",q=[],V=0;VB&&(fe=z,te=N,se=G,z=ce+B*($&&ce=a?h.substring(h.length-a,h.length):h}},c.default.prototype.unhex=function(m){return m instanceof Array?m.map(c.default.prototype.unhex):parseInt("0x".concat(m),16)},t=c.default,x.default=t},{"../core/main":280,"core-js/modules/es.array.map":167,"core-js/modules/es.number.constructor":178,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.to-string":193,"core-js/modules/es.string.repeat":200}],321:[function(t,w,x){t("core-js/modules/es.symbol"),t("core-js/modules/es.symbol.description"),t("core-js/modules/es.symbol.iterator"),t("core-js/modules/es.array.filter"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.iterator"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.pad-start"),t("core-js/modules/es.string.replace"),t("core-js/modules/es.string.split"),t("core-js/modules/es.string.trim"),t("core-js/modules/web.dom-collections.iterator"),t("core-js/modules/es.array.filter"),t("core-js/modules/es.array.index-of"),t("core-js/modules/es.array.join"),t("core-js/modules/es.array.map"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.number.to-fixed"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.regexp.constructor"),t("core-js/modules/es.regexp.exec"),t("core-js/modules/es.regexp.to-string"),t("core-js/modules/es.string.match"),t("core-js/modules/es.string.pad-start"),t("core-js/modules/es.string.replace"),t("core-js/modules/es.string.split"),t("core-js/modules/es.string.trim"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0;var c=(s=t("../core/main"))&&s.__esModule?s:{default:s};function m(u,l){return function(d){if(Array.isArray(d))return d}(u)||function(d,p){if(Symbol.iterator in Object(d)||Object.prototype.toString.call(d)==="[object Arguments]"){var o=[],i=!0,f=!1,g=void 0;try{for(var j,M=d[Symbol.iterator]();!(i=(j=M.next()).done)&&(o.push(j.value),!p||o.length!==p);i=!0);}catch(E){f=!0,g=E}finally{try{i||M.return==null||M.return()}finally{if(f)throw g}}return o}}(u,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(u,l,d){var o=m(u.toString().split("."),2),p=o[0],o=o[1];return d===void 0?(p=p.padStart(l,"0"),o?p+"."+o:p):(p=(u=m(u.toFixed(d).toString().split("."),2))[0],o=u[1],p=p.padStart(l,"0"),o===void 0?p:p+"."+o)}function h(o,l){var d=(o=o.toString()).indexOf("."),p=d!==-1?o.substring(d):"",o=(o=d!==-1?o.substring(0,d):o).toString().replace(/\B(?=(\d{3})+(?!\d))/g,",");if(l===0)p="";else if(l!==void 0)if(l>p.length)for(var i=l-(p+=d===-1?".":"").length+1,f=0;f=h.TWO_PI?"".concat(E="ellipse","|"):"".concat(E="arc","|").concat(i,"|").concat(f,"|").concat(g,"|")).concat(j,"|"),E=(this.geometryInHash(M)||((u=new a.default.Geometry(j,1,function(){if(i.toFixed(10)!==f.toFixed(10)){g!==h.PIE&&g!==void 0||(this.vertices.push(new a.default.Vector(.5,.5,0)),this.uvs.push([.5,.5]));for(var T=0;T<=j;T++){var R=(f-i)*(T/j)+i,P=.5+Math.cos(R)/2,R=.5+Math.sin(R)/2;this.vertices.push(new a.default.Vector(P,R,0)),this.uvs.push([P,R]),T>5&31)/31,(W>>10&31)/31)),new m.default.Vector(te,se,fe)),de=1;de<=3;de++){var ce=$+12*de,ce=new m.default.Vector(Q.getFloat32(ce,!0),Q.getFloat32(4+ce,!0),Q.getFloat32(8+ce,!0));D.vertices.push(ce),D.vertexNormals.push(ie),k&&q.push(F,N,G)}D.faces.push([3*B,3*B+1,3*B+2]),D.uvs.push([0,0],[0,0],[0,0])}})(R,C);else{if(C=new DataView(C),!("TextDecoder"in window))return console.warn("Sorry, ASCII STL loading only works in browsers that support TextDecoder (https://caniuse.com/#feat=textencoder)");C=new TextDecoder("utf-8").decode(C).split(` +`),function(D,A){for(var F,N,G="",q=[],V=0;Vthis.cameraFar&&(l=this.cameraFar),Math.acos(Math.max(-1,Math.min(1,c.default.Vector.dot(d,p))))+g),g=y;(f<=0||f>=Math.PI)&&(this.upX*=-1,this.upY*=-1,this.upZ*=-1),p.mult(Math.cos(f)),i.mult(Math.cos(g)*Math.sin(f)),o.mult(Math.sin(g)*Math.sin(f)),d.set(p).add(i).add(o),this.eyeX=l*d.x+this.centerX,this.eyeY=l*d.y+this.centerY,this.eyeZ=l*d.z+this.centerZ,this.camera(this.eyeX,this.eyeY,this.eyeZ,this.centerX,this.centerY,this.centerZ,this.upX,this.upY,this.upZ)}},{key:"_orbitFree",value:function(f,g,M){var d=this.eyeX-this.centerX,p=this.eyeY-this.centerY,o=this.eyeZ-this.centerZ,l=Math.hypot(d,p,o),d=new c.default.Vector(d,p,o).normalize(),p=new c.default.Vector(this.upX,this.upY,this.upZ),o=c.default.Vector.cross(p,d).normalize(),i=c.default.Vector.cross(d,o),k=Math.atan2(g,f),k=(i.mult(Math.sin(k)),o.mult(Math.cos(k)).add(i),Math.sqrt(f*f+g*g)),i=c.default.Vector.cross(d,o),f=((l=(l*=Math.pow(10,M))this.cameraFar&&(l=this.cameraFar),Math.cos(k)),g=Math.sin(k),M=p.dot(d),k=p.dot(o),j=M*f+k*g,M=-M*g+k*f,k=p.dot(i);p.x=j*d.x+M*o.x+k*i.x,p.y=j*d.y+M*o.y+k*i.y,p.z=j*d.z+M*o.z+k*i.z,o.mult(-g),d.mult(f).add(o).mult(l),this.camera(d.x+this.centerX,d.y+this.centerY,d.z+this.centerZ,this.centerX,this.centerY,this.centerZ,p.x,p.y,p.z)}},{key:"_isActive",value:function(){return this===this._renderer._curCamera}}])&&m(h.prototype,b),a}(),c.default.prototype.setCamera=function(a){this._renderer._curCamera=a,this._renderer.uPMatrix.set(a.projMatrix)},t=c.default.Camera,x.default=t},{"../core/main":280,"core-js/modules/es.array.slice":168,"core-js/modules/es.math.hypot":175,"core-js/modules/es.string.sub":205}],330:[function(t,w,x){t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.math.log2"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.typed-array.float32-array"),t("core-js/modules/es.typed-array.copy-within"),t("core-js/modules/es.typed-array.every"),t("core-js/modules/es.typed-array.fill"),t("core-js/modules/es.typed-array.filter"),t("core-js/modules/es.typed-array.find"),t("core-js/modules/es.typed-array.find-index"),t("core-js/modules/es.typed-array.for-each"),t("core-js/modules/es.typed-array.includes"),t("core-js/modules/es.typed-array.index-of"),t("core-js/modules/es.typed-array.iterator"),t("core-js/modules/es.typed-array.join"),t("core-js/modules/es.typed-array.last-index-of"),t("core-js/modules/es.typed-array.map"),t("core-js/modules/es.typed-array.reduce"),t("core-js/modules/es.typed-array.reduce-right"),t("core-js/modules/es.typed-array.reverse"),t("core-js/modules/es.typed-array.set"),t("core-js/modules/es.typed-array.slice"),t("core-js/modules/es.typed-array.some"),t("core-js/modules/es.typed-array.sort"),t("core-js/modules/es.typed-array.subarray"),t("core-js/modules/es.typed-array.to-locale-string"),t("core-js/modules/es.typed-array.to-string"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.math.log2"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.typed-array.float32-array"),t("core-js/modules/es.typed-array.copy-within"),t("core-js/modules/es.typed-array.every"),t("core-js/modules/es.typed-array.fill"),t("core-js/modules/es.typed-array.filter"),t("core-js/modules/es.typed-array.find"),t("core-js/modules/es.typed-array.find-index"),t("core-js/modules/es.typed-array.for-each"),t("core-js/modules/es.typed-array.includes"),t("core-js/modules/es.typed-array.index-of"),t("core-js/modules/es.typed-array.iterator"),t("core-js/modules/es.typed-array.join"),t("core-js/modules/es.typed-array.last-index-of"),t("core-js/modules/es.typed-array.map"),t("core-js/modules/es.typed-array.reduce"),t("core-js/modules/es.typed-array.reduce-right"),t("core-js/modules/es.typed-array.reverse"),t("core-js/modules/es.typed-array.set"),t("core-js/modules/es.typed-array.slice"),t("core-js/modules/es.typed-array.some"),t("core-js/modules/es.typed-array.sort"),t("core-js/modules/es.typed-array.subarray"),t("core-js/modules/es.typed-array.to-locale-string"),t("core-js/modules/es.typed-array.to-string"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t};function c(m,a){for(var h=0;h=this.width||D>=this.height)&&(console.warn("The x and y values passed to p5.Framebuffer.get are outside of its range and will be clamped."),C=this.target.constrain(C,0,this.width-1),D=this.target.constrain(D,0,this.height-1)),(0,y.readPixelWebGL)(this.gl,this.framebuffer,C*this.density,D*this.density,N.format,N.type);C=this.target.constrain(C,0,this.width-1),D=this.target.constrain(D,0,this.height-1),A=this.target.constrain(A,1,this.width-C),F=this.target.constrain(F,1,this.height-D);for(var G=(0,y.readPixelsWebGL)(void 0,this.gl,this.framebuffer,C*this.density,D*this.density,A*this.density,F*this.density,N.format,N.type),q=new Uint8ClampedArray(A*F*this.density*this.density*4),V=(q.fill(255),N.type===this.gl.RGB?3:4),z=0;zthis.vertices.length-1-this.detailX;g--)o.add(this.vertexNormals[g]);o=a.default.Vector.div(o,this.detailX);for(var j=this.vertices.length-1;j>this.vertices.length-1-this.detailX;j--)this.vertexNormals[j]=o;return this}},{key:"_makeTriangleEdges",value:function(){for(var o=this.edges.length=0;o 65535 triangles. Your web browser does not support the WebGL Extension OES_element_index_uint.");d.drawElements(d.TRIANGLES,l.vertexCount,l.indexBufferType,0)}else d.drawArrays(s||d.TRIANGLES,0,l.vertexCount)},a.default.RendererGL.prototype._drawPoints=function(s,u){var l=this.GL,d=this._getImmediatePointShader();this._setPointUniforms(d),this._bindBuffer(u,l.ARRAY_BUFFER,this._vToNArray(s),Float32Array,l.STATIC_DRAW),d.enableAttrib(d.attributes.aPosition,3),this._applyColorBlend(this.curStrokeColor),l.drawArrays(l.Points,0,s.length),d.unbindShader()};var y=a.default.RendererGL;x.default=y},{"../core/constants":269,"../core/main":280,"./p5.RenderBuffer":334,"./p5.RendererGL":337,"core-js/modules/es.array.fill":155,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.some":169,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.keys":186,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.typed-array.copy-within":210,"core-js/modules/es.typed-array.every":211,"core-js/modules/es.typed-array.fill":212,"core-js/modules/es.typed-array.filter":213,"core-js/modules/es.typed-array.find":215,"core-js/modules/es.typed-array.find-index":214,"core-js/modules/es.typed-array.float32-array":216,"core-js/modules/es.typed-array.for-each":218,"core-js/modules/es.typed-array.includes":219,"core-js/modules/es.typed-array.index-of":220,"core-js/modules/es.typed-array.iterator":223,"core-js/modules/es.typed-array.join":224,"core-js/modules/es.typed-array.last-index-of":225,"core-js/modules/es.typed-array.map":226,"core-js/modules/es.typed-array.reduce":228,"core-js/modules/es.typed-array.reduce-right":227,"core-js/modules/es.typed-array.reverse":229,"core-js/modules/es.typed-array.set":230,"core-js/modules/es.typed-array.slice":231,"core-js/modules/es.typed-array.some":232,"core-js/modules/es.typed-array.sort":233,"core-js/modules/es.typed-array.subarray":234,"core-js/modules/es.typed-array.to-locale-string":235,"core-js/modules/es.typed-array.to-string":236,"core-js/modules/es.typed-array.uint16-array":237,"core-js/modules/es.typed-array.uint32-array":238,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],337:[function(A,w,x){function c(z){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(z)}function m(z){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(Y){return c(Y)}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":c(Y)})(z)}A("core-js/modules/es.symbol"),A("core-js/modules/es.symbol.description"),A("core-js/modules/es.symbol.iterator"),A("core-js/modules/es.array.concat"),A("core-js/modules/es.array.copy-within"),A("core-js/modules/es.array.every"),A("core-js/modules/es.array.fill"),A("core-js/modules/es.array.flat"),A("core-js/modules/es.array.flat-map"),A("core-js/modules/es.array.from"),A("core-js/modules/es.array.includes"),A("core-js/modules/es.array.iterator"),A("core-js/modules/es.array.map"),A("core-js/modules/es.array.slice"),A("core-js/modules/es.array.some"),A("core-js/modules/es.array.unscopables.flat"),A("core-js/modules/es.array.unscopables.flat-map"),A("core-js/modules/es.map"),A("core-js/modules/es.object.assign"),A("core-js/modules/es.object.get-own-property-descriptor"),A("core-js/modules/es.object.get-prototype-of"),A("core-js/modules/es.object.to-string"),A("core-js/modules/es.reflect.construct"),A("core-js/modules/es.reflect.get"),A("core-js/modules/es.regexp.to-string"),A("core-js/modules/es.set"),A("core-js/modules/es.string.includes"),A("core-js/modules/es.string.iterator"),A("core-js/modules/es.typed-array.float32-array"),A("core-js/modules/es.typed-array.float64-array"),A("core-js/modules/es.typed-array.int16-array"),A("core-js/modules/es.typed-array.uint8-array"),A("core-js/modules/es.typed-array.uint16-array"),A("core-js/modules/es.typed-array.uint32-array"),A("core-js/modules/es.typed-array.copy-within"),A("core-js/modules/es.typed-array.every"),A("core-js/modules/es.typed-array.fill"),A("core-js/modules/es.typed-array.filter"),A("core-js/modules/es.typed-array.find"),A("core-js/modules/es.typed-array.find-index"),A("core-js/modules/es.typed-array.for-each"),A("core-js/modules/es.typed-array.includes"),A("core-js/modules/es.typed-array.index-of"),A("core-js/modules/es.typed-array.iterator"),A("core-js/modules/es.typed-array.join"),A("core-js/modules/es.typed-array.last-index-of"),A("core-js/modules/es.typed-array.map"),A("core-js/modules/es.typed-array.reduce"),A("core-js/modules/es.typed-array.reduce-right"),A("core-js/modules/es.typed-array.reverse"),A("core-js/modules/es.typed-array.set"),A("core-js/modules/es.typed-array.slice"),A("core-js/modules/es.typed-array.some"),A("core-js/modules/es.typed-array.sort"),A("core-js/modules/es.typed-array.subarray"),A("core-js/modules/es.typed-array.to-locale-string"),A("core-js/modules/es.typed-array.to-string"),A("core-js/modules/es.weak-map"),A("core-js/modules/web.dom-collections.iterator"),A("core-js/modules/es.symbol"),A("core-js/modules/es.symbol.description"),A("core-js/modules/es.symbol.iterator"),A("core-js/modules/es.array.concat"),A("core-js/modules/es.array.copy-within"),A("core-js/modules/es.array.every"),A("core-js/modules/es.array.fill"),A("core-js/modules/es.array.flat"),A("core-js/modules/es.array.flat-map"),A("core-js/modules/es.array.from"),A("core-js/modules/es.array.includes"),A("core-js/modules/es.array.iterator"),A("core-js/modules/es.array.map"),A("core-js/modules/es.array.slice"),A("core-js/modules/es.array.some"),A("core-js/modules/es.array.unscopables.flat"),A("core-js/modules/es.array.unscopables.flat-map"),A("core-js/modules/es.map"),A("core-js/modules/es.object.assign"),A("core-js/modules/es.object.to-string"),A("core-js/modules/es.set"),A("core-js/modules/es.string.includes"),A("core-js/modules/es.string.iterator"),A("core-js/modules/es.typed-array.float32-array"),A("core-js/modules/es.typed-array.float64-array"),A("core-js/modules/es.typed-array.int16-array"),A("core-js/modules/es.typed-array.uint8-array"),A("core-js/modules/es.typed-array.uint16-array"),A("core-js/modules/es.typed-array.uint32-array"),A("core-js/modules/es.typed-array.copy-within"),A("core-js/modules/es.typed-array.every"),A("core-js/modules/es.typed-array.fill"),A("core-js/modules/es.typed-array.filter"),A("core-js/modules/es.typed-array.find"),A("core-js/modules/es.typed-array.find-index"),A("core-js/modules/es.typed-array.for-each"),A("core-js/modules/es.typed-array.includes"),A("core-js/modules/es.typed-array.index-of"),A("core-js/modules/es.typed-array.iterator"),A("core-js/modules/es.typed-array.join"),A("core-js/modules/es.typed-array.last-index-of"),A("core-js/modules/es.typed-array.map"),A("core-js/modules/es.typed-array.reduce"),A("core-js/modules/es.typed-array.reduce-right"),A("core-js/modules/es.typed-array.reverse"),A("core-js/modules/es.typed-array.set"),A("core-js/modules/es.typed-array.slice"),A("core-js/modules/es.typed-array.some"),A("core-js/modules/es.typed-array.sort"),A("core-js/modules/es.typed-array.subarray"),A("core-js/modules/es.typed-array.to-locale-string"),A("core-js/modules/es.typed-array.to-string"),A("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.readPixelsWebGL=q,x.readPixelWebGL=V,x.default=void 0;var a=l(A("../core/main")),h=function(z){if(z&&z.__esModule)return z;if(z===null||m(z)!=="object"&&typeof z!="function")return{default:z};var Y=u();if(Y&&Y.has(z))return Y.get(z);var Q,oe={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(Q in z){var I;Object.prototype.hasOwnProperty.call(z,Q)&&((I=E?Object.getOwnPropertyDescriptor(z,Q):null)&&(I.get||I.set)?Object.defineProperty(oe,Q,I):oe[Q]=z[Q])}return oe.default=z,Y&&Y.set(z,oe),oe}(A("../core/constants")),b=l(A("./GeometryBuilder")),y=l(A("libtess")),s=(A("./p5.Shader"),A("./p5.Camera"),A("../core/p5.Renderer"),A("./p5.Matrix"),A("./p5.Framebuffer"),A("path"),A("./p5.Texture"));function u(){var z;return typeof WeakMap!="function"?null:(z=new WeakMap,u=function(){return z},z)}function l(z){return z&&z.__esModule?z:{default:z}}function d(z){return function(Y){if(Array.isArray(Y)){for(var Q=0,oe=new Array(Y.length);Qthis.cameraFar&&(l=this.cameraFar),Math.acos(Math.max(-1,Math.min(1,c.default.Vector.dot(d,p))))+g),g=y;(f<=0||f>=Math.PI)&&(this.upX*=-1,this.upY*=-1,this.upZ*=-1),p.mult(Math.cos(f)),i.mult(Math.cos(g)*Math.sin(f)),o.mult(Math.sin(g)*Math.sin(f)),d.set(p).add(i).add(o),this.eyeX=l*d.x+this.centerX,this.eyeY=l*d.y+this.centerY,this.eyeZ=l*d.z+this.centerZ,this.camera(this.eyeX,this.eyeY,this.eyeZ,this.centerX,this.centerY,this.centerZ,this.upX,this.upY,this.upZ)}},{key:"_orbitFree",value:function(f,g,M){var d=this.eyeX-this.centerX,p=this.eyeY-this.centerY,o=this.eyeZ-this.centerZ,l=Math.hypot(d,p,o),d=new c.default.Vector(d,p,o).normalize(),p=new c.default.Vector(this.upX,this.upY,this.upZ),o=c.default.Vector.cross(p,d).normalize(),i=c.default.Vector.cross(d,o),E=Math.atan2(g,f),E=(i.mult(Math.sin(E)),o.mult(Math.cos(E)).add(i),Math.sqrt(f*f+g*g)),i=c.default.Vector.cross(d,o),f=((l=(l*=Math.pow(10,M))this.cameraFar&&(l=this.cameraFar),Math.cos(E)),g=Math.sin(E),M=p.dot(d),E=p.dot(o),j=M*f+E*g,M=-M*g+E*f,E=p.dot(i);p.x=j*d.x+M*o.x+E*i.x,p.y=j*d.y+M*o.y+E*i.y,p.z=j*d.z+M*o.z+E*i.z,o.mult(-g),d.mult(f).add(o).mult(l),this.camera(d.x+this.centerX,d.y+this.centerY,d.z+this.centerZ,this.centerX,this.centerY,this.centerZ,p.x,p.y,p.z)}},{key:"_isActive",value:function(){return this===this._renderer._curCamera}}])&&m(h.prototype,b),a}(),c.default.prototype.setCamera=function(a){this._renderer._curCamera=a,this._renderer.uPMatrix.set(a.projMatrix)},t=c.default.Camera,x.default=t},{"../core/main":280,"core-js/modules/es.array.slice":168,"core-js/modules/es.math.hypot":175,"core-js/modules/es.string.sub":205}],330:[function(t,w,x){t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.math.log2"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.typed-array.float32-array"),t("core-js/modules/es.typed-array.copy-within"),t("core-js/modules/es.typed-array.every"),t("core-js/modules/es.typed-array.fill"),t("core-js/modules/es.typed-array.filter"),t("core-js/modules/es.typed-array.find"),t("core-js/modules/es.typed-array.find-index"),t("core-js/modules/es.typed-array.for-each"),t("core-js/modules/es.typed-array.includes"),t("core-js/modules/es.typed-array.index-of"),t("core-js/modules/es.typed-array.iterator"),t("core-js/modules/es.typed-array.join"),t("core-js/modules/es.typed-array.last-index-of"),t("core-js/modules/es.typed-array.map"),t("core-js/modules/es.typed-array.reduce"),t("core-js/modules/es.typed-array.reduce-right"),t("core-js/modules/es.typed-array.reverse"),t("core-js/modules/es.typed-array.set"),t("core-js/modules/es.typed-array.slice"),t("core-js/modules/es.typed-array.some"),t("core-js/modules/es.typed-array.sort"),t("core-js/modules/es.typed-array.subarray"),t("core-js/modules/es.typed-array.to-locale-string"),t("core-js/modules/es.typed-array.to-string"),t("core-js/modules/es.array.iterator"),t("core-js/modules/es.array.slice"),t("core-js/modules/es.math.log2"),t("core-js/modules/es.object.to-string"),t("core-js/modules/es.typed-array.float32-array"),t("core-js/modules/es.typed-array.copy-within"),t("core-js/modules/es.typed-array.every"),t("core-js/modules/es.typed-array.fill"),t("core-js/modules/es.typed-array.filter"),t("core-js/modules/es.typed-array.find"),t("core-js/modules/es.typed-array.find-index"),t("core-js/modules/es.typed-array.for-each"),t("core-js/modules/es.typed-array.includes"),t("core-js/modules/es.typed-array.index-of"),t("core-js/modules/es.typed-array.iterator"),t("core-js/modules/es.typed-array.join"),t("core-js/modules/es.typed-array.last-index-of"),t("core-js/modules/es.typed-array.map"),t("core-js/modules/es.typed-array.reduce"),t("core-js/modules/es.typed-array.reduce-right"),t("core-js/modules/es.typed-array.reverse"),t("core-js/modules/es.typed-array.set"),t("core-js/modules/es.typed-array.slice"),t("core-js/modules/es.typed-array.some"),t("core-js/modules/es.typed-array.sort"),t("core-js/modules/es.typed-array.subarray"),t("core-js/modules/es.typed-array.to-locale-string"),t("core-js/modules/es.typed-array.to-string"),Object.defineProperty(x,"__esModule",{value:!0}),x.default=void 0,t=(t=t("../core/main"))&&t.__esModule?t:{default:t};function c(m,a){for(var h=0;h=this.width||D>=this.height)&&(console.warn("The x and y values passed to p5.Framebuffer.get are outside of its range and will be clamped."),C=this.target.constrain(C,0,this.width-1),D=this.target.constrain(D,0,this.height-1)),(0,y.readPixelWebGL)(this.gl,this.framebuffer,C*this.density,D*this.density,N.format,N.type);C=this.target.constrain(C,0,this.width-1),D=this.target.constrain(D,0,this.height-1),A=this.target.constrain(A,1,this.width-C),F=this.target.constrain(F,1,this.height-D);for(var G=(0,y.readPixelsWebGL)(void 0,this.gl,this.framebuffer,C*this.density,D*this.density,A*this.density,F*this.density,N.format,N.type),q=new Uint8ClampedArray(A*F*this.density*this.density*4),V=(q.fill(255),N.type===this.gl.RGB?3:4),z=0;zthis.vertices.length-1-this.detailX;g--)o.add(this.vertexNormals[g]);o=a.default.Vector.div(o,this.detailX);for(var j=this.vertices.length-1;j>this.vertices.length-1-this.detailX;j--)this.vertexNormals[j]=o;return this}},{key:"_makeTriangleEdges",value:function(){for(var o=this.edges.length=0;o 65535 triangles. Your web browser does not support the WebGL Extension OES_element_index_uint.");d.drawElements(d.TRIANGLES,l.vertexCount,l.indexBufferType,0)}else d.drawArrays(s||d.TRIANGLES,0,l.vertexCount)},a.default.RendererGL.prototype._drawPoints=function(s,u){var l=this.GL,d=this._getImmediatePointShader();this._setPointUniforms(d),this._bindBuffer(u,l.ARRAY_BUFFER,this._vToNArray(s),Float32Array,l.STATIC_DRAW),d.enableAttrib(d.attributes.aPosition,3),this._applyColorBlend(this.curStrokeColor),l.drawArrays(l.Points,0,s.length),d.unbindShader()};var y=a.default.RendererGL;x.default=y},{"../core/constants":269,"../core/main":280,"./p5.RenderBuffer":334,"./p5.RendererGL":337,"core-js/modules/es.array.fill":155,"core-js/modules/es.array.iterator":164,"core-js/modules/es.array.some":169,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.keys":186,"core-js/modules/es.object.to-string":187,"core-js/modules/es.string.iterator":197,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.typed-array.copy-within":210,"core-js/modules/es.typed-array.every":211,"core-js/modules/es.typed-array.fill":212,"core-js/modules/es.typed-array.filter":213,"core-js/modules/es.typed-array.find":215,"core-js/modules/es.typed-array.find-index":214,"core-js/modules/es.typed-array.float32-array":216,"core-js/modules/es.typed-array.for-each":218,"core-js/modules/es.typed-array.includes":219,"core-js/modules/es.typed-array.index-of":220,"core-js/modules/es.typed-array.iterator":223,"core-js/modules/es.typed-array.join":224,"core-js/modules/es.typed-array.last-index-of":225,"core-js/modules/es.typed-array.map":226,"core-js/modules/es.typed-array.reduce":228,"core-js/modules/es.typed-array.reduce-right":227,"core-js/modules/es.typed-array.reverse":229,"core-js/modules/es.typed-array.set":230,"core-js/modules/es.typed-array.slice":231,"core-js/modules/es.typed-array.some":232,"core-js/modules/es.typed-array.sort":233,"core-js/modules/es.typed-array.subarray":234,"core-js/modules/es.typed-array.to-locale-string":235,"core-js/modules/es.typed-array.to-string":236,"core-js/modules/es.typed-array.uint16-array":237,"core-js/modules/es.typed-array.uint32-array":238,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}],337:[function(A,w,x){function c(z){return(c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Y){return typeof Y}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":typeof Y})(z)}function m(z){return(m=typeof Symbol=="function"&&c(Symbol.iterator)==="symbol"?function(Y){return c(Y)}:function(Y){return Y&&typeof Symbol=="function"&&Y.constructor===Symbol&&Y!==Symbol.prototype?"symbol":c(Y)})(z)}A("core-js/modules/es.symbol"),A("core-js/modules/es.symbol.description"),A("core-js/modules/es.symbol.iterator"),A("core-js/modules/es.array.concat"),A("core-js/modules/es.array.copy-within"),A("core-js/modules/es.array.every"),A("core-js/modules/es.array.fill"),A("core-js/modules/es.array.flat"),A("core-js/modules/es.array.flat-map"),A("core-js/modules/es.array.from"),A("core-js/modules/es.array.includes"),A("core-js/modules/es.array.iterator"),A("core-js/modules/es.array.map"),A("core-js/modules/es.array.slice"),A("core-js/modules/es.array.some"),A("core-js/modules/es.array.unscopables.flat"),A("core-js/modules/es.array.unscopables.flat-map"),A("core-js/modules/es.map"),A("core-js/modules/es.object.assign"),A("core-js/modules/es.object.get-own-property-descriptor"),A("core-js/modules/es.object.get-prototype-of"),A("core-js/modules/es.object.to-string"),A("core-js/modules/es.reflect.construct"),A("core-js/modules/es.reflect.get"),A("core-js/modules/es.regexp.to-string"),A("core-js/modules/es.set"),A("core-js/modules/es.string.includes"),A("core-js/modules/es.string.iterator"),A("core-js/modules/es.typed-array.float32-array"),A("core-js/modules/es.typed-array.float64-array"),A("core-js/modules/es.typed-array.int16-array"),A("core-js/modules/es.typed-array.uint8-array"),A("core-js/modules/es.typed-array.uint16-array"),A("core-js/modules/es.typed-array.uint32-array"),A("core-js/modules/es.typed-array.copy-within"),A("core-js/modules/es.typed-array.every"),A("core-js/modules/es.typed-array.fill"),A("core-js/modules/es.typed-array.filter"),A("core-js/modules/es.typed-array.find"),A("core-js/modules/es.typed-array.find-index"),A("core-js/modules/es.typed-array.for-each"),A("core-js/modules/es.typed-array.includes"),A("core-js/modules/es.typed-array.index-of"),A("core-js/modules/es.typed-array.iterator"),A("core-js/modules/es.typed-array.join"),A("core-js/modules/es.typed-array.last-index-of"),A("core-js/modules/es.typed-array.map"),A("core-js/modules/es.typed-array.reduce"),A("core-js/modules/es.typed-array.reduce-right"),A("core-js/modules/es.typed-array.reverse"),A("core-js/modules/es.typed-array.set"),A("core-js/modules/es.typed-array.slice"),A("core-js/modules/es.typed-array.some"),A("core-js/modules/es.typed-array.sort"),A("core-js/modules/es.typed-array.subarray"),A("core-js/modules/es.typed-array.to-locale-string"),A("core-js/modules/es.typed-array.to-string"),A("core-js/modules/es.weak-map"),A("core-js/modules/web.dom-collections.iterator"),A("core-js/modules/es.symbol"),A("core-js/modules/es.symbol.description"),A("core-js/modules/es.symbol.iterator"),A("core-js/modules/es.array.concat"),A("core-js/modules/es.array.copy-within"),A("core-js/modules/es.array.every"),A("core-js/modules/es.array.fill"),A("core-js/modules/es.array.flat"),A("core-js/modules/es.array.flat-map"),A("core-js/modules/es.array.from"),A("core-js/modules/es.array.includes"),A("core-js/modules/es.array.iterator"),A("core-js/modules/es.array.map"),A("core-js/modules/es.array.slice"),A("core-js/modules/es.array.some"),A("core-js/modules/es.array.unscopables.flat"),A("core-js/modules/es.array.unscopables.flat-map"),A("core-js/modules/es.map"),A("core-js/modules/es.object.assign"),A("core-js/modules/es.object.to-string"),A("core-js/modules/es.set"),A("core-js/modules/es.string.includes"),A("core-js/modules/es.string.iterator"),A("core-js/modules/es.typed-array.float32-array"),A("core-js/modules/es.typed-array.float64-array"),A("core-js/modules/es.typed-array.int16-array"),A("core-js/modules/es.typed-array.uint8-array"),A("core-js/modules/es.typed-array.uint16-array"),A("core-js/modules/es.typed-array.uint32-array"),A("core-js/modules/es.typed-array.copy-within"),A("core-js/modules/es.typed-array.every"),A("core-js/modules/es.typed-array.fill"),A("core-js/modules/es.typed-array.filter"),A("core-js/modules/es.typed-array.find"),A("core-js/modules/es.typed-array.find-index"),A("core-js/modules/es.typed-array.for-each"),A("core-js/modules/es.typed-array.includes"),A("core-js/modules/es.typed-array.index-of"),A("core-js/modules/es.typed-array.iterator"),A("core-js/modules/es.typed-array.join"),A("core-js/modules/es.typed-array.last-index-of"),A("core-js/modules/es.typed-array.map"),A("core-js/modules/es.typed-array.reduce"),A("core-js/modules/es.typed-array.reduce-right"),A("core-js/modules/es.typed-array.reverse"),A("core-js/modules/es.typed-array.set"),A("core-js/modules/es.typed-array.slice"),A("core-js/modules/es.typed-array.some"),A("core-js/modules/es.typed-array.sort"),A("core-js/modules/es.typed-array.subarray"),A("core-js/modules/es.typed-array.to-locale-string"),A("core-js/modules/es.typed-array.to-string"),A("core-js/modules/web.dom-collections.iterator"),Object.defineProperty(x,"__esModule",{value:!0}),x.readPixelsWebGL=q,x.readPixelWebGL=V,x.default=void 0;var a=l(A("../core/main")),h=function(z){if(z&&z.__esModule)return z;if(z===null||m(z)!=="object"&&typeof z!="function")return{default:z};var Y=u();if(Y&&Y.has(z))return Y.get(z);var Q,oe={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(Q in z){var I;Object.prototype.hasOwnProperty.call(z,Q)&&((I=k?Object.getOwnPropertyDescriptor(z,Q):null)&&(I.get||I.set)?Object.defineProperty(oe,Q,I):oe[Q]=z[Q])}return oe.default=z,Y&&Y.set(z,oe),oe}(A("../core/constants")),b=l(A("./GeometryBuilder")),y=l(A("libtess")),s=(A("./p5.Shader"),A("./p5.Camera"),A("../core/p5.Renderer"),A("./p5.Matrix"),A("./p5.Framebuffer"),A("path"),A("./p5.Texture"));function u(){var z;return typeof WeakMap!="function"?null:(z=new WeakMap,u=function(){return z},z)}function l(z){return z&&z.__esModule?z:{default:z}}function d(z){return function(Y){if(Array.isArray(Y)){for(var Q=0,oe=new Array(Y.length);Q>7,127&ge,ne>>7,127&ne);for(var we=0;we>7,127&Pe,0,0)}}return{cellImageInfo:K,dimOffset:He,dimImageInfo:xe}}}}]),f}();h.default.RendererGL.prototype._renderText=function(f,g,j,M,k){if(this._textFont&&typeof this._textFont!="string"){if(!(k<=M)&&this._doFill){if(this._isOpenType()){f.push();var k=this._doStroke,T=this.drawMode,P=(this._doStroke=!1,this.drawMode=b.TEXTURE,this._textFont.font),R=(R=this._textFont._fontInfo)||(this._textFont._fontInfo=new i(P)),j=this._textFont._handleAlignment(this,g,j,M),M=this._textSize/P.unitsPerEm,C=(this.translate(j.x,j.y,0),this.scale(M,M,1),this.GL),j=!this._defaultFontShader,D=this._getFontShader(),A=(D.init(),D.bindShader(),j&&(D.setUniform("uGridImageSize",[64,64]),D.setUniform("uCellsImageSize",[64,64]),D.setUniform("uStrokeImageSize",[64,64]),D.setUniform("uGridSize",[9,9])),this._applyColorBlend(this.curFillColor),this.retainedMode.geometry.glyph),F=(A||((M=this._textGeom=new h.default.Geometry(1,1,function(){for(var de=0;de<=1;de++)for(var ce=0;ce<=1;ce++)this.vertices.push(new h.default.Vector(ce,de,0)),this.uvs.push(ce,de)})).computeFaces().computeNormals(),A=this.createBuffers("glyph",M)),!0),j=!1,M=void 0;try{for(var N,G=this.retainedMode.buffers.text[Symbol.iterator]();!(F=(N=G.next()).done);F=!0)N.value._prepareBuffer(A,D)}catch(de){j=!0,M=de}finally{try{F||G.return==null||G.return()}finally{if(j)throw M}}this._bindBuffer(A.indexBuffer,C.ELEMENT_ARRAY_BUFFER),D.setUniform("uMaterialColor",this.curFillColor),C.pixelStorei(C.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1);try{var q=0,V=null,z=P.stringToGlyphs(g),Y=!0,Q=!1,oe=void 0;try{for(var E,I=z[Symbol.iterator]();!(Y=(E=I.next()).done);Y=!0){var B,W,$=E.value,te=(V&&(q+=P.getKerningValue(V,$)),R.getGlyphInfo($));te.uGlyphRect&&(B=te.rowInfo,W=te.colInfo,D.setUniform("uSamplerStrokes",te.strokeImageInfo.imageData),D.setUniform("uSamplerRowStrokes",B.cellImageInfo.imageData),D.setUniform("uSamplerRows",B.dimImageInfo.imageData),D.setUniform("uSamplerColStrokes",W.cellImageInfo.imageData),D.setUniform("uSamplerCols",W.dimImageInfo.imageData),D.setUniform("uGridOffset",te.uGridOffset),D.setUniform("uGlyphRect",te.uGlyphRect),D.setUniform("uGlyphOffset",q),D.bindTextures(),C.drawElements(C.TRIANGLES,6,this.GL.UNSIGNED_SHORT,0)),q+=$.advanceWidth,V=$}}catch(de){Q=!0,oe=de}finally{try{Y||I.return==null||I.return()}finally{if(Q)throw oe}}}finally{D.unbindShader(),this._doStroke=k,this.drawMode=T,C.pixelStorei(C.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),f.pop()}}else console.log("WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts are supported");return f}}else console.log("WEBGL: you must load and set a font before drawing text. See `loadFont` and `textFont` for more details.")}},{"../core/constants":269,"../core/main":280,"./p5.RendererGL.Retained":336,"./p5.Shader":338,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.string.sub":205,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}]},{},[264])(264)})})(Ih);var Ry=Ih.exports;const Iy=xd(Ry);var kl=function(){return kl=Object.assign||function(r){for(var n,_=1,t=arguments.length;_{let n="",_=0,t=0,w=0,x=0,c="thr",m=!1,a=!1,h=!0;r.setup=()=>{r.createCanvas(0,0),r.textAlign(r.CENTER,r.CENTER),r.frameRate(Uy)},r.updateWithProps=b=>{const y=n,s=_,u=t,l=w,d=x,p=c,o=m,i=a;({inputNumberList:n,numberSize:_,numberRange:t,numberHeight:w,sequenceHeight:x,select:c,delete1:m,deleteline:a}=b),(y!==n||s!==_||u!==t||l!==w||d!==x||p!==c||o!==m||i!==a)&&(h=!0)},r.draw=()=>{if(h){h=!1;try{const b=n.split(/[\n\s]/).filter(d=>d.trim()!=="");if(b.length===0){r.resizeCanvas(0,0);return}const y=b.map(d=>Dh(d)),s=y.reduce((d,{depth:p})=>d+(1+p)*w,0)+(b.length-1)*x,u=(.5+Math.max(...y.map(({width:d})=>d)))*t;r.resizeCanvas(u,s);let l=0;y.forEach(({array:d,depth:p})=>{Ml(d,r,_,t,w,l,p,c,m,a),l+=(1+p)*w+x})}catch(b){console.error("Error in draw function:",b)}}}};function Dh(r){const n=r.match(/\([\d,]+\)/g);if(n){const _=n.map(x=>x.slice(1,-1).split(",").map(c=>parseInt(c)).filter(c=>!isNaN(c))),t=Math.max(..._.map(x=>x.length));_.forEach(x=>{for(;x.lengthparseInt(t)).filter(t=>!isNaN(t));return{array:_,depth:Gy(_),width:_.length}}}function Gy(r){let n=0;for(;!ku(r,n)[1].every(_=>_===-1);)n++;return n}function yo(r){const n=r.length,_=r[0].length,t=[];for(let w=0;w<_;w++){const x=[];for(let c=0;c{s.forEach((l,d)=>{const p=(.5+d)*t,o=(.5+c-u)*w+x;if(u===0)n.text(l,p,o);else{const i=y[u-1][d];if((!a||!s.every((f,g)=>d!==y[u][g])||i!==-1||y[u][d]!==-1)&&n.text(l,p,o),!h&&i!==-1){const f=(.5+i)*t,g=o+w;n.line(p,o+_/2,f,g-_/2),n.line(p,o+_/2,p,g-_/2)}}})})}else{const b=Ol(r,c);if(m==="0-Y"){const y=Fh(r,b);Ml(y,n,_,t,w,x,c,m,a,h)}else r.forEach((y,s)=>{y.forEach((u,l)=>{const d=(.5+l)*t,p=(.5+s)*w+x;if(s!==c&&n.text(u,d,p),s!==0){const o=b[s-1][l];if(!h&&o!==-1){const i=(.5+o)*t,f=p-w;n.line(d,p-_/2,i,f+_/2),n.line(d,p-_/2,d,f+_/2)}}})})}}function Nh(r,n){const _=Array(r.length);for(let t=r.length-1;t>-1;t--){const w=[];for(let x=0;x-1;t--){const w=[];for(let x=0;xGh(r,a));return[r,c]}const[_,t]=ku(r,n-1),w=_.map((c,m)=>t[m]===-1?1:c-_[t[m]]),x=Bh(w,t);return[w,x]}function Ol(r,n){const _=[];for(let t=0;t<=n;t++)_.push(Uh(r,t));return _}function Uh(r,n){if(n===0)return r[0].map((x,c)=>Gh(r[0],c));const _=Uh(r,n-1);return Bh(r[n],_)}function Bh(r,n){return r.map((_,t)=>{let w=t;for(;(w=n[w])!==-1&&r[t]<=r[w];);return w})}function Gh(r,n){let _=n-1;for(;_>=0&&r[_]>=r[n];)_--;return _}function zy(r,n,_){let t=r.length-1;for(;r[t][r[0].length-1]===0;)t--;const w=n[t][r[0].length-1];let x=[],c=[];for(let h=0;h{const f=r.split(/[\n\s]/).filter(T=>T.trim()!=="");if(f.length===0||!_)return;const g=Dh(f[f.length-1]);let j=[],M=[];if(Tl(g.array)){const T=Cl(g.array,g.depth).matSeq;M=Cl(g.array,g.depth).matParent,j=Nh(T,M)}else j=[...g.array],M=Ol(j,g.depth);const k=zy(j,M,parseInt(_));if(Tl(g.array)){const T=Ol(k,k.length-1);let R=Fh(k,T).toString();R=r+` -`+R,n(R)}else{const P=yo(k).map(C=>"("+C.slice(0,-1).toString()+")"),R=r+` -`+P.toString().replace(/\),\(/g,")(");n(R)}};return lt.jsxs("div",{className:"app",children:[lt.jsx("header",{children:"why mounTain"}),lt.jsxs("main",{children:[lt.jsx("div",{className:"optionAndCal",children:lt.jsx("div",{className:"option",children:lt.jsx("div",{className:"inputCon",children:lt.jsxs("div",{className:"inputTab",children:[lt.jsx("textarea",{className:"inputText",value:r,onChange:f=>n(f.target.value),placeholder:"入力A",autoComplete:"off",rows:5,cols:50}),lt.jsxs("div",{className:"miniInput",children:[lt.jsx("input",{className:"inputNumber",value:_,onChange:f=>t(f.target.value),type:"number",placeholder:"入力B",autoComplete:"off",min:"0"}),lt.jsxs("select",{value:s,onChange:f=>u(f.target.value),children:[lt.jsx("option",{value:"0-Y",children:"0-Y"}),lt.jsx("option",{value:"BMS",children:"BMS"}),lt.jsx("option",{value:"thr",children:"そのまま"})]}),lt.jsx("button",{className:"calButton",onClick:()=>i(),children:"A[B]を計算"})]}),lt.jsxs("div",{className:"optionCheckbox",children:[lt.jsxs("label",{className:"checkbox",children:[lt.jsx("input",{type:"checkbox",checked:p,onChange:()=>o(!p)})," 線を削除"]}),s!=="BMS"?lt.jsxs("label",{className:"checkbox",children:[lt.jsx("input",{type:"checkbox",checked:l,onChange:()=>d(!l)})," 余分な1を削除"]}):lt.jsx(lt.Fragment,{})]}),lt.jsx("div",{className:"hydra",children:lt.jsxs("ul",{children:[lt.jsxs("li",{children:["数字の大きさ:",lt.jsx("input",{className:"hydraSize",value:w,onChange:f=>x(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数字間の幅:",lt.jsx("input",{className:"hydraRange",value:c,onChange:f=>m(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数字間の高さ:",lt.jsx("input",{className:"hydraSize",value:a,onChange:f=>h(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数列間の高さ:",lt.jsx("input",{className:"hydraSize",value:b,onChange:f=>y(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]})]})})]})})})}),lt.jsx(Fy,{sketch:By,inputNumberList:r,numberSize:w,numberRange:c,numberHeight:a,sequenceHeight:b,select:s,delete1:l,deleteline:p})]}),lt.jsxs("footer",{children:[lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%96%E3%83%AD%E3%82%B0:%E3%82%86%E3%81%8D%E3%81%A8/%5C(0%5C)-Y%E6%95%B0%E5%88%97",target:"_blank",rel:"noreferrer",children:'"0-Y sequence"'})," and ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%96%E3%83%AD%E3%82%B0:BashicuHyudora/BASIC%E8%A8%80%E8%AA%9E%E3%81%AB%E3%82%88%E3%82%8B%E5%B7%A8%E5%A4%A7%E6%95%B0%E3%81%AE%E3%81%BE%E3%81%A8%E3%82%81#%E3%83%90%E3%82%B7%E3%82%AF%E8%A1%8C%E5%88%97%E6%95%B0(Bashicu_matrix_number)",target:"_blank",rel:"noreferrer",children:'"Bashicu matrix"'})," were defined by ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC:%E3%82%86%E3%81%8D%E3%81%A8",target:"_blank",rel:"noreferrer",children:"ゆきと"})," and ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC:BashicuHyudora",target:"_blank",rel:"noreferrer",children:"Bashicu"}),", respectively.",lt.jsx("br",{}),"The program ",lt.jsx("a",{href:"https://github.com/SanukiMiyatsuko/why_mountain",target:"_blank",rel:"noreferrer",children:"https://github.com/SanukiMiyatsuko/why_mountain"})," is licensed by ",lt.jsx("a",{href:"https://creativecommons.org/licenses/by-sa/3.0/legalcode",target:"_blank",rel:"noreferrer",children:"Creative Commons Attribution-ShareAlike 3.0 Unported License"}),".",lt.jsx("br",{}),"I referred to ",lt.jsx("a",{href:"https://naruyoko.github.io/whYmountain/",target:"_blank",rel:"noreferrer",children:"whY mountain"})," by ",lt.jsx("a",{href:"https://github.com/Naruyoko",target:"_blank",rel:"noreferrer",children:"Naruyoko"}),".",lt.jsx("br",{}),"Last updated: 2024/07/13"]})]})}Aa.createRoot(document.getElementById("root")).render(lt.jsx(Il.StrictMode,{children:lt.jsx(Vy,{})})); +`)),B}},{key:"_getEmptyTexture",value:function(){var k;return this._emptyTexture||((k=new a.default.Image(1,1)).set(0,0,255),this._emptyTexture=new a.default.Texture(this,k)),this._emptyTexture}},{key:"getTexture",value:function(k){k instanceof a.default.Framebuffer&&(k=k.color);var I=this.textures.get(k);return I||(I=new a.default.Texture(this,k),this.textures.set(k,I),I)}},{key:"getDiffusedTexture",value:function(k){var I,B,W=this;return this.diffusedTextures.get(k)!=null?this.diffusedTextures.get(k):(I=Math.floor(k.height/k.width*200),B=this._pInst.createFramebuffer({width:200,height:I,density:1}),this.diffusedShader||(this.diffusedShader=this._pInst.createShader(F.imageLightVert,F.imageLightDiffusedFrag)),B.draw(function(){W._pInst.shader(W.diffusedShader),W.diffusedShader.setUniform("environmentMap",k),W._pInst.noStroke(),W._pInst.rectMode(h.CENTER),W._pInst.noLights(),W._pInst.rect(0,0,200,I)}),this.diffusedTextures.set(k,B),B)}},{key:"getSpecularTexture",value:function(k){var I=this;if(this.specularTextures.get(k)!=null)return this.specularTextures.get(k);for(var B,W=[],$=this._pInst.createFramebuffer({width:512,height:512,density:1}),te=Math.log(512)/Math.log(2),se=(this.specularShader||(this.specularShader=this._pInst.createShader(F.imageLightVert,F.imageLightSpecularFrag)),512);1<=se;se/=2)(function(fe){$.resize(fe,fe);var ie=1-Math.log(fe)/Math.log(2)/te;$.draw(function(){I._pInst.shader(I.specularShader),I._pInst.clear(),I.specularShader.setUniform("environmentMap",k),I.specularShader.setUniform("roughness",ie),I._pInst.noStroke(),I._pInst.noLights(),I._pInst.plane(fe,fe)}),W.push($.get().drawingContext.getImageData(0,0,fe,fe))})(se);return $.remove(),B=new s.MipmapTexture(this,W,{}),this.specularTextures.set(k,B),B}},{key:"activeFramebuffer",value:function(){return this.activeFramebuffers[this.activeFramebuffers.length-1]||null}},{key:"createFramebuffer",value:function(k){return new a.default.Framebuffer(this,k)}},{key:"_setStrokeUniforms",value:function(k){k.bindShader(),k.setUniform("uUseLineColor",this._useLineColor),k.setUniform("uMaterialColor",this.curStrokeColor),k.setUniform("uStrokeWeight",this.curStrokeWeight),k.setUniform("uStrokeCap",R[this.curStrokeCap]),k.setUniform("uStrokeJoin",C[this.curStrokeJoin])}},{key:"_setFillUniforms",value:function(k){var I=this,B=(k.bindShader(),this.mixedSpecularColor=d(this.curSpecularColor),0>7,127&ge,ne>>7,127&ne);for(var we=0;we>7,127&Pe,0,0)}}return{cellImageInfo:K,dimOffset:He,dimImageInfo:xe}}}}]),f}();h.default.RendererGL.prototype._renderText=function(f,g,j,M,E){if(this._textFont&&typeof this._textFont!="string"){if(!(E<=M)&&this._doFill){if(this._isOpenType()){f.push();var E=this._doStroke,T=this.drawMode,P=(this._doStroke=!1,this.drawMode=b.TEXTURE,this._textFont.font),R=(R=this._textFont._fontInfo)||(this._textFont._fontInfo=new i(P)),j=this._textFont._handleAlignment(this,g,j,M),M=this._textSize/P.unitsPerEm,C=(this.translate(j.x,j.y,0),this.scale(M,M,1),this.GL),j=!this._defaultFontShader,D=this._getFontShader(),A=(D.init(),D.bindShader(),j&&(D.setUniform("uGridImageSize",[64,64]),D.setUniform("uCellsImageSize",[64,64]),D.setUniform("uStrokeImageSize",[64,64]),D.setUniform("uGridSize",[9,9])),this._applyColorBlend(this.curFillColor),this.retainedMode.geometry.glyph),F=(A||((M=this._textGeom=new h.default.Geometry(1,1,function(){for(var de=0;de<=1;de++)for(var ce=0;ce<=1;ce++)this.vertices.push(new h.default.Vector(ce,de,0)),this.uvs.push(ce,de)})).computeFaces().computeNormals(),A=this.createBuffers("glyph",M)),!0),j=!1,M=void 0;try{for(var N,G=this.retainedMode.buffers.text[Symbol.iterator]();!(F=(N=G.next()).done);F=!0)N.value._prepareBuffer(A,D)}catch(de){j=!0,M=de}finally{try{F||G.return==null||G.return()}finally{if(j)throw M}}this._bindBuffer(A.indexBuffer,C.ELEMENT_ARRAY_BUFFER),D.setUniform("uMaterialColor",this.curFillColor),C.pixelStorei(C.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1);try{var q=0,V=null,z=P.stringToGlyphs(g),Y=!0,Q=!1,oe=void 0;try{for(var k,I=z[Symbol.iterator]();!(Y=(k=I.next()).done);Y=!0){var B,W,$=k.value,te=(V&&(q+=P.getKerningValue(V,$)),R.getGlyphInfo($));te.uGlyphRect&&(B=te.rowInfo,W=te.colInfo,D.setUniform("uSamplerStrokes",te.strokeImageInfo.imageData),D.setUniform("uSamplerRowStrokes",B.cellImageInfo.imageData),D.setUniform("uSamplerRows",B.dimImageInfo.imageData),D.setUniform("uSamplerColStrokes",W.cellImageInfo.imageData),D.setUniform("uSamplerCols",W.dimImageInfo.imageData),D.setUniform("uGridOffset",te.uGridOffset),D.setUniform("uGlyphRect",te.uGlyphRect),D.setUniform("uGlyphOffset",q),D.bindTextures(),C.drawElements(C.TRIANGLES,6,this.GL.UNSIGNED_SHORT,0)),q+=$.advanceWidth,V=$}}catch(de){Q=!0,oe=de}finally{try{Y||I.return==null||I.return()}finally{if(Q)throw oe}}}finally{D.unbindShader(),this._doStroke=E,this.drawMode=T,C.pixelStorei(C.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),f.pop()}}else console.log("WEBGL: only Opentype (.otf) and Truetype (.ttf) fonts are supported");return f}}else console.log("WEBGL: you must load and set a font before drawing text. See `loadFont` and `textFont` for more details.")}},{"../core/constants":269,"../core/main":280,"./p5.RendererGL.Retained":336,"./p5.Shader":338,"core-js/modules/es.array.iterator":164,"core-js/modules/es.object.get-own-property-descriptor":183,"core-js/modules/es.object.to-string":187,"core-js/modules/es.regexp.exec":192,"core-js/modules/es.string.iterator":197,"core-js/modules/es.string.split":203,"core-js/modules/es.string.sub":205,"core-js/modules/es.symbol":209,"core-js/modules/es.symbol.description":207,"core-js/modules/es.symbol.iterator":208,"core-js/modules/es.weak-map":241,"core-js/modules/web.dom-collections.iterator":243}]},{},[264])(264)})})(Lh);var Oy=Lh.exports;const Py=gd(Oy);var kl=function(){return kl=Object.assign||function(r){for(var n,_=1,t=arguments.length;_{let n="",_=0,t=0,w=0,x=0,c="thr",m=!1,a=!1,h=!0;r.setup=()=>{r.createCanvas(0,0),r.textAlign(r.CENTER,r.CENTER),r.frameRate(Iy)},r.updateWithProps=y=>{(n!==y.inputNumberList||_!==y.numberSize||t!==y.numberRange||w!==y.numberHeight||x!==y.sequenceHeight||c!==y.select||m!==y.delete1||a!==y.deleteline)&&(h=!0),{inputNumberList:n,numberSize:_,numberRange:t,numberHeight:w,sequenceHeight:x,select:c,delete1:m,deleteline:a}=y},r.draw=()=>{if(h){h=!1;try{const y=n.split(/[\n\s]/).filter(p=>p.trim()!=="");if(y.length===0){r.resizeCanvas(0,0);return}const s=y.map(p=>Ah(p,c)),u=s.reduce((p,{parent:o})=>p+(1+o.length)*w,0)+(y.length-1)*x,l=(.5+Math.max(...s.map(({parent:p})=>p[0].length)))*t;r.resizeCanvas(l,u);let d=0;s.forEach(({type:p,matrix:o,parent:i})=>{b(p,o,i,d),d+=(1+i.length)*w+x})}catch(y){console.error("Error in draw function:",y)}}};const b=(y,s,u,l)=>{r.textSize(_),y=="0-Y"?s.forEach((d,p)=>{d.forEach((o,i)=>{const f=(.5+i)*t,g=(.5+u.length-p)*w+l;if(p===0)r.text(o,f,g);else{const j=u[p-1][i];if((!m||!d.every((M,E)=>i!==u[p][E])||j!==-1||u[p][i]!==-1)&&r.text(o,f,g),!a&&j!==-1){const M=(.5+j)*t,E=g+w;r.line(f,g+_/2,M,E-_/2),r.line(f,g+_/2,f,E-_/2)}}})}):s.forEach((d,p)=>{d.forEach((o,i)=>{const f=(.5+i)*t,g=(.5+p)*w+l;if(p!==u.length-1&&r.text(o,f,g),p!==0){const j=u[p-1][i];if(!a&&j!==-1){const M=(.5+j)*t,E=g-w;r.line(f,g-_/2,M,E+_/2),r.line(f,g-_/2,f,E+_/2)}}})})}};function Ah(r,n){const _=r.match(/\([\d,]+\)/g);if(_){const t=_.map(m=>m.slice(1,-1).split(",").map(a=>parseInt(a)).filter(a=>!isNaN(a))),w=Math.max(...t.map(m=>m.length));t.forEach(m=>{for(;m.lengthparseInt(c)).filter(c=>!isNaN(c)),{matSeq:w,matParent:x}=Tl(t);return n==="BMS"?{type:"BMS",matrix:Rh(w,x),parent:Ml(w)}:{type:"0-Y",matrix:w,parent:x}}}function Ni(r){const n=r.length,_=r[0].length,t=[];for(let w=0;w<_;w++){const x=[];for(let c=0;c-1;t--){const w=[];for(let x=0;x-1;t--){const w=[];for(let x=0;xNh(r,c));for(n.push(t),_.push(w);!w.every(x=>x===-1);)t=t.map((x,c)=>w[c]===-1?1:x-t[w[c]]),w=Dh(t,w),n.push(t),_.push(w);return{matSeq:n,matParent:_}}function Ml(r){const n=[];let _=r[0].map((t,w)=>Nh(r[0],w));n.push(_);for(let t=1;t{let w=t;for(;(w=n[w])!==-1&&r[t]<=r[w];);return w})}function Nh(r,n){let _=n-1;for(;_>=0&&r[_]>=r[n];)_--;return _}function Ny(r,n,_){const t=r[0].length-1;let w=r.length-1;for(;r[w][t]===0;)w--;const x=n[w][t],c=r.map(b=>b.slice(x,t)),m=[];for(let b=0;b{const f=r.split(/[\n\s]/).filter(T=>T.trim()!=="");if(f.length===0||!_)return;const g=Ah(f[f.length-1],s);let j=[],M=[];if(g.type==="0-Y"){const{matSeq:T,matParent:P}=Tl(g.matrix[0]);j=Rh(T,P)}else j=g.matrix,M=g.parent;let E=Ny(j,M,parseInt(_));if(g.type==="0-Y"){const T=Ml(E);let R=Ih(E,T).toString();R=r+` +`+R,n(R)}else{E[E.length-1].every(C=>C===0)&&(E=E.slice(0,E.length-1));const P=Ni(E).map(C=>"("+C.slice(0,-1).toString()+")"),R=r+` +`+P.toString().replace(/\),\(/g,")(");n(R)}};return lt.jsxs("div",{className:"app",children:[lt.jsx("header",{children:"why mounTain"}),lt.jsxs("main",{children:[lt.jsx("div",{className:"optionAndCal",children:lt.jsx("div",{className:"option",children:lt.jsx("div",{className:"inputCon",children:lt.jsxs("div",{className:"inputTab",children:[lt.jsx("textarea",{className:"inputText",value:r,onChange:f=>n(f.target.value),placeholder:"入力A",autoComplete:"off",rows:5,cols:50}),lt.jsxs("div",{className:"miniInput",children:[lt.jsx("input",{className:"inputNumber",value:_,onChange:f=>t(f.target.value),type:"number",placeholder:"入力B",autoComplete:"off",min:"0"}),lt.jsxs("select",{value:s,onChange:f=>u(f.target.value),children:[lt.jsx("option",{value:"0-Y",children:"0-Y"}),lt.jsx("option",{value:"BMS",children:"BMS"}),lt.jsx("option",{value:"thr",children:"そのまま"})]}),lt.jsx("button",{className:"calButton",onClick:()=>i(),children:"A[B]を計算"})]}),lt.jsxs("div",{className:"optionCheckbox",children:[lt.jsxs("label",{className:"checkbox",children:[lt.jsx("input",{type:"checkbox",checked:p,onChange:()=>o(!p)})," 線を削除"]}),s!=="BMS"?lt.jsxs("label",{className:"checkbox",children:[lt.jsx("input",{type:"checkbox",checked:l,onChange:()=>d(!l)})," 余分な1を削除"]}):lt.jsx(lt.Fragment,{})]}),lt.jsx("div",{className:"hydra",children:lt.jsxs("ul",{children:[lt.jsxs("li",{children:["数字の大きさ:",lt.jsx("input",{className:"hydraSize",value:w,onChange:f=>x(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数字間の幅:",lt.jsx("input",{className:"hydraRange",value:c,onChange:f=>m(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数字間の高さ:",lt.jsx("input",{className:"hydraSize",value:a,onChange:f=>h(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]}),lt.jsxs("li",{children:["数列間の高さ:",lt.jsx("input",{className:"hydraSize",value:b,onChange:f=>y(parseInt(f.target.value)),min:"0",max:"200",type:"range"})]})]})})]})})})}),lt.jsx(Ry,{sketch:Dy,inputNumberList:r,numberSize:w,numberRange:c,numberHeight:a,sequenceHeight:b,select:s,delete1:l,deleteline:p})]}),lt.jsxs("footer",{children:[lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%96%E3%83%AD%E3%82%B0:%E3%82%86%E3%81%8D%E3%81%A8/%5C(0%5C)-Y%E6%95%B0%E5%88%97",target:"_blank",rel:"noreferrer",children:'"0-Y sequence"'})," ","and"," ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC%E3%83%96%E3%83%AD%E3%82%B0:BashicuHyudora/BASIC%E8%A8%80%E8%AA%9E%E3%81%AB%E3%82%88%E3%82%8B%E5%B7%A8%E5%A4%A7%E6%95%B0%E3%81%AE%E3%81%BE%E3%81%A8%E3%82%81#%E3%83%90%E3%82%B7%E3%82%AF%E8%A1%8C%E5%88%97%E6%95%B0(Bashicu_matrix_number)",target:"_blank",rel:"noreferrer",children:'"Bashicu matrix"'})," ","were defined by"," ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC:%E3%82%86%E3%81%8D%E3%81%A8",target:"_blank",rel:"noreferrer",children:"ゆきと"})," ","and"," ",lt.jsx("a",{href:"https://googology.fandom.com/ja/wiki/%E3%83%A6%E3%83%BC%E3%82%B6%E3%83%BC:BashicuHyudora",target:"_blank",rel:"noreferrer",children:"Bashicu"}),", respectively.",lt.jsx("br",{}),"The program"," ",lt.jsx("a",{href:"https://github.com/SanukiMiyatsuko/why_mountain",target:"_blank",rel:"noreferrer",children:"https://github.com/SanukiMiyatsuko/why_mountain"})," ","is licensed by"," ",lt.jsx("a",{href:"https://creativecommons.org/licenses/by-sa/3.0/legalcode",target:"_blank",rel:"noreferrer",children:"Creative Commons Attribution-ShareAlike 3.0 Unported License"}),".",lt.jsx("br",{}),"I referred to"," ",lt.jsx("a",{href:"https://naruyoko.github.io/whYmountain/",target:"_blank",rel:"noreferrer",children:"whY mountain"})," ","by"," ",lt.jsx("a",{href:"https://github.com/Naruyoko",target:"_blank",rel:"noreferrer",children:"Naruyoko"}),".",lt.jsx("br",{}),"Last updated: 2024/07/13"]})]})}Aa.createRoot(document.getElementById("root")).render(lt.jsx(Al.StrictMode,{children:lt.jsx(Fy,{})})); diff --git a/index.html b/index.html index 38b24b9..7f6e768 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ why mounTain - +