@expo/launching 0.0.0-20251225-931c4f6e → 0.0.0-20251225-6fe3185a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +17 -17
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
- var ho=Object.create;var{getPrototypeOf:xo,defineProperty:H3,getOwnPropertyNames:VC,getOwnPropertyDescriptor:uo}=Object,DC=Object.prototype.hasOwnProperty;var p1=(Z,Q,Y)=>{Y=Z!=null?ho(xo(Z)):{};let J=Q||!Z||!Z.__esModule?H3(Y,"default",{value:Z,enumerable:!0}):Y;for(let q of VC(Z))if(!DC.call(J,q))H3(J,q,{get:()=>Z[q],enumerable:!0});return J},KC=new WeakMap,dK=(Z)=>{var Q=KC.get(Z),Y;if(Q)return Q;if(Q=H3({},"__esModule",{value:!0}),Z&&typeof Z==="object"||typeof Z==="function")VC(Z).map((J)=>!DC.call(Q,J)&&H3(Q,J,{get:()=>Z[J],enumerable:!(Y=uo(Z,J))||Y.enumerable}));return KC.set(Z,Q),Q},k=(Z,Q)=>()=>(Q||Z((Q={exports:{}}).exports,Q),Q.exports);var Q4=(Z,Q)=>{for(var Y in Q)H3(Z,Y,{get:Q[Y],enumerable:!0,configurable:!0,set:(J)=>Q[Y]=()=>J})};var Y5=(Z,Q)=>()=>(Z&&(Q=Z(Z=0)),Q);var _5;var i2=Y5(()=>{_5={get PKG_VERSION(){return"0.0.0"},get PKG_DESCRIPTION(){return"The internal CLI tool for Expo Launch. Learn more: https://launch.expo.dev"},get EXPO_DEBUG(){return process.env.EXPO_DEBUG==="1"||process.env.EXPO_DEBUG?.toLowerCase()==="true"},get EXPO_TOKEN(){return process.env.EXPO_TOKEN??""},get EAS_BUILD(){return process.env.EAS_BUILD==="1"||process.env.EAS_BUILD?.toLowerCase()==="true"},get LAUNCH_HOST(){return process.env.LAUNCH_HOST??"launch.expo.dev"},get LAUNCH_ID(){return process.env.LAUNCH_ID??""},get LAUNCH_RUN_ID(){return process.env.LAUNCH_RUN_ID??""}}});var HC=k((Rw0,zC)=>{var eZ=1000,ZQ=eZ*60,QQ=ZQ*60,n2=QQ*24,fo=n2*7,go=n2*365.25;zC.exports=function(Z,Q){Q=Q||{};var Y=typeof Z;if(Y==="string"&&Z.length>0)return mo(Z);else if(Y==="number"&&isFinite(Z))return Q.long?lo(Z):co(Z);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Z))};function mo(Z){if(Z=String(Z),Z.length>100)return;var Q=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(Z);if(!Q)return;var Y=parseFloat(Q[1]),J=(Q[2]||"ms").toLowerCase();switch(J){case"years":case"year":case"yrs":case"yr":case"y":return Y*go;case"weeks":case"week":case"w":return Y*fo;case"days":case"day":case"d":return Y*n2;case"hours":case"hour":case"hrs":case"hr":case"h":return Y*QQ;case"minutes":case"minute":case"mins":case"min":case"m":return Y*ZQ;case"seconds":case"second":case"secs":case"sec":case"s":return Y*eZ;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Y;default:return}}function co(Z){var Q=Math.abs(Z);if(Q>=n2)return Math.round(Z/n2)+"d";if(Q>=QQ)return Math.round(Z/QQ)+"h";if(Q>=ZQ)return Math.round(Z/ZQ)+"m";if(Q>=eZ)return Math.round(Z/eZ)+"s";return Z+"ms"}function lo(Z){var Q=Math.abs(Z);if(Q>=n2)return lK(Z,Q,n2,"day");if(Q>=QQ)return lK(Z,Q,QQ,"hour");if(Q>=ZQ)return lK(Z,Q,ZQ,"minute");if(Q>=eZ)return lK(Z,Q,eZ,"second");return Z+" ms"}function lK(Z,Q,Y,J){var q=Q>=Y*1.5;return Math.round(Z/Y)+" "+J+(q?"s":"")}});var sW=k((Lw0,GC)=>{function po(Z){Y.debug=Y,Y.default=Y,Y.coerce=z,Y.disable=V,Y.enable=q,Y.enabled=D,Y.humanize=HC(),Y.destroy=H,Object.keys(Z).forEach((G)=>{Y[G]=Z[G]}),Y.names=[],Y.skips=[],Y.formatters={};function Q(G){let W=0;for(let $=0;$<G.length;$++)W=(W<<5)-W+G.charCodeAt($),W|=0;return Y.colors[Math.abs(W)%Y.colors.length]}Y.selectColor=Q;function Y(G){let W,$=null,B,O;function A(...w){if(!A.enabled)return;let E=A,S=Number(new Date),X=S-(W||S);if(E.diff=X,E.prev=W,E.curr=S,W=S,w[0]=Y.coerce(w[0]),typeof w[0]!=="string")w.unshift("%O");let F=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(I,P)=>{if(I==="%%")return"%";F++;let L=Y.formatters[P];if(typeof L==="function"){let R=w[F];I=L.call(E,R),w.splice(F,1),F--}return I}),Y.formatArgs.call(E,w),(E.log||Y.log).apply(E,w)}if(A.namespace=G,A.useColors=Y.useColors(),A.color=Y.selectColor(G),A.extend=J,A.destroy=Y.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>{if($!==null)return $;if(B!==Y.namespaces)B=Y.namespaces,O=Y.enabled(G);return O},set:(w)=>{$=w}}),typeof Y.init==="function")Y.init(A);return A}function J(G,W){let $=Y(this.namespace+(typeof W>"u"?":":W)+G);return $.log=this.log,$}function q(G){Y.save(G),Y.namespaces=G,Y.names=[],Y.skips=[];let W=(typeof G==="string"?G:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let $ of W)if($[0]==="-")Y.skips.push($.slice(1));else Y.names.push($)}function K(G,W){let $=0,B=0,O=-1,A=0;while($<G.length)if(B<W.length&&(W[B]===G[$]||W[B]==="*"))if(W[B]==="*")O=B,A=$,B++;else $++,B++;else if(O!==-1)B=O+1,A++,$=A;else return!1;while(B<W.length&&W[B]==="*")B++;return B===W.length}function V(){let G=[...Y.names,...Y.skips.map((W)=>"-"+W)].join(",");return Y.enable(""),G}function D(G){for(let W of Y.skips)if(K(G,W))return!1;for(let W of Y.names)if(K(G,W))return!0;return!1}function z(G){if(G instanceof Error)return G.stack||G.message;return G}function H(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Y.enable(Y.load()),Y}GC.exports=po});var WC=k((q9,pK)=>{q9.formatArgs=no;q9.save=so;q9.load=ao;q9.useColors=io;q9.storage=ro();q9.destroy=(()=>{let Z=!1;return()=>{if(!Z)Z=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();q9.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function io(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let Z;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(Z=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(Z[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function no(Z){if(Z[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+Z[0]+(this.useColors?"%c ":" ")+"+"+pK.exports.humanize(this.diff),!this.useColors)return;let Q="color: "+this.color;Z.splice(1,0,Q,"color: inherit");let Y=0,J=0;Z[0].replace(/%[a-zA-Z%]/g,(q)=>{if(q==="%%")return;if(Y++,q==="%c")J=Y}),Z.splice(J,0,Q)}q9.log=console.debug||console.log||(()=>{});function so(Z){try{if(Z)q9.storage.setItem("debug",Z);else q9.storage.removeItem("debug")}catch(Q){}}function ao(){let Z;try{Z=q9.storage.getItem("debug")||q9.storage.getItem("DEBUG")}catch(Q){}if(!Z&&typeof process<"u"&&"env"in process)Z=process.env.DEBUG;return Z}function ro(){try{return localStorage}catch(Z){}}pK.exports=sW()(q9);var{formatters:oo}=pK.exports;oo.j=function(Z){try{return JSON.stringify(Z)}catch(Q){return"[UnexpectedJSONParseError]: "+Q.message}}});var $C=k((Mw0,UC)=>{UC.exports=(Z,Q=process.argv)=>{let Y=Z.startsWith("-")?"":Z.length===1?"-":"--",J=Q.indexOf(Y+Z),q=Q.indexOf("--");return J!==-1&&(q===-1||J<q)}});var oW=k((jw0,OC)=>{var to=require("os"),BC=require("tty"),m9=$C(),{env:q8}=process,d4;if(m9("no-color")||m9("no-colors")||m9("color=false")||m9("color=never"))d4=0;else if(m9("color")||m9("colors")||m9("color=true")||m9("color=always"))d4=1;if("FORCE_COLOR"in q8)if(q8.FORCE_COLOR==="true")d4=1;else if(q8.FORCE_COLOR==="false")d4=0;else d4=q8.FORCE_COLOR.length===0?1:Math.min(parseInt(q8.FORCE_COLOR,10),3);function aW(Z){if(Z===0)return!1;return{level:Z,hasBasic:!0,has256:Z>=2,has16m:Z>=3}}function rW(Z,Q){if(d4===0)return 0;if(m9("color=16m")||m9("color=full")||m9("color=truecolor"))return 3;if(m9("color=256"))return 2;if(Z&&!Q&&d4===void 0)return 0;let Y=d4||0;if(q8.TERM==="dumb")return Y;if(process.platform==="win32"){let J=to.release().split(".");if(Number(J[0])>=10&&Number(J[2])>=10586)return Number(J[2])>=14931?3:2;return 1}if("CI"in q8){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((J)=>(J in q8))||q8.CI_NAME==="codeship")return 1;return Y}if("TEAMCITY_VERSION"in q8)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q8.TEAMCITY_VERSION)?1:0;if(q8.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in q8){let J=parseInt((q8.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q8.TERM_PROGRAM){case"iTerm.app":return J>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q8.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q8.TERM))return 1;if("COLORTERM"in q8)return 1;return Y}function eo(Z){let Q=rW(Z,Z&&Z.isTTY);return aW(Q)}OC.exports={supportsColor:eo,stdout:aW(rW(!0,BC.isatty(1))),stderr:aW(rW(!0,BC.isatty(2)))}});var FC=k((K8,nK)=>{var Zt=require("tty"),iK=require("util");K8.init=Dt;K8.log=qt;K8.formatArgs=Yt;K8.save=Kt;K8.load=Vt;K8.useColors=Qt;K8.destroy=iK.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");K8.colors=[6,2,3,4,5,1];try{let Z=oW();if(Z&&(Z.stderr||Z).level>=2)K8.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(Z){}K8.inspectOpts=Object.keys(process.env).filter((Z)=>{return/^debug_/i.test(Z)}).reduce((Z,Q)=>{let Y=Q.substring(6).toLowerCase().replace(/_([a-z])/g,(q,K)=>{return K.toUpperCase()}),J=process.env[Q];if(/^(yes|on|true|enabled)$/i.test(J))J=!0;else if(/^(no|off|false|disabled)$/i.test(J))J=!1;else if(J==="null")J=null;else J=Number(J);return Z[Y]=J,Z},{});function Qt(){return"colors"in K8.inspectOpts?Boolean(K8.inspectOpts.colors):Zt.isatty(process.stderr.fd)}function Yt(Z){let{namespace:Q,useColors:Y}=this;if(Y){let J=this.color,q="\x1B[3"+(J<8?J:"8;5;"+J),K=` ${q};1m${Q} \x1B[0m`;Z[0]=K+Z[0].split(`
2
+ var ho=Object.create;var{getPrototypeOf:xo,defineProperty:H3,getOwnPropertyNames:VC,getOwnPropertyDescriptor:uo}=Object,DC=Object.prototype.hasOwnProperty;var p1=(Z,Q,Y)=>{Y=Z!=null?ho(xo(Z)):{};let J=Q||!Z||!Z.__esModule?H3(Y,"default",{value:Z,enumerable:!0}):Y;for(let q of VC(Z))if(!DC.call(J,q))H3(J,q,{get:()=>Z[q],enumerable:!0});return J},KC=new WeakMap,dK=(Z)=>{var Q=KC.get(Z),Y;if(Q)return Q;if(Q=H3({},"__esModule",{value:!0}),Z&&typeof Z==="object"||typeof Z==="function")VC(Z).map((J)=>!DC.call(Q,J)&&H3(Q,J,{get:()=>Z[J],enumerable:!(Y=uo(Z,J))||Y.enumerable}));return KC.set(Z,Q),Q},k=(Z,Q)=>()=>(Q||Z((Q={exports:{}}).exports,Q),Q.exports);var Q4=(Z,Q)=>{for(var Y in Q)H3(Z,Y,{get:Q[Y],enumerable:!0,configurable:!0,set:(J)=>Q[Y]=()=>J})};var Y5=(Z,Q)=>()=>(Z&&(Q=Z(Z=0)),Q);var R5;var i2=Y5(()=>{R5={get PKG_VERSION(){return"0.0.0"},get PKG_DESCRIPTION(){return"The internal CLI tool for Expo Launch. Learn more: https://launch.expo.dev"},get EXPO_DEBUG(){return process.env.EXPO_DEBUG==="1"||process.env.EXPO_DEBUG?.toLowerCase()==="true"},get EXPO_TOKEN(){return process.env.EXPO_TOKEN??""},get EAS_BUILD(){return process.env.EAS_BUILD==="1"||process.env.EAS_BUILD?.toLowerCase()==="true"},get LAUNCH_HOST(){return process.env.LAUNCH_HOST??"launch.expo.dev"},get LAUNCH_ID(){return process.env.LAUNCH_ID??""},get LAUNCH_RUN_ID(){return process.env.LAUNCH_RUN_ID??""}}});var HC=k((Rw0,zC)=>{var eZ=1000,ZQ=eZ*60,QQ=ZQ*60,n2=QQ*24,fo=n2*7,go=n2*365.25;zC.exports=function(Z,Q){Q=Q||{};var Y=typeof Z;if(Y==="string"&&Z.length>0)return mo(Z);else if(Y==="number"&&isFinite(Z))return Q.long?lo(Z):co(Z);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(Z))};function mo(Z){if(Z=String(Z),Z.length>100)return;var Q=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(Z);if(!Q)return;var Y=parseFloat(Q[1]),J=(Q[2]||"ms").toLowerCase();switch(J){case"years":case"year":case"yrs":case"yr":case"y":return Y*go;case"weeks":case"week":case"w":return Y*fo;case"days":case"day":case"d":return Y*n2;case"hours":case"hour":case"hrs":case"hr":case"h":return Y*QQ;case"minutes":case"minute":case"mins":case"min":case"m":return Y*ZQ;case"seconds":case"second":case"secs":case"sec":case"s":return Y*eZ;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return Y;default:return}}function co(Z){var Q=Math.abs(Z);if(Q>=n2)return Math.round(Z/n2)+"d";if(Q>=QQ)return Math.round(Z/QQ)+"h";if(Q>=ZQ)return Math.round(Z/ZQ)+"m";if(Q>=eZ)return Math.round(Z/eZ)+"s";return Z+"ms"}function lo(Z){var Q=Math.abs(Z);if(Q>=n2)return lK(Z,Q,n2,"day");if(Q>=QQ)return lK(Z,Q,QQ,"hour");if(Q>=ZQ)return lK(Z,Q,ZQ,"minute");if(Q>=eZ)return lK(Z,Q,eZ,"second");return Z+" ms"}function lK(Z,Q,Y,J){var q=Q>=Y*1.5;return Math.round(Z/Y)+" "+J+(q?"s":"")}});var sW=k((Lw0,GC)=>{function po(Z){Y.debug=Y,Y.default=Y,Y.coerce=z,Y.disable=V,Y.enable=q,Y.enabled=D,Y.humanize=HC(),Y.destroy=H,Object.keys(Z).forEach((G)=>{Y[G]=Z[G]}),Y.names=[],Y.skips=[],Y.formatters={};function Q(G){let W=0;for(let $=0;$<G.length;$++)W=(W<<5)-W+G.charCodeAt($),W|=0;return Y.colors[Math.abs(W)%Y.colors.length]}Y.selectColor=Q;function Y(G){let W,$=null,B,O;function A(...w){if(!A.enabled)return;let E=A,S=Number(new Date),X=S-(W||S);if(E.diff=X,E.prev=W,E.curr=S,W=S,w[0]=Y.coerce(w[0]),typeof w[0]!=="string")w.unshift("%O");let F=0;w[0]=w[0].replace(/%([a-zA-Z%])/g,(I,P)=>{if(I==="%%")return"%";F++;let L=Y.formatters[P];if(typeof L==="function"){let R=w[F];I=L.call(E,R),w.splice(F,1),F--}return I}),Y.formatArgs.call(E,w),(E.log||Y.log).apply(E,w)}if(A.namespace=G,A.useColors=Y.useColors(),A.color=Y.selectColor(G),A.extend=J,A.destroy=Y.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>{if($!==null)return $;if(B!==Y.namespaces)B=Y.namespaces,O=Y.enabled(G);return O},set:(w)=>{$=w}}),typeof Y.init==="function")Y.init(A);return A}function J(G,W){let $=Y(this.namespace+(typeof W>"u"?":":W)+G);return $.log=this.log,$}function q(G){Y.save(G),Y.namespaces=G,Y.names=[],Y.skips=[];let W=(typeof G==="string"?G:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let $ of W)if($[0]==="-")Y.skips.push($.slice(1));else Y.names.push($)}function K(G,W){let $=0,B=0,O=-1,A=0;while($<G.length)if(B<W.length&&(W[B]===G[$]||W[B]==="*"))if(W[B]==="*")O=B,A=$,B++;else $++,B++;else if(O!==-1)B=O+1,A++,$=A;else return!1;while(B<W.length&&W[B]==="*")B++;return B===W.length}function V(){let G=[...Y.names,...Y.skips.map((W)=>"-"+W)].join(",");return Y.enable(""),G}function D(G){for(let W of Y.skips)if(K(G,W))return!1;for(let W of Y.names)if(K(G,W))return!0;return!1}function z(G){if(G instanceof Error)return G.stack||G.message;return G}function H(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return Y.enable(Y.load()),Y}GC.exports=po});var WC=k((q9,pK)=>{q9.formatArgs=no;q9.save=so;q9.load=ao;q9.useColors=io;q9.storage=ro();q9.destroy=(()=>{let Z=!1;return()=>{if(!Z)Z=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();q9.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function io(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let Z;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(Z=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(Z[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function no(Z){if(Z[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+Z[0]+(this.useColors?"%c ":" ")+"+"+pK.exports.humanize(this.diff),!this.useColors)return;let Q="color: "+this.color;Z.splice(1,0,Q,"color: inherit");let Y=0,J=0;Z[0].replace(/%[a-zA-Z%]/g,(q)=>{if(q==="%%")return;if(Y++,q==="%c")J=Y}),Z.splice(J,0,Q)}q9.log=console.debug||console.log||(()=>{});function so(Z){try{if(Z)q9.storage.setItem("debug",Z);else q9.storage.removeItem("debug")}catch(Q){}}function ao(){let Z;try{Z=q9.storage.getItem("debug")||q9.storage.getItem("DEBUG")}catch(Q){}if(!Z&&typeof process<"u"&&"env"in process)Z=process.env.DEBUG;return Z}function ro(){try{return localStorage}catch(Z){}}pK.exports=sW()(q9);var{formatters:oo}=pK.exports;oo.j=function(Z){try{return JSON.stringify(Z)}catch(Q){return"[UnexpectedJSONParseError]: "+Q.message}}});var $C=k((Mw0,UC)=>{UC.exports=(Z,Q=process.argv)=>{let Y=Z.startsWith("-")?"":Z.length===1?"-":"--",J=Q.indexOf(Y+Z),q=Q.indexOf("--");return J!==-1&&(q===-1||J<q)}});var oW=k((jw0,OC)=>{var to=require("os"),BC=require("tty"),m9=$C(),{env:q8}=process,d4;if(m9("no-color")||m9("no-colors")||m9("color=false")||m9("color=never"))d4=0;else if(m9("color")||m9("colors")||m9("color=true")||m9("color=always"))d4=1;if("FORCE_COLOR"in q8)if(q8.FORCE_COLOR==="true")d4=1;else if(q8.FORCE_COLOR==="false")d4=0;else d4=q8.FORCE_COLOR.length===0?1:Math.min(parseInt(q8.FORCE_COLOR,10),3);function aW(Z){if(Z===0)return!1;return{level:Z,hasBasic:!0,has256:Z>=2,has16m:Z>=3}}function rW(Z,Q){if(d4===0)return 0;if(m9("color=16m")||m9("color=full")||m9("color=truecolor"))return 3;if(m9("color=256"))return 2;if(Z&&!Q&&d4===void 0)return 0;let Y=d4||0;if(q8.TERM==="dumb")return Y;if(process.platform==="win32"){let J=to.release().split(".");if(Number(J[0])>=10&&Number(J[2])>=10586)return Number(J[2])>=14931?3:2;return 1}if("CI"in q8){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((J)=>(J in q8))||q8.CI_NAME==="codeship")return 1;return Y}if("TEAMCITY_VERSION"in q8)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(q8.TEAMCITY_VERSION)?1:0;if(q8.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in q8){let J=parseInt((q8.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(q8.TERM_PROGRAM){case"iTerm.app":return J>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(q8.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(q8.TERM))return 1;if("COLORTERM"in q8)return 1;return Y}function eo(Z){let Q=rW(Z,Z&&Z.isTTY);return aW(Q)}OC.exports={supportsColor:eo,stdout:aW(rW(!0,BC.isatty(1))),stderr:aW(rW(!0,BC.isatty(2)))}});var FC=k((K8,nK)=>{var Zt=require("tty"),iK=require("util");K8.init=Dt;K8.log=qt;K8.formatArgs=Yt;K8.save=Kt;K8.load=Vt;K8.useColors=Qt;K8.destroy=iK.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");K8.colors=[6,2,3,4,5,1];try{let Z=oW();if(Z&&(Z.stderr||Z).level>=2)K8.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(Z){}K8.inspectOpts=Object.keys(process.env).filter((Z)=>{return/^debug_/i.test(Z)}).reduce((Z,Q)=>{let Y=Q.substring(6).toLowerCase().replace(/_([a-z])/g,(q,K)=>{return K.toUpperCase()}),J=process.env[Q];if(/^(yes|on|true|enabled)$/i.test(J))J=!0;else if(/^(no|off|false|disabled)$/i.test(J))J=!1;else if(J==="null")J=null;else J=Number(J);return Z[Y]=J,Z},{});function Qt(){return"colors"in K8.inspectOpts?Boolean(K8.inspectOpts.colors):Zt.isatty(process.stderr.fd)}function Yt(Z){let{namespace:Q,useColors:Y}=this;if(Y){let J=this.color,q="\x1B[3"+(J<8?J:"8;5;"+J),K=` ${q};1m${Q} \x1B[0m`;Z[0]=K+Z[0].split(`
3
3
  `).join(`
4
4
  `+K),Z.push(q+"m+"+nK.exports.humanize(this.diff)+"\x1B[0m")}else Z[0]=Jt()+Q+" "+Z[0]}function Jt(){if(K8.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function qt(...Z){return process.stderr.write(iK.formatWithOptions(K8.inspectOpts,...Z)+`
5
5
  `)}function Kt(Z){if(Z)process.env.DEBUG=Z;else delete process.env.DEBUG}function Vt(){return process.env.DEBUG}function Dt(Z){Z.inspectOpts={};let Q=Object.keys(K8.inspectOpts);for(let Y=0;Y<Q.length;Y++)Z.inspectOpts[Q[Y]]=K8.inspectOpts[Q[Y]]}nK.exports=sW()(K8);var{formatters:XC}=nK.exports;XC.o=function(Z){return this.inspectOpts.colors=this.useColors,iK.inspect(Z,this.inspectOpts).split(`
6
6
  `).map((Q)=>Q.trim()).join(" ")};XC.O=function(Z){return this.inspectOpts.colors=this.useColors,iK.inspect(Z,this.inspectOpts)}});var A7=k((Nw0,tW)=>{if(typeof process>"u"||process.type==="renderer"||!1||process.__nwjs)tW.exports=WC();else tW.exports=FC()});function J5(Z,Q){return eW.default(`launch:${Z}:${Q}`)}function zt(Z,...Q){let Y=Z.reduce((q,K,V)=>{return q+K+(Q[V]!==void 0?String(Q[V]):"")},"");function J(q){let K=q.indexOf("{");if(K===-1)return q;let V=1,D=K+1;while(D<q.length&&V>0){if(q[D]==="{")V++;else if(q[D]==="}")V--;D++}if(V>0)return q;D--;let z=q.slice(K+1,D),H=z.indexOf(" ");if(H===-1)return q.slice(0,K)+J(q.slice(D+1));let G=z.slice(0,H),W=z.slice(H+1),$=J(W),B=G.split("."),O=$;for(let E of B)if(E in AC)O=a1.styleText([E],O);let A=q.slice(0,K),w=J(q.slice(D+1));return A+O+w}return J(Y)}function wC(Z,Q={labelFormat:S1.dim}){if(Z.length===0)return"";let Y=Z.reduce((J,q)=>J.label.length>q.label.length?J:q).label.length;return Z.map(({label:J,value:q})=>{return`${Q.labelFormat(J.length<Y?`${J}${" ".repeat(Y-J.length)}`:J)} ${q}`}).join(`
7
- `)}var eW,a1,AC,S1;var w7=Y5(()=>{i2();eW=p1(A7()),a1=require("node:util");if(_5.EXPO_DEBUG)eW.default.enable("expo*,launch*");AC={red:{value:(...Z)=>a1.styleText(["red"],Z.join(" "))},green:{value:(...Z)=>a1.styleText(["green"],Z.join(" "))},blue:{value:(...Z)=>a1.styleText(["blue"],Z.join(" "))},yellow:{value:(...Z)=>a1.styleText(["yellow"],Z.join(" "))},magenta:{value:(...Z)=>a1.styleText(["magenta"],Z.join(" "))},cyan:{value:(...Z)=>a1.styleText(["cyan"],Z.join(" "))},white:{value:(...Z)=>a1.styleText(["white"],Z.join(" "))},black:{value:(...Z)=>a1.styleText(["black"],Z.join(" "))},gray:{value:(...Z)=>a1.styleText(["gray"],Z.join(" "))},redBright:{value:(...Z)=>a1.styleText(["redBright"],Z.join(" "))},greenBright:{value:(...Z)=>a1.styleText(["greenBright"],Z.join(" "))},blueBright:{value:(...Z)=>a1.styleText(["blueBright"],Z.join(" "))},yellowBright:{value:(...Z)=>a1.styleText(["yellowBright"],Z.join(" "))},magentaBright:{value:(...Z)=>a1.styleText(["magentaBright"],Z.join(" "))},cyanBright:{value:(...Z)=>a1.styleText(["cyanBright"],Z.join(" "))},whiteBright:{value:(...Z)=>a1.styleText(["whiteBright"],Z.join(" "))},blackBright:{value:(...Z)=>a1.styleText(["blackBright"],Z.join(" "))},bold:{value:(...Z)=>a1.styleText(["bold"],Z.join(" "))},dim:{value:(...Z)=>a1.styleText(["dim"],Z.join(" "))},italic:{value:(...Z)=>a1.styleText(["italic"],Z.join(" "))},underline:{value:(...Z)=>a1.styleText(["underline"],Z.join(" "))},strikethrough:{value:(...Z)=>a1.styleText(["strikethrough"],Z.join(" "))},bgRed:{value:(...Z)=>a1.styleText(["bgRed"],Z.join(" "))},bgGreen:{value:(...Z)=>a1.styleText(["bgGreen"],Z.join(" "))},bgBlue:{value:(...Z)=>a1.styleText(["bgBlue"],Z.join(" "))},bgYellow:{value:(...Z)=>a1.styleText(["bgYellow"],Z.join(" "))},bgMagenta:{value:(...Z)=>a1.styleText(["bgMagenta"],Z.join(" "))},bgCyan:{value:(...Z)=>a1.styleText(["bgCyan"],Z.join(" "))},bgWhite:{value:(...Z)=>a1.styleText(["bgWhite"],Z.join(" "))},bgBlack:{value:(...Z)=>a1.styleText(["bgBlack"],Z.join(" "))}};S1=Object.defineProperties(zt,AC)});function sK(Z){if(!(Z instanceof Error))throw Z;let Q=Z.toString(),Y=_5.EXPO_DEBUG&&"code"in Z&&Z.code?` (${Z.code})`:"",J=_5.EXPO_DEBUG&&Z.stack?`
7
+ `)}var eW,a1,AC,S1;var w7=Y5(()=>{i2();eW=p1(A7()),a1=require("node:util");if(R5.EXPO_DEBUG)eW.default.enable("expo*,launch*");AC={red:{value:(...Z)=>a1.styleText(["red"],Z.join(" "))},green:{value:(...Z)=>a1.styleText(["green"],Z.join(" "))},blue:{value:(...Z)=>a1.styleText(["blue"],Z.join(" "))},yellow:{value:(...Z)=>a1.styleText(["yellow"],Z.join(" "))},magenta:{value:(...Z)=>a1.styleText(["magenta"],Z.join(" "))},cyan:{value:(...Z)=>a1.styleText(["cyan"],Z.join(" "))},white:{value:(...Z)=>a1.styleText(["white"],Z.join(" "))},black:{value:(...Z)=>a1.styleText(["black"],Z.join(" "))},gray:{value:(...Z)=>a1.styleText(["gray"],Z.join(" "))},redBright:{value:(...Z)=>a1.styleText(["redBright"],Z.join(" "))},greenBright:{value:(...Z)=>a1.styleText(["greenBright"],Z.join(" "))},blueBright:{value:(...Z)=>a1.styleText(["blueBright"],Z.join(" "))},yellowBright:{value:(...Z)=>a1.styleText(["yellowBright"],Z.join(" "))},magentaBright:{value:(...Z)=>a1.styleText(["magentaBright"],Z.join(" "))},cyanBright:{value:(...Z)=>a1.styleText(["cyanBright"],Z.join(" "))},whiteBright:{value:(...Z)=>a1.styleText(["whiteBright"],Z.join(" "))},blackBright:{value:(...Z)=>a1.styleText(["blackBright"],Z.join(" "))},bold:{value:(...Z)=>a1.styleText(["bold"],Z.join(" "))},dim:{value:(...Z)=>a1.styleText(["dim"],Z.join(" "))},italic:{value:(...Z)=>a1.styleText(["italic"],Z.join(" "))},underline:{value:(...Z)=>a1.styleText(["underline"],Z.join(" "))},strikethrough:{value:(...Z)=>a1.styleText(["strikethrough"],Z.join(" "))},bgRed:{value:(...Z)=>a1.styleText(["bgRed"],Z.join(" "))},bgGreen:{value:(...Z)=>a1.styleText(["bgGreen"],Z.join(" "))},bgBlue:{value:(...Z)=>a1.styleText(["bgBlue"],Z.join(" "))},bgYellow:{value:(...Z)=>a1.styleText(["bgYellow"],Z.join(" "))},bgMagenta:{value:(...Z)=>a1.styleText(["bgMagenta"],Z.join(" "))},bgCyan:{value:(...Z)=>a1.styleText(["bgCyan"],Z.join(" "))},bgWhite:{value:(...Z)=>a1.styleText(["bgWhite"],Z.join(" "))},bgBlack:{value:(...Z)=>a1.styleText(["bgBlack"],Z.join(" "))}};S1=Object.defineProperties(zt,AC)});function sK(Z){if(!(Z instanceof Error))throw Z;let Q=Z.toString(),Y=R5.EXPO_DEBUG&&"code"in Z&&Z.code?` (${Z.code})`:"",J=R5.EXPO_DEBUG&&Z.stack?`
8
8
  ${S1.gray(Z.stack)}`:"";console.error(S1.red(`${Q}${Y}`)+J),process.exit(1)}var EC="Error: ",f1;var c9=Y5(()=>{i2();w7();f1=class f1 extends Error{code;name="CommandError";isCommandError=!0;constructor(Z,Q="",Y){super("",Y);this.code=Z;if(Q.startsWith(EC))Q=Q.substring(EC.length);this.message=Q||Z}}});function V8(Z){try{let Q=IC.parseArgs(Z);return Ht(Z,Q),Q}catch(Q){switch(Q.code){case"ERR_PARSE_ARGS_UNKNOWN_OPTION":case"ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL":throw new f1("COMMAND_INPUT",Q.message);default:throw Q}}}function Ht(Z,Q){let Y=Z.strict===void 0||Z.strict===!0;for(let J in Z.options){let q=Z.options[J],K=Q.values[J];if(Y&&typeof K>"u")throw new f1("COMMAND_INPUT",`Expected '--${J}' to be provided`);if(!Y&&Z.required?.includes(J)&&typeof K>"u")throw new f1("COMMAND_INPUT",`Expected '--${J}' to be provided`);if(K&&typeof K!==q.type)throw new f1("COMMAND_INPUT",`Expected '--${J}' to be type of ${q.type}, recieved: ${typeof K}`);if(K&&q.type==="string"&&typeof K==="string"&&q.enum?.length&&!q.enum.includes(K))throw new f1("COMMAND_INPUT",`Expected '--${J}' to be any of '${q.enum.join("', '")}', received: ${K}`)}}var IC;var a7=Y5(()=>{c9();IC=require("node:util")});var CC=k((aK)=>{Object.defineProperty(aK,"__esModule",{value:!0});aK.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;aK.matchToToken=function(Z){var Q={type:"invalid",value:Z[0],closed:void 0};if(Z[1])Q.type="string",Q.closed=!!(Z[3]||Z[4]);else if(Z[5])Q.type="comment";else if(Z[6])Q.type="comment",Q.closed=!!Z[7];else if(Z[8])Q.type="regex";else if(Z[9])Q.type="number";else if(Z[10])Q.type="name";else if(Z[11])Q.type="punctuator";else if(Z[12])Q.type="whitespace";return Q}});var NC=k((G3)=>{Object.defineProperty(G3,"__esModule",{value:!0});G3.isIdentifierChar=jC;G3.isIdentifierName=$t;G3.isIdentifierStart=MC;var QU="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",RC="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Gt=new RegExp("["+QU+"]"),Wt=new RegExp("["+QU+RC+"]");QU=RC=null;var LC=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ut=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function ZU(Z,Q){let Y=65536;for(let J=0,q=Q.length;J<q;J+=2){if(Y+=Q[J],Y>Z)return!1;if(Y+=Q[J+1],Y>=Z)return!0}return!1}function MC(Z){if(Z<65)return Z===36;if(Z<=90)return!0;if(Z<97)return Z===95;if(Z<=122)return!0;if(Z<=65535)return Z>=170&&Gt.test(String.fromCharCode(Z));return ZU(Z,LC)}function jC(Z){if(Z<48)return Z===36;if(Z<58)return!0;if(Z<65)return!1;if(Z<=90)return!0;if(Z<97)return Z===95;if(Z<=122)return!0;if(Z<=65535)return Z>=170&&Wt.test(String.fromCharCode(Z));return ZU(Z,LC)||ZU(Z,Ut)}function $t(Z){let Q=!0;for(let Y=0;Y<Z.length;Y++){let J=Z.charCodeAt(Y);if((J&64512)===55296&&Y+1<Z.length){let q=Z.charCodeAt(++Y);if((q&64512)===56320)J=65536+((J&1023)<<10)+(q&1023)}if(Q){if(Q=!1,!MC(J))return!1}else if(!jC(J))return!1}return!Q}});var _C=k((s2)=>{Object.defineProperty(s2,"__esModule",{value:!0});s2.isKeyword=At;s2.isReservedWord=SC;s2.isStrictBindOnlyReservedWord=TC;s2.isStrictBindReservedWord=Ft;s2.isStrictReservedWord=PC;var YU={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Bt=new Set(YU.keyword),Ot=new Set(YU.strict),Xt=new Set(YU.strictBind);function SC(Z,Q){return Q&&Z==="await"||Z==="enum"}function PC(Z,Q){return SC(Z,Q)||Ot.has(Z)}function TC(Z){return Xt.has(Z)}function Ft(Z,Q){return PC(Z,Q)||TC(Z)}function At(Z){return Bt.has(Z)}});var vC=k((r7)=>{Object.defineProperty(r7,"__esModule",{value:!0});Object.defineProperty(r7,"isIdentifierChar",{enumerable:!0,get:function(){return JU.isIdentifierChar}});Object.defineProperty(r7,"isIdentifierName",{enumerable:!0,get:function(){return JU.isIdentifierName}});Object.defineProperty(r7,"isIdentifierStart",{enumerable:!0,get:function(){return JU.isIdentifierStart}});Object.defineProperty(r7,"isKeyword",{enumerable:!0,get:function(){return W3.isKeyword}});Object.defineProperty(r7,"isReservedWord",{enumerable:!0,get:function(){return W3.isReservedWord}});Object.defineProperty(r7,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return W3.isStrictBindOnlyReservedWord}});Object.defineProperty(r7,"isStrictBindReservedWord",{enumerable:!0,get:function(){return W3.isStrictBindReservedWord}});Object.defineProperty(r7,"isStrictReservedWord",{enumerable:!0,get:function(){return W3.isStrictReservedWord}});var JU=NC(),W3=_C()});var yC=k((fw0,qU)=>{var oK=process||{},bC=oK.argv||[],rK=oK.env||{},wt=!(!!rK.NO_COLOR||bC.includes("--no-color"))&&(!!rK.FORCE_COLOR||bC.includes("--color")||oK.platform==="win32"||(oK.stdout||{}).isTTY&&rK.TERM!=="dumb"||!!rK.CI),Et=(Z,Q,Y=Z)=>(J)=>{let q=""+J,K=q.indexOf(Q,Z.length);return~K?Z+It(q,Q,Y,K)+Q:Z+q+Q},It=(Z,Q,Y,J)=>{let q="",K=0;do q+=Z.substring(K,J)+Y,K=J+Q.length,J=Z.indexOf(Q,K);while(~J);return q+Z.substring(K)},kC=(Z=wt)=>{let Q=Z?Et:()=>String;return{isColorSupported:Z,reset:Q("\x1B[0m","\x1B[0m"),bold:Q("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:Q("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:Q("\x1B[3m","\x1B[23m"),underline:Q("\x1B[4m","\x1B[24m"),inverse:Q("\x1B[7m","\x1B[27m"),hidden:Q("\x1B[8m","\x1B[28m"),strikethrough:Q("\x1B[9m","\x1B[29m"),black:Q("\x1B[30m","\x1B[39m"),red:Q("\x1B[31m","\x1B[39m"),green:Q("\x1B[32m","\x1B[39m"),yellow:Q("\x1B[33m","\x1B[39m"),blue:Q("\x1B[34m","\x1B[39m"),magenta:Q("\x1B[35m","\x1B[39m"),cyan:Q("\x1B[36m","\x1B[39m"),white:Q("\x1B[37m","\x1B[39m"),gray:Q("\x1B[90m","\x1B[39m"),bgBlack:Q("\x1B[40m","\x1B[49m"),bgRed:Q("\x1B[41m","\x1B[49m"),bgGreen:Q("\x1B[42m","\x1B[49m"),bgYellow:Q("\x1B[43m","\x1B[49m"),bgBlue:Q("\x1B[44m","\x1B[49m"),bgMagenta:Q("\x1B[45m","\x1B[49m"),bgCyan:Q("\x1B[46m","\x1B[49m"),bgWhite:Q("\x1B[47m","\x1B[49m"),blackBright:Q("\x1B[90m","\x1B[39m"),redBright:Q("\x1B[91m","\x1B[39m"),greenBright:Q("\x1B[92m","\x1B[39m"),yellowBright:Q("\x1B[93m","\x1B[39m"),blueBright:Q("\x1B[94m","\x1B[39m"),magentaBright:Q("\x1B[95m","\x1B[39m"),cyanBright:Q("\x1B[96m","\x1B[39m"),whiteBright:Q("\x1B[97m","\x1B[39m"),bgBlackBright:Q("\x1B[100m","\x1B[49m"),bgRedBright:Q("\x1B[101m","\x1B[49m"),bgGreenBright:Q("\x1B[102m","\x1B[49m"),bgYellowBright:Q("\x1B[103m","\x1B[49m"),bgBlueBright:Q("\x1B[104m","\x1B[49m"),bgMagentaBright:Q("\x1B[105m","\x1B[49m"),bgCyanBright:Q("\x1B[106m","\x1B[49m"),bgWhiteBright:Q("\x1B[107m","\x1B[49m")}};qU.exports=kC();qU.exports.createColors=kC});var xC=k((gw0,hC)=>{var Ct=/[|\\{}()[\]^$+*?.]/g;hC.exports=function(Z){if(typeof Z!=="string")throw TypeError("Expected a string");return Z.replace(Ct,"\\$&")}});var fC=k((mw0,uC)=>{uC.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var DU=k((cw0,mC)=>{var a2=fC(),gC={};for(U3 in a2)if(a2.hasOwnProperty(U3))gC[a2[U3]]=U3;var U3,$1=mC.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(_8 in $1)if($1.hasOwnProperty(_8)){if(!("channels"in $1[_8]))throw Error("missing channels property: "+_8);if(!("labels"in $1[_8]))throw Error("missing channel labels property: "+_8);if($1[_8].labels.length!==$1[_8].channels)throw Error("channel and label counts mismatch: "+_8);KU=$1[_8].channels,VU=$1[_8].labels,delete $1[_8].channels,delete $1[_8].labels,Object.defineProperty($1[_8],"channels",{value:KU}),Object.defineProperty($1[_8],"labels",{value:VU})}var KU,VU,_8;$1.rgb.hsl=function(Z){var Q=Z[0]/255,Y=Z[1]/255,J=Z[2]/255,q=Math.min(Q,Y,J),K=Math.max(Q,Y,J),V=K-q,D,z,H;if(K===q)D=0;else if(Q===K)D=(Y-J)/V;else if(Y===K)D=2+(J-Q)/V;else if(J===K)D=4+(Q-Y)/V;if(D=Math.min(D*60,360),D<0)D+=360;if(H=(q+K)/2,K===q)z=0;else if(H<=0.5)z=V/(K+q);else z=V/(2-K-q);return[D,z*100,H*100]};$1.rgb.hsv=function(Z){var Q,Y,J,q,K,V=Z[0]/255,D=Z[1]/255,z=Z[2]/255,H=Math.max(V,D,z),G=H-Math.min(V,D,z),W=function($){return(H-$)/6/G+0.5};if(G===0)q=K=0;else{if(K=G/H,Q=W(V),Y=W(D),J=W(z),V===H)q=J-Y;else if(D===H)q=0.3333333333333333+Q-J;else if(z===H)q=0.6666666666666666+Y-Q;if(q<0)q+=1;else if(q>1)q-=1}return[q*360,K*100,H*100]};$1.rgb.hwb=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q=$1.rgb.hsl(Z)[0],K=0.00392156862745098*Math.min(Q,Math.min(Y,J));return J=1-0.00392156862745098*Math.max(Q,Math.max(Y,J)),[q,K*100,J*100]};$1.rgb.cmyk=function(Z){var Q=Z[0]/255,Y=Z[1]/255,J=Z[2]/255,q,K,V,D;return D=Math.min(1-Q,1-Y,1-J),q=(1-Q-D)/(1-D)||0,K=(1-Y-D)/(1-D)||0,V=(1-J-D)/(1-D)||0,[q*100,K*100,V*100,D*100]};function Rt(Z,Q){return Math.pow(Z[0]-Q[0],2)+Math.pow(Z[1]-Q[1],2)+Math.pow(Z[2]-Q[2],2)}$1.rgb.keyword=function(Z){var Q=gC[Z];if(Q)return Q;var Y=1/0,J;for(var q in a2)if(a2.hasOwnProperty(q)){var K=a2[q],V=Rt(Z,K);if(V<Y)Y=V,J=q}return J};$1.keyword.rgb=function(Z){return a2[Z]};$1.rgb.xyz=function(Z){var Q=Z[0]/255,Y=Z[1]/255,J=Z[2]/255;Q=Q>0.04045?Math.pow((Q+0.055)/1.055,2.4):Q/12.92,Y=Y>0.04045?Math.pow((Y+0.055)/1.055,2.4):Y/12.92,J=J>0.04045?Math.pow((J+0.055)/1.055,2.4):J/12.92;var q=Q*0.4124+Y*0.3576+J*0.1805,K=Q*0.2126+Y*0.7152+J*0.0722,V=Q*0.0193+Y*0.1192+J*0.9505;return[q*100,K*100,V*100]};$1.rgb.lab=function(Z){var Q=$1.rgb.xyz(Z),Y=Q[0],J=Q[1],q=Q[2],K,V,D;return Y/=95.047,J/=100,q/=108.883,Y=Y>0.008856?Math.pow(Y,0.3333333333333333):7.787*Y+0.13793103448275862,J=J>0.008856?Math.pow(J,0.3333333333333333):7.787*J+0.13793103448275862,q=q>0.008856?Math.pow(q,0.3333333333333333):7.787*q+0.13793103448275862,K=116*J-16,V=500*(Y-J),D=200*(J-q),[K,V,D]};$1.hsl.rgb=function(Z){var Q=Z[0]/360,Y=Z[1]/100,J=Z[2]/100,q,K,V,D,z;if(Y===0)return z=J*255,[z,z,z];if(J<0.5)K=J*(1+Y);else K=J+Y-J*Y;q=2*J-K,D=[0,0,0];for(var H=0;H<3;H++){if(V=Q+0.3333333333333333*-(H-1),V<0)V++;if(V>1)V--;if(6*V<1)z=q+(K-q)*6*V;else if(2*V<1)z=K;else if(3*V<2)z=q+(K-q)*(0.6666666666666666-V)*6;else z=q;D[H]=z*255}return D};$1.hsl.hsv=function(Z){var Q=Z[0],Y=Z[1]/100,J=Z[2]/100,q=Y,K=Math.max(J,0.01),V,D;return J*=2,Y*=J<=1?J:2-J,q*=K<=1?K:2-K,D=(J+Y)/2,V=J===0?2*q/(K+q):2*Y/(J+Y),[Q,V*100,D*100]};$1.hsv.rgb=function(Z){var Q=Z[0]/60,Y=Z[1]/100,J=Z[2]/100,q=Math.floor(Q)%6,K=Q-Math.floor(Q),V=255*J*(1-Y),D=255*J*(1-Y*K),z=255*J*(1-Y*(1-K));switch(J*=255,q){case 0:return[J,z,V];case 1:return[D,J,V];case 2:return[V,J,z];case 3:return[V,D,J];case 4:return[z,V,J];case 5:return[J,V,D]}};$1.hsv.hsl=function(Z){var Q=Z[0],Y=Z[1]/100,J=Z[2]/100,q=Math.max(J,0.01),K,V,D;return D=(2-Y)*J,K=(2-Y)*q,V=Y*q,V/=K<=1?K:2-K,V=V||0,D/=2,[Q,V*100,D*100]};$1.hwb.rgb=function(Z){var Q=Z[0]/360,Y=Z[1]/100,J=Z[2]/100,q=Y+J,K,V,D,z;if(q>1)Y/=q,J/=q;if(K=Math.floor(6*Q),V=1-J,D=6*Q-K,(K&1)!==0)D=1-D;z=Y+D*(V-Y);var H,G,W;switch(K){default:case 6:case 0:H=V,G=z,W=Y;break;case 1:H=z,G=V,W=Y;break;case 2:H=Y,G=V,W=z;break;case 3:H=Y,G=z,W=V;break;case 4:H=z,G=Y,W=V;break;case 5:H=V,G=Y,W=z;break}return[H*255,G*255,W*255]};$1.cmyk.rgb=function(Z){var Q=Z[0]/100,Y=Z[1]/100,J=Z[2]/100,q=Z[3]/100,K,V,D;return K=1-Math.min(1,Q*(1-q)+q),V=1-Math.min(1,Y*(1-q)+q),D=1-Math.min(1,J*(1-q)+q),[K*255,V*255,D*255]};$1.xyz.rgb=function(Z){var Q=Z[0]/100,Y=Z[1]/100,J=Z[2]/100,q,K,V;return q=Q*3.2406+Y*-1.5372+J*-0.4986,K=Q*-0.9689+Y*1.8758+J*0.0415,V=Q*0.0557+Y*-0.204+J*1.057,q=q>0.0031308?1.055*Math.pow(q,0.4166666666666667)-0.055:q*12.92,K=K>0.0031308?1.055*Math.pow(K,0.4166666666666667)-0.055:K*12.92,V=V>0.0031308?1.055*Math.pow(V,0.4166666666666667)-0.055:V*12.92,q=Math.min(Math.max(0,q),1),K=Math.min(Math.max(0,K),1),V=Math.min(Math.max(0,V),1),[q*255,K*255,V*255]};$1.xyz.lab=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q,K,V;return Q/=95.047,Y/=100,J/=108.883,Q=Q>0.008856?Math.pow(Q,0.3333333333333333):7.787*Q+0.13793103448275862,Y=Y>0.008856?Math.pow(Y,0.3333333333333333):7.787*Y+0.13793103448275862,J=J>0.008856?Math.pow(J,0.3333333333333333):7.787*J+0.13793103448275862,q=116*Y-16,K=500*(Q-Y),V=200*(Y-J),[q,K,V]};$1.lab.xyz=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q,K,V;K=(Q+16)/116,q=Y/500+K,V=K-J/200;var D=Math.pow(K,3),z=Math.pow(q,3),H=Math.pow(V,3);return K=D>0.008856?D:(K-0.13793103448275862)/7.787,q=z>0.008856?z:(q-0.13793103448275862)/7.787,V=H>0.008856?H:(V-0.13793103448275862)/7.787,q*=95.047,K*=100,V*=108.883,[q,K,V]};$1.lab.lch=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q,K,V;if(q=Math.atan2(J,Y),K=q*360/2/Math.PI,K<0)K+=360;return V=Math.sqrt(Y*Y+J*J),[Q,V,K]};$1.lch.lab=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q,K,V;return V=J/360*2*Math.PI,q=Y*Math.cos(V),K=Y*Math.sin(V),[Q,q,K]};$1.rgb.ansi16=function(Z){var Q=Z[0],Y=Z[1],J=Z[2],q=1 in arguments?arguments[1]:$1.rgb.hsv(Z)[2];if(q=Math.round(q/50),q===0)return 30;var K=30+(Math.round(J/255)<<2|Math.round(Y/255)<<1|Math.round(Q/255));if(q===2)K+=60;return K};$1.hsv.ansi16=function(Z){return $1.rgb.ansi16($1.hsv.rgb(Z),Z[2])};$1.rgb.ansi256=function(Z){var Q=Z[0],Y=Z[1],J=Z[2];if(Q===Y&&Y===J){if(Q<8)return 16;if(Q>248)return 231;return Math.round((Q-8)/247*24)+232}var q=16+36*Math.round(Q/255*5)+6*Math.round(Y/255*5)+Math.round(J/255*5);return q};$1.ansi16.rgb=function(Z){var Q=Z%10;if(Q===0||Q===7){if(Z>50)Q+=3.5;return Q=Q/10.5*255,[Q,Q,Q]}var Y=(~~(Z>50)+1)*0.5,J=(Q&1)*Y*255,q=(Q>>1&1)*Y*255,K=(Q>>2&1)*Y*255;return[J,q,K]};$1.ansi256.rgb=function(Z){if(Z>=232){var Q=(Z-232)*10+8;return[Q,Q,Q]}Z-=16;var Y,J=Math.floor(Z/36)/5*255,q=Math.floor((Y=Z%36)/6)/5*255,K=Y%6/5*255;return[J,q,K]};$1.rgb.hex=function(Z){var Q=((Math.round(Z[0])&255)<<16)+((Math.round(Z[1])&255)<<8)+(Math.round(Z[2])&255),Y=Q.toString(16).toUpperCase();return"000000".substring(Y.length)+Y};$1.hex.rgb=function(Z){var Q=Z.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!Q)return[0,0,0];var Y=Q[0];if(Q[0].length===3)Y=Y.split("").map(function(D){return D+D}).join("");var J=parseInt(Y,16),q=J>>16&255,K=J>>8&255,V=J&255;return[q,K,V]};$1.rgb.hcg=function(Z){var Q=Z[0]/255,Y=Z[1]/255,J=Z[2]/255,q=Math.max(Math.max(Q,Y),J),K=Math.min(Math.min(Q,Y),J),V=q-K,D,z;if(V<1)D=K/(1-V);else D=0;if(V<=0)z=0;else if(q===Q)z=(Y-J)/V%6;else if(q===Y)z=2+(J-Q)/V;else z=4+(Q-Y)/V+4;return z/=6,z%=1,[z*360,V*100,D*100]};$1.hsl.hcg=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=1,q=0;if(Y<0.5)J=2*Q*Y;else J=2*Q*(1-Y);if(J<1)q=(Y-0.5*J)/(1-J);return[Z[0],J*100,q*100]};$1.hsv.hcg=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=Q*Y,q=0;if(J<1)q=(Y-J)/(1-J);return[Z[0],J*100,q*100]};$1.hcg.rgb=function(Z){var Q=Z[0]/360,Y=Z[1]/100,J=Z[2]/100;if(Y===0)return[J*255,J*255,J*255];var q=[0,0,0],K=Q%1*6,V=K%1,D=1-V,z=0;switch(Math.floor(K)){case 0:q[0]=1,q[1]=V,q[2]=0;break;case 1:q[0]=D,q[1]=1,q[2]=0;break;case 2:q[0]=0,q[1]=1,q[2]=V;break;case 3:q[0]=0,q[1]=D,q[2]=1;break;case 4:q[0]=V,q[1]=0,q[2]=1;break;default:q[0]=1,q[1]=0,q[2]=D}return z=(1-Y)*J,[(Y*q[0]+z)*255,(Y*q[1]+z)*255,(Y*q[2]+z)*255]};$1.hcg.hsv=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=Q+Y*(1-Q),q=0;if(J>0)q=Q/J;return[Z[0],q*100,J*100]};$1.hcg.hsl=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=Y*(1-Q)+0.5*Q,q=0;if(J>0&&J<0.5)q=Q/(2*J);else if(J>=0.5&&J<1)q=Q/(2*(1-J));return[Z[0],q*100,J*100]};$1.hcg.hwb=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=Q+Y*(1-Q);return[Z[0],(J-Q)*100,(1-J)*100]};$1.hwb.hcg=function(Z){var Q=Z[1]/100,Y=Z[2]/100,J=1-Y,q=J-Q,K=0;if(q<1)K=(J-q)/(1-q);return[Z[0],q*100,K*100]};$1.apple.rgb=function(Z){return[Z[0]/65535*255,Z[1]/65535*255,Z[2]/65535*255]};$1.rgb.apple=function(Z){return[Z[0]/255*65535,Z[1]/255*65535,Z[2]/255*65535]};$1.gray.rgb=function(Z){return[Z[0]/100*255,Z[0]/100*255,Z[0]/100*255]};$1.gray.hsl=$1.gray.hsv=function(Z){return[0,0,Z[0]]};$1.gray.hwb=function(Z){return[0,100,Z[0]]};$1.gray.cmyk=function(Z){return[0,0,0,Z[0]]};$1.gray.lab=function(Z){return[Z[0],0,0]};$1.gray.hex=function(Z){var Q=Math.round(Z[0]/100*255)&255,Y=(Q<<16)+(Q<<8)+Q,J=Y.toString(16).toUpperCase();return"000000".substring(J.length)+J};$1.rgb.gray=function(Z){var Q=(Z[0]+Z[1]+Z[2])/3;return[Q/255*100]}});var dC=k((dw0,cC)=>{var tK=DU();function Lt(){var Z={},Q=Object.keys(tK);for(var Y=Q.length,J=0;J<Y;J++)Z[Q[J]]={distance:-1,parent:null};return Z}function Mt(Z){var Q=Lt(),Y=[Z];Q[Z].distance=0;while(Y.length){var J=Y.pop(),q=Object.keys(tK[J]);for(var K=q.length,V=0;V<K;V++){var D=q[V],z=Q[D];if(z.distance===-1)z.distance=Q[J].distance+1,z.parent=J,Y.unshift(D)}}return Q}function jt(Z,Q){return function(Y){return Q(Z(Y))}}function Nt(Z,Q){var Y=[Q[Z].parent,Z],J=tK[Q[Z].parent][Z],q=Q[Z].parent;while(Q[q].parent)Y.unshift(Q[q].parent),J=jt(tK[Q[q].parent][q],J),q=Q[q].parent;return J.conversion=Y,J}cC.exports=function(Z){var Q=Mt(Z),Y={},J=Object.keys(Q);for(var q=J.length,K=0;K<q;K++){var V=J[K],D=Q[V];if(D.parent===null)continue;Y[V]=Nt(V,Q)}return Y}});var pC=k((lw0,lC)=>{var zU=DU(),St=dC(),YQ={},Pt=Object.keys(zU);function Tt(Z){var Q=function(Y){if(Y===void 0||Y===null)return Y;if(arguments.length>1)Y=Array.prototype.slice.call(arguments);return Z(Y)};if("conversion"in Z)Q.conversion=Z.conversion;return Q}function _t(Z){var Q=function(Y){if(Y===void 0||Y===null)return Y;if(arguments.length>1)Y=Array.prototype.slice.call(arguments);var J=Z(Y);if(typeof J==="object")for(var q=J.length,K=0;K<q;K++)J[K]=Math.round(J[K]);return J};if("conversion"in Z)Q.conversion=Z.conversion;return Q}Pt.forEach(function(Z){YQ[Z]={},Object.defineProperty(YQ[Z],"channels",{value:zU[Z].channels}),Object.defineProperty(YQ[Z],"labels",{value:zU[Z].labels});var Q=St(Z),Y=Object.keys(Q);Y.forEach(function(J){var q=Q[J];YQ[Z][J]=_t(q),YQ[Z][J].raw=Tt(q)})});lC.exports=YQ});var nC=k((pw0,iC)=>{var JQ=pC(),eK=(Z,Q)=>function(){return`\x1B[${Z.apply(JQ,arguments)+Q}m`},ZV=(Z,Q)=>function(){let Y=Z.apply(JQ,arguments);return`\x1B[${38+Q};5;${Y}m`},QV=(Z,Q)=>function(){let Y=Z.apply(JQ,arguments);return`\x1B[${38+Q};2;${Y[0]};${Y[1]};${Y[2]}m`};function vt(){let Z=new Map,Q={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Q.color.grey=Q.color.gray;for(let q of Object.keys(Q)){let K=Q[q];for(let V of Object.keys(K)){let D=K[V];Q[V]={open:`\x1B[${D[0]}m`,close:`\x1B[${D[1]}m`},K[V]=Q[V],Z.set(D[0],D[1])}Object.defineProperty(Q,q,{value:K,enumerable:!1}),Object.defineProperty(Q,"codes",{value:Z,enumerable:!1})}let Y=(q)=>q,J=(q,K,V)=>[q,K,V];Q.color.close="\x1B[39m",Q.bgColor.close="\x1B[49m",Q.color.ansi={ansi:eK(Y,0)},Q.color.ansi256={ansi256:ZV(Y,0)},Q.color.ansi16m={rgb:QV(J,0)},Q.bgColor.ansi={ansi:eK(Y,10)},Q.bgColor.ansi256={ansi256:ZV(Y,10)},Q.bgColor.ansi16m={rgb:QV(J,10)};for(let q of Object.keys(JQ)){if(typeof JQ[q]!=="object")continue;let K=JQ[q];if(q==="ansi16")q="ansi";if("ansi16"in K)Q.color.ansi[q]=eK(K.ansi16,0),Q.bgColor.ansi[q]=eK(K.ansi16,10);if("ansi256"in K)Q.color.ansi256[q]=ZV(K.ansi256,0),Q.bgColor.ansi256[q]=ZV(K.ansi256,10);if("rgb"in K)Q.color.ansi16m[q]=QV(K.rgb,0),Q.bgColor.ansi16m[q]=QV(K.rgb,10)}return Q}Object.defineProperty(iC,"exports",{enumerable:!0,get:vt})});var aC=k((iw0,sC)=>{sC.exports=(Z,Q)=>{Q=Q||process.argv;let Y=Z.startsWith("-")?"":Z.length===1?"-":"--",J=Q.indexOf(Y+Z),q=Q.indexOf("--");return J!==-1&&(q===-1?!0:J<q)}});var oC=k((nw0,rC)=>{var bt=require("os"),E7=aC(),v8=process.env,qQ;if(E7("no-color")||E7("no-colors")||E7("color=false"))qQ=!1;else if(E7("color")||E7("colors")||E7("color=true")||E7("color=always"))qQ=!0;if("FORCE_COLOR"in v8)qQ=v8.FORCE_COLOR.length===0||parseInt(v8.FORCE_COLOR,10)!==0;function kt(Z){if(Z===0)return!1;return{level:Z,hasBasic:!0,has256:Z>=2,has16m:Z>=3}}function yt(Z){if(qQ===!1)return 0;if(E7("color=16m")||E7("color=full")||E7("color=truecolor"))return 3;if(E7("color=256"))return 2;if(Z&&!Z.isTTY&&qQ!==!0)return 0;let Q=qQ?1:0;if(process.platform==="win32"){let Y=bt.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(Y[0])>=10&&Number(Y[2])>=10586)return Number(Y[2])>=14931?3:2;return 1}if("CI"in v8){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some((Y)=>(Y in v8))||v8.CI_NAME==="codeship")return 1;return Q}if("TEAMCITY_VERSION"in v8)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(v8.TEAMCITY_VERSION)?1:0;if(v8.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in v8){let Y=parseInt((v8.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(v8.TERM_PROGRAM){case"iTerm.app":return Y>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(v8.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(v8.TERM))return 1;if("COLORTERM"in v8)return 1;if(v8.TERM==="dumb")return Q;return Q}function HU(Z){let Q=yt(Z);return kt(Q)}rC.exports={supportsColor:HU,stdout:HU(process.stdout),stderr:HU(process.stderr)}});var YR=k((sw0,QR)=>{var ht=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,tC=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,xt=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ut=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,ft=new Map([["n",`
9
9
  `],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\x00"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function ZR(Z){if(Z[0]==="u"&&Z.length===5||Z[0]==="x"&&Z.length===3)return String.fromCharCode(parseInt(Z.slice(1),16));return ft.get(Z)||Z}function gt(Z,Q){let Y=[],J=Q.trim().split(/\s*,\s*/g),q;for(let K of J)if(!isNaN(K))Y.push(Number(K));else if(q=K.match(xt))Y.push(q[2].replace(ut,(V,D,z)=>D?ZR(D):z));else throw Error(`Invalid Chalk template style argument: ${K} (in style '${Z}')`);return Y}function mt(Z){tC.lastIndex=0;let Q=[],Y;while((Y=tC.exec(Z))!==null){let J=Y[1];if(Y[2]){let q=gt(J,Y[2]);Q.push([J].concat(q))}else Q.push([J])}return Q}function eC(Z,Q){let Y={};for(let q of Q)for(let K of q.styles)Y[K[0]]=q.inverse?null:K.slice(1);let J=Z;for(let q of Object.keys(Y))if(Array.isArray(Y[q])){if(!(q in J))throw Error(`Unknown Chalk style: ${q}`);if(Y[q].length>0)J=J[q].apply(J,Y[q]);else J=J[q]}return J}QR.exports=(Z,Q)=>{let Y=[],J=[],q=[];if(Q.replace(ht,(K,V,D,z,H,G)=>{if(V)q.push(ZR(V));else if(z){let W=q.join("");q=[],J.push(Y.length===0?W:eC(Z,Y)(W)),Y.push({inverse:D,styles:mt(z)})}else if(H){if(Y.length===0)throw Error("Found extraneous } in Chalk template literal");J.push(eC(Z,Y)(q.join(""))),q=[],Y.pop()}else q.push(G)}),J.push(q.join("")),Y.length>0){let K=`Chalk template literal is missing ${Y.length} closing bracket${Y.length===1?"":"s"} (\`}\`)`;throw Error(K)}return J.join("")}});var DR=k((aw0,B3)=>{var WU=xC(),s5=nC(),GU=oC().stdout,ct=YR(),qR=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),KR=["ansi","ansi","ansi256","ansi16m"],VR=new Set(["gray"]),KQ=Object.create(null);function JR(Z,Q){Q=Q||{};let Y=GU?GU.level:0;Z.level=Q.level===void 0?Y:Q.level,Z.enabled="enabled"in Q?Q.enabled:Z.level>0}function $3(Z){if(!this||!(this instanceof $3)||this.template){let Q={};return JR(Q,Z),Q.template=function(){let Y=[].slice.call(arguments);return pt.apply(null,[Q.template].concat(Y))},Object.setPrototypeOf(Q,$3.prototype),Object.setPrototypeOf(Q.template,Q),Q.template.constructor=$3,Q.template}JR(this,Z)}if(qR)s5.blue.open="\x1B[94m";for(let Z of Object.keys(s5))s5[Z].closeRe=new RegExp(WU(s5[Z].close),"g"),KQ[Z]={get(){let Q=s5[Z];return YV.call(this,this._styles?this._styles.concat(Q):[Q],this._empty,Z)}};KQ.visible={get(){return YV.call(this,this._styles||[],!0,"visible")}};s5.color.closeRe=new RegExp(WU(s5.color.close),"g");for(let Z of Object.keys(s5.color.ansi)){if(VR.has(Z))continue;KQ[Z]={get(){let Q=this.level;return function(){let J={open:s5.color[KR[Q]][Z].apply(null,arguments),close:s5.color.close,closeRe:s5.color.closeRe};return YV.call(this,this._styles?this._styles.concat(J):[J],this._empty,Z)}}}}s5.bgColor.closeRe=new RegExp(WU(s5.bgColor.close),"g");for(let Z of Object.keys(s5.bgColor.ansi)){if(VR.has(Z))continue;let Q="bg"+Z[0].toUpperCase()+Z.slice(1);KQ[Q]={get(){let Y=this.level;return function(){let q={open:s5.bgColor[KR[Y]][Z].apply(null,arguments),close:s5.bgColor.close,closeRe:s5.bgColor.closeRe};return YV.call(this,this._styles?this._styles.concat(q):[q],this._empty,Z)}}}}var dt=Object.defineProperties(()=>{},KQ);function YV(Z,Q,Y){let J=function(){return lt.apply(J,arguments)};J._styles=Z,J._empty=Q;let q=this;return Object.defineProperty(J,"level",{enumerable:!0,get(){return q.level},set(K){q.level=K}}),Object.defineProperty(J,"enabled",{enumerable:!0,get(){return q.enabled},set(K){q.enabled=K}}),J.hasGrey=this.hasGrey||Y==="gray"||Y==="grey",J.__proto__=dt,J}function lt(){let Z=arguments,Q=Z.length,Y=String(arguments[0]);if(Q===0)return"";if(Q>1)for(let q=1;q<Q;q++)Y+=" "+Z[q];if(!this.enabled||this.level<=0||!Y)return this._empty?"":Y;let J=s5.dim.open;if(qR&&this.hasGrey)s5.dim.open="";for(let q of this._styles.slice().reverse())Y=q.open+Y.replace(q.closeRe,q.open)+q.close,Y=Y.replace(/\r?\n/g,`${q.close}$&${q.open}`);return s5.dim.open=J,Y}function pt(Z,Q){if(!Array.isArray(Q))return[].slice.call(arguments,1).join(" ");let Y=[].slice.call(arguments,2),J=[Q.raw[0]];for(let q=1;q<Q.length;q++)J.push(String(Y[q-1]).replace(/[{}\\]/g,"\\$&")),J.push(String(Q.raw[q]));return ct(Z,J.join(""))}Object.defineProperties($3.prototype,KQ);B3.exports=$3();B3.exports.supportsColor=GU;B3.exports.default=B3.exports});var OR=k((O3)=>{Object.defineProperty(O3,"__esModule",{value:!0});O3.default=et;O3.shouldHighlight=BR;var zR=CC(),HR=vC(),$U=it(yC(),!0);function WR(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(WR=function(J){return J?Y:Q})(Z)}function it(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=WR(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}var UR=typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?(0,$U.createColors)(!1):$U.default,GR=(Z,Q)=>(Y)=>Z(Q(Y)),nt=new Set(["as","async","from","get","of","set"]);function st(Z){return{keyword:Z.cyan,capitalized:Z.yellow,jsxIdentifier:Z.yellow,punctuator:Z.yellow,number:Z.magenta,string:Z.green,regex:Z.magenta,comment:Z.gray,invalid:GR(GR(Z.white,Z.bgRed),Z.bold)}}var at=/\r\n|[\n\r\u2028\u2029]/,rt=/^[()[\]{}]$/,$R;{let Z=/^[a-z][\w-]*$/i,Q=function(Y,J,q){if(Y.type==="name"){if((0,HR.isKeyword)(Y.value)||(0,HR.isStrictReservedWord)(Y.value,!0)||nt.has(Y.value))return"keyword";if(Z.test(Y.value)&&(q[J-1]==="<"||q.slice(J-2,J)==="</"))return"jsxIdentifier";if(Y.value[0]!==Y.value[0].toLowerCase())return"capitalized"}if(Y.type==="punctuator"&&rt.test(Y.value))return"bracket";if(Y.type==="invalid"&&(Y.value==="@"||Y.value==="#"))return"punctuator";return Y.type};$R=function*(Y){let J;while(J=zR.default.exec(Y)){let q=zR.matchToToken(J);yield{type:Q(q,J.index,Y),value:q.value}}}}function ot(Z,Q){let Y="";for(let{type:J,value:q}of $R(Q)){let K=Z[J];if(K)Y+=q.split(at).map((V)=>K(V)).join(`
10
10
  `);else Y+=q}return Y}function BR(Z){return UR.isColorSupported||Z.forceColor}var UU=void 0;function tt(Z){if(Z){var Q;return(Q=UU)!=null||(UU=(0,$U.createColors)(!0)),UU}return UR}function et(Z,Q={}){if(Z!==""&&BR(Q)){let Y=st(tt(Q.forceColor));return ot(Y,Z)}else return Z}{let Z,Q;O3.getChalk=({forceColor:Y})=>{var J;if((J=Z)!=null||(Z=DR()),Y){var q;return(q=Q)!=null||(Q=new Z.constructor({enabled:!0,level:1})),Q}return Z}}});var qV=k((JV)=>{Object.defineProperty(JV,"__esModule",{value:!0});JV.codeFrameColumns=wR;JV.default=Je;var BU=Ze(OR());function AR(){if(typeof WeakMap!=="function")return null;var Z=new WeakMap;return AR=function(){return Z},Z}function Ze(Z){if(Z&&Z.__esModule)return Z;if(Z===null||typeof Z!=="object"&&typeof Z!=="function")return{default:Z};var Q=AR();if(Q&&Q.has(Z))return Q.get(Z);var Y={},J=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in Z)if(Object.prototype.hasOwnProperty.call(Z,q)){var K=J?Object.getOwnPropertyDescriptor(Z,q):null;if(K&&(K.get||K.set))Object.defineProperty(Y,q,K);else Y[q]=Z[q]}if(Y.default=Z,Q)Q.set(Z,Y);return Y}var XR=!1;function Qe(Z){return{gutter:Z.grey,marker:Z.red.bold,message:Z.red.bold}}var FR=/\r\n|[\n\r\u2028\u2029]/;function Ye(Z,Q,Y){let J=Object.assign({column:0,line:-1},Z.start),q=Object.assign({},J,Z.end),{linesAbove:K=2,linesBelow:V=3}=Y||{},D=J.line,z=J.column,H=q.line,G=q.column,W=Math.max(D-(K+1),0),$=Math.min(Q.length,H+V);if(D===-1)W=0;if(H===-1)$=Q.length;let B=H-D,O={};if(B)for(let A=0;A<=B;A++){let w=A+D;if(!z)O[w]=!0;else if(A===0){let E=Q[w-1].length;O[w]=[z,E-z+1]}else if(A===B)O[w]=[0,G];else{let E=Q[w-A].length;O[w]=[0,E]}}else if(z===G)if(z)O[D]=[z,0];else O[D]=!0;else O[D]=[z,G-z];return{start:W,end:$,markerLines:O}}function wR(Z,Q,Y={}){let J=(Y.highlightCode||Y.forceColor)&&(0,BU.shouldHighlight)(Y),q=(0,BU.getChalk)(Y),K=Qe(q),V=(A,w)=>{return J?A(w):w},D=Z.split(FR),{start:z,end:H,markerLines:G}=Ye(Q,D,Y),W=Q.start&&typeof Q.start.column==="number",$=String(H).length,O=(J?(0,BU.default)(Z,Y):Z).split(FR).slice(z,H).map((A,w)=>{let E=z+1+w,X=` ${` ${E}`.slice(-$)} | `,F=G[E],U=!G[E+1];if(F){let I="";if(Array.isArray(F)){let P=A.slice(0,Math.max(F[0]-1,0)).replace(/[^\t]/g," "),L=F[1]||1;if(I=[`
@@ -32,7 +32,7 @@ ${V}`}throw new p4.default(`Error parsing JSON: ${Z}`,J,"EJSONPARSE",Y)}else ret
32
32
  `);return{line:q.length,column:q[q.length-1].length}}return null}function PU(Z,Q){if(Z?.trim()==="")throw new p4.EmptyJsonFileError(Q)}});var oR=k((VE0,rR)=>{var Me=function(Q){return je(Q)&&!Ne(Q)};function je(Z){return!!Z&&typeof Z==="object"}function Ne(Z){var Q=Object.prototype.toString.call(Z);return Q==="[object RegExp]"||Q==="[object Date]"||Te(Z)}var Se=typeof Symbol==="function"&&Symbol.for,Pe=Se?Symbol.for("react.element"):60103;function Te(Z){return Z.$$typeof===Pe}function _e(Z){return Array.isArray(Z)?[]:{}}function w3(Z,Q){return Q.clone!==!1&&Q.isMergeableObject(Z)?HQ(_e(Z),Z,Q):Z}function ve(Z,Q,Y){return Z.concat(Q).map(function(J){return w3(J,Y)})}function be(Z,Q){if(!Q.customMerge)return HQ;var Y=Q.customMerge(Z);return typeof Y==="function"?Y:HQ}function ke(Z){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(Z).filter(function(Q){return Object.propertyIsEnumerable.call(Z,Q)}):[]}function sR(Z){return Object.keys(Z).concat(ke(Z))}function aR(Z,Q){try{return Q in Z}catch(Y){return!1}}function ye(Z,Q){return aR(Z,Q)&&!(Object.hasOwnProperty.call(Z,Q)&&Object.propertyIsEnumerable.call(Z,Q))}function he(Z,Q,Y){var J={};if(Y.isMergeableObject(Z))sR(Z).forEach(function(q){J[q]=w3(Z[q],Y)});return sR(Q).forEach(function(q){if(ye(Z,q))return;if(aR(Z,q)&&Y.isMergeableObject(Q[q]))J[q]=be(q,Y)(Z[q],Q[q],Y);else J[q]=w3(Q[q],Y)}),J}function HQ(Z,Q,Y){Y=Y||{},Y.arrayMerge=Y.arrayMerge||ve,Y.isMergeableObject=Y.isMergeableObject||Me,Y.cloneUnlessOtherwiseSpecified=w3;var J=Array.isArray(Q),q=Array.isArray(Z),K=J===q;if(!K)return w3(Q,Y);else if(J)return Y.arrayMerge(Z,Q,Y);else return he(Z,Q,Y)}HQ.all=function(Q,Y){if(!Array.isArray(Q))throw Error("first argument should be an array");return Q.reduce(function(J,q){return HQ(J,q,Y)},{})};var xe=HQ;rR.exports=xe});var YL=k((DE0,QL)=>{QL.exports=eR;function eR(Z,Q,Y){if(Z instanceof RegExp)Z=tR(Z,Y);if(Q instanceof RegExp)Q=tR(Q,Y);var J=ZL(Z,Q,Y);return J&&{start:J[0],end:J[1],pre:Y.slice(0,J[0]),body:Y.slice(J[0]+Z.length,J[1]),post:Y.slice(J[1]+Q.length)}}function tR(Z,Q){var Y=Q.match(Z);return Y?Y[0]:null}eR.range=ZL;function ZL(Z,Q,Y){var J,q,K,V,D,z=Y.indexOf(Z),H=Y.indexOf(Q,z+1),G=z;if(z>=0&&H>0){if(Z===Q)return[z,H];J=[],K=Y.length;while(G>=0&&!D){if(G==z)J.push(G),z=Y.indexOf(Z,G+1);else if(J.length==1)D=[J.pop(),H];else{if(q=J.pop(),q<K)K=q,V=H;H=Y.indexOf(Q,G+1)}G=z<H&&z>=0?z:H}if(J.length)D=[K,V]}return D}});var GL=k((zE0,HL)=>{var JL=YL();HL.exports=ge;var qL="\x00SLASH"+Math.random()+"\x00",KL="\x00OPEN"+Math.random()+"\x00",_U="\x00CLOSE"+Math.random()+"\x00",VL="\x00COMMA"+Math.random()+"\x00",DL="\x00PERIOD"+Math.random()+"\x00";function TU(Z){return parseInt(Z,10)==Z?parseInt(Z,10):Z.charCodeAt(0)}function ue(Z){return Z.split("\\\\").join(qL).split("\\{").join(KL).split("\\}").join(_U).split("\\,").join(VL).split("\\.").join(DL)}function fe(Z){return Z.split(qL).join("\\").split(KL).join("{").split(_U).join("}").split(VL).join(",").split(DL).join(".")}function zL(Z){if(!Z)return[""];var Q=[],Y=JL("{","}",Z);if(!Y)return Z.split(",");var{pre:J,body:q,post:K}=Y,V=J.split(",");V[V.length-1]+="{"+q+"}";var D=zL(K);if(K.length)V[V.length-1]+=D.shift(),V.push.apply(V,D);return Q.push.apply(Q,V),Q}function ge(Z){if(!Z)return[];if(Z.substr(0,2)==="{}")Z="\\{\\}"+Z.substr(2);return E3(ue(Z),!0).map(fe)}function me(Z){return"{"+Z+"}"}function ce(Z){return/^-?0\d/.test(Z)}function de(Z,Q){return Z<=Q}function le(Z,Q){return Z>=Q}function E3(Z,Q){var Y=[],J=JL("{","}",Z);if(!J)return[Z];var q=J.pre,K=J.post.length?E3(J.post,!1):[""];if(/\$$/.test(J.pre))for(var V=0;V<K.length;V++){var D=q+"{"+J.body+"}"+K[V];Y.push(D)}else{var z=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(J.body),H=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(J.body),G=z||H,W=J.body.indexOf(",")>=0;if(!G&&!W){if(J.post.match(/,(?!,).*\}/))return Z=J.pre+"{"+J.body+_U+J.post,E3(Z);return[Z]}var $;if(G)$=J.body.split(/\.\./);else if($=zL(J.body),$.length===1){if($=E3($[0],!1).map(me),$.length===1)return K.map(function(C){return J.pre+$[0]+C})}var B;if(G){var O=TU($[0]),A=TU($[1]),w=Math.max($[0].length,$[1].length),E=$.length==3?Math.abs(TU($[2])):1,S=de,X=A<O;if(X)E*=-1,S=le;var F=$.some(ce);B=[];for(var U=O;S(U,A);U+=E){var I;if(H){if(I=String.fromCharCode(U),I==="\\")I=""}else if(I=String(U),F){var P=w-I.length;if(P>0){var L=Array(P+1).join("0");if(U<0)I="-"+L+I.slice(1);else I=L+I}}B.push(I)}}else{B=[];for(var R=0;R<$.length;R++)B.push.apply(B,E3($[R],!1))}for(var R=0;R<B.length;R++)for(var V=0;V<K.length;V++){var D=q+B[R]+K[V];if(!Q||G||D)Y.push(D)}}return Y}});var WL=k((UV)=>{Object.defineProperty(UV,"__esModule",{value:!0});UV.assertValidPattern=void 0;var pe=65536,ie=(Z)=>{if(typeof Z!=="string")throw TypeError("invalid pattern");if(Z.length>pe)throw TypeError("pattern is too long")};UV.assertValidPattern=ie});var $L=k(($V)=>{Object.defineProperty($V,"__esModule",{value:!0});$V.parseClass=void 0;var ne={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},I3=(Z)=>Z.replace(/[[\]\\-]/g,"\\$&"),se=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),UL=(Z)=>Z.join(""),ae=(Z,Q)=>{let Y=Q;if(Z.charAt(Y)!=="[")throw Error("not in a brace expression");let J=[],q=[],K=Y+1,V=!1,D=!1,z=!1,H=!1,G=Y,W="";Z:while(K<Z.length){let A=Z.charAt(K);if((A==="!"||A==="^")&&K===Y+1){H=!0,K++;continue}if(A==="]"&&V&&!z){G=K+1;break}if(V=!0,A==="\\"){if(!z){z=!0,K++;continue}}if(A==="["&&!z){for(let[w,[E,S,X]]of Object.entries(ne))if(Z.startsWith(w,K)){if(W)return["$.",!1,Z.length-Y,!0];if(K+=w.length,X)q.push(E);else J.push(E);D=D||S;continue Z}}if(z=!1,W){if(A>W)J.push(I3(W)+"-"+I3(A));else if(A===W)J.push(I3(A));W="",K++;continue}if(Z.startsWith("-]",K+1)){J.push(I3(A+"-")),K+=2;continue}if(Z.startsWith("-",K+1)){W=A,K+=2;continue}J.push(I3(A)),K++}if(G<K)return["",!1,0,!1];if(!J.length&&!q.length)return["$.",!1,Z.length-Y,!0];if(q.length===0&&J.length===1&&/^\\?.$/.test(J[0])&&!H){let A=J[0].length===2?J[0].slice(-1):J[0];return[se(A),!1,G-Y,!1]}let $="["+(H?"^":"")+UL(J)+"]",B="["+(H?"":"^")+UL(q)+"]";return[J.length&&q.length?"("+$+"|"+B+")":J.length?$:B,D,G-Y,!0]};$V.parseClass=ae});var OV=k((BV)=>{Object.defineProperty(BV,"__esModule",{value:!0});BV.unescape=void 0;var re=(Z,{windowsPathsNoEscape:Q=!1}={})=>{return Q?Z.replace(/\[([^\/\\])\]/g,"$1"):Z.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};BV.unescape=re});var bU=k((AV)=>{Object.defineProperty(AV,"__esModule",{value:!0});AV.AST=void 0;var oe=$L(),XV=OV(),te=new Set(["!","?","+","*","@"]),BL=(Z)=>te.has(Z),ee="(?!(?:^|/)\\.\\.?(?:$|/))",FV="(?!\\.)",Z00=new Set(["[","."]),Q00=new Set(["..","."]),Y00=new Set("().*{}+?[]^$\\!"),J00=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),vU="[^/]",OL=vU+"*?",XL=vU+"+?";class K9{type;#Z;#Q;#Y=!1;#q=[];#K;#A;#W;#G=!1;#H;#D;#V=!1;constructor(Z,Q,Y={}){if(this.type=Z,Z)this.#Q=!0;if(this.#K=Q,this.#Z=this.#K?this.#K.#Z:this,this.#H=this.#Z===this?Y:this.#Z.#H,this.#W=this.#Z===this?[]:this.#Z.#W,Z==="!"&&!this.#Z.#G)this.#W.push(this);this.#A=this.#K?this.#K.#q.length:0}get hasMagic(){if(this.#Q!==void 0)return this.#Q;for(let Z of this.#q){if(typeof Z==="string")continue;if(Z.type||Z.hasMagic)return this.#Q=!0}return this.#Q}toString(){if(this.#D!==void 0)return this.#D;if(!this.type)return this.#D=this.#q.map((Z)=>String(Z)).join("");else return this.#D=this.type+"("+this.#q.map((Z)=>String(Z)).join("|")+")"}#z(){if(this!==this.#Z)throw Error("should only call on root");if(this.#G)return this;this.toString(),this.#G=!0;let Z;while(Z=this.#W.pop()){if(Z.type!=="!")continue;let Q=Z,Y=Q.#K;while(Y){for(let J=Q.#A+1;!Y.type&&J<Y.#q.length;J++)for(let q of Z.#q){if(typeof q==="string")throw Error("string part in extglob AST??");q.copyIn(Y.#q[J])}Q=Y,Y=Q.#K}}return this}push(...Z){for(let Q of Z){if(Q==="")continue;if(typeof Q!=="string"&&!(Q instanceof K9&&Q.#K===this))throw Error("invalid part: "+Q);this.#q.push(Q)}}toJSON(){let Z=this.type===null?this.#q.slice().map((Q)=>typeof Q==="string"?Q:Q.toJSON()):[this.type,...this.#q.map((Q)=>Q.toJSON())];if(this.isStart()&&!this.type)Z.unshift([]);if(this.isEnd()&&(this===this.#Z||this.#Z.#G&&this.#K?.type==="!"))Z.push({});return Z}isStart(){if(this.#Z===this)return!0;if(!this.#K?.isStart())return!1;if(this.#A===0)return!0;let Z=this.#K;for(let Q=0;Q<this.#A;Q++){let Y=Z.#q[Q];if(!(Y instanceof K9&&Y.type==="!"))return!1}return!0}isEnd(){if(this.#Z===this)return!0;if(this.#K?.type==="!")return!0;if(!this.#K?.isEnd())return!1;if(!this.type)return this.#K?.isEnd();let Z=this.#K?this.#K.#q.length:0;return this.#A===Z-1}copyIn(Z){if(typeof Z==="string")this.push(Z);else this.push(Z.clone(this))}clone(Z){let Q=new K9(this.type,Z);for(let Y of this.#q)Q.copyIn(Y);return Q}static#$(Z,Q,Y,J){let q=!1,K=!1,V=-1,D=!1;if(Q.type===null){let $=Y,B="";while($<Z.length){let O=Z.charAt($++);if(q||O==="\\"){q=!q,B+=O;continue}if(K){if($===V+1){if(O==="^"||O==="!")D=!0}else if(O==="]"&&!($===V+2&&D))K=!1;B+=O;continue}else if(O==="["){K=!0,V=$,D=!1,B+=O;continue}if(!J.noext&&BL(O)&&Z.charAt($)==="("){Q.push(B),B="";let A=new K9(O,Q);$=K9.#$(Z,A,$,J),Q.push(A);continue}B+=O}return Q.push(B),$}let z=Y+1,H=new K9(null,Q),G=[],W="";while(z<Z.length){let $=Z.charAt(z++);if(q||$==="\\"){q=!q,W+=$;continue}if(K){if(z===V+1){if($==="^"||$==="!")D=!0}else if($==="]"&&!(z===V+2&&D))K=!1;W+=$;continue}else if($==="["){K=!0,V=z,D=!1,W+=$;continue}if(BL($)&&Z.charAt(z)==="("){H.push(W),W="";let B=new K9($,H);H.push(B),z=K9.#$(Z,B,z,J);continue}if($==="|"){H.push(W),W="",G.push(H),H=new K9(null,Q);continue}if($===")"){if(W===""&&Q.#q.length===0)Q.#V=!0;return H.push(W),W="",Q.push(...G,H),z}W+=$}return Q.type=null,Q.#Q=void 0,Q.#q=[Z.substring(Y-1)],z}static fromGlob(Z,Q={}){let Y=new K9(null,void 0,Q);return K9.#$(Z,Y,0,Q),Y}toMMPattern(){if(this!==this.#Z)return this.#Z.toMMPattern();let Z=this.toString(),[Q,Y,J,q]=this.toRegExpSource();if(!(J||this.#Q||this.#H.nocase&&!this.#H.nocaseMagicOnly&&Z.toUpperCase()!==Z.toLowerCase()))return Y;let V=(this.#H.nocase?"i":"")+(q?"u":"");return Object.assign(new RegExp(`^${Q}$`,V),{_src:Q,_glob:Z})}get options(){return this.#H}toRegExpSource(Z){let Q=Z??!!this.#H.dot;if(this.#Z===this)this.#z();if(!this.type){let D=this.isStart()&&this.isEnd(),z=this.#q.map(($)=>{let[B,O,A,w]=typeof $==="string"?K9.#U($,this.#Q,D):$.toRegExpSource(Z);return this.#Q=this.#Q||A,this.#Y=this.#Y||w,B}).join(""),H="";if(this.isStart()){if(typeof this.#q[0]==="string"){if(!(this.#q.length===1&&Q00.has(this.#q[0]))){let B=Z00,O=Q&&B.has(z.charAt(0))||z.startsWith("\\.")&&B.has(z.charAt(2))||z.startsWith("\\.\\.")&&B.has(z.charAt(4)),A=!Q&&!Z&&B.has(z.charAt(0));H=O?ee:A?FV:""}}}let G="";if(this.isEnd()&&this.#Z.#G&&this.#K?.type==="!")G="(?:$|\\/)";return[H+z+G,(0,XV.unescape)(z),this.#Q=!!this.#Q,this.#Y]}let Y=this.type==="*"||this.type==="+",J=this.type==="!"?"(?:(?!(?:":"(?:",q=this.#B(Q);if(this.isStart()&&this.isEnd()&&!q&&this.type!=="!"){let D=this.toString();return this.#q=[D],this.type=null,this.#Q=void 0,[D,(0,XV.unescape)(this.toString()),!1,!1]}let K=!Y||Z||Q||!FV?"":this.#B(!0);if(K===q)K="";if(K)q=`(?:${q})(?:${K})*?`;let V="";if(this.type==="!"&&this.#V)V=(this.isStart()&&!Q?FV:"")+XL;else{let D=this.type==="!"?"))"+(this.isStart()&&!Q&&!Z?FV:"")+OL+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&K?")":this.type==="*"&&K?")?":`)${this.type}`;V=J+q+D}return[V,(0,XV.unescape)(q),this.#Q=!!this.#Q,this.#Y]}#B(Z){return this.#q.map((Q)=>{if(typeof Q==="string")throw Error("string type in extglob ast??");let[Y,J,q,K]=Q.toRegExpSource(Z);return this.#Y=this.#Y||K,Y}).filter((Q)=>!(this.isStart()&&this.isEnd())||!!Q).join("|")}static#U(Z,Q,Y=!1){let J=!1,q="",K=!1;for(let V=0;V<Z.length;V++){let D=Z.charAt(V);if(J){J=!1,q+=(Y00.has(D)?"\\":"")+D;continue}if(D==="\\"){if(V===Z.length-1)q+="\\\\";else J=!0;continue}if(D==="["){let[z,H,G,W]=(0,oe.parseClass)(Z,V);if(G){q+=z,K=K||H,V+=G-1,Q=Q||W;continue}}if(D==="*"){if(Y&&Z==="*")q+=XL;else q+=OL;Q=!0;continue}if(D==="?"){q+=vU,Q=!0;continue}q+=J00(D)}return[q,(0,XV.unescape)(Z),!!Q,K]}}AV.AST=K9});var kU=k((wV)=>{Object.defineProperty(wV,"__esModule",{value:!0});wV.escape=void 0;var q00=(Z,{windowsPathsNoEscape:Q=!1}={})=>{return Q?Z.replace(/[?*()[\]]/g,"[$&]"):Z.replace(/[?*()[\]\\]/g,"\\$&")};wV.escape=q00});var i4=k((U1)=>{var K00=U1&&U1.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(U1,"__esModule",{value:!0});U1.unescape=U1.escape=U1.AST=U1.Minimatch=U1.match=U1.makeRe=U1.braceExpand=U1.defaults=U1.filter=U1.GLOBSTAR=U1.sep=U1.minimatch=void 0;var V00=K00(GL()),EV=WL(),wL=bU(),D00=kU(),z00=OV(),H00=(Z,Q,Y={})=>{if((0,EV.assertValidPattern)(Q),!Y.nocomment&&Q.charAt(0)==="#")return!1;return new GQ(Q,Y).match(Z)};U1.minimatch=H00;var G00=/^\*+([^+@!?\*\[\(]*)$/,W00=(Z)=>(Q)=>!Q.startsWith(".")&&Q.endsWith(Z),U00=(Z)=>(Q)=>Q.endsWith(Z),$00=(Z)=>{return Z=Z.toLowerCase(),(Q)=>!Q.startsWith(".")&&Q.toLowerCase().endsWith(Z)},B00=(Z)=>{return Z=Z.toLowerCase(),(Q)=>Q.toLowerCase().endsWith(Z)},O00=/^\*+\.\*+$/,X00=(Z)=>!Z.startsWith(".")&&Z.includes("."),F00=(Z)=>Z!=="."&&Z!==".."&&Z.includes("."),A00=/^\.\*+$/,w00=(Z)=>Z!=="."&&Z!==".."&&Z.startsWith("."),E00=/^\*+$/,I00=(Z)=>Z.length!==0&&!Z.startsWith("."),C00=(Z)=>Z.length!==0&&Z!=="."&&Z!=="..",R00=/^\?+([^+@!?\*\[\(]*)?$/,L00=([Z,Q=""])=>{let Y=EL([Z]);if(!Q)return Y;return Q=Q.toLowerCase(),(J)=>Y(J)&&J.toLowerCase().endsWith(Q)},M00=([Z,Q=""])=>{let Y=IL([Z]);if(!Q)return Y;return Q=Q.toLowerCase(),(J)=>Y(J)&&J.toLowerCase().endsWith(Q)},j00=([Z,Q=""])=>{let Y=IL([Z]);return!Q?Y:(J)=>Y(J)&&J.endsWith(Q)},N00=([Z,Q=""])=>{let Y=EL([Z]);return!Q?Y:(J)=>Y(J)&&J.endsWith(Q)},EL=([Z])=>{let Q=Z.length;return(Y)=>Y.length===Q&&!Y.startsWith(".")},IL=([Z])=>{let Q=Z.length;return(Y)=>Y.length===Q&&Y!=="."&&Y!==".."},CL=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",FL={win32:{sep:"\\"},posix:{sep:"/"}};U1.sep=CL==="win32"?FL.win32.sep:FL.posix.sep;U1.minimatch.sep=U1.sep;U1.GLOBSTAR=Symbol("globstar **");U1.minimatch.GLOBSTAR=U1.GLOBSTAR;var S00="[^/]",P00=S00+"*?",T00="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",_00="(?:(?!(?:\\/|^)\\.).)*?",v00=(Z,Q={})=>(Y)=>(0,U1.minimatch)(Y,Z,Q);U1.filter=v00;U1.minimatch.filter=U1.filter;var d9=(Z,Q={})=>Object.assign({},Z,Q),b00=(Z)=>{if(!Z||typeof Z!=="object"||!Object.keys(Z).length)return U1.minimatch;let Q=U1.minimatch;return Object.assign((J,q,K={})=>Q(J,q,d9(Z,K)),{Minimatch:class extends Q.Minimatch{constructor(q,K={}){super(q,d9(Z,K))}static defaults(q){return Q.defaults(d9(Z,q)).Minimatch}},AST:class extends Q.AST{constructor(q,K,V={}){super(q,K,d9(Z,V))}static fromGlob(q,K={}){return Q.AST.fromGlob(q,d9(Z,K))}},unescape:(J,q={})=>Q.unescape(J,d9(Z,q)),escape:(J,q={})=>Q.escape(J,d9(Z,q)),filter:(J,q={})=>Q.filter(J,d9(Z,q)),defaults:(J)=>Q.defaults(d9(Z,J)),makeRe:(J,q={})=>Q.makeRe(J,d9(Z,q)),braceExpand:(J,q={})=>Q.braceExpand(J,d9(Z,q)),match:(J,q,K={})=>Q.match(J,q,d9(Z,K)),sep:Q.sep,GLOBSTAR:U1.GLOBSTAR})};U1.defaults=b00;U1.minimatch.defaults=U1.defaults;var k00=(Z,Q={})=>{if((0,EV.assertValidPattern)(Z),Q.nobrace||!/\{(?:(?!\{).)*\}/.test(Z))return[Z];return(0,V00.default)(Z)};U1.braceExpand=k00;U1.minimatch.braceExpand=U1.braceExpand;var y00=(Z,Q={})=>new GQ(Z,Q).makeRe();U1.makeRe=y00;U1.minimatch.makeRe=U1.makeRe;var h00=(Z,Q,Y={})=>{let J=new GQ(Q,Y);if(Z=Z.filter((q)=>J.match(q)),J.options.nonull&&!Z.length)Z.push(Q);return Z};U1.match=h00;U1.minimatch.match=U1.match;var AL=/[?*]|[+@!]\(.*?\)|\[|\]/,x00=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class GQ{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(Z,Q={}){if((0,EV.assertValidPattern)(Z),Q=Q||{},this.options=Q,this.pattern=Z,this.platform=Q.platform||CL,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Q.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Q.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Q.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Q.windowsNoMagicRoot!==void 0?Q.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let Z of this.set)for(let Q of Z)if(typeof Q!=="string")return!0;return!1}debug(...Z){}make(){let Z=this.pattern,Q=this.options;if(!Q.nocomment&&Z.charAt(0)==="#"){this.comment=!0;return}if(!Z){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Q.debug)this.debug=(...q)=>console.error(...q);this.debug(this.pattern,this.globSet);let Y=this.globSet.map((q)=>this.slashSplit(q));this.globParts=this.preprocess(Y),this.debug(this.pattern,this.globParts);let J=this.globParts.map((q,K,V)=>{if(this.isWindows&&this.windowsNoMagicRoot){let D=q[0]===""&&q[1]===""&&(q[2]==="?"||!AL.test(q[2]))&&!AL.test(q[3]),z=/^[a-z]:/i.test(q[0]);if(D)return[...q.slice(0,4),...q.slice(4).map((H)=>this.parse(H))];else if(z)return[q[0],...q.slice(1).map((H)=>this.parse(H))]}return q.map((D)=>this.parse(D))});if(this.debug(this.pattern,J),this.set=J.filter((q)=>q.indexOf(!1)===-1),this.isWindows)for(let q=0;q<this.set.length;q++){let K=this.set[q];if(K[0]===""&&K[1]===""&&this.globParts[q][2]==="?"&&typeof K[3]==="string"&&/^[a-z]:$/i.test(K[3]))K[2]="?"}this.debug(this.pattern,this.set)}preprocess(Z){if(this.options.noglobstar){for(let Y=0;Y<Z.length;Y++)for(let J=0;J<Z[Y].length;J++)if(Z[Y][J]==="**")Z[Y][J]="*"}let{optimizationLevel:Q=1}=this.options;if(Q>=2)Z=this.firstPhasePreProcess(Z),Z=this.secondPhasePreProcess(Z);else if(Q>=1)Z=this.levelOneOptimize(Z);else Z=this.adjascentGlobstarOptimize(Z);return Z}adjascentGlobstarOptimize(Z){return Z.map((Q)=>{let Y=-1;while((Y=Q.indexOf("**",Y+1))!==-1){let J=Y;while(Q[J+1]==="**")J++;if(J!==Y)Q.splice(Y,J-Y)}return Q})}levelOneOptimize(Z){return Z.map((Q)=>{return Q=Q.reduce((Y,J)=>{let q=Y[Y.length-1];if(J==="**"&&q==="**")return Y;if(J===".."){if(q&&q!==".."&&q!=="."&&q!=="**")return Y.pop(),Y}return Y.push(J),Y},[]),Q.length===0?[""]:Q})}levelTwoFileOptimize(Z){if(!Array.isArray(Z))Z=this.slashSplit(Z);let Q=!1;do{if(Q=!1,!this.preserveMultipleSlashes){for(let J=1;J<Z.length-1;J++){let q=Z[J];if(J===1&&q===""&&Z[0]==="")continue;if(q==="."||q==="")Q=!0,Z.splice(J,1),J--}if(Z[0]==="."&&Z.length===2&&(Z[1]==="."||Z[1]===""))Q=!0,Z.pop()}let Y=0;while((Y=Z.indexOf("..",Y+1))!==-1){let J=Z[Y-1];if(J&&J!=="."&&J!==".."&&J!=="**")Q=!0,Z.splice(Y-1,2),Y-=2}}while(Q);return Z.length===0?[""]:Z}firstPhasePreProcess(Z){let Q=!1;do{Q=!1;for(let Y of Z){let J=-1;while((J=Y.indexOf("**",J+1))!==-1){let K=J;while(Y[K+1]==="**")K++;if(K>J)Y.splice(J+1,K-J);let V=Y[J+1],D=Y[J+2],z=Y[J+3];if(V!=="..")continue;if(!D||D==="."||D===".."||!z||z==="."||z==="..")continue;Q=!0,Y.splice(J,1);let H=Y.slice(0);H[J]="**",Z.push(H),J--}if(!this.preserveMultipleSlashes){for(let K=1;K<Y.length-1;K++){let V=Y[K];if(K===1&&V===""&&Y[0]==="")continue;if(V==="."||V==="")Q=!0,Y.splice(K,1),K--}if(Y[0]==="."&&Y.length===2&&(Y[1]==="."||Y[1]===""))Q=!0,Y.pop()}let q=0;while((q=Y.indexOf("..",q+1))!==-1){let K=Y[q-1];if(K&&K!=="."&&K!==".."&&K!=="**"){Q=!0;let D=q===1&&Y[q+1]==="**"?["."]:[];if(Y.splice(q-1,2,...D),Y.length===0)Y.push("");q-=2}}}}while(Q);return Z}secondPhasePreProcess(Z){for(let Q=0;Q<Z.length-1;Q++)for(let Y=Q+1;Y<Z.length;Y++){let J=this.partsMatch(Z[Q],Z[Y],!this.preserveMultipleSlashes);if(J){Z[Q]=[],Z[Y]=J;break}}return Z.filter((Q)=>Q.length)}partsMatch(Z,Q,Y=!1){let J=0,q=0,K=[],V="";while(J<Z.length&&q<Q.length)if(Z[J]===Q[q])K.push(V==="b"?Q[q]:Z[J]),J++,q++;else if(Y&&Z[J]==="**"&&Q[q]===Z[J+1])K.push(Z[J]),J++;else if(Y&&Q[q]==="**"&&Z[J]===Q[q+1])K.push(Q[q]),q++;else if(Z[J]==="*"&&Q[q]&&(this.options.dot||!Q[q].startsWith("."))&&Q[q]!=="**"){if(V==="b")return!1;V="a",K.push(Z[J]),J++,q++}else if(Q[q]==="*"&&Z[J]&&(this.options.dot||!Z[J].startsWith("."))&&Z[J]!=="**"){if(V==="a")return!1;V="b",K.push(Q[q]),J++,q++}else return!1;return Z.length===Q.length&&K}parseNegate(){if(this.nonegate)return;let Z=this.pattern,Q=!1,Y=0;for(let J=0;J<Z.length&&Z.charAt(J)==="!";J++)Q=!Q,Y++;if(Y)this.pattern=Z.slice(Y);this.negate=Q}matchOne(Z,Q,Y=!1){let J=this.options;if(this.isWindows){let O=typeof Z[0]==="string"&&/^[a-z]:$/i.test(Z[0]),A=!O&&Z[0]===""&&Z[1]===""&&Z[2]==="?"&&/^[a-z]:$/i.test(Z[3]),w=typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0]),E=!w&&Q[0]===""&&Q[1]===""&&Q[2]==="?"&&typeof Q[3]==="string"&&/^[a-z]:$/i.test(Q[3]),S=A?3:O?0:void 0,X=E?3:w?0:void 0;if(typeof S==="number"&&typeof X==="number"){let[F,U]=[Z[S],Q[X]];if(F.toLowerCase()===U.toLowerCase()){if(Q[X]=F,X>S)Q=Q.slice(X);else if(S>X)Z=Z.slice(S)}}}let{optimizationLevel:q=1}=this.options;if(q>=2)Z=this.levelTwoFileOptimize(Z);this.debug("matchOne",this,{file:Z,pattern:Q}),this.debug("matchOne",Z.length,Q.length);for(var K=0,V=0,D=Z.length,z=Q.length;K<D&&V<z;K++,V++){this.debug("matchOne loop");var H=Q[V],G=Z[K];if(this.debug(Q,H,G),H===!1)return!1;if(H===U1.GLOBSTAR){this.debug("GLOBSTAR",[Q,H,G]);var W=K,$=V+1;if($===z){this.debug("** at the end");for(;K<D;K++)if(Z[K]==="."||Z[K]===".."||!J.dot&&Z[K].charAt(0)===".")return!1;return!0}while(W<D){var B=Z[W];if(this.debug(`
33
33
  globstar while`,Z,W,Q,$,B),this.matchOne(Z.slice(W),Q.slice($),Y))return this.debug("globstar found match!",W,D,B),!0;else{if(B==="."||B===".."||!J.dot&&B.charAt(0)==="."){this.debug("dot detected!",Z,W,Q,$);break}this.debug("globstar swallow a segment, and continue"),W++}}if(Y){if(this.debug(`
34
34
  >>> no match, partial?`,Z,W,Q,$),W===D)return!0}return!1}let O;if(typeof H==="string")O=G===H,this.debug("string match",H,G,O);else O=H.test(G),this.debug("pattern match",H,G,O);if(!O)return!1}if(K===D&&V===z)return!0;else if(K===D)return Y;else if(V===z)return K===D-1&&Z[K]==="";else throw Error("wtf?")}braceExpand(){return(0,U1.braceExpand)(this.pattern,this.options)}parse(Z){(0,EV.assertValidPattern)(Z);let Q=this.options;if(Z==="**")return U1.GLOBSTAR;if(Z==="")return"";let Y,J=null;if(Y=Z.match(E00))J=Q.dot?C00:I00;else if(Y=Z.match(G00))J=(Q.nocase?Q.dot?B00:$00:Q.dot?U00:W00)(Y[1]);else if(Y=Z.match(R00))J=(Q.nocase?Q.dot?M00:L00:Q.dot?j00:N00)(Y);else if(Y=Z.match(O00))J=Q.dot?F00:X00;else if(Y=Z.match(A00))J=w00;let q=wL.AST.fromGlob(Z,this.options).toMMPattern();if(J&&typeof q==="object")Reflect.defineProperty(q,"test",{value:J});return q}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let Z=this.set;if(!Z.length)return this.regexp=!1,this.regexp;let Q=this.options,Y=Q.noglobstar?P00:Q.dot?T00:_00,J=new Set(Q.nocase?["i"]:[]),q=Z.map((D)=>{let z=D.map((H)=>{if(H instanceof RegExp)for(let G of H.flags.split(""))J.add(G);return typeof H==="string"?x00(H):H===U1.GLOBSTAR?U1.GLOBSTAR:H._src});return z.forEach((H,G)=>{let W=z[G+1],$=z[G-1];if(H!==U1.GLOBSTAR||$===U1.GLOBSTAR)return;if($===void 0)if(W!==void 0&&W!==U1.GLOBSTAR)z[G+1]="(?:\\/|"+Y+"\\/)?"+W;else z[G]=Y;else if(W===void 0)z[G-1]=$+"(?:\\/|"+Y+")?";else if(W!==U1.GLOBSTAR)z[G-1]=$+"(?:\\/|\\/"+Y+"\\/)"+W,z[G+1]=U1.GLOBSTAR}),z.filter((H)=>H!==U1.GLOBSTAR).join("/")}).join("|"),[K,V]=Z.length>1?["(?:",")"]:["",""];if(q="^"+K+q+V+"$",this.negate)q="^(?!"+q+").+$";try{this.regexp=new RegExp(q,[...J].join(""))}catch(D){this.regexp=!1}return this.regexp}slashSplit(Z){if(this.preserveMultipleSlashes)return Z.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(Z))return["",...Z.split(/\/+/)];else return Z.split(/\/+/)}match(Z,Q=this.partial){if(this.debug("match",Z,this.pattern),this.comment)return!1;if(this.empty)return Z==="";if(Z==="/"&&Q)return!0;let Y=this.options;if(this.isWindows)Z=Z.split("\\").join("/");let J=this.slashSplit(Z);this.debug(this.pattern,"split",J);let q=this.set;this.debug(this.pattern,"set",q);let K=J[J.length-1];if(!K)for(let V=J.length-2;!K&&V>=0;V--)K=J[V];for(let V=0;V<q.length;V++){let D=q[V],z=J;if(Y.matchBase&&D.length===1)z=[K];if(this.matchOne(z,D,Q)){if(Y.flipNegate)return!0;return!this.negate}}if(Y.flipNegate)return!1;return this.negate}static defaults(Z){return U1.minimatch.defaults(Z).Minimatch}}U1.Minimatch=GQ;var u00=bU();Object.defineProperty(U1,"AST",{enumerable:!0,get:function(){return u00.AST}});var f00=kU();Object.defineProperty(U1,"escape",{enumerable:!0,get:function(){return f00.escape}});var g00=OV();Object.defineProperty(U1,"unescape",{enumerable:!0,get:function(){return g00.unescape}});U1.minimatch.AST=wL.AST;U1.minimatch.Minimatch=GQ;U1.minimatch.escape=D00.escape;U1.minimatch.unescape=z00.unescape});var xU=k((CV)=>{Object.defineProperty(CV,"__esModule",{value:!0});CV.LRUCache=void 0;var WQ=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,LL=new Set,yU=typeof process==="object"&&!!process?process:{},ML=(Z,Q,Y,J)=>{typeof yU.emitWarning==="function"?yU.emitWarning(Z,Q,Y,J):console.error(`[${Y}] ${Q}: ${Z}`)},IV=globalThis.AbortController,RL=globalThis.AbortSignal;if(typeof IV>"u"){RL=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(J,q){this._onabort.push(q)}},IV=class{constructor(){Q()}signal=new RL;abort(J){if(this.signal.aborted)return;this.signal.reason=J,this.signal.aborted=!0;for(let q of this.signal._onabort)q(J);this.signal.onabort?.(J)}};let Z=yU.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",Q=()=>{if(!Z)return;Z=!1,ML("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",Q)}}var m00=(Z)=>!LL.has(Z),OE0=Symbol("type"),n4=(Z)=>Z&&Z===Math.floor(Z)&&Z>0&&isFinite(Z),jL=(Z)=>!n4(Z)?null:Z<=Math.pow(2,8)?Uint8Array:Z<=Math.pow(2,16)?Uint16Array:Z<=Math.pow(2,32)?Uint32Array:Z<=Number.MAX_SAFE_INTEGER?C3:null;class C3 extends Array{constructor(Z){super(Z);this.fill(0)}}class UQ{heap;length;static#Z=!1;static create(Z){let Q=jL(Z);if(!Q)return[];UQ.#Z=!0;let Y=new UQ(Z,Q);return UQ.#Z=!1,Y}constructor(Z,Q){if(!UQ.#Z)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new Q(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}}class hU{#Z;#Q;#Y;#q;#K;#A;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#W;#G;#H;#D;#V;#z;#$;#B;#U;#I;#C;#R;#N;#w;#M;#L;#F;static unsafeExposeInternals(Z){return{starts:Z.#N,ttls:Z.#w,sizes:Z.#R,keyMap:Z.#H,keyList:Z.#D,valList:Z.#V,next:Z.#z,prev:Z.#$,get head(){return Z.#B},get tail(){return Z.#U},free:Z.#I,isBackgroundFetch:(Q)=>Z.#O(Q),backgroundFetch:(Q,Y,J,q)=>Z.#m(Q,Y,J,q),moveToTail:(Q)=>Z.#X(Q),indexes:(Q)=>Z.#y(Q),rindexes:(Q)=>Z.#h(Q),isStale:(Q)=>Z.#E(Q)}}get max(){return this.#Z}get maxSize(){return this.#Q}get calculatedSize(){return this.#G}get size(){return this.#W}get fetchMethod(){return this.#K}get memoMethod(){return this.#A}get dispose(){return this.#Y}get disposeAfter(){return this.#q}constructor(Z){let{max:Q=0,ttl:Y,ttlResolution:J=1,ttlAutopurge:q,updateAgeOnGet:K,updateAgeOnHas:V,allowStale:D,dispose:z,disposeAfter:H,noDisposeOnSet:G,noUpdateTTL:W,maxSize:$=0,maxEntrySize:B=0,sizeCalculation:O,fetchMethod:A,memoMethod:w,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:X,allowStaleOnFetchAbort:F,ignoreFetchAbort:U}=Z;if(Q!==0&&!n4(Q))throw TypeError("max option must be a nonnegative integer");let I=Q?jL(Q):Array;if(!I)throw Error("invalid max value: "+Q);if(this.#Z=Q,this.#Q=$,this.maxEntrySize=B||this.#Q,this.sizeCalculation=O,this.sizeCalculation){if(!this.#Q&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!=="function")throw TypeError("memoMethod must be a function if defined");if(this.#A=w,A!==void 0&&typeof A!=="function")throw TypeError("fetchMethod must be a function if specified");if(this.#K=A,this.#L=!!A,this.#H=new Map,this.#D=Array(Q).fill(void 0),this.#V=Array(Q).fill(void 0),this.#z=new I(Q),this.#$=new I(Q),this.#B=0,this.#U=0,this.#I=UQ.create(Q),this.#W=0,this.#G=0,typeof z==="function")this.#Y=z;if(typeof H==="function")this.#q=H,this.#C=[];else this.#q=void 0,this.#C=void 0;if(this.#M=!!this.#Y,this.#F=!!this.#q,this.noDisposeOnSet=!!G,this.noUpdateTTL=!!W,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!X,this.allowStaleOnFetchAbort=!!F,this.ignoreFetchAbort=!!U,this.maxEntrySize!==0){if(this.#Q!==0){if(!n4(this.#Q))throw TypeError("maxSize must be a positive integer if specified")}if(!n4(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#T()}if(this.allowStale=!!D,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!K,this.updateAgeOnHas=!!V,this.ttlResolution=n4(J)||J===0?J:1,this.ttlAutopurge=!!q,this.ttl=Y||0,this.ttl){if(!n4(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#j()}if(this.#Z===0&&this.ttl===0&&this.#Q===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#Z&&!this.#Q){if(m00("LRU_CACHE_UNBOUNDED"))LL.add("LRU_CACHE_UNBOUNDED"),ML("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",hU)}}getRemainingTTL(Z){return this.#H.has(Z)?1/0:0}#j(){let Z=new C3(this.#Z),Q=new C3(this.#Z);this.#w=Z,this.#N=Q,this.#b=(q,K,V=WQ.now())=>{if(Q[q]=K!==0?V:0,Z[q]=K,K!==0&&this.ttlAutopurge){let D=setTimeout(()=>{if(this.#E(q))this.#u(this.#D[q],"expire")},K+1);if(D.unref)D.unref()}},this.#S=(q)=>{Q[q]=Z[q]!==0?WQ.now():0},this.#J=(q,K)=>{if(Z[K]){let V=Z[K],D=Q[K];if(!V||!D)return;q.ttl=V,q.start=D,q.now=Y||J();let z=q.now-D;q.remainingTTL=V-z}};let Y=0,J=()=>{let q=WQ.now();if(this.ttlResolution>0){Y=q;let K=setTimeout(()=>Y=0,this.ttlResolution);if(K.unref)K.unref()}return q};this.getRemainingTTL=(q)=>{let K=this.#H.get(q);if(K===void 0)return 0;let V=Z[K],D=Q[K];if(!V||!D)return 1/0;let z=(Y||J())-D;return V-z},this.#E=(q)=>{let K=Q[q],V=Z[q];return!!V&&!!K&&(Y||J())-K>V}}#S=()=>{};#J=()=>{};#b=()=>{};#E=()=>!1;#T(){let Z=new C3(this.#Z);this.#G=0,this.#R=Z,this.#P=(Q)=>{this.#G-=Z[Q],Z[Q]=0},this.#k=(Q,Y,J,q)=>{if(this.#O(Y))return 0;if(!n4(J))if(q){if(typeof q!=="function")throw TypeError("sizeCalculation must be a function");if(J=q(Y,Q),!n4(J))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return J},this.#f=(Q,Y,J)=>{if(Z[Q]=Y,this.#Q){let q=this.#Q-Z[Q];while(this.#G>q)this.#v(!0)}if(this.#G+=Z[Q],J)J.entrySize=Y,J.totalCalculatedSize=this.#G}}#P=(Z)=>{};#f=(Z,Q,Y)=>{};#k=(Z,Q,Y,J)=>{if(Y||J)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#y({allowStale:Z=this.allowStale}={}){if(this.#W)for(let Q=this.#U;;){if(!this.#_(Q))break;if(Z||!this.#E(Q))yield Q;if(Q===this.#B)break;else Q=this.#$[Q]}}*#h({allowStale:Z=this.allowStale}={}){if(this.#W)for(let Q=this.#B;;){if(!this.#_(Q))break;if(Z||!this.#E(Q))yield Q;if(Q===this.#U)break;else Q=this.#z[Q]}}#_(Z){return Z!==void 0&&this.#H.get(this.#D[Z])===Z}*entries(){for(let Z of this.#y())if(this.#V[Z]!==void 0&&this.#D[Z]!==void 0&&!this.#O(this.#V[Z]))yield[this.#D[Z],this.#V[Z]]}*rentries(){for(let Z of this.#h())if(this.#V[Z]!==void 0&&this.#D[Z]!==void 0&&!this.#O(this.#V[Z]))yield[this.#D[Z],this.#V[Z]]}*keys(){for(let Z of this.#y()){let Q=this.#D[Z];if(Q!==void 0&&!this.#O(this.#V[Z]))yield Q}}*rkeys(){for(let Z of this.#h()){let Q=this.#D[Z];if(Q!==void 0&&!this.#O(this.#V[Z]))yield Q}}*values(){for(let Z of this.#y())if(this.#V[Z]!==void 0&&!this.#O(this.#V[Z]))yield this.#V[Z]}*rvalues(){for(let Z of this.#h())if(this.#V[Z]!==void 0&&!this.#O(this.#V[Z]))yield this.#V[Z]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,Q={}){for(let Y of this.#y()){let J=this.#V[Y],q=this.#O(J)?J.__staleWhileFetching:J;if(q===void 0)continue;if(Z(q,this.#D[Y],this))return this.get(this.#D[Y],Q)}}forEach(Z,Q=this){for(let Y of this.#y()){let J=this.#V[Y],q=this.#O(J)?J.__staleWhileFetching:J;if(q===void 0)continue;Z.call(Q,q,this.#D[Y],this)}}rforEach(Z,Q=this){for(let Y of this.#h()){let J=this.#V[Y],q=this.#O(J)?J.__staleWhileFetching:J;if(q===void 0)continue;Z.call(Q,q,this.#D[Y],this)}}purgeStale(){let Z=!1;for(let Q of this.#h({allowStale:!0}))if(this.#E(Q))this.#u(this.#D[Q],"expire"),Z=!0;return Z}info(Z){let Q=this.#H.get(Z);if(Q===void 0)return;let Y=this.#V[Q],J=this.#O(Y)?Y.__staleWhileFetching:Y;if(J===void 0)return;let q={value:J};if(this.#w&&this.#N){let K=this.#w[Q],V=this.#N[Q];if(K&&V){let D=K-(WQ.now()-V);q.ttl=D,q.start=Date.now()}}if(this.#R)q.size=this.#R[Q];return q}dump(){let Z=[];for(let Q of this.#y({allowStale:!0})){let Y=this.#D[Q],J=this.#V[Q],q=this.#O(J)?J.__staleWhileFetching:J;if(q===void 0||Y===void 0)continue;let K={value:q};if(this.#w&&this.#N){K.ttl=this.#w[Q];let V=WQ.now()-this.#N[Q];K.start=Math.floor(Date.now()-V)}if(this.#R)K.size=this.#R[Q];Z.unshift([Y,K])}return Z}load(Z){this.clear();for(let[Q,Y]of Z){if(Y.start){let J=Date.now()-Y.start;Y.start=WQ.now()-J}this.set(Q,Y.value,Y)}}set(Z,Q,Y={}){if(Q===void 0)return this.delete(Z),this;let{ttl:J=this.ttl,start:q,noDisposeOnSet:K=this.noDisposeOnSet,sizeCalculation:V=this.sizeCalculation,status:D}=Y,{noUpdateTTL:z=this.noUpdateTTL}=Y,H=this.#k(Z,Q,Y.size||0,V);if(this.maxEntrySize&&H>this.maxEntrySize){if(D)D.set="miss",D.maxEntrySizeExceeded=!0;return this.#u(Z,"set"),this}let G=this.#W===0?void 0:this.#H.get(Z);if(G===void 0){if(G=this.#W===0?this.#U:this.#I.length!==0?this.#I.pop():this.#W===this.#Z?this.#v(!1):this.#W,this.#D[G]=Z,this.#V[G]=Q,this.#H.set(Z,G),this.#z[this.#U]=G,this.#$[G]=this.#U,this.#U=G,this.#W++,this.#f(G,H,D),D)D.set="add";z=!1}else{this.#X(G);let W=this.#V[G];if(Q!==W){if(this.#L&&this.#O(W)){W.__abortController.abort(Error("replaced"));let{__staleWhileFetching:$}=W;if($!==void 0&&!K){if(this.#M)this.#Y?.($,Z,"set");if(this.#F)this.#C?.push([$,Z,"set"])}}else if(!K){if(this.#M)this.#Y?.(W,Z,"set");if(this.#F)this.#C?.push([W,Z,"set"])}if(this.#P(G),this.#f(G,H,D),this.#V[G]=Q,D){D.set="replace";let $=W&&this.#O(W)?W.__staleWhileFetching:W;if($!==void 0)D.oldValue=$}}else if(D)D.set="update"}if(J!==0&&!this.#w)this.#j();if(this.#w){if(!z)this.#b(G,J,q);if(D)this.#J(D,G)}if(!K&&this.#F&&this.#C){let W=this.#C,$;while($=W?.shift())this.#q?.(...$)}return this}pop(){try{while(this.#W){let Z=this.#V[this.#B];if(this.#v(!0),this.#O(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#F&&this.#C){let Z=this.#C,Q;while(Q=Z?.shift())this.#q?.(...Q)}}}#v(Z){let Q=this.#B,Y=this.#D[Q],J=this.#V[Q];if(this.#L&&this.#O(J))J.__abortController.abort(Error("evicted"));else if(this.#M||this.#F){if(this.#M)this.#Y?.(J,Y,"evict");if(this.#F)this.#C?.push([J,Y,"evict"])}if(this.#P(Q),Z)this.#D[Q]=void 0,this.#V[Q]=void 0,this.#I.push(Q);if(this.#W===1)this.#B=this.#U=0,this.#I.length=0;else this.#B=this.#z[Q];return this.#H.delete(Y),this.#W--,Q}has(Z,Q={}){let{updateAgeOnHas:Y=this.updateAgeOnHas,status:J}=Q,q=this.#H.get(Z);if(q!==void 0){let K=this.#V[q];if(this.#O(K)&&K.__staleWhileFetching===void 0)return!1;if(!this.#E(q)){if(Y)this.#S(q);if(J)J.has="hit",this.#J(J,q);return!0}else if(J)J.has="stale",this.#J(J,q)}else if(J)J.has="miss";return!1}peek(Z,Q={}){let{allowStale:Y=this.allowStale}=Q,J=this.#H.get(Z);if(J===void 0||!Y&&this.#E(J))return;let q=this.#V[J];return this.#O(q)?q.__staleWhileFetching:q}#m(Z,Q,Y,J){let q=Q===void 0?void 0:this.#V[Q];if(this.#O(q))return q;let K=new IV,{signal:V}=Y;V?.addEventListener("abort",()=>K.abort(V.reason),{signal:K.signal});let D={signal:K.signal,options:Y,context:J},z=(O,A=!1)=>{let{aborted:w}=K.signal,E=Y.ignoreFetchAbort&&O!==void 0;if(Y.status)if(w&&!A){if(Y.status.fetchAborted=!0,Y.status.fetchError=K.signal.reason,E)Y.status.fetchAbortIgnored=!0}else Y.status.fetchResolved=!0;if(w&&!E&&!A)return G(K.signal.reason);let S=$;if(this.#V[Q]===$)if(O===void 0)if(S.__staleWhileFetching)this.#V[Q]=S.__staleWhileFetching;else this.#u(Z,"fetch");else{if(Y.status)Y.status.fetchUpdated=!0;this.set(Z,O,D.options)}return O},H=(O)=>{if(Y.status)Y.status.fetchRejected=!0,Y.status.fetchError=O;return G(O)},G=(O)=>{let{aborted:A}=K.signal,w=A&&Y.allowStaleOnFetchAbort,E=w||Y.allowStaleOnFetchRejection,S=E||Y.noDeleteOnFetchRejection,X=$;if(this.#V[Q]===$){if(!S||X.__staleWhileFetching===void 0)this.#u(Z,"fetch");else if(!w)this.#V[Q]=X.__staleWhileFetching}if(E){if(Y.status&&X.__staleWhileFetching!==void 0)Y.status.returnedStale=!0;return X.__staleWhileFetching}else if(X.__returned===X)throw O},W=(O,A)=>{let w=this.#K?.(Z,q,D);if(w&&w instanceof Promise)w.then((E)=>O(E===void 0?void 0:E),A);K.signal.addEventListener("abort",()=>{if(!Y.ignoreFetchAbort||Y.allowStaleOnFetchAbort){if(O(void 0),Y.allowStaleOnFetchAbort)O=(E)=>z(E,!0)}})};if(Y.status)Y.status.fetchDispatched=!0;let $=new Promise(W).then(z,H),B=Object.assign($,{__abortController:K,__staleWhileFetching:q,__returned:void 0});if(Q===void 0)this.set(Z,B,{...D.options,status:void 0}),Q=this.#H.get(Z);else this.#V[Q]=B;return B}#O(Z){if(!this.#L)return!1;let Q=Z;return!!Q&&Q instanceof Promise&&Q.hasOwnProperty("__staleWhileFetching")&&Q.__abortController instanceof IV}async fetch(Z,Q={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:J=this.updateAgeOnGet,noDeleteOnStaleGet:q=this.noDeleteOnStaleGet,ttl:K=this.ttl,noDisposeOnSet:V=this.noDisposeOnSet,size:D=0,sizeCalculation:z=this.sizeCalculation,noUpdateTTL:H=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:W=this.allowStaleOnFetchRejection,ignoreFetchAbort:$=this.ignoreFetchAbort,allowStaleOnFetchAbort:B=this.allowStaleOnFetchAbort,context:O,forceRefresh:A=!1,status:w,signal:E}=Q;if(!this.#L){if(w)w.fetch="get";return this.get(Z,{allowStale:Y,updateAgeOnGet:J,noDeleteOnStaleGet:q,status:w})}let S={allowStale:Y,updateAgeOnGet:J,noDeleteOnStaleGet:q,ttl:K,noDisposeOnSet:V,size:D,sizeCalculation:z,noUpdateTTL:H,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:W,allowStaleOnFetchAbort:B,ignoreFetchAbort:$,status:w,signal:E},X=this.#H.get(Z);if(X===void 0){if(w)w.fetch="miss";let F=this.#m(Z,X,S,O);return F.__returned=F}else{let F=this.#V[X];if(this.#O(F)){let R=Y&&F.__staleWhileFetching!==void 0;if(w){if(w.fetch="inflight",R)w.returnedStale=!0}return R?F.__staleWhileFetching:F.__returned=F}let U=this.#E(X);if(!A&&!U){if(w)w.fetch="hit";if(this.#X(X),J)this.#S(X);if(w)this.#J(w,X);return F}let I=this.#m(Z,X,S,O),L=I.__staleWhileFetching!==void 0&&Y;if(w){if(w.fetch=U?"stale":"refresh",L&&U)w.returnedStale=!0}return L?I.__staleWhileFetching:I.__returned=I}}async forceFetch(Z,Q={}){let Y=await this.fetch(Z,Q);if(Y===void 0)throw Error("fetch() returned undefined");return Y}memo(Z,Q={}){let Y=this.#A;if(!Y)throw Error("no memoMethod provided to constructor");let{context:J,forceRefresh:q,...K}=Q,V=this.get(Z,K);if(!q&&V!==void 0)return V;let D=Y(Z,V,{options:K,context:J});return this.set(Z,D,K),D}get(Z,Q={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:J=this.updateAgeOnGet,noDeleteOnStaleGet:q=this.noDeleteOnStaleGet,status:K}=Q,V=this.#H.get(Z);if(V!==void 0){let D=this.#V[V],z=this.#O(D);if(K)this.#J(K,V);if(this.#E(V)){if(K)K.get="stale";if(!z){if(!q)this.#u(Z,"expire");if(K&&Y)K.returnedStale=!0;return Y?D:void 0}else{if(K&&Y&&D.__staleWhileFetching!==void 0)K.returnedStale=!0;return Y?D.__staleWhileFetching:void 0}}else{if(K)K.get="hit";if(z)return D.__staleWhileFetching;if(this.#X(V),J)this.#S(V);return D}}else if(K)K.get="miss"}#x(Z,Q){this.#$[Q]=Z,this.#z[Z]=Q}#X(Z){if(Z!==this.#U){if(Z===this.#B)this.#B=this.#z[Z];else this.#x(this.#$[Z],this.#z[Z]);this.#x(this.#U,Z),this.#U=Z}}delete(Z){return this.#u(Z,"delete")}#u(Z,Q){let Y=!1;if(this.#W!==0){let J=this.#H.get(Z);if(J!==void 0)if(Y=!0,this.#W===1)this.#c(Q);else{this.#P(J);let q=this.#V[J];if(this.#O(q))q.__abortController.abort(Error("deleted"));else if(this.#M||this.#F){if(this.#M)this.#Y?.(q,Z,Q);if(this.#F)this.#C?.push([q,Z,Q])}if(this.#H.delete(Z),this.#D[J]=void 0,this.#V[J]=void 0,J===this.#U)this.#U=this.#$[J];else if(J===this.#B)this.#B=this.#z[J];else{let K=this.#$[J];this.#z[K]=this.#z[J];let V=this.#z[J];this.#$[V]=this.#$[J]}this.#W--,this.#I.push(J)}}if(this.#F&&this.#C?.length){let J=this.#C,q;while(q=J?.shift())this.#q?.(...q)}return Y}clear(){return this.#c("delete")}#c(Z){for(let Q of this.#h({allowStale:!0})){let Y=this.#V[Q];if(this.#O(Y))Y.__abortController.abort(Error("deleted"));else{let J=this.#D[Q];if(this.#M)this.#Y?.(Y,J,Z);if(this.#F)this.#C?.push([Y,J,Z])}}if(this.#H.clear(),this.#V.fill(void 0),this.#D.fill(void 0),this.#w&&this.#N)this.#w.fill(0),this.#N.fill(0);if(this.#R)this.#R.fill(0);if(this.#B=0,this.#U=0,this.#I.length=0,this.#G=0,this.#W=0,this.#F&&this.#C){let Q=this.#C,Y;while(Y=Q?.shift())this.#q?.(...Y)}}}CV.LRUCache=hU});var iU=k((n8)=>{var c00=n8&&n8.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(n8,"__esModule",{value:!0});n8.Minipass=n8.isWritable=n8.isReadable=n8.isStream=void 0;var NL=typeof process==="object"&&process?process:{stdout:null,stderr:null},dU=require("node:events"),_L=c00(require("node:stream")),d00=require("node:string_decoder"),l00=(Z)=>!!Z&&typeof Z==="object"&&(Z instanceof pU||Z instanceof _L.default||(0,n8.isReadable)(Z)||(0,n8.isWritable)(Z));n8.isStream=l00;var p00=(Z)=>!!Z&&typeof Z==="object"&&Z instanceof dU.EventEmitter&&typeof Z.pipe==="function"&&Z.pipe!==_L.default.Writable.prototype.pipe;n8.isReadable=p00;var i00=(Z)=>!!Z&&typeof Z==="object"&&Z instanceof dU.EventEmitter&&typeof Z.write==="function"&&typeof Z.end==="function";n8.isWritable=i00;var K4=Symbol("EOF"),V4=Symbol("maybeEmitEnd"),s4=Symbol("emittedEnd"),RV=Symbol("emittingEnd"),R3=Symbol("emittedError"),LV=Symbol("closed"),SL=Symbol("read"),MV=Symbol("flush"),PL=Symbol("flushChunk"),R7=Symbol("encoding"),$Q=Symbol("decoder"),H8=Symbol("flowing"),L3=Symbol("paused"),BQ=Symbol("resume"),G8=Symbol("buffer"),i8=Symbol("pipes"),W8=Symbol("bufferLength"),uU=Symbol("bufferPush"),jV=Symbol("bufferShift"),b8=Symbol("objectMode"),h5=Symbol("destroyed"),fU=Symbol("error"),gU=Symbol("emitData"),TL=Symbol("emitEnd"),mU=Symbol("emitEnd2"),t7=Symbol("async"),cU=Symbol("abort"),NV=Symbol("aborted"),M3=Symbol("signal"),QZ=Symbol("dataListeners"),L9=Symbol("discarded"),j3=(Z)=>Promise.resolve().then(Z),n00=(Z)=>Z(),s00=(Z)=>Z==="end"||Z==="finish"||Z==="prefinish",a00=(Z)=>Z instanceof ArrayBuffer||!!Z&&typeof Z==="object"&&Z.constructor&&Z.constructor.name==="ArrayBuffer"&&Z.byteLength>=0,r00=(Z)=>!Buffer.isBuffer(Z)&&ArrayBuffer.isView(Z);class lU{src;dest;opts;ondrain;constructor(Z,Q,Y){this.src=Z,this.dest=Q,this.opts=Y,this.ondrain=()=>Z[BQ](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(Z){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}class vL extends lU{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(Z,Q,Y){super(Z,Q,Y);this.proxyErrors=(J)=>Q.emit("error",J),Z.on("error",this.proxyErrors)}}var o00=(Z)=>!!Z.objectMode,t00=(Z)=>!Z.objectMode&&!!Z.encoding&&Z.encoding!=="buffer";class pU extends dU.EventEmitter{[H8]=!1;[L3]=!1;[i8]=[];[G8]=[];[b8];[R7];[t7];[$Q];[K4]=!1;[s4]=!1;[RV]=!1;[LV]=!1;[R3]=null;[W8]=0;[h5]=!1;[M3];[NV]=!1;[QZ]=0;[L9]=!1;writable=!0;readable=!0;constructor(...Z){let Q=Z[0]||{};super();if(Q.objectMode&&typeof Q.encoding==="string")throw TypeError("Encoding and objectMode may not be used together");if(o00(Q))this[b8]=!0,this[R7]=null;else if(t00(Q))this[R7]=Q.encoding,this[b8]=!1;else this[b8]=!1,this[R7]=null;if(this[t7]=!!Q.async,this[$Q]=this[R7]?new d00.StringDecoder(this[R7]):null,Q&&Q.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[G8]});if(Q&&Q.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[i8]});let{signal:Y}=Q;if(Y)if(this[M3]=Y,Y.aborted)this[cU]();else Y.addEventListener("abort",()=>this[cU]())}get bufferLength(){return this[W8]}get encoding(){return this[R7]}set encoding(Z){throw Error("Encoding must be set at instantiation time")}setEncoding(Z){throw Error("Encoding must be set at instantiation time")}get objectMode(){return this[b8]}set objectMode(Z){throw Error("objectMode must be set at instantiation time")}get["async"](){return this[t7]}set["async"](Z){this[t7]=this[t7]||!!Z}[cU](){this[NV]=!0,this.emit("abort",this[M3]?.reason),this.destroy(this[M3]?.reason)}get aborted(){return this[NV]}set aborted(Z){}write(Z,Q,Y){if(this[NV])return!1;if(this[K4])throw Error("write after end");if(this[h5])return this.emit("error",Object.assign(Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof Q==="function")Y=Q,Q="utf8";if(!Q)Q="utf8";let J=this[t7]?j3:n00;if(!this[b8]&&!Buffer.isBuffer(Z)){if(r00(Z))Z=Buffer.from(Z.buffer,Z.byteOffset,Z.byteLength);else if(a00(Z))Z=Buffer.from(Z);else if(typeof Z!=="string")throw Error("Non-contiguous data written to non-objectMode stream")}if(this[b8]){if(this[H8]&&this[W8]!==0)this[MV](!0);if(this[H8])this.emit("data",Z);else this[uU](Z);if(this[W8]!==0)this.emit("readable");if(Y)J(Y);return this[H8]}if(!Z.length){if(this[W8]!==0)this.emit("readable");if(Y)J(Y);return this[H8]}if(typeof Z==="string"&&!(Q===this[R7]&&!this[$Q]?.lastNeed))Z=Buffer.from(Z,Q);if(Buffer.isBuffer(Z)&&this[R7])Z=this[$Q].write(Z);if(this[H8]&&this[W8]!==0)this[MV](!0);if(this[H8])this.emit("data",Z);else this[uU](Z);if(this[W8]!==0)this.emit("readable");if(Y)J(Y);return this[H8]}read(Z){if(this[h5])return null;if(this[L9]=!1,this[W8]===0||Z===0||Z&&Z>this[W8])return this[V4](),null;if(this[b8])Z=null;if(this[G8].length>1&&!this[b8])this[G8]=[this[R7]?this[G8].join(""):Buffer.concat(this[G8],this[W8])];let Q=this[SL](Z||null,this[G8][0]);return this[V4](),Q}[SL](Z,Q){if(this[b8])this[jV]();else{let Y=Q;if(Z===Y.length||Z===null)this[jV]();else if(typeof Y==="string")this[G8][0]=Y.slice(Z),Q=Y.slice(0,Z),this[W8]-=Z;else this[G8][0]=Y.subarray(Z),Q=Y.subarray(0,Z),this[W8]-=Z}if(this.emit("data",Q),!this[G8].length&&!this[K4])this.emit("drain");return Q}end(Z,Q,Y){if(typeof Z==="function")Y=Z,Z=void 0;if(typeof Q==="function")Y=Q,Q="utf8";if(Z!==void 0)this.write(Z,Q);if(Y)this.once("end",Y);if(this[K4]=!0,this.writable=!1,this[H8]||!this[L3])this[V4]();return this}[BQ](){if(this[h5])return;if(!this[QZ]&&!this[i8].length)this[L9]=!0;if(this[L3]=!1,this[H8]=!0,this.emit("resume"),this[G8].length)this[MV]();else if(this[K4])this[V4]();else this.emit("drain")}resume(){return this[BQ]()}pause(){this[H8]=!1,this[L3]=!0,this[L9]=!1}get destroyed(){return this[h5]}get flowing(){return this[H8]}get paused(){return this[L3]}[uU](Z){if(this[b8])this[W8]+=1;else this[W8]+=Z.length;this[G8].push(Z)}[jV](){if(this[b8])this[W8]-=1;else this[W8]-=this[G8][0].length;return this[G8].shift()}[MV](Z=!1){do;while(this[PL](this[jV]())&&this[G8].length);if(!Z&&!this[G8].length&&!this[K4])this.emit("drain")}[PL](Z){return this.emit("data",Z),this[H8]}pipe(Z,Q){if(this[h5])return Z;this[L9]=!1;let Y=this[s4];if(Q=Q||{},Z===NL.stdout||Z===NL.stderr)Q.end=!1;else Q.end=Q.end!==!1;if(Q.proxyErrors=!!Q.proxyErrors,Y){if(Q.end)Z.end()}else if(this[i8].push(!Q.proxyErrors?new lU(this,Z,Q):new vL(this,Z,Q)),this[t7])j3(()=>this[BQ]());else this[BQ]();return Z}unpipe(Z){let Q=this[i8].find((Y)=>Y.dest===Z);if(Q){if(this[i8].length===1){if(this[H8]&&this[QZ]===0)this[H8]=!1;this[i8]=[]}else this[i8].splice(this[i8].indexOf(Q),1);Q.unpipe()}}addListener(Z,Q){return this.on(Z,Q)}on(Z,Q){let Y=super.on(Z,Q);if(Z==="data"){if(this[L9]=!1,this[QZ]++,!this[i8].length&&!this[H8])this[BQ]()}else if(Z==="readable"&&this[W8]!==0)super.emit("readable");else if(s00(Z)&&this[s4])super.emit(Z),this.removeAllListeners(Z);else if(Z==="error"&&this[R3]){let J=Q;if(this[t7])j3(()=>J.call(this,this[R3]));else J.call(this,this[R3])}return Y}removeListener(Z,Q){return this.off(Z,Q)}off(Z,Q){let Y=super.off(Z,Q);if(Z==="data"){if(this[QZ]=this.listeners("data").length,this[QZ]===0&&!this[L9]&&!this[i8].length)this[H8]=!1}return Y}removeAllListeners(Z){let Q=super.removeAllListeners(Z);if(Z==="data"||Z===void 0){if(this[QZ]=0,!this[L9]&&!this[i8].length)this[H8]=!1}return Q}get emittedEnd(){return this[s4]}[V4](){if(!this[RV]&&!this[s4]&&!this[h5]&&this[G8].length===0&&this[K4]){if(this[RV]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[LV])this.emit("close");this[RV]=!1}}emit(Z,...Q){let Y=Q[0];if(Z!=="error"&&Z!=="close"&&Z!==h5&&this[h5])return!1;else if(Z==="data")return!this[b8]&&!Y?!1:this[t7]?(j3(()=>this[gU](Y)),!0):this[gU](Y);else if(Z==="end")return this[TL]();else if(Z==="close"){if(this[LV]=!0,!this[s4]&&!this[h5])return!1;let q=super.emit("close");return this.removeAllListeners("close"),q}else if(Z==="error"){this[R3]=Y,super.emit(fU,Y);let q=!this[M3]||this.listeners("error").length?super.emit("error",Y):!1;return this[V4](),q}else if(Z==="resume"){let q=super.emit("resume");return this[V4](),q}else if(Z==="finish"||Z==="prefinish"){let q=super.emit(Z);return this.removeAllListeners(Z),q}let J=super.emit(Z,...Q);return this[V4](),J}[gU](Z){for(let Y of this[i8])if(Y.dest.write(Z)===!1)this.pause();let Q=this[L9]?!1:super.emit("data",Z);return this[V4](),Q}[TL](){if(this[s4])return!1;return this[s4]=!0,this.readable=!1,this[t7]?(j3(()=>this[mU]()),!0):this[mU]()}[mU](){if(this[$Q]){let Q=this[$Q].end();if(Q){for(let Y of this[i8])Y.dest.write(Q);if(!this[L9])super.emit("data",Q)}}for(let Q of this[i8])Q.end();let Z=super.emit("end");return this.removeAllListeners("end"),Z}async collect(){let Z=Object.assign([],{dataLength:0});if(!this[b8])Z.dataLength=0;let Q=this.promise();return this.on("data",(Y)=>{if(Z.push(Y),!this[b8])Z.dataLength+=Y.length}),await Q,Z}async concat(){if(this[b8])throw Error("cannot concat in objectMode");let Z=await this.collect();return this[R7]?Z.join(""):Buffer.concat(Z,Z.dataLength)}async promise(){return new Promise((Z,Q)=>{this.on(h5,()=>Q(Error("stream destroyed"))),this.on("error",(Y)=>Q(Y)),this.on("end",()=>Z())})}[Symbol.asyncIterator](){this[L9]=!1;let Z=!1,Q=async()=>{return this.pause(),Z=!0,{value:void 0,done:!0}};return{next:()=>{if(Z)return Q();let J=this.read();if(J!==null)return Promise.resolve({done:!1,value:J});if(this[K4])return Q();let q,K,V=(G)=>{this.off("data",D),this.off("end",z),this.off(h5,H),Q(),K(G)},D=(G)=>{this.off("error",V),this.off("end",z),this.off(h5,H),this.pause(),q({value:G,done:!!this[K4]})},z=()=>{this.off("error",V),this.off("data",D),this.off(h5,H),Q(),q({done:!0,value:void 0})},H=()=>V(Error("stream destroyed"));return new Promise((G,W)=>{K=W,q=G,this.once(h5,H),this.once("error",V),this.once("end",z),this.once("data",D)})},throw:Q,return:Q,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[L9]=!1;let Z=!1,Q=()=>{return this.pause(),this.off(fU,Q),this.off(h5,Q),this.off("end",Q),Z=!0,{done:!0,value:void 0}},Y=()=>{if(Z)return Q();let J=this.read();return J===null?Q():{done:!1,value:J}};return this.once("end",Q),this.once(fU,Q),this.once(h5,Q),{next:Y,throw:Q,return:Q,[Symbol.iterator](){return this}}}destroy(Z){if(this[h5]){if(Z)this.emit("error",Z);else this.emit(h5);return this}this[h5]=!0,this[L9]=!0,this[G8].length=0,this[W8]=0;let Q=this;if(typeof Q.close==="function"&&!this[LV])Q.close();if(Z)this.emit("error",Z);else this.emit(h5);return this}static get isStream(){return n8.isStream}}n8.Minipass=pU});var nL=k((q5)=>{var e00=q5&&q5.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),Z10=q5&&q5.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),Q10=q5&&q5.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))e00(Q,Z,Y)}return Z10(Q,Z),Q};Object.defineProperty(q5,"__esModule",{value:!0});q5.PathScurry=q5.Path=q5.PathScurryDarwin=q5.PathScurryPosix=q5.PathScurryWin32=q5.PathScurryBase=q5.PathPosix=q5.PathWin32=q5.PathBase=q5.ChildrenCache=q5.ResolveCache=void 0;var uL=xU(),vV=require("node:path"),Y10=require("node:url"),S3=require("fs"),J10=Q10(require("node:fs")),q10=S3.realpathSync.native,SV=require("node:fs/promises"),bL=iU(),P3={lstatSync:S3.lstatSync,readdir:S3.readdir,readdirSync:S3.readdirSync,readlinkSync:S3.readlinkSync,realpathSync:q10,promises:{lstat:SV.lstat,readdir:SV.readdir,readlink:SV.readlink,realpath:SV.realpath}},fL=(Z)=>!Z||Z===P3||Z===J10?P3:{...P3,...Z,promises:{...P3.promises,...Z.promises||{}}},gL=/^\\\\\?\\([a-z]:)\\?$/i,K10=(Z)=>Z.replace(/\//g,"\\").replace(gL,"$1\\"),V10=/[\\\/]/,p9=0,mL=1,cL=2,e7=4,dL=6,lL=8,YZ=10,pL=12,l9=15,N3=~l9,nU=16,kL=32,T3=64,L7=128,PV=256,_V=512,yL=T3|L7|_V,D10=1023,sU=(Z)=>Z.isFile()?lL:Z.isDirectory()?e7:Z.isSymbolicLink()?YZ:Z.isCharacterDevice()?cL:Z.isBlockDevice()?dL:Z.isSocket()?pL:Z.isFIFO()?mL:p9,hL=new Map,_3=(Z)=>{let Q=hL.get(Z);if(Q)return Q;let Y=Z.normalize("NFKD");return hL.set(Z,Y),Y},xL=new Map,TV=(Z)=>{let Q=xL.get(Z);if(Q)return Q;let Y=_3(Z.toLowerCase());return xL.set(Z,Y),Y};class bV extends uL.LRUCache{constructor(){super({max:256})}}q5.ResolveCache=bV;class aU extends uL.LRUCache{constructor(Z=16384){super({maxSize:Z,sizeCalculation:(Q)=>Q.length+1})}}q5.ChildrenCache=aU;var iL=Symbol("PathScurry setAsCwd");class k8{name;root;roots;parent;nocase;isCWD=!1;#Z;#Q;get dev(){return this.#Q}#Y;get mode(){return this.#Y}#q;get nlink(){return this.#q}#K;get uid(){return this.#K}#A;get gid(){return this.#A}#W;get rdev(){return this.#W}#G;get blksize(){return this.#G}#H;get ino(){return this.#H}#D;get size(){return this.#D}#V;get blocks(){return this.#V}#z;get atimeMs(){return this.#z}#$;get mtimeMs(){return this.#$}#B;get ctimeMs(){return this.#B}#U;get birthtimeMs(){return this.#U}#I;get atime(){return this.#I}#C;get mtime(){return this.#C}#R;get ctime(){return this.#R}#N;get birthtime(){return this.#N}#w;#M;#L;#F;#j;#S;#J;#b;#E;#T;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(Z,Q=p9,Y,J,q,K,V){if(this.name=Z,this.#w=q?TV(Z):_3(Z),this.#J=Q&D10,this.nocase=q,this.roots=J,this.root=Y||this,this.#b=K,this.#L=V.fullpath,this.#j=V.relative,this.#S=V.relativePosix,this.parent=V.parent,this.parent)this.#Z=this.parent.#Z;else this.#Z=fL(V.fs)}depth(){if(this.#M!==void 0)return this.#M;if(!this.parent)return this.#M=0;return this.#M=this.parent.depth()+1}childrenCache(){return this.#b}resolve(Z){if(!Z)return this;let Q=this.getRootString(Z),J=Z.substring(Q.length).split(this.splitSep);return Q?this.getRoot(Q).#P(J):this.#P(J)}#P(Z){let Q=this;for(let Y of Z)Q=Q.child(Y);return Q}children(){let Z=this.#b.get(this);if(Z)return Z;let Q=Object.assign([],{provisional:0});return this.#b.set(this,Q),this.#J&=~nU,Q}child(Z,Q){if(Z===""||Z===".")return this;if(Z==="..")return this.parent||this;let Y=this.children(),J=this.nocase?TV(Z):_3(Z);for(let D of Y)if(D.#w===J)return D;let q=this.parent?this.sep:"",K=this.#L?this.#L+q+Z:void 0,V=this.newChild(Z,p9,{...Q,parent:this,fullpath:K});if(!this.canReaddir())V.#J|=L7;return Y.push(V),V}relative(){if(this.isCWD)return"";if(this.#j!==void 0)return this.#j;let Z=this.name,Q=this.parent;if(!Q)return this.#j=this.name;let Y=Q.relative();return Y+(!Y||!Q.parent?"":this.sep)+Z}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let Z=this.name,Q=this.parent;if(!Q)return this.#S=this.fullpathPosix();let Y=Q.relativePosix();return Y+(!Y||!Q.parent?"":"/")+Z}fullpath(){if(this.#L!==void 0)return this.#L;let Z=this.name,Q=this.parent;if(!Q)return this.#L=this.name;let J=Q.fullpath()+(!Q.parent?"":this.sep)+Z;return this.#L=J}fullpathPosix(){if(this.#F!==void 0)return this.#F;if(this.sep==="/")return this.#F=this.fullpath();if(!this.parent){let J=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(J))return this.#F=`//?/${J}`;else return this.#F=J}let Z=this.parent,Q=Z.fullpathPosix(),Y=Q+(!Q||!Z.parent?"":"/")+this.name;return this.#F=Y}isUnknown(){return(this.#J&l9)===p9}isType(Z){return this[`is${Z}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#J&l9)===lL}isDirectory(){return(this.#J&l9)===e7}isCharacterDevice(){return(this.#J&l9)===cL}isBlockDevice(){return(this.#J&l9)===dL}isFIFO(){return(this.#J&l9)===mL}isSocket(){return(this.#J&l9)===pL}isSymbolicLink(){return(this.#J&YZ)===YZ}lstatCached(){return this.#J&kL?this:void 0}readlinkCached(){return this.#E}realpathCached(){return this.#T}readdirCached(){let Z=this.children();return Z.slice(0,Z.provisional)}canReadlink(){if(this.#E)return!0;if(!this.parent)return!1;let Z=this.#J&l9;return!(Z!==p9&&Z!==YZ||this.#J&PV||this.#J&L7)}calledReaddir(){return!!(this.#J&nU)}isENOENT(){return!!(this.#J&L7)}isNamed(Z){return!this.nocase?this.#w===_3(Z):this.#w===TV(Z)}async readlink(){let Z=this.#E;if(Z)return Z;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=await this.#Z.promises.readlink(this.fullpath()),Y=(await this.parent.realpath())?.resolve(Q);if(Y)return this.#E=Y}catch(Q){this.#O(Q.code);return}}readlinkSync(){let Z=this.#E;if(Z)return Z;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=this.#Z.readlinkSync(this.fullpath()),Y=this.parent.realpathSync()?.resolve(Q);if(Y)return this.#E=Y}catch(Q){this.#O(Q.code);return}}#f(Z){this.#J|=nU;for(let Q=Z.provisional;Q<Z.length;Q++){let Y=Z[Q];if(Y)Y.#k()}}#k(){if(this.#J&L7)return;this.#J=(this.#J|L7)&N3,this.#y()}#y(){let Z=this.children();Z.provisional=0;for(let Q of Z)Q.#k()}#h(){this.#J|=_V,this.#_()}#_(){if(this.#J&T3)return;let Z=this.#J;if((Z&l9)===e7)Z&=N3;this.#J=Z|T3,this.#y()}#v(Z=""){if(Z==="ENOTDIR"||Z==="EPERM")this.#_();else if(Z==="ENOENT")this.#k();else this.children().provisional=0}#m(Z=""){if(Z==="ENOTDIR")this.parent.#_();else if(Z==="ENOENT")this.#k()}#O(Z=""){let Q=this.#J;if(Q|=PV,Z==="ENOENT")Q|=L7;if(Z==="EINVAL"||Z==="UNKNOWN")Q&=N3;if(this.#J=Q,Z==="ENOTDIR"&&this.parent)this.parent.#_()}#x(Z,Q){return this.#u(Z,Q)||this.#X(Z,Q)}#X(Z,Q){let Y=sU(Z),J=this.newChild(Z.name,Y,{parent:this}),q=J.#J&l9;if(q!==e7&&q!==YZ&&q!==p9)J.#J|=T3;return Q.unshift(J),Q.provisional++,J}#u(Z,Q){for(let Y=Q.provisional;Y<Q.length;Y++){let J=Q[Y];if((this.nocase?TV(Z.name):_3(Z.name))!==J.#w)continue;return this.#c(Z,J,Y,Q)}}#c(Z,Q,Y,J){let q=Q.name;if(Q.#J=Q.#J&N3|sU(Z),q!==Z.name)Q.name=Z.name;if(Y!==J.provisional){if(Y===J.length-1)J.pop();else J.splice(Y,1);J.unshift(Q)}return J.provisional++,Q}async lstat(){if((this.#J&L7)===0)try{return this.#g(await this.#Z.promises.lstat(this.fullpath())),this}catch(Z){this.#m(Z.code)}}lstatSync(){if((this.#J&L7)===0)try{return this.#g(this.#Z.lstatSync(this.fullpath())),this}catch(Z){this.#m(Z.code)}}#g(Z){let{atime:Q,atimeMs:Y,birthtime:J,birthtimeMs:q,blksize:K,blocks:V,ctime:D,ctimeMs:z,dev:H,gid:G,ino:W,mode:$,mtime:B,mtimeMs:O,nlink:A,rdev:w,size:E,uid:S}=Z;this.#I=Q,this.#z=Y,this.#N=J,this.#U=q,this.#G=K,this.#V=V,this.#R=D,this.#B=z,this.#Q=H,this.#A=G,this.#H=W,this.#Y=$,this.#C=B,this.#$=O,this.#q=A,this.#W=w,this.#D=E,this.#K=S;let X=sU(Z);if(this.#J=this.#J&N3|X|kL,X!==p9&&X!==e7&&X!==YZ)this.#J|=T3}#d=[];#p=!1;#i(Z){this.#p=!1;let Q=this.#d.slice();this.#d.length=0,Q.forEach((Y)=>Y(null,Z))}readdirCB(Z,Q=!1){if(!this.canReaddir()){if(Q)Z(null,[]);else queueMicrotask(()=>Z(null,[]));return}let Y=this.children();if(this.calledReaddir()){let q=Y.slice(0,Y.provisional);if(Q)Z(null,q);else queueMicrotask(()=>Z(null,q));return}if(this.#d.push(Z),this.#p)return;this.#p=!0;let J=this.fullpath();this.#Z.readdir(J,{withFileTypes:!0},(q,K)=>{if(q)this.#v(q.code),Y.provisional=0;else{for(let V of K)this.#x(V,Y);this.#f(Y)}this.#i(Y.slice(0,Y.provisional));return})}#l;async readdir(){if(!this.canReaddir())return[];let Z=this.children();if(this.calledReaddir())return Z.slice(0,Z.provisional);let Q=this.fullpath();if(this.#l)await this.#l;else{let Y=()=>{};this.#l=new Promise((J)=>Y=J);try{for(let J of await this.#Z.promises.readdir(Q,{withFileTypes:!0}))this.#x(J,Z);this.#f(Z)}catch(J){this.#v(J.code),Z.provisional=0}this.#l=void 0,Y()}return Z.slice(0,Z.provisional)}readdirSync(){if(!this.canReaddir())return[];let Z=this.children();if(this.calledReaddir())return Z.slice(0,Z.provisional);let Q=this.fullpath();try{for(let Y of this.#Z.readdirSync(Q,{withFileTypes:!0}))this.#x(Y,Z);this.#f(Z)}catch(Y){this.#v(Y.code),Z.provisional=0}return Z.slice(0,Z.provisional)}canReaddir(){if(this.#J&yL)return!1;let Z=l9&this.#J;if(!(Z===p9||Z===e7||Z===YZ))return!1;return!0}shouldWalk(Z,Q){return(this.#J&e7)===e7&&!(this.#J&yL)&&!Z.has(this)&&(!Q||Q(this))}async realpath(){if(this.#T)return this.#T;if((_V|PV|L7)&this.#J)return;try{let Z=await this.#Z.promises.realpath(this.fullpath());return this.#T=this.resolve(Z)}catch(Z){this.#h()}}realpathSync(){if(this.#T)return this.#T;if((_V|PV|L7)&this.#J)return;try{let Z=this.#Z.realpathSync(this.fullpath());return this.#T=this.resolve(Z)}catch(Z){this.#h()}}[iL](Z){if(Z===this)return;Z.isCWD=!1,this.isCWD=!0;let Q=new Set([]),Y=[],J=this;while(J&&J.parent)Q.add(J),J.#j=Y.join(this.sep),J.#S=Y.join("/"),J=J.parent,Y.push("..");J=Z;while(J&&J.parent&&!Q.has(J))J.#j=void 0,J.#S=void 0,J=J.parent}}q5.PathBase=k8;class v3 extends k8{sep="\\";splitSep=V10;constructor(Z,Q=p9,Y,J,q,K,V){super(Z,Q,Y,J,q,K,V)}newChild(Z,Q=p9,Y={}){return new v3(Z,Q,this.root,this.roots,this.nocase,this.childrenCache(),Y)}getRootString(Z){return vV.win32.parse(Z).root}getRoot(Z){if(Z=K10(Z.toUpperCase()),Z===this.root.name)return this.root;for(let[Q,Y]of Object.entries(this.roots))if(this.sameRoot(Z,Q))return this.roots[Z]=Y;return this.roots[Z]=new yV(Z,this).root}sameRoot(Z,Q=this.root.name){return Z=Z.toUpperCase().replace(/\//g,"\\").replace(gL,"$1\\"),Z===Q}}q5.PathWin32=v3;class b3 extends k8{splitSep="/";sep="/";constructor(Z,Q=p9,Y,J,q,K,V){super(Z,Q,Y,J,q,K,V)}getRootString(Z){return Z.startsWith("/")?"/":""}getRoot(Z){return this.root}newChild(Z,Q=p9,Y={}){return new b3(Z,Q,this.root,this.roots,this.nocase,this.childrenCache(),Y)}}q5.PathPosix=b3;class kV{root;rootPath;roots;cwd;#Z;#Q;#Y;nocase;#q;constructor(Z=process.cwd(),Q,Y,{nocase:J,childrenCacheSize:q=16384,fs:K=P3}={}){if(this.#q=fL(K),Z instanceof URL||Z.startsWith("file://"))Z=(0,Y10.fileURLToPath)(Z);let V=Q.resolve(Z);this.roots=Object.create(null),this.rootPath=this.parseRootPath(V),this.#Z=new bV,this.#Q=new bV,this.#Y=new aU(q);let D=V.substring(this.rootPath.length).split(Y);if(D.length===1&&!D[0])D.pop();if(J===void 0)throw TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=J,this.root=this.newRoot(this.#q),this.roots[this.rootPath]=this.root;let z=this.root,H=D.length-1,G=Q.sep,W=this.rootPath,$=!1;for(let B of D){let O=H--;z=z.child(B,{relative:Array(O).fill("..").join(G),relativePosix:Array(O).fill("..").join("/"),fullpath:W+=($?"":G)+B}),$=!0}this.cwd=z}depth(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.depth()}childrenCache(){return this.#Y}resolve(...Z){let Q="";for(let q=Z.length-1;q>=0;q--){let K=Z[q];if(!K||K===".")continue;if(Q=Q?`${K}/${Q}`:K,this.isAbsolute(K))break}let Y=this.#Z.get(Q);if(Y!==void 0)return Y;let J=this.cwd.resolve(Q).fullpath();return this.#Z.set(Q,J),J}resolvePosix(...Z){let Q="";for(let q=Z.length-1;q>=0;q--){let K=Z[q];if(!K||K===".")continue;if(Q=Q?`${K}/${Q}`:K,this.isAbsolute(K))break}let Y=this.#Q.get(Q);if(Y!==void 0)return Y;let J=this.cwd.resolve(Q).fullpathPosix();return this.#Q.set(Q,J),J}relative(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.relative()}relativePosix(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.relativePosix()}basename(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.name}dirname(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return(Z.parent||Z).fullpath()}async readdir(Z=this.cwd,Q={withFileTypes:!0}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y}=Q;if(!Z.canReaddir())return[];else{let J=await Z.readdir();return Y?J:J.map((q)=>q.name)}}readdirSync(Z=this.cwd,Q={withFileTypes:!0}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0}=Q;if(!Z.canReaddir())return[];else if(Y)return Z.readdirSync();else return Z.readdirSync().map((J)=>J.name)}async lstat(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.lstat()}lstatSync(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.lstatSync()}async readlink(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z.withFileTypes,Z=this.cwd;let Y=await Z.readlink();return Q?Y:Y?.fullpath()}readlinkSync(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z.withFileTypes,Z=this.cwd;let Y=Z.readlinkSync();return Q?Y:Y?.fullpath()}async realpath(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z.withFileTypes,Z=this.cwd;let Y=await Z.realpath();return Q?Y:Y?.fullpath()}realpathSync(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z.withFileTypes,Z=this.cwd;let Y=Z.realpathSync();return Q?Y:Y?.fullpath()}async walk(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=[];if(!q||q(Z))V.push(Y?Z:Z.fullpath());let D=new Set,z=(G,W)=>{D.add(G),G.readdirCB(($,B)=>{if($)return W($);let O=B.length;if(!O)return W();let A=()=>{if(--O===0)W()};for(let w of B){if(!q||q(w))V.push(Y?w:w.fullpath());if(J&&w.isSymbolicLink())w.realpath().then((E)=>E?.isUnknown()?E.lstat():E).then((E)=>E?.shouldWalk(D,K)?z(E,A):A());else if(w.shouldWalk(D,K))z(w,A);else A()}},!0)},H=Z;return new Promise((G,W)=>{z(H,($)=>{if($)return W($);G(V)})})}walkSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=[];if(!q||q(Z))V.push(Y?Z:Z.fullpath());let D=new Set([Z]);for(let z of D){let H=z.readdirSync();for(let G of H){if(!q||q(G))V.push(Y?G:G.fullpath());let W=G;if(G.isSymbolicLink()){if(!(J&&(W=G.realpathSync())))continue;if(W.isUnknown())W.lstatSync()}if(W.shouldWalk(D,K))D.add(W)}}return V}[Symbol.asyncIterator](){return this.iterate()}iterate(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;return this.stream(Z,Q)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q;if(!q||q(Z))yield Y?Z:Z.fullpath();let V=new Set([Z]);for(let D of V){let z=D.readdirSync();for(let H of z){if(!q||q(H))yield Y?H:H.fullpath();let G=H;if(H.isSymbolicLink()){if(!(J&&(G=H.realpathSync())))continue;if(G.isUnknown())G.lstatSync()}if(G.shouldWalk(V,K))V.add(G)}}}stream(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=new bL.Minipass({objectMode:!0});if(!q||q(Z))V.write(Y?Z:Z.fullpath());let D=new Set,z=[Z],H=0,G=()=>{let W=!1;while(!W){let $=z.shift();if(!$){if(H===0)V.end();return}H++,D.add($);let B=(A,w,E=!1)=>{if(A)return V.emit("error",A);if(J&&!E){let S=[];for(let X of w)if(X.isSymbolicLink())S.push(X.realpath().then((F)=>F?.isUnknown()?F.lstat():F));if(S.length){Promise.all(S).then(()=>B(null,w,!0));return}}for(let S of w)if(S&&(!q||q(S))){if(!V.write(Y?S:S.fullpath()))W=!0}H--;for(let S of w){let X=S.realpathCached()||S;if(X.shouldWalk(D,K))z.push(X)}if(W&&!V.flowing)V.once("drain",G);else if(!O)G()},O=!0;$.readdirCB(B,!0),O=!1}};return G(),V}streamSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof k8))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=new bL.Minipass({objectMode:!0}),D=new Set;if(!q||q(Z))V.write(Y?Z:Z.fullpath());let z=[Z],H=0,G=()=>{let W=!1;while(!W){let $=z.shift();if(!$){if(H===0)V.end();return}H++,D.add($);let B=$.readdirSync();for(let O of B)if(!q||q(O)){if(!V.write(Y?O:O.fullpath()))W=!0}H--;for(let O of B){let A=O;if(O.isSymbolicLink()){if(!(J&&(A=O.realpathSync())))continue;if(A.isUnknown())A.lstatSync()}if(A.shouldWalk(D,K))z.push(A)}}if(W&&!V.flowing)V.once("drain",G)};return G(),V}chdir(Z=this.cwd){let Q=this.cwd;this.cwd=typeof Z==="string"?this.cwd.resolve(Z):Z,this.cwd[iL](Q)}}q5.PathScurryBase=kV;class yV extends kV{sep="\\";constructor(Z=process.cwd(),Q={}){let{nocase:Y=!0}=Q;super(Z,vV.win32,"\\",{...Q,nocase:Y});this.nocase=Y;for(let J=this.cwd;J;J=J.parent)J.nocase=this.nocase}parseRootPath(Z){return vV.win32.parse(Z).root.toUpperCase()}newRoot(Z){return new v3(this.rootPath,e7,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Z})}isAbsolute(Z){return Z.startsWith("/")||Z.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(Z)}}q5.PathScurryWin32=yV;class hV extends kV{sep="/";constructor(Z=process.cwd(),Q={}){let{nocase:Y=!1}=Q;super(Z,vV.posix,"/",{...Q,nocase:Y});this.nocase=Y}parseRootPath(Z){return"/"}newRoot(Z){return new b3(this.rootPath,e7,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Z})}isAbsolute(Z){return Z.startsWith("/")}}q5.PathScurryPosix=hV;class rU extends hV{constructor(Z=process.cwd(),Q={}){let{nocase:Y=!0}=Q;super(Z,{...Q,nocase:Y})}}q5.PathScurryDarwin=rU;q5.Path=process.platform==="win32"?v3:b3;q5.PathScurry=process.platform==="win32"?yV:process.platform==="darwin"?rU:hV});var tU=k((xV)=>{Object.defineProperty(xV,"__esModule",{value:!0});xV.Pattern=void 0;var z10=i4(),H10=(Z)=>Z.length>=1,G10=(Z)=>Z.length>=1;class oU{#Z;#Q;#Y;length;#q;#K;#A;#W;#G;#H;#D=!0;constructor(Z,Q,Y,J){if(!H10(Z))throw TypeError("empty pattern list");if(!G10(Q))throw TypeError("empty glob list");if(Q.length!==Z.length)throw TypeError("mismatched pattern list and glob list lengths");if(this.length=Z.length,Y<0||Y>=this.length)throw TypeError("index out of range");if(this.#Z=Z,this.#Q=Q,this.#Y=Y,this.#q=J,this.#Y===0){if(this.isUNC()){let[q,K,V,D,...z]=this.#Z,[H,G,W,$,...B]=this.#Q;if(z[0]==="")z.shift(),B.shift();let O=[q,K,V,D,""].join("/"),A=[H,G,W,$,""].join("/");this.#Z=[O,...z],this.#Q=[A,...B],this.length=this.#Z.length}else if(this.isDrive()||this.isAbsolute()){let[q,...K]=this.#Z,[V,...D]=this.#Q;if(K[0]==="")K.shift(),D.shift();let z=q+"/",H=V+"/";this.#Z=[z,...K],this.#Q=[H,...D],this.length=this.#Z.length}}}pattern(){return this.#Z[this.#Y]}isString(){return typeof this.#Z[this.#Y]==="string"}isGlobstar(){return this.#Z[this.#Y]===z10.GLOBSTAR}isRegExp(){return this.#Z[this.#Y]instanceof RegExp}globString(){return this.#A=this.#A||(this.#Y===0?this.isAbsolute()?this.#Q[0]+this.#Q.slice(1).join("/"):this.#Q.join("/"):this.#Q.slice(this.#Y).join("/"))}hasMore(){return this.length>this.#Y+1}rest(){if(this.#K!==void 0)return this.#K;if(!this.hasMore())return this.#K=null;return this.#K=new oU(this.#Z,this.#Q,this.#Y+1,this.#q),this.#K.#H=this.#H,this.#K.#G=this.#G,this.#K.#W=this.#W,this.#K}isUNC(){let Z=this.#Z;return this.#G!==void 0?this.#G:this.#G=this.#q==="win32"&&this.#Y===0&&Z[0]===""&&Z[1]===""&&typeof Z[2]==="string"&&!!Z[2]&&typeof Z[3]==="string"&&!!Z[3]}isDrive(){let Z=this.#Z;return this.#W!==void 0?this.#W:this.#W=this.#q==="win32"&&this.#Y===0&&this.length>1&&typeof Z[0]==="string"&&/^[a-z]:$/i.test(Z[0])}isAbsolute(){let Z=this.#Z;return this.#H!==void 0?this.#H:this.#H=Z[0]===""&&Z.length>1||this.isDrive()||this.isUNC()}root(){let Z=this.#Z[0];return typeof Z==="string"&&this.isAbsolute()&&this.#Y===0?Z:""}checkFollowGlobstar(){return!(this.#Y===0||!this.isGlobstar()||!this.#D)}markFollowGlobstar(){if(this.#Y===0||!this.isGlobstar()||!this.#D)return!1;return this.#D=!1,!0}}xV.Pattern=oU});var eU=k((uV)=>{Object.defineProperty(uV,"__esModule",{value:!0});uV.Ignore=void 0;var sL=i4(),W10=tU(),U10=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class aL{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(Z,{nobrace:Q,nocase:Y,noext:J,noglobstar:q,platform:K=U10}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=K,this.mmopts={dot:!0,nobrace:Q,nocase:Y,noext:J,noglobstar:q,optimizationLevel:2,platform:K,nocomment:!0,nonegate:!0};for(let V of Z)this.add(V)}add(Z){let Q=new sL.Minimatch(Z,this.mmopts);for(let Y=0;Y<Q.set.length;Y++){let J=Q.set[Y],q=Q.globParts[Y];if(!J||!q)throw Error("invalid pattern object");while(J[0]==="."&&q[0]===".")J.shift(),q.shift();let K=new W10.Pattern(J,q,0,this.platform),V=new sL.Minimatch(K.globString(),this.mmopts),D=q[q.length-1]==="**",z=K.isAbsolute();if(z)this.absolute.push(V);else this.relative.push(V);if(D)if(z)this.absoluteChildren.push(V);else this.relativeChildren.push(V)}}ignored(Z){let Q=Z.fullpath(),Y=`${Q}/`,J=Z.relative()||".",q=`${J}/`;for(let K of this.relative)if(K.match(J)||K.match(q))return!0;for(let K of this.absolute)if(K.match(Q)||K.match(Y))return!0;return!1}childrenIgnored(Z){let Q=Z.fullpath()+"/",Y=(Z.relative()||".")+"/";for(let J of this.relativeChildren)if(J.match(Y))return!0;for(let J of this.absoluteChildren)if(J.match(Q))return!0;return!1}}uV.Ignore=aL});var oL=k((Z6)=>{Object.defineProperty(Z6,"__esModule",{value:!0});Z6.Processor=Z6.SubWalks=Z6.MatchRecord=Z6.HasWalkedCache=void 0;var rL=i4();class fV{store;constructor(Z=new Map){this.store=Z}copy(){return new fV(new Map(this.store))}hasWalked(Z,Q){return this.store.get(Z.fullpath())?.has(Q.globString())}storeWalked(Z,Q){let Y=Z.fullpath(),J=this.store.get(Y);if(J)J.add(Q.globString());else this.store.set(Y,new Set([Q.globString()]))}}Z6.HasWalkedCache=fV;class Z${store=new Map;add(Z,Q,Y){let J=(Q?2:0)|(Y?1:0),q=this.store.get(Z);this.store.set(Z,q===void 0?J:J&q)}entries(){return[...this.store.entries()].map(([Z,Q])=>[Z,!!(Q&2),!!(Q&1)])}}Z6.MatchRecord=Z$;class Q${store=new Map;add(Z,Q){if(!Z.canReaddir())return;let Y=this.store.get(Z);if(Y){if(!Y.find((J)=>J.globString()===Q.globString()))Y.push(Q)}else this.store.set(Z,[Q])}get(Z){let Q=this.store.get(Z);if(!Q)throw Error("attempting to walk unknown path");return Q}entries(){return this.keys().map((Z)=>[Z,this.store.get(Z)])}keys(){return[...this.store.keys()].filter((Z)=>Z.canReaddir())}}Z6.SubWalks=Q$;class Y${hasWalkedCache;matches=new Z$;subwalks=new Q$;patterns;follow;dot;opts;constructor(Z,Q){this.opts=Z,this.follow=!!Z.follow,this.dot=!!Z.dot,this.hasWalkedCache=Q?Q.copy():new fV}processPatterns(Z,Q){this.patterns=Q;let Y=Q.map((J)=>[Z,J]);for(let[J,q]of Y){this.hasWalkedCache.storeWalked(J,q);let K=q.root(),V=q.isAbsolute()&&this.opts.absolute!==!1;if(K){J=J.resolve(K==="/"&&this.opts.root!==void 0?this.opts.root:K);let G=q.rest();if(!G){this.matches.add(J,!0,!1);continue}else q=G}if(J.isENOENT())continue;let D,z,H=!1;while(typeof(D=q.pattern())==="string"&&(z=q.rest()))J=J.resolve(D),q=z,H=!0;if(D=q.pattern(),z=q.rest(),H){if(this.hasWalkedCache.hasWalked(J,q))continue;this.hasWalkedCache.storeWalked(J,q)}if(typeof D==="string"){let G=D===".."||D===""||D===".";this.matches.add(J.resolve(D),V,G);continue}else if(D===rL.GLOBSTAR){if(!J.isSymbolicLink()||this.follow||q.checkFollowGlobstar())this.subwalks.add(J,q);let G=z?.pattern(),W=z?.rest();if(!z||(G===""||G===".")&&!W)this.matches.add(J,V,G===""||G===".");else if(G===".."){let $=J.parent||J;if(!W)this.matches.add($,V,!0);else if(!this.hasWalkedCache.hasWalked($,W))this.subwalks.add($,W)}}else if(D instanceof RegExp)this.subwalks.add(J,q)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Y$(this.opts,this.hasWalkedCache)}filterEntries(Z,Q){let Y=this.subwalks.get(Z),J=this.child();for(let q of Q)for(let K of Y){let V=K.isAbsolute(),D=K.pattern(),z=K.rest();if(D===rL.GLOBSTAR)J.testGlobstar(q,K,z,V);else if(D instanceof RegExp)J.testRegExp(q,D,z,V);else J.testString(q,D,z,V)}return J}testGlobstar(Z,Q,Y,J){if(this.dot||!Z.name.startsWith(".")){if(!Q.hasMore())this.matches.add(Z,J,!1);if(Z.canReaddir()){if(this.follow||!Z.isSymbolicLink())this.subwalks.add(Z,Q);else if(Z.isSymbolicLink()){if(Y&&Q.checkFollowGlobstar())this.subwalks.add(Z,Y);else if(Q.markFollowGlobstar())this.subwalks.add(Z,Q)}}}if(Y){let q=Y.pattern();if(typeof q==="string"&&q!==".."&&q!==""&&q!==".")this.testString(Z,q,Y.rest(),J);else if(q===".."){let K=Z.parent||Z;this.subwalks.add(K,Y)}else if(q instanceof RegExp)this.testRegExp(Z,q,Y.rest(),J)}}testRegExp(Z,Q,Y,J){if(!Q.test(Z.name))return;if(!Y)this.matches.add(Z,J,!1);else this.subwalks.add(Z,Y)}testString(Z,Q,Y,J){if(!Z.isNamed(Q))return;if(!Y)this.matches.add(Z,J,!1);else this.subwalks.add(Z,Y)}}Z6.Processor=Y$});var YM=k((a4)=>{Object.defineProperty(a4,"__esModule",{value:!0});a4.GlobStream=a4.GlobWalker=a4.GlobUtil=void 0;var $10=iU(),tL=eU(),eL=oL(),B10=(Z,Q)=>typeof Z==="string"?new tL.Ignore([Z],Q):Array.isArray(Z)?new tL.Ignore(Z,Q):Z;class gV{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#Z=[];#Q;#Y;signal;maxDepth;includeChildMatches;constructor(Z,Q,Y){if(this.patterns=Z,this.path=Q,this.opts=Y,this.#Y=!Y.posix&&Y.platform==="win32"?"\\":"/",this.includeChildMatches=Y.includeChildMatches!==!1,Y.ignore||!this.includeChildMatches){if(this.#Q=B10(Y.ignore??[],Y),!this.includeChildMatches&&typeof this.#Q.add!=="function")throw Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=Y.maxDepth||1/0,Y.signal)this.signal=Y.signal,this.signal.addEventListener("abort",()=>{this.#Z.length=0})}#q(Z){return this.seen.has(Z)||!!this.#Q?.ignored?.(Z)}#K(Z){return!!this.#Q?.childrenIgnored?.(Z)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let Z=void 0;while(!this.paused&&(Z=this.#Z.shift()))Z()}onResume(Z){if(this.signal?.aborted)return;if(!this.paused)Z();else this.#Z.push(Z)}async matchCheck(Z,Q){if(Q&&this.opts.nodir)return;let Y;if(this.opts.realpath){if(Y=Z.realpathCached()||await Z.realpath(),!Y)return;Z=Y}let q=Z.isUnknown()||this.opts.stat?await Z.lstat():Z;if(this.opts.follow&&this.opts.nodir&&q?.isSymbolicLink()){let K=await q.realpath();if(K&&(K.isUnknown()||this.opts.stat))await K.lstat()}return this.matchCheckTest(q,Q)}matchCheckTest(Z,Q){return Z&&(this.maxDepth===1/0||Z.depth()<=this.maxDepth)&&(!Q||Z.canReaddir())&&(!this.opts.nodir||!Z.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!Z.isSymbolicLink()||!Z.realpathCached()?.isDirectory())&&!this.#q(Z)?Z:void 0}matchCheckSync(Z,Q){if(Q&&this.opts.nodir)return;let Y;if(this.opts.realpath){if(Y=Z.realpathCached()||Z.realpathSync(),!Y)return;Z=Y}let q=Z.isUnknown()||this.opts.stat?Z.lstatSync():Z;if(this.opts.follow&&this.opts.nodir&&q?.isSymbolicLink()){let K=q.realpathSync();if(K&&(K?.isUnknown()||this.opts.stat))K.lstatSync()}return this.matchCheckTest(q,Q)}matchFinish(Z,Q){if(this.#q(Z))return;if(!this.includeChildMatches&&this.#Q?.add){let q=`${Z.relativePosix()}/**`;this.#Q.add(q)}let Y=this.opts.absolute===void 0?Q:this.opts.absolute;this.seen.add(Z);let J=this.opts.mark&&Z.isDirectory()?this.#Y:"";if(this.opts.withFileTypes)this.matchEmit(Z);else if(Y){let q=this.opts.posix?Z.fullpathPosix():Z.fullpath();this.matchEmit(q+J)}else{let q=this.opts.posix?Z.relativePosix():Z.relative(),K=this.opts.dotRelative&&!q.startsWith(".."+this.#Y)?"."+this.#Y:"";this.matchEmit(!q?"."+J:K+q+J)}}async match(Z,Q,Y){let J=await this.matchCheck(Z,Y);if(J)this.matchFinish(J,Q)}matchSync(Z,Q,Y){let J=this.matchCheckSync(Z,Y);if(J)this.matchFinish(J,Q)}walkCB(Z,Q,Y){if(this.signal?.aborted)Y();this.walkCB2(Z,Q,new eL.Processor(this.opts),Y)}walkCB2(Z,Q,Y,J){if(this.#K(Z))return J();if(this.signal?.aborted)J();if(this.paused){this.onResume(()=>this.walkCB2(Z,Q,Y,J));return}Y.processPatterns(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;q++,this.match(V,D,z).then(()=>K())}for(let V of Y.subwalkTargets()){if(this.maxDepth!==1/0&&V.depth()>=this.maxDepth)continue;q++;let D=V.readdirCached();if(V.calledReaddir())this.walkCB3(V,D,Y,K);else V.readdirCB((z,H)=>this.walkCB3(V,H,Y,K),!0)}K()}walkCB3(Z,Q,Y,J){Y=Y.filterEntries(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;q++,this.match(V,D,z).then(()=>K())}for(let[V,D]of Y.subwalks.entries())q++,this.walkCB2(V,D,Y.child(),K);K()}walkCBSync(Z,Q,Y){if(this.signal?.aborted)Y();this.walkCB2Sync(Z,Q,new eL.Processor(this.opts),Y)}walkCB2Sync(Z,Q,Y,J){if(this.#K(Z))return J();if(this.signal?.aborted)J();if(this.paused){this.onResume(()=>this.walkCB2Sync(Z,Q,Y,J));return}Y.processPatterns(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;this.matchSync(V,D,z)}for(let V of Y.subwalkTargets()){if(this.maxDepth!==1/0&&V.depth()>=this.maxDepth)continue;q++;let D=V.readdirSync();this.walkCB3Sync(V,D,Y,K)}K()}walkCB3Sync(Z,Q,Y,J){Y=Y.filterEntries(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;this.matchSync(V,D,z)}for(let[V,D]of Y.subwalks.entries())q++,this.walkCB2Sync(V,D,Y.child(),K);K()}}a4.GlobUtil=gV;class ZM extends gV{matches=new Set;constructor(Z,Q,Y){super(Z,Q,Y)}matchEmit(Z){this.matches.add(Z)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((Z,Q)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)Q(this.signal.reason);else Z(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}}a4.GlobWalker=ZM;class QM extends gV{results;constructor(Z,Q,Y){super(Z,Q,Y);this.results=new $10.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(Z){if(this.results.write(Z),!this.results.flowing)this.pause()}stream(){let Z=this.path;if(Z.isUnknown())Z.lstat().then(()=>{this.walkCB(Z,this.patterns,()=>this.results.end())});else this.walkCB(Z,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}a4.GlobStream=QM});var J$=k((dV)=>{Object.defineProperty(dV,"__esModule",{value:!0});dV.Glob=void 0;var O10=i4(),X10=require("node:url"),mV=nL(),F10=tU(),cV=YM(),A10=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class JM{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(Z,Q){if(!Q)throw TypeError("glob options required");if(this.withFileTypes=!!Q.withFileTypes,this.signal=Q.signal,this.follow=!!Q.follow,this.dot=!!Q.dot,this.dotRelative=!!Q.dotRelative,this.nodir=!!Q.nodir,this.mark=!!Q.mark,!Q.cwd)this.cwd="";else if(Q.cwd instanceof URL||Q.cwd.startsWith("file://"))Q.cwd=(0,X10.fileURLToPath)(Q.cwd);if(this.cwd=Q.cwd||"",this.root=Q.root,this.magicalBraces=!!Q.magicalBraces,this.nobrace=!!Q.nobrace,this.noext=!!Q.noext,this.realpath=!!Q.realpath,this.absolute=Q.absolute,this.includeChildMatches=Q.includeChildMatches!==!1,this.noglobstar=!!Q.noglobstar,this.matchBase=!!Q.matchBase,this.maxDepth=typeof Q.maxDepth==="number"?Q.maxDepth:1/0,this.stat=!!Q.stat,this.ignore=Q.ignore,this.withFileTypes&&this.absolute!==void 0)throw Error("cannot set absolute and withFileTypes:true");if(typeof Z==="string")Z=[Z];if(this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)Z=Z.map((D)=>D.replace(/\\/g,"/"));if(this.matchBase){if(Q.noglobstar)throw TypeError("base matching requires globstar");Z=Z.map((D)=>D.includes("/")?D:`./**/${D}`)}if(this.pattern=Z,this.platform=Q.platform||A10,this.opts={...Q,platform:this.platform},Q.scurry){if(this.scurry=Q.scurry,Q.nocase!==void 0&&Q.nocase!==Q.scurry.nocase)throw Error("nocase option contradicts provided scurry option")}else{let D=Q.platform==="win32"?mV.PathScurryWin32:Q.platform==="darwin"?mV.PathScurryDarwin:Q.platform?mV.PathScurryPosix:mV.PathScurry;this.scurry=new D(this.cwd,{nocase:Q.nocase,fs:Q.fs})}this.nocase=this.scurry.nocase;let Y=this.platform==="darwin"||this.platform==="win32",J={...Q,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:Y,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},q=this.pattern.map((D)=>new O10.Minimatch(D,J)),[K,V]=q.reduce((D,z)=>{return D[0].push(...z.set),D[1].push(...z.globParts),D},[[],[]]);this.patterns=K.map((D,z)=>{let H=V[z];if(!H)throw Error("invalid pattern object");return new F10.Pattern(D,H,0,this.platform)})}async walk(){return[...await new cV.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new cV.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new cV.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new cV.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}dV.Glob=JM});var q$=k((lV)=>{Object.defineProperty(lV,"__esModule",{value:!0});lV.hasMagic=void 0;var w10=i4(),E10=(Z,Q={})=>{if(!Array.isArray(Z))Z=[Z];for(let Y of Z)if(new w10.Minimatch(Y,Q).hasMagic())return!0;return!1};lV.hasMagic=E10});var h3=k((m1)=>{Object.defineProperty(m1,"__esModule",{value:!0});m1.glob=m1.sync=m1.iterate=m1.iterateSync=m1.stream=m1.streamSync=m1.Ignore=m1.hasMagic=m1.Glob=m1.unescape=m1.escape=void 0;m1.globStreamSync=k3;m1.globStream=K$;m1.globSync=V$;m1.globIterateSync=y3;m1.globIterate=D$;var qM=i4(),JZ=J$(),I10=q$(),VM=i4();Object.defineProperty(m1,"escape",{enumerable:!0,get:function(){return VM.escape}});Object.defineProperty(m1,"unescape",{enumerable:!0,get:function(){return VM.unescape}});var C10=J$();Object.defineProperty(m1,"Glob",{enumerable:!0,get:function(){return C10.Glob}});var R10=q$();Object.defineProperty(m1,"hasMagic",{enumerable:!0,get:function(){return R10.hasMagic}});var L10=eU();Object.defineProperty(m1,"Ignore",{enumerable:!0,get:function(){return L10.Ignore}});function k3(Z,Q={}){return new JZ.Glob(Z,Q).streamSync()}function K$(Z,Q={}){return new JZ.Glob(Z,Q).stream()}function V$(Z,Q={}){return new JZ.Glob(Z,Q).walkSync()}async function KM(Z,Q={}){return new JZ.Glob(Z,Q).walk()}function y3(Z,Q={}){return new JZ.Glob(Z,Q).iterateSync()}function D$(Z,Q={}){return new JZ.Glob(Z,Q).iterate()}m1.streamSync=k3;m1.stream=Object.assign(K$,{sync:k3});m1.iterateSync=y3;m1.iterate=Object.assign(D$,{sync:y3});m1.sync=Object.assign(V$,{stream:k3,iterate:y3});m1.glob=Object.assign(KM,{glob:KM,globSync:V$,sync:m1.sync,globStream:K$,stream:m1.stream,globStreamSync:k3,streamSync:m1.streamSync,globIterate:D$,iterate:m1.iterate,globIterateSync:y3,iterateSync:m1.iterateSync,Glob:JZ.Glob,hasMagic:I10.hasMagic,escape:qM.escape,unescape:qM.unescape});m1.glob.glob=m1.glob});var OQ=k((jE0,z$)=>{var DM=require("path"),zM=require("module"),M10=require("fs"),HM=(Z,Q,Y)=>{if(typeof Z!=="string")throw TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof Z}\``);if(typeof Q!=="string")throw TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof Q}\``);try{Z=M10.realpathSync(Z)}catch(K){if(K.code==="ENOENT")Z=DM.resolve(Z);else if(Y)return;else throw K}let J=DM.join(Z,"noop.js"),q=()=>zM._resolveFilename(Q,{id:J,filename:J,paths:zM._nodeModulePaths(Z)});if(Y)try{return q()}catch(K){return}return q()};z$.exports=(Z,Q)=>HM(Z,Q);z$.exports.silent=(Z,Q)=>HM(Z,Q,!0)});var x3=k((NE0,GM)=>{var j10=Number.MAX_SAFE_INTEGER||9007199254740991,N10=["major","premajor","minor","preminor","patch","prepatch","prerelease"];GM.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:j10,RELEASE_TYPES:N10,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var u3=k((SE0,WM)=>{var S10=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...Z)=>console.error("SEMVER",...Z):()=>{};WM.exports=S10});var XQ=k((Q6,UM)=>{var{MAX_SAFE_COMPONENT_LENGTH:H$,MAX_SAFE_BUILD_LENGTH:P10,MAX_LENGTH:T10}=x3(),_10=u3();Q6=UM.exports={};var v10=Q6.re=[],b10=Q6.safeRe=[],q1=Q6.src=[],k10=Q6.safeSrc=[],K1=Q6.t={},y10=0,G$="[a-zA-Z0-9-]",h10=[["\\s",1],["\\d",T10],[G$,P10]],x10=(Z)=>{for(let[Q,Y]of h10)Z=Z.split(`${Q}*`).join(`${Q}{0,${Y}}`).split(`${Q}+`).join(`${Q}{1,${Y}}`);return Z},T1=(Z,Q,Y)=>{let J=x10(Q),q=y10++;_10(Z,q,Q),K1[Z]=q,q1[q]=Q,k10[q]=J,v10[q]=new RegExp(Q,Y?"g":void 0),b10[q]=new RegExp(J,Y?"g":void 0)};T1("NUMERICIDENTIFIER","0|[1-9]\\d*");T1("NUMERICIDENTIFIERLOOSE","\\d+");T1("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${G$}*`);T1("MAINVERSION",`(${q1[K1.NUMERICIDENTIFIER]})\\.(${q1[K1.NUMERICIDENTIFIER]})\\.(${q1[K1.NUMERICIDENTIFIER]})`);T1("MAINVERSIONLOOSE",`(${q1[K1.NUMERICIDENTIFIERLOOSE]})\\.(${q1[K1.NUMERICIDENTIFIERLOOSE]})\\.(${q1[K1.NUMERICIDENTIFIERLOOSE]})`);T1("PRERELEASEIDENTIFIER",`(?:${q1[K1.NONNUMERICIDENTIFIER]}|${q1[K1.NUMERICIDENTIFIER]})`);T1("PRERELEASEIDENTIFIERLOOSE",`(?:${q1[K1.NONNUMERICIDENTIFIER]}|${q1[K1.NUMERICIDENTIFIERLOOSE]})`);T1("PRERELEASE",`(?:-(${q1[K1.PRERELEASEIDENTIFIER]}(?:\\.${q1[K1.PRERELEASEIDENTIFIER]})*))`);T1("PRERELEASELOOSE",`(?:-?(${q1[K1.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${q1[K1.PRERELEASEIDENTIFIERLOOSE]})*))`);T1("BUILDIDENTIFIER",`${G$}+`);T1("BUILD",`(?:\\+(${q1[K1.BUILDIDENTIFIER]}(?:\\.${q1[K1.BUILDIDENTIFIER]})*))`);T1("FULLPLAIN",`v?${q1[K1.MAINVERSION]}${q1[K1.PRERELEASE]}?${q1[K1.BUILD]}?`);T1("FULL",`^${q1[K1.FULLPLAIN]}$`);T1("LOOSEPLAIN",`[v=\\s]*${q1[K1.MAINVERSIONLOOSE]}${q1[K1.PRERELEASELOOSE]}?${q1[K1.BUILD]}?`);T1("LOOSE",`^${q1[K1.LOOSEPLAIN]}$`);T1("GTLT","((?:<|>)?=?)");T1("XRANGEIDENTIFIERLOOSE",`${q1[K1.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);T1("XRANGEIDENTIFIER",`${q1[K1.NUMERICIDENTIFIER]}|x|X|\\*`);T1("XRANGEPLAIN",`[v=\\s]*(${q1[K1.XRANGEIDENTIFIER]})(?:\\.(${q1[K1.XRANGEIDENTIFIER]})(?:\\.(${q1[K1.XRANGEIDENTIFIER]})(?:${q1[K1.PRERELEASE]})?${q1[K1.BUILD]}?)?)?`);T1("XRANGEPLAINLOOSE",`[v=\\s]*(${q1[K1.XRANGEIDENTIFIERLOOSE]})(?:\\.(${q1[K1.XRANGEIDENTIFIERLOOSE]})(?:\\.(${q1[K1.XRANGEIDENTIFIERLOOSE]})(?:${q1[K1.PRERELEASELOOSE]})?${q1[K1.BUILD]}?)?)?`);T1("XRANGE",`^${q1[K1.GTLT]}\\s*${q1[K1.XRANGEPLAIN]}$`);T1("XRANGELOOSE",`^${q1[K1.GTLT]}\\s*${q1[K1.XRANGEPLAINLOOSE]}$`);T1("COERCEPLAIN",`(^|[^\\d])(\\d{1,${H$}})(?:\\.(\\d{1,${H$}}))?(?:\\.(\\d{1,${H$}}))?`);T1("COERCE",`${q1[K1.COERCEPLAIN]}(?:$|[^\\d])`);T1("COERCEFULL",q1[K1.COERCEPLAIN]+`(?:${q1[K1.PRERELEASE]})?(?:${q1[K1.BUILD]})?(?:$|[^\\d])`);T1("COERCERTL",q1[K1.COERCE],!0);T1("COERCERTLFULL",q1[K1.COERCEFULL],!0);T1("LONETILDE","(?:~>?)");T1("TILDETRIM",`(\\s*)${q1[K1.LONETILDE]}\\s+`,!0);Q6.tildeTrimReplace="$1~";T1("TILDE",`^${q1[K1.LONETILDE]}${q1[K1.XRANGEPLAIN]}$`);T1("TILDELOOSE",`^${q1[K1.LONETILDE]}${q1[K1.XRANGEPLAINLOOSE]}$`);T1("LONECARET","(?:\\^)");T1("CARETTRIM",`(\\s*)${q1[K1.LONECARET]}\\s+`,!0);Q6.caretTrimReplace="$1^";T1("CARET",`^${q1[K1.LONECARET]}${q1[K1.XRANGEPLAIN]}$`);T1("CARETLOOSE",`^${q1[K1.LONECARET]}${q1[K1.XRANGEPLAINLOOSE]}$`);T1("COMPARATORLOOSE",`^${q1[K1.GTLT]}\\s*(${q1[K1.LOOSEPLAIN]})$|^$`);T1("COMPARATOR",`^${q1[K1.GTLT]}\\s*(${q1[K1.FULLPLAIN]})$|^$`);T1("COMPARATORTRIM",`(\\s*)${q1[K1.GTLT]}\\s*(${q1[K1.LOOSEPLAIN]}|${q1[K1.XRANGEPLAIN]})`,!0);Q6.comparatorTrimReplace="$1$2$3";T1("HYPHENRANGE",`^\\s*(${q1[K1.XRANGEPLAIN]})\\s+-\\s+(${q1[K1.XRANGEPLAIN]})\\s*$`);T1("HYPHENRANGELOOSE",`^\\s*(${q1[K1.XRANGEPLAINLOOSE]})\\s+-\\s+(${q1[K1.XRANGEPLAINLOOSE]})\\s*$`);T1("STAR","(<|>)?=?\\s*\\*");T1("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");T1("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var pV=k((PE0,$M)=>{var u10=Object.freeze({loose:!0}),f10=Object.freeze({}),g10=(Z)=>{if(!Z)return f10;if(typeof Z!=="object")return u10;return Z};$M.exports=g10});var W$=k((TE0,XM)=>{var BM=/^[0-9]+$/,OM=(Z,Q)=>{let Y=BM.test(Z),J=BM.test(Q);if(Y&&J)Z=+Z,Q=+Q;return Z===Q?0:Y&&!J?-1:J&&!Y?1:Z<Q?-1:1},m10=(Z,Q)=>OM(Q,Z);XM.exports={compareIdentifiers:OM,rcompareIdentifiers:m10}});var y8=k((_E0,AM)=>{var iV=u3(),{MAX_LENGTH:FM,MAX_SAFE_INTEGER:nV}=x3(),{safeRe:sV,t:aV}=XQ(),c10=pV(),{compareIdentifiers:FQ}=W$();class M7{constructor(Z,Q){if(Q=c10(Q),Z instanceof M7)if(Z.loose===!!Q.loose&&Z.includePrerelease===!!Q.includePrerelease)return Z;else Z=Z.version;else if(typeof Z!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof Z}".`);if(Z.length>FM)throw TypeError(`version is longer than ${FM} characters`);iV("SemVer",Z,Q),this.options=Q,this.loose=!!Q.loose,this.includePrerelease=!!Q.includePrerelease;let Y=Z.trim().match(Q.loose?sV[aV.LOOSE]:sV[aV.FULL]);if(!Y)throw TypeError(`Invalid Version: ${Z}`);if(this.raw=Z,this.major=+Y[1],this.minor=+Y[2],this.patch=+Y[3],this.major>nV||this.major<0)throw TypeError("Invalid major version");if(this.minor>nV||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>nV||this.patch<0)throw TypeError("Invalid patch version");if(!Y[4])this.prerelease=[];else this.prerelease=Y[4].split(".").map((J)=>{if(/^[0-9]+$/.test(J)){let q=+J;if(q>=0&&q<nV)return q}return J});this.build=Y[5]?Y[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(Z){if(iV("SemVer.compare",this.version,this.options,Z),!(Z instanceof M7)){if(typeof Z==="string"&&Z===this.version)return 0;Z=new M7(Z,this.options)}if(Z.version===this.version)return 0;return this.compareMain(Z)||this.comparePre(Z)}compareMain(Z){if(!(Z instanceof M7))Z=new M7(Z,this.options);return FQ(this.major,Z.major)||FQ(this.minor,Z.minor)||FQ(this.patch,Z.patch)}comparePre(Z){if(!(Z instanceof M7))Z=new M7(Z,this.options);if(this.prerelease.length&&!Z.prerelease.length)return-1;else if(!this.prerelease.length&&Z.prerelease.length)return 1;else if(!this.prerelease.length&&!Z.prerelease.length)return 0;let Q=0;do{let Y=this.prerelease[Q],J=Z.prerelease[Q];if(iV("prerelease compare",Q,Y,J),Y===void 0&&J===void 0)return 0;else if(J===void 0)return 1;else if(Y===void 0)return-1;else if(Y===J)continue;else return FQ(Y,J)}while(++Q)}compareBuild(Z){if(!(Z instanceof M7))Z=new M7(Z,this.options);let Q=0;do{let Y=this.build[Q],J=Z.build[Q];if(iV("build compare",Q,Y,J),Y===void 0&&J===void 0)return 0;else if(J===void 0)return 1;else if(Y===void 0)return-1;else if(Y===J)continue;else return FQ(Y,J)}while(++Q)}inc(Z,Q,Y){if(Z.startsWith("pre")){if(!Q&&Y===!1)throw Error("invalid increment argument: identifier is empty");if(Q){let J=`-${Q}`.match(this.options.loose?sV[aV.PRERELEASELOOSE]:sV[aV.PRERELEASE]);if(!J||J[1]!==Q)throw Error(`invalid identifier: ${Q}`)}}switch(Z){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",Q,Y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",Q,Y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",Q,Y),this.inc("pre",Q,Y);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",Q,Y);this.inc("pre",Q,Y);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let J=Number(Y)?1:0;if(this.prerelease.length===0)this.prerelease=[J];else{let q=this.prerelease.length;while(--q>=0)if(typeof this.prerelease[q]==="number")this.prerelease[q]++,q=-2;if(q===-1){if(Q===this.prerelease.join(".")&&Y===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(J)}}if(Q){let q=[Q,J];if(Y===!1)q=[Q];if(FQ(this.prerelease[0],Q)===0){if(isNaN(this.prerelease[1]))this.prerelease=q}else this.prerelease=q}break}default:throw Error(`invalid increment argument: ${Z}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}AM.exports=M7});var qZ=k((vE0,EM)=>{var wM=y8(),d10=(Z,Q,Y=!1)=>{if(Z instanceof wM)return Z;try{return new wM(Z,Q)}catch(J){if(!Y)return null;throw J}};EM.exports=d10});var CM=k((bE0,IM)=>{var l10=qZ(),p10=(Z,Q)=>{let Y=l10(Z,Q);return Y?Y.version:null};IM.exports=p10});var LM=k((kE0,RM)=>{var i10=qZ(),n10=(Z,Q)=>{let Y=i10(Z.trim().replace(/^[=v]+/,""),Q);return Y?Y.version:null};RM.exports=n10});var NM=k((yE0,jM)=>{var MM=y8(),s10=(Z,Q,Y,J,q)=>{if(typeof Y==="string")q=J,J=Y,Y=void 0;try{return new MM(Z instanceof MM?Z.version:Z,Y).inc(Q,J,q).version}catch(K){return null}};jM.exports=s10});var TM=k((hE0,PM)=>{var SM=qZ(),a10=(Z,Q)=>{let Y=SM(Z,null,!0),J=SM(Q,null,!0),q=Y.compare(J);if(q===0)return null;let K=q>0,V=K?Y:J,D=K?J:Y,z=!!V.prerelease.length;if(!!D.prerelease.length&&!z){if(!D.patch&&!D.minor)return"major";if(D.compareMain(V)===0){if(D.minor&&!D.patch)return"minor";return"patch"}}let G=z?"pre":"";if(Y.major!==J.major)return G+"major";if(Y.minor!==J.minor)return G+"minor";if(Y.patch!==J.patch)return G+"patch";return"prerelease"};PM.exports=a10});var vM=k((xE0,_M)=>{var r10=y8(),o10=(Z,Q)=>new r10(Z,Q).major;_M.exports=o10});var kM=k((uE0,bM)=>{var t10=y8(),e10=(Z,Q)=>new t10(Z,Q).minor;bM.exports=e10});var hM=k((fE0,yM)=>{var Z50=y8(),Q50=(Z,Q)=>new Z50(Z,Q).patch;yM.exports=Q50});var uM=k((gE0,xM)=>{var Y50=qZ(),J50=(Z,Q)=>{let Y=Y50(Z,Q);return Y&&Y.prerelease.length?Y.prerelease:null};xM.exports=J50});var i9=k((mE0,gM)=>{var fM=y8(),q50=(Z,Q,Y)=>new fM(Z,Y).compare(new fM(Q,Y));gM.exports=q50});var cM=k((cE0,mM)=>{var K50=i9(),V50=(Z,Q,Y)=>K50(Q,Z,Y);mM.exports=V50});var lM=k((dE0,dM)=>{var D50=i9(),z50=(Z,Q)=>D50(Z,Q,!0);dM.exports=z50});var rV=k((lE0,iM)=>{var pM=y8(),H50=(Z,Q,Y)=>{let J=new pM(Z,Y),q=new pM(Q,Y);return J.compare(q)||J.compareBuild(q)};iM.exports=H50});var sM=k((pE0,nM)=>{var G50=rV(),W50=(Z,Q)=>Z.sort((Y,J)=>G50(Y,J,Q));nM.exports=W50});var rM=k((iE0,aM)=>{var U50=rV(),$50=(Z,Q)=>Z.sort((Y,J)=>U50(J,Y,Q));aM.exports=$50});var f3=k((nE0,oM)=>{var B50=i9(),O50=(Z,Q,Y)=>B50(Z,Q,Y)>0;oM.exports=O50});var oV=k((sE0,tM)=>{var X50=i9(),F50=(Z,Q,Y)=>X50(Z,Q,Y)<0;tM.exports=F50});var U$=k((aE0,eM)=>{var A50=i9(),w50=(Z,Q,Y)=>A50(Z,Q,Y)===0;eM.exports=w50});var $$=k((rE0,Zj)=>{var E50=i9(),I50=(Z,Q,Y)=>E50(Z,Q,Y)!==0;Zj.exports=I50});var tV=k((oE0,Qj)=>{var C50=i9(),R50=(Z,Q,Y)=>C50(Z,Q,Y)>=0;Qj.exports=R50});var eV=k((tE0,Yj)=>{var L50=i9(),M50=(Z,Q,Y)=>L50(Z,Q,Y)<=0;Yj.exports=M50});var B$=k((eE0,Jj)=>{var j50=U$(),N50=$$(),S50=f3(),P50=tV(),T50=oV(),_50=eV(),v50=(Z,Q,Y,J)=>{switch(Q){case"===":if(typeof Z==="object")Z=Z.version;if(typeof Y==="object")Y=Y.version;return Z===Y;case"!==":if(typeof Z==="object")Z=Z.version;if(typeof Y==="object")Y=Y.version;return Z!==Y;case"":case"=":case"==":return j50(Z,Y,J);case"!=":return N50(Z,Y,J);case">":return S50(Z,Y,J);case">=":return P50(Z,Y,J);case"<":return T50(Z,Y,J);case"<=":return _50(Z,Y,J);default:throw TypeError(`Invalid operator: ${Q}`)}};Jj.exports=v50});var YD=k((ZI0,qj)=>{var b50=y8(),k50=qZ(),{safeRe:ZD,t:QD}=XQ(),y50=(Z,Q)=>{if(Z instanceof b50)return Z;if(typeof Z==="number")Z=String(Z);if(typeof Z!=="string")return null;Q=Q||{};let Y=null;if(!Q.rtl)Y=Z.match(Q.includePrerelease?ZD[QD.COERCEFULL]:ZD[QD.COERCE]);else{let z=Q.includePrerelease?ZD[QD.COERCERTLFULL]:ZD[QD.COERCERTL],H;while((H=z.exec(Z))&&(!Y||Y.index+Y[0].length!==Z.length)){if(!Y||H.index+H[0].length!==Y.index+Y[0].length)Y=H;z.lastIndex=H.index+H[1].length+H[2].length}z.lastIndex=-1}if(Y===null)return null;let J=Y[2],q=Y[3]||"0",K=Y[4]||"0",V=Q.includePrerelease&&Y[5]?`-${Y[5]}`:"",D=Q.includePrerelease&&Y[6]?`+${Y[6]}`:"";return k50(`${J}.${q}.${K}${V}${D}`,Q)};qj.exports=y50});var Dj=k((QI0,Vj)=>{class Kj{constructor(){this.max=1000,this.map=new Map}get(Z){let Q=this.map.get(Z);if(Q===void 0)return;else return this.map.delete(Z),this.map.set(Z,Q),Q}delete(Z){return this.map.delete(Z)}set(Z,Q){if(!this.delete(Z)&&Q!==void 0){if(this.map.size>=this.max){let J=this.map.keys().next().value;this.delete(J)}this.map.set(Z,Q)}return this}}Vj.exports=Kj});var n9=k((YI0,Wj)=>{var h50=/\s+/g;class g3{constructor(Z,Q){if(Q=u50(Q),Z instanceof g3)if(Z.loose===!!Q.loose&&Z.includePrerelease===!!Q.includePrerelease)return Z;else return new g3(Z.raw,Q);if(Z instanceof O$)return this.raw=Z.value,this.set=[[Z]],this.formatted=void 0,this;if(this.options=Q,this.loose=!!Q.loose,this.includePrerelease=!!Q.includePrerelease,this.raw=Z.trim().replace(h50," "),this.set=this.raw.split("||").map((Y)=>this.parseRange(Y.trim())).filter((Y)=>Y.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let Y=this.set[0];if(this.set=this.set.filter((J)=>!Hj(J[0])),this.set.length===0)this.set=[Y];else if(this.set.length>1){for(let J of this.set)if(J.length===1&&p50(J[0])){this.set=[J];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let Z=0;Z<this.set.length;Z++){if(Z>0)this.formatted+="||";let Q=this.set[Z];for(let Y=0;Y<Q.length;Y++){if(Y>0)this.formatted+=" ";this.formatted+=Q[Y].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(Z){let Y=((this.options.includePrerelease&&d50)|(this.options.loose&&l50))+":"+Z,J=zj.get(Y);if(J)return J;let q=this.options.loose,K=q?V9[s8.HYPHENRANGELOOSE]:V9[s8.HYPHENRANGE];Z=Z.replace(K,Q80(this.options.includePrerelease)),I5("hyphen replace",Z),Z=Z.replace(V9[s8.COMPARATORTRIM],g50),I5("comparator trim",Z),Z=Z.replace(V9[s8.TILDETRIM],m50),I5("tilde trim",Z),Z=Z.replace(V9[s8.CARETTRIM],c50),I5("caret trim",Z);let V=Z.split(" ").map((G)=>i50(G,this.options)).join(" ").split(/\s+/).map((G)=>Z80(G,this.options));if(q)V=V.filter((G)=>{return I5("loose invalid filter",G,this.options),!!G.match(V9[s8.COMPARATORLOOSE])});I5("range list",V);let D=new Map,z=V.map((G)=>new O$(G,this.options));for(let G of z){if(Hj(G))return[G];D.set(G.value,G)}if(D.size>1&&D.has(""))D.delete("");let H=[...D.values()];return zj.set(Y,H),H}intersects(Z,Q){if(!(Z instanceof g3))throw TypeError("a Range is required");return this.set.some((Y)=>{return Gj(Y,Q)&&Z.set.some((J)=>{return Gj(J,Q)&&Y.every((q)=>{return J.every((K)=>{return q.intersects(K,Q)})})})})}test(Z){if(!Z)return!1;if(typeof Z==="string")try{Z=new f50(Z,this.options)}catch(Q){return!1}for(let Q=0;Q<this.set.length;Q++)if(Y80(this.set[Q],Z,this.options))return!0;return!1}}Wj.exports=g3;var x50=Dj(),zj=new x50,u50=pV(),O$=m3(),I5=u3(),f50=y8(),{safeRe:V9,t:s8,comparatorTrimReplace:g50,tildeTrimReplace:m50,caretTrimReplace:c50}=XQ(),{FLAG_INCLUDE_PRERELEASE:d50,FLAG_LOOSE:l50}=x3(),Hj=(Z)=>Z.value==="<0.0.0-0",p50=(Z)=>Z.value==="",Gj=(Z,Q)=>{let Y=!0,J=Z.slice(),q=J.pop();while(Y&&J.length)Y=J.every((K)=>{return q.intersects(K,Q)}),q=J.pop();return Y},i50=(Z,Q)=>{return I5("comp",Z,Q),Z=a50(Z,Q),I5("caret",Z),Z=n50(Z,Q),I5("tildes",Z),Z=o50(Z,Q),I5("xrange",Z),Z=e50(Z,Q),I5("stars",Z),Z},a8=(Z)=>!Z||Z.toLowerCase()==="x"||Z==="*",n50=(Z,Q)=>{return Z.trim().split(/\s+/).map((Y)=>s50(Y,Q)).join(" ")},s50=(Z,Q)=>{let Y=Q.loose?V9[s8.TILDELOOSE]:V9[s8.TILDE];return Z.replace(Y,(J,q,K,V,D)=>{I5("tilde",Z,J,q,K,V,D);let z;if(a8(q))z="";else if(a8(K))z=`>=${q}.0.0 <${+q+1}.0.0-0`;else if(a8(V))z=`>=${q}.${K}.0 <${q}.${+K+1}.0-0`;else if(D)I5("replaceTilde pr",D),z=`>=${q}.${K}.${V}-${D} <${q}.${+K+1}.0-0`;else z=`>=${q}.${K}.${V} <${q}.${+K+1}.0-0`;return I5("tilde return",z),z})},a50=(Z,Q)=>{return Z.trim().split(/\s+/).map((Y)=>r50(Y,Q)).join(" ")},r50=(Z,Q)=>{I5("caret",Z,Q);let Y=Q.loose?V9[s8.CARETLOOSE]:V9[s8.CARET],J=Q.includePrerelease?"-0":"";return Z.replace(Y,(q,K,V,D,z)=>{I5("caret",Z,q,K,V,D,z);let H;if(a8(K))H="";else if(a8(V))H=`>=${K}.0.0${J} <${+K+1}.0.0-0`;else if(a8(D))if(K==="0")H=`>=${K}.${V}.0${J} <${K}.${+V+1}.0-0`;else H=`>=${K}.${V}.0${J} <${+K+1}.0.0-0`;else if(z)if(I5("replaceCaret pr",z),K==="0")if(V==="0")H=`>=${K}.${V}.${D}-${z} <${K}.${V}.${+D+1}-0`;else H=`>=${K}.${V}.${D}-${z} <${K}.${+V+1}.0-0`;else H=`>=${K}.${V}.${D}-${z} <${+K+1}.0.0-0`;else if(I5("no pr"),K==="0")if(V==="0")H=`>=${K}.${V}.${D}${J} <${K}.${V}.${+D+1}-0`;else H=`>=${K}.${V}.${D}${J} <${K}.${+V+1}.0-0`;else H=`>=${K}.${V}.${D} <${+K+1}.0.0-0`;return I5("caret return",H),H})},o50=(Z,Q)=>{return I5("replaceXRanges",Z,Q),Z.split(/\s+/).map((Y)=>t50(Y,Q)).join(" ")},t50=(Z,Q)=>{Z=Z.trim();let Y=Q.loose?V9[s8.XRANGELOOSE]:V9[s8.XRANGE];return Z.replace(Y,(J,q,K,V,D,z)=>{I5("xRange",Z,J,q,K,V,D,z);let H=a8(K),G=H||a8(V),W=G||a8(D),$=W;if(q==="="&&$)q="";if(z=Q.includePrerelease?"-0":"",H)if(q===">"||q==="<")J="<0.0.0-0";else J="*";else if(q&&$){if(G)V=0;if(D=0,q===">")if(q=">=",G)K=+K+1,V=0,D=0;else V=+V+1,D=0;else if(q==="<=")if(q="<",G)K=+K+1;else V=+V+1;if(q==="<")z="-0";J=`${q+K}.${V}.${D}${z}`}else if(G)J=`>=${K}.0.0${z} <${+K+1}.0.0-0`;else if(W)J=`>=${K}.${V}.0${z} <${K}.${+V+1}.0-0`;return I5("xRange return",J),J})},e50=(Z,Q)=>{return I5("replaceStars",Z,Q),Z.trim().replace(V9[s8.STAR],"")},Z80=(Z,Q)=>{return I5("replaceGTE0",Z,Q),Z.trim().replace(V9[Q.includePrerelease?s8.GTE0PRE:s8.GTE0],"")},Q80=(Z)=>(Q,Y,J,q,K,V,D,z,H,G,W,$)=>{if(a8(J))Y="";else if(a8(q))Y=`>=${J}.0.0${Z?"-0":""}`;else if(a8(K))Y=`>=${J}.${q}.0${Z?"-0":""}`;else if(V)Y=`>=${Y}`;else Y=`>=${Y}${Z?"-0":""}`;if(a8(H))z="";else if(a8(G))z=`<${+H+1}.0.0-0`;else if(a8(W))z=`<${H}.${+G+1}.0-0`;else if($)z=`<=${H}.${G}.${W}-${$}`;else if(Z)z=`<${H}.${G}.${+W+1}-0`;else z=`<=${z}`;return`${Y} ${z}`.trim()},Y80=(Z,Q,Y)=>{for(let J=0;J<Z.length;J++)if(!Z[J].test(Q))return!1;if(Q.prerelease.length&&!Y.includePrerelease){for(let J=0;J<Z.length;J++){if(I5(Z[J].semver),Z[J].semver===O$.ANY)continue;if(Z[J].semver.prerelease.length>0){let q=Z[J].semver;if(q.major===Q.major&&q.minor===Q.minor&&q.patch===Q.patch)return!0}}return!1}return!0}});var m3=k((JI0,Fj)=>{var c3=Symbol("SemVer ANY");class JD{static get ANY(){return c3}constructor(Z,Q){if(Q=Uj(Q),Z instanceof JD)if(Z.loose===!!Q.loose)return Z;else Z=Z.value;if(Z=Z.trim().split(/\s+/).join(" "),F$("comparator",Z,Q),this.options=Q,this.loose=!!Q.loose,this.parse(Z),this.semver===c3)this.value="";else this.value=this.operator+this.semver.version;F$("comp",this)}parse(Z){let Q=this.options.loose?$j[Bj.COMPARATORLOOSE]:$j[Bj.COMPARATOR],Y=Z.match(Q);if(!Y)throw TypeError(`Invalid comparator: ${Z}`);if(this.operator=Y[1]!==void 0?Y[1]:"",this.operator==="=")this.operator="";if(!Y[2])this.semver=c3;else this.semver=new Oj(Y[2],this.options.loose)}toString(){return this.value}test(Z){if(F$("Comparator.test",Z,this.options.loose),this.semver===c3||Z===c3)return!0;if(typeof Z==="string")try{Z=new Oj(Z,this.options)}catch(Q){return!1}return X$(Z,this.operator,this.semver,this.options)}intersects(Z,Q){if(!(Z instanceof JD))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new Xj(Z.value,Q).test(this.value)}else if(Z.operator===""){if(Z.value==="")return!0;return new Xj(this.value,Q).test(Z.semver)}if(Q=Uj(Q),Q.includePrerelease&&(this.value==="<0.0.0-0"||Z.value==="<0.0.0-0"))return!1;if(!Q.includePrerelease&&(this.value.startsWith("<0.0.0")||Z.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&Z.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&Z.operator.startsWith("<"))return!0;if(this.semver.version===Z.semver.version&&this.operator.includes("=")&&Z.operator.includes("="))return!0;if(X$(this.semver,"<",Z.semver,Q)&&this.operator.startsWith(">")&&Z.operator.startsWith("<"))return!0;if(X$(this.semver,">",Z.semver,Q)&&this.operator.startsWith("<")&&Z.operator.startsWith(">"))return!0;return!1}}Fj.exports=JD;var Uj=pV(),{safeRe:$j,t:Bj}=XQ(),X$=B$(),F$=u3(),Oj=y8(),Xj=n9()});var AQ=k((qI0,Aj)=>{var J80=n9(),q80=(Z,Q,Y)=>{try{Q=new J80(Q,Y)}catch(J){return!1}return Q.test(Z)};Aj.exports=q80});var Ej=k((KI0,wj)=>{var K80=n9(),V80=(Z,Q)=>new K80(Z,Q).set.map((Y)=>Y.map((J)=>J.value).join(" ").trim().split(" "));wj.exports=V80});var Cj=k((VI0,Ij)=>{var D80=y8(),z80=n9(),H80=(Z,Q,Y)=>{let J=null,q=null,K=null;try{K=new z80(Q,Y)}catch(V){return null}return Z.forEach((V)=>{if(K.test(V)){if(!J||q.compare(V)===-1)J=V,q=new D80(J,Y)}}),J};Ij.exports=H80});var Lj=k((DI0,Rj)=>{var G80=y8(),W80=n9(),U80=(Z,Q,Y)=>{let J=null,q=null,K=null;try{K=new W80(Q,Y)}catch(V){return null}return Z.forEach((V)=>{if(K.test(V)){if(!J||q.compare(V)===1)J=V,q=new G80(J,Y)}}),J};Rj.exports=U80});var w$=k((zI0,jj)=>{var A$=y8(),$80=n9(),Mj=f3(),B80=(Z,Q)=>{Z=new $80(Z,Q);let Y=new A$("0.0.0");if(Z.test(Y))return Y;if(Y=new A$("0.0.0-0"),Z.test(Y))return Y;Y=null;for(let J=0;J<Z.set.length;++J){let q=Z.set[J],K=null;if(q.forEach((V)=>{let D=new A$(V.semver.version);switch(V.operator){case">":if(D.prerelease.length===0)D.patch++;else D.prerelease.push(0);D.raw=D.format();case"":case">=":if(!K||Mj(D,K))K=D;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${V.operator}`)}}),K&&(!Y||Mj(Y,K)))Y=K}if(Y&&Z.test(Y))return Y;return null};jj.exports=B80});var Sj=k((HI0,Nj)=>{var O80=n9(),X80=(Z,Q)=>{try{return new O80(Z,Q).range||"*"}catch(Y){return null}};Nj.exports=X80});var qD=k((GI0,vj)=>{var F80=y8(),_j=m3(),{ANY:A80}=_j,w80=n9(),E80=AQ(),Pj=f3(),Tj=oV(),I80=eV(),C80=tV(),R80=(Z,Q,Y,J)=>{Z=new F80(Z,J),Q=new w80(Q,J);let q,K,V,D,z;switch(Y){case">":q=Pj,K=I80,V=Tj,D=">",z=">=";break;case"<":q=Tj,K=C80,V=Pj,D="<",z="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(E80(Z,Q,J))return!1;for(let H=0;H<Q.set.length;++H){let G=Q.set[H],W=null,$=null;if(G.forEach((B)=>{if(B.semver===A80)B=new _j(">=0.0.0");if(W=W||B,$=$||B,q(B.semver,W.semver,J))W=B;else if(V(B.semver,$.semver,J))$=B}),W.operator===D||W.operator===z)return!1;if((!$.operator||$.operator===D)&&K(Z,$.semver))return!1;else if($.operator===z&&V(Z,$.semver))return!1}return!0};vj.exports=R80});var kj=k((WI0,bj)=>{var L80=qD(),M80=(Z,Q,Y)=>L80(Z,Q,">",Y);bj.exports=M80});var hj=k((UI0,yj)=>{var j80=qD(),N80=(Z,Q,Y)=>j80(Z,Q,"<",Y);yj.exports=N80});var fj=k(($I0,uj)=>{var xj=n9(),S80=(Z,Q,Y)=>{return Z=new xj(Z,Y),Q=new xj(Q,Y),Z.intersects(Q,Y)};uj.exports=S80});var mj=k((BI0,gj)=>{var P80=AQ(),T80=i9();gj.exports=(Z,Q,Y)=>{let J=[],q=null,K=null,V=Z.sort((G,W)=>T80(G,W,Y));for(let G of V)if(P80(G,Q,Y)){if(K=G,!q)q=G}else{if(K)J.push([q,K]);K=null,q=null}if(q)J.push([q,null]);let D=[];for(let[G,W]of J)if(G===W)D.push(G);else if(!W&&G===V[0])D.push("*");else if(!W)D.push(`>=${G}`);else if(G===V[0])D.push(`<=${W}`);else D.push(`${G} - ${W}`);let z=D.join(" || "),H=typeof Q.raw==="string"?Q.raw:String(Q);return z.length<H.length?z:Q}});var nj=k((OI0,ij)=>{var cj=n9(),I$=m3(),{ANY:E$}=I$,d3=AQ(),C$=i9(),_80=(Z,Q,Y={})=>{if(Z===Q)return!0;Z=new cj(Z,Y),Q=new cj(Q,Y);let J=!1;Z:for(let q of Z.set){for(let K of Q.set){let V=b80(q,K,Y);if(J=J||V!==null,V)continue Z}if(J)return!1}return!0},v80=[new I$(">=0.0.0-0")],dj=[new I$(">=0.0.0")],b80=(Z,Q,Y)=>{if(Z===Q)return!0;if(Z.length===1&&Z[0].semver===E$)if(Q.length===1&&Q[0].semver===E$)return!0;else if(Y.includePrerelease)Z=v80;else Z=dj;if(Q.length===1&&Q[0].semver===E$)if(Y.includePrerelease)return!0;else Q=dj;let J=new Set,q,K;for(let B of Z)if(B.operator===">"||B.operator===">=")q=lj(q,B,Y);else if(B.operator==="<"||B.operator==="<=")K=pj(K,B,Y);else J.add(B.semver);if(J.size>1)return null;let V;if(q&&K){if(V=C$(q.semver,K.semver,Y),V>0)return null;else if(V===0&&(q.operator!==">="||K.operator!=="<="))return null}for(let B of J){if(q&&!d3(B,String(q),Y))return null;if(K&&!d3(B,String(K),Y))return null;for(let O of Q)if(!d3(B,String(O),Y))return!1;return!0}let D,z,H,G,W=K&&!Y.includePrerelease&&K.semver.prerelease.length?K.semver:!1,$=q&&!Y.includePrerelease&&q.semver.prerelease.length?q.semver:!1;if(W&&W.prerelease.length===1&&K.operator==="<"&&W.prerelease[0]===0)W=!1;for(let B of Q){if(G=G||B.operator===">"||B.operator===">=",H=H||B.operator==="<"||B.operator==="<=",q){if($){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===$.major&&B.semver.minor===$.minor&&B.semver.patch===$.patch)$=!1}if(B.operator===">"||B.operator===">="){if(D=lj(q,B,Y),D===B&&D!==q)return!1}else if(q.operator===">="&&!d3(q.semver,String(B),Y))return!1}if(K){if(W){if(B.semver.prerelease&&B.semver.prerelease.length&&B.semver.major===W.major&&B.semver.minor===W.minor&&B.semver.patch===W.patch)W=!1}if(B.operator==="<"||B.operator==="<="){if(z=pj(K,B,Y),z===B&&z!==K)return!1}else if(K.operator==="<="&&!d3(K.semver,String(B),Y))return!1}if(!B.operator&&(K||q)&&V!==0)return!1}if(q&&H&&!K&&V!==0)return!1;if(K&&G&&!q&&V!==0)return!1;if($||W)return!1;return!0},lj=(Z,Q,Y)=>{if(!Z)return Q;let J=C$(Z.semver,Q.semver,Y);return J>0?Z:J<0?Q:Q.operator===">"&&Z.operator===">="?Q:Z},pj=(Z,Q,Y)=>{if(!Z)return Q;let J=C$(Z.semver,Q.semver,Y);return J<0?Z:J>0?Q:Q.operator==="<"&&Z.operator==="<="?Q:Z};ij.exports=_80});var KD=k((XI0,rj)=>{var R$=XQ(),sj=x3(),k80=y8(),aj=W$(),y80=qZ(),h80=CM(),x80=LM(),u80=NM(),f80=TM(),g80=vM(),m80=kM(),c80=hM(),d80=uM(),l80=i9(),p80=cM(),i80=lM(),n80=rV(),s80=sM(),a80=rM(),r80=f3(),o80=oV(),t80=U$(),e80=$$(),Z90=tV(),Q90=eV(),Y90=B$(),J90=YD(),q90=m3(),K90=n9(),V90=AQ(),D90=Ej(),z90=Cj(),H90=Lj(),G90=w$(),W90=Sj(),U90=qD(),$90=kj(),B90=hj(),O90=fj(),X90=mj(),F90=nj();rj.exports={parse:y80,valid:h80,clean:x80,inc:u80,diff:f80,major:g80,minor:m80,patch:c80,prerelease:d80,compare:l80,rcompare:p80,compareLoose:i80,compareBuild:n80,sort:s80,rsort:a80,gt:r80,lt:o80,eq:t80,neq:e80,gte:Z90,lte:Q90,cmp:Y90,coerce:J90,Comparator:q90,Range:K90,satisfies:V90,toComparators:D90,maxSatisfying:z90,minSatisfying:H90,minVersion:G90,validRange:W90,outside:U90,gtr:$90,ltr:B90,intersects:O90,simplifyRange:X90,subset:F90,SemVer:k80,re:R$.re,src:R$.src,tokens:R$.t,SEMVER_SPEC_VERSION:sj.SEMVER_SPEC_VERSION,RELEASE_TYPES:sj.RELEASE_TYPES,compareIdentifiers:aj.compareIdentifiers,rcompareIdentifiers:aj.rcompareIdentifiers}});var j$=k((L$,M$)=>{(function(Z,Q,Y){if(typeof L$==="object")M$.exports=Y(),M$.exports.default=Y();else if(typeof define==="function"&&define.amd)define(Y);else Q[Z]=Y()})("slugify",L$,function(){var Z=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}'),Q=JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');function Y(J,q){if(typeof J!=="string")throw Error("slugify: string argument expected");q=typeof q==="string"?{replacement:q}:q||{};var K=Q[q.locale]||{},V=q.replacement===void 0?"-":q.replacement,D=q.trim===void 0?!0:q.trim,z=J.normalize().split("").reduce(function(H,G){var W=K[G];if(W===void 0)W=Z[G];if(W===void 0)W=G;if(W===V)W=" ";return H+W.replace(q.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");if(q.strict)z=z.replace(/[^A-Za-z0-9\s]/g,"");if(D)z=z.trim();if(z=z.replace(/\s+/g,V),q.lower)z=z.toLowerCase();return z}return Y.extend=function(J){Object.assign(Z,J)},Y})});var KZ=k((VD)=>{Object.defineProperty(VD,"__esModule",{value:!0});VD.ConfigError=void 0;class oj extends Error{name="ConfigError";isConfigError=!0;constructor(Z,Q,Y){super(Y?`${Z}
35
- └─ Cause: ${Y.name}: ${Y.message}`:Z);this.code=Q,this.cause=Y}}VD.ConfigError=oj});var ej=k((AI0,N$)=>{var tj=require("module"),A90=require("path");N$.exports=function(Q,Y,J){if(typeof Y==="object")J=Y,Y=void 0;if(J=J||{},Y=Y||"",J.appendPaths=J.appendPaths||[],J.prependPaths=J.prependPaths||[],typeof Q!=="string")throw Error("code must be a string, not "+typeof Q);var q=tj._nodeModulePaths(A90.dirname(Y)),K=N$.parent,V=new tj(Y,K);V.filename=Y,V.paths=[].concat(J.prependPaths).concat(q).concat(J.appendPaths),V._compile(Q,Y);var D=V.exports;return K&&K.children&&K.children.splice(K.children.indexOf(V),1),D}});var U8=k((S$)=>{Object.defineProperty(S$,"__esModule",{value:!0});var ZN;(function(Z){Z[Z.NONE=0]="NONE";let Y=1;Z[Z._abstract=Y]="_abstract";let J=Y+1;Z[Z._accessor=J]="_accessor";let q=J+1;Z[Z._as=q]="_as";let K=q+1;Z[Z._assert=K]="_assert";let V=K+1;Z[Z._asserts=V]="_asserts";let D=V+1;Z[Z._async=D]="_async";let z=D+1;Z[Z._await=z]="_await";let H=z+1;Z[Z._checks=H]="_checks";let G=H+1;Z[Z._constructor=G]="_constructor";let W=G+1;Z[Z._declare=W]="_declare";let $=W+1;Z[Z._enum=$]="_enum";let B=$+1;Z[Z._exports=B]="_exports";let O=B+1;Z[Z._from=O]="_from";let A=O+1;Z[Z._get=A]="_get";let w=A+1;Z[Z._global=w]="_global";let E=w+1;Z[Z._implements=E]="_implements";let S=E+1;Z[Z._infer=S]="_infer";let X=S+1;Z[Z._interface=X]="_interface";let F=X+1;Z[Z._is=F]="_is";let U=F+1;Z[Z._keyof=U]="_keyof";let I=U+1;Z[Z._mixins=I]="_mixins";let P=I+1;Z[Z._module=P]="_module";let L=P+1;Z[Z._namespace=L]="_namespace";let R=L+1;Z[Z._of=R]="_of";let C=R+1;Z[Z._opaque=C]="_opaque";let N=C+1;Z[Z._out=N]="_out";let j=N+1;Z[Z._override=j]="_override";let _=j+1;Z[Z._private=_]="_private";let v=_+1;Z[Z._protected=v]="_protected";let b=v+1;Z[Z._proto=b]="_proto";let T=b+1;Z[Z._public=T]="_public";let u=T+1;Z[Z._readonly=u]="_readonly";let x=u+1;Z[Z._require=x]="_require";let g=x+1;Z[Z._satisfies=g]="_satisfies";let c=g+1;Z[Z._set=c]="_set";let p=c+1;Z[Z._static=p]="_static";let Y0=p+1;Z[Z._symbol=Y0]="_symbol";let o=Y0+1;Z[Z._type=o]="_type";let D0=o+1;Z[Z._unique=D0]="_unique";let C0=D0+1;Z[Z._using=C0]="_using"})(ZN||(S$.ContextualKeyword=ZN={}))});var k1=k((DD)=>{Object.defineProperty(DD,"__esModule",{value:!0});var c0;(function(Z){Z[Z.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let Y=16;Z[Z.IS_KEYWORD=Y]="IS_KEYWORD";let J=32;Z[Z.IS_ASSIGN=J]="IS_ASSIGN";let q=64;Z[Z.IS_RIGHT_ASSOCIATIVE=q]="IS_RIGHT_ASSOCIATIVE";let K=128;Z[Z.IS_PREFIX=K]="IS_PREFIX";let V=256;Z[Z.IS_POSTFIX=V]="IS_POSTFIX";let D=512;Z[Z.IS_EXPRESSION_START=D]="IS_EXPRESSION_START";let z=512;Z[Z.num=z]="num";let H=1536;Z[Z.bigint=H]="bigint";let G=2560;Z[Z.decimal=G]="decimal";let W=3584;Z[Z.regexp=W]="regexp";let $=4608;Z[Z.string=$]="string";let B=5632;Z[Z.name=B]="name";let O=6144;Z[Z.eof=O]="eof";let A=7680;Z[Z.bracketL=A]="bracketL";let w=8192;Z[Z.bracketR=w]="bracketR";let E=9728;Z[Z.braceL=E]="braceL";let S=10752;Z[Z.braceBarL=S]="braceBarL";let X=11264;Z[Z.braceR=X]="braceR";let F=12288;Z[Z.braceBarR=F]="braceBarR";let U=13824;Z[Z.parenL=U]="parenL";let I=14336;Z[Z.parenR=I]="parenR";let P=15360;Z[Z.comma=P]="comma";let L=16384;Z[Z.semi=L]="semi";let R=17408;Z[Z.colon=R]="colon";let C=18432;Z[Z.doubleColon=C]="doubleColon";let N=19456;Z[Z.dot=N]="dot";let j=20480;Z[Z.question=j]="question";let _=21504;Z[Z.questionDot=_]="questionDot";let v=22528;Z[Z.arrow=v]="arrow";let b=23552;Z[Z.template=b]="template";let T=24576;Z[Z.ellipsis=T]="ellipsis";let u=25600;Z[Z.backQuote=u]="backQuote";let x=27136;Z[Z.dollarBraceL=x]="dollarBraceL";let g=27648;Z[Z.at=g]="at";let c=29184;Z[Z.hash=c]="hash";let p=29728;Z[Z.eq=p]="eq";let Y0=30752;Z[Z.assign=Y0]="assign";let o=32640;Z[Z.preIncDec=o]="preIncDec";let D0=33664;Z[Z.postIncDec=D0]="postIncDec";let C0=34432;Z[Z.bang=C0]="bang";let m=35456;Z[Z.tilde=m]="tilde";let y=35841;Z[Z.pipeline=y]="pipeline";let l=36866;Z[Z.nullishCoalescing=l]="nullishCoalescing";let n=37890;Z[Z.logicalOR=n]="logicalOR";let j0=38915;Z[Z.logicalAND=j0]="logicalAND";let a0=39940;Z[Z.bitwiseOR=a0]="bitwiseOR";let s=40965;Z[Z.bitwiseXOR=s]="bitwiseXOR";let Z0=41990;Z[Z.bitwiseAND=Z0]="bitwiseAND";let H0=43015;Z[Z.equality=H0]="equality";let S0=44040;Z[Z.lessThan=S0]="lessThan";let G0=45064;Z[Z.greaterThan=G0]="greaterThan";let F0=46088;Z[Z.relationalOrEqual=F0]="relationalOrEqual";let N0=47113;Z[Z.bitShiftL=N0]="bitShiftL";let T0=48137;Z[Z.bitShiftR=T0]="bitShiftR";let e0=49802;Z[Z.plus=e0]="plus";let r0=50826;Z[Z.minus=r0]="minus";let Q1=51723;Z[Z.modulo=Q1]="modulo";let B0=52235;Z[Z.star=B0]="star";let P0=53259;Z[Z.slash=P0]="slash";let b0=54348;Z[Z.exponent=b0]="exponent";let W0=55296;Z[Z.jsxName=W0]="jsxName";let i0=56320;Z[Z.jsxText=i0]="jsxText";let M=57344;Z[Z.jsxEmptyText=M]="jsxEmptyText";let Q0=58880;Z[Z.jsxTagStart=Q0]="jsxTagStart";let U0=59392;Z[Z.jsxTagEnd=U0]="jsxTagEnd";let L0=60928;Z[Z.typeParameterStart=L0]="typeParameterStart";let O0=61440;Z[Z.nonNullAssertion=O0]="nonNullAssertion";let g0=62480;Z[Z._break=g0]="_break";let u0=63504;Z[Z._case=u0]="_case";let Z1=64528;Z[Z._catch=Z1]="_catch";let G1=65552;Z[Z._continue=G1]="_continue";let q0=66576;Z[Z._debugger=q0]="_debugger";let E0=67600;Z[Z._default=E0]="_default";let A0=68624;Z[Z._do=A0]="_do";let d0=69648;Z[Z._else=d0]="_else";let f=70672;Z[Z._finally=f]="_finally";let e=71696;Z[Z._for=e]="_for";let w0=73232;Z[Z._function=w0]="_function";let d=73744;Z[Z._if=d]="_if";let $0=74768;Z[Z._return=$0]="_return";let x0=75792;Z[Z._switch=x0]="_switch";let t0=77456;Z[Z._throw=t0]="_throw";let n0=77840;Z[Z._try=n0]="_try";let _0=78864;Z[Z._var=_0]="_var";let H1=79888;Z[Z._let=H1]="_let";let w1=80912;Z[Z._const=w1]="_const";let y1=81936;Z[Z._while=y1]="_while";let N1=82960;Z[Z._with=N1]="_with";let T8=84496;Z[Z._new=T8]="_new";let Z5=85520;Z[Z._this=Z5]="_this";let Q5=86544;Z[Z._super=Q5]="_super";let r6=87568;Z[Z._class=r6]="_class";let m4=88080;Z[Z._extends=m4]="_extends";let c4=89104;Z[Z._export=c4]="_export";let o6=90640;Z[Z._import=o6]="_import";let C9=91664;Z[Z._yield=C9]="_yield";let M1=92688;Z[Z._null=M1]="_null";let s7=93712;Z[Z._true=s7]="_true";let t6=94736;Z[Z._false=t6]="_false";let e6=95256;Z[Z._in=e6]="_in";let Z4=96280;Z[Z._instanceof=Z4]="_instanceof";let rZ=97936;Z[Z._typeof=rZ]="_typeof";let oZ=98960;Z[Z._void=oZ]="_void";let uK=99984;Z[Z._delete=uK]="_delete";let hW=100880;Z[Z._async=hW]="_async";let xW=101904;Z[Z._get=xW]="_get";let uW=102928;Z[Z._set=uW]="_set";let fW=103952;Z[Z._declare=fW]="_declare";let tZ=104976;Z[Z._readonly=tZ]="_readonly";let fK=106000;Z[Z._abstract=fK]="_abstract";let gW=107024;Z[Z._static=gW]="_static";let gK=107536;Z[Z._public=gK]="_public";let mW=108560;Z[Z._private=mW]="_private";let cW=109584;Z[Z._protected=cW]="_protected";let dW=110608;Z[Z._override=dW]="_override";let lW=112144;Z[Z._as=lW]="_as";let mK=113168;Z[Z._enum=mK]="_enum";let pW=114192;Z[Z._type=pW]="_type";let iW=115216;Z[Z._implements=iW]="_implements"})(c0||(DD.TokenType=c0={}));function w90(Z){switch(Z){case c0.num:return"num";case c0.bigint:return"bigint";case c0.decimal:return"decimal";case c0.regexp:return"regexp";case c0.string:return"string";case c0.name:return"name";case c0.eof:return"eof";case c0.bracketL:return"[";case c0.bracketR:return"]";case c0.braceL:return"{";case c0.braceBarL:return"{|";case c0.braceR:return"}";case c0.braceBarR:return"|}";case c0.parenL:return"(";case c0.parenR:return")";case c0.comma:return",";case c0.semi:return";";case c0.colon:return":";case c0.doubleColon:return"::";case c0.dot:return".";case c0.question:return"?";case c0.questionDot:return"?.";case c0.arrow:return"=>";case c0.template:return"template";case c0.ellipsis:return"...";case c0.backQuote:return"`";case c0.dollarBraceL:return"${";case c0.at:return"@";case c0.hash:return"#";case c0.eq:return"=";case c0.assign:return"_=";case c0.preIncDec:return"++/--";case c0.postIncDec:return"++/--";case c0.bang:return"!";case c0.tilde:return"~";case c0.pipeline:return"|>";case c0.nullishCoalescing:return"??";case c0.logicalOR:return"||";case c0.logicalAND:return"&&";case c0.bitwiseOR:return"|";case c0.bitwiseXOR:return"^";case c0.bitwiseAND:return"&";case c0.equality:return"==/!=";case c0.lessThan:return"<";case c0.greaterThan:return">";case c0.relationalOrEqual:return"<=/>=";case c0.bitShiftL:return"<<";case c0.bitShiftR:return">>/>>>";case c0.plus:return"+";case c0.minus:return"-";case c0.modulo:return"%";case c0.star:return"*";case c0.slash:return"/";case c0.exponent:return"**";case c0.jsxName:return"jsxName";case c0.jsxText:return"jsxText";case c0.jsxEmptyText:return"jsxEmptyText";case c0.jsxTagStart:return"jsxTagStart";case c0.jsxTagEnd:return"jsxTagEnd";case c0.typeParameterStart:return"typeParameterStart";case c0.nonNullAssertion:return"nonNullAssertion";case c0._break:return"break";case c0._case:return"case";case c0._catch:return"catch";case c0._continue:return"continue";case c0._debugger:return"debugger";case c0._default:return"default";case c0._do:return"do";case c0._else:return"else";case c0._finally:return"finally";case c0._for:return"for";case c0._function:return"function";case c0._if:return"if";case c0._return:return"return";case c0._switch:return"switch";case c0._throw:return"throw";case c0._try:return"try";case c0._var:return"var";case c0._let:return"let";case c0._const:return"const";case c0._while:return"while";case c0._with:return"with";case c0._new:return"new";case c0._this:return"this";case c0._super:return"super";case c0._class:return"class";case c0._extends:return"extends";case c0._export:return"export";case c0._import:return"import";case c0._yield:return"yield";case c0._null:return"null";case c0._true:return"true";case c0._false:return"false";case c0._in:return"in";case c0._instanceof:return"instanceof";case c0._typeof:return"typeof";case c0._void:return"void";case c0._delete:return"delete";case c0._async:return"async";case c0._get:return"get";case c0._set:return"set";case c0._declare:return"declare";case c0._readonly:return"readonly";case c0._abstract:return"abstract";case c0._static:return"static";case c0._public:return"public";case c0._private:return"private";case c0._protected:return"protected";case c0._override:return"override";case c0._as:return"as";case c0._enum:return"enum";case c0._type:return"type";case c0._implements:return"implements";default:return""}}DD.formatTokenType=w90});var zD=k((l3)=>{Object.defineProperty(l3,"__esModule",{value:!0});var E90=U8(),I90=k1();class QN{constructor(Z,Q,Y){this.startTokenIndex=Z,this.endTokenIndex=Q,this.isFunctionScope=Y}}l3.Scope=QN;class P${constructor(Z,Q,Y,J,q,K,V,D,z,H,G,W,$){this.potentialArrowAt=Z,this.noAnonFunctionType=Q,this.inDisallowConditionalTypesContext=Y,this.tokensLength=J,this.scopesLength=q,this.pos=K,this.type=V,this.contextualKeyword=D,this.start=z,this.end=H,this.isType=G,this.scopeDepth=W,this.error=$}}l3.StateSnapshot=P$;class r8{constructor(){r8.prototype.__init.call(this),r8.prototype.__init2.call(this),r8.prototype.__init3.call(this),r8.prototype.__init4.call(this),r8.prototype.__init5.call(this),r8.prototype.__init6.call(this),r8.prototype.__init7.call(this),r8.prototype.__init8.call(this),r8.prototype.__init9.call(this),r8.prototype.__init10.call(this),r8.prototype.__init11.call(this),r8.prototype.__init12.call(this),r8.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=I90.TokenType.eof}__init8(){this.contextualKeyword=E90.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new P$(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(Z){this.potentialArrowAt=Z.potentialArrowAt,this.noAnonFunctionType=Z.noAnonFunctionType,this.inDisallowConditionalTypesContext=Z.inDisallowConditionalTypesContext,this.tokens.length=Z.tokensLength,this.scopes.length=Z.scopesLength,this.pos=Z.pos,this.type=Z.type,this.contextualKeyword=Z.contextualKeyword,this.start=Z.start,this.end=Z.end,this.isType=Z.isType,this.scopeDepth=Z.scopeDepth,this.error=Z.error}}l3.default=r8});var M9=k((HD)=>{Object.defineProperty(HD,"__esModule",{value:!0});var r4;(function(Z){Z[Z.backSpace=8]="backSpace";let Y=10;Z[Z.lineFeed=Y]="lineFeed";let J=9;Z[Z.tab=J]="tab";let q=13;Z[Z.carriageReturn=q]="carriageReturn";let K=14;Z[Z.shiftOut=K]="shiftOut";let V=32;Z[Z.space=V]="space";let D=33;Z[Z.exclamationMark=D]="exclamationMark";let z=34;Z[Z.quotationMark=z]="quotationMark";let H=35;Z[Z.numberSign=H]="numberSign";let G=36;Z[Z.dollarSign=G]="dollarSign";let W=37;Z[Z.percentSign=W]="percentSign";let $=38;Z[Z.ampersand=$]="ampersand";let B=39;Z[Z.apostrophe=B]="apostrophe";let O=40;Z[Z.leftParenthesis=O]="leftParenthesis";let A=41;Z[Z.rightParenthesis=A]="rightParenthesis";let w=42;Z[Z.asterisk=w]="asterisk";let E=43;Z[Z.plusSign=E]="plusSign";let S=44;Z[Z.comma=S]="comma";let X=45;Z[Z.dash=X]="dash";let F=46;Z[Z.dot=F]="dot";let U=47;Z[Z.slash=U]="slash";let I=48;Z[Z.digit0=I]="digit0";let P=49;Z[Z.digit1=P]="digit1";let L=50;Z[Z.digit2=L]="digit2";let R=51;Z[Z.digit3=R]="digit3";let C=52;Z[Z.digit4=C]="digit4";let N=53;Z[Z.digit5=N]="digit5";let j=54;Z[Z.digit6=j]="digit6";let _=55;Z[Z.digit7=_]="digit7";let v=56;Z[Z.digit8=v]="digit8";let b=57;Z[Z.digit9=b]="digit9";let T=58;Z[Z.colon=T]="colon";let u=59;Z[Z.semicolon=u]="semicolon";let x=60;Z[Z.lessThan=x]="lessThan";let g=61;Z[Z.equalsTo=g]="equalsTo";let c=62;Z[Z.greaterThan=c]="greaterThan";let p=63;Z[Z.questionMark=p]="questionMark";let Y0=64;Z[Z.atSign=Y0]="atSign";let o=65;Z[Z.uppercaseA=o]="uppercaseA";let D0=66;Z[Z.uppercaseB=D0]="uppercaseB";let C0=67;Z[Z.uppercaseC=C0]="uppercaseC";let m=68;Z[Z.uppercaseD=m]="uppercaseD";let y=69;Z[Z.uppercaseE=y]="uppercaseE";let l=70;Z[Z.uppercaseF=l]="uppercaseF";let n=71;Z[Z.uppercaseG=n]="uppercaseG";let j0=72;Z[Z.uppercaseH=j0]="uppercaseH";let a0=73;Z[Z.uppercaseI=a0]="uppercaseI";let s=74;Z[Z.uppercaseJ=s]="uppercaseJ";let Z0=75;Z[Z.uppercaseK=Z0]="uppercaseK";let H0=76;Z[Z.uppercaseL=H0]="uppercaseL";let S0=77;Z[Z.uppercaseM=S0]="uppercaseM";let G0=78;Z[Z.uppercaseN=G0]="uppercaseN";let F0=79;Z[Z.uppercaseO=F0]="uppercaseO";let N0=80;Z[Z.uppercaseP=N0]="uppercaseP";let T0=81;Z[Z.uppercaseQ=T0]="uppercaseQ";let e0=82;Z[Z.uppercaseR=e0]="uppercaseR";let r0=83;Z[Z.uppercaseS=r0]="uppercaseS";let Q1=84;Z[Z.uppercaseT=Q1]="uppercaseT";let B0=85;Z[Z.uppercaseU=B0]="uppercaseU";let P0=86;Z[Z.uppercaseV=P0]="uppercaseV";let b0=87;Z[Z.uppercaseW=b0]="uppercaseW";let W0=88;Z[Z.uppercaseX=W0]="uppercaseX";let i0=89;Z[Z.uppercaseY=i0]="uppercaseY";let M=90;Z[Z.uppercaseZ=M]="uppercaseZ";let Q0=91;Z[Z.leftSquareBracket=Q0]="leftSquareBracket";let U0=92;Z[Z.backslash=U0]="backslash";let L0=93;Z[Z.rightSquareBracket=L0]="rightSquareBracket";let O0=94;Z[Z.caret=O0]="caret";let g0=95;Z[Z.underscore=g0]="underscore";let u0=96;Z[Z.graveAccent=u0]="graveAccent";let Z1=97;Z[Z.lowercaseA=Z1]="lowercaseA";let G1=98;Z[Z.lowercaseB=G1]="lowercaseB";let q0=99;Z[Z.lowercaseC=q0]="lowercaseC";let E0=100;Z[Z.lowercaseD=E0]="lowercaseD";let A0=101;Z[Z.lowercaseE=A0]="lowercaseE";let d0=102;Z[Z.lowercaseF=d0]="lowercaseF";let f=103;Z[Z.lowercaseG=f]="lowercaseG";let e=104;Z[Z.lowercaseH=e]="lowercaseH";let w0=105;Z[Z.lowercaseI=w0]="lowercaseI";let d=106;Z[Z.lowercaseJ=d]="lowercaseJ";let $0=107;Z[Z.lowercaseK=$0]="lowercaseK";let x0=108;Z[Z.lowercaseL=x0]="lowercaseL";let t0=109;Z[Z.lowercaseM=t0]="lowercaseM";let n0=110;Z[Z.lowercaseN=n0]="lowercaseN";let _0=111;Z[Z.lowercaseO=_0]="lowercaseO";let H1=112;Z[Z.lowercaseP=H1]="lowercaseP";let w1=113;Z[Z.lowercaseQ=w1]="lowercaseQ";let y1=114;Z[Z.lowercaseR=y1]="lowercaseR";let N1=115;Z[Z.lowercaseS=N1]="lowercaseS";let T8=116;Z[Z.lowercaseT=T8]="lowercaseT";let Z5=117;Z[Z.lowercaseU=Z5]="lowercaseU";let Q5=118;Z[Z.lowercaseV=Q5]="lowercaseV";let r6=119;Z[Z.lowercaseW=r6]="lowercaseW";let m4=120;Z[Z.lowercaseX=m4]="lowercaseX";let c4=121;Z[Z.lowercaseY=c4]="lowercaseY";let o6=122;Z[Z.lowercaseZ=o6]="lowercaseZ";let C9=123;Z[Z.leftCurlyBrace=C9]="leftCurlyBrace";let M1=124;Z[Z.verticalBar=M1]="verticalBar";let s7=125;Z[Z.rightCurlyBrace=s7]="rightCurlyBrace";let t6=126;Z[Z.tilde=t6]="tilde";let e6=160;Z[Z.nonBreakingSpace=e6]="nonBreakingSpace";let Z4=5760;Z[Z.oghamSpaceMark=Z4]="oghamSpaceMark";let rZ=8232;Z[Z.lineSeparator=rZ]="lineSeparator";let oZ=8233;Z[Z.paragraphSeparator=oZ]="paragraphSeparator"})(r4||(HD.charCodes=r4={}));function C90(Z){return Z>=r4.digit0&&Z<=r4.digit9||Z>=r4.lowercaseA&&Z<=r4.lowercaseF||Z>=r4.uppercaseA&&Z<=r4.uppercaseF}HD.isDigit=C90});var j9=k((x5)=>{Object.defineProperty(x5,"__esModule",{value:!0});function R90(Z){return Z&&Z.__esModule?Z:{default:Z}}var L90=zD(),M90=R90(L90),j90=M9();x5.isJSXEnabled;x5.isTypeScriptEnabled;x5.isFlowEnabled;x5.state;x5.input;x5.nextContextId;function N90(){return x5.nextContextId++}x5.getNextContextId=N90;function S90(Z){if("pos"in Z){let Q=YN(Z.pos);Z.message+=` (${Q.line}:${Q.column})`,Z.loc=Q}return Z}x5.augmentError=S90;class T${constructor(Z,Q){this.line=Z,this.column=Q}}x5.Loc=T$;function YN(Z){let Q=1,Y=1;for(let J=0;J<Z;J++)if(x5.input.charCodeAt(J)===j90.charCodes.lineFeed)Q++,Y=1;else Y++;return new T$(Q,Y)}x5.locationForIndex=YN;function P90(Z,Q,Y,J){x5.input=Z,x5.state=new M90.default,x5.nextContextId=1,x5.isJSXEnabled=Q,x5.isTypeScriptEnabled=Y,x5.isFlowEnabled=J}x5.initParser=P90});var t4=k((S9)=>{Object.defineProperty(S9,"__esModule",{value:!0});var o4=Z8(),VZ=k1(),GD=M9(),N9=j9();function T90(Z){return N9.state.contextualKeyword===Z}S9.isContextual=T90;function _90(Z){let Q=o4.lookaheadTypeAndKeyword.call(void 0);return Q.type===VZ.TokenType.name&&Q.contextualKeyword===Z}S9.isLookaheadContextual=_90;function JN(Z){return N9.state.contextualKeyword===Z&&o4.eat.call(void 0,VZ.TokenType.name)}S9.eatContextual=JN;function v90(Z){if(!JN(Z))WD()}S9.expectContextual=v90;function qN(){return o4.match.call(void 0,VZ.TokenType.eof)||o4.match.call(void 0,VZ.TokenType.braceR)||KN()}S9.canInsertSemicolon=qN;function KN(){let Z=N9.state.tokens[N9.state.tokens.length-1],Q=Z?Z.end:0;for(let Y=Q;Y<N9.state.start;Y++){let J=N9.input.charCodeAt(Y);if(J===GD.charCodes.lineFeed||J===GD.charCodes.carriageReturn||J===8232||J===8233)return!0}return!1}S9.hasPrecedingLineBreak=KN;function b90(){let Z=o4.nextTokenStart.call(void 0);for(let Q=N9.state.end;Q<Z;Q++){let Y=N9.input.charCodeAt(Q);if(Y===GD.charCodes.lineFeed||Y===GD.charCodes.carriageReturn||Y===8232||Y===8233)return!0}return!1}S9.hasFollowingLineBreak=b90;function VN(){return o4.eat.call(void 0,VZ.TokenType.semi)||qN()}S9.isLineTerminator=VN;function k90(){if(!VN())WD('Unexpected token, expected ";"')}S9.semicolon=k90;function y90(Z){if(!o4.eat.call(void 0,Z))WD(`Unexpected token, expected "${VZ.formatTokenType.call(void 0,Z)}"`)}S9.expect=y90;function WD(Z="Unexpected token",Q=N9.state.start){if(N9.state.error)return;let Y=SyntaxError(Z);Y.pos=Q,N9.state.error=Y,N9.state.pos=N9.input.length,o4.finishToken.call(void 0,VZ.TokenType.eof)}S9.unexpected=WD});var v$=k((DZ)=>{Object.defineProperty(DZ,"__esModule",{value:!0});var _$=M9(),h90=[9,11,12,_$.charCodes.space,_$.charCodes.nonBreakingSpace,_$.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];DZ.WHITESPACE_CHARS=h90;var x90=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;DZ.skipWhiteSpace=x90;var u90=new Uint8Array(65536);DZ.IS_WHITESPACE=u90;for(let Z of DZ.WHITESPACE_CHARS)DZ.IS_WHITESPACE[Z]=1});var wQ=k((j7)=>{Object.defineProperty(j7,"__esModule",{value:!0});var DN=M9(),f90=v$();function g90(Z){if(Z<48)return Z===36;if(Z<58)return!0;if(Z<65)return!1;if(Z<91)return!0;if(Z<97)return Z===95;if(Z<123)return!0;if(Z<128)return!1;throw Error("Should not be called with non-ASCII char code.")}var m90=new Uint8Array(65536);j7.IS_IDENTIFIER_CHAR=m90;for(let Z=0;Z<128;Z++)j7.IS_IDENTIFIER_CHAR[Z]=g90(Z)?1:0;for(let Z=128;Z<65536;Z++)j7.IS_IDENTIFIER_CHAR[Z]=1;for(let Z of f90.WHITESPACE_CHARS)j7.IS_IDENTIFIER_CHAR[Z]=0;j7.IS_IDENTIFIER_CHAR[8232]=0;j7.IS_IDENTIFIER_CHAR[8233]=0;var c90=j7.IS_IDENTIFIER_CHAR.slice();j7.IS_IDENTIFIER_START=c90;for(let Z=DN.charCodes.digit0;Z<=DN.charCodes.digit9;Z++)j7.IS_IDENTIFIER_START[Z]=0});var zN=k((b$)=>{Object.defineProperty(b$,"__esModule",{value:!0});var v1=U8(),h1=k1(),d90=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(h1.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(h1.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(h1.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(h1.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(h1.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(h1.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(h1.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,v1.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,v1.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(h1.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);b$.READ_WORD_TREE=d90});var UN=k((y$)=>{Object.defineProperty(y$,"__esModule",{value:!0});var N7=j9(),e4=M9(),HN=wQ(),k$=Z8(),GN=zN(),WN=k1();function l90(){let Z=0,Q=0,Y=N7.state.pos;while(Y<N7.input.length){if(Q=N7.input.charCodeAt(Y),Q<e4.charCodes.lowercaseA||Q>e4.charCodes.lowercaseZ)break;let q=GN.READ_WORD_TREE[Z+(Q-e4.charCodes.lowercaseA)+1];if(q===-1)break;else Z=q,Y++}let J=GN.READ_WORD_TREE[Z];if(J>-1&&!HN.IS_IDENTIFIER_CHAR[Q]){if(N7.state.pos=Y,J&1)k$.finishToken.call(void 0,J>>>1);else k$.finishToken.call(void 0,WN.TokenType.name,J>>>1);return}while(Y<N7.input.length){let q=N7.input.charCodeAt(Y);if(HN.IS_IDENTIFIER_CHAR[q])Y++;else if(q===e4.charCodes.backslash){if(Y+=2,N7.input.charCodeAt(Y)===e4.charCodes.leftCurlyBrace){while(Y<N7.input.length&&N7.input.charCodeAt(Y)!==e4.charCodes.rightCurlyBrace)Y++;Y++}}else if(q===e4.charCodes.atSign&&N7.input.charCodeAt(Y+1)===e4.charCodes.atSign)Y+=2;else break}N7.state.pos=Y,k$.finishToken.call(void 0,WN.TokenType.name)}y$.default=l90});var Z8=k((o1)=>{Object.defineProperty(o1,"__esModule",{value:!0});function p90(Z){return Z&&Z.__esModule?Z:{default:Z}}var K0=j9(),EQ=t4(),v0=M9(),BN=wQ(),x$=v$(),i90=U8(),n90=UN(),s90=p90(n90),J1=k1(),R5;(function(Z){Z[Z.Access=0]="Access";let Y=1;Z[Z.ExportAccess=Y]="ExportAccess";let J=Y+1;Z[Z.TopLevelDeclaration=J]="TopLevelDeclaration";let q=J+1;Z[Z.FunctionScopedDeclaration=q]="FunctionScopedDeclaration";let K=q+1;Z[Z.BlockScopedDeclaration=K]="BlockScopedDeclaration";let V=K+1;Z[Z.ObjectShorthandTopLevelDeclaration=V]="ObjectShorthandTopLevelDeclaration";let D=V+1;Z[Z.ObjectShorthandFunctionScopedDeclaration=D]="ObjectShorthandFunctionScopedDeclaration";let z=D+1;Z[Z.ObjectShorthandBlockScopedDeclaration=z]="ObjectShorthandBlockScopedDeclaration";let H=z+1;Z[Z.ObjectShorthand=H]="ObjectShorthand";let G=H+1;Z[Z.ImportDeclaration=G]="ImportDeclaration";let W=G+1;Z[Z.ObjectKey=W]="ObjectKey";let $=W+1;Z[Z.ImportAccess=$]="ImportAccess"})(R5||(o1.IdentifierRole=R5={}));var $N;(function(Z){Z[Z.NoChildren=0]="NoChildren";let Y=1;Z[Z.OneChild=Y]="OneChild";let J=Y+1;Z[Z.StaticChildren=J]="StaticChildren";let q=J+1;Z[Z.KeyAfterPropSpread=q]="KeyAfterPropSpread"})($N||(o1.JSXRole=$N={}));function a90(Z){let Q=Z.identifierRole;return Q===R5.TopLevelDeclaration||Q===R5.FunctionScopedDeclaration||Q===R5.BlockScopedDeclaration||Q===R5.ObjectShorthandTopLevelDeclaration||Q===R5.ObjectShorthandFunctionScopedDeclaration||Q===R5.ObjectShorthandBlockScopedDeclaration}o1.isDeclaration=a90;function r90(Z){let Q=Z.identifierRole;return Q===R5.FunctionScopedDeclaration||Q===R5.BlockScopedDeclaration||Q===R5.ObjectShorthandFunctionScopedDeclaration||Q===R5.ObjectShorthandBlockScopedDeclaration}o1.isNonTopLevelDeclaration=r90;function o90(Z){let Q=Z.identifierRole;return Q===R5.TopLevelDeclaration||Q===R5.ObjectShorthandTopLevelDeclaration||Q===R5.ImportDeclaration}o1.isTopLevelDeclaration=o90;function t90(Z){let Q=Z.identifierRole;return Q===R5.TopLevelDeclaration||Q===R5.BlockScopedDeclaration||Q===R5.ObjectShorthandTopLevelDeclaration||Q===R5.ObjectShorthandBlockScopedDeclaration}o1.isBlockScopedDeclaration=t90;function e90(Z){let Q=Z.identifierRole;return Q===R5.FunctionScopedDeclaration||Q===R5.ObjectShorthandFunctionScopedDeclaration}o1.isFunctionScopedDeclaration=e90;function Z70(Z){return Z.identifierRole===R5.ObjectShorthandTopLevelDeclaration||Z.identifierRole===R5.ObjectShorthandBlockScopedDeclaration||Z.identifierRole===R5.ObjectShorthandFunctionScopedDeclaration}o1.isObjectShorthandDeclaration=Z70;class UD{constructor(){this.type=K0.state.type,this.contextualKeyword=K0.state.contextualKeyword,this.start=K0.state.start,this.end=K0.state.end,this.scopeDepth=K0.state.scopeDepth,this.isType=K0.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}o1.Token=UD;function $D(){K0.state.tokens.push(new UD),AN()}o1.next=$D;function Q70(){K0.state.tokens.push(new UD),K0.state.start=K0.state.pos,L70()}o1.nextTemplateToken=Q70;function Y70(){if(K0.state.type===J1.TokenType.assign)--K0.state.pos;I70()}o1.retokenizeSlashAsRegex=Y70;function J70(Z){for(let Y=K0.state.tokens.length-Z;Y<K0.state.tokens.length;Y++)K0.state.tokens[Y].isType=!0;let Q=K0.state.isType;return K0.state.isType=!0,Q}o1.pushTypeContext=J70;function q70(Z){K0.state.isType=Z}o1.popTypeContext=q70;function ON(Z){if(u$(Z))return $D(),!0;else return!1}o1.eat=ON;function K70(Z){let Q=K0.state.isType;K0.state.isType=!0,ON(Z),K0.state.isType=Q}o1.eatTypeToken=K70;function u$(Z){return K0.state.type===Z}o1.match=u$;function V70(){let Z=K0.state.snapshot();$D();let Q=K0.state.type;return K0.state.restoreFromSnapshot(Z),Q}o1.lookaheadType=V70;class f${constructor(Z,Q){this.type=Z,this.contextualKeyword=Q}}o1.TypeAndKeyword=f$;function D70(){let Z=K0.state.snapshot();$D();let Q=K0.state.type,Y=K0.state.contextualKeyword;return K0.state.restoreFromSnapshot(Z),new f$(Q,Y)}o1.lookaheadTypeAndKeyword=D70;function XN(){return FN(K0.state.pos)}o1.nextTokenStart=XN;function FN(Z){x$.skipWhiteSpace.lastIndex=Z;let Q=x$.skipWhiteSpace.exec(K0.input);return Z+Q[0].length}o1.nextTokenStartSince=FN;function z70(){return K0.input.charCodeAt(XN())}o1.lookaheadCharCode=z70;function AN(){if(EN(),K0.state.start=K0.state.pos,K0.state.pos>=K0.input.length){let Z=K0.state.tokens;if(Z.length>=2&&Z[Z.length-1].start>=K0.input.length&&Z[Z.length-2].start>=K0.input.length)EQ.unexpected.call(void 0,"Unexpectedly reached the end of input.");K5(J1.TokenType.eof);return}H70(K0.input.charCodeAt(K0.state.pos))}o1.nextToken=AN;function H70(Z){if(BN.IS_IDENTIFIER_START[Z]||Z===v0.charCodes.backslash||Z===v0.charCodes.atSign&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.atSign)s90.default.call(void 0);else CN(Z)}function G70(){while(K0.input.charCodeAt(K0.state.pos)!==v0.charCodes.asterisk||K0.input.charCodeAt(K0.state.pos+1)!==v0.charCodes.slash)if(K0.state.pos++,K0.state.pos>K0.input.length){EQ.unexpected.call(void 0,"Unterminated comment",K0.state.pos-2);return}K0.state.pos+=2}function wN(Z){let Q=K0.input.charCodeAt(K0.state.pos+=Z);if(K0.state.pos<K0.input.length)while(Q!==v0.charCodes.lineFeed&&Q!==v0.charCodes.carriageReturn&&Q!==v0.charCodes.lineSeparator&&Q!==v0.charCodes.paragraphSeparator&&++K0.state.pos<K0.input.length)Q=K0.input.charCodeAt(K0.state.pos)}o1.skipLineComment=wN;function EN(){while(K0.state.pos<K0.input.length){let Z=K0.input.charCodeAt(K0.state.pos);switch(Z){case v0.charCodes.carriageReturn:if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.lineFeed)++K0.state.pos;case v0.charCodes.lineFeed:case v0.charCodes.lineSeparator:case v0.charCodes.paragraphSeparator:++K0.state.pos;break;case v0.charCodes.slash:switch(K0.input.charCodeAt(K0.state.pos+1)){case v0.charCodes.asterisk:K0.state.pos+=2,G70();break;case v0.charCodes.slash:wN(2);break;default:return}break;default:if(x$.IS_WHITESPACE[Z])++K0.state.pos;else return}}}o1.skipSpace=EN;function K5(Z,Q=i90.ContextualKeyword.NONE){K0.state.end=K0.state.pos,K0.state.type=Z,K0.state.contextualKeyword=Q}o1.finishToken=K5;function W70(){let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z>=v0.charCodes.digit0&&Z<=v0.charCodes.digit9){RN(!0);return}if(Z===v0.charCodes.dot&&K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.dot)K0.state.pos+=3,K5(J1.TokenType.ellipsis);else++K0.state.pos,K5(J1.TokenType.dot)}function U70(){if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else r1(J1.TokenType.slash,1)}function $70(Z){let Q=Z===v0.charCodes.asterisk?J1.TokenType.star:J1.TokenType.modulo,Y=1,J=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.asterisk&&J===v0.charCodes.asterisk)Y++,J=K0.input.charCodeAt(K0.state.pos+2),Q=J1.TokenType.exponent;if(J===v0.charCodes.equalsTo&&K0.input.charCodeAt(K0.state.pos+2)!==v0.charCodes.greaterThan)Y++,Q=J1.TokenType.assign;r1(Q,Y)}function B70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===Z){if(K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,3);else r1(Z===v0.charCodes.verticalBar?J1.TokenType.logicalOR:J1.TokenType.logicalAND,2);return}if(Z===v0.charCodes.verticalBar){if(Q===v0.charCodes.greaterThan){r1(J1.TokenType.pipeline,2);return}else if(Q===v0.charCodes.rightCurlyBrace&&K0.isFlowEnabled){r1(J1.TokenType.braceBarR,2);return}}if(Q===v0.charCodes.equalsTo){r1(J1.TokenType.assign,2);return}r1(Z===v0.charCodes.verticalBar?J1.TokenType.bitwiseOR:J1.TokenType.bitwiseAND,1)}function O70(){if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else r1(J1.TokenType.bitwiseXOR,1)}function X70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===Z){r1(J1.TokenType.preIncDec,2);return}if(Q===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else if(Z===v0.charCodes.plusSign)r1(J1.TokenType.plus,1);else r1(J1.TokenType.minus,1)}function F70(){let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.lessThan){if(K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo){r1(J1.TokenType.assign,3);return}if(K0.state.isType)r1(J1.TokenType.lessThan,1);else r1(J1.TokenType.bitShiftL,2);return}if(Z===v0.charCodes.equalsTo)r1(J1.TokenType.relationalOrEqual,2);else r1(J1.TokenType.lessThan,1)}function IN(){if(K0.state.isType){r1(J1.TokenType.greaterThan,1);return}let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.greaterThan){let Q=K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.greaterThan?3:2;if(K0.input.charCodeAt(K0.state.pos+Q)===v0.charCodes.equalsTo){r1(J1.TokenType.assign,Q+1);return}r1(J1.TokenType.bitShiftR,Q);return}if(Z===v0.charCodes.equalsTo)r1(J1.TokenType.relationalOrEqual,2);else r1(J1.TokenType.greaterThan,1)}function A70(){if(K0.state.type===J1.TokenType.greaterThan)K0.state.pos-=1,IN()}o1.rescan_gt=A70;function w70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===v0.charCodes.equalsTo){r1(J1.TokenType.equality,K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo?3:2);return}if(Z===v0.charCodes.equalsTo&&Q===v0.charCodes.greaterThan){K0.state.pos+=2,K5(J1.TokenType.arrow);return}r1(Z===v0.charCodes.equalsTo?J1.TokenType.eq:J1.TokenType.bang,1)}function E70(){let Z=K0.input.charCodeAt(K0.state.pos+1),Q=K0.input.charCodeAt(K0.state.pos+2);if(Z===v0.charCodes.questionMark&&!(K0.isFlowEnabled&&K0.state.isType))if(Q===v0.charCodes.equalsTo)r1(J1.TokenType.assign,3);else r1(J1.TokenType.nullishCoalescing,2);else if(Z===v0.charCodes.dot&&!(Q>=v0.charCodes.digit0&&Q<=v0.charCodes.digit9))K0.state.pos+=2,K5(J1.TokenType.questionDot);else++K0.state.pos,K5(J1.TokenType.question)}function CN(Z){switch(Z){case v0.charCodes.numberSign:++K0.state.pos,K5(J1.TokenType.hash);return;case v0.charCodes.dot:W70();return;case v0.charCodes.leftParenthesis:++K0.state.pos,K5(J1.TokenType.parenL);return;case v0.charCodes.rightParenthesis:++K0.state.pos,K5(J1.TokenType.parenR);return;case v0.charCodes.semicolon:++K0.state.pos,K5(J1.TokenType.semi);return;case v0.charCodes.comma:++K0.state.pos,K5(J1.TokenType.comma);return;case v0.charCodes.leftSquareBracket:++K0.state.pos,K5(J1.TokenType.bracketL);return;case v0.charCodes.rightSquareBracket:++K0.state.pos,K5(J1.TokenType.bracketR);return;case v0.charCodes.leftCurlyBrace:if(K0.isFlowEnabled&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.verticalBar)r1(J1.TokenType.braceBarL,2);else++K0.state.pos,K5(J1.TokenType.braceL);return;case v0.charCodes.rightCurlyBrace:++K0.state.pos,K5(J1.TokenType.braceR);return;case v0.charCodes.colon:if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.colon)r1(J1.TokenType.doubleColon,2);else++K0.state.pos,K5(J1.TokenType.colon);return;case v0.charCodes.questionMark:E70();return;case v0.charCodes.atSign:++K0.state.pos,K5(J1.TokenType.at);return;case v0.charCodes.graveAccent:++K0.state.pos,K5(J1.TokenType.backQuote);return;case v0.charCodes.digit0:{let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===v0.charCodes.lowercaseX||Q===v0.charCodes.uppercaseX||Q===v0.charCodes.lowercaseO||Q===v0.charCodes.uppercaseO||Q===v0.charCodes.lowercaseB||Q===v0.charCodes.uppercaseB){C70();return}}case v0.charCodes.digit1:case v0.charCodes.digit2:case v0.charCodes.digit3:case v0.charCodes.digit4:case v0.charCodes.digit5:case v0.charCodes.digit6:case v0.charCodes.digit7:case v0.charCodes.digit8:case v0.charCodes.digit9:RN(!1);return;case v0.charCodes.quotationMark:case v0.charCodes.apostrophe:R70(Z);return;case v0.charCodes.slash:U70();return;case v0.charCodes.percentSign:case v0.charCodes.asterisk:$70(Z);return;case v0.charCodes.verticalBar:case v0.charCodes.ampersand:B70(Z);return;case v0.charCodes.caret:O70();return;case v0.charCodes.plusSign:case v0.charCodes.dash:X70(Z);return;case v0.charCodes.lessThan:F70();return;case v0.charCodes.greaterThan:IN();return;case v0.charCodes.equalsTo:case v0.charCodes.exclamationMark:w70(Z);return;case v0.charCodes.tilde:r1(J1.TokenType.tilde,1);return;default:break}EQ.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(Z)}'`,K0.state.pos)}o1.getTokenFromCode=CN;function r1(Z,Q){K0.state.pos+=Q,K5(Z)}function I70(){let Z=K0.state.pos,Q=!1,Y=!1;for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated regular expression",Z);return}let J=K0.input.charCodeAt(K0.state.pos);if(Q)Q=!1;else{if(J===v0.charCodes.leftSquareBracket)Y=!0;else if(J===v0.charCodes.rightSquareBracket&&Y)Y=!1;else if(J===v0.charCodes.slash&&!Y)break;Q=J===v0.charCodes.backslash}++K0.state.pos}++K0.state.pos,LN(),K5(J1.TokenType.regexp)}function h$(){while(!0){let Z=K0.input.charCodeAt(K0.state.pos);if(Z>=v0.charCodes.digit0&&Z<=v0.charCodes.digit9||Z===v0.charCodes.underscore)K0.state.pos++;else break}}function C70(){K0.state.pos+=2;while(!0){let Q=K0.input.charCodeAt(K0.state.pos);if(Q>=v0.charCodes.digit0&&Q<=v0.charCodes.digit9||Q>=v0.charCodes.lowercaseA&&Q<=v0.charCodes.lowercaseF||Q>=v0.charCodes.uppercaseA&&Q<=v0.charCodes.uppercaseF||Q===v0.charCodes.underscore)K0.state.pos++;else break}if(K0.input.charCodeAt(K0.state.pos)===v0.charCodes.lowercaseN)++K0.state.pos,K5(J1.TokenType.bigint);else K5(J1.TokenType.num)}function RN(Z){let Q=!1,Y=!1;if(!Z)h$();let J=K0.input.charCodeAt(K0.state.pos);if(J===v0.charCodes.dot)++K0.state.pos,h$(),J=K0.input.charCodeAt(K0.state.pos);if(J===v0.charCodes.uppercaseE||J===v0.charCodes.lowercaseE){if(J=K0.input.charCodeAt(++K0.state.pos),J===v0.charCodes.plusSign||J===v0.charCodes.dash)++K0.state.pos;h$(),J=K0.input.charCodeAt(K0.state.pos)}if(J===v0.charCodes.lowercaseN)++K0.state.pos,Q=!0;else if(J===v0.charCodes.lowercaseM)++K0.state.pos,Y=!0;if(Q){K5(J1.TokenType.bigint);return}if(Y){K5(J1.TokenType.decimal);return}K5(J1.TokenType.num)}function R70(Z){K0.state.pos++;for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated string constant");return}let Q=K0.input.charCodeAt(K0.state.pos);if(Q===v0.charCodes.backslash)K0.state.pos++;else if(Q===Z)break;K0.state.pos++}K0.state.pos++,K5(J1.TokenType.string)}function L70(){for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated template");return}let Z=K0.input.charCodeAt(K0.state.pos);if(Z===v0.charCodes.graveAccent||Z===v0.charCodes.dollarSign&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.leftCurlyBrace){if(K0.state.pos===K0.state.start&&u$(J1.TokenType.template))if(Z===v0.charCodes.dollarSign){K0.state.pos+=2,K5(J1.TokenType.dollarBraceL);return}else{++K0.state.pos,K5(J1.TokenType.backQuote);return}K5(J1.TokenType.template);return}if(Z===v0.charCodes.backslash)K0.state.pos++;K0.state.pos++}}function LN(){while(K0.state.pos<K0.input.length){let Z=K0.input.charCodeAt(K0.state.pos);if(BN.IS_IDENTIFIER_CHAR[Z])K0.state.pos++;else if(Z===v0.charCodes.backslash){if(K0.state.pos+=2,K0.input.charCodeAt(K0.state.pos)===v0.charCodes.leftCurlyBrace){while(K0.state.pos<K0.input.length&&K0.input.charCodeAt(K0.state.pos)!==v0.charCodes.rightCurlyBrace)K0.state.pos++;K0.state.pos++}}else break}}o1.skipWord=LN});var p3=k((g$)=>{Object.defineProperty(g$,"__esModule",{value:!0});var MN=k1();function M70(Z,Q=Z.currentIndex()){let Y=Q+1;if(BD(Z,Y)){let J=Z.identifierNameAtIndex(Q);return{isType:!1,leftName:J,rightName:J,endIndex:Y}}if(Y++,BD(Z,Y))return{isType:!0,leftName:null,rightName:null,endIndex:Y};if(Y++,BD(Z,Y))return{isType:!1,leftName:Z.identifierNameAtIndex(Q),rightName:Z.identifierNameAtIndex(Q+2),endIndex:Y};if(Y++,BD(Z,Y))return{isType:!0,leftName:null,rightName:null,endIndex:Y};throw Error(`Unexpected import/export specifier at ${Q}`)}g$.default=M70;function BD(Z,Q){let Y=Z.tokens[Q];return Y.type===MN.TokenType.braceR||Y.type===MN.TokenType.comma}});var jN=k((m$)=>{Object.defineProperty(m$,"__esModule",{value:!0});m$.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]])});var d$=k((c$)=>{Object.defineProperty(c$,"__esModule",{value:!0});function j70(Z){let[Q,Y]=NN(Z.jsxPragma||"React.createElement"),[J,q]=NN(Z.jsxFragmentPragma||"React.Fragment");return{base:Q,suffix:Y,fragmentBase:J,fragmentSuffix:q}}c$.default=j70;function NN(Z){let Q=Z.indexOf(".");if(Q===-1)Q=Z.length;return[Z.slice(0,Q),Z.slice(Q)]}});var s9=k((l$)=>{Object.defineProperty(l$,"__esModule",{value:!0});class SN{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}l$.default=SN});var i$=k((XD)=>{Object.defineProperty(XD,"__esModule",{value:!0});function p$(Z){return Z&&Z.__esModule?Z:{default:Z}}var N70=jN(),S70=p$(N70),OD=Z8(),l1=k1(),Y6=M9(),P70=d$(),T70=p$(P70),_70=s9(),v70=p$(_70);class zZ extends v70.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(Z,Q,Y,J,q){super();this.rootTransformer=Z,this.tokens=Q,this.importProcessor=Y,this.nameManager=J,this.options=q,zZ.prototype.__init.call(this),zZ.prototype.__init2.call(this),zZ.prototype.__init3.call(this),zZ.prototype.__init4.call(this),zZ.prototype.__init5.call(this),this.jsxPragmaInfo=T70.default.call(void 0,q),this.isAutomaticRuntime=q.jsxRuntime==="automatic",this.jsxImportSource=q.jsxImportSource||"react"}process(){if(this.tokens.matches1(l1.TokenType.jsxTagStart))return this.processJSXTag(),!0;return!1}getPrefixCode(){let Z="";if(this.filenameVarName)Z+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`;if(this.isAutomaticRuntime)if(this.importProcessor)for(let[Q,Y]of Object.entries(this.cjsAutomaticModuleNameResolutions))Z+=`var ${Y} = require("${Q}");`;else{let{createElement:Q,...Y}=this.esmAutomaticImportNameResolutions;if(Q)Z+=`import {createElement as ${Q}} from "${this.jsxImportSource}";`;let J=Object.entries(Y).map(([q,K])=>`${q} as ${K}`).join(", ");if(J){let q=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");Z+=`import {${J}} from "${q}";`}}return Z}processJSXTag(){let{jsxRole:Z,start:Q}=this.tokens.currentToken(),Y=this.options.production?null:this.getElementLocationCode(Q);if(this.isAutomaticRuntime&&Z!==OD.JSXRole.KeyAfterPropSpread)this.transformTagToJSXFunc(Y,Z);else this.transformTagToCreateElement(Y)}getElementLocationCode(Z){return`lineNumber: ${this.getLineNumberForIndex(Z)}`}getLineNumberForIndex(Z){let Q=this.tokens.code;while(this.lastIndex<Z&&this.lastIndex<Q.length){if(Q[this.lastIndex]===`
35
+ └─ Cause: ${Y.name}: ${Y.message}`:Z);this.code=Q,this.cause=Y}}VD.ConfigError=oj});var ej=k((AI0,N$)=>{var tj=require("module"),A90=require("path");N$.exports=function(Q,Y,J){if(typeof Y==="object")J=Y,Y=void 0;if(J=J||{},Y=Y||"",J.appendPaths=J.appendPaths||[],J.prependPaths=J.prependPaths||[],typeof Q!=="string")throw Error("code must be a string, not "+typeof Q);var q=tj._nodeModulePaths(A90.dirname(Y)),K=N$.parent,V=new tj(Y,K);V.filename=Y,V.paths=[].concat(J.prependPaths).concat(q).concat(J.appendPaths),V._compile(Q,Y);var D=V.exports;return K&&K.children&&K.children.splice(K.children.indexOf(V),1),D}});var U8=k((S$)=>{Object.defineProperty(S$,"__esModule",{value:!0});var ZN;(function(Z){Z[Z.NONE=0]="NONE";let Y=1;Z[Z._abstract=Y]="_abstract";let J=Y+1;Z[Z._accessor=J]="_accessor";let q=J+1;Z[Z._as=q]="_as";let K=q+1;Z[Z._assert=K]="_assert";let V=K+1;Z[Z._asserts=V]="_asserts";let D=V+1;Z[Z._async=D]="_async";let z=D+1;Z[Z._await=z]="_await";let H=z+1;Z[Z._checks=H]="_checks";let G=H+1;Z[Z._constructor=G]="_constructor";let W=G+1;Z[Z._declare=W]="_declare";let $=W+1;Z[Z._enum=$]="_enum";let B=$+1;Z[Z._exports=B]="_exports";let O=B+1;Z[Z._from=O]="_from";let A=O+1;Z[Z._get=A]="_get";let w=A+1;Z[Z._global=w]="_global";let E=w+1;Z[Z._implements=E]="_implements";let S=E+1;Z[Z._infer=S]="_infer";let X=S+1;Z[Z._interface=X]="_interface";let F=X+1;Z[Z._is=F]="_is";let U=F+1;Z[Z._keyof=U]="_keyof";let I=U+1;Z[Z._mixins=I]="_mixins";let P=I+1;Z[Z._module=P]="_module";let L=P+1;Z[Z._namespace=L]="_namespace";let R=L+1;Z[Z._of=R]="_of";let C=R+1;Z[Z._opaque=C]="_opaque";let N=C+1;Z[Z._out=N]="_out";let j=N+1;Z[Z._override=j]="_override";let _=j+1;Z[Z._private=_]="_private";let v=_+1;Z[Z._protected=v]="_protected";let b=v+1;Z[Z._proto=b]="_proto";let T=b+1;Z[Z._public=T]="_public";let u=T+1;Z[Z._readonly=u]="_readonly";let x=u+1;Z[Z._require=x]="_require";let g=x+1;Z[Z._satisfies=g]="_satisfies";let c=g+1;Z[Z._set=c]="_set";let p=c+1;Z[Z._static=p]="_static";let Y0=p+1;Z[Z._symbol=Y0]="_symbol";let o=Y0+1;Z[Z._type=o]="_type";let D0=o+1;Z[Z._unique=D0]="_unique";let C0=D0+1;Z[Z._using=C0]="_using"})(ZN||(S$.ContextualKeyword=ZN={}))});var k1=k((DD)=>{Object.defineProperty(DD,"__esModule",{value:!0});var c0;(function(Z){Z[Z.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let Y=16;Z[Z.IS_KEYWORD=Y]="IS_KEYWORD";let J=32;Z[Z.IS_ASSIGN=J]="IS_ASSIGN";let q=64;Z[Z.IS_RIGHT_ASSOCIATIVE=q]="IS_RIGHT_ASSOCIATIVE";let K=128;Z[Z.IS_PREFIX=K]="IS_PREFIX";let V=256;Z[Z.IS_POSTFIX=V]="IS_POSTFIX";let D=512;Z[Z.IS_EXPRESSION_START=D]="IS_EXPRESSION_START";let z=512;Z[Z.num=z]="num";let H=1536;Z[Z.bigint=H]="bigint";let G=2560;Z[Z.decimal=G]="decimal";let W=3584;Z[Z.regexp=W]="regexp";let $=4608;Z[Z.string=$]="string";let B=5632;Z[Z.name=B]="name";let O=6144;Z[Z.eof=O]="eof";let A=7680;Z[Z.bracketL=A]="bracketL";let w=8192;Z[Z.bracketR=w]="bracketR";let E=9728;Z[Z.braceL=E]="braceL";let S=10752;Z[Z.braceBarL=S]="braceBarL";let X=11264;Z[Z.braceR=X]="braceR";let F=12288;Z[Z.braceBarR=F]="braceBarR";let U=13824;Z[Z.parenL=U]="parenL";let I=14336;Z[Z.parenR=I]="parenR";let P=15360;Z[Z.comma=P]="comma";let L=16384;Z[Z.semi=L]="semi";let R=17408;Z[Z.colon=R]="colon";let C=18432;Z[Z.doubleColon=C]="doubleColon";let N=19456;Z[Z.dot=N]="dot";let j=20480;Z[Z.question=j]="question";let _=21504;Z[Z.questionDot=_]="questionDot";let v=22528;Z[Z.arrow=v]="arrow";let b=23552;Z[Z.template=b]="template";let T=24576;Z[Z.ellipsis=T]="ellipsis";let u=25600;Z[Z.backQuote=u]="backQuote";let x=27136;Z[Z.dollarBraceL=x]="dollarBraceL";let g=27648;Z[Z.at=g]="at";let c=29184;Z[Z.hash=c]="hash";let p=29728;Z[Z.eq=p]="eq";let Y0=30752;Z[Z.assign=Y0]="assign";let o=32640;Z[Z.preIncDec=o]="preIncDec";let D0=33664;Z[Z.postIncDec=D0]="postIncDec";let C0=34432;Z[Z.bang=C0]="bang";let m=35456;Z[Z.tilde=m]="tilde";let y=35841;Z[Z.pipeline=y]="pipeline";let l=36866;Z[Z.nullishCoalescing=l]="nullishCoalescing";let n=37890;Z[Z.logicalOR=n]="logicalOR";let j0=38915;Z[Z.logicalAND=j0]="logicalAND";let a0=39940;Z[Z.bitwiseOR=a0]="bitwiseOR";let s=40965;Z[Z.bitwiseXOR=s]="bitwiseXOR";let Z0=41990;Z[Z.bitwiseAND=Z0]="bitwiseAND";let H0=43015;Z[Z.equality=H0]="equality";let S0=44040;Z[Z.lessThan=S0]="lessThan";let G0=45064;Z[Z.greaterThan=G0]="greaterThan";let F0=46088;Z[Z.relationalOrEqual=F0]="relationalOrEqual";let N0=47113;Z[Z.bitShiftL=N0]="bitShiftL";let T0=48137;Z[Z.bitShiftR=T0]="bitShiftR";let e0=49802;Z[Z.plus=e0]="plus";let r0=50826;Z[Z.minus=r0]="minus";let Q1=51723;Z[Z.modulo=Q1]="modulo";let B0=52235;Z[Z.star=B0]="star";let P0=53259;Z[Z.slash=P0]="slash";let b0=54348;Z[Z.exponent=b0]="exponent";let W0=55296;Z[Z.jsxName=W0]="jsxName";let i0=56320;Z[Z.jsxText=i0]="jsxText";let M=57344;Z[Z.jsxEmptyText=M]="jsxEmptyText";let Q0=58880;Z[Z.jsxTagStart=Q0]="jsxTagStart";let U0=59392;Z[Z.jsxTagEnd=U0]="jsxTagEnd";let L0=60928;Z[Z.typeParameterStart=L0]="typeParameterStart";let O0=61440;Z[Z.nonNullAssertion=O0]="nonNullAssertion";let g0=62480;Z[Z._break=g0]="_break";let u0=63504;Z[Z._case=u0]="_case";let Z1=64528;Z[Z._catch=Z1]="_catch";let G1=65552;Z[Z._continue=G1]="_continue";let q0=66576;Z[Z._debugger=q0]="_debugger";let E0=67600;Z[Z._default=E0]="_default";let A0=68624;Z[Z._do=A0]="_do";let d0=69648;Z[Z._else=d0]="_else";let f=70672;Z[Z._finally=f]="_finally";let e=71696;Z[Z._for=e]="_for";let w0=73232;Z[Z._function=w0]="_function";let d=73744;Z[Z._if=d]="_if";let $0=74768;Z[Z._return=$0]="_return";let x0=75792;Z[Z._switch=x0]="_switch";let t0=77456;Z[Z._throw=t0]="_throw";let n0=77840;Z[Z._try=n0]="_try";let _0=78864;Z[Z._var=_0]="_var";let H1=79888;Z[Z._let=H1]="_let";let w1=80912;Z[Z._const=w1]="_const";let y1=81936;Z[Z._while=y1]="_while";let N1=82960;Z[Z._with=N1]="_with";let T8=84496;Z[Z._new=T8]="_new";let Z5=85520;Z[Z._this=Z5]="_this";let Q5=86544;Z[Z._super=Q5]="_super";let r6=87568;Z[Z._class=r6]="_class";let m4=88080;Z[Z._extends=m4]="_extends";let c4=89104;Z[Z._export=c4]="_export";let o6=90640;Z[Z._import=o6]="_import";let C9=91664;Z[Z._yield=C9]="_yield";let M1=92688;Z[Z._null=M1]="_null";let s7=93712;Z[Z._true=s7]="_true";let t6=94736;Z[Z._false=t6]="_false";let e6=95256;Z[Z._in=e6]="_in";let Z4=96280;Z[Z._instanceof=Z4]="_instanceof";let rZ=97936;Z[Z._typeof=rZ]="_typeof";let oZ=98960;Z[Z._void=oZ]="_void";let uK=99984;Z[Z._delete=uK]="_delete";let hW=100880;Z[Z._async=hW]="_async";let xW=101904;Z[Z._get=xW]="_get";let uW=102928;Z[Z._set=uW]="_set";let fW=103952;Z[Z._declare=fW]="_declare";let tZ=104976;Z[Z._readonly=tZ]="_readonly";let fK=106000;Z[Z._abstract=fK]="_abstract";let gW=107024;Z[Z._static=gW]="_static";let gK=107536;Z[Z._public=gK]="_public";let mW=108560;Z[Z._private=mW]="_private";let cW=109584;Z[Z._protected=cW]="_protected";let dW=110608;Z[Z._override=dW]="_override";let lW=112144;Z[Z._as=lW]="_as";let mK=113168;Z[Z._enum=mK]="_enum";let pW=114192;Z[Z._type=pW]="_type";let iW=115216;Z[Z._implements=iW]="_implements"})(c0||(DD.TokenType=c0={}));function w90(Z){switch(Z){case c0.num:return"num";case c0.bigint:return"bigint";case c0.decimal:return"decimal";case c0.regexp:return"regexp";case c0.string:return"string";case c0.name:return"name";case c0.eof:return"eof";case c0.bracketL:return"[";case c0.bracketR:return"]";case c0.braceL:return"{";case c0.braceBarL:return"{|";case c0.braceR:return"}";case c0.braceBarR:return"|}";case c0.parenL:return"(";case c0.parenR:return")";case c0.comma:return",";case c0.semi:return";";case c0.colon:return":";case c0.doubleColon:return"::";case c0.dot:return".";case c0.question:return"?";case c0.questionDot:return"?.";case c0.arrow:return"=>";case c0.template:return"template";case c0.ellipsis:return"...";case c0.backQuote:return"`";case c0.dollarBraceL:return"${";case c0.at:return"@";case c0.hash:return"#";case c0.eq:return"=";case c0.assign:return"_=";case c0.preIncDec:return"++/--";case c0.postIncDec:return"++/--";case c0.bang:return"!";case c0.tilde:return"~";case c0.pipeline:return"|>";case c0.nullishCoalescing:return"??";case c0.logicalOR:return"||";case c0.logicalAND:return"&&";case c0.bitwiseOR:return"|";case c0.bitwiseXOR:return"^";case c0.bitwiseAND:return"&";case c0.equality:return"==/!=";case c0.lessThan:return"<";case c0.greaterThan:return">";case c0.relationalOrEqual:return"<=/>=";case c0.bitShiftL:return"<<";case c0.bitShiftR:return">>/>>>";case c0.plus:return"+";case c0.minus:return"-";case c0.modulo:return"%";case c0.star:return"*";case c0.slash:return"/";case c0.exponent:return"**";case c0.jsxName:return"jsxName";case c0.jsxText:return"jsxText";case c0.jsxEmptyText:return"jsxEmptyText";case c0.jsxTagStart:return"jsxTagStart";case c0.jsxTagEnd:return"jsxTagEnd";case c0.typeParameterStart:return"typeParameterStart";case c0.nonNullAssertion:return"nonNullAssertion";case c0._break:return"break";case c0._case:return"case";case c0._catch:return"catch";case c0._continue:return"continue";case c0._debugger:return"debugger";case c0._default:return"default";case c0._do:return"do";case c0._else:return"else";case c0._finally:return"finally";case c0._for:return"for";case c0._function:return"function";case c0._if:return"if";case c0._return:return"return";case c0._switch:return"switch";case c0._throw:return"throw";case c0._try:return"try";case c0._var:return"var";case c0._let:return"let";case c0._const:return"const";case c0._while:return"while";case c0._with:return"with";case c0._new:return"new";case c0._this:return"this";case c0._super:return"super";case c0._class:return"class";case c0._extends:return"extends";case c0._export:return"export";case c0._import:return"import";case c0._yield:return"yield";case c0._null:return"null";case c0._true:return"true";case c0._false:return"false";case c0._in:return"in";case c0._instanceof:return"instanceof";case c0._typeof:return"typeof";case c0._void:return"void";case c0._delete:return"delete";case c0._async:return"async";case c0._get:return"get";case c0._set:return"set";case c0._declare:return"declare";case c0._readonly:return"readonly";case c0._abstract:return"abstract";case c0._static:return"static";case c0._public:return"public";case c0._private:return"private";case c0._protected:return"protected";case c0._override:return"override";case c0._as:return"as";case c0._enum:return"enum";case c0._type:return"type";case c0._implements:return"implements";default:return""}}DD.formatTokenType=w90});var zD=k((l3)=>{Object.defineProperty(l3,"__esModule",{value:!0});var E90=U8(),I90=k1();class QN{constructor(Z,Q,Y){this.startTokenIndex=Z,this.endTokenIndex=Q,this.isFunctionScope=Y}}l3.Scope=QN;class P${constructor(Z,Q,Y,J,q,K,V,D,z,H,G,W,$){this.potentialArrowAt=Z,this.noAnonFunctionType=Q,this.inDisallowConditionalTypesContext=Y,this.tokensLength=J,this.scopesLength=q,this.pos=K,this.type=V,this.contextualKeyword=D,this.start=z,this.end=H,this.isType=G,this.scopeDepth=W,this.error=$}}l3.StateSnapshot=P$;class r8{constructor(){r8.prototype.__init.call(this),r8.prototype.__init2.call(this),r8.prototype.__init3.call(this),r8.prototype.__init4.call(this),r8.prototype.__init5.call(this),r8.prototype.__init6.call(this),r8.prototype.__init7.call(this),r8.prototype.__init8.call(this),r8.prototype.__init9.call(this),r8.prototype.__init10.call(this),r8.prototype.__init11.call(this),r8.prototype.__init12.call(this),r8.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=I90.TokenType.eof}__init8(){this.contextualKeyword=E90.ContextualKeyword.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new P$(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(Z){this.potentialArrowAt=Z.potentialArrowAt,this.noAnonFunctionType=Z.noAnonFunctionType,this.inDisallowConditionalTypesContext=Z.inDisallowConditionalTypesContext,this.tokens.length=Z.tokensLength,this.scopes.length=Z.scopesLength,this.pos=Z.pos,this.type=Z.type,this.contextualKeyword=Z.contextualKeyword,this.start=Z.start,this.end=Z.end,this.isType=Z.isType,this.scopeDepth=Z.scopeDepth,this.error=Z.error}}l3.default=r8});var M9=k((HD)=>{Object.defineProperty(HD,"__esModule",{value:!0});var r4;(function(Z){Z[Z.backSpace=8]="backSpace";let Y=10;Z[Z.lineFeed=Y]="lineFeed";let J=9;Z[Z.tab=J]="tab";let q=13;Z[Z.carriageReturn=q]="carriageReturn";let K=14;Z[Z.shiftOut=K]="shiftOut";let V=32;Z[Z.space=V]="space";let D=33;Z[Z.exclamationMark=D]="exclamationMark";let z=34;Z[Z.quotationMark=z]="quotationMark";let H=35;Z[Z.numberSign=H]="numberSign";let G=36;Z[Z.dollarSign=G]="dollarSign";let W=37;Z[Z.percentSign=W]="percentSign";let $=38;Z[Z.ampersand=$]="ampersand";let B=39;Z[Z.apostrophe=B]="apostrophe";let O=40;Z[Z.leftParenthesis=O]="leftParenthesis";let A=41;Z[Z.rightParenthesis=A]="rightParenthesis";let w=42;Z[Z.asterisk=w]="asterisk";let E=43;Z[Z.plusSign=E]="plusSign";let S=44;Z[Z.comma=S]="comma";let X=45;Z[Z.dash=X]="dash";let F=46;Z[Z.dot=F]="dot";let U=47;Z[Z.slash=U]="slash";let I=48;Z[Z.digit0=I]="digit0";let P=49;Z[Z.digit1=P]="digit1";let L=50;Z[Z.digit2=L]="digit2";let R=51;Z[Z.digit3=R]="digit3";let C=52;Z[Z.digit4=C]="digit4";let N=53;Z[Z.digit5=N]="digit5";let j=54;Z[Z.digit6=j]="digit6";let _=55;Z[Z.digit7=_]="digit7";let v=56;Z[Z.digit8=v]="digit8";let b=57;Z[Z.digit9=b]="digit9";let T=58;Z[Z.colon=T]="colon";let u=59;Z[Z.semicolon=u]="semicolon";let x=60;Z[Z.lessThan=x]="lessThan";let g=61;Z[Z.equalsTo=g]="equalsTo";let c=62;Z[Z.greaterThan=c]="greaterThan";let p=63;Z[Z.questionMark=p]="questionMark";let Y0=64;Z[Z.atSign=Y0]="atSign";let o=65;Z[Z.uppercaseA=o]="uppercaseA";let D0=66;Z[Z.uppercaseB=D0]="uppercaseB";let C0=67;Z[Z.uppercaseC=C0]="uppercaseC";let m=68;Z[Z.uppercaseD=m]="uppercaseD";let y=69;Z[Z.uppercaseE=y]="uppercaseE";let l=70;Z[Z.uppercaseF=l]="uppercaseF";let n=71;Z[Z.uppercaseG=n]="uppercaseG";let j0=72;Z[Z.uppercaseH=j0]="uppercaseH";let a0=73;Z[Z.uppercaseI=a0]="uppercaseI";let s=74;Z[Z.uppercaseJ=s]="uppercaseJ";let Z0=75;Z[Z.uppercaseK=Z0]="uppercaseK";let H0=76;Z[Z.uppercaseL=H0]="uppercaseL";let S0=77;Z[Z.uppercaseM=S0]="uppercaseM";let G0=78;Z[Z.uppercaseN=G0]="uppercaseN";let F0=79;Z[Z.uppercaseO=F0]="uppercaseO";let N0=80;Z[Z.uppercaseP=N0]="uppercaseP";let T0=81;Z[Z.uppercaseQ=T0]="uppercaseQ";let e0=82;Z[Z.uppercaseR=e0]="uppercaseR";let r0=83;Z[Z.uppercaseS=r0]="uppercaseS";let Q1=84;Z[Z.uppercaseT=Q1]="uppercaseT";let B0=85;Z[Z.uppercaseU=B0]="uppercaseU";let P0=86;Z[Z.uppercaseV=P0]="uppercaseV";let b0=87;Z[Z.uppercaseW=b0]="uppercaseW";let W0=88;Z[Z.uppercaseX=W0]="uppercaseX";let i0=89;Z[Z.uppercaseY=i0]="uppercaseY";let M=90;Z[Z.uppercaseZ=M]="uppercaseZ";let Q0=91;Z[Z.leftSquareBracket=Q0]="leftSquareBracket";let U0=92;Z[Z.backslash=U0]="backslash";let L0=93;Z[Z.rightSquareBracket=L0]="rightSquareBracket";let O0=94;Z[Z.caret=O0]="caret";let g0=95;Z[Z.underscore=g0]="underscore";let u0=96;Z[Z.graveAccent=u0]="graveAccent";let Z1=97;Z[Z.lowercaseA=Z1]="lowercaseA";let G1=98;Z[Z.lowercaseB=G1]="lowercaseB";let q0=99;Z[Z.lowercaseC=q0]="lowercaseC";let E0=100;Z[Z.lowercaseD=E0]="lowercaseD";let A0=101;Z[Z.lowercaseE=A0]="lowercaseE";let d0=102;Z[Z.lowercaseF=d0]="lowercaseF";let f=103;Z[Z.lowercaseG=f]="lowercaseG";let e=104;Z[Z.lowercaseH=e]="lowercaseH";let w0=105;Z[Z.lowercaseI=w0]="lowercaseI";let d=106;Z[Z.lowercaseJ=d]="lowercaseJ";let $0=107;Z[Z.lowercaseK=$0]="lowercaseK";let x0=108;Z[Z.lowercaseL=x0]="lowercaseL";let t0=109;Z[Z.lowercaseM=t0]="lowercaseM";let n0=110;Z[Z.lowercaseN=n0]="lowercaseN";let _0=111;Z[Z.lowercaseO=_0]="lowercaseO";let H1=112;Z[Z.lowercaseP=H1]="lowercaseP";let w1=113;Z[Z.lowercaseQ=w1]="lowercaseQ";let y1=114;Z[Z.lowercaseR=y1]="lowercaseR";let N1=115;Z[Z.lowercaseS=N1]="lowercaseS";let T8=116;Z[Z.lowercaseT=T8]="lowercaseT";let Z5=117;Z[Z.lowercaseU=Z5]="lowercaseU";let Q5=118;Z[Z.lowercaseV=Q5]="lowercaseV";let r6=119;Z[Z.lowercaseW=r6]="lowercaseW";let m4=120;Z[Z.lowercaseX=m4]="lowercaseX";let c4=121;Z[Z.lowercaseY=c4]="lowercaseY";let o6=122;Z[Z.lowercaseZ=o6]="lowercaseZ";let C9=123;Z[Z.leftCurlyBrace=C9]="leftCurlyBrace";let M1=124;Z[Z.verticalBar=M1]="verticalBar";let s7=125;Z[Z.rightCurlyBrace=s7]="rightCurlyBrace";let t6=126;Z[Z.tilde=t6]="tilde";let e6=160;Z[Z.nonBreakingSpace=e6]="nonBreakingSpace";let Z4=5760;Z[Z.oghamSpaceMark=Z4]="oghamSpaceMark";let rZ=8232;Z[Z.lineSeparator=rZ]="lineSeparator";let oZ=8233;Z[Z.paragraphSeparator=oZ]="paragraphSeparator"})(r4||(HD.charCodes=r4={}));function C90(Z){return Z>=r4.digit0&&Z<=r4.digit9||Z>=r4.lowercaseA&&Z<=r4.lowercaseF||Z>=r4.uppercaseA&&Z<=r4.uppercaseF}HD.isDigit=C90});var j9=k((x5)=>{Object.defineProperty(x5,"__esModule",{value:!0});function R90(Z){return Z&&Z.__esModule?Z:{default:Z}}var L90=zD(),M90=R90(L90),j90=M9();x5.isJSXEnabled;x5.isTypeScriptEnabled;x5.isFlowEnabled;x5.state;x5.input;x5.nextContextId;function N90(){return x5.nextContextId++}x5.getNextContextId=N90;function S90(Z){if("pos"in Z){let Q=YN(Z.pos);Z.message+=` (${Q.line}:${Q.column})`,Z.loc=Q}return Z}x5.augmentError=S90;class T${constructor(Z,Q){this.line=Z,this.column=Q}}x5.Loc=T$;function YN(Z){let Q=1,Y=1;for(let J=0;J<Z;J++)if(x5.input.charCodeAt(J)===j90.charCodes.lineFeed)Q++,Y=1;else Y++;return new T$(Q,Y)}x5.locationForIndex=YN;function P90(Z,Q,Y,J){x5.input=Z,x5.state=new M90.default,x5.nextContextId=1,x5.isJSXEnabled=Q,x5.isTypeScriptEnabled=Y,x5.isFlowEnabled=J}x5.initParser=P90});var t4=k((S9)=>{Object.defineProperty(S9,"__esModule",{value:!0});var o4=Z8(),VZ=k1(),GD=M9(),N9=j9();function T90(Z){return N9.state.contextualKeyword===Z}S9.isContextual=T90;function _90(Z){let Q=o4.lookaheadTypeAndKeyword.call(void 0);return Q.type===VZ.TokenType.name&&Q.contextualKeyword===Z}S9.isLookaheadContextual=_90;function JN(Z){return N9.state.contextualKeyword===Z&&o4.eat.call(void 0,VZ.TokenType.name)}S9.eatContextual=JN;function v90(Z){if(!JN(Z))WD()}S9.expectContextual=v90;function qN(){return o4.match.call(void 0,VZ.TokenType.eof)||o4.match.call(void 0,VZ.TokenType.braceR)||KN()}S9.canInsertSemicolon=qN;function KN(){let Z=N9.state.tokens[N9.state.tokens.length-1],Q=Z?Z.end:0;for(let Y=Q;Y<N9.state.start;Y++){let J=N9.input.charCodeAt(Y);if(J===GD.charCodes.lineFeed||J===GD.charCodes.carriageReturn||J===8232||J===8233)return!0}return!1}S9.hasPrecedingLineBreak=KN;function b90(){let Z=o4.nextTokenStart.call(void 0);for(let Q=N9.state.end;Q<Z;Q++){let Y=N9.input.charCodeAt(Q);if(Y===GD.charCodes.lineFeed||Y===GD.charCodes.carriageReturn||Y===8232||Y===8233)return!0}return!1}S9.hasFollowingLineBreak=b90;function VN(){return o4.eat.call(void 0,VZ.TokenType.semi)||qN()}S9.isLineTerminator=VN;function k90(){if(!VN())WD('Unexpected token, expected ";"')}S9.semicolon=k90;function y90(Z){if(!o4.eat.call(void 0,Z))WD(`Unexpected token, expected "${VZ.formatTokenType.call(void 0,Z)}"`)}S9.expect=y90;function WD(Z="Unexpected token",Q=N9.state.start){if(N9.state.error)return;let Y=SyntaxError(Z);Y.pos=Q,N9.state.error=Y,N9.state.pos=N9.input.length,o4.finishToken.call(void 0,VZ.TokenType.eof)}S9.unexpected=WD});var v$=k((DZ)=>{Object.defineProperty(DZ,"__esModule",{value:!0});var _$=M9(),h90=[9,11,12,_$.charCodes.space,_$.charCodes.nonBreakingSpace,_$.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];DZ.WHITESPACE_CHARS=h90;var x90=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;DZ.skipWhiteSpace=x90;var u90=new Uint8Array(65536);DZ.IS_WHITESPACE=u90;for(let Z of DZ.WHITESPACE_CHARS)DZ.IS_WHITESPACE[Z]=1});var wQ=k((j7)=>{Object.defineProperty(j7,"__esModule",{value:!0});var DN=M9(),f90=v$();function g90(Z){if(Z<48)return Z===36;if(Z<58)return!0;if(Z<65)return!1;if(Z<91)return!0;if(Z<97)return Z===95;if(Z<123)return!0;if(Z<128)return!1;throw Error("Should not be called with non-ASCII char code.")}var m90=new Uint8Array(65536);j7.IS_IDENTIFIER_CHAR=m90;for(let Z=0;Z<128;Z++)j7.IS_IDENTIFIER_CHAR[Z]=g90(Z)?1:0;for(let Z=128;Z<65536;Z++)j7.IS_IDENTIFIER_CHAR[Z]=1;for(let Z of f90.WHITESPACE_CHARS)j7.IS_IDENTIFIER_CHAR[Z]=0;j7.IS_IDENTIFIER_CHAR[8232]=0;j7.IS_IDENTIFIER_CHAR[8233]=0;var c90=j7.IS_IDENTIFIER_CHAR.slice();j7.IS_IDENTIFIER_START=c90;for(let Z=DN.charCodes.digit0;Z<=DN.charCodes.digit9;Z++)j7.IS_IDENTIFIER_START[Z]=0});var zN=k((b$)=>{Object.defineProperty(b$,"__esModule",{value:!0});var v1=U8(),h1=k1(),d90=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(h1.TokenType._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(h1.TokenType._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(h1.TokenType._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(h1.TokenType._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(h1.TokenType._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(h1.TokenType._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(h1.TokenType._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,v1.ContextualKeyword._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,v1.ContextualKeyword._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(h1.TokenType._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,v1.ContextualKeyword._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(h1.TokenType._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);b$.READ_WORD_TREE=d90});var UN=k((y$)=>{Object.defineProperty(y$,"__esModule",{value:!0});var N7=j9(),e4=M9(),HN=wQ(),k$=Z8(),GN=zN(),WN=k1();function l90(){let Z=0,Q=0,Y=N7.state.pos;while(Y<N7.input.length){if(Q=N7.input.charCodeAt(Y),Q<e4.charCodes.lowercaseA||Q>e4.charCodes.lowercaseZ)break;let q=GN.READ_WORD_TREE[Z+(Q-e4.charCodes.lowercaseA)+1];if(q===-1)break;else Z=q,Y++}let J=GN.READ_WORD_TREE[Z];if(J>-1&&!HN.IS_IDENTIFIER_CHAR[Q]){if(N7.state.pos=Y,J&1)k$.finishToken.call(void 0,J>>>1);else k$.finishToken.call(void 0,WN.TokenType.name,J>>>1);return}while(Y<N7.input.length){let q=N7.input.charCodeAt(Y);if(HN.IS_IDENTIFIER_CHAR[q])Y++;else if(q===e4.charCodes.backslash){if(Y+=2,N7.input.charCodeAt(Y)===e4.charCodes.leftCurlyBrace){while(Y<N7.input.length&&N7.input.charCodeAt(Y)!==e4.charCodes.rightCurlyBrace)Y++;Y++}}else if(q===e4.charCodes.atSign&&N7.input.charCodeAt(Y+1)===e4.charCodes.atSign)Y+=2;else break}N7.state.pos=Y,k$.finishToken.call(void 0,WN.TokenType.name)}y$.default=l90});var Z8=k((o1)=>{Object.defineProperty(o1,"__esModule",{value:!0});function p90(Z){return Z&&Z.__esModule?Z:{default:Z}}var K0=j9(),EQ=t4(),v0=M9(),BN=wQ(),x$=v$(),i90=U8(),n90=UN(),s90=p90(n90),J1=k1(),L5;(function(Z){Z[Z.Access=0]="Access";let Y=1;Z[Z.ExportAccess=Y]="ExportAccess";let J=Y+1;Z[Z.TopLevelDeclaration=J]="TopLevelDeclaration";let q=J+1;Z[Z.FunctionScopedDeclaration=q]="FunctionScopedDeclaration";let K=q+1;Z[Z.BlockScopedDeclaration=K]="BlockScopedDeclaration";let V=K+1;Z[Z.ObjectShorthandTopLevelDeclaration=V]="ObjectShorthandTopLevelDeclaration";let D=V+1;Z[Z.ObjectShorthandFunctionScopedDeclaration=D]="ObjectShorthandFunctionScopedDeclaration";let z=D+1;Z[Z.ObjectShorthandBlockScopedDeclaration=z]="ObjectShorthandBlockScopedDeclaration";let H=z+1;Z[Z.ObjectShorthand=H]="ObjectShorthand";let G=H+1;Z[Z.ImportDeclaration=G]="ImportDeclaration";let W=G+1;Z[Z.ObjectKey=W]="ObjectKey";let $=W+1;Z[Z.ImportAccess=$]="ImportAccess"})(L5||(o1.IdentifierRole=L5={}));var $N;(function(Z){Z[Z.NoChildren=0]="NoChildren";let Y=1;Z[Z.OneChild=Y]="OneChild";let J=Y+1;Z[Z.StaticChildren=J]="StaticChildren";let q=J+1;Z[Z.KeyAfterPropSpread=q]="KeyAfterPropSpread"})($N||(o1.JSXRole=$N={}));function a90(Z){let Q=Z.identifierRole;return Q===L5.TopLevelDeclaration||Q===L5.FunctionScopedDeclaration||Q===L5.BlockScopedDeclaration||Q===L5.ObjectShorthandTopLevelDeclaration||Q===L5.ObjectShorthandFunctionScopedDeclaration||Q===L5.ObjectShorthandBlockScopedDeclaration}o1.isDeclaration=a90;function r90(Z){let Q=Z.identifierRole;return Q===L5.FunctionScopedDeclaration||Q===L5.BlockScopedDeclaration||Q===L5.ObjectShorthandFunctionScopedDeclaration||Q===L5.ObjectShorthandBlockScopedDeclaration}o1.isNonTopLevelDeclaration=r90;function o90(Z){let Q=Z.identifierRole;return Q===L5.TopLevelDeclaration||Q===L5.ObjectShorthandTopLevelDeclaration||Q===L5.ImportDeclaration}o1.isTopLevelDeclaration=o90;function t90(Z){let Q=Z.identifierRole;return Q===L5.TopLevelDeclaration||Q===L5.BlockScopedDeclaration||Q===L5.ObjectShorthandTopLevelDeclaration||Q===L5.ObjectShorthandBlockScopedDeclaration}o1.isBlockScopedDeclaration=t90;function e90(Z){let Q=Z.identifierRole;return Q===L5.FunctionScopedDeclaration||Q===L5.ObjectShorthandFunctionScopedDeclaration}o1.isFunctionScopedDeclaration=e90;function Z70(Z){return Z.identifierRole===L5.ObjectShorthandTopLevelDeclaration||Z.identifierRole===L5.ObjectShorthandBlockScopedDeclaration||Z.identifierRole===L5.ObjectShorthandFunctionScopedDeclaration}o1.isObjectShorthandDeclaration=Z70;class UD{constructor(){this.type=K0.state.type,this.contextualKeyword=K0.state.contextualKeyword,this.start=K0.state.start,this.end=K0.state.end,this.scopeDepth=K0.state.scopeDepth,this.isType=K0.state.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}}o1.Token=UD;function $D(){K0.state.tokens.push(new UD),AN()}o1.next=$D;function Q70(){K0.state.tokens.push(new UD),K0.state.start=K0.state.pos,L70()}o1.nextTemplateToken=Q70;function Y70(){if(K0.state.type===J1.TokenType.assign)--K0.state.pos;I70()}o1.retokenizeSlashAsRegex=Y70;function J70(Z){for(let Y=K0.state.tokens.length-Z;Y<K0.state.tokens.length;Y++)K0.state.tokens[Y].isType=!0;let Q=K0.state.isType;return K0.state.isType=!0,Q}o1.pushTypeContext=J70;function q70(Z){K0.state.isType=Z}o1.popTypeContext=q70;function ON(Z){if(u$(Z))return $D(),!0;else return!1}o1.eat=ON;function K70(Z){let Q=K0.state.isType;K0.state.isType=!0,ON(Z),K0.state.isType=Q}o1.eatTypeToken=K70;function u$(Z){return K0.state.type===Z}o1.match=u$;function V70(){let Z=K0.state.snapshot();$D();let Q=K0.state.type;return K0.state.restoreFromSnapshot(Z),Q}o1.lookaheadType=V70;class f${constructor(Z,Q){this.type=Z,this.contextualKeyword=Q}}o1.TypeAndKeyword=f$;function D70(){let Z=K0.state.snapshot();$D();let Q=K0.state.type,Y=K0.state.contextualKeyword;return K0.state.restoreFromSnapshot(Z),new f$(Q,Y)}o1.lookaheadTypeAndKeyword=D70;function XN(){return FN(K0.state.pos)}o1.nextTokenStart=XN;function FN(Z){x$.skipWhiteSpace.lastIndex=Z;let Q=x$.skipWhiteSpace.exec(K0.input);return Z+Q[0].length}o1.nextTokenStartSince=FN;function z70(){return K0.input.charCodeAt(XN())}o1.lookaheadCharCode=z70;function AN(){if(EN(),K0.state.start=K0.state.pos,K0.state.pos>=K0.input.length){let Z=K0.state.tokens;if(Z.length>=2&&Z[Z.length-1].start>=K0.input.length&&Z[Z.length-2].start>=K0.input.length)EQ.unexpected.call(void 0,"Unexpectedly reached the end of input.");K5(J1.TokenType.eof);return}H70(K0.input.charCodeAt(K0.state.pos))}o1.nextToken=AN;function H70(Z){if(BN.IS_IDENTIFIER_START[Z]||Z===v0.charCodes.backslash||Z===v0.charCodes.atSign&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.atSign)s90.default.call(void 0);else CN(Z)}function G70(){while(K0.input.charCodeAt(K0.state.pos)!==v0.charCodes.asterisk||K0.input.charCodeAt(K0.state.pos+1)!==v0.charCodes.slash)if(K0.state.pos++,K0.state.pos>K0.input.length){EQ.unexpected.call(void 0,"Unterminated comment",K0.state.pos-2);return}K0.state.pos+=2}function wN(Z){let Q=K0.input.charCodeAt(K0.state.pos+=Z);if(K0.state.pos<K0.input.length)while(Q!==v0.charCodes.lineFeed&&Q!==v0.charCodes.carriageReturn&&Q!==v0.charCodes.lineSeparator&&Q!==v0.charCodes.paragraphSeparator&&++K0.state.pos<K0.input.length)Q=K0.input.charCodeAt(K0.state.pos)}o1.skipLineComment=wN;function EN(){while(K0.state.pos<K0.input.length){let Z=K0.input.charCodeAt(K0.state.pos);switch(Z){case v0.charCodes.carriageReturn:if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.lineFeed)++K0.state.pos;case v0.charCodes.lineFeed:case v0.charCodes.lineSeparator:case v0.charCodes.paragraphSeparator:++K0.state.pos;break;case v0.charCodes.slash:switch(K0.input.charCodeAt(K0.state.pos+1)){case v0.charCodes.asterisk:K0.state.pos+=2,G70();break;case v0.charCodes.slash:wN(2);break;default:return}break;default:if(x$.IS_WHITESPACE[Z])++K0.state.pos;else return}}}o1.skipSpace=EN;function K5(Z,Q=i90.ContextualKeyword.NONE){K0.state.end=K0.state.pos,K0.state.type=Z,K0.state.contextualKeyword=Q}o1.finishToken=K5;function W70(){let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z>=v0.charCodes.digit0&&Z<=v0.charCodes.digit9){RN(!0);return}if(Z===v0.charCodes.dot&&K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.dot)K0.state.pos+=3,K5(J1.TokenType.ellipsis);else++K0.state.pos,K5(J1.TokenType.dot)}function U70(){if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else r1(J1.TokenType.slash,1)}function $70(Z){let Q=Z===v0.charCodes.asterisk?J1.TokenType.star:J1.TokenType.modulo,Y=1,J=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.asterisk&&J===v0.charCodes.asterisk)Y++,J=K0.input.charCodeAt(K0.state.pos+2),Q=J1.TokenType.exponent;if(J===v0.charCodes.equalsTo&&K0.input.charCodeAt(K0.state.pos+2)!==v0.charCodes.greaterThan)Y++,Q=J1.TokenType.assign;r1(Q,Y)}function B70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===Z){if(K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,3);else r1(Z===v0.charCodes.verticalBar?J1.TokenType.logicalOR:J1.TokenType.logicalAND,2);return}if(Z===v0.charCodes.verticalBar){if(Q===v0.charCodes.greaterThan){r1(J1.TokenType.pipeline,2);return}else if(Q===v0.charCodes.rightCurlyBrace&&K0.isFlowEnabled){r1(J1.TokenType.braceBarR,2);return}}if(Q===v0.charCodes.equalsTo){r1(J1.TokenType.assign,2);return}r1(Z===v0.charCodes.verticalBar?J1.TokenType.bitwiseOR:J1.TokenType.bitwiseAND,1)}function O70(){if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else r1(J1.TokenType.bitwiseXOR,1)}function X70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===Z){r1(J1.TokenType.preIncDec,2);return}if(Q===v0.charCodes.equalsTo)r1(J1.TokenType.assign,2);else if(Z===v0.charCodes.plusSign)r1(J1.TokenType.plus,1);else r1(J1.TokenType.minus,1)}function F70(){let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.lessThan){if(K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo){r1(J1.TokenType.assign,3);return}if(K0.state.isType)r1(J1.TokenType.lessThan,1);else r1(J1.TokenType.bitShiftL,2);return}if(Z===v0.charCodes.equalsTo)r1(J1.TokenType.relationalOrEqual,2);else r1(J1.TokenType.lessThan,1)}function IN(){if(K0.state.isType){r1(J1.TokenType.greaterThan,1);return}let Z=K0.input.charCodeAt(K0.state.pos+1);if(Z===v0.charCodes.greaterThan){let Q=K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.greaterThan?3:2;if(K0.input.charCodeAt(K0.state.pos+Q)===v0.charCodes.equalsTo){r1(J1.TokenType.assign,Q+1);return}r1(J1.TokenType.bitShiftR,Q);return}if(Z===v0.charCodes.equalsTo)r1(J1.TokenType.relationalOrEqual,2);else r1(J1.TokenType.greaterThan,1)}function A70(){if(K0.state.type===J1.TokenType.greaterThan)K0.state.pos-=1,IN()}o1.rescan_gt=A70;function w70(Z){let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===v0.charCodes.equalsTo){r1(J1.TokenType.equality,K0.input.charCodeAt(K0.state.pos+2)===v0.charCodes.equalsTo?3:2);return}if(Z===v0.charCodes.equalsTo&&Q===v0.charCodes.greaterThan){K0.state.pos+=2,K5(J1.TokenType.arrow);return}r1(Z===v0.charCodes.equalsTo?J1.TokenType.eq:J1.TokenType.bang,1)}function E70(){let Z=K0.input.charCodeAt(K0.state.pos+1),Q=K0.input.charCodeAt(K0.state.pos+2);if(Z===v0.charCodes.questionMark&&!(K0.isFlowEnabled&&K0.state.isType))if(Q===v0.charCodes.equalsTo)r1(J1.TokenType.assign,3);else r1(J1.TokenType.nullishCoalescing,2);else if(Z===v0.charCodes.dot&&!(Q>=v0.charCodes.digit0&&Q<=v0.charCodes.digit9))K0.state.pos+=2,K5(J1.TokenType.questionDot);else++K0.state.pos,K5(J1.TokenType.question)}function CN(Z){switch(Z){case v0.charCodes.numberSign:++K0.state.pos,K5(J1.TokenType.hash);return;case v0.charCodes.dot:W70();return;case v0.charCodes.leftParenthesis:++K0.state.pos,K5(J1.TokenType.parenL);return;case v0.charCodes.rightParenthesis:++K0.state.pos,K5(J1.TokenType.parenR);return;case v0.charCodes.semicolon:++K0.state.pos,K5(J1.TokenType.semi);return;case v0.charCodes.comma:++K0.state.pos,K5(J1.TokenType.comma);return;case v0.charCodes.leftSquareBracket:++K0.state.pos,K5(J1.TokenType.bracketL);return;case v0.charCodes.rightSquareBracket:++K0.state.pos,K5(J1.TokenType.bracketR);return;case v0.charCodes.leftCurlyBrace:if(K0.isFlowEnabled&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.verticalBar)r1(J1.TokenType.braceBarL,2);else++K0.state.pos,K5(J1.TokenType.braceL);return;case v0.charCodes.rightCurlyBrace:++K0.state.pos,K5(J1.TokenType.braceR);return;case v0.charCodes.colon:if(K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.colon)r1(J1.TokenType.doubleColon,2);else++K0.state.pos,K5(J1.TokenType.colon);return;case v0.charCodes.questionMark:E70();return;case v0.charCodes.atSign:++K0.state.pos,K5(J1.TokenType.at);return;case v0.charCodes.graveAccent:++K0.state.pos,K5(J1.TokenType.backQuote);return;case v0.charCodes.digit0:{let Q=K0.input.charCodeAt(K0.state.pos+1);if(Q===v0.charCodes.lowercaseX||Q===v0.charCodes.uppercaseX||Q===v0.charCodes.lowercaseO||Q===v0.charCodes.uppercaseO||Q===v0.charCodes.lowercaseB||Q===v0.charCodes.uppercaseB){C70();return}}case v0.charCodes.digit1:case v0.charCodes.digit2:case v0.charCodes.digit3:case v0.charCodes.digit4:case v0.charCodes.digit5:case v0.charCodes.digit6:case v0.charCodes.digit7:case v0.charCodes.digit8:case v0.charCodes.digit9:RN(!1);return;case v0.charCodes.quotationMark:case v0.charCodes.apostrophe:R70(Z);return;case v0.charCodes.slash:U70();return;case v0.charCodes.percentSign:case v0.charCodes.asterisk:$70(Z);return;case v0.charCodes.verticalBar:case v0.charCodes.ampersand:B70(Z);return;case v0.charCodes.caret:O70();return;case v0.charCodes.plusSign:case v0.charCodes.dash:X70(Z);return;case v0.charCodes.lessThan:F70();return;case v0.charCodes.greaterThan:IN();return;case v0.charCodes.equalsTo:case v0.charCodes.exclamationMark:w70(Z);return;case v0.charCodes.tilde:r1(J1.TokenType.tilde,1);return;default:break}EQ.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(Z)}'`,K0.state.pos)}o1.getTokenFromCode=CN;function r1(Z,Q){K0.state.pos+=Q,K5(Z)}function I70(){let Z=K0.state.pos,Q=!1,Y=!1;for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated regular expression",Z);return}let J=K0.input.charCodeAt(K0.state.pos);if(Q)Q=!1;else{if(J===v0.charCodes.leftSquareBracket)Y=!0;else if(J===v0.charCodes.rightSquareBracket&&Y)Y=!1;else if(J===v0.charCodes.slash&&!Y)break;Q=J===v0.charCodes.backslash}++K0.state.pos}++K0.state.pos,LN(),K5(J1.TokenType.regexp)}function h$(){while(!0){let Z=K0.input.charCodeAt(K0.state.pos);if(Z>=v0.charCodes.digit0&&Z<=v0.charCodes.digit9||Z===v0.charCodes.underscore)K0.state.pos++;else break}}function C70(){K0.state.pos+=2;while(!0){let Q=K0.input.charCodeAt(K0.state.pos);if(Q>=v0.charCodes.digit0&&Q<=v0.charCodes.digit9||Q>=v0.charCodes.lowercaseA&&Q<=v0.charCodes.lowercaseF||Q>=v0.charCodes.uppercaseA&&Q<=v0.charCodes.uppercaseF||Q===v0.charCodes.underscore)K0.state.pos++;else break}if(K0.input.charCodeAt(K0.state.pos)===v0.charCodes.lowercaseN)++K0.state.pos,K5(J1.TokenType.bigint);else K5(J1.TokenType.num)}function RN(Z){let Q=!1,Y=!1;if(!Z)h$();let J=K0.input.charCodeAt(K0.state.pos);if(J===v0.charCodes.dot)++K0.state.pos,h$(),J=K0.input.charCodeAt(K0.state.pos);if(J===v0.charCodes.uppercaseE||J===v0.charCodes.lowercaseE){if(J=K0.input.charCodeAt(++K0.state.pos),J===v0.charCodes.plusSign||J===v0.charCodes.dash)++K0.state.pos;h$(),J=K0.input.charCodeAt(K0.state.pos)}if(J===v0.charCodes.lowercaseN)++K0.state.pos,Q=!0;else if(J===v0.charCodes.lowercaseM)++K0.state.pos,Y=!0;if(Q){K5(J1.TokenType.bigint);return}if(Y){K5(J1.TokenType.decimal);return}K5(J1.TokenType.num)}function R70(Z){K0.state.pos++;for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated string constant");return}let Q=K0.input.charCodeAt(K0.state.pos);if(Q===v0.charCodes.backslash)K0.state.pos++;else if(Q===Z)break;K0.state.pos++}K0.state.pos++,K5(J1.TokenType.string)}function L70(){for(;;){if(K0.state.pos>=K0.input.length){EQ.unexpected.call(void 0,"Unterminated template");return}let Z=K0.input.charCodeAt(K0.state.pos);if(Z===v0.charCodes.graveAccent||Z===v0.charCodes.dollarSign&&K0.input.charCodeAt(K0.state.pos+1)===v0.charCodes.leftCurlyBrace){if(K0.state.pos===K0.state.start&&u$(J1.TokenType.template))if(Z===v0.charCodes.dollarSign){K0.state.pos+=2,K5(J1.TokenType.dollarBraceL);return}else{++K0.state.pos,K5(J1.TokenType.backQuote);return}K5(J1.TokenType.template);return}if(Z===v0.charCodes.backslash)K0.state.pos++;K0.state.pos++}}function LN(){while(K0.state.pos<K0.input.length){let Z=K0.input.charCodeAt(K0.state.pos);if(BN.IS_IDENTIFIER_CHAR[Z])K0.state.pos++;else if(Z===v0.charCodes.backslash){if(K0.state.pos+=2,K0.input.charCodeAt(K0.state.pos)===v0.charCodes.leftCurlyBrace){while(K0.state.pos<K0.input.length&&K0.input.charCodeAt(K0.state.pos)!==v0.charCodes.rightCurlyBrace)K0.state.pos++;K0.state.pos++}}else break}}o1.skipWord=LN});var p3=k((g$)=>{Object.defineProperty(g$,"__esModule",{value:!0});var MN=k1();function M70(Z,Q=Z.currentIndex()){let Y=Q+1;if(BD(Z,Y)){let J=Z.identifierNameAtIndex(Q);return{isType:!1,leftName:J,rightName:J,endIndex:Y}}if(Y++,BD(Z,Y))return{isType:!0,leftName:null,rightName:null,endIndex:Y};if(Y++,BD(Z,Y))return{isType:!1,leftName:Z.identifierNameAtIndex(Q),rightName:Z.identifierNameAtIndex(Q+2),endIndex:Y};if(Y++,BD(Z,Y))return{isType:!0,leftName:null,rightName:null,endIndex:Y};throw Error(`Unexpected import/export specifier at ${Q}`)}g$.default=M70;function BD(Z,Q){let Y=Z.tokens[Q];return Y.type===MN.TokenType.braceR||Y.type===MN.TokenType.comma}});var jN=k((m$)=>{Object.defineProperty(m$,"__esModule",{value:!0});m$.default=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp"," "],["iexcl","¡"],["cent","¢"],["pound","£"],["curren","¤"],["yen","¥"],["brvbar","¦"],["sect","§"],["uml","¨"],["copy","©"],["ordf","ª"],["laquo","«"],["not","¬"],["shy","­"],["reg","®"],["macr","¯"],["deg","°"],["plusmn","±"],["sup2","²"],["sup3","³"],["acute","´"],["micro","µ"],["para","¶"],["middot","·"],["cedil","¸"],["sup1","¹"],["ordm","º"],["raquo","»"],["frac14","¼"],["frac12","½"],["frac34","¾"],["iquest","¿"],["Agrave","À"],["Aacute","Á"],["Acirc","Â"],["Atilde","Ã"],["Auml","Ä"],["Aring","Å"],["AElig","Æ"],["Ccedil","Ç"],["Egrave","È"],["Eacute","É"],["Ecirc","Ê"],["Euml","Ë"],["Igrave","Ì"],["Iacute","Í"],["Icirc","Î"],["Iuml","Ï"],["ETH","Ð"],["Ntilde","Ñ"],["Ograve","Ò"],["Oacute","Ó"],["Ocirc","Ô"],["Otilde","Õ"],["Ouml","Ö"],["times","×"],["Oslash","Ø"],["Ugrave","Ù"],["Uacute","Ú"],["Ucirc","Û"],["Uuml","Ü"],["Yacute","Ý"],["THORN","Þ"],["szlig","ß"],["agrave","à"],["aacute","á"],["acirc","â"],["atilde","ã"],["auml","ä"],["aring","å"],["aelig","æ"],["ccedil","ç"],["egrave","è"],["eacute","é"],["ecirc","ê"],["euml","ë"],["igrave","ì"],["iacute","í"],["icirc","î"],["iuml","ï"],["eth","ð"],["ntilde","ñ"],["ograve","ò"],["oacute","ó"],["ocirc","ô"],["otilde","õ"],["ouml","ö"],["divide","÷"],["oslash","ø"],["ugrave","ù"],["uacute","ú"],["ucirc","û"],["uuml","ü"],["yacute","ý"],["thorn","þ"],["yuml","ÿ"],["OElig","Œ"],["oelig","œ"],["Scaron","Š"],["scaron","š"],["Yuml","Ÿ"],["fnof","ƒ"],["circ","ˆ"],["tilde","˜"],["Alpha","Α"],["Beta","Β"],["Gamma","Γ"],["Delta","Δ"],["Epsilon","Ε"],["Zeta","Ζ"],["Eta","Η"],["Theta","Θ"],["Iota","Ι"],["Kappa","Κ"],["Lambda","Λ"],["Mu","Μ"],["Nu","Ν"],["Xi","Ξ"],["Omicron","Ο"],["Pi","Π"],["Rho","Ρ"],["Sigma","Σ"],["Tau","Τ"],["Upsilon","Υ"],["Phi","Φ"],["Chi","Χ"],["Psi","Ψ"],["Omega","Ω"],["alpha","α"],["beta","β"],["gamma","γ"],["delta","δ"],["epsilon","ε"],["zeta","ζ"],["eta","η"],["theta","θ"],["iota","ι"],["kappa","κ"],["lambda","λ"],["mu","μ"],["nu","ν"],["xi","ξ"],["omicron","ο"],["pi","π"],["rho","ρ"],["sigmaf","ς"],["sigma","σ"],["tau","τ"],["upsilon","υ"],["phi","φ"],["chi","χ"],["psi","ψ"],["omega","ω"],["thetasym","ϑ"],["upsih","ϒ"],["piv","ϖ"],["ensp"," "],["emsp"," "],["thinsp"," "],["zwnj","‌"],["zwj","‍"],["lrm","‎"],["rlm","‏"],["ndash","–"],["mdash","—"],["lsquo","‘"],["rsquo","’"],["sbquo","‚"],["ldquo","“"],["rdquo","”"],["bdquo","„"],["dagger","†"],["Dagger","‡"],["bull","•"],["hellip","…"],["permil","‰"],["prime","′"],["Prime","″"],["lsaquo","‹"],["rsaquo","›"],["oline","‾"],["frasl","⁄"],["euro","€"],["image","ℑ"],["weierp","℘"],["real","ℜ"],["trade","™"],["alefsym","ℵ"],["larr","←"],["uarr","↑"],["rarr","→"],["darr","↓"],["harr","↔"],["crarr","↵"],["lArr","⇐"],["uArr","⇑"],["rArr","⇒"],["dArr","⇓"],["hArr","⇔"],["forall","∀"],["part","∂"],["exist","∃"],["empty","∅"],["nabla","∇"],["isin","∈"],["notin","∉"],["ni","∋"],["prod","∏"],["sum","∑"],["minus","−"],["lowast","∗"],["radic","√"],["prop","∝"],["infin","∞"],["ang","∠"],["and","∧"],["or","∨"],["cap","∩"],["cup","∪"],["int","∫"],["there4","∴"],["sim","∼"],["cong","≅"],["asymp","≈"],["ne","≠"],["equiv","≡"],["le","≤"],["ge","≥"],["sub","⊂"],["sup","⊃"],["nsub","⊄"],["sube","⊆"],["supe","⊇"],["oplus","⊕"],["otimes","⊗"],["perp","⊥"],["sdot","⋅"],["lceil","⌈"],["rceil","⌉"],["lfloor","⌊"],["rfloor","⌋"],["lang","〈"],["rang","〉"],["loz","◊"],["spades","♠"],["clubs","♣"],["hearts","♥"],["diams","♦"]])});var d$=k((c$)=>{Object.defineProperty(c$,"__esModule",{value:!0});function j70(Z){let[Q,Y]=NN(Z.jsxPragma||"React.createElement"),[J,q]=NN(Z.jsxFragmentPragma||"React.Fragment");return{base:Q,suffix:Y,fragmentBase:J,fragmentSuffix:q}}c$.default=j70;function NN(Z){let Q=Z.indexOf(".");if(Q===-1)Q=Z.length;return[Z.slice(0,Q),Z.slice(Q)]}});var s9=k((l$)=>{Object.defineProperty(l$,"__esModule",{value:!0});class SN{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}}l$.default=SN});var i$=k((XD)=>{Object.defineProperty(XD,"__esModule",{value:!0});function p$(Z){return Z&&Z.__esModule?Z:{default:Z}}var N70=jN(),S70=p$(N70),OD=Z8(),l1=k1(),Y6=M9(),P70=d$(),T70=p$(P70),_70=s9(),v70=p$(_70);class zZ extends v70.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(Z,Q,Y,J,q){super();this.rootTransformer=Z,this.tokens=Q,this.importProcessor=Y,this.nameManager=J,this.options=q,zZ.prototype.__init.call(this),zZ.prototype.__init2.call(this),zZ.prototype.__init3.call(this),zZ.prototype.__init4.call(this),zZ.prototype.__init5.call(this),this.jsxPragmaInfo=T70.default.call(void 0,q),this.isAutomaticRuntime=q.jsxRuntime==="automatic",this.jsxImportSource=q.jsxImportSource||"react"}process(){if(this.tokens.matches1(l1.TokenType.jsxTagStart))return this.processJSXTag(),!0;return!1}getPrefixCode(){let Z="";if(this.filenameVarName)Z+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`;if(this.isAutomaticRuntime)if(this.importProcessor)for(let[Q,Y]of Object.entries(this.cjsAutomaticModuleNameResolutions))Z+=`var ${Y} = require("${Q}");`;else{let{createElement:Q,...Y}=this.esmAutomaticImportNameResolutions;if(Q)Z+=`import {createElement as ${Q}} from "${this.jsxImportSource}";`;let J=Object.entries(Y).map(([q,K])=>`${q} as ${K}`).join(", ");if(J){let q=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");Z+=`import {${J}} from "${q}";`}}return Z}processJSXTag(){let{jsxRole:Z,start:Q}=this.tokens.currentToken(),Y=this.options.production?null:this.getElementLocationCode(Q);if(this.isAutomaticRuntime&&Z!==OD.JSXRole.KeyAfterPropSpread)this.transformTagToJSXFunc(Y,Z);else this.transformTagToCreateElement(Y)}getElementLocationCode(Z){return`lineNumber: ${this.getLineNumberForIndex(Z)}`}getLineNumberForIndex(Z){let Q=this.tokens.code;while(this.lastIndex<Z&&this.lastIndex<Q.length){if(Q[this.lastIndex]===`
36
36
  `)this.lastLineNumber++;this.lastIndex++}return this.lastLineNumber}transformTagToJSXFunc(Z,Q){let Y=Q===OD.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(Y));let J=null;if(this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(Q);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),J=this.processProps(!0),this.tokens.matches2(l1.TokenType.slash,l1.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(Q);else throw Error("Expected either /> or > at the end of the tag.");if(J)this.tokens.appendCode(`, ${J}`)}if(!this.options.production){if(J===null)this.tokens.appendCode(", void 0");this.tokens.appendCode(`, ${Y}, ${this.getDevSource(Z)}, this`)}this.tokens.removeInitialToken();while(!this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(Z){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(Z),this.tokens.matches2(l1.TokenType.slash,l1.TokenType.jsxTagEnd));else if(this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw Error("Expected either /> or > at the end of the tag.");this.tokens.removeInitialToken();while(!this.tokens.matches1(l1.TokenType.jsxTagEnd))this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(Z){if(this.options.production)if(Z)return this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime");else return this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime");else return this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");else{let{jsxPragmaInfo:Z}=this;return`${this.importProcessor?this.importProcessor.getIdentifierReplacement(Z.base)||Z.base:Z.base}${Z.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");else{let{jsxPragmaInfo:Z}=this;return(this.importProcessor?this.importProcessor.getIdentifierReplacement(Z.fragmentBase)||Z.fragmentBase:Z.fragmentBase)+Z.fragmentSuffix}}claimAutoImportedFuncInvocation(Z,Q){let Y=this.claimAutoImportedName(Z,Q);if(this.importProcessor)return`${Y}.call(void 0, `;else return`${Y}(`}claimAutoImportedName(Z,Q){if(this.importProcessor){let Y=this.jsxImportSource+Q;if(!this.cjsAutomaticModuleNameResolutions[Y])this.cjsAutomaticModuleNameResolutions[Y]=this.importProcessor.getFreeIdentifierForPath(Y);return`${this.cjsAutomaticModuleNameResolutions[Y]}.${Z}`}else{if(!this.esmAutomaticImportNameResolutions[Z])this.esmAutomaticImportNameResolutions[Z]=this.nameManager.claimFreeName(`_${Z}`);return this.esmAutomaticImportNameResolutions[Z]}}processTagIntro(){let Z=this.tokens.currentIndex()+1;while(this.tokens.tokens[Z].isType||!this.tokens.matches2AtIndex(Z-1,l1.TokenType.jsxName,l1.TokenType.jsxName)&&!this.tokens.matches2AtIndex(Z-1,l1.TokenType.greaterThan,l1.TokenType.jsxName)&&!this.tokens.matches1AtIndex(Z,l1.TokenType.braceL)&&!this.tokens.matches1AtIndex(Z,l1.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(Z,l1.TokenType.slash,l1.TokenType.jsxTagEnd))Z++;if(Z===this.tokens.currentIndex()+1){let Q=this.tokens.identifierName();if(TN(Q))this.tokens.replaceToken(`'${Q}'`)}while(this.tokens.currentIndex()<Z)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(Z){let Q=this.options.production?"":`__self: this, __source: ${this.getDevSource(Z)}`;if(!this.tokens.matches1(l1.TokenType.jsxName)&&!this.tokens.matches1(l1.TokenType.braceL)){if(Q)this.tokens.appendCode(`, {${Q}}`);else this.tokens.appendCode(", null");return}if(this.tokens.appendCode(", {"),this.processProps(!1),Q)this.tokens.appendCode(` ${Q}}`);else this.tokens.appendCode("}")}processProps(Z){let Q=null;while(!0){if(this.tokens.matches2(l1.TokenType.jsxName,l1.TokenType.eq)){let Y=this.tokens.identifierName();if(Z&&Y==="key"){if(Q!==null)this.tokens.appendCode(Q.replace(/[^\n]/g,""));this.tokens.removeToken(),this.tokens.removeToken();let J=this.tokens.snapshot();this.processPropValue(),Q=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(J);continue}else this.processPropName(Y),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(l1.TokenType.jsxName)){let Y=this.tokens.identifierName();this.processPropName(Y),this.tokens.appendCode(": true")}else if(this.tokens.matches1(l1.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return Q}processPropName(Z){if(Z.includes("-"))this.tokens.replaceToken(`'${Z}'`);else this.tokens.copyToken()}processPropValue(){if(this.tokens.matches1(l1.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else if(this.tokens.matches1(l1.TokenType.jsxTagStart))this.processJSXTag();else this.processStringPropValue()}processStringPropValue(){let Z=this.tokens.currentToken(),Q=this.tokens.code.slice(Z.start+1,Z.end-1),Y=PN(Q),J=k70(Q);this.tokens.replaceToken(J+Y)}processAutomaticChildrenAndEndProps(Z){if(Z===OD.JSXRole.StaticChildren)this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}");else{if(Z===OD.JSXRole.OneChild)this.tokens.appendCode(" children: ");this.processChildren(!1),this.tokens.appendCode("}")}}processChildren(Z){let Q=Z;while(!0){if(this.tokens.matches2(l1.TokenType.jsxTagStart,l1.TokenType.slash))return;let Y=!1;if(this.tokens.matches1(l1.TokenType.braceL))if(this.tokens.matches2(l1.TokenType.braceL,l1.TokenType.braceR))this.tokens.replaceToken(""),this.tokens.replaceToken("");else this.tokens.replaceToken(Q?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),Y=!0;else if(this.tokens.matches1(l1.TokenType.jsxTagStart))this.tokens.appendCode(Q?", ":""),this.processJSXTag(),Y=!0;else if(this.tokens.matches1(l1.TokenType.jsxText)||this.tokens.matches1(l1.TokenType.jsxEmptyText))Y=this.processChildTextElement(Q);else throw Error("Unexpected token when processing JSX children.");if(Y)Q=!0}}processChildTextElement(Z){let Q=this.tokens.currentToken(),Y=this.tokens.code.slice(Q.start,Q.end),J=PN(Y),q=b70(Y);if(q==='""')return this.tokens.replaceToken(J),!1;else return this.tokens.replaceToken(`${Z?", ":""}${q}${J}`),!0}getDevSource(Z){return`{fileName: ${this.getFilenameVarName()}, ${Z}}`}getFilenameVarName(){if(!this.filenameVarName)this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName");return this.filenameVarName}}XD.default=zZ;function TN(Z){let Q=Z.charCodeAt(0);return Q>=Y6.charCodes.lowercaseA&&Q<=Y6.charCodes.lowercaseZ}XD.startsWithLowerCase=TN;function b70(Z){let Q="",Y="",J=!1,q=!1;for(let K=0;K<Z.length;K++){let V=Z[K];if(V===" "||V==="\t"||V==="\r"){if(!J)Y+=V}else if(V===`
37
37
  `)Y="",J=!0;else{if(q&&J)Q+=" ";if(Q+=Y,Y="",V==="&"){let{entity:D,newI:z}=_N(Z,K+1);K=z-1,Q+=D}else Q+=V;q=!0,J=!1}}if(!J)Q+=Y;return JSON.stringify(Q)}function PN(Z){let Q=0,Y=0;for(let J of Z)if(J===`
38
38
  `)Q++,Y=0;else if(J===" ")Y++;return`
@@ -147,7 +147,7 @@ globstar while`,Z,W,Q,$,B),this.matchOne(Z.slice(W),Q.slice($),Y))return this.de
147
147
  const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
148
148
  return result == null ? true : result;
149
149
  }
150
- `};class wD{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(Z){this.nameManager=Z,wD.prototype.__init.call(this),wD.prototype.__init2.call(this)}getHelperName(Z){let Q=this.helperNames[Z];if(Q)return Q;return Q=this.nameManager.claimFreeName(`_${Z}`),this.helperNames[Z]=Q,Q}emitHelpers(){let Z="";if(this.helperNames.optionalChainDelete)this.getHelperName("optionalChain");if(this.helperNames.asyncOptionalChainDelete)this.getHelperName("asyncOptionalChain");for(let[Q,Y]of Object.entries(a70)){let J=this.helperNames[Q],q=Y;if(Q==="optionalChainDelete")q=q.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain);else if(Q==="asyncOptionalChainDelete")q=q.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain);else if(Q==="require"){if(this.createRequireName===null)this.createRequireName=this.nameManager.claimFreeName("_createRequire");q=q.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)}if(J)Z+=" ",Z+=q.replace(Q,J).replace(/\s+/g," ").trim()}return Z}}VB.HelperManager=wD});var mN=k((ID)=>{Object.defineProperty(ID,"__esModule",{value:!0});var DB=Z8(),ED=k1();function r70(Z,Q,Y){if(!gN(Z,Y))return;o70(Z,Q,Y)}ID.default=r70;function gN(Z,Q){for(let Y of Z.tokens)if(Y.type===ED.TokenType.name&&!Y.isType&&DB.isNonTopLevelDeclaration.call(void 0,Y)&&Q.has(Z.identifierNameForToken(Y)))return!0;return!1}ID.hasShadowedGlobals=gN;function o70(Z,Q,Y){let J=[],q=Q.length-1;for(let K=Z.tokens.length-1;;K--){while(J.length>0&&J[J.length-1].startTokenIndex===K+1)J.pop();while(q>=0&&Q[q].endTokenIndex===K+1)J.push(Q[q]),q--;if(K<0)break;let V=Z.tokens[K],D=Z.identifierNameForToken(V);if(J.length>1&&!V.isType&&V.type===ED.TokenType.name&&Y.has(D)){if(DB.isBlockScopedDeclaration.call(void 0,V))fN(J[J.length-1],Z,D);else if(DB.isFunctionScopedDeclaration.call(void 0,V)){let z=J.length-1;while(z>0&&!J[z].isFunctionScope)z--;if(z<0)throw Error("Did not find parent function scope.");fN(J[z],Z,D)}}}if(J.length>0)throw Error("Expected empty scope stack after processing file.")}function fN(Z,Q,Y){for(let J=Z.startTokenIndex;J<Z.endTokenIndex;J++){let q=Q.tokens[J];if((q.type===ED.TokenType.name||q.type===ED.TokenType.jsxName)&&Q.identifierNameForToken(q)===Y)q.shadowsGlobal=!0}}});var cN=k((zB)=>{Object.defineProperty(zB,"__esModule",{value:!0});var t70=k1();function e70(Z,Q){let Y=[];for(let J of Q)if(J.type===t70.TokenType.name)Y.push(Z.slice(J.start,J.end));return Y}zB.default=e70});var dN=k((GB)=>{Object.defineProperty(GB,"__esModule",{value:!0});function Z60(Z){return Z&&Z.__esModule?Z:{default:Z}}var Q60=cN(),Y60=Z60(Q60);class HB{__init(){this.usedNames=new Set}constructor(Z,Q){HB.prototype.__init.call(this),this.usedNames=new Set(Y60.default.call(void 0,Z,Q))}claimFreeName(Z){let Q=this.findFreeName(Z);return this.usedNames.add(Q),Q}findFreeName(Z){if(!this.usedNames.has(Z))return Z;let Q=2;while(this.usedNames.has(Z+String(Q)))Q++;return Z+String(Q)}}GB.default=HB});var CD=k((J6)=>{var J60=J6&&J6.__extends||function(){var Z=function(Q,Y){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,q){J.__proto__=q}||function(J,q){for(var K in q)if(q.hasOwnProperty(K))J[K]=q[K]},Z(Q,Y)};return function(Q,Y){Z(Q,Y);function J(){this.constructor=Q}Q.prototype=Y===null?Object.create(Y):(J.prototype=Y.prototype,new J)}}();Object.defineProperty(J6,"__esModule",{value:!0});J6.DetailContext=J6.NoopContext=J6.VError=void 0;var lN=function(Z){J60(Q,Z);function Q(Y,J){var q=Z.call(this,J)||this;return q.path=Y,Object.setPrototypeOf(q,Q.prototype),q}return Q}(Error);J6.VError=lN;var q60=function(){function Z(){}return Z.prototype.fail=function(Q,Y,J){return!1},Z.prototype.unionResolver=function(){return this},Z.prototype.createContext=function(){return this},Z.prototype.resolveUnion=function(Q){},Z}();J6.NoopContext=q60;var pN=function(){function Z(){this._propNames=[""],this._messages=[null],this._score=0}return Z.prototype.fail=function(Q,Y,J){return this._propNames.push(Q),this._messages.push(Y),this._score+=J,!1},Z.prototype.unionResolver=function(){return new K60},Z.prototype.resolveUnion=function(Q){var Y,J,q=Q,K=null;for(var V=0,D=q.contexts;V<D.length;V++){var z=D[V];if(!K||z._score>=K._score)K=z}if(K&&K._score>0)(Y=this._propNames).push.apply(Y,K._propNames),(J=this._messages).push.apply(J,K._messages)},Z.prototype.getError=function(Q){var Y=[];for(var J=this._propNames.length-1;J>=0;J--){var q=this._propNames[J];Q+=typeof q==="number"?"["+q+"]":q?"."+q:"";var K=this._messages[J];if(K)Y.push(Q+" "+K)}return new lN(Q,Y.join("; "))},Z.prototype.getErrorDetail=function(Q){var Y=[];for(var J=this._propNames.length-1;J>=0;J--){var q=this._propNames[J];Q+=typeof q==="number"?"["+q+"]":q?"."+q:"";var K=this._messages[J];if(K)Y.push({path:Q,message:K})}var V=null;for(var J=Y.length-1;J>=0;J--){if(V)Y[J].nested=[V];V=Y[J]}return V},Z}();J6.DetailContext=pN;var K60=function(){function Z(){this.contexts=[]}return Z.prototype.createContext=function(){var Q=new pN;return this.contexts.push(Q),Q},Z}()});var AB=k((W1)=>{var P9=W1&&W1.__extends||function(){var Z=function(Q,Y){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,q){J.__proto__=q}||function(J,q){for(var K in q)if(q.hasOwnProperty(K))J[K]=q[K]},Z(Q,Y)};return function(Q,Y){Z(Q,Y);function J(){this.constructor=Q}Q.prototype=Y===null?Object.create(Y):(J.prototype=Y.prototype,new J)}}();Object.defineProperty(W1,"__esModule",{value:!0});W1.basicTypes=W1.BasicType=W1.TParamList=W1.TParam=W1.param=W1.TFunc=W1.func=W1.TProp=W1.TOptional=W1.opt=W1.TIface=W1.iface=W1.TEnumLiteral=W1.enumlit=W1.TEnumType=W1.enumtype=W1.TIntersection=W1.intersection=W1.TUnion=W1.union=W1.TTuple=W1.tuple=W1.TArray=W1.array=W1.TLiteral=W1.lit=W1.TName=W1.name=W1.TType=void 0;var nN=CD(),D9=function(){function Z(){}return Z}();W1.TType=D9;function Z2(Z){return typeof Z==="string"?sN(Z):Z}function $B(Z,Q){var Y=Z[Q];if(!Y)throw Error("Unknown type "+Q);return Y}function sN(Z){return new BB(Z)}W1.name=sN;var BB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.name=Y,J._failMsg="is not a "+Y,J}return Q.prototype.getChecker=function(Y,J,q){var K=this,V=$B(Y,this.name),D=V.getChecker(Y,J,q);if(V instanceof h8||V instanceof Q)return D;return function(z,H){return D(z,H)?!0:H.fail(null,K._failMsg,0)}},Q}(D9);W1.TName=BB;function V60(Z){return new OB(Z)}W1.lit=V60;var OB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.value=Y,J.name=JSON.stringify(Y),J._failMsg="is not "+J.name,J}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return K===q.value?!0:V.fail(null,q._failMsg,-1)}},Q}(D9);W1.TLiteral=OB;function D60(Z){return new aN(Z2(Z))}W1.array=D60;var aN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttype=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttype.getChecker(Y,J);return function(K,V){if(!Array.isArray(K))return V.fail(null,"is not an array",0);for(var D=0;D<K.length;D++){var z=q(K[D],V);if(!z)return V.fail(D,null,1)}return!0}},Q}(D9);W1.TArray=aN;function z60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new rN(Z.map(function(Y){return Z2(Y)}))}W1.tuple=z60;var rN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttypes=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttypes.map(function(V){return V.getChecker(Y,J)}),K=function(V,D){if(!Array.isArray(V))return D.fail(null,"is not an array",0);for(var z=0;z<q.length;z++){var H=q[z](V[z],D);if(!H)return D.fail(z,null,1)}return!0};if(!J)return K;return function(V,D){if(!K(V,D))return!1;return V.length<=q.length?!0:D.fail(q.length,"is extraneous",2)}},Q}(D9);W1.TTuple=rN;function H60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new oN(Z.map(function(Y){return Z2(Y)}))}W1.union=H60;var oN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;J.ttypes=Y;var q=Y.map(function(V){return V instanceof BB||V instanceof OB?V.name:null}).filter(function(V){return V}),K=Y.length-q.length;if(q.length){if(K>0)q.push(K+" more");J._failMsg="is none of "+q.join(", ")}else J._failMsg="is none of "+K+" types";return J}return Q.prototype.getChecker=function(Y,J){var q=this,K=this.ttypes.map(function(V){return V.getChecker(Y,J)});return function(V,D){var z=D.unionResolver();for(var H=0;H<K.length;H++){var G=K[H](V,z.createContext());if(G)return!0}return D.resolveUnion(z),D.fail(null,q._failMsg,0)}},Q}(D9);W1.TUnion=oN;function G60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new tN(Z.map(function(Y){return Z2(Y)}))}W1.intersection=G60;var tN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttypes=Y,J}return Q.prototype.getChecker=function(Y,J){var q=new Set,K=this.ttypes.map(function(V){return V.getChecker(Y,J,q)});return function(V,D){var z=K.every(function(H){return H(V,D)});if(z)return!0;return D.fail(null,null,0)}},Q}(D9);W1.TIntersection=tN;function W60(Z){return new XB(Z)}W1.enumtype=W60;var XB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.members=Y,J.validValues=new Set,J._failMsg="is not a valid enum value",J.validValues=new Set(Object.keys(Y).map(function(q){return Y[q]})),J}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return q.validValues.has(K)?!0:V.fail(null,q._failMsg,0)}},Q}(D9);W1.TEnumType=XB;function U60(Z,Q){return new eN(Z,Q)}W1.enumlit=U60;var eN=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.enumName=Y,q.prop=J,q._failMsg="is not "+Y+"."+J,q}return Q.prototype.getChecker=function(Y,J){var q=this,K=$B(Y,this.enumName);if(!(K instanceof XB))throw Error("Type "+this.enumName+" used in enumlit is not an enum type");var V=K.members[this.prop];if(!K.members.hasOwnProperty(this.prop))throw Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(D,z){return D===V?!0:z.fail(null,q._failMsg,-1)}},Q}(D9);W1.TEnumLiteral=eN;function $60(Z){return Object.keys(Z).map(function(Q){return B60(Q,Z[Q])})}function B60(Z,Q){return Q instanceof FB?new WB(Z,Q.ttype,!0):new WB(Z,Z2(Q),!1)}function O60(Z,Q){return new ZS(Z,$60(Q))}W1.iface=O60;var ZS=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.bases=Y,q.props=J,q.propSet=new Set(J.map(function(K){return K.name})),q}return Q.prototype.getChecker=function(Y,J,q){var K=this,V=this.bases.map(function($){return $B(Y,$).getChecker(Y,J)}),D=this.props.map(function($){return $.ttype.getChecker(Y,J)}),z=new nN.NoopContext,H=this.props.map(function($,B){return!$.isOpt&&!D[B](void 0,z)}),G=function($,B){if(typeof $!=="object"||$===null)return B.fail(null,"is not an object",0);for(var O=0;O<V.length;O++)if(!V[O]($,B))return!1;for(var O=0;O<D.length;O++){var A=K.props[O].name,w=$[A];if(w===void 0){if(H[O])return B.fail(A,"is missing",1)}else{var E=D[O](w,B);if(!E)return B.fail(A,null,1)}}return!0};if(!J)return G;var W=this.propSet;if(q)this.propSet.forEach(function($){return q.add($)}),W=q;return function($,B){if(!G($,B))return!1;for(var O in $)if(!W.has(O))return B.fail(O,"is extraneous",2);return!0}},Q}(D9);W1.TIface=ZS;function X60(Z){return new FB(Z2(Z))}W1.opt=X60;var FB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttype=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttype.getChecker(Y,J);return function(K,V){return K===void 0||q(K,V)}},Q}(D9);W1.TOptional=FB;var WB=function(){function Z(Q,Y,J){this.name=Q,this.ttype=Y,this.isOpt=J}return Z}();W1.TProp=WB;function F60(Z){var Q=[];for(var Y=1;Y<arguments.length;Y++)Q[Y-1]=arguments[Y];return new QS(new JS(Q),Z2(Z))}W1.func=F60;var QS=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.paramList=Y,q.result=J,q}return Q.prototype.getChecker=function(Y,J){return function(q,K){return typeof q==="function"?!0:K.fail(null,"is not a function",0)}},Q}(D9);W1.TFunc=QS;function A60(Z,Q,Y){return new YS(Z,Z2(Q),Boolean(Y))}W1.param=A60;var YS=function(){function Z(Q,Y,J){this.name=Q,this.ttype=Y,this.isOpt=J}return Z}();W1.TParam=YS;var JS=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.params=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this,K=this.params.map(function(H){return H.ttype.getChecker(Y,J)}),V=new nN.NoopContext,D=this.params.map(function(H,G){return!H.isOpt&&!K[G](void 0,V)}),z=function(H,G){if(!Array.isArray(H))return G.fail(null,"is not an array",0);for(var W=0;W<K.length;W++){var $=q.params[W];if(H[W]===void 0){if(D[W])return G.fail($.name,"is missing",1)}else{var B=K[W](H[W],G);if(!B)return G.fail($.name,null,1)}}return!0};if(!J)return z;return function(H,G){if(!z(H,G))return!1;return H.length<=K.length?!0:G.fail(K.length,"is extraneous",2)}},Q}(D9);W1.TParamList=JS;var h8=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.validator=Y,q.message=J,q}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return q.validator(K)?!0:V.fail(null,q.message,0)}},Q}(D9);W1.BasicType=h8;W1.basicTypes={any:new h8(function(Z){return!0},"is invalid"),number:new h8(function(Z){return typeof Z==="number"},"is not a number"),object:new h8(function(Z){return typeof Z==="object"&&Z},"is not an object"),boolean:new h8(function(Z){return typeof Z==="boolean"},"is not a boolean"),string:new h8(function(Z){return typeof Z==="string"},"is not a string"),symbol:new h8(function(Z){return typeof Z==="symbol"},"is not a symbol"),void:new h8(function(Z){return Z==null},"is not void"),undefined:new h8(function(Z){return Z===void 0},"is not undefined"),null:new h8(function(Z){return Z===null},"is not null"),never:new h8(function(Z){return!1},"is unexpected"),Date:new h8(iN("[object Date]"),"is not a Date"),RegExp:new h8(iN("[object RegExp]"),"is not a RegExp")};var w60=Object.prototype.toString;function iN(Z){return function(Q){return typeof Q==="object"&&Q&&w60.call(Q)===Z}}if(typeof Buffer<"u")W1.basicTypes.Buffer=new h8(function(Z){return Buffer.isBuffer(Z)},"is not a Buffer");var E60=function(Z){W1.basicTypes[Z.name]=new h8(function(Q){return Q instanceof Z},"is not a "+Z.name)};for(n3=0,RD=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];n3<RD.length;n3++)UB=RD[n3],E60(UB);var UB,n3,RD});var wB=k((x1)=>{var I60=x1&&x1.__spreadArrays||function(){for(var Z=0,Q=0,Y=arguments.length;Q<Y;Q++)Z+=arguments[Q].length;for(var J=Array(Z),q=0,Q=0;Q<Y;Q++)for(var K=arguments[Q],V=0,D=K.length;V<D;V++,q++)J[q]=K[V];return J};Object.defineProperty(x1,"__esModule",{value:!0});x1.Checker=x1.createCheckers=void 0;var s3=AB(),CQ=CD(),W5=AB();Object.defineProperty(x1,"TArray",{enumerable:!0,get:function(){return W5.TArray}});Object.defineProperty(x1,"TEnumType",{enumerable:!0,get:function(){return W5.TEnumType}});Object.defineProperty(x1,"TEnumLiteral",{enumerable:!0,get:function(){return W5.TEnumLiteral}});Object.defineProperty(x1,"TFunc",{enumerable:!0,get:function(){return W5.TFunc}});Object.defineProperty(x1,"TIface",{enumerable:!0,get:function(){return W5.TIface}});Object.defineProperty(x1,"TLiteral",{enumerable:!0,get:function(){return W5.TLiteral}});Object.defineProperty(x1,"TName",{enumerable:!0,get:function(){return W5.TName}});Object.defineProperty(x1,"TOptional",{enumerable:!0,get:function(){return W5.TOptional}});Object.defineProperty(x1,"TParam",{enumerable:!0,get:function(){return W5.TParam}});Object.defineProperty(x1,"TParamList",{enumerable:!0,get:function(){return W5.TParamList}});Object.defineProperty(x1,"TProp",{enumerable:!0,get:function(){return W5.TProp}});Object.defineProperty(x1,"TTuple",{enumerable:!0,get:function(){return W5.TTuple}});Object.defineProperty(x1,"TType",{enumerable:!0,get:function(){return W5.TType}});Object.defineProperty(x1,"TUnion",{enumerable:!0,get:function(){return W5.TUnion}});Object.defineProperty(x1,"TIntersection",{enumerable:!0,get:function(){return W5.TIntersection}});Object.defineProperty(x1,"array",{enumerable:!0,get:function(){return W5.array}});Object.defineProperty(x1,"enumlit",{enumerable:!0,get:function(){return W5.enumlit}});Object.defineProperty(x1,"enumtype",{enumerable:!0,get:function(){return W5.enumtype}});Object.defineProperty(x1,"func",{enumerable:!0,get:function(){return W5.func}});Object.defineProperty(x1,"iface",{enumerable:!0,get:function(){return W5.iface}});Object.defineProperty(x1,"lit",{enumerable:!0,get:function(){return W5.lit}});Object.defineProperty(x1,"name",{enumerable:!0,get:function(){return W5.name}});Object.defineProperty(x1,"opt",{enumerable:!0,get:function(){return W5.opt}});Object.defineProperty(x1,"param",{enumerable:!0,get:function(){return W5.param}});Object.defineProperty(x1,"tuple",{enumerable:!0,get:function(){return W5.tuple}});Object.defineProperty(x1,"union",{enumerable:!0,get:function(){return W5.union}});Object.defineProperty(x1,"intersection",{enumerable:!0,get:function(){return W5.intersection}});Object.defineProperty(x1,"BasicType",{enumerable:!0,get:function(){return W5.BasicType}});var C60=CD();Object.defineProperty(x1,"VError",{enumerable:!0,get:function(){return C60.VError}});function R60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];var Y=Object.assign.apply(Object,I60([{},s3.basicTypes],Z)),J={};for(var q=0,K=Z;q<K.length;q++){var V=K[q];for(var D=0,z=Object.keys(V);D<z.length;D++){var H=z[D];J[H]=new qS(Y,V[H])}}return J}x1.createCheckers=R60;var qS=function(){function Z(Q,Y,J){if(J===void 0)J="value";if(this.suite=Q,this.ttype=Y,this._path=J,this.props=new Map,Y instanceof s3.TIface)for(var q=0,K=Y.props;q<K.length;q++){var V=K[q];this.props.set(V.name,V.ttype)}this.checkerPlain=this.ttype.getChecker(Q,!1),this.checkerStrict=this.ttype.getChecker(Q,!0)}return Z.prototype.setReportedPath=function(Q){this._path=Q},Z.prototype.check=function(Q){return this._doCheck(this.checkerPlain,Q)},Z.prototype.test=function(Q){return this.checkerPlain(Q,new CQ.NoopContext)},Z.prototype.validate=function(Q){return this._doValidate(this.checkerPlain,Q)},Z.prototype.strictCheck=function(Q){return this._doCheck(this.checkerStrict,Q)},Z.prototype.strictTest=function(Q){return this.checkerStrict(Q,new CQ.NoopContext)},Z.prototype.strictValidate=function(Q){return this._doValidate(this.checkerStrict,Q)},Z.prototype.getProp=function(Q){var Y=this.props.get(Q);if(!Y)throw Error("Type has no property "+Q);return new Z(this.suite,Y,this._path+"."+Q)},Z.prototype.methodArgs=function(Q){var Y=this._getMethod(Q);return new Z(this.suite,Y.paramList)},Z.prototype.methodResult=function(Q){var Y=this._getMethod(Q);return new Z(this.suite,Y.result)},Z.prototype.getArgs=function(){if(!(this.ttype instanceof s3.TFunc))throw Error("getArgs() applied to non-function");return new Z(this.suite,this.ttype.paramList)},Z.prototype.getResult=function(){if(!(this.ttype instanceof s3.TFunc))throw Error("getResult() applied to non-function");return new Z(this.suite,this.ttype.result)},Z.prototype.getType=function(){return this.ttype},Z.prototype._doCheck=function(Q,Y){var J=new CQ.NoopContext;if(!Q(Y,J)){var q=new CQ.DetailContext;throw Q(Y,q),q.getError(this._path)}},Z.prototype._doValidate=function(Q,Y){var J=new CQ.NoopContext;if(Q(Y,J))return null;var q=new CQ.DetailContext;return Q(Y,q),q.getErrorDetail(this._path)},Z.prototype._getMethod=function(Q){var Y=this.props.get(Q);if(!Y)throw Error("Type has no property "+Q);if(!(Y instanceof s3.TFunc))throw Error("Property "+Q+" is not a method");return Y},Z}();x1.Checker=qS});var KS=k((D4)=>{Object.defineProperty(D4,"__esModule",{value:!0});function L60(Z){if(Z&&Z.__esModule)return Z;else{var Q={};if(Z!=null){for(var Y in Z)if(Object.prototype.hasOwnProperty.call(Z,Y))Q[Y]=Z[Y]}return Q.default=Z,Q}}var M60=wB(),U5=L60(M60),j60=U5.union(U5.lit("jsx"),U5.lit("typescript"),U5.lit("flow"),U5.lit("imports"),U5.lit("react-hot-loader"),U5.lit("jest"));D4.Transform=j60;var N60=U5.iface([],{compiledFilename:"string"});D4.SourceMapOptions=N60;var S60=U5.iface([],{transforms:U5.array("Transform"),disableESTransforms:U5.opt("boolean"),jsxRuntime:U5.opt(U5.union(U5.lit("classic"),U5.lit("automatic"),U5.lit("preserve"))),production:U5.opt("boolean"),jsxImportSource:U5.opt("string"),jsxPragma:U5.opt("string"),jsxFragmentPragma:U5.opt("string"),keepUnusedImports:U5.opt("boolean"),preserveDynamicImport:U5.opt("boolean"),injectCreateRequireForImportRequire:U5.opt("boolean"),enableLegacyTypeScriptModuleInterop:U5.opt("boolean"),enableLegacyBabel5ModuleInterop:U5.opt("boolean"),sourceMapOptions:U5.opt("SourceMapOptions"),filePath:U5.opt("string")});D4.Options=S60;var P60={Transform:D4.Transform,SourceMapOptions:D4.SourceMapOptions,Options:D4.Options};D4.default=P60});var VS=k((EB)=>{Object.defineProperty(EB,"__esModule",{value:!0});function T60(Z){return Z&&Z.__esModule?Z:{default:Z}}var _60=wB(),v60=KS(),b60=T60(v60),{Options:k60}=_60.createCheckers.call(void 0,b60.default);function y60(Z){k60.strictCheck(Z)}EB.validateOptions=y60});var LD=k((q6)=>{Object.defineProperty(q6,"__esModule",{value:!0});var h60=o3(),DS=RQ(),x8=Z8(),a3=U8(),a9=k1(),Q8=j9(),r3=GZ(),IB=t4();function x60(){x8.next.call(void 0),r3.parseMaybeAssign.call(void 0,!1)}q6.parseSpread=x60;function zS(Z){x8.next.call(void 0),RB(Z)}q6.parseRest=zS;function HS(Z){r3.parseIdentifier.call(void 0),GS(Z)}q6.parseBindingIdentifier=HS;function u60(){r3.parseIdentifier.call(void 0),Q8.state.tokens[Q8.state.tokens.length-1].identifierRole=x8.IdentifierRole.ImportDeclaration}q6.parseImportedIdentifier=u60;function GS(Z){let Q;if(Q8.state.scopeDepth===0)Q=x8.IdentifierRole.TopLevelDeclaration;else if(Z)Q=x8.IdentifierRole.BlockScopedDeclaration;else Q=x8.IdentifierRole.FunctionScopedDeclaration;Q8.state.tokens[Q8.state.tokens.length-1].identifierRole=Q}q6.markPriorBindingIdentifier=GS;function RB(Z){switch(Q8.state.type){case a9.TokenType._this:{let Q=x8.pushTypeContext.call(void 0,0);x8.next.call(void 0),x8.popTypeContext.call(void 0,Q);return}case a9.TokenType._yield:case a9.TokenType.name:{Q8.state.type=a9.TokenType.name,HS(Z);return}case a9.TokenType.bracketL:{x8.next.call(void 0),WS(a9.TokenType.bracketR,Z,!0);return}case a9.TokenType.braceL:r3.parseObj.call(void 0,!0,Z);return;default:IB.unexpected.call(void 0)}}q6.parseBindingAtom=RB;function WS(Z,Q,Y=!1,J=!1,q=0){let K=!0,V=!1,D=Q8.state.tokens.length;while(!x8.eat.call(void 0,Z)&&!Q8.state.error){if(K)K=!1;else if(IB.expect.call(void 0,a9.TokenType.comma),Q8.state.tokens[Q8.state.tokens.length-1].contextId=q,!V&&Q8.state.tokens[D].isType)Q8.state.tokens[Q8.state.tokens.length-1].isType=!0,V=!0;if(Y&&x8.match.call(void 0,a9.TokenType.comma));else if(x8.eat.call(void 0,Z))break;else if(x8.match.call(void 0,a9.TokenType.ellipsis)){zS(Q),US(),x8.eat.call(void 0,a9.TokenType.comma),IB.expect.call(void 0,Z);break}else f60(J,Q)}}q6.parseBindingList=WS;function f60(Z,Q){if(Z)DS.tsParseModifiers.call(void 0,[a3.ContextualKeyword._public,a3.ContextualKeyword._protected,a3.ContextualKeyword._private,a3.ContextualKeyword._readonly,a3.ContextualKeyword._override]);CB(Q),US(),CB(Q,!0)}function US(){if(Q8.isFlowEnabled)h60.flowParseAssignableListItemTypes.call(void 0);else if(Q8.isTypeScriptEnabled)DS.tsParseAssignableListItemTypes.call(void 0)}function CB(Z,Q=!1){if(!Q)RB(Z);if(!x8.eat.call(void 0,a9.TokenType.eq))return;let Y=Q8.state.tokens.length-1;r3.parseMaybeAssign.call(void 0),Q8.state.tokens[Y].rhsEndIndex=Q8.state.tokens.length}q6.parseMaybeDefault=CB});var RQ=k((i1)=>{Object.defineProperty(i1,"__esModule",{value:!0});var t=Z8(),z1=U8(),r=k1(),X0=j9(),b1=GZ(),MQ=LD(),K6=YJ(),s0=t4(),g60=kB();function MB(){return t.match.call(void 0,r.TokenType.name)}function m60(){return t.match.call(void 0,r.TokenType.name)||Boolean(X0.state.type&r.TokenType.IS_KEYWORD)||t.match.call(void 0,r.TokenType.string)||t.match.call(void 0,r.TokenType.num)||t.match.call(void 0,r.TokenType.bigint)||t.match.call(void 0,r.TokenType.decimal)}function FS(){let Z=X0.state.snapshot();if(t.next.call(void 0),(t.match.call(void 0,r.TokenType.bracketL)||t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.star)||t.match.call(void 0,r.TokenType.ellipsis)||t.match.call(void 0,r.TokenType.hash)||m60())&&!s0.hasPrecedingLineBreak.call(void 0))return!0;else return X0.state.restoreFromSnapshot(Z),!1}function AS(Z){while(!0)if(PB(Z)===null)break}i1.tsParseModifiers=AS;function PB(Z){if(!t.match.call(void 0,r.TokenType.name))return null;let Q=X0.state.contextualKeyword;if(Z.indexOf(Q)!==-1&&FS()){switch(Q){case z1.ContextualKeyword._readonly:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._readonly;break;case z1.ContextualKeyword._abstract:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._abstract;break;case z1.ContextualKeyword._static:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._static;break;case z1.ContextualKeyword._public:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._public;break;case z1.ContextualKeyword._private:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._private;break;case z1.ContextualKeyword._protected:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._protected;break;case z1.ContextualKeyword._override:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._override;break;case z1.ContextualKeyword._declare:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._declare;break;default:break}return Q}return null}i1.tsParseModifier=PB;function e3(){b1.parseIdentifier.call(void 0);while(t.eat.call(void 0,r.TokenType.dot))b1.parseIdentifier.call(void 0)}function c60(){if(e3(),!s0.hasPrecedingLineBreak.call(void 0)&&t.match.call(void 0,r.TokenType.lessThan))NQ()}function d60(){t.next.call(void 0),QJ()}function l60(){t.next.call(void 0)}function p60(){if(s0.expect.call(void 0,r.TokenType._typeof),t.match.call(void 0,r.TokenType._import))wS();else e3();if(!s0.hasPrecedingLineBreak.call(void 0)&&t.match.call(void 0,r.TokenType.lessThan))NQ()}function wS(){if(s0.expect.call(void 0,r.TokenType._import),s0.expect.call(void 0,r.TokenType.parenL),s0.expect.call(void 0,r.TokenType.string),s0.expect.call(void 0,r.TokenType.parenR),t.eat.call(void 0,r.TokenType.dot))e3();if(t.match.call(void 0,r.TokenType.lessThan))NQ()}function i60(){t.eat.call(void 0,r.TokenType._const);let Z=t.eat.call(void 0,r.TokenType._in),Q=s0.eatContextual.call(void 0,z1.ContextualKeyword._out);if(t.eat.call(void 0,r.TokenType._const),(Z||Q)&&!t.match.call(void 0,r.TokenType.name))X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.name;else b1.parseIdentifier.call(void 0);if(t.eat.call(void 0,r.TokenType._extends))L5();if(t.eat.call(void 0,r.TokenType.eq))L5()}function jQ(){if(t.match.call(void 0,r.TokenType.lessThan))jD()}i1.tsTryParseTypeParameters=jQ;function jD(){let Z=t.pushTypeContext.call(void 0,0);if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.typeParameterStart))t.next.call(void 0);else s0.unexpected.call(void 0);while(!t.eat.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)i60(),t.eat.call(void 0,r.TokenType.comma);t.popTypeContext.call(void 0,Z)}function TB(Z){let Q=Z===r.TokenType.arrow;if(jQ(),s0.expect.call(void 0,r.TokenType.parenL),X0.state.scopeDepth++,n60(!1),X0.state.scopeDepth--,Q)t3(Z);else if(t.match.call(void 0,Z))t3(Z)}function n60(Z){MQ.parseBindingList.call(void 0,r.TokenType.parenR,Z)}function MD(){if(!t.eat.call(void 0,r.TokenType.comma))s0.semicolon.call(void 0)}function $S(){TB(r.TokenType.colon),MD()}function s60(){let Z=X0.state.snapshot();t.next.call(void 0);let Q=t.eat.call(void 0,r.TokenType.name)&&t.match.call(void 0,r.TokenType.colon);return X0.state.restoreFromSnapshot(Z),Q}function ES(){if(!(t.match.call(void 0,r.TokenType.bracketL)&&s60()))return!1;let Z=t.pushTypeContext.call(void 0,0);return s0.expect.call(void 0,r.TokenType.bracketL),b1.parseIdentifier.call(void 0),QJ(),s0.expect.call(void 0,r.TokenType.bracketR),ZJ(),MD(),t.popTypeContext.call(void 0,Z),!0}function BS(Z){if(t.eat.call(void 0,r.TokenType.question),!Z&&(t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan)))TB(r.TokenType.colon),MD();else ZJ(),MD()}function a60(){if(t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan)){$S();return}if(t.match.call(void 0,r.TokenType._new)){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan))$S();else BS(!1);return}let Z=!!PB([z1.ContextualKeyword._readonly]);if(ES())return;if((s0.isContextual.call(void 0,z1.ContextualKeyword._get)||s0.isContextual.call(void 0,z1.ContextualKeyword._set))&&FS());b1.parsePropertyName.call(void 0,-1),BS(Z)}function r60(){IS()}function IS(){s0.expect.call(void 0,r.TokenType.braceL);while(!t.eat.call(void 0,r.TokenType.braceR)&&!X0.state.error)a60()}function o60(){let Z=X0.state.snapshot(),Q=t60();return X0.state.restoreFromSnapshot(Z),Q}function t60(){if(t.next.call(void 0),t.eat.call(void 0,r.TokenType.plus)||t.eat.call(void 0,r.TokenType.minus))return s0.isContextual.call(void 0,z1.ContextualKeyword._readonly);if(s0.isContextual.call(void 0,z1.ContextualKeyword._readonly))t.next.call(void 0);if(!t.match.call(void 0,r.TokenType.bracketL))return!1;if(t.next.call(void 0),!MB())return!1;return t.next.call(void 0),t.match.call(void 0,r.TokenType._in)}function e60(){b1.parseIdentifier.call(void 0),s0.expect.call(void 0,r.TokenType._in),L5()}function Z40(){if(s0.expect.call(void 0,r.TokenType.braceL),t.match.call(void 0,r.TokenType.plus)||t.match.call(void 0,r.TokenType.minus))t.next.call(void 0),s0.expectContextual.call(void 0,z1.ContextualKeyword._readonly);else s0.eatContextual.call(void 0,z1.ContextualKeyword._readonly);if(s0.expect.call(void 0,r.TokenType.bracketL),e60(),s0.eatContextual.call(void 0,z1.ContextualKeyword._as))L5();if(s0.expect.call(void 0,r.TokenType.bracketR),t.match.call(void 0,r.TokenType.plus)||t.match.call(void 0,r.TokenType.minus))t.next.call(void 0),s0.expect.call(void 0,r.TokenType.question);else t.eat.call(void 0,r.TokenType.question);B40(),s0.semicolon.call(void 0),s0.expect.call(void 0,r.TokenType.braceR)}function Q40(){s0.expect.call(void 0,r.TokenType.bracketL);while(!t.eat.call(void 0,r.TokenType.bracketR)&&!X0.state.error)Y40(),t.eat.call(void 0,r.TokenType.comma)}function Y40(){if(t.eat.call(void 0,r.TokenType.ellipsis))L5();else L5(),t.eat.call(void 0,r.TokenType.question);if(t.eat.call(void 0,r.TokenType.colon))L5()}function J40(){s0.expect.call(void 0,r.TokenType.parenL),L5(),s0.expect.call(void 0,r.TokenType.parenR)}function q40(){t.nextTemplateToken.call(void 0),t.nextTemplateToken.call(void 0);while(!t.match.call(void 0,r.TokenType.backQuote)&&!X0.state.error)s0.expect.call(void 0,r.TokenType.dollarBraceL),L5(),t.nextTemplateToken.call(void 0),t.nextTemplateToken.call(void 0);t.next.call(void 0)}var Q2;(function(Z){Z[Z.TSFunctionType=0]="TSFunctionType";let Y=1;Z[Z.TSConstructorType=Y]="TSConstructorType";let J=Y+1;Z[Z.TSAbstractConstructorType=J]="TSAbstractConstructorType"})(Q2||(Q2={}));function LB(Z){if(Z===Q2.TSAbstractConstructorType)s0.expectContextual.call(void 0,z1.ContextualKeyword._abstract);if(Z===Q2.TSConstructorType||Z===Q2.TSAbstractConstructorType)s0.expect.call(void 0,r.TokenType._new);let Q=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!1,TB(r.TokenType.arrow),X0.state.inDisallowConditionalTypesContext=Q}function K40(){switch(X0.state.type){case r.TokenType.name:c60();return;case r.TokenType._void:case r.TokenType._null:t.next.call(void 0);return;case r.TokenType.string:case r.TokenType.num:case r.TokenType.bigint:case r.TokenType.decimal:case r.TokenType._true:case r.TokenType._false:b1.parseLiteral.call(void 0);return;case r.TokenType.minus:t.next.call(void 0),b1.parseLiteral.call(void 0);return;case r.TokenType._this:{if(l60(),s0.isContextual.call(void 0,z1.ContextualKeyword._is)&&!s0.hasPrecedingLineBreak.call(void 0))d60();return}case r.TokenType._typeof:p60();return;case r.TokenType._import:wS();return;case r.TokenType.braceL:if(o60())Z40();else r60();return;case r.TokenType.bracketL:Q40();return;case r.TokenType.parenL:J40();return;case r.TokenType.backQuote:q40();return;default:if(X0.state.type&r.TokenType.IS_KEYWORD){t.next.call(void 0),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.name;return}break}s0.unexpected.call(void 0)}function V40(){K40();while(!s0.hasPrecedingLineBreak.call(void 0)&&t.eat.call(void 0,r.TokenType.bracketL))if(!t.eat.call(void 0,r.TokenType.bracketR))L5(),s0.expect.call(void 0,r.TokenType.bracketR)}function D40(){if(s0.expectContextual.call(void 0,z1.ContextualKeyword._infer),b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType._extends)){let Z=X0.state.snapshot();s0.expect.call(void 0,r.TokenType._extends);let Q=X0.state.inDisallowConditionalTypesContext;if(X0.state.inDisallowConditionalTypesContext=!0,L5(),X0.state.inDisallowConditionalTypesContext=Q,X0.state.error||!X0.state.inDisallowConditionalTypesContext&&t.match.call(void 0,r.TokenType.question))X0.state.restoreFromSnapshot(Z)}}function jB(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._keyof)||s0.isContextual.call(void 0,z1.ContextualKeyword._unique)||s0.isContextual.call(void 0,z1.ContextualKeyword._readonly))t.next.call(void 0),jB();else if(s0.isContextual.call(void 0,z1.ContextualKeyword._infer))D40();else{let Z=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!1,V40(),X0.state.inDisallowConditionalTypesContext=Z}}function OS(){if(t.eat.call(void 0,r.TokenType.bitwiseAND),jB(),t.match.call(void 0,r.TokenType.bitwiseAND))while(t.eat.call(void 0,r.TokenType.bitwiseAND))jB()}function z40(){if(t.eat.call(void 0,r.TokenType.bitwiseOR),OS(),t.match.call(void 0,r.TokenType.bitwiseOR))while(t.eat.call(void 0,r.TokenType.bitwiseOR))OS()}function H40(){if(t.match.call(void 0,r.TokenType.lessThan))return!0;return t.match.call(void 0,r.TokenType.parenL)&&W40()}function G40(){if(t.match.call(void 0,r.TokenType.name)||t.match.call(void 0,r.TokenType._this))return t.next.call(void 0),!0;if(t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.bracketL)){let Z=1;t.next.call(void 0);while(Z>0&&!X0.state.error){if(t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.bracketL))Z++;else if(t.match.call(void 0,r.TokenType.braceR)||t.match.call(void 0,r.TokenType.bracketR))Z--;t.next.call(void 0)}return!0}return!1}function W40(){let Z=X0.state.snapshot(),Q=U40();return X0.state.restoreFromSnapshot(Z),Q}function U40(){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.parenR)||t.match.call(void 0,r.TokenType.ellipsis))return!0;if(G40()){if(t.match.call(void 0,r.TokenType.colon)||t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.question)||t.match.call(void 0,r.TokenType.eq))return!0;if(t.match.call(void 0,r.TokenType.parenR)){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.arrow))return!0}}return!1}function t3(Z){let Q=t.pushTypeContext.call(void 0,0);if(s0.expect.call(void 0,Z),!O40())L5();t.popTypeContext.call(void 0,Q)}function $40(){if(t.match.call(void 0,r.TokenType.colon))t3(r.TokenType.colon)}function ZJ(){if(t.match.call(void 0,r.TokenType.colon))QJ()}i1.tsTryParseTypeAnnotation=ZJ;function B40(){if(t.eat.call(void 0,r.TokenType.colon))L5()}function O40(){let Z=X0.state.snapshot();if(s0.isContextual.call(void 0,z1.ContextualKeyword._asserts))if(t.next.call(void 0),s0.eatContextual.call(void 0,z1.ContextualKeyword._is))return L5(),!0;else if(MB()||t.match.call(void 0,r.TokenType._this)){if(t.next.call(void 0),s0.eatContextual.call(void 0,z1.ContextualKeyword._is))L5();return!0}else return X0.state.restoreFromSnapshot(Z),!1;else if(MB()||t.match.call(void 0,r.TokenType._this))if(t.next.call(void 0),s0.isContextual.call(void 0,z1.ContextualKeyword._is)&&!s0.hasPrecedingLineBreak.call(void 0))return t.next.call(void 0),L5(),!0;else return X0.state.restoreFromSnapshot(Z),!1;return!1}function QJ(){let Z=t.pushTypeContext.call(void 0,0);s0.expect.call(void 0,r.TokenType.colon),L5(),t.popTypeContext.call(void 0,Z)}i1.tsParseTypeAnnotation=QJ;function L5(){if(NB(),X0.state.inDisallowConditionalTypesContext||s0.hasPrecedingLineBreak.call(void 0)||!t.eat.call(void 0,r.TokenType._extends))return;let Z=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!0,NB(),X0.state.inDisallowConditionalTypesContext=Z,s0.expect.call(void 0,r.TokenType.question),L5(),s0.expect.call(void 0,r.TokenType.colon),L5()}i1.tsParseType=L5;function X40(){return s0.isContextual.call(void 0,z1.ContextualKeyword._abstract)&&t.lookaheadType.call(void 0)===r.TokenType._new}function NB(){if(H40()){LB(Q2.TSFunctionType);return}if(t.match.call(void 0,r.TokenType._new)){LB(Q2.TSConstructorType);return}else if(X40()){LB(Q2.TSAbstractConstructorType);return}z40()}i1.tsParseNonConditionalType=NB;function F40(){let Z=t.pushTypeContext.call(void 0,1);L5(),s0.expect.call(void 0,r.TokenType.greaterThan),t.popTypeContext.call(void 0,Z),b1.parseMaybeUnary.call(void 0)}i1.tsParseTypeAssertion=F40;function A40(){if(t.eat.call(void 0,r.TokenType.jsxTagStart)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.typeParameterStart;let Z=t.pushTypeContext.call(void 0,1);while(!t.match.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)L5(),t.eat.call(void 0,r.TokenType.comma);g60.nextJSXTagToken.call(void 0),t.popTypeContext.call(void 0,Z)}}i1.tsTryParseJSXTypeArgument=A40;function CS(){while(!t.match.call(void 0,r.TokenType.braceL)&&!X0.state.error)w40(),t.eat.call(void 0,r.TokenType.comma)}function w40(){if(e3(),t.match.call(void 0,r.TokenType.lessThan))NQ()}function E40(){if(MQ.parseBindingIdentifier.call(void 0,!1),jQ(),t.eat.call(void 0,r.TokenType._extends))CS();IS()}function I40(){MQ.parseBindingIdentifier.call(void 0,!1),jQ(),s0.expect.call(void 0,r.TokenType.eq),L5(),s0.semicolon.call(void 0)}function C40(){if(t.match.call(void 0,r.TokenType.string))b1.parseLiteral.call(void 0);else b1.parseIdentifier.call(void 0);if(t.eat.call(void 0,r.TokenType.eq)){let Z=X0.state.tokens.length-1;b1.parseMaybeAssign.call(void 0),X0.state.tokens[Z].rhsEndIndex=X0.state.tokens.length}}function _B(){MQ.parseBindingIdentifier.call(void 0,!1),s0.expect.call(void 0,r.TokenType.braceL);while(!t.eat.call(void 0,r.TokenType.braceR)&&!X0.state.error)C40(),t.eat.call(void 0,r.TokenType.comma)}function vB(){s0.expect.call(void 0,r.TokenType.braceL),K6.parseBlockBody.call(void 0,r.TokenType.braceR)}function SB(){if(MQ.parseBindingIdentifier.call(void 0,!1),t.eat.call(void 0,r.TokenType.dot))SB();else vB()}function RS(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._global))b1.parseIdentifier.call(void 0);else if(t.match.call(void 0,r.TokenType.string))b1.parseExprAtom.call(void 0);else s0.unexpected.call(void 0);if(t.match.call(void 0,r.TokenType.braceL))vB();else s0.semicolon.call(void 0)}function LS(){MQ.parseImportedIdentifier.call(void 0),s0.expect.call(void 0,r.TokenType.eq),L40(),s0.semicolon.call(void 0)}i1.tsParseImportEqualsDeclaration=LS;function R40(){return s0.isContextual.call(void 0,z1.ContextualKeyword._require)&&t.lookaheadType.call(void 0)===r.TokenType.parenL}function L40(){if(R40())M40();else e3()}function M40(){if(s0.expectContextual.call(void 0,z1.ContextualKeyword._require),s0.expect.call(void 0,r.TokenType.parenL),!t.match.call(void 0,r.TokenType.string))s0.unexpected.call(void 0);b1.parseLiteral.call(void 0),s0.expect.call(void 0,r.TokenType.parenR)}function j40(){if(s0.isLineTerminator.call(void 0))return!1;switch(X0.state.type){case r.TokenType._function:{let Z=t.pushTypeContext.call(void 0,1);t.next.call(void 0);let Q=X0.state.start;return K6.parseFunction.call(void 0,Q,!0),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._class:{let Z=t.pushTypeContext.call(void 0,1);return K6.parseClass.call(void 0,!0,!1),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._const:if(t.match.call(void 0,r.TokenType._const)&&s0.isLookaheadContextual.call(void 0,z1.ContextualKeyword._enum)){let Z=t.pushTypeContext.call(void 0,1);return s0.expect.call(void 0,r.TokenType._const),s0.expectContextual.call(void 0,z1.ContextualKeyword._enum),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._var:case r.TokenType._let:{let Z=t.pushTypeContext.call(void 0,1);return K6.parseVarStatement.call(void 0,X0.state.type!==r.TokenType._var),t.popTypeContext.call(void 0,Z),!0}case r.TokenType.name:{let Z=t.pushTypeContext.call(void 0,1),Q=X0.state.contextualKeyword,Y=!1;if(Q===z1.ContextualKeyword._global)RS(),Y=!0;else Y=ND(Q,!0);return t.popTypeContext.call(void 0,Z),Y}default:return!1}}function XS(){return ND(X0.state.contextualKeyword,!0)}function N40(Z){switch(Z){case z1.ContextualKeyword._declare:{let Q=X0.state.tokens.length-1;if(j40())return X0.state.tokens[Q].type=r.TokenType._declare,!0;break}case z1.ContextualKeyword._global:if(t.match.call(void 0,r.TokenType.braceL))return vB(),!0;break;default:return ND(Z,!1)}return!1}function ND(Z,Q){switch(Z){case z1.ContextualKeyword._abstract:if(LQ(Q)&&t.match.call(void 0,r.TokenType._class))return X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._abstract,K6.parseClass.call(void 0,!0,!1),!0;break;case z1.ContextualKeyword._enum:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name))return X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),!0;break;case z1.ContextualKeyword._interface:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return E40(),t.popTypeContext.call(void 0,Y),!0}break;case z1.ContextualKeyword._module:if(LQ(Q)){if(t.match.call(void 0,r.TokenType.string)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return RS(),t.popTypeContext.call(void 0,Y),!0}else if(t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return SB(),t.popTypeContext.call(void 0,Y),!0}}break;case z1.ContextualKeyword._namespace:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return SB(),t.popTypeContext.call(void 0,Y),!0}break;case z1.ContextualKeyword._type:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return I40(),t.popTypeContext.call(void 0,Y),!0}break;default:break}return!1}function LQ(Z){if(Z)return t.next.call(void 0),!0;else return!s0.isLineTerminator.call(void 0)}function S40(){let Z=X0.state.snapshot();if(jD(),K6.parseFunctionParams.call(void 0),$40(),s0.expect.call(void 0,r.TokenType.arrow),X0.state.error)return X0.state.restoreFromSnapshot(Z),!1;return b1.parseFunctionBody.call(void 0,!0),!0}function bB(){if(X0.state.type===r.TokenType.bitShiftL)X0.state.pos-=1,t.finishToken.call(void 0,r.TokenType.lessThan);NQ()}function NQ(){let Z=t.pushTypeContext.call(void 0,0);s0.expect.call(void 0,r.TokenType.lessThan);while(!t.match.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)L5(),t.eat.call(void 0,r.TokenType.comma);if(!Z)t.popTypeContext.call(void 0,Z),t.rescan_gt.call(void 0),s0.expect.call(void 0,r.TokenType.greaterThan),X0.state.tokens[X0.state.tokens.length-1].isType=!0;else s0.expect.call(void 0,r.TokenType.greaterThan),t.popTypeContext.call(void 0,Z)}function P40(){if(t.match.call(void 0,r.TokenType.name))switch(X0.state.contextualKeyword){case z1.ContextualKeyword._abstract:case z1.ContextualKeyword._declare:case z1.ContextualKeyword._enum:case z1.ContextualKeyword._interface:case z1.ContextualKeyword._module:case z1.ContextualKeyword._namespace:case z1.ContextualKeyword._type:return!0;default:break}return!1}i1.tsIsDeclarationStart=P40;function T40(Z,Q){if(t.match.call(void 0,r.TokenType.colon))t3(r.TokenType.colon);if(!t.match.call(void 0,r.TokenType.braceL)&&s0.isLineTerminator.call(void 0)){let Y=X0.state.tokens.length-1;while(Y>=0&&(X0.state.tokens[Y].start>=Z||X0.state.tokens[Y].type===r.TokenType._default||X0.state.tokens[Y].type===r.TokenType._export))X0.state.tokens[Y].isType=!0,Y--;return}b1.parseFunctionBody.call(void 0,!1,Q)}i1.tsParseFunctionBodyAndFinish=T40;function _40(Z,Q,Y){if(!s0.hasPrecedingLineBreak.call(void 0)&&t.eat.call(void 0,r.TokenType.bang)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.nonNullAssertion;return}if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL)){let J=X0.state.snapshot();if(!Q&&b1.atPossibleAsync.call(void 0)){if(S40())return}if(bB(),!Q&&t.eat.call(void 0,r.TokenType.parenL))X0.state.tokens[X0.state.tokens.length-1].subscriptStartIndex=Z,b1.parseCallExpressionArguments.call(void 0);else if(t.match.call(void 0,r.TokenType.backQuote))b1.parseTemplate.call(void 0);else if(X0.state.type===r.TokenType.greaterThan||X0.state.type!==r.TokenType.parenL&&Boolean(X0.state.type&r.TokenType.IS_EXPRESSION_START)&&!s0.hasPrecedingLineBreak.call(void 0))s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(J);else return}else if(!Q&&t.match.call(void 0,r.TokenType.questionDot)&&t.lookaheadType.call(void 0)===r.TokenType.lessThan)t.next.call(void 0),X0.state.tokens[Z].isOptionalChainStart=!0,X0.state.tokens[X0.state.tokens.length-1].subscriptStartIndex=Z,NQ(),s0.expect.call(void 0,r.TokenType.parenL),b1.parseCallExpressionArguments.call(void 0);b1.baseParseSubscript.call(void 0,Z,Q,Y)}i1.tsParseSubscript=_40;function v40(){if(t.eat.call(void 0,r.TokenType._import)){if(s0.isContextual.call(void 0,z1.ContextualKeyword._type)&&t.lookaheadType.call(void 0)!==r.TokenType.eq)s0.expectContextual.call(void 0,z1.ContextualKeyword._type);return LS(),!0}else if(t.eat.call(void 0,r.TokenType.eq))return b1.parseExpression.call(void 0),s0.semicolon.call(void 0),!0;else if(s0.eatContextual.call(void 0,z1.ContextualKeyword._as))return s0.expectContextual.call(void 0,z1.ContextualKeyword._namespace),b1.parseIdentifier.call(void 0),s0.semicolon.call(void 0),!0;else{if(s0.isContextual.call(void 0,z1.ContextualKeyword._type)){let Z=t.lookaheadType.call(void 0);if(Z===r.TokenType.braceL||Z===r.TokenType.star)t.next.call(void 0)}return!1}}i1.tsTryParseExport=v40;function b40(){if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ImportAccess,X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration;return}b1.parseIdentifier.call(void 0),X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ImportAccess,X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration,X0.state.tokens[X0.state.tokens.length-4].isType=!0,X0.state.tokens[X0.state.tokens.length-3].isType=!0,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0}i1.tsParseImportSpecifier=b40;function k40(){if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ExportAccess;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ExportAccess,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ExportAccess;return}b1.parseIdentifier.call(void 0),X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ExportAccess,X0.state.tokens[X0.state.tokens.length-4].isType=!0,X0.state.tokens[X0.state.tokens.length-3].isType=!0,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0}i1.tsParseExportSpecifier=k40;function y40(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._abstract)&&t.lookaheadType.call(void 0)===r.TokenType._class)return X0.state.type=r.TokenType._abstract,t.next.call(void 0),K6.parseClass.call(void 0,!0,!0),!0;if(s0.isContextual.call(void 0,z1.ContextualKeyword._interface)){let Z=t.pushTypeContext.call(void 0,2);return ND(z1.ContextualKeyword._interface,!0),t.popTypeContext.call(void 0,Z),!0}return!1}i1.tsTryParseExportDefaultExpression=y40;function h40(){if(X0.state.type===r.TokenType._const){let Z=t.lookaheadTypeAndKeyword.call(void 0);if(Z.type===r.TokenType.name&&Z.contextualKeyword===z1.ContextualKeyword._enum)return s0.expect.call(void 0,r.TokenType._const),s0.expectContextual.call(void 0,z1.ContextualKeyword._enum),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),!0}return!1}i1.tsTryParseStatementContent=h40;function x40(Z){let Q=X0.state.tokens.length;AS([z1.ContextualKeyword._abstract,z1.ContextualKeyword._readonly,z1.ContextualKeyword._declare,z1.ContextualKeyword._static,z1.ContextualKeyword._override]);let Y=X0.state.tokens.length;if(ES()){let q=Z?Q-1:Q;for(let K=q;K<Y;K++)X0.state.tokens[K].isType=!0;return!0}return!1}i1.tsTryParseClassMemberWithIsStatic=x40;function u40(Z){if(!N40(Z))s0.semicolon.call(void 0)}i1.tsParseIdentifierStatement=u40;function f40(){let Z=s0.eatContextual.call(void 0,z1.ContextualKeyword._declare);if(Z)X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._declare;let Q=!1;if(t.match.call(void 0,r.TokenType.name))if(Z){let Y=t.pushTypeContext.call(void 0,2);Q=XS(),t.popTypeContext.call(void 0,Y)}else Q=XS();if(!Q)if(Z){let Y=t.pushTypeContext.call(void 0,2);K6.parseStatement.call(void 0,!0),t.popTypeContext.call(void 0,Y)}else K6.parseStatement.call(void 0,!0)}i1.tsParseExportDeclaration=f40;function g40(Z){if(Z&&(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL)))bB();if(s0.eatContextual.call(void 0,z1.ContextualKeyword._implements)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._implements;let Q=t.pushTypeContext.call(void 0,1);CS(),t.popTypeContext.call(void 0,Q)}}i1.tsAfterParseClassSuper=g40;function m40(){jQ()}i1.tsStartParseObjPropValue=m40;function c40(){jQ()}i1.tsStartParseFunctionParams=c40;function d40(){let Z=t.pushTypeContext.call(void 0,0);if(!s0.hasPrecedingLineBreak.call(void 0))t.eat.call(void 0,r.TokenType.bang);ZJ(),t.popTypeContext.call(void 0,Z)}i1.tsAfterParseVarHead=d40;function l40(){if(t.match.call(void 0,r.TokenType.colon))QJ()}i1.tsStartParseAsyncArrowFromCallExpression=l40;function p40(Z,Q){if(X0.isJSXEnabled)return MS(Z,Q);else return jS(Z,Q)}i1.tsParseMaybeAssign=p40;function MS(Z,Q){if(!t.match.call(void 0,r.TokenType.lessThan))return b1.baseParseMaybeAssign.call(void 0,Z,Q);let Y=X0.state.snapshot(),J=b1.baseParseMaybeAssign.call(void 0,Z,Q);if(X0.state.error)X0.state.restoreFromSnapshot(Y);else return J;if(X0.state.type=r.TokenType.typeParameterStart,jD(),J=b1.baseParseMaybeAssign.call(void 0,Z,Q),!J)s0.unexpected.call(void 0);return J}i1.tsParseMaybeAssignWithJSX=MS;function jS(Z,Q){if(!t.match.call(void 0,r.TokenType.lessThan))return b1.baseParseMaybeAssign.call(void 0,Z,Q);let Y=X0.state.snapshot();jD();let J=b1.baseParseMaybeAssign.call(void 0,Z,Q);if(!J)s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(Y);else return J;return b1.baseParseMaybeAssign.call(void 0,Z,Q)}i1.tsParseMaybeAssignWithoutJSX=jS;function i40(){if(t.match.call(void 0,r.TokenType.colon)){let Z=X0.state.snapshot();if(t3(r.TokenType.colon),s0.canInsertSemicolon.call(void 0))s0.unexpected.call(void 0);if(!t.match.call(void 0,r.TokenType.arrow))s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(Z)}return t.eat.call(void 0,r.TokenType.arrow)}i1.tsParseArrow=i40;function n40(){let Z=t.pushTypeContext.call(void 0,0);t.eat.call(void 0,r.TokenType.question),ZJ(),t.popTypeContext.call(void 0,Z)}i1.tsParseAssignableListItemTypes=n40;function s40(){if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL))bB();K6.baseParseMaybeDecoratorArguments.call(void 0)}i1.tsParseMaybeDecoratorArguments=s40});var kB=k((PD)=>{Object.defineProperty(PD,"__esModule",{value:!0});var u1=Z8(),s1=k1(),A1=j9(),SD=GZ(),Y2=t4(),v5=M9(),NS=wQ(),a40=RQ();function r40(){let Z=!1,Q=!1;while(!0){if(A1.state.pos>=A1.input.length){Y2.unexpected.call(void 0,"Unterminated JSX contents");return}let Y=A1.input.charCodeAt(A1.state.pos);if(Y===v5.charCodes.lessThan||Y===v5.charCodes.leftCurlyBrace){if(A1.state.pos===A1.state.start){if(Y===v5.charCodes.lessThan){A1.state.pos++,u1.finishToken.call(void 0,s1.TokenType.jsxTagStart);return}u1.getTokenFromCode.call(void 0,Y);return}if(Z&&!Q)u1.finishToken.call(void 0,s1.TokenType.jsxEmptyText);else u1.finishToken.call(void 0,s1.TokenType.jsxText);return}if(Y===v5.charCodes.lineFeed)Z=!0;else if(Y!==v5.charCodes.space&&Y!==v5.charCodes.carriageReturn&&Y!==v5.charCodes.tab)Q=!0;A1.state.pos++}}function o40(Z){A1.state.pos++;for(;;){if(A1.state.pos>=A1.input.length){Y2.unexpected.call(void 0,"Unterminated string constant");return}if(A1.input.charCodeAt(A1.state.pos)===Z){A1.state.pos++;break}A1.state.pos++}u1.finishToken.call(void 0,s1.TokenType.string)}function t40(){let Z;do{if(A1.state.pos>A1.input.length){Y2.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}Z=A1.input.charCodeAt(++A1.state.pos)}while(NS.IS_IDENTIFIER_CHAR[Z]||Z===v5.charCodes.dash);u1.finishToken.call(void 0,s1.TokenType.jsxName)}function yB(){r9()}function SS(Z){if(yB(),!u1.eat.call(void 0,s1.TokenType.colon)){A1.state.tokens[A1.state.tokens.length-1].identifierRole=Z;return}yB()}function PS(){let Z=A1.state.tokens.length;SS(u1.IdentifierRole.Access);let Q=!1;while(u1.match.call(void 0,s1.TokenType.dot))Q=!0,r9(),yB();if(!Q){let Y=A1.state.tokens[Z],J=A1.input.charCodeAt(Y.start);if(J>=v5.charCodes.lowercaseA&&J<=v5.charCodes.lowercaseZ)Y.identifierRole=null}}function e40(){switch(A1.state.type){case s1.TokenType.braceL:u1.next.call(void 0),SD.parseExpression.call(void 0),r9();return;case s1.TokenType.jsxTagStart:_S(),r9();return;case s1.TokenType.string:r9();return;default:Y2.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function Z20(){Y2.expect.call(void 0,s1.TokenType.ellipsis),SD.parseExpression.call(void 0)}function Q20(Z){if(u1.match.call(void 0,s1.TokenType.jsxTagEnd))return!1;if(PS(),A1.isTypeScriptEnabled)a40.tsTryParseJSXTypeArgument.call(void 0);let Q=!1;while(!u1.match.call(void 0,s1.TokenType.slash)&&!u1.match.call(void 0,s1.TokenType.jsxTagEnd)&&!A1.state.error){if(u1.eat.call(void 0,s1.TokenType.braceL)){Q=!0,Y2.expect.call(void 0,s1.TokenType.ellipsis),SD.parseMaybeAssign.call(void 0),r9();continue}if(Q&&A1.state.end-A1.state.start===3&&A1.input.charCodeAt(A1.state.start)===v5.charCodes.lowercaseK&&A1.input.charCodeAt(A1.state.start+1)===v5.charCodes.lowercaseE&&A1.input.charCodeAt(A1.state.start+2)===v5.charCodes.lowercaseY)A1.state.tokens[Z].jsxRole=u1.JSXRole.KeyAfterPropSpread;if(SS(u1.IdentifierRole.ObjectKey),u1.match.call(void 0,s1.TokenType.eq))r9(),e40()}let Y=u1.match.call(void 0,s1.TokenType.slash);if(Y)r9();return Y}function Y20(){if(u1.match.call(void 0,s1.TokenType.jsxTagEnd))return;PS()}function TS(){let Z=A1.state.tokens.length-1;A1.state.tokens[Z].jsxRole=u1.JSXRole.NoChildren;let Q=0;if(!Q20(Z)){SQ();while(!0)switch(A1.state.type){case s1.TokenType.jsxTagStart:if(r9(),u1.match.call(void 0,s1.TokenType.slash)){if(r9(),Y20(),A1.state.tokens[Z].jsxRole!==u1.JSXRole.KeyAfterPropSpread){if(Q===1)A1.state.tokens[Z].jsxRole=u1.JSXRole.OneChild;else if(Q>1)A1.state.tokens[Z].jsxRole=u1.JSXRole.StaticChildren}return}Q++,TS(),SQ();break;case s1.TokenType.jsxText:Q++,SQ();break;case s1.TokenType.jsxEmptyText:SQ();break;case s1.TokenType.braceL:if(u1.next.call(void 0),u1.match.call(void 0,s1.TokenType.ellipsis))Z20(),SQ(),Q+=2;else{if(!u1.match.call(void 0,s1.TokenType.braceR))Q++,SD.parseExpression.call(void 0);SQ()}break;default:Y2.unexpected.call(void 0);return}}}function _S(){r9(),TS()}PD.jsxParseElement=_S;function r9(){A1.state.tokens.push(new u1.Token),u1.skipSpace.call(void 0),A1.state.start=A1.state.pos;let Z=A1.input.charCodeAt(A1.state.pos);if(NS.IS_IDENTIFIER_START[Z])t40();else if(Z===v5.charCodes.quotationMark||Z===v5.charCodes.apostrophe)o40(Z);else switch(++A1.state.pos,Z){case v5.charCodes.greaterThan:u1.finishToken.call(void 0,s1.TokenType.jsxTagEnd);break;case v5.charCodes.lessThan:u1.finishToken.call(void 0,s1.TokenType.jsxTagStart);break;case v5.charCodes.slash:u1.finishToken.call(void 0,s1.TokenType.slash);break;case v5.charCodes.equalsTo:u1.finishToken.call(void 0,s1.TokenType.eq);break;case v5.charCodes.leftCurlyBrace:u1.finishToken.call(void 0,s1.TokenType.braceL);break;case v5.charCodes.dot:u1.finishToken.call(void 0,s1.TokenType.dot);break;case v5.charCodes.colon:u1.finishToken.call(void 0,s1.TokenType.colon);break;default:Y2.unexpected.call(void 0)}}PD.nextJSXTagToken=r9;function SQ(){A1.state.tokens.push(new u1.Token),A1.state.start=A1.state.pos,r40()}});var bS=k((_D)=>{Object.defineProperty(_D,"__esModule",{value:!0});var TD=Z8(),PQ=k1(),vS=j9(),J20=GZ(),q20=o3(),K20=RQ();function V20(Z){if(TD.match.call(void 0,PQ.TokenType.question)){let Q=TD.lookaheadType.call(void 0);if(Q===PQ.TokenType.colon||Q===PQ.TokenType.comma||Q===PQ.TokenType.parenR)return}J20.baseParseConditional.call(void 0,Z)}_D.typedParseConditional=V20;function D20(){if(TD.eatTypeToken.call(void 0,PQ.TokenType.question),TD.match.call(void 0,PQ.TokenType.colon)){if(vS.isTypeScriptEnabled)K20.tsParseTypeAnnotation.call(void 0);else if(vS.isFlowEnabled)q20.flowParseTypeAnnotation.call(void 0)}}_D.typedParseParenItem=D20});var GZ=k((C5)=>{Object.defineProperty(C5,"__esModule",{value:!0});var G4=o3(),z20=kB(),kS=bS(),q2=RQ(),l0=Z8(),z4=U8(),yS=zD(),k0=k1(),hS=M9(),H20=wQ(),y0=j9(),J2=LD(),S7=YJ(),c1=t4();class uB{constructor(Z){this.stop=Z}}C5.StopState=uB;function JJ(Z=!1){if(o9(Z),l0.match.call(void 0,k0.TokenType.comma))while(l0.eat.call(void 0,k0.TokenType.comma))o9(Z)}C5.parseExpression=JJ;function o9(Z=!1,Q=!1){if(y0.isTypeScriptEnabled)return q2.tsParseMaybeAssign.call(void 0,Z,Q);else if(y0.isFlowEnabled)return G4.flowParseMaybeAssign.call(void 0,Z,Q);else return xS(Z,Q)}C5.parseMaybeAssign=o9;function xS(Z,Q){if(l0.match.call(void 0,k0.TokenType._yield))return j20(),!1;if(l0.match.call(void 0,k0.TokenType.parenL)||l0.match.call(void 0,k0.TokenType.name)||l0.match.call(void 0,k0.TokenType._yield))y0.state.potentialArrowAt=y0.state.start;let Y=G20(Z);if(Q)mB();if(y0.state.type&k0.TokenType.IS_ASSIGN)return l0.next.call(void 0),o9(Z),!1;return Y}C5.baseParseMaybeAssign=xS;function G20(Z){if(U20(Z))return!0;return W20(Z),!1}function W20(Z){if(y0.isTypeScriptEnabled||y0.isFlowEnabled)kS.typedParseConditional.call(void 0,Z);else uS(Z)}function uS(Z){if(l0.eat.call(void 0,k0.TokenType.question))o9(),c1.expect.call(void 0,k0.TokenType.colon),o9(Z)}C5.baseParseConditional=uS;function U20(Z){let Q=y0.state.tokens.length;if(KJ())return!0;return vD(Q,-1,Z),!1}function vD(Z,Q,Y){if(y0.isTypeScriptEnabled&&(k0.TokenType._in&k0.TokenType.PRECEDENCE_MASK)>Q&&!c1.hasPrecedingLineBreak.call(void 0)&&(c1.eatContextual.call(void 0,z4.ContextualKeyword._as)||c1.eatContextual.call(void 0,z4.ContextualKeyword._satisfies))){let q=l0.pushTypeContext.call(void 0,1);q2.tsParseType.call(void 0),l0.popTypeContext.call(void 0,q),l0.rescan_gt.call(void 0),vD(Z,Q,Y);return}let J=y0.state.type&k0.TokenType.PRECEDENCE_MASK;if(J>0&&(!Y||!l0.match.call(void 0,k0.TokenType._in))){if(J>Q){let q=y0.state.type;if(l0.next.call(void 0),q===k0.TokenType.nullishCoalescing)y0.state.tokens[y0.state.tokens.length-1].nullishStartIndex=Z;let K=y0.state.tokens.length;if(KJ(),vD(K,q&k0.TokenType.IS_RIGHT_ASSOCIATIVE?J-1:J,Y),q===k0.TokenType.nullishCoalescing)y0.state.tokens[Z].numNullishCoalesceStarts++,y0.state.tokens[y0.state.tokens.length-1].numNullishCoalesceEnds++;vD(Z,Q,Y)}}}function KJ(){if(y0.isTypeScriptEnabled&&!y0.isJSXEnabled&&l0.eat.call(void 0,k0.TokenType.lessThan))return q2.tsParseTypeAssertion.call(void 0),!1;if(c1.isContextual.call(void 0,z4.ContextualKeyword._module)&&l0.lookaheadCharCode.call(void 0)===hS.charCodes.leftCurlyBrace&&!c1.hasFollowingLineBreak.call(void 0))return N20(),!1;if(y0.state.type&k0.TokenType.IS_PREFIX)return l0.next.call(void 0),KJ(),!1;if(fS())return!0;while(y0.state.type&k0.TokenType.IS_POSTFIX&&!c1.canInsertSemicolon.call(void 0)){if(y0.state.type===k0.TokenType.preIncDec)y0.state.type=k0.TokenType.postIncDec;l0.next.call(void 0)}return!1}C5.parseMaybeUnary=KJ;function fS(){let Z=y0.state.tokens.length;if(hD())return!0;if(fB(Z),y0.state.tokens.length>Z&&y0.state.tokens[Z].isOptionalChainStart)y0.state.tokens[y0.state.tokens.length-1].isOptionalChainEnd=!0;return!1}C5.parseExprSubscripts=fS;function fB(Z,Q=!1){if(y0.isFlowEnabled)G4.flowParseSubscripts.call(void 0,Z,Q);else gS(Z,Q)}function gS(Z,Q=!1){let Y=new uB(!1);do $20(Z,Q,Y);while(!Y.stop&&!y0.state.error)}C5.baseParseSubscripts=gS;function $20(Z,Q,Y){if(y0.isTypeScriptEnabled)q2.tsParseSubscript.call(void 0,Z,Q,Y);else if(y0.isFlowEnabled)G4.flowParseSubscript.call(void 0,Z,Q,Y);else mS(Z,Q,Y)}function mS(Z,Q,Y){if(!Q&&l0.eat.call(void 0,k0.TokenType.doubleColon))gB(),Y.stop=!0,fB(Z,Q);else if(l0.match.call(void 0,k0.TokenType.questionDot)){if(y0.state.tokens[Z].isOptionalChainStart=!0,Q&&l0.lookaheadType.call(void 0)===k0.TokenType.parenL){Y.stop=!0;return}if(l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,l0.eat.call(void 0,k0.TokenType.bracketL))JJ(),c1.expect.call(void 0,k0.TokenType.bracketR);else if(l0.eat.call(void 0,k0.TokenType.parenL))bD();else kD()}else if(l0.eat.call(void 0,k0.TokenType.dot))y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,kD();else if(l0.eat.call(void 0,k0.TokenType.bracketL))y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,JJ(),c1.expect.call(void 0,k0.TokenType.bracketR);else if(!Q&&l0.match.call(void 0,k0.TokenType.parenL))if(cS()){let J=y0.state.snapshot(),q=y0.state.tokens.length;l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z;let K=y0.getNextContextId.call(void 0);if(y0.state.tokens[y0.state.tokens.length-1].contextId=K,bD(),y0.state.tokens[y0.state.tokens.length-1].contextId=K,B20())y0.state.restoreFromSnapshot(J),Y.stop=!0,y0.state.scopeDepth++,S7.parseFunctionParams.call(void 0),O20(q)}else{l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z;let J=y0.getNextContextId.call(void 0);y0.state.tokens[y0.state.tokens.length-1].contextId=J,bD(),y0.state.tokens[y0.state.tokens.length-1].contextId=J}else if(l0.match.call(void 0,k0.TokenType.backQuote))cB();else Y.stop=!0}C5.baseParseSubscript=mS;function cS(){return y0.state.tokens[y0.state.tokens.length-1].contextualKeyword===z4.ContextualKeyword._async&&!c1.canInsertSemicolon.call(void 0)}C5.atPossibleAsync=cS;function bD(){let Z=!0;while(!l0.eat.call(void 0,k0.TokenType.parenR)&&!y0.state.error){if(Z)Z=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,k0.TokenType.parenR))break;sS(!1)}}C5.parseCallExpressionArguments=bD;function B20(){return l0.match.call(void 0,k0.TokenType.colon)||l0.match.call(void 0,k0.TokenType.arrow)}function O20(Z){if(y0.isTypeScriptEnabled)q2.tsStartParseAsyncArrowFromCallExpression.call(void 0);else if(y0.isFlowEnabled)G4.flowStartParseAsyncArrowFromCallExpression.call(void 0);c1.expect.call(void 0,k0.TokenType.arrow),qJ(Z)}function gB(){let Z=y0.state.tokens.length;hD(),fB(Z,!0)}function hD(){if(l0.eat.call(void 0,k0.TokenType.modulo))return H4(),!1;if(l0.match.call(void 0,k0.TokenType.jsxText)||l0.match.call(void 0,k0.TokenType.jsxEmptyText))return dS(),!1;else if(l0.match.call(void 0,k0.TokenType.lessThan)&&y0.isJSXEnabled)return y0.state.type=k0.TokenType.jsxTagStart,z20.jsxParseElement.call(void 0),l0.next.call(void 0),!1;let Z=y0.state.potentialArrowAt===y0.state.start;switch(y0.state.type){case k0.TokenType.slash:case k0.TokenType.assign:l0.retokenizeSlashAsRegex.call(void 0);case k0.TokenType._super:case k0.TokenType._this:case k0.TokenType.regexp:case k0.TokenType.num:case k0.TokenType.bigint:case k0.TokenType.decimal:case k0.TokenType.string:case k0.TokenType._null:case k0.TokenType._true:case k0.TokenType._false:return l0.next.call(void 0),!1;case k0.TokenType._import:if(l0.next.call(void 0),l0.match.call(void 0,k0.TokenType.dot))y0.state.tokens[y0.state.tokens.length-1].type=k0.TokenType.name,l0.next.call(void 0),H4();return!1;case k0.TokenType.name:{let Q=y0.state.tokens.length,Y=y0.state.start,J=y0.state.contextualKeyword;if(H4(),J===z4.ContextualKeyword._await)return M20(),!1;else if(J===z4.ContextualKeyword._async&&l0.match.call(void 0,k0.TokenType._function)&&!c1.canInsertSemicolon.call(void 0))return l0.next.call(void 0),S7.parseFunction.call(void 0,Y,!1),!1;else if(Z&&J===z4.ContextualKeyword._async&&!c1.canInsertSemicolon.call(void 0)&&l0.match.call(void 0,k0.TokenType.name))return y0.state.scopeDepth++,J2.parseBindingIdentifier.call(void 0,!1),c1.expect.call(void 0,k0.TokenType.arrow),qJ(Q),!0;else if(l0.match.call(void 0,k0.TokenType._do)&&!c1.canInsertSemicolon.call(void 0))return l0.next.call(void 0),S7.parseBlock.call(void 0),!1;if(Z&&!c1.canInsertSemicolon.call(void 0)&&l0.match.call(void 0,k0.TokenType.arrow))return y0.state.scopeDepth++,J2.markPriorBindingIdentifier.call(void 0,!1),c1.expect.call(void 0,k0.TokenType.arrow),qJ(Q),!0;return y0.state.tokens[y0.state.tokens.length-1].identifierRole=l0.IdentifierRole.Access,!1}case k0.TokenType._do:return l0.next.call(void 0),S7.parseBlock.call(void 0),!1;case k0.TokenType.parenL:return lS(Z);case k0.TokenType.bracketL:return l0.next.call(void 0),nS(k0.TokenType.bracketR,!0),!1;case k0.TokenType.braceL:return pS(!1,!1),!1;case k0.TokenType._function:return X20(),!1;case k0.TokenType.at:S7.parseDecorators.call(void 0);case k0.TokenType._class:return S7.parseClass.call(void 0,!1),!1;case k0.TokenType._new:return w20(),!1;case k0.TokenType.backQuote:return cB(),!1;case k0.TokenType.doubleColon:return l0.next.call(void 0),gB(),!1;case k0.TokenType.hash:{let Q=l0.lookaheadCharCode.call(void 0);if(H20.IS_IDENTIFIER_START[Q]||Q===hS.charCodes.backslash)kD();else l0.next.call(void 0);return!1}default:return c1.unexpected.call(void 0),!1}}C5.parseExprAtom=hD;function kD(){l0.eat.call(void 0,k0.TokenType.hash),H4()}function X20(){let Z=y0.state.start;if(H4(),l0.eat.call(void 0,k0.TokenType.dot))H4();S7.parseFunction.call(void 0,Z,!1)}function dS(){l0.next.call(void 0)}C5.parseLiteral=dS;function F20(){c1.expect.call(void 0,k0.TokenType.parenL),JJ(),c1.expect.call(void 0,k0.TokenType.parenR)}C5.parseParenExpression=F20;function lS(Z){let Q=y0.state.snapshot(),Y=y0.state.tokens.length;c1.expect.call(void 0,k0.TokenType.parenL);let J=!0;while(!l0.match.call(void 0,k0.TokenType.parenR)&&!y0.state.error){if(J)J=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.match.call(void 0,k0.TokenType.parenR))break;if(l0.match.call(void 0,k0.TokenType.ellipsis)){J2.parseRest.call(void 0,!1),mB();break}else o9(!1,!0)}if(c1.expect.call(void 0,k0.TokenType.parenR),Z&&A20()){if(hB()){if(y0.state.restoreFromSnapshot(Q),y0.state.scopeDepth++,S7.parseFunctionParams.call(void 0),hB(),qJ(Y),y0.state.error)return y0.state.restoreFromSnapshot(Q),lS(!1),!1;return!0}}return!1}function A20(){return l0.match.call(void 0,k0.TokenType.colon)||!c1.canInsertSemicolon.call(void 0)}function hB(){if(y0.isTypeScriptEnabled)return q2.tsParseArrow.call(void 0);else if(y0.isFlowEnabled)return G4.flowParseArrow.call(void 0);else return l0.eat.call(void 0,k0.TokenType.arrow)}C5.parseArrow=hB;function mB(){if(y0.isTypeScriptEnabled||y0.isFlowEnabled)kS.typedParseParenItem.call(void 0)}function w20(){if(c1.expect.call(void 0,k0.TokenType._new),l0.eat.call(void 0,k0.TokenType.dot)){H4();return}if(E20(),y0.isFlowEnabled)G4.flowStartParseNewArguments.call(void 0);if(l0.eat.call(void 0,k0.TokenType.parenL))nS(k0.TokenType.parenR)}function E20(){gB(),l0.eat.call(void 0,k0.TokenType.questionDot)}function cB(){l0.nextTemplateToken.call(void 0),l0.nextTemplateToken.call(void 0);while(!l0.match.call(void 0,k0.TokenType.backQuote)&&!y0.state.error)c1.expect.call(void 0,k0.TokenType.dollarBraceL),JJ(),l0.nextTemplateToken.call(void 0),l0.nextTemplateToken.call(void 0);l0.next.call(void 0)}C5.parseTemplate=cB;function pS(Z,Q){let Y=y0.getNextContextId.call(void 0),J=!0;l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].contextId=Y;while(!l0.eat.call(void 0,k0.TokenType.braceR)&&!y0.state.error){if(J)J=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,k0.TokenType.braceR))break;let q=!1;if(l0.match.call(void 0,k0.TokenType.ellipsis)){let K=y0.state.tokens.length;if(J2.parseSpread.call(void 0),Z){if(y0.state.tokens.length===K+2)J2.markPriorBindingIdentifier.call(void 0,Q);if(l0.eat.call(void 0,k0.TokenType.braceR))break}continue}if(!Z)q=l0.eat.call(void 0,k0.TokenType.star);if(!Z&&c1.isContextual.call(void 0,z4.ContextualKeyword._async)){if(q)c1.unexpected.call(void 0);if(H4(),l0.match.call(void 0,k0.TokenType.colon)||l0.match.call(void 0,k0.TokenType.parenL)||l0.match.call(void 0,k0.TokenType.braceR)||l0.match.call(void 0,k0.TokenType.eq)||l0.match.call(void 0,k0.TokenType.comma));else{if(l0.match.call(void 0,k0.TokenType.star))l0.next.call(void 0),q=!0;yD(Y)}}else yD(Y);L20(Z,Q,Y)}y0.state.tokens[y0.state.tokens.length-1].contextId=Y}C5.parseObj=pS;function I20(Z){return!Z&&(l0.match.call(void 0,k0.TokenType.string)||l0.match.call(void 0,k0.TokenType.num)||l0.match.call(void 0,k0.TokenType.bracketL)||l0.match.call(void 0,k0.TokenType.name)||!!(y0.state.type&k0.TokenType.IS_KEYWORD))}function C20(Z,Q){let Y=y0.state.start;if(l0.match.call(void 0,k0.TokenType.parenL)){if(Z)c1.unexpected.call(void 0);return xB(Y,!1),!0}if(I20(Z))return yD(Q),xB(Y,!1),!0;return!1}function R20(Z,Q){if(l0.eat.call(void 0,k0.TokenType.colon)){if(Z)J2.parseMaybeDefault.call(void 0,Q);else o9(!1);return}let Y;if(Z)if(y0.state.scopeDepth===0)Y=l0.IdentifierRole.ObjectShorthandTopLevelDeclaration;else if(Q)Y=l0.IdentifierRole.ObjectShorthandBlockScopedDeclaration;else Y=l0.IdentifierRole.ObjectShorthandFunctionScopedDeclaration;else Y=l0.IdentifierRole.ObjectShorthand;y0.state.tokens[y0.state.tokens.length-1].identifierRole=Y,J2.parseMaybeDefault.call(void 0,Q,!0)}function L20(Z,Q,Y){if(y0.isTypeScriptEnabled)q2.tsStartParseObjPropValue.call(void 0);else if(y0.isFlowEnabled)G4.flowStartParseObjPropValue.call(void 0);if(!C20(Z,Y))R20(Z,Q)}function yD(Z){if(y0.isFlowEnabled)G4.flowParseVariance.call(void 0);if(l0.eat.call(void 0,k0.TokenType.bracketL))y0.state.tokens[y0.state.tokens.length-1].contextId=Z,o9(),c1.expect.call(void 0,k0.TokenType.bracketR),y0.state.tokens[y0.state.tokens.length-1].contextId=Z;else{if(l0.match.call(void 0,k0.TokenType.num)||l0.match.call(void 0,k0.TokenType.string)||l0.match.call(void 0,k0.TokenType.bigint)||l0.match.call(void 0,k0.TokenType.decimal))hD();else kD();y0.state.tokens[y0.state.tokens.length-1].identifierRole=l0.IdentifierRole.ObjectKey,y0.state.tokens[y0.state.tokens.length-1].contextId=Z}}C5.parsePropertyName=yD;function xB(Z,Q){let Y=y0.getNextContextId.call(void 0);y0.state.scopeDepth++;let J=y0.state.tokens.length,q=Q;S7.parseFunctionParams.call(void 0,q,Y),iS(Z,Y);let K=y0.state.tokens.length;y0.state.scopes.push(new yS.Scope(J,K,!0)),y0.state.scopeDepth--}C5.parseMethod=xB;function qJ(Z){dB(!0);let Q=y0.state.tokens.length;y0.state.scopes.push(new yS.Scope(Z,Q,!0)),y0.state.scopeDepth--}C5.parseArrowExpression=qJ;function iS(Z,Q=0){if(y0.isTypeScriptEnabled)q2.tsParseFunctionBodyAndFinish.call(void 0,Z,Q);else if(y0.isFlowEnabled)G4.flowParseFunctionBodyAndFinish.call(void 0,Q);else dB(!1,Q)}C5.parseFunctionBodyAndFinish=iS;function dB(Z,Q=0){if(Z&&!l0.match.call(void 0,k0.TokenType.braceL))o9();else S7.parseBlock.call(void 0,!0,Q)}C5.parseFunctionBody=dB;function nS(Z,Q=!1){let Y=!0;while(!l0.eat.call(void 0,Z)&&!y0.state.error){if(Y)Y=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,Z))break;sS(Q)}}function sS(Z){if(Z&&l0.match.call(void 0,k0.TokenType.comma));else if(l0.match.call(void 0,k0.TokenType.ellipsis))J2.parseSpread.call(void 0),mB();else if(l0.match.call(void 0,k0.TokenType.question))l0.next.call(void 0);else o9(!1,!0)}function H4(){l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].type=k0.TokenType.name}C5.parseIdentifier=H4;function M20(){KJ()}function j20(){if(l0.next.call(void 0),!l0.match.call(void 0,k0.TokenType.semi)&&!c1.canInsertSemicolon.call(void 0))l0.eat.call(void 0,k0.TokenType.star),o9()}function N20(){c1.expectContextual.call(void 0,z4.ContextualKeyword._module),c1.expect.call(void 0,k0.TokenType.braceL),S7.parseBlockBody.call(void 0,k0.TokenType.braceR)}});var o3=k(($5)=>{Object.defineProperty($5,"__esModule",{value:!0});var V0=Z8(),C1=U8(),J0=k1(),O1=j9(),V5=GZ(),K2=YJ(),o0=t4();function S20(Z){return(Z.type===J0.TokenType.name||!!(Z.type&J0.TokenType.IS_KEYWORD))&&Z.contextualKeyword!==C1.ContextualKeyword._from}function V6(Z){let Q=V0.pushTypeContext.call(void 0,0);o0.expect.call(void 0,Z||J0.TokenType.colon),z9(),V0.popTypeContext.call(void 0,Q)}function aS(){if(o0.expect.call(void 0,J0.TokenType.modulo),o0.expectContextual.call(void 0,C1.ContextualKeyword._checks),V0.eat.call(void 0,J0.TokenType.parenL))V5.parseExpression.call(void 0),o0.expect.call(void 0,J0.TokenType.parenR)}function iB(){let Z=V0.pushTypeContext.call(void 0,0);if(o0.expect.call(void 0,J0.TokenType.colon),V0.match.call(void 0,J0.TokenType.modulo))aS();else if(z9(),V0.match.call(void 0,J0.TokenType.modulo))aS();V0.popTypeContext.call(void 0,Z)}function P20(){V0.next.call(void 0),nB(!0)}function T20(){if(V0.next.call(void 0),V5.parseIdentifier.call(void 0),V0.match.call(void 0,J0.TokenType.lessThan))D6();o0.expect.call(void 0,J0.TokenType.parenL),pB(),o0.expect.call(void 0,J0.TokenType.parenR),iB(),o0.semicolon.call(void 0)}function lB(){if(V0.match.call(void 0,J0.TokenType._class))P20();else if(V0.match.call(void 0,J0.TokenType._function))T20();else if(V0.match.call(void 0,J0.TokenType._var))_20();else if(o0.eatContextual.call(void 0,C1.ContextualKeyword._module))if(V0.eat.call(void 0,J0.TokenType.dot))k20();else v20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._type))y20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))h20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface))x20();else if(V0.match.call(void 0,J0.TokenType._export))b20();else o0.unexpected.call(void 0)}function _20(){V0.next.call(void 0),QP(),o0.semicolon.call(void 0)}function v20(){if(V0.match.call(void 0,J0.TokenType.string))V5.parseExprAtom.call(void 0);else V5.parseIdentifier.call(void 0);o0.expect.call(void 0,J0.TokenType.braceL);while(!V0.match.call(void 0,J0.TokenType.braceR)&&!O1.state.error)if(V0.match.call(void 0,J0.TokenType._import))V0.next.call(void 0),K2.parseImport.call(void 0);else o0.unexpected.call(void 0);o0.expect.call(void 0,J0.TokenType.braceR)}function b20(){if(o0.expect.call(void 0,J0.TokenType._export),V0.eat.call(void 0,J0.TokenType._default))if(V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._class))lB();else z9(),o0.semicolon.call(void 0);else if(V0.match.call(void 0,J0.TokenType._var)||V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._class)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))lB();else if(V0.match.call(void 0,J0.TokenType.star)||V0.match.call(void 0,J0.TokenType.braceL)||o0.isContextual.call(void 0,C1.ContextualKeyword._interface)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))K2.parseExport.call(void 0);else o0.unexpected.call(void 0)}function k20(){o0.expectContextual.call(void 0,C1.ContextualKeyword._exports),TQ(),o0.semicolon.call(void 0)}function y20(){V0.next.call(void 0),aB()}function h20(){V0.next.call(void 0),rB(!0)}function x20(){V0.next.call(void 0),nB()}function nB(Z=!1){if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();if(V0.eat.call(void 0,J0.TokenType._extends))do xD();while(!Z&&V0.eat.call(void 0,J0.TokenType.comma));if(o0.isContextual.call(void 0,C1.ContextualKeyword._mixins)){V0.next.call(void 0);do xD();while(V0.eat.call(void 0,J0.TokenType.comma))}if(o0.isContextual.call(void 0,C1.ContextualKeyword._implements)){V0.next.call(void 0);do xD();while(V0.eat.call(void 0,J0.TokenType.comma))}uD(Z,!1,Z)}function xD(){if(tS(!1),V0.match.call(void 0,J0.TokenType.lessThan))WZ()}function sB(){nB()}function gD(){V5.parseIdentifier.call(void 0)}function aB(){if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();V6(J0.TokenType.eq),o0.semicolon.call(void 0)}function rB(Z){if(o0.expectContextual.call(void 0,C1.ContextualKeyword._type),gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();if(V0.match.call(void 0,J0.TokenType.colon))V6(J0.TokenType.colon);if(!Z)V6(J0.TokenType.eq);o0.semicolon.call(void 0)}function u20(){if(eB(),QP(),V0.eat.call(void 0,J0.TokenType.eq))z9()}function D6(){let Z=V0.pushTypeContext.call(void 0,0);if(V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.typeParameterStart))V0.next.call(void 0);else o0.unexpected.call(void 0);do if(u20(),!V0.match.call(void 0,J0.TokenType.greaterThan))o0.expect.call(void 0,J0.TokenType.comma);while(!V0.match.call(void 0,J0.TokenType.greaterThan)&&!O1.state.error);o0.expect.call(void 0,J0.TokenType.greaterThan),V0.popTypeContext.call(void 0,Z)}$5.flowParseTypeParameterDeclaration=D6;function WZ(){let Z=V0.pushTypeContext.call(void 0,0);o0.expect.call(void 0,J0.TokenType.lessThan);while(!V0.match.call(void 0,J0.TokenType.greaterThan)&&!O1.state.error)if(z9(),!V0.match.call(void 0,J0.TokenType.greaterThan))o0.expect.call(void 0,J0.TokenType.comma);o0.expect.call(void 0,J0.TokenType.greaterThan),V0.popTypeContext.call(void 0,Z)}function f20(){if(o0.expectContextual.call(void 0,C1.ContextualKeyword._interface),V0.eat.call(void 0,J0.TokenType._extends))do xD();while(V0.eat.call(void 0,J0.TokenType.comma));uD(!1,!1,!1)}function oB(){if(V0.match.call(void 0,J0.TokenType.num)||V0.match.call(void 0,J0.TokenType.string))V5.parseExprAtom.call(void 0);else V5.parseIdentifier.call(void 0)}function g20(){if(V0.lookaheadType.call(void 0)===J0.TokenType.colon)oB(),V6();else z9();o0.expect.call(void 0,J0.TokenType.bracketR),V6()}function m20(){if(oB(),o0.expect.call(void 0,J0.TokenType.bracketR),o0.expect.call(void 0,J0.TokenType.bracketR),V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.parenL))tB();else V0.eat.call(void 0,J0.TokenType.question),V6()}function tB(){if(V0.match.call(void 0,J0.TokenType.lessThan))D6();o0.expect.call(void 0,J0.TokenType.parenL);while(!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis)&&!O1.state.error)if(fD(),!V0.match.call(void 0,J0.TokenType.parenR))o0.expect.call(void 0,J0.TokenType.comma);if(V0.eat.call(void 0,J0.TokenType.ellipsis))fD();o0.expect.call(void 0,J0.TokenType.parenR),V6()}function c20(){tB()}function uD(Z,Q,Y){let J;if(Q&&V0.match.call(void 0,J0.TokenType.braceBarL))o0.expect.call(void 0,J0.TokenType.braceBarL),J=J0.TokenType.braceBarR;else o0.expect.call(void 0,J0.TokenType.braceL),J=J0.TokenType.braceR;while(!V0.match.call(void 0,J)&&!O1.state.error){if(Y&&o0.isContextual.call(void 0,C1.ContextualKeyword._proto)){let q=V0.lookaheadType.call(void 0);if(q!==J0.TokenType.colon&&q!==J0.TokenType.question)V0.next.call(void 0),Z=!1}if(Z&&o0.isContextual.call(void 0,C1.ContextualKeyword._static)){let q=V0.lookaheadType.call(void 0);if(q!==J0.TokenType.colon&&q!==J0.TokenType.question)V0.next.call(void 0)}if(eB(),V0.eat.call(void 0,J0.TokenType.bracketL))if(V0.eat.call(void 0,J0.TokenType.bracketL))m20();else g20();else if(V0.match.call(void 0,J0.TokenType.parenL)||V0.match.call(void 0,J0.TokenType.lessThan))c20();else{if(o0.isContextual.call(void 0,C1.ContextualKeyword._get)||o0.isContextual.call(void 0,C1.ContextualKeyword._set)){let q=V0.lookaheadType.call(void 0);if(q===J0.TokenType.name||q===J0.TokenType.string||q===J0.TokenType.num)V0.next.call(void 0)}d20()}l20()}o0.expect.call(void 0,J)}function d20(){if(V0.match.call(void 0,J0.TokenType.ellipsis)){if(o0.expect.call(void 0,J0.TokenType.ellipsis),!V0.eat.call(void 0,J0.TokenType.comma))V0.eat.call(void 0,J0.TokenType.semi);if(V0.match.call(void 0,J0.TokenType.braceR))return;z9()}else if(oB(),V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.parenL))tB();else V0.eat.call(void 0,J0.TokenType.question),V6()}function l20(){if(!V0.eat.call(void 0,J0.TokenType.semi)&&!V0.eat.call(void 0,J0.TokenType.comma)&&!V0.match.call(void 0,J0.TokenType.braceR)&&!V0.match.call(void 0,J0.TokenType.braceBarR))o0.unexpected.call(void 0)}function tS(Z){if(!Z)V5.parseIdentifier.call(void 0);while(V0.eat.call(void 0,J0.TokenType.dot))V5.parseIdentifier.call(void 0)}function p20(){if(tS(!0),V0.match.call(void 0,J0.TokenType.lessThan))WZ()}function i20(){o0.expect.call(void 0,J0.TokenType._typeof),eS()}function n20(){o0.expect.call(void 0,J0.TokenType.bracketL);while(O1.state.pos<O1.input.length&&!V0.match.call(void 0,J0.TokenType.bracketR)){if(z9(),V0.match.call(void 0,J0.TokenType.bracketR))break;o0.expect.call(void 0,J0.TokenType.comma)}o0.expect.call(void 0,J0.TokenType.bracketR)}function fD(){let Z=V0.lookaheadType.call(void 0);if(Z===J0.TokenType.colon||Z===J0.TokenType.question)V5.parseIdentifier.call(void 0),V0.eat.call(void 0,J0.TokenType.question),V6();else z9()}function pB(){while(!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis)&&!O1.state.error)if(fD(),!V0.match.call(void 0,J0.TokenType.parenR))o0.expect.call(void 0,J0.TokenType.comma);if(V0.eat.call(void 0,J0.TokenType.ellipsis))fD()}function eS(){let Z=!1,Q=O1.state.noAnonFunctionType;switch(O1.state.type){case J0.TokenType.name:{if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface)){f20();return}V5.parseIdentifier.call(void 0),p20();return}case J0.TokenType.braceL:uD(!1,!1,!1);return;case J0.TokenType.braceBarL:uD(!1,!0,!1);return;case J0.TokenType.bracketL:n20();return;case J0.TokenType.lessThan:D6(),o0.expect.call(void 0,J0.TokenType.parenL),pB(),o0.expect.call(void 0,J0.TokenType.parenR),o0.expect.call(void 0,J0.TokenType.arrow),z9();return;case J0.TokenType.parenL:if(V0.next.call(void 0),!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis))if(V0.match.call(void 0,J0.TokenType.name)){let Y=V0.lookaheadType.call(void 0);Z=Y!==J0.TokenType.question&&Y!==J0.TokenType.colon}else Z=!0;if(Z)if(O1.state.noAnonFunctionType=!1,z9(),O1.state.noAnonFunctionType=Q,O1.state.noAnonFunctionType||!(V0.match.call(void 0,J0.TokenType.comma)||V0.match.call(void 0,J0.TokenType.parenR)&&V0.lookaheadType.call(void 0)===J0.TokenType.arrow)){o0.expect.call(void 0,J0.TokenType.parenR);return}else V0.eat.call(void 0,J0.TokenType.comma);pB(),o0.expect.call(void 0,J0.TokenType.parenR),o0.expect.call(void 0,J0.TokenType.arrow),z9();return;case J0.TokenType.minus:V0.next.call(void 0),V5.parseLiteral.call(void 0);return;case J0.TokenType.string:case J0.TokenType.num:case J0.TokenType._true:case J0.TokenType._false:case J0.TokenType._null:case J0.TokenType._this:case J0.TokenType._void:case J0.TokenType.star:V0.next.call(void 0);return;default:if(O1.state.type===J0.TokenType._typeof){i20();return}else if(O1.state.type&J0.TokenType.IS_KEYWORD){V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType.name;return}}o0.unexpected.call(void 0)}function s20(){eS();while(!o0.canInsertSemicolon.call(void 0)&&(V0.match.call(void 0,J0.TokenType.bracketL)||V0.match.call(void 0,J0.TokenType.questionDot)))if(V0.eat.call(void 0,J0.TokenType.questionDot),o0.expect.call(void 0,J0.TokenType.bracketL),V0.eat.call(void 0,J0.TokenType.bracketR));else z9(),o0.expect.call(void 0,J0.TokenType.bracketR)}function ZP(){if(V0.eat.call(void 0,J0.TokenType.question))ZP();else s20()}function rS(){if(ZP(),!O1.state.noAnonFunctionType&&V0.eat.call(void 0,J0.TokenType.arrow))z9()}function oS(){V0.eat.call(void 0,J0.TokenType.bitwiseAND),rS();while(V0.eat.call(void 0,J0.TokenType.bitwiseAND))rS()}function a20(){V0.eat.call(void 0,J0.TokenType.bitwiseOR),oS();while(V0.eat.call(void 0,J0.TokenType.bitwiseOR))oS()}function z9(){a20()}function TQ(){V6()}$5.flowParseTypeAnnotation=TQ;function QP(){if(V5.parseIdentifier.call(void 0),V0.match.call(void 0,J0.TokenType.colon))TQ()}function eB(){if(V0.match.call(void 0,J0.TokenType.plus)||V0.match.call(void 0,J0.TokenType.minus))V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].isType=!0}$5.flowParseVariance=eB;function r20(Z){if(V0.match.call(void 0,J0.TokenType.colon))iB();V5.parseFunctionBody.call(void 0,!1,Z)}$5.flowParseFunctionBodyAndFinish=r20;function o20(Z,Q,Y){if(V0.match.call(void 0,J0.TokenType.questionDot)&&V0.lookaheadType.call(void 0)===J0.TokenType.lessThan){if(Q){Y.stop=!0;return}V0.next.call(void 0),WZ(),o0.expect.call(void 0,J0.TokenType.parenL),V5.parseCallExpressionArguments.call(void 0);return}else if(!Q&&V0.match.call(void 0,J0.TokenType.lessThan)){let J=O1.state.snapshot();if(WZ(),o0.expect.call(void 0,J0.TokenType.parenL),V5.parseCallExpressionArguments.call(void 0),O1.state.error)O1.state.restoreFromSnapshot(J);else return}V5.baseParseSubscript.call(void 0,Z,Q,Y)}$5.flowParseSubscript=o20;function t20(){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Z=O1.state.snapshot();if(WZ(),O1.state.error)O1.state.restoreFromSnapshot(Z)}}$5.flowStartParseNewArguments=t20;function e20(){if(V0.match.call(void 0,J0.TokenType.name)&&O1.state.contextualKeyword===C1.ContextualKeyword._interface){let Z=V0.pushTypeContext.call(void 0,0);return V0.next.call(void 0),sB(),V0.popTypeContext.call(void 0,Z),!0}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._enum))return YP(),!0;return!1}$5.flowTryParseStatement=e20;function ZZ0(){if(o0.isContextual.call(void 0,C1.ContextualKeyword._enum))return YP(),!0;return!1}$5.flowTryParseExportDefaultExpression=ZZ0;function QZ0(Z){if(Z===C1.ContextualKeyword._declare){if(V0.match.call(void 0,J0.TokenType._class)||V0.match.call(void 0,J0.TokenType.name)||V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._var)||V0.match.call(void 0,J0.TokenType._export)){let Q=V0.pushTypeContext.call(void 0,1);lB(),V0.popTypeContext.call(void 0,Q)}}else if(V0.match.call(void 0,J0.TokenType.name)){if(Z===C1.ContextualKeyword._interface){let Q=V0.pushTypeContext.call(void 0,1);sB(),V0.popTypeContext.call(void 0,Q)}else if(Z===C1.ContextualKeyword._type){let Q=V0.pushTypeContext.call(void 0,1);aB(),V0.popTypeContext.call(void 0,Q)}else if(Z===C1.ContextualKeyword._opaque){let Q=V0.pushTypeContext.call(void 0,1);rB(!1),V0.popTypeContext.call(void 0,Q)}}o0.semicolon.call(void 0)}$5.flowParseIdentifierStatement=QZ0;function YZ0(){return o0.isContextual.call(void 0,C1.ContextualKeyword._type)||o0.isContextual.call(void 0,C1.ContextualKeyword._interface)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque)||o0.isContextual.call(void 0,C1.ContextualKeyword._enum)}$5.flowShouldParseExportDeclaration=YZ0;function JZ0(){return V0.match.call(void 0,J0.TokenType.name)&&(O1.state.contextualKeyword===C1.ContextualKeyword._type||O1.state.contextualKeyword===C1.ContextualKeyword._interface||O1.state.contextualKeyword===C1.ContextualKeyword._opaque||O1.state.contextualKeyword===C1.ContextualKeyword._enum)}$5.flowShouldDisallowExportDefaultSpecifier=JZ0;function qZ0(){if(o0.isContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.pushTypeContext.call(void 0,1);if(V0.next.call(void 0),V0.match.call(void 0,J0.TokenType.braceL))K2.parseExportSpecifiers.call(void 0),K2.parseExportFrom.call(void 0);else aB();V0.popTypeContext.call(void 0,Z)}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._opaque)){let Z=V0.pushTypeContext.call(void 0,1);V0.next.call(void 0),rB(!1),V0.popTypeContext.call(void 0,Z)}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface)){let Z=V0.pushTypeContext.call(void 0,1);V0.next.call(void 0),sB(),V0.popTypeContext.call(void 0,Z)}else K2.parseStatement.call(void 0,!0)}$5.flowParseExportDeclaration=qZ0;function KZ0(){return V0.match.call(void 0,J0.TokenType.star)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)&&V0.lookaheadType.call(void 0)===J0.TokenType.star}$5.flowShouldParseExportStar=KZ0;function VZ0(){if(o0.eatContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.pushTypeContext.call(void 0,2);K2.baseParseExportStar.call(void 0),V0.popTypeContext.call(void 0,Z)}else K2.baseParseExportStar.call(void 0)}$5.flowParseExportStar=VZ0;function DZ0(Z){if(Z&&V0.match.call(void 0,J0.TokenType.lessThan))WZ();if(o0.isContextual.call(void 0,C1.ContextualKeyword._implements)){let Q=V0.pushTypeContext.call(void 0,0);V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType._implements;do if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))WZ();while(V0.eat.call(void 0,J0.TokenType.comma));V0.popTypeContext.call(void 0,Q)}}$5.flowAfterParseClassSuper=DZ0;function zZ0(){if(V0.match.call(void 0,J0.TokenType.lessThan)){if(D6(),!V0.match.call(void 0,J0.TokenType.parenL))o0.unexpected.call(void 0)}}$5.flowStartParseObjPropValue=zZ0;function HZ0(){let Z=V0.pushTypeContext.call(void 0,0);if(V0.eat.call(void 0,J0.TokenType.question),V0.match.call(void 0,J0.TokenType.colon))TQ();V0.popTypeContext.call(void 0,Z)}$5.flowParseAssignableListItemTypes=HZ0;function GZ0(){if(V0.match.call(void 0,J0.TokenType._typeof)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.lookaheadTypeAndKeyword.call(void 0);if(S20(Z)||Z.type===J0.TokenType.braceL||Z.type===J0.TokenType.star)V0.next.call(void 0)}}$5.flowStartParseImportSpecifiers=GZ0;function WZ0(){let Z=O1.state.contextualKeyword===C1.ContextualKeyword._type||O1.state.type===J0.TokenType._typeof;if(Z)V0.next.call(void 0);else V5.parseIdentifier.call(void 0);if(o0.isContextual.call(void 0,C1.ContextualKeyword._as)&&!o0.isLookaheadContextual.call(void 0,C1.ContextualKeyword._as))if(V5.parseIdentifier.call(void 0),Z&&!V0.match.call(void 0,J0.TokenType.name)&&!(O1.state.type&J0.TokenType.IS_KEYWORD));else V5.parseIdentifier.call(void 0);else{if(Z&&(V0.match.call(void 0,J0.TokenType.name)||!!(O1.state.type&J0.TokenType.IS_KEYWORD)))V5.parseIdentifier.call(void 0);if(o0.eatContextual.call(void 0,C1.ContextualKeyword._as))V5.parseIdentifier.call(void 0)}}$5.flowParseImportSpecifier=WZ0;function UZ0(){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Z=V0.pushTypeContext.call(void 0,0);D6(),V0.popTypeContext.call(void 0,Z)}}$5.flowStartParseFunctionParams=UZ0;function $Z0(){if(V0.match.call(void 0,J0.TokenType.colon))TQ()}$5.flowAfterParseVarHead=$Z0;function BZ0(){if(V0.match.call(void 0,J0.TokenType.colon)){let Z=O1.state.noAnonFunctionType;O1.state.noAnonFunctionType=!0,TQ(),O1.state.noAnonFunctionType=Z}}$5.flowStartParseAsyncArrowFromCallExpression=BZ0;function OZ0(Z,Q){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Y=O1.state.snapshot(),J=V5.baseParseMaybeAssign.call(void 0,Z,Q);if(O1.state.error)O1.state.restoreFromSnapshot(Y),O1.state.type=J0.TokenType.typeParameterStart;else return J;let q=V0.pushTypeContext.call(void 0,0);if(D6(),V0.popTypeContext.call(void 0,q),J=V5.baseParseMaybeAssign.call(void 0,Z,Q),J)return!0;o0.unexpected.call(void 0)}return V5.baseParseMaybeAssign.call(void 0,Z,Q)}$5.flowParseMaybeAssign=OZ0;function XZ0(){if(V0.match.call(void 0,J0.TokenType.colon)){let Z=V0.pushTypeContext.call(void 0,0),Q=O1.state.snapshot(),Y=O1.state.noAnonFunctionType;if(O1.state.noAnonFunctionType=!0,iB(),O1.state.noAnonFunctionType=Y,o0.canInsertSemicolon.call(void 0))o0.unexpected.call(void 0);if(!V0.match.call(void 0,J0.TokenType.arrow))o0.unexpected.call(void 0);if(O1.state.error)O1.state.restoreFromSnapshot(Q);V0.popTypeContext.call(void 0,Z)}return V0.eat.call(void 0,J0.TokenType.arrow)}$5.flowParseArrow=XZ0;function FZ0(Z,Q=!1){if(O1.state.tokens[O1.state.tokens.length-1].contextualKeyword===C1.ContextualKeyword._async&&V0.match.call(void 0,J0.TokenType.lessThan)){let Y=O1.state.snapshot();if(AZ0()&&!O1.state.error)return;O1.state.restoreFromSnapshot(Y)}V5.baseParseSubscripts.call(void 0,Z,Q)}$5.flowParseSubscripts=FZ0;function AZ0(){O1.state.scopeDepth++;let Z=O1.state.tokens.length;if(K2.parseFunctionParams.call(void 0),!V5.parseArrow.call(void 0))return!1;return V5.parseArrowExpression.call(void 0,Z),!0}function YP(){o0.expectContextual.call(void 0,C1.ContextualKeyword._enum),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType._enum,V5.parseIdentifier.call(void 0),wZ0()}function wZ0(){if(o0.eatContextual.call(void 0,C1.ContextualKeyword._of))V0.next.call(void 0);o0.expect.call(void 0,J0.TokenType.braceL),EZ0(),o0.expect.call(void 0,J0.TokenType.braceR)}function EZ0(){while(!V0.match.call(void 0,J0.TokenType.braceR)&&!O1.state.error){if(V0.eat.call(void 0,J0.TokenType.ellipsis))break;if(IZ0(),!V0.match.call(void 0,J0.TokenType.braceR))o0.expect.call(void 0,J0.TokenType.comma)}}function IZ0(){if(V5.parseIdentifier.call(void 0),V0.eat.call(void 0,J0.TokenType.eq))V0.next.call(void 0)}});var YJ=k((a5)=>{Object.defineProperty(a5,"__esModule",{value:!0});var CZ0=KO(),u8=o3(),u5=RQ(),h0=Z8(),j1=U8(),V2=zD(),M0=k1(),JP=M9(),I0=j9(),n1=GZ(),D2=LD(),Y1=t4();function RZ0(){if(JO(M0.TokenType.eof),I0.state.scopes.push(new V2.Scope(0,I0.state.tokens.length,!0)),I0.state.scopeDepth!==0)throw Error(`Invalid scope depth at end of file: ${I0.state.scopeDepth}`);return new CZ0.File(I0.state.tokens,I0.state.scopes)}a5.parseTopLevel=RZ0;function P7(Z){if(I0.isFlowEnabled){if(u8.flowTryParseStatement.call(void 0))return}if(h0.match.call(void 0,M0.TokenType.at))YO();LZ0(Z)}a5.parseStatement=P7;function LZ0(Z){if(I0.isTypeScriptEnabled){if(u5.tsTryParseStatementContent.call(void 0))return}let Q=I0.state.type;switch(Q){case M0.TokenType._break:case M0.TokenType._continue:jZ0();return;case M0.TokenType._debugger:NZ0();return;case M0.TokenType._do:SZ0();return;case M0.TokenType._for:PZ0();return;case M0.TokenType._function:if(h0.lookaheadType.call(void 0)===M0.TokenType.dot)break;if(!Z)Y1.unexpected.call(void 0);vZ0();return;case M0.TokenType._class:if(!Z)Y1.unexpected.call(void 0);cD(!0);return;case M0.TokenType._if:bZ0();return;case M0.TokenType._return:kZ0();return;case M0.TokenType._switch:yZ0();return;case M0.TokenType._throw:hZ0();return;case M0.TokenType._try:uZ0();return;case M0.TokenType._let:case M0.TokenType._const:if(!Z)Y1.unexpected.call(void 0);case M0.TokenType._var:mD(Q!==M0.TokenType._var);return;case M0.TokenType._while:fZ0();return;case M0.TokenType.braceL:vQ();return;case M0.TokenType.semi:gZ0();return;case M0.TokenType._export:case M0.TokenType._import:{let q=h0.lookaheadType.call(void 0);if(q===M0.TokenType.parenL||q===M0.TokenType.dot)break;if(h0.next.call(void 0),Q===M0.TokenType._import)XP();else $P();return}case M0.TokenType.name:if(I0.state.contextualKeyword===j1.ContextualKeyword._async){let q=I0.state.start,K=I0.state.snapshot();if(h0.next.call(void 0),h0.match.call(void 0,M0.TokenType._function)&&!Y1.canInsertSemicolon.call(void 0)){Y1.expect.call(void 0,M0.TokenType._function),zJ(q,!0);return}else I0.state.restoreFromSnapshot(K)}else if(I0.state.contextualKeyword===j1.ContextualKeyword._using&&!Y1.hasFollowingLineBreak.call(void 0)&&h0.lookaheadType.call(void 0)===M0.TokenType.name){mD(!0);return}else if(VP()){Y1.expectContextual.call(void 0,j1.ContextualKeyword._await),mD(!0);return}default:break}let Y=I0.state.tokens.length;n1.parseExpression.call(void 0);let J=null;if(I0.state.tokens.length===Y+1){let q=I0.state.tokens[I0.state.tokens.length-1];if(q.type===M0.TokenType.name)J=q.contextualKeyword}if(J==null){Y1.semicolon.call(void 0);return}if(h0.eat.call(void 0,M0.TokenType.colon))mZ0();else cZ0(J)}function VP(){if(!Y1.isContextual.call(void 0,j1.ContextualKeyword._await))return!1;let Z=I0.state.snapshot();if(h0.next.call(void 0),!Y1.isContextual.call(void 0,j1.ContextualKeyword._using)||Y1.hasPrecedingLineBreak.call(void 0))return I0.state.restoreFromSnapshot(Z),!1;if(h0.next.call(void 0),!h0.match.call(void 0,M0.TokenType.name)||Y1.hasPrecedingLineBreak.call(void 0))return I0.state.restoreFromSnapshot(Z),!1;return I0.state.restoreFromSnapshot(Z),!0}function YO(){while(h0.match.call(void 0,M0.TokenType.at))DP()}a5.parseDecorators=YO;function DP(){if(h0.next.call(void 0),h0.eat.call(void 0,M0.TokenType.parenL))n1.parseExpression.call(void 0),Y1.expect.call(void 0,M0.TokenType.parenR);else{n1.parseIdentifier.call(void 0);while(h0.eat.call(void 0,M0.TokenType.dot))n1.parseIdentifier.call(void 0);MZ0()}}function MZ0(){if(I0.isTypeScriptEnabled)u5.tsParseMaybeDecoratorArguments.call(void 0);else zP()}function zP(){if(h0.eat.call(void 0,M0.TokenType.parenL))n1.parseCallExpressionArguments.call(void 0)}a5.baseParseMaybeDecoratorArguments=zP;function jZ0(){if(h0.next.call(void 0),!Y1.isLineTerminator.call(void 0))n1.parseIdentifier.call(void 0),Y1.semicolon.call(void 0)}function NZ0(){h0.next.call(void 0),Y1.semicolon.call(void 0)}function SZ0(){h0.next.call(void 0),P7(!1),Y1.expect.call(void 0,M0.TokenType._while),n1.parseParenExpression.call(void 0),h0.eat.call(void 0,M0.TokenType.semi)}function PZ0(){I0.state.scopeDepth++;let Z=I0.state.tokens.length;_Z0();let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}function TZ0(){if(!Y1.isContextual.call(void 0,j1.ContextualKeyword._using))return!1;if(Y1.isLookaheadContextual.call(void 0,j1.ContextualKeyword._of))return!1;return!0}function _Z0(){h0.next.call(void 0);let Z=!1;if(Y1.isContextual.call(void 0,j1.ContextualKeyword._await))Z=!0,h0.next.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.parenL),h0.match.call(void 0,M0.TokenType.semi)){if(Z)Y1.unexpected.call(void 0);ZO();return}let Q=VP();if(Q||h0.match.call(void 0,M0.TokenType._var)||h0.match.call(void 0,M0.TokenType._let)||h0.match.call(void 0,M0.TokenType._const)||TZ0()){if(Q)Y1.expectContextual.call(void 0,j1.ContextualKeyword._await);if(h0.next.call(void 0),HP(!0,I0.state.type!==M0.TokenType._var),h0.match.call(void 0,M0.TokenType._in)||Y1.isContextual.call(void 0,j1.ContextualKeyword._of)){qP(Z);return}ZO();return}if(n1.parseExpression.call(void 0,!0),h0.match.call(void 0,M0.TokenType._in)||Y1.isContextual.call(void 0,j1.ContextualKeyword._of)){qP(Z);return}if(Z)Y1.unexpected.call(void 0);ZO()}function vZ0(){let Z=I0.state.start;h0.next.call(void 0),zJ(Z,!0)}function bZ0(){if(h0.next.call(void 0),n1.parseParenExpression.call(void 0),P7(!1),h0.eat.call(void 0,M0.TokenType._else))P7(!1)}function kZ0(){if(h0.next.call(void 0),!Y1.isLineTerminator.call(void 0))n1.parseExpression.call(void 0),Y1.semicolon.call(void 0)}function yZ0(){h0.next.call(void 0),n1.parseParenExpression.call(void 0),I0.state.scopeDepth++;let Z=I0.state.tokens.length;Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.match.call(void 0,M0.TokenType.braceR)&&!I0.state.error)if(h0.match.call(void 0,M0.TokenType._case)||h0.match.call(void 0,M0.TokenType._default)){let Y=h0.match.call(void 0,M0.TokenType._case);if(h0.next.call(void 0),Y)n1.parseExpression.call(void 0);Y1.expect.call(void 0,M0.TokenType.colon)}else P7(!0);h0.next.call(void 0);let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}function hZ0(){h0.next.call(void 0),n1.parseExpression.call(void 0),Y1.semicolon.call(void 0)}function xZ0(){if(D2.parseBindingAtom.call(void 0,!0),I0.isTypeScriptEnabled)u5.tsTryParseTypeAnnotation.call(void 0)}function uZ0(){if(h0.next.call(void 0),vQ(),h0.match.call(void 0,M0.TokenType._catch)){h0.next.call(void 0);let Z=null;if(h0.match.call(void 0,M0.TokenType.parenL))I0.state.scopeDepth++,Z=I0.state.tokens.length,Y1.expect.call(void 0,M0.TokenType.parenL),xZ0(),Y1.expect.call(void 0,M0.TokenType.parenR);if(vQ(),Z!=null){let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}}if(h0.eat.call(void 0,M0.TokenType._finally))vQ()}function mD(Z){h0.next.call(void 0),HP(!1,Z),Y1.semicolon.call(void 0)}a5.parseVarStatement=mD;function fZ0(){h0.next.call(void 0),n1.parseParenExpression.call(void 0),P7(!1)}function gZ0(){h0.next.call(void 0)}function mZ0(){P7(!0)}function cZ0(Z){if(I0.isTypeScriptEnabled)u5.tsParseIdentifierStatement.call(void 0,Z);else if(I0.isFlowEnabled)u8.flowParseIdentifierStatement.call(void 0,Z);else Y1.semicolon.call(void 0)}function vQ(Z=!1,Q=0){let Y=I0.state.tokens.length;if(I0.state.scopeDepth++,Y1.expect.call(void 0,M0.TokenType.braceL),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;if(JO(M0.TokenType.braceR),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;let J=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Y,J,Z)),I0.state.scopeDepth--}a5.parseBlock=vQ;function JO(Z){while(!h0.eat.call(void 0,Z)&&!I0.state.error)P7(!0)}a5.parseBlockBody=JO;function ZO(){if(Y1.expect.call(void 0,M0.TokenType.semi),!h0.match.call(void 0,M0.TokenType.semi))n1.parseExpression.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.semi),!h0.match.call(void 0,M0.TokenType.parenR))n1.parseExpression.call(void 0);Y1.expect.call(void 0,M0.TokenType.parenR),P7(!1)}function qP(Z){if(Z)Y1.eatContextual.call(void 0,j1.ContextualKeyword._of);else h0.next.call(void 0);n1.parseExpression.call(void 0),Y1.expect.call(void 0,M0.TokenType.parenR),P7(!1)}function HP(Z,Q){while(!0){if(dZ0(Q),h0.eat.call(void 0,M0.TokenType.eq)){let Y=I0.state.tokens.length-1;n1.parseMaybeAssign.call(void 0,Z),I0.state.tokens[Y].rhsEndIndex=I0.state.tokens.length}if(!h0.eat.call(void 0,M0.TokenType.comma))break}}function dZ0(Z){if(D2.parseBindingAtom.call(void 0,Z),I0.isTypeScriptEnabled)u5.tsAfterParseVarHead.call(void 0);else if(I0.isFlowEnabled)u8.flowAfterParseVarHead.call(void 0)}function zJ(Z,Q,Y=!1){if(h0.match.call(void 0,M0.TokenType.star))h0.next.call(void 0);if(Q&&!Y&&!h0.match.call(void 0,M0.TokenType.name)&&!h0.match.call(void 0,M0.TokenType._yield))Y1.unexpected.call(void 0);let J=null;if(h0.match.call(void 0,M0.TokenType.name)){if(!Q)J=I0.state.tokens.length,I0.state.scopeDepth++;D2.parseBindingIdentifier.call(void 0,!1)}let q=I0.state.tokens.length;I0.state.scopeDepth++,GP(),n1.parseFunctionBodyAndFinish.call(void 0,Z);let K=I0.state.tokens.length;if(I0.state.scopes.push(new V2.Scope(q,K,!0)),I0.state.scopeDepth--,J!==null)I0.state.scopes.push(new V2.Scope(J,K,!0)),I0.state.scopeDepth--}a5.parseFunction=zJ;function GP(Z=!1,Q=0){if(I0.isTypeScriptEnabled)u5.tsStartParseFunctionParams.call(void 0);else if(I0.isFlowEnabled)u8.flowStartParseFunctionParams.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.parenL),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;if(D2.parseBindingList.call(void 0,M0.TokenType.parenR,!1,!1,Z,Q),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q}a5.parseFunctionParams=GP;function cD(Z,Q=!1){let Y=I0.getNextContextId.call(void 0);h0.next.call(void 0),I0.state.tokens[I0.state.tokens.length-1].contextId=Y,I0.state.tokens[I0.state.tokens.length-1].isExpression=!Z;let J=null;if(!Z)J=I0.state.tokens.length,I0.state.scopeDepth++;nZ0(Z,Q),sZ0();let q=I0.state.tokens.length;if(lZ0(Y),I0.state.error)return;if(I0.state.tokens[q].contextId=Y,I0.state.tokens[I0.state.tokens.length-1].contextId=Y,J!==null){let K=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(J,K,!1)),I0.state.scopeDepth--}}a5.parseClass=cD;function WP(){return h0.match.call(void 0,M0.TokenType.eq)||h0.match.call(void 0,M0.TokenType.semi)||h0.match.call(void 0,M0.TokenType.braceR)||h0.match.call(void 0,M0.TokenType.bang)||h0.match.call(void 0,M0.TokenType.colon)}function UP(){return h0.match.call(void 0,M0.TokenType.parenL)||h0.match.call(void 0,M0.TokenType.lessThan)}function lZ0(Z){Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(h0.eat.call(void 0,M0.TokenType.semi))continue;if(h0.match.call(void 0,M0.TokenType.at)){DP();continue}let Q=I0.state.start;pZ0(Q,Z)}}function pZ0(Z,Q){if(I0.isTypeScriptEnabled)u5.tsParseModifiers.call(void 0,[j1.ContextualKeyword._declare,j1.ContextualKeyword._public,j1.ContextualKeyword._protected,j1.ContextualKeyword._private,j1.ContextualKeyword._override]);let Y=!1;if(h0.match.call(void 0,M0.TokenType.name)&&I0.state.contextualKeyword===j1.ContextualKeyword._static){if(n1.parseIdentifier.call(void 0),UP()){VJ(Z,!1);return}else if(WP()){DJ();return}if(I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._static,Y=!0,h0.match.call(void 0,M0.TokenType.braceL)){I0.state.tokens[I0.state.tokens.length-1].contextId=Q,vQ();return}}iZ0(Z,Y,Q)}function iZ0(Z,Q,Y){if(I0.isTypeScriptEnabled){if(u5.tsTryParseClassMemberWithIsStatic.call(void 0,Q))return}if(h0.eat.call(void 0,M0.TokenType.star)){_Q(Y),VJ(Z,!1);return}_Q(Y);let J=!1,q=I0.state.tokens[I0.state.tokens.length-1];if(q.contextualKeyword===j1.ContextualKeyword._constructor)J=!0;if(QO(),UP())VJ(Z,J);else if(WP())DJ();else if(q.contextualKeyword===j1.ContextualKeyword._async&&!Y1.isLineTerminator.call(void 0)){if(I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._async,h0.match.call(void 0,M0.TokenType.star))h0.next.call(void 0);_Q(Y),QO(),VJ(Z,!1)}else if((q.contextualKeyword===j1.ContextualKeyword._get||q.contextualKeyword===j1.ContextualKeyword._set)&&!(Y1.isLineTerminator.call(void 0)&&h0.match.call(void 0,M0.TokenType.star))){if(q.contextualKeyword===j1.ContextualKeyword._get)I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._get;else I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._set;_Q(Y),VJ(Z,!1)}else if(q.contextualKeyword===j1.ContextualKeyword._accessor&&!Y1.isLineTerminator.call(void 0))_Q(Y),DJ();else if(Y1.isLineTerminator.call(void 0))DJ();else Y1.unexpected.call(void 0)}function VJ(Z,Q){if(I0.isTypeScriptEnabled)u5.tsTryParseTypeParameters.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.lessThan))u8.flowParseTypeParameterDeclaration.call(void 0)}n1.parseMethod.call(void 0,Z,Q)}function _Q(Z){n1.parsePropertyName.call(void 0,Z)}a5.parseClassPropertyName=_Q;function QO(){if(I0.isTypeScriptEnabled){let Z=h0.pushTypeContext.call(void 0,0);h0.eat.call(void 0,M0.TokenType.question),h0.popTypeContext.call(void 0,Z)}}a5.parsePostMemberNameModifiers=QO;function DJ(){if(I0.isTypeScriptEnabled)h0.eatTypeToken.call(void 0,M0.TokenType.bang),u5.tsTryParseTypeAnnotation.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.colon))u8.flowParseTypeAnnotation.call(void 0)}if(h0.match.call(void 0,M0.TokenType.eq)){let Z=I0.state.tokens.length;h0.next.call(void 0),n1.parseMaybeAssign.call(void 0),I0.state.tokens[Z].rhsEndIndex=I0.state.tokens.length}Y1.semicolon.call(void 0)}a5.parseClassProperty=DJ;function nZ0(Z,Q=!1){if(I0.isTypeScriptEnabled&&(!Z||Q)&&Y1.isContextual.call(void 0,j1.ContextualKeyword._implements))return;if(h0.match.call(void 0,M0.TokenType.name))D2.parseBindingIdentifier.call(void 0,!0);if(I0.isTypeScriptEnabled)u5.tsTryParseTypeParameters.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.lessThan))u8.flowParseTypeParameterDeclaration.call(void 0)}}function sZ0(){let Z=!1;if(h0.eat.call(void 0,M0.TokenType._extends))n1.parseExprSubscripts.call(void 0),Z=!0;else Z=!1;if(I0.isTypeScriptEnabled)u5.tsAfterParseClassSuper.call(void 0,Z);else if(I0.isFlowEnabled)u8.flowAfterParseClassSuper.call(void 0,Z)}function $P(){let Z=I0.state.tokens.length-1;if(I0.isTypeScriptEnabled){if(u5.tsTryParseExport.call(void 0))return}if(tZ0())eZ0();else if(oZ0()){if(n1.parseIdentifier.call(void 0),h0.match.call(void 0,M0.TokenType.comma)&&h0.lookaheadType.call(void 0)===M0.TokenType.star)Y1.expect.call(void 0,M0.TokenType.comma),Y1.expect.call(void 0,M0.TokenType.star),Y1.expectContextual.call(void 0,j1.ContextualKeyword._as),n1.parseIdentifier.call(void 0);else BP();HJ()}else if(h0.eat.call(void 0,M0.TokenType._default))aZ0();else if(QQ0())rZ0();else qO(),HJ();I0.state.tokens[Z].rhsEndIndex=I0.state.tokens.length}a5.parseExport=$P;function aZ0(){if(I0.isTypeScriptEnabled){if(u5.tsTryParseExportDefaultExpression.call(void 0))return}if(I0.isFlowEnabled){if(u8.flowTryParseExportDefaultExpression.call(void 0))return}let Z=I0.state.start;if(h0.eat.call(void 0,M0.TokenType._function))zJ(Z,!0,!0);else if(Y1.isContextual.call(void 0,j1.ContextualKeyword._async)&&h0.lookaheadType.call(void 0)===M0.TokenType._function)Y1.eatContextual.call(void 0,j1.ContextualKeyword._async),h0.eat.call(void 0,M0.TokenType._function),zJ(Z,!0,!0);else if(h0.match.call(void 0,M0.TokenType._class))cD(!0,!0);else if(h0.match.call(void 0,M0.TokenType.at))YO(),cD(!0,!0);else n1.parseMaybeAssign.call(void 0),Y1.semicolon.call(void 0)}function rZ0(){if(I0.isTypeScriptEnabled)u5.tsParseExportDeclaration.call(void 0);else if(I0.isFlowEnabled)u8.flowParseExportDeclaration.call(void 0);else P7(!0)}function oZ0(){if(I0.isTypeScriptEnabled&&u5.tsIsDeclarationStart.call(void 0))return!1;else if(I0.isFlowEnabled&&u8.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(h0.match.call(void 0,M0.TokenType.name))return I0.state.contextualKeyword!==j1.ContextualKeyword._async;if(!h0.match.call(void 0,M0.TokenType._default))return!1;let Z=h0.nextTokenStart.call(void 0),Q=h0.lookaheadTypeAndKeyword.call(void 0),Y=Q.type===M0.TokenType.name&&Q.contextualKeyword===j1.ContextualKeyword._from;if(Q.type===M0.TokenType.comma)return!0;if(Y){let J=I0.input.charCodeAt(h0.nextTokenStartSince.call(void 0,Z+4));return J===JP.charCodes.quotationMark||J===JP.charCodes.apostrophe}return!1}function BP(){if(h0.eat.call(void 0,M0.TokenType.comma))qO()}function HJ(){if(Y1.eatContextual.call(void 0,j1.ContextualKeyword._from))n1.parseExprAtom.call(void 0),FP();Y1.semicolon.call(void 0)}a5.parseExportFrom=HJ;function tZ0(){if(I0.isFlowEnabled)return u8.flowShouldParseExportStar.call(void 0);else return h0.match.call(void 0,M0.TokenType.star)}function eZ0(){if(I0.isFlowEnabled)u8.flowParseExportStar.call(void 0);else OP()}function OP(){if(Y1.expect.call(void 0,M0.TokenType.star),Y1.isContextual.call(void 0,j1.ContextualKeyword._as))ZQ0();else HJ()}a5.baseParseExportStar=OP;function ZQ0(){h0.next.call(void 0),I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._as,n1.parseIdentifier.call(void 0),BP(),HJ()}function QQ0(){return I0.isTypeScriptEnabled&&u5.tsIsDeclarationStart.call(void 0)||I0.isFlowEnabled&&u8.flowShouldParseExportDeclaration.call(void 0)||I0.state.type===M0.TokenType._var||I0.state.type===M0.TokenType._const||I0.state.type===M0.TokenType._let||I0.state.type===M0.TokenType._function||I0.state.type===M0.TokenType._class||Y1.isContextual.call(void 0,j1.ContextualKeyword._async)||h0.match.call(void 0,M0.TokenType.at)}function qO(){let Z=!0;Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(Z)Z=!1;else if(Y1.expect.call(void 0,M0.TokenType.comma),h0.eat.call(void 0,M0.TokenType.braceR))break;YQ0()}}a5.parseExportSpecifiers=qO;function YQ0(){if(I0.isTypeScriptEnabled){u5.tsParseExportSpecifier.call(void 0);return}if(n1.parseIdentifier.call(void 0),I0.state.tokens[I0.state.tokens.length-1].identifierRole=h0.IdentifierRole.ExportAccess,Y1.eatContextual.call(void 0,j1.ContextualKeyword._as))n1.parseIdentifier.call(void 0)}function JQ0(){let Z=I0.state.snapshot();if(Y1.expectContextual.call(void 0,j1.ContextualKeyword._module),Y1.eatContextual.call(void 0,j1.ContextualKeyword._from))if(Y1.isContextual.call(void 0,j1.ContextualKeyword._from))return I0.state.restoreFromSnapshot(Z),!0;else return I0.state.restoreFromSnapshot(Z),!1;else if(h0.match.call(void 0,M0.TokenType.comma))return I0.state.restoreFromSnapshot(Z),!1;else return I0.state.restoreFromSnapshot(Z),!0}function qQ0(){if(Y1.isContextual.call(void 0,j1.ContextualKeyword._module)&&JQ0())h0.next.call(void 0)}function XP(){if(I0.isTypeScriptEnabled&&h0.match.call(void 0,M0.TokenType.name)&&h0.lookaheadType.call(void 0)===M0.TokenType.eq){u5.tsParseImportEqualsDeclaration.call(void 0);return}if(I0.isTypeScriptEnabled&&Y1.isContextual.call(void 0,j1.ContextualKeyword._type)){let Z=h0.lookaheadTypeAndKeyword.call(void 0);if(Z.type===M0.TokenType.name&&Z.contextualKeyword!==j1.ContextualKeyword._from){if(Y1.expectContextual.call(void 0,j1.ContextualKeyword._type),h0.lookaheadType.call(void 0)===M0.TokenType.eq){u5.tsParseImportEqualsDeclaration.call(void 0);return}}else if(Z.type===M0.TokenType.star||Z.type===M0.TokenType.braceL)Y1.expectContextual.call(void 0,j1.ContextualKeyword._type)}if(h0.match.call(void 0,M0.TokenType.string))n1.parseExprAtom.call(void 0);else qQ0(),VQ0(),Y1.expectContextual.call(void 0,j1.ContextualKeyword._from),n1.parseExprAtom.call(void 0);FP(),Y1.semicolon.call(void 0)}a5.parseImport=XP;function KQ0(){return h0.match.call(void 0,M0.TokenType.name)}function KP(){D2.parseImportedIdentifier.call(void 0)}function VQ0(){if(I0.isFlowEnabled)u8.flowStartParseImportSpecifiers.call(void 0);let Z=!0;if(KQ0()){if(KP(),!h0.eat.call(void 0,M0.TokenType.comma))return}if(h0.match.call(void 0,M0.TokenType.star)){h0.next.call(void 0),Y1.expectContextual.call(void 0,j1.ContextualKeyword._as),KP();return}Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(Z)Z=!1;else{if(h0.eat.call(void 0,M0.TokenType.colon))Y1.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import.");if(Y1.expect.call(void 0,M0.TokenType.comma),h0.eat.call(void 0,M0.TokenType.braceR))break}DQ0()}}function DQ0(){if(I0.isTypeScriptEnabled){u5.tsParseImportSpecifier.call(void 0);return}if(I0.isFlowEnabled){u8.flowParseImportSpecifier.call(void 0);return}if(D2.parseImportedIdentifier.call(void 0),Y1.isContextual.call(void 0,j1.ContextualKeyword._as))I0.state.tokens[I0.state.tokens.length-1].identifierRole=h0.IdentifierRole.ImportAccess,h0.next.call(void 0),D2.parseImportedIdentifier.call(void 0)}function FP(){if(h0.match.call(void 0,M0.TokenType._with)||Y1.isContextual.call(void 0,j1.ContextualKeyword._assert)&&!Y1.hasPrecedingLineBreak.call(void 0))h0.next.call(void 0),n1.parseObj.call(void 0,!1,!1)}});var EP=k((DO)=>{Object.defineProperty(DO,"__esModule",{value:!0});var AP=Z8(),wP=M9(),VO=j9(),zQ0=YJ();function HQ0(){if(VO.state.pos===0&&VO.input.charCodeAt(0)===wP.charCodes.numberSign&&VO.input.charCodeAt(1)===wP.charCodes.exclamationMark)AP.skipLineComment.call(void 0,2);return AP.nextToken.call(void 0),zQ0.parseTopLevel.call(void 0)}DO.parseFile=HQ0});var KO=k((lD)=>{Object.defineProperty(lD,"__esModule",{value:!0});var dD=j9(),GQ0=EP();class IP{constructor(Z,Q){this.tokens=Z,this.scopes=Q}}lD.File=IP;function WQ0(Z,Q,Y,J){if(J&&Y)throw Error("Cannot combine flow and typescript plugins.");dD.initParser.call(void 0,Z,Q,Y,J);let q=GQ0.parseFile.call(void 0);if(dD.state.error)throw dD.augmentError.call(void 0,dD.state.error);return q}lD.parse=WQ0});var CP=k((zO)=>{Object.defineProperty(zO,"__esModule",{value:!0});var UQ0=U8();function $Q0(Z){let Q=Z.currentIndex(),Y=0,J=Z.currentToken();do{let q=Z.tokens[Q];if(q.isOptionalChainStart)Y++;if(q.isOptionalChainEnd)Y--;if(Y+=q.numNullishCoalesceStarts,Y-=q.numNullishCoalesceEnds,q.contextualKeyword===UQ0.ContextualKeyword._await&&q.identifierRole==null&&q.scopeDepth===J.scopeDepth)return!0;Q+=1}while(Y>0&&Q<Z.tokens.length);return!1}zO.default=$Q0});var RP=k((HO)=>{Object.defineProperty(HO,"__esModule",{value:!0});function BQ0(Z){return Z&&Z.__esModule?Z:{default:Z}}var pD=k1(),OQ0=CP(),XQ0=BQ0(OQ0);class GJ{__init(){this.resultCode=""}__init2(){this.resultMappings=Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(Z,Q,Y,J,q){this.code=Z,this.tokens=Q,this.isFlowEnabled=Y,this.disableESTransforms=J,this.helperManager=q,GJ.prototype.__init.call(this),GJ.prototype.__init2.call(this),GJ.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(Z){this.resultCode=Z.resultCode,this.tokenIndex=Z.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(Z){let Q=this.resultCode.slice(Z.resultCode.length);return this.resultCode=Z.resultCode,Q}reset(){this.resultCode="",this.resultMappings=Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(Z,Q){return this.matches1AtIndex(Z,pD.TokenType.name)&&this.tokens[Z].contextualKeyword===Q}identifierNameAtIndex(Z){return this.identifierNameForToken(this.tokens[Z])}identifierNameAtRelativeIndex(Z){return this.identifierNameForToken(this.tokenAtRelativeIndex(Z))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(Z){return this.code.slice(Z.start,Z.end)}rawCodeForToken(Z){return this.code.slice(Z.start,Z.end)}stringValueAtIndex(Z){return this.stringValueForToken(this.tokens[Z])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(Z){return this.code.slice(Z.start+1,Z.end-1)}matches1AtIndex(Z,Q){return this.tokens[Z].type===Q}matches2AtIndex(Z,Q,Y){return this.tokens[Z].type===Q&&this.tokens[Z+1].type===Y}matches3AtIndex(Z,Q,Y,J){return this.tokens[Z].type===Q&&this.tokens[Z+1].type===Y&&this.tokens[Z+2].type===J}matches1(Z){return this.tokens[this.tokenIndex].type===Z}matches2(Z,Q){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q}matches3(Z,Q,Y){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y}matches4(Z,Q,Y,J){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y&&this.tokens[this.tokenIndex+3].type===J}matches5(Z,Q,Y,J,q){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y&&this.tokens[this.tokenIndex+3].type===J&&this.tokens[this.tokenIndex+4].type===q}matchesContextual(Z){return this.matchesContextualAtIndex(this.tokenIndex,Z)}matchesContextIdAndLabel(Z,Q){return this.matches1(Z)&&this.currentToken().contextId===Q}previousWhitespaceAndComments(){let Z=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);if(this.isFlowEnabled)Z=Z.replace(/@flow/g,"");return Z}replaceToken(Z){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=Z,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(Z){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=Z,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let Z=0;while(!this.isAtEnd()){if(this.matches1(pD.TokenType.braceL))Z++;else if(this.matches1(pD.TokenType.braceR)){if(Z===0)return;Z--}this.removeToken()}}copyExpectedToken(Z){if(this.tokens[this.tokenIndex].type!==Z)throw Error(`Expected token ${Z}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(Z){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=Z,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let Z=this.currentToken();if(Z.numNullishCoalesceStarts||Z.isOptionalChainStart)Z.isAsyncOperation=XQ0.default.call(void 0,this);if(this.disableESTransforms)return;if(Z.numNullishCoalesceStarts)for(let Q=0;Q<Z.numNullishCoalesceStarts;Q++){if(Z.isAsyncOperation)this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce");else this.resultCode+=this.helperManager.getHelperName("nullishCoalesce");this.resultCode+="("}if(Z.isOptionalChainStart){if(Z.isAsyncOperation)this.resultCode+="await ";if(this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===pD.TokenType._delete)if(Z.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete");else this.resultCode+=this.helperManager.getHelperName("optionalChainDelete");else if(Z.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain");else this.resultCode+=this.helperManager.getHelperName("optionalChain");this.resultCode+="(["}}appendTokenSuffix(){let Z=this.currentToken();if(Z.isOptionalChainEnd&&!this.disableESTransforms)this.resultCode+="])";if(Z.numNullishCoalesceEnds&&!this.disableESTransforms)for(let Q=0;Q<Z.numNullishCoalesceEnds;Q++)this.resultCode+="))"}appendCode(Z){this.resultCode+=Z}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let Z=this.currentToken();return this.code.slice(Z.start,Z.end)}tokenAtRelativeIndex(Z){return this.tokens[this.tokenIndex+Z]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}HO.default=GJ});var jP=k((WO)=>{Object.defineProperty(WO,"__esModule",{value:!0});var LP=U8(),d1=k1();function FQ0(Z,Q,Y,J){let q=Q.snapshot(),K=AQ0(Q),V=[],D=[],z=[],H=null,G=[],W=[],$=Q.currentToken().contextId;if($==null)throw Error("Expected non-null class context ID on class open-brace.");Q.nextToken();while(!Q.matchesContextIdAndLabel(d1.TokenType.braceR,$))if(Q.matchesContextual(LP.ContextualKeyword._constructor)&&!Q.currentToken().isType)({constructorInitializerStatements:V,constructorInsertPos:H}=MP(Q));else if(Q.matches1(d1.TokenType.semi)){if(!J)W.push({start:Q.currentIndex(),end:Q.currentIndex()+1});Q.nextToken()}else if(Q.currentToken().isType)Q.nextToken();else{let B=Q.currentIndex(),O=!1,A=!1,w=!1;while(iD(Q.currentToken())){if(Q.matches1(d1.TokenType._static))O=!0;if(Q.matches1(d1.TokenType.hash))A=!0;if(Q.matches1(d1.TokenType._declare)||Q.matches1(d1.TokenType._abstract))w=!0;Q.nextToken()}if(O&&Q.matches1(d1.TokenType.braceL)){GO(Q,$);continue}if(A){GO(Q,$);continue}if(Q.matchesContextual(LP.ContextualKeyword._constructor)&&!Q.currentToken().isType){({constructorInitializerStatements:V,constructorInsertPos:H}=MP(Q));continue}let E=Q.currentIndex();if(wQ0(Q),Q.matches1(d1.TokenType.lessThan)||Q.matches1(d1.TokenType.parenL)){GO(Q,$);continue}while(Q.currentToken().isType)Q.nextToken();if(Q.matches1(d1.TokenType.eq)){let S=Q.currentIndex(),X=Q.currentToken().rhsEndIndex;if(X==null)throw Error("Expected rhsEndIndex on class field assignment.");Q.nextToken();while(Q.currentIndex()<X)Z.processToken();let F;if(O)F=Y.claimFreeName("__initStatic"),z.push(F);else F=Y.claimFreeName("__init"),D.push(F);G.push({initializerName:F,equalsIndex:S,start:E,end:Q.currentIndex()})}else if(!J||w)W.push({start:B,end:Q.currentIndex()})}if(Q.restoreToSnapshot(q),J)return{headerInfo:K,constructorInitializerStatements:V,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:H,fields:[],rangesToRemove:W};else return{headerInfo:K,constructorInitializerStatements:V,instanceInitializerNames:D,staticInitializerNames:z,constructorInsertPos:H,fields:G,rangesToRemove:W}}WO.default=FQ0;function GO(Z,Q){Z.nextToken();while(Z.currentToken().contextId!==Q)Z.nextToken();while(iD(Z.tokenAtRelativeIndex(-1)))Z.previousToken()}function AQ0(Z){let Q=Z.currentToken(),Y=Q.contextId;if(Y==null)throw Error("Expected context ID on class token.");let J=Q.isExpression;if(J==null)throw Error("Expected isExpression on class token.");let q=null,K=!1;if(Z.nextToken(),Z.matches1(d1.TokenType.name))q=Z.identifierName();while(!Z.matchesContextIdAndLabel(d1.TokenType.braceL,Y)){if(Z.matches1(d1.TokenType._extends)&&!Z.currentToken().isType)K=!0;Z.nextToken()}return{isExpression:J,className:q,hasSuperclass:K}}function MP(Z){let Q=[];Z.nextToken();let Y=Z.currentToken().contextId;if(Y==null)throw Error("Expected context ID on open-paren starting constructor params.");while(!Z.matchesContextIdAndLabel(d1.TokenType.parenR,Y))if(Z.currentToken().contextId===Y){if(Z.nextToken(),iD(Z.currentToken())){Z.nextToken();while(iD(Z.currentToken()))Z.nextToken();let K=Z.currentToken();if(K.type!==d1.TokenType.name)throw Error("Expected identifier after access modifiers in constructor arg.");let V=Z.identifierNameForToken(K);Q.push(`this.${V} = ${V}`)}}else Z.nextToken();Z.nextToken();while(Z.currentToken().isType)Z.nextToken();let J=Z.currentIndex(),q=!1;while(!Z.matchesContextIdAndLabel(d1.TokenType.braceR,Y)){if(!q&&Z.matches2(d1.TokenType._super,d1.TokenType.parenL)){Z.nextToken();let K=Z.currentToken().contextId;if(K==null)throw Error("Expected a context ID on the super call");while(!Z.matchesContextIdAndLabel(d1.TokenType.parenR,K))Z.nextToken();J=Z.currentIndex(),q=!0}Z.nextToken()}return Z.nextToken(),{constructorInitializerStatements:Q,constructorInsertPos:J}}function iD(Z){return[d1.TokenType._async,d1.TokenType._get,d1.TokenType._set,d1.TokenType.plus,d1.TokenType.minus,d1.TokenType._readonly,d1.TokenType._static,d1.TokenType._public,d1.TokenType._private,d1.TokenType._protected,d1.TokenType._override,d1.TokenType._abstract,d1.TokenType.star,d1.TokenType._declare,d1.TokenType.hash].includes(Z.type)}function wQ0(Z){if(Z.matches1(d1.TokenType.bracketL)){let Y=Z.currentToken().contextId;if(Y==null)throw Error("Expected class context ID on computed name open bracket.");while(!Z.matchesContextIdAndLabel(d1.TokenType.bracketR,Y))Z.nextToken();Z.nextToken()}else Z.nextToken()}});var $O=k((UO)=>{Object.defineProperty(UO,"__esModule",{value:!0});var NP=k1();function EQ0(Z){if(Z.removeInitialToken(),Z.removeToken(),Z.removeToken(),Z.removeToken(),Z.matches1(NP.TokenType.parenL))Z.removeToken(),Z.removeToken(),Z.removeToken();else while(Z.matches1(NP.TokenType.dot))Z.removeToken(),Z.removeToken()}UO.default=EQ0});var BO=k((nD)=>{Object.defineProperty(nD,"__esModule",{value:!0});var IQ0=Z8(),CQ0=k1(),RQ0={typeDeclarations:new Set,valueDeclarations:new Set};nD.EMPTY_DECLARATION_INFO=RQ0;function LQ0(Z){let Q=new Set,Y=new Set;for(let J=0;J<Z.tokens.length;J++){let q=Z.tokens[J];if(q.type===CQ0.TokenType.name&&IQ0.isTopLevelDeclaration.call(void 0,q))if(q.isType)Q.add(Z.identifierNameForToken(q));else Y.add(Z.identifierNameForToken(q))}return{typeDeclarations:Q,valueDeclarations:Y}}nD.default=LQ0});var XO=k((OO)=>{Object.defineProperty(OO,"__esModule",{value:!0});var MQ0=U8(),SP=k1();function jQ0(Z){let Q=Z.currentIndex();while(!Z.matches1AtIndex(Q,SP.TokenType.braceR))Q++;return Z.matchesContextualAtIndex(Q+1,MQ0.ContextualKeyword._from)&&Z.matches1AtIndex(Q+2,SP.TokenType.string)}OO.default=jQ0});var AO=k((FO)=>{Object.defineProperty(FO,"__esModule",{value:!0});var NQ0=U8(),sD=k1();function SQ0(Z){if(Z.matches2(sD.TokenType._with,sD.TokenType.braceL)||Z.matches2(sD.TokenType.name,sD.TokenType.braceL)&&Z.matchesContextual(NQ0.ContextualKeyword._assert))Z.removeToken(),Z.removeToken(),Z.removeBalancedCode(),Z.removeToken()}FO.removeMaybeImportAttributes=SQ0});var EO=k((wO)=>{Object.defineProperty(wO,"__esModule",{value:!0});var PP=k1();function PQ0(Z,Q,Y,J){if(!Z||Q)return!1;let q=Y.currentToken();if(q.rhsEndIndex==null)throw Error("Expected non-null rhsEndIndex on export token.");let K=q.rhsEndIndex-Y.currentIndex();if(K!==3&&!(K===4&&Y.matches1AtIndex(q.rhsEndIndex-1,PP.TokenType.semi)))return!1;let V=Y.tokenAtRelativeIndex(2);if(V.type!==PP.TokenType.name)return!1;let D=Y.identifierNameForToken(V);return J.typeDeclarations.has(D)&&!J.valueDeclarations.has(D)}wO.default=PQ0});var _P=k((IO)=>{Object.defineProperty(IO,"__esModule",{value:!0});function bQ(Z){return Z&&Z.__esModule?Z:{default:Z}}var aD=Z8(),UZ=U8(),R0=k1(),TQ0=$O(),_Q0=bQ(TQ0),TP=BO(),vQ0=bQ(TP),bQ0=p3(),kQ0=bQ(bQ0),yQ0=XO(),hQ0=bQ(yQ0),rD=AO(),xQ0=EO(),uQ0=bQ(xQ0),fQ0=s9(),gQ0=bQ(fQ0);class WJ extends gQ0.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(Z,Q,Y,J,q,K,V,D,z,H,G,W){super();this.rootTransformer=Z,this.tokens=Q,this.importProcessor=Y,this.nameManager=J,this.helperManager=q,this.reactHotLoaderTransformer=K,this.enableLegacyBabel5ModuleInterop=V,this.enableLegacyTypeScriptModuleInterop=D,this.isTypeScriptTransformEnabled=z,this.isFlowTransformEnabled=H,this.preserveDynamicImport=G,this.keepUnusedImports=W,WJ.prototype.__init.call(this),WJ.prototype.__init2.call(this),WJ.prototype.__init3.call(this),this.declarationInfo=z?vQ0.default.call(void 0,Q):TP.EMPTY_DECLARATION_INFO}getPrefixCode(){let Z="";if(this.hadExport)Z+='Object.defineProperty(exports, "__esModule", {value: true});';return Z}getSuffixCode(){if(this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport)return`
150
+ `};class wD{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(Z){this.nameManager=Z,wD.prototype.__init.call(this),wD.prototype.__init2.call(this)}getHelperName(Z){let Q=this.helperNames[Z];if(Q)return Q;return Q=this.nameManager.claimFreeName(`_${Z}`),this.helperNames[Z]=Q,Q}emitHelpers(){let Z="";if(this.helperNames.optionalChainDelete)this.getHelperName("optionalChain");if(this.helperNames.asyncOptionalChainDelete)this.getHelperName("asyncOptionalChain");for(let[Q,Y]of Object.entries(a70)){let J=this.helperNames[Q],q=Y;if(Q==="optionalChainDelete")q=q.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain);else if(Q==="asyncOptionalChainDelete")q=q.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain);else if(Q==="require"){if(this.createRequireName===null)this.createRequireName=this.nameManager.claimFreeName("_createRequire");q=q.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)}if(J)Z+=" ",Z+=q.replace(Q,J).replace(/\s+/g," ").trim()}return Z}}VB.HelperManager=wD});var mN=k((ID)=>{Object.defineProperty(ID,"__esModule",{value:!0});var DB=Z8(),ED=k1();function r70(Z,Q,Y){if(!gN(Z,Y))return;o70(Z,Q,Y)}ID.default=r70;function gN(Z,Q){for(let Y of Z.tokens)if(Y.type===ED.TokenType.name&&!Y.isType&&DB.isNonTopLevelDeclaration.call(void 0,Y)&&Q.has(Z.identifierNameForToken(Y)))return!0;return!1}ID.hasShadowedGlobals=gN;function o70(Z,Q,Y){let J=[],q=Q.length-1;for(let K=Z.tokens.length-1;;K--){while(J.length>0&&J[J.length-1].startTokenIndex===K+1)J.pop();while(q>=0&&Q[q].endTokenIndex===K+1)J.push(Q[q]),q--;if(K<0)break;let V=Z.tokens[K],D=Z.identifierNameForToken(V);if(J.length>1&&!V.isType&&V.type===ED.TokenType.name&&Y.has(D)){if(DB.isBlockScopedDeclaration.call(void 0,V))fN(J[J.length-1],Z,D);else if(DB.isFunctionScopedDeclaration.call(void 0,V)){let z=J.length-1;while(z>0&&!J[z].isFunctionScope)z--;if(z<0)throw Error("Did not find parent function scope.");fN(J[z],Z,D)}}}if(J.length>0)throw Error("Expected empty scope stack after processing file.")}function fN(Z,Q,Y){for(let J=Z.startTokenIndex;J<Z.endTokenIndex;J++){let q=Q.tokens[J];if((q.type===ED.TokenType.name||q.type===ED.TokenType.jsxName)&&Q.identifierNameForToken(q)===Y)q.shadowsGlobal=!0}}});var cN=k((zB)=>{Object.defineProperty(zB,"__esModule",{value:!0});var t70=k1();function e70(Z,Q){let Y=[];for(let J of Q)if(J.type===t70.TokenType.name)Y.push(Z.slice(J.start,J.end));return Y}zB.default=e70});var dN=k((GB)=>{Object.defineProperty(GB,"__esModule",{value:!0});function Z60(Z){return Z&&Z.__esModule?Z:{default:Z}}var Q60=cN(),Y60=Z60(Q60);class HB{__init(){this.usedNames=new Set}constructor(Z,Q){HB.prototype.__init.call(this),this.usedNames=new Set(Y60.default.call(void 0,Z,Q))}claimFreeName(Z){let Q=this.findFreeName(Z);return this.usedNames.add(Q),Q}findFreeName(Z){if(!this.usedNames.has(Z))return Z;let Q=2;while(this.usedNames.has(Z+String(Q)))Q++;return Z+String(Q)}}GB.default=HB});var CD=k((J6)=>{var J60=J6&&J6.__extends||function(){var Z=function(Q,Y){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,q){J.__proto__=q}||function(J,q){for(var K in q)if(q.hasOwnProperty(K))J[K]=q[K]},Z(Q,Y)};return function(Q,Y){Z(Q,Y);function J(){this.constructor=Q}Q.prototype=Y===null?Object.create(Y):(J.prototype=Y.prototype,new J)}}();Object.defineProperty(J6,"__esModule",{value:!0});J6.DetailContext=J6.NoopContext=J6.VError=void 0;var lN=function(Z){J60(Q,Z);function Q(Y,J){var q=Z.call(this,J)||this;return q.path=Y,Object.setPrototypeOf(q,Q.prototype),q}return Q}(Error);J6.VError=lN;var q60=function(){function Z(){}return Z.prototype.fail=function(Q,Y,J){return!1},Z.prototype.unionResolver=function(){return this},Z.prototype.createContext=function(){return this},Z.prototype.resolveUnion=function(Q){},Z}();J6.NoopContext=q60;var pN=function(){function Z(){this._propNames=[""],this._messages=[null],this._score=0}return Z.prototype.fail=function(Q,Y,J){return this._propNames.push(Q),this._messages.push(Y),this._score+=J,!1},Z.prototype.unionResolver=function(){return new K60},Z.prototype.resolveUnion=function(Q){var Y,J,q=Q,K=null;for(var V=0,D=q.contexts;V<D.length;V++){var z=D[V];if(!K||z._score>=K._score)K=z}if(K&&K._score>0)(Y=this._propNames).push.apply(Y,K._propNames),(J=this._messages).push.apply(J,K._messages)},Z.prototype.getError=function(Q){var Y=[];for(var J=this._propNames.length-1;J>=0;J--){var q=this._propNames[J];Q+=typeof q==="number"?"["+q+"]":q?"."+q:"";var K=this._messages[J];if(K)Y.push(Q+" "+K)}return new lN(Q,Y.join("; "))},Z.prototype.getErrorDetail=function(Q){var Y=[];for(var J=this._propNames.length-1;J>=0;J--){var q=this._propNames[J];Q+=typeof q==="number"?"["+q+"]":q?"."+q:"";var K=this._messages[J];if(K)Y.push({path:Q,message:K})}var V=null;for(var J=Y.length-1;J>=0;J--){if(V)Y[J].nested=[V];V=Y[J]}return V},Z}();J6.DetailContext=pN;var K60=function(){function Z(){this.contexts=[]}return Z.prototype.createContext=function(){var Q=new pN;return this.contexts.push(Q),Q},Z}()});var AB=k((W1)=>{var P9=W1&&W1.__extends||function(){var Z=function(Q,Y){return Z=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(J,q){J.__proto__=q}||function(J,q){for(var K in q)if(q.hasOwnProperty(K))J[K]=q[K]},Z(Q,Y)};return function(Q,Y){Z(Q,Y);function J(){this.constructor=Q}Q.prototype=Y===null?Object.create(Y):(J.prototype=Y.prototype,new J)}}();Object.defineProperty(W1,"__esModule",{value:!0});W1.basicTypes=W1.BasicType=W1.TParamList=W1.TParam=W1.param=W1.TFunc=W1.func=W1.TProp=W1.TOptional=W1.opt=W1.TIface=W1.iface=W1.TEnumLiteral=W1.enumlit=W1.TEnumType=W1.enumtype=W1.TIntersection=W1.intersection=W1.TUnion=W1.union=W1.TTuple=W1.tuple=W1.TArray=W1.array=W1.TLiteral=W1.lit=W1.TName=W1.name=W1.TType=void 0;var nN=CD(),D9=function(){function Z(){}return Z}();W1.TType=D9;function Z2(Z){return typeof Z==="string"?sN(Z):Z}function $B(Z,Q){var Y=Z[Q];if(!Y)throw Error("Unknown type "+Q);return Y}function sN(Z){return new BB(Z)}W1.name=sN;var BB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.name=Y,J._failMsg="is not a "+Y,J}return Q.prototype.getChecker=function(Y,J,q){var K=this,V=$B(Y,this.name),D=V.getChecker(Y,J,q);if(V instanceof h8||V instanceof Q)return D;return function(z,H){return D(z,H)?!0:H.fail(null,K._failMsg,0)}},Q}(D9);W1.TName=BB;function V60(Z){return new OB(Z)}W1.lit=V60;var OB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.value=Y,J.name=JSON.stringify(Y),J._failMsg="is not "+J.name,J}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return K===q.value?!0:V.fail(null,q._failMsg,-1)}},Q}(D9);W1.TLiteral=OB;function D60(Z){return new aN(Z2(Z))}W1.array=D60;var aN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttype=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttype.getChecker(Y,J);return function(K,V){if(!Array.isArray(K))return V.fail(null,"is not an array",0);for(var D=0;D<K.length;D++){var z=q(K[D],V);if(!z)return V.fail(D,null,1)}return!0}},Q}(D9);W1.TArray=aN;function z60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new rN(Z.map(function(Y){return Z2(Y)}))}W1.tuple=z60;var rN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttypes=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttypes.map(function(V){return V.getChecker(Y,J)}),K=function(V,D){if(!Array.isArray(V))return D.fail(null,"is not an array",0);for(var z=0;z<q.length;z++){var H=q[z](V[z],D);if(!H)return D.fail(z,null,1)}return!0};if(!J)return K;return function(V,D){if(!K(V,D))return!1;return V.length<=q.length?!0:D.fail(q.length,"is extraneous",2)}},Q}(D9);W1.TTuple=rN;function H60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new oN(Z.map(function(Y){return Z2(Y)}))}W1.union=H60;var oN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;J.ttypes=Y;var q=Y.map(function(V){return V instanceof BB||V instanceof OB?V.name:null}).filter(function(V){return V}),K=Y.length-q.length;if(q.length){if(K>0)q.push(K+" more");J._failMsg="is none of "+q.join(", ")}else J._failMsg="is none of "+K+" types";return J}return Q.prototype.getChecker=function(Y,J){var q=this,K=this.ttypes.map(function(V){return V.getChecker(Y,J)});return function(V,D){var z=D.unionResolver();for(var H=0;H<K.length;H++){var G=K[H](V,z.createContext());if(G)return!0}return D.resolveUnion(z),D.fail(null,q._failMsg,0)}},Q}(D9);W1.TUnion=oN;function G60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return new tN(Z.map(function(Y){return Z2(Y)}))}W1.intersection=G60;var tN=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttypes=Y,J}return Q.prototype.getChecker=function(Y,J){var q=new Set,K=this.ttypes.map(function(V){return V.getChecker(Y,J,q)});return function(V,D){var z=K.every(function(H){return H(V,D)});if(z)return!0;return D.fail(null,null,0)}},Q}(D9);W1.TIntersection=tN;function W60(Z){return new XB(Z)}W1.enumtype=W60;var XB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.members=Y,J.validValues=new Set,J._failMsg="is not a valid enum value",J.validValues=new Set(Object.keys(Y).map(function(q){return Y[q]})),J}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return q.validValues.has(K)?!0:V.fail(null,q._failMsg,0)}},Q}(D9);W1.TEnumType=XB;function U60(Z,Q){return new eN(Z,Q)}W1.enumlit=U60;var eN=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.enumName=Y,q.prop=J,q._failMsg="is not "+Y+"."+J,q}return Q.prototype.getChecker=function(Y,J){var q=this,K=$B(Y,this.enumName);if(!(K instanceof XB))throw Error("Type "+this.enumName+" used in enumlit is not an enum type");var V=K.members[this.prop];if(!K.members.hasOwnProperty(this.prop))throw Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(D,z){return D===V?!0:z.fail(null,q._failMsg,-1)}},Q}(D9);W1.TEnumLiteral=eN;function $60(Z){return Object.keys(Z).map(function(Q){return B60(Q,Z[Q])})}function B60(Z,Q){return Q instanceof FB?new WB(Z,Q.ttype,!0):new WB(Z,Z2(Q),!1)}function O60(Z,Q){return new ZS(Z,$60(Q))}W1.iface=O60;var ZS=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.bases=Y,q.props=J,q.propSet=new Set(J.map(function(K){return K.name})),q}return Q.prototype.getChecker=function(Y,J,q){var K=this,V=this.bases.map(function($){return $B(Y,$).getChecker(Y,J)}),D=this.props.map(function($){return $.ttype.getChecker(Y,J)}),z=new nN.NoopContext,H=this.props.map(function($,B){return!$.isOpt&&!D[B](void 0,z)}),G=function($,B){if(typeof $!=="object"||$===null)return B.fail(null,"is not an object",0);for(var O=0;O<V.length;O++)if(!V[O]($,B))return!1;for(var O=0;O<D.length;O++){var A=K.props[O].name,w=$[A];if(w===void 0){if(H[O])return B.fail(A,"is missing",1)}else{var E=D[O](w,B);if(!E)return B.fail(A,null,1)}}return!0};if(!J)return G;var W=this.propSet;if(q)this.propSet.forEach(function($){return q.add($)}),W=q;return function($,B){if(!G($,B))return!1;for(var O in $)if(!W.has(O))return B.fail(O,"is extraneous",2);return!0}},Q}(D9);W1.TIface=ZS;function X60(Z){return new FB(Z2(Z))}W1.opt=X60;var FB=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.ttype=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this.ttype.getChecker(Y,J);return function(K,V){return K===void 0||q(K,V)}},Q}(D9);W1.TOptional=FB;var WB=function(){function Z(Q,Y,J){this.name=Q,this.ttype=Y,this.isOpt=J}return Z}();W1.TProp=WB;function F60(Z){var Q=[];for(var Y=1;Y<arguments.length;Y++)Q[Y-1]=arguments[Y];return new QS(new JS(Q),Z2(Z))}W1.func=F60;var QS=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.paramList=Y,q.result=J,q}return Q.prototype.getChecker=function(Y,J){return function(q,K){return typeof q==="function"?!0:K.fail(null,"is not a function",0)}},Q}(D9);W1.TFunc=QS;function A60(Z,Q,Y){return new YS(Z,Z2(Q),Boolean(Y))}W1.param=A60;var YS=function(){function Z(Q,Y,J){this.name=Q,this.ttype=Y,this.isOpt=J}return Z}();W1.TParam=YS;var JS=function(Z){P9(Q,Z);function Q(Y){var J=Z.call(this)||this;return J.params=Y,J}return Q.prototype.getChecker=function(Y,J){var q=this,K=this.params.map(function(H){return H.ttype.getChecker(Y,J)}),V=new nN.NoopContext,D=this.params.map(function(H,G){return!H.isOpt&&!K[G](void 0,V)}),z=function(H,G){if(!Array.isArray(H))return G.fail(null,"is not an array",0);for(var W=0;W<K.length;W++){var $=q.params[W];if(H[W]===void 0){if(D[W])return G.fail($.name,"is missing",1)}else{var B=K[W](H[W],G);if(!B)return G.fail($.name,null,1)}}return!0};if(!J)return z;return function(H,G){if(!z(H,G))return!1;return H.length<=K.length?!0:G.fail(K.length,"is extraneous",2)}},Q}(D9);W1.TParamList=JS;var h8=function(Z){P9(Q,Z);function Q(Y,J){var q=Z.call(this)||this;return q.validator=Y,q.message=J,q}return Q.prototype.getChecker=function(Y,J){var q=this;return function(K,V){return q.validator(K)?!0:V.fail(null,q.message,0)}},Q}(D9);W1.BasicType=h8;W1.basicTypes={any:new h8(function(Z){return!0},"is invalid"),number:new h8(function(Z){return typeof Z==="number"},"is not a number"),object:new h8(function(Z){return typeof Z==="object"&&Z},"is not an object"),boolean:new h8(function(Z){return typeof Z==="boolean"},"is not a boolean"),string:new h8(function(Z){return typeof Z==="string"},"is not a string"),symbol:new h8(function(Z){return typeof Z==="symbol"},"is not a symbol"),void:new h8(function(Z){return Z==null},"is not void"),undefined:new h8(function(Z){return Z===void 0},"is not undefined"),null:new h8(function(Z){return Z===null},"is not null"),never:new h8(function(Z){return!1},"is unexpected"),Date:new h8(iN("[object Date]"),"is not a Date"),RegExp:new h8(iN("[object RegExp]"),"is not a RegExp")};var w60=Object.prototype.toString;function iN(Z){return function(Q){return typeof Q==="object"&&Q&&w60.call(Q)===Z}}if(typeof Buffer<"u")W1.basicTypes.Buffer=new h8(function(Z){return Buffer.isBuffer(Z)},"is not a Buffer");var E60=function(Z){W1.basicTypes[Z.name]=new h8(function(Q){return Q instanceof Z},"is not a "+Z.name)};for(n3=0,RD=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];n3<RD.length;n3++)UB=RD[n3],E60(UB);var UB,n3,RD});var wB=k((x1)=>{var I60=x1&&x1.__spreadArrays||function(){for(var Z=0,Q=0,Y=arguments.length;Q<Y;Q++)Z+=arguments[Q].length;for(var J=Array(Z),q=0,Q=0;Q<Y;Q++)for(var K=arguments[Q],V=0,D=K.length;V<D;V++,q++)J[q]=K[V];return J};Object.defineProperty(x1,"__esModule",{value:!0});x1.Checker=x1.createCheckers=void 0;var s3=AB(),CQ=CD(),W5=AB();Object.defineProperty(x1,"TArray",{enumerable:!0,get:function(){return W5.TArray}});Object.defineProperty(x1,"TEnumType",{enumerable:!0,get:function(){return W5.TEnumType}});Object.defineProperty(x1,"TEnumLiteral",{enumerable:!0,get:function(){return W5.TEnumLiteral}});Object.defineProperty(x1,"TFunc",{enumerable:!0,get:function(){return W5.TFunc}});Object.defineProperty(x1,"TIface",{enumerable:!0,get:function(){return W5.TIface}});Object.defineProperty(x1,"TLiteral",{enumerable:!0,get:function(){return W5.TLiteral}});Object.defineProperty(x1,"TName",{enumerable:!0,get:function(){return W5.TName}});Object.defineProperty(x1,"TOptional",{enumerable:!0,get:function(){return W5.TOptional}});Object.defineProperty(x1,"TParam",{enumerable:!0,get:function(){return W5.TParam}});Object.defineProperty(x1,"TParamList",{enumerable:!0,get:function(){return W5.TParamList}});Object.defineProperty(x1,"TProp",{enumerable:!0,get:function(){return W5.TProp}});Object.defineProperty(x1,"TTuple",{enumerable:!0,get:function(){return W5.TTuple}});Object.defineProperty(x1,"TType",{enumerable:!0,get:function(){return W5.TType}});Object.defineProperty(x1,"TUnion",{enumerable:!0,get:function(){return W5.TUnion}});Object.defineProperty(x1,"TIntersection",{enumerable:!0,get:function(){return W5.TIntersection}});Object.defineProperty(x1,"array",{enumerable:!0,get:function(){return W5.array}});Object.defineProperty(x1,"enumlit",{enumerable:!0,get:function(){return W5.enumlit}});Object.defineProperty(x1,"enumtype",{enumerable:!0,get:function(){return W5.enumtype}});Object.defineProperty(x1,"func",{enumerable:!0,get:function(){return W5.func}});Object.defineProperty(x1,"iface",{enumerable:!0,get:function(){return W5.iface}});Object.defineProperty(x1,"lit",{enumerable:!0,get:function(){return W5.lit}});Object.defineProperty(x1,"name",{enumerable:!0,get:function(){return W5.name}});Object.defineProperty(x1,"opt",{enumerable:!0,get:function(){return W5.opt}});Object.defineProperty(x1,"param",{enumerable:!0,get:function(){return W5.param}});Object.defineProperty(x1,"tuple",{enumerable:!0,get:function(){return W5.tuple}});Object.defineProperty(x1,"union",{enumerable:!0,get:function(){return W5.union}});Object.defineProperty(x1,"intersection",{enumerable:!0,get:function(){return W5.intersection}});Object.defineProperty(x1,"BasicType",{enumerable:!0,get:function(){return W5.BasicType}});var C60=CD();Object.defineProperty(x1,"VError",{enumerable:!0,get:function(){return C60.VError}});function R60(){var Z=[];for(var Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];var Y=Object.assign.apply(Object,I60([{},s3.basicTypes],Z)),J={};for(var q=0,K=Z;q<K.length;q++){var V=K[q];for(var D=0,z=Object.keys(V);D<z.length;D++){var H=z[D];J[H]=new qS(Y,V[H])}}return J}x1.createCheckers=R60;var qS=function(){function Z(Q,Y,J){if(J===void 0)J="value";if(this.suite=Q,this.ttype=Y,this._path=J,this.props=new Map,Y instanceof s3.TIface)for(var q=0,K=Y.props;q<K.length;q++){var V=K[q];this.props.set(V.name,V.ttype)}this.checkerPlain=this.ttype.getChecker(Q,!1),this.checkerStrict=this.ttype.getChecker(Q,!0)}return Z.prototype.setReportedPath=function(Q){this._path=Q},Z.prototype.check=function(Q){return this._doCheck(this.checkerPlain,Q)},Z.prototype.test=function(Q){return this.checkerPlain(Q,new CQ.NoopContext)},Z.prototype.validate=function(Q){return this._doValidate(this.checkerPlain,Q)},Z.prototype.strictCheck=function(Q){return this._doCheck(this.checkerStrict,Q)},Z.prototype.strictTest=function(Q){return this.checkerStrict(Q,new CQ.NoopContext)},Z.prototype.strictValidate=function(Q){return this._doValidate(this.checkerStrict,Q)},Z.prototype.getProp=function(Q){var Y=this.props.get(Q);if(!Y)throw Error("Type has no property "+Q);return new Z(this.suite,Y,this._path+"."+Q)},Z.prototype.methodArgs=function(Q){var Y=this._getMethod(Q);return new Z(this.suite,Y.paramList)},Z.prototype.methodResult=function(Q){var Y=this._getMethod(Q);return new Z(this.suite,Y.result)},Z.prototype.getArgs=function(){if(!(this.ttype instanceof s3.TFunc))throw Error("getArgs() applied to non-function");return new Z(this.suite,this.ttype.paramList)},Z.prototype.getResult=function(){if(!(this.ttype instanceof s3.TFunc))throw Error("getResult() applied to non-function");return new Z(this.suite,this.ttype.result)},Z.prototype.getType=function(){return this.ttype},Z.prototype._doCheck=function(Q,Y){var J=new CQ.NoopContext;if(!Q(Y,J)){var q=new CQ.DetailContext;throw Q(Y,q),q.getError(this._path)}},Z.prototype._doValidate=function(Q,Y){var J=new CQ.NoopContext;if(Q(Y,J))return null;var q=new CQ.DetailContext;return Q(Y,q),q.getErrorDetail(this._path)},Z.prototype._getMethod=function(Q){var Y=this.props.get(Q);if(!Y)throw Error("Type has no property "+Q);if(!(Y instanceof s3.TFunc))throw Error("Property "+Q+" is not a method");return Y},Z}();x1.Checker=qS});var KS=k((D4)=>{Object.defineProperty(D4,"__esModule",{value:!0});function L60(Z){if(Z&&Z.__esModule)return Z;else{var Q={};if(Z!=null){for(var Y in Z)if(Object.prototype.hasOwnProperty.call(Z,Y))Q[Y]=Z[Y]}return Q.default=Z,Q}}var M60=wB(),U5=L60(M60),j60=U5.union(U5.lit("jsx"),U5.lit("typescript"),U5.lit("flow"),U5.lit("imports"),U5.lit("react-hot-loader"),U5.lit("jest"));D4.Transform=j60;var N60=U5.iface([],{compiledFilename:"string"});D4.SourceMapOptions=N60;var S60=U5.iface([],{transforms:U5.array("Transform"),disableESTransforms:U5.opt("boolean"),jsxRuntime:U5.opt(U5.union(U5.lit("classic"),U5.lit("automatic"),U5.lit("preserve"))),production:U5.opt("boolean"),jsxImportSource:U5.opt("string"),jsxPragma:U5.opt("string"),jsxFragmentPragma:U5.opt("string"),keepUnusedImports:U5.opt("boolean"),preserveDynamicImport:U5.opt("boolean"),injectCreateRequireForImportRequire:U5.opt("boolean"),enableLegacyTypeScriptModuleInterop:U5.opt("boolean"),enableLegacyBabel5ModuleInterop:U5.opt("boolean"),sourceMapOptions:U5.opt("SourceMapOptions"),filePath:U5.opt("string")});D4.Options=S60;var P60={Transform:D4.Transform,SourceMapOptions:D4.SourceMapOptions,Options:D4.Options};D4.default=P60});var VS=k((EB)=>{Object.defineProperty(EB,"__esModule",{value:!0});function T60(Z){return Z&&Z.__esModule?Z:{default:Z}}var _60=wB(),v60=KS(),b60=T60(v60),{Options:k60}=_60.createCheckers.call(void 0,b60.default);function y60(Z){k60.strictCheck(Z)}EB.validateOptions=y60});var LD=k((q6)=>{Object.defineProperty(q6,"__esModule",{value:!0});var h60=o3(),DS=RQ(),x8=Z8(),a3=U8(),a9=k1(),Q8=j9(),r3=GZ(),IB=t4();function x60(){x8.next.call(void 0),r3.parseMaybeAssign.call(void 0,!1)}q6.parseSpread=x60;function zS(Z){x8.next.call(void 0),RB(Z)}q6.parseRest=zS;function HS(Z){r3.parseIdentifier.call(void 0),GS(Z)}q6.parseBindingIdentifier=HS;function u60(){r3.parseIdentifier.call(void 0),Q8.state.tokens[Q8.state.tokens.length-1].identifierRole=x8.IdentifierRole.ImportDeclaration}q6.parseImportedIdentifier=u60;function GS(Z){let Q;if(Q8.state.scopeDepth===0)Q=x8.IdentifierRole.TopLevelDeclaration;else if(Z)Q=x8.IdentifierRole.BlockScopedDeclaration;else Q=x8.IdentifierRole.FunctionScopedDeclaration;Q8.state.tokens[Q8.state.tokens.length-1].identifierRole=Q}q6.markPriorBindingIdentifier=GS;function RB(Z){switch(Q8.state.type){case a9.TokenType._this:{let Q=x8.pushTypeContext.call(void 0,0);x8.next.call(void 0),x8.popTypeContext.call(void 0,Q);return}case a9.TokenType._yield:case a9.TokenType.name:{Q8.state.type=a9.TokenType.name,HS(Z);return}case a9.TokenType.bracketL:{x8.next.call(void 0),WS(a9.TokenType.bracketR,Z,!0);return}case a9.TokenType.braceL:r3.parseObj.call(void 0,!0,Z);return;default:IB.unexpected.call(void 0)}}q6.parseBindingAtom=RB;function WS(Z,Q,Y=!1,J=!1,q=0){let K=!0,V=!1,D=Q8.state.tokens.length;while(!x8.eat.call(void 0,Z)&&!Q8.state.error){if(K)K=!1;else if(IB.expect.call(void 0,a9.TokenType.comma),Q8.state.tokens[Q8.state.tokens.length-1].contextId=q,!V&&Q8.state.tokens[D].isType)Q8.state.tokens[Q8.state.tokens.length-1].isType=!0,V=!0;if(Y&&x8.match.call(void 0,a9.TokenType.comma));else if(x8.eat.call(void 0,Z))break;else if(x8.match.call(void 0,a9.TokenType.ellipsis)){zS(Q),US(),x8.eat.call(void 0,a9.TokenType.comma),IB.expect.call(void 0,Z);break}else f60(J,Q)}}q6.parseBindingList=WS;function f60(Z,Q){if(Z)DS.tsParseModifiers.call(void 0,[a3.ContextualKeyword._public,a3.ContextualKeyword._protected,a3.ContextualKeyword._private,a3.ContextualKeyword._readonly,a3.ContextualKeyword._override]);CB(Q),US(),CB(Q,!0)}function US(){if(Q8.isFlowEnabled)h60.flowParseAssignableListItemTypes.call(void 0);else if(Q8.isTypeScriptEnabled)DS.tsParseAssignableListItemTypes.call(void 0)}function CB(Z,Q=!1){if(!Q)RB(Z);if(!x8.eat.call(void 0,a9.TokenType.eq))return;let Y=Q8.state.tokens.length-1;r3.parseMaybeAssign.call(void 0),Q8.state.tokens[Y].rhsEndIndex=Q8.state.tokens.length}q6.parseMaybeDefault=CB});var RQ=k((i1)=>{Object.defineProperty(i1,"__esModule",{value:!0});var t=Z8(),z1=U8(),r=k1(),X0=j9(),b1=GZ(),MQ=LD(),K6=YJ(),s0=t4(),g60=kB();function MB(){return t.match.call(void 0,r.TokenType.name)}function m60(){return t.match.call(void 0,r.TokenType.name)||Boolean(X0.state.type&r.TokenType.IS_KEYWORD)||t.match.call(void 0,r.TokenType.string)||t.match.call(void 0,r.TokenType.num)||t.match.call(void 0,r.TokenType.bigint)||t.match.call(void 0,r.TokenType.decimal)}function FS(){let Z=X0.state.snapshot();if(t.next.call(void 0),(t.match.call(void 0,r.TokenType.bracketL)||t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.star)||t.match.call(void 0,r.TokenType.ellipsis)||t.match.call(void 0,r.TokenType.hash)||m60())&&!s0.hasPrecedingLineBreak.call(void 0))return!0;else return X0.state.restoreFromSnapshot(Z),!1}function AS(Z){while(!0)if(PB(Z)===null)break}i1.tsParseModifiers=AS;function PB(Z){if(!t.match.call(void 0,r.TokenType.name))return null;let Q=X0.state.contextualKeyword;if(Z.indexOf(Q)!==-1&&FS()){switch(Q){case z1.ContextualKeyword._readonly:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._readonly;break;case z1.ContextualKeyword._abstract:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._abstract;break;case z1.ContextualKeyword._static:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._static;break;case z1.ContextualKeyword._public:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._public;break;case z1.ContextualKeyword._private:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._private;break;case z1.ContextualKeyword._protected:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._protected;break;case z1.ContextualKeyword._override:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._override;break;case z1.ContextualKeyword._declare:X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._declare;break;default:break}return Q}return null}i1.tsParseModifier=PB;function e3(){b1.parseIdentifier.call(void 0);while(t.eat.call(void 0,r.TokenType.dot))b1.parseIdentifier.call(void 0)}function c60(){if(e3(),!s0.hasPrecedingLineBreak.call(void 0)&&t.match.call(void 0,r.TokenType.lessThan))NQ()}function d60(){t.next.call(void 0),QJ()}function l60(){t.next.call(void 0)}function p60(){if(s0.expect.call(void 0,r.TokenType._typeof),t.match.call(void 0,r.TokenType._import))wS();else e3();if(!s0.hasPrecedingLineBreak.call(void 0)&&t.match.call(void 0,r.TokenType.lessThan))NQ()}function wS(){if(s0.expect.call(void 0,r.TokenType._import),s0.expect.call(void 0,r.TokenType.parenL),s0.expect.call(void 0,r.TokenType.string),s0.expect.call(void 0,r.TokenType.parenR),t.eat.call(void 0,r.TokenType.dot))e3();if(t.match.call(void 0,r.TokenType.lessThan))NQ()}function i60(){t.eat.call(void 0,r.TokenType._const);let Z=t.eat.call(void 0,r.TokenType._in),Q=s0.eatContextual.call(void 0,z1.ContextualKeyword._out);if(t.eat.call(void 0,r.TokenType._const),(Z||Q)&&!t.match.call(void 0,r.TokenType.name))X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.name;else b1.parseIdentifier.call(void 0);if(t.eat.call(void 0,r.TokenType._extends))M5();if(t.eat.call(void 0,r.TokenType.eq))M5()}function jQ(){if(t.match.call(void 0,r.TokenType.lessThan))jD()}i1.tsTryParseTypeParameters=jQ;function jD(){let Z=t.pushTypeContext.call(void 0,0);if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.typeParameterStart))t.next.call(void 0);else s0.unexpected.call(void 0);while(!t.eat.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)i60(),t.eat.call(void 0,r.TokenType.comma);t.popTypeContext.call(void 0,Z)}function TB(Z){let Q=Z===r.TokenType.arrow;if(jQ(),s0.expect.call(void 0,r.TokenType.parenL),X0.state.scopeDepth++,n60(!1),X0.state.scopeDepth--,Q)t3(Z);else if(t.match.call(void 0,Z))t3(Z)}function n60(Z){MQ.parseBindingList.call(void 0,r.TokenType.parenR,Z)}function MD(){if(!t.eat.call(void 0,r.TokenType.comma))s0.semicolon.call(void 0)}function $S(){TB(r.TokenType.colon),MD()}function s60(){let Z=X0.state.snapshot();t.next.call(void 0);let Q=t.eat.call(void 0,r.TokenType.name)&&t.match.call(void 0,r.TokenType.colon);return X0.state.restoreFromSnapshot(Z),Q}function ES(){if(!(t.match.call(void 0,r.TokenType.bracketL)&&s60()))return!1;let Z=t.pushTypeContext.call(void 0,0);return s0.expect.call(void 0,r.TokenType.bracketL),b1.parseIdentifier.call(void 0),QJ(),s0.expect.call(void 0,r.TokenType.bracketR),ZJ(),MD(),t.popTypeContext.call(void 0,Z),!0}function BS(Z){if(t.eat.call(void 0,r.TokenType.question),!Z&&(t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan)))TB(r.TokenType.colon),MD();else ZJ(),MD()}function a60(){if(t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan)){$S();return}if(t.match.call(void 0,r.TokenType._new)){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.parenL)||t.match.call(void 0,r.TokenType.lessThan))$S();else BS(!1);return}let Z=!!PB([z1.ContextualKeyword._readonly]);if(ES())return;if((s0.isContextual.call(void 0,z1.ContextualKeyword._get)||s0.isContextual.call(void 0,z1.ContextualKeyword._set))&&FS());b1.parsePropertyName.call(void 0,-1),BS(Z)}function r60(){IS()}function IS(){s0.expect.call(void 0,r.TokenType.braceL);while(!t.eat.call(void 0,r.TokenType.braceR)&&!X0.state.error)a60()}function o60(){let Z=X0.state.snapshot(),Q=t60();return X0.state.restoreFromSnapshot(Z),Q}function t60(){if(t.next.call(void 0),t.eat.call(void 0,r.TokenType.plus)||t.eat.call(void 0,r.TokenType.minus))return s0.isContextual.call(void 0,z1.ContextualKeyword._readonly);if(s0.isContextual.call(void 0,z1.ContextualKeyword._readonly))t.next.call(void 0);if(!t.match.call(void 0,r.TokenType.bracketL))return!1;if(t.next.call(void 0),!MB())return!1;return t.next.call(void 0),t.match.call(void 0,r.TokenType._in)}function e60(){b1.parseIdentifier.call(void 0),s0.expect.call(void 0,r.TokenType._in),M5()}function Z40(){if(s0.expect.call(void 0,r.TokenType.braceL),t.match.call(void 0,r.TokenType.plus)||t.match.call(void 0,r.TokenType.minus))t.next.call(void 0),s0.expectContextual.call(void 0,z1.ContextualKeyword._readonly);else s0.eatContextual.call(void 0,z1.ContextualKeyword._readonly);if(s0.expect.call(void 0,r.TokenType.bracketL),e60(),s0.eatContextual.call(void 0,z1.ContextualKeyword._as))M5();if(s0.expect.call(void 0,r.TokenType.bracketR),t.match.call(void 0,r.TokenType.plus)||t.match.call(void 0,r.TokenType.minus))t.next.call(void 0),s0.expect.call(void 0,r.TokenType.question);else t.eat.call(void 0,r.TokenType.question);B40(),s0.semicolon.call(void 0),s0.expect.call(void 0,r.TokenType.braceR)}function Q40(){s0.expect.call(void 0,r.TokenType.bracketL);while(!t.eat.call(void 0,r.TokenType.bracketR)&&!X0.state.error)Y40(),t.eat.call(void 0,r.TokenType.comma)}function Y40(){if(t.eat.call(void 0,r.TokenType.ellipsis))M5();else M5(),t.eat.call(void 0,r.TokenType.question);if(t.eat.call(void 0,r.TokenType.colon))M5()}function J40(){s0.expect.call(void 0,r.TokenType.parenL),M5(),s0.expect.call(void 0,r.TokenType.parenR)}function q40(){t.nextTemplateToken.call(void 0),t.nextTemplateToken.call(void 0);while(!t.match.call(void 0,r.TokenType.backQuote)&&!X0.state.error)s0.expect.call(void 0,r.TokenType.dollarBraceL),M5(),t.nextTemplateToken.call(void 0),t.nextTemplateToken.call(void 0);t.next.call(void 0)}var Q2;(function(Z){Z[Z.TSFunctionType=0]="TSFunctionType";let Y=1;Z[Z.TSConstructorType=Y]="TSConstructorType";let J=Y+1;Z[Z.TSAbstractConstructorType=J]="TSAbstractConstructorType"})(Q2||(Q2={}));function LB(Z){if(Z===Q2.TSAbstractConstructorType)s0.expectContextual.call(void 0,z1.ContextualKeyword._abstract);if(Z===Q2.TSConstructorType||Z===Q2.TSAbstractConstructorType)s0.expect.call(void 0,r.TokenType._new);let Q=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!1,TB(r.TokenType.arrow),X0.state.inDisallowConditionalTypesContext=Q}function K40(){switch(X0.state.type){case r.TokenType.name:c60();return;case r.TokenType._void:case r.TokenType._null:t.next.call(void 0);return;case r.TokenType.string:case r.TokenType.num:case r.TokenType.bigint:case r.TokenType.decimal:case r.TokenType._true:case r.TokenType._false:b1.parseLiteral.call(void 0);return;case r.TokenType.minus:t.next.call(void 0),b1.parseLiteral.call(void 0);return;case r.TokenType._this:{if(l60(),s0.isContextual.call(void 0,z1.ContextualKeyword._is)&&!s0.hasPrecedingLineBreak.call(void 0))d60();return}case r.TokenType._typeof:p60();return;case r.TokenType._import:wS();return;case r.TokenType.braceL:if(o60())Z40();else r60();return;case r.TokenType.bracketL:Q40();return;case r.TokenType.parenL:J40();return;case r.TokenType.backQuote:q40();return;default:if(X0.state.type&r.TokenType.IS_KEYWORD){t.next.call(void 0),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.name;return}break}s0.unexpected.call(void 0)}function V40(){K40();while(!s0.hasPrecedingLineBreak.call(void 0)&&t.eat.call(void 0,r.TokenType.bracketL))if(!t.eat.call(void 0,r.TokenType.bracketR))M5(),s0.expect.call(void 0,r.TokenType.bracketR)}function D40(){if(s0.expectContextual.call(void 0,z1.ContextualKeyword._infer),b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType._extends)){let Z=X0.state.snapshot();s0.expect.call(void 0,r.TokenType._extends);let Q=X0.state.inDisallowConditionalTypesContext;if(X0.state.inDisallowConditionalTypesContext=!0,M5(),X0.state.inDisallowConditionalTypesContext=Q,X0.state.error||!X0.state.inDisallowConditionalTypesContext&&t.match.call(void 0,r.TokenType.question))X0.state.restoreFromSnapshot(Z)}}function jB(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._keyof)||s0.isContextual.call(void 0,z1.ContextualKeyword._unique)||s0.isContextual.call(void 0,z1.ContextualKeyword._readonly))t.next.call(void 0),jB();else if(s0.isContextual.call(void 0,z1.ContextualKeyword._infer))D40();else{let Z=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!1,V40(),X0.state.inDisallowConditionalTypesContext=Z}}function OS(){if(t.eat.call(void 0,r.TokenType.bitwiseAND),jB(),t.match.call(void 0,r.TokenType.bitwiseAND))while(t.eat.call(void 0,r.TokenType.bitwiseAND))jB()}function z40(){if(t.eat.call(void 0,r.TokenType.bitwiseOR),OS(),t.match.call(void 0,r.TokenType.bitwiseOR))while(t.eat.call(void 0,r.TokenType.bitwiseOR))OS()}function H40(){if(t.match.call(void 0,r.TokenType.lessThan))return!0;return t.match.call(void 0,r.TokenType.parenL)&&W40()}function G40(){if(t.match.call(void 0,r.TokenType.name)||t.match.call(void 0,r.TokenType._this))return t.next.call(void 0),!0;if(t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.bracketL)){let Z=1;t.next.call(void 0);while(Z>0&&!X0.state.error){if(t.match.call(void 0,r.TokenType.braceL)||t.match.call(void 0,r.TokenType.bracketL))Z++;else if(t.match.call(void 0,r.TokenType.braceR)||t.match.call(void 0,r.TokenType.bracketR))Z--;t.next.call(void 0)}return!0}return!1}function W40(){let Z=X0.state.snapshot(),Q=U40();return X0.state.restoreFromSnapshot(Z),Q}function U40(){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.parenR)||t.match.call(void 0,r.TokenType.ellipsis))return!0;if(G40()){if(t.match.call(void 0,r.TokenType.colon)||t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.question)||t.match.call(void 0,r.TokenType.eq))return!0;if(t.match.call(void 0,r.TokenType.parenR)){if(t.next.call(void 0),t.match.call(void 0,r.TokenType.arrow))return!0}}return!1}function t3(Z){let Q=t.pushTypeContext.call(void 0,0);if(s0.expect.call(void 0,Z),!O40())M5();t.popTypeContext.call(void 0,Q)}function $40(){if(t.match.call(void 0,r.TokenType.colon))t3(r.TokenType.colon)}function ZJ(){if(t.match.call(void 0,r.TokenType.colon))QJ()}i1.tsTryParseTypeAnnotation=ZJ;function B40(){if(t.eat.call(void 0,r.TokenType.colon))M5()}function O40(){let Z=X0.state.snapshot();if(s0.isContextual.call(void 0,z1.ContextualKeyword._asserts))if(t.next.call(void 0),s0.eatContextual.call(void 0,z1.ContextualKeyword._is))return M5(),!0;else if(MB()||t.match.call(void 0,r.TokenType._this)){if(t.next.call(void 0),s0.eatContextual.call(void 0,z1.ContextualKeyword._is))M5();return!0}else return X0.state.restoreFromSnapshot(Z),!1;else if(MB()||t.match.call(void 0,r.TokenType._this))if(t.next.call(void 0),s0.isContextual.call(void 0,z1.ContextualKeyword._is)&&!s0.hasPrecedingLineBreak.call(void 0))return t.next.call(void 0),M5(),!0;else return X0.state.restoreFromSnapshot(Z),!1;return!1}function QJ(){let Z=t.pushTypeContext.call(void 0,0);s0.expect.call(void 0,r.TokenType.colon),M5(),t.popTypeContext.call(void 0,Z)}i1.tsParseTypeAnnotation=QJ;function M5(){if(NB(),X0.state.inDisallowConditionalTypesContext||s0.hasPrecedingLineBreak.call(void 0)||!t.eat.call(void 0,r.TokenType._extends))return;let Z=X0.state.inDisallowConditionalTypesContext;X0.state.inDisallowConditionalTypesContext=!0,NB(),X0.state.inDisallowConditionalTypesContext=Z,s0.expect.call(void 0,r.TokenType.question),M5(),s0.expect.call(void 0,r.TokenType.colon),M5()}i1.tsParseType=M5;function X40(){return s0.isContextual.call(void 0,z1.ContextualKeyword._abstract)&&t.lookaheadType.call(void 0)===r.TokenType._new}function NB(){if(H40()){LB(Q2.TSFunctionType);return}if(t.match.call(void 0,r.TokenType._new)){LB(Q2.TSConstructorType);return}else if(X40()){LB(Q2.TSAbstractConstructorType);return}z40()}i1.tsParseNonConditionalType=NB;function F40(){let Z=t.pushTypeContext.call(void 0,1);M5(),s0.expect.call(void 0,r.TokenType.greaterThan),t.popTypeContext.call(void 0,Z),b1.parseMaybeUnary.call(void 0)}i1.tsParseTypeAssertion=F40;function A40(){if(t.eat.call(void 0,r.TokenType.jsxTagStart)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.typeParameterStart;let Z=t.pushTypeContext.call(void 0,1);while(!t.match.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)M5(),t.eat.call(void 0,r.TokenType.comma);g60.nextJSXTagToken.call(void 0),t.popTypeContext.call(void 0,Z)}}i1.tsTryParseJSXTypeArgument=A40;function CS(){while(!t.match.call(void 0,r.TokenType.braceL)&&!X0.state.error)w40(),t.eat.call(void 0,r.TokenType.comma)}function w40(){if(e3(),t.match.call(void 0,r.TokenType.lessThan))NQ()}function E40(){if(MQ.parseBindingIdentifier.call(void 0,!1),jQ(),t.eat.call(void 0,r.TokenType._extends))CS();IS()}function I40(){MQ.parseBindingIdentifier.call(void 0,!1),jQ(),s0.expect.call(void 0,r.TokenType.eq),M5(),s0.semicolon.call(void 0)}function C40(){if(t.match.call(void 0,r.TokenType.string))b1.parseLiteral.call(void 0);else b1.parseIdentifier.call(void 0);if(t.eat.call(void 0,r.TokenType.eq)){let Z=X0.state.tokens.length-1;b1.parseMaybeAssign.call(void 0),X0.state.tokens[Z].rhsEndIndex=X0.state.tokens.length}}function _B(){MQ.parseBindingIdentifier.call(void 0,!1),s0.expect.call(void 0,r.TokenType.braceL);while(!t.eat.call(void 0,r.TokenType.braceR)&&!X0.state.error)C40(),t.eat.call(void 0,r.TokenType.comma)}function vB(){s0.expect.call(void 0,r.TokenType.braceL),K6.parseBlockBody.call(void 0,r.TokenType.braceR)}function SB(){if(MQ.parseBindingIdentifier.call(void 0,!1),t.eat.call(void 0,r.TokenType.dot))SB();else vB()}function RS(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._global))b1.parseIdentifier.call(void 0);else if(t.match.call(void 0,r.TokenType.string))b1.parseExprAtom.call(void 0);else s0.unexpected.call(void 0);if(t.match.call(void 0,r.TokenType.braceL))vB();else s0.semicolon.call(void 0)}function LS(){MQ.parseImportedIdentifier.call(void 0),s0.expect.call(void 0,r.TokenType.eq),L40(),s0.semicolon.call(void 0)}i1.tsParseImportEqualsDeclaration=LS;function R40(){return s0.isContextual.call(void 0,z1.ContextualKeyword._require)&&t.lookaheadType.call(void 0)===r.TokenType.parenL}function L40(){if(R40())M40();else e3()}function M40(){if(s0.expectContextual.call(void 0,z1.ContextualKeyword._require),s0.expect.call(void 0,r.TokenType.parenL),!t.match.call(void 0,r.TokenType.string))s0.unexpected.call(void 0);b1.parseLiteral.call(void 0),s0.expect.call(void 0,r.TokenType.parenR)}function j40(){if(s0.isLineTerminator.call(void 0))return!1;switch(X0.state.type){case r.TokenType._function:{let Z=t.pushTypeContext.call(void 0,1);t.next.call(void 0);let Q=X0.state.start;return K6.parseFunction.call(void 0,Q,!0),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._class:{let Z=t.pushTypeContext.call(void 0,1);return K6.parseClass.call(void 0,!0,!1),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._const:if(t.match.call(void 0,r.TokenType._const)&&s0.isLookaheadContextual.call(void 0,z1.ContextualKeyword._enum)){let Z=t.pushTypeContext.call(void 0,1);return s0.expect.call(void 0,r.TokenType._const),s0.expectContextual.call(void 0,z1.ContextualKeyword._enum),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),t.popTypeContext.call(void 0,Z),!0}case r.TokenType._var:case r.TokenType._let:{let Z=t.pushTypeContext.call(void 0,1);return K6.parseVarStatement.call(void 0,X0.state.type!==r.TokenType._var),t.popTypeContext.call(void 0,Z),!0}case r.TokenType.name:{let Z=t.pushTypeContext.call(void 0,1),Q=X0.state.contextualKeyword,Y=!1;if(Q===z1.ContextualKeyword._global)RS(),Y=!0;else Y=ND(Q,!0);return t.popTypeContext.call(void 0,Z),Y}default:return!1}}function XS(){return ND(X0.state.contextualKeyword,!0)}function N40(Z){switch(Z){case z1.ContextualKeyword._declare:{let Q=X0.state.tokens.length-1;if(j40())return X0.state.tokens[Q].type=r.TokenType._declare,!0;break}case z1.ContextualKeyword._global:if(t.match.call(void 0,r.TokenType.braceL))return vB(),!0;break;default:return ND(Z,!1)}return!1}function ND(Z,Q){switch(Z){case z1.ContextualKeyword._abstract:if(LQ(Q)&&t.match.call(void 0,r.TokenType._class))return X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._abstract,K6.parseClass.call(void 0,!0,!1),!0;break;case z1.ContextualKeyword._enum:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name))return X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),!0;break;case z1.ContextualKeyword._interface:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return E40(),t.popTypeContext.call(void 0,Y),!0}break;case z1.ContextualKeyword._module:if(LQ(Q)){if(t.match.call(void 0,r.TokenType.string)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return RS(),t.popTypeContext.call(void 0,Y),!0}else if(t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return SB(),t.popTypeContext.call(void 0,Y),!0}}break;case z1.ContextualKeyword._namespace:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return SB(),t.popTypeContext.call(void 0,Y),!0}break;case z1.ContextualKeyword._type:if(LQ(Q)&&t.match.call(void 0,r.TokenType.name)){let Y=t.pushTypeContext.call(void 0,Q?2:1);return I40(),t.popTypeContext.call(void 0,Y),!0}break;default:break}return!1}function LQ(Z){if(Z)return t.next.call(void 0),!0;else return!s0.isLineTerminator.call(void 0)}function S40(){let Z=X0.state.snapshot();if(jD(),K6.parseFunctionParams.call(void 0),$40(),s0.expect.call(void 0,r.TokenType.arrow),X0.state.error)return X0.state.restoreFromSnapshot(Z),!1;return b1.parseFunctionBody.call(void 0,!0),!0}function bB(){if(X0.state.type===r.TokenType.bitShiftL)X0.state.pos-=1,t.finishToken.call(void 0,r.TokenType.lessThan);NQ()}function NQ(){let Z=t.pushTypeContext.call(void 0,0);s0.expect.call(void 0,r.TokenType.lessThan);while(!t.match.call(void 0,r.TokenType.greaterThan)&&!X0.state.error)M5(),t.eat.call(void 0,r.TokenType.comma);if(!Z)t.popTypeContext.call(void 0,Z),t.rescan_gt.call(void 0),s0.expect.call(void 0,r.TokenType.greaterThan),X0.state.tokens[X0.state.tokens.length-1].isType=!0;else s0.expect.call(void 0,r.TokenType.greaterThan),t.popTypeContext.call(void 0,Z)}function P40(){if(t.match.call(void 0,r.TokenType.name))switch(X0.state.contextualKeyword){case z1.ContextualKeyword._abstract:case z1.ContextualKeyword._declare:case z1.ContextualKeyword._enum:case z1.ContextualKeyword._interface:case z1.ContextualKeyword._module:case z1.ContextualKeyword._namespace:case z1.ContextualKeyword._type:return!0;default:break}return!1}i1.tsIsDeclarationStart=P40;function T40(Z,Q){if(t.match.call(void 0,r.TokenType.colon))t3(r.TokenType.colon);if(!t.match.call(void 0,r.TokenType.braceL)&&s0.isLineTerminator.call(void 0)){let Y=X0.state.tokens.length-1;while(Y>=0&&(X0.state.tokens[Y].start>=Z||X0.state.tokens[Y].type===r.TokenType._default||X0.state.tokens[Y].type===r.TokenType._export))X0.state.tokens[Y].isType=!0,Y--;return}b1.parseFunctionBody.call(void 0,!1,Q)}i1.tsParseFunctionBodyAndFinish=T40;function _40(Z,Q,Y){if(!s0.hasPrecedingLineBreak.call(void 0)&&t.eat.call(void 0,r.TokenType.bang)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType.nonNullAssertion;return}if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL)){let J=X0.state.snapshot();if(!Q&&b1.atPossibleAsync.call(void 0)){if(S40())return}if(bB(),!Q&&t.eat.call(void 0,r.TokenType.parenL))X0.state.tokens[X0.state.tokens.length-1].subscriptStartIndex=Z,b1.parseCallExpressionArguments.call(void 0);else if(t.match.call(void 0,r.TokenType.backQuote))b1.parseTemplate.call(void 0);else if(X0.state.type===r.TokenType.greaterThan||X0.state.type!==r.TokenType.parenL&&Boolean(X0.state.type&r.TokenType.IS_EXPRESSION_START)&&!s0.hasPrecedingLineBreak.call(void 0))s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(J);else return}else if(!Q&&t.match.call(void 0,r.TokenType.questionDot)&&t.lookaheadType.call(void 0)===r.TokenType.lessThan)t.next.call(void 0),X0.state.tokens[Z].isOptionalChainStart=!0,X0.state.tokens[X0.state.tokens.length-1].subscriptStartIndex=Z,NQ(),s0.expect.call(void 0,r.TokenType.parenL),b1.parseCallExpressionArguments.call(void 0);b1.baseParseSubscript.call(void 0,Z,Q,Y)}i1.tsParseSubscript=_40;function v40(){if(t.eat.call(void 0,r.TokenType._import)){if(s0.isContextual.call(void 0,z1.ContextualKeyword._type)&&t.lookaheadType.call(void 0)!==r.TokenType.eq)s0.expectContextual.call(void 0,z1.ContextualKeyword._type);return LS(),!0}else if(t.eat.call(void 0,r.TokenType.eq))return b1.parseExpression.call(void 0),s0.semicolon.call(void 0),!0;else if(s0.eatContextual.call(void 0,z1.ContextualKeyword._as))return s0.expectContextual.call(void 0,z1.ContextualKeyword._namespace),b1.parseIdentifier.call(void 0),s0.semicolon.call(void 0),!0;else{if(s0.isContextual.call(void 0,z1.ContextualKeyword._type)){let Z=t.lookaheadType.call(void 0);if(Z===r.TokenType.braceL||Z===r.TokenType.star)t.next.call(void 0)}return!1}}i1.tsTryParseExport=v40;function b40(){if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ImportAccess,X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration;return}b1.parseIdentifier.call(void 0),X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ImportAccess,X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ImportDeclaration,X0.state.tokens[X0.state.tokens.length-4].isType=!0,X0.state.tokens[X0.state.tokens.length-3].isType=!0,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0}i1.tsParseImportSpecifier=b40;function k40(){if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ExportAccess;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-1].identifierRole=t.IdentifierRole.ExportAccess,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0;return}if(b1.parseIdentifier.call(void 0),t.match.call(void 0,r.TokenType.comma)||t.match.call(void 0,r.TokenType.braceR)){X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ExportAccess;return}b1.parseIdentifier.call(void 0),X0.state.tokens[X0.state.tokens.length-3].identifierRole=t.IdentifierRole.ExportAccess,X0.state.tokens[X0.state.tokens.length-4].isType=!0,X0.state.tokens[X0.state.tokens.length-3].isType=!0,X0.state.tokens[X0.state.tokens.length-2].isType=!0,X0.state.tokens[X0.state.tokens.length-1].isType=!0}i1.tsParseExportSpecifier=k40;function y40(){if(s0.isContextual.call(void 0,z1.ContextualKeyword._abstract)&&t.lookaheadType.call(void 0)===r.TokenType._class)return X0.state.type=r.TokenType._abstract,t.next.call(void 0),K6.parseClass.call(void 0,!0,!0),!0;if(s0.isContextual.call(void 0,z1.ContextualKeyword._interface)){let Z=t.pushTypeContext.call(void 0,2);return ND(z1.ContextualKeyword._interface,!0),t.popTypeContext.call(void 0,Z),!0}return!1}i1.tsTryParseExportDefaultExpression=y40;function h40(){if(X0.state.type===r.TokenType._const){let Z=t.lookaheadTypeAndKeyword.call(void 0);if(Z.type===r.TokenType.name&&Z.contextualKeyword===z1.ContextualKeyword._enum)return s0.expect.call(void 0,r.TokenType._const),s0.expectContextual.call(void 0,z1.ContextualKeyword._enum),X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._enum,_B(),!0}return!1}i1.tsTryParseStatementContent=h40;function x40(Z){let Q=X0.state.tokens.length;AS([z1.ContextualKeyword._abstract,z1.ContextualKeyword._readonly,z1.ContextualKeyword._declare,z1.ContextualKeyword._static,z1.ContextualKeyword._override]);let Y=X0.state.tokens.length;if(ES()){let q=Z?Q-1:Q;for(let K=q;K<Y;K++)X0.state.tokens[K].isType=!0;return!0}return!1}i1.tsTryParseClassMemberWithIsStatic=x40;function u40(Z){if(!N40(Z))s0.semicolon.call(void 0)}i1.tsParseIdentifierStatement=u40;function f40(){let Z=s0.eatContextual.call(void 0,z1.ContextualKeyword._declare);if(Z)X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._declare;let Q=!1;if(t.match.call(void 0,r.TokenType.name))if(Z){let Y=t.pushTypeContext.call(void 0,2);Q=XS(),t.popTypeContext.call(void 0,Y)}else Q=XS();if(!Q)if(Z){let Y=t.pushTypeContext.call(void 0,2);K6.parseStatement.call(void 0,!0),t.popTypeContext.call(void 0,Y)}else K6.parseStatement.call(void 0,!0)}i1.tsParseExportDeclaration=f40;function g40(Z){if(Z&&(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL)))bB();if(s0.eatContextual.call(void 0,z1.ContextualKeyword._implements)){X0.state.tokens[X0.state.tokens.length-1].type=r.TokenType._implements;let Q=t.pushTypeContext.call(void 0,1);CS(),t.popTypeContext.call(void 0,Q)}}i1.tsAfterParseClassSuper=g40;function m40(){jQ()}i1.tsStartParseObjPropValue=m40;function c40(){jQ()}i1.tsStartParseFunctionParams=c40;function d40(){let Z=t.pushTypeContext.call(void 0,0);if(!s0.hasPrecedingLineBreak.call(void 0))t.eat.call(void 0,r.TokenType.bang);ZJ(),t.popTypeContext.call(void 0,Z)}i1.tsAfterParseVarHead=d40;function l40(){if(t.match.call(void 0,r.TokenType.colon))QJ()}i1.tsStartParseAsyncArrowFromCallExpression=l40;function p40(Z,Q){if(X0.isJSXEnabled)return MS(Z,Q);else return jS(Z,Q)}i1.tsParseMaybeAssign=p40;function MS(Z,Q){if(!t.match.call(void 0,r.TokenType.lessThan))return b1.baseParseMaybeAssign.call(void 0,Z,Q);let Y=X0.state.snapshot(),J=b1.baseParseMaybeAssign.call(void 0,Z,Q);if(X0.state.error)X0.state.restoreFromSnapshot(Y);else return J;if(X0.state.type=r.TokenType.typeParameterStart,jD(),J=b1.baseParseMaybeAssign.call(void 0,Z,Q),!J)s0.unexpected.call(void 0);return J}i1.tsParseMaybeAssignWithJSX=MS;function jS(Z,Q){if(!t.match.call(void 0,r.TokenType.lessThan))return b1.baseParseMaybeAssign.call(void 0,Z,Q);let Y=X0.state.snapshot();jD();let J=b1.baseParseMaybeAssign.call(void 0,Z,Q);if(!J)s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(Y);else return J;return b1.baseParseMaybeAssign.call(void 0,Z,Q)}i1.tsParseMaybeAssignWithoutJSX=jS;function i40(){if(t.match.call(void 0,r.TokenType.colon)){let Z=X0.state.snapshot();if(t3(r.TokenType.colon),s0.canInsertSemicolon.call(void 0))s0.unexpected.call(void 0);if(!t.match.call(void 0,r.TokenType.arrow))s0.unexpected.call(void 0);if(X0.state.error)X0.state.restoreFromSnapshot(Z)}return t.eat.call(void 0,r.TokenType.arrow)}i1.tsParseArrow=i40;function n40(){let Z=t.pushTypeContext.call(void 0,0);t.eat.call(void 0,r.TokenType.question),ZJ(),t.popTypeContext.call(void 0,Z)}i1.tsParseAssignableListItemTypes=n40;function s40(){if(t.match.call(void 0,r.TokenType.lessThan)||t.match.call(void 0,r.TokenType.bitShiftL))bB();K6.baseParseMaybeDecoratorArguments.call(void 0)}i1.tsParseMaybeDecoratorArguments=s40});var kB=k((PD)=>{Object.defineProperty(PD,"__esModule",{value:!0});var u1=Z8(),s1=k1(),A1=j9(),SD=GZ(),Y2=t4(),v5=M9(),NS=wQ(),a40=RQ();function r40(){let Z=!1,Q=!1;while(!0){if(A1.state.pos>=A1.input.length){Y2.unexpected.call(void 0,"Unterminated JSX contents");return}let Y=A1.input.charCodeAt(A1.state.pos);if(Y===v5.charCodes.lessThan||Y===v5.charCodes.leftCurlyBrace){if(A1.state.pos===A1.state.start){if(Y===v5.charCodes.lessThan){A1.state.pos++,u1.finishToken.call(void 0,s1.TokenType.jsxTagStart);return}u1.getTokenFromCode.call(void 0,Y);return}if(Z&&!Q)u1.finishToken.call(void 0,s1.TokenType.jsxEmptyText);else u1.finishToken.call(void 0,s1.TokenType.jsxText);return}if(Y===v5.charCodes.lineFeed)Z=!0;else if(Y!==v5.charCodes.space&&Y!==v5.charCodes.carriageReturn&&Y!==v5.charCodes.tab)Q=!0;A1.state.pos++}}function o40(Z){A1.state.pos++;for(;;){if(A1.state.pos>=A1.input.length){Y2.unexpected.call(void 0,"Unterminated string constant");return}if(A1.input.charCodeAt(A1.state.pos)===Z){A1.state.pos++;break}A1.state.pos++}u1.finishToken.call(void 0,s1.TokenType.string)}function t40(){let Z;do{if(A1.state.pos>A1.input.length){Y2.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}Z=A1.input.charCodeAt(++A1.state.pos)}while(NS.IS_IDENTIFIER_CHAR[Z]||Z===v5.charCodes.dash);u1.finishToken.call(void 0,s1.TokenType.jsxName)}function yB(){r9()}function SS(Z){if(yB(),!u1.eat.call(void 0,s1.TokenType.colon)){A1.state.tokens[A1.state.tokens.length-1].identifierRole=Z;return}yB()}function PS(){let Z=A1.state.tokens.length;SS(u1.IdentifierRole.Access);let Q=!1;while(u1.match.call(void 0,s1.TokenType.dot))Q=!0,r9(),yB();if(!Q){let Y=A1.state.tokens[Z],J=A1.input.charCodeAt(Y.start);if(J>=v5.charCodes.lowercaseA&&J<=v5.charCodes.lowercaseZ)Y.identifierRole=null}}function e40(){switch(A1.state.type){case s1.TokenType.braceL:u1.next.call(void 0),SD.parseExpression.call(void 0),r9();return;case s1.TokenType.jsxTagStart:_S(),r9();return;case s1.TokenType.string:r9();return;default:Y2.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function Z20(){Y2.expect.call(void 0,s1.TokenType.ellipsis),SD.parseExpression.call(void 0)}function Q20(Z){if(u1.match.call(void 0,s1.TokenType.jsxTagEnd))return!1;if(PS(),A1.isTypeScriptEnabled)a40.tsTryParseJSXTypeArgument.call(void 0);let Q=!1;while(!u1.match.call(void 0,s1.TokenType.slash)&&!u1.match.call(void 0,s1.TokenType.jsxTagEnd)&&!A1.state.error){if(u1.eat.call(void 0,s1.TokenType.braceL)){Q=!0,Y2.expect.call(void 0,s1.TokenType.ellipsis),SD.parseMaybeAssign.call(void 0),r9();continue}if(Q&&A1.state.end-A1.state.start===3&&A1.input.charCodeAt(A1.state.start)===v5.charCodes.lowercaseK&&A1.input.charCodeAt(A1.state.start+1)===v5.charCodes.lowercaseE&&A1.input.charCodeAt(A1.state.start+2)===v5.charCodes.lowercaseY)A1.state.tokens[Z].jsxRole=u1.JSXRole.KeyAfterPropSpread;if(SS(u1.IdentifierRole.ObjectKey),u1.match.call(void 0,s1.TokenType.eq))r9(),e40()}let Y=u1.match.call(void 0,s1.TokenType.slash);if(Y)r9();return Y}function Y20(){if(u1.match.call(void 0,s1.TokenType.jsxTagEnd))return;PS()}function TS(){let Z=A1.state.tokens.length-1;A1.state.tokens[Z].jsxRole=u1.JSXRole.NoChildren;let Q=0;if(!Q20(Z)){SQ();while(!0)switch(A1.state.type){case s1.TokenType.jsxTagStart:if(r9(),u1.match.call(void 0,s1.TokenType.slash)){if(r9(),Y20(),A1.state.tokens[Z].jsxRole!==u1.JSXRole.KeyAfterPropSpread){if(Q===1)A1.state.tokens[Z].jsxRole=u1.JSXRole.OneChild;else if(Q>1)A1.state.tokens[Z].jsxRole=u1.JSXRole.StaticChildren}return}Q++,TS(),SQ();break;case s1.TokenType.jsxText:Q++,SQ();break;case s1.TokenType.jsxEmptyText:SQ();break;case s1.TokenType.braceL:if(u1.next.call(void 0),u1.match.call(void 0,s1.TokenType.ellipsis))Z20(),SQ(),Q+=2;else{if(!u1.match.call(void 0,s1.TokenType.braceR))Q++,SD.parseExpression.call(void 0);SQ()}break;default:Y2.unexpected.call(void 0);return}}}function _S(){r9(),TS()}PD.jsxParseElement=_S;function r9(){A1.state.tokens.push(new u1.Token),u1.skipSpace.call(void 0),A1.state.start=A1.state.pos;let Z=A1.input.charCodeAt(A1.state.pos);if(NS.IS_IDENTIFIER_START[Z])t40();else if(Z===v5.charCodes.quotationMark||Z===v5.charCodes.apostrophe)o40(Z);else switch(++A1.state.pos,Z){case v5.charCodes.greaterThan:u1.finishToken.call(void 0,s1.TokenType.jsxTagEnd);break;case v5.charCodes.lessThan:u1.finishToken.call(void 0,s1.TokenType.jsxTagStart);break;case v5.charCodes.slash:u1.finishToken.call(void 0,s1.TokenType.slash);break;case v5.charCodes.equalsTo:u1.finishToken.call(void 0,s1.TokenType.eq);break;case v5.charCodes.leftCurlyBrace:u1.finishToken.call(void 0,s1.TokenType.braceL);break;case v5.charCodes.dot:u1.finishToken.call(void 0,s1.TokenType.dot);break;case v5.charCodes.colon:u1.finishToken.call(void 0,s1.TokenType.colon);break;default:Y2.unexpected.call(void 0)}}PD.nextJSXTagToken=r9;function SQ(){A1.state.tokens.push(new u1.Token),A1.state.start=A1.state.pos,r40()}});var bS=k((_D)=>{Object.defineProperty(_D,"__esModule",{value:!0});var TD=Z8(),PQ=k1(),vS=j9(),J20=GZ(),q20=o3(),K20=RQ();function V20(Z){if(TD.match.call(void 0,PQ.TokenType.question)){let Q=TD.lookaheadType.call(void 0);if(Q===PQ.TokenType.colon||Q===PQ.TokenType.comma||Q===PQ.TokenType.parenR)return}J20.baseParseConditional.call(void 0,Z)}_D.typedParseConditional=V20;function D20(){if(TD.eatTypeToken.call(void 0,PQ.TokenType.question),TD.match.call(void 0,PQ.TokenType.colon)){if(vS.isTypeScriptEnabled)K20.tsParseTypeAnnotation.call(void 0);else if(vS.isFlowEnabled)q20.flowParseTypeAnnotation.call(void 0)}}_D.typedParseParenItem=D20});var GZ=k((C5)=>{Object.defineProperty(C5,"__esModule",{value:!0});var G4=o3(),z20=kB(),kS=bS(),q2=RQ(),l0=Z8(),z4=U8(),yS=zD(),k0=k1(),hS=M9(),H20=wQ(),y0=j9(),J2=LD(),S7=YJ(),c1=t4();class uB{constructor(Z){this.stop=Z}}C5.StopState=uB;function JJ(Z=!1){if(o9(Z),l0.match.call(void 0,k0.TokenType.comma))while(l0.eat.call(void 0,k0.TokenType.comma))o9(Z)}C5.parseExpression=JJ;function o9(Z=!1,Q=!1){if(y0.isTypeScriptEnabled)return q2.tsParseMaybeAssign.call(void 0,Z,Q);else if(y0.isFlowEnabled)return G4.flowParseMaybeAssign.call(void 0,Z,Q);else return xS(Z,Q)}C5.parseMaybeAssign=o9;function xS(Z,Q){if(l0.match.call(void 0,k0.TokenType._yield))return j20(),!1;if(l0.match.call(void 0,k0.TokenType.parenL)||l0.match.call(void 0,k0.TokenType.name)||l0.match.call(void 0,k0.TokenType._yield))y0.state.potentialArrowAt=y0.state.start;let Y=G20(Z);if(Q)mB();if(y0.state.type&k0.TokenType.IS_ASSIGN)return l0.next.call(void 0),o9(Z),!1;return Y}C5.baseParseMaybeAssign=xS;function G20(Z){if(U20(Z))return!0;return W20(Z),!1}function W20(Z){if(y0.isTypeScriptEnabled||y0.isFlowEnabled)kS.typedParseConditional.call(void 0,Z);else uS(Z)}function uS(Z){if(l0.eat.call(void 0,k0.TokenType.question))o9(),c1.expect.call(void 0,k0.TokenType.colon),o9(Z)}C5.baseParseConditional=uS;function U20(Z){let Q=y0.state.tokens.length;if(KJ())return!0;return vD(Q,-1,Z),!1}function vD(Z,Q,Y){if(y0.isTypeScriptEnabled&&(k0.TokenType._in&k0.TokenType.PRECEDENCE_MASK)>Q&&!c1.hasPrecedingLineBreak.call(void 0)&&(c1.eatContextual.call(void 0,z4.ContextualKeyword._as)||c1.eatContextual.call(void 0,z4.ContextualKeyword._satisfies))){let q=l0.pushTypeContext.call(void 0,1);q2.tsParseType.call(void 0),l0.popTypeContext.call(void 0,q),l0.rescan_gt.call(void 0),vD(Z,Q,Y);return}let J=y0.state.type&k0.TokenType.PRECEDENCE_MASK;if(J>0&&(!Y||!l0.match.call(void 0,k0.TokenType._in))){if(J>Q){let q=y0.state.type;if(l0.next.call(void 0),q===k0.TokenType.nullishCoalescing)y0.state.tokens[y0.state.tokens.length-1].nullishStartIndex=Z;let K=y0.state.tokens.length;if(KJ(),vD(K,q&k0.TokenType.IS_RIGHT_ASSOCIATIVE?J-1:J,Y),q===k0.TokenType.nullishCoalescing)y0.state.tokens[Z].numNullishCoalesceStarts++,y0.state.tokens[y0.state.tokens.length-1].numNullishCoalesceEnds++;vD(Z,Q,Y)}}}function KJ(){if(y0.isTypeScriptEnabled&&!y0.isJSXEnabled&&l0.eat.call(void 0,k0.TokenType.lessThan))return q2.tsParseTypeAssertion.call(void 0),!1;if(c1.isContextual.call(void 0,z4.ContextualKeyword._module)&&l0.lookaheadCharCode.call(void 0)===hS.charCodes.leftCurlyBrace&&!c1.hasFollowingLineBreak.call(void 0))return N20(),!1;if(y0.state.type&k0.TokenType.IS_PREFIX)return l0.next.call(void 0),KJ(),!1;if(fS())return!0;while(y0.state.type&k0.TokenType.IS_POSTFIX&&!c1.canInsertSemicolon.call(void 0)){if(y0.state.type===k0.TokenType.preIncDec)y0.state.type=k0.TokenType.postIncDec;l0.next.call(void 0)}return!1}C5.parseMaybeUnary=KJ;function fS(){let Z=y0.state.tokens.length;if(hD())return!0;if(fB(Z),y0.state.tokens.length>Z&&y0.state.tokens[Z].isOptionalChainStart)y0.state.tokens[y0.state.tokens.length-1].isOptionalChainEnd=!0;return!1}C5.parseExprSubscripts=fS;function fB(Z,Q=!1){if(y0.isFlowEnabled)G4.flowParseSubscripts.call(void 0,Z,Q);else gS(Z,Q)}function gS(Z,Q=!1){let Y=new uB(!1);do $20(Z,Q,Y);while(!Y.stop&&!y0.state.error)}C5.baseParseSubscripts=gS;function $20(Z,Q,Y){if(y0.isTypeScriptEnabled)q2.tsParseSubscript.call(void 0,Z,Q,Y);else if(y0.isFlowEnabled)G4.flowParseSubscript.call(void 0,Z,Q,Y);else mS(Z,Q,Y)}function mS(Z,Q,Y){if(!Q&&l0.eat.call(void 0,k0.TokenType.doubleColon))gB(),Y.stop=!0,fB(Z,Q);else if(l0.match.call(void 0,k0.TokenType.questionDot)){if(y0.state.tokens[Z].isOptionalChainStart=!0,Q&&l0.lookaheadType.call(void 0)===k0.TokenType.parenL){Y.stop=!0;return}if(l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,l0.eat.call(void 0,k0.TokenType.bracketL))JJ(),c1.expect.call(void 0,k0.TokenType.bracketR);else if(l0.eat.call(void 0,k0.TokenType.parenL))bD();else kD()}else if(l0.eat.call(void 0,k0.TokenType.dot))y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,kD();else if(l0.eat.call(void 0,k0.TokenType.bracketL))y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z,JJ(),c1.expect.call(void 0,k0.TokenType.bracketR);else if(!Q&&l0.match.call(void 0,k0.TokenType.parenL))if(cS()){let J=y0.state.snapshot(),q=y0.state.tokens.length;l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z;let K=y0.getNextContextId.call(void 0);if(y0.state.tokens[y0.state.tokens.length-1].contextId=K,bD(),y0.state.tokens[y0.state.tokens.length-1].contextId=K,B20())y0.state.restoreFromSnapshot(J),Y.stop=!0,y0.state.scopeDepth++,S7.parseFunctionParams.call(void 0),O20(q)}else{l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].subscriptStartIndex=Z;let J=y0.getNextContextId.call(void 0);y0.state.tokens[y0.state.tokens.length-1].contextId=J,bD(),y0.state.tokens[y0.state.tokens.length-1].contextId=J}else if(l0.match.call(void 0,k0.TokenType.backQuote))cB();else Y.stop=!0}C5.baseParseSubscript=mS;function cS(){return y0.state.tokens[y0.state.tokens.length-1].contextualKeyword===z4.ContextualKeyword._async&&!c1.canInsertSemicolon.call(void 0)}C5.atPossibleAsync=cS;function bD(){let Z=!0;while(!l0.eat.call(void 0,k0.TokenType.parenR)&&!y0.state.error){if(Z)Z=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,k0.TokenType.parenR))break;sS(!1)}}C5.parseCallExpressionArguments=bD;function B20(){return l0.match.call(void 0,k0.TokenType.colon)||l0.match.call(void 0,k0.TokenType.arrow)}function O20(Z){if(y0.isTypeScriptEnabled)q2.tsStartParseAsyncArrowFromCallExpression.call(void 0);else if(y0.isFlowEnabled)G4.flowStartParseAsyncArrowFromCallExpression.call(void 0);c1.expect.call(void 0,k0.TokenType.arrow),qJ(Z)}function gB(){let Z=y0.state.tokens.length;hD(),fB(Z,!0)}function hD(){if(l0.eat.call(void 0,k0.TokenType.modulo))return H4(),!1;if(l0.match.call(void 0,k0.TokenType.jsxText)||l0.match.call(void 0,k0.TokenType.jsxEmptyText))return dS(),!1;else if(l0.match.call(void 0,k0.TokenType.lessThan)&&y0.isJSXEnabled)return y0.state.type=k0.TokenType.jsxTagStart,z20.jsxParseElement.call(void 0),l0.next.call(void 0),!1;let Z=y0.state.potentialArrowAt===y0.state.start;switch(y0.state.type){case k0.TokenType.slash:case k0.TokenType.assign:l0.retokenizeSlashAsRegex.call(void 0);case k0.TokenType._super:case k0.TokenType._this:case k0.TokenType.regexp:case k0.TokenType.num:case k0.TokenType.bigint:case k0.TokenType.decimal:case k0.TokenType.string:case k0.TokenType._null:case k0.TokenType._true:case k0.TokenType._false:return l0.next.call(void 0),!1;case k0.TokenType._import:if(l0.next.call(void 0),l0.match.call(void 0,k0.TokenType.dot))y0.state.tokens[y0.state.tokens.length-1].type=k0.TokenType.name,l0.next.call(void 0),H4();return!1;case k0.TokenType.name:{let Q=y0.state.tokens.length,Y=y0.state.start,J=y0.state.contextualKeyword;if(H4(),J===z4.ContextualKeyword._await)return M20(),!1;else if(J===z4.ContextualKeyword._async&&l0.match.call(void 0,k0.TokenType._function)&&!c1.canInsertSemicolon.call(void 0))return l0.next.call(void 0),S7.parseFunction.call(void 0,Y,!1),!1;else if(Z&&J===z4.ContextualKeyword._async&&!c1.canInsertSemicolon.call(void 0)&&l0.match.call(void 0,k0.TokenType.name))return y0.state.scopeDepth++,J2.parseBindingIdentifier.call(void 0,!1),c1.expect.call(void 0,k0.TokenType.arrow),qJ(Q),!0;else if(l0.match.call(void 0,k0.TokenType._do)&&!c1.canInsertSemicolon.call(void 0))return l0.next.call(void 0),S7.parseBlock.call(void 0),!1;if(Z&&!c1.canInsertSemicolon.call(void 0)&&l0.match.call(void 0,k0.TokenType.arrow))return y0.state.scopeDepth++,J2.markPriorBindingIdentifier.call(void 0,!1),c1.expect.call(void 0,k0.TokenType.arrow),qJ(Q),!0;return y0.state.tokens[y0.state.tokens.length-1].identifierRole=l0.IdentifierRole.Access,!1}case k0.TokenType._do:return l0.next.call(void 0),S7.parseBlock.call(void 0),!1;case k0.TokenType.parenL:return lS(Z);case k0.TokenType.bracketL:return l0.next.call(void 0),nS(k0.TokenType.bracketR,!0),!1;case k0.TokenType.braceL:return pS(!1,!1),!1;case k0.TokenType._function:return X20(),!1;case k0.TokenType.at:S7.parseDecorators.call(void 0);case k0.TokenType._class:return S7.parseClass.call(void 0,!1),!1;case k0.TokenType._new:return w20(),!1;case k0.TokenType.backQuote:return cB(),!1;case k0.TokenType.doubleColon:return l0.next.call(void 0),gB(),!1;case k0.TokenType.hash:{let Q=l0.lookaheadCharCode.call(void 0);if(H20.IS_IDENTIFIER_START[Q]||Q===hS.charCodes.backslash)kD();else l0.next.call(void 0);return!1}default:return c1.unexpected.call(void 0),!1}}C5.parseExprAtom=hD;function kD(){l0.eat.call(void 0,k0.TokenType.hash),H4()}function X20(){let Z=y0.state.start;if(H4(),l0.eat.call(void 0,k0.TokenType.dot))H4();S7.parseFunction.call(void 0,Z,!1)}function dS(){l0.next.call(void 0)}C5.parseLiteral=dS;function F20(){c1.expect.call(void 0,k0.TokenType.parenL),JJ(),c1.expect.call(void 0,k0.TokenType.parenR)}C5.parseParenExpression=F20;function lS(Z){let Q=y0.state.snapshot(),Y=y0.state.tokens.length;c1.expect.call(void 0,k0.TokenType.parenL);let J=!0;while(!l0.match.call(void 0,k0.TokenType.parenR)&&!y0.state.error){if(J)J=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.match.call(void 0,k0.TokenType.parenR))break;if(l0.match.call(void 0,k0.TokenType.ellipsis)){J2.parseRest.call(void 0,!1),mB();break}else o9(!1,!0)}if(c1.expect.call(void 0,k0.TokenType.parenR),Z&&A20()){if(hB()){if(y0.state.restoreFromSnapshot(Q),y0.state.scopeDepth++,S7.parseFunctionParams.call(void 0),hB(),qJ(Y),y0.state.error)return y0.state.restoreFromSnapshot(Q),lS(!1),!1;return!0}}return!1}function A20(){return l0.match.call(void 0,k0.TokenType.colon)||!c1.canInsertSemicolon.call(void 0)}function hB(){if(y0.isTypeScriptEnabled)return q2.tsParseArrow.call(void 0);else if(y0.isFlowEnabled)return G4.flowParseArrow.call(void 0);else return l0.eat.call(void 0,k0.TokenType.arrow)}C5.parseArrow=hB;function mB(){if(y0.isTypeScriptEnabled||y0.isFlowEnabled)kS.typedParseParenItem.call(void 0)}function w20(){if(c1.expect.call(void 0,k0.TokenType._new),l0.eat.call(void 0,k0.TokenType.dot)){H4();return}if(E20(),y0.isFlowEnabled)G4.flowStartParseNewArguments.call(void 0);if(l0.eat.call(void 0,k0.TokenType.parenL))nS(k0.TokenType.parenR)}function E20(){gB(),l0.eat.call(void 0,k0.TokenType.questionDot)}function cB(){l0.nextTemplateToken.call(void 0),l0.nextTemplateToken.call(void 0);while(!l0.match.call(void 0,k0.TokenType.backQuote)&&!y0.state.error)c1.expect.call(void 0,k0.TokenType.dollarBraceL),JJ(),l0.nextTemplateToken.call(void 0),l0.nextTemplateToken.call(void 0);l0.next.call(void 0)}C5.parseTemplate=cB;function pS(Z,Q){let Y=y0.getNextContextId.call(void 0),J=!0;l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].contextId=Y;while(!l0.eat.call(void 0,k0.TokenType.braceR)&&!y0.state.error){if(J)J=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,k0.TokenType.braceR))break;let q=!1;if(l0.match.call(void 0,k0.TokenType.ellipsis)){let K=y0.state.tokens.length;if(J2.parseSpread.call(void 0),Z){if(y0.state.tokens.length===K+2)J2.markPriorBindingIdentifier.call(void 0,Q);if(l0.eat.call(void 0,k0.TokenType.braceR))break}continue}if(!Z)q=l0.eat.call(void 0,k0.TokenType.star);if(!Z&&c1.isContextual.call(void 0,z4.ContextualKeyword._async)){if(q)c1.unexpected.call(void 0);if(H4(),l0.match.call(void 0,k0.TokenType.colon)||l0.match.call(void 0,k0.TokenType.parenL)||l0.match.call(void 0,k0.TokenType.braceR)||l0.match.call(void 0,k0.TokenType.eq)||l0.match.call(void 0,k0.TokenType.comma));else{if(l0.match.call(void 0,k0.TokenType.star))l0.next.call(void 0),q=!0;yD(Y)}}else yD(Y);L20(Z,Q,Y)}y0.state.tokens[y0.state.tokens.length-1].contextId=Y}C5.parseObj=pS;function I20(Z){return!Z&&(l0.match.call(void 0,k0.TokenType.string)||l0.match.call(void 0,k0.TokenType.num)||l0.match.call(void 0,k0.TokenType.bracketL)||l0.match.call(void 0,k0.TokenType.name)||!!(y0.state.type&k0.TokenType.IS_KEYWORD))}function C20(Z,Q){let Y=y0.state.start;if(l0.match.call(void 0,k0.TokenType.parenL)){if(Z)c1.unexpected.call(void 0);return xB(Y,!1),!0}if(I20(Z))return yD(Q),xB(Y,!1),!0;return!1}function R20(Z,Q){if(l0.eat.call(void 0,k0.TokenType.colon)){if(Z)J2.parseMaybeDefault.call(void 0,Q);else o9(!1);return}let Y;if(Z)if(y0.state.scopeDepth===0)Y=l0.IdentifierRole.ObjectShorthandTopLevelDeclaration;else if(Q)Y=l0.IdentifierRole.ObjectShorthandBlockScopedDeclaration;else Y=l0.IdentifierRole.ObjectShorthandFunctionScopedDeclaration;else Y=l0.IdentifierRole.ObjectShorthand;y0.state.tokens[y0.state.tokens.length-1].identifierRole=Y,J2.parseMaybeDefault.call(void 0,Q,!0)}function L20(Z,Q,Y){if(y0.isTypeScriptEnabled)q2.tsStartParseObjPropValue.call(void 0);else if(y0.isFlowEnabled)G4.flowStartParseObjPropValue.call(void 0);if(!C20(Z,Y))R20(Z,Q)}function yD(Z){if(y0.isFlowEnabled)G4.flowParseVariance.call(void 0);if(l0.eat.call(void 0,k0.TokenType.bracketL))y0.state.tokens[y0.state.tokens.length-1].contextId=Z,o9(),c1.expect.call(void 0,k0.TokenType.bracketR),y0.state.tokens[y0.state.tokens.length-1].contextId=Z;else{if(l0.match.call(void 0,k0.TokenType.num)||l0.match.call(void 0,k0.TokenType.string)||l0.match.call(void 0,k0.TokenType.bigint)||l0.match.call(void 0,k0.TokenType.decimal))hD();else kD();y0.state.tokens[y0.state.tokens.length-1].identifierRole=l0.IdentifierRole.ObjectKey,y0.state.tokens[y0.state.tokens.length-1].contextId=Z}}C5.parsePropertyName=yD;function xB(Z,Q){let Y=y0.getNextContextId.call(void 0);y0.state.scopeDepth++;let J=y0.state.tokens.length,q=Q;S7.parseFunctionParams.call(void 0,q,Y),iS(Z,Y);let K=y0.state.tokens.length;y0.state.scopes.push(new yS.Scope(J,K,!0)),y0.state.scopeDepth--}C5.parseMethod=xB;function qJ(Z){dB(!0);let Q=y0.state.tokens.length;y0.state.scopes.push(new yS.Scope(Z,Q,!0)),y0.state.scopeDepth--}C5.parseArrowExpression=qJ;function iS(Z,Q=0){if(y0.isTypeScriptEnabled)q2.tsParseFunctionBodyAndFinish.call(void 0,Z,Q);else if(y0.isFlowEnabled)G4.flowParseFunctionBodyAndFinish.call(void 0,Q);else dB(!1,Q)}C5.parseFunctionBodyAndFinish=iS;function dB(Z,Q=0){if(Z&&!l0.match.call(void 0,k0.TokenType.braceL))o9();else S7.parseBlock.call(void 0,!0,Q)}C5.parseFunctionBody=dB;function nS(Z,Q=!1){let Y=!0;while(!l0.eat.call(void 0,Z)&&!y0.state.error){if(Y)Y=!1;else if(c1.expect.call(void 0,k0.TokenType.comma),l0.eat.call(void 0,Z))break;sS(Q)}}function sS(Z){if(Z&&l0.match.call(void 0,k0.TokenType.comma));else if(l0.match.call(void 0,k0.TokenType.ellipsis))J2.parseSpread.call(void 0),mB();else if(l0.match.call(void 0,k0.TokenType.question))l0.next.call(void 0);else o9(!1,!0)}function H4(){l0.next.call(void 0),y0.state.tokens[y0.state.tokens.length-1].type=k0.TokenType.name}C5.parseIdentifier=H4;function M20(){KJ()}function j20(){if(l0.next.call(void 0),!l0.match.call(void 0,k0.TokenType.semi)&&!c1.canInsertSemicolon.call(void 0))l0.eat.call(void 0,k0.TokenType.star),o9()}function N20(){c1.expectContextual.call(void 0,z4.ContextualKeyword._module),c1.expect.call(void 0,k0.TokenType.braceL),S7.parseBlockBody.call(void 0,k0.TokenType.braceR)}});var o3=k(($5)=>{Object.defineProperty($5,"__esModule",{value:!0});var V0=Z8(),C1=U8(),J0=k1(),O1=j9(),V5=GZ(),K2=YJ(),o0=t4();function S20(Z){return(Z.type===J0.TokenType.name||!!(Z.type&J0.TokenType.IS_KEYWORD))&&Z.contextualKeyword!==C1.ContextualKeyword._from}function V6(Z){let Q=V0.pushTypeContext.call(void 0,0);o0.expect.call(void 0,Z||J0.TokenType.colon),z9(),V0.popTypeContext.call(void 0,Q)}function aS(){if(o0.expect.call(void 0,J0.TokenType.modulo),o0.expectContextual.call(void 0,C1.ContextualKeyword._checks),V0.eat.call(void 0,J0.TokenType.parenL))V5.parseExpression.call(void 0),o0.expect.call(void 0,J0.TokenType.parenR)}function iB(){let Z=V0.pushTypeContext.call(void 0,0);if(o0.expect.call(void 0,J0.TokenType.colon),V0.match.call(void 0,J0.TokenType.modulo))aS();else if(z9(),V0.match.call(void 0,J0.TokenType.modulo))aS();V0.popTypeContext.call(void 0,Z)}function P20(){V0.next.call(void 0),nB(!0)}function T20(){if(V0.next.call(void 0),V5.parseIdentifier.call(void 0),V0.match.call(void 0,J0.TokenType.lessThan))D6();o0.expect.call(void 0,J0.TokenType.parenL),pB(),o0.expect.call(void 0,J0.TokenType.parenR),iB(),o0.semicolon.call(void 0)}function lB(){if(V0.match.call(void 0,J0.TokenType._class))P20();else if(V0.match.call(void 0,J0.TokenType._function))T20();else if(V0.match.call(void 0,J0.TokenType._var))_20();else if(o0.eatContextual.call(void 0,C1.ContextualKeyword._module))if(V0.eat.call(void 0,J0.TokenType.dot))k20();else v20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._type))y20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))h20();else if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface))x20();else if(V0.match.call(void 0,J0.TokenType._export))b20();else o0.unexpected.call(void 0)}function _20(){V0.next.call(void 0),QP(),o0.semicolon.call(void 0)}function v20(){if(V0.match.call(void 0,J0.TokenType.string))V5.parseExprAtom.call(void 0);else V5.parseIdentifier.call(void 0);o0.expect.call(void 0,J0.TokenType.braceL);while(!V0.match.call(void 0,J0.TokenType.braceR)&&!O1.state.error)if(V0.match.call(void 0,J0.TokenType._import))V0.next.call(void 0),K2.parseImport.call(void 0);else o0.unexpected.call(void 0);o0.expect.call(void 0,J0.TokenType.braceR)}function b20(){if(o0.expect.call(void 0,J0.TokenType._export),V0.eat.call(void 0,J0.TokenType._default))if(V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._class))lB();else z9(),o0.semicolon.call(void 0);else if(V0.match.call(void 0,J0.TokenType._var)||V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._class)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))lB();else if(V0.match.call(void 0,J0.TokenType.star)||V0.match.call(void 0,J0.TokenType.braceL)||o0.isContextual.call(void 0,C1.ContextualKeyword._interface)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque))K2.parseExport.call(void 0);else o0.unexpected.call(void 0)}function k20(){o0.expectContextual.call(void 0,C1.ContextualKeyword._exports),TQ(),o0.semicolon.call(void 0)}function y20(){V0.next.call(void 0),aB()}function h20(){V0.next.call(void 0),rB(!0)}function x20(){V0.next.call(void 0),nB()}function nB(Z=!1){if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();if(V0.eat.call(void 0,J0.TokenType._extends))do xD();while(!Z&&V0.eat.call(void 0,J0.TokenType.comma));if(o0.isContextual.call(void 0,C1.ContextualKeyword._mixins)){V0.next.call(void 0);do xD();while(V0.eat.call(void 0,J0.TokenType.comma))}if(o0.isContextual.call(void 0,C1.ContextualKeyword._implements)){V0.next.call(void 0);do xD();while(V0.eat.call(void 0,J0.TokenType.comma))}uD(Z,!1,Z)}function xD(){if(tS(!1),V0.match.call(void 0,J0.TokenType.lessThan))WZ()}function sB(){nB()}function gD(){V5.parseIdentifier.call(void 0)}function aB(){if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();V6(J0.TokenType.eq),o0.semicolon.call(void 0)}function rB(Z){if(o0.expectContextual.call(void 0,C1.ContextualKeyword._type),gD(),V0.match.call(void 0,J0.TokenType.lessThan))D6();if(V0.match.call(void 0,J0.TokenType.colon))V6(J0.TokenType.colon);if(!Z)V6(J0.TokenType.eq);o0.semicolon.call(void 0)}function u20(){if(eB(),QP(),V0.eat.call(void 0,J0.TokenType.eq))z9()}function D6(){let Z=V0.pushTypeContext.call(void 0,0);if(V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.typeParameterStart))V0.next.call(void 0);else o0.unexpected.call(void 0);do if(u20(),!V0.match.call(void 0,J0.TokenType.greaterThan))o0.expect.call(void 0,J0.TokenType.comma);while(!V0.match.call(void 0,J0.TokenType.greaterThan)&&!O1.state.error);o0.expect.call(void 0,J0.TokenType.greaterThan),V0.popTypeContext.call(void 0,Z)}$5.flowParseTypeParameterDeclaration=D6;function WZ(){let Z=V0.pushTypeContext.call(void 0,0);o0.expect.call(void 0,J0.TokenType.lessThan);while(!V0.match.call(void 0,J0.TokenType.greaterThan)&&!O1.state.error)if(z9(),!V0.match.call(void 0,J0.TokenType.greaterThan))o0.expect.call(void 0,J0.TokenType.comma);o0.expect.call(void 0,J0.TokenType.greaterThan),V0.popTypeContext.call(void 0,Z)}function f20(){if(o0.expectContextual.call(void 0,C1.ContextualKeyword._interface),V0.eat.call(void 0,J0.TokenType._extends))do xD();while(V0.eat.call(void 0,J0.TokenType.comma));uD(!1,!1,!1)}function oB(){if(V0.match.call(void 0,J0.TokenType.num)||V0.match.call(void 0,J0.TokenType.string))V5.parseExprAtom.call(void 0);else V5.parseIdentifier.call(void 0)}function g20(){if(V0.lookaheadType.call(void 0)===J0.TokenType.colon)oB(),V6();else z9();o0.expect.call(void 0,J0.TokenType.bracketR),V6()}function m20(){if(oB(),o0.expect.call(void 0,J0.TokenType.bracketR),o0.expect.call(void 0,J0.TokenType.bracketR),V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.parenL))tB();else V0.eat.call(void 0,J0.TokenType.question),V6()}function tB(){if(V0.match.call(void 0,J0.TokenType.lessThan))D6();o0.expect.call(void 0,J0.TokenType.parenL);while(!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis)&&!O1.state.error)if(fD(),!V0.match.call(void 0,J0.TokenType.parenR))o0.expect.call(void 0,J0.TokenType.comma);if(V0.eat.call(void 0,J0.TokenType.ellipsis))fD();o0.expect.call(void 0,J0.TokenType.parenR),V6()}function c20(){tB()}function uD(Z,Q,Y){let J;if(Q&&V0.match.call(void 0,J0.TokenType.braceBarL))o0.expect.call(void 0,J0.TokenType.braceBarL),J=J0.TokenType.braceBarR;else o0.expect.call(void 0,J0.TokenType.braceL),J=J0.TokenType.braceR;while(!V0.match.call(void 0,J)&&!O1.state.error){if(Y&&o0.isContextual.call(void 0,C1.ContextualKeyword._proto)){let q=V0.lookaheadType.call(void 0);if(q!==J0.TokenType.colon&&q!==J0.TokenType.question)V0.next.call(void 0),Z=!1}if(Z&&o0.isContextual.call(void 0,C1.ContextualKeyword._static)){let q=V0.lookaheadType.call(void 0);if(q!==J0.TokenType.colon&&q!==J0.TokenType.question)V0.next.call(void 0)}if(eB(),V0.eat.call(void 0,J0.TokenType.bracketL))if(V0.eat.call(void 0,J0.TokenType.bracketL))m20();else g20();else if(V0.match.call(void 0,J0.TokenType.parenL)||V0.match.call(void 0,J0.TokenType.lessThan))c20();else{if(o0.isContextual.call(void 0,C1.ContextualKeyword._get)||o0.isContextual.call(void 0,C1.ContextualKeyword._set)){let q=V0.lookaheadType.call(void 0);if(q===J0.TokenType.name||q===J0.TokenType.string||q===J0.TokenType.num)V0.next.call(void 0)}d20()}l20()}o0.expect.call(void 0,J)}function d20(){if(V0.match.call(void 0,J0.TokenType.ellipsis)){if(o0.expect.call(void 0,J0.TokenType.ellipsis),!V0.eat.call(void 0,J0.TokenType.comma))V0.eat.call(void 0,J0.TokenType.semi);if(V0.match.call(void 0,J0.TokenType.braceR))return;z9()}else if(oB(),V0.match.call(void 0,J0.TokenType.lessThan)||V0.match.call(void 0,J0.TokenType.parenL))tB();else V0.eat.call(void 0,J0.TokenType.question),V6()}function l20(){if(!V0.eat.call(void 0,J0.TokenType.semi)&&!V0.eat.call(void 0,J0.TokenType.comma)&&!V0.match.call(void 0,J0.TokenType.braceR)&&!V0.match.call(void 0,J0.TokenType.braceBarR))o0.unexpected.call(void 0)}function tS(Z){if(!Z)V5.parseIdentifier.call(void 0);while(V0.eat.call(void 0,J0.TokenType.dot))V5.parseIdentifier.call(void 0)}function p20(){if(tS(!0),V0.match.call(void 0,J0.TokenType.lessThan))WZ()}function i20(){o0.expect.call(void 0,J0.TokenType._typeof),eS()}function n20(){o0.expect.call(void 0,J0.TokenType.bracketL);while(O1.state.pos<O1.input.length&&!V0.match.call(void 0,J0.TokenType.bracketR)){if(z9(),V0.match.call(void 0,J0.TokenType.bracketR))break;o0.expect.call(void 0,J0.TokenType.comma)}o0.expect.call(void 0,J0.TokenType.bracketR)}function fD(){let Z=V0.lookaheadType.call(void 0);if(Z===J0.TokenType.colon||Z===J0.TokenType.question)V5.parseIdentifier.call(void 0),V0.eat.call(void 0,J0.TokenType.question),V6();else z9()}function pB(){while(!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis)&&!O1.state.error)if(fD(),!V0.match.call(void 0,J0.TokenType.parenR))o0.expect.call(void 0,J0.TokenType.comma);if(V0.eat.call(void 0,J0.TokenType.ellipsis))fD()}function eS(){let Z=!1,Q=O1.state.noAnonFunctionType;switch(O1.state.type){case J0.TokenType.name:{if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface)){f20();return}V5.parseIdentifier.call(void 0),p20();return}case J0.TokenType.braceL:uD(!1,!1,!1);return;case J0.TokenType.braceBarL:uD(!1,!0,!1);return;case J0.TokenType.bracketL:n20();return;case J0.TokenType.lessThan:D6(),o0.expect.call(void 0,J0.TokenType.parenL),pB(),o0.expect.call(void 0,J0.TokenType.parenR),o0.expect.call(void 0,J0.TokenType.arrow),z9();return;case J0.TokenType.parenL:if(V0.next.call(void 0),!V0.match.call(void 0,J0.TokenType.parenR)&&!V0.match.call(void 0,J0.TokenType.ellipsis))if(V0.match.call(void 0,J0.TokenType.name)){let Y=V0.lookaheadType.call(void 0);Z=Y!==J0.TokenType.question&&Y!==J0.TokenType.colon}else Z=!0;if(Z)if(O1.state.noAnonFunctionType=!1,z9(),O1.state.noAnonFunctionType=Q,O1.state.noAnonFunctionType||!(V0.match.call(void 0,J0.TokenType.comma)||V0.match.call(void 0,J0.TokenType.parenR)&&V0.lookaheadType.call(void 0)===J0.TokenType.arrow)){o0.expect.call(void 0,J0.TokenType.parenR);return}else V0.eat.call(void 0,J0.TokenType.comma);pB(),o0.expect.call(void 0,J0.TokenType.parenR),o0.expect.call(void 0,J0.TokenType.arrow),z9();return;case J0.TokenType.minus:V0.next.call(void 0),V5.parseLiteral.call(void 0);return;case J0.TokenType.string:case J0.TokenType.num:case J0.TokenType._true:case J0.TokenType._false:case J0.TokenType._null:case J0.TokenType._this:case J0.TokenType._void:case J0.TokenType.star:V0.next.call(void 0);return;default:if(O1.state.type===J0.TokenType._typeof){i20();return}else if(O1.state.type&J0.TokenType.IS_KEYWORD){V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType.name;return}}o0.unexpected.call(void 0)}function s20(){eS();while(!o0.canInsertSemicolon.call(void 0)&&(V0.match.call(void 0,J0.TokenType.bracketL)||V0.match.call(void 0,J0.TokenType.questionDot)))if(V0.eat.call(void 0,J0.TokenType.questionDot),o0.expect.call(void 0,J0.TokenType.bracketL),V0.eat.call(void 0,J0.TokenType.bracketR));else z9(),o0.expect.call(void 0,J0.TokenType.bracketR)}function ZP(){if(V0.eat.call(void 0,J0.TokenType.question))ZP();else s20()}function rS(){if(ZP(),!O1.state.noAnonFunctionType&&V0.eat.call(void 0,J0.TokenType.arrow))z9()}function oS(){V0.eat.call(void 0,J0.TokenType.bitwiseAND),rS();while(V0.eat.call(void 0,J0.TokenType.bitwiseAND))rS()}function a20(){V0.eat.call(void 0,J0.TokenType.bitwiseOR),oS();while(V0.eat.call(void 0,J0.TokenType.bitwiseOR))oS()}function z9(){a20()}function TQ(){V6()}$5.flowParseTypeAnnotation=TQ;function QP(){if(V5.parseIdentifier.call(void 0),V0.match.call(void 0,J0.TokenType.colon))TQ()}function eB(){if(V0.match.call(void 0,J0.TokenType.plus)||V0.match.call(void 0,J0.TokenType.minus))V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].isType=!0}$5.flowParseVariance=eB;function r20(Z){if(V0.match.call(void 0,J0.TokenType.colon))iB();V5.parseFunctionBody.call(void 0,!1,Z)}$5.flowParseFunctionBodyAndFinish=r20;function o20(Z,Q,Y){if(V0.match.call(void 0,J0.TokenType.questionDot)&&V0.lookaheadType.call(void 0)===J0.TokenType.lessThan){if(Q){Y.stop=!0;return}V0.next.call(void 0),WZ(),o0.expect.call(void 0,J0.TokenType.parenL),V5.parseCallExpressionArguments.call(void 0);return}else if(!Q&&V0.match.call(void 0,J0.TokenType.lessThan)){let J=O1.state.snapshot();if(WZ(),o0.expect.call(void 0,J0.TokenType.parenL),V5.parseCallExpressionArguments.call(void 0),O1.state.error)O1.state.restoreFromSnapshot(J);else return}V5.baseParseSubscript.call(void 0,Z,Q,Y)}$5.flowParseSubscript=o20;function t20(){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Z=O1.state.snapshot();if(WZ(),O1.state.error)O1.state.restoreFromSnapshot(Z)}}$5.flowStartParseNewArguments=t20;function e20(){if(V0.match.call(void 0,J0.TokenType.name)&&O1.state.contextualKeyword===C1.ContextualKeyword._interface){let Z=V0.pushTypeContext.call(void 0,0);return V0.next.call(void 0),sB(),V0.popTypeContext.call(void 0,Z),!0}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._enum))return YP(),!0;return!1}$5.flowTryParseStatement=e20;function ZZ0(){if(o0.isContextual.call(void 0,C1.ContextualKeyword._enum))return YP(),!0;return!1}$5.flowTryParseExportDefaultExpression=ZZ0;function QZ0(Z){if(Z===C1.ContextualKeyword._declare){if(V0.match.call(void 0,J0.TokenType._class)||V0.match.call(void 0,J0.TokenType.name)||V0.match.call(void 0,J0.TokenType._function)||V0.match.call(void 0,J0.TokenType._var)||V0.match.call(void 0,J0.TokenType._export)){let Q=V0.pushTypeContext.call(void 0,1);lB(),V0.popTypeContext.call(void 0,Q)}}else if(V0.match.call(void 0,J0.TokenType.name)){if(Z===C1.ContextualKeyword._interface){let Q=V0.pushTypeContext.call(void 0,1);sB(),V0.popTypeContext.call(void 0,Q)}else if(Z===C1.ContextualKeyword._type){let Q=V0.pushTypeContext.call(void 0,1);aB(),V0.popTypeContext.call(void 0,Q)}else if(Z===C1.ContextualKeyword._opaque){let Q=V0.pushTypeContext.call(void 0,1);rB(!1),V0.popTypeContext.call(void 0,Q)}}o0.semicolon.call(void 0)}$5.flowParseIdentifierStatement=QZ0;function YZ0(){return o0.isContextual.call(void 0,C1.ContextualKeyword._type)||o0.isContextual.call(void 0,C1.ContextualKeyword._interface)||o0.isContextual.call(void 0,C1.ContextualKeyword._opaque)||o0.isContextual.call(void 0,C1.ContextualKeyword._enum)}$5.flowShouldParseExportDeclaration=YZ0;function JZ0(){return V0.match.call(void 0,J0.TokenType.name)&&(O1.state.contextualKeyword===C1.ContextualKeyword._type||O1.state.contextualKeyword===C1.ContextualKeyword._interface||O1.state.contextualKeyword===C1.ContextualKeyword._opaque||O1.state.contextualKeyword===C1.ContextualKeyword._enum)}$5.flowShouldDisallowExportDefaultSpecifier=JZ0;function qZ0(){if(o0.isContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.pushTypeContext.call(void 0,1);if(V0.next.call(void 0),V0.match.call(void 0,J0.TokenType.braceL))K2.parseExportSpecifiers.call(void 0),K2.parseExportFrom.call(void 0);else aB();V0.popTypeContext.call(void 0,Z)}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._opaque)){let Z=V0.pushTypeContext.call(void 0,1);V0.next.call(void 0),rB(!1),V0.popTypeContext.call(void 0,Z)}else if(o0.isContextual.call(void 0,C1.ContextualKeyword._interface)){let Z=V0.pushTypeContext.call(void 0,1);V0.next.call(void 0),sB(),V0.popTypeContext.call(void 0,Z)}else K2.parseStatement.call(void 0,!0)}$5.flowParseExportDeclaration=qZ0;function KZ0(){return V0.match.call(void 0,J0.TokenType.star)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)&&V0.lookaheadType.call(void 0)===J0.TokenType.star}$5.flowShouldParseExportStar=KZ0;function VZ0(){if(o0.eatContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.pushTypeContext.call(void 0,2);K2.baseParseExportStar.call(void 0),V0.popTypeContext.call(void 0,Z)}else K2.baseParseExportStar.call(void 0)}$5.flowParseExportStar=VZ0;function DZ0(Z){if(Z&&V0.match.call(void 0,J0.TokenType.lessThan))WZ();if(o0.isContextual.call(void 0,C1.ContextualKeyword._implements)){let Q=V0.pushTypeContext.call(void 0,0);V0.next.call(void 0),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType._implements;do if(gD(),V0.match.call(void 0,J0.TokenType.lessThan))WZ();while(V0.eat.call(void 0,J0.TokenType.comma));V0.popTypeContext.call(void 0,Q)}}$5.flowAfterParseClassSuper=DZ0;function zZ0(){if(V0.match.call(void 0,J0.TokenType.lessThan)){if(D6(),!V0.match.call(void 0,J0.TokenType.parenL))o0.unexpected.call(void 0)}}$5.flowStartParseObjPropValue=zZ0;function HZ0(){let Z=V0.pushTypeContext.call(void 0,0);if(V0.eat.call(void 0,J0.TokenType.question),V0.match.call(void 0,J0.TokenType.colon))TQ();V0.popTypeContext.call(void 0,Z)}$5.flowParseAssignableListItemTypes=HZ0;function GZ0(){if(V0.match.call(void 0,J0.TokenType._typeof)||o0.isContextual.call(void 0,C1.ContextualKeyword._type)){let Z=V0.lookaheadTypeAndKeyword.call(void 0);if(S20(Z)||Z.type===J0.TokenType.braceL||Z.type===J0.TokenType.star)V0.next.call(void 0)}}$5.flowStartParseImportSpecifiers=GZ0;function WZ0(){let Z=O1.state.contextualKeyword===C1.ContextualKeyword._type||O1.state.type===J0.TokenType._typeof;if(Z)V0.next.call(void 0);else V5.parseIdentifier.call(void 0);if(o0.isContextual.call(void 0,C1.ContextualKeyword._as)&&!o0.isLookaheadContextual.call(void 0,C1.ContextualKeyword._as))if(V5.parseIdentifier.call(void 0),Z&&!V0.match.call(void 0,J0.TokenType.name)&&!(O1.state.type&J0.TokenType.IS_KEYWORD));else V5.parseIdentifier.call(void 0);else{if(Z&&(V0.match.call(void 0,J0.TokenType.name)||!!(O1.state.type&J0.TokenType.IS_KEYWORD)))V5.parseIdentifier.call(void 0);if(o0.eatContextual.call(void 0,C1.ContextualKeyword._as))V5.parseIdentifier.call(void 0)}}$5.flowParseImportSpecifier=WZ0;function UZ0(){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Z=V0.pushTypeContext.call(void 0,0);D6(),V0.popTypeContext.call(void 0,Z)}}$5.flowStartParseFunctionParams=UZ0;function $Z0(){if(V0.match.call(void 0,J0.TokenType.colon))TQ()}$5.flowAfterParseVarHead=$Z0;function BZ0(){if(V0.match.call(void 0,J0.TokenType.colon)){let Z=O1.state.noAnonFunctionType;O1.state.noAnonFunctionType=!0,TQ(),O1.state.noAnonFunctionType=Z}}$5.flowStartParseAsyncArrowFromCallExpression=BZ0;function OZ0(Z,Q){if(V0.match.call(void 0,J0.TokenType.lessThan)){let Y=O1.state.snapshot(),J=V5.baseParseMaybeAssign.call(void 0,Z,Q);if(O1.state.error)O1.state.restoreFromSnapshot(Y),O1.state.type=J0.TokenType.typeParameterStart;else return J;let q=V0.pushTypeContext.call(void 0,0);if(D6(),V0.popTypeContext.call(void 0,q),J=V5.baseParseMaybeAssign.call(void 0,Z,Q),J)return!0;o0.unexpected.call(void 0)}return V5.baseParseMaybeAssign.call(void 0,Z,Q)}$5.flowParseMaybeAssign=OZ0;function XZ0(){if(V0.match.call(void 0,J0.TokenType.colon)){let Z=V0.pushTypeContext.call(void 0,0),Q=O1.state.snapshot(),Y=O1.state.noAnonFunctionType;if(O1.state.noAnonFunctionType=!0,iB(),O1.state.noAnonFunctionType=Y,o0.canInsertSemicolon.call(void 0))o0.unexpected.call(void 0);if(!V0.match.call(void 0,J0.TokenType.arrow))o0.unexpected.call(void 0);if(O1.state.error)O1.state.restoreFromSnapshot(Q);V0.popTypeContext.call(void 0,Z)}return V0.eat.call(void 0,J0.TokenType.arrow)}$5.flowParseArrow=XZ0;function FZ0(Z,Q=!1){if(O1.state.tokens[O1.state.tokens.length-1].contextualKeyword===C1.ContextualKeyword._async&&V0.match.call(void 0,J0.TokenType.lessThan)){let Y=O1.state.snapshot();if(AZ0()&&!O1.state.error)return;O1.state.restoreFromSnapshot(Y)}V5.baseParseSubscripts.call(void 0,Z,Q)}$5.flowParseSubscripts=FZ0;function AZ0(){O1.state.scopeDepth++;let Z=O1.state.tokens.length;if(K2.parseFunctionParams.call(void 0),!V5.parseArrow.call(void 0))return!1;return V5.parseArrowExpression.call(void 0,Z),!0}function YP(){o0.expectContextual.call(void 0,C1.ContextualKeyword._enum),O1.state.tokens[O1.state.tokens.length-1].type=J0.TokenType._enum,V5.parseIdentifier.call(void 0),wZ0()}function wZ0(){if(o0.eatContextual.call(void 0,C1.ContextualKeyword._of))V0.next.call(void 0);o0.expect.call(void 0,J0.TokenType.braceL),EZ0(),o0.expect.call(void 0,J0.TokenType.braceR)}function EZ0(){while(!V0.match.call(void 0,J0.TokenType.braceR)&&!O1.state.error){if(V0.eat.call(void 0,J0.TokenType.ellipsis))break;if(IZ0(),!V0.match.call(void 0,J0.TokenType.braceR))o0.expect.call(void 0,J0.TokenType.comma)}}function IZ0(){if(V5.parseIdentifier.call(void 0),V0.eat.call(void 0,J0.TokenType.eq))V0.next.call(void 0)}});var YJ=k((a5)=>{Object.defineProperty(a5,"__esModule",{value:!0});var CZ0=KO(),u8=o3(),u5=RQ(),h0=Z8(),j1=U8(),V2=zD(),M0=k1(),JP=M9(),I0=j9(),n1=GZ(),D2=LD(),Y1=t4();function RZ0(){if(JO(M0.TokenType.eof),I0.state.scopes.push(new V2.Scope(0,I0.state.tokens.length,!0)),I0.state.scopeDepth!==0)throw Error(`Invalid scope depth at end of file: ${I0.state.scopeDepth}`);return new CZ0.File(I0.state.tokens,I0.state.scopes)}a5.parseTopLevel=RZ0;function P7(Z){if(I0.isFlowEnabled){if(u8.flowTryParseStatement.call(void 0))return}if(h0.match.call(void 0,M0.TokenType.at))YO();LZ0(Z)}a5.parseStatement=P7;function LZ0(Z){if(I0.isTypeScriptEnabled){if(u5.tsTryParseStatementContent.call(void 0))return}let Q=I0.state.type;switch(Q){case M0.TokenType._break:case M0.TokenType._continue:jZ0();return;case M0.TokenType._debugger:NZ0();return;case M0.TokenType._do:SZ0();return;case M0.TokenType._for:PZ0();return;case M0.TokenType._function:if(h0.lookaheadType.call(void 0)===M0.TokenType.dot)break;if(!Z)Y1.unexpected.call(void 0);vZ0();return;case M0.TokenType._class:if(!Z)Y1.unexpected.call(void 0);cD(!0);return;case M0.TokenType._if:bZ0();return;case M0.TokenType._return:kZ0();return;case M0.TokenType._switch:yZ0();return;case M0.TokenType._throw:hZ0();return;case M0.TokenType._try:uZ0();return;case M0.TokenType._let:case M0.TokenType._const:if(!Z)Y1.unexpected.call(void 0);case M0.TokenType._var:mD(Q!==M0.TokenType._var);return;case M0.TokenType._while:fZ0();return;case M0.TokenType.braceL:vQ();return;case M0.TokenType.semi:gZ0();return;case M0.TokenType._export:case M0.TokenType._import:{let q=h0.lookaheadType.call(void 0);if(q===M0.TokenType.parenL||q===M0.TokenType.dot)break;if(h0.next.call(void 0),Q===M0.TokenType._import)XP();else $P();return}case M0.TokenType.name:if(I0.state.contextualKeyword===j1.ContextualKeyword._async){let q=I0.state.start,K=I0.state.snapshot();if(h0.next.call(void 0),h0.match.call(void 0,M0.TokenType._function)&&!Y1.canInsertSemicolon.call(void 0)){Y1.expect.call(void 0,M0.TokenType._function),zJ(q,!0);return}else I0.state.restoreFromSnapshot(K)}else if(I0.state.contextualKeyword===j1.ContextualKeyword._using&&!Y1.hasFollowingLineBreak.call(void 0)&&h0.lookaheadType.call(void 0)===M0.TokenType.name){mD(!0);return}else if(VP()){Y1.expectContextual.call(void 0,j1.ContextualKeyword._await),mD(!0);return}default:break}let Y=I0.state.tokens.length;n1.parseExpression.call(void 0);let J=null;if(I0.state.tokens.length===Y+1){let q=I0.state.tokens[I0.state.tokens.length-1];if(q.type===M0.TokenType.name)J=q.contextualKeyword}if(J==null){Y1.semicolon.call(void 0);return}if(h0.eat.call(void 0,M0.TokenType.colon))mZ0();else cZ0(J)}function VP(){if(!Y1.isContextual.call(void 0,j1.ContextualKeyword._await))return!1;let Z=I0.state.snapshot();if(h0.next.call(void 0),!Y1.isContextual.call(void 0,j1.ContextualKeyword._using)||Y1.hasPrecedingLineBreak.call(void 0))return I0.state.restoreFromSnapshot(Z),!1;if(h0.next.call(void 0),!h0.match.call(void 0,M0.TokenType.name)||Y1.hasPrecedingLineBreak.call(void 0))return I0.state.restoreFromSnapshot(Z),!1;return I0.state.restoreFromSnapshot(Z),!0}function YO(){while(h0.match.call(void 0,M0.TokenType.at))DP()}a5.parseDecorators=YO;function DP(){if(h0.next.call(void 0),h0.eat.call(void 0,M0.TokenType.parenL))n1.parseExpression.call(void 0),Y1.expect.call(void 0,M0.TokenType.parenR);else{n1.parseIdentifier.call(void 0);while(h0.eat.call(void 0,M0.TokenType.dot))n1.parseIdentifier.call(void 0);MZ0()}}function MZ0(){if(I0.isTypeScriptEnabled)u5.tsParseMaybeDecoratorArguments.call(void 0);else zP()}function zP(){if(h0.eat.call(void 0,M0.TokenType.parenL))n1.parseCallExpressionArguments.call(void 0)}a5.baseParseMaybeDecoratorArguments=zP;function jZ0(){if(h0.next.call(void 0),!Y1.isLineTerminator.call(void 0))n1.parseIdentifier.call(void 0),Y1.semicolon.call(void 0)}function NZ0(){h0.next.call(void 0),Y1.semicolon.call(void 0)}function SZ0(){h0.next.call(void 0),P7(!1),Y1.expect.call(void 0,M0.TokenType._while),n1.parseParenExpression.call(void 0),h0.eat.call(void 0,M0.TokenType.semi)}function PZ0(){I0.state.scopeDepth++;let Z=I0.state.tokens.length;_Z0();let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}function TZ0(){if(!Y1.isContextual.call(void 0,j1.ContextualKeyword._using))return!1;if(Y1.isLookaheadContextual.call(void 0,j1.ContextualKeyword._of))return!1;return!0}function _Z0(){h0.next.call(void 0);let Z=!1;if(Y1.isContextual.call(void 0,j1.ContextualKeyword._await))Z=!0,h0.next.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.parenL),h0.match.call(void 0,M0.TokenType.semi)){if(Z)Y1.unexpected.call(void 0);ZO();return}let Q=VP();if(Q||h0.match.call(void 0,M0.TokenType._var)||h0.match.call(void 0,M0.TokenType._let)||h0.match.call(void 0,M0.TokenType._const)||TZ0()){if(Q)Y1.expectContextual.call(void 0,j1.ContextualKeyword._await);if(h0.next.call(void 0),HP(!0,I0.state.type!==M0.TokenType._var),h0.match.call(void 0,M0.TokenType._in)||Y1.isContextual.call(void 0,j1.ContextualKeyword._of)){qP(Z);return}ZO();return}if(n1.parseExpression.call(void 0,!0),h0.match.call(void 0,M0.TokenType._in)||Y1.isContextual.call(void 0,j1.ContextualKeyword._of)){qP(Z);return}if(Z)Y1.unexpected.call(void 0);ZO()}function vZ0(){let Z=I0.state.start;h0.next.call(void 0),zJ(Z,!0)}function bZ0(){if(h0.next.call(void 0),n1.parseParenExpression.call(void 0),P7(!1),h0.eat.call(void 0,M0.TokenType._else))P7(!1)}function kZ0(){if(h0.next.call(void 0),!Y1.isLineTerminator.call(void 0))n1.parseExpression.call(void 0),Y1.semicolon.call(void 0)}function yZ0(){h0.next.call(void 0),n1.parseParenExpression.call(void 0),I0.state.scopeDepth++;let Z=I0.state.tokens.length;Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.match.call(void 0,M0.TokenType.braceR)&&!I0.state.error)if(h0.match.call(void 0,M0.TokenType._case)||h0.match.call(void 0,M0.TokenType._default)){let Y=h0.match.call(void 0,M0.TokenType._case);if(h0.next.call(void 0),Y)n1.parseExpression.call(void 0);Y1.expect.call(void 0,M0.TokenType.colon)}else P7(!0);h0.next.call(void 0);let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}function hZ0(){h0.next.call(void 0),n1.parseExpression.call(void 0),Y1.semicolon.call(void 0)}function xZ0(){if(D2.parseBindingAtom.call(void 0,!0),I0.isTypeScriptEnabled)u5.tsTryParseTypeAnnotation.call(void 0)}function uZ0(){if(h0.next.call(void 0),vQ(),h0.match.call(void 0,M0.TokenType._catch)){h0.next.call(void 0);let Z=null;if(h0.match.call(void 0,M0.TokenType.parenL))I0.state.scopeDepth++,Z=I0.state.tokens.length,Y1.expect.call(void 0,M0.TokenType.parenL),xZ0(),Y1.expect.call(void 0,M0.TokenType.parenR);if(vQ(),Z!=null){let Q=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Z,Q,!1)),I0.state.scopeDepth--}}if(h0.eat.call(void 0,M0.TokenType._finally))vQ()}function mD(Z){h0.next.call(void 0),HP(!1,Z),Y1.semicolon.call(void 0)}a5.parseVarStatement=mD;function fZ0(){h0.next.call(void 0),n1.parseParenExpression.call(void 0),P7(!1)}function gZ0(){h0.next.call(void 0)}function mZ0(){P7(!0)}function cZ0(Z){if(I0.isTypeScriptEnabled)u5.tsParseIdentifierStatement.call(void 0,Z);else if(I0.isFlowEnabled)u8.flowParseIdentifierStatement.call(void 0,Z);else Y1.semicolon.call(void 0)}function vQ(Z=!1,Q=0){let Y=I0.state.tokens.length;if(I0.state.scopeDepth++,Y1.expect.call(void 0,M0.TokenType.braceL),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;if(JO(M0.TokenType.braceR),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;let J=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(Y,J,Z)),I0.state.scopeDepth--}a5.parseBlock=vQ;function JO(Z){while(!h0.eat.call(void 0,Z)&&!I0.state.error)P7(!0)}a5.parseBlockBody=JO;function ZO(){if(Y1.expect.call(void 0,M0.TokenType.semi),!h0.match.call(void 0,M0.TokenType.semi))n1.parseExpression.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.semi),!h0.match.call(void 0,M0.TokenType.parenR))n1.parseExpression.call(void 0);Y1.expect.call(void 0,M0.TokenType.parenR),P7(!1)}function qP(Z){if(Z)Y1.eatContextual.call(void 0,j1.ContextualKeyword._of);else h0.next.call(void 0);n1.parseExpression.call(void 0),Y1.expect.call(void 0,M0.TokenType.parenR),P7(!1)}function HP(Z,Q){while(!0){if(dZ0(Q),h0.eat.call(void 0,M0.TokenType.eq)){let Y=I0.state.tokens.length-1;n1.parseMaybeAssign.call(void 0,Z),I0.state.tokens[Y].rhsEndIndex=I0.state.tokens.length}if(!h0.eat.call(void 0,M0.TokenType.comma))break}}function dZ0(Z){if(D2.parseBindingAtom.call(void 0,Z),I0.isTypeScriptEnabled)u5.tsAfterParseVarHead.call(void 0);else if(I0.isFlowEnabled)u8.flowAfterParseVarHead.call(void 0)}function zJ(Z,Q,Y=!1){if(h0.match.call(void 0,M0.TokenType.star))h0.next.call(void 0);if(Q&&!Y&&!h0.match.call(void 0,M0.TokenType.name)&&!h0.match.call(void 0,M0.TokenType._yield))Y1.unexpected.call(void 0);let J=null;if(h0.match.call(void 0,M0.TokenType.name)){if(!Q)J=I0.state.tokens.length,I0.state.scopeDepth++;D2.parseBindingIdentifier.call(void 0,!1)}let q=I0.state.tokens.length;I0.state.scopeDepth++,GP(),n1.parseFunctionBodyAndFinish.call(void 0,Z);let K=I0.state.tokens.length;if(I0.state.scopes.push(new V2.Scope(q,K,!0)),I0.state.scopeDepth--,J!==null)I0.state.scopes.push(new V2.Scope(J,K,!0)),I0.state.scopeDepth--}a5.parseFunction=zJ;function GP(Z=!1,Q=0){if(I0.isTypeScriptEnabled)u5.tsStartParseFunctionParams.call(void 0);else if(I0.isFlowEnabled)u8.flowStartParseFunctionParams.call(void 0);if(Y1.expect.call(void 0,M0.TokenType.parenL),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q;if(D2.parseBindingList.call(void 0,M0.TokenType.parenR,!1,!1,Z,Q),Q)I0.state.tokens[I0.state.tokens.length-1].contextId=Q}a5.parseFunctionParams=GP;function cD(Z,Q=!1){let Y=I0.getNextContextId.call(void 0);h0.next.call(void 0),I0.state.tokens[I0.state.tokens.length-1].contextId=Y,I0.state.tokens[I0.state.tokens.length-1].isExpression=!Z;let J=null;if(!Z)J=I0.state.tokens.length,I0.state.scopeDepth++;nZ0(Z,Q),sZ0();let q=I0.state.tokens.length;if(lZ0(Y),I0.state.error)return;if(I0.state.tokens[q].contextId=Y,I0.state.tokens[I0.state.tokens.length-1].contextId=Y,J!==null){let K=I0.state.tokens.length;I0.state.scopes.push(new V2.Scope(J,K,!1)),I0.state.scopeDepth--}}a5.parseClass=cD;function WP(){return h0.match.call(void 0,M0.TokenType.eq)||h0.match.call(void 0,M0.TokenType.semi)||h0.match.call(void 0,M0.TokenType.braceR)||h0.match.call(void 0,M0.TokenType.bang)||h0.match.call(void 0,M0.TokenType.colon)}function UP(){return h0.match.call(void 0,M0.TokenType.parenL)||h0.match.call(void 0,M0.TokenType.lessThan)}function lZ0(Z){Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(h0.eat.call(void 0,M0.TokenType.semi))continue;if(h0.match.call(void 0,M0.TokenType.at)){DP();continue}let Q=I0.state.start;pZ0(Q,Z)}}function pZ0(Z,Q){if(I0.isTypeScriptEnabled)u5.tsParseModifiers.call(void 0,[j1.ContextualKeyword._declare,j1.ContextualKeyword._public,j1.ContextualKeyword._protected,j1.ContextualKeyword._private,j1.ContextualKeyword._override]);let Y=!1;if(h0.match.call(void 0,M0.TokenType.name)&&I0.state.contextualKeyword===j1.ContextualKeyword._static){if(n1.parseIdentifier.call(void 0),UP()){VJ(Z,!1);return}else if(WP()){DJ();return}if(I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._static,Y=!0,h0.match.call(void 0,M0.TokenType.braceL)){I0.state.tokens[I0.state.tokens.length-1].contextId=Q,vQ();return}}iZ0(Z,Y,Q)}function iZ0(Z,Q,Y){if(I0.isTypeScriptEnabled){if(u5.tsTryParseClassMemberWithIsStatic.call(void 0,Q))return}if(h0.eat.call(void 0,M0.TokenType.star)){_Q(Y),VJ(Z,!1);return}_Q(Y);let J=!1,q=I0.state.tokens[I0.state.tokens.length-1];if(q.contextualKeyword===j1.ContextualKeyword._constructor)J=!0;if(QO(),UP())VJ(Z,J);else if(WP())DJ();else if(q.contextualKeyword===j1.ContextualKeyword._async&&!Y1.isLineTerminator.call(void 0)){if(I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._async,h0.match.call(void 0,M0.TokenType.star))h0.next.call(void 0);_Q(Y),QO(),VJ(Z,!1)}else if((q.contextualKeyword===j1.ContextualKeyword._get||q.contextualKeyword===j1.ContextualKeyword._set)&&!(Y1.isLineTerminator.call(void 0)&&h0.match.call(void 0,M0.TokenType.star))){if(q.contextualKeyword===j1.ContextualKeyword._get)I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._get;else I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._set;_Q(Y),VJ(Z,!1)}else if(q.contextualKeyword===j1.ContextualKeyword._accessor&&!Y1.isLineTerminator.call(void 0))_Q(Y),DJ();else if(Y1.isLineTerminator.call(void 0))DJ();else Y1.unexpected.call(void 0)}function VJ(Z,Q){if(I0.isTypeScriptEnabled)u5.tsTryParseTypeParameters.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.lessThan))u8.flowParseTypeParameterDeclaration.call(void 0)}n1.parseMethod.call(void 0,Z,Q)}function _Q(Z){n1.parsePropertyName.call(void 0,Z)}a5.parseClassPropertyName=_Q;function QO(){if(I0.isTypeScriptEnabled){let Z=h0.pushTypeContext.call(void 0,0);h0.eat.call(void 0,M0.TokenType.question),h0.popTypeContext.call(void 0,Z)}}a5.parsePostMemberNameModifiers=QO;function DJ(){if(I0.isTypeScriptEnabled)h0.eatTypeToken.call(void 0,M0.TokenType.bang),u5.tsTryParseTypeAnnotation.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.colon))u8.flowParseTypeAnnotation.call(void 0)}if(h0.match.call(void 0,M0.TokenType.eq)){let Z=I0.state.tokens.length;h0.next.call(void 0),n1.parseMaybeAssign.call(void 0),I0.state.tokens[Z].rhsEndIndex=I0.state.tokens.length}Y1.semicolon.call(void 0)}a5.parseClassProperty=DJ;function nZ0(Z,Q=!1){if(I0.isTypeScriptEnabled&&(!Z||Q)&&Y1.isContextual.call(void 0,j1.ContextualKeyword._implements))return;if(h0.match.call(void 0,M0.TokenType.name))D2.parseBindingIdentifier.call(void 0,!0);if(I0.isTypeScriptEnabled)u5.tsTryParseTypeParameters.call(void 0);else if(I0.isFlowEnabled){if(h0.match.call(void 0,M0.TokenType.lessThan))u8.flowParseTypeParameterDeclaration.call(void 0)}}function sZ0(){let Z=!1;if(h0.eat.call(void 0,M0.TokenType._extends))n1.parseExprSubscripts.call(void 0),Z=!0;else Z=!1;if(I0.isTypeScriptEnabled)u5.tsAfterParseClassSuper.call(void 0,Z);else if(I0.isFlowEnabled)u8.flowAfterParseClassSuper.call(void 0,Z)}function $P(){let Z=I0.state.tokens.length-1;if(I0.isTypeScriptEnabled){if(u5.tsTryParseExport.call(void 0))return}if(tZ0())eZ0();else if(oZ0()){if(n1.parseIdentifier.call(void 0),h0.match.call(void 0,M0.TokenType.comma)&&h0.lookaheadType.call(void 0)===M0.TokenType.star)Y1.expect.call(void 0,M0.TokenType.comma),Y1.expect.call(void 0,M0.TokenType.star),Y1.expectContextual.call(void 0,j1.ContextualKeyword._as),n1.parseIdentifier.call(void 0);else BP();HJ()}else if(h0.eat.call(void 0,M0.TokenType._default))aZ0();else if(QQ0())rZ0();else qO(),HJ();I0.state.tokens[Z].rhsEndIndex=I0.state.tokens.length}a5.parseExport=$P;function aZ0(){if(I0.isTypeScriptEnabled){if(u5.tsTryParseExportDefaultExpression.call(void 0))return}if(I0.isFlowEnabled){if(u8.flowTryParseExportDefaultExpression.call(void 0))return}let Z=I0.state.start;if(h0.eat.call(void 0,M0.TokenType._function))zJ(Z,!0,!0);else if(Y1.isContextual.call(void 0,j1.ContextualKeyword._async)&&h0.lookaheadType.call(void 0)===M0.TokenType._function)Y1.eatContextual.call(void 0,j1.ContextualKeyword._async),h0.eat.call(void 0,M0.TokenType._function),zJ(Z,!0,!0);else if(h0.match.call(void 0,M0.TokenType._class))cD(!0,!0);else if(h0.match.call(void 0,M0.TokenType.at))YO(),cD(!0,!0);else n1.parseMaybeAssign.call(void 0),Y1.semicolon.call(void 0)}function rZ0(){if(I0.isTypeScriptEnabled)u5.tsParseExportDeclaration.call(void 0);else if(I0.isFlowEnabled)u8.flowParseExportDeclaration.call(void 0);else P7(!0)}function oZ0(){if(I0.isTypeScriptEnabled&&u5.tsIsDeclarationStart.call(void 0))return!1;else if(I0.isFlowEnabled&&u8.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(h0.match.call(void 0,M0.TokenType.name))return I0.state.contextualKeyword!==j1.ContextualKeyword._async;if(!h0.match.call(void 0,M0.TokenType._default))return!1;let Z=h0.nextTokenStart.call(void 0),Q=h0.lookaheadTypeAndKeyword.call(void 0),Y=Q.type===M0.TokenType.name&&Q.contextualKeyword===j1.ContextualKeyword._from;if(Q.type===M0.TokenType.comma)return!0;if(Y){let J=I0.input.charCodeAt(h0.nextTokenStartSince.call(void 0,Z+4));return J===JP.charCodes.quotationMark||J===JP.charCodes.apostrophe}return!1}function BP(){if(h0.eat.call(void 0,M0.TokenType.comma))qO()}function HJ(){if(Y1.eatContextual.call(void 0,j1.ContextualKeyword._from))n1.parseExprAtom.call(void 0),FP();Y1.semicolon.call(void 0)}a5.parseExportFrom=HJ;function tZ0(){if(I0.isFlowEnabled)return u8.flowShouldParseExportStar.call(void 0);else return h0.match.call(void 0,M0.TokenType.star)}function eZ0(){if(I0.isFlowEnabled)u8.flowParseExportStar.call(void 0);else OP()}function OP(){if(Y1.expect.call(void 0,M0.TokenType.star),Y1.isContextual.call(void 0,j1.ContextualKeyword._as))ZQ0();else HJ()}a5.baseParseExportStar=OP;function ZQ0(){h0.next.call(void 0),I0.state.tokens[I0.state.tokens.length-1].type=M0.TokenType._as,n1.parseIdentifier.call(void 0),BP(),HJ()}function QQ0(){return I0.isTypeScriptEnabled&&u5.tsIsDeclarationStart.call(void 0)||I0.isFlowEnabled&&u8.flowShouldParseExportDeclaration.call(void 0)||I0.state.type===M0.TokenType._var||I0.state.type===M0.TokenType._const||I0.state.type===M0.TokenType._let||I0.state.type===M0.TokenType._function||I0.state.type===M0.TokenType._class||Y1.isContextual.call(void 0,j1.ContextualKeyword._async)||h0.match.call(void 0,M0.TokenType.at)}function qO(){let Z=!0;Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(Z)Z=!1;else if(Y1.expect.call(void 0,M0.TokenType.comma),h0.eat.call(void 0,M0.TokenType.braceR))break;YQ0()}}a5.parseExportSpecifiers=qO;function YQ0(){if(I0.isTypeScriptEnabled){u5.tsParseExportSpecifier.call(void 0);return}if(n1.parseIdentifier.call(void 0),I0.state.tokens[I0.state.tokens.length-1].identifierRole=h0.IdentifierRole.ExportAccess,Y1.eatContextual.call(void 0,j1.ContextualKeyword._as))n1.parseIdentifier.call(void 0)}function JQ0(){let Z=I0.state.snapshot();if(Y1.expectContextual.call(void 0,j1.ContextualKeyword._module),Y1.eatContextual.call(void 0,j1.ContextualKeyword._from))if(Y1.isContextual.call(void 0,j1.ContextualKeyword._from))return I0.state.restoreFromSnapshot(Z),!0;else return I0.state.restoreFromSnapshot(Z),!1;else if(h0.match.call(void 0,M0.TokenType.comma))return I0.state.restoreFromSnapshot(Z),!1;else return I0.state.restoreFromSnapshot(Z),!0}function qQ0(){if(Y1.isContextual.call(void 0,j1.ContextualKeyword._module)&&JQ0())h0.next.call(void 0)}function XP(){if(I0.isTypeScriptEnabled&&h0.match.call(void 0,M0.TokenType.name)&&h0.lookaheadType.call(void 0)===M0.TokenType.eq){u5.tsParseImportEqualsDeclaration.call(void 0);return}if(I0.isTypeScriptEnabled&&Y1.isContextual.call(void 0,j1.ContextualKeyword._type)){let Z=h0.lookaheadTypeAndKeyword.call(void 0);if(Z.type===M0.TokenType.name&&Z.contextualKeyword!==j1.ContextualKeyword._from){if(Y1.expectContextual.call(void 0,j1.ContextualKeyword._type),h0.lookaheadType.call(void 0)===M0.TokenType.eq){u5.tsParseImportEqualsDeclaration.call(void 0);return}}else if(Z.type===M0.TokenType.star||Z.type===M0.TokenType.braceL)Y1.expectContextual.call(void 0,j1.ContextualKeyword._type)}if(h0.match.call(void 0,M0.TokenType.string))n1.parseExprAtom.call(void 0);else qQ0(),VQ0(),Y1.expectContextual.call(void 0,j1.ContextualKeyword._from),n1.parseExprAtom.call(void 0);FP(),Y1.semicolon.call(void 0)}a5.parseImport=XP;function KQ0(){return h0.match.call(void 0,M0.TokenType.name)}function KP(){D2.parseImportedIdentifier.call(void 0)}function VQ0(){if(I0.isFlowEnabled)u8.flowStartParseImportSpecifiers.call(void 0);let Z=!0;if(KQ0()){if(KP(),!h0.eat.call(void 0,M0.TokenType.comma))return}if(h0.match.call(void 0,M0.TokenType.star)){h0.next.call(void 0),Y1.expectContextual.call(void 0,j1.ContextualKeyword._as),KP();return}Y1.expect.call(void 0,M0.TokenType.braceL);while(!h0.eat.call(void 0,M0.TokenType.braceR)&&!I0.state.error){if(Z)Z=!1;else{if(h0.eat.call(void 0,M0.TokenType.colon))Y1.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import.");if(Y1.expect.call(void 0,M0.TokenType.comma),h0.eat.call(void 0,M0.TokenType.braceR))break}DQ0()}}function DQ0(){if(I0.isTypeScriptEnabled){u5.tsParseImportSpecifier.call(void 0);return}if(I0.isFlowEnabled){u8.flowParseImportSpecifier.call(void 0);return}if(D2.parseImportedIdentifier.call(void 0),Y1.isContextual.call(void 0,j1.ContextualKeyword._as))I0.state.tokens[I0.state.tokens.length-1].identifierRole=h0.IdentifierRole.ImportAccess,h0.next.call(void 0),D2.parseImportedIdentifier.call(void 0)}function FP(){if(h0.match.call(void 0,M0.TokenType._with)||Y1.isContextual.call(void 0,j1.ContextualKeyword._assert)&&!Y1.hasPrecedingLineBreak.call(void 0))h0.next.call(void 0),n1.parseObj.call(void 0,!1,!1)}});var EP=k((DO)=>{Object.defineProperty(DO,"__esModule",{value:!0});var AP=Z8(),wP=M9(),VO=j9(),zQ0=YJ();function HQ0(){if(VO.state.pos===0&&VO.input.charCodeAt(0)===wP.charCodes.numberSign&&VO.input.charCodeAt(1)===wP.charCodes.exclamationMark)AP.skipLineComment.call(void 0,2);return AP.nextToken.call(void 0),zQ0.parseTopLevel.call(void 0)}DO.parseFile=HQ0});var KO=k((lD)=>{Object.defineProperty(lD,"__esModule",{value:!0});var dD=j9(),GQ0=EP();class IP{constructor(Z,Q){this.tokens=Z,this.scopes=Q}}lD.File=IP;function WQ0(Z,Q,Y,J){if(J&&Y)throw Error("Cannot combine flow and typescript plugins.");dD.initParser.call(void 0,Z,Q,Y,J);let q=GQ0.parseFile.call(void 0);if(dD.state.error)throw dD.augmentError.call(void 0,dD.state.error);return q}lD.parse=WQ0});var CP=k((zO)=>{Object.defineProperty(zO,"__esModule",{value:!0});var UQ0=U8();function $Q0(Z){let Q=Z.currentIndex(),Y=0,J=Z.currentToken();do{let q=Z.tokens[Q];if(q.isOptionalChainStart)Y++;if(q.isOptionalChainEnd)Y--;if(Y+=q.numNullishCoalesceStarts,Y-=q.numNullishCoalesceEnds,q.contextualKeyword===UQ0.ContextualKeyword._await&&q.identifierRole==null&&q.scopeDepth===J.scopeDepth)return!0;Q+=1}while(Y>0&&Q<Z.tokens.length);return!1}zO.default=$Q0});var RP=k((HO)=>{Object.defineProperty(HO,"__esModule",{value:!0});function BQ0(Z){return Z&&Z.__esModule?Z:{default:Z}}var pD=k1(),OQ0=CP(),XQ0=BQ0(OQ0);class GJ{__init(){this.resultCode=""}__init2(){this.resultMappings=Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(Z,Q,Y,J,q){this.code=Z,this.tokens=Q,this.isFlowEnabled=Y,this.disableESTransforms=J,this.helperManager=q,GJ.prototype.__init.call(this),GJ.prototype.__init2.call(this),GJ.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(Z){this.resultCode=Z.resultCode,this.tokenIndex=Z.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(Z){let Q=this.resultCode.slice(Z.resultCode.length);return this.resultCode=Z.resultCode,Q}reset(){this.resultCode="",this.resultMappings=Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(Z,Q){return this.matches1AtIndex(Z,pD.TokenType.name)&&this.tokens[Z].contextualKeyword===Q}identifierNameAtIndex(Z){return this.identifierNameForToken(this.tokens[Z])}identifierNameAtRelativeIndex(Z){return this.identifierNameForToken(this.tokenAtRelativeIndex(Z))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(Z){return this.code.slice(Z.start,Z.end)}rawCodeForToken(Z){return this.code.slice(Z.start,Z.end)}stringValueAtIndex(Z){return this.stringValueForToken(this.tokens[Z])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(Z){return this.code.slice(Z.start+1,Z.end-1)}matches1AtIndex(Z,Q){return this.tokens[Z].type===Q}matches2AtIndex(Z,Q,Y){return this.tokens[Z].type===Q&&this.tokens[Z+1].type===Y}matches3AtIndex(Z,Q,Y,J){return this.tokens[Z].type===Q&&this.tokens[Z+1].type===Y&&this.tokens[Z+2].type===J}matches1(Z){return this.tokens[this.tokenIndex].type===Z}matches2(Z,Q){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q}matches3(Z,Q,Y){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y}matches4(Z,Q,Y,J){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y&&this.tokens[this.tokenIndex+3].type===J}matches5(Z,Q,Y,J,q){return this.tokens[this.tokenIndex].type===Z&&this.tokens[this.tokenIndex+1].type===Q&&this.tokens[this.tokenIndex+2].type===Y&&this.tokens[this.tokenIndex+3].type===J&&this.tokens[this.tokenIndex+4].type===q}matchesContextual(Z){return this.matchesContextualAtIndex(this.tokenIndex,Z)}matchesContextIdAndLabel(Z,Q){return this.matches1(Z)&&this.currentToken().contextId===Q}previousWhitespaceAndComments(){let Z=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);if(this.isFlowEnabled)Z=Z.replace(/@flow/g,"");return Z}replaceToken(Z){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=Z,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(Z){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=Z,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let Z=0;while(!this.isAtEnd()){if(this.matches1(pD.TokenType.braceL))Z++;else if(this.matches1(pD.TokenType.braceR)){if(Z===0)return;Z--}this.removeToken()}}copyExpectedToken(Z){if(this.tokens[this.tokenIndex].type!==Z)throw Error(`Expected token ${Z}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(Z){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=Z,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let Z=this.currentToken();if(Z.numNullishCoalesceStarts||Z.isOptionalChainStart)Z.isAsyncOperation=XQ0.default.call(void 0,this);if(this.disableESTransforms)return;if(Z.numNullishCoalesceStarts)for(let Q=0;Q<Z.numNullishCoalesceStarts;Q++){if(Z.isAsyncOperation)this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce");else this.resultCode+=this.helperManager.getHelperName("nullishCoalesce");this.resultCode+="("}if(Z.isOptionalChainStart){if(Z.isAsyncOperation)this.resultCode+="await ";if(this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===pD.TokenType._delete)if(Z.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete");else this.resultCode+=this.helperManager.getHelperName("optionalChainDelete");else if(Z.isAsyncOperation)this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain");else this.resultCode+=this.helperManager.getHelperName("optionalChain");this.resultCode+="(["}}appendTokenSuffix(){let Z=this.currentToken();if(Z.isOptionalChainEnd&&!this.disableESTransforms)this.resultCode+="])";if(Z.numNullishCoalesceEnds&&!this.disableESTransforms)for(let Q=0;Q<Z.numNullishCoalesceEnds;Q++)this.resultCode+="))"}appendCode(Z){this.resultCode+=Z}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let Z=this.currentToken();return this.code.slice(Z.start,Z.end)}tokenAtRelativeIndex(Z){return this.tokens[this.tokenIndex+Z]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}}HO.default=GJ});var jP=k((WO)=>{Object.defineProperty(WO,"__esModule",{value:!0});var LP=U8(),d1=k1();function FQ0(Z,Q,Y,J){let q=Q.snapshot(),K=AQ0(Q),V=[],D=[],z=[],H=null,G=[],W=[],$=Q.currentToken().contextId;if($==null)throw Error("Expected non-null class context ID on class open-brace.");Q.nextToken();while(!Q.matchesContextIdAndLabel(d1.TokenType.braceR,$))if(Q.matchesContextual(LP.ContextualKeyword._constructor)&&!Q.currentToken().isType)({constructorInitializerStatements:V,constructorInsertPos:H}=MP(Q));else if(Q.matches1(d1.TokenType.semi)){if(!J)W.push({start:Q.currentIndex(),end:Q.currentIndex()+1});Q.nextToken()}else if(Q.currentToken().isType)Q.nextToken();else{let B=Q.currentIndex(),O=!1,A=!1,w=!1;while(iD(Q.currentToken())){if(Q.matches1(d1.TokenType._static))O=!0;if(Q.matches1(d1.TokenType.hash))A=!0;if(Q.matches1(d1.TokenType._declare)||Q.matches1(d1.TokenType._abstract))w=!0;Q.nextToken()}if(O&&Q.matches1(d1.TokenType.braceL)){GO(Q,$);continue}if(A){GO(Q,$);continue}if(Q.matchesContextual(LP.ContextualKeyword._constructor)&&!Q.currentToken().isType){({constructorInitializerStatements:V,constructorInsertPos:H}=MP(Q));continue}let E=Q.currentIndex();if(wQ0(Q),Q.matches1(d1.TokenType.lessThan)||Q.matches1(d1.TokenType.parenL)){GO(Q,$);continue}while(Q.currentToken().isType)Q.nextToken();if(Q.matches1(d1.TokenType.eq)){let S=Q.currentIndex(),X=Q.currentToken().rhsEndIndex;if(X==null)throw Error("Expected rhsEndIndex on class field assignment.");Q.nextToken();while(Q.currentIndex()<X)Z.processToken();let F;if(O)F=Y.claimFreeName("__initStatic"),z.push(F);else F=Y.claimFreeName("__init"),D.push(F);G.push({initializerName:F,equalsIndex:S,start:E,end:Q.currentIndex()})}else if(!J||w)W.push({start:B,end:Q.currentIndex()})}if(Q.restoreToSnapshot(q),J)return{headerInfo:K,constructorInitializerStatements:V,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:H,fields:[],rangesToRemove:W};else return{headerInfo:K,constructorInitializerStatements:V,instanceInitializerNames:D,staticInitializerNames:z,constructorInsertPos:H,fields:G,rangesToRemove:W}}WO.default=FQ0;function GO(Z,Q){Z.nextToken();while(Z.currentToken().contextId!==Q)Z.nextToken();while(iD(Z.tokenAtRelativeIndex(-1)))Z.previousToken()}function AQ0(Z){let Q=Z.currentToken(),Y=Q.contextId;if(Y==null)throw Error("Expected context ID on class token.");let J=Q.isExpression;if(J==null)throw Error("Expected isExpression on class token.");let q=null,K=!1;if(Z.nextToken(),Z.matches1(d1.TokenType.name))q=Z.identifierName();while(!Z.matchesContextIdAndLabel(d1.TokenType.braceL,Y)){if(Z.matches1(d1.TokenType._extends)&&!Z.currentToken().isType)K=!0;Z.nextToken()}return{isExpression:J,className:q,hasSuperclass:K}}function MP(Z){let Q=[];Z.nextToken();let Y=Z.currentToken().contextId;if(Y==null)throw Error("Expected context ID on open-paren starting constructor params.");while(!Z.matchesContextIdAndLabel(d1.TokenType.parenR,Y))if(Z.currentToken().contextId===Y){if(Z.nextToken(),iD(Z.currentToken())){Z.nextToken();while(iD(Z.currentToken()))Z.nextToken();let K=Z.currentToken();if(K.type!==d1.TokenType.name)throw Error("Expected identifier after access modifiers in constructor arg.");let V=Z.identifierNameForToken(K);Q.push(`this.${V} = ${V}`)}}else Z.nextToken();Z.nextToken();while(Z.currentToken().isType)Z.nextToken();let J=Z.currentIndex(),q=!1;while(!Z.matchesContextIdAndLabel(d1.TokenType.braceR,Y)){if(!q&&Z.matches2(d1.TokenType._super,d1.TokenType.parenL)){Z.nextToken();let K=Z.currentToken().contextId;if(K==null)throw Error("Expected a context ID on the super call");while(!Z.matchesContextIdAndLabel(d1.TokenType.parenR,K))Z.nextToken();J=Z.currentIndex(),q=!0}Z.nextToken()}return Z.nextToken(),{constructorInitializerStatements:Q,constructorInsertPos:J}}function iD(Z){return[d1.TokenType._async,d1.TokenType._get,d1.TokenType._set,d1.TokenType.plus,d1.TokenType.minus,d1.TokenType._readonly,d1.TokenType._static,d1.TokenType._public,d1.TokenType._private,d1.TokenType._protected,d1.TokenType._override,d1.TokenType._abstract,d1.TokenType.star,d1.TokenType._declare,d1.TokenType.hash].includes(Z.type)}function wQ0(Z){if(Z.matches1(d1.TokenType.bracketL)){let Y=Z.currentToken().contextId;if(Y==null)throw Error("Expected class context ID on computed name open bracket.");while(!Z.matchesContextIdAndLabel(d1.TokenType.bracketR,Y))Z.nextToken();Z.nextToken()}else Z.nextToken()}});var $O=k((UO)=>{Object.defineProperty(UO,"__esModule",{value:!0});var NP=k1();function EQ0(Z){if(Z.removeInitialToken(),Z.removeToken(),Z.removeToken(),Z.removeToken(),Z.matches1(NP.TokenType.parenL))Z.removeToken(),Z.removeToken(),Z.removeToken();else while(Z.matches1(NP.TokenType.dot))Z.removeToken(),Z.removeToken()}UO.default=EQ0});var BO=k((nD)=>{Object.defineProperty(nD,"__esModule",{value:!0});var IQ0=Z8(),CQ0=k1(),RQ0={typeDeclarations:new Set,valueDeclarations:new Set};nD.EMPTY_DECLARATION_INFO=RQ0;function LQ0(Z){let Q=new Set,Y=new Set;for(let J=0;J<Z.tokens.length;J++){let q=Z.tokens[J];if(q.type===CQ0.TokenType.name&&IQ0.isTopLevelDeclaration.call(void 0,q))if(q.isType)Q.add(Z.identifierNameForToken(q));else Y.add(Z.identifierNameForToken(q))}return{typeDeclarations:Q,valueDeclarations:Y}}nD.default=LQ0});var XO=k((OO)=>{Object.defineProperty(OO,"__esModule",{value:!0});var MQ0=U8(),SP=k1();function jQ0(Z){let Q=Z.currentIndex();while(!Z.matches1AtIndex(Q,SP.TokenType.braceR))Q++;return Z.matchesContextualAtIndex(Q+1,MQ0.ContextualKeyword._from)&&Z.matches1AtIndex(Q+2,SP.TokenType.string)}OO.default=jQ0});var AO=k((FO)=>{Object.defineProperty(FO,"__esModule",{value:!0});var NQ0=U8(),sD=k1();function SQ0(Z){if(Z.matches2(sD.TokenType._with,sD.TokenType.braceL)||Z.matches2(sD.TokenType.name,sD.TokenType.braceL)&&Z.matchesContextual(NQ0.ContextualKeyword._assert))Z.removeToken(),Z.removeToken(),Z.removeBalancedCode(),Z.removeToken()}FO.removeMaybeImportAttributes=SQ0});var EO=k((wO)=>{Object.defineProperty(wO,"__esModule",{value:!0});var PP=k1();function PQ0(Z,Q,Y,J){if(!Z||Q)return!1;let q=Y.currentToken();if(q.rhsEndIndex==null)throw Error("Expected non-null rhsEndIndex on export token.");let K=q.rhsEndIndex-Y.currentIndex();if(K!==3&&!(K===4&&Y.matches1AtIndex(q.rhsEndIndex-1,PP.TokenType.semi)))return!1;let V=Y.tokenAtRelativeIndex(2);if(V.type!==PP.TokenType.name)return!1;let D=Y.identifierNameForToken(V);return J.typeDeclarations.has(D)&&!J.valueDeclarations.has(D)}wO.default=PQ0});var _P=k((IO)=>{Object.defineProperty(IO,"__esModule",{value:!0});function bQ(Z){return Z&&Z.__esModule?Z:{default:Z}}var aD=Z8(),UZ=U8(),R0=k1(),TQ0=$O(),_Q0=bQ(TQ0),TP=BO(),vQ0=bQ(TP),bQ0=p3(),kQ0=bQ(bQ0),yQ0=XO(),hQ0=bQ(yQ0),rD=AO(),xQ0=EO(),uQ0=bQ(xQ0),fQ0=s9(),gQ0=bQ(fQ0);class WJ extends gQ0.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(Z,Q,Y,J,q,K,V,D,z,H,G,W){super();this.rootTransformer=Z,this.tokens=Q,this.importProcessor=Y,this.nameManager=J,this.helperManager=q,this.reactHotLoaderTransformer=K,this.enableLegacyBabel5ModuleInterop=V,this.enableLegacyTypeScriptModuleInterop=D,this.isTypeScriptTransformEnabled=z,this.isFlowTransformEnabled=H,this.preserveDynamicImport=G,this.keepUnusedImports=W,WJ.prototype.__init.call(this),WJ.prototype.__init2.call(this),WJ.prototype.__init3.call(this),this.declarationInfo=z?vQ0.default.call(void 0,Q):TP.EMPTY_DECLARATION_INFO}getPrefixCode(){let Z="";if(this.hadExport)Z+='Object.defineProperty(exports, "__esModule", {value: true});';return Z}getSuffixCode(){if(this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport)return`
151
151
  module.exports = exports.default;
152
152
  `;return""}process(){if(this.tokens.matches3(R0.TokenType._import,R0.TokenType.name,R0.TokenType.eq))return this.processImportEquals();if(this.tokens.matches1(R0.TokenType._import))return this.processImport(),!0;if(this.tokens.matches2(R0.TokenType._export,R0.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches1(R0.TokenType._export)&&!this.tokens.currentToken().isType)return this.hadExport=!0,this.processExport();if(this.tokens.matches2(R0.TokenType.name,R0.TokenType.postIncDec)){if(this.processPostIncDec())return!0}if(this.tokens.matches1(R0.TokenType.name)||this.tokens.matches1(R0.TokenType.jsxName))return this.processIdentifier();if(this.tokens.matches1(R0.TokenType.eq))return this.processAssignment();if(this.tokens.matches1(R0.TokenType.assign))return this.processComplexAssignment();if(this.tokens.matches1(R0.TokenType.preIncDec))return this.processPreIncDec();return!1}processImportEquals(){let Z=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(this.importProcessor.shouldAutomaticallyElideImportedName(Z))_Q0.default.call(void 0,this.tokens);else this.tokens.replaceToken("const");return!0}processImport(){if(this.tokens.matches2(R0.TokenType._import,R0.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let Q=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${Q}require`);let Y=this.tokens.currentToken().contextId;if(Y==null)throw Error("Expected context ID on dynamic import invocation.");this.tokens.copyToken();while(!this.tokens.matchesContextIdAndLabel(R0.TokenType.parenR,Y))this.rootTransformer.processToken();this.tokens.replaceToken(Q?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let Q=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(Q)),this.tokens.appendCode(this.importProcessor.claimImportCode(Q))}if(rD.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(R0.TokenType.semi))this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(UZ.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,R0.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,UZ.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(R0.TokenType.name)||this.tokens.matches1(R0.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(R0.TokenType.string))return!1;let Z=!1,Q=!1;while(!this.tokens.matches1(R0.TokenType.string)){if(!Z&&this.tokens.matches1(R0.TokenType.braceL)||this.tokens.matches1(R0.TokenType.comma)){if(this.tokens.removeToken(),!this.tokens.matches1(R0.TokenType.braceR))Q=!0;if(this.tokens.matches2(R0.TokenType.name,R0.TokenType.comma)||this.tokens.matches2(R0.TokenType.name,R0.TokenType.braceR)||this.tokens.matches4(R0.TokenType.name,R0.TokenType.name,R0.TokenType.name,R0.TokenType.comma)||this.tokens.matches4(R0.TokenType.name,R0.TokenType.name,R0.TokenType.name,R0.TokenType.braceR))Z=!0}this.tokens.removeToken()}if(this.keepUnusedImports)return!1;if(this.isTypeScriptTransformEnabled)return!Z;else if(this.isFlowTransformEnabled)return Q&&!Z;else return!1}removeRemainingImport(){while(!this.tokens.matches1(R0.TokenType.string))this.tokens.removeToken()}processIdentifier(){let Z=this.tokens.currentToken();if(Z.shadowsGlobal)return!1;if(Z.identifierRole===aD.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(Z.identifierRole!==aD.IdentifierRole.Access)return!1;let Q=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(Z));if(!Q)return!1;let Y=this.tokens.currentIndex()+1;while(Y<this.tokens.tokens.length&&this.tokens.tokens[Y].type===R0.TokenType.parenR)Y++;if(this.tokens.tokens[Y].type===R0.TokenType.parenL)if(this.tokens.tokenAtRelativeIndex(1).type===R0.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==R0.TokenType._new)this.tokens.replaceToken(`${Q}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R0.TokenType.parenR);else this.tokens.replaceToken(`(0, ${Q})`);else this.tokens.replaceToken(Q);return!0}processObjectShorthand(){let Z=this.tokens.identifierName(),Q=this.importProcessor.getIdentifierReplacement(Z);if(!Q)return!1;return this.tokens.replaceToken(`${Z}: ${Q}`),!0}processExport(){if(this.tokens.matches2(R0.TokenType._export,R0.TokenType._enum)||this.tokens.matches3(R0.TokenType._export,R0.TokenType._const,R0.TokenType._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(R0.TokenType._export,R0.TokenType._default)){if(this.tokens.matches3(R0.TokenType._export,R0.TokenType._default,R0.TokenType._enum))return this.hadDefaultExport=!0,!1;return this.processExportDefault(),!0}else if(this.tokens.matches2(R0.TokenType._export,R0.TokenType.braceL))return this.processExportBindings(),!0;else if(this.tokens.matches2(R0.TokenType._export,R0.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,UZ.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(R0.TokenType.braceL)){while(!this.tokens.matches1(R0.TokenType.braceR))this.tokens.removeToken();this.tokens.removeToken()}else if(this.tokens.removeToken(),this.tokens.matches1(R0.TokenType._as))this.tokens.removeToken(),this.tokens.removeToken();if(this.tokens.matchesContextual(UZ.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,R0.TokenType.string))this.tokens.removeToken(),this.tokens.removeToken(),rD.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}if(this.hadNamedExport=!0,this.tokens.matches2(R0.TokenType._export,R0.TokenType._var)||this.tokens.matches2(R0.TokenType._export,R0.TokenType._let)||this.tokens.matches2(R0.TokenType._export,R0.TokenType._const))return this.processExportVar(),!0;else if(this.tokens.matches2(R0.TokenType._export,R0.TokenType._function)||this.tokens.matches3(R0.TokenType._export,R0.TokenType.name,R0.TokenType._function))return this.processExportFunction(),!0;else if(this.tokens.matches2(R0.TokenType._export,R0.TokenType._class)||this.tokens.matches3(R0.TokenType._export,R0.TokenType._abstract,R0.TokenType._class)||this.tokens.matches2(R0.TokenType._export,R0.TokenType.at))return this.processExportClass(),!0;else if(this.tokens.matches2(R0.TokenType._export,R0.TokenType.star))return this.processExportStar(),!0;else throw Error("Unrecognized export syntax.")}processAssignment(){let Z=this.tokens.currentIndex(),Q=this.tokens.tokens[Z-1];if(Q.isType||Q.type!==R0.TokenType.name)return!1;if(Q.shadowsGlobal)return!1;if(Z>=2&&this.tokens.matches1AtIndex(Z-2,R0.TokenType.dot))return!1;if(Z>=2&&[R0.TokenType._var,R0.TokenType._let,R0.TokenType._const].includes(this.tokens.tokens[Z-2].type))return!1;let Y=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(Q));if(!Y)return!1;return this.tokens.copyToken(),this.tokens.appendCode(` ${Y} =`),!0}processComplexAssignment(){let Z=this.tokens.currentIndex(),Q=this.tokens.tokens[Z-1];if(Q.type!==R0.TokenType.name)return!1;if(Q.shadowsGlobal)return!1;if(Z>=2&&this.tokens.matches1AtIndex(Z-2,R0.TokenType.dot))return!1;let Y=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(Q));if(!Y)return!1;return this.tokens.appendCode(` = ${Y}`),this.tokens.copyToken(),!0}processPreIncDec(){let Z=this.tokens.currentIndex(),Q=this.tokens.tokens[Z+1];if(Q.type!==R0.TokenType.name)return!1;if(Q.shadowsGlobal)return!1;if(Z+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(Z+2,R0.TokenType.dot)||this.tokens.matches1AtIndex(Z+2,R0.TokenType.bracketL)||this.tokens.matches1AtIndex(Z+2,R0.TokenType.parenL)))return!1;let Y=this.tokens.identifierNameForToken(Q),J=this.importProcessor.resolveExportBinding(Y);if(!J)return!1;return this.tokens.appendCode(`${J} = `),this.tokens.copyToken(),!0}processPostIncDec(){let Z=this.tokens.currentIndex(),Q=this.tokens.tokens[Z],Y=this.tokens.tokens[Z+1];if(Q.type!==R0.TokenType.name)return!1;if(Q.shadowsGlobal)return!1;if(Z>=1&&this.tokens.matches1AtIndex(Z-1,R0.TokenType.dot))return!1;let J=this.tokens.identifierNameForToken(Q),q=this.importProcessor.resolveExportBinding(J);if(!q)return!1;let K=this.tokens.rawCodeForToken(Y),V=this.importProcessor.getIdentifierReplacement(J)||J;if(K==="++")this.tokens.replaceToken(`(${V} = ${q} = ${V} + 1, ${V} - 1)`);else if(K==="--")this.tokens.replaceToken(`(${V} = ${q} = ${V} - 1, ${V} + 1)`);else throw Error(`Unexpected operator: ${K}`);return this.tokens.removeToken(),!0}processExportDefault(){let Z=!0;if(this.tokens.matches4(R0.TokenType._export,R0.TokenType._default,R0.TokenType._function,R0.TokenType.name)||this.tokens.matches5(R0.TokenType._export,R0.TokenType._default,R0.TokenType.name,R0.TokenType._function,R0.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,UZ.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let Q=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${Q};`)}else if(this.tokens.matches4(R0.TokenType._export,R0.TokenType._default,R0.TokenType._class,R0.TokenType.name)||this.tokens.matches5(R0.TokenType._export,R0.TokenType._default,R0.TokenType._abstract,R0.TokenType._class,R0.TokenType.name)||this.tokens.matches3(R0.TokenType._export,R0.TokenType._default,R0.TokenType.at)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(R0.TokenType._abstract))this.tokens.removeToken();let Q=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${Q};`)}else if(uQ0.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))Z=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let Q=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${Q}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${Q} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(Q)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");if(Z)this.hadDefaultExport=!0}copyDecorators(){while(this.tokens.matches1(R0.TokenType.at))if(this.tokens.copyToken(),this.tokens.matches1(R0.TokenType.parenL))this.tokens.copyExpectedToken(R0.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R0.TokenType.parenR);else{this.tokens.copyExpectedToken(R0.TokenType.name);while(this.tokens.matches1(R0.TokenType.dot))this.tokens.copyExpectedToken(R0.TokenType.dot),this.tokens.copyExpectedToken(R0.TokenType.name);if(this.tokens.matches1(R0.TokenType.parenL))this.tokens.copyExpectedToken(R0.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R0.TokenType.parenR)}}processExportVar(){if(this.isSimpleExportVar())this.processSimpleExportVar();else this.processComplexExportVar()}isSimpleExportVar(){let Z=this.tokens.currentIndex();if(Z++,Z++,!this.tokens.matches1AtIndex(Z,R0.TokenType.name))return!1;Z++;while(Z<this.tokens.tokens.length&&this.tokens.tokens[Z].isType)Z++;if(!this.tokens.matches1AtIndex(Z,R0.TokenType.eq))return!1;return!0}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let Z=this.tokens.identifierName();while(!this.tokens.matches1(R0.TokenType.eq))this.rootTransformer.processToken();let Q=this.tokens.currentToken().rhsEndIndex;if(Q==null)throw Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Q)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${Z} = ${Z}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let Z=this.tokens.matches1(R0.TokenType.braceL);if(Z)this.tokens.appendCode("(");let Q=0;while(!0)if(this.tokens.matches1(R0.TokenType.braceL)||this.tokens.matches1(R0.TokenType.dollarBraceL)||this.tokens.matches1(R0.TokenType.bracketL))Q++,this.tokens.copyToken();else if(this.tokens.matches1(R0.TokenType.braceR)||this.tokens.matches1(R0.TokenType.bracketR))Q--,this.tokens.copyToken();else if(Q===0&&!this.tokens.matches1(R0.TokenType.name)&&!this.tokens.currentToken().isType)break;else if(this.tokens.matches1(R0.TokenType.eq)){let Y=this.tokens.currentToken().rhsEndIndex;if(Y==null)throw Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Y)this.rootTransformer.processToken()}else{let Y=this.tokens.currentToken();if(aD.isDeclaration.call(void 0,Y)){let J=this.tokens.identifierName(),q=this.importProcessor.getIdentifierReplacement(J);if(q===null)throw Error(`Expected a replacement for ${J} in \`export var\` syntax.`);if(aD.isObjectShorthandDeclaration.call(void 0,Y))q=`${J}: ${q}`;this.tokens.replaceToken(q)}else this.rootTransformer.processToken()}if(Z){let Y=this.tokens.currentToken().rhsEndIndex;if(Y==null)throw Error("Expected = token with an end index.");while(this.tokens.currentIndex()<Y)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let Z=this.processNamedFunction();this.tokens.appendCode(` exports.${Z} = ${Z};`)}processNamedFunction(){if(this.tokens.matches1(R0.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(R0.TokenType.name,R0.TokenType._function)){if(!this.tokens.matchesContextual(UZ.ContextualKeyword._async))throw Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(R0.TokenType.star))this.tokens.copyToken();if(!this.tokens.matches1(R0.TokenType.name))throw Error("Expected identifier for exported function name.");let Z=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType){this.tokens.removeInitialToken();while(this.tokens.currentToken().isType)this.tokens.removeToken()}return this.tokens.copyExpectedToken(R0.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R0.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(R0.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R0.TokenType.braceR),Z}processExportClass(){if(this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(R0.TokenType._abstract))this.tokens.removeToken();let Z=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${Z} = ${Z};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let Z=hQ0.default.call(void 0,this.tokens),Q=[];while(!0){if(this.tokens.matches1(R0.TokenType.braceR)){this.tokens.removeToken();break}let Y=kQ0.default.call(void 0,this.tokens);while(this.tokens.currentIndex()<Y.endIndex)this.tokens.removeToken();if(!(Y.isType||!Z&&this.shouldElideExportedIdentifier(Y.leftName))){let q=Y.rightName;if(q==="default")this.hadDefaultExport=!0;else this.hadNamedExport=!0;let K=Y.leftName,V=this.importProcessor.getIdentifierReplacement(K);Q.push(`exports.${q} = ${V||K};`)}if(this.tokens.matches1(R0.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(R0.TokenType.comma,R0.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(R0.TokenType.comma))this.tokens.removeToken();else throw Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(UZ.ContextualKeyword._from)){this.tokens.removeToken();let Y=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(Y)),rD.removeMaybeImportAttributes.call(void 0,this.tokens)}else this.tokens.appendCode(Q.join(" "));if(this.tokens.matches1(R0.TokenType.semi))this.tokens.removeToken()}processExportStar(){this.tokens.removeInitialToken();while(!this.tokens.matches1(R0.TokenType.string))this.tokens.removeToken();let Z=this.tokens.stringValue();if(this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(Z)),rD.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(R0.TokenType.semi))this.tokens.removeToken()}shouldElideExportedIdentifier(Z){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(Z)}}IO.default=WJ});var yP=k((RO)=>{Object.defineProperty(RO,"__esModule",{value:!0});function kQ(Z){return Z&&Z.__esModule?Z:{default:Z}}var W4=U8(),V1=k1(),mQ0=$O(),cQ0=kQ(mQ0),bP=BO(),dQ0=kQ(bP),lQ0=p3(),vP=kQ(lQ0),pQ0=s$(),iQ0=XO(),nQ0=kQ(iQ0),CO=AO(),sQ0=EO(),aQ0=kQ(sQ0),rQ0=s9(),oQ0=kQ(rQ0);class kP extends oQ0.default{constructor(Z,Q,Y,J,q,K,V,D){super();this.tokens=Z,this.nameManager=Q,this.helperManager=Y,this.reactHotLoaderTransformer=J,this.isTypeScriptTransformEnabled=q,this.isFlowTransformEnabled=K,this.keepUnusedImports=V,this.nonTypeIdentifiers=q&&!V?pQ0.getNonTypeIdentifiers.call(void 0,Z,D):new Set,this.declarationInfo=q&&!V?dQ0.default.call(void 0,Z):bP.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=Boolean(D.injectCreateRequireForImportRequire)}process(){if(this.tokens.matches3(V1.TokenType._import,V1.TokenType.name,V1.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(V1.TokenType._import,V1.TokenType.name,V1.TokenType.name,V1.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,W4.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let Z=0;Z<7;Z++)this.tokens.removeToken();return!0}if(this.tokens.matches2(V1.TokenType._export,V1.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(V1.TokenType._export,V1.TokenType._import,V1.TokenType.name,V1.TokenType.name,V1.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,W4.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let Z=0;Z<8;Z++)this.tokens.removeToken();return!0}if(this.tokens.matches1(V1.TokenType._import))return this.processImport();if(this.tokens.matches2(V1.TokenType._export,V1.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(V1.TokenType._export,V1.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(V1.TokenType._export,V1.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,W4.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(V1.TokenType.braceL)){while(!this.tokens.matches1(V1.TokenType.braceR))this.tokens.removeToken();this.tokens.removeToken()}else if(this.tokens.removeToken(),this.tokens.matches1(V1.TokenType._as))this.tokens.removeToken(),this.tokens.removeToken();if(this.tokens.matchesContextual(W4.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,V1.TokenType.string))this.tokens.removeToken(),this.tokens.removeToken(),CO.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}return!1}processImportEquals(){let Z=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(this.shouldAutomaticallyElideImportedName(Z))cQ0.default.call(void 0,this.tokens);else if(this.injectCreateRequireForImportRequire)this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"));else this.tokens.replaceToken("const");return!0}processImport(){if(this.tokens.matches2(V1.TokenType._import,V1.TokenType.parenL))return!1;let Z=this.tokens.snapshot();if(this.removeImportTypeBindings()){this.tokens.restoreToSnapshot(Z);while(!this.tokens.matches1(V1.TokenType.string))this.tokens.removeToken();if(this.tokens.removeToken(),CO.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(V1.TokenType.semi))this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(V1.TokenType._import),this.tokens.matchesContextual(W4.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,V1.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,W4.ContextualKeyword._from))return!0;if(this.tokens.matches1(V1.TokenType.string))return this.tokens.copyToken(),!1;if(this.tokens.matchesContextual(W4.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,W4.ContextualKeyword._from))this.tokens.copyToken();let Z=!1,Q=!1,Y=!1;if(this.tokens.matches1(V1.TokenType.name)){if(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())){if(this.tokens.removeToken(),this.tokens.matches1(V1.TokenType.comma))this.tokens.removeToken()}else if(Z=!0,this.tokens.copyToken(),this.tokens.matches1(V1.TokenType.comma))Y=!0,this.tokens.removeToken()}if(this.tokens.matches1(V1.TokenType.star))if(this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2)))this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken();else{if(Y)this.tokens.appendCode(",");Z=!0,this.tokens.copyExpectedToken(V1.TokenType.star),this.tokens.copyExpectedToken(V1.TokenType.name),this.tokens.copyExpectedToken(V1.TokenType.name)}else if(this.tokens.matches1(V1.TokenType.braceL)){if(Y)this.tokens.appendCode(",");this.tokens.copyToken();while(!this.tokens.matches1(V1.TokenType.braceR)){Q=!0;let J=vP.default.call(void 0,this.tokens);if(J.isType||this.shouldAutomaticallyElideImportedName(J.rightName)){while(this.tokens.currentIndex()<J.endIndex)this.tokens.removeToken();if(this.tokens.matches1(V1.TokenType.comma))this.tokens.removeToken()}else{Z=!0;while(this.tokens.currentIndex()<J.endIndex)this.tokens.copyToken();if(this.tokens.matches1(V1.TokenType.comma))this.tokens.copyToken()}}this.tokens.copyExpectedToken(V1.TokenType.braceR)}if(this.keepUnusedImports)return!1;if(this.isTypeScriptTransformEnabled)return!Z;else if(this.isFlowTransformEnabled)return Q&&!Z;else return!1}shouldAutomaticallyElideImportedName(Z){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(Z)}processExportDefault(){if(aQ0.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(V1.TokenType._export,V1.TokenType._default,V1.TokenType._function,V1.TokenType.name)||this.tokens.matches5(V1.TokenType._export,V1.TokenType._default,V1.TokenType.name,V1.TokenType._function,V1.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,W4.ContextualKeyword._async)||this.tokens.matches4(V1.TokenType._export,V1.TokenType._default,V1.TokenType._class,V1.TokenType.name)||this.tokens.matches5(V1.TokenType._export,V1.TokenType._default,V1.TokenType._abstract,V1.TokenType._class,V1.TokenType.name))&&this.reactHotLoaderTransformer){let Q=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${Q}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${Q} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(Q),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(V1.TokenType._export),this.tokens.copyExpectedToken(V1.TokenType.braceL);let Z=nQ0.default.call(void 0,this.tokens),Q=!1;while(!this.tokens.matches1(V1.TokenType.braceR)){let Y=vP.default.call(void 0,this.tokens);if(Y.isType||!Z&&this.shouldElideExportedName(Y.leftName)){while(this.tokens.currentIndex()<Y.endIndex)this.tokens.removeToken();if(this.tokens.matches1(V1.TokenType.comma))this.tokens.removeToken()}else{Q=!0;while(this.tokens.currentIndex()<Y.endIndex)this.tokens.copyToken();if(this.tokens.matches1(V1.TokenType.comma))this.tokens.copyToken()}}if(this.tokens.copyExpectedToken(V1.TokenType.braceR),!this.keepUnusedImports&&Z&&!Q)this.tokens.removeToken(),this.tokens.removeToken(),CO.removeMaybeImportAttributes.call(void 0,this.tokens);return!0}shouldElideExportedName(Z){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(Z)&&!this.declarationInfo.valueDeclarations.has(Z)}}RO.default=kP});var uP=k((LO)=>{Object.defineProperty(LO,"__esModule",{value:!0});function tQ0(Z){return Z&&Z.__esModule?Z:{default:Z}}var hP=U8(),T9=k1(),eQ0=s9(),ZY0=tQ0(eQ0);class xP extends ZY0.default{constructor(Z,Q,Y){super();this.rootTransformer=Z,this.tokens=Q,this.isImportsTransformEnabled=Y}process(){if(this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange())return!0;if(this.tokens.matches1(T9.TokenType._enum))return this.processEnum(),!0;if(this.tokens.matches2(T9.TokenType._export,T9.TokenType._enum))return this.processNamedExportEnum(),!0;if(this.tokens.matches3(T9.TokenType._export,T9.TokenType._default,T9.TokenType._enum))return this.processDefaultExportEnum(),!0;return!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let Z=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${Z} = ${Z};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let Z=this.tokens.identifierNameAtRelativeIndex(1);if(this.processEnum(),this.isImportsTransformEnabled)this.tokens.appendCode(` exports.default = ${Z};`);else this.tokens.appendCode(` export default ${Z};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(T9.TokenType.name);let Z=!1;if(this.tokens.matchesContextual(hP.ContextualKeyword._of))this.tokens.removeToken(),Z=this.tokens.matchesContextual(hP.ContextualKeyword._symbol),this.tokens.removeToken();let Q=this.tokens.matches3(T9.TokenType.braceL,T9.TokenType.name,T9.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let Y=!Z&&!Q;this.tokens.replaceTokenTrimmingLeftWhitespace(Y?".Mirrored([":"({");while(!this.tokens.matches1(T9.TokenType.braceR)){if(this.tokens.matches1(T9.TokenType.ellipsis)){this.tokens.removeToken();break}if(this.processEnumElement(Z,Q),this.tokens.matches1(T9.TokenType.comma))this.tokens.copyToken()}this.tokens.replaceToken(Y?"]);":"});")}processEnumElement(Z,Q){if(Z){let Y=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${Y}")`)}else if(Q)this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken();else this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}}LO.default=xP});var fP=k((jO)=>{Object.defineProperty(jO,"__esModule",{value:!0});function QY0(Z){return Z&&Z.__esModule?Z:{default:Z}}function YY0(Z){let Q=void 0,Y=Z[0],J=1;while(J<Z.length){let q=Z[J],K=Z[J+1];if(J+=2,(q==="optionalAccess"||q==="optionalCall")&&Y==null)return;if(q==="access"||q==="optionalAccess")Q=Y,Y=K(Y);else if(q==="call"||q==="optionalCall")Y=K((...V)=>Y.call(Q,...V)),Q=void 0}return Y}var U4=k1(),JY0=s9(),qY0=QY0(JY0),oD="jest",KY0=["mock","unmock","enableAutomock","disableAutomock"];class MO extends qY0.default{__init(){this.hoistedFunctionNames=[]}constructor(Z,Q,Y,J){super();this.rootTransformer=Z,this.tokens=Q,this.nameManager=Y,this.importProcessor=J,MO.prototype.__init.call(this)}process(){if(this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(U4.TokenType.name,U4.TokenType.dot,U4.TokenType.name,U4.TokenType.parenL)&&this.tokens.identifierName()===oD){if(YY0([this,"access",(Z)=>Z.importProcessor,"optionalAccess",(Z)=>Z.getGlobalNames,"call",(Z)=>Z(),"optionalAccess",(Z)=>Z.has,"call",(Z)=>Z(oD)]))return!1;return this.extractHoistedCalls()}return!1}getHoistedCode(){if(this.hoistedFunctionNames.length>0)return this.hoistedFunctionNames.map((Z)=>`${Z}();`).join("");return""}extractHoistedCalls(){this.tokens.removeToken();let Z=!1;while(this.tokens.matches3(U4.TokenType.dot,U4.TokenType.name,U4.TokenType.parenL)){let Q=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(KY0.includes(Q)){let J=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(J),this.tokens.replaceToken(`function ${J}(){${oD}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(U4.TokenType.parenR),this.tokens.appendCode(";}"),Z=!1}else{if(Z)this.tokens.copyToken();else this.tokens.replaceToken(`${oD}.`);this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(U4.TokenType.parenR),Z=!0}}return!0}}jO.default=MO});var mP=k((NO)=>{Object.defineProperty(NO,"__esModule",{value:!0});function VY0(Z){return Z&&Z.__esModule?Z:{default:Z}}var DY0=k1(),zY0=s9(),HY0=VY0(zY0);class gP extends HY0.default{constructor(Z){super();this.tokens=Z}process(){if(this.tokens.matches1(DY0.TokenType.num)){let Z=this.tokens.currentTokenCode();if(Z.includes("_"))return this.tokens.replaceToken(Z.replace(/_/g,"")),!0}return!1}}NO.default=gP});var lP=k((SO)=>{Object.defineProperty(SO,"__esModule",{value:!0});function GY0(Z){return Z&&Z.__esModule?Z:{default:Z}}var cP=k1(),WY0=s9(),UY0=GY0(WY0);class dP extends UY0.default{constructor(Z,Q){super();this.tokens=Z,this.nameManager=Q}process(){if(this.tokens.matches2(cP.TokenType._catch,cP.TokenType.braceL))return this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0;return!1}}SO.default=dP});var iP=k((PO)=>{Object.defineProperty(PO,"__esModule",{value:!0});function $Y0(Z){return Z&&Z.__esModule?Z:{default:Z}}var o8=k1(),BY0=s9(),OY0=$Y0(BY0);class pP extends OY0.default{constructor(Z,Q){super();this.tokens=Z,this.nameManager=Q}process(){if(this.tokens.matches1(o8.TokenType.nullishCoalescing)){let Y=this.tokens.currentToken();if(this.tokens.tokens[Y.nullishStartIndex].isAsyncOperation)this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => (");else this.tokens.replaceTokenTrimmingLeftWhitespace(", () => (");return!0}if(this.tokens.matches1(o8.TokenType._delete)){if(this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0}let Q=this.tokens.currentToken().subscriptStartIndex;if(Q!=null&&this.tokens.tokens[Q].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==o8.TokenType._super){let Y=this.nameManager.claimFreeName("_"),J;if(Q>0&&this.tokens.matches1AtIndex(Q-1,o8.TokenType._delete)&&this.isLastSubscriptInChain())J=`${Y} => delete ${Y}`;else J=`${Y} => ${Y}`;if(this.tokens.tokens[Q].isAsyncOperation)J=`async ${J}`;if(this.tokens.matches2(o8.TokenType.questionDot,o8.TokenType.parenL)||this.tokens.matches2(o8.TokenType.questionDot,o8.TokenType.lessThan)){if(this.justSkippedSuper())this.tokens.appendCode(".bind(this)");this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${J}`)}else if(this.tokens.matches2(o8.TokenType.questionDot,o8.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${J}`);else if(this.tokens.matches1(o8.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${J}.`);else if(this.tokens.matches1(o8.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${J}.`);else if(this.tokens.matches1(o8.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${J}[`);else if(this.tokens.matches1(o8.TokenType.parenL)){if(this.justSkippedSuper())this.tokens.appendCode(".bind(this)");this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${J}(`)}else throw Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let Z=0;for(let Q=this.tokens.currentIndex()+1;;Q++){if(Q>=this.tokens.tokens.length)throw Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[Q].isOptionalChainStart)Z++;else if(this.tokens.tokens[Q].isOptionalChainEnd)Z--;if(Z<0)return!0;if(Z===0&&this.tokens.tokens[Q].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let Z=0,Q=this.tokens.currentIndex()-1;while(!0){if(Q<0)throw Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[Q].isOptionalChainStart)Z--;else if(this.tokens.tokens[Q].isOptionalChainEnd)Z++;if(Z<0)return!1;if(Z===0&&this.tokens.tokens[Q].subscriptStartIndex!=null)return this.tokens.tokens[Q-1].type===o8.TokenType._super;Q--}}}PO.default=pP});var aP=k((TO)=>{Object.defineProperty(TO,"__esModule",{value:!0});function XY0(Z){return Z&&Z.__esModule?Z:{default:Z}}var nP=Z8(),R8=k1(),FY0=s9(),AY0=XY0(FY0);class sP extends AY0.default{constructor(Z,Q,Y,J){super();this.rootTransformer=Z,this.tokens=Q,this.importProcessor=Y,this.options=J}process(){let Z=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let Q=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");if(Q)this.tokens.replaceToken(`(0, ${Q})`);else this.tokens.copyToken();return this.tryProcessCreateClassCall(Z),!0}if(this.tokens.matches3(R8.TokenType.name,R8.TokenType.dot,R8.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let Q=this.importProcessor?this.importProcessor.getIdentifierReplacement("React")||"React":"React";if(Q)this.tokens.replaceToken(Q),this.tokens.copyToken(),this.tokens.copyToken();else this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken();return this.tryProcessCreateClassCall(Z),!0}return!1}tryProcessCreateClassCall(Z){let Q=this.findDisplayName(Z);if(!Q)return;if(this.classNeedsDisplayName())this.tokens.copyExpectedToken(R8.TokenType.parenL),this.tokens.copyExpectedToken(R8.TokenType.braceL),this.tokens.appendCode(`displayName: '${Q}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(R8.TokenType.braceR),this.tokens.copyExpectedToken(R8.TokenType.parenR)}findDisplayName(Z){if(Z<2)return null;if(this.tokens.matches2AtIndex(Z-2,R8.TokenType.name,R8.TokenType.eq))return this.tokens.identifierNameAtIndex(Z-2);if(Z>=2&&this.tokens.tokens[Z-2].identifierRole===nP.IdentifierRole.ObjectKey)return this.tokens.identifierNameAtIndex(Z-2);if(this.tokens.matches2AtIndex(Z-2,R8.TokenType._export,R8.TokenType._default))return this.getDisplayNameFromFilename();return null}getDisplayNameFromFilename(){let Q=(this.options.filePath||"unknown").split("/"),Y=Q[Q.length-1],J=Y.lastIndexOf("."),q=J===-1?Y:Y.slice(0,J);if(q==="index"&&Q[Q.length-2])return Q[Q.length-2];else return q}classNeedsDisplayName(){let Z=this.tokens.currentIndex();if(!this.tokens.matches2(R8.TokenType.parenL,R8.TokenType.braceL))return!1;let Q=Z+1,Y=this.tokens.tokens[Q].contextId;if(Y==null)throw Error("Expected non-null context ID on object open-brace.");for(;Z<this.tokens.tokens.length;Z++){let J=this.tokens.tokens[Z];if(J.type===R8.TokenType.braceR&&J.contextId===Y){Z++;break}if(this.tokens.identifierNameAtIndex(Z)==="displayName"&&this.tokens.tokens[Z].identifierRole===nP.IdentifierRole.ObjectKey&&J.contextId===Y)return!1}if(Z===this.tokens.tokens.length)throw Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(Z,R8.TokenType.parenR)||this.tokens.matches2AtIndex(Z,R8.TokenType.comma,R8.TokenType.parenR)}}TO.default=sP});var oP=k((vO)=>{Object.defineProperty(vO,"__esModule",{value:!0});function wY0(Z){return Z&&Z.__esModule?Z:{default:Z}}var rP=Z8(),EY0=s9(),IY0=wY0(EY0);class _O extends IY0.default{__init(){this.extractedDefaultExportName=null}constructor(Z,Q){super();this.tokens=Z,this.filePath=Q,_O.prototype.__init.call(this)}setExtractedDefaultExportName(Z){this.extractedDefaultExportName=Z}getPrefixCode(){return`
153
153
  (function () {
@@ -290,7 +290,7 @@ If you tried to provide parameters to a config plugin, make sure the plugin conf
290
290
  ]
291
291
 
292
292
 
293
- See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE");throw new(rz()).PluginError(`Plugin is an unexpected type: ${typeof J}. See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE")}return Z=K(Z,q),Z};tz.withStaticPlugin=hK0});var ZH=k((ez)=>{Object.defineProperty(ez,"__esModule",{value:!0});ez.withPlugins=void 0;function $y(){let Z=xK0(require("assert"));return $y=function(){return Z},Z}function By(){let Z=JF();return By=function(){return Z},Z}function xK0(Z){return Z&&Z.__esModule?Z:{default:Z}}var uK0=(Z,Q)=>{return(0,$y().default)(Array.isArray(Q),"withPlugins expected a valid array of plugins or plugin module paths"),Q.reduce((Y,J)=>(0,By().withStaticPlugin)(Y,{plugin:J}),Z)};ez.withPlugins=uK0});var Xy=k((_7)=>{Object.defineProperty(_7,"__esModule",{value:!0});_7.isSDKVersionRuntimeVersion=_7.getSDKVersionFromRuntimeVersion=_7.getRuntimeVersionForSDKVersion=_7.RUNTIME_VERSION_PREFIX=void 0;_7.RUNTIME_VERSION_PREFIX="exposdk:";function fK0(Z){return""+_7.RUNTIME_VERSION_PREFIX+Z}_7.getRuntimeVersionForSDKVersion=fK0;function Oy(Z){var Q=/^exposdk:(\d+\.\d+\.\d+)$/.exec(Z);if(!Q||Q.length<2)return;return Q[1]}_7.getSDKVersionFromRuntimeVersion=Oy;function gK0(Z){return Oy(Z)!==void 0}_7.isSDKVersionRuntimeVersion=gK0});var KF=k((v7)=>{Object.defineProperty(v7,"__esModule",{value:!0});v7.getVersionCode=Ey;v7.getVersionName=Ay;v7.setMinBuildScriptExtVersion=Fy;v7.setVersionCode=Iy;v7.setVersionName=wy;v7.withVersion=v7.withBuildScriptExtMinimumVersion=void 0;function qF(){let Z=L8();return qF=function(){return Z},Z}function QH(){let Z=B8();return QH=function(){return Z},Z}var mK0=(Z)=>{return(0,qF().withAppBuildGradle)(Z,(Q)=>{if(Q.modResults.language==="groovy")Q.modResults.contents=Iy(Q,Q.modResults.contents),Q.modResults.contents=wy(Q,Q.modResults.contents);else(0,QH().addWarningAndroid)("android.versionCode","Cannot automatically configure app build.gradle if it's not groovy");return Q})};v7.withVersion=mK0;var cK0=(Z,Q)=>{return(0,qF().withProjectBuildGradle)(Z,(Y)=>{if(Y.modResults.language==="groovy")Y.modResults.contents=Fy(Y.modResults.contents,Q);else(0,QH().addWarningAndroid)("withBuildScriptExtVersion","Cannot automatically configure project build.gradle if it's not groovy");return Y})};v7.withBuildScriptExtMinimumVersion=cK0;function Fy(Z,{name:Q,minVersion:Y}){let J=new RegExp(`(${Q}\\s?=\\s?)(\\d+(?:\\.\\d+)?)`),q=Z.match(J)?.[2];if(!q)return(0,QH().addWarningAndroid)("withBuildScriptExtVersion",`Cannot set minimum buildscript.ext.${Q} version because the property "${Q}" cannot be found or does not have a numeric value.`),Z;let K=Number(q);return Z.replace(J,`$1${Math.max(Y,K)}`)}function Ay(Z){return Z.android?.version??Z.version??null}function wy(Z,Q){let Y=Ay(Z);if(Y===null)return Q;let J=new RegExp('versionName ".*"');return Q.replace(J,`versionName "${Y}"`)}function Ey(Z){return Z.android?.versionCode??1}function Iy(Z,Q){let Y=Ey(Z);if(Y===null)return Q;let J=new RegExp("versionCode.*");return Q.replace(J,`versionCode ${Y}`)}});var Cy=k((VF)=>{Object.defineProperty(VF,"__esModule",{value:!0});VF.get=dK0;function dK0(Z,Q){let Y=Q.split("."),J=Z,q;while(q=Y.shift()){if(!(q in J))return;J=J[q]}return J}});var g5=k((J8)=>{Object.defineProperty(J8,"__esModule",{value:!0});J8.createEntitlementsPlugin=iK0;J8.createInfoPlistPlugin=lK0;J8.createInfoPlistPluginWithPropertyGuard=pK0;J8.withXcodeProject=J8.withPodfileProperties=J8.withPodfile=J8.withInfoPlist=J8.withExpoPlist=J8.withEntitlementsPlist=J8.withAppDelegate=void 0;function B2(){let Z=XZ();return B2=function(){return Z},Z}function Ry(){let Z=Cy();return Ry=function(){return Z},Z}function Ly(){let Z=B8();return Ly=function(){return Z},Z}function lK0(Z,Q){let Y=(J)=>DF(J,async(q)=>{return q.modResults=await Z(q,q.modResults),q});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}function pK0(Z,Q,Y){let J=(q)=>DF(q,async(K)=>{let V=Q.expoPropertyGetter?Q.expoPropertyGetter(K):(0,Ry().get)(K,Q.expoConfigProperty);if(K.modRawConfig.ios?.infoPlist?.[Q.infoPlistProperty]===void 0)K.modResults=await Z(K,K.modResults);else if(V!==void 0)(0,Ly().addWarningIOS)(Q.expoConfigProperty,`"ios.infoPlist.${Q.infoPlistProperty}" is set in the config. Ignoring abstract property "${Q.expoConfigProperty}": ${V}`);return K});if(Y)Object.defineProperty(J,"name",{value:Y});return J}function iK0(Z,Q){let Y=(J)=>My(J,async(q)=>{return q.modResults=await Z(q,q.modResults),q});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}var nK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"appDelegate",action:Q})};J8.withAppDelegate=nK0;var DF=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"infoPlist",async action(Y){if(Y=await Q(Y),!Y.ios)Y.ios={};return Y.ios.infoPlist=Y.modResults,Y}})};J8.withInfoPlist=DF;var My=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"entitlements",async action(Y){if(Y=await Q(Y),!Y.ios)Y.ios={};return Y.ios.entitlements=Y.modResults,Y}})};J8.withEntitlementsPlist=My;var sK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"expoPlist",action:Q})};J8.withExpoPlist=sK0;var aK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"xcodeproj",action:Q})};J8.withXcodeProject=aK0;var rK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"podfile",action:Q})};J8.withPodfile=rK0;var oK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"podfileProperties",action:Q})};J8.withPodfileProperties=oK0});var GF=k((W6)=>{Object.defineProperty(W6,"__esModule",{value:!0});W6.getBuildNumber=Ny;W6.getVersion=HF;W6.setBuildNumber=Sy;W6.setVersion=jy;W6.withVersion=W6.withBuildNumber=void 0;function zF(){let Z=g5();return zF=function(){return Z},Z}var iR0=W6.withVersion=(0,zF().createInfoPlistPluginWithPropertyGuard)(jy,{infoPlistProperty:"CFBundleShortVersionString",expoConfigProperty:"version | ios.version",expoPropertyGetter:HF},"withVersion"),nR0=W6.withBuildNumber=(0,zF().createInfoPlistPluginWithPropertyGuard)(Sy,{infoPlistProperty:"CFBundleVersion",expoConfigProperty:"ios.buildNumber"},"withBuildNumber");function HF(Z){return Z.ios?.version||Z.version||"1.0.0"}function jy(Z,Q){return{...Q,CFBundleShortVersionString:HF(Z)}}function Ny(Z){return Z.ios?.buildNumber?Z.ios.buildNumber:"1"}function Sy(Z,Q){return{...Q,CFBundleVersion:Ny(Z)}}});var JH=k((k5)=>{Object.defineProperty(k5,"__esModule",{value:!0});k5.FINGERPRINT_RUNTIME_VERSION_SENTINEL=void 0;k5.getAppVersion=uy;k5.getDisableAntiBrickingMeasures=zV0;k5.getExpoUpdatesPackageVersion=tK0;k5.getNativeVersion=fy;k5.getRuntimeVersionAsync=gy;k5.getRuntimeVersionNullableAsync=eK0;k5.getSDKVersion=ZV0;k5.getUpdateUrl=xy;k5.getUpdatesCheckOnLaunch=qV0;k5.getUpdatesCodeSigningCertificate=KV0;k5.getUpdatesCodeSigningMetadata=cy;k5.getUpdatesCodeSigningMetadataStringified=VV0;k5.getUpdatesEnabled=QV0;k5.getUpdatesRequestHeaders=dy;k5.getUpdatesRequestHeadersStringified=DV0;k5.getUpdatesTimeout=JV0;k5.getUpdatesUseEmbeddedUpdate=YV0;k5.resolveRuntimeVersionPolicyAsync=my;function Py(){let Z=Xy();return Py=function(){return Z},Z}function kJ(){let Z=YH(require("fs"));return kJ=function(){return Z},Z}function Ty(){let Z=EJ();return Ty=function(){return Z},Z}function _y(){let Z=YH(require("path"));return _y=function(){return Z},Z}function vy(){let Z=YH(OQ());return vy=function(){return Z},Z}function by(){let Z=YH(KD());return by=function(){return Z},Z}function ky(){let Z=hy(KF());return ky=function(){return Z},Z}function UF(){let Z=hy(GF());return UF=function(){return Z},Z}function yy(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(yy=function(J){return J?Y:Q})(Z)}function hy(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=yy(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function YH(Z){return Z&&Z.__esModule?Z:{default:Z}}var WF=k5.FINGERPRINT_RUNTIME_VERSION_SENTINEL="file:fingerprint";function tK0(Z){let Q=vy().default.silent(Z,"expo-updates/package.json");if(!Q||!kJ().default.existsSync(Q))return null;return JSON.parse(kJ().default.readFileSync(Q,"utf8")).version}function xy(Z){return Z.updates?.url??null}function uy(Z){return Z.version??"1.0.0"}function fy(Z,Q){let Y=UF().getVersion(Z);switch(Q){case"ios":{let J=UF().getBuildNumber(Z);return`${Y}(${J})`}case"android":{let J=ky().getVersionCode(Z);return`${Y}(${J})`}default:throw Error(`"${Q}" is not a supported platform. Choose either "ios" or "android".`)}}async function eK0(...[Z,Q,Y]){try{return await gy(Z,Q,Y)}catch(J){if((0,Ty().boolish)("EXPO_DEBUG",!1))console.log(J);return null}}async function gy(Z,Q,Y){let J=Q[Y]?.runtimeVersion??Q.runtimeVersion;if(!J)return null;if(typeof J==="string"){if(J===WF)throw Error(`${WF} is a reserved value for runtime version. To use a fingerprint runtime version, use the "fingerprint" runtime version policy.`);return J}else if(!J.policy)throw Error(`"${J}" is not a valid runtime version. Only a string or a runtime version policy is supported.`);else if(J.policy==="fingerprint")return WF;else return await my(J.policy,Q,Y)}async function my(Z,Q,Y){if(Z==="appVersion")return uy(Q);else if(Z==="nativeVersion")return fy(Q,Y);else if(Z==="sdkVersion"){if(!Q.sdkVersion)throw Error("An SDK version must be defined when using the 'sdkVersion' runtime policy.");return(0,Py().getRuntimeVersionForSDKVersion)(Q.sdkVersion)}else throw Error(`"${Z}" is not a valid runtime version policy type.`)}function ZV0(Z){return typeof Z.sdkVersion==="string"?Z.sdkVersion:null}function QV0(Z){if(Z.updates?.enabled!==void 0)return Z.updates.enabled;return xy(Z)!==null}function YV0(Z){if(Z.updates?.useEmbeddedUpdate!==void 0)return Z.updates.useEmbeddedUpdate;return!0}function JV0(Z){return Z.updates?.fallbackToCacheTimeout??0}function qV0(Z,Q){if(Z.updates?.checkAutomatically==="ON_ERROR_RECOVERY"){if(Q&&by().default.gte(Q,"0.11.0"))return"ERROR_RECOVERY_ONLY";return"NEVER"}else if(Z.updates?.checkAutomatically==="ON_LOAD")return"ALWAYS";else if(Z.updates?.checkAutomatically==="WIFI_ONLY")return"WIFI_ONLY";else if(Z.updates?.checkAutomatically==="NEVER")return"NEVER";return"ALWAYS"}function KV0(Z,Q){let Y=Q.updates?.codeSigningCertificate;if(!Y)return;let J=_y().default.join(Z,Y);if(!kJ().default.existsSync(J))throw Error(`File not found at \`updates.codeSigningCertificate\` path: ${J}`);return kJ().default.readFileSync(J,"utf8")}function cy(Z){return Z.updates?.codeSigningMetadata}function VV0(Z){let Q=cy(Z);if(!Q)return;return JSON.stringify(Q)}function dy(Z){return Z.updates?.requestHeaders}function DV0(Z){let Q=dy(Z);if(!Q)return;return JSON.stringify(Q)}function zV0(Z){return Z.updates?.disableAntiBrickingMeasures}});var ty=k((U6)=>{Object.defineProperty(U6,"__esModule",{value:!0});U6.Config=void 0;U6.applyRuntimeVersionFromConfigAsync=sy;U6.applyRuntimeVersionFromConfigForProjectRootAsync=ay;U6.setUpdatesConfigAsync=ry;U6.setVersionsConfigAsync=oy;U6.withUpdates=void 0;function ly(){let Z=EX();return ly=function(){return Z},Z}function S5(){let Z=H6();return S5=function(){return Z},Z}function py(){let Z=cQ();return py=function(){return Z},Z}function $F(){let Z=gz();return $F=function(){return Z},Z}function BF(){let Z=L8();return BF=function(){return Z},Z}function iy(){let Z=ZH();return iy=function(){return Z},Z}function b9(){let Z=JH();return b9=function(){return Z},Z}function ny(){let Z=B8();return ny=function(){return Z},Z}var O8=U6.Config=function(Z){return Z.ENABLED="expo.modules.updates.ENABLED",Z.CHECK_ON_LAUNCH="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH",Z.LAUNCH_WAIT_MS="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS",Z.RUNTIME_VERSION="expo.modules.updates.EXPO_RUNTIME_VERSION",Z.UPDATE_URL="expo.modules.updates.EXPO_UPDATE_URL",Z.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY",Z.UPDATES_HAS_EMBEDDED_UPDATE="expo.modules.updates.HAS_EMBEDDED_UPDATE",Z.CODE_SIGNING_CERTIFICATE="expo.modules.updates.CODE_SIGNING_CERTIFICATE",Z.CODE_SIGNING_METADATA="expo.modules.updates.CODE_SIGNING_METADATA",Z.DISABLE_ANTI_BRICKING_MEASURES="expo.modules.updates.DISABLE_ANTI_BRICKING_MEASURES",Z}({}),HV0=(Z)=>{return(0,iy().withPlugins)(Z,[WV0,UV0,GV0])};U6.withUpdates=HV0;var GV0=(0,ly().createBuildGradlePropsConfigPlugin)([{propName:"EX_UPDATES_NATIVE_DEBUG",propValueGetter:(Z)=>Z?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugGradleProps"),WV0=(Z)=>{return(0,BF().withAndroidManifest)(Z,async(Q)=>{let Y=Q.modRequest.projectRoot,J=(0,b9().getExpoUpdatesPackageVersion)(Y);return Q.modResults=await ry(Y,Q,Q.modResults,J),Q})},UV0=(0,BF().createStringsXmlPlugin)(sy,"withRuntimeVersionResource");async function sy(Z,Q){let Y=Z.modRequest.projectRoot;return await ay(Y,Z,Q)}async function ay(Z,Q,Y){let J=await(0,b9().getRuntimeVersionNullableAsync)(Z,Q,"android");if(J)return(0,$F().setStringItem)([(0,py().buildResourceItem)({name:"expo_runtime_version",value:J})],Y);return(0,$F().removeStringItem)("expo_runtime_version",Y)}async function ry(Z,Q,Y,J){let q=(0,S5().getMainApplicationOrThrow)(Y);(0,S5().addMetaDataItemToMainApplication)(q,O8.ENABLED,String((0,b9().getUpdatesEnabled)(Q)));let K=(0,b9().getUpdatesCheckOnLaunch)(Q,J);(0,S5().addMetaDataItemToMainApplication)(q,O8.CHECK_ON_LAUNCH,K);let V=(0,b9().getUpdatesTimeout)(Q);if((0,S5().addMetaDataItemToMainApplication)(q,O8.LAUNCH_WAIT_MS,String(V)),(0,b9().getUpdatesUseEmbeddedUpdate)(Q))(0,S5().removeMetaDataItemFromMainApplication)(q,O8.UPDATES_HAS_EMBEDDED_UPDATE);else{if(V===0&&K!=="ALWAYS")(0,ny().addWarningAndroid)("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');(0,S5().addMetaDataItemToMainApplication)(q,O8.UPDATES_HAS_EMBEDDED_UPDATE,"false")}let z=(0,b9().getUpdateUrl)(Q);if(z)(0,S5().addMetaDataItemToMainApplication)(q,O8.UPDATE_URL,z);else(0,S5().removeMetaDataItemFromMainApplication)(q,O8.UPDATE_URL);let H=(0,b9().getUpdatesCodeSigningCertificate)(Z,Q);if(H)(0,S5().addMetaDataItemToMainApplication)(q,O8.CODE_SIGNING_CERTIFICATE,H);else(0,S5().removeMetaDataItemFromMainApplication)(q,O8.CODE_SIGNING_CERTIFICATE);let G=(0,b9().getUpdatesCodeSigningMetadataStringified)(Q);if(G)(0,S5().addMetaDataItemToMainApplication)(q,O8.CODE_SIGNING_METADATA,G);else(0,S5().removeMetaDataItemFromMainApplication)(q,O8.CODE_SIGNING_METADATA);let W=(0,b9().getUpdatesRequestHeadersStringified)(Q);if(W)(0,S5().addMetaDataItemToMainApplication)(q,O8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY,W);else(0,S5().removeMetaDataItemFromMainApplication)(q,O8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY);if((0,b9().getDisableAntiBrickingMeasures)(Q))(0,S5().addMetaDataItemToMainApplication)(q,O8.DISABLE_ANTI_BRICKING_MEASURES,"true");else(0,S5().removeMetaDataItemFromMainApplication)(q,O8.DISABLE_ANTI_BRICKING_MEASURES);return await oy(Z,Q,Y)}async function oy(Z,Q,Y){let J=(0,S5().getMainApplicationOrThrow)(Y),q=await(0,b9().getRuntimeVersionNullableAsync)(Z,Q,"android");if(!q&&(0,S5().findMetaDataItem)(J,O8.RUNTIME_VERSION)>-1)throw Error("A runtime version is set in your AndroidManifest.xml, but is missing from your Expo app config (app.json/app.config.js). Either set runtimeVersion in your Expo app config or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.");if(q)(0,S5().removeMetaDataItemFromMainApplication)(J,"expo.modules.updates.EXPO_SDK_VERSION"),(0,S5().addMetaDataItemToMainApplication)(J,O8.RUNTIME_VERSION,"@string/expo_runtime_version");else(0,S5().removeMetaDataItemFromMainApplication)(J,O8.RUNTIME_VERSION),(0,S5().removeMetaDataItemFromMainApplication)(J,"expo.modules.updates.EXPO_SDK_VERSION");return Y}});var Jh=k((nQ)=>{Object.defineProperty(nQ,"__esModule",{value:!0});nQ.getWindowSoftInputModeMode=Yh;nQ.setWindowSoftInputModeMode=Qh;nQ.withWindowSoftInputMode=void 0;function ey(){let Z=H6();return ey=function(){return Z},Z}function Zh(){let Z=L8();return Zh=function(){return Z},Z}var $V0="android:windowSoftInputMode",BV0={pan:"adjustPan",resize:"adjustResize"},OV0=(Z)=>{return(0,Zh().withAndroidManifest)(Z,async(Q)=>{return Q.modResults=Qh(Q,Q.modResults),Q})};nQ.withWindowSoftInputMode=OV0;function Qh(Z,Q){let Y=(0,ey().getMainActivityOrThrow)(Q);return Y.$[$V0]=Yh(Z),Q}function Yh(Z){let Q=Z.android?.softwareKeyboardLayoutMode;if(!Q)return"adjustResize";return BV0[Q]??Q}});var OF=k((E1)=>{Object.defineProperty(E1,"__esModule",{value:!0});E1.WindowSoftInputMode=E1.Version=E1.Updates=E1.Styles=E1.Strings=E1.StatusBar=E1.Scheme=E1.Resources=E1.Properties=E1.PrimaryColor=E1.Permissions=E1.Paths=E1.Package=E1.Orientation=E1.Name=E1.Manifest=E1.Locales=E1.IntentFilters=E1.GoogleServices=E1.GoogleMapsApiKey=E1.EasBuild=E1.Colors=E1.BuildProperties=E1.AllowBackup=void 0;function qh(){let Z=M5(ov());return qh=function(){return Z},Z}Object.defineProperty(E1,"AllowBackup",{enumerable:!0,get:function(){return qh()}});function Kh(){let Z=M5(EX());return Kh=function(){return Z},Z}Object.defineProperty(E1,"BuildProperties",{enumerable:!0,get:function(){return Kh()}});function Vh(){let Z=M5(vz());return Vh=function(){return Z},Z}Object.defineProperty(E1,"Colors",{enumerable:!0,get:function(){return Vh()}});function Dh(){let Z=M5(Ib());return Dh=function(){return Z},Z}Object.defineProperty(E1,"EasBuild",{enumerable:!0,get:function(){return Dh()}});function zh(){let Z=M5(Nb());return zh=function(){return Z},Z}Object.defineProperty(E1,"GoogleMapsApiKey",{enumerable:!0,get:function(){return zh()}});function Hh(){let Z=M5(fb());return Hh=function(){return Z},Z}Object.defineProperty(E1,"GoogleServices",{enumerable:!0,get:function(){return Hh()}});function Gh(){let Z=M5(ib());return Gh=function(){return Z},Z}Object.defineProperty(E1,"IntentFilters",{enumerable:!0,get:function(){return Gh()}});function Wh(){let Z=M5(Yk());return Wh=function(){return Z},Z}Object.defineProperty(E1,"Locales",{enumerable:!0,get:function(){return Wh()}});function Uh(){let Z=M5(H6());return Uh=function(){return Z},Z}Object.defineProperty(E1,"Manifest",{enumerable:!0,get:function(){return Uh()}});function $h(){let Z=M5(zk());return $h=function(){return Z},Z}Object.defineProperty(E1,"Name",{enumerable:!0,get:function(){return $h()}});function Bh(){let Z=M5($k());return Bh=function(){return Z},Z}Object.defineProperty(E1,"Orientation",{enumerable:!0,get:function(){return Bh()}});function Oh(){let Z=M5(Nk());return Oh=function(){return Z},Z}Object.defineProperty(E1,"Package",{enumerable:!0,get:function(){return Oh()}});function Xh(){let Z=M5(AZ());return Xh=function(){return Z},Z}Object.defineProperty(E1,"Paths",{enumerable:!0,get:function(){return Xh()}});function Fh(){let Z=M5(yk());return Fh=function(){return Z},Z}Object.defineProperty(E1,"Permissions",{enumerable:!0,get:function(){return Fh()}});function Ah(){let Z=M5(ck());return Ah=function(){return Z},Z}Object.defineProperty(E1,"PrimaryColor",{enumerable:!0,get:function(){return Ah()}});function wh(){let Z=M5(dk());return wh=function(){return Z},Z}Object.defineProperty(E1,"Properties",{enumerable:!0,get:function(){return wh()}});function Eh(){let Z=M5(cQ());return Eh=function(){return Z},Z}Object.defineProperty(E1,"Resources",{enumerable:!0,get:function(){return Eh()}});function Ih(){let Z=M5(nk());return Ih=function(){return Z},Z}Object.defineProperty(E1,"Scheme",{enumerable:!0,get:function(){return Ih()}});function Ch(){let Z=M5(Zy());return Ch=function(){return Z},Z}Object.defineProperty(E1,"StatusBar",{enumerable:!0,get:function(){return Ch()}});function Rh(){let Z=M5(gz());return Rh=function(){return Z},Z}Object.defineProperty(E1,"Strings",{enumerable:!0,get:function(){return Rh()}});function Lh(){let Z=M5(dz());return Lh=function(){return Z},Z}Object.defineProperty(E1,"Styles",{enumerable:!0,get:function(){return Lh()}});function Mh(){let Z=M5(ty());return Mh=function(){return Z},Z}Object.defineProperty(E1,"Updates",{enumerable:!0,get:function(){return Mh()}});function jh(){let Z=M5(KF());return jh=function(){return Z},Z}Object.defineProperty(E1,"Version",{enumerable:!0,get:function(){return jh()}});function Nh(){let Z=M5(Jh());return Nh=function(){return Z},Z}Object.defineProperty(E1,"WindowSoftInputMode",{enumerable:!0,get:function(){return Nh()}});function Sh(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Sh=function(J){return J?Y:Q})(Z)}function M5(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Sh(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}});var XF=k((qH,Ph)=>{Object.defineProperty(qH,"__esModule",{value:!0});qH.default=AV0;var XV0=FV0(require("crypto"));function FV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function AV0(){return XV0.default.randomBytes(16)}Ph.exports=qH.default});var KH=k((yJ,_h)=>{Object.defineProperty(yJ,"__esModule",{value:!0});yJ.default=void 0;var Th=[];for(sQ=0;sQ<256;++sQ)Th[sQ]=(sQ+256).toString(16).substr(1);var sQ;function wV0(Z,Q){var Y=Q||0,J=Th;return[J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]]].join("")}var EV0=wV0;yJ.default=EV0;_h.exports=yJ.default});var yh=k((hJ,kh)=>{Object.defineProperty(hJ,"__esModule",{value:!0});hJ.default=void 0;var IV0=bh(XF()),CV0=bh(KH());function bh(Z){return Z&&Z.__esModule?Z:{default:Z}}var vh,FF,AF=0,wF=0;function RV0(Z,Q,Y){var J=Q&&Y||0,q=Q||[];Z=Z||{};var K=Z.node||vh,V=Z.clockseq!==void 0?Z.clockseq:FF;if(K==null||V==null){var D=Z.random||(Z.rng||IV0.default)();if(K==null)K=vh=[D[0]|1,D[1],D[2],D[3],D[4],D[5]];if(V==null)V=FF=(D[6]<<8|D[7])&16383}var z=Z.msecs!==void 0?Z.msecs:new Date().getTime(),H=Z.nsecs!==void 0?Z.nsecs:wF+1,G=z-AF+(H-wF)/1e4;if(G<0&&Z.clockseq===void 0)V=V+1&16383;if((G<0||z>AF)&&Z.nsecs===void 0)H=0;if(H>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");AF=z,wF=H,FF=V,z+=12219292800000;var W=((z&268435455)*1e4+H)%4294967296;q[J++]=W>>>24&255,q[J++]=W>>>16&255,q[J++]=W>>>8&255,q[J++]=W&255;var $=z/4294967296*1e4&268435455;q[J++]=$>>>8&255,q[J++]=$&255,q[J++]=$>>>24&15|16,q[J++]=$>>>16&255,q[J++]=V>>>8|128,q[J++]=V&255;for(var B=0;B<6;++B)q[J+B]=K[B];return Q?Q:(0,CV0.default)(q)}var LV0=RV0;hJ.default=LV0;kh.exports=hJ.default});var EF=k((IZ)=>{Object.defineProperty(IZ,"__esModule",{value:!0});IZ.default=PV0;IZ.URL=IZ.DNS=void 0;var MV0=jV0(KH());function jV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function NV0(Z){var Q=[];return Z.replace(/[a-fA-F0-9]{2}/g,function(Y){Q.push(parseInt(Y,16))}),Q}function SV0(Z){Z=unescape(encodeURIComponent(Z));var Q=Array(Z.length);for(var Y=0;Y<Z.length;Y++)Q[Y]=Z.charCodeAt(Y);return Q}var hh="6ba7b810-9dad-11d1-80b4-00c04fd430c8";IZ.DNS=hh;var xh="6ba7b811-9dad-11d1-80b4-00c04fd430c8";IZ.URL=xh;function PV0(Z,Q,Y){var J=function(q,K,V,D){var z=V&&D||0;if(typeof q=="string")q=SV0(q);if(typeof K=="string")K=NV0(K);if(!Array.isArray(q))throw TypeError("value must be an array of bytes");if(!Array.isArray(K)||K.length!==16)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var H=Y(K.concat(q));if(H[6]=H[6]&15|Q,H[8]=H[8]&63|128,V)for(var G=0;G<16;++G)V[z+G]=H[G];return V||(0,MV0.default)(H)};try{J.name=Z}catch(q){}return J.DNS=hh,J.URL=xh,J}});var fh=k((xJ,uh)=>{Object.defineProperty(xJ,"__esModule",{value:!0});xJ.default=void 0;var TV0=_V0(require("crypto"));function _V0(Z){return Z&&Z.__esModule?Z:{default:Z}}function vV0(Z){if(Array.isArray(Z))Z=Buffer.from(Z);else if(typeof Z==="string")Z=Buffer.from(Z,"utf8");return TV0.default.createHash("md5").update(Z).digest()}var bV0=vV0;xJ.default=bV0;uh.exports=xJ.default});var ch=k((uJ,mh)=>{Object.defineProperty(uJ,"__esModule",{value:!0});uJ.default=void 0;var kV0=gh(EF()),yV0=gh(fh());function gh(Z){return Z&&Z.__esModule?Z:{default:Z}}var hV0=(0,kV0.default)("v3",48,yV0.default),xV0=hV0;uJ.default=xV0;mh.exports=uJ.default});var ph=k((fJ,lh)=>{Object.defineProperty(fJ,"__esModule",{value:!0});fJ.default=void 0;var uV0=dh(XF()),fV0=dh(KH());function dh(Z){return Z&&Z.__esModule?Z:{default:Z}}function gV0(Z,Q,Y){var J=Q&&Y||0;if(typeof Z=="string")Q=Z==="binary"?Array(16):null,Z=null;Z=Z||{};var q=Z.random||(Z.rng||uV0.default)();if(q[6]=q[6]&15|64,q[8]=q[8]&63|128,Q)for(var K=0;K<16;++K)Q[J+K]=q[K];return Q||(0,fV0.default)(q)}var mV0=gV0;fJ.default=mV0;lh.exports=fJ.default});var nh=k((gJ,ih)=>{Object.defineProperty(gJ,"__esModule",{value:!0});gJ.default=void 0;var cV0=dV0(require("crypto"));function dV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function lV0(Z){if(Array.isArray(Z))Z=Buffer.from(Z);else if(typeof Z==="string")Z=Buffer.from(Z,"utf8");return cV0.default.createHash("sha1").update(Z).digest()}var pV0=lV0;gJ.default=pV0;ih.exports=gJ.default});var rh=k((mJ,ah)=>{Object.defineProperty(mJ,"__esModule",{value:!0});mJ.default=void 0;var iV0=sh(EF()),nV0=sh(nh());function sh(Z){return Z&&Z.__esModule?Z:{default:Z}}var sV0=(0,iV0.default)("v5",80,nV0.default),aV0=sV0;mJ.default=aV0;ah.exports=mJ.default});var oh=k((aQ)=>{Object.defineProperty(aQ,"__esModule",{value:!0});Object.defineProperty(aQ,"v1",{enumerable:!0,get:function(){return rV0.default}});Object.defineProperty(aQ,"v3",{enumerable:!0,get:function(){return oV0.default}});Object.defineProperty(aQ,"v4",{enumerable:!0,get:function(){return tV0.default}});Object.defineProperty(aQ,"v5",{enumerable:!0,get:function(){return eV0.default}});var rV0=VH(yh()),oV0=VH(ch()),tV0=VH(ph()),eV0=VH(rh());function VH(Z){return Z&&Z.__esModule?Z:{default:Z}}});var Qx=k((YL0,Zx)=>{var QL0=CF(),th=require("util"),O2=th.format,ZD0="\t",DH=/_comment$/,QD0=require("events").EventEmitter;function eh(Z){if(Z<=0)return"";else return ZD0+eh(Z-1)}function zH(Z,Q){var Y=Q[Z+"_comment"];if(Y)return Y;else return null}function cJ(Z){return Z===Object(Z)}function IF(Z){return Array.isArray(Z)}function k9(Z,Q){if(!Q)Q={};if(Q.omitEmptyValues===void 0)Q.omitEmptyValues=!1;this.contents=Z,this.sync=!1,this.indentLevel=0,this.omitEmptyValues=Q.omitEmptyValues}th.inherits(k9,QD0);k9.prototype.write=function(Z){var Q=O2.apply(null,arguments);if(this.sync)this.buffer+=O2("%s%s",eh(this.indentLevel),Q)};k9.prototype.writeFlush=function(Z){var Q=this.indentLevel;this.indentLevel=0,this.write.apply(this,arguments),this.indentLevel=Q};k9.prototype.writeSync=function(){return this.sync=!0,this.buffer="",this.writeHeadComment(),this.writeProject(),this.buffer};k9.prototype.writeHeadComment=function(){if(this.contents.headComment)this.write(`// %s
293
+ See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE");throw new(rz()).PluginError(`Plugin is an unexpected type: ${typeof J}. See the package documentation on how to correctly configure the plugin.`,"INVALID_PLUGIN_TYPE")}return Z=K(Z,q),Z};tz.withStaticPlugin=hK0});var ZH=k((ez)=>{Object.defineProperty(ez,"__esModule",{value:!0});ez.withPlugins=void 0;function $y(){let Z=xK0(require("assert"));return $y=function(){return Z},Z}function By(){let Z=JF();return By=function(){return Z},Z}function xK0(Z){return Z&&Z.__esModule?Z:{default:Z}}var uK0=(Z,Q)=>{return(0,$y().default)(Array.isArray(Q),"withPlugins expected a valid array of plugins or plugin module paths"),Q.reduce((Y,J)=>(0,By().withStaticPlugin)(Y,{plugin:J}),Z)};ez.withPlugins=uK0});var Xy=k((_7)=>{Object.defineProperty(_7,"__esModule",{value:!0});_7.isSDKVersionRuntimeVersion=_7.getSDKVersionFromRuntimeVersion=_7.getRuntimeVersionForSDKVersion=_7.RUNTIME_VERSION_PREFIX=void 0;_7.RUNTIME_VERSION_PREFIX="exposdk:";function fK0(Z){return""+_7.RUNTIME_VERSION_PREFIX+Z}_7.getRuntimeVersionForSDKVersion=fK0;function Oy(Z){var Q=/^exposdk:(\d+\.\d+\.\d+)$/.exec(Z);if(!Q||Q.length<2)return;return Q[1]}_7.getSDKVersionFromRuntimeVersion=Oy;function gK0(Z){return Oy(Z)!==void 0}_7.isSDKVersionRuntimeVersion=gK0});var KF=k((v7)=>{Object.defineProperty(v7,"__esModule",{value:!0});v7.getVersionCode=Ey;v7.getVersionName=Ay;v7.setMinBuildScriptExtVersion=Fy;v7.setVersionCode=Iy;v7.setVersionName=wy;v7.withVersion=v7.withBuildScriptExtMinimumVersion=void 0;function qF(){let Z=L8();return qF=function(){return Z},Z}function QH(){let Z=B8();return QH=function(){return Z},Z}var mK0=(Z)=>{return(0,qF().withAppBuildGradle)(Z,(Q)=>{if(Q.modResults.language==="groovy")Q.modResults.contents=Iy(Q,Q.modResults.contents),Q.modResults.contents=wy(Q,Q.modResults.contents);else(0,QH().addWarningAndroid)("android.versionCode","Cannot automatically configure app build.gradle if it's not groovy");return Q})};v7.withVersion=mK0;var cK0=(Z,Q)=>{return(0,qF().withProjectBuildGradle)(Z,(Y)=>{if(Y.modResults.language==="groovy")Y.modResults.contents=Fy(Y.modResults.contents,Q);else(0,QH().addWarningAndroid)("withBuildScriptExtVersion","Cannot automatically configure project build.gradle if it's not groovy");return Y})};v7.withBuildScriptExtMinimumVersion=cK0;function Fy(Z,{name:Q,minVersion:Y}){let J=new RegExp(`(${Q}\\s?=\\s?)(\\d+(?:\\.\\d+)?)`),q=Z.match(J)?.[2];if(!q)return(0,QH().addWarningAndroid)("withBuildScriptExtVersion",`Cannot set minimum buildscript.ext.${Q} version because the property "${Q}" cannot be found or does not have a numeric value.`),Z;let K=Number(q);return Z.replace(J,`$1${Math.max(Y,K)}`)}function Ay(Z){return Z.android?.version??Z.version??null}function wy(Z,Q){let Y=Ay(Z);if(Y===null)return Q;let J=new RegExp('versionName ".*"');return Q.replace(J,`versionName "${Y}"`)}function Ey(Z){return Z.android?.versionCode??1}function Iy(Z,Q){let Y=Ey(Z);if(Y===null)return Q;let J=new RegExp("versionCode.*");return Q.replace(J,`versionCode ${Y}`)}});var Cy=k((VF)=>{Object.defineProperty(VF,"__esModule",{value:!0});VF.get=dK0;function dK0(Z,Q){let Y=Q.split("."),J=Z,q;while(q=Y.shift()){if(!(q in J))return;J=J[q]}return J}});var g5=k((J8)=>{Object.defineProperty(J8,"__esModule",{value:!0});J8.createEntitlementsPlugin=iK0;J8.createInfoPlistPlugin=lK0;J8.createInfoPlistPluginWithPropertyGuard=pK0;J8.withXcodeProject=J8.withPodfileProperties=J8.withPodfile=J8.withInfoPlist=J8.withExpoPlist=J8.withEntitlementsPlist=J8.withAppDelegate=void 0;function B2(){let Z=XZ();return B2=function(){return Z},Z}function Ry(){let Z=Cy();return Ry=function(){return Z},Z}function Ly(){let Z=B8();return Ly=function(){return Z},Z}function lK0(Z,Q){let Y=(J)=>DF(J,async(q)=>{return q.modResults=await Z(q,q.modResults),q});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}function pK0(Z,Q,Y){let J=(q)=>DF(q,async(K)=>{let V=Q.expoPropertyGetter?Q.expoPropertyGetter(K):(0,Ry().get)(K,Q.expoConfigProperty);if(K.modRawConfig.ios?.infoPlist?.[Q.infoPlistProperty]===void 0)K.modResults=await Z(K,K.modResults);else if(V!==void 0)(0,Ly().addWarningIOS)(Q.expoConfigProperty,`"ios.infoPlist.${Q.infoPlistProperty}" is set in the config. Ignoring abstract property "${Q.expoConfigProperty}": ${V}`);return K});if(Y)Object.defineProperty(J,"name",{value:Y});return J}function iK0(Z,Q){let Y=(J)=>My(J,async(q)=>{return q.modResults=await Z(q,q.modResults),q});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}var nK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"appDelegate",action:Q})};J8.withAppDelegate=nK0;var DF=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"infoPlist",async action(Y){if(Y=await Q(Y),!Y.ios)Y.ios={};return Y.ios.infoPlist=Y.modResults,Y}})};J8.withInfoPlist=DF;var My=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"entitlements",async action(Y){if(Y=await Q(Y),!Y.ios)Y.ios={};return Y.ios.entitlements=Y.modResults,Y}})};J8.withEntitlementsPlist=My;var sK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"expoPlist",action:Q})};J8.withExpoPlist=sK0;var aK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"xcodeproj",action:Q})};J8.withXcodeProject=aK0;var rK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"podfile",action:Q})};J8.withPodfile=rK0;var oK0=(Z,Q)=>{return(0,B2().withMod)(Z,{platform:"ios",mod:"podfileProperties",action:Q})};J8.withPodfileProperties=oK0});var GF=k((W6)=>{Object.defineProperty(W6,"__esModule",{value:!0});W6.getBuildNumber=Ny;W6.getVersion=HF;W6.setBuildNumber=Sy;W6.setVersion=jy;W6.withVersion=W6.withBuildNumber=void 0;function zF(){let Z=g5();return zF=function(){return Z},Z}var iR0=W6.withVersion=(0,zF().createInfoPlistPluginWithPropertyGuard)(jy,{infoPlistProperty:"CFBundleShortVersionString",expoConfigProperty:"version | ios.version",expoPropertyGetter:HF},"withVersion"),nR0=W6.withBuildNumber=(0,zF().createInfoPlistPluginWithPropertyGuard)(Sy,{infoPlistProperty:"CFBundleVersion",expoConfigProperty:"ios.buildNumber"},"withBuildNumber");function HF(Z){return Z.ios?.version||Z.version||"1.0.0"}function jy(Z,Q){return{...Q,CFBundleShortVersionString:HF(Z)}}function Ny(Z){return Z.ios?.buildNumber?Z.ios.buildNumber:"1"}function Sy(Z,Q){return{...Q,CFBundleVersion:Ny(Z)}}});var JH=k((k5)=>{Object.defineProperty(k5,"__esModule",{value:!0});k5.FINGERPRINT_RUNTIME_VERSION_SENTINEL=void 0;k5.getAppVersion=uy;k5.getDisableAntiBrickingMeasures=zV0;k5.getExpoUpdatesPackageVersion=tK0;k5.getNativeVersion=fy;k5.getRuntimeVersionAsync=gy;k5.getRuntimeVersionNullableAsync=eK0;k5.getSDKVersion=ZV0;k5.getUpdateUrl=xy;k5.getUpdatesCheckOnLaunch=qV0;k5.getUpdatesCodeSigningCertificate=KV0;k5.getUpdatesCodeSigningMetadata=cy;k5.getUpdatesCodeSigningMetadataStringified=VV0;k5.getUpdatesEnabled=QV0;k5.getUpdatesRequestHeaders=dy;k5.getUpdatesRequestHeadersStringified=DV0;k5.getUpdatesTimeout=JV0;k5.getUpdatesUseEmbeddedUpdate=YV0;k5.resolveRuntimeVersionPolicyAsync=my;function Py(){let Z=Xy();return Py=function(){return Z},Z}function kJ(){let Z=YH(require("fs"));return kJ=function(){return Z},Z}function Ty(){let Z=EJ();return Ty=function(){return Z},Z}function _y(){let Z=YH(require("path"));return _y=function(){return Z},Z}function vy(){let Z=YH(OQ());return vy=function(){return Z},Z}function by(){let Z=YH(KD());return by=function(){return Z},Z}function ky(){let Z=hy(KF());return ky=function(){return Z},Z}function UF(){let Z=hy(GF());return UF=function(){return Z},Z}function yy(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(yy=function(J){return J?Y:Q})(Z)}function hy(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=yy(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function YH(Z){return Z&&Z.__esModule?Z:{default:Z}}var WF=k5.FINGERPRINT_RUNTIME_VERSION_SENTINEL="file:fingerprint";function tK0(Z){let Q=vy().default.silent(Z,"expo-updates/package.json");if(!Q||!kJ().default.existsSync(Q))return null;return JSON.parse(kJ().default.readFileSync(Q,"utf8")).version}function xy(Z){return Z.updates?.url??null}function uy(Z){return Z.version??"1.0.0"}function fy(Z,Q){let Y=UF().getVersion(Z);switch(Q){case"ios":{let J=UF().getBuildNumber(Z);return`${Y}(${J})`}case"android":{let J=ky().getVersionCode(Z);return`${Y}(${J})`}default:throw Error(`"${Q}" is not a supported platform. Choose either "ios" or "android".`)}}async function eK0(...[Z,Q,Y]){try{return await gy(Z,Q,Y)}catch(J){if((0,Ty().boolish)("EXPO_DEBUG",!1))console.log(J);return null}}async function gy(Z,Q,Y){let J=Q[Y]?.runtimeVersion??Q.runtimeVersion;if(!J)return null;if(typeof J==="string"){if(J===WF)throw Error(`${WF} is a reserved value for runtime version. To use a fingerprint runtime version, use the "fingerprint" runtime version policy.`);return J}else if(!J.policy)throw Error(`"${J}" is not a valid runtime version. Only a string or a runtime version policy is supported.`);else if(J.policy==="fingerprint")return WF;else return await my(J.policy,Q,Y)}async function my(Z,Q,Y){if(Z==="appVersion")return uy(Q);else if(Z==="nativeVersion")return fy(Q,Y);else if(Z==="sdkVersion"){if(!Q.sdkVersion)throw Error("An SDK version must be defined when using the 'sdkVersion' runtime policy.");return(0,Py().getRuntimeVersionForSDKVersion)(Q.sdkVersion)}else throw Error(`"${Z}" is not a valid runtime version policy type.`)}function ZV0(Z){return typeof Z.sdkVersion==="string"?Z.sdkVersion:null}function QV0(Z){if(Z.updates?.enabled!==void 0)return Z.updates.enabled;return xy(Z)!==null}function YV0(Z){if(Z.updates?.useEmbeddedUpdate!==void 0)return Z.updates.useEmbeddedUpdate;return!0}function JV0(Z){return Z.updates?.fallbackToCacheTimeout??0}function qV0(Z,Q){if(Z.updates?.checkAutomatically==="ON_ERROR_RECOVERY"){if(Q&&by().default.gte(Q,"0.11.0"))return"ERROR_RECOVERY_ONLY";return"NEVER"}else if(Z.updates?.checkAutomatically==="ON_LOAD")return"ALWAYS";else if(Z.updates?.checkAutomatically==="WIFI_ONLY")return"WIFI_ONLY";else if(Z.updates?.checkAutomatically==="NEVER")return"NEVER";return"ALWAYS"}function KV0(Z,Q){let Y=Q.updates?.codeSigningCertificate;if(!Y)return;let J=_y().default.join(Z,Y);if(!kJ().default.existsSync(J))throw Error(`File not found at \`updates.codeSigningCertificate\` path: ${J}`);return kJ().default.readFileSync(J,"utf8")}function cy(Z){return Z.updates?.codeSigningMetadata}function VV0(Z){let Q=cy(Z);if(!Q)return;return JSON.stringify(Q)}function dy(Z){return Z.updates?.requestHeaders}function DV0(Z){let Q=dy(Z);if(!Q)return;return JSON.stringify(Q)}function zV0(Z){return Z.updates?.disableAntiBrickingMeasures}});var ty=k((U6)=>{Object.defineProperty(U6,"__esModule",{value:!0});U6.Config=void 0;U6.applyRuntimeVersionFromConfigAsync=sy;U6.applyRuntimeVersionFromConfigForProjectRootAsync=ay;U6.setUpdatesConfigAsync=ry;U6.setVersionsConfigAsync=oy;U6.withUpdates=void 0;function ly(){let Z=EX();return ly=function(){return Z},Z}function P5(){let Z=H6();return P5=function(){return Z},Z}function py(){let Z=cQ();return py=function(){return Z},Z}function $F(){let Z=gz();return $F=function(){return Z},Z}function BF(){let Z=L8();return BF=function(){return Z},Z}function iy(){let Z=ZH();return iy=function(){return Z},Z}function b9(){let Z=JH();return b9=function(){return Z},Z}function ny(){let Z=B8();return ny=function(){return Z},Z}var O8=U6.Config=function(Z){return Z.ENABLED="expo.modules.updates.ENABLED",Z.CHECK_ON_LAUNCH="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH",Z.LAUNCH_WAIT_MS="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS",Z.RUNTIME_VERSION="expo.modules.updates.EXPO_RUNTIME_VERSION",Z.UPDATE_URL="expo.modules.updates.EXPO_UPDATE_URL",Z.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="expo.modules.updates.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY",Z.UPDATES_HAS_EMBEDDED_UPDATE="expo.modules.updates.HAS_EMBEDDED_UPDATE",Z.CODE_SIGNING_CERTIFICATE="expo.modules.updates.CODE_SIGNING_CERTIFICATE",Z.CODE_SIGNING_METADATA="expo.modules.updates.CODE_SIGNING_METADATA",Z.DISABLE_ANTI_BRICKING_MEASURES="expo.modules.updates.DISABLE_ANTI_BRICKING_MEASURES",Z}({}),HV0=(Z)=>{return(0,iy().withPlugins)(Z,[WV0,UV0,GV0])};U6.withUpdates=HV0;var GV0=(0,ly().createBuildGradlePropsConfigPlugin)([{propName:"EX_UPDATES_NATIVE_DEBUG",propValueGetter:(Z)=>Z?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugGradleProps"),WV0=(Z)=>{return(0,BF().withAndroidManifest)(Z,async(Q)=>{let Y=Q.modRequest.projectRoot,J=(0,b9().getExpoUpdatesPackageVersion)(Y);return Q.modResults=await ry(Y,Q,Q.modResults,J),Q})},UV0=(0,BF().createStringsXmlPlugin)(sy,"withRuntimeVersionResource");async function sy(Z,Q){let Y=Z.modRequest.projectRoot;return await ay(Y,Z,Q)}async function ay(Z,Q,Y){let J=await(0,b9().getRuntimeVersionNullableAsync)(Z,Q,"android");if(J)return(0,$F().setStringItem)([(0,py().buildResourceItem)({name:"expo_runtime_version",value:J})],Y);return(0,$F().removeStringItem)("expo_runtime_version",Y)}async function ry(Z,Q,Y,J){let q=(0,P5().getMainApplicationOrThrow)(Y);(0,P5().addMetaDataItemToMainApplication)(q,O8.ENABLED,String((0,b9().getUpdatesEnabled)(Q)));let K=(0,b9().getUpdatesCheckOnLaunch)(Q,J);(0,P5().addMetaDataItemToMainApplication)(q,O8.CHECK_ON_LAUNCH,K);let V=(0,b9().getUpdatesTimeout)(Q);if((0,P5().addMetaDataItemToMainApplication)(q,O8.LAUNCH_WAIT_MS,String(V)),(0,b9().getUpdatesUseEmbeddedUpdate)(Q))(0,P5().removeMetaDataItemFromMainApplication)(q,O8.UPDATES_HAS_EMBEDDED_UPDATE);else{if(V===0&&K!=="ALWAYS")(0,ny().addWarningAndroid)("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');(0,P5().addMetaDataItemToMainApplication)(q,O8.UPDATES_HAS_EMBEDDED_UPDATE,"false")}let z=(0,b9().getUpdateUrl)(Q);if(z)(0,P5().addMetaDataItemToMainApplication)(q,O8.UPDATE_URL,z);else(0,P5().removeMetaDataItemFromMainApplication)(q,O8.UPDATE_URL);let H=(0,b9().getUpdatesCodeSigningCertificate)(Z,Q);if(H)(0,P5().addMetaDataItemToMainApplication)(q,O8.CODE_SIGNING_CERTIFICATE,H);else(0,P5().removeMetaDataItemFromMainApplication)(q,O8.CODE_SIGNING_CERTIFICATE);let G=(0,b9().getUpdatesCodeSigningMetadataStringified)(Q);if(G)(0,P5().addMetaDataItemToMainApplication)(q,O8.CODE_SIGNING_METADATA,G);else(0,P5().removeMetaDataItemFromMainApplication)(q,O8.CODE_SIGNING_METADATA);let W=(0,b9().getUpdatesRequestHeadersStringified)(Q);if(W)(0,P5().addMetaDataItemToMainApplication)(q,O8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY,W);else(0,P5().removeMetaDataItemFromMainApplication)(q,O8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY);if((0,b9().getDisableAntiBrickingMeasures)(Q))(0,P5().addMetaDataItemToMainApplication)(q,O8.DISABLE_ANTI_BRICKING_MEASURES,"true");else(0,P5().removeMetaDataItemFromMainApplication)(q,O8.DISABLE_ANTI_BRICKING_MEASURES);return await oy(Z,Q,Y)}async function oy(Z,Q,Y){let J=(0,P5().getMainApplicationOrThrow)(Y),q=await(0,b9().getRuntimeVersionNullableAsync)(Z,Q,"android");if(!q&&(0,P5().findMetaDataItem)(J,O8.RUNTIME_VERSION)>-1)throw Error("A runtime version is set in your AndroidManifest.xml, but is missing from your Expo app config (app.json/app.config.js). Either set runtimeVersion in your Expo app config or remove expo.modules.updates.EXPO_RUNTIME_VERSION from your AndroidManifest.xml.");if(q)(0,P5().removeMetaDataItemFromMainApplication)(J,"expo.modules.updates.EXPO_SDK_VERSION"),(0,P5().addMetaDataItemToMainApplication)(J,O8.RUNTIME_VERSION,"@string/expo_runtime_version");else(0,P5().removeMetaDataItemFromMainApplication)(J,O8.RUNTIME_VERSION),(0,P5().removeMetaDataItemFromMainApplication)(J,"expo.modules.updates.EXPO_SDK_VERSION");return Y}});var Jh=k((nQ)=>{Object.defineProperty(nQ,"__esModule",{value:!0});nQ.getWindowSoftInputModeMode=Yh;nQ.setWindowSoftInputModeMode=Qh;nQ.withWindowSoftInputMode=void 0;function ey(){let Z=H6();return ey=function(){return Z},Z}function Zh(){let Z=L8();return Zh=function(){return Z},Z}var $V0="android:windowSoftInputMode",BV0={pan:"adjustPan",resize:"adjustResize"},OV0=(Z)=>{return(0,Zh().withAndroidManifest)(Z,async(Q)=>{return Q.modResults=Qh(Q,Q.modResults),Q})};nQ.withWindowSoftInputMode=OV0;function Qh(Z,Q){let Y=(0,ey().getMainActivityOrThrow)(Q);return Y.$[$V0]=Yh(Z),Q}function Yh(Z){let Q=Z.android?.softwareKeyboardLayoutMode;if(!Q)return"adjustResize";return BV0[Q]??Q}});var OF=k((E1)=>{Object.defineProperty(E1,"__esModule",{value:!0});E1.WindowSoftInputMode=E1.Version=E1.Updates=E1.Styles=E1.Strings=E1.StatusBar=E1.Scheme=E1.Resources=E1.Properties=E1.PrimaryColor=E1.Permissions=E1.Paths=E1.Package=E1.Orientation=E1.Name=E1.Manifest=E1.Locales=E1.IntentFilters=E1.GoogleServices=E1.GoogleMapsApiKey=E1.EasBuild=E1.Colors=E1.BuildProperties=E1.AllowBackup=void 0;function qh(){let Z=j5(ov());return qh=function(){return Z},Z}Object.defineProperty(E1,"AllowBackup",{enumerable:!0,get:function(){return qh()}});function Kh(){let Z=j5(EX());return Kh=function(){return Z},Z}Object.defineProperty(E1,"BuildProperties",{enumerable:!0,get:function(){return Kh()}});function Vh(){let Z=j5(vz());return Vh=function(){return Z},Z}Object.defineProperty(E1,"Colors",{enumerable:!0,get:function(){return Vh()}});function Dh(){let Z=j5(Ib());return Dh=function(){return Z},Z}Object.defineProperty(E1,"EasBuild",{enumerable:!0,get:function(){return Dh()}});function zh(){let Z=j5(Nb());return zh=function(){return Z},Z}Object.defineProperty(E1,"GoogleMapsApiKey",{enumerable:!0,get:function(){return zh()}});function Hh(){let Z=j5(fb());return Hh=function(){return Z},Z}Object.defineProperty(E1,"GoogleServices",{enumerable:!0,get:function(){return Hh()}});function Gh(){let Z=j5(ib());return Gh=function(){return Z},Z}Object.defineProperty(E1,"IntentFilters",{enumerable:!0,get:function(){return Gh()}});function Wh(){let Z=j5(Yk());return Wh=function(){return Z},Z}Object.defineProperty(E1,"Locales",{enumerable:!0,get:function(){return Wh()}});function Uh(){let Z=j5(H6());return Uh=function(){return Z},Z}Object.defineProperty(E1,"Manifest",{enumerable:!0,get:function(){return Uh()}});function $h(){let Z=j5(zk());return $h=function(){return Z},Z}Object.defineProperty(E1,"Name",{enumerable:!0,get:function(){return $h()}});function Bh(){let Z=j5($k());return Bh=function(){return Z},Z}Object.defineProperty(E1,"Orientation",{enumerable:!0,get:function(){return Bh()}});function Oh(){let Z=j5(Nk());return Oh=function(){return Z},Z}Object.defineProperty(E1,"Package",{enumerable:!0,get:function(){return Oh()}});function Xh(){let Z=j5(AZ());return Xh=function(){return Z},Z}Object.defineProperty(E1,"Paths",{enumerable:!0,get:function(){return Xh()}});function Fh(){let Z=j5(yk());return Fh=function(){return Z},Z}Object.defineProperty(E1,"Permissions",{enumerable:!0,get:function(){return Fh()}});function Ah(){let Z=j5(ck());return Ah=function(){return Z},Z}Object.defineProperty(E1,"PrimaryColor",{enumerable:!0,get:function(){return Ah()}});function wh(){let Z=j5(dk());return wh=function(){return Z},Z}Object.defineProperty(E1,"Properties",{enumerable:!0,get:function(){return wh()}});function Eh(){let Z=j5(cQ());return Eh=function(){return Z},Z}Object.defineProperty(E1,"Resources",{enumerable:!0,get:function(){return Eh()}});function Ih(){let Z=j5(nk());return Ih=function(){return Z},Z}Object.defineProperty(E1,"Scheme",{enumerable:!0,get:function(){return Ih()}});function Ch(){let Z=j5(Zy());return Ch=function(){return Z},Z}Object.defineProperty(E1,"StatusBar",{enumerable:!0,get:function(){return Ch()}});function Rh(){let Z=j5(gz());return Rh=function(){return Z},Z}Object.defineProperty(E1,"Strings",{enumerable:!0,get:function(){return Rh()}});function Lh(){let Z=j5(dz());return Lh=function(){return Z},Z}Object.defineProperty(E1,"Styles",{enumerable:!0,get:function(){return Lh()}});function Mh(){let Z=j5(ty());return Mh=function(){return Z},Z}Object.defineProperty(E1,"Updates",{enumerable:!0,get:function(){return Mh()}});function jh(){let Z=j5(KF());return jh=function(){return Z},Z}Object.defineProperty(E1,"Version",{enumerable:!0,get:function(){return jh()}});function Nh(){let Z=j5(Jh());return Nh=function(){return Z},Z}Object.defineProperty(E1,"WindowSoftInputMode",{enumerable:!0,get:function(){return Nh()}});function Sh(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Sh=function(J){return J?Y:Q})(Z)}function j5(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Sh(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}});var XF=k((qH,Ph)=>{Object.defineProperty(qH,"__esModule",{value:!0});qH.default=AV0;var XV0=FV0(require("crypto"));function FV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function AV0(){return XV0.default.randomBytes(16)}Ph.exports=qH.default});var KH=k((yJ,_h)=>{Object.defineProperty(yJ,"__esModule",{value:!0});yJ.default=void 0;var Th=[];for(sQ=0;sQ<256;++sQ)Th[sQ]=(sQ+256).toString(16).substr(1);var sQ;function wV0(Z,Q){var Y=Q||0,J=Th;return[J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],"-",J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]],J[Z[Y++]]].join("")}var EV0=wV0;yJ.default=EV0;_h.exports=yJ.default});var yh=k((hJ,kh)=>{Object.defineProperty(hJ,"__esModule",{value:!0});hJ.default=void 0;var IV0=bh(XF()),CV0=bh(KH());function bh(Z){return Z&&Z.__esModule?Z:{default:Z}}var vh,FF,AF=0,wF=0;function RV0(Z,Q,Y){var J=Q&&Y||0,q=Q||[];Z=Z||{};var K=Z.node||vh,V=Z.clockseq!==void 0?Z.clockseq:FF;if(K==null||V==null){var D=Z.random||(Z.rng||IV0.default)();if(K==null)K=vh=[D[0]|1,D[1],D[2],D[3],D[4],D[5]];if(V==null)V=FF=(D[6]<<8|D[7])&16383}var z=Z.msecs!==void 0?Z.msecs:new Date().getTime(),H=Z.nsecs!==void 0?Z.nsecs:wF+1,G=z-AF+(H-wF)/1e4;if(G<0&&Z.clockseq===void 0)V=V+1&16383;if((G<0||z>AF)&&Z.nsecs===void 0)H=0;if(H>=1e4)throw Error("uuid.v1(): Can't create more than 10M uuids/sec");AF=z,wF=H,FF=V,z+=12219292800000;var W=((z&268435455)*1e4+H)%4294967296;q[J++]=W>>>24&255,q[J++]=W>>>16&255,q[J++]=W>>>8&255,q[J++]=W&255;var $=z/4294967296*1e4&268435455;q[J++]=$>>>8&255,q[J++]=$&255,q[J++]=$>>>24&15|16,q[J++]=$>>>16&255,q[J++]=V>>>8|128,q[J++]=V&255;for(var B=0;B<6;++B)q[J+B]=K[B];return Q?Q:(0,CV0.default)(q)}var LV0=RV0;hJ.default=LV0;kh.exports=hJ.default});var EF=k((IZ)=>{Object.defineProperty(IZ,"__esModule",{value:!0});IZ.default=PV0;IZ.URL=IZ.DNS=void 0;var MV0=jV0(KH());function jV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function NV0(Z){var Q=[];return Z.replace(/[a-fA-F0-9]{2}/g,function(Y){Q.push(parseInt(Y,16))}),Q}function SV0(Z){Z=unescape(encodeURIComponent(Z));var Q=Array(Z.length);for(var Y=0;Y<Z.length;Y++)Q[Y]=Z.charCodeAt(Y);return Q}var hh="6ba7b810-9dad-11d1-80b4-00c04fd430c8";IZ.DNS=hh;var xh="6ba7b811-9dad-11d1-80b4-00c04fd430c8";IZ.URL=xh;function PV0(Z,Q,Y){var J=function(q,K,V,D){var z=V&&D||0;if(typeof q=="string")q=SV0(q);if(typeof K=="string")K=NV0(K);if(!Array.isArray(q))throw TypeError("value must be an array of bytes");if(!Array.isArray(K)||K.length!==16)throw TypeError("namespace must be uuid string or an Array of 16 byte values");var H=Y(K.concat(q));if(H[6]=H[6]&15|Q,H[8]=H[8]&63|128,V)for(var G=0;G<16;++G)V[z+G]=H[G];return V||(0,MV0.default)(H)};try{J.name=Z}catch(q){}return J.DNS=hh,J.URL=xh,J}});var fh=k((xJ,uh)=>{Object.defineProperty(xJ,"__esModule",{value:!0});xJ.default=void 0;var TV0=_V0(require("crypto"));function _V0(Z){return Z&&Z.__esModule?Z:{default:Z}}function vV0(Z){if(Array.isArray(Z))Z=Buffer.from(Z);else if(typeof Z==="string")Z=Buffer.from(Z,"utf8");return TV0.default.createHash("md5").update(Z).digest()}var bV0=vV0;xJ.default=bV0;uh.exports=xJ.default});var ch=k((uJ,mh)=>{Object.defineProperty(uJ,"__esModule",{value:!0});uJ.default=void 0;var kV0=gh(EF()),yV0=gh(fh());function gh(Z){return Z&&Z.__esModule?Z:{default:Z}}var hV0=(0,kV0.default)("v3",48,yV0.default),xV0=hV0;uJ.default=xV0;mh.exports=uJ.default});var ph=k((fJ,lh)=>{Object.defineProperty(fJ,"__esModule",{value:!0});fJ.default=void 0;var uV0=dh(XF()),fV0=dh(KH());function dh(Z){return Z&&Z.__esModule?Z:{default:Z}}function gV0(Z,Q,Y){var J=Q&&Y||0;if(typeof Z=="string")Q=Z==="binary"?Array(16):null,Z=null;Z=Z||{};var q=Z.random||(Z.rng||uV0.default)();if(q[6]=q[6]&15|64,q[8]=q[8]&63|128,Q)for(var K=0;K<16;++K)Q[J+K]=q[K];return Q||(0,fV0.default)(q)}var mV0=gV0;fJ.default=mV0;lh.exports=fJ.default});var nh=k((gJ,ih)=>{Object.defineProperty(gJ,"__esModule",{value:!0});gJ.default=void 0;var cV0=dV0(require("crypto"));function dV0(Z){return Z&&Z.__esModule?Z:{default:Z}}function lV0(Z){if(Array.isArray(Z))Z=Buffer.from(Z);else if(typeof Z==="string")Z=Buffer.from(Z,"utf8");return cV0.default.createHash("sha1").update(Z).digest()}var pV0=lV0;gJ.default=pV0;ih.exports=gJ.default});var rh=k((mJ,ah)=>{Object.defineProperty(mJ,"__esModule",{value:!0});mJ.default=void 0;var iV0=sh(EF()),nV0=sh(nh());function sh(Z){return Z&&Z.__esModule?Z:{default:Z}}var sV0=(0,iV0.default)("v5",80,nV0.default),aV0=sV0;mJ.default=aV0;ah.exports=mJ.default});var oh=k((aQ)=>{Object.defineProperty(aQ,"__esModule",{value:!0});Object.defineProperty(aQ,"v1",{enumerable:!0,get:function(){return rV0.default}});Object.defineProperty(aQ,"v3",{enumerable:!0,get:function(){return oV0.default}});Object.defineProperty(aQ,"v4",{enumerable:!0,get:function(){return tV0.default}});Object.defineProperty(aQ,"v5",{enumerable:!0,get:function(){return eV0.default}});var rV0=VH(yh()),oV0=VH(ch()),tV0=VH(ph()),eV0=VH(rh());function VH(Z){return Z&&Z.__esModule?Z:{default:Z}}});var Qx=k((YL0,Zx)=>{var QL0=CF(),th=require("util"),O2=th.format,ZD0="\t",DH=/_comment$/,QD0=require("events").EventEmitter;function eh(Z){if(Z<=0)return"";else return ZD0+eh(Z-1)}function zH(Z,Q){var Y=Q[Z+"_comment"];if(Y)return Y;else return null}function cJ(Z){return Z===Object(Z)}function IF(Z){return Array.isArray(Z)}function k9(Z,Q){if(!Q)Q={};if(Q.omitEmptyValues===void 0)Q.omitEmptyValues=!1;this.contents=Z,this.sync=!1,this.indentLevel=0,this.omitEmptyValues=Q.omitEmptyValues}th.inherits(k9,QD0);k9.prototype.write=function(Z){var Q=O2.apply(null,arguments);if(this.sync)this.buffer+=O2("%s%s",eh(this.indentLevel),Q)};k9.prototype.writeFlush=function(Z){var Q=this.indentLevel;this.indentLevel=0,this.write.apply(this,arguments),this.indentLevel=Q};k9.prototype.writeSync=function(){return this.sync=!0,this.buffer="",this.writeHeadComment(),this.writeProject(),this.buffer};k9.prototype.writeHeadComment=function(){if(this.contents.headComment)this.write(`// %s
294
294
  `,this.contents.headComment)};k9.prototype.writeProject=function(){var Z=this.contents.project,Q,Y,J;if(this.write(`{
295
295
  `),Z){this.indentLevel++;for(Q in Z){if(DH.test(Q))continue;if(Y=zH(Q,Z),J=Z[Q],IF(J))this.writeArray(J,Q);else if(cJ(J)){if(this.write(`%s = {
296
296
  `,Q),this.indentLevel++,Q==="objects")this.writeObjectsSections(J);else this.writeObject(J);this.indentLevel--,this.write(`};
@@ -316,14 +316,14 @@ See the package documentation on how to correctly configure the plugin.`,"INVALI
316
316
  `)}}};k9.prototype.writeInlineObject=function(Z,Q,Y){var J=[],q=this,K=function(V,D,z){var H,G,W;if(D)J.push(O2("%s /* %s */ = {",V,D));else J.push(O2("%s = {",V));for(H in z){if(DH.test(H))continue;if(G=zH(H,z),W=z[H],IF(W)){J.push(O2("%s = (",H));for(var $=0;$<W.length;$++)J.push(O2("%s, ",W[$]));J.push("); ")}else if(cJ(W))K(H,G,W);else if(q.omitEmptyValues&&(W===void 0||W===null))continue;else if(G)J.push(O2("%s = %s /* %s */; ",H,W,G));else J.push(O2("%s = %s; ",H,W))}J.push("}; ")};K(Z,Q,Y),this.write(`%s
317
317
  `,J.join("").trim())};Zx.exports=k9});var RF=k((JL0,Kx)=>{var rQ=require("path"),YD0=require("util"),Yx='"<group>"',JD0="BUILT_PRODUCTS_DIR",qD0="Resources",qx="unknown",HH={a:"archive.ar",app:"wrapper.application",appex:"wrapper.app-extension",bundle:"wrapper.plug-in",dylib:"compiled.mach-o.dylib",framework:"wrapper.framework",h:"sourcecode.c.h",m:"sourcecode.c.objc",markdown:"text",mdimporter:"wrapper.cfbundle",octest:"wrapper.cfbundle",pch:"sourcecode.c.h",plist:"text.plist.xml",sh:"text.script.sh",swift:"sourcecode.swift",tbd:"sourcecode.text-based-dylib-definition",xcassets:"folder.assetcatalog",xcconfig:"text.xcconfig",xcdatamodel:"wrapper.xcdatamodel",xcodeproj:"wrapper.pb-project",xctest:"wrapper.cfbundle",xib:"file.xib",strings:"text.plist.strings"},Jx={"archive.ar":"Frameworks","compiled.mach-o.dylib":"Frameworks","sourcecode.text-based-dylib-definition":"Frameworks","wrapper.framework":"Frameworks","embedded.framework":"Embed Frameworks","sourcecode.c.h":"Resources","sourcecode.c.objc":"Sources","sourcecode.swift":"Sources"},KD0={"compiled.mach-o.dylib":"usr/lib/","sourcecode.text-based-dylib-definition":"usr/lib/","wrapper.framework":"System/Library/Frameworks/"},VD0={"compiled.mach-o.dylib":"SDKROOT","sourcecode.text-based-dylib-definition":"SDKROOT","wrapper.framework":"SDKROOT"},DD0={"sourcecode.c.h":4,"sourcecode.c.h":4,"sourcecode.c.objc":4,"sourcecode.swift":4,text:4,"text.plist.xml":4,"text.script.sh":4,"text.xcconfig":4,"text.plist.strings":4};function X2(Z){return Z==null?"":Z.replace(/(^")|("$)/g,"")}function zD0(Z){var Q=rQ.extname(Z).substring(1),Y=HH[X2(Q)];if(!Y)return qx;return Y}function HD0(Z){var Q=Z.lastKnownFileType&&Z.lastKnownFileType!=qx?Z.lastKnownFileType:Z.explicitFileType;for(var Y in HH)if(HH.hasOwnProperty(X2(Y))){if(HH[X2(Y)]===X2(Q))return Y}}function GD0(Z){var Q=Z.lastKnownFileType||Z.explicitFileType,Y=DD0[X2(Q)];if(Y)return Y}function WD0(Z,Q){var Y=rQ.extname(Z.basename).substring(1),J=Z.lastKnownFileType||Z.explicitFileType,q=Jx[X2(J)];if(Y==="xcdatamodeld")return"Sources";if(Q.customFramework&&Q.embed)return Jx["embedded.framework"];if(!q)return qD0;return q}function UD0(Z){var Q=Z.lastKnownFileType||Z.explicitFileType,Y=VD0[X2(Q)];if(Z.explicitFileType)return JD0;if(Z.customFramework)return Yx;if(!Y)return Yx;return Y}function $D0(Z,Q){var Y=Z.lastKnownFileType||Z.explicitFileType,J=KD0[X2(Y)];if(Z.customFramework)return Q;if(J)return rQ.join(J,rQ.basename(Q));return Q}function BD0(Z,Y){var Y=Y||{};if(this.basename=rQ.basename(Z),this.lastKnownFileType=Y.lastKnownFileType||zD0(Z),this.group=WD0(this,Y),Y.customFramework==!0)this.customFramework=!0,this.dirname=rQ.dirname(Z).replace(/\\/g,"/");if(this.path=$D0(this,Z).replace(/\\/g,"/"),this.fileEncoding=this.defaultEncoding=Y.defaultEncoding||GD0(this),Y.explicitFileType)this.explicitFileType=Y.explicitFileType,this.basename=this.basename+"."+HD0(this),delete this.path,delete this.lastKnownFileType,delete this.group,delete this.defaultEncoding;if(this.sourceTree=Y.sourceTree||UD0(this),this.includeInIndex=0,Y.weak&&Y.weak===!0)this.settings={ATTRIBUTES:["Weak"]};if(Y.compilerFlags){if(!this.settings)this.settings={};this.settings.COMPILER_FLAGS=YD0.format('"%s"',Y.compilerFlags)}if(Y.embed&&Y.sign){if(!this.settings)this.settings={};if(!this.settings.ATTRIBUTES)this.settings.ATTRIBUTES=[];this.settings.ATTRIBUTES.push("CodeSignOnCopy")}}Kx.exports=BD0});var Dx=k((qL0,Vx)=>{function OD0(Z,Q){function Y(){this.constructor=Z}Y.prototype=Q.prototype,Z.prototype=new Y}function CZ(Z,Q,Y,J){if(this.message=Z,this.expected=Q,this.found=Y,this.location=J,this.name="SyntaxError",typeof Error.captureStackTrace==="function")Error.captureStackTrace(this,CZ)}OD0(CZ,Error);CZ.buildMessage=function(Z,Q){var Y={literal:function(H){return'"'+q(H.text)+'"'},class:function(H){var G="",W;for(W=0;W<H.parts.length;W++)G+=H.parts[W]instanceof Array?K(H.parts[W][0])+"-"+K(H.parts[W][1]):K(H.parts[W]);return"["+(H.inverted?"^":"")+G+"]"},any:function(H){return"any character"},end:function(H){return"end of input"},other:function(H){return H.description}};function J(H){return H.charCodeAt(0).toString(16).toUpperCase()}function q(H){return H.replace(/\\/g,"\\\\").replace(/"/g,"\\\"").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(G){return"\\x0"+J(G)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(G){return"\\x"+J(G)})}function K(H){return H.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(G){return"\\x0"+J(G)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(G){return"\\x"+J(G)})}function V(H){return Y[H.type](H)}function D(H){var G=Array(H.length),W,$;for(W=0;W<H.length;W++)G[W]=V(H[W]);if(G.sort(),G.length>0){for(W=1,$=1;W<G.length;W++)if(G[W-1]!==G[W])G[$]=G[W],$++;G.length=$}switch(G.length){case 1:return G[0];case 2:return G[0]+" or "+G[1];default:return G.slice(0,-1).join(", ")+", or "+G[G.length-1]}}function z(H){return H?'"'+q(H)+'"':"end of input"}return"Expected "+D(Z)+" but "+z(Q)+" found."};function XD0(Z,Q){Q=Q!==void 0?Q:{};var Y={},J={Project:e6},q=e6,K=function(h,a){var z0=Object.create(null);if(z0.project=a,h)z0.headComment=h;return z0},V="{",D=Z5("{",!1),z="}",H=Z5("}",!1),G=function(h){return h},W=function(){return Object.create(null)},$=function(h){var a=h[0][0];for(var z0=1;z0<h.length;z0++){var m0=h[z0][0];a=Object.assign(a,m0)}return a},B="=",O=Z5("=",!1),A=";",w=Z5(";",!1),E=function(h,a){var z0=Object.create(null);return z0[h]=a,z0},S=function(h,a){var z0=Object.create(null),m0=h.id+"_comment";return z0[h.id]=a,z0[m0]=h[m0],z0},X=function(h,a){var z0=Object.create(null);return z0[h]=a.value,z0[h+"_comment"]=a.comment,z0},F=function(h,a){var z0=Object.create(null);return z0.id=h,z0[h+"_comment"]=a.trim(),z0},U=function(h,a){var z0=Object.create(null);return z0.comment=a.trim(),z0.value=h.trim(),z0},I=/^[^*]/,P=Q5(["*"],!0,!1),L=function(h){return h.join("")},R="/*",C=Z5("/*",!1),N="*/",j=Z5("*/",!1),_=function(h,a){var z0=Object.create(null);return z0[h.name]=a,z0},v="/* Begin ",b=Z5("/* Begin ",!1),T=" section */",u=Z5(" section */",!1),x=function(h){return{name:h}},g="/* End ",c=Z5("/* End ",!1),p="(",Y0=Z5("(",!1),o=")",D0=Z5(")",!1),C0=function(h){return h},m=function(){return[]},y=function(h,a){if(a)return a.unshift(h),a;else return[h]},l=function(h){return h},n=function(h,a){var z0=Object.create(null);return z0.value=h.trim(),z0.comment=a.trim(),z0},j0=",",a0=Z5(",",!1),s=/^[A-Za-z0-9_.]/,Z0=Q5([["A","Z"],["a","z"],["0","9"],"_","."],!1,!1),H0=function(h){return h.join("")},S0=".",G0=Z5(".",!1),F0=function(h){return h.join("")},N0=function(h){return parseInt(h.join(""),10)},T0=function(h){return'"'+h+'"'},e0=function(h){return h.join("")},r0=r6(),Q1=function(h){return h},B0="\\",P0=Z5("\\",!1),b0=function(){return"\\\""},W0=function(h){return h.join("")},i0=/^[^;,\n]/,M=Q5([";",",",`
318
318
  `],!0,!1),Q0="//",U0=Z5("//",!1),L0=function(h){return h},O0=function(h){return h.join("")},g0=/^[0-9]/,u0=Q5([["0","9"]],!1,!1),Z1=/^[A-Za-z]/,G1=Q5([["A","Z"],["a","z"]],!1,!1),q0='"',E0=Z5('"',!1),A0=c4("whitespace"),d0=/^[\t ]/,f=Q5(["\t"," "],!1,!1),e=/^[\n\r]/,w0=Q5([`
319
- `,"\r"],!1,!1),d=0,$0=0,x0=[{line:1,column:1}],t0=0,n0=[],_0=0,H1;if("startRule"in Q){if(!(Q.startRule in J))throw Error(`Can't start parsing from rule "`+Q.startRule+'".');q=J[Q.startRule]}function w1(){return Z.substring($0,d)}function y1(){return C9($0,d)}function N1(h,a){throw a=a!==void 0?a:C9($0,d),t6([c4(h)],Z.substring($0,d),a)}function T8(h,a){throw a=a!==void 0?a:C9($0,d),s7(h,a)}function Z5(h,a){return{type:"literal",text:h,ignoreCase:a}}function Q5(h,a,z0){return{type:"class",parts:h,inverted:a,ignoreCase:z0}}function r6(){return{type:"any"}}function m4(){return{type:"end"}}function c4(h){return{type:"other",description:h}}function o6(h){var a=x0[h],z0;if(a)return a;else{z0=h-1;while(!x0[z0])z0--;a=x0[z0],a={line:a.line,column:a.column};while(z0<h){if(Z.charCodeAt(z0)===10)a.line++,a.column=1;else a.column++;z0++}return x0[h]=a,a}}function C9(h,a){var z0=o6(h),m0=o6(a);return{start:{offset:h,line:z0.line,column:z0.column},end:{offset:a,line:m0.line,column:m0.column}}}function M1(h){if(d<t0)return;if(d>t0)t0=d,n0=[];n0.push(h)}function s7(h,a){return new CZ(h,null,null,a)}function t6(h,a,z0){return new CZ(CZ.buildMessage(h,a),h,a,z0)}function e6(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=_o(),a===Y)a=null;if(a!==Y){if(z0=tZ(),z0===Y)z0=null;if(z0!==Y)if(m0=N5(),m0!==Y)if(X1=Z4(),X1!==Y)if(B5=p2(),B5!==Y)if(R9=N5(),R9!==Y)$0=h,a=K(a,X1),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function Z4(){var h,a,z0,m0;if(h=d,Z.charCodeAt(d)===123)a=V,d++;else if(a=Y,_0===0)M1(D);if(a!==Y){if(z0=oZ(),z0===Y)z0=rZ();if(z0!==Y){if(Z.charCodeAt(d)===125)m0=z,d++;else if(m0=Y,_0===0)M1(H);if(m0!==Y)$0=h,a=G(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function rZ(){var h,a;if(h=d,a=N5(),a!==Y)$0=h,a=W();return h=a,h}function oZ(){var h,a,z0,m0,X1,B5;if(h=d,a=N5(),a!==Y){if(z0=[],m0=d,X1=uK(),X1===Y)X1=gK();if(X1!==Y)if(B5=N5(),B5!==Y)X1=[X1,B5],m0=X1;else d=m0,m0=Y;else d=m0,m0=Y;if(m0!==Y)while(m0!==Y){if(z0.push(m0),m0=d,X1=uK(),X1===Y)X1=gK();if(X1!==Y)if(B5=N5(),B5!==Y)X1=[X1,B5],m0=X1;else d=m0,m0=Y;else d=m0,m0=Y}else z0=Y;if(z0!==Y)$0=h,a=$(z0),h=a;else d=h,h=Y}else d=h,h=Y;return h}function uK(){var h=hW();if(h===Y)h=xW();return h}function hW(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=D3(),a!==Y)if(z0=N5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=N5(),X1!==Y)if(B5=z3(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=E(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function xW(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=uW(),a!==Y)if(z0=N5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=N5(),X1!==Y)if(B5=z3(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=S(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;if(h===Y)if(h=d,a=D3(),a!==Y)if(z0=N5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=N5(),X1!==Y)if(B5=fW(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=X(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function uW(){var h,a,z0,m0;if(h=d,a=D3(),a!==Y)if(z0=N5(),z0!==Y)if(m0=tZ(),m0!==Y)$0=h,a=F(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function fW(){var h,a,z0,m0;if(h=d,a=z3(),a!==Y)if(z0=N5(),z0!==Y)if(m0=tZ(),m0!==Y)$0=h,a=U(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function tZ(){var h,a,z0,m0;if(h=d,a=fK(),a!==Y){if(z0=[],I.test(Z.charAt(d)))m0=Z.charAt(d),d++;else if(m0=Y,_0===0)M1(P);if(m0!==Y){while(m0!==Y)if(z0.push(m0),I.test(Z.charAt(d)))m0=Z.charAt(d),d++;else if(m0=Y,_0===0)M1(P)}else z0=Y;if(z0!==Y)if(m0=gW(),m0!==Y)$0=h,a=L(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function fK(){var h;if(Z.substr(d,2)===R)h=R,d+=2;else if(h=Y,_0===0)M1(C);return h}function gW(){var h;if(Z.substr(d,2)===N)h=N,d+=2;else if(h=Y,_0===0)M1(j);return h}function gK(){var h,a,z0,m0,X1,B5;if(h=d,a=mW(),a!==Y)if(z0=N5(),z0!==Y){if(m0=oZ(),m0===Y)m0=rZ();if(m0!==Y)if(X1=N5(),X1!==Y)if(B5=cW(),B5!==Y)$0=h,a=_(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function mW(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,9)===v)a=v,d+=9;else if(a=Y,_0===0)M1(b);if(a!==Y)if(z0=D3(),z0!==Y){if(Z.substr(d,11)===T)m0=T,d+=11;else if(m0=Y,_0===0)M1(u);if(m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=x(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function cW(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,7)===g)a=g,d+=7;else if(a=Y,_0===0)M1(c);if(a!==Y)if(z0=D3(),z0!==Y){if(Z.substr(d,11)===T)m0=T,d+=11;else if(m0=Y,_0===0)M1(u);if(m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=x(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function dW(){var h,a,z0,m0;if(h=d,Z.charCodeAt(d)===40)a=p,d++;else if(a=Y,_0===0)M1(Y0);if(a!==Y){if(z0=mK(),z0===Y)z0=lW();if(z0!==Y){if(Z.charCodeAt(d)===41)m0=o,d++;else if(m0=Y,_0===0)M1(D0);if(m0!==Y)$0=h,a=C0(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function lW(){var h,a;if(h=d,a=N5(),a!==Y)$0=h,a=m();return h=a,h}function mK(){var h,a,z0,m0,X1,B5;if(h=d,a=N5(),a!==Y)if(z0=pW(),z0!==Y)if(m0=N5(),m0!==Y){if(X1=mK(),X1===Y)X1=null;if(X1!==Y)if(B5=N5(),B5!==Y)$0=h,a=y(z0,X1),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function pW(){var h=iW();if(h===Y)h=Lo();return h}function iW(){var h,a,z0;if(h=d,a=z3(),a!==Y)if(z0=oI(),z0!==Y)$0=h,a=l(a),h=a;else d=h,h=Y;else d=h,h=Y;return h}function Lo(){var h,a,z0,m0,X1;if(h=d,a=z3(),a!==Y)if(z0=N5(),z0!==Y)if(m0=tZ(),m0!==Y)if(X1=oI(),X1!==Y)$0=h,a=n(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function oI(){var h,a,z0,m0;if(Z.charCodeAt(d)===44)h=j0,d++;else if(h=Y,_0===0)M1(a0);if(h===Y)if(h=d,a=N5(),a!==Y){if(z0=d,_0++,Z.charCodeAt(d)===41)m0=o,d++;else if(m0=Y,_0===0)M1(D0);if(_0--,m0!==Y)d=z0,z0=void 0;else z0=Y;if(z0!==Y)a=[a,z0],h=a;else d=h,h=Y}else d=h,h=Y;return h}function D3(){var h,a,z0;if(h=d,a=[],s.test(Z.charAt(d)))z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(Z0);if(z0!==Y){while(z0!==Y)if(a.push(z0),s.test(Z.charAt(d)))z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(Z0)}else a=Y;if(a!==Y)$0=h,a=H0(a);if(h=a,h===Y)h=tI();return h}function z3(){var h=Z4();if(h===Y){if(h=dW(),h===Y){if(h=Mo(),h===Y)h=No()}}return h}function Mo(){var h=jo();if(h===Y)h=nW();return h}function jo(){var h,a,z0,m0,X1;if(h=d,a=d,z0=nW(),z0!==Y){if(Z.charCodeAt(d)===46)m0=S0,d++;else if(m0=Y,_0===0)M1(G0);if(m0!==Y)if(X1=nW(),X1!==Y)z0=[z0,m0,X1],a=z0;else d=a,a=Y;else d=a,a=Y}else d=a,a=Y;if(a!==Y)$0=h,a=F0(a);return h=a,h}function nW(){var h,a,z0,m0,X1;if(h=d,a=d,_0++,z0=bo(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(z0=[],m0=YC(),m0!==Y)while(m0!==Y)z0.push(m0),m0=YC();else z0=Y;if(z0!==Y){if(m0=d,_0++,X1=QC(),_0--,X1===Y)m0=void 0;else d=m0,m0=Y;if(m0!==Y)$0=h,a=N0(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function No(){var h=tI();if(h===Y)h=To();return h}function tI(){var h,a,z0,m0;if(h=d,a=cK(),a!==Y)if(z0=So(),z0!==Y)if(m0=cK(),m0!==Y)$0=h,a=T0(z0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function So(){var h,a,z0;if(h=d,a=[],z0=eI(),z0!==Y)while(z0!==Y)a.push(z0),z0=eI();else a=Y;if(a!==Y)$0=h,a=e0(a);return h=a,h}function eI(){var h,a,z0;if(h=Po(),h===Y){if(h=d,a=d,_0++,z0=cK(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(Z.length>d)z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(r0);if(z0!==Y)$0=h,a=Q1(z0),h=a;else d=h,h=Y}else d=h,h=Y}return h}function Po(){var h,a,z0;if(h=d,Z.charCodeAt(d)===92)a=B0,d++;else if(a=Y,_0===0)M1(P0);if(a!==Y)if(z0=cK(),z0!==Y)$0=h,a=b0(),h=a;else d=h,h=Y;else d=h,h=Y;return h}function To(){var h,a,z0;if(h=d,a=[],z0=ZC(),z0!==Y)while(z0!==Y)a.push(z0),z0=ZC();else a=Y;if(a!==Y)$0=h,a=W0(a);return h=a,h}function ZC(){var h,a,z0,m0;if(h=d,a=d,_0++,z0=fK(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(z0=d,_0++,m0=ko(),_0--,m0===Y)z0=void 0;else d=z0,z0=Y;if(z0!==Y)if(m0=QC(),m0!==Y)$0=h,a=Q1(m0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function QC(){var h;if(i0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(M);return h}function _o(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,2)===Q0)a=Q0,d+=2;else if(a=Y,_0===0)M1(U0);if(a!==Y)if(z0=N5(),z0!==Y)if(m0=vo(),m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=L0(m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function vo(){var h,a,z0;h=d,a=[],z0=qC();while(z0!==Y)a.push(z0),z0=qC();if(a!==Y)$0=h,a=O0(a);return h=a,h}function YC(){var h;if(g0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(u0);return h}function bo(){var h;if(Z1.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(G1);return h}function cK(){var h;if(Z.charCodeAt(d)===34)h=q0,d++;else if(h=Y,_0===0)M1(E0);return h}function N5(){var h,a;_0++,h=[],a=JC();while(a!==Y)h.push(a),a=JC();if(_0--,h===Y){if(a=Y,_0===0)M1(A0)}return h}function JC(){var h=p2();if(h===Y){if(d0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(f)}return h}function qC(){var h,a,z0;if(h=d,a=d,_0++,z0=p2(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y)if(z0=yo(),z0!==Y)$0=h,a=Q1(z0),h=a;else d=h,h=Y;else d=h,h=Y;return h}function ko(){var h=p2();if(h===Y){if(Z.charCodeAt(d)===59)h=A,d++;else if(h=Y,_0===0)M1(w)}return h}function p2(){var h;if(e.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(w0);return h}function yo(){var h;if(Z.length>d)h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(r0);return h}if(H1=q(),H1!==Y&&d===Z.length)return H1;else{if(H1!==Y&&d<Z.length)M1(m4());throw t6(n0,t0<Z.length?Z.charAt(t0):null,t0<Z.length?C9(t0,t0+1):C9(t0,t0))}}Vx.exports={SyntaxError:CZ,parse:XD0}});var Hx=k((GH,dJ)=>{var zx=GH&&GH.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};(function(Z){if(typeof dJ==="object"&&typeof dJ.exports==="object"){var Q=Z(require,GH);if(Q!==void 0)dJ.exports=Q}else if(typeof define==="function"&&define.amd)define(["require","exports","bplist-creator","bplist-parser","./parse","./readFile","./readFileSync","./stringify","./writeBinaryFile","./writeBinaryFileSync","./writeFile","./writeFileSync"],Z)})(function(Z,Q){Object.defineProperty(Q,"__esModule",{value:!0});var Y=zx(Z("bplist-creator")),J=zx(Z("bplist-parser")),q=Z("./parse"),K=Z("./readFile"),V=Z("./readFileSync"),D=Z("./stringify"),z=Z("./writeBinaryFile"),H=Z("./writeBinaryFileSync"),G=Z("./writeFile"),W=Z("./writeFileSync"),$={bplistCreator:Y.default,bplistParser:J.default,parse:q.parse,readFile:K.readFile,readFileSync:V.readFileSync,stringify:D.stringify,writeBinaryFile:z.writeBinaryFile,writeBinaryFileSync:H.writeBinaryFileSync,writeFile:G.writeFile,writeFileSync:W.writeFileSync};Q.default=$,dJ.exports=$})});var CF=k((KL0,Xx)=>{var __dirname="/home/expo/workingdir/build/node_modules/.bun/xcode@3.0.1/node_modules/xcode/lib",Gx=require("util"),G9=Gx.format,FD0=require("events").EventEmitter,A2=require("path"),AD0=oh(),wD0=require("child_process").fork,ED0=Qx(),o5=RF(),Wx=require("fs"),ID0=Dx(),CD0=Hx(),m5=/_comment$/;function f0(Z){if(!(this instanceof f0))return new f0(Z);this.filepath=A2.resolve(Z)}Gx.inherits(f0,FD0);f0.prototype.parse=function(Z){var Q=wD0(__dirname+"/parseJob.js",[this.filepath]);if(Q.on("message",function(Y){if(Y.name=="SyntaxError"||Y.code)this.emit("error",Y);else this.hash=Y,this.emit("end",null,Y)}.bind(this)),Z)this.on("error",Z),this.on("end",Z);return this};f0.prototype.parseSync=function(){var Z=Wx.readFileSync(this.filepath,"utf-8");return this.hash=ID0.parse(Z),this};f0.prototype.writeSync=function(Z){return this.writer=new ED0(this.hash,Z),this.writer.writeSync()};f0.prototype.allUuids=function(){var Z=this.hash.project.objects,Q=[],Y;for(key in Z)Y=Z[key],Q=Q.concat(Object.keys(Y));return Q=Q.filter(function(J){return!m5.test(J)&&J.length==24}),Q};f0.prototype.generateUuid=function(){var Z=AD0.v4().replace(/-/g,"").substr(0,24).toUpperCase();if(this.allUuids().indexOf(Z)>=0)return this.generateUuid();else return Z};f0.prototype.addPluginFile=function(Z,Q){var Y=new o5(Z,Q);if(Y.plugin=!0,$x(Y,this),this.hasFile(Y.path))return null;return Y.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Y),this.addToPluginsPbxGroup(Y),Y};f0.prototype.removePluginFile=function(Z,Q){var Y=new o5(Z,Q);return $x(Y,this),this.removeFromPbxFileReferenceSection(Y),this.removeFromPluginsPbxGroup(Y),Y};f0.prototype.addProductFile=function(Z,Q){var Y=new o5(Z,Q);return Y.includeInIndex=0,Y.fileRef=this.generateUuid(),Y.target=Q?Q.target:void 0,Y.group=Q?Q.group:void 0,Y.uuid=this.generateUuid(),Y.path=Y.basename,this.addToPbxFileReferenceSection(Y),this.addToProductsPbxGroup(Y),Y};f0.prototype.removeProductFile=function(Z,Q){var Y=new o5(Z,Q);return this.removeFromProductsPbxGroup(Y),Y};f0.prototype.addSourceFile=function(Z,Q,Y){var J;if(Y)J=this.addFile(Z,Y,Q);else J=this.addPluginFile(Z,Q);if(!J)return!1;return J.target=Q?Q.target:void 0,J.uuid=this.generateUuid(),this.addToPbxBuildFileSection(J),this.addToPbxSourcesBuildPhase(J),J};f0.prototype.removeSourceFile=function(Z,Q,Y){var J;if(Y)J=this.removeFile(Z,Y,Q);else J=this.removePluginFile(Z,Q);return J.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(J),this.removeFromPbxSourcesBuildPhase(J),J};f0.prototype.addHeaderFile=function(Z,Q,Y){if(Y)return this.addFile(Z,Y,Q);else return this.addPluginFile(Z,Q)};f0.prototype.removeHeaderFile=function(Z,Q,Y){if(Y)return this.removeFile(Z,Y,Q);else return this.removePluginFile(Z,Q)};f0.prototype.addResourceFile=function(Z,Q,Y){Q=Q||{};var J;if(Q.plugin){if(J=this.addPluginFile(Z,Q),!J)return!1}else if(J=new o5(Z,Q),this.hasFile(J.path))return!1;if(J.uuid=this.generateUuid(),J.target=Q?Q.target:void 0,!Q.plugin)Bx(J,this),J.fileRef=this.generateUuid();if(!Q.variantGroup)this.addToPbxBuildFileSection(J),this.addToPbxResourcesBuildPhase(J);if(!Q.plugin)if(this.addToPbxFileReferenceSection(J),Y){if(this.getPBXGroupByKey(Y))this.addToPbxGroup(J,Y);else if(this.getPBXVariantGroupByKey(Y))this.addToPbxVariantGroup(J,Y)}else this.addToResourcesPbxGroup(J);return J};f0.prototype.removeResourceFile=function(Z,Q,Y){var J=new o5(Z,Q);if(J.target=Q?Q.target:void 0,Bx(J,this),this.removeFromPbxBuildFileSection(J),this.removeFromPbxFileReferenceSection(J),Y){if(this.getPBXGroupByKey(Y))this.removeFromPbxGroup(J,Y);else if(this.getPBXVariantGroupByKey(Y))this.removeFromPbxVariantGroup(J,Y)}else this.removeFromResourcesPbxGroup(J);return this.removeFromPbxResourcesBuildPhase(J),J};f0.prototype.addFramework=function(Z,Q){var Y=Q&&Q.customFramework==!0,J=!Q||(Q.link==null||Q.link),q=Q&&Q.embed;if(Q)delete Q.embed;var K=new o5(Z,Q);if(K.uuid=this.generateUuid(),K.fileRef=this.generateUuid(),K.target=Q?Q.target:void 0,this.hasFile(K.path))return!1;if(this.addToPbxBuildFileSection(K),this.addToPbxFileReferenceSection(K),this.addToFrameworksPbxGroup(K),J)this.addToPbxFrameworksBuildPhase(K);if(Y){if(this.addToFrameworkSearchPaths(K),q){Q.embed=q;var V=new o5(Z,Q);return V.uuid=this.generateUuid(),V.fileRef=K.fileRef,this.addToPbxBuildFileSection(V),this.addToPbxEmbedFrameworksBuildPhase(V),V}}return K};f0.prototype.removeFramework=function(Z,Q){var Y=Q&&Q.embed;if(Q)delete Q.embed;var J=new o5(Z,Q);if(J.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(J),this.removeFromPbxFileReferenceSection(J),this.removeFromFrameworksPbxGroup(J),this.removeFromPbxFrameworksBuildPhase(J),Q&&Q.customFramework)this.removeFromFrameworkSearchPaths(J);Q=Q||{},Q.embed=!0;var q=new o5(Z,Q);return q.fileRef=J.fileRef,this.removeFromPbxBuildFileSection(q),this.removeFromPbxEmbedFrameworksBuildPhase(q),J};f0.prototype.addCopyfile=function(Z,Q){var Y=new o5(Z,Q);if(this.hasFile(Y.path))Y=this.hasFile(Y.path);return Y.fileRef=Y.uuid=this.generateUuid(),Y.target=Q?Q.target:void 0,this.addToPbxBuildFileSection(Y),this.addToPbxFileReferenceSection(Y),this.addToPbxCopyfilesBuildPhase(Y),Y};f0.prototype.pbxCopyfilesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",Z)};f0.prototype.addToPbxCopyfilesBuildPhase=function(Z){var Q=this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",Z.target);Q.files.push(F2(Z))};f0.prototype.removeCopyfile=function(Z,Q){var Y=new o5(Z,Q);return Y.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(Y),this.removeFromPbxFileReferenceSection(Y),this.removeFromPbxCopyfilesBuildPhase(Y),Y};f0.prototype.removeFromPbxCopyfilesBuildPhase=function(Z){var Q=this.pbxCopyfilesBuildPhaseObj(Z.target);for(i in Q.files)if(Q.files[i].comment==RZ(Z)){Q.files.splice(i,1);break}};f0.prototype.addStaticLibrary=function(Z,Q){Q=Q||{};var Y;if(Q.plugin){if(Y=this.addPluginFile(Z,Q),!Y)return!1}else if(Y=new o5(Z,Q),this.hasFile(Y.path))return!1;if(Y.uuid=this.generateUuid(),Y.target=Q?Q.target:void 0,!Q.plugin)Y.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Y);return this.addToPbxBuildFileSection(Y),this.addToPbxFrameworksBuildPhase(Y),this.addToLibrarySearchPaths(Y),Y};f0.prototype.addToPbxBuildFileSection=function(Z){var Q=G9("%s_comment",Z.uuid);this.pbxBuildFileSection()[Z.uuid]=RD0(Z),this.pbxBuildFileSection()[Q]=jD0(Z)};f0.prototype.removeFromPbxBuildFileSection=function(Z){var Q;for(Q in this.pbxBuildFileSection())if(this.pbxBuildFileSection()[Q].fileRef_comment==Z.basename){Z.uuid=Q,delete this.pbxBuildFileSection()[Q];var Y=G9("%s_comment",Q);delete this.pbxBuildFileSection()[Y]}};f0.prototype.addPbxGroup=function(Z,Q,Y,J){var q=this.hash.project.objects.PBXGroup,K=this.generateUuid(),V=G9("%s_comment",K),D={isa:"PBXGroup",children:[],name:Q,path:Y,sourceTree:J?J:'"<group>"'},z=this.pbxFileReferenceSection(),H={};for(var G in z){if(!m5.test(G))continue;var W=G.split(m5)[0],$=z[W];H[$.path]={fileRef:W,basename:z[G]}}for(var B=0;B<Z.length;B++){var O=Z[B],A='"'+O+'"';if(H[O]){D.children.push(X8(H[O]));continue}else if(H[A]){D.children.push(X8(H[A]));continue}var w=new o5(O);w.uuid=this.generateUuid(),w.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(w),this.addToPbxBuildFileSection(w),D.children.push(X8(w))}if(q)q[K]=D,q[V]=Q;return{uuid:K,pbxGroup:D}};f0.prototype.removePbxGroup=function(Z){var Q=this.hash.project.objects.PBXGroup,Y,J;for(Y in Q){if(!m5.test(Y))continue;if(Q[Y]==Z)J=Y.split(m5)[0],delete Q[J]}};f0.prototype.addToPbxProjectSection=function(Z){var Q={value:Z.uuid,comment:SD0(Z.pbxNativeTarget)};this.pbxProjectSection()[this.getFirstProject().uuid].targets.push(Q)};f0.prototype.addToPbxNativeTargetSection=function(Z){var Q=G9("%s_comment",Z.uuid);this.pbxNativeTargetSection()[Z.uuid]=Z.pbxNativeTarget,this.pbxNativeTargetSection()[Q]=Z.pbxNativeTarget.name};f0.prototype.addToPbxFileReferenceSection=function(Z){var Q=G9("%s_comment",Z.fileRef);this.pbxFileReferenceSection()[Z.fileRef]=Ux(Z),this.pbxFileReferenceSection()[Q]=ND0(Z)};f0.prototype.removeFromPbxFileReferenceSection=function(Z){var Q,Y=Ux(Z);for(Q in this.pbxFileReferenceSection())if(this.pbxFileReferenceSection()[Q].name==Y.name||'"'+this.pbxFileReferenceSection()[Q].name+'"'==Y.name||this.pbxFileReferenceSection()[Q].path==Y.path||'"'+this.pbxFileReferenceSection()[Q].path+'"'==Y.path){Z.fileRef=Z.uuid=Q,delete this.pbxFileReferenceSection()[Q];break}var J=G9("%s_comment",Z.fileRef);if(this.pbxFileReferenceSection()[J]!=null)delete this.pbxFileReferenceSection()[J];return Z};f0.prototype.addToXcVersionGroupSection=function(Z){if(!Z.models||!Z.currentModel)throw Error("Cannot create a XCVersionGroup section from not a data model document file");var Q=G9("%s_comment",Z.fileRef);if(!this.xcVersionGroupSection()[Z.fileRef])this.xcVersionGroupSection()[Z.fileRef]={isa:"XCVersionGroup",children:Z.models.map(function(Y){return Y.fileRef}),currentVersion:Z.currentModel.fileRef,name:A2.basename(Z.path),path:Z.path,sourceTree:'"<group>"',versionGroupType:"wrapper.xcdatamodel"},this.xcVersionGroupSection()[Q]=A2.basename(Z.path)};f0.prototype.addToPluginsPbxGroup=function(Z){var Q=this.pbxGroupByName("Plugins");if(!Q)this.addPbxGroup([Z.path],"Plugins");else Q.children.push(X8(Z))};f0.prototype.removeFromPluginsPbxGroup=function(Z){if(!this.pbxGroupByName("Plugins"))return null;var Q=this.pbxGroupByName("Plugins").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToResourcesPbxGroup=function(Z){var Q=this.pbxGroupByName("Resources");if(!Q)this.addPbxGroup([Z.path],"Resources");else Q.children.push(X8(Z))};f0.prototype.removeFromResourcesPbxGroup=function(Z){if(!this.pbxGroupByName("Resources"))return null;var Q=this.pbxGroupByName("Resources").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToFrameworksPbxGroup=function(Z){var Q=this.pbxGroupByName("Frameworks");if(!Q)this.addPbxGroup([Z.path],"Frameworks");else Q.children.push(X8(Z))};f0.prototype.removeFromFrameworksPbxGroup=function(Z){if(!this.pbxGroupByName("Frameworks"))return null;var Q=this.pbxGroupByName("Frameworks").children;for(i in Q)if(X8(Z).value==Q[i].value&&X8(Z).comment==Q[i].comment){Q.splice(i,1);break}};f0.prototype.addToPbxEmbedFrameworksBuildPhase=function(Z){var Q=this.pbxEmbedFrameworksBuildPhaseObj(Z.target);if(Q)Q.files.push(F2(Z))};f0.prototype.removeFromPbxEmbedFrameworksBuildPhase=function(Z){var Q=this.pbxEmbedFrameworksBuildPhaseObj(Z.target);if(Q){var Y=[];for(i in Q.files)if(Q.files[i].comment!=RZ(Z))Y.push(Q.files[i]);Q.files=Y}};f0.prototype.addToProductsPbxGroup=function(Z){var Q=this.pbxGroupByName("Products");if(!Q)this.addPbxGroup([Z.path],"Products");else Q.children.push(X8(Z))};f0.prototype.removeFromProductsPbxGroup=function(Z){if(!this.pbxGroupByName("Products"))return null;var Q=this.pbxGroupByName("Products").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToPbxSourcesBuildPhase=function(Z){var Q=this.pbxSourcesBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxSourcesBuildPhase=function(Z){var Q=this.pbxSourcesBuildPhaseObj(Z.target),Y;for(Y in Q.files)if(Q.files[Y].comment==RZ(Z)){Q.files.splice(Y,1);break}};f0.prototype.addToPbxResourcesBuildPhase=function(Z){var Q=this.pbxResourcesBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxResourcesBuildPhase=function(Z){var Q=this.pbxResourcesBuildPhaseObj(Z.target),Y;for(Y in Q.files)if(Q.files[Y].comment==RZ(Z)){Q.files.splice(Y,1);break}};f0.prototype.addToPbxFrameworksBuildPhase=function(Z){var Q=this.pbxFrameworksBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxFrameworksBuildPhase=function(Z){var Q=this.pbxFrameworksBuildPhaseObj(Z.target);for(i in Q.files)if(Q.files[i].comment==RZ(Z)){Q.files.splice(i,1);break}};f0.prototype.addXCConfigurationList=function(Z,Q,Y){var J=this.pbxXCBuildConfigurationSection(),q=this.pbxXCConfigurationList(),K=this.generateUuid(),V=G9("%s_comment",K),D={isa:"XCConfigurationList",buildConfigurations:[],defaultConfigurationIsVisible:0,defaultConfigurationName:Q};for(var z=0;z<Z.length;z++){var H=Z[z],G=this.generateUuid(),W=G9("%s_comment",G);J[G]=H,J[W]=H.name,D.buildConfigurations.push({value:G,comment:H.name})}if(q)q[K]=D,q[V]=Y;return{uuid:K,xcConfigurationList:D}};f0.prototype.addTargetDependency=function(Z,Q){if(!Z)return;var Y=this.pbxNativeTargetSection();if(typeof Y[Z]>"u")throw Error("Invalid target: "+Z);for(var J=0;J<Q.length;J++){var q=Q[J];if(typeof Y[q]>"u")throw Error("Invalid target: "+q)}var K="PBXTargetDependency",V="PBXContainerItemProxy",D=this.hash.project.objects[K],z=this.hash.project.objects[V];for(var J=0;J<Q.length;J++){var H=Q[J],G=G9("%s_comment",H),W=this.generateUuid(),$=G9("%s_comment",W),B=this.generateUuid(),O=G9("%s_comment",B),A={isa:V,containerPortal:this.hash.project.rootObject,containerPortal_comment:this.hash.project.rootObject_comment,proxyType:1,remoteGlobalIDString:H,remoteInfo:Y[H].name},w={isa:K,target:H,target_comment:Y[G],targetProxy:B,targetProxy_comment:V};if(z&&D)z[B]=A,z[O]=V,D[W]=w,D[$]=K,Y[Z].dependencies.push({value:W,comment:K})}return{uuid:Z,target:Y[Z]}};f0.prototype.addBuildPhase=function(Z,Q,Y,J,q,K){var V,D=this.pbxFileReferenceSection(),z=this.pbxBuildFileSection(),H=this.generateUuid(),G=J||this.getFirstTarget().uuid,W=G9("%s_comment",H),$={isa:Q,buildActionMask:2147483647,files:[],runOnlyForDeploymentPostprocessing:0},B={};if(Q==="PBXCopyFilesBuildPhase")$=LD0($,q,K,Y);else if(Q==="PBXShellScriptBuildPhase")$=MD0($,q,Y);if(!this.hash.project.objects[Q])this.hash.project.objects[Q]={};if(!this.hash.project.objects[Q][H])this.hash.project.objects[Q][H]=$,this.hash.project.objects[Q][W]=Y;if(this.hash.project.objects.PBXNativeTarget[G].buildPhases)this.hash.project.objects.PBXNativeTarget[G].buildPhases.push({value:H,comment:Y});for(var O in z){if(!m5.test(O))continue;var A=O.split(m5)[0],w=z[A];if(fileReference=D[w.fileRef],!fileReference)continue;var E=new o5(fileReference.path);B[fileReference.path]={uuid:A,basename:E.basename,group:E.group}}for(var S=0;S<Z.length;S++){var X=Z[S],F='"'+X+'"',U=new o5(X);if(B[X]){$.files.push(F2(B[X]));continue}else if(B[F]){$.files.push(F2(B[F]));continue}U.uuid=this.generateUuid(),U.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(U),this.addToPbxBuildFileSection(U),$.files.push(F2(U))}if(V)V[H]=$,V[W]=Y;return{uuid:H,buildPhase:$}};f0.prototype.pbxProjectSection=function(){return this.hash.project.objects.PBXProject};f0.prototype.pbxBuildFileSection=function(){return this.hash.project.objects.PBXBuildFile};f0.prototype.pbxXCBuildConfigurationSection=function(){return this.hash.project.objects.XCBuildConfiguration};f0.prototype.pbxFileReferenceSection=function(){return this.hash.project.objects.PBXFileReference};f0.prototype.pbxNativeTargetSection=function(){return this.hash.project.objects.PBXNativeTarget};f0.prototype.xcVersionGroupSection=function(){if(typeof this.hash.project.objects.XCVersionGroup!=="object")this.hash.project.objects.XCVersionGroup={};return this.hash.project.objects.XCVersionGroup};f0.prototype.pbxXCConfigurationList=function(){return this.hash.project.objects.XCConfigurationList};f0.prototype.pbxGroupByName=function(Z){var Q=this.hash.project.objects.PBXGroup,Y,J;for(Y in Q){if(!m5.test(Y))continue;if(Q[Y]==Z)return J=Y.split(m5)[0],Q[J]}return null};f0.prototype.pbxTargetByName=function(Z){return this.pbxItemByComment(Z,"PBXNativeTarget")};f0.prototype.findTargetKey=function(Z){var Q=this.hash.project.objects.PBXNativeTarget;for(var Y in Q){if(m5.test(Y))continue;var J=Q[Y];if(J.name===Z)return Y}return null};f0.prototype.pbxItemByComment=function(Z,Q){var Y=this.hash.project.objects[Q],J,q;for(J in Y){if(!m5.test(J))continue;if(Y[J]==Z)return q=J.split(m5)[0],Y[q]}return null};f0.prototype.pbxSourcesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXSourcesBuildPhase","Sources",Z)};f0.prototype.pbxResourcesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXResourcesBuildPhase","Resources",Z)};f0.prototype.pbxFrameworksBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXFrameworksBuildPhase","Frameworks",Z)};f0.prototype.pbxEmbedFrameworksBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Embed Frameworks",Z)};f0.prototype.buildPhase=function(Z,Q){if(!Q)return;var Y=this.pbxNativeTargetSection();if(typeof Y[Q]>"u")throw Error("Invalid target: "+Q);var J=Y[Q],q=J.buildPhases;for(var K in q){var V=q[K];if(V.comment==Z)return V.value+"_comment"}};f0.prototype.buildPhaseObject=function(Z,Q,Y){var J=this.hash.project.objects[Z],q,K,V,D=this.buildPhase(Q,Y);for(V in J){if(!m5.test(V))continue;if(D&&D!=V)continue;if(J[V]==Q)return K=V.split(m5)[0],J[K]}return null};f0.prototype.addBuildProperty=function(Z,Q,Y){var J=W9(this.pbxXCBuildConfigurationSection()),q,K;for(q in J)if(K=J[q],!Y||K.name===Y)K.buildSettings[Z]=Q};f0.prototype.removeBuildProperty=function(Z,Q){var Y=W9(this.pbxXCBuildConfigurationSection()),J,q;for(J in Y)if(q=Y[J],q.buildSettings[Z]&&!Q||q.name===Q)delete q.buildSettings[Z]};f0.prototype.updateBuildProperty=function(Z,Q,Y,J){let q=[];if(J){let z=this.pbxTargetByName(J),H=z&&z.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!m5.test(W)&&H===W){let $=G[W].buildConfigurations;for(let B of $)q.push(B.value);break}}var K=this.pbxXCBuildConfigurationSection();for(var V in K)if(!m5.test(V)){if(J&&!q.includes(V))continue;var D=K[V];if(Y&&D.name===Y||!Y)D.buildSettings[Z]=Q}};f0.prototype.updateProductName=function(Z){this.updateBuildProperty("PRODUCT_NAME",'"'+Z+'"')};f0.prototype.removeFromFrameworkSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="FRAMEWORK_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(V=K[J],V&&Array.isArray(V)){var z=V.filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=V.indexOf(H);V.splice(G,1)})}}};f0.prototype.addToFrameworkSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.FRAMEWORK_SEARCH_PATHS||q.FRAMEWORK_SEARCH_PATHS===Y)q.FRAMEWORK_SEARCH_PATHS=[Y];q.FRAMEWORK_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.removeFromLibrarySearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="LIBRARY_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(V=K[J],V&&Array.isArray(V)){var z=V.filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=V.indexOf(H);V.splice(G,1)})}}};f0.prototype.addToLibrarySearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.LIBRARY_SEARCH_PATHS||q.LIBRARY_SEARCH_PATHS===Y)q.LIBRARY_SEARCH_PATHS=[Y];if(typeof Z==="string")q.LIBRARY_SEARCH_PATHS.push(Z);else q.LIBRARY_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.removeFromHeaderSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="HEADER_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(K[J]){var z=K[J].filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=K[J].indexOf(H);K[J].splice(G,1)})}}};f0.prototype.addToHeaderSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.HEADER_SEARCH_PATHS)q.HEADER_SEARCH_PATHS=[Y];if(typeof Z==="string")q.HEADER_SEARCH_PATHS.push(Z);else q.HEADER_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.addToOtherLinkerFlags=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="OTHER_LDFLAGS",q,K;for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(!K[J]||K[J]===Y)K[J]=[Y];K[J].push(Z)}};f0.prototype.removeFromOtherLinkerFlags=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y="OTHER_LDFLAGS",J,q;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(q[Y]){var K=q[Y].filter(function(V){return V.indexOf(Z)>-1});K.forEach(function(V){var D=q[Y].indexOf(V);q[Y].splice(D,1)})}}};f0.prototype.addToBuildSettings=function(Z,Q){var Y=W9(this.pbxXCBuildConfigurationSection()),J,q;for(J in Y)q=Y[J].buildSettings,q[Z]=Q};f0.prototype.removeFromBuildSettings=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y,J;for(Y in Q)if(J=Q[Y].buildSettings,J[Z])delete J[Z]};f0.prototype.__defineGetter__("productName",function(){var Z=W9(this.pbxXCBuildConfigurationSection()),Q,Y;for(Q in Z)if(Y=Z[Q].buildSettings.PRODUCT_NAME,Y)return $6(Y)});f0.prototype.hasFile=function(Z){var Q=W9(this.pbxFileReferenceSection()),Y,J;for(J in Q)if(Y=Q[J],Y.path==Z||Y.path=='"'+Z+'"')return Y;return!1};f0.prototype.addTarget=function(Z,Q,Y,J){var q=this.generateUuid(),K=Q,V=Y||Z,D=Z.trim(),z=J;if(!D)throw Error("Target name missing.");if(!K)throw Error("Target type missing.");if(!lJ(K))throw Error("Target type invalid: "+K);var H=[{name:"Debug",isa:"XCBuildConfiguration",buildSettings:{GCC_PREPROCESSOR_DEFINITIONS:['"DEBUG=1"','"$(inherited)"'],INFOPLIST_FILE:'"'+A2.join(V,V+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+D+'"',SKIP_INSTALL:"YES"}},{name:"Release",isa:"XCBuildConfiguration",buildSettings:{INFOPLIST_FILE:'"'+A2.join(V,V+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+D+'"',SKIP_INSTALL:"YES"}}];if(z)H=H.map((S)=>{return S.buildSettings.PRODUCT_BUNDLE_IDENTIFIER='"'+z+'"',S});var G=this.addXCConfigurationList(H,"Release",'Build configuration list for PBXNativeTarget "'+D+'"'),W=D,$=lJ(K),B=PD0($),O=this.addProductFile(W,{group:"Copy Files",target:q,explicitFileType:B}),A=O.basename;this.addToPbxBuildFileSection(O);var w={uuid:q,pbxNativeTarget:{isa:"PBXNativeTarget",name:'"'+D+'"',productName:'"'+D+'"',productReference:O.fileRef,productType:'"'+lJ(K)+'"',buildConfigurationList:G.uuid,buildPhases:[],buildRules:[],dependencies:[]}};if(this.addToPbxNativeTargetSection(w),K==="app_extension")this.addBuildPhase([],"PBXCopyFilesBuildPhase","Copy Files",this.getFirstTarget().uuid,K),this.addToPbxCopyfilesBuildPhase(O);else if(K==="watch2_app")this.addBuildPhase([D+".app"],"PBXCopyFilesBuildPhase","Embed Watch Content",this.getFirstTarget().uuid,K,'"$(CONTENTS_FOLDER_PATH)/Watch"');else if(K==="watch2_extension"){var E=this.getTarget(lJ("watch2_app"));if(E)this.addBuildPhase([D+".appex"],"PBXCopyFilesBuildPhase","Embed App Extensions",E.uuid,K)}if(this.addToPbxProjectSection(w),K==="watch2_extension"){var E=this.getTarget(lJ("watch2_app"));if(E)this.addTargetDependency(E.uuid,[w.uuid])}else this.addTargetDependency(this.getFirstTarget().uuid,[w.uuid]);return w};function RD0(Z){var Q=Object.create(null);if(Q.isa="PBXBuildFile",Q.fileRef=Z.fileRef,Q.fileRef_comment=Z.basename,Z.settings)Q.settings=Z.settings;return Q}function Ux(Z){var Q={isa:"PBXFileReference",name:'"'+Z.basename+'"',path:'"'+Z.path.replace(/\\/g,"/")+'"',sourceTree:Z.sourceTree,fileEncoding:Z.fileEncoding,lastKnownFileType:Z.lastKnownFileType,explicitFileType:Z.explicitFileType,includeInIndex:Z.includeInIndex};return Q}function X8(Z){var Q=Object.create(null);return Q.value=Z.fileRef,Q.comment=Z.basename,Q}function F2(Z){var Q=Object.create(null);return Q.value=Z.uuid,Q.comment=RZ(Z),Q}function LD0(Z,Q,Y,J){var q={application:"wrapper",app_extension:"plugins",bundle:"wrapper",command_line_tool:"wrapper",dynamic_library:"products_directory",framework:"shared_frameworks",frameworks:"frameworks",static_library:"products_directory",unit_test_bundle:"wrapper",watch_app:"wrapper",watch2_app:"products_directory",watch_extension:"plugins",watch2_extension:"plugins"},K={absolute_path:0,executables:6,frameworks:10,java_resources:15,plugins:13,products_directory:16,resources:7,shared_frameworks:11,shared_support:12,wrapper:1,xpc_services:0};return Z.name='"'+J+'"',Z.dstPath=Y||'""',Z.dstSubfolderSpec=K[q[Q]],Z}function MD0(Z,Q,Y){return Z.name='"'+Y+'"',Z.inputPaths=Q.inputPaths||[],Z.outputPaths=Q.outputPaths||[],Z.shellPath=Q.shellPath,Z.shellScript='"'+Q.shellScript.replace(/"/g,"\\\"")+'"',Z}function jD0(Z){return RZ(Z)}function ND0(Z){return Z.basename||A2.basename(Z.path)}function SD0(Z){return Z.name}function RZ(Z){return G9("%s in %s",Z.basename,Z.group)}function $x(Z,Q){return Ox(Z,Q,"Plugins")}function Bx(Z,Q){return Ox(Z,Q,"Resources")}function Ox(Z,Q,Y){var J=new RegExp("^"+Y+"[\\\\/]");if(Q.pbxGroupByName(Y).path)Z.path=Z.path.replace(J,"");return Z}function oQ(Z,Q){var Y=Q.pbxGroupByName("Plugins"),J=Y?Y.path:null,q=A2.dirname(Z.path);if(q==".")q="";else q="/"+q;if(Z.plugin&&J)return'"\\"$(SRCROOT)/'+$6(J)+'\\""';else if(Z.customFramework&&Z.dirname)return'"\\"'+Z.dirname+'\\""';else return'"\\"$(SRCROOT)/'+Q.productName+q+'\\""'}function W9(Z){var Q=Object.keys(Z),Y={},J=0;for(J;J<Q.length;J++)if(!m5.test(Q[J]))Y[Q[J]]=Z[Q[J]];return Y}function $6(Z){if(Z)return Z.replace(/^"(.*)"$/,"$1")}function lJ(Z){return PRODUCTTYPE_BY_TARGETTYPE={application:"com.apple.product-type.application",app_extension:"com.apple.product-type.app-extension",bundle:"com.apple.product-type.bundle",command_line_tool:"com.apple.product-type.tool",dynamic_library:"com.apple.product-type.library.dynamic",framework:"com.apple.product-type.framework",static_library:"com.apple.product-type.library.static",unit_test_bundle:"com.apple.product-type.bundle.unit-test",watch_app:"com.apple.product-type.application.watchapp",watch2_app:"com.apple.product-type.application.watchapp2",watch_extension:"com.apple.product-type.watchkit-extension",watch2_extension:"com.apple.product-type.watchkit2-extension"},PRODUCTTYPE_BY_TARGETTYPE[Z]}function PD0(Z){return FILETYPE_BY_PRODUCTTYPE={"com.apple.product-type.application":'"wrapper.application"',"com.apple.product-type.app-extension":'"wrapper.app-extension"',"com.apple.product-type.bundle":'"wrapper.plug-in"',"com.apple.product-type.tool":'"compiled.mach-o.dylib"',"com.apple.product-type.library.dynamic":'"compiled.mach-o.dylib"',"com.apple.product-type.framework":'"wrapper.framework"',"com.apple.product-type.library.static":'"archive.ar"',"com.apple.product-type.bundle.unit-test":'"wrapper.cfbundle"',"com.apple.product-type.application.watchapp":'"wrapper.application"',"com.apple.product-type.application.watchapp2":'"wrapper.application"',"com.apple.product-type.watchkit-extension":'"wrapper.app-extension"',"com.apple.product-type.watchkit2-extension":'"wrapper.app-extension"'},FILETYPE_BY_PRODUCTTYPE[Z]}f0.prototype.getFirstProject=function(){var Z=this.pbxProjectSection(),Q=Object.keys(Z)[0],Y=Z[Q];return{uuid:Q,firstProject:Y}};f0.prototype.getFirstTarget=function(){var Z=this.getFirstProject().firstProject.targets[0].value,Q=this.pbxNativeTargetSection()[Z];return{uuid:Z,firstTarget:Q}};f0.prototype.getTarget=function(Z){var Q=this.getFirstProject().firstProject.targets,Y=this.pbxNativeTargetSection();for(var J=0;J<Q.length;J++){var q=Q[J],K=q.value;if(Y[K].productType==='"'+Z+'"'){var V=this.pbxNativeTargetSection()[K];return{uuid:K,target:V}}}return null};f0.prototype.addToPbxGroupType=function(Z,Q,Y){var J=this.getPBXGroupByKeyAndType(Q,Y);if(J&&J.children!==void 0)if(typeof Z==="string"){var q={value:Z};if(this.getPBXGroupByKey(Z))q.comment=this.getPBXGroupByKey(Z).name;else if(this.getPBXVariantGroupByKey(Z))q.comment=this.getPBXVariantGroupByKey(Z).name;J.children.push(q)}else J.children.push(X8(Z))};f0.prototype.addToPbxVariantGroup=function(Z,Q){this.addToPbxGroupType(Z,Q,"PBXVariantGroup")};f0.prototype.addToPbxGroup=function(Z,Q){this.addToPbxGroupType(Z,Q,"PBXGroup")};f0.prototype.pbxCreateGroupWithType=function(Z,Q,Y){var J={isa:'"'+Y+'"',children:[],name:Z,sourceTree:'"<group>"'};if(Q)J.path=Q;var q=this.generateUuid(),K=q+"_comment",V=this.hash.project.objects[Y];if(!V)V=this.hash.project.objects[Y]={};return V[K]=Z,V[q]=J,q};f0.prototype.pbxCreateVariantGroup=function(Z){return this.pbxCreateGroupWithType(Z,void 0,"PBXVariantGroup")};f0.prototype.pbxCreateGroup=function(Z,Q){return this.pbxCreateGroupWithType(Z,Q,"PBXGroup")};f0.prototype.removeFromPbxGroupAndType=function(Z,Q,Y){var J=this.getPBXGroupByKeyAndType(Q,Y);if(J){var q=J.children,K;for(K in q)if(X8(Z).value==q[K].value&&X8(Z).comment==q[K].comment){q.splice(K,1);break}}};f0.prototype.removeFromPbxGroup=function(Z,Q){this.removeFromPbxGroupAndType(Z,Q,"PBXGroup")};f0.prototype.removeFromPbxVariantGroup=function(Z,Q){this.removeFromPbxGroupAndType(Z,Q,"PBXVariantGroup")};f0.prototype.getPBXGroupByKeyAndType=function(Z,Q){return this.hash.project.objects[Q][Z]};f0.prototype.getPBXGroupByKey=function(Z){return this.hash.project.objects.PBXGroup[Z]};f0.prototype.getPBXVariantGroupByKey=function(Z){return this.hash.project.objects.PBXVariantGroup[Z]};f0.prototype.findPBXGroupKeyAndType=function(Z,Q){var Y=this.hash.project.objects[Q],J;for(var q in Y){if(m5.test(q))continue;var K=Y[q];if(Z&&Z.path&&Z.name){if(Z.path===K.path&&Z.name===K.name){J=q;break}}else if(Z&&Z.path){if(Z.path===K.path){J=q;break}}else if(Z&&Z.name){if(Z.name===K.name){J=q;break}}}return J};f0.prototype.findPBXGroupKey=function(Z){return this.findPBXGroupKeyAndType(Z,"PBXGroup")};f0.prototype.findPBXVariantGroupKey=function(Z){return this.findPBXGroupKeyAndType(Z,"PBXVariantGroup")};f0.prototype.addLocalizationVariantGroup=function(Z){var Q=this.pbxCreateVariantGroup(Z),Y=this.findPBXGroupKey({name:"Resources"});this.addToPbxGroup(Q,Y);var J={uuid:this.generateUuid(),fileRef:Q,basename:Z};return this.addToPbxBuildFileSection(J),this.addToPbxResourcesBuildPhase(J),J};f0.prototype.addKnownRegion=function(Z){if(!this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions)this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=[];if(!this.hasKnownRegion(Z))this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions.push(Z)};f0.prototype.removeKnownRegion=function(Z){var Q=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Q){for(var Y=0;Y<Q.length;Y++)if(Q[Y]===Z){Q.splice(Y,1);break}this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=Q}};f0.prototype.hasKnownRegion=function(Z){var Q=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Q){for(var Y in Q)if(Q[Y]===Z)return!0}return!1};f0.prototype.getPBXObject=function(Z){return this.hash.project.objects[Z]};f0.prototype.addFile=function(Z,Q,Y){var J=new o5(Z,Y);if(this.hasFile(J.path))return null;if(J.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(J),this.getPBXGroupByKey(Q))this.addToPbxGroup(J,Q);else if(this.getPBXVariantGroupByKey(Q))this.addToPbxVariantGroup(J,Q);return J};f0.prototype.removeFile=function(Z,Q,Y){var J=new o5(Z,Y);if(this.removeFromPbxFileReferenceSection(J),this.getPBXGroupByKey(Q))this.removeFromPbxGroup(J,Q);else if(this.getPBXVariantGroupByKey(Q))this.removeFromPbxVariantGroup(J,Q);return J};f0.prototype.getBuildProperty=function(Z,Q,Y){var J;let q=[];if(Y){let z=this.pbxTargetByName(Y),H=z&&z.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!m5.test(W)&&H===W){let $=G[W].buildConfigurations;for(let B of $)q.push(B.value);break}}var K=this.pbxXCBuildConfigurationSection();for(var V in K)if(!m5.test(V)){if(Y&&!q.includes(V))continue;var D=K[V];if(Q&&D.name===Q||Q===void 0){if(D.buildSettings[Z]!==void 0)J=D.buildSettings[Z]}}return J};f0.prototype.getBuildConfigByName=function(Z){var Q={},Y=this.pbxXCBuildConfigurationSection();for(var J in Y)if(!m5.test(J)){var q=Y[J];if(q.name===Z)Q[J]=q}return Q};f0.prototype.addDataModelDocument=function(Z,Q,Y){if(!Q)Q="Resources";if(!this.getPBXGroupByKey(Q))Q=this.findPBXGroupKey({name:Q});var J=new o5(Z,Y);if(!J||this.hasFile(J.path))return null;if(J.fileRef=this.generateUuid(),this.addToPbxGroup(J,Q),!J)return!1;J.target=Y?Y.target:void 0,J.uuid=this.generateUuid(),this.addToPbxBuildFileSection(J),this.addToPbxSourcesBuildPhase(J),J.models=[];var q,K=Wx.readdirSync(J.path);for(var V in K){var D=K[V],z=A2.join(Z,D);if(D==".xccurrentversion"){q=CD0.readFileSync(z)._XCCurrentVersionName;continue}var H=new o5(z);if(H.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(H),J.models.push(H),q&&q===D)J.currentModel=H}if(!J.currentModel)J.currentModel=J.models[0];return this.addToXcVersionGroupSection(J),J};f0.prototype.addTargetAttribute=function(Z,Q,Y){var J=this.getFirstProject().firstProject.attributes;if(J.TargetAttributes===void 0)J.TargetAttributes={};if(Y=Y||this.getFirstTarget(),J.TargetAttributes[Y.uuid]===void 0)J.TargetAttributes[Y.uuid]={};J.TargetAttributes[Y.uuid][Z]=Q};f0.prototype.removeTargetAttribute=function(Z,Q){var Y=this.getFirstProject().firstProject.attributes;if(Q=Q||this.getFirstTarget(),Y.TargetAttributes&&Y.TargetAttributes[Q.uuid])delete Y.TargetAttributes[Q.uuid][Z]};Xx.exports=f0});var tQ=k((Fx)=>{Fx.project=CF()});var LZ=k((LF)=>{Object.defineProperty(LF,"__esModule",{value:!0});LF.trimQuotes=TD0;function TD0(Z){return Z&&Z[0]==='"'&&Z[Z.length-1]==='"'?Z.slice(1,-1):Z}});var wx=k((zL0,Ax)=>{Ax.exports=(Z)=>{let Q=/^\\\\\?\\/.test(Z),Y=/[^\u0000-\u0080]+/.test(Z);if(Q||Y)return Z;return Z.replace(/\\/g,"/")}});var jF=k((eQ)=>{Object.defineProperty(eQ,"__esModule",{value:!0});eQ.getApplicationTargetNameForSchemeAsync=bD0;eQ.getArchiveBuildConfigurationForSchemeAsync=kD0;eQ.getRunnableSchemesFromXcodeproj=vD0;eQ.getSchemesFromXcodeproj=_D0;function MF(){let Z=MZ();return MF=function(){return Z},Z}function WH(){let Z=E4();return WH=function(){return Z},Z}function pJ(){let Z=j8();return pJ=function(){return Z},Z}function Ix(){let Z=OZ();return Ix=function(){return Z},Z}function _D0(Z){return(0,MF().findSchemeNames)(Z)}function vD0(Z,{configuration:Q="Debug"}={}){let Y=(0,pJ().getPbxproj)(Z);return(0,WH().findSignableTargets)(Y).map(([,J])=>{let q="iOS",K=(0,pJ().unquote)(J.productType);if(K===WH().TargetType.WATCH)q="watchOS";else if(K.startsWith(WH().TargetType.APPLICATION)){let V=Y.hash.project.objects.XCConfigurationList[J.buildConfigurationList];if(V){let D=V.buildConfigurations.find((z)=>z.comment===Q)||V.buildConfigurations[0];if(D?.value){let z=Y.hash.project.objects.XCBuildConfiguration?.[D.value],H=z.buildSettings.SDKROOT;if(H==="appletvos"||"TVOS_DEPLOYMENT_TARGET"in z.buildSettings)q="tvOS";else if(H==="iphoneos")q="iOS"}}}return{name:(0,pJ().unquote)(J.name),osType:q,type:(0,pJ().unquote)(J.productType)}})}async function Cx(Z,Q){let Y=(0,MF().findSchemePaths)(Z),J=new RegExp(`[\\\\/]${Q}.xcscheme`,"i"),q=Y.find((K)=>J.exec(K));if(q)return await(0,Ix().readXMLAsync)({path:q});else throw Error(`scheme '${Q}' does not exist, make sure it's marked as shared`)}async function bD0(Z,Q){let J=(await Cx(Z,Q))?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry,q=J?.length===1?Ex(J[0]):Ex(J?.find((K)=>{return K.BuildableReference?.[0]?.$?.BuildableName?.endsWith(".app")}));if(!q)throw Error(`${Q}.xcscheme seems to be corrupted`);return q}async function kD0(Z,Q){let J=(await Cx(Z,Q))?.Scheme?.ArchiveAction?.[0]?.$?.buildConfiguration;if(!J)throw Error(`${Q}.xcscheme seems to be corrupted`);return J}function Ex(Z){return Z?.BuildableReference?.[0]?.$?.BlueprintName}});var E4=k((k7)=>{Object.defineProperty(k7,"__esModule",{value:!0});k7.TargetType=void 0;k7.findApplicationTargetWithDependenciesAsync=hD0;k7.findFirstNativeTarget=Mx;k7.findNativeTargetByName=NF;k7.findSignableTargets=xD0;k7.getNativeTargets=sJ;k7.getXCBuildConfigurationFromPbxproj=yD0;k7.isTargetOfType=iJ;function Rx(){let Z=jF();return Rx=function(){return Z},Z}function UH(){let Z=j8();return UH=function(){return Z},Z}function nJ(){let Z=LZ();return nJ=function(){return Z},Z}var b7=k7.TargetType=function(Z){return Z.APPLICATION="com.apple.product-type.application",Z.EXTENSION="com.apple.product-type.app-extension",Z.WATCH="com.apple.product-type.application.watchapp",Z.APP_CLIP="com.apple.product-type.application.on-demand-install-capable",Z.STICKER_PACK_EXTENSION="com.apple.product-type.app-extension.messages-sticker-pack",Z.FRAMEWORK="com.apple.product-type.framework",Z.OTHER="other",Z}({});function yD0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let[,J]=Q?NF(Z,Q):Mx(Z),[,q]=(0,UH().getBuildConfigurationForListIdAndName)(Z,{configurationListId:J.buildConfigurationList,buildConfiguration:Y});return q??null}async function hD0(Z,Q){let Y=await(0,Rx().getApplicationTargetNameForSchemeAsync)(Z,Q),J=(0,UH().getPbxproj)(Z),[,q]=NF(J,Y),K=Lx(J,q);return{name:(0,nJ().trimQuotes)(q.name),type:b7.APPLICATION,signable:!0,dependencies:K}}function Lx(Z,Q){if(!Q.dependencies||Q.dependencies.length===0)return;let Y=[b7.FRAMEWORK];return Q.dependencies.map(({value:J})=>{let{target:q}=Z.getPBXGroupByKeyAndType(J,"PBXTargetDependency"),[,K]=uD0(Z,q),V=iJ(K,b7.EXTENSION)?b7.EXTENSION:b7.OTHER;return{name:(0,nJ().trimQuotes)(K.name),type:V,signable:!Y.some((D)=>iJ(K,D)),dependencies:Lx(Z,K)}})}function iJ(Z,Q){return(0,nJ().trimQuotes)(Z.productType)===Q}function sJ(Z){let Q=Z.pbxNativeTargetSection();return Object.entries(Q).filter(UH().isNotComment)}function xD0(Z){let Q=sJ(Z),Y=[b7.APPLICATION,b7.APP_CLIP,b7.EXTENSION,b7.WATCH,b7.STICKER_PACK_EXTENSION],J=Q.filter(([,q])=>{for(let K of Y)if(iJ(q,K))return!0;return!1});if(J.length===0)throw Error("Could not find any signable targets in project.pbxproj");return J}function Mx(Z){let Y=sJ(Z).filter(([,J])=>iJ(J,b7.APPLICATION));if(Y.length===0)throw Error("Could not find any application target in project.pbxproj");return Y[0]}function NF(Z,Q){let J=sJ(Z).find(([,q])=>(0,nJ().trimQuotes)(q.name)===Q);if(!J)throw Error(`Could not find target '${Q}' in project.pbxproj`);return J}function uD0(Z,Q){let J=sJ(Z).find(([q])=>q===Q);if(!J)throw Error(`Could not find target with id '${Q}' in project.pbxproj`);return J}});var $H=k((SZ)=>{Object.defineProperty(SZ,"__esModule",{value:!0});SZ.ensureApplicationTargetEntitlementsFileConfigured=gD0;SZ.getEntitlementsPath=fD0;SZ.setAssociatedDomains=Px;SZ.withAssociatedDomains=void 0;function jZ(){let Z=PF(require("fs"));return jZ=function(){return Z},Z}function NZ(){let Z=PF(require("path"));return NZ=function(){return Z},Z}function jx(){let Z=PF(wx());return jx=function(){return Z},Z}function SF(){let Z=E4();return SF=function(){return Z},Z}function ZY(){let Z=j8();return ZY=function(){return Z},Z}function Nx(){let Z=LZ();return Nx=function(){return Z},Z}function Sx(){let Z=g5();return Sx=function(){return Z},Z}function PF(Z){return Z&&Z.__esModule?Z:{default:Z}}var WL0=SZ.withAssociatedDomains=(0,Sx().createEntitlementsPlugin)(Px,"withAssociatedDomains");function Px(Z,{"com.apple.developer.associated-domains":Q,...Y}){if(Z.ios?.associatedDomains)return{...Y,"com.apple.developer.associated-domains":Z.ios.associatedDomains};return Y}function fD0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let J=(0,ZY().getPbxproj)(Z),q=(0,SF().getXCBuildConfigurationFromPbxproj)(J,{targetName:Q,buildConfiguration:Y});if(!q)return null;let K=Tx(Z,q);return K&&jZ().default.existsSync(K)?K:null}function Tx(Z,Q){let Y=Q?.buildSettings?.CODE_SIGN_ENTITLEMENTS;if(Y)return NZ().default.normalize(NZ().default.join(Z,"ios",(0,Nx().trimQuotes)(Y)));else return null}function gD0(Z){let Q=(0,ZY().getPbxproj)(Z),Y=(0,ZY().getProjectName)(Z),J=(0,ZY().getProductName)(Q),[,q]=(0,SF().findFirstNativeTarget)(Q),K=(0,ZY().getBuildConfigurationsForListId)(Q,q.buildConfigurationList),V=!1;for(let[,D]of K){let z=Tx(Z,D);if(z&&jZ().default.existsSync(z))return;V=!0;let H=(0,jx().default)(NZ().default.join(Y,`${J}.entitlements`)),G=NZ().default.normalize(NZ().default.join(Z,"ios",H));if(jZ().default.mkdirSync(NZ().default.dirname(G),{recursive:!0}),!jZ().default.existsSync(G))jZ().default.writeFileSync(G,mD0);D.buildSettings.CODE_SIGN_ENTITLEMENTS=H}if(V)jZ().default.writeFileSync(Q.filepath,Q.writeSync())}var mD0=`
319
+ `,"\r"],!1,!1),d=0,$0=0,x0=[{line:1,column:1}],t0=0,n0=[],_0=0,H1;if("startRule"in Q){if(!(Q.startRule in J))throw Error(`Can't start parsing from rule "`+Q.startRule+'".');q=J[Q.startRule]}function w1(){return Z.substring($0,d)}function y1(){return C9($0,d)}function N1(h,a){throw a=a!==void 0?a:C9($0,d),t6([c4(h)],Z.substring($0,d),a)}function T8(h,a){throw a=a!==void 0?a:C9($0,d),s7(h,a)}function Z5(h,a){return{type:"literal",text:h,ignoreCase:a}}function Q5(h,a,z0){return{type:"class",parts:h,inverted:a,ignoreCase:z0}}function r6(){return{type:"any"}}function m4(){return{type:"end"}}function c4(h){return{type:"other",description:h}}function o6(h){var a=x0[h],z0;if(a)return a;else{z0=h-1;while(!x0[z0])z0--;a=x0[z0],a={line:a.line,column:a.column};while(z0<h){if(Z.charCodeAt(z0)===10)a.line++,a.column=1;else a.column++;z0++}return x0[h]=a,a}}function C9(h,a){var z0=o6(h),m0=o6(a);return{start:{offset:h,line:z0.line,column:z0.column},end:{offset:a,line:m0.line,column:m0.column}}}function M1(h){if(d<t0)return;if(d>t0)t0=d,n0=[];n0.push(h)}function s7(h,a){return new CZ(h,null,null,a)}function t6(h,a,z0){return new CZ(CZ.buildMessage(h,a),h,a,z0)}function e6(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=_o(),a===Y)a=null;if(a!==Y){if(z0=tZ(),z0===Y)z0=null;if(z0!==Y)if(m0=S5(),m0!==Y)if(X1=Z4(),X1!==Y)if(B5=p2(),B5!==Y)if(R9=S5(),R9!==Y)$0=h,a=K(a,X1),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function Z4(){var h,a,z0,m0;if(h=d,Z.charCodeAt(d)===123)a=V,d++;else if(a=Y,_0===0)M1(D);if(a!==Y){if(z0=oZ(),z0===Y)z0=rZ();if(z0!==Y){if(Z.charCodeAt(d)===125)m0=z,d++;else if(m0=Y,_0===0)M1(H);if(m0!==Y)$0=h,a=G(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function rZ(){var h,a;if(h=d,a=S5(),a!==Y)$0=h,a=W();return h=a,h}function oZ(){var h,a,z0,m0,X1,B5;if(h=d,a=S5(),a!==Y){if(z0=[],m0=d,X1=uK(),X1===Y)X1=gK();if(X1!==Y)if(B5=S5(),B5!==Y)X1=[X1,B5],m0=X1;else d=m0,m0=Y;else d=m0,m0=Y;if(m0!==Y)while(m0!==Y){if(z0.push(m0),m0=d,X1=uK(),X1===Y)X1=gK();if(X1!==Y)if(B5=S5(),B5!==Y)X1=[X1,B5],m0=X1;else d=m0,m0=Y;else d=m0,m0=Y}else z0=Y;if(z0!==Y)$0=h,a=$(z0),h=a;else d=h,h=Y}else d=h,h=Y;return h}function uK(){var h=hW();if(h===Y)h=xW();return h}function hW(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=D3(),a!==Y)if(z0=S5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=S5(),X1!==Y)if(B5=z3(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=E(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function xW(){var h,a,z0,m0,X1,B5,R9;if(h=d,a=uW(),a!==Y)if(z0=S5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=S5(),X1!==Y)if(B5=z3(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=S(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;if(h===Y)if(h=d,a=D3(),a!==Y)if(z0=S5(),z0!==Y){if(Z.charCodeAt(d)===61)m0=B,d++;else if(m0=Y,_0===0)M1(O);if(m0!==Y)if(X1=S5(),X1!==Y)if(B5=fW(),B5!==Y){if(Z.charCodeAt(d)===59)R9=A,d++;else if(R9=Y,_0===0)M1(w);if(R9!==Y)$0=h,a=X(a,B5),h=a;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function uW(){var h,a,z0,m0;if(h=d,a=D3(),a!==Y)if(z0=S5(),z0!==Y)if(m0=tZ(),m0!==Y)$0=h,a=F(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function fW(){var h,a,z0,m0;if(h=d,a=z3(),a!==Y)if(z0=S5(),z0!==Y)if(m0=tZ(),m0!==Y)$0=h,a=U(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function tZ(){var h,a,z0,m0;if(h=d,a=fK(),a!==Y){if(z0=[],I.test(Z.charAt(d)))m0=Z.charAt(d),d++;else if(m0=Y,_0===0)M1(P);if(m0!==Y){while(m0!==Y)if(z0.push(m0),I.test(Z.charAt(d)))m0=Z.charAt(d),d++;else if(m0=Y,_0===0)M1(P)}else z0=Y;if(z0!==Y)if(m0=gW(),m0!==Y)$0=h,a=L(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function fK(){var h;if(Z.substr(d,2)===R)h=R,d+=2;else if(h=Y,_0===0)M1(C);return h}function gW(){var h;if(Z.substr(d,2)===N)h=N,d+=2;else if(h=Y,_0===0)M1(j);return h}function gK(){var h,a,z0,m0,X1,B5;if(h=d,a=mW(),a!==Y)if(z0=S5(),z0!==Y){if(m0=oZ(),m0===Y)m0=rZ();if(m0!==Y)if(X1=S5(),X1!==Y)if(B5=cW(),B5!==Y)$0=h,a=_(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function mW(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,9)===v)a=v,d+=9;else if(a=Y,_0===0)M1(b);if(a!==Y)if(z0=D3(),z0!==Y){if(Z.substr(d,11)===T)m0=T,d+=11;else if(m0=Y,_0===0)M1(u);if(m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=x(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function cW(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,7)===g)a=g,d+=7;else if(a=Y,_0===0)M1(c);if(a!==Y)if(z0=D3(),z0!==Y){if(Z.substr(d,11)===T)m0=T,d+=11;else if(m0=Y,_0===0)M1(u);if(m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=x(z0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;return h}function dW(){var h,a,z0,m0;if(h=d,Z.charCodeAt(d)===40)a=p,d++;else if(a=Y,_0===0)M1(Y0);if(a!==Y){if(z0=mK(),z0===Y)z0=lW();if(z0!==Y){if(Z.charCodeAt(d)===41)m0=o,d++;else if(m0=Y,_0===0)M1(D0);if(m0!==Y)$0=h,a=C0(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function lW(){var h,a;if(h=d,a=S5(),a!==Y)$0=h,a=m();return h=a,h}function mK(){var h,a,z0,m0,X1,B5;if(h=d,a=S5(),a!==Y)if(z0=pW(),z0!==Y)if(m0=S5(),m0!==Y){if(X1=mK(),X1===Y)X1=null;if(X1!==Y)if(B5=S5(),B5!==Y)$0=h,a=y(z0,X1),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function pW(){var h=iW();if(h===Y)h=Lo();return h}function iW(){var h,a,z0;if(h=d,a=z3(),a!==Y)if(z0=oI(),z0!==Y)$0=h,a=l(a),h=a;else d=h,h=Y;else d=h,h=Y;return h}function Lo(){var h,a,z0,m0,X1;if(h=d,a=z3(),a!==Y)if(z0=S5(),z0!==Y)if(m0=tZ(),m0!==Y)if(X1=oI(),X1!==Y)$0=h,a=n(a,m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function oI(){var h,a,z0,m0;if(Z.charCodeAt(d)===44)h=j0,d++;else if(h=Y,_0===0)M1(a0);if(h===Y)if(h=d,a=S5(),a!==Y){if(z0=d,_0++,Z.charCodeAt(d)===41)m0=o,d++;else if(m0=Y,_0===0)M1(D0);if(_0--,m0!==Y)d=z0,z0=void 0;else z0=Y;if(z0!==Y)a=[a,z0],h=a;else d=h,h=Y}else d=h,h=Y;return h}function D3(){var h,a,z0;if(h=d,a=[],s.test(Z.charAt(d)))z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(Z0);if(z0!==Y){while(z0!==Y)if(a.push(z0),s.test(Z.charAt(d)))z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(Z0)}else a=Y;if(a!==Y)$0=h,a=H0(a);if(h=a,h===Y)h=tI();return h}function z3(){var h=Z4();if(h===Y){if(h=dW(),h===Y){if(h=Mo(),h===Y)h=No()}}return h}function Mo(){var h=jo();if(h===Y)h=nW();return h}function jo(){var h,a,z0,m0,X1;if(h=d,a=d,z0=nW(),z0!==Y){if(Z.charCodeAt(d)===46)m0=S0,d++;else if(m0=Y,_0===0)M1(G0);if(m0!==Y)if(X1=nW(),X1!==Y)z0=[z0,m0,X1],a=z0;else d=a,a=Y;else d=a,a=Y}else d=a,a=Y;if(a!==Y)$0=h,a=F0(a);return h=a,h}function nW(){var h,a,z0,m0,X1;if(h=d,a=d,_0++,z0=bo(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(z0=[],m0=YC(),m0!==Y)while(m0!==Y)z0.push(m0),m0=YC();else z0=Y;if(z0!==Y){if(m0=d,_0++,X1=QC(),_0--,X1===Y)m0=void 0;else d=m0,m0=Y;if(m0!==Y)$0=h,a=N0(z0),h=a;else d=h,h=Y}else d=h,h=Y}else d=h,h=Y;return h}function No(){var h=tI();if(h===Y)h=To();return h}function tI(){var h,a,z0,m0;if(h=d,a=cK(),a!==Y)if(z0=So(),z0!==Y)if(m0=cK(),m0!==Y)$0=h,a=T0(z0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function So(){var h,a,z0;if(h=d,a=[],z0=eI(),z0!==Y)while(z0!==Y)a.push(z0),z0=eI();else a=Y;if(a!==Y)$0=h,a=e0(a);return h=a,h}function eI(){var h,a,z0;if(h=Po(),h===Y){if(h=d,a=d,_0++,z0=cK(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(Z.length>d)z0=Z.charAt(d),d++;else if(z0=Y,_0===0)M1(r0);if(z0!==Y)$0=h,a=Q1(z0),h=a;else d=h,h=Y}else d=h,h=Y}return h}function Po(){var h,a,z0;if(h=d,Z.charCodeAt(d)===92)a=B0,d++;else if(a=Y,_0===0)M1(P0);if(a!==Y)if(z0=cK(),z0!==Y)$0=h,a=b0(),h=a;else d=h,h=Y;else d=h,h=Y;return h}function To(){var h,a,z0;if(h=d,a=[],z0=ZC(),z0!==Y)while(z0!==Y)a.push(z0),z0=ZC();else a=Y;if(a!==Y)$0=h,a=W0(a);return h=a,h}function ZC(){var h,a,z0,m0;if(h=d,a=d,_0++,z0=fK(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y){if(z0=d,_0++,m0=ko(),_0--,m0===Y)z0=void 0;else d=z0,z0=Y;if(z0!==Y)if(m0=QC(),m0!==Y)$0=h,a=Q1(m0),h=a;else d=h,h=Y;else d=h,h=Y}else d=h,h=Y;return h}function QC(){var h;if(i0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(M);return h}function _o(){var h,a,z0,m0,X1;if(h=d,Z.substr(d,2)===Q0)a=Q0,d+=2;else if(a=Y,_0===0)M1(U0);if(a!==Y)if(z0=S5(),z0!==Y)if(m0=vo(),m0!==Y)if(X1=p2(),X1!==Y)$0=h,a=L0(m0),h=a;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;else d=h,h=Y;return h}function vo(){var h,a,z0;h=d,a=[],z0=qC();while(z0!==Y)a.push(z0),z0=qC();if(a!==Y)$0=h,a=O0(a);return h=a,h}function YC(){var h;if(g0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(u0);return h}function bo(){var h;if(Z1.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(G1);return h}function cK(){var h;if(Z.charCodeAt(d)===34)h=q0,d++;else if(h=Y,_0===0)M1(E0);return h}function S5(){var h,a;_0++,h=[],a=JC();while(a!==Y)h.push(a),a=JC();if(_0--,h===Y){if(a=Y,_0===0)M1(A0)}return h}function JC(){var h=p2();if(h===Y){if(d0.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(f)}return h}function qC(){var h,a,z0;if(h=d,a=d,_0++,z0=p2(),_0--,z0===Y)a=void 0;else d=a,a=Y;if(a!==Y)if(z0=yo(),z0!==Y)$0=h,a=Q1(z0),h=a;else d=h,h=Y;else d=h,h=Y;return h}function ko(){var h=p2();if(h===Y){if(Z.charCodeAt(d)===59)h=A,d++;else if(h=Y,_0===0)M1(w)}return h}function p2(){var h;if(e.test(Z.charAt(d)))h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(w0);return h}function yo(){var h;if(Z.length>d)h=Z.charAt(d),d++;else if(h=Y,_0===0)M1(r0);return h}if(H1=q(),H1!==Y&&d===Z.length)return H1;else{if(H1!==Y&&d<Z.length)M1(m4());throw t6(n0,t0<Z.length?Z.charAt(t0):null,t0<Z.length?C9(t0,t0+1):C9(t0,t0))}}Vx.exports={SyntaxError:CZ,parse:XD0}});var Hx=k((GH,dJ)=>{var zx=GH&&GH.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};(function(Z){if(typeof dJ==="object"&&typeof dJ.exports==="object"){var Q=Z(require,GH);if(Q!==void 0)dJ.exports=Q}else if(typeof define==="function"&&define.amd)define(["require","exports","bplist-creator","bplist-parser","./parse","./readFile","./readFileSync","./stringify","./writeBinaryFile","./writeBinaryFileSync","./writeFile","./writeFileSync"],Z)})(function(Z,Q){Object.defineProperty(Q,"__esModule",{value:!0});var Y=zx(Z("bplist-creator")),J=zx(Z("bplist-parser")),q=Z("./parse"),K=Z("./readFile"),V=Z("./readFileSync"),D=Z("./stringify"),z=Z("./writeBinaryFile"),H=Z("./writeBinaryFileSync"),G=Z("./writeFile"),W=Z("./writeFileSync"),$={bplistCreator:Y.default,bplistParser:J.default,parse:q.parse,readFile:K.readFile,readFileSync:V.readFileSync,stringify:D.stringify,writeBinaryFile:z.writeBinaryFile,writeBinaryFileSync:H.writeBinaryFileSync,writeFile:G.writeFile,writeFileSync:W.writeFileSync};Q.default=$,dJ.exports=$})});var CF=k((KL0,Xx)=>{var __dirname="/home/expo/workingdir/build/node_modules/.bun/xcode@3.0.1/node_modules/xcode/lib",Gx=require("util"),G9=Gx.format,FD0=require("events").EventEmitter,A2=require("path"),AD0=oh(),wD0=require("child_process").fork,ED0=Qx(),o5=RF(),Wx=require("fs"),ID0=Dx(),CD0=Hx(),m5=/_comment$/;function f0(Z){if(!(this instanceof f0))return new f0(Z);this.filepath=A2.resolve(Z)}Gx.inherits(f0,FD0);f0.prototype.parse=function(Z){var Q=wD0(__dirname+"/parseJob.js",[this.filepath]);if(Q.on("message",function(Y){if(Y.name=="SyntaxError"||Y.code)this.emit("error",Y);else this.hash=Y,this.emit("end",null,Y)}.bind(this)),Z)this.on("error",Z),this.on("end",Z);return this};f0.prototype.parseSync=function(){var Z=Wx.readFileSync(this.filepath,"utf-8");return this.hash=ID0.parse(Z),this};f0.prototype.writeSync=function(Z){return this.writer=new ED0(this.hash,Z),this.writer.writeSync()};f0.prototype.allUuids=function(){var Z=this.hash.project.objects,Q=[],Y;for(key in Z)Y=Z[key],Q=Q.concat(Object.keys(Y));return Q=Q.filter(function(J){return!m5.test(J)&&J.length==24}),Q};f0.prototype.generateUuid=function(){var Z=AD0.v4().replace(/-/g,"").substr(0,24).toUpperCase();if(this.allUuids().indexOf(Z)>=0)return this.generateUuid();else return Z};f0.prototype.addPluginFile=function(Z,Q){var Y=new o5(Z,Q);if(Y.plugin=!0,$x(Y,this),this.hasFile(Y.path))return null;return Y.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Y),this.addToPluginsPbxGroup(Y),Y};f0.prototype.removePluginFile=function(Z,Q){var Y=new o5(Z,Q);return $x(Y,this),this.removeFromPbxFileReferenceSection(Y),this.removeFromPluginsPbxGroup(Y),Y};f0.prototype.addProductFile=function(Z,Q){var Y=new o5(Z,Q);return Y.includeInIndex=0,Y.fileRef=this.generateUuid(),Y.target=Q?Q.target:void 0,Y.group=Q?Q.group:void 0,Y.uuid=this.generateUuid(),Y.path=Y.basename,this.addToPbxFileReferenceSection(Y),this.addToProductsPbxGroup(Y),Y};f0.prototype.removeProductFile=function(Z,Q){var Y=new o5(Z,Q);return this.removeFromProductsPbxGroup(Y),Y};f0.prototype.addSourceFile=function(Z,Q,Y){var J;if(Y)J=this.addFile(Z,Y,Q);else J=this.addPluginFile(Z,Q);if(!J)return!1;return J.target=Q?Q.target:void 0,J.uuid=this.generateUuid(),this.addToPbxBuildFileSection(J),this.addToPbxSourcesBuildPhase(J),J};f0.prototype.removeSourceFile=function(Z,Q,Y){var J;if(Y)J=this.removeFile(Z,Y,Q);else J=this.removePluginFile(Z,Q);return J.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(J),this.removeFromPbxSourcesBuildPhase(J),J};f0.prototype.addHeaderFile=function(Z,Q,Y){if(Y)return this.addFile(Z,Y,Q);else return this.addPluginFile(Z,Q)};f0.prototype.removeHeaderFile=function(Z,Q,Y){if(Y)return this.removeFile(Z,Y,Q);else return this.removePluginFile(Z,Q)};f0.prototype.addResourceFile=function(Z,Q,Y){Q=Q||{};var J;if(Q.plugin){if(J=this.addPluginFile(Z,Q),!J)return!1}else if(J=new o5(Z,Q),this.hasFile(J.path))return!1;if(J.uuid=this.generateUuid(),J.target=Q?Q.target:void 0,!Q.plugin)Bx(J,this),J.fileRef=this.generateUuid();if(!Q.variantGroup)this.addToPbxBuildFileSection(J),this.addToPbxResourcesBuildPhase(J);if(!Q.plugin)if(this.addToPbxFileReferenceSection(J),Y){if(this.getPBXGroupByKey(Y))this.addToPbxGroup(J,Y);else if(this.getPBXVariantGroupByKey(Y))this.addToPbxVariantGroup(J,Y)}else this.addToResourcesPbxGroup(J);return J};f0.prototype.removeResourceFile=function(Z,Q,Y){var J=new o5(Z,Q);if(J.target=Q?Q.target:void 0,Bx(J,this),this.removeFromPbxBuildFileSection(J),this.removeFromPbxFileReferenceSection(J),Y){if(this.getPBXGroupByKey(Y))this.removeFromPbxGroup(J,Y);else if(this.getPBXVariantGroupByKey(Y))this.removeFromPbxVariantGroup(J,Y)}else this.removeFromResourcesPbxGroup(J);return this.removeFromPbxResourcesBuildPhase(J),J};f0.prototype.addFramework=function(Z,Q){var Y=Q&&Q.customFramework==!0,J=!Q||(Q.link==null||Q.link),q=Q&&Q.embed;if(Q)delete Q.embed;var K=new o5(Z,Q);if(K.uuid=this.generateUuid(),K.fileRef=this.generateUuid(),K.target=Q?Q.target:void 0,this.hasFile(K.path))return!1;if(this.addToPbxBuildFileSection(K),this.addToPbxFileReferenceSection(K),this.addToFrameworksPbxGroup(K),J)this.addToPbxFrameworksBuildPhase(K);if(Y){if(this.addToFrameworkSearchPaths(K),q){Q.embed=q;var V=new o5(Z,Q);return V.uuid=this.generateUuid(),V.fileRef=K.fileRef,this.addToPbxBuildFileSection(V),this.addToPbxEmbedFrameworksBuildPhase(V),V}}return K};f0.prototype.removeFramework=function(Z,Q){var Y=Q&&Q.embed;if(Q)delete Q.embed;var J=new o5(Z,Q);if(J.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(J),this.removeFromPbxFileReferenceSection(J),this.removeFromFrameworksPbxGroup(J),this.removeFromPbxFrameworksBuildPhase(J),Q&&Q.customFramework)this.removeFromFrameworkSearchPaths(J);Q=Q||{},Q.embed=!0;var q=new o5(Z,Q);return q.fileRef=J.fileRef,this.removeFromPbxBuildFileSection(q),this.removeFromPbxEmbedFrameworksBuildPhase(q),J};f0.prototype.addCopyfile=function(Z,Q){var Y=new o5(Z,Q);if(this.hasFile(Y.path))Y=this.hasFile(Y.path);return Y.fileRef=Y.uuid=this.generateUuid(),Y.target=Q?Q.target:void 0,this.addToPbxBuildFileSection(Y),this.addToPbxFileReferenceSection(Y),this.addToPbxCopyfilesBuildPhase(Y),Y};f0.prototype.pbxCopyfilesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",Z)};f0.prototype.addToPbxCopyfilesBuildPhase=function(Z){var Q=this.buildPhaseObject("PBXCopyFilesBuildPhase","Copy Files",Z.target);Q.files.push(F2(Z))};f0.prototype.removeCopyfile=function(Z,Q){var Y=new o5(Z,Q);return Y.target=Q?Q.target:void 0,this.removeFromPbxBuildFileSection(Y),this.removeFromPbxFileReferenceSection(Y),this.removeFromPbxCopyfilesBuildPhase(Y),Y};f0.prototype.removeFromPbxCopyfilesBuildPhase=function(Z){var Q=this.pbxCopyfilesBuildPhaseObj(Z.target);for(i in Q.files)if(Q.files[i].comment==RZ(Z)){Q.files.splice(i,1);break}};f0.prototype.addStaticLibrary=function(Z,Q){Q=Q||{};var Y;if(Q.plugin){if(Y=this.addPluginFile(Z,Q),!Y)return!1}else if(Y=new o5(Z,Q),this.hasFile(Y.path))return!1;if(Y.uuid=this.generateUuid(),Y.target=Q?Q.target:void 0,!Q.plugin)Y.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(Y);return this.addToPbxBuildFileSection(Y),this.addToPbxFrameworksBuildPhase(Y),this.addToLibrarySearchPaths(Y),Y};f0.prototype.addToPbxBuildFileSection=function(Z){var Q=G9("%s_comment",Z.uuid);this.pbxBuildFileSection()[Z.uuid]=RD0(Z),this.pbxBuildFileSection()[Q]=jD0(Z)};f0.prototype.removeFromPbxBuildFileSection=function(Z){var Q;for(Q in this.pbxBuildFileSection())if(this.pbxBuildFileSection()[Q].fileRef_comment==Z.basename){Z.uuid=Q,delete this.pbxBuildFileSection()[Q];var Y=G9("%s_comment",Q);delete this.pbxBuildFileSection()[Y]}};f0.prototype.addPbxGroup=function(Z,Q,Y,J){var q=this.hash.project.objects.PBXGroup,K=this.generateUuid(),V=G9("%s_comment",K),D={isa:"PBXGroup",children:[],name:Q,path:Y,sourceTree:J?J:'"<group>"'},z=this.pbxFileReferenceSection(),H={};for(var G in z){if(!m5.test(G))continue;var W=G.split(m5)[0],$=z[W];H[$.path]={fileRef:W,basename:z[G]}}for(var B=0;B<Z.length;B++){var O=Z[B],A='"'+O+'"';if(H[O]){D.children.push(X8(H[O]));continue}else if(H[A]){D.children.push(X8(H[A]));continue}var w=new o5(O);w.uuid=this.generateUuid(),w.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(w),this.addToPbxBuildFileSection(w),D.children.push(X8(w))}if(q)q[K]=D,q[V]=Q;return{uuid:K,pbxGroup:D}};f0.prototype.removePbxGroup=function(Z){var Q=this.hash.project.objects.PBXGroup,Y,J;for(Y in Q){if(!m5.test(Y))continue;if(Q[Y]==Z)J=Y.split(m5)[0],delete Q[J]}};f0.prototype.addToPbxProjectSection=function(Z){var Q={value:Z.uuid,comment:SD0(Z.pbxNativeTarget)};this.pbxProjectSection()[this.getFirstProject().uuid].targets.push(Q)};f0.prototype.addToPbxNativeTargetSection=function(Z){var Q=G9("%s_comment",Z.uuid);this.pbxNativeTargetSection()[Z.uuid]=Z.pbxNativeTarget,this.pbxNativeTargetSection()[Q]=Z.pbxNativeTarget.name};f0.prototype.addToPbxFileReferenceSection=function(Z){var Q=G9("%s_comment",Z.fileRef);this.pbxFileReferenceSection()[Z.fileRef]=Ux(Z),this.pbxFileReferenceSection()[Q]=ND0(Z)};f0.prototype.removeFromPbxFileReferenceSection=function(Z){var Q,Y=Ux(Z);for(Q in this.pbxFileReferenceSection())if(this.pbxFileReferenceSection()[Q].name==Y.name||'"'+this.pbxFileReferenceSection()[Q].name+'"'==Y.name||this.pbxFileReferenceSection()[Q].path==Y.path||'"'+this.pbxFileReferenceSection()[Q].path+'"'==Y.path){Z.fileRef=Z.uuid=Q,delete this.pbxFileReferenceSection()[Q];break}var J=G9("%s_comment",Z.fileRef);if(this.pbxFileReferenceSection()[J]!=null)delete this.pbxFileReferenceSection()[J];return Z};f0.prototype.addToXcVersionGroupSection=function(Z){if(!Z.models||!Z.currentModel)throw Error("Cannot create a XCVersionGroup section from not a data model document file");var Q=G9("%s_comment",Z.fileRef);if(!this.xcVersionGroupSection()[Z.fileRef])this.xcVersionGroupSection()[Z.fileRef]={isa:"XCVersionGroup",children:Z.models.map(function(Y){return Y.fileRef}),currentVersion:Z.currentModel.fileRef,name:A2.basename(Z.path),path:Z.path,sourceTree:'"<group>"',versionGroupType:"wrapper.xcdatamodel"},this.xcVersionGroupSection()[Q]=A2.basename(Z.path)};f0.prototype.addToPluginsPbxGroup=function(Z){var Q=this.pbxGroupByName("Plugins");if(!Q)this.addPbxGroup([Z.path],"Plugins");else Q.children.push(X8(Z))};f0.prototype.removeFromPluginsPbxGroup=function(Z){if(!this.pbxGroupByName("Plugins"))return null;var Q=this.pbxGroupByName("Plugins").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToResourcesPbxGroup=function(Z){var Q=this.pbxGroupByName("Resources");if(!Q)this.addPbxGroup([Z.path],"Resources");else Q.children.push(X8(Z))};f0.prototype.removeFromResourcesPbxGroup=function(Z){if(!this.pbxGroupByName("Resources"))return null;var Q=this.pbxGroupByName("Resources").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToFrameworksPbxGroup=function(Z){var Q=this.pbxGroupByName("Frameworks");if(!Q)this.addPbxGroup([Z.path],"Frameworks");else Q.children.push(X8(Z))};f0.prototype.removeFromFrameworksPbxGroup=function(Z){if(!this.pbxGroupByName("Frameworks"))return null;var Q=this.pbxGroupByName("Frameworks").children;for(i in Q)if(X8(Z).value==Q[i].value&&X8(Z).comment==Q[i].comment){Q.splice(i,1);break}};f0.prototype.addToPbxEmbedFrameworksBuildPhase=function(Z){var Q=this.pbxEmbedFrameworksBuildPhaseObj(Z.target);if(Q)Q.files.push(F2(Z))};f0.prototype.removeFromPbxEmbedFrameworksBuildPhase=function(Z){var Q=this.pbxEmbedFrameworksBuildPhaseObj(Z.target);if(Q){var Y=[];for(i in Q.files)if(Q.files[i].comment!=RZ(Z))Y.push(Q.files[i]);Q.files=Y}};f0.prototype.addToProductsPbxGroup=function(Z){var Q=this.pbxGroupByName("Products");if(!Q)this.addPbxGroup([Z.path],"Products");else Q.children.push(X8(Z))};f0.prototype.removeFromProductsPbxGroup=function(Z){if(!this.pbxGroupByName("Products"))return null;var Q=this.pbxGroupByName("Products").children,Y;for(Y in Q)if(X8(Z).value==Q[Y].value&&X8(Z).comment==Q[Y].comment){Q.splice(Y,1);break}};f0.prototype.addToPbxSourcesBuildPhase=function(Z){var Q=this.pbxSourcesBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxSourcesBuildPhase=function(Z){var Q=this.pbxSourcesBuildPhaseObj(Z.target),Y;for(Y in Q.files)if(Q.files[Y].comment==RZ(Z)){Q.files.splice(Y,1);break}};f0.prototype.addToPbxResourcesBuildPhase=function(Z){var Q=this.pbxResourcesBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxResourcesBuildPhase=function(Z){var Q=this.pbxResourcesBuildPhaseObj(Z.target),Y;for(Y in Q.files)if(Q.files[Y].comment==RZ(Z)){Q.files.splice(Y,1);break}};f0.prototype.addToPbxFrameworksBuildPhase=function(Z){var Q=this.pbxFrameworksBuildPhaseObj(Z.target);Q.files.push(F2(Z))};f0.prototype.removeFromPbxFrameworksBuildPhase=function(Z){var Q=this.pbxFrameworksBuildPhaseObj(Z.target);for(i in Q.files)if(Q.files[i].comment==RZ(Z)){Q.files.splice(i,1);break}};f0.prototype.addXCConfigurationList=function(Z,Q,Y){var J=this.pbxXCBuildConfigurationSection(),q=this.pbxXCConfigurationList(),K=this.generateUuid(),V=G9("%s_comment",K),D={isa:"XCConfigurationList",buildConfigurations:[],defaultConfigurationIsVisible:0,defaultConfigurationName:Q};for(var z=0;z<Z.length;z++){var H=Z[z],G=this.generateUuid(),W=G9("%s_comment",G);J[G]=H,J[W]=H.name,D.buildConfigurations.push({value:G,comment:H.name})}if(q)q[K]=D,q[V]=Y;return{uuid:K,xcConfigurationList:D}};f0.prototype.addTargetDependency=function(Z,Q){if(!Z)return;var Y=this.pbxNativeTargetSection();if(typeof Y[Z]>"u")throw Error("Invalid target: "+Z);for(var J=0;J<Q.length;J++){var q=Q[J];if(typeof Y[q]>"u")throw Error("Invalid target: "+q)}var K="PBXTargetDependency",V="PBXContainerItemProxy",D=this.hash.project.objects[K],z=this.hash.project.objects[V];for(var J=0;J<Q.length;J++){var H=Q[J],G=G9("%s_comment",H),W=this.generateUuid(),$=G9("%s_comment",W),B=this.generateUuid(),O=G9("%s_comment",B),A={isa:V,containerPortal:this.hash.project.rootObject,containerPortal_comment:this.hash.project.rootObject_comment,proxyType:1,remoteGlobalIDString:H,remoteInfo:Y[H].name},w={isa:K,target:H,target_comment:Y[G],targetProxy:B,targetProxy_comment:V};if(z&&D)z[B]=A,z[O]=V,D[W]=w,D[$]=K,Y[Z].dependencies.push({value:W,comment:K})}return{uuid:Z,target:Y[Z]}};f0.prototype.addBuildPhase=function(Z,Q,Y,J,q,K){var V,D=this.pbxFileReferenceSection(),z=this.pbxBuildFileSection(),H=this.generateUuid(),G=J||this.getFirstTarget().uuid,W=G9("%s_comment",H),$={isa:Q,buildActionMask:2147483647,files:[],runOnlyForDeploymentPostprocessing:0},B={};if(Q==="PBXCopyFilesBuildPhase")$=LD0($,q,K,Y);else if(Q==="PBXShellScriptBuildPhase")$=MD0($,q,Y);if(!this.hash.project.objects[Q])this.hash.project.objects[Q]={};if(!this.hash.project.objects[Q][H])this.hash.project.objects[Q][H]=$,this.hash.project.objects[Q][W]=Y;if(this.hash.project.objects.PBXNativeTarget[G].buildPhases)this.hash.project.objects.PBXNativeTarget[G].buildPhases.push({value:H,comment:Y});for(var O in z){if(!m5.test(O))continue;var A=O.split(m5)[0],w=z[A];if(fileReference=D[w.fileRef],!fileReference)continue;var E=new o5(fileReference.path);B[fileReference.path]={uuid:A,basename:E.basename,group:E.group}}for(var S=0;S<Z.length;S++){var X=Z[S],F='"'+X+'"',U=new o5(X);if(B[X]){$.files.push(F2(B[X]));continue}else if(B[F]){$.files.push(F2(B[F]));continue}U.uuid=this.generateUuid(),U.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(U),this.addToPbxBuildFileSection(U),$.files.push(F2(U))}if(V)V[H]=$,V[W]=Y;return{uuid:H,buildPhase:$}};f0.prototype.pbxProjectSection=function(){return this.hash.project.objects.PBXProject};f0.prototype.pbxBuildFileSection=function(){return this.hash.project.objects.PBXBuildFile};f0.prototype.pbxXCBuildConfigurationSection=function(){return this.hash.project.objects.XCBuildConfiguration};f0.prototype.pbxFileReferenceSection=function(){return this.hash.project.objects.PBXFileReference};f0.prototype.pbxNativeTargetSection=function(){return this.hash.project.objects.PBXNativeTarget};f0.prototype.xcVersionGroupSection=function(){if(typeof this.hash.project.objects.XCVersionGroup!=="object")this.hash.project.objects.XCVersionGroup={};return this.hash.project.objects.XCVersionGroup};f0.prototype.pbxXCConfigurationList=function(){return this.hash.project.objects.XCConfigurationList};f0.prototype.pbxGroupByName=function(Z){var Q=this.hash.project.objects.PBXGroup,Y,J;for(Y in Q){if(!m5.test(Y))continue;if(Q[Y]==Z)return J=Y.split(m5)[0],Q[J]}return null};f0.prototype.pbxTargetByName=function(Z){return this.pbxItemByComment(Z,"PBXNativeTarget")};f0.prototype.findTargetKey=function(Z){var Q=this.hash.project.objects.PBXNativeTarget;for(var Y in Q){if(m5.test(Y))continue;var J=Q[Y];if(J.name===Z)return Y}return null};f0.prototype.pbxItemByComment=function(Z,Q){var Y=this.hash.project.objects[Q],J,q;for(J in Y){if(!m5.test(J))continue;if(Y[J]==Z)return q=J.split(m5)[0],Y[q]}return null};f0.prototype.pbxSourcesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXSourcesBuildPhase","Sources",Z)};f0.prototype.pbxResourcesBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXResourcesBuildPhase","Resources",Z)};f0.prototype.pbxFrameworksBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXFrameworksBuildPhase","Frameworks",Z)};f0.prototype.pbxEmbedFrameworksBuildPhaseObj=function(Z){return this.buildPhaseObject("PBXCopyFilesBuildPhase","Embed Frameworks",Z)};f0.prototype.buildPhase=function(Z,Q){if(!Q)return;var Y=this.pbxNativeTargetSection();if(typeof Y[Q]>"u")throw Error("Invalid target: "+Q);var J=Y[Q],q=J.buildPhases;for(var K in q){var V=q[K];if(V.comment==Z)return V.value+"_comment"}};f0.prototype.buildPhaseObject=function(Z,Q,Y){var J=this.hash.project.objects[Z],q,K,V,D=this.buildPhase(Q,Y);for(V in J){if(!m5.test(V))continue;if(D&&D!=V)continue;if(J[V]==Q)return K=V.split(m5)[0],J[K]}return null};f0.prototype.addBuildProperty=function(Z,Q,Y){var J=W9(this.pbxXCBuildConfigurationSection()),q,K;for(q in J)if(K=J[q],!Y||K.name===Y)K.buildSettings[Z]=Q};f0.prototype.removeBuildProperty=function(Z,Q){var Y=W9(this.pbxXCBuildConfigurationSection()),J,q;for(J in Y)if(q=Y[J],q.buildSettings[Z]&&!Q||q.name===Q)delete q.buildSettings[Z]};f0.prototype.updateBuildProperty=function(Z,Q,Y,J){let q=[];if(J){let z=this.pbxTargetByName(J),H=z&&z.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!m5.test(W)&&H===W){let $=G[W].buildConfigurations;for(let B of $)q.push(B.value);break}}var K=this.pbxXCBuildConfigurationSection();for(var V in K)if(!m5.test(V)){if(J&&!q.includes(V))continue;var D=K[V];if(Y&&D.name===Y||!Y)D.buildSettings[Z]=Q}};f0.prototype.updateProductName=function(Z){this.updateBuildProperty("PRODUCT_NAME",'"'+Z+'"')};f0.prototype.removeFromFrameworkSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="FRAMEWORK_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(V=K[J],V&&Array.isArray(V)){var z=V.filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=V.indexOf(H);V.splice(G,1)})}}};f0.prototype.addToFrameworkSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.FRAMEWORK_SEARCH_PATHS||q.FRAMEWORK_SEARCH_PATHS===Y)q.FRAMEWORK_SEARCH_PATHS=[Y];q.FRAMEWORK_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.removeFromLibrarySearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="LIBRARY_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(V=K[J],V&&Array.isArray(V)){var z=V.filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=V.indexOf(H);V.splice(G,1)})}}};f0.prototype.addToLibrarySearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.LIBRARY_SEARCH_PATHS||q.LIBRARY_SEARCH_PATHS===Y)q.LIBRARY_SEARCH_PATHS=[Y];if(typeof Z==="string")q.LIBRARY_SEARCH_PATHS.push(Z);else q.LIBRARY_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.removeFromHeaderSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="HEADER_SEARCH_PATHS",q,K,V,D=oQ(Z,this);for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(K[J]){var z=K[J].filter(function(H){return H.indexOf(D)>-1});z.forEach(function(H){var G=K[J].indexOf(H);K[J].splice(G,1)})}}};f0.prototype.addToHeaderSearchPaths=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J,q,K;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(!q.HEADER_SEARCH_PATHS)q.HEADER_SEARCH_PATHS=[Y];if(typeof Z==="string")q.HEADER_SEARCH_PATHS.push(Z);else q.HEADER_SEARCH_PATHS.push(oQ(Z,this))}};f0.prototype.addToOtherLinkerFlags=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y='"$(inherited)"',J="OTHER_LDFLAGS",q,K;for(q in Q){if(K=Q[q].buildSettings,$6(K.PRODUCT_NAME)!=this.productName)continue;if(!K[J]||K[J]===Y)K[J]=[Y];K[J].push(Z)}};f0.prototype.removeFromOtherLinkerFlags=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y="OTHER_LDFLAGS",J,q;for(J in Q){if(q=Q[J].buildSettings,$6(q.PRODUCT_NAME)!=this.productName)continue;if(q[Y]){var K=q[Y].filter(function(V){return V.indexOf(Z)>-1});K.forEach(function(V){var D=q[Y].indexOf(V);q[Y].splice(D,1)})}}};f0.prototype.addToBuildSettings=function(Z,Q){var Y=W9(this.pbxXCBuildConfigurationSection()),J,q;for(J in Y)q=Y[J].buildSettings,q[Z]=Q};f0.prototype.removeFromBuildSettings=function(Z){var Q=W9(this.pbxXCBuildConfigurationSection()),Y,J;for(Y in Q)if(J=Q[Y].buildSettings,J[Z])delete J[Z]};f0.prototype.__defineGetter__("productName",function(){var Z=W9(this.pbxXCBuildConfigurationSection()),Q,Y;for(Q in Z)if(Y=Z[Q].buildSettings.PRODUCT_NAME,Y)return $6(Y)});f0.prototype.hasFile=function(Z){var Q=W9(this.pbxFileReferenceSection()),Y,J;for(J in Q)if(Y=Q[J],Y.path==Z||Y.path=='"'+Z+'"')return Y;return!1};f0.prototype.addTarget=function(Z,Q,Y,J){var q=this.generateUuid(),K=Q,V=Y||Z,D=Z.trim(),z=J;if(!D)throw Error("Target name missing.");if(!K)throw Error("Target type missing.");if(!lJ(K))throw Error("Target type invalid: "+K);var H=[{name:"Debug",isa:"XCBuildConfiguration",buildSettings:{GCC_PREPROCESSOR_DEFINITIONS:['"DEBUG=1"','"$(inherited)"'],INFOPLIST_FILE:'"'+A2.join(V,V+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+D+'"',SKIP_INSTALL:"YES"}},{name:"Release",isa:"XCBuildConfiguration",buildSettings:{INFOPLIST_FILE:'"'+A2.join(V,V+'-Info.plist"'),LD_RUNPATH_SEARCH_PATHS:'"$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks"',PRODUCT_NAME:'"'+D+'"',SKIP_INSTALL:"YES"}}];if(z)H=H.map((S)=>{return S.buildSettings.PRODUCT_BUNDLE_IDENTIFIER='"'+z+'"',S});var G=this.addXCConfigurationList(H,"Release",'Build configuration list for PBXNativeTarget "'+D+'"'),W=D,$=lJ(K),B=PD0($),O=this.addProductFile(W,{group:"Copy Files",target:q,explicitFileType:B}),A=O.basename;this.addToPbxBuildFileSection(O);var w={uuid:q,pbxNativeTarget:{isa:"PBXNativeTarget",name:'"'+D+'"',productName:'"'+D+'"',productReference:O.fileRef,productType:'"'+lJ(K)+'"',buildConfigurationList:G.uuid,buildPhases:[],buildRules:[],dependencies:[]}};if(this.addToPbxNativeTargetSection(w),K==="app_extension")this.addBuildPhase([],"PBXCopyFilesBuildPhase","Copy Files",this.getFirstTarget().uuid,K),this.addToPbxCopyfilesBuildPhase(O);else if(K==="watch2_app")this.addBuildPhase([D+".app"],"PBXCopyFilesBuildPhase","Embed Watch Content",this.getFirstTarget().uuid,K,'"$(CONTENTS_FOLDER_PATH)/Watch"');else if(K==="watch2_extension"){var E=this.getTarget(lJ("watch2_app"));if(E)this.addBuildPhase([D+".appex"],"PBXCopyFilesBuildPhase","Embed App Extensions",E.uuid,K)}if(this.addToPbxProjectSection(w),K==="watch2_extension"){var E=this.getTarget(lJ("watch2_app"));if(E)this.addTargetDependency(E.uuid,[w.uuid])}else this.addTargetDependency(this.getFirstTarget().uuid,[w.uuid]);return w};function RD0(Z){var Q=Object.create(null);if(Q.isa="PBXBuildFile",Q.fileRef=Z.fileRef,Q.fileRef_comment=Z.basename,Z.settings)Q.settings=Z.settings;return Q}function Ux(Z){var Q={isa:"PBXFileReference",name:'"'+Z.basename+'"',path:'"'+Z.path.replace(/\\/g,"/")+'"',sourceTree:Z.sourceTree,fileEncoding:Z.fileEncoding,lastKnownFileType:Z.lastKnownFileType,explicitFileType:Z.explicitFileType,includeInIndex:Z.includeInIndex};return Q}function X8(Z){var Q=Object.create(null);return Q.value=Z.fileRef,Q.comment=Z.basename,Q}function F2(Z){var Q=Object.create(null);return Q.value=Z.uuid,Q.comment=RZ(Z),Q}function LD0(Z,Q,Y,J){var q={application:"wrapper",app_extension:"plugins",bundle:"wrapper",command_line_tool:"wrapper",dynamic_library:"products_directory",framework:"shared_frameworks",frameworks:"frameworks",static_library:"products_directory",unit_test_bundle:"wrapper",watch_app:"wrapper",watch2_app:"products_directory",watch_extension:"plugins",watch2_extension:"plugins"},K={absolute_path:0,executables:6,frameworks:10,java_resources:15,plugins:13,products_directory:16,resources:7,shared_frameworks:11,shared_support:12,wrapper:1,xpc_services:0};return Z.name='"'+J+'"',Z.dstPath=Y||'""',Z.dstSubfolderSpec=K[q[Q]],Z}function MD0(Z,Q,Y){return Z.name='"'+Y+'"',Z.inputPaths=Q.inputPaths||[],Z.outputPaths=Q.outputPaths||[],Z.shellPath=Q.shellPath,Z.shellScript='"'+Q.shellScript.replace(/"/g,"\\\"")+'"',Z}function jD0(Z){return RZ(Z)}function ND0(Z){return Z.basename||A2.basename(Z.path)}function SD0(Z){return Z.name}function RZ(Z){return G9("%s in %s",Z.basename,Z.group)}function $x(Z,Q){return Ox(Z,Q,"Plugins")}function Bx(Z,Q){return Ox(Z,Q,"Resources")}function Ox(Z,Q,Y){var J=new RegExp("^"+Y+"[\\\\/]");if(Q.pbxGroupByName(Y).path)Z.path=Z.path.replace(J,"");return Z}function oQ(Z,Q){var Y=Q.pbxGroupByName("Plugins"),J=Y?Y.path:null,q=A2.dirname(Z.path);if(q==".")q="";else q="/"+q;if(Z.plugin&&J)return'"\\"$(SRCROOT)/'+$6(J)+'\\""';else if(Z.customFramework&&Z.dirname)return'"\\"'+Z.dirname+'\\""';else return'"\\"$(SRCROOT)/'+Q.productName+q+'\\""'}function W9(Z){var Q=Object.keys(Z),Y={},J=0;for(J;J<Q.length;J++)if(!m5.test(Q[J]))Y[Q[J]]=Z[Q[J]];return Y}function $6(Z){if(Z)return Z.replace(/^"(.*)"$/,"$1")}function lJ(Z){return PRODUCTTYPE_BY_TARGETTYPE={application:"com.apple.product-type.application",app_extension:"com.apple.product-type.app-extension",bundle:"com.apple.product-type.bundle",command_line_tool:"com.apple.product-type.tool",dynamic_library:"com.apple.product-type.library.dynamic",framework:"com.apple.product-type.framework",static_library:"com.apple.product-type.library.static",unit_test_bundle:"com.apple.product-type.bundle.unit-test",watch_app:"com.apple.product-type.application.watchapp",watch2_app:"com.apple.product-type.application.watchapp2",watch_extension:"com.apple.product-type.watchkit-extension",watch2_extension:"com.apple.product-type.watchkit2-extension"},PRODUCTTYPE_BY_TARGETTYPE[Z]}function PD0(Z){return FILETYPE_BY_PRODUCTTYPE={"com.apple.product-type.application":'"wrapper.application"',"com.apple.product-type.app-extension":'"wrapper.app-extension"',"com.apple.product-type.bundle":'"wrapper.plug-in"',"com.apple.product-type.tool":'"compiled.mach-o.dylib"',"com.apple.product-type.library.dynamic":'"compiled.mach-o.dylib"',"com.apple.product-type.framework":'"wrapper.framework"',"com.apple.product-type.library.static":'"archive.ar"',"com.apple.product-type.bundle.unit-test":'"wrapper.cfbundle"',"com.apple.product-type.application.watchapp":'"wrapper.application"',"com.apple.product-type.application.watchapp2":'"wrapper.application"',"com.apple.product-type.watchkit-extension":'"wrapper.app-extension"',"com.apple.product-type.watchkit2-extension":'"wrapper.app-extension"'},FILETYPE_BY_PRODUCTTYPE[Z]}f0.prototype.getFirstProject=function(){var Z=this.pbxProjectSection(),Q=Object.keys(Z)[0],Y=Z[Q];return{uuid:Q,firstProject:Y}};f0.prototype.getFirstTarget=function(){var Z=this.getFirstProject().firstProject.targets[0].value,Q=this.pbxNativeTargetSection()[Z];return{uuid:Z,firstTarget:Q}};f0.prototype.getTarget=function(Z){var Q=this.getFirstProject().firstProject.targets,Y=this.pbxNativeTargetSection();for(var J=0;J<Q.length;J++){var q=Q[J],K=q.value;if(Y[K].productType==='"'+Z+'"'){var V=this.pbxNativeTargetSection()[K];return{uuid:K,target:V}}}return null};f0.prototype.addToPbxGroupType=function(Z,Q,Y){var J=this.getPBXGroupByKeyAndType(Q,Y);if(J&&J.children!==void 0)if(typeof Z==="string"){var q={value:Z};if(this.getPBXGroupByKey(Z))q.comment=this.getPBXGroupByKey(Z).name;else if(this.getPBXVariantGroupByKey(Z))q.comment=this.getPBXVariantGroupByKey(Z).name;J.children.push(q)}else J.children.push(X8(Z))};f0.prototype.addToPbxVariantGroup=function(Z,Q){this.addToPbxGroupType(Z,Q,"PBXVariantGroup")};f0.prototype.addToPbxGroup=function(Z,Q){this.addToPbxGroupType(Z,Q,"PBXGroup")};f0.prototype.pbxCreateGroupWithType=function(Z,Q,Y){var J={isa:'"'+Y+'"',children:[],name:Z,sourceTree:'"<group>"'};if(Q)J.path=Q;var q=this.generateUuid(),K=q+"_comment",V=this.hash.project.objects[Y];if(!V)V=this.hash.project.objects[Y]={};return V[K]=Z,V[q]=J,q};f0.prototype.pbxCreateVariantGroup=function(Z){return this.pbxCreateGroupWithType(Z,void 0,"PBXVariantGroup")};f0.prototype.pbxCreateGroup=function(Z,Q){return this.pbxCreateGroupWithType(Z,Q,"PBXGroup")};f0.prototype.removeFromPbxGroupAndType=function(Z,Q,Y){var J=this.getPBXGroupByKeyAndType(Q,Y);if(J){var q=J.children,K;for(K in q)if(X8(Z).value==q[K].value&&X8(Z).comment==q[K].comment){q.splice(K,1);break}}};f0.prototype.removeFromPbxGroup=function(Z,Q){this.removeFromPbxGroupAndType(Z,Q,"PBXGroup")};f0.prototype.removeFromPbxVariantGroup=function(Z,Q){this.removeFromPbxGroupAndType(Z,Q,"PBXVariantGroup")};f0.prototype.getPBXGroupByKeyAndType=function(Z,Q){return this.hash.project.objects[Q][Z]};f0.prototype.getPBXGroupByKey=function(Z){return this.hash.project.objects.PBXGroup[Z]};f0.prototype.getPBXVariantGroupByKey=function(Z){return this.hash.project.objects.PBXVariantGroup[Z]};f0.prototype.findPBXGroupKeyAndType=function(Z,Q){var Y=this.hash.project.objects[Q],J;for(var q in Y){if(m5.test(q))continue;var K=Y[q];if(Z&&Z.path&&Z.name){if(Z.path===K.path&&Z.name===K.name){J=q;break}}else if(Z&&Z.path){if(Z.path===K.path){J=q;break}}else if(Z&&Z.name){if(Z.name===K.name){J=q;break}}}return J};f0.prototype.findPBXGroupKey=function(Z){return this.findPBXGroupKeyAndType(Z,"PBXGroup")};f0.prototype.findPBXVariantGroupKey=function(Z){return this.findPBXGroupKeyAndType(Z,"PBXVariantGroup")};f0.prototype.addLocalizationVariantGroup=function(Z){var Q=this.pbxCreateVariantGroup(Z),Y=this.findPBXGroupKey({name:"Resources"});this.addToPbxGroup(Q,Y);var J={uuid:this.generateUuid(),fileRef:Q,basename:Z};return this.addToPbxBuildFileSection(J),this.addToPbxResourcesBuildPhase(J),J};f0.prototype.addKnownRegion=function(Z){if(!this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions)this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=[];if(!this.hasKnownRegion(Z))this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions.push(Z)};f0.prototype.removeKnownRegion=function(Z){var Q=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Q){for(var Y=0;Y<Q.length;Y++)if(Q[Y]===Z){Q.splice(Y,1);break}this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions=Q}};f0.prototype.hasKnownRegion=function(Z){var Q=this.pbxProjectSection()[this.getFirstProject().uuid].knownRegions;if(Q){for(var Y in Q)if(Q[Y]===Z)return!0}return!1};f0.prototype.getPBXObject=function(Z){return this.hash.project.objects[Z]};f0.prototype.addFile=function(Z,Q,Y){var J=new o5(Z,Y);if(this.hasFile(J.path))return null;if(J.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(J),this.getPBXGroupByKey(Q))this.addToPbxGroup(J,Q);else if(this.getPBXVariantGroupByKey(Q))this.addToPbxVariantGroup(J,Q);return J};f0.prototype.removeFile=function(Z,Q,Y){var J=new o5(Z,Y);if(this.removeFromPbxFileReferenceSection(J),this.getPBXGroupByKey(Q))this.removeFromPbxGroup(J,Q);else if(this.getPBXVariantGroupByKey(Q))this.removeFromPbxVariantGroup(J,Q);return J};f0.prototype.getBuildProperty=function(Z,Q,Y){var J;let q=[];if(Y){let z=this.pbxTargetByName(Y),H=z&&z.buildConfigurationList,G=this.pbxXCConfigurationList();for(let W in G)if(!m5.test(W)&&H===W){let $=G[W].buildConfigurations;for(let B of $)q.push(B.value);break}}var K=this.pbxXCBuildConfigurationSection();for(var V in K)if(!m5.test(V)){if(Y&&!q.includes(V))continue;var D=K[V];if(Q&&D.name===Q||Q===void 0){if(D.buildSettings[Z]!==void 0)J=D.buildSettings[Z]}}return J};f0.prototype.getBuildConfigByName=function(Z){var Q={},Y=this.pbxXCBuildConfigurationSection();for(var J in Y)if(!m5.test(J)){var q=Y[J];if(q.name===Z)Q[J]=q}return Q};f0.prototype.addDataModelDocument=function(Z,Q,Y){if(!Q)Q="Resources";if(!this.getPBXGroupByKey(Q))Q=this.findPBXGroupKey({name:Q});var J=new o5(Z,Y);if(!J||this.hasFile(J.path))return null;if(J.fileRef=this.generateUuid(),this.addToPbxGroup(J,Q),!J)return!1;J.target=Y?Y.target:void 0,J.uuid=this.generateUuid(),this.addToPbxBuildFileSection(J),this.addToPbxSourcesBuildPhase(J),J.models=[];var q,K=Wx.readdirSync(J.path);for(var V in K){var D=K[V],z=A2.join(Z,D);if(D==".xccurrentversion"){q=CD0.readFileSync(z)._XCCurrentVersionName;continue}var H=new o5(z);if(H.fileRef=this.generateUuid(),this.addToPbxFileReferenceSection(H),J.models.push(H),q&&q===D)J.currentModel=H}if(!J.currentModel)J.currentModel=J.models[0];return this.addToXcVersionGroupSection(J),J};f0.prototype.addTargetAttribute=function(Z,Q,Y){var J=this.getFirstProject().firstProject.attributes;if(J.TargetAttributes===void 0)J.TargetAttributes={};if(Y=Y||this.getFirstTarget(),J.TargetAttributes[Y.uuid]===void 0)J.TargetAttributes[Y.uuid]={};J.TargetAttributes[Y.uuid][Z]=Q};f0.prototype.removeTargetAttribute=function(Z,Q){var Y=this.getFirstProject().firstProject.attributes;if(Q=Q||this.getFirstTarget(),Y.TargetAttributes&&Y.TargetAttributes[Q.uuid])delete Y.TargetAttributes[Q.uuid][Z]};Xx.exports=f0});var tQ=k((Fx)=>{Fx.project=CF()});var LZ=k((LF)=>{Object.defineProperty(LF,"__esModule",{value:!0});LF.trimQuotes=TD0;function TD0(Z){return Z&&Z[0]==='"'&&Z[Z.length-1]==='"'?Z.slice(1,-1):Z}});var wx=k((zL0,Ax)=>{Ax.exports=(Z)=>{let Q=/^\\\\\?\\/.test(Z),Y=/[^\u0000-\u0080]+/.test(Z);if(Q||Y)return Z;return Z.replace(/\\/g,"/")}});var jF=k((eQ)=>{Object.defineProperty(eQ,"__esModule",{value:!0});eQ.getApplicationTargetNameForSchemeAsync=bD0;eQ.getArchiveBuildConfigurationForSchemeAsync=kD0;eQ.getRunnableSchemesFromXcodeproj=vD0;eQ.getSchemesFromXcodeproj=_D0;function MF(){let Z=MZ();return MF=function(){return Z},Z}function WH(){let Z=E4();return WH=function(){return Z},Z}function pJ(){let Z=j8();return pJ=function(){return Z},Z}function Ix(){let Z=OZ();return Ix=function(){return Z},Z}function _D0(Z){return(0,MF().findSchemeNames)(Z)}function vD0(Z,{configuration:Q="Debug"}={}){let Y=(0,pJ().getPbxproj)(Z);return(0,WH().findSignableTargets)(Y).map(([,J])=>{let q="iOS",K=(0,pJ().unquote)(J.productType);if(K===WH().TargetType.WATCH)q="watchOS";else if(K.startsWith(WH().TargetType.APPLICATION)){let V=Y.hash.project.objects.XCConfigurationList[J.buildConfigurationList];if(V){let D=V.buildConfigurations.find((z)=>z.comment===Q)||V.buildConfigurations[0];if(D?.value){let z=Y.hash.project.objects.XCBuildConfiguration?.[D.value],H=z.buildSettings.SDKROOT;if(H==="appletvos"||"TVOS_DEPLOYMENT_TARGET"in z.buildSettings)q="tvOS";else if(H==="iphoneos")q="iOS"}}}return{name:(0,pJ().unquote)(J.name),osType:q,type:(0,pJ().unquote)(J.productType)}})}async function Cx(Z,Q){let Y=(0,MF().findSchemePaths)(Z),J=new RegExp(`[\\\\/]${Q}.xcscheme`,"i"),q=Y.find((K)=>J.exec(K));if(q)return await(0,Ix().readXMLAsync)({path:q});else throw Error(`scheme '${Q}' does not exist, make sure it's marked as shared`)}async function bD0(Z,Q){let J=(await Cx(Z,Q))?.Scheme?.BuildAction?.[0]?.BuildActionEntries?.[0]?.BuildActionEntry,q=J?.length===1?Ex(J[0]):Ex(J?.find((K)=>{return K.BuildableReference?.[0]?.$?.BuildableName?.endsWith(".app")}));if(!q)throw Error(`${Q}.xcscheme seems to be corrupted`);return q}async function kD0(Z,Q){let J=(await Cx(Z,Q))?.Scheme?.ArchiveAction?.[0]?.$?.buildConfiguration;if(!J)throw Error(`${Q}.xcscheme seems to be corrupted`);return J}function Ex(Z){return Z?.BuildableReference?.[0]?.$?.BlueprintName}});var E4=k((k7)=>{Object.defineProperty(k7,"__esModule",{value:!0});k7.TargetType=void 0;k7.findApplicationTargetWithDependenciesAsync=hD0;k7.findFirstNativeTarget=Mx;k7.findNativeTargetByName=NF;k7.findSignableTargets=xD0;k7.getNativeTargets=sJ;k7.getXCBuildConfigurationFromPbxproj=yD0;k7.isTargetOfType=iJ;function Rx(){let Z=jF();return Rx=function(){return Z},Z}function UH(){let Z=j8();return UH=function(){return Z},Z}function nJ(){let Z=LZ();return nJ=function(){return Z},Z}var b7=k7.TargetType=function(Z){return Z.APPLICATION="com.apple.product-type.application",Z.EXTENSION="com.apple.product-type.app-extension",Z.WATCH="com.apple.product-type.application.watchapp",Z.APP_CLIP="com.apple.product-type.application.on-demand-install-capable",Z.STICKER_PACK_EXTENSION="com.apple.product-type.app-extension.messages-sticker-pack",Z.FRAMEWORK="com.apple.product-type.framework",Z.OTHER="other",Z}({});function yD0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let[,J]=Q?NF(Z,Q):Mx(Z),[,q]=(0,UH().getBuildConfigurationForListIdAndName)(Z,{configurationListId:J.buildConfigurationList,buildConfiguration:Y});return q??null}async function hD0(Z,Q){let Y=await(0,Rx().getApplicationTargetNameForSchemeAsync)(Z,Q),J=(0,UH().getPbxproj)(Z),[,q]=NF(J,Y),K=Lx(J,q);return{name:(0,nJ().trimQuotes)(q.name),type:b7.APPLICATION,signable:!0,dependencies:K}}function Lx(Z,Q){if(!Q.dependencies||Q.dependencies.length===0)return;let Y=[b7.FRAMEWORK];return Q.dependencies.map(({value:J})=>{let{target:q}=Z.getPBXGroupByKeyAndType(J,"PBXTargetDependency"),[,K]=uD0(Z,q),V=iJ(K,b7.EXTENSION)?b7.EXTENSION:b7.OTHER;return{name:(0,nJ().trimQuotes)(K.name),type:V,signable:!Y.some((D)=>iJ(K,D)),dependencies:Lx(Z,K)}})}function iJ(Z,Q){return(0,nJ().trimQuotes)(Z.productType)===Q}function sJ(Z){let Q=Z.pbxNativeTargetSection();return Object.entries(Q).filter(UH().isNotComment)}function xD0(Z){let Q=sJ(Z),Y=[b7.APPLICATION,b7.APP_CLIP,b7.EXTENSION,b7.WATCH,b7.STICKER_PACK_EXTENSION],J=Q.filter(([,q])=>{for(let K of Y)if(iJ(q,K))return!0;return!1});if(J.length===0)throw Error("Could not find any signable targets in project.pbxproj");return J}function Mx(Z){let Y=sJ(Z).filter(([,J])=>iJ(J,b7.APPLICATION));if(Y.length===0)throw Error("Could not find any application target in project.pbxproj");return Y[0]}function NF(Z,Q){let J=sJ(Z).find(([,q])=>(0,nJ().trimQuotes)(q.name)===Q);if(!J)throw Error(`Could not find target '${Q}' in project.pbxproj`);return J}function uD0(Z,Q){let J=sJ(Z).find(([q])=>q===Q);if(!J)throw Error(`Could not find target with id '${Q}' in project.pbxproj`);return J}});var $H=k((SZ)=>{Object.defineProperty(SZ,"__esModule",{value:!0});SZ.ensureApplicationTargetEntitlementsFileConfigured=gD0;SZ.getEntitlementsPath=fD0;SZ.setAssociatedDomains=Px;SZ.withAssociatedDomains=void 0;function jZ(){let Z=PF(require("fs"));return jZ=function(){return Z},Z}function NZ(){let Z=PF(require("path"));return NZ=function(){return Z},Z}function jx(){let Z=PF(wx());return jx=function(){return Z},Z}function SF(){let Z=E4();return SF=function(){return Z},Z}function ZY(){let Z=j8();return ZY=function(){return Z},Z}function Nx(){let Z=LZ();return Nx=function(){return Z},Z}function Sx(){let Z=g5();return Sx=function(){return Z},Z}function PF(Z){return Z&&Z.__esModule?Z:{default:Z}}var WL0=SZ.withAssociatedDomains=(0,Sx().createEntitlementsPlugin)(Px,"withAssociatedDomains");function Px(Z,{"com.apple.developer.associated-domains":Q,...Y}){if(Z.ios?.associatedDomains)return{...Y,"com.apple.developer.associated-domains":Z.ios.associatedDomains};return Y}function fD0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let J=(0,ZY().getPbxproj)(Z),q=(0,SF().getXCBuildConfigurationFromPbxproj)(J,{targetName:Q,buildConfiguration:Y});if(!q)return null;let K=Tx(Z,q);return K&&jZ().default.existsSync(K)?K:null}function Tx(Z,Q){let Y=Q?.buildSettings?.CODE_SIGN_ENTITLEMENTS;if(Y)return NZ().default.normalize(NZ().default.join(Z,"ios",(0,Nx().trimQuotes)(Y)));else return null}function gD0(Z){let Q=(0,ZY().getPbxproj)(Z),Y=(0,ZY().getProjectName)(Z),J=(0,ZY().getProductName)(Q),[,q]=(0,SF().findFirstNativeTarget)(Q),K=(0,ZY().getBuildConfigurationsForListId)(Q,q.buildConfigurationList),V=!1;for(let[,D]of K){let z=Tx(Z,D);if(z&&jZ().default.existsSync(z))return;V=!0;let H=(0,jx().default)(NZ().default.join(Y,`${J}.entitlements`)),G=NZ().default.normalize(NZ().default.join(Z,"ios",H));if(jZ().default.mkdirSync(NZ().default.dirname(G),{recursive:!0}),!jZ().default.existsSync(G))jZ().default.writeFileSync(G,mD0);D.buildSettings.CODE_SIGN_ENTITLEMENTS=H}if(V)jZ().default.writeFileSync(Q.filepath,Q.writeSync())}var mD0=`
320
320
  <?xml version="1.0" encoding="UTF-8"?>
321
321
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
322
322
  <plist version="1.0">
323
323
  <dict>
324
324
  </dict>
325
325
  </plist>
326
- `});var _x=k((TF)=>{Object.defineProperty(TF,"__esModule",{value:!0});TF.withSortedGlobResult=cD0;function cD0(Z){return Z.sort((Q,Y)=>Q.localeCompare(Y))}});var MZ=k((c5)=>{Object.defineProperty(c5,"__esModule",{value:!0});c5.findSchemeNames=nD0;c5.findSchemePaths=gx;c5.getAllEntitlementsPaths=oD0;c5.getAllInfoPlistPaths=cx;c5.getAllPBXProjectPaths=mx;c5.getAllXcodeProjectPaths=vF;c5.getAppDelegate=ux;c5.getAppDelegateFilePath=hx;c5.getAppDelegateHeaderFilePath=dD0;c5.getAppDelegateObjcHeaderFilePath=lD0;c5.getEntitlementsPath=tD0;c5.getExpoPlistPath=eD0;c5.getFileInfo=xx;c5.getInfoPlistPath=rD0;c5.getPBXProjectPath=aD0;c5.getPodfilePath=pD0;c5.getSourceRoot=fx;c5.getSupportingPath=dx;c5.getXcodeProjectPath=sD0;function _F(){let Z=require("fs");return _F=function(){return Z},Z}function I4(){let Z=h3();return I4=function(){return Z},Z}function g8(){let Z=yx(require("path"));return g8=function(){return Z},Z}function vx(){let Z=yx($H());return vx=function(){return Z},Z}function C4(){let Z=W2();return C4=function(){return Z},Z}function w2(){let Z=_x();return w2=function(){return Z},Z}function bx(){let Z=B8();return bx=function(){return Z},Z}function kx(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(kx=function(J){return J?Y:Q})(Z)}function yx(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=kx(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}var E2=["**/@(Carthage|Pods|vendor|node_modules)/**"];function dD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.h",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate header at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate-header",fileName:"AppDelegate",projectRoot:Z,using:Q,extra:Y});return Q}function hx(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.@(m|mm|swift)",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate",fileName:"AppDelegate",projectRoot:Z,using:Q,extra:Y});return Q}function lD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.h",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate.h at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate-objc-header",fileName:"AppDelegate.h",projectRoot:Z,using:Q,extra:Y});return Q}function pD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/Podfile",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid Podfile at root: "${Z}"`);if(Y.length)PZ({tag:"podfile",fileName:"Podfile",projectRoot:Z,using:Q,extra:Y});return Q}function iD0(Z){let Q=g8().extname(Z);if(!Q&&g8().basename(Z)==="Podfile")return"rb";switch(Q){case".mm":return"objcpp";case".m":case".h":return"objc";case".swift":return"swift";default:throw new(C4()).UnexpectedError(`Unexpected iOS file extension: ${Q}`)}}function xx(Z){return{path:g8().normalize(Z),contents:(0,_F().readFileSync)(Z,"utf8"),language:iD0(Z)}}function ux(Z){let Q=hx(Z);return xx(Q)}function fx(Z){let Q=ux(Z);return g8().dirname(Q.path)}function gx(Z){return(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme",{absolute:!0,cwd:Z,ignore:E2}))}function nD0(Z){return gx(Z).map((Y)=>g8().parse(Y).name)}function vF(Z){let Y=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/**/*.xcodeproj",{cwd:Z,ignore:E2}).map((J)=>J.replace(/^\//,"")).filter((J)=>!/test|example|sample/i.test(J)||g8().dirname(J)==="ios")).sort((J,q)=>{let K=g8().dirname(J)==="ios",V=g8().dirname(q)==="ios";if(K&&V||!K&&!V)return 0;return K?-1:1});if(!Y.length)throw new(C4()).UnexpectedError(`Failed to locate the ios/*.xcodeproj files relative to path "${Z}".`);return Y.map((J)=>g8().join(Z,J))}function sD0(Z){let[Q,...Y]=vF(Z);if(Y.length)PZ({tag:"xcodeproj",fileName:"*.xcodeproj",projectRoot:Z,using:Q,extra:Y});return Q}function mx(Z){let Y=vF(Z).map((J)=>g8().join(J,"project.pbxproj")).filter((J)=>(0,_F().existsSync)(J));if(!Y.length)throw new(C4()).UnexpectedError(`Failed to locate the ios/*.xcodeproj/project.pbxproj files relative to path "${Z}".`);return Y}function aD0(Z){let[Q,...Y]=mx(Z);if(Y.length)PZ({tag:"project-pbxproj",fileName:"project.pbxproj",projectRoot:Z,using:Q,extra:Y});return Q}function cx(Z){let Q=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/Info.plist",{absolute:!0,cwd:Z,ignore:E2})).sort((Y,J)=>Y.length-J.length);if(!Q.length)throw new(C4()).UnexpectedError(`Failed to locate Info.plist files relative to path "${Z}".`);return Q}function rD0(Z){let[Q,...Y]=cx(Z);if(Y.length)PZ({tag:"info-plist",fileName:"Info.plist",projectRoot:Z,using:Q,extra:Y});return Q}function oD0(Z){return(0,I4().globSync)("ios/*/*.entitlements",{absolute:!0,cwd:Z,ignore:E2})}function tD0(Z){return vx().getEntitlementsPath(Z)}function dx(Z){return g8().resolve(Z,"ios",g8().basename(fx(Z)),"Supporting")}function eD0(Z){let Q=dx(Z);return g8().join(Q,"Expo.plist")}function PZ({tag:Z,fileName:Q,projectRoot:Y,using:J,extra:q}){let K=Y?g8().relative(Y,J):J,V=Y?q.map((D)=>g8().relative(Y,D)):q;(0,bx().addWarningIOS)(`paths-${Z}`,`Found multiple ${Q} file paths, using "${K}". Ignored paths: ${JSON.stringify(V)}`)}});var j8=k((P5)=>{Object.defineProperty(P5,"__esModule",{value:!0});P5.addBuildSourceFileToGroup=Kz0;P5.addFileToGroupAndLink=kF;P5.addFramework=Vz0;P5.addResourceFileToGroup=qz0;P5.ensureGroupRecursively=Gz0;P5.getApplicationNativeTarget=ex;P5.getBuildConfigurationForListIdAndName=$z0;P5.getBuildConfigurationsForListId=Ju;P5.getHackyProjectName=Yz0;P5.getPbxproj=Qu;P5.getProductName=Wz0;P5.getProjectName=ox;P5.getProjectSection=Uz0;P5.getXCConfigurationListEntries=Yu;P5.isBuildConfig=qu;P5.isNotComment=yF;P5.isNotTestHost=Bz0;P5.resolvePathOrProject=Qz0;P5.resolveXcodeBuildSetting=BH;P5.sanitizedName=tx;P5.unquote=Oz0;function OH(){let Z=aJ(require("assert"));return OH=function(){return Z},Z}function TZ(){let Z=aJ(require("path"));return TZ=function(){return Z},Z}function px(){let Z=aJ(j$());return px=function(){return Z},Z}function ix(){let Z=aJ(tQ());return ix=function(){return Z},Z}function nx(){let Z=aJ(RF());return nx=function(){return Z},Z}function sx(){let Z=LZ();return sx=function(){return Z},Z}function ax(){let Z=B8();return ax=function(){return Z},Z}function bF(){let Z=Zz0(MZ());return bF=function(){return Z},Z}function rx(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(rx=function(J){return J?Y:Q})(Z)}function Zz0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=rx(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function aJ(Z){return Z&&Z.__esModule?Z:{default:Z}}function ox(Z){let Q=bF().getSourceRoot(Z);return TZ().default.basename(Q)}function Qz0(Z){if(typeof Z==="string")try{return Qu(Z)}catch{return null}return Z}function tx(Z){return lx(Z)||lx((0,px().default)(Z))||"app"}function lx(Z){return Z.replace(/[\W_]+/g,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Yz0(Z,Q){try{return ox(Z)}catch{let Y=Q.name;return(0,OH().default)(Y,"Your project needs a name in app.json/app.config.js."),tx(Y)}}function Jz0({filepath:Z,group:Q}){let Y=new(nx()).default(Z);if(Q.children.find((q)=>q.comment===Y.basename))return null;return Y}function qz0({filepath:Z,groupName:Q,isBuildFile:Y,project:J,verbose:q,targetUuid:K}){return kF({filepath:Z,groupName:Q,project:J,verbose:q,targetUuid:K,addFileToProject({project:V,file:D}){if(V.addToPbxFileReferenceSection(D),Y)V.addToPbxBuildFileSection(D);V.addToPbxResourcesBuildPhase(D)}})}function Kz0({filepath:Z,groupName:Q,project:Y,verbose:J,targetUuid:q}){return kF({filepath:Z,groupName:Q,project:Y,verbose:J,targetUuid:q,addFileToProject({project:K,file:V}){K.addToPbxFileReferenceSection(V),K.addToPbxBuildFileSection(V),K.addToPbxSourcesBuildPhase(V)}})}function kF({filepath:Z,groupName:Q,project:Y,verbose:J,addFileToProject:q,targetUuid:K}){let V=Hz0(Y,Q),D=Jz0({filepath:Z,group:V});if(!D){if(J)(0,ax().addWarningIOS)("ios-xcode-project",`Skipped adding duplicate file "${Z}" to PBXGroup named "${Q}"`);return Y}if(K!=null)D.target=K;else{let z=Y.getTarget("com.apple.product-type.application");D.target=z?.uuid}return D.uuid=Y.generateUuid(),D.fileRef=Y.generateUuid(),q({project:Y,file:D}),V.children.push({value:D.fileRef,comment:D.basename}),Y}function ex({project:Z,projectName:Q}){let Y=Z.getTarget("com.apple.product-type.application");return(0,OH().default)(Y,"Couldn't locate application PBXNativeTarget in '.xcodeproj' file."),(0,OH().default)(String(Y.target.name)===Q,`Application native target name mismatch. Expected ${Q}, but found ${Y.target.name}.`),Y}function Vz0({project:Z,projectName:Q,framework:Y}){let J=ex({project:Z,projectName:Q});return Z.addFramework(Y,{target:J.uuid})}function Zu(Z){return Z.split("/")}var Dz0=(Z,Q)=>{if(!Z)return;return Z.children.find((Y)=>Y.comment===Q)};function zz0(Z,Q,Y){let J=Dz0(Q,Y);if(J)return Z.getPBXGroupByKey(J.value)??null;return null}function Hz0(Z,Q){let{firstProject:Y}=Z.getFirstProject(),J=Z.getPBXGroupByKey(Y.mainGroup),q=Zu(Q);for(let K of q){let V=zz0(Z,J,K);if(V)J=V;else break}if(!J)throw Error(`Xcode PBXGroup with name "${Q}" could not be found in the Xcode project.`);return J}function Gz0(Z,Q){let Y=Zu(Q),J=(V,D)=>V.children.find(({comment:z})=>z===D),{firstProject:q}=Z.getFirstProject(),K=Z.getPBXGroupByKey(q.mainGroup);for(let V of Y){if(K&&!J(K,V))K.children.push({comment:V,value:Z.pbxCreateGroup(V,'""')});K=Z.pbxGroupByName(V)}return K??null}function Qu(Z){let Q=bF().getPBXProjectPath(Z),Y=ix().default.project(Q);return Y.parseSync(),Y}function Wz0(Z){let Q="$(TARGET_NAME)";try{Q=Z.productName}catch{}if(Q==="$(TARGET_NAME)")Q=Z.getFirstTarget()?.firstTarget?.productName??Q;return Q}function Uz0(Z){return Z.pbxProjectSection()}function Yu(Z){let Q=Z.pbxXCConfigurationList();return Object.entries(Q).filter(yF)}function Ju(Z,Q){let Y=Yu(Z),[,J]=Y.find(([K])=>K===Q),q=J.buildConfigurations.map((K)=>K.value);return Object.entries(Z.pbxXCBuildConfigurationSection()).filter(yF).filter(qu).filter(([K])=>q.includes(K))}function $z0(Z,{configurationListId:Q,buildConfiguration:Y}){let J=Ju(Z,Q).find((q)=>(0,sx().trimQuotes)(q[1].name)===Y);if(!J)throw Error(`Build configuration '${Y}' does not exist in list with id '${Q}'`);return J}function qu([,Z]){return Z.isa==="XCBuildConfiguration"}function Bz0([,Z]){return!Z.buildSettings.TEST_HOST}function yF([Z]){return!Z.endsWith("_comment")}function Oz0(Z){if(typeof Z==="number")Z=String(Z);return Z.match(/^"(.*)"$/)?.[1]??Z}function BH(Z,Q){let Y=Z?.replace(/\$\(([^()]*|\([^)]*\))\)/g,(J)=>{let[q,...K]=J.slice(2,-1).split(":"),V=Q(q);if(V)V=BH(V,Q);let D=V;return K.forEach((z)=>{switch(z){case"lower":D=D?.toLowerCase();break;case"upper":D=D?.toUpperCase();break;case"suffix":if(D)D=TZ().default.extname(D);break;case"file":if(D)D=TZ().default.basename(D);break;case"dir":if(D)D=TZ().default.dirname(D);break;case"base":if(D){let H=TZ().default.basename(D),G=H.lastIndexOf(".");D=G===-1?H:H.slice(0,G)}break;case"rfc1034identifier":D=D?.replace(/[^a-zA-Z0-9]/g,"-");break;case"c99extidentifier":D=D?.replace(/[-\s]/g,"_");break;case"standardizepath":if(D)D=TZ().default.resolve(D);break;default:D||=z.match(/default=(.*)/)?.[1];break}}),BH(D??"",Q)});if(Y!==Z)return BH(Y,Q);return Z}});var Hu=k((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});R4.getBitcode=Du;R4.setBitcode=xF;R4.setBitcodeWithConfig=zu;R4.withCustomBitcode=R4.withBitcode=void 0;function Ku(){let Z=j8();return Ku=function(){return Z},Z}function hF(){let Z=g5();return hF=function(){return Z},Z}function Vu(){let Z=B8();return Vu=function(){return Z},Z}var Xz0=(Z)=>{return(0,hF().withXcodeProject)(Z,async(Q)=>{return Q.modResults=await zu(Q,{project:Q.modResults}),Q})};R4.withBitcode=Xz0;var Fz0=(Z,Q)=>{return(0,hF().withXcodeProject)(Z,async(Y)=>{return Y.modResults=await xF(Q,{project:Y.modResults}),Y})};R4.withCustomBitcode=Fz0;function Du(Z){return Z.ios?.bitcode}function zu(Z,{project:Q}){let Y=Du(Z);return xF(Y,{project:Q})}function xF(Z,{project:Q}){if(Z==null)return Q;let J=typeof Z==="string"?Z:void 0,q=!!Z;if(J){let K=Object.entries(Q.pbxXCBuildConfigurationSection()).filter(Ku().isNotComment);if(K.find(([,D])=>D.name===J))Q.addBuildProperty("ENABLE_BITCODE","NO");else{let D=[...new Set(K.map(([,z])=>`"${z.name}"`))].sort();(0,Vu().addWarningIOS)("ios.bitcode",`No configuration named "${J}". Expected one of: ${D.join(", ")}.`)}}return Q.addBuildProperty("ENABLE_BITCODE",q?"YES":"NO",J),Q}});var fF=k((L4)=>{Object.defineProperty(L4,"__esModule",{value:!0});L4.createBuildPodfilePropsConfigPlugin=uF;L4.updateIosBuildPropertiesFromConfig=Wu;L4.updateIosBuildProperty=Uu;L4.withNewArchEnabledPodfileProps=L4.withJsEnginePodfileProps=void 0;function Gu(){let Z=g5();return Gu=function(){return Z},Z}function uF(Z,Q){let Y=(J,q)=>(0,Gu().withPodfileProperties)(J,(K)=>{return K.modResults=Wu(q??K,K.modResults,Z),K});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}var FL0=L4.withJsEnginePodfileProps=uF([{propName:"expo.jsEngine",propValueGetter:(Z)=>Z.ios?.jsEngine??Z.jsEngine??"hermes"}],"withJsEnginePodfileProps"),AL0=L4.withNewArchEnabledPodfileProps=uF([{propName:"newArchEnabled",propValueGetter:(Z)=>(Z.ios?.newArchEnabled??Z.newArchEnabled)?.toString()}],"withNewArchEnabledPodfileProps");function Wu(Z,Q,Y){for(let J of Y){let q=J.propValueGetter(Z);Uu(Q,J.propName,q)}return Q}function Uu(Z,Q,Y,J){if(Y)Z[Q]=Y;else if(J?.removePropWhenValueIsNull)delete Z[Q];return Z}});var cF=k((XH)=>{XH.byteLength=wz0;XH.toByteArray=Iz0;XH.fromByteArray=Lz0;var B6=[],K7=[],Az0=typeof Uint8Array<"u"?Uint8Array:Array,gF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I2=0,mF=gF.length;I2<mF;++I2)B6[I2]=gF[I2],K7[gF.charCodeAt(I2)]=I2;var I2,mF;K7[45]=62;K7[95]=63;function $u(Z){var Q=Z.length;if(Q%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Y=Z.indexOf("=");if(Y===-1)Y=Q;var J=Y===Q?0:4-Y%4;return[Y,J]}function wz0(Z){var Q=$u(Z),Y=Q[0],J=Q[1];return(Y+J)*3/4-J}function Ez0(Z,Q,Y){return(Q+Y)*3/4-Y}function Iz0(Z){var Q,Y=$u(Z),J=Y[0],q=Y[1],K=new Az0(Ez0(Z,J,q)),V=0,D=q>0?J-4:J,z;for(z=0;z<D;z+=4)Q=K7[Z.charCodeAt(z)]<<18|K7[Z.charCodeAt(z+1)]<<12|K7[Z.charCodeAt(z+2)]<<6|K7[Z.charCodeAt(z+3)],K[V++]=Q>>16&255,K[V++]=Q>>8&255,K[V++]=Q&255;if(q===2)Q=K7[Z.charCodeAt(z)]<<2|K7[Z.charCodeAt(z+1)]>>4,K[V++]=Q&255;if(q===1)Q=K7[Z.charCodeAt(z)]<<10|K7[Z.charCodeAt(z+1)]<<4|K7[Z.charCodeAt(z+2)]>>2,K[V++]=Q>>8&255,K[V++]=Q&255;return K}function Cz0(Z){return B6[Z>>18&63]+B6[Z>>12&63]+B6[Z>>6&63]+B6[Z&63]}function Rz0(Z,Q,Y){var J,q=[];for(var K=Q;K<Y;K+=3)J=(Z[K]<<16&16711680)+(Z[K+1]<<8&65280)+(Z[K+2]&255),q.push(Cz0(J));return q.join("")}function Lz0(Z){var Q,Y=Z.length,J=Y%3,q=[],K=16383;for(var V=0,D=Y-J;V<D;V+=K)q.push(Rz0(Z,V,V+K>D?D:V+K));if(J===1)Q=Z[Y-1],q.push(B6[Q>>2]+B6[Q<<4&63]+"==");else if(J===2)Q=(Z[Y-2]<<8)+Z[Y-1],q.push(B6[Q>>10]+B6[Q>>4&63]+B6[Q<<2&63]+"=");return q.join("")}});var O6=k((Bu,C2)=>{(function(){var Z,Q,Y,J,q,K,V,D={}.hasOwnProperty;Z=function(z,...H){var G,W,$,B;if(q(Object.assign))Object.assign.apply(null,arguments);else for(G=0,$=H.length;G<$;G++)if(B=H[G],B!=null)for(W in B){if(!D.call(B,W))continue;z[W]=B[W]}return z},q=function(z){return!!z&&Object.prototype.toString.call(z)==="[object Function]"},K=function(z){var H;return!!z&&((H=typeof z)==="function"||H==="object")},Y=function(z){if(q(Array.isArray))return Array.isArray(z);else return Object.prototype.toString.call(z)==="[object Array]"},J=function(z){var H;if(Y(z))return!z.length;else{for(H in z){if(!D.call(z,H))continue;return!1}return!0}},V=function(z){var H,G;return K(z)&&(G=Object.getPrototypeOf(z))&&(H=G.constructor)&&typeof H==="function"&&H instanceof H&&Function.prototype.toString.call(H)===Function.prototype.toString.call(Object)},Q=function(z){if(q(z.valueOf))return z.valueOf();else return z},C2.exports.assign=Z,C2.exports.isFunction=q,C2.exports.isObject=K,C2.exports.isArray=Y,C2.exports.isEmpty=J,C2.exports.isPlainObject=V,C2.exports.getValue=Q}).call(Bu)});var dF=k((Ou,Xu)=>{(function(){var Z;Xu.exports=Z=class{hasFeature(Y,J){return!0}createDocumentType(Y,J,q){throw Error("This DOM method is not implemented.")}createDocument(Y,J,q){throw Error("This DOM method is not implemented.")}createHTMLDocument(Y){throw Error("This DOM method is not implemented.")}getFeature(Y,J){throw Error("This DOM method is not implemented.")}}}).call(Ou)});var wu=k((Fu,Au)=>{(function(){var Z;Au.exports=Z=class{constructor(){}handleError(Y){throw Error(Y)}}}).call(Fu)});var Cu=k((Eu,Iu)=>{(function(){var Z;Iu.exports=Z=function(){class Q{constructor(Y){this.arr=Y||[]}item(Y){return this.arr[Y]||null}contains(Y){return this.arr.indexOf(Y)!==-1}}return Object.defineProperty(Q.prototype,"length",{get:function(){return this.arr.length}}),Q}.call(this)}).call(Eu)});var Mu=k((Ru,Lu)=>{(function(){var Z,Q,Y;Q=wu(),Y=Cu(),Lu.exports=Z=function(){class J{constructor(){var q;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Q,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=q=Object.create(this.defaultParams)}getParameter(q){if(this.params.hasOwnProperty(q))return this.params[q];else return null}canSetParameter(q,K){return!0}setParameter(q,K){if(K!=null)return this.params[q]=K;else return delete this.params[q]}}return Object.defineProperty(J.prototype,"parameterNames",{get:function(){return new Y(Object.keys(this.defaultParams))}}),J}.call(this)}).call(Ru)});var d5=k((ju,Nu)=>{(function(){Nu.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(ju)});var lF=k((Su,Pu)=>{(function(){var Z,Q,Y;Z=d5(),Y=y9(),Pu.exports=Q=function(){class J{constructor(q,K,V){if(this.parent=q,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(K==null)throw Error("Missing attribute name. "+this.debugInfo(K));this.name=this.stringify.name(K),this.value=this.stringify.attValue(V),this.type=Z.Attribute,this.isId=!1,this.schemaTypeInfo=null}clone(){return Object.create(this)}toString(q){return this.options.writer.attribute(this,this.options.writer.filterOptions(q))}debugInfo(q){if(q=q||this.name,q==null)return"parent: <"+this.parent.name+">";else return"attribute: {"+q+"}, parent: <"+this.parent.name+">"}isEqualNode(q){if(q.namespaceURI!==this.namespaceURI)return!1;if(q.prefix!==this.prefix)return!1;if(q.localName!==this.localName)return!1;if(q.value!==this.value)return!1;return!0}}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(J.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(J.prototype,"textContent",{get:function(){return this.value},set:function(q){return this.value=q||""}}),Object.defineProperty(J.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(J.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(J.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(J.prototype,"specified",{get:function(){return!0}}),J}.call(this)}).call(Su)});var FH=k((Tu,_u)=>{(function(){var Z;_u.exports=Z=function(){class Q{constructor(Y){this.nodes=Y}clone(){return this.nodes=null}getNamedItem(Y){return this.nodes[Y]}setNamedItem(Y){var J=this.nodes[Y.nodeName];return this.nodes[Y.nodeName]=Y,J||null}removeNamedItem(Y){var J=this.nodes[Y];return delete this.nodes[Y],J||null}item(Y){return this.nodes[Object.keys(this.nodes)[Y]]||null}getNamedItemNS(Y,J){throw Error("This DOM method is not implemented.")}setNamedItemNS(Y){throw Error("This DOM method is not implemented.")}removeNamedItemNS(Y,J){throw Error("This DOM method is not implemented.")}}return Object.defineProperty(Q.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Q}.call(this)}).call(Tu)});var AH=k((vu,bu)=>{(function(){var Z,Q,Y,J,q,K,V,D,z={}.hasOwnProperty;({isObject:D,isFunction:V,getValue:K}=O6()),q=y9(),Z=d5(),Q=lF(),J=FH(),bu.exports=Y=function(){class H extends q{constructor(G,W,$){var B,O,A,w;super(G);if(W==null)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(W),this.type=Z.Element,this.attribs={},this.schemaTypeInfo=null,$!=null)this.attribute($);if(G.type===Z.Document){if(this.isRoot=!0,this.documentObject=G,G.rootObject=this,G.children){w=G.children;for(O=0,A=w.length;O<A;O++)if(B=w[O],B.type===Z.DocType){B.name=this.name;break}}}}clone(){var G,W,$,B;if($=Object.create(this),$.isRoot)$.documentObject=null;$.attribs={},B=this.attribs;for(W in B){if(!z.call(B,W))continue;G=B[W],$.attribs[W]=G.clone()}return $.children=[],this.children.forEach(function(O){var A=O.clone();return A.parent=$,$.children.push(A)}),$}attribute(G,W){var $,B;if(G!=null)G=K(G);if(D(G))for($ in G){if(!z.call(G,$))continue;B=G[$],this.attribute($,B)}else{if(V(W))W=W.apply();if(this.options.keepNullAttributes&&W==null)this.attribs[G]=new Q(this,G,"");else if(W!=null)this.attribs[G]=new Q(this,G,W)}return this}removeAttribute(G){var W,$,B;if(G==null)throw Error("Missing attribute name. "+this.debugInfo());if(G=K(G),Array.isArray(G))for($=0,B=G.length;$<B;$++)W=G[$],delete this.attribs[W];else delete this.attribs[G];return this}toString(G){return this.options.writer.element(this,this.options.writer.filterOptions(G))}att(G,W){return this.attribute(G,W)}a(G,W){return this.attribute(G,W)}getAttribute(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G].value;else return null}setAttribute(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNode(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G];else return null}setAttributeNode(G){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNode(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNS(G,W,$){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNodeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNodeNS(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}hasAttribute(G){return this.attribs.hasOwnProperty(G)}hasAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttribute(G,W){if(this.attribs.hasOwnProperty(G))return this.attribs[G].isId;else return W}setIdAttributeNS(G,W,$){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttributeNode(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(G){var W,$,B;if(!super.isEqualNode(G))return!1;if(G.namespaceURI!==this.namespaceURI)return!1;if(G.prefix!==this.prefix)return!1;if(G.localName!==this.localName)return!1;if(G.attribs.length!==this.attribs.length)return!1;for(W=$=0,B=this.attribs.length-1;0<=B?$<=B:$>=B;W=0<=B?++$:--$)if(!this.attribs[W].isEqualNode(G.attribs[W]))return!1;return!0}}return Object.defineProperty(H.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(H.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(H.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(H.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(H.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"attributes",{get:function(){if(!this.attributeMap||!this.attributeMap.nodes)this.attributeMap=new J(this.attribs);return this.attributeMap}}),H}.call(this)}).call(vu)});var rJ=k((ku,yu)=>{(function(){var Z,Q;Q=y9(),yu.exports=Z=function(){class Y extends Q{constructor(J){super(J);this.value=""}clone(){return Object.create(this)}substringData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}appendData(J){throw Error("This DOM method is not implemented."+this.debugInfo())}insertData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}deleteData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceData(J,q,K){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(J){if(!super.isEqualNode(J))return!1;if(J.data!==this.data)return!1;return!0}}return Object.defineProperty(Y.prototype,"data",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Object.defineProperty(Y.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(Y.prototype,"textContent",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Y}.call(this)}).call(ku)});var wH=k((hu,xu)=>{(function(){var Z,Q,Y;Z=d5(),Y=rJ(),xu.exports=Q=class extends Y{constructor(q,K){super(q);if(K==null)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Z.CData,this.value=this.stringify.cdata(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.cdata(this,this.options.writer.filterOptions(q))}}}).call(hu)});var EH=k((uu,fu)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),fu.exports=Y=class extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Z.Comment,this.value=this.stringify.comment(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.comment(this,this.options.writer.filterOptions(q))}}}).call(uu)});var IH=k((gu,mu)=>{(function(){var Z,Q,Y,J;({isObject:J}=O6()),Y=y9(),Z=d5(),mu.exports=Q=class extends Y{constructor(K,V,D,z){super(K);if(J(V))({version:V,encoding:D,standalone:z}=V);if(!V)V="1.0";if(this.type=Z.Declaration,this.version=this.stringify.xmlVersion(V),D!=null)this.encoding=this.stringify.xmlEncoding(D);if(z!=null)this.standalone=this.stringify.xmlStandalone(z)}toString(K){return this.options.writer.declaration(this,this.options.writer.filterOptions(K))}}}).call(gu)});var CH=k((cu,du)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),du.exports=Q=class extends Y{constructor(q,K,V,D,z,H){super(q);if(K==null)throw Error("Missing DTD element name. "+this.debugInfo());if(V==null)throw Error("Missing DTD attribute name. "+this.debugInfo(K));if(!D)throw Error("Missing DTD attribute type. "+this.debugInfo(K));if(!z)throw Error("Missing DTD attribute default. "+this.debugInfo(K));if(z.indexOf("#")!==0)z="#"+z;if(!z.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(K));if(H&&!z.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(K));if(this.elementName=this.stringify.name(K),this.type=Z.AttributeDeclaration,this.attributeName=this.stringify.name(V),this.attributeType=this.stringify.dtdAttType(D),H)this.defaultValue=this.stringify.dtdAttDefault(H);this.defaultValueType=z}toString(q){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(q))}}}).call(cu)});var RH=k((lu,pu)=>{(function(){var Z,Q,Y,J;({isObject:J}=O6()),Y=y9(),Z=d5(),pu.exports=Q=function(){class q extends Y{constructor(K,V,D,z){super(K);if(D==null)throw Error("Missing DTD entity name. "+this.debugInfo(D));if(z==null)throw Error("Missing DTD entity value. "+this.debugInfo(D));if(this.pe=!!V,this.name=this.stringify.name(D),this.type=Z.EntityDeclaration,!J(z))this.value=this.stringify.dtdEntityValue(z),this.internal=!0;else{if(!z.pubID&&!z.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(D));if(z.pubID&&!z.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(D));if(this.internal=!1,z.pubID!=null)this.pubID=this.stringify.dtdPubID(z.pubID);if(z.sysID!=null)this.sysID=this.stringify.dtdSysID(z.sysID);if(z.nData!=null)this.nData=this.stringify.dtdNData(z.nData);if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(D))}}toString(K){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(K))}}return Object.defineProperty(q.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(q.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(q.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(q.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(q.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(q.prototype,"xmlVersion",{get:function(){return null}}),q}.call(this)}).call(lu)});var LH=k((iu,nu)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),nu.exports=Q=class extends Y{constructor(q,K,V){super(q);if(K==null)throw Error("Missing DTD element name. "+this.debugInfo());if(!V)V="(#PCDATA)";if(Array.isArray(V))V="("+V.join(",")+")";this.name=this.stringify.name(K),this.type=Z.ElementDeclaration,this.value=this.stringify.dtdElementValue(V)}toString(q){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(q))}}}).call(iu)});var MH=k((su,au)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),au.exports=Q=function(){class J extends Y{constructor(q,K,V){super(q);if(K==null)throw Error("Missing DTD notation name. "+this.debugInfo(K));if(!V.pubID&&!V.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(K));if(this.name=this.stringify.name(K),this.type=Z.NotationDeclaration,V.pubID!=null)this.pubID=this.stringify.dtdPubID(V.pubID);if(V.sysID!=null)this.sysID=this.stringify.dtdSysID(V.sysID)}toString(q){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(q))}}return Object.defineProperty(J.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(J.prototype,"systemId",{get:function(){return this.sysID}}),J}.call(this)}).call(su)});var jH=k((ru,ou)=>{(function(){var Z,Q,Y,J,q,K,V,D,z;({isObject:z}=O6()),D=y9(),Z=d5(),Q=CH(),J=RH(),Y=LH(),q=MH(),V=FH(),ou.exports=K=function(){class H extends D{constructor(G,W,$){var B,O,A,w;super(G);if(this.type=Z.DocType,G.children){w=G.children;for(O=0,A=w.length;O<A;O++)if(B=w[O],B.type===Z.Element){this.name=B.name;break}}if(this.documentObject=G,z(W))({pubID:W,sysID:$}=W);if($==null)[$,W]=[W,$];if(W!=null)this.pubID=this.stringify.dtdPubID(W);if($!=null)this.sysID=this.stringify.dtdSysID($)}element(G,W){var $=new Y(this,G,W);return this.children.push($),this}attList(G,W,$,B,O){var A=new Q(this,G,W,$,B,O);return this.children.push(A),this}entity(G,W){var $=new J(this,!1,G,W);return this.children.push($),this}pEntity(G,W){var $=new J(this,!0,G,W);return this.children.push($),this}notation(G,W){var $=new q(this,G,W);return this.children.push($),this}toString(G){return this.options.writer.docType(this,this.options.writer.filterOptions(G))}ele(G,W){return this.element(G,W)}att(G,W,$,B,O){return this.attList(G,W,$,B,O)}ent(G,W){return this.entity(G,W)}pent(G,W){return this.pEntity(G,W)}not(G,W){return this.notation(G,W)}up(){return this.root()||this.documentObject}isEqualNode(G){if(!super.isEqualNode(G))return!1;if(G.name!==this.name)return!1;if(G.publicId!==this.publicId)return!1;if(G.systemId!==this.systemId)return!1;return!0}}return Object.defineProperty(H.prototype,"entities",{get:function(){var G,W,$,B,O;B={},O=this.children;for(W=0,$=O.length;W<$;W++)if(G=O[W],G.type===Z.EntityDeclaration&&!G.pe)B[G.name]=G;return new V(B)}}),Object.defineProperty(H.prototype,"notations",{get:function(){var G,W,$,B,O;B={},O=this.children;for(W=0,$=O.length;W<$;W++)if(G=O[W],G.type===Z.NotationDeclaration)B[G.name]=G;return new V(B)}}),Object.defineProperty(H.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(H.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(H.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),H}.call(this)}).call(ru)});var NH=k((tu,eu)=>{(function(){var Z,Q,Y;Z=d5(),Q=y9(),eu.exports=Y=class extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing raw text. "+this.debugInfo());this.type=Z.Raw,this.value=this.stringify.raw(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.raw(this,this.options.writer.filterOptions(q))}}}).call(tu)});var SH=k((Zf,Qf)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),Qf.exports=Y=function(){class J extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=Z.Text,this.value=this.stringify.text(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.text(this,this.options.writer.filterOptions(q))}splitText(q){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceWholeText(q){throw Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(J.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(J.prototype,"wholeText",{get:function(){var q,K,V;V="",K=this.previousSibling;while(K)V=K.data+V,K=K.previousSibling;V+=this.data,q=this.nextSibling;while(q)V=V+q.data,q=q.nextSibling;return V}}),J}.call(this)}).call(Zf)});var PH=k((Yf,Jf)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),Jf.exports=Y=class extends Q{constructor(q,K,V){super(q);if(K==null)throw Error("Missing instruction target. "+this.debugInfo());if(this.type=Z.ProcessingInstruction,this.target=this.stringify.insTarget(K),this.name=this.target,V)this.value=this.stringify.insValue(V)}clone(){return Object.create(this)}toString(q){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(q))}isEqualNode(q){if(!super.isEqualNode(q))return!1;if(q.target!==this.target)return!1;return!0}}}).call(Yf)});var pF=k((qf,Kf)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),Kf.exports=Q=class extends Y{constructor(q){super(q);this.type=Z.Dummy}clone(){return Object.create(this)}toString(q){return""}}}).call(qf)});var zf=k((Vf,Df)=>{(function(){var Z;Df.exports=Z=function(){class Q{constructor(Y){this.nodes=Y}clone(){return this.nodes=null}item(Y){return this.nodes[Y]||null}}return Object.defineProperty(Q.prototype,"length",{get:function(){return this.nodes.length||0}}),Q}.call(this)}).call(Vf)});var Wf=k((Hf,Gf)=>{(function(){Gf.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(Hf)});var y9=k((Uf,$f)=>{(function(){var Z,Q,Y,J,q,K,V,D,z,H,G,W,$,B,O,A,w,E,S={}.hasOwnProperty,X=[].splice;({isObject:E,isFunction:w,isEmpty:A,getValue:O}=O6()),D=null,Y=null,J=null,q=null,K=null,$=null,B=null,W=null,V=null,Q=null,G=null,z=null,Z=null,$f.exports=H=function(){class F{constructor(U){if(this.parent=U,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(this.value=null,this.children=[],this.baseURI=null,!D)D=AH(),Y=wH(),J=EH(),q=IH(),K=jH(),$=NH(),B=SH(),W=PH(),V=pF(),Q=d5(),G=zf(),z=FH(),Z=Wf()}setParent(U){var I,P,L,R,C;if(this.parent=U,U)this.options=U.options,this.stringify=U.stringify;R=this.children,C=[];for(P=0,L=R.length;P<L;P++)I=R[P],C.push(I.setParent(this));return C}element(U,I,P){var L,R,C,N,j,_,v,b,T;if(_=null,I===null&&P==null)[I,P]=[{},null];if(I==null)I={};if(I=O(I),!E(I))[P,I]=[I,P];if(U!=null)U=O(U);if(Array.isArray(U))for(C=0,v=U.length;C<v;C++)R=U[C],_=this.element(R);else if(w(U))_=this.element(U.apply());else if(E(U))for(j in U){if(!S.call(U,j))continue;if(T=U[j],w(T))T=T.apply();if(!this.options.ignoreDecorators&&this.stringify.convertAttKey&&j.indexOf(this.stringify.convertAttKey)===0)_=this.attribute(j.substr(this.stringify.convertAttKey.length),T);else if(!this.options.separateArrayItems&&Array.isArray(T)&&A(T))_=this.dummy();else if(E(T)&&A(T))_=this.element(j);else if(!this.options.keepNullNodes&&T==null)_=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(T))for(N=0,b=T.length;N<b;N++)R=T[N],L={},L[j]=R,_=this.element(L);else if(E(T))if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&j.indexOf(this.stringify.convertTextKey)===0)_=this.element(T);else _=this.element(j),_.element(T);else _=this.element(j,T)}else if(!this.options.keepNullNodes&&P===null)_=this.dummy();else if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&U.indexOf(this.stringify.convertTextKey)===0)_=this.text(P);else if(!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&U.indexOf(this.stringify.convertCDataKey)===0)_=this.cdata(P);else if(!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&U.indexOf(this.stringify.convertCommentKey)===0)_=this.comment(P);else if(!this.options.ignoreDecorators&&this.stringify.convertRawKey&&U.indexOf(this.stringify.convertRawKey)===0)_=this.raw(P);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&U.indexOf(this.stringify.convertPIKey)===0)_=this.instruction(U.substr(this.stringify.convertPIKey.length),P);else _=this.node(U,I,P);if(_==null)throw Error("Could not create any elements with: "+U+". "+this.debugInfo());return _}insertBefore(U,I,P){var L,R,C,N,j;if(U!=null?U.type:void 0){if(C=U,N=I,C.setParent(this),N)R=children.indexOf(N),j=children.splice(R),children.push(C),Array.prototype.push.apply(children,j);else children.push(C);return C}else{if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(U));return R=this.parent.children.indexOf(this),j=this.parent.children.splice(R),L=this.parent.element(U,I,P),Array.prototype.push.apply(this.parent.children,j),L}}insertAfter(U,I,P){var L,R,C;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(U));return R=this.parent.children.indexOf(this),C=this.parent.children.splice(R+1),L=this.parent.element(U,I,P),Array.prototype.push.apply(this.parent.children,C),L}remove(){var U,I;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return U=this.parent.children.indexOf(this),X.apply(this.parent.children,[U,U-U+1].concat(I=[])),this.parent}node(U,I,P){var L;if(U!=null)U=O(U);if(I||(I={}),I=O(I),!E(I))[P,I]=[I,P];if(L=new D(this,U,I),P!=null)L.text(P);return this.children.push(L),L}text(U){var I;if(E(U))this.element(U);return I=new B(this,U),this.children.push(I),this}cdata(U){var I=new Y(this,U);return this.children.push(I),this}comment(U){var I=new J(this,U);return this.children.push(I),this}commentBefore(U){var I,P,L;return P=this.parent.children.indexOf(this),L=this.parent.children.splice(P),I=this.parent.comment(U),Array.prototype.push.apply(this.parent.children,L),this}commentAfter(U){var I,P,L;return P=this.parent.children.indexOf(this),L=this.parent.children.splice(P+1),I=this.parent.comment(U),Array.prototype.push.apply(this.parent.children,L),this}raw(U){var I=new $(this,U);return this.children.push(I),this}dummy(){var U=new V(this);return U}instruction(U,I){var P,L,R,C,N;if(U!=null)U=O(U);if(I!=null)I=O(I);if(Array.isArray(U))for(C=0,N=U.length;C<N;C++)P=U[C],this.instruction(P);else if(E(U))for(P in U){if(!S.call(U,P))continue;L=U[P],this.instruction(P,L)}else{if(w(I))I=I.apply();R=new W(this,U,I),this.children.push(R)}return this}instructionBefore(U,I){var P,L,R;return L=this.parent.children.indexOf(this),R=this.parent.children.splice(L),P=this.parent.instruction(U,I),Array.prototype.push.apply(this.parent.children,R),this}instructionAfter(U,I){var P,L,R;return L=this.parent.children.indexOf(this),R=this.parent.children.splice(L+1),P=this.parent.instruction(U,I),Array.prototype.push.apply(this.parent.children,R),this}declaration(U,I,P){var L,R;if(L=this.document(),R=new q(L,U,I,P),L.children.length===0)L.children.unshift(R);else if(L.children[0].type===Q.Declaration)L.children[0]=R;else L.children.unshift(R);return L.root()||L}dtd(U,I){var P,L,R,C,N,j,_,v,b,T;L=this.document(),R=new K(L,U,I),b=L.children;for(C=N=0,_=b.length;N<_;C=++N)if(P=b[C],P.type===Q.DocType)return L.children[C]=R,R;T=L.children;for(C=j=0,v=T.length;j<v;C=++j)if(P=T[C],P.isRoot)return L.children.splice(C,0,R),R;return L.children.push(R),R}up(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent}root(){var U=this;while(U)if(U.type===Q.Document)return U.rootObject;else if(U.isRoot)return U;else U=U.parent}document(){var U=this;while(U)if(U.type===Q.Document)return U;else U=U.parent}end(U){return this.document().end(U)}prev(){var U=this.parent.children.indexOf(this);if(U<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[U-1]}next(){var U=this.parent.children.indexOf(this);if(U===-1||U===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[U+1]}importDocument(U){var I,P,L,R,C;if(P=U.root().clone(),P.parent=this,P.isRoot=!1,this.children.push(P),this.type===Q.Document){if(P.isRoot=!0,P.documentObject=this,this.rootObject=P,this.children){C=this.children;for(L=0,R=C.length;L<R;L++)if(I=C[L],I.type===Q.DocType){I.name=P.name;break}}}return this}debugInfo(U){var I,P;if(U=U||this.name,U==null&&!((I=this.parent)!=null?I.name:void 0))return"";else if(U==null)return"parent: <"+this.parent.name+">";else if(!((P=this.parent)!=null?P.name:void 0))return"node: <"+U+">";else return"node: <"+U+">, parent: <"+this.parent.name+">"}ele(U,I,P){return this.element(U,I,P)}nod(U,I,P){return this.node(U,I,P)}txt(U){return this.text(U)}dat(U){return this.cdata(U)}com(U){return this.comment(U)}ins(U,I){return this.instruction(U,I)}doc(){return this.document()}dec(U,I,P){return this.declaration(U,I,P)}e(U,I,P){return this.element(U,I,P)}n(U,I,P){return this.node(U,I,P)}t(U){return this.text(U)}d(U){return this.cdata(U)}c(U){return this.comment(U)}r(U){return this.raw(U)}i(U,I){return this.instruction(U,I)}u(){return this.up()}importXMLBuilder(U){return this.importDocument(U)}attribute(U,I){throw Error("attribute() applies to element nodes only.")}att(U,I){return this.attribute(U,I)}a(U,I){return this.attribute(U,I)}removeAttribute(U){throw Error("attribute() applies to element nodes only.")}replaceChild(U,I){throw Error("This DOM method is not implemented."+this.debugInfo())}removeChild(U){throw Error("This DOM method is not implemented."+this.debugInfo())}appendChild(U){throw Error("This DOM method is not implemented."+this.debugInfo())}hasChildNodes(){return this.children.length!==0}cloneNode(U){throw Error("This DOM method is not implemented."+this.debugInfo())}normalize(){throw Error("This DOM method is not implemented."+this.debugInfo())}isSupported(U,I){return!0}hasAttributes(){return this.attribs.length!==0}compareDocumentPosition(U){var I,P;if(I=this,I===U)return 0;else if(this.document()!==U.document()){if(P=Z.Disconnected|Z.ImplementationSpecific,Math.random()<0.5)P|=Z.Preceding;else P|=Z.Following;return P}else if(I.isAncestor(U))return Z.Contains|Z.Preceding;else if(I.isDescendant(U))return Z.Contains|Z.Following;else if(I.isPreceding(U))return Z.Preceding;else return Z.Following}isSameNode(U){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupPrefix(U){throw Error("This DOM method is not implemented."+this.debugInfo())}isDefaultNamespace(U){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupNamespaceURI(U){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(U){var I,P,L;if(U.nodeType!==this.nodeType)return!1;if(U.children.length!==this.children.length)return!1;for(I=P=0,L=this.children.length-1;0<=L?P<=L:P>=L;I=0<=L?++P:--P)if(!this.children[I].isEqualNode(U.children[I]))return!1;return!0}getFeature(U,I){throw Error("This DOM method is not implemented."+this.debugInfo())}setUserData(U,I,P){throw Error("This DOM method is not implemented."+this.debugInfo())}getUserData(U){throw Error("This DOM method is not implemented."+this.debugInfo())}contains(U){if(!U)return!1;return U===this||this.isDescendant(U)}isDescendant(U){var I,P,L,R,C;C=this.children;for(L=0,R=C.length;L<R;L++){if(I=C[L],U===I)return!0;if(P=I.isDescendant(U),P)return!0}return!1}isAncestor(U){return U.isDescendant(this)}isPreceding(U){var I,P;if(I=this.treePosition(U),P=this.treePosition(this),I===-1||P===-1)return!1;else return I<P}isFollowing(U){var I,P;if(I=this.treePosition(U),P=this.treePosition(this),I===-1||P===-1)return!1;else return I>P}treePosition(U){var I,P;if(P=0,I=!1,this.foreachTreeNode(this.document(),function(L){if(P++,!I&&L===U)return I=!0}),I)return P;else return-1}foreachTreeNode(U,I){var P,L,R,C,N;U||(U=this.document()),C=U.children;for(L=0,R=C.length;L<R;L++)if(P=C[L],N=I(P))return N;else if(N=this.foreachTreeNode(P,I),N)return N}}return Object.defineProperty(F.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(F.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(F.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(F.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(F.prototype,"childNodes",{get:function(){if(!this.childNodeList||!this.childNodeList.nodes)this.childNodeList=new G(this.children);return this.childNodeList}}),Object.defineProperty(F.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(F.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(F.prototype,"previousSibling",{get:function(){var U=this.parent.children.indexOf(this);return this.parent.children[U-1]||null}}),Object.defineProperty(F.prototype,"nextSibling",{get:function(){var U=this.parent.children.indexOf(this);return this.parent.children[U+1]||null}}),Object.defineProperty(F.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(F.prototype,"textContent",{get:function(){var U,I,P,L,R;if(this.nodeType===Q.Element||this.nodeType===Q.DocumentFragment){R="",L=this.children;for(I=0,P=L.length;I<P;I++)if(U=L[I],U.textContent)R+=U.textContent;return R}else return null},set:function(U){throw Error("This DOM method is not implemented."+this.debugInfo())}}),F}.call(this)}).call(Uf)});var iF=k((Bf,Of)=>{(function(){var Z,Q={}.hasOwnProperty;Of.exports=Z=function(){class Y{constructor(J){var q,K,V;if(this.assertLegalChar=this.assertLegalChar.bind(this),this.assertLegalName=this.assertLegalName.bind(this),J||(J={}),this.options=J,!this.options.version)this.options.version="1.0";K=J.stringify||{};for(q in K){if(!Q.call(K,q))continue;V=K[q],this[q]=V}}name(J){if(this.options.noValidation)return J;return this.assertLegalName(""+J||"")}text(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.textEscape(""+J||""))}cdata(J){if(this.options.noValidation)return J;return J=""+J||"",J=J.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(J)}comment(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/--/))throw Error("Comment text cannot contain double-hypen: "+J);return this.assertLegalChar(J)}raw(J){if(this.options.noValidation)return J;return""+J||""}attValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.attEscape(J=""+J||""))}insTarget(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}insValue(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/\?>/))throw Error("Invalid processing instruction value: "+J);return this.assertLegalChar(J)}xmlVersion(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/1\.[0-9]+/))throw Error("Invalid version number: "+J);return J}xmlEncoding(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+J);return this.assertLegalChar(J)}xmlStandalone(J){if(this.options.noValidation)return J;if(J)return"yes";else return"no"}dtdPubID(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdSysID(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdElementValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdAttType(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdAttDefault(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdEntityValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdNData(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}assertLegalChar(J){var q,K;if(this.options.noValidation)return J;if(this.options.version==="1.0"){if(q=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)J=J.replace(q,this.options.invalidCharReplacement);else if(K=J.match(q))throw Error(`Invalid character in string: ${J} at index ${K.index}`)}else if(this.options.version==="1.1"){if(q=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)J=J.replace(q,this.options.invalidCharReplacement);else if(K=J.match(q))throw Error(`Invalid character in string: ${J} at index ${K.index}`)}return J}assertLegalName(J){var q;if(this.options.noValidation)return J;if(J=this.assertLegalChar(J),q=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!J.match(q))throw Error(`Invalid character in name: ${J}`);return J}textEscape(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,J.replace(q,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")}attEscape(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,J.replace(q,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")}}return Y.prototype.convertAttKey="@",Y.prototype.convertPIKey="?",Y.prototype.convertTextKey="#text",Y.prototype.convertCDataKey="#cdata",Y.prototype.convertCommentKey="#comment",Y.prototype.convertRawKey="#raw",Y}.call(this)}).call(Bf)});var oJ=k((Xf,Ff)=>{(function(){Ff.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(Xf)});var nF=k((Af,wf)=>{(function(){var Z,Q,Y,J,q,K,V,D,z,H,G,W,$,B,O,A,w,E={}.hasOwnProperty;({assign:w}=O6()),Z=d5(),z=IH(),H=jH(),Y=wH(),J=EH(),W=AH(),B=NH(),O=SH(),$=PH(),G=pF(),q=CH(),K=LH(),V=RH(),D=MH(),Q=oJ(),wf.exports=A=class{constructor(X){var F,U,I;X||(X={}),this.options=X,U=X.writer||{};for(F in U){if(!E.call(U,F))continue;I=U[F],this["_"+F]=this[F],this[F]=I}}filterOptions(X){var F,U,I,P,L,R,C,N,j;if(X||(X={}),X=w({},this.options,X),F={writer:this},F.pretty=X.pretty||!1,F.allowEmpty=X.allowEmpty||!1,F.indent=(U=X.indent)!=null?U:" ",F.newline=(I=X.newline)!=null?I:`
326
+ `});var _x=k((TF)=>{Object.defineProperty(TF,"__esModule",{value:!0});TF.withSortedGlobResult=cD0;function cD0(Z){return Z.sort((Q,Y)=>Q.localeCompare(Y))}});var MZ=k((c5)=>{Object.defineProperty(c5,"__esModule",{value:!0});c5.findSchemeNames=nD0;c5.findSchemePaths=gx;c5.getAllEntitlementsPaths=oD0;c5.getAllInfoPlistPaths=cx;c5.getAllPBXProjectPaths=mx;c5.getAllXcodeProjectPaths=vF;c5.getAppDelegate=ux;c5.getAppDelegateFilePath=hx;c5.getAppDelegateHeaderFilePath=dD0;c5.getAppDelegateObjcHeaderFilePath=lD0;c5.getEntitlementsPath=tD0;c5.getExpoPlistPath=eD0;c5.getFileInfo=xx;c5.getInfoPlistPath=rD0;c5.getPBXProjectPath=aD0;c5.getPodfilePath=pD0;c5.getSourceRoot=fx;c5.getSupportingPath=dx;c5.getXcodeProjectPath=sD0;function _F(){let Z=require("fs");return _F=function(){return Z},Z}function I4(){let Z=h3();return I4=function(){return Z},Z}function g8(){let Z=yx(require("path"));return g8=function(){return Z},Z}function vx(){let Z=yx($H());return vx=function(){return Z},Z}function C4(){let Z=W2();return C4=function(){return Z},Z}function w2(){let Z=_x();return w2=function(){return Z},Z}function bx(){let Z=B8();return bx=function(){return Z},Z}function kx(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(kx=function(J){return J?Y:Q})(Z)}function yx(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=kx(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}var E2=["**/@(Carthage|Pods|vendor|node_modules)/**"];function dD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.h",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate header at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate-header",fileName:"AppDelegate",projectRoot:Z,using:Q,extra:Y});return Q}function hx(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.@(m|mm|swift)",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate",fileName:"AppDelegate",projectRoot:Z,using:Q,extra:Y});return Q}function lD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/AppDelegate.h",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid AppDelegate.h at root: "${Z}"`);if(Y.length)PZ({tag:"app-delegate-objc-header",fileName:"AppDelegate.h",projectRoot:Z,using:Q,extra:Y});return Q}function pD0(Z){let[Q,...Y]=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/Podfile",{absolute:!0,cwd:Z,ignore:E2}));if(!Q)throw new(C4()).UnexpectedError(`Could not locate a valid Podfile at root: "${Z}"`);if(Y.length)PZ({tag:"podfile",fileName:"Podfile",projectRoot:Z,using:Q,extra:Y});return Q}function iD0(Z){let Q=g8().extname(Z);if(!Q&&g8().basename(Z)==="Podfile")return"rb";switch(Q){case".mm":return"objcpp";case".m":case".h":return"objc";case".swift":return"swift";default:throw new(C4()).UnexpectedError(`Unexpected iOS file extension: ${Q}`)}}function xx(Z){return{path:g8().normalize(Z),contents:(0,_F().readFileSync)(Z,"utf8"),language:iD0(Z)}}function ux(Z){let Q=hx(Z);return xx(Q)}function fx(Z){let Q=ux(Z);return g8().dirname(Q.path)}function gx(Z){return(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*.xcodeproj/xcshareddata/xcschemes/*.xcscheme",{absolute:!0,cwd:Z,ignore:E2}))}function nD0(Z){return gx(Z).map((Y)=>g8().parse(Y).name)}function vF(Z){let Y=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/**/*.xcodeproj",{cwd:Z,ignore:E2}).map((J)=>J.replace(/^\//,"")).filter((J)=>!/test|example|sample/i.test(J)||g8().dirname(J)==="ios")).sort((J,q)=>{let K=g8().dirname(J)==="ios",V=g8().dirname(q)==="ios";if(K&&V||!K&&!V)return 0;return K?-1:1});if(!Y.length)throw new(C4()).UnexpectedError(`Failed to locate the ios/*.xcodeproj files relative to path "${Z}".`);return Y.map((J)=>g8().join(Z,J))}function sD0(Z){let[Q,...Y]=vF(Z);if(Y.length)PZ({tag:"xcodeproj",fileName:"*.xcodeproj",projectRoot:Z,using:Q,extra:Y});return Q}function mx(Z){let Y=vF(Z).map((J)=>g8().join(J,"project.pbxproj")).filter((J)=>(0,_F().existsSync)(J));if(!Y.length)throw new(C4()).UnexpectedError(`Failed to locate the ios/*.xcodeproj/project.pbxproj files relative to path "${Z}".`);return Y}function aD0(Z){let[Q,...Y]=mx(Z);if(Y.length)PZ({tag:"project-pbxproj",fileName:"project.pbxproj",projectRoot:Z,using:Q,extra:Y});return Q}function cx(Z){let Q=(0,w2().withSortedGlobResult)((0,I4().globSync)("ios/*/Info.plist",{absolute:!0,cwd:Z,ignore:E2})).sort((Y,J)=>Y.length-J.length);if(!Q.length)throw new(C4()).UnexpectedError(`Failed to locate Info.plist files relative to path "${Z}".`);return Q}function rD0(Z){let[Q,...Y]=cx(Z);if(Y.length)PZ({tag:"info-plist",fileName:"Info.plist",projectRoot:Z,using:Q,extra:Y});return Q}function oD0(Z){return(0,I4().globSync)("ios/*/*.entitlements",{absolute:!0,cwd:Z,ignore:E2})}function tD0(Z){return vx().getEntitlementsPath(Z)}function dx(Z){return g8().resolve(Z,"ios",g8().basename(fx(Z)),"Supporting")}function eD0(Z){let Q=dx(Z);return g8().join(Q,"Expo.plist")}function PZ({tag:Z,fileName:Q,projectRoot:Y,using:J,extra:q}){let K=Y?g8().relative(Y,J):J,V=Y?q.map((D)=>g8().relative(Y,D)):q;(0,bx().addWarningIOS)(`paths-${Z}`,`Found multiple ${Q} file paths, using "${K}". Ignored paths: ${JSON.stringify(V)}`)}});var j8=k((T5)=>{Object.defineProperty(T5,"__esModule",{value:!0});T5.addBuildSourceFileToGroup=Kz0;T5.addFileToGroupAndLink=kF;T5.addFramework=Vz0;T5.addResourceFileToGroup=qz0;T5.ensureGroupRecursively=Gz0;T5.getApplicationNativeTarget=ex;T5.getBuildConfigurationForListIdAndName=$z0;T5.getBuildConfigurationsForListId=Ju;T5.getHackyProjectName=Yz0;T5.getPbxproj=Qu;T5.getProductName=Wz0;T5.getProjectName=ox;T5.getProjectSection=Uz0;T5.getXCConfigurationListEntries=Yu;T5.isBuildConfig=qu;T5.isNotComment=yF;T5.isNotTestHost=Bz0;T5.resolvePathOrProject=Qz0;T5.resolveXcodeBuildSetting=BH;T5.sanitizedName=tx;T5.unquote=Oz0;function OH(){let Z=aJ(require("assert"));return OH=function(){return Z},Z}function TZ(){let Z=aJ(require("path"));return TZ=function(){return Z},Z}function px(){let Z=aJ(j$());return px=function(){return Z},Z}function ix(){let Z=aJ(tQ());return ix=function(){return Z},Z}function nx(){let Z=aJ(RF());return nx=function(){return Z},Z}function sx(){let Z=LZ();return sx=function(){return Z},Z}function ax(){let Z=B8();return ax=function(){return Z},Z}function bF(){let Z=Zz0(MZ());return bF=function(){return Z},Z}function rx(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(rx=function(J){return J?Y:Q})(Z)}function Zz0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=rx(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function aJ(Z){return Z&&Z.__esModule?Z:{default:Z}}function ox(Z){let Q=bF().getSourceRoot(Z);return TZ().default.basename(Q)}function Qz0(Z){if(typeof Z==="string")try{return Qu(Z)}catch{return null}return Z}function tx(Z){return lx(Z)||lx((0,px().default)(Z))||"app"}function lx(Z){return Z.replace(/[\W_]+/g,"").normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function Yz0(Z,Q){try{return ox(Z)}catch{let Y=Q.name;return(0,OH().default)(Y,"Your project needs a name in app.json/app.config.js."),tx(Y)}}function Jz0({filepath:Z,group:Q}){let Y=new(nx()).default(Z);if(Q.children.find((q)=>q.comment===Y.basename))return null;return Y}function qz0({filepath:Z,groupName:Q,isBuildFile:Y,project:J,verbose:q,targetUuid:K}){return kF({filepath:Z,groupName:Q,project:J,verbose:q,targetUuid:K,addFileToProject({project:V,file:D}){if(V.addToPbxFileReferenceSection(D),Y)V.addToPbxBuildFileSection(D);V.addToPbxResourcesBuildPhase(D)}})}function Kz0({filepath:Z,groupName:Q,project:Y,verbose:J,targetUuid:q}){return kF({filepath:Z,groupName:Q,project:Y,verbose:J,targetUuid:q,addFileToProject({project:K,file:V}){K.addToPbxFileReferenceSection(V),K.addToPbxBuildFileSection(V),K.addToPbxSourcesBuildPhase(V)}})}function kF({filepath:Z,groupName:Q,project:Y,verbose:J,addFileToProject:q,targetUuid:K}){let V=Hz0(Y,Q),D=Jz0({filepath:Z,group:V});if(!D){if(J)(0,ax().addWarningIOS)("ios-xcode-project",`Skipped adding duplicate file "${Z}" to PBXGroup named "${Q}"`);return Y}if(K!=null)D.target=K;else{let z=Y.getTarget("com.apple.product-type.application");D.target=z?.uuid}return D.uuid=Y.generateUuid(),D.fileRef=Y.generateUuid(),q({project:Y,file:D}),V.children.push({value:D.fileRef,comment:D.basename}),Y}function ex({project:Z,projectName:Q}){let Y=Z.getTarget("com.apple.product-type.application");return(0,OH().default)(Y,"Couldn't locate application PBXNativeTarget in '.xcodeproj' file."),(0,OH().default)(String(Y.target.name)===Q,`Application native target name mismatch. Expected ${Q}, but found ${Y.target.name}.`),Y}function Vz0({project:Z,projectName:Q,framework:Y}){let J=ex({project:Z,projectName:Q});return Z.addFramework(Y,{target:J.uuid})}function Zu(Z){return Z.split("/")}var Dz0=(Z,Q)=>{if(!Z)return;return Z.children.find((Y)=>Y.comment===Q)};function zz0(Z,Q,Y){let J=Dz0(Q,Y);if(J)return Z.getPBXGroupByKey(J.value)??null;return null}function Hz0(Z,Q){let{firstProject:Y}=Z.getFirstProject(),J=Z.getPBXGroupByKey(Y.mainGroup),q=Zu(Q);for(let K of q){let V=zz0(Z,J,K);if(V)J=V;else break}if(!J)throw Error(`Xcode PBXGroup with name "${Q}" could not be found in the Xcode project.`);return J}function Gz0(Z,Q){let Y=Zu(Q),J=(V,D)=>V.children.find(({comment:z})=>z===D),{firstProject:q}=Z.getFirstProject(),K=Z.getPBXGroupByKey(q.mainGroup);for(let V of Y){if(K&&!J(K,V))K.children.push({comment:V,value:Z.pbxCreateGroup(V,'""')});K=Z.pbxGroupByName(V)}return K??null}function Qu(Z){let Q=bF().getPBXProjectPath(Z),Y=ix().default.project(Q);return Y.parseSync(),Y}function Wz0(Z){let Q="$(TARGET_NAME)";try{Q=Z.productName}catch{}if(Q==="$(TARGET_NAME)")Q=Z.getFirstTarget()?.firstTarget?.productName??Q;return Q}function Uz0(Z){return Z.pbxProjectSection()}function Yu(Z){let Q=Z.pbxXCConfigurationList();return Object.entries(Q).filter(yF)}function Ju(Z,Q){let Y=Yu(Z),[,J]=Y.find(([K])=>K===Q),q=J.buildConfigurations.map((K)=>K.value);return Object.entries(Z.pbxXCBuildConfigurationSection()).filter(yF).filter(qu).filter(([K])=>q.includes(K))}function $z0(Z,{configurationListId:Q,buildConfiguration:Y}){let J=Ju(Z,Q).find((q)=>(0,sx().trimQuotes)(q[1].name)===Y);if(!J)throw Error(`Build configuration '${Y}' does not exist in list with id '${Q}'`);return J}function qu([,Z]){return Z.isa==="XCBuildConfiguration"}function Bz0([,Z]){return!Z.buildSettings.TEST_HOST}function yF([Z]){return!Z.endsWith("_comment")}function Oz0(Z){if(typeof Z==="number")Z=String(Z);return Z.match(/^"(.*)"$/)?.[1]??Z}function BH(Z,Q){let Y=Z?.replace(/\$\(([^()]*|\([^)]*\))\)/g,(J)=>{let[q,...K]=J.slice(2,-1).split(":"),V=Q(q);if(V)V=BH(V,Q);let D=V;return K.forEach((z)=>{switch(z){case"lower":D=D?.toLowerCase();break;case"upper":D=D?.toUpperCase();break;case"suffix":if(D)D=TZ().default.extname(D);break;case"file":if(D)D=TZ().default.basename(D);break;case"dir":if(D)D=TZ().default.dirname(D);break;case"base":if(D){let H=TZ().default.basename(D),G=H.lastIndexOf(".");D=G===-1?H:H.slice(0,G)}break;case"rfc1034identifier":D=D?.replace(/[^a-zA-Z0-9]/g,"-");break;case"c99extidentifier":D=D?.replace(/[-\s]/g,"_");break;case"standardizepath":if(D)D=TZ().default.resolve(D);break;default:D||=z.match(/default=(.*)/)?.[1];break}}),BH(D??"",Q)});if(Y!==Z)return BH(Y,Q);return Z}});var Hu=k((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});R4.getBitcode=Du;R4.setBitcode=xF;R4.setBitcodeWithConfig=zu;R4.withCustomBitcode=R4.withBitcode=void 0;function Ku(){let Z=j8();return Ku=function(){return Z},Z}function hF(){let Z=g5();return hF=function(){return Z},Z}function Vu(){let Z=B8();return Vu=function(){return Z},Z}var Xz0=(Z)=>{return(0,hF().withXcodeProject)(Z,async(Q)=>{return Q.modResults=await zu(Q,{project:Q.modResults}),Q})};R4.withBitcode=Xz0;var Fz0=(Z,Q)=>{return(0,hF().withXcodeProject)(Z,async(Y)=>{return Y.modResults=await xF(Q,{project:Y.modResults}),Y})};R4.withCustomBitcode=Fz0;function Du(Z){return Z.ios?.bitcode}function zu(Z,{project:Q}){let Y=Du(Z);return xF(Y,{project:Q})}function xF(Z,{project:Q}){if(Z==null)return Q;let J=typeof Z==="string"?Z:void 0,q=!!Z;if(J){let K=Object.entries(Q.pbxXCBuildConfigurationSection()).filter(Ku().isNotComment);if(K.find(([,D])=>D.name===J))Q.addBuildProperty("ENABLE_BITCODE","NO");else{let D=[...new Set(K.map(([,z])=>`"${z.name}"`))].sort();(0,Vu().addWarningIOS)("ios.bitcode",`No configuration named "${J}". Expected one of: ${D.join(", ")}.`)}}return Q.addBuildProperty("ENABLE_BITCODE",q?"YES":"NO",J),Q}});var fF=k((L4)=>{Object.defineProperty(L4,"__esModule",{value:!0});L4.createBuildPodfilePropsConfigPlugin=uF;L4.updateIosBuildPropertiesFromConfig=Wu;L4.updateIosBuildProperty=Uu;L4.withNewArchEnabledPodfileProps=L4.withJsEnginePodfileProps=void 0;function Gu(){let Z=g5();return Gu=function(){return Z},Z}function uF(Z,Q){let Y=(J,q)=>(0,Gu().withPodfileProperties)(J,(K)=>{return K.modResults=Wu(q??K,K.modResults,Z),K});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}var FL0=L4.withJsEnginePodfileProps=uF([{propName:"expo.jsEngine",propValueGetter:(Z)=>Z.ios?.jsEngine??Z.jsEngine??"hermes"}],"withJsEnginePodfileProps"),AL0=L4.withNewArchEnabledPodfileProps=uF([{propName:"newArchEnabled",propValueGetter:(Z)=>(Z.ios?.newArchEnabled??Z.newArchEnabled)?.toString()}],"withNewArchEnabledPodfileProps");function Wu(Z,Q,Y){for(let J of Y){let q=J.propValueGetter(Z);Uu(Q,J.propName,q)}return Q}function Uu(Z,Q,Y,J){if(Y)Z[Q]=Y;else if(J?.removePropWhenValueIsNull)delete Z[Q];return Z}});var cF=k((XH)=>{XH.byteLength=wz0;XH.toByteArray=Iz0;XH.fromByteArray=Lz0;var B6=[],K7=[],Az0=typeof Uint8Array<"u"?Uint8Array:Array,gF="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(I2=0,mF=gF.length;I2<mF;++I2)B6[I2]=gF[I2],K7[gF.charCodeAt(I2)]=I2;var I2,mF;K7[45]=62;K7[95]=63;function $u(Z){var Q=Z.length;if(Q%4>0)throw Error("Invalid string. Length must be a multiple of 4");var Y=Z.indexOf("=");if(Y===-1)Y=Q;var J=Y===Q?0:4-Y%4;return[Y,J]}function wz0(Z){var Q=$u(Z),Y=Q[0],J=Q[1];return(Y+J)*3/4-J}function Ez0(Z,Q,Y){return(Q+Y)*3/4-Y}function Iz0(Z){var Q,Y=$u(Z),J=Y[0],q=Y[1],K=new Az0(Ez0(Z,J,q)),V=0,D=q>0?J-4:J,z;for(z=0;z<D;z+=4)Q=K7[Z.charCodeAt(z)]<<18|K7[Z.charCodeAt(z+1)]<<12|K7[Z.charCodeAt(z+2)]<<6|K7[Z.charCodeAt(z+3)],K[V++]=Q>>16&255,K[V++]=Q>>8&255,K[V++]=Q&255;if(q===2)Q=K7[Z.charCodeAt(z)]<<2|K7[Z.charCodeAt(z+1)]>>4,K[V++]=Q&255;if(q===1)Q=K7[Z.charCodeAt(z)]<<10|K7[Z.charCodeAt(z+1)]<<4|K7[Z.charCodeAt(z+2)]>>2,K[V++]=Q>>8&255,K[V++]=Q&255;return K}function Cz0(Z){return B6[Z>>18&63]+B6[Z>>12&63]+B6[Z>>6&63]+B6[Z&63]}function Rz0(Z,Q,Y){var J,q=[];for(var K=Q;K<Y;K+=3)J=(Z[K]<<16&16711680)+(Z[K+1]<<8&65280)+(Z[K+2]&255),q.push(Cz0(J));return q.join("")}function Lz0(Z){var Q,Y=Z.length,J=Y%3,q=[],K=16383;for(var V=0,D=Y-J;V<D;V+=K)q.push(Rz0(Z,V,V+K>D?D:V+K));if(J===1)Q=Z[Y-1],q.push(B6[Q>>2]+B6[Q<<4&63]+"==");else if(J===2)Q=(Z[Y-2]<<8)+Z[Y-1],q.push(B6[Q>>10]+B6[Q>>4&63]+B6[Q<<2&63]+"=");return q.join("")}});var O6=k((Bu,C2)=>{(function(){var Z,Q,Y,J,q,K,V,D={}.hasOwnProperty;Z=function(z,...H){var G,W,$,B;if(q(Object.assign))Object.assign.apply(null,arguments);else for(G=0,$=H.length;G<$;G++)if(B=H[G],B!=null)for(W in B){if(!D.call(B,W))continue;z[W]=B[W]}return z},q=function(z){return!!z&&Object.prototype.toString.call(z)==="[object Function]"},K=function(z){var H;return!!z&&((H=typeof z)==="function"||H==="object")},Y=function(z){if(q(Array.isArray))return Array.isArray(z);else return Object.prototype.toString.call(z)==="[object Array]"},J=function(z){var H;if(Y(z))return!z.length;else{for(H in z){if(!D.call(z,H))continue;return!1}return!0}},V=function(z){var H,G;return K(z)&&(G=Object.getPrototypeOf(z))&&(H=G.constructor)&&typeof H==="function"&&H instanceof H&&Function.prototype.toString.call(H)===Function.prototype.toString.call(Object)},Q=function(z){if(q(z.valueOf))return z.valueOf();else return z},C2.exports.assign=Z,C2.exports.isFunction=q,C2.exports.isObject=K,C2.exports.isArray=Y,C2.exports.isEmpty=J,C2.exports.isPlainObject=V,C2.exports.getValue=Q}).call(Bu)});var dF=k((Ou,Xu)=>{(function(){var Z;Xu.exports=Z=class{hasFeature(Y,J){return!0}createDocumentType(Y,J,q){throw Error("This DOM method is not implemented.")}createDocument(Y,J,q){throw Error("This DOM method is not implemented.")}createHTMLDocument(Y){throw Error("This DOM method is not implemented.")}getFeature(Y,J){throw Error("This DOM method is not implemented.")}}}).call(Ou)});var wu=k((Fu,Au)=>{(function(){var Z;Au.exports=Z=class{constructor(){}handleError(Y){throw Error(Y)}}}).call(Fu)});var Cu=k((Eu,Iu)=>{(function(){var Z;Iu.exports=Z=function(){class Q{constructor(Y){this.arr=Y||[]}item(Y){return this.arr[Y]||null}contains(Y){return this.arr.indexOf(Y)!==-1}}return Object.defineProperty(Q.prototype,"length",{get:function(){return this.arr.length}}),Q}.call(this)}).call(Eu)});var Mu=k((Ru,Lu)=>{(function(){var Z,Q,Y;Q=wu(),Y=Cu(),Lu.exports=Z=function(){class J{constructor(){var q;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new Q,infoset:!0,"validate-if-schema":!1,namespaces:!0,"namespace-declarations":!0,"normalize-characters":!1,"schema-location":"","schema-type":"","split-cdata-sections":!0,validate:!1,"well-formed":!0},this.params=q=Object.create(this.defaultParams)}getParameter(q){if(this.params.hasOwnProperty(q))return this.params[q];else return null}canSetParameter(q,K){return!0}setParameter(q,K){if(K!=null)return this.params[q]=K;else return delete this.params[q]}}return Object.defineProperty(J.prototype,"parameterNames",{get:function(){return new Y(Object.keys(this.defaultParams))}}),J}.call(this)}).call(Ru)});var d5=k((ju,Nu)=>{(function(){Nu.exports={Element:1,Attribute:2,Text:3,CData:4,EntityReference:5,EntityDeclaration:6,ProcessingInstruction:7,Comment:8,Document:9,DocType:10,DocumentFragment:11,NotationDeclaration:12,Declaration:201,Raw:202,AttributeDeclaration:203,ElementDeclaration:204,Dummy:205}}).call(ju)});var lF=k((Su,Pu)=>{(function(){var Z,Q,Y;Z=d5(),Y=y9(),Pu.exports=Q=function(){class J{constructor(q,K,V){if(this.parent=q,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(K==null)throw Error("Missing attribute name. "+this.debugInfo(K));this.name=this.stringify.name(K),this.value=this.stringify.attValue(V),this.type=Z.Attribute,this.isId=!1,this.schemaTypeInfo=null}clone(){return Object.create(this)}toString(q){return this.options.writer.attribute(this,this.options.writer.filterOptions(q))}debugInfo(q){if(q=q||this.name,q==null)return"parent: <"+this.parent.name+">";else return"attribute: {"+q+"}, parent: <"+this.parent.name+">"}isEqualNode(q){if(q.namespaceURI!==this.namespaceURI)return!1;if(q.prefix!==this.prefix)return!1;if(q.localName!==this.localName)return!1;if(q.value!==this.value)return!1;return!0}}return Object.defineProperty(J.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(J.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(J.prototype,"textContent",{get:function(){return this.value},set:function(q){return this.value=q||""}}),Object.defineProperty(J.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(J.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(J.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(J.prototype,"specified",{get:function(){return!0}}),J}.call(this)}).call(Su)});var FH=k((Tu,_u)=>{(function(){var Z;_u.exports=Z=function(){class Q{constructor(Y){this.nodes=Y}clone(){return this.nodes=null}getNamedItem(Y){return this.nodes[Y]}setNamedItem(Y){var J=this.nodes[Y.nodeName];return this.nodes[Y.nodeName]=Y,J||null}removeNamedItem(Y){var J=this.nodes[Y];return delete this.nodes[Y],J||null}item(Y){return this.nodes[Object.keys(this.nodes)[Y]]||null}getNamedItemNS(Y,J){throw Error("This DOM method is not implemented.")}setNamedItemNS(Y){throw Error("This DOM method is not implemented.")}removeNamedItemNS(Y,J){throw Error("This DOM method is not implemented.")}}return Object.defineProperty(Q.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),Q}.call(this)}).call(Tu)});var AH=k((vu,bu)=>{(function(){var Z,Q,Y,J,q,K,V,D,z={}.hasOwnProperty;({isObject:D,isFunction:V,getValue:K}=O6()),q=y9(),Z=d5(),Q=lF(),J=FH(),bu.exports=Y=function(){class H extends q{constructor(G,W,$){var B,O,A,w;super(G);if(W==null)throw Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(W),this.type=Z.Element,this.attribs={},this.schemaTypeInfo=null,$!=null)this.attribute($);if(G.type===Z.Document){if(this.isRoot=!0,this.documentObject=G,G.rootObject=this,G.children){w=G.children;for(O=0,A=w.length;O<A;O++)if(B=w[O],B.type===Z.DocType){B.name=this.name;break}}}}clone(){var G,W,$,B;if($=Object.create(this),$.isRoot)$.documentObject=null;$.attribs={},B=this.attribs;for(W in B){if(!z.call(B,W))continue;G=B[W],$.attribs[W]=G.clone()}return $.children=[],this.children.forEach(function(O){var A=O.clone();return A.parent=$,$.children.push(A)}),$}attribute(G,W){var $,B;if(G!=null)G=K(G);if(D(G))for($ in G){if(!z.call(G,$))continue;B=G[$],this.attribute($,B)}else{if(V(W))W=W.apply();if(this.options.keepNullAttributes&&W==null)this.attribs[G]=new Q(this,G,"");else if(W!=null)this.attribs[G]=new Q(this,G,W)}return this}removeAttribute(G){var W,$,B;if(G==null)throw Error("Missing attribute name. "+this.debugInfo());if(G=K(G),Array.isArray(G))for($=0,B=G.length;$<B;$++)W=G[$],delete this.attribs[W];else delete this.attribs[G];return this}toString(G){return this.options.writer.element(this,this.options.writer.filterOptions(G))}att(G,W){return this.attribute(G,W)}a(G,W){return this.attribute(G,W)}getAttribute(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G].value;else return null}setAttribute(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNode(G){if(this.attribs.hasOwnProperty(G))return this.attribs[G];else return null}setAttributeNode(G){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNode(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNS(G,W,$){throw Error("This DOM method is not implemented."+this.debugInfo())}removeAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getAttributeNodeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setAttributeNodeNS(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}hasAttribute(G){return this.attribs.hasOwnProperty(G)}hasAttributeNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttribute(G,W){if(this.attribs.hasOwnProperty(G))return this.attribs[G].isId;else return W}setIdAttributeNS(G,W,$){throw Error("This DOM method is not implemented."+this.debugInfo())}setIdAttributeNode(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(G){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(G){var W,$,B;if(!super.isEqualNode(G))return!1;if(G.namespaceURI!==this.namespaceURI)return!1;if(G.prefix!==this.prefix)return!1;if(G.localName!==this.localName)return!1;if(G.attribs.length!==this.attribs.length)return!1;for(W=$=0,B=this.attribs.length-1;0<=B?$<=B:$>=B;W=0<=B?++$:--$)if(!this.attribs[W].isEqualNode(G.attribs[W]))return!1;return!0}}return Object.defineProperty(H.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(H.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(H.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(H.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(H.prototype,"id",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"className",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"classList",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(H.prototype,"attributes",{get:function(){if(!this.attributeMap||!this.attributeMap.nodes)this.attributeMap=new J(this.attribs);return this.attributeMap}}),H}.call(this)}).call(vu)});var rJ=k((ku,yu)=>{(function(){var Z,Q;Q=y9(),yu.exports=Z=function(){class Y extends Q{constructor(J){super(J);this.value=""}clone(){return Object.create(this)}substringData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}appendData(J){throw Error("This DOM method is not implemented."+this.debugInfo())}insertData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}deleteData(J,q){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceData(J,q,K){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(J){if(!super.isEqualNode(J))return!1;if(J.data!==this.data)return!1;return!0}}return Object.defineProperty(Y.prototype,"data",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Object.defineProperty(Y.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(Y.prototype,"textContent",{get:function(){return this.value},set:function(J){return this.value=J||""}}),Y}.call(this)}).call(ku)});var wH=k((hu,xu)=>{(function(){var Z,Q,Y;Z=d5(),Y=rJ(),xu.exports=Q=class extends Y{constructor(q,K){super(q);if(K==null)throw Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=Z.CData,this.value=this.stringify.cdata(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.cdata(this,this.options.writer.filterOptions(q))}}}).call(hu)});var EH=k((uu,fu)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),fu.exports=Y=class extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=Z.Comment,this.value=this.stringify.comment(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.comment(this,this.options.writer.filterOptions(q))}}}).call(uu)});var IH=k((gu,mu)=>{(function(){var Z,Q,Y,J;({isObject:J}=O6()),Y=y9(),Z=d5(),mu.exports=Q=class extends Y{constructor(K,V,D,z){super(K);if(J(V))({version:V,encoding:D,standalone:z}=V);if(!V)V="1.0";if(this.type=Z.Declaration,this.version=this.stringify.xmlVersion(V),D!=null)this.encoding=this.stringify.xmlEncoding(D);if(z!=null)this.standalone=this.stringify.xmlStandalone(z)}toString(K){return this.options.writer.declaration(this,this.options.writer.filterOptions(K))}}}).call(gu)});var CH=k((cu,du)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),du.exports=Q=class extends Y{constructor(q,K,V,D,z,H){super(q);if(K==null)throw Error("Missing DTD element name. "+this.debugInfo());if(V==null)throw Error("Missing DTD attribute name. "+this.debugInfo(K));if(!D)throw Error("Missing DTD attribute type. "+this.debugInfo(K));if(!z)throw Error("Missing DTD attribute default. "+this.debugInfo(K));if(z.indexOf("#")!==0)z="#"+z;if(!z.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(K));if(H&&!z.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(K));if(this.elementName=this.stringify.name(K),this.type=Z.AttributeDeclaration,this.attributeName=this.stringify.name(V),this.attributeType=this.stringify.dtdAttType(D),H)this.defaultValue=this.stringify.dtdAttDefault(H);this.defaultValueType=z}toString(q){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(q))}}}).call(cu)});var RH=k((lu,pu)=>{(function(){var Z,Q,Y,J;({isObject:J}=O6()),Y=y9(),Z=d5(),pu.exports=Q=function(){class q extends Y{constructor(K,V,D,z){super(K);if(D==null)throw Error("Missing DTD entity name. "+this.debugInfo(D));if(z==null)throw Error("Missing DTD entity value. "+this.debugInfo(D));if(this.pe=!!V,this.name=this.stringify.name(D),this.type=Z.EntityDeclaration,!J(z))this.value=this.stringify.dtdEntityValue(z),this.internal=!0;else{if(!z.pubID&&!z.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(D));if(z.pubID&&!z.sysID)throw Error("System identifier is required for a public external entity. "+this.debugInfo(D));if(this.internal=!1,z.pubID!=null)this.pubID=this.stringify.dtdPubID(z.pubID);if(z.sysID!=null)this.sysID=this.stringify.dtdSysID(z.sysID);if(z.nData!=null)this.nData=this.stringify.dtdNData(z.nData);if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(D))}}toString(K){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(K))}}return Object.defineProperty(q.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(q.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(q.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(q.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(q.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(q.prototype,"xmlVersion",{get:function(){return null}}),q}.call(this)}).call(lu)});var LH=k((iu,nu)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),nu.exports=Q=class extends Y{constructor(q,K,V){super(q);if(K==null)throw Error("Missing DTD element name. "+this.debugInfo());if(!V)V="(#PCDATA)";if(Array.isArray(V))V="("+V.join(",")+")";this.name=this.stringify.name(K),this.type=Z.ElementDeclaration,this.value=this.stringify.dtdElementValue(V)}toString(q){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(q))}}}).call(iu)});var MH=k((su,au)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),au.exports=Q=function(){class J extends Y{constructor(q,K,V){super(q);if(K==null)throw Error("Missing DTD notation name. "+this.debugInfo(K));if(!V.pubID&&!V.sysID)throw Error("Public or system identifiers are required for an external entity. "+this.debugInfo(K));if(this.name=this.stringify.name(K),this.type=Z.NotationDeclaration,V.pubID!=null)this.pubID=this.stringify.dtdPubID(V.pubID);if(V.sysID!=null)this.sysID=this.stringify.dtdSysID(V.sysID)}toString(q){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(q))}}return Object.defineProperty(J.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(J.prototype,"systemId",{get:function(){return this.sysID}}),J}.call(this)}).call(su)});var jH=k((ru,ou)=>{(function(){var Z,Q,Y,J,q,K,V,D,z;({isObject:z}=O6()),D=y9(),Z=d5(),Q=CH(),J=RH(),Y=LH(),q=MH(),V=FH(),ou.exports=K=function(){class H extends D{constructor(G,W,$){var B,O,A,w;super(G);if(this.type=Z.DocType,G.children){w=G.children;for(O=0,A=w.length;O<A;O++)if(B=w[O],B.type===Z.Element){this.name=B.name;break}}if(this.documentObject=G,z(W))({pubID:W,sysID:$}=W);if($==null)[$,W]=[W,$];if(W!=null)this.pubID=this.stringify.dtdPubID(W);if($!=null)this.sysID=this.stringify.dtdSysID($)}element(G,W){var $=new Y(this,G,W);return this.children.push($),this}attList(G,W,$,B,O){var A=new Q(this,G,W,$,B,O);return this.children.push(A),this}entity(G,W){var $=new J(this,!1,G,W);return this.children.push($),this}pEntity(G,W){var $=new J(this,!0,G,W);return this.children.push($),this}notation(G,W){var $=new q(this,G,W);return this.children.push($),this}toString(G){return this.options.writer.docType(this,this.options.writer.filterOptions(G))}ele(G,W){return this.element(G,W)}att(G,W,$,B,O){return this.attList(G,W,$,B,O)}ent(G,W){return this.entity(G,W)}pent(G,W){return this.pEntity(G,W)}not(G,W){return this.notation(G,W)}up(){return this.root()||this.documentObject}isEqualNode(G){if(!super.isEqualNode(G))return!1;if(G.name!==this.name)return!1;if(G.publicId!==this.publicId)return!1;if(G.systemId!==this.systemId)return!1;return!0}}return Object.defineProperty(H.prototype,"entities",{get:function(){var G,W,$,B,O;B={},O=this.children;for(W=0,$=O.length;W<$;W++)if(G=O[W],G.type===Z.EntityDeclaration&&!G.pe)B[G.name]=G;return new V(B)}}),Object.defineProperty(H.prototype,"notations",{get:function(){var G,W,$,B,O;B={},O=this.children;for(W=0,$=O.length;W<$;W++)if(G=O[W],G.type===Z.NotationDeclaration)B[G.name]=G;return new V(B)}}),Object.defineProperty(H.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(H.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(H.prototype,"internalSubset",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),H}.call(this)}).call(ru)});var NH=k((tu,eu)=>{(function(){var Z,Q,Y;Z=d5(),Q=y9(),eu.exports=Y=class extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing raw text. "+this.debugInfo());this.type=Z.Raw,this.value=this.stringify.raw(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.raw(this,this.options.writer.filterOptions(q))}}}).call(tu)});var SH=k((Zf,Qf)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),Qf.exports=Y=function(){class J extends Q{constructor(q,K){super(q);if(K==null)throw Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=Z.Text,this.value=this.stringify.text(K)}clone(){return Object.create(this)}toString(q){return this.options.writer.text(this,this.options.writer.filterOptions(q))}splitText(q){throw Error("This DOM method is not implemented."+this.debugInfo())}replaceWholeText(q){throw Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(J.prototype,"isElementContentWhitespace",{get:function(){throw Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(J.prototype,"wholeText",{get:function(){var q,K,V;V="",K=this.previousSibling;while(K)V=K.data+V,K=K.previousSibling;V+=this.data,q=this.nextSibling;while(q)V=V+q.data,q=q.nextSibling;return V}}),J}.call(this)}).call(Zf)});var PH=k((Yf,Jf)=>{(function(){var Z,Q,Y;Z=d5(),Q=rJ(),Jf.exports=Y=class extends Q{constructor(q,K,V){super(q);if(K==null)throw Error("Missing instruction target. "+this.debugInfo());if(this.type=Z.ProcessingInstruction,this.target=this.stringify.insTarget(K),this.name=this.target,V)this.value=this.stringify.insValue(V)}clone(){return Object.create(this)}toString(q){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(q))}isEqualNode(q){if(!super.isEqualNode(q))return!1;if(q.target!==this.target)return!1;return!0}}}).call(Yf)});var pF=k((qf,Kf)=>{(function(){var Z,Q,Y;Y=y9(),Z=d5(),Kf.exports=Q=class extends Y{constructor(q){super(q);this.type=Z.Dummy}clone(){return Object.create(this)}toString(q){return""}}}).call(qf)});var zf=k((Vf,Df)=>{(function(){var Z;Df.exports=Z=function(){class Q{constructor(Y){this.nodes=Y}clone(){return this.nodes=null}item(Y){return this.nodes[Y]||null}}return Object.defineProperty(Q.prototype,"length",{get:function(){return this.nodes.length||0}}),Q}.call(this)}).call(Vf)});var Wf=k((Hf,Gf)=>{(function(){Gf.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(Hf)});var y9=k((Uf,$f)=>{(function(){var Z,Q,Y,J,q,K,V,D,z,H,G,W,$,B,O,A,w,E,S={}.hasOwnProperty,X=[].splice;({isObject:E,isFunction:w,isEmpty:A,getValue:O}=O6()),D=null,Y=null,J=null,q=null,K=null,$=null,B=null,W=null,V=null,Q=null,G=null,z=null,Z=null,$f.exports=H=function(){class F{constructor(U){if(this.parent=U,this.parent)this.options=this.parent.options,this.stringify=this.parent.stringify;if(this.value=null,this.children=[],this.baseURI=null,!D)D=AH(),Y=wH(),J=EH(),q=IH(),K=jH(),$=NH(),B=SH(),W=PH(),V=pF(),Q=d5(),G=zf(),z=FH(),Z=Wf()}setParent(U){var I,P,L,R,C;if(this.parent=U,U)this.options=U.options,this.stringify=U.stringify;R=this.children,C=[];for(P=0,L=R.length;P<L;P++)I=R[P],C.push(I.setParent(this));return C}element(U,I,P){var L,R,C,N,j,_,v,b,T;if(_=null,I===null&&P==null)[I,P]=[{},null];if(I==null)I={};if(I=O(I),!E(I))[P,I]=[I,P];if(U!=null)U=O(U);if(Array.isArray(U))for(C=0,v=U.length;C<v;C++)R=U[C],_=this.element(R);else if(w(U))_=this.element(U.apply());else if(E(U))for(j in U){if(!S.call(U,j))continue;if(T=U[j],w(T))T=T.apply();if(!this.options.ignoreDecorators&&this.stringify.convertAttKey&&j.indexOf(this.stringify.convertAttKey)===0)_=this.attribute(j.substr(this.stringify.convertAttKey.length),T);else if(!this.options.separateArrayItems&&Array.isArray(T)&&A(T))_=this.dummy();else if(E(T)&&A(T))_=this.element(j);else if(!this.options.keepNullNodes&&T==null)_=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(T))for(N=0,b=T.length;N<b;N++)R=T[N],L={},L[j]=R,_=this.element(L);else if(E(T))if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&j.indexOf(this.stringify.convertTextKey)===0)_=this.element(T);else _=this.element(j),_.element(T);else _=this.element(j,T)}else if(!this.options.keepNullNodes&&P===null)_=this.dummy();else if(!this.options.ignoreDecorators&&this.stringify.convertTextKey&&U.indexOf(this.stringify.convertTextKey)===0)_=this.text(P);else if(!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&U.indexOf(this.stringify.convertCDataKey)===0)_=this.cdata(P);else if(!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&U.indexOf(this.stringify.convertCommentKey)===0)_=this.comment(P);else if(!this.options.ignoreDecorators&&this.stringify.convertRawKey&&U.indexOf(this.stringify.convertRawKey)===0)_=this.raw(P);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&U.indexOf(this.stringify.convertPIKey)===0)_=this.instruction(U.substr(this.stringify.convertPIKey.length),P);else _=this.node(U,I,P);if(_==null)throw Error("Could not create any elements with: "+U+". "+this.debugInfo());return _}insertBefore(U,I,P){var L,R,C,N,j;if(U!=null?U.type:void 0){if(C=U,N=I,C.setParent(this),N)R=children.indexOf(N),j=children.splice(R),children.push(C),Array.prototype.push.apply(children,j);else children.push(C);return C}else{if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(U));return R=this.parent.children.indexOf(this),j=this.parent.children.splice(R),L=this.parent.element(U,I,P),Array.prototype.push.apply(this.parent.children,j),L}}insertAfter(U,I,P){var L,R,C;if(this.isRoot)throw Error("Cannot insert elements at root level. "+this.debugInfo(U));return R=this.parent.children.indexOf(this),C=this.parent.children.splice(R+1),L=this.parent.element(U,I,P),Array.prototype.push.apply(this.parent.children,C),L}remove(){var U,I;if(this.isRoot)throw Error("Cannot remove the root element. "+this.debugInfo());return U=this.parent.children.indexOf(this),X.apply(this.parent.children,[U,U-U+1].concat(I=[])),this.parent}node(U,I,P){var L;if(U!=null)U=O(U);if(I||(I={}),I=O(I),!E(I))[P,I]=[I,P];if(L=new D(this,U,I),P!=null)L.text(P);return this.children.push(L),L}text(U){var I;if(E(U))this.element(U);return I=new B(this,U),this.children.push(I),this}cdata(U){var I=new Y(this,U);return this.children.push(I),this}comment(U){var I=new J(this,U);return this.children.push(I),this}commentBefore(U){var I,P,L;return P=this.parent.children.indexOf(this),L=this.parent.children.splice(P),I=this.parent.comment(U),Array.prototype.push.apply(this.parent.children,L),this}commentAfter(U){var I,P,L;return P=this.parent.children.indexOf(this),L=this.parent.children.splice(P+1),I=this.parent.comment(U),Array.prototype.push.apply(this.parent.children,L),this}raw(U){var I=new $(this,U);return this.children.push(I),this}dummy(){var U=new V(this);return U}instruction(U,I){var P,L,R,C,N;if(U!=null)U=O(U);if(I!=null)I=O(I);if(Array.isArray(U))for(C=0,N=U.length;C<N;C++)P=U[C],this.instruction(P);else if(E(U))for(P in U){if(!S.call(U,P))continue;L=U[P],this.instruction(P,L)}else{if(w(I))I=I.apply();R=new W(this,U,I),this.children.push(R)}return this}instructionBefore(U,I){var P,L,R;return L=this.parent.children.indexOf(this),R=this.parent.children.splice(L),P=this.parent.instruction(U,I),Array.prototype.push.apply(this.parent.children,R),this}instructionAfter(U,I){var P,L,R;return L=this.parent.children.indexOf(this),R=this.parent.children.splice(L+1),P=this.parent.instruction(U,I),Array.prototype.push.apply(this.parent.children,R),this}declaration(U,I,P){var L,R;if(L=this.document(),R=new q(L,U,I,P),L.children.length===0)L.children.unshift(R);else if(L.children[0].type===Q.Declaration)L.children[0]=R;else L.children.unshift(R);return L.root()||L}dtd(U,I){var P,L,R,C,N,j,_,v,b,T;L=this.document(),R=new K(L,U,I),b=L.children;for(C=N=0,_=b.length;N<_;C=++N)if(P=b[C],P.type===Q.DocType)return L.children[C]=R,R;T=L.children;for(C=j=0,v=T.length;j<v;C=++j)if(P=T[C],P.isRoot)return L.children.splice(C,0,R),R;return L.children.push(R),R}up(){if(this.isRoot)throw Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent}root(){var U=this;while(U)if(U.type===Q.Document)return U.rootObject;else if(U.isRoot)return U;else U=U.parent}document(){var U=this;while(U)if(U.type===Q.Document)return U;else U=U.parent}end(U){return this.document().end(U)}prev(){var U=this.parent.children.indexOf(this);if(U<1)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[U-1]}next(){var U=this.parent.children.indexOf(this);if(U===-1||U===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[U+1]}importDocument(U){var I,P,L,R,C;if(P=U.root().clone(),P.parent=this,P.isRoot=!1,this.children.push(P),this.type===Q.Document){if(P.isRoot=!0,P.documentObject=this,this.rootObject=P,this.children){C=this.children;for(L=0,R=C.length;L<R;L++)if(I=C[L],I.type===Q.DocType){I.name=P.name;break}}}return this}debugInfo(U){var I,P;if(U=U||this.name,U==null&&!((I=this.parent)!=null?I.name:void 0))return"";else if(U==null)return"parent: <"+this.parent.name+">";else if(!((P=this.parent)!=null?P.name:void 0))return"node: <"+U+">";else return"node: <"+U+">, parent: <"+this.parent.name+">"}ele(U,I,P){return this.element(U,I,P)}nod(U,I,P){return this.node(U,I,P)}txt(U){return this.text(U)}dat(U){return this.cdata(U)}com(U){return this.comment(U)}ins(U,I){return this.instruction(U,I)}doc(){return this.document()}dec(U,I,P){return this.declaration(U,I,P)}e(U,I,P){return this.element(U,I,P)}n(U,I,P){return this.node(U,I,P)}t(U){return this.text(U)}d(U){return this.cdata(U)}c(U){return this.comment(U)}r(U){return this.raw(U)}i(U,I){return this.instruction(U,I)}u(){return this.up()}importXMLBuilder(U){return this.importDocument(U)}attribute(U,I){throw Error("attribute() applies to element nodes only.")}att(U,I){return this.attribute(U,I)}a(U,I){return this.attribute(U,I)}removeAttribute(U){throw Error("attribute() applies to element nodes only.")}replaceChild(U,I){throw Error("This DOM method is not implemented."+this.debugInfo())}removeChild(U){throw Error("This DOM method is not implemented."+this.debugInfo())}appendChild(U){throw Error("This DOM method is not implemented."+this.debugInfo())}hasChildNodes(){return this.children.length!==0}cloneNode(U){throw Error("This DOM method is not implemented."+this.debugInfo())}normalize(){throw Error("This DOM method is not implemented."+this.debugInfo())}isSupported(U,I){return!0}hasAttributes(){return this.attribs.length!==0}compareDocumentPosition(U){var I,P;if(I=this,I===U)return 0;else if(this.document()!==U.document()){if(P=Z.Disconnected|Z.ImplementationSpecific,Math.random()<0.5)P|=Z.Preceding;else P|=Z.Following;return P}else if(I.isAncestor(U))return Z.Contains|Z.Preceding;else if(I.isDescendant(U))return Z.Contains|Z.Following;else if(I.isPreceding(U))return Z.Preceding;else return Z.Following}isSameNode(U){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupPrefix(U){throw Error("This DOM method is not implemented."+this.debugInfo())}isDefaultNamespace(U){throw Error("This DOM method is not implemented."+this.debugInfo())}lookupNamespaceURI(U){throw Error("This DOM method is not implemented."+this.debugInfo())}isEqualNode(U){var I,P,L;if(U.nodeType!==this.nodeType)return!1;if(U.children.length!==this.children.length)return!1;for(I=P=0,L=this.children.length-1;0<=L?P<=L:P>=L;I=0<=L?++P:--P)if(!this.children[I].isEqualNode(U.children[I]))return!1;return!0}getFeature(U,I){throw Error("This DOM method is not implemented."+this.debugInfo())}setUserData(U,I,P){throw Error("This DOM method is not implemented."+this.debugInfo())}getUserData(U){throw Error("This DOM method is not implemented."+this.debugInfo())}contains(U){if(!U)return!1;return U===this||this.isDescendant(U)}isDescendant(U){var I,P,L,R,C;C=this.children;for(L=0,R=C.length;L<R;L++){if(I=C[L],U===I)return!0;if(P=I.isDescendant(U),P)return!0}return!1}isAncestor(U){return U.isDescendant(this)}isPreceding(U){var I,P;if(I=this.treePosition(U),P=this.treePosition(this),I===-1||P===-1)return!1;else return I<P}isFollowing(U){var I,P;if(I=this.treePosition(U),P=this.treePosition(this),I===-1||P===-1)return!1;else return I>P}treePosition(U){var I,P;if(P=0,I=!1,this.foreachTreeNode(this.document(),function(L){if(P++,!I&&L===U)return I=!0}),I)return P;else return-1}foreachTreeNode(U,I){var P,L,R,C,N;U||(U=this.document()),C=U.children;for(L=0,R=C.length;L<R;L++)if(P=C[L],N=I(P))return N;else if(N=this.foreachTreeNode(P,I),N)return N}}return Object.defineProperty(F.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(F.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(F.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(F.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(F.prototype,"childNodes",{get:function(){if(!this.childNodeList||!this.childNodeList.nodes)this.childNodeList=new G(this.children);return this.childNodeList}}),Object.defineProperty(F.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(F.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(F.prototype,"previousSibling",{get:function(){var U=this.parent.children.indexOf(this);return this.parent.children[U-1]||null}}),Object.defineProperty(F.prototype,"nextSibling",{get:function(){var U=this.parent.children.indexOf(this);return this.parent.children[U+1]||null}}),Object.defineProperty(F.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(F.prototype,"textContent",{get:function(){var U,I,P,L,R;if(this.nodeType===Q.Element||this.nodeType===Q.DocumentFragment){R="",L=this.children;for(I=0,P=L.length;I<P;I++)if(U=L[I],U.textContent)R+=U.textContent;return R}else return null},set:function(U){throw Error("This DOM method is not implemented."+this.debugInfo())}}),F}.call(this)}).call(Uf)});var iF=k((Bf,Of)=>{(function(){var Z,Q={}.hasOwnProperty;Of.exports=Z=function(){class Y{constructor(J){var q,K,V;if(this.assertLegalChar=this.assertLegalChar.bind(this),this.assertLegalName=this.assertLegalName.bind(this),J||(J={}),this.options=J,!this.options.version)this.options.version="1.0";K=J.stringify||{};for(q in K){if(!Q.call(K,q))continue;V=K[q],this[q]=V}}name(J){if(this.options.noValidation)return J;return this.assertLegalName(""+J||"")}text(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.textEscape(""+J||""))}cdata(J){if(this.options.noValidation)return J;return J=""+J||"",J=J.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(J)}comment(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/--/))throw Error("Comment text cannot contain double-hypen: "+J);return this.assertLegalChar(J)}raw(J){if(this.options.noValidation)return J;return""+J||""}attValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(this.attEscape(J=""+J||""))}insTarget(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}insValue(J){if(this.options.noValidation)return J;if(J=""+J||"",J.match(/\?>/))throw Error("Invalid processing instruction value: "+J);return this.assertLegalChar(J)}xmlVersion(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/1\.[0-9]+/))throw Error("Invalid version number: "+J);return J}xmlEncoding(J){if(this.options.noValidation)return J;if(J=""+J||"",!J.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+J);return this.assertLegalChar(J)}xmlStandalone(J){if(this.options.noValidation)return J;if(J)return"yes";else return"no"}dtdPubID(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdSysID(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdElementValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdAttType(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdAttDefault(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdEntityValue(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}dtdNData(J){if(this.options.noValidation)return J;return this.assertLegalChar(""+J||"")}assertLegalChar(J){var q,K;if(this.options.noValidation)return J;if(this.options.version==="1.0"){if(q=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)J=J.replace(q,this.options.invalidCharReplacement);else if(K=J.match(q))throw Error(`Invalid character in string: ${J} at index ${K.index}`)}else if(this.options.version==="1.1"){if(q=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,this.options.invalidCharReplacement!==void 0)J=J.replace(q,this.options.invalidCharReplacement);else if(K=J.match(q))throw Error(`Invalid character in string: ${J} at index ${K.index}`)}return J}assertLegalName(J){var q;if(this.options.noValidation)return J;if(J=this.assertLegalChar(J),q=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!J.match(q))throw Error(`Invalid character in name: ${J}`);return J}textEscape(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,J.replace(q,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r/g,"&#xD;")}attEscape(J){var q;if(this.options.noValidation)return J;return q=this.options.noDoubleEncoding?/(?!&(lt|gt|amp|apos|quot);)&/g:/&/g,J.replace(q,"&amp;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/\t/g,"&#x9;").replace(/\n/g,"&#xA;").replace(/\r/g,"&#xD;")}}return Y.prototype.convertAttKey="@",Y.prototype.convertPIKey="?",Y.prototype.convertTextKey="#text",Y.prototype.convertCDataKey="#cdata",Y.prototype.convertCommentKey="#comment",Y.prototype.convertRawKey="#raw",Y}.call(this)}).call(Bf)});var oJ=k((Xf,Ff)=>{(function(){Ff.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(Xf)});var nF=k((Af,wf)=>{(function(){var Z,Q,Y,J,q,K,V,D,z,H,G,W,$,B,O,A,w,E={}.hasOwnProperty;({assign:w}=O6()),Z=d5(),z=IH(),H=jH(),Y=wH(),J=EH(),W=AH(),B=NH(),O=SH(),$=PH(),G=pF(),q=CH(),K=LH(),V=RH(),D=MH(),Q=oJ(),wf.exports=A=class{constructor(X){var F,U,I;X||(X={}),this.options=X,U=X.writer||{};for(F in U){if(!E.call(U,F))continue;I=U[F],this["_"+F]=this[F],this[F]=I}}filterOptions(X){var F,U,I,P,L,R,C,N,j;if(X||(X={}),X=w({},this.options,X),F={writer:this},F.pretty=X.pretty||!1,F.allowEmpty=X.allowEmpty||!1,F.indent=(U=X.indent)!=null?U:" ",F.newline=(I=X.newline)!=null?I:`
327
327
  `,F.offset=(P=X.offset)!=null?P:0,F.width=(L=X.width)!=null?L:0,F.dontPrettyTextNodes=(R=(C=X.dontPrettyTextNodes)!=null?C:X.dontprettytextnodes)!=null?R:0,F.spaceBeforeSlash=(N=(j=X.spaceBeforeSlash)!=null?j:X.spacebeforeslash)!=null?N:"",F.spaceBeforeSlash===!0)F.spaceBeforeSlash=" ";return F.suppressPrettyCount=0,F.user={},F.state=Q.None,F}indent(X,F,U){var I;if(!F.pretty||F.suppressPrettyCount)return"";else if(F.pretty){if(I=(U||0)+F.offset+1,I>0)return Array(I).join(F.indent)}return""}endline(X,F,U){if(!F.pretty||F.suppressPrettyCount)return"";else return F.newline}attribute(X,F,U){var I;if(this.openAttribute(X,F,U),F.pretty&&F.width>0)I=X.name+'="'+X.value+'"';else I=" "+X.name+'="'+X.value+'"';return this.closeAttribute(X,F,U),I}cdata(X,F,U){var I;return this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<![CDATA[",F.state=Q.InsideTag,I+=X.value,F.state=Q.CloseTag,I+="]]>"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}comment(X,F,U){var I;return this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<!-- ",F.state=Q.InsideTag,I+=X.value,F.state=Q.CloseTag,I+=" -->"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}declaration(X,F,U){var I;if(this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<?xml",F.state=Q.InsideTag,I+=' version="'+X.version+'"',X.encoding!=null)I+=' encoding="'+X.encoding+'"';if(X.standalone!=null)I+=' standalone="'+X.standalone+'"';return F.state=Q.CloseTag,I+=F.spaceBeforeSlash+"?>",I+=this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}docType(X,F,U){var I,P,L,R,C;if(U||(U=0),this.openNode(X,F,U),F.state=Q.OpenTag,R=this.indent(X,F,U),R+="<!DOCTYPE "+X.root().name,X.pubID&&X.sysID)R+=' PUBLIC "'+X.pubID+'" "'+X.sysID+'"';else if(X.sysID)R+=' SYSTEM "'+X.sysID+'"';if(X.children.length>0){R+=" [",R+=this.endline(X,F,U),F.state=Q.InsideTag,C=X.children;for(P=0,L=C.length;P<L;P++)I=C[P],R+=this.writeChildNode(I,F,U+1);F.state=Q.CloseTag,R+="]"}return F.state=Q.CloseTag,R+=F.spaceBeforeSlash+">",R+=this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),R}element(X,F,U){var I,P,L,R,C,N,j,_,v,b,T,u,x,g,c,p,Y0,o,D0;if(U||(U=0),u=!1,this.openNode(X,F,U),F.state=Q.OpenTag,x=this.indent(X,F,U)+"<"+X.name,F.pretty&&F.width>0){_=x.length,c=X.attribs;for(T in c){if(!E.call(c,T))continue;if(I=c[T],g=this.attribute(I,F,U),P=g.length,_+P>F.width)D0=this.indent(X,F,U+1)+g,x+=this.endline(X,F,U)+D0,_=D0.length;else D0=" "+g,x+=D0,_+=D0.length}}else{p=X.attribs;for(T in p){if(!E.call(p,T))continue;I=p[T],x+=this.attribute(I,F,U)}}if(R=X.children.length,C=R===0?null:X.children[0],R===0||X.children.every(function(C0){return(C0.type===Z.Text||C0.type===Z.Raw||C0.type===Z.CData)&&C0.value===""}))if(F.allowEmpty)x+=">",F.state=Q.CloseTag,x+="</"+X.name+">"+this.endline(X,F,U);else F.state=Q.CloseTag,x+=F.spaceBeforeSlash+"/>"+this.endline(X,F,U);else if(F.pretty&&R===1&&(C.type===Z.Text||C.type===Z.Raw||C.type===Z.CData)&&C.value!=null)x+=">",F.state=Q.InsideTag,F.suppressPrettyCount++,u=!0,x+=this.writeChildNode(C,F,U+1),F.suppressPrettyCount--,u=!1,F.state=Q.CloseTag,x+="</"+X.name+">"+this.endline(X,F,U);else{if(F.dontPrettyTextNodes){Y0=X.children;for(N=0,v=Y0.length;N<v;N++)if(L=Y0[N],(L.type===Z.Text||L.type===Z.Raw||L.type===Z.CData)&&L.value!=null){F.suppressPrettyCount++,u=!0;break}}x+=">"+this.endline(X,F,U),F.state=Q.InsideTag,o=X.children;for(j=0,b=o.length;j<b;j++)L=o[j],x+=this.writeChildNode(L,F,U+1);if(F.state=Q.CloseTag,x+=this.indent(X,F,U)+"</"+X.name+">",u)F.suppressPrettyCount--;x+=this.endline(X,F,U),F.state=Q.None}return this.closeNode(X,F,U),x}writeChildNode(X,F,U){switch(X.type){case Z.CData:return this.cdata(X,F,U);case Z.Comment:return this.comment(X,F,U);case Z.Element:return this.element(X,F,U);case Z.Raw:return this.raw(X,F,U);case Z.Text:return this.text(X,F,U);case Z.ProcessingInstruction:return this.processingInstruction(X,F,U);case Z.Dummy:return"";case Z.Declaration:return this.declaration(X,F,U);case Z.DocType:return this.docType(X,F,U);case Z.AttributeDeclaration:return this.dtdAttList(X,F,U);case Z.ElementDeclaration:return this.dtdElement(X,F,U);case Z.EntityDeclaration:return this.dtdEntity(X,F,U);case Z.NotationDeclaration:return this.dtdNotation(X,F,U);default:throw Error("Unknown XML node type: "+X.constructor.name)}}processingInstruction(X,F,U){var I;if(this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<?",F.state=Q.InsideTag,I+=X.target,X.value)I+=" "+X.value;return F.state=Q.CloseTag,I+=F.spaceBeforeSlash+"?>",I+=this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}raw(X,F,U){var I;return this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U),F.state=Q.InsideTag,I+=X.value,F.state=Q.CloseTag,I+=this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}text(X,F,U){var I;return this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U),F.state=Q.InsideTag,I+=X.value,F.state=Q.CloseTag,I+=this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}dtdAttList(X,F,U){var I;if(this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<!ATTLIST",F.state=Q.InsideTag,I+=" "+X.elementName+" "+X.attributeName+" "+X.attributeType,X.defaultValueType!=="#DEFAULT")I+=" "+X.defaultValueType;if(X.defaultValue)I+=' "'+X.defaultValue+'"';return F.state=Q.CloseTag,I+=F.spaceBeforeSlash+">"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}dtdElement(X,F,U){var I;return this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<!ELEMENT",F.state=Q.InsideTag,I+=" "+X.name+" "+X.value,F.state=Q.CloseTag,I+=F.spaceBeforeSlash+">"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}dtdEntity(X,F,U){var I;if(this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<!ENTITY",F.state=Q.InsideTag,X.pe)I+=" %";if(I+=" "+X.name,X.value)I+=' "'+X.value+'"';else{if(X.pubID&&X.sysID)I+=' PUBLIC "'+X.pubID+'" "'+X.sysID+'"';else if(X.sysID)I+=' SYSTEM "'+X.sysID+'"';if(X.nData)I+=" NDATA "+X.nData}return F.state=Q.CloseTag,I+=F.spaceBeforeSlash+">"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}dtdNotation(X,F,U){var I;if(this.openNode(X,F,U),F.state=Q.OpenTag,I=this.indent(X,F,U)+"<!NOTATION",F.state=Q.InsideTag,I+=" "+X.name,X.pubID&&X.sysID)I+=' PUBLIC "'+X.pubID+'" "'+X.sysID+'"';else if(X.pubID)I+=' PUBLIC "'+X.pubID+'"';else if(X.sysID)I+=' SYSTEM "'+X.sysID+'"';return F.state=Q.CloseTag,I+=F.spaceBeforeSlash+">"+this.endline(X,F,U),F.state=Q.None,this.closeNode(X,F,U),I}openNode(X,F,U){}closeNode(X,F,U){}openAttribute(X,F,U){}closeAttribute(X,F,U){}}}).call(Af)});var TH=k((Ef,If)=>{(function(){var Z,Q;Q=nF(),If.exports=Z=class extends Q{constructor(J){super(J)}document(J,q){var K,V,D,z,H;q=this.filterOptions(q),z="",H=J.children;for(V=0,D=H.length;V<D;V++)K=H[V],z+=this.writeChildNode(K,q,0);if(q.pretty&&z.slice(-q.newline.length)===q.newline)z=z.slice(0,-q.newline.length);return z}}}).call(Ef)});var sF=k((Cf,Rf)=>{(function(){var Z,Q,Y,J,q,K,V,D;({isPlainObject:D}=O6()),Y=dF(),Q=Mu(),q=y9(),Z=d5(),V=iF(),K=TH(),Rf.exports=J=function(){class z extends q{constructor(H){super(null);if(this.name="#document",this.type=Z.Document,this.documentURI=null,this.domConfig=new Q,H||(H={}),!H.writer)H.writer=new K;this.options=H,this.stringify=new V(H)}end(H){var G={};if(!H)H=this.options.writer;else if(D(H))G=H,H=this.options.writer;return H.document(this,H.filterOptions(G))}toString(H){return this.options.writer.document(this,this.options.writer.filterOptions(H))}createElement(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createDocumentFragment(){throw Error("This DOM method is not implemented."+this.debugInfo())}createTextNode(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createComment(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createCDATASection(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createProcessingInstruction(H,G){throw Error("This DOM method is not implemented."+this.debugInfo())}createAttribute(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createEntityReference(H){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagName(H){throw Error("This DOM method is not implemented."+this.debugInfo())}importNode(H,G){throw Error("This DOM method is not implemented."+this.debugInfo())}createElementNS(H,G){throw Error("This DOM method is not implemented."+this.debugInfo())}createAttributeNS(H,G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByTagNameNS(H,G){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementById(H){throw Error("This DOM method is not implemented."+this.debugInfo())}adoptNode(H){throw Error("This DOM method is not implemented."+this.debugInfo())}normalizeDocument(){throw Error("This DOM method is not implemented."+this.debugInfo())}renameNode(H,G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}getElementsByClassName(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createEvent(H){throw Error("This DOM method is not implemented."+this.debugInfo())}createRange(){throw Error("This DOM method is not implemented."+this.debugInfo())}createNodeIterator(H,G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}createTreeWalker(H,G,W){throw Error("This DOM method is not implemented."+this.debugInfo())}}return Object.defineProperty(z.prototype,"implementation",{value:new Y}),Object.defineProperty(z.prototype,"doctype",{get:function(){var H,G,W,$;$=this.children;for(G=0,W=$.length;G<W;G++)if(H=$[G],H.type===Z.DocType)return H;return null}}),Object.defineProperty(z.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(z.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(z.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(z.prototype,"xmlEncoding",{get:function(){if(this.children.length!==0&&this.children[0].type===Z.Declaration)return this.children[0].encoding;else return null}}),Object.defineProperty(z.prototype,"xmlStandalone",{get:function(){if(this.children.length!==0&&this.children[0].type===Z.Declaration)return this.children[0].standalone==="yes";else return!1}}),Object.defineProperty(z.prototype,"xmlVersion",{get:function(){if(this.children.length!==0&&this.children[0].type===Z.Declaration)return this.children[0].version;else return"1.0"}}),Object.defineProperty(z.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(z.prototype,"origin",{get:function(){return null}}),Object.defineProperty(z.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(z.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(z.prototype,"contentType",{get:function(){return null}}),z}.call(this)}).call(Cf)});var jf=k((Lf,Mf)=>{(function(){var Z,Q,Y,J,q,K,V,D,z,H,G,W,$,B,O,A,w,E,S,X,F,U,I,P={}.hasOwnProperty;({isObject:U,isFunction:F,isPlainObject:I,getValue:X}=O6()),Z=d5(),W=sF(),B=AH(),J=wH(),q=EH(),A=NH(),S=SH(),O=PH(),H=IH(),G=jH(),K=CH(),D=RH(),V=LH(),z=MH(),Y=lF(),E=iF(),w=TH(),Q=oJ(),Mf.exports=$=class{constructor(R,C,N){var j;if(this.name="?xml",this.type=Z.Document,R||(R={}),j={},!R.writer)R.writer=new w;else if(I(R.writer))j=R.writer,R.writer=new w;this.options=R,this.writer=R.writer,this.writerOptions=this.writer.filterOptions(j),this.stringify=new E(R),this.onDataCallback=C||function(){},this.onEndCallback=N||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}createChildNode(R){var C,N,j,_,v,b,T,u;switch(R.type){case Z.CData:this.cdata(R.value);break;case Z.Comment:this.comment(R.value);break;case Z.Element:j={},T=R.attribs;for(N in T){if(!P.call(T,N))continue;C=T[N],j[N]=C.value}this.node(R.name,j);break;case Z.Dummy:this.dummy();break;case Z.Raw:this.raw(R.value);break;case Z.Text:this.text(R.value);break;case Z.ProcessingInstruction:this.instruction(R.target,R.value);break;default:throw Error("This XML node type is not supported in a JS object: "+R.constructor.name)}u=R.children;for(v=0,b=u.length;v<b;v++)if(_=u[v],this.createChildNode(_),_.type===Z.Element)this.up();return this}dummy(){return this}node(R,C,N){if(R==null)throw Error("Missing node name.");if(this.root&&this.currentLevel===-1)throw Error("Document can only have one root node. "+this.debugInfo(R));if(this.openCurrent(),R=X(R),C==null)C={};if(C=X(C),!U(C))[N,C]=[C,N];if(this.currentNode=new B(this,R,C),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,N!=null)this.text(N);return this}element(R,C,N){var j,_,v,b,T,u;if(this.currentNode&&this.currentNode.type===Z.DocType)this.dtdElement(...arguments);else if(Array.isArray(R)||U(R)||F(R)){b=this.options.noValidation,this.options.noValidation=!0,u=new W(this.options).element("TEMP_ROOT"),u.element(R),this.options.noValidation=b,T=u.children;for(_=0,v=T.length;_<v;_++)if(j=T[_],this.createChildNode(j),j.type===Z.Element)this.up()}else this.node(R,C,N);return this}attribute(R,C){var N,j;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(R));if(R!=null)R=X(R);if(U(R))for(N in R){if(!P.call(R,N))continue;j=R[N],this.attribute(N,j)}else{if(F(C))C=C.apply();if(this.options.keepNullAttributes&&C==null)this.currentNode.attribs[R]=new Y(this,R,"");else if(C!=null)this.currentNode.attribs[R]=new Y(this,R,C)}return this}text(R){var C;return this.openCurrent(),C=new S(this,R),this.onData(this.writer.text(C,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}cdata(R){var C;return this.openCurrent(),C=new J(this,R),this.onData(this.writer.cdata(C,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}comment(R){var C;return this.openCurrent(),C=new q(this,R),this.onData(this.writer.comment(C,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}raw(R){var C;return this.openCurrent(),C=new A(this,R),this.onData(this.writer.raw(C,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}instruction(R,C){var N,j,_,v,b;if(this.openCurrent(),R!=null)R=X(R);if(C!=null)C=X(C);if(Array.isArray(R))for(N=0,v=R.length;N<v;N++)j=R[N],this.instruction(j);else if(U(R))for(j in R){if(!P.call(R,j))continue;_=R[j],this.instruction(j,_)}else{if(F(C))C=C.apply();b=new O(this,R,C),this.onData(this.writer.processingInstruction(b,this.writerOptions,this.currentLevel+1),this.currentLevel+1)}return this}declaration(R,C,N){var j;if(this.openCurrent(),this.documentStarted)throw Error("declaration() must be the first node.");return j=new H(this,R,C,N),this.onData(this.writer.declaration(j,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}doctype(R,C,N){if(this.openCurrent(),R==null)throw Error("Missing root node name.");if(this.root)throw Error("dtd() must come before the root node.");return this.currentNode=new G(this,C,N),this.currentNode.rootNodeName=R,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this}dtdElement(R,C){var N;return this.openCurrent(),N=new V(this,R,C),this.onData(this.writer.dtdElement(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}attList(R,C,N,j,_){var v;return this.openCurrent(),v=new K(this,R,C,N,j,_),this.onData(this.writer.dtdAttList(v,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}entity(R,C){var N;return this.openCurrent(),N=new D(this,!1,R,C),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}pEntity(R,C){var N;return this.openCurrent(),N=new D(this,!0,R,C),this.onData(this.writer.dtdEntity(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}notation(R,C){var N;return this.openCurrent(),N=new z(this,R,C),this.onData(this.writer.dtdNotation(N,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this}up(){if(this.currentLevel<0)throw Error("The document node has no parent.");if(this.currentNode){if(this.currentNode.children)this.closeNode(this.currentNode);else this.openNode(this.currentNode);this.currentNode=null}else this.closeNode(this.openTags[this.currentLevel]);return delete this.openTags[this.currentLevel],this.currentLevel--,this}end(){while(this.currentLevel>=0)this.up();return this.onEnd()}openCurrent(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)}openNode(R){var C,N,j,_;if(!R.isOpen){if(!this.root&&this.currentLevel===0&&R.type===Z.Element)this.root=R;if(N="",R.type===Z.Element){this.writerOptions.state=Q.OpenTag,N=this.writer.indent(R,this.writerOptions,this.currentLevel)+"<"+R.name,_=R.attribs;for(j in _){if(!P.call(_,j))continue;C=_[j],N+=this.writer.attribute(C,this.writerOptions,this.currentLevel)}N+=(R.children?">":"/>")+this.writer.endline(R,this.writerOptions,this.currentLevel),this.writerOptions.state=Q.InsideTag}else{if(this.writerOptions.state=Q.OpenTag,N=this.writer.indent(R,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+R.rootNodeName,R.pubID&&R.sysID)N+=' PUBLIC "'+R.pubID+'" "'+R.sysID+'"';else if(R.sysID)N+=' SYSTEM "'+R.sysID+'"';if(R.children)N+=" [",this.writerOptions.state=Q.InsideTag;else this.writerOptions.state=Q.CloseTag,N+=">";N+=this.writer.endline(R,this.writerOptions,this.currentLevel)}return this.onData(N,this.currentLevel),R.isOpen=!0}}closeNode(R){var C;if(!R.isClosed){if(C="",this.writerOptions.state=Q.CloseTag,R.type===Z.Element)C=this.writer.indent(R,this.writerOptions,this.currentLevel)+"</"+R.name+">"+this.writer.endline(R,this.writerOptions,this.currentLevel);else C=this.writer.indent(R,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(R,this.writerOptions,this.currentLevel);return this.writerOptions.state=Q.None,this.onData(C,this.currentLevel),R.isClosed=!0}}onData(R,C){return this.documentStarted=!0,this.onDataCallback(R,C+1)}onEnd(){return this.documentCompleted=!0,this.onEndCallback()}debugInfo(R){if(R==null)return"";else return"node: <"+R+">"}ele(){return this.element(...arguments)}nod(R,C,N){return this.node(R,C,N)}txt(R){return this.text(R)}dat(R){return this.cdata(R)}com(R){return this.comment(R)}ins(R,C){return this.instruction(R,C)}dec(R,C,N){return this.declaration(R,C,N)}dtd(R,C,N){return this.doctype(R,C,N)}e(R,C,N){return this.element(R,C,N)}n(R,C,N){return this.node(R,C,N)}t(R){return this.text(R)}d(R){return this.cdata(R)}c(R){return this.comment(R)}r(R){return this.raw(R)}i(R,C){return this.instruction(R,C)}att(){if(this.currentNode&&this.currentNode.type===Z.DocType)return this.attList(...arguments);else return this.attribute(...arguments)}a(){if(this.currentNode&&this.currentNode.type===Z.DocType)return this.attList(...arguments);else return this.attribute(...arguments)}ent(R,C){return this.entity(R,C)}pent(R,C){return this.pEntity(R,C)}not(R,C){return this.notation(R,C)}}}).call(Lf)});var Pf=k((Nf,Sf)=>{(function(){var Z,Q,Y,J,q={}.hasOwnProperty;Z=d5(),J=nF(),Q=oJ(),Sf.exports=Y=class extends J{constructor(V,D){super(D);this.stream=V}endline(V,D,z){if(V.isLastRootNode&&D.state===Q.CloseTag)return"";else return super.endline(V,D,z)}document(V,D){var z,H,G,W,$,B,O,A,w;O=V.children;for(H=G=0,$=O.length;G<$;H=++G)z=O[H],z.isLastRootNode=H===V.children.length-1;D=this.filterOptions(D),A=V.children,w=[];for(W=0,B=A.length;W<B;W++)z=A[W],w.push(this.writeChildNode(z,D,0));return w}cdata(V,D,z){return this.stream.write(super.cdata(V,D,z))}comment(V,D,z){return this.stream.write(super.comment(V,D,z))}declaration(V,D,z){return this.stream.write(super.declaration(V,D,z))}docType(V,D,z){var H,G,W,$;if(z||(z=0),this.openNode(V,D,z),D.state=Q.OpenTag,this.stream.write(this.indent(V,D,z)),this.stream.write("<!DOCTYPE "+V.root().name),V.pubID&&V.sysID)this.stream.write(' PUBLIC "'+V.pubID+'" "'+V.sysID+'"');else if(V.sysID)this.stream.write(' SYSTEM "'+V.sysID+'"');if(V.children.length>0){this.stream.write(" ["),this.stream.write(this.endline(V,D,z)),D.state=Q.InsideTag,$=V.children;for(G=0,W=$.length;G<W;G++)H=$[G],this.writeChildNode(H,D,z+1);D.state=Q.CloseTag,this.stream.write("]")}return D.state=Q.CloseTag,this.stream.write(D.spaceBeforeSlash+">"),this.stream.write(this.endline(V,D,z)),D.state=Q.None,this.closeNode(V,D,z)}element(V,D,z){var H,G,W,$,B,O,A,w,E,S,X,F,U,I,P,L;if(z||(z=0),this.openNode(V,D,z),D.state=Q.OpenTag,X=this.indent(V,D,z)+"<"+V.name,D.pretty&&D.width>0){A=X.length,U=V.attribs;for(E in U){if(!q.call(U,E))continue;if(H=U[E],F=this.attribute(H,D,z),G=F.length,A+G>D.width)L=this.indent(V,D,z+1)+F,X+=this.endline(V,D,z)+L,A=L.length;else L=" "+F,X+=L,A+=L.length}}else{I=V.attribs;for(E in I){if(!q.call(I,E))continue;H=I[E],X+=this.attribute(H,D,z)}}if(this.stream.write(X),$=V.children.length,B=$===0?null:V.children[0],$===0||V.children.every(function(R){return(R.type===Z.Text||R.type===Z.Raw||R.type===Z.CData)&&R.value===""}))if(D.allowEmpty)this.stream.write(">"),D.state=Q.CloseTag,this.stream.write("</"+V.name+">");else D.state=Q.CloseTag,this.stream.write(D.spaceBeforeSlash+"/>");else if(D.pretty&&$===1&&(B.type===Z.Text||B.type===Z.Raw||B.type===Z.CData)&&B.value!=null)this.stream.write(">"),D.state=Q.InsideTag,D.suppressPrettyCount++,S=!0,this.writeChildNode(B,D,z+1),D.suppressPrettyCount--,S=!1,D.state=Q.CloseTag,this.stream.write("</"+V.name+">");else{this.stream.write(">"+this.endline(V,D,z)),D.state=Q.InsideTag,P=V.children;for(O=0,w=P.length;O<w;O++)W=P[O],this.writeChildNode(W,D,z+1);D.state=Q.CloseTag,this.stream.write(this.indent(V,D,z)+"</"+V.name+">")}return this.stream.write(this.endline(V,D,z)),D.state=Q.None,this.closeNode(V,D,z)}processingInstruction(V,D,z){return this.stream.write(super.processingInstruction(V,D,z))}raw(V,D,z){return this.stream.write(super.raw(V,D,z))}text(V,D,z){return this.stream.write(super.text(V,D,z))}dtdAttList(V,D,z){return this.stream.write(super.dtdAttList(V,D,z))}dtdElement(V,D,z){return this.stream.write(super.dtdElement(V,D,z))}dtdEntity(V,D,z){return this.stream.write(super.dtdEntity(V,D,z))}dtdNotation(V,D,z){return this.stream.write(super.dtdNotation(V,D,z))}}}).call(Nf)});var _f=k((Tf,R2)=>{(function(){var Z,Q,Y,J,q,K,V,D,z;({assign:D,isFunction:z}=O6()),Y=dF(),J=sF(),q=jf(),V=TH(),K=Pf(),Z=d5(),Q=oJ(),R2.exports.create=function(H,G,W,$){var B,O;if(H==null)throw Error("Root element needs a name.");if($=D({},G,W,$),B=new J($),O=B.element(H),!$.headless){if(B.declaration($),$.pubID!=null||$.sysID!=null)B.dtd($)}return O},R2.exports.begin=function(H,G,W){if(z(H))[G,W]=[H,G],H={};if(G)return new q(H,G,W);else return new J(H)},R2.exports.stringWriter=function(H){return new V(H)},R2.exports.streamWriter=function(H,G){return new K(H,G)},R2.exports.implementation=new Y,R2.exports.nodeType=Z,R2.exports.writerState=Q}).call(Tf)});var yf=k((tJ)=>{var kf=tJ&&tJ.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(tJ,"__esModule",{value:!0});tJ.build=Sz0;var vf=kf(cF()),Mz0=kf(_f());function jz0(Z){function Q(Y){return Y<10?"0"+Y:Y}return Z.getUTCFullYear()+"-"+Q(Z.getUTCMonth()+1)+"-"+Q(Z.getUTCDate())+"T"+Q(Z.getUTCHours())+":"+Q(Z.getUTCMinutes())+":"+Q(Z.getUTCSeconds())+"Z"}var Nz0=Object.prototype.toString;function bf(Z){let Q=Nz0.call(Z).match(/\[object (.*)\]/);return Q?Q[1]:Q}function Sz0(Z,Q){let Y={version:"1.0",encoding:"UTF-8"},J={pubid:"-//Apple//DTD PLIST 1.0//EN",sysid:"http://www.apple.com/DTDs/PropertyList-1.0.dtd"},q=Mz0.default.create("plist");if(q.dec(Y.version,Y.encoding,Y.standalone),q.dtd(J.pubid,J.sysid),q.att("version","1.0"),aF(Z,q),!Q)Q={};return Q.pretty=Q.pretty!==!1,q.end(Q)}function aF(Z,Q){let Y,J,q,K=bf(Z);if(K==="Undefined");else if(Array.isArray(Z)){Q=Q.ele("array");for(J=0;J<Z.length;J++)aF(Z[J],Q)}else if(Buffer.isBuffer(Z))Q.ele("data").raw(Z.toString("base64"));else if(K==="Object"){Q=Q.ele("dict");for(q in Z)if(Z.hasOwnProperty(q)&&Z[q]!==void 0)Q.ele("key").txt(q),aF(Z[q],Q)}else if(K==="Number")Y=Z%1===0?"integer":"real",Q.ele(Y).txt(Z.toString());else if(K==="Date")Q.ele("date").txt(jz0(new Date(Z)));else if(K==="Boolean")Q.ele(Z?"true":"false");else if(K==="String")Q.ele("string").txt(Z);else if(K==="ArrayBuffer")Q.ele("data").raw(vf.default.fromByteArray(Z));else if(Z&&Z.buffer&&bf(Z.buffer)==="ArrayBuffer")Q.ele("data").raw(vf.default.fromByteArray(new Uint8Array(Z.buffer)))}});var eJ=k((QY)=>{function Pz0(Z,Q,Y){if(Y===void 0)Y=Array.prototype;if(Z&&typeof Y.find==="function")return Y.find.call(Z,Q);for(var J=0;J<Z.length;J++)if(Object.prototype.hasOwnProperty.call(Z,J)){var q=Z[J];if(Q.call(void 0,q,J,Z))return q}}function rF(Z,Q){if(Q===void 0)Q=Object;return Q&&typeof Q.freeze==="function"?Q.freeze(Z):Z}function Tz0(Z,Q){if(Z===null||typeof Z!=="object")throw TypeError("target is not an object");for(var Y in Q)if(Object.prototype.hasOwnProperty.call(Q,Y))Z[Y]=Q[Y];return Z}var hf=rF({HTML:"text/html",isHTML:function(Z){return Z===hf.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),xf=rF({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(Z){return Z===xf.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});QY.assign=Tz0;QY.find=Pz0;QY.freeze=rF;QY.MIME_TYPE=hf;QY.NAMESPACE=xf});var DA=k((L2)=>{var pf=eJ(),X6=pf.find,Zq=pf.NAMESPACE;function _z0(Z){return Z!==""}function vz0(Z){return Z?Z.split(/[\t\n\f\r ]+/).filter(_z0):[]}function bz0(Z,Q){if(!Z.hasOwnProperty(Q))Z[Q]=!0;return Z}function uf(Z){if(!Z)return[];var Q=vz0(Z);return Object.keys(Q.reduce(bz0,{}))}function kz0(Z){return function(Q){return Z&&Z.indexOf(Q)!==-1}}function Yq(Z,Q){for(var Y in Z)if(Object.prototype.hasOwnProperty.call(Z,Y))Q[Y]=Z[Y]}function $9(Z,Q){var Y=Z.prototype;if(!(Y instanceof Q)){let q=function(){};var J=q;q.prototype=Q.prototype,q=new q,Yq(Y,q),Z.prototype=Y=q}if(Y.constructor!=Z){if(typeof Z!="function")console.error("unknown Class:"+Z);Y.constructor=Z}}var B9={},y7=B9.ELEMENT_NODE=1,JY=B9.ATTRIBUTE_NODE=2,_H=B9.TEXT_NODE=3,nf=B9.CDATA_SECTION_NODE=4,sf=B9.ENTITY_REFERENCE_NODE=5,yz0=B9.ENTITY_NODE=6,af=B9.PROCESSING_INSTRUCTION_NODE=7,rf=B9.COMMENT_NODE=8,of=B9.DOCUMENT_NODE=9,tf=B9.DOCUMENT_TYPE_NODE=10,j4=B9.DOCUMENT_FRAGMENT_NODE=11,hz0=B9.NOTATION_NODE=12,m8={},F8={},RL0=m8.INDEX_SIZE_ERR=(F8[1]="Index size error",1),LL0=m8.DOMSTRING_SIZE_ERR=(F8[2]="DOMString size error",2),U9=m8.HIERARCHY_REQUEST_ERR=(F8[3]="Hierarchy request error",3),ML0=m8.WRONG_DOCUMENT_ERR=(F8[4]="Wrong document",4),jL0=m8.INVALID_CHARACTER_ERR=(F8[5]="Invalid character",5),NL0=m8.NO_DATA_ALLOWED_ERR=(F8[6]="No data allowed",6),SL0=m8.NO_MODIFICATION_ALLOWED_ERR=(F8[7]="No modification allowed",7),ef=m8.NOT_FOUND_ERR=(F8[8]="Not found",8),PL0=m8.NOT_SUPPORTED_ERR=(F8[9]="Not supported",9),ff=m8.INUSE_ATTRIBUTE_ERR=(F8[10]="Attribute in use",10),TL0=m8.INVALID_STATE_ERR=(F8[11]="Invalid state",11),_L0=m8.SYNTAX_ERR=(F8[12]="Syntax error",12),vL0=m8.INVALID_MODIFICATION_ERR=(F8[13]="Invalid modification",13),bL0=m8.NAMESPACE_ERR=(F8[14]="Invalid namespace",14),kL0=m8.INVALID_ACCESS_ERR=(F8[15]="Invalid access",15);function l5(Z,Q){if(Q instanceof Error)var Y=Q;else if(Y=this,Error.call(this,F8[Z]),this.message=F8[Z],Error.captureStackTrace)Error.captureStackTrace(this,l5);if(Y.code=Z,Q)this.message=this.message+": "+Q;return Y}l5.prototype=Error.prototype;Yq(m8,l5);function M4(){}M4.prototype={length:0,item:function(Z){return Z>=0&&Z<this.length?this[Z]:null},toString:function(Z,Q){for(var Y=[],J=0;J<this.length;J++)YY(this[J],Y,Z,Q);return Y.join("")},filter:function(Z){return Array.prototype.filter.call(this,Z)},indexOf:function(Z){return Array.prototype.indexOf.call(this,Z)}};function qY(Z,Q){this._node=Z,this._refresh=Q,eF(this)}function eF(Z){var Q=Z._node._inc||Z._node.ownerDocument._inc;if(Z._inc!==Q){var Y=Z._refresh(Z._node);if(Wg(Z,"length",Y.length),!Z.$$length||Y.length<Z.$$length){for(var J=Y.length;J in Z;J++)if(Object.prototype.hasOwnProperty.call(Z,J))delete Z[J]}Yq(Y,Z),Z._inc=Q}}qY.prototype.item=function(Z){return eF(this),this[Z]||null};$9(qY,M4);function vH(){}function Zg(Z,Q){var Y=Z.length;while(Y--)if(Z[Y]===Q)return Y}function gf(Z,Q,Y,J){if(J)Q[Zg(Q,J)]=Y;else Q[Q.length++]=Y;if(Z){Y.ownerElement=Z;var q=Z.ownerDocument;if(q)J&&Jg(q,Z,J),xz0(q,Z,Y)}}function mf(Z,Q,Y){var J=Zg(Q,Y);if(J>=0){var q=Q.length-1;while(J<q)Q[J]=Q[++J];if(Q.length=q,Z){var K=Z.ownerDocument;if(K)Jg(K,Z,Y),Y.ownerElement=null}}else throw new l5(ef,Error(Z.tagName+"@"+Y))}vH.prototype={length:0,item:M4.prototype.item,getNamedItem:function(Z){var Q=this.length;while(Q--){var Y=this[Q];if(Y.nodeName==Z)return Y}},setNamedItem:function(Z){var Q=Z.ownerElement;if(Q&&Q!=this._ownerElement)throw new l5(ff);var Y=this.getNamedItem(Z.nodeName);return gf(this._ownerElement,this,Z,Y),Y},setNamedItemNS:function(Z){var Q=Z.ownerElement,Y;if(Q&&Q!=this._ownerElement)throw new l5(ff);return Y=this.getNamedItemNS(Z.namespaceURI,Z.localName),gf(this._ownerElement,this,Z,Y),Y},removeNamedItem:function(Z){var Q=this.getNamedItem(Z);return mf(this._ownerElement,this,Q),Q},removeNamedItemNS:function(Z,Q){var Y=this.getNamedItemNS(Z,Q);return mf(this._ownerElement,this,Y),Y},getNamedItemNS:function(Z,Q){var Y=this.length;while(Y--){var J=this[Y];if(J.localName==Q&&J.namespaceURI==Z)return J}return null}};function Qg(){}Qg.prototype={hasFeature:function(Z,Q){return!0},createDocument:function(Z,Q,Y){var J=new Jq;if(J.implementation=this,J.childNodes=new M4,J.doctype=Y||null,Y)J.appendChild(Y);if(Q){var q=J.createElementNS(Z,Q);J.appendChild(q)}return J},createDocumentType:function(Z,Q,Y){var J=new yH;return J.name=Z,J.nodeName=Z,J.publicId=Q||"",J.systemId=Y||"",J}};function z5(){}z5.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(Z,Q){return bH(this,Z,Q)},replaceChild:function(Z,Q){if(bH(this,Z,Q,Kg),Q)this.removeChild(Q)},removeChild:function(Z){return qg(this,Z)},appendChild:function(Z){return this.insertBefore(Z,null)},hasChildNodes:function(){return this.firstChild!=null},cloneNode:function(Z){return tF(this.ownerDocument||this,this,Z)},normalize:function(){var Z=this.firstChild;while(Z){var Q=Z.nextSibling;if(Q&&Q.nodeType==_H&&Z.nodeType==_H)this.removeChild(Q),Z.appendData(Q.data);else Z.normalize(),Z=Q}},isSupported:function(Z,Q){return this.ownerDocument.implementation.hasFeature(Z,Q)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(Z){var Q=this;while(Q){var Y=Q._nsMap;if(Y){for(var J in Y)if(Object.prototype.hasOwnProperty.call(Y,J)&&Y[J]===Z)return J}Q=Q.nodeType==JY?Q.ownerDocument:Q.parentNode}return null},lookupNamespaceURI:function(Z){var Q=this;while(Q){var Y=Q._nsMap;if(Y){if(Object.prototype.hasOwnProperty.call(Y,Z))return Y[Z]}Q=Q.nodeType==JY?Q.ownerDocument:Q.parentNode}return null},isDefaultNamespace:function(Z){var Q=this.lookupPrefix(Z);return Q==null}};function Yg(Z){return Z=="<"&&"&lt;"||Z==">"&&"&gt;"||Z=="&"&&"&amp;"||Z=='"'&&"&quot;"||"&#"+Z.charCodeAt()+";"}Yq(B9,z5);Yq(B9,z5.prototype);function Qq(Z,Q){if(Q(Z))return!0;if(Z=Z.firstChild)do if(Qq(Z,Q))return!0;while(Z=Z.nextSibling)}function Jq(){this.ownerDocument=this}function xz0(Z,Q,Y){Z&&Z._inc++;var J=Y.namespaceURI;if(J===Zq.XMLNS)Q._nsMap[Y.prefix?Y.localName:""]=Y.value}function Jg(Z,Q,Y,J){Z&&Z._inc++;var q=Y.namespaceURI;if(q===Zq.XMLNS)delete Q._nsMap[Y.prefix?Y.localName:""]}function ZA(Z,Q,Y){if(Z&&Z._inc){Z._inc++;var J=Q.childNodes;if(Y)J[J.length++]=Y;else{var q=Q.firstChild,K=0;while(q)J[K++]=q,q=q.nextSibling;J.length=K,delete J[J.length]}}}function qg(Z,Q){var{previousSibling:Y,nextSibling:J}=Q;if(Y)Y.nextSibling=J;else Z.firstChild=J;if(J)J.previousSibling=Y;else Z.lastChild=Y;return Q.parentNode=null,Q.previousSibling=null,Q.nextSibling=null,ZA(Z.ownerDocument,Z),Q}function uz0(Z){return Z&&(Z.nodeType===z5.DOCUMENT_NODE||Z.nodeType===z5.DOCUMENT_FRAGMENT_NODE||Z.nodeType===z5.ELEMENT_NODE)}function fz0(Z){return Z&&(F6(Z)||QA(Z)||N4(Z)||Z.nodeType===z5.DOCUMENT_FRAGMENT_NODE||Z.nodeType===z5.COMMENT_NODE||Z.nodeType===z5.PROCESSING_INSTRUCTION_NODE)}function N4(Z){return Z&&Z.nodeType===z5.DOCUMENT_TYPE_NODE}function F6(Z){return Z&&Z.nodeType===z5.ELEMENT_NODE}function QA(Z){return Z&&Z.nodeType===z5.TEXT_NODE}function cf(Z,Q){var Y=Z.childNodes||[];if(X6(Y,F6)||N4(Q))return!1;var J=X6(Y,N4);return!(Q&&J&&Y.indexOf(J)>Y.indexOf(Q))}function df(Z,Q){var Y=Z.childNodes||[];function J(K){return F6(K)&&K!==Q}if(X6(Y,J))return!1;var q=X6(Y,N4);return!(Q&&q&&Y.indexOf(q)>Y.indexOf(Q))}function gz0(Z,Q,Y){if(!uz0(Z))throw new l5(U9,"Unexpected parent node type "+Z.nodeType);if(Y&&Y.parentNode!==Z)throw new l5(ef,"child not in parent");if(!fz0(Q)||N4(Q)&&Z.nodeType!==z5.DOCUMENT_NODE)throw new l5(U9,"Unexpected node type "+Q.nodeType+" for parent node type "+Z.nodeType)}function mz0(Z,Q,Y){var J=Z.childNodes||[],q=Q.childNodes||[];if(Q.nodeType===z5.DOCUMENT_FRAGMENT_NODE){var K=q.filter(F6);if(K.length>1||X6(q,QA))throw new l5(U9,"More than one element or text in fragment");if(K.length===1&&!cf(Z,Y))throw new l5(U9,"Element in fragment can not be inserted before doctype")}if(F6(Q)){if(!cf(Z,Y))throw new l5(U9,"Only one element can be added and only after doctype")}if(N4(Q)){if(X6(J,N4))throw new l5(U9,"Only one doctype is allowed");var V=X6(J,F6);if(Y&&J.indexOf(V)<J.indexOf(Y))throw new l5(U9,"Doctype can only be inserted before an element");if(!Y&&V)throw new l5(U9,"Doctype can not be appended since element is present")}}function Kg(Z,Q,Y){var J=Z.childNodes||[],q=Q.childNodes||[];if(Q.nodeType===z5.DOCUMENT_FRAGMENT_NODE){var K=q.filter(F6);if(K.length>1||X6(q,QA))throw new l5(U9,"More than one element or text in fragment");if(K.length===1&&!df(Z,Y))throw new l5(U9,"Element in fragment can not be inserted before doctype")}if(F6(Q)){if(!df(Z,Y))throw new l5(U9,"Only one element can be added and only after doctype")}if(N4(Q)){let z=function(H){return N4(H)&&H!==Y};var D=z;if(X6(J,z))throw new l5(U9,"Only one doctype is allowed");var V=X6(J,F6);if(Y&&J.indexOf(V)<J.indexOf(Y))throw new l5(U9,"Doctype can only be inserted before an element")}}function bH(Z,Q,Y,J){if(gz0(Z,Q,Y),Z.nodeType===z5.DOCUMENT_NODE)(J||mz0)(Z,Q,Y);var q=Q.parentNode;if(q)q.removeChild(Q);if(Q.nodeType===j4){var K=Q.firstChild;if(K==null)return Q;var V=Q.lastChild}else K=V=Q;var D=Y?Y.previousSibling:Z.lastChild;if(K.previousSibling=D,V.nextSibling=Y,D)D.nextSibling=K;else Z.firstChild=K;if(Y==null)Z.lastChild=V;else Y.previousSibling=V;do K.parentNode=Z;while(K!==V&&(K=K.nextSibling));if(ZA(Z.ownerDocument||Z,Z),Q.nodeType==j4)Q.firstChild=Q.lastChild=null;return Q}function cz0(Z,Q){if(Q.parentNode)Q.parentNode.removeChild(Q);if(Q.parentNode=Z,Q.previousSibling=Z.lastChild,Q.nextSibling=null,Q.previousSibling)Q.previousSibling.nextSibling=Q;else Z.firstChild=Q;return Z.lastChild=Q,ZA(Z.ownerDocument,Z,Q),Q}Jq.prototype={nodeName:"#document",nodeType:of,doctype:null,documentElement:null,_inc:1,insertBefore:function(Z,Q){if(Z.nodeType==j4){var Y=Z.firstChild;while(Y){var J=Y.nextSibling;this.insertBefore(Y,Q),Y=J}return Z}if(bH(this,Z,Q),Z.ownerDocument=this,this.documentElement===null&&Z.nodeType===y7)this.documentElement=Z;return Z},removeChild:function(Z){if(this.documentElement==Z)this.documentElement=null;return qg(this,Z)},replaceChild:function(Z,Q){if(bH(this,Z,Q,Kg),Z.ownerDocument=this,Q)this.removeChild(Q);if(F6(Z))this.documentElement=Z},importNode:function(Z,Q){return Gg(this,Z,Q)},getElementById:function(Z){var Q=null;return Qq(this.documentElement,function(Y){if(Y.nodeType==y7){if(Y.getAttribute("id")==Z)return Q=Y,!0}}),Q},getElementsByClassName:function(Z){var Q=uf(Z);return new qY(this,function(Y){var J=[];if(Q.length>0)Qq(Y.documentElement,function(q){if(q!==Y&&q.nodeType===y7){var K=q.getAttribute("class");if(K){var V=Z===K;if(!V){var D=uf(K);V=Q.every(kz0(D))}if(V)J.push(q)}}});return J})},createElement:function(Z){var Q=new _Z;Q.ownerDocument=this,Q.nodeName=Z,Q.tagName=Z,Q.localName=Z,Q.childNodes=new M4;var Y=Q.attributes=new vH;return Y._ownerElement=Q,Q},createDocumentFragment:function(){var Z=new hH;return Z.ownerDocument=this,Z.childNodes=new M4,Z},createTextNode:function(Z){var Q=new YA;return Q.ownerDocument=this,Q.appendData(Z),Q},createComment:function(Z){var Q=new JA;return Q.ownerDocument=this,Q.appendData(Z),Q},createCDATASection:function(Z){var Q=new qA;return Q.ownerDocument=this,Q.appendData(Z),Q},createProcessingInstruction:function(Z,Q){var Y=new VA;return Y.ownerDocument=this,Y.tagName=Y.nodeName=Y.target=Z,Y.nodeValue=Y.data=Q,Y},createAttribute:function(Z){var Q=new kH;return Q.ownerDocument=this,Q.name=Z,Q.nodeName=Z,Q.localName=Z,Q.specified=!0,Q},createEntityReference:function(Z){var Q=new KA;return Q.ownerDocument=this,Q.nodeName=Z,Q},createElementNS:function(Z,Q){var Y=new _Z,J=Q.split(":"),q=Y.attributes=new vH;if(Y.childNodes=new M4,Y.ownerDocument=this,Y.nodeName=Q,Y.tagName=Q,Y.namespaceURI=Z,J.length==2)Y.prefix=J[0],Y.localName=J[1];else Y.localName=Q;return q._ownerElement=Y,Y},createAttributeNS:function(Z,Q){var Y=new kH,J=Q.split(":");if(Y.ownerDocument=this,Y.nodeName=Q,Y.name=Q,Y.namespaceURI=Z,Y.specified=!0,J.length==2)Y.prefix=J[0],Y.localName=J[1];else Y.localName=Q;return Y}};$9(Jq,z5);function _Z(){this._nsMap={}}_Z.prototype={nodeType:y7,hasAttribute:function(Z){return this.getAttributeNode(Z)!=null},getAttribute:function(Z){var Q=this.getAttributeNode(Z);return Q&&Q.value||""},getAttributeNode:function(Z){return this.attributes.getNamedItem(Z)},setAttribute:function(Z,Q){var Y=this.ownerDocument.createAttribute(Z);Y.value=Y.nodeValue=""+Q,this.setAttributeNode(Y)},removeAttribute:function(Z){var Q=this.getAttributeNode(Z);Q&&this.removeAttributeNode(Q)},appendChild:function(Z){if(Z.nodeType===j4)return this.insertBefore(Z,null);else return cz0(this,Z)},setAttributeNode:function(Z){return this.attributes.setNamedItem(Z)},setAttributeNodeNS:function(Z){return this.attributes.setNamedItemNS(Z)},removeAttributeNode:function(Z){return this.attributes.removeNamedItem(Z.nodeName)},removeAttributeNS:function(Z,Q){var Y=this.getAttributeNodeNS(Z,Q);Y&&this.removeAttributeNode(Y)},hasAttributeNS:function(Z,Q){return this.getAttributeNodeNS(Z,Q)!=null},getAttributeNS:function(Z,Q){var Y=this.getAttributeNodeNS(Z,Q);return Y&&Y.value||""},setAttributeNS:function(Z,Q,Y){var J=this.ownerDocument.createAttributeNS(Z,Q);J.value=J.nodeValue=""+Y,this.setAttributeNode(J)},getAttributeNodeNS:function(Z,Q){return this.attributes.getNamedItemNS(Z,Q)},getElementsByTagName:function(Z){return new qY(this,function(Q){var Y=[];return Qq(Q,function(J){if(J!==Q&&J.nodeType==y7&&(Z==="*"||J.tagName==Z))Y.push(J)}),Y})},getElementsByTagNameNS:function(Z,Q){return new qY(this,function(Y){var J=[];return Qq(Y,function(q){if(q!==Y&&q.nodeType===y7&&(Z==="*"||q.namespaceURI===Z)&&(Q==="*"||q.localName==Q))J.push(q)}),J})}};Jq.prototype.getElementsByTagName=_Z.prototype.getElementsByTagName;Jq.prototype.getElementsByTagNameNS=_Z.prototype.getElementsByTagNameNS;$9(_Z,z5);function kH(){}kH.prototype.nodeType=JY;$9(kH,z5);function qq(){}qq.prototype={data:"",substringData:function(Z,Q){return this.data.substring(Z,Z+Q)},appendData:function(Z){Z=this.data+Z,this.nodeValue=this.data=Z,this.length=Z.length},insertData:function(Z,Q){this.replaceData(Z,0,Q)},appendChild:function(Z){throw Error(F8[U9])},deleteData:function(Z,Q){this.replaceData(Z,Q,"")},replaceData:function(Z,Q,Y){var J=this.data.substring(0,Z),q=this.data.substring(Z+Q);Y=J+Y+q,this.nodeValue=this.data=Y,this.length=Y.length}};$9(qq,z5);function YA(){}YA.prototype={nodeName:"#text",nodeType:_H,splitText:function(Z){var Q=this.data,Y=Q.substring(Z);Q=Q.substring(0,Z),this.data=this.nodeValue=Q,this.length=Q.length;var J=this.ownerDocument.createTextNode(Y);if(this.parentNode)this.parentNode.insertBefore(J,this.nextSibling);return J}};$9(YA,qq);function JA(){}JA.prototype={nodeName:"#comment",nodeType:rf};$9(JA,qq);function qA(){}qA.prototype={nodeName:"#cdata-section",nodeType:nf};$9(qA,qq);function yH(){}yH.prototype.nodeType=tf;$9(yH,z5);function Vg(){}Vg.prototype.nodeType=hz0;$9(Vg,z5);function Dg(){}Dg.prototype.nodeType=yz0;$9(Dg,z5);function KA(){}KA.prototype.nodeType=sf;$9(KA,z5);function hH(){}hH.prototype.nodeName="#document-fragment";hH.prototype.nodeType=j4;$9(hH,z5);function VA(){}VA.prototype.nodeType=af;$9(VA,z5);function zg(){}zg.prototype.serializeToString=function(Z,Q,Y){return Hg.call(Z,Q,Y)};z5.prototype.toString=Hg;function Hg(Z,Q){var Y=[],J=this.nodeType==9&&this.documentElement||this,q=J.prefix,K=J.namespaceURI;if(K&&q==null){var q=J.lookupPrefix(K);if(q==null)var V=[{namespace:K,prefix:null}]}return YY(this,Y,Z,Q,V),Y.join("")}function lf(Z,Q,Y){var J=Z.prefix||"",q=Z.namespaceURI;if(!q)return!1;if(J==="xml"&&q===Zq.XML||q===Zq.XMLNS)return!1;var K=Y.length;while(K--){var V=Y[K];if(V.prefix===J)return V.namespace!==q}return!0}function oF(Z,Q,Y){Z.push(" ",Q,'="',Y.replace(/[<>&"\t\n\r]/g,Yg),'"')}function YY(Z,Q,Y,J,q){if(!q)q=[];if(J)if(Z=J(Z),Z){if(typeof Z=="string"){Q.push(Z);return}}else return;switch(Z.nodeType){case y7:var K=Z.attributes,V=K.length,E=Z.firstChild,D=Z.tagName;Y=Zq.isHTML(Z.namespaceURI)||Y;var z=D;if(!Y&&!Z.prefix&&Z.namespaceURI){var H;for(var G=0;G<K.length;G++)if(K.item(G).name==="xmlns"){H=K.item(G).value;break}if(!H)for(var W=q.length-1;W>=0;W--){var $=q[W];if($.prefix===""&&$.namespace===Z.namespaceURI){H=$.namespace;break}}if(H!==Z.namespaceURI)for(var W=q.length-1;W>=0;W--){var $=q[W];if($.namespace===Z.namespaceURI){if($.prefix)z=$.prefix+":"+D;break}}}Q.push("<",z);for(var B=0;B<V;B++){var O=K.item(B);if(O.prefix=="xmlns")q.push({prefix:O.localName,namespace:O.value});else if(O.nodeName=="xmlns")q.push({prefix:"",namespace:O.value})}for(var B=0;B<V;B++){var O=K.item(B);if(lf(O,Y,q)){var A=O.prefix||"",w=O.namespaceURI;oF(Q,A?"xmlns:"+A:"xmlns",w),q.push({prefix:A,namespace:w})}YY(O,Q,Y,J,q)}if(D===z&&lf(Z,Y,q)){var A=Z.prefix||"",w=Z.namespaceURI;oF(Q,A?"xmlns:"+A:"xmlns",w),q.push({prefix:A,namespace:w})}if(E||Y&&!/^(?:meta|link|img|br|hr|input)$/i.test(D)){if(Q.push(">"),Y&&/^script$/i.test(D))while(E){if(E.data)Q.push(E.data);else YY(E,Q,Y,J,q.slice());E=E.nextSibling}else while(E)YY(E,Q,Y,J,q.slice()),E=E.nextSibling;Q.push("</",z,">")}else Q.push("/>");return;case of:case j4:var E=Z.firstChild;while(E)YY(E,Q,Y,J,q.slice()),E=E.nextSibling;return;case JY:return oF(Q,Z.name,Z.value);case _H:return Q.push(Z.data.replace(/[<&>]/g,Yg));case nf:return Q.push("<![CDATA[",Z.data,"]]>");case rf:return Q.push("<!--",Z.data,"-->");case tf:var{publicId:S,systemId:X}=Z;if(Q.push("<!DOCTYPE ",Z.name),S){if(Q.push(" PUBLIC ",S),X&&X!=".")Q.push(" ",X);Q.push(">")}else if(X&&X!=".")Q.push(" SYSTEM ",X,">");else{var F=Z.internalSubset;if(F)Q.push(" [",F,"]");Q.push(">")}return;case af:return Q.push("<?",Z.target," ",Z.data,"?>");case sf:return Q.push("&",Z.nodeName,";");default:Q.push("??",Z.nodeName)}}function Gg(Z,Q,Y){var J;switch(Q.nodeType){case y7:J=Q.cloneNode(!1),J.ownerDocument=Z;case j4:break;case JY:Y=!0;break}if(!J)J=Q.cloneNode(!1);if(J.ownerDocument=Z,J.parentNode=null,Y){var q=Q.firstChild;while(q)J.appendChild(Gg(Z,q,Y)),q=q.nextSibling}return J}function tF(Z,Q,Y){var J=new Q.constructor;for(var q in Q)if(Object.prototype.hasOwnProperty.call(Q,q)){var K=Q[q];if(typeof K!="object"){if(K!=J[q])J[q]=K}}if(Q.childNodes)J.childNodes=new M4;switch(J.ownerDocument=Z,J.nodeType){case y7:var V=Q.attributes,D=J.attributes=new vH,z=V.length;D._ownerElement=J;for(var H=0;H<z;H++)J.setAttributeNode(tF(Z,V.item(H),!0));break;case JY:Y=!0}if(Y){var G=Q.firstChild;while(G)J.appendChild(tF(Z,G,Y)),G=G.nextSibling}return J}function Wg(Z,Q,Y){Z[Q]=Y}try{if(Object.defineProperty){let Z=function(Q){switch(Q.nodeType){case y7:case j4:var Y=[];Q=Q.firstChild;while(Q){if(Q.nodeType!==7&&Q.nodeType!==8)Y.push(Z(Q));Q=Q.nextSibling}return Y.join("");default:return Q.nodeValue}};dz0=Z,Object.defineProperty(qY.prototype,"length",{get:function(){return eF(this),this.$$length}}),Object.defineProperty(z5.prototype,"textContent",{get:function(){return Z(this)},set:function(Q){switch(this.nodeType){case y7:case j4:while(this.firstChild)this.removeChild(this.firstChild);if(Q||String(Q))this.appendChild(this.ownerDocument.createTextNode(Q));break;default:this.data=Q,this.value=Q,this.nodeValue=Q}}}),Wg=function(Q,Y,J){Q["$$"+Y]=J}}}catch(Z){}var dz0;L2.DocumentType=yH;L2.DOMException=l5;L2.DOMImplementation=Qg;L2.Element=_Z;L2.Node=z5;L2.NodeList=M4;L2.XMLSerializer=zg});var $g=k((Kq)=>{var Ug=eJ().freeze;Kq.XML_ENTITIES=Ug({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'});Kq.HTML_ENTITIES=Ug({Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"\uD835\uDCB7",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"\uD835\uDD54",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"\uD835\uDCA2",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",Gt:"≫",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"\uD835\uDD25",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"\uD835\uDD59",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"\uD835\uDCBD",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"\uD835\uDD26",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"\uD835\uDCBE",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"ȷ",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"\uD835\uDCC1",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",Lt:"≪",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"∓",Mscr:"ℳ",mscr:"\uD835\uDCC2",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
328
328
  `,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});Kq.entityMap=Kq.HTML_ENTITIES});var Ig=k((HA)=>{var Hq=eJ().NAMESPACE,zA=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Bg=new RegExp("[\\-\\.0-9"+zA.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Og=new RegExp("^"+zA.source+Bg.source+"*(?::"+zA.source+Bg.source+"*)?$"),Vq=0,M2=1,KY=2,Dq=3,VY=4,DY=5,zq=6,xH=7;function zY(Z,Q){if(this.message=Z,this.locator=Q,Error.captureStackTrace)Error.captureStackTrace(this,zY)}zY.prototype=Error();zY.prototype.name=zY.name;function Ag(){}Ag.prototype={parse:function(Z,Q,Y){var J=this.domBuilder;J.startDocument(),wg(Q,Q={}),lz0(Z,Q,Y,J,this.errorHandler),J.endDocument()}};function lz0(Z,Q,Y,J,q){function K(T){if(T>65535){T-=65536;var u=55296+(T>>10),x=56320+(T&1023);return String.fromCharCode(u,x)}else return String.fromCharCode(T)}function V(T){var u=T.slice(1,-1);if(Object.hasOwnProperty.call(Y,u))return Y[u];else if(u.charAt(0)==="#")return K(parseInt(u.substr(1).replace("x","0x")));else return q.error("entity not found:"+T),T}function D(T){if(T>A){var u=Z.substring(A,T).replace(/&#?\w+;/g,V);$&&z(A),J.characters(u,0,T-A),A=T}}function z(T,u){while(T>=G&&(u=W.exec(Z)))H=u.index,G=H+u[0].length,$.lineNumber++;$.columnNumber=T-H+1}var H=0,G=0,W=/.*(?:\r\n?|\n)|.*$/g,$=J.locator,B=[{currentNSMap:Q}],O={},A=0;while(!0){try{var w=Z.indexOf("<",A);if(w<0){if(!Z.substr(A).match(/^\s*$/)){var E=J.doc,S=E.createTextNode(Z.substr(A));E.appendChild(S),J.currentElement=S}return}if(w>A)D(w);switch(Z.charAt(w+1)){case"/":var N=Z.indexOf(">",w+3),X=Z.substring(w+2,N).replace(/[ \t\n\r]+$/g,""),F=B.pop();if(N<0)X=Z.substring(w+2).replace(/[\s<].*/,""),q.error("end tag name: "+X+" is not complete:"+F.tagName),N=w+1+X.length;else if(X.match(/\s</))X=X.replace(/[\s<].*/,""),q.error("end tag name: "+X+" maybe not complete"),N=w+1+X.length;var U=F.localNSMap,I=F.tagName==X,P=I||F.tagName&&F.tagName.toLowerCase()==X.toLowerCase();if(P){if(J.endElement(F.uri,F.localName,X),U){for(var L in U)if(Object.prototype.hasOwnProperty.call(U,L))J.endPrefixMapping(L)}if(!I)q.fatalError("end tag name: "+X+" is not match the current start tagName:"+F.tagName)}else B.push(F);N++;break;case"?":$&&z(w),N=az0(Z,w,J);break;case"!":$&&z(w),N=sz0(Z,w,J,q);break;default:$&&z(w);var R=new Eg,C=B[B.length-1].currentNSMap,N=pz0(Z,w,R,C,V,q),j=R.length;if(!R.closed&&nz0(Z,N,R.tagName,O)){if(R.closed=!0,!Y.nbsp)q.warning("unclosed xml attribute")}if($&&j){var _=Xg($,{});for(var v=0;v<j;v++){var b=R[v];z(b.offset),b.locator=Xg($,{})}if(J.locator=_,Fg(R,J,C))B.push(R);J.locator=$}else if(Fg(R,J,C))B.push(R);if(Hq.isHTML(R.uri)&&!R.closed)N=iz0(Z,N,R.tagName,V,J);else N++}}catch(T){if(T instanceof zY)throw T;q.error("element parse error: "+T),N=-1}if(N>A)A=N;else D(Math.max(w,A)+1)}}function Xg(Z,Q){return Q.lineNumber=Z.lineNumber,Q.columnNumber=Z.columnNumber,Q}function pz0(Z,Q,Y,J,q,K){function V(B,O,A){if(Y.attributeNames.hasOwnProperty(B))K.fatalError("Attribute "+B+" redefined");Y.addValue(B,O.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,q),A)}var D,z,H=++Q,G=Vq;while(!0){var W=Z.charAt(H);switch(W){case"=":if(G===M2)D=Z.slice(Q,H),G=Dq;else if(G===KY)G=Dq;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(G===Dq||G===M2){if(G===M2)K.warning('attribute value must after "="'),D=Z.slice(Q,H);if(Q=H+1,H=Z.indexOf(W,Q),H>0)z=Z.slice(Q,H),V(D,z,Q-1),G=DY;else throw Error("attribute value no end '"+W+"' match")}else if(G==VY)z=Z.slice(Q,H),V(D,z,Q),K.warning('attribute "'+D+'" missed start quot('+W+")!!"),Q=H+1,G=DY;else throw Error('attribute value must after "="');break;case"/":switch(G){case Vq:Y.setTagName(Z.slice(Q,H));case DY:case zq:case xH:G=xH,Y.closed=!0;case VY:case M2:break;case KY:Y.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(K.error("unexpected end of input"),G==Vq)Y.setTagName(Z.slice(Q,H));return H;case">":switch(G){case Vq:Y.setTagName(Z.slice(Q,H));case DY:case zq:case xH:break;case VY:case M2:if(z=Z.slice(Q,H),z.slice(-1)==="/")Y.closed=!0,z=z.slice(0,-1);case KY:if(G===KY)z=D;if(G==VY)K.warning('attribute "'+z+'" missed quot(")!'),V(D,z,Q);else{if(!Hq.isHTML(J[""])||!z.match(/^(?:disabled|checked|selected)$/i))K.warning('attribute "'+z+'" missed value!! "'+z+'" instead!!');V(z,z,Q)}break;case Dq:throw Error("attribute value missed!!")}return H;case"€":W=" ";default:if(W<=" ")switch(G){case Vq:Y.setTagName(Z.slice(Q,H)),G=zq;break;case M2:D=Z.slice(Q,H),G=KY;break;case VY:var z=Z.slice(Q,H);K.warning('attribute "'+z+'" missed quot(")!!'),V(D,z,Q);case DY:G=zq;break}else switch(G){case KY:var $=Y.tagName;if(!Hq.isHTML(J[""])||!D.match(/^(?:disabled|checked|selected)$/i))K.warning('attribute "'+D+'" missed value!! "'+D+'" instead2!!');V(D,D,Q),Q=H,G=M2;break;case DY:K.warning('attribute space is required"'+D+'"!!');case zq:G=M2,Q=H;break;case Dq:G=VY,Q=H;break;case xH:throw Error("elements closed character '/' and '>' must be connected to")}}H++}}function Fg(Z,Q,Y){var J=Z.tagName,q=null,W=Z.length;while(W--){var K=Z[W],V=K.qName,D=K.value,$=V.indexOf(":");if($>0)var z=K.prefix=V.slice(0,$),H=V.slice($+1),G=z==="xmlns"&&H;else H=V,z=null,G=V==="xmlns"&&"";if(K.localName=H,G!==!1){if(q==null)q={},wg(Y,Y={});Y[G]=q[G]=D,K.uri=Hq.XMLNS,Q.startPrefixMapping(G,D)}}var W=Z.length;while(W--){K=Z[W];var z=K.prefix;if(z){if(z==="xml")K.uri=Hq.XML;if(z!=="xmlns")K.uri=Y[z||""]}}var $=J.indexOf(":");if($>0)z=Z.prefix=J.slice(0,$),H=Z.localName=J.slice($+1);else z=null,H=Z.localName=J;var B=Z.uri=Y[z||""];if(Q.startElement(B,H,J,Z),Z.closed){if(Q.endElement(B,H,J),q){for(z in q)if(Object.prototype.hasOwnProperty.call(q,z))Q.endPrefixMapping(z)}}else return Z.currentNSMap=Y,Z.localNSMap=q,!0}function iz0(Z,Q,Y,J,q){if(/^(?:script|textarea)$/i.test(Y)){var K=Z.indexOf("</"+Y+">",Q),V=Z.substring(Q+1,K);if(/[&<]/.test(V)){if(/^script$/i.test(Y))return q.characters(V,0,V.length),K;return V=V.replace(/&#?\w+;/g,J),q.characters(V,0,V.length),K}}return Q+1}function nz0(Z,Q,Y,J){var q=J[Y];if(q==null){if(q=Z.lastIndexOf("</"+Y+">"),q<Q)q=Z.lastIndexOf("</"+Y);J[Y]=q}return q<Q}function wg(Z,Q){for(var Y in Z)if(Object.prototype.hasOwnProperty.call(Z,Y))Q[Y]=Z[Y]}function sz0(Z,Q,Y,J){var q=Z.charAt(Q+2);switch(q){case"-":if(Z.charAt(Q+3)==="-"){var K=Z.indexOf("-->",Q+4);if(K>Q)return Y.comment(Z,Q+4,K-Q-4),K+3;else return J.error("Unclosed comment"),-1}else return-1;default:if(Z.substr(Q+3,6)=="CDATA["){var K=Z.indexOf("]]>",Q+9);return Y.startCDATA(),Y.characters(Z,Q+9,K-Q-9),Y.endCDATA(),K+3}var V=rz0(Z,Q),D=V.length;if(D>1&&/!doctype/i.test(V[0][0])){var z=V[1][0],H=!1,G=!1;if(D>3){if(/^public$/i.test(V[2][0]))H=V[3][0],G=D>4&&V[4][0];else if(/^system$/i.test(V[2][0]))G=V[3][0]}var W=V[D-1];return Y.startDTD(z,H,G),Y.endDTD(),W.index+W[0].length}}return-1}function az0(Z,Q,Y){var J=Z.indexOf("?>",Q);if(J){var q=Z.substring(Q,J).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(q){var K=q[0].length;return Y.processingInstruction(q[1],q[2]),J+2}else return-1}return-1}function Eg(){this.attributeNames={}}Eg.prototype={setTagName:function(Z){if(!Og.test(Z))throw Error("invalid tagName:"+Z);this.tagName=Z},addValue:function(Z,Q,Y){if(!Og.test(Z))throw Error("invalid attribute:"+Z);this.attributeNames[Z]=this.length,this[this.length++]={qName:Z,value:Q,offset:Y}},length:0,getLocalName:function(Z){return this[Z].localName},getLocator:function(Z){return this[Z].locator},getQName:function(Z){return this[Z].qName},getURI:function(Z){return this[Z].uri},getValue:function(Z){return this[Z].value}};function rz0(Z,Q){var Y,J=[],q=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;q.lastIndex=Q,q.exec(Z);while(Y=q.exec(Z))if(J.push(Y),Y[1])return J}HA.XMLReader=Ag;HA.ParseError=zY});var Sg=k((fH)=>{var oz0=eJ(),tz0=DA(),Cg=$g(),Mg=Ig(),ez0=tz0.DOMImplementation,Rg=oz0.NAMESPACE,ZH0=Mg.ParseError,QH0=Mg.XMLReader;function jg(Z){return Z.replace(/\r[\n\u0085]/g,`
329
329
  `).replace(/[\r\u0085\u2028]/g,`
@@ -337,7 +337,7 @@ ${Z}`);throw V.code="ERR_NO_MATCH",V}for(let V of J)q.splice(K+Y,0,V),K++;return
337
337
  `)}function MA(Z,Q){let{contents:Y,start:J,end:q}=NH0(Z,Q);if(J>-1&&q>-1&&J<q)return Y.splice(J,q-J+1),Y.join(`
338
338
  `);return null}function jm(Z,Q,Y){let J=Nm(Z);return`${Y} @generated begin ${Q} - expo prebuild (DO NOT MODIFY) ${J}`}function Nm(Z){return`sync-${Mm().default.createHash("sha1").update(Z).digest("hex")}`}});var mm=k((O9)=>{Object.defineProperty(O9,"__esModule",{value:!0});O9.MATCH_INIT=void 0;O9.addGoogleMapsAppDelegateImport=bm;O9.addGoogleMapsAppDelegateInit=ym;O9.addMapsCocoaPods=xm;O9.getGoogleMapsApiKey=NA;O9.removeGoogleMapsAppDelegateImport=km;O9.removeGoogleMapsAppDelegateInit=hm;O9.removeMapsCocoaPods=um;O9.setGoogleMapsApiKey=vm;O9.withMaps=void 0;function Pm(){let Z=_m(require("path"));return Pm=function(){return Z},Z}function Tm(){let Z=_m(OQ());return Tm=function(){return Z},Z}function sH(){let Z=g5();return sH=function(){return Z},Z}function bZ(){let Z=Sm();return bZ=function(){return Z},Z}function _m(Z){return Z&&Z.__esModule?Z:{default:Z}}var jA=A7()("expo:config-plugins:ios:maps"),_H0=O9.MATCH_INIT=/\bsuper\.application\(\w+?, didFinishLaunchingWithOptions: \w+?\)/g,vH0=(0,sH().createInfoPlistPlugin)(vm,"withGoogleMapsKey"),bH0=(Z)=>{Z=vH0(Z);let Q=NA(Z);return jA("Google Maps API Key:",Q),Z=kH0(Z,{useGoogleMaps:!!Q}),Z=yH0(Z,{apiKey:Q}),Z};O9.withMaps=bH0;function NA(Z){return Z.ios?.config?.googleMapsApiKey??null}function vm(Z,{GMSApiKey:Q,...Y}){let J=NA(Z);if(J===null)return Y;return{...Y,GMSApiKey:J}}function bm(Z){let Q=["#if canImport(GoogleMaps)","import GoogleMaps","#endif"];return(0,bZ().mergeContents)({tag:"react-native-maps-import",src:Z,newSrc:Q.join(`
339
339
  `),anchor:/@UIApplicationMain/,offset:0,comment:"//"})}function km(Z){return(0,bZ().removeContents)({tag:"react-native-maps-import",src:Z})}function ym(Z,Q){let Y=["#if canImport(GoogleMaps)",`GMSServices.provideAPIKey("${Q}")`,"#endif"];return(0,bZ().mergeContents)({tag:"react-native-maps-init",src:Z,newSrc:Y.join(`
340
- `),anchor:_H0,offset:0,comment:"//"})}function hm(Z){return(0,bZ().removeContents)({tag:"react-native-maps-init",src:Z})}function xm(Z){return(0,bZ().mergeContents)({tag:"react-native-maps",src:Z,newSrc:" pod 'react-native-google-maps', path: File.dirname(`node --print \"require.resolve('react-native-maps/package.json')\"`)",anchor:/use_native_modules/,offset:0,comment:"#"})}function um(Z){return(0,bZ().removeContents)({tag:"react-native-maps",src:Z})}function fm(Z){let Q=Tm().default.silent(Z,"react-native-maps/package.json");return Q?Pm().default.dirname(Q):null}function gm(Z){return!0}var kH0=(Z,{useGoogleMaps:Q})=>{return(0,sH().withPodfile)(Z,async(Y)=>{let J=fm(Y.modRequest.projectRoot),q=gm(Y);jA("Is Expo Autolinked:",q),jA("react-native-maps path:",J);let K;if(q&&J&&Q)try{K=xm(Y.modResults.contents)}catch(V){if(V.code==="ERR_NO_MATCH")throw Error("Cannot add react-native-maps to the project's ios/Podfile because it's malformed. Report this with a copy of your project Podfile: https://github.com/expo/expo/issues");throw V}else K=um(Y.modResults.contents);if(K.didMerge||K.didClear)Y.modResults.contents=K.contents;return Y})},yH0=(Z,{apiKey:Q})=>{return(0,sH().withAppDelegate)(Z,(Y)=>{if(!Q||!gm(Y)||!fm(Y.modRequest.projectRoot))return Y.modResults.contents=km(Y.modResults.contents).contents,Y.modResults.contents=hm(Y.modResults.contents).contents,Y;if(Y.modResults.language!=="swift")throw Error(`Cannot setup Google Maps because the project AppDelegate is not a supported language: ${Y.modResults.language}`);try{Y.modResults.contents=bm(Y.modResults.contents).contents,Y.modResults.contents=ym(Y.modResults.contents,Q).contents}catch(J){if(J.code==="ERR_NO_MATCH")throw Error("Cannot add Google Maps to the project's AppDelegate because it's malformed. Report this with a copy of your project AppDelegate: https://github.com/expo/expo/issues");throw J}return Y})}});var im=k((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.getName=rH;V7.setDisplayName=dm;V7.setName=lm;V7.setProductName=pm;V7.withProductName=V7.withName=V7.withDisplayName=void 0;function cm(){let Z=E4();return cm=function(){return Z},Z}function SA(){let Z=j8();return SA=function(){return Z},Z}function aH(){let Z=g5();return aH=function(){return Z},Z}var oL0=V7.withDisplayName=(0,aH().createInfoPlistPluginWithPropertyGuard)(dm,{infoPlistProperty:"CFBundleDisplayName",expoConfigProperty:"name"},"withDisplayName"),tL0=V7.withName=(0,aH().createInfoPlistPluginWithPropertyGuard)(lm,{infoPlistProperty:"CFBundleName",expoConfigProperty:"name"},"withName"),hH0=(Z)=>{return(0,aH().withXcodeProject)(Z,(Q)=>{return Q.modResults=pm(Q,Q.modResults),Q})};V7.withProductName=hH0;function rH(Z){return typeof Z.name==="string"?Z.name:null}function dm(Z,{CFBundleDisplayName:Q,...Y}){let J=null;if(typeof Z==="string")J=Z;else J=rH(Z);if(!J)return Y;return{...Y,CFBundleDisplayName:J}}function lm(Z,{CFBundleName:Q,...Y}){let J=rH(Z);if(!J)return Y;return{...Y,CFBundleName:J}}function pm(Z,Q){let Y=(0,SA().sanitizedName)(rH(Z)??"");if(!Y)return Q;let J=xH0(Y),[,q]=(0,cm().findFirstNativeTarget)(Q);return(0,SA().getBuildConfigurationsForListId)(Q,q.buildConfigurationList).forEach(([,K])=>{K.buildSettings.PRODUCT_NAME=J}),Q}var xH0=(Z)=>{if(!Z.match(/^['"]/))return`"${Z}"`;return Z}});var tm=k((w6)=>{Object.defineProperty(w6,"__esModule",{value:!0});w6.PORTRAIT_ORIENTATIONS=w6.LANDSCAPE_ORIENTATIONS=void 0;w6.getOrientation=rm;w6.setOrientation=om;w6.withOrientation=void 0;function am(){let Z=g5();return am=function(){return Z},Z}var ZM0=w6.withOrientation=(0,am().createInfoPlistPluginWithPropertyGuard)(om,{infoPlistProperty:"UISupportedInterfaceOrientations",expoConfigProperty:"orientation"},"withOrientation");function rm(Z){return Z.orientation??null}var nm=w6.PORTRAIT_ORIENTATIONS=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown"],sm=w6.LANDSCAPE_ORIENTATIONS=["UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function uH0(Z){if(Z==="portrait")return nm;else if(Z==="landscape")return sm;else return[...nm,...sm]}function om(Z,Q){let Y=rm(Z);return{...Q,UISupportedInterfaceOrientations:uH0(Y)}}});var Yc=k((oH)=>{Object.defineProperty(oH,"__esModule",{value:!0});oH.applyPermissions=Qc;oH.createPermissionsPlugin=gH0;function em(){let Z=fH0(A7());return em=function(){return Z},Z}function Zc(){let Z=g5();return Zc=function(){return Z},Z}function fH0(Z){return Z&&Z.__esModule?Z:{default:Z}}var PA=(0,em().default)("expo:config-plugins:ios:permissions");function Qc(Z,Q,Y){let J=Object.entries(Z);if(J.length===0)PA(`No defaults provided: ${JSON.stringify(Q)}`);for(let[q,K]of J)if(Q[q]===!1)PA(`Deleting "${q}"`),delete Y[q];else Y[q]=Q[q]||Y[q]||K,PA(`Setting "${q}" to "${Y[q]}"`);return Y}function gH0(Z,Q){let Y=(J,q)=>(0,Zc().withInfoPlist)(J,async(K)=>{return K.modResults=Qc(Z,q,K.modResults),K});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}});var Vc=k((Oq)=>{Object.defineProperty(Oq,"__esModule",{value:!0});Oq.mergePrivacyInfo=Kc;Oq.setPrivacyInfo=qc;Oq.withPrivacyInfo=mH0;function TA(){let Z=vA(Uq());return TA=function(){return Z},Z}function $Y(){let Z=vA(require("fs"));return $Y=function(){return Z},Z}function Bq(){let Z=vA(require("path"));return Bq=function(){return Z},Z}function _A(){let Z=j8();return _A=function(){return Z},Z}function Jc(){let Z=g5();return Jc=function(){return Z},Z}function vA(Z){return Z&&Z.__esModule?Z:{default:Z}}function mH0(Z){let Q=Z.ios?.privacyManifests;if(!Q)return Z;return(0,Jc().withXcodeProject)(Z,(Y)=>{return qc(Y,Q)})}function qc(Z,Q){let{projectRoot:Y,platformProjectRoot:J}=Z.modRequest,q=(0,_A().getProjectName)(Y),K=Bq().default.join(J,q,"PrivacyInfo.xcprivacy"),V=cH0(K),D=V?TA().default.parse(V):{},z=Kc(D,Q),H=TA().default.build(z);if(dH0(K,H),!Z.modResults.hasFile(K))Z.modResults=(0,_A().addResourceFileToGroup)({filepath:Bq().default.join(q,"PrivacyInfo.xcprivacy"),groupName:q,project:Z.modResults,isBuildFile:!0,verbose:!0});return Z}function cH0(Z){if(!$Y().default.existsSync(Z))return null;return $Y().default.readFileSync(Z,{encoding:"utf8"})}function dH0(Z,Q){if(!$Y().default.existsSync(Bq().default.dirname(Z)))$Y().default.mkdirSync(Bq().default.dirname(Z),{recursive:!0});$Y().default.writeFileSync(Z,Q)}function Kc(Z,Q){let{NSPrivacyAccessedAPITypes:Y=[],NSPrivacyCollectedDataTypes:J=[],NSPrivacyTracking:q=!1,NSPrivacyTrackingDomains:K=[]}=structuredClone(Z);return q=Q.NSPrivacyTracking??Z.NSPrivacyTracking??!1,Q.NSPrivacyAccessedAPITypes?.forEach((V)=>{let D=Y.find((z)=>z.NSPrivacyAccessedAPIType===V.NSPrivacyAccessedAPIType);if(!D)Y.push(V);else D.NSPrivacyAccessedAPITypeReasons=[...new Set(D?.NSPrivacyAccessedAPITypeReasons?.concat(...V.NSPrivacyAccessedAPITypeReasons))]}),Q.NSPrivacyCollectedDataTypes?.forEach((V)=>{let D=J.find((z)=>z.NSPrivacyCollectedDataType===V.NSPrivacyCollectedDataType);if(!D)J.push(V);else D.NSPrivacyCollectedDataTypePurposes=[...new Set(D?.NSPrivacyCollectedDataTypePurposes?.concat(...V.NSPrivacyCollectedDataTypePurposes))]}),K=[...new Set(K.concat(Q.NSPrivacyTrackingDomains??[]))],{NSPrivacyAccessedAPITypes:Y,NSPrivacyCollectedDataTypes:J,NSPrivacyTracking:q,NSPrivacyTrackingDomains:K}}});var Hc=k((kA)=>{Object.defineProperty(kA,"__esModule",{value:!0});kA.setProvisioningProfileForPbxproj=pH0;function Dc(){let Z=lH0(require("fs"));return Dc=function(){return Z},Z}function bA(){let Z=E4();return bA=function(){return Z},Z}function Xq(){let Z=j8();return Xq=function(){return Z},Z}function zc(){let Z=LZ();return zc=function(){return Z},Z}function lH0(Z){return Z&&Z.__esModule?Z:{default:Z}}function pH0(Z,{targetName:Q,profileName:Y,appleTeamId:J,buildConfiguration:q="Release"}){let K=(0,Xq().getPbxproj)(Z),V=Q?(0,bA().findNativeTargetByName)(K,Q):(0,bA().findFirstNativeTarget)(K),[D,z]=V,H=iH0(J);(0,Xq().getBuildConfigurationsForListId)(K,z.buildConfigurationList).filter(([,G])=>(0,zc().trimQuotes)(G.name)===q).forEach(([,G])=>{G.buildSettings.PROVISIONING_PROFILE_SPECIFIER=`"${Y}"`,G.buildSettings.DEVELOPMENT_TEAM=H,G.buildSettings.CODE_SIGN_IDENTITY='"iPhone Distribution"',G.buildSettings.CODE_SIGN_STYLE="Manual"}),Object.entries((0,Xq().getProjectSection)(K)).filter(Xq().isNotComment).forEach(([,G])=>{if(!G.attributes.TargetAttributes[D])G.attributes.TargetAttributes[D]={};G.attributes.TargetAttributes[D].DevelopmentTeam=H,G.attributes.TargetAttributes[D].ProvisioningStyle="Manual"}),Dc().default.writeFileSync(K.filepath,K.writeSync())}var iH0=(Z)=>{if(!Z.match(/^['"]/))return`"${Z}"`;return Z}});var Bc=k((Fq)=>{Object.defineProperty(Fq,"__esModule",{value:!0});Fq.setRequiresFullScreen=$c;Fq.withRequiresFullScreen=void 0;function Gc(){let Z=g5();return Gc=function(){return Z},Z}function Wc(){let Z=B8();return Wc=function(){return Z},Z}var KM0=Fq.withRequiresFullScreen=(0,Gc().createInfoPlistPlugin)($c,"withRequiresFullScreen"),yA="UISupportedInterfaceOrientations~ipad",Uc=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function nH0(Z){return Array.isArray(Z)&&Z.every((Q)=>typeof Q==="string")}function sH0(Z){return Uc.every((Q)=>Z.includes(Q))}function aH0(Z){if(nH0(Z)&&Z.length&&!sH0(Z)){let Q=Z.join(", ");return(0,Wc().addWarningIOS)("ios.requireFullScreen",`iPad multitasking requires all \`${yA}\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${Q}`),Z}return[]}function $c(Z,Q){let Y=!!Z.ios?.requireFullScreen;if((Z.ios?.supportsTablet||Z.ios?.isTabletOnly)&&!Y){let q=aH0(Q[yA]);Q[yA]=[...new Set(q.concat(Uc))]}return{...Q,UIRequiresFullScreen:Y}}});var Ic=k((E6)=>{Object.defineProperty(E6,"__esModule",{value:!0});E6.Config=void 0;E6.setUpdatesConfigAsync=wc;E6.setVersionsConfigAsync=Ec;E6.withUpdatesNativeDebugPodfileProps=E6.withUpdates=void 0;function Oc(){let Z=fF();return Oc=function(){return Z},Z}function Xc(){let Z=g5();return Xc=function(){return Z},Z}function Fc(){let Z=ZH();return Fc=function(){return Z},Z}function D7(){let Z=JH();return D7=function(){return Z},Z}function Ac(){let Z=B8();return Ac=function(){return Z},Z}var A8=E6.Config=function(Z){return Z.ENABLED="EXUpdatesEnabled",Z.CHECK_ON_LAUNCH="EXUpdatesCheckOnLaunch",Z.LAUNCH_WAIT_MS="EXUpdatesLaunchWaitMs",Z.RUNTIME_VERSION="EXUpdatesRuntimeVersion",Z.UPDATE_URL="EXUpdatesURL",Z.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="EXUpdatesRequestHeaders",Z.UPDATES_HAS_EMBEDDED_UPDATE="EXUpdatesHasEmbeddedUpdate",Z.CODE_SIGNING_CERTIFICATE="EXUpdatesCodeSigningCertificate",Z.CODE_SIGNING_METADATA="EXUpdatesCodeSigningMetadata",Z.DISABLE_ANTI_BRICKING_MEASURES="EXUpdatesDisableAntiBrickingMeasures",Z}({}),rH0=(Z)=>{return(0,Fc().withPlugins)(Z,[tH0,oH0])};E6.withUpdates=rH0;var oH0=E6.withUpdatesNativeDebugPodfileProps=(0,Oc().createBuildPodfilePropsConfigPlugin)([{propName:"updatesNativeDebug",propValueGetter:(Z)=>Z?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugPodfileProps"),tH0=(Z)=>{return(0,Xc().withExpoPlist)(Z,async(Q)=>{let Y=Q.modRequest.projectRoot,J=(0,D7().getExpoUpdatesPackageVersion)(Y);return Q.modResults=await wc(Y,Q,Q.modResults,J),Q})};async function wc(Z,Q,Y,J){let q=(0,D7().getUpdatesCheckOnLaunch)(Q,J),K=(0,D7().getUpdatesTimeout)(Q),V=(0,D7().getUpdatesUseEmbeddedUpdate)(Q);if(!V&&K===0&&q!=="ALWAYS")(0,Ac().addWarningIOS)("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');let D={...Y,[A8.ENABLED]:(0,D7().getUpdatesEnabled)(Q),[A8.CHECK_ON_LAUNCH]:q,[A8.LAUNCH_WAIT_MS]:K};if(V)delete D[A8.UPDATES_HAS_EMBEDDED_UPDATE];else D[A8.UPDATES_HAS_EMBEDDED_UPDATE]=!1;let z=(0,D7().getUpdateUrl)(Q);if(z)D[A8.UPDATE_URL]=z;else delete D[A8.UPDATE_URL];let H=(0,D7().getUpdatesCodeSigningCertificate)(Z,Q);if(H)D[A8.CODE_SIGNING_CERTIFICATE]=H;else delete D[A8.CODE_SIGNING_CERTIFICATE];let G=(0,D7().getUpdatesCodeSigningMetadata)(Q);if(G)D[A8.CODE_SIGNING_METADATA]=G;else delete D[A8.CODE_SIGNING_METADATA];let W=(0,D7().getUpdatesRequestHeaders)(Q);if(W)D[A8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY]=W;else delete D[A8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY];let $=(0,D7().getDisableAntiBrickingMeasures)(Q);if($)D[A8.DISABLE_ANTI_BRICKING_MEASURES]=$;else delete D[A8.DISABLE_ANTI_BRICKING_MEASURES];return await Ec(Z,Q,D)}async function Ec(Z,Q,Y){let J={...Y},q=await(0,D7().getRuntimeVersionNullableAsync)(Z,Q,"ios");if(!q&&Y[A8.RUNTIME_VERSION])throw Error("A runtime version is set in your Expo.plist, but is missing from your Expo app config (app.json/app.config.js). Set runtimeVersion in your Expo app config or remove EXUpdatesRuntimeVersion from your Expo.plist.");if(q)delete J.EXUpdatesSDKVersion,J[A8.RUNTIME_VERSION]=q;else delete J.EXUpdatesSDKVersion,delete J[A8.RUNTIME_VERSION];return J}});var Mc=k((BY)=>{Object.defineProperty(BY,"__esModule",{value:!0});BY.getUsesNonExemptEncryption=Rc;BY.setUsesNonExemptEncryption=Lc;BY.withUsesNonExemptEncryption=void 0;function Cc(){let Z=g5();return Cc=function(){return Z},Z}var zM0=BY.withUsesNonExemptEncryption=(0,Cc().createInfoPlistPluginWithPropertyGuard)(Lc,{infoPlistProperty:"ITSAppUsesNonExemptEncryption",expoConfigProperty:"ios.config.usesNonExemptEncryption"},"withUsesNonExemptEncryption");function Rc(Z){return Z?.ios?.config?.usesNonExemptEncryption??null}function Lc(Z,{ITSAppUsesNonExemptEncryption:Q,...Y}){let J=Rc(Z);if(J===null)return Y;return{...Y,ITSAppUsesNonExemptEncryption:J}}});var Pc=k((Aq)=>{Object.defineProperty(Aq,"__esModule",{value:!0});Aq.createBuildSourceFile=Sc;Aq.withBuildSourceFile=void 0;function hA(){let Z=Nc(require("fs"));return hA=function(){return Z},Z}function tH(){let Z=Nc(require("path"));return tH=function(){return Z},Z}function xA(){let Z=j8();return xA=function(){return Z},Z}function jc(){let Z=g5();return jc=function(){return Z},Z}function Nc(Z){return Z&&Z.__esModule?Z:{default:Z}}var eH0=(Z,{filePath:Q,contents:Y,overwrite:J})=>{return(0,jc().withXcodeProject)(Z,(q)=>{let K=(0,xA().getProjectName)(q.modRequest.projectRoot);return q.modResults=Sc({project:q.modResults,nativeProjectRoot:q.modRequest.platformProjectRoot,fileContents:Y,filePath:tH().default.join(K,Q),overwrite:J}),q})};Aq.withBuildSourceFile=eH0;function Sc({project:Z,nativeProjectRoot:Q,filePath:Y,fileContents:J,overwrite:q}){let K=tH().default.join(Q,Y);if(q||!hA().default.existsSync(K))hA().default.writeFileSync(K,J,"utf8");let V=tH().default.dirname(Y);if(!Z.hasFile(Y))Z=(0,xA().addBuildSourceFileToGroup)({filepath:Y,groupName:V,project:Z});return Z}});var fA=k((F1)=>{Object.defineProperty(F1,"__esModule",{value:!0});F1.Entitlements=F1.DeviceFamily=F1.DevelopmentTeam=F1.BundleIdentifier=F1.BuildScheme=F1.BuildProperties=F1.Bitcode=void 0;Object.defineProperty(F1,"ExpoPlist",{enumerable:!0,get:function(){return uA().ExpoPlist}});F1.Google=void 0;Object.defineProperty(F1,"InfoPlist",{enumerable:!0,get:function(){return uA().InfoPlist}});F1.XcodeUtils=F1.XcodeProjectFile=F1.Version=F1.UsesNonExemptEncryption=F1.Updates=F1.Target=F1.Scheme=F1.RequiresFullScreen=F1.ProvisioningProfile=F1.PrivacyInfo=F1.Permissions=F1.Paths=F1.Orientation=F1.Name=F1.Maps=F1.Locales=void 0;function Tc(){let Z=j5(Hu());return Tc=function(){return Z},Z}Object.defineProperty(F1,"Bitcode",{enumerable:!0,get:function(){return Tc()}});function _c(){let Z=j5(fF());return _c=function(){return Z},Z}Object.defineProperty(F1,"BuildProperties",{enumerable:!0,get:function(){return _c()}});function vc(){let Z=j5(jF());return vc=function(){return Z},Z}Object.defineProperty(F1,"BuildScheme",{enumerable:!0,get:function(){return vc()}});function bc(){let Z=j5(mg());return bc=function(){return Z},Z}Object.defineProperty(F1,"BundleIdentifier",{enumerable:!0,get:function(){return bc()}});function kc(){let Z=j5(tg());return kc=function(){return Z},Z}Object.defineProperty(F1,"DevelopmentTeam",{enumerable:!0,get:function(){return kc()}});function yc(){let Z=j5(Vm());return yc=function(){return Z},Z}Object.defineProperty(F1,"DeviceFamily",{enumerable:!0,get:function(){return yc()}});function hc(){let Z=j5($H());return hc=function(){return Z},Z}Object.defineProperty(F1,"Entitlements",{enumerable:!0,get:function(){return hc()}});function xc(){let Z=j5(Fm());return xc=function(){return Z},Z}Object.defineProperty(F1,"Google",{enumerable:!0,get:function(){return xc()}});function uA(){let Z=dK(Am);return uA=function(){return Z},Z}function uc(){let Z=j5(Lm());return uc=function(){return Z},Z}Object.defineProperty(F1,"Locales",{enumerable:!0,get:function(){return uc()}});function fc(){let Z=j5(mm());return fc=function(){return Z},Z}Object.defineProperty(F1,"Maps",{enumerable:!0,get:function(){return fc()}});function gc(){let Z=j5(im());return gc=function(){return Z},Z}Object.defineProperty(F1,"Name",{enumerable:!0,get:function(){return gc()}});function mc(){let Z=j5(tm());return mc=function(){return Z},Z}Object.defineProperty(F1,"Orientation",{enumerable:!0,get:function(){return mc()}});function cc(){let Z=j5(MZ());return cc=function(){return Z},Z}Object.defineProperty(F1,"Paths",{enumerable:!0,get:function(){return cc()}});function dc(){let Z=j5(Yc());return dc=function(){return Z},Z}Object.defineProperty(F1,"Permissions",{enumerable:!0,get:function(){return dc()}});function lc(){let Z=j5(Vc());return lc=function(){return Z},Z}Object.defineProperty(F1,"PrivacyInfo",{enumerable:!0,get:function(){return lc()}});function pc(){let Z=j5(Hc());return pc=function(){return Z},Z}Object.defineProperty(F1,"ProvisioningProfile",{enumerable:!0,get:function(){return pc()}});function ic(){let Z=j5(Bc());return ic=function(){return Z},Z}Object.defineProperty(F1,"RequiresFullScreen",{enumerable:!0,get:function(){return ic()}});function nc(){let Z=j5(wA());return nc=function(){return Z},Z}Object.defineProperty(F1,"Scheme",{enumerable:!0,get:function(){return nc()}});function sc(){let Z=j5(E4());return sc=function(){return Z},Z}Object.defineProperty(F1,"Target",{enumerable:!0,get:function(){return sc()}});function ac(){let Z=j5(Ic());return ac=function(){return Z},Z}Object.defineProperty(F1,"Updates",{enumerable:!0,get:function(){return ac()}});function rc(){let Z=j5(Mc());return rc=function(){return Z},Z}Object.defineProperty(F1,"UsesNonExemptEncryption",{enumerable:!0,get:function(){return rc()}});function oc(){let Z=j5(GF());return oc=function(){return Z},Z}Object.defineProperty(F1,"Version",{enumerable:!0,get:function(){return oc()}});function tc(){let Z=j5(Pc());return tc=function(){return Z},Z}Object.defineProperty(F1,"XcodeProjectFile",{enumerable:!0,get:function(){return tc()}});function ec(){let Z=j5(j8());return ec=function(){return Z},Z}Object.defineProperty(F1,"XcodeUtils",{enumerable:!0,get:function(){return ec()}});function Zd(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Zd=function(J){return J?Y:Q})(Z)}function j5(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Zd(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}});var wq=k((kZ)=>{Object.defineProperty(kZ,"__esModule",{value:!0});kZ.assertModResults=Kd;kZ.createBaseMod=qd;kZ.createPlatformBaseMod=Vd;kZ.provider=YG0;kZ.withGeneratedBaseMods=JG0;function Yd(){let Z=ZG0(A7());return Yd=function(){return Z},Z}function Jd(){let Z=XZ();return Jd=function(){return Z},Z}function ZG0(Z){return Z&&Z.__esModule?Z:{default:Z}}var QG0=(0,Yd().default)("expo:config-plugins:base-mods");function qd({methodName:Z,platform:Q,modName:Y,getFilePath:J,read:q,write:K,isIntrospective:V}){let D=(z,H)=>{let G=H||{};return(0,Jd().withBaseMod)(z,{platform:Q,mod:Y,skipEmptyMod:G.skipEmptyMod??!0,saveToInternal:G.saveToInternal??!1,isProvider:!0,isIntrospective:V,async action({modRequest:{nextMod:W,...$},...B}){try{let O={...B,modRequest:$},A=await J(O,G);QG0(`mods.${Q}.${Y}: file path: ${A||"[skipped]"}`);let w=await q(A,O,G);return O=await W({...O,modResults:w,modRequest:$}),Kd(O,$.platform,$.modName),await K(A,O,G),O}catch(O){throw O.message=`[${Q}.${Y}]: ${Z}: ${O.message}`,O}}})};if(Z)Object.defineProperty(D,"name",{value:Z});return D}function Kd(Z,Q,Y){let J=Z;if(!J||typeof J!=="object"||!J?.mods)throw Error(`Mod \`mods.${Q}.${Y}\` evaluated to an object that is not a valid project config. Instead got: ${JSON.stringify(J)}`);return J}function Qd(Z){return Z.charAt(0).toUpperCase()+Z.slice(1)}function Vd({modName:Z,...Q}){let Y=`with${Qd(Q.platform)}${Qd(Z)}BaseMod`;return qd({methodName:Y,modName:Z,...Q})}function YG0(Z){return Z}function JG0(Z,{platform:Q,providers:Y,...J}){return Object.entries(Y).reduce((q,[K,V])=>{return Vd({platform:Q,modName:K,...V})(q,J)},Z)}});var gA=k((yZ)=>{Object.defineProperty(yZ,"__esModule",{value:!0});yZ.reverseSortString=void 0;yZ.sortObjWithOrder=KG0;yZ.sortObject=qG0;yZ.sortWithOrder=Dd;function qG0(Z,Q){return Object.keys(Z).sort(Q).reduce((Y,J)=>({...Y,[J]:Z[J]}),{})}function KG0(Z,Q){return Dd(Object.keys(Z),Q).reduce((J,q)=>({...J,[q]:Z[q]}),{})}function Dd(Z,Q){let Y=[...new Set(Q.concat(Z))],J=[];while(Y.length){let q=Y.shift(),K=Z.indexOf(q);if(K>-1){let[V]=Z.splice(K,1);J.push(V)}}return J}var VG0=(Z,Q)=>{if(Z<Q)return 1;if(Z>Q)return-1;return 0};yZ.reverseSortString=VG0});var cA=k((Eq)=>{Object.defineProperty(Eq,"__esModule",{value:!0});Eq.getAndroidModFileProviders=Gd;Eq.sortAndroidManifest=Hd;Eq.withAndroidBaseMods=WG0;function zd(){let Z=require("fs");return zd=function(){return Z},Z}function mA(){let Z=DG0(require("path"));return mA=function(){return Z},Z}function t8(){let Z=wq();return t8=function(){return Z},Z}function T5(){let Z=OF();return T5=function(){return Z},Z}function XY(){let Z=OZ();return XY=function(){return Z},Z}function eH(){let Z=gA();return eH=function(){return Z},Z}function DG0(Z){return Z&&Z.__esModule?Z:{default:Z}}var{readFile:zG0,writeFile:OY}=zd().promises;function HG0(Z){return(0,XY().parseXMLAsync)(`
340
+ `),anchor:_H0,offset:0,comment:"//"})}function hm(Z){return(0,bZ().removeContents)({tag:"react-native-maps-init",src:Z})}function xm(Z){return(0,bZ().mergeContents)({tag:"react-native-maps",src:Z,newSrc:" pod 'react-native-google-maps', path: File.dirname(`node --print \"require.resolve('react-native-maps/package.json')\"`)",anchor:/use_native_modules/,offset:0,comment:"#"})}function um(Z){return(0,bZ().removeContents)({tag:"react-native-maps",src:Z})}function fm(Z){let Q=Tm().default.silent(Z,"react-native-maps/package.json");return Q?Pm().default.dirname(Q):null}function gm(Z){return!0}var kH0=(Z,{useGoogleMaps:Q})=>{return(0,sH().withPodfile)(Z,async(Y)=>{let J=fm(Y.modRequest.projectRoot),q=gm(Y);jA("Is Expo Autolinked:",q),jA("react-native-maps path:",J);let K;if(q&&J&&Q)try{K=xm(Y.modResults.contents)}catch(V){if(V.code==="ERR_NO_MATCH")throw Error("Cannot add react-native-maps to the project's ios/Podfile because it's malformed. Report this with a copy of your project Podfile: https://github.com/expo/expo/issues");throw V}else K=um(Y.modResults.contents);if(K.didMerge||K.didClear)Y.modResults.contents=K.contents;return Y})},yH0=(Z,{apiKey:Q})=>{return(0,sH().withAppDelegate)(Z,(Y)=>{if(!Q||!gm(Y)||!fm(Y.modRequest.projectRoot))return Y.modResults.contents=km(Y.modResults.contents).contents,Y.modResults.contents=hm(Y.modResults.contents).contents,Y;if(Y.modResults.language!=="swift")throw Error(`Cannot setup Google Maps because the project AppDelegate is not a supported language: ${Y.modResults.language}`);try{Y.modResults.contents=bm(Y.modResults.contents).contents,Y.modResults.contents=ym(Y.modResults.contents,Q).contents}catch(J){if(J.code==="ERR_NO_MATCH")throw Error("Cannot add Google Maps to the project's AppDelegate because it's malformed. Report this with a copy of your project AppDelegate: https://github.com/expo/expo/issues");throw J}return Y})}});var im=k((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.getName=rH;V7.setDisplayName=dm;V7.setName=lm;V7.setProductName=pm;V7.withProductName=V7.withName=V7.withDisplayName=void 0;function cm(){let Z=E4();return cm=function(){return Z},Z}function SA(){let Z=j8();return SA=function(){return Z},Z}function aH(){let Z=g5();return aH=function(){return Z},Z}var oL0=V7.withDisplayName=(0,aH().createInfoPlistPluginWithPropertyGuard)(dm,{infoPlistProperty:"CFBundleDisplayName",expoConfigProperty:"name"},"withDisplayName"),tL0=V7.withName=(0,aH().createInfoPlistPluginWithPropertyGuard)(lm,{infoPlistProperty:"CFBundleName",expoConfigProperty:"name"},"withName"),hH0=(Z)=>{return(0,aH().withXcodeProject)(Z,(Q)=>{return Q.modResults=pm(Q,Q.modResults),Q})};V7.withProductName=hH0;function rH(Z){return typeof Z.name==="string"?Z.name:null}function dm(Z,{CFBundleDisplayName:Q,...Y}){let J=null;if(typeof Z==="string")J=Z;else J=rH(Z);if(!J)return Y;return{...Y,CFBundleDisplayName:J}}function lm(Z,{CFBundleName:Q,...Y}){let J=rH(Z);if(!J)return Y;return{...Y,CFBundleName:J}}function pm(Z,Q){let Y=(0,SA().sanitizedName)(rH(Z)??"");if(!Y)return Q;let J=xH0(Y),[,q]=(0,cm().findFirstNativeTarget)(Q);return(0,SA().getBuildConfigurationsForListId)(Q,q.buildConfigurationList).forEach(([,K])=>{K.buildSettings.PRODUCT_NAME=J}),Q}var xH0=(Z)=>{if(!Z.match(/^['"]/))return`"${Z}"`;return Z}});var tm=k((w6)=>{Object.defineProperty(w6,"__esModule",{value:!0});w6.PORTRAIT_ORIENTATIONS=w6.LANDSCAPE_ORIENTATIONS=void 0;w6.getOrientation=rm;w6.setOrientation=om;w6.withOrientation=void 0;function am(){let Z=g5();return am=function(){return Z},Z}var ZM0=w6.withOrientation=(0,am().createInfoPlistPluginWithPropertyGuard)(om,{infoPlistProperty:"UISupportedInterfaceOrientations",expoConfigProperty:"orientation"},"withOrientation");function rm(Z){return Z.orientation??null}var nm=w6.PORTRAIT_ORIENTATIONS=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown"],sm=w6.LANDSCAPE_ORIENTATIONS=["UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function uH0(Z){if(Z==="portrait")return nm;else if(Z==="landscape")return sm;else return[...nm,...sm]}function om(Z,Q){let Y=rm(Z);return{...Q,UISupportedInterfaceOrientations:uH0(Y)}}});var Yc=k((oH)=>{Object.defineProperty(oH,"__esModule",{value:!0});oH.applyPermissions=Qc;oH.createPermissionsPlugin=gH0;function em(){let Z=fH0(A7());return em=function(){return Z},Z}function Zc(){let Z=g5();return Zc=function(){return Z},Z}function fH0(Z){return Z&&Z.__esModule?Z:{default:Z}}var PA=(0,em().default)("expo:config-plugins:ios:permissions");function Qc(Z,Q,Y){let J=Object.entries(Z);if(J.length===0)PA(`No defaults provided: ${JSON.stringify(Q)}`);for(let[q,K]of J)if(Q[q]===!1)PA(`Deleting "${q}"`),delete Y[q];else Y[q]=Q[q]||Y[q]||K,PA(`Setting "${q}" to "${Y[q]}"`);return Y}function gH0(Z,Q){let Y=(J,q)=>(0,Zc().withInfoPlist)(J,async(K)=>{return K.modResults=Qc(Z,q,K.modResults),K});if(Q)Object.defineProperty(Y,"name",{value:Q});return Y}});var Vc=k((Oq)=>{Object.defineProperty(Oq,"__esModule",{value:!0});Oq.mergePrivacyInfo=Kc;Oq.setPrivacyInfo=qc;Oq.withPrivacyInfo=mH0;function TA(){let Z=vA(Uq());return TA=function(){return Z},Z}function $Y(){let Z=vA(require("fs"));return $Y=function(){return Z},Z}function Bq(){let Z=vA(require("path"));return Bq=function(){return Z},Z}function _A(){let Z=j8();return _A=function(){return Z},Z}function Jc(){let Z=g5();return Jc=function(){return Z},Z}function vA(Z){return Z&&Z.__esModule?Z:{default:Z}}function mH0(Z){let Q=Z.ios?.privacyManifests;if(!Q)return Z;return(0,Jc().withXcodeProject)(Z,(Y)=>{return qc(Y,Q)})}function qc(Z,Q){let{projectRoot:Y,platformProjectRoot:J}=Z.modRequest,q=(0,_A().getProjectName)(Y),K=Bq().default.join(J,q,"PrivacyInfo.xcprivacy"),V=cH0(K),D=V?TA().default.parse(V):{},z=Kc(D,Q),H=TA().default.build(z);if(dH0(K,H),!Z.modResults.hasFile(K))Z.modResults=(0,_A().addResourceFileToGroup)({filepath:Bq().default.join(q,"PrivacyInfo.xcprivacy"),groupName:q,project:Z.modResults,isBuildFile:!0,verbose:!0});return Z}function cH0(Z){if(!$Y().default.existsSync(Z))return null;return $Y().default.readFileSync(Z,{encoding:"utf8"})}function dH0(Z,Q){if(!$Y().default.existsSync(Bq().default.dirname(Z)))$Y().default.mkdirSync(Bq().default.dirname(Z),{recursive:!0});$Y().default.writeFileSync(Z,Q)}function Kc(Z,Q){let{NSPrivacyAccessedAPITypes:Y=[],NSPrivacyCollectedDataTypes:J=[],NSPrivacyTracking:q=!1,NSPrivacyTrackingDomains:K=[]}=structuredClone(Z);return q=Q.NSPrivacyTracking??Z.NSPrivacyTracking??!1,Q.NSPrivacyAccessedAPITypes?.forEach((V)=>{let D=Y.find((z)=>z.NSPrivacyAccessedAPIType===V.NSPrivacyAccessedAPIType);if(!D)Y.push(V);else D.NSPrivacyAccessedAPITypeReasons=[...new Set(D?.NSPrivacyAccessedAPITypeReasons?.concat(...V.NSPrivacyAccessedAPITypeReasons))]}),Q.NSPrivacyCollectedDataTypes?.forEach((V)=>{let D=J.find((z)=>z.NSPrivacyCollectedDataType===V.NSPrivacyCollectedDataType);if(!D)J.push(V);else D.NSPrivacyCollectedDataTypePurposes=[...new Set(D?.NSPrivacyCollectedDataTypePurposes?.concat(...V.NSPrivacyCollectedDataTypePurposes))]}),K=[...new Set(K.concat(Q.NSPrivacyTrackingDomains??[]))],{NSPrivacyAccessedAPITypes:Y,NSPrivacyCollectedDataTypes:J,NSPrivacyTracking:q,NSPrivacyTrackingDomains:K}}});var Hc=k((kA)=>{Object.defineProperty(kA,"__esModule",{value:!0});kA.setProvisioningProfileForPbxproj=pH0;function Dc(){let Z=lH0(require("fs"));return Dc=function(){return Z},Z}function bA(){let Z=E4();return bA=function(){return Z},Z}function Xq(){let Z=j8();return Xq=function(){return Z},Z}function zc(){let Z=LZ();return zc=function(){return Z},Z}function lH0(Z){return Z&&Z.__esModule?Z:{default:Z}}function pH0(Z,{targetName:Q,profileName:Y,appleTeamId:J,buildConfiguration:q="Release"}){let K=(0,Xq().getPbxproj)(Z),V=Q?(0,bA().findNativeTargetByName)(K,Q):(0,bA().findFirstNativeTarget)(K),[D,z]=V,H=iH0(J);(0,Xq().getBuildConfigurationsForListId)(K,z.buildConfigurationList).filter(([,G])=>(0,zc().trimQuotes)(G.name)===q).forEach(([,G])=>{G.buildSettings.PROVISIONING_PROFILE_SPECIFIER=`"${Y}"`,G.buildSettings.DEVELOPMENT_TEAM=H,G.buildSettings.CODE_SIGN_IDENTITY='"iPhone Distribution"',G.buildSettings.CODE_SIGN_STYLE="Manual"}),Object.entries((0,Xq().getProjectSection)(K)).filter(Xq().isNotComment).forEach(([,G])=>{if(!G.attributes.TargetAttributes[D])G.attributes.TargetAttributes[D]={};G.attributes.TargetAttributes[D].DevelopmentTeam=H,G.attributes.TargetAttributes[D].ProvisioningStyle="Manual"}),Dc().default.writeFileSync(K.filepath,K.writeSync())}var iH0=(Z)=>{if(!Z.match(/^['"]/))return`"${Z}"`;return Z}});var Bc=k((Fq)=>{Object.defineProperty(Fq,"__esModule",{value:!0});Fq.setRequiresFullScreen=$c;Fq.withRequiresFullScreen=void 0;function Gc(){let Z=g5();return Gc=function(){return Z},Z}function Wc(){let Z=B8();return Wc=function(){return Z},Z}var KM0=Fq.withRequiresFullScreen=(0,Gc().createInfoPlistPlugin)($c,"withRequiresFullScreen"),yA="UISupportedInterfaceOrientations~ipad",Uc=["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortraitUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"];function nH0(Z){return Array.isArray(Z)&&Z.every((Q)=>typeof Q==="string")}function sH0(Z){return Uc.every((Q)=>Z.includes(Q))}function aH0(Z){if(nH0(Z)&&Z.length&&!sH0(Z)){let Q=Z.join(", ");return(0,Wc().addWarningIOS)("ios.requireFullScreen",`iPad multitasking requires all \`${yA}\` orientations to be defined in the Info.plist. The Info.plist currently defines values that are incompatible with multitasking, these will be overwritten to prevent submission failure. Existing: ${Q}`),Z}return[]}function $c(Z,Q){let Y=!!Z.ios?.requireFullScreen;if((Z.ios?.supportsTablet||Z.ios?.isTabletOnly)&&!Y){let q=aH0(Q[yA]);Q[yA]=[...new Set(q.concat(Uc))]}return{...Q,UIRequiresFullScreen:Y}}});var Ic=k((E6)=>{Object.defineProperty(E6,"__esModule",{value:!0});E6.Config=void 0;E6.setUpdatesConfigAsync=wc;E6.setVersionsConfigAsync=Ec;E6.withUpdatesNativeDebugPodfileProps=E6.withUpdates=void 0;function Oc(){let Z=fF();return Oc=function(){return Z},Z}function Xc(){let Z=g5();return Xc=function(){return Z},Z}function Fc(){let Z=ZH();return Fc=function(){return Z},Z}function D7(){let Z=JH();return D7=function(){return Z},Z}function Ac(){let Z=B8();return Ac=function(){return Z},Z}var A8=E6.Config=function(Z){return Z.ENABLED="EXUpdatesEnabled",Z.CHECK_ON_LAUNCH="EXUpdatesCheckOnLaunch",Z.LAUNCH_WAIT_MS="EXUpdatesLaunchWaitMs",Z.RUNTIME_VERSION="EXUpdatesRuntimeVersion",Z.UPDATE_URL="EXUpdatesURL",Z.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY="EXUpdatesRequestHeaders",Z.UPDATES_HAS_EMBEDDED_UPDATE="EXUpdatesHasEmbeddedUpdate",Z.CODE_SIGNING_CERTIFICATE="EXUpdatesCodeSigningCertificate",Z.CODE_SIGNING_METADATA="EXUpdatesCodeSigningMetadata",Z.DISABLE_ANTI_BRICKING_MEASURES="EXUpdatesDisableAntiBrickingMeasures",Z}({}),rH0=(Z)=>{return(0,Fc().withPlugins)(Z,[tH0,oH0])};E6.withUpdates=rH0;var oH0=E6.withUpdatesNativeDebugPodfileProps=(0,Oc().createBuildPodfilePropsConfigPlugin)([{propName:"updatesNativeDebug",propValueGetter:(Z)=>Z?.updates?.useNativeDebug===!0?"true":void 0}],"withUpdatesNativeDebugPodfileProps"),tH0=(Z)=>{return(0,Xc().withExpoPlist)(Z,async(Q)=>{let Y=Q.modRequest.projectRoot,J=(0,D7().getExpoUpdatesPackageVersion)(Y);return Q.modResults=await wc(Y,Q,Q.modResults,J),Q})};async function wc(Z,Q,Y,J){let q=(0,D7().getUpdatesCheckOnLaunch)(Q,J),K=(0,D7().getUpdatesTimeout)(Q),V=(0,D7().getUpdatesUseEmbeddedUpdate)(Q);if(!V&&K===0&&q!=="ALWAYS")(0,Ac().addWarningIOS)("updates.useEmbeddedUpdate",'updates.checkOnLaunch should be set to "ON_LOAD" and updates.fallbackToCacheTimeout should be set to a non-zero value when updates.useEmbeddedUpdate is set to false. This is because an update must be fetched on the initial launch, when no embedded update is available.');let D={...Y,[A8.ENABLED]:(0,D7().getUpdatesEnabled)(Q),[A8.CHECK_ON_LAUNCH]:q,[A8.LAUNCH_WAIT_MS]:K};if(V)delete D[A8.UPDATES_HAS_EMBEDDED_UPDATE];else D[A8.UPDATES_HAS_EMBEDDED_UPDATE]=!1;let z=(0,D7().getUpdateUrl)(Q);if(z)D[A8.UPDATE_URL]=z;else delete D[A8.UPDATE_URL];let H=(0,D7().getUpdatesCodeSigningCertificate)(Z,Q);if(H)D[A8.CODE_SIGNING_CERTIFICATE]=H;else delete D[A8.CODE_SIGNING_CERTIFICATE];let G=(0,D7().getUpdatesCodeSigningMetadata)(Q);if(G)D[A8.CODE_SIGNING_METADATA]=G;else delete D[A8.CODE_SIGNING_METADATA];let W=(0,D7().getUpdatesRequestHeaders)(Q);if(W)D[A8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY]=W;else delete D[A8.UPDATES_CONFIGURATION_REQUEST_HEADERS_KEY];let $=(0,D7().getDisableAntiBrickingMeasures)(Q);if($)D[A8.DISABLE_ANTI_BRICKING_MEASURES]=$;else delete D[A8.DISABLE_ANTI_BRICKING_MEASURES];return await Ec(Z,Q,D)}async function Ec(Z,Q,Y){let J={...Y},q=await(0,D7().getRuntimeVersionNullableAsync)(Z,Q,"ios");if(!q&&Y[A8.RUNTIME_VERSION])throw Error("A runtime version is set in your Expo.plist, but is missing from your Expo app config (app.json/app.config.js). Set runtimeVersion in your Expo app config or remove EXUpdatesRuntimeVersion from your Expo.plist.");if(q)delete J.EXUpdatesSDKVersion,J[A8.RUNTIME_VERSION]=q;else delete J.EXUpdatesSDKVersion,delete J[A8.RUNTIME_VERSION];return J}});var Mc=k((BY)=>{Object.defineProperty(BY,"__esModule",{value:!0});BY.getUsesNonExemptEncryption=Rc;BY.setUsesNonExemptEncryption=Lc;BY.withUsesNonExemptEncryption=void 0;function Cc(){let Z=g5();return Cc=function(){return Z},Z}var zM0=BY.withUsesNonExemptEncryption=(0,Cc().createInfoPlistPluginWithPropertyGuard)(Lc,{infoPlistProperty:"ITSAppUsesNonExemptEncryption",expoConfigProperty:"ios.config.usesNonExemptEncryption"},"withUsesNonExemptEncryption");function Rc(Z){return Z?.ios?.config?.usesNonExemptEncryption??null}function Lc(Z,{ITSAppUsesNonExemptEncryption:Q,...Y}){let J=Rc(Z);if(J===null)return Y;return{...Y,ITSAppUsesNonExemptEncryption:J}}});var Pc=k((Aq)=>{Object.defineProperty(Aq,"__esModule",{value:!0});Aq.createBuildSourceFile=Sc;Aq.withBuildSourceFile=void 0;function hA(){let Z=Nc(require("fs"));return hA=function(){return Z},Z}function tH(){let Z=Nc(require("path"));return tH=function(){return Z},Z}function xA(){let Z=j8();return xA=function(){return Z},Z}function jc(){let Z=g5();return jc=function(){return Z},Z}function Nc(Z){return Z&&Z.__esModule?Z:{default:Z}}var eH0=(Z,{filePath:Q,contents:Y,overwrite:J})=>{return(0,jc().withXcodeProject)(Z,(q)=>{let K=(0,xA().getProjectName)(q.modRequest.projectRoot);return q.modResults=Sc({project:q.modResults,nativeProjectRoot:q.modRequest.platformProjectRoot,fileContents:Y,filePath:tH().default.join(K,Q),overwrite:J}),q})};Aq.withBuildSourceFile=eH0;function Sc({project:Z,nativeProjectRoot:Q,filePath:Y,fileContents:J,overwrite:q}){let K=tH().default.join(Q,Y);if(q||!hA().default.existsSync(K))hA().default.writeFileSync(K,J,"utf8");let V=tH().default.dirname(Y);if(!Z.hasFile(Y))Z=(0,xA().addBuildSourceFileToGroup)({filepath:Y,groupName:V,project:Z});return Z}});var fA=k((F1)=>{Object.defineProperty(F1,"__esModule",{value:!0});F1.Entitlements=F1.DeviceFamily=F1.DevelopmentTeam=F1.BundleIdentifier=F1.BuildScheme=F1.BuildProperties=F1.Bitcode=void 0;Object.defineProperty(F1,"ExpoPlist",{enumerable:!0,get:function(){return uA().ExpoPlist}});F1.Google=void 0;Object.defineProperty(F1,"InfoPlist",{enumerable:!0,get:function(){return uA().InfoPlist}});F1.XcodeUtils=F1.XcodeProjectFile=F1.Version=F1.UsesNonExemptEncryption=F1.Updates=F1.Target=F1.Scheme=F1.RequiresFullScreen=F1.ProvisioningProfile=F1.PrivacyInfo=F1.Permissions=F1.Paths=F1.Orientation=F1.Name=F1.Maps=F1.Locales=void 0;function Tc(){let Z=N5(Hu());return Tc=function(){return Z},Z}Object.defineProperty(F1,"Bitcode",{enumerable:!0,get:function(){return Tc()}});function _c(){let Z=N5(fF());return _c=function(){return Z},Z}Object.defineProperty(F1,"BuildProperties",{enumerable:!0,get:function(){return _c()}});function vc(){let Z=N5(jF());return vc=function(){return Z},Z}Object.defineProperty(F1,"BuildScheme",{enumerable:!0,get:function(){return vc()}});function bc(){let Z=N5(mg());return bc=function(){return Z},Z}Object.defineProperty(F1,"BundleIdentifier",{enumerable:!0,get:function(){return bc()}});function kc(){let Z=N5(tg());return kc=function(){return Z},Z}Object.defineProperty(F1,"DevelopmentTeam",{enumerable:!0,get:function(){return kc()}});function yc(){let Z=N5(Vm());return yc=function(){return Z},Z}Object.defineProperty(F1,"DeviceFamily",{enumerable:!0,get:function(){return yc()}});function hc(){let Z=N5($H());return hc=function(){return Z},Z}Object.defineProperty(F1,"Entitlements",{enumerable:!0,get:function(){return hc()}});function xc(){let Z=N5(Fm());return xc=function(){return Z},Z}Object.defineProperty(F1,"Google",{enumerable:!0,get:function(){return xc()}});function uA(){let Z=dK(Am);return uA=function(){return Z},Z}function uc(){let Z=N5(Lm());return uc=function(){return Z},Z}Object.defineProperty(F1,"Locales",{enumerable:!0,get:function(){return uc()}});function fc(){let Z=N5(mm());return fc=function(){return Z},Z}Object.defineProperty(F1,"Maps",{enumerable:!0,get:function(){return fc()}});function gc(){let Z=N5(im());return gc=function(){return Z},Z}Object.defineProperty(F1,"Name",{enumerable:!0,get:function(){return gc()}});function mc(){let Z=N5(tm());return mc=function(){return Z},Z}Object.defineProperty(F1,"Orientation",{enumerable:!0,get:function(){return mc()}});function cc(){let Z=N5(MZ());return cc=function(){return Z},Z}Object.defineProperty(F1,"Paths",{enumerable:!0,get:function(){return cc()}});function dc(){let Z=N5(Yc());return dc=function(){return Z},Z}Object.defineProperty(F1,"Permissions",{enumerable:!0,get:function(){return dc()}});function lc(){let Z=N5(Vc());return lc=function(){return Z},Z}Object.defineProperty(F1,"PrivacyInfo",{enumerable:!0,get:function(){return lc()}});function pc(){let Z=N5(Hc());return pc=function(){return Z},Z}Object.defineProperty(F1,"ProvisioningProfile",{enumerable:!0,get:function(){return pc()}});function ic(){let Z=N5(Bc());return ic=function(){return Z},Z}Object.defineProperty(F1,"RequiresFullScreen",{enumerable:!0,get:function(){return ic()}});function nc(){let Z=N5(wA());return nc=function(){return Z},Z}Object.defineProperty(F1,"Scheme",{enumerable:!0,get:function(){return nc()}});function sc(){let Z=N5(E4());return sc=function(){return Z},Z}Object.defineProperty(F1,"Target",{enumerable:!0,get:function(){return sc()}});function ac(){let Z=N5(Ic());return ac=function(){return Z},Z}Object.defineProperty(F1,"Updates",{enumerable:!0,get:function(){return ac()}});function rc(){let Z=N5(Mc());return rc=function(){return Z},Z}Object.defineProperty(F1,"UsesNonExemptEncryption",{enumerable:!0,get:function(){return rc()}});function oc(){let Z=N5(GF());return oc=function(){return Z},Z}Object.defineProperty(F1,"Version",{enumerable:!0,get:function(){return oc()}});function tc(){let Z=N5(Pc());return tc=function(){return Z},Z}Object.defineProperty(F1,"XcodeProjectFile",{enumerable:!0,get:function(){return tc()}});function ec(){let Z=N5(j8());return ec=function(){return Z},Z}Object.defineProperty(F1,"XcodeUtils",{enumerable:!0,get:function(){return ec()}});function Zd(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Zd=function(J){return J?Y:Q})(Z)}function N5(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Zd(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}});var wq=k((kZ)=>{Object.defineProperty(kZ,"__esModule",{value:!0});kZ.assertModResults=Kd;kZ.createBaseMod=qd;kZ.createPlatformBaseMod=Vd;kZ.provider=YG0;kZ.withGeneratedBaseMods=JG0;function Yd(){let Z=ZG0(A7());return Yd=function(){return Z},Z}function Jd(){let Z=XZ();return Jd=function(){return Z},Z}function ZG0(Z){return Z&&Z.__esModule?Z:{default:Z}}var QG0=(0,Yd().default)("expo:config-plugins:base-mods");function qd({methodName:Z,platform:Q,modName:Y,getFilePath:J,read:q,write:K,isIntrospective:V}){let D=(z,H)=>{let G=H||{};return(0,Jd().withBaseMod)(z,{platform:Q,mod:Y,skipEmptyMod:G.skipEmptyMod??!0,saveToInternal:G.saveToInternal??!1,isProvider:!0,isIntrospective:V,async action({modRequest:{nextMod:W,...$},...B}){try{let O={...B,modRequest:$},A=await J(O,G);QG0(`mods.${Q}.${Y}: file path: ${A||"[skipped]"}`);let w=await q(A,O,G);return O=await W({...O,modResults:w,modRequest:$}),Kd(O,$.platform,$.modName),await K(A,O,G),O}catch(O){throw O.message=`[${Q}.${Y}]: ${Z}: ${O.message}`,O}}})};if(Z)Object.defineProperty(D,"name",{value:Z});return D}function Kd(Z,Q,Y){let J=Z;if(!J||typeof J!=="object"||!J?.mods)throw Error(`Mod \`mods.${Q}.${Y}\` evaluated to an object that is not a valid project config. Instead got: ${JSON.stringify(J)}`);return J}function Qd(Z){return Z.charAt(0).toUpperCase()+Z.slice(1)}function Vd({modName:Z,...Q}){let Y=`with${Qd(Q.platform)}${Qd(Z)}BaseMod`;return qd({methodName:Y,modName:Z,...Q})}function YG0(Z){return Z}function JG0(Z,{platform:Q,providers:Y,...J}){return Object.entries(Y).reduce((q,[K,V])=>{return Vd({platform:Q,modName:K,...V})(q,J)},Z)}});var gA=k((yZ)=>{Object.defineProperty(yZ,"__esModule",{value:!0});yZ.reverseSortString=void 0;yZ.sortObjWithOrder=KG0;yZ.sortObject=qG0;yZ.sortWithOrder=Dd;function qG0(Z,Q){return Object.keys(Z).sort(Q).reduce((Y,J)=>({...Y,[J]:Z[J]}),{})}function KG0(Z,Q){return Dd(Object.keys(Z),Q).reduce((J,q)=>({...J,[q]:Z[q]}),{})}function Dd(Z,Q){let Y=[...new Set(Q.concat(Z))],J=[];while(Y.length){let q=Y.shift(),K=Z.indexOf(q);if(K>-1){let[V]=Z.splice(K,1);J.push(V)}}return J}var VG0=(Z,Q)=>{if(Z<Q)return 1;if(Z>Q)return-1;return 0};yZ.reverseSortString=VG0});var cA=k((Eq)=>{Object.defineProperty(Eq,"__esModule",{value:!0});Eq.getAndroidModFileProviders=Gd;Eq.sortAndroidManifest=Hd;Eq.withAndroidBaseMods=WG0;function zd(){let Z=require("fs");return zd=function(){return Z},Z}function mA(){let Z=DG0(require("path"));return mA=function(){return Z},Z}function t8(){let Z=wq();return t8=function(){return Z},Z}function _5(){let Z=OF();return _5=function(){return Z},Z}function XY(){let Z=OZ();return XY=function(){return Z},Z}function eH(){let Z=gA();return eH=function(){return Z},Z}function DG0(Z){return Z&&Z.__esModule?Z:{default:Z}}var{readFile:zG0,writeFile:OY}=zd().promises;function HG0(Z){return(0,XY().parseXMLAsync)(`
341
341
  <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="${Z.android?.package??"com.placeholder.appid"}">
342
342
 
343
343
  <uses-permission android:name="android.permission.INTERNET"/>
@@ -367,7 +367,7 @@ ${Z}`);throw V.code="ERR_NO_MATCH",V}for(let V of J)q.splice(K+Y,0,V),K++;return
367
367
  </activity>
368
368
  </application>
369
369
  </manifest>
370
- `)}function Hd(Z){if(Z.manifest){if(Z.manifest=(0,eH().sortObject)(Z.manifest,eH().reverseSortString),Array.isArray(Z.manifest["uses-permission"]))Z.manifest["uses-permission"].sort((Q,Y)=>{if(Q.$["android:name"]<Y.$["android:name"])return-1;if(Q.$["android:name"]>Y.$["android:name"])return 1;return 0});if(Array.isArray(Z.manifest.application))Z.manifest.application=Z.manifest.application.map((Q)=>{if(Q=(0,eH().sortObjWithOrder)(Q,["meta-data","service","activity"]),Array.isArray(Q["meta-data"]))Q["meta-data"].sort((Y,J)=>{if(Y.$["android:name"]<J.$["android:name"])return-1;if(Y.$["android:name"]>J.$["android:name"])return 1;return 0});return Q})}return Z}var GG0={dangerous:(0,t8().provider)({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),finalized:(0,t8().provider)({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),manifest:(0,t8().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return mA().default.join(Z,"app/src/main/AndroidManifest.xml")},async read(Z,Q){try{return await T5().Manifest.readAndroidManifestAsync(Z)}catch(Y){if(!Q.modRequest.introspect)throw Y}return await HG0(Q)},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await T5().Manifest.writeAndroidManifestAsync(Z,Hd(Q))}}),gradleProperties:(0,t8().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return mA().default.join(Z,"gradle.properties")},async read(Z,Q){try{return await T5().Properties.parsePropertiesFile(await zG0(Z,"utf8"))}catch(Y){if(!Q.modRequest.introspect)throw Y}return[]},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await OY(Z,T5().Properties.propertiesListToString(Q))}}),strings:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await T5().Strings.getProjectStringsXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){try{return await T5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q.modRequest.introspect)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),colors:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await T5().Colors.getProjectColorsXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,{modRequest:{introspect:Q}}){try{return await T5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),colorsNight:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await T5().Colors.getProjectColorsXMLPathAsync(Z,{kind:"values-night"})}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){try{return await T5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q.modRequest.introspect)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),styles:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await T5().Styles.getProjectStylesXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){let Y={resources:{}};try{Y=await T5().Resources.readResourcesXMLAsync({path:Z,fallback:'<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>'})}catch(J){if(!Q.modRequest.introspect)throw J}if(!Y.resources.$)Y.resources.$={};if(!Y.resources.$?.["xmlns:tools"])Y.resources.$["xmlns:tools"]="http://schemas.android.com/tools";return Y},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),projectBuildGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return T5().Paths.getProjectBuildGradleFilePath(Z)},async read(Z){return T5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),settingsGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return T5().Paths.getSettingsGradleFilePath(Z)},async read(Z){return T5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),appBuildGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return T5().Paths.getAppBuildGradleFilePath(Z)},async read(Z){return T5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),mainActivity:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return T5().Paths.getProjectFilePath(Z,"MainActivity")},async read(Z){return T5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),mainApplication:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return T5().Paths.getProjectFilePath(Z,"MainApplication")},async read(Z){return T5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}})};function WG0(Z,{providers:Q,...Y}={}){return(0,t8().withGeneratedBaseMods)(Z,{...Y,platform:"android",providers:Q??Gd()})}function Gd(){return GG0}});var $d=k((dA)=>{Object.defineProperty(dA,"__esModule",{value:!0});dA.getInfoPlistPathFromPbxproj=UG0;function Wd(){let Z=j8();return Wd=function(){return Z},Z}function Ud(){let Z=E4();return Ud=function(){return Z},Z}function UG0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let J=(0,Wd().resolvePathOrProject)(Z);if(!J)return null;let q=(0,Ud().getXCBuildConfigurationFromPbxproj)(J,{targetName:Q,buildConfiguration:Y});if(!q)return null;return $G0(q.buildSettings.INFOPLIST_FILE)}function $G0(Z){return Z?.replace(/"/g,"").replace("$(SRCROOT)","")??null}});var aA=k((QG)=>{Object.defineProperty(QG,"__esModule",{value:!0});QG.getIosModFileProviders=Id;QG.withIosBaseMods=FG0;function pA(){let Z=Cq(zQ());return pA=function(){return Z},Z}function hZ(){let Z=Cq(Uq());return hZ=function(){return Z},Z}function iA(){let Z=Cq(require("assert"));return iA=function(){return Z},Z}function sA(){let Z=BG0(require("fs"));return sA=function(){return Z},Z}function Iq(){let Z=Cq(require("path"));return Iq=function(){return Z},Z}function Od(){let Z=Cq(tQ());return Od=function(){return Z},Z}function u7(){let Z=wq();return u7=function(){return Z},Z}function N2(){let Z=fA();return N2=function(){return Z},Z}function Xd(){let Z=$H();return Xd=function(){return Z},Z}function Fd(){let Z=j8();return Fd=function(){return Z},Z}function Ad(){let Z=$d();return Ad=function(){return Z},Z}function wd(){let Z=CJ();return wd=function(){return Z},Z}function ZG(){let Z=gA();return ZG=function(){return Z},Z}function nA(){let Z=B8();return nA=function(){return Z},Z}function Ed(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Ed=function(J){return J?Y:Q})(Z)}function BG0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Ed(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function Cq(Z){return Z&&Z.__esModule?Z:{default:Z}}var{readFile:lA,writeFile:FY}=sA().promises;function Bd(){return{}}function OG0(){return{CFBundleDevelopmentRegion:"$(DEVELOPMENT_LANGUAGE)",CFBundleExecutable:"$(EXECUTABLE_NAME)",CFBundleIdentifier:"$(PRODUCT_BUNDLE_IDENTIFIER)",CFBundleName:"$(PRODUCT_NAME)",CFBundlePackageType:"$(PRODUCT_BUNDLE_PACKAGE_TYPE)",CFBundleInfoDictionaryVersion:"6.0",CFBundleSignature:"????",LSMinimumSystemVersion:"12.0",LSRequiresIPhoneOS:!0,NSAppTransportSecurity:{NSAllowsArbitraryLoads:!0,NSExceptionDomains:{localhost:{NSExceptionAllowsInsecureHTTPLoads:!0}}},UILaunchStoryboardName:"SplashScreen",UIRequiredDeviceCapabilities:["armv7"],UIViewControllerBasedStatusBarAppearance:!1,UIStatusBarStyle:"UIStatusBarStyleDefault",CADisableMinimumFrameDurationOnPhone:!0}}var XG0={dangerous:(0,u7().provider)({getFilePath(){return""},async read(){return{}},async write(){}}),finalized:(0,u7().provider)({getFilePath(){return""},async read(){return{}},async write(){}}),appDelegate:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getAppDelegateFilePath(Z)},async read(Z){return N2().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await FY(Z,Q)}}),expoPlist:(0,u7().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z,projectName:Q}}){let Y=Iq().default.join(Z,Q,"Supporting");return Iq().default.resolve(Y,"Expo.plist")},async read(Z,{modRequest:{introspect:Q}}){try{return hZ().default.parse(await lA(Z,"utf8"))}catch(Y){if(Q)return{};throw Y}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q)))}}),xcodeproj:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getPBXProjectPath(Z)},async read(Z){let Q=Od().default.project(Z);return Q.parseSync(),Q},async write(Z,{modResults:Q}){await FY(Z,Q.writeSync())}}),infoPlist:(0,u7().provider)({isIntrospective:!0,async getFilePath(Z){let Q=null;try{Q=(0,Fd().getPbxproj)(Z.modRequest.projectRoot)}catch{}if(Q){let Y=(0,Ad().getInfoPlistPathFromPbxproj)(Q);if(Y){let J=Iq().default.join(Z.modRequest.platformProjectRoot,Y);if((0,wd().fileExists)(J))return J;(0,nA().addWarningIOS)("mods.ios.infoPlist",`Info.plist file linked to Xcode project does not exist: ${J}`)}else(0,nA().addWarningIOS)("mods.ios.infoPlist","Failed to find Info.plist linked to Xcode project.")}try{return await N2().Paths.getInfoPlistPath(Z.modRequest.projectRoot)}catch(Y){if(Z.modRequest.introspect)return"";throw Y}},async read(Z,Q){if(!Q.ios)Q.ios={};if(!Q.ios.infoPlist)Q.ios.infoPlist={};let Y;try{let J=await lA(Z,"utf8");(0,iA().default)(J,"Info.plist is empty"),Y=hZ().default.parse(J)}catch(J){if(!Q.modRequest.introspect)throw J;Y=OG0()}return Q.ios.infoPlist={...Y||{},...Q.ios.infoPlist},Q.ios.infoPlist},async write(Z,Q){if(!Q.ios)Q.ios={};if(Q.ios.infoPlist=Q.modResults,Q.modRequest.introspect)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q.modResults)))}}),entitlements:(0,u7().provider)({isIntrospective:!0,async getFilePath(Z){try{return(0,Xd().ensureApplicationTargetEntitlementsFileConfigured)(Z.modRequest.projectRoot),N2().Entitlements.getEntitlementsPath(Z.modRequest.projectRoot)??""}catch(Q){if(Z.modRequest.introspect)return"";throw Q}},async read(Z,Q){let Y;try{if(!Q.modRequest.ignoreExistingNativeFiles&&sA().default.existsSync(Z)){let J=await lA(Z,"utf8");(0,iA().default)(J,"Entitlements plist is empty"),Y=hZ().default.parse(J)}else Y=Bd()}catch(J){if(!Q.modRequest.introspect)throw J;Y=Bd()}if(!Q.ios)Q.ios={};if(!Q.ios.entitlements)Q.ios.entitlements={};return Q.ios.entitlements={...Y||{},...Q.ios.entitlements},Q.ios.entitlements},async write(Z,Q){if(!Q.ios)Q.ios={};if(Q.ios.entitlements=Q.modResults,Q.modRequest.introspect)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q.modResults)))}}),podfile:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getPodfilePath(Z)},async read(Z){return N2().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await FY(Z,Q)}}),podfileProperties:(0,u7().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return Iq().default.resolve(Z,"Podfile.properties.json")},async read(Z){let Q={};try{Q=await pA().default.readAsync(Z)}catch{}return Q},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await pA().default.writeAsync(Z,Q)}})};function FG0(Z,{providers:Q,...Y}={}){return(0,u7().withGeneratedBaseMods)(Z,{...Y,platform:"ios",providers:Q??Id()})}function Id(){return XG0}});var rA=k((YG)=>{Object.defineProperty(YG,"__esModule",{value:!0});YG.addHistoryItem=wG0;YG.getHistoryItem=AG0;function AG0(Z,Q){return Z._internal?.pluginHistory?.[Q]??null}function wG0(Z,Q){if(!Z._internal)Z._internal={};if(!Z._internal.pluginHistory)Z._internal.pluginHistory={};if(!Q.version)Q.version="UNVERSIONED";return Z._internal.pluginHistory[Q.name]=Q,Z}});var Ld=k((AY)=>{Object.defineProperty(AY,"__esModule",{value:!0});Object.defineProperty(AY,"AndroidManifest",{enumerable:!0,get:function(){return Rd().AndroidManifest}});Object.defineProperty(AY,"ExpoPlist",{enumerable:!0,get:function(){return oA().ExpoPlist}});Object.defineProperty(AY,"InfoPlist",{enumerable:!0,get:function(){return oA().InfoPlist}});Object.defineProperty(AY,"XcodeProject",{enumerable:!0,get:function(){return Cd().XcodeProject}});function Cd(){let Z=tQ();return Cd=function(){return Z},Z}function Rd(){let Z=H6();return Rd=function(){return Z},Z}function oA(){let Z=dK(Am);return oA=function(){return Z},Z}});var jd=k((Rq)=>{Object.defineProperty(Rq,"__esModule",{value:!0});Rq.createRunOncePlugin=EG0;Rq.withRunOnce=void 0;function tA(){let Z=rA();return tA=function(){return Z},Z}var Md=(Z,{plugin:Q,name:Y,version:J})=>{if((0,tA().getHistoryItem)(Z,Y))return Z;return Z=(0,tA().addHistoryItem)(Z,{name:Y,version:J}),Q(Z)};Rq.withRunOnce=Md;function EG0(Z,Q,Y){return(J,q)=>{return Md(J,{plugin:(K)=>Z(K,q),name:Q,version:Y})}}});var Sd=k((JG)=>{Object.defineProperty(JG,"__esModule",{value:!0});JG.withFinalizedMod=void 0;function Nd(){let Z=XZ();return Nd=function(){return Z},Z}var IG0=(Z,[Q,Y])=>{return(0,Nd().withMod)(Z,{platform:Q,mod:"finalized",action:Y})};JG.withFinalizedMod=IG0});var md=k((xZ)=>{Object.defineProperty(xZ,"__esModule",{value:!0});xZ.compileModsAsync=RG0;xZ.evalModsAsync=gd;xZ.sortMods=fd;xZ.withDefaultBaseMods=xd;xZ.withIntrospectionBaseMods=ud;function Pd(){let Z=hd(A7());return Pd=function(){return Z},Z}function Td(){let Z=hd(require("path"));return Td=function(){return Z},Z}function _d(){let Z=wq();return _d=function(){return Z},Z}function Zw(){let Z=cA();return Zw=function(){return Z},Z}function Qw(){let Z=aA();return Qw=function(){return Z},Z}function vd(){let Z=j8();return vd=function(){return Z},Z}function bd(){let Z=W2();return bd=function(){return Z},Z}function kd(){let Z=CG0(B8());return kd=function(){return Z},Z}function yd(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(yd=function(J){return J?Y:Q})(Z)}function CG0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=yd(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function hd(Z){return Z&&Z.__esModule?Z:{default:Z}}var eA=(0,Pd().default)("expo:config-plugins:mod-compiler");function xd(Z,Q={}){return Z=(0,Qw().withIosBaseMods)(Z,Q),Z=(0,Zw().withAndroidBaseMods)(Z,Q),Z}function ud(Z,Q={}){if(Z=(0,Qw().withIosBaseMods)(Z,{saveToInternal:!0,skipEmptyMod:!1,...Q}),Z=(0,Zw().withAndroidBaseMods)(Z,{saveToInternal:!0,skipEmptyMod:!1,...Q}),Z.mods){for(let Y of Object.keys(Z.mods))for(let J of Object.keys(Z.mods[Y]||{}))if(!Z.mods[Y]?.[J]?.isIntrospective)eA(`removing non-idempotent mod: ${Y}.${J}`),delete Z.mods[Y]?.[J]}return Z}async function RG0(Z,Q){if(Q.introspect===!0)Z=ud(Z);else Z=xd(Z);return await gd(Z,Q)}function fd(Z,Q){let Y=new Set;return Z.filter(([q])=>{let K=Y.has(q);return Y.add(q),!K}).sort(([q],[K])=>{let V=Q[q]||0,D=Q[K]||0;return V-D})}function LG0({mods:Z,...Q}){return Object.freeze(JSON.parse(JSON.stringify(Q)))}var MG0={ios:{dangerous:-2,xcodeproj:-1,finalized:1}};async function gd(Z,{projectRoot:Q,introspect:Y,platforms:J,assertMissingModProviders:q,ignoreExistingNativeFiles:K=!1}){let V=LG0(Z);for(let[D,z]of Object.entries(Z.mods??{})){if(J&&!J.includes(D)){eA(`skip platform: ${D}`);continue}let H=Object.entries(z);if(H.length){H=fd(H,MG0[D]??{dangerous:-1,finalized:1}),eA(`run in order: ${H.map(([$])=>$).join(", ")}`);let G=Td().default.join(Q,D),W=D==="ios"?(0,vd().getHackyProjectName)(Q,Z):void 0;for(let[$,B]of H){let O={projectRoot:Q,projectName:W,platformProjectRoot:G,platform:D,modName:$,introspect:!!Y,ignoreExistingNativeFiles:K};if(!B.isProvider){let w=`Initial base modifier for "${D}.${$}" is not a provider and therefore will not provide modResults to child mods`;if(q!==!1)throw new(bd()).PluginError(w,"MISSING_PROVIDER");else{kd().addWarningForPlatform(D,`${D}.${$}`,`Skipping: Initial base modifier for "${D}.${$}" is not a provider and therefore will not provide modResults to child mods. This may be due to an outdated version of Expo CLI.`);continue}}let A=await B({...Z,modResults:null,modRequest:O,modRawConfig:V});Z=(0,_d().assertModResults)(A,D,$),delete Z.modResults,delete Z.modRequest,delete Z.modRawConfig}}}return Z}});var yX=k((R1)=>{Object.defineProperty(R1,"__esModule",{value:!0});var jG0={BaseMods:!0,AndroidConfig:!0,IOSConfig:!0,XML:!0,History:!0,WarningAggregator:!0,Updates:!0,withPlugins:!0,withRunOnce:!0,createRunOncePlugin:!0,withDangerousMod:!0,withFinalizedMod:!0,withMod:!0,withBaseMod:!0,withAppDelegate:!0,withInfoPlist:!0,withEntitlementsPlist:!0,withExpoPlist:!0,withXcodeProject:!0,withPodfile:!0,withPodfileProperties:!0,withAndroidManifest:!0,withStringsXml:!0,withAndroidColors:!0,withAndroidColorsNight:!0,withAndroidStyles:!0,withMainActivity:!0,withMainApplication:!0,withProjectBuildGradle:!0,withAppBuildGradle:!0,withSettingsGradle:!0,withGradleProperties:!0,withStaticPlugin:!0,compileModsAsync:!0,withDefaultBaseMods:!0,evalModsAsync:!0,PluginError:!0};R1.IOSConfig=R1.History=R1.BaseMods=R1.AndroidConfig=void 0;Object.defineProperty(R1,"PluginError",{enumerable:!0,get:function(){return td().PluginError}});R1.XML=R1.WarningAggregator=R1.Updates=void 0;Object.defineProperty(R1,"compileModsAsync",{enumerable:!0,get:function(){return qG().compileModsAsync}});Object.defineProperty(R1,"createRunOncePlugin",{enumerable:!0,get:function(){return Vw().createRunOncePlugin}});Object.defineProperty(R1,"evalModsAsync",{enumerable:!0,get:function(){return qG().evalModsAsync}});Object.defineProperty(R1,"withAndroidColors",{enumerable:!0,get:function(){return z7().withAndroidColors}});Object.defineProperty(R1,"withAndroidColorsNight",{enumerable:!0,get:function(){return z7().withAndroidColorsNight}});Object.defineProperty(R1,"withAndroidManifest",{enumerable:!0,get:function(){return z7().withAndroidManifest}});Object.defineProperty(R1,"withAndroidStyles",{enumerable:!0,get:function(){return z7().withAndroidStyles}});Object.defineProperty(R1,"withAppBuildGradle",{enumerable:!0,get:function(){return z7().withAppBuildGradle}});Object.defineProperty(R1,"withAppDelegate",{enumerable:!0,get:function(){return S2().withAppDelegate}});Object.defineProperty(R1,"withBaseMod",{enumerable:!0,get:function(){return Dw().withBaseMod}});Object.defineProperty(R1,"withDangerousMod",{enumerable:!0,get:function(){return ad().withDangerousMod}});Object.defineProperty(R1,"withDefaultBaseMods",{enumerable:!0,get:function(){return qG().withDefaultBaseMods}});Object.defineProperty(R1,"withEntitlementsPlist",{enumerable:!0,get:function(){return S2().withEntitlementsPlist}});Object.defineProperty(R1,"withExpoPlist",{enumerable:!0,get:function(){return S2().withExpoPlist}});Object.defineProperty(R1,"withFinalizedMod",{enumerable:!0,get:function(){return rd().withFinalizedMod}});Object.defineProperty(R1,"withGradleProperties",{enumerable:!0,get:function(){return z7().withGradleProperties}});Object.defineProperty(R1,"withInfoPlist",{enumerable:!0,get:function(){return S2().withInfoPlist}});Object.defineProperty(R1,"withMainActivity",{enumerable:!0,get:function(){return z7().withMainActivity}});Object.defineProperty(R1,"withMainApplication",{enumerable:!0,get:function(){return z7().withMainApplication}});Object.defineProperty(R1,"withMod",{enumerable:!0,get:function(){return Dw().withMod}});Object.defineProperty(R1,"withPlugins",{enumerable:!0,get:function(){return sd().withPlugins}});Object.defineProperty(R1,"withPodfile",{enumerable:!0,get:function(){return S2().withPodfile}});Object.defineProperty(R1,"withPodfileProperties",{enumerable:!0,get:function(){return S2().withPodfileProperties}});Object.defineProperty(R1,"withProjectBuildGradle",{enumerable:!0,get:function(){return z7().withProjectBuildGradle}});Object.defineProperty(R1,"withRunOnce",{enumerable:!0,get:function(){return Vw().withRunOnce}});Object.defineProperty(R1,"withSettingsGradle",{enumerable:!0,get:function(){return z7().withSettingsGradle}});Object.defineProperty(R1,"withStaticPlugin",{enumerable:!0,get:function(){return od().withStaticPlugin}});Object.defineProperty(R1,"withStringsXml",{enumerable:!0,get:function(){return z7().withStringsXml}});Object.defineProperty(R1,"withXcodeProject",{enumerable:!0,get:function(){return S2().withXcodeProject}});function cd(){let Z=wY(OF());return cd=function(){return Z},Z}Object.defineProperty(R1,"AndroidConfig",{enumerable:!0,get:function(){return cd()}});function dd(){let Z=wY(fA());return dd=function(){return Z},Z}Object.defineProperty(R1,"IOSConfig",{enumerable:!0,get:function(){return dd()}});function Jw(){let Z=wq();return Jw=function(){return Z},Z}function qw(){let Z=cA();return qw=function(){return Z},Z}function Kw(){let Z=aA();return Kw=function(){return Z},Z}function ld(){let Z=wY(OZ());return ld=function(){return Z},Z}Object.defineProperty(R1,"XML",{enumerable:!0,get:function(){return ld()}});function pd(){let Z=wY(rA());return pd=function(){return Z},Z}Object.defineProperty(R1,"History",{enumerable:!0,get:function(){return pd()}});function id(){let Z=wY(B8());return id=function(){return Z},Z}Object.defineProperty(R1,"WarningAggregator",{enumerable:!0,get:function(){return id()}});function nd(){let Z=wY(JH());return nd=function(){return Z},Z}Object.defineProperty(R1,"Updates",{enumerable:!0,get:function(){return nd()}});var Yw=Ld();Object.keys(Yw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Object.prototype.hasOwnProperty.call(jG0,Z))return;if(Z in R1&&R1[Z]===Yw[Z])return;Object.defineProperty(R1,Z,{enumerable:!0,get:function(){return Yw[Z]}})});function sd(){let Z=ZH();return sd=function(){return Z},Z}function Vw(){let Z=jd();return Vw=function(){return Z},Z}function ad(){let Z=hz();return ad=function(){return Z},Z}function rd(){let Z=Sd();return rd=function(){return Z},Z}function Dw(){let Z=XZ();return Dw=function(){return Z},Z}function S2(){let Z=g5();return S2=function(){return Z},Z}function z7(){let Z=L8();return z7=function(){return Z},Z}function od(){let Z=JF();return od=function(){return Z},Z}function qG(){let Z=md();return qG=function(){return Z},Z}function td(){let Z=W2();return td=function(){return Z},Z}function ed(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(ed=function(J){return J?Y:Q})(Z)}function wY(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=ed(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}var CM0=R1.BaseMods={withGeneratedBaseMods:Jw().withGeneratedBaseMods,provider:Jw().provider,withAndroidBaseMods:qw().withAndroidBaseMods,getAndroidModFileProviders:qw().getAndroidModFileProviders,withIosBaseMods:Kw().withIosBaseMods,getIosModFileProviders:Kw().getIosModFileProviders}});var Yl=k((KG)=>{Object.defineProperty(KG,"__esModule",{value:!0});KG.withConfigPlugins=void 0;function Zl(){let Z=yX();return Zl=function(){return Z},Z}function Ql(){let Z=gO();return Ql=function(){return Z},Z}var NG0=(Z,Q)=>{if(!Array.isArray(Z.plugins)||!Z.plugins?.length)return Z;if(!Q)Z=(0,Zl().withPlugins)(Z,Z.plugins);else delete Z.plugins;return(0,Ql().serializeAfterStaticPlugins)(Z)};KG.withConfigPlugins=NG0});var ql=k((EY)=>{Object.defineProperty(EY,"__esModule",{value:!0});EY.withInternal=EY.EXPO_DEBUG=void 0;function Jl(){let Z=EJ();return Jl=function(){return Z},Z}var SG0=EY.EXPO_DEBUG=(0,Jl().boolish)("EXPO_DEBUG",!1),PG0=(Z,Q)=>{if(!Z._internal)Z._internal={};return Z._internal={isDebug:SG0,...Z._internal,...Q},Z};EY.withInternal=PG0});var zl=k((zw)=>{Object.defineProperty(zw,"__esModule",{value:!0});zw.getRootPackageJsonPath=TG0;function Kl(){let Z=require("fs");return Kl=function(){return Z},Z}function Vl(){let Z=require("path");return Vl=function(){return Z},Z}function Dl(){let Z=KZ();return Dl=function(){return Z},Z}function TG0(Z){let Q=(0,Vl().join)(Z,"package.json");if(!(0,Kl().existsSync)(Q))throw new(Dl()).ConfigError(`The expected package.json path: ${Q} does not exist`,"MODULE_NOT_FOUND");return Q}});var Gl=k((Hl)=>{Object.defineProperty(Hl,"__esModule",{value:!0})});var Hw=k((Lq)=>{Object.defineProperty(Lq,"__esModule",{value:!0});Object.defineProperty(Lq,"ExpoConfig",{enumerable:!0,get:function(){return Wl().ExpoConfig}});Lq.ProjectPrivacy=void 0;function Wl(){let Z=Gl();return Wl=function(){return Z},Z}var SM0=Lq.ProjectPrivacy=function(Z){return Z.PUBLIC="public",Z.UNLISTED="unlisted",Z}({})});var Ll=k((X9)=>{Object.defineProperty(X9,"__esModule",{value:!0});var _G0={getConfig:!0,getPackageJson:!0,getConfigFilePaths:!0,modifyConfigAsync:!0,getWebOutputPath:!0,getNameFromConfig:!0,getDefaultTarget:!0,getProjectConfigDescription:!0,getProjectConfigDescriptionWithPaths:!0};X9.getConfig=DG;X9.getConfigFilePaths=Xw;X9.getDefaultTarget=gG0;X9.getNameFromConfig=fG0;X9.getPackageJson=bG0;X9.getProjectConfigDescription=cG0;X9.getProjectConfigDescriptionWithPaths=Rl;X9.getWebOutputPath=uG0;X9.modifyConfigAsync=hG0;function Mq(){let Z=uZ(zQ());return Mq=function(){return Z},Z}function VG(){let Z=uZ(oR());return VG=function(){return Z},Z}function Bw(){let Z=uZ(require("fs"));return Bw=function(){return Z},Z}function Ww(){let Z=h3();return Ww=function(){return Z},Z}function I6(){let Z=uZ(require("path"));return I6=function(){return Z},Z}function Uw(){let Z=uZ(OQ());return Uw=function(){return Z},Z}function Xl(){let Z=uZ(KD());return Xl=function(){return Z},Z}function Fl(){let Z=uZ(j$());return Fl=function(){return Z},Z}function $w(){let Z=LT();return $w=function(){return Z},Z}function Al(){let Z=pO();return Al=function(){return Z},Z}function wl(){let Z=Yl();return wl=function(){return Z},Z}function El(){let Z=ql();return El=function(){return Z},Z}function Il(){let Z=zl();return Il=function(){return Z},Z}var Gw=Hw();Object.keys(Gw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_G0,Z))return;if(Z in X9&&X9[Z]===Gw[Z])return;Object.defineProperty(X9,Z,{enumerable:!0,get:function(){return Gw[Z]}})});function uZ(Z){return Z&&Z.__esModule?Z:{default:Z}}var Ul=!1;function $l(Z){if(!Z)return Z||null;if(Z.expo&&!Ul){let J=Object.keys(Z).filter((q)=>q!=="expo");if(J.length){Ul=!0;let q=(z)=>`\x1B[33m${z}\x1B[0m`,K=(z)=>`\x1B[90m${z}\x1B[0m`,V=(z)=>`\x1B[1m${z}\x1B[22m`,D=J.length>1;console.warn(q(V("Warning: ")+`Root-level ${V('"expo"')} object found. Ignoring extra key${D?"s":""} in Expo config: ${J.map((z)=>`"${z}"`).join(", ")}
370
+ `)}function Hd(Z){if(Z.manifest){if(Z.manifest=(0,eH().sortObject)(Z.manifest,eH().reverseSortString),Array.isArray(Z.manifest["uses-permission"]))Z.manifest["uses-permission"].sort((Q,Y)=>{if(Q.$["android:name"]<Y.$["android:name"])return-1;if(Q.$["android:name"]>Y.$["android:name"])return 1;return 0});if(Array.isArray(Z.manifest.application))Z.manifest.application=Z.manifest.application.map((Q)=>{if(Q=(0,eH().sortObjWithOrder)(Q,["meta-data","service","activity"]),Array.isArray(Q["meta-data"]))Q["meta-data"].sort((Y,J)=>{if(Y.$["android:name"]<J.$["android:name"])return-1;if(Y.$["android:name"]>J.$["android:name"])return 1;return 0});return Q})}return Z}var GG0={dangerous:(0,t8().provider)({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),finalized:(0,t8().provider)({getFilePath(){return""},async read(){return{filePath:"",modResults:{}}},async write(){}}),manifest:(0,t8().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return mA().default.join(Z,"app/src/main/AndroidManifest.xml")},async read(Z,Q){try{return await _5().Manifest.readAndroidManifestAsync(Z)}catch(Y){if(!Q.modRequest.introspect)throw Y}return await HG0(Q)},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await _5().Manifest.writeAndroidManifestAsync(Z,Hd(Q))}}),gradleProperties:(0,t8().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return mA().default.join(Z,"gradle.properties")},async read(Z,Q){try{return await _5().Properties.parsePropertiesFile(await zG0(Z,"utf8"))}catch(Y){if(!Q.modRequest.introspect)throw Y}return[]},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await OY(Z,_5().Properties.propertiesListToString(Q))}}),strings:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await _5().Strings.getProjectStringsXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){try{return await _5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q.modRequest.introspect)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),colors:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await _5().Colors.getProjectColorsXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,{modRequest:{introspect:Q}}){try{return await _5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),colorsNight:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await _5().Colors.getProjectColorsXMLPathAsync(Z,{kind:"values-night"})}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){try{return await _5().Resources.readResourcesXMLAsync({path:Z})}catch(Y){if(!Q.modRequest.introspect)throw Y}return{resources:{}}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),styles:(0,t8().provider)({isIntrospective:!0,async getFilePath({modRequest:{projectRoot:Z,introspect:Q}}){try{return await _5().Styles.getProjectStylesXMLPathAsync(Z)}catch(Y){if(!Q)throw Y}return""},async read(Z,Q){let Y={resources:{}};try{Y=await _5().Resources.readResourcesXMLAsync({path:Z,fallback:'<?xml version="1.0" encoding="utf-8"?><resources xmlns:tools="http://schemas.android.com/tools"></resources>'})}catch(J){if(!Q.modRequest.introspect)throw J}if(!Y.resources.$)Y.resources.$={};if(!Y.resources.$?.["xmlns:tools"])Y.resources.$["xmlns:tools"]="http://schemas.android.com/tools";return Y},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await(0,XY().writeXMLAsync)({path:Z,xml:Q})}}),projectBuildGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return _5().Paths.getProjectBuildGradleFilePath(Z)},async read(Z){return _5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),settingsGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return _5().Paths.getSettingsGradleFilePath(Z)},async read(Z){return _5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),appBuildGradle:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return _5().Paths.getAppBuildGradleFilePath(Z)},async read(Z){return _5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),mainActivity:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return _5().Paths.getProjectFilePath(Z,"MainActivity")},async read(Z){return _5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}}),mainApplication:(0,t8().provider)({getFilePath({modRequest:{projectRoot:Z}}){return _5().Paths.getProjectFilePath(Z,"MainApplication")},async read(Z){return _5().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await OY(Z,Q)}})};function WG0(Z,{providers:Q,...Y}={}){return(0,t8().withGeneratedBaseMods)(Z,{...Y,platform:"android",providers:Q??Gd()})}function Gd(){return GG0}});var $d=k((dA)=>{Object.defineProperty(dA,"__esModule",{value:!0});dA.getInfoPlistPathFromPbxproj=UG0;function Wd(){let Z=j8();return Wd=function(){return Z},Z}function Ud(){let Z=E4();return Ud=function(){return Z},Z}function UG0(Z,{targetName:Q,buildConfiguration:Y="Release"}={}){let J=(0,Wd().resolvePathOrProject)(Z);if(!J)return null;let q=(0,Ud().getXCBuildConfigurationFromPbxproj)(J,{targetName:Q,buildConfiguration:Y});if(!q)return null;return $G0(q.buildSettings.INFOPLIST_FILE)}function $G0(Z){return Z?.replace(/"/g,"").replace("$(SRCROOT)","")??null}});var aA=k((QG)=>{Object.defineProperty(QG,"__esModule",{value:!0});QG.getIosModFileProviders=Id;QG.withIosBaseMods=FG0;function pA(){let Z=Cq(zQ());return pA=function(){return Z},Z}function hZ(){let Z=Cq(Uq());return hZ=function(){return Z},Z}function iA(){let Z=Cq(require("assert"));return iA=function(){return Z},Z}function sA(){let Z=BG0(require("fs"));return sA=function(){return Z},Z}function Iq(){let Z=Cq(require("path"));return Iq=function(){return Z},Z}function Od(){let Z=Cq(tQ());return Od=function(){return Z},Z}function u7(){let Z=wq();return u7=function(){return Z},Z}function N2(){let Z=fA();return N2=function(){return Z},Z}function Xd(){let Z=$H();return Xd=function(){return Z},Z}function Fd(){let Z=j8();return Fd=function(){return Z},Z}function Ad(){let Z=$d();return Ad=function(){return Z},Z}function wd(){let Z=CJ();return wd=function(){return Z},Z}function ZG(){let Z=gA();return ZG=function(){return Z},Z}function nA(){let Z=B8();return nA=function(){return Z},Z}function Ed(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(Ed=function(J){return J?Y:Q})(Z)}function BG0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=Ed(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function Cq(Z){return Z&&Z.__esModule?Z:{default:Z}}var{readFile:lA,writeFile:FY}=sA().promises;function Bd(){return{}}function OG0(){return{CFBundleDevelopmentRegion:"$(DEVELOPMENT_LANGUAGE)",CFBundleExecutable:"$(EXECUTABLE_NAME)",CFBundleIdentifier:"$(PRODUCT_BUNDLE_IDENTIFIER)",CFBundleName:"$(PRODUCT_NAME)",CFBundlePackageType:"$(PRODUCT_BUNDLE_PACKAGE_TYPE)",CFBundleInfoDictionaryVersion:"6.0",CFBundleSignature:"????",LSMinimumSystemVersion:"12.0",LSRequiresIPhoneOS:!0,NSAppTransportSecurity:{NSAllowsArbitraryLoads:!0,NSExceptionDomains:{localhost:{NSExceptionAllowsInsecureHTTPLoads:!0}}},UILaunchStoryboardName:"SplashScreen",UIRequiredDeviceCapabilities:["armv7"],UIViewControllerBasedStatusBarAppearance:!1,UIStatusBarStyle:"UIStatusBarStyleDefault",CADisableMinimumFrameDurationOnPhone:!0}}var XG0={dangerous:(0,u7().provider)({getFilePath(){return""},async read(){return{}},async write(){}}),finalized:(0,u7().provider)({getFilePath(){return""},async read(){return{}},async write(){}}),appDelegate:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getAppDelegateFilePath(Z)},async read(Z){return N2().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await FY(Z,Q)}}),expoPlist:(0,u7().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z,projectName:Q}}){let Y=Iq().default.join(Z,Q,"Supporting");return Iq().default.resolve(Y,"Expo.plist")},async read(Z,{modRequest:{introspect:Q}}){try{return hZ().default.parse(await lA(Z,"utf8"))}catch(Y){if(Q)return{};throw Y}},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q)))}}),xcodeproj:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getPBXProjectPath(Z)},async read(Z){let Q=Od().default.project(Z);return Q.parseSync(),Q},async write(Z,{modResults:Q}){await FY(Z,Q.writeSync())}}),infoPlist:(0,u7().provider)({isIntrospective:!0,async getFilePath(Z){let Q=null;try{Q=(0,Fd().getPbxproj)(Z.modRequest.projectRoot)}catch{}if(Q){let Y=(0,Ad().getInfoPlistPathFromPbxproj)(Q);if(Y){let J=Iq().default.join(Z.modRequest.platformProjectRoot,Y);if((0,wd().fileExists)(J))return J;(0,nA().addWarningIOS)("mods.ios.infoPlist",`Info.plist file linked to Xcode project does not exist: ${J}`)}else(0,nA().addWarningIOS)("mods.ios.infoPlist","Failed to find Info.plist linked to Xcode project.")}try{return await N2().Paths.getInfoPlistPath(Z.modRequest.projectRoot)}catch(Y){if(Z.modRequest.introspect)return"";throw Y}},async read(Z,Q){if(!Q.ios)Q.ios={};if(!Q.ios.infoPlist)Q.ios.infoPlist={};let Y;try{let J=await lA(Z,"utf8");(0,iA().default)(J,"Info.plist is empty"),Y=hZ().default.parse(J)}catch(J){if(!Q.modRequest.introspect)throw J;Y=OG0()}return Q.ios.infoPlist={...Y||{},...Q.ios.infoPlist},Q.ios.infoPlist},async write(Z,Q){if(!Q.ios)Q.ios={};if(Q.ios.infoPlist=Q.modResults,Q.modRequest.introspect)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q.modResults)))}}),entitlements:(0,u7().provider)({isIntrospective:!0,async getFilePath(Z){try{return(0,Xd().ensureApplicationTargetEntitlementsFileConfigured)(Z.modRequest.projectRoot),N2().Entitlements.getEntitlementsPath(Z.modRequest.projectRoot)??""}catch(Q){if(Z.modRequest.introspect)return"";throw Q}},async read(Z,Q){let Y;try{if(!Q.modRequest.ignoreExistingNativeFiles&&sA().default.existsSync(Z)){let J=await lA(Z,"utf8");(0,iA().default)(J,"Entitlements plist is empty"),Y=hZ().default.parse(J)}else Y=Bd()}catch(J){if(!Q.modRequest.introspect)throw J;Y=Bd()}if(!Q.ios)Q.ios={};if(!Q.ios.entitlements)Q.ios.entitlements={};return Q.ios.entitlements={...Y||{},...Q.ios.entitlements},Q.ios.entitlements},async write(Z,Q){if(!Q.ios)Q.ios={};if(Q.ios.entitlements=Q.modResults,Q.modRequest.introspect)return;await FY(Z,hZ().default.build((0,ZG().sortObject)(Q.modResults)))}}),podfile:(0,u7().provider)({getFilePath({modRequest:{projectRoot:Z}}){return N2().Paths.getPodfilePath(Z)},async read(Z){return N2().Paths.getFileInfo(Z)},async write(Z,{modResults:{contents:Q}}){await FY(Z,Q)}}),podfileProperties:(0,u7().provider)({isIntrospective:!0,getFilePath({modRequest:{platformProjectRoot:Z}}){return Iq().default.resolve(Z,"Podfile.properties.json")},async read(Z){let Q={};try{Q=await pA().default.readAsync(Z)}catch{}return Q},async write(Z,{modResults:Q,modRequest:{introspect:Y}}){if(Y)return;await pA().default.writeAsync(Z,Q)}})};function FG0(Z,{providers:Q,...Y}={}){return(0,u7().withGeneratedBaseMods)(Z,{...Y,platform:"ios",providers:Q??Id()})}function Id(){return XG0}});var rA=k((YG)=>{Object.defineProperty(YG,"__esModule",{value:!0});YG.addHistoryItem=wG0;YG.getHistoryItem=AG0;function AG0(Z,Q){return Z._internal?.pluginHistory?.[Q]??null}function wG0(Z,Q){if(!Z._internal)Z._internal={};if(!Z._internal.pluginHistory)Z._internal.pluginHistory={};if(!Q.version)Q.version="UNVERSIONED";return Z._internal.pluginHistory[Q.name]=Q,Z}});var Ld=k((AY)=>{Object.defineProperty(AY,"__esModule",{value:!0});Object.defineProperty(AY,"AndroidManifest",{enumerable:!0,get:function(){return Rd().AndroidManifest}});Object.defineProperty(AY,"ExpoPlist",{enumerable:!0,get:function(){return oA().ExpoPlist}});Object.defineProperty(AY,"InfoPlist",{enumerable:!0,get:function(){return oA().InfoPlist}});Object.defineProperty(AY,"XcodeProject",{enumerable:!0,get:function(){return Cd().XcodeProject}});function Cd(){let Z=tQ();return Cd=function(){return Z},Z}function Rd(){let Z=H6();return Rd=function(){return Z},Z}function oA(){let Z=dK(Am);return oA=function(){return Z},Z}});var jd=k((Rq)=>{Object.defineProperty(Rq,"__esModule",{value:!0});Rq.createRunOncePlugin=EG0;Rq.withRunOnce=void 0;function tA(){let Z=rA();return tA=function(){return Z},Z}var Md=(Z,{plugin:Q,name:Y,version:J})=>{if((0,tA().getHistoryItem)(Z,Y))return Z;return Z=(0,tA().addHistoryItem)(Z,{name:Y,version:J}),Q(Z)};Rq.withRunOnce=Md;function EG0(Z,Q,Y){return(J,q)=>{return Md(J,{plugin:(K)=>Z(K,q),name:Q,version:Y})}}});var Sd=k((JG)=>{Object.defineProperty(JG,"__esModule",{value:!0});JG.withFinalizedMod=void 0;function Nd(){let Z=XZ();return Nd=function(){return Z},Z}var IG0=(Z,[Q,Y])=>{return(0,Nd().withMod)(Z,{platform:Q,mod:"finalized",action:Y})};JG.withFinalizedMod=IG0});var md=k((xZ)=>{Object.defineProperty(xZ,"__esModule",{value:!0});xZ.compileModsAsync=RG0;xZ.evalModsAsync=gd;xZ.sortMods=fd;xZ.withDefaultBaseMods=xd;xZ.withIntrospectionBaseMods=ud;function Pd(){let Z=hd(A7());return Pd=function(){return Z},Z}function Td(){let Z=hd(require("path"));return Td=function(){return Z},Z}function _d(){let Z=wq();return _d=function(){return Z},Z}function Zw(){let Z=cA();return Zw=function(){return Z},Z}function Qw(){let Z=aA();return Qw=function(){return Z},Z}function vd(){let Z=j8();return vd=function(){return Z},Z}function bd(){let Z=W2();return bd=function(){return Z},Z}function kd(){let Z=CG0(B8());return kd=function(){return Z},Z}function yd(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(yd=function(J){return J?Y:Q})(Z)}function CG0(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=yd(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}function hd(Z){return Z&&Z.__esModule?Z:{default:Z}}var eA=(0,Pd().default)("expo:config-plugins:mod-compiler");function xd(Z,Q={}){return Z=(0,Qw().withIosBaseMods)(Z,Q),Z=(0,Zw().withAndroidBaseMods)(Z,Q),Z}function ud(Z,Q={}){if(Z=(0,Qw().withIosBaseMods)(Z,{saveToInternal:!0,skipEmptyMod:!1,...Q}),Z=(0,Zw().withAndroidBaseMods)(Z,{saveToInternal:!0,skipEmptyMod:!1,...Q}),Z.mods){for(let Y of Object.keys(Z.mods))for(let J of Object.keys(Z.mods[Y]||{}))if(!Z.mods[Y]?.[J]?.isIntrospective)eA(`removing non-idempotent mod: ${Y}.${J}`),delete Z.mods[Y]?.[J]}return Z}async function RG0(Z,Q){if(Q.introspect===!0)Z=ud(Z);else Z=xd(Z);return await gd(Z,Q)}function fd(Z,Q){let Y=new Set;return Z.filter(([q])=>{let K=Y.has(q);return Y.add(q),!K}).sort(([q],[K])=>{let V=Q[q]||0,D=Q[K]||0;return V-D})}function LG0({mods:Z,...Q}){return Object.freeze(JSON.parse(JSON.stringify(Q)))}var MG0={ios:{dangerous:-2,xcodeproj:-1,finalized:1}};async function gd(Z,{projectRoot:Q,introspect:Y,platforms:J,assertMissingModProviders:q,ignoreExistingNativeFiles:K=!1}){let V=LG0(Z);for(let[D,z]of Object.entries(Z.mods??{})){if(J&&!J.includes(D)){eA(`skip platform: ${D}`);continue}let H=Object.entries(z);if(H.length){H=fd(H,MG0[D]??{dangerous:-1,finalized:1}),eA(`run in order: ${H.map(([$])=>$).join(", ")}`);let G=Td().default.join(Q,D),W=D==="ios"?(0,vd().getHackyProjectName)(Q,Z):void 0;for(let[$,B]of H){let O={projectRoot:Q,projectName:W,platformProjectRoot:G,platform:D,modName:$,introspect:!!Y,ignoreExistingNativeFiles:K};if(!B.isProvider){let w=`Initial base modifier for "${D}.${$}" is not a provider and therefore will not provide modResults to child mods`;if(q!==!1)throw new(bd()).PluginError(w,"MISSING_PROVIDER");else{kd().addWarningForPlatform(D,`${D}.${$}`,`Skipping: Initial base modifier for "${D}.${$}" is not a provider and therefore will not provide modResults to child mods. This may be due to an outdated version of Expo CLI.`);continue}}let A=await B({...Z,modResults:null,modRequest:O,modRawConfig:V});Z=(0,_d().assertModResults)(A,D,$),delete Z.modResults,delete Z.modRequest,delete Z.modRawConfig}}}return Z}});var yX=k((R1)=>{Object.defineProperty(R1,"__esModule",{value:!0});var jG0={BaseMods:!0,AndroidConfig:!0,IOSConfig:!0,XML:!0,History:!0,WarningAggregator:!0,Updates:!0,withPlugins:!0,withRunOnce:!0,createRunOncePlugin:!0,withDangerousMod:!0,withFinalizedMod:!0,withMod:!0,withBaseMod:!0,withAppDelegate:!0,withInfoPlist:!0,withEntitlementsPlist:!0,withExpoPlist:!0,withXcodeProject:!0,withPodfile:!0,withPodfileProperties:!0,withAndroidManifest:!0,withStringsXml:!0,withAndroidColors:!0,withAndroidColorsNight:!0,withAndroidStyles:!0,withMainActivity:!0,withMainApplication:!0,withProjectBuildGradle:!0,withAppBuildGradle:!0,withSettingsGradle:!0,withGradleProperties:!0,withStaticPlugin:!0,compileModsAsync:!0,withDefaultBaseMods:!0,evalModsAsync:!0,PluginError:!0};R1.IOSConfig=R1.History=R1.BaseMods=R1.AndroidConfig=void 0;Object.defineProperty(R1,"PluginError",{enumerable:!0,get:function(){return td().PluginError}});R1.XML=R1.WarningAggregator=R1.Updates=void 0;Object.defineProperty(R1,"compileModsAsync",{enumerable:!0,get:function(){return qG().compileModsAsync}});Object.defineProperty(R1,"createRunOncePlugin",{enumerable:!0,get:function(){return Vw().createRunOncePlugin}});Object.defineProperty(R1,"evalModsAsync",{enumerable:!0,get:function(){return qG().evalModsAsync}});Object.defineProperty(R1,"withAndroidColors",{enumerable:!0,get:function(){return z7().withAndroidColors}});Object.defineProperty(R1,"withAndroidColorsNight",{enumerable:!0,get:function(){return z7().withAndroidColorsNight}});Object.defineProperty(R1,"withAndroidManifest",{enumerable:!0,get:function(){return z7().withAndroidManifest}});Object.defineProperty(R1,"withAndroidStyles",{enumerable:!0,get:function(){return z7().withAndroidStyles}});Object.defineProperty(R1,"withAppBuildGradle",{enumerable:!0,get:function(){return z7().withAppBuildGradle}});Object.defineProperty(R1,"withAppDelegate",{enumerable:!0,get:function(){return S2().withAppDelegate}});Object.defineProperty(R1,"withBaseMod",{enumerable:!0,get:function(){return Dw().withBaseMod}});Object.defineProperty(R1,"withDangerousMod",{enumerable:!0,get:function(){return ad().withDangerousMod}});Object.defineProperty(R1,"withDefaultBaseMods",{enumerable:!0,get:function(){return qG().withDefaultBaseMods}});Object.defineProperty(R1,"withEntitlementsPlist",{enumerable:!0,get:function(){return S2().withEntitlementsPlist}});Object.defineProperty(R1,"withExpoPlist",{enumerable:!0,get:function(){return S2().withExpoPlist}});Object.defineProperty(R1,"withFinalizedMod",{enumerable:!0,get:function(){return rd().withFinalizedMod}});Object.defineProperty(R1,"withGradleProperties",{enumerable:!0,get:function(){return z7().withGradleProperties}});Object.defineProperty(R1,"withInfoPlist",{enumerable:!0,get:function(){return S2().withInfoPlist}});Object.defineProperty(R1,"withMainActivity",{enumerable:!0,get:function(){return z7().withMainActivity}});Object.defineProperty(R1,"withMainApplication",{enumerable:!0,get:function(){return z7().withMainApplication}});Object.defineProperty(R1,"withMod",{enumerable:!0,get:function(){return Dw().withMod}});Object.defineProperty(R1,"withPlugins",{enumerable:!0,get:function(){return sd().withPlugins}});Object.defineProperty(R1,"withPodfile",{enumerable:!0,get:function(){return S2().withPodfile}});Object.defineProperty(R1,"withPodfileProperties",{enumerable:!0,get:function(){return S2().withPodfileProperties}});Object.defineProperty(R1,"withProjectBuildGradle",{enumerable:!0,get:function(){return z7().withProjectBuildGradle}});Object.defineProperty(R1,"withRunOnce",{enumerable:!0,get:function(){return Vw().withRunOnce}});Object.defineProperty(R1,"withSettingsGradle",{enumerable:!0,get:function(){return z7().withSettingsGradle}});Object.defineProperty(R1,"withStaticPlugin",{enumerable:!0,get:function(){return od().withStaticPlugin}});Object.defineProperty(R1,"withStringsXml",{enumerable:!0,get:function(){return z7().withStringsXml}});Object.defineProperty(R1,"withXcodeProject",{enumerable:!0,get:function(){return S2().withXcodeProject}});function cd(){let Z=wY(OF());return cd=function(){return Z},Z}Object.defineProperty(R1,"AndroidConfig",{enumerable:!0,get:function(){return cd()}});function dd(){let Z=wY(fA());return dd=function(){return Z},Z}Object.defineProperty(R1,"IOSConfig",{enumerable:!0,get:function(){return dd()}});function Jw(){let Z=wq();return Jw=function(){return Z},Z}function qw(){let Z=cA();return qw=function(){return Z},Z}function Kw(){let Z=aA();return Kw=function(){return Z},Z}function ld(){let Z=wY(OZ());return ld=function(){return Z},Z}Object.defineProperty(R1,"XML",{enumerable:!0,get:function(){return ld()}});function pd(){let Z=wY(rA());return pd=function(){return Z},Z}Object.defineProperty(R1,"History",{enumerable:!0,get:function(){return pd()}});function id(){let Z=wY(B8());return id=function(){return Z},Z}Object.defineProperty(R1,"WarningAggregator",{enumerable:!0,get:function(){return id()}});function nd(){let Z=wY(JH());return nd=function(){return Z},Z}Object.defineProperty(R1,"Updates",{enumerable:!0,get:function(){return nd()}});var Yw=Ld();Object.keys(Yw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Object.prototype.hasOwnProperty.call(jG0,Z))return;if(Z in R1&&R1[Z]===Yw[Z])return;Object.defineProperty(R1,Z,{enumerable:!0,get:function(){return Yw[Z]}})});function sd(){let Z=ZH();return sd=function(){return Z},Z}function Vw(){let Z=jd();return Vw=function(){return Z},Z}function ad(){let Z=hz();return ad=function(){return Z},Z}function rd(){let Z=Sd();return rd=function(){return Z},Z}function Dw(){let Z=XZ();return Dw=function(){return Z},Z}function S2(){let Z=g5();return S2=function(){return Z},Z}function z7(){let Z=L8();return z7=function(){return Z},Z}function od(){let Z=JF();return od=function(){return Z},Z}function qG(){let Z=md();return qG=function(){return Z},Z}function td(){let Z=W2();return td=function(){return Z},Z}function ed(Z){if(typeof WeakMap!="function")return null;var Q=new WeakMap,Y=new WeakMap;return(ed=function(J){return J?Y:Q})(Z)}function wY(Z,Q){if(!Q&&Z&&Z.__esModule)return Z;if(Z===null||typeof Z!="object"&&typeof Z!="function")return{default:Z};var Y=ed(Q);if(Y&&Y.has(Z))return Y.get(Z);var J={__proto__:null},q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in Z)if(K!=="default"&&{}.hasOwnProperty.call(Z,K)){var V=q?Object.getOwnPropertyDescriptor(Z,K):null;V&&(V.get||V.set)?Object.defineProperty(J,K,V):J[K]=Z[K]}return J.default=Z,Y&&Y.set(Z,J),J}var CM0=R1.BaseMods={withGeneratedBaseMods:Jw().withGeneratedBaseMods,provider:Jw().provider,withAndroidBaseMods:qw().withAndroidBaseMods,getAndroidModFileProviders:qw().getAndroidModFileProviders,withIosBaseMods:Kw().withIosBaseMods,getIosModFileProviders:Kw().getIosModFileProviders}});var Yl=k((KG)=>{Object.defineProperty(KG,"__esModule",{value:!0});KG.withConfigPlugins=void 0;function Zl(){let Z=yX();return Zl=function(){return Z},Z}function Ql(){let Z=gO();return Ql=function(){return Z},Z}var NG0=(Z,Q)=>{if(!Array.isArray(Z.plugins)||!Z.plugins?.length)return Z;if(!Q)Z=(0,Zl().withPlugins)(Z,Z.plugins);else delete Z.plugins;return(0,Ql().serializeAfterStaticPlugins)(Z)};KG.withConfigPlugins=NG0});var ql=k((EY)=>{Object.defineProperty(EY,"__esModule",{value:!0});EY.withInternal=EY.EXPO_DEBUG=void 0;function Jl(){let Z=EJ();return Jl=function(){return Z},Z}var SG0=EY.EXPO_DEBUG=(0,Jl().boolish)("EXPO_DEBUG",!1),PG0=(Z,Q)=>{if(!Z._internal)Z._internal={};return Z._internal={isDebug:SG0,...Z._internal,...Q},Z};EY.withInternal=PG0});var zl=k((zw)=>{Object.defineProperty(zw,"__esModule",{value:!0});zw.getRootPackageJsonPath=TG0;function Kl(){let Z=require("fs");return Kl=function(){return Z},Z}function Vl(){let Z=require("path");return Vl=function(){return Z},Z}function Dl(){let Z=KZ();return Dl=function(){return Z},Z}function TG0(Z){let Q=(0,Vl().join)(Z,"package.json");if(!(0,Kl().existsSync)(Q))throw new(Dl()).ConfigError(`The expected package.json path: ${Q} does not exist`,"MODULE_NOT_FOUND");return Q}});var Gl=k((Hl)=>{Object.defineProperty(Hl,"__esModule",{value:!0})});var Hw=k((Lq)=>{Object.defineProperty(Lq,"__esModule",{value:!0});Object.defineProperty(Lq,"ExpoConfig",{enumerable:!0,get:function(){return Wl().ExpoConfig}});Lq.ProjectPrivacy=void 0;function Wl(){let Z=Gl();return Wl=function(){return Z},Z}var SM0=Lq.ProjectPrivacy=function(Z){return Z.PUBLIC="public",Z.UNLISTED="unlisted",Z}({})});var Ll=k((X9)=>{Object.defineProperty(X9,"__esModule",{value:!0});var _G0={getConfig:!0,getPackageJson:!0,getConfigFilePaths:!0,modifyConfigAsync:!0,getWebOutputPath:!0,getNameFromConfig:!0,getDefaultTarget:!0,getProjectConfigDescription:!0,getProjectConfigDescriptionWithPaths:!0};X9.getConfig=DG;X9.getConfigFilePaths=Xw;X9.getDefaultTarget=gG0;X9.getNameFromConfig=fG0;X9.getPackageJson=bG0;X9.getProjectConfigDescription=cG0;X9.getProjectConfigDescriptionWithPaths=Rl;X9.getWebOutputPath=uG0;X9.modifyConfigAsync=hG0;function Mq(){let Z=uZ(zQ());return Mq=function(){return Z},Z}function VG(){let Z=uZ(oR());return VG=function(){return Z},Z}function Bw(){let Z=uZ(require("fs"));return Bw=function(){return Z},Z}function Ww(){let Z=h3();return Ww=function(){return Z},Z}function I6(){let Z=uZ(require("path"));return I6=function(){return Z},Z}function Uw(){let Z=uZ(OQ());return Uw=function(){return Z},Z}function Xl(){let Z=uZ(KD());return Xl=function(){return Z},Z}function Fl(){let Z=uZ(j$());return Fl=function(){return Z},Z}function $w(){let Z=LT();return $w=function(){return Z},Z}function Al(){let Z=pO();return Al=function(){return Z},Z}function wl(){let Z=Yl();return wl=function(){return Z},Z}function El(){let Z=ql();return El=function(){return Z},Z}function Il(){let Z=zl();return Il=function(){return Z},Z}var Gw=Hw();Object.keys(Gw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Object.prototype.hasOwnProperty.call(_G0,Z))return;if(Z in X9&&X9[Z]===Gw[Z])return;Object.defineProperty(X9,Z,{enumerable:!0,get:function(){return Gw[Z]}})});function uZ(Z){return Z&&Z.__esModule?Z:{default:Z}}var Ul=!1;function $l(Z){if(!Z)return Z||null;if(Z.expo&&!Ul){let J=Object.keys(Z).filter((q)=>q!=="expo");if(J.length){Ul=!0;let q=(z)=>`\x1B[33m${z}\x1B[0m`,K=(z)=>`\x1B[90m${z}\x1B[0m`,V=(z)=>`\x1B[1m${z}\x1B[22m`,D=J.length>1;console.warn(q(V("Warning: ")+`Root-level ${V('"expo"')} object found. Ignoring extra key${D?"s":""} in Expo config: ${J.map((z)=>`"${z}"`).join(", ")}
371
371
  `+K("Learn more: https://expo.fyi/root-expo-object")))}}let{mods:Q,...Y}=Z.expo??Z;return{expo:Y,mods:Q}}function vG0(Z){let Q=[];if(Uw().default.silent(Z,"react-native"))Q.push("ios","android");if(Uw().default.silent(Z,"react-dom"))Q.push("web");return Q}function DG(Z,Q={}){let Y=Xw(Z),J=Y.staticConfigPath?(0,$w().getStaticConfig)(Y.staticConfigPath):null,q=J||{},K=$l(J)||{},[V,D]=Ow(Z);function z(G,W,$=!1){let B={...Ol({projectRoot:Z,exp:G.expo||{},pkg:V,skipSDKVersionRequirement:Q.skipSDKVersionRequirement,paths:Y,packageJsonPath:D}),mods:G.mods,dynamicConfigObjectType:W,rootConfig:q,dynamicConfigPath:Y.dynamicConfigPath,staticConfigPath:Y.staticConfigPath,hasUnusedStaticConfig:!!Y.staticConfigPath&&!!Y.dynamicConfigPath&&$};if(Q.isModdedConfig)B.exp.mods=G.mods??null;if(B.exp=(0,wl().withConfigPlugins)(B.exp,!!Q.skipPlugins),!Q.isModdedConfig)delete B.exp.mods;if(Q.isPublicConfig){if(delete B.exp._internal,"hooks"in B.exp)delete B.exp.hooks;if(B.exp.ios?.config)delete B.exp.ios.config;if(B.exp.android?.config)delete B.exp.android.config;delete B.exp.updates?.codeSigningCertificate,delete B.exp.updates?.codeSigningMetadata}return B}function H(G){return Ol({projectRoot:Z,exp:G.expo||{},pkg:V,skipSDKVersionRequirement:!0,paths:Y,packageJsonPath:D}).exp}if(Y.dynamicConfigPath){let{exportedObjectType:G,config:W,mayHaveUnusedStaticConfig:$}=(0,$w().getDynamicConfig)(Y.dynamicConfigPath,{projectRoot:Z,staticConfigPath:Y.staticConfigPath,packageJsonPath:D,config:H(K)}),B=$l(W)||{};return z(B,G,$)}return z(K||{},null)}function bG0(Z){let[Q]=Ow(Z);return Q}function Ow(Z){let Q=(0,Il().getRootPackageJsonPath)(Z);return[Mq().default.read(Q),Q]}function Xw(Z){return{dynamicConfigPath:kG0(Z),staticConfigPath:yG0(Z)}}function kG0(Z){for(let Q of["app.config.ts","app.config.js"]){let Y=I6().default.join(Z,Q);if(Bw().default.existsSync(Y))return Y}return null}function yG0(Z){for(let Q of["app.config.json","app.json"]){let Y=I6().default.join(Z,Q);if(Bw().default.existsSync(Y))return Y}return null}async function hG0(Z,Q,Y={},J={}){let q=DG(Z,Y),K=J.dryRun;if(!q.dynamicConfigPath){let V=Bl(q,Q);if(!K){let D=q.staticConfigPath??I6().default.join(Z,"app.json");await Mq().default.writeAsync(D,V,{json5:!1})}return{type:"success",config:V.expo??V}}if(q.staticConfigPath&&q.dynamicConfigObjectType==="function"&&!Q.hasOwnProperty("plugins")){let V=Bl(q,Q);if(K)return{type:"warn",message:`Cannot verify config modifications in dry-run mode for config at: ${I6().default.relative(Z,q.dynamicConfigPath)}`,config:null};await Mq().default.writeAsync(q.staticConfigPath,V,{json5:!1});let D=DG(Z,Y);if(Cl(Q,D.exp))return{type:"success",config:D.exp};await Mq().default.writeAsync(q.staticConfigPath,q.rootConfig,{json5:!1})}return{type:"warn",message:`Cannot automatically write to dynamic config at: ${I6().default.relative(Z,q.dynamicConfigPath)}`,config:null}}function Bl(Z,{plugins:Q,...Y}){let J=!Z.rootConfig.expo?(0,VG().default)(Z.rootConfig,Y):(0,VG().default)(Z.rootConfig.expo,Y);if(Q?.length){if(!J.plugins)J.plugins=[];let K=Object.fromEntries(J.plugins.map((V)=>typeof V==="string"?[V,void 0]:V));for(let V of Q){let[D,z]=Array.isArray(V)?V:[V];if(!D)continue;if(!(D in K)){J.plugins.push(V);continue}if(z){J.plugins=J.plugins.map((H)=>{let[G]=Array.isArray(H)?H:[H];if(G!==D)return H;if(typeof H==="string")return[H,z];if(Array.isArray(H)&&H[0])return[H[0],(0,VG().default)(H[1]??{},z)];return H});continue}}}return!Z.rootConfig.expo?J:{...Z.rootConfig,expo:J}}function Cl(Z,Q){for(let Y in Z){if(!Z.hasOwnProperty(Y))continue;if(typeof Z[Y]==="object"&&Q[Y]!==null){if(!Cl(Z[Y],Q[Y]))return!1}else if(Z[Y]!==Q[Y])return!1}return!0}function Ol({projectRoot:Z,exp:Q,pkg:Y,paths:J,packageJsonPath:q,skipSDKVersionRequirement:K=!1}){if(!Q)Q={};Q=(0,El().withInternal)(Q,{projectRoot:Z,...J??{},packageJsonPath:q});let V=typeof Y.name==="string"?Y.name:I6().default.basename(Z),D=typeof Y.version==="string"?Y.version:"1.0.0",z={...Y,name:V,version:D},H=Q.name??V,G=Q.slug??(0,Fl().default)(H.toLowerCase()),W=Q.version??D,$=Q.description;if(!$&&typeof Y.description==="string")$=Y.description;let B={...Q,name:H,slug:G,version:W,description:$},O;try{O=(0,Al().getExpoSDKVersion)(Z,B)}catch(w){if(!K)throw w}let A=Q.platforms;if(!A)A=vG0(Z);return{exp:{...B,sdkVersion:O,platforms:A},pkg:z}}var xG0="web-build";function uG0(Z={}){if(process.env.WEBPACK_BUILD_OUTPUT_PATH)return process.env.WEBPACK_BUILD_OUTPUT_PATH;return(Z.expo||Z||{})?.web?.build?.output||xG0}function fG0(Z={}){let Q=Z.expo||Z,{web:Y={}}=Q,J=Z.displayName||Q.displayName||Q.name,q=Y.name||J;return{appName:J,webName:q}}function gG0(Z,Q){if(Q??=DG(Z,{skipSDKVersionRequirement:!0}).exp,Q.sdkVersion&&Q.sdkVersion!=="UNVERSIONED"&&Xl().default.lt(Q.sdkVersion,"37.0.0"))return"managed";return mG0(Z)?"bare":"managed"}function mG0(Z){let[Q]=Ow(Z);if(Q.dependencies&&Q.dependencies.expokit)return!1;if((0,Ww().sync)("ios/**/*.xcodeproj",{absolute:!0,cwd:Z}).length)return!0;if((0,Ww().sync)("android/**/*.gradle",{absolute:!0,cwd:Z}).length)return!0;return!1}function cG0(Z){let Q=Xw(Z);return Rl(Z,Q)}function Rl(Z,Q){if(Q.dynamicConfigPath){let Y=I6().default.relative(Z,Q.dynamicConfigPath);if(Q.staticConfigPath)return`${Y} or ${I6().default.relative(Z,Q.staticConfigPath)}`;return Y}else if(Q.staticConfigPath)return I6().default.relative(Z,Q.staticConfigPath);return"app.json"}});var dG0={};var Cw=k((N8)=>{Object.defineProperty(N8,"__esModule",{value:!0});var Fw=Ll();Object.keys(Fw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Z in N8&&N8[Z]===Fw[Z])return;Object.defineProperty(N8,Z,{enumerable:!0,get:function(){return Fw[Z]}})});var Aw=Hw();Object.keys(Aw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Z in N8&&N8[Z]===Aw[Z])return;Object.defineProperty(N8,Z,{enumerable:!0,get:function(){return Aw[Z]}})});var ww=pO();Object.keys(ww).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Z in N8&&N8[Z]===ww[Z])return;Object.defineProperty(N8,Z,{enumerable:!0,get:function(){return ww[Z]}})});var Ew=KZ();Object.keys(Ew).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Z in N8&&N8[Z]===Ew[Z])return;Object.defineProperty(N8,Z,{enumerable:!0,get:function(){return Ew[Z]}})});var Iw=dK(dG0);Object.keys(Iw).forEach(function(Z){if(Z==="default"||Z==="__esModule")return;if(Z in N8&&N8[Z]===Iw[Z])return;Object.defineProperty(N8,Z,{enumerable:!0,get:function(){return Iw[Z]}})})});var Nl={};Q4(Nl,{expoManifestCommand:()=>lG0});function pG0(Z){let Q=V8({args:Z,allowPositionals:!0});if(Q.positionals.length>1)throw new f1("COMMAND_INPUT",`Expected 0 or 1 arguments, received: ${Q.positionals.length}`);return{projectRoot:Ml.default.cwd(),mutation:Q.positionals.length===1?Q.positionals[0]:null}}async function jl(Z){try{let Q=require.resolve("expo/config",{paths:[Z]});return J5("command","expo-manifest")('Resolved "expo/config" from project: %s',Q),await import(Q)}catch(Q){return J5("command","expo-manifest")('Failed to load "expo/config" from project: %O',Q),await Promise.resolve().then(() => p1(Cw()))}}async function iG0(Z,Q){let Y=JSON.stringify(Q,null,2),{modifyConfigAsync:J}=await jl(Z),q=await J(Z,Q,{skipSDKVersionRequirement:!0,skipPlugins:!0,strict:!1});switch(J5("command","expo-manifest")("Mutation result: %O",q),q.type){case"fail":throw console.error(S1`{red ❌ Failed to modify {bold app.json} with:}`),console.warn(Y),new f1("EXPO_MANIFEST_WRITE_FAILURE",q.message);case"warn":throw console.error(S1`{red ⚠️ Encountered warnings when modifying {bold app.json} with:}`),console.warn(Y),new f1("EXPO_MANIFEST_WRITE_WARNING",q.message);case"success":default:console.warn([S1`{greenBright ✅ Modified {bold app.json} with:}`,Y,`
372
372
  `,S1`{dim Full {bold app.json} config:}`,S1.dim(JSON.stringify(q.config,null,2))].join(`
373
373
  `))}}var Ml,lG0=async(Z)=>{let Q=pG0(Z);if(J5("command","expo-manifest")("Resolved input: %O",Q),Q.mutation)return iG0(Q.projectRoot,JSON.parse(Q.mutation));let{getConfig:Y}=await jl(Q.projectRoot),J=Y(Q.projectRoot,{skipSDKVersionRequirement:!0,skipPlugins:!0,strict:!1});console.log(JSON.stringify(J.exp))};var Sl=Y5(()=>{c9();a7();w7();Ml=p1(require("node:process"))});var Tl=k((Pl)=>{Object.defineProperty(Pl,"__esModule",{value:!0})});var yl=k((hM0,kl)=>{kl.exports=bl;bl.sync=sG0;var _l=require("fs");function nG0(Z,Q){var Y=Q.pathExt!==void 0?Q.pathExt:process.env.PATHEXT;if(!Y)return!0;if(Y=Y.split(";"),Y.indexOf("")!==-1)return!0;for(var J=0;J<Y.length;J++){var q=Y[J].toLowerCase();if(q&&Z.substr(-q.length).toLowerCase()===q)return!0}return!1}function vl(Z,Q,Y){if(!Z.isSymbolicLink()&&!Z.isFile())return!1;return nG0(Q,Y)}function bl(Z,Q,Y){_l.stat(Z,function(J,q){Y(J,J?!1:vl(q,Z,Q))})}function sG0(Z,Q){return vl(_l.statSync(Z),Z,Q)}});var gl=k((xM0,fl)=>{fl.exports=xl;xl.sync=aG0;var hl=require("fs");function xl(Z,Q,Y){hl.stat(Z,function(J,q){Y(J,J?!1:ul(q,Q))})}function aG0(Z,Q){return ul(hl.statSync(Z),Q)}function ul(Z,Q){return Z.isFile()&&rG0(Z,Q)}function rG0(Z,Q){var{mode:Y,uid:J,gid:q}=Z,K=Q.uid!==void 0?Q.uid:process.getuid&&process.getuid(),V=Q.gid!==void 0?Q.gid:process.getgid&&process.getgid(),D=parseInt("100",8),z=parseInt("010",8),H=parseInt("001",8),G=D|z,W=Y&H||Y&z&&q===V||Y&D&&J===K||Y&G&&K===0;return W}});var cl=k((fM0,ml)=>{var uM0=require("fs"),zG;if(process.platform==="win32"||global.TESTING_WINDOWS)zG=yl();else zG=gl();ml.exports=Rw;Rw.sync=oG0;function Rw(Z,Q,Y){if(typeof Q==="function")Y=Q,Q={};if(!Y){if(typeof Promise!=="function")throw TypeError("callback not provided");return new Promise(function(J,q){Rw(Z,Q||{},function(K,V){if(K)q(K);else J(V)})})}zG(Z,Q||{},function(J,q){if(J){if(J.code==="EACCES"||Q&&Q.ignoreErrors)J=null,q=!1}Y(J,q)})}function oG0(Z,Q){try{return zG.sync(Z,Q||{})}catch(Y){if(Q&&Q.ignoreErrors||Y.code==="EACCES")return!1;else throw Y}}});var al=k((gM0,sl)=>{var IY=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",dl=require("path"),tG0=IY?";":":",ll=cl(),pl=(Z)=>Object.assign(Error(`not found: ${Z}`),{code:"ENOENT"}),il=(Z,Q)=>{let Y=Q.colon||tG0,J=Z.match(/\//)||IY&&Z.match(/\\/)?[""]:[...IY?[process.cwd()]:[],...(Q.path||process.env.PATH||"").split(Y)],q=IY?Q.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",K=IY?q.split(Y):[""];if(IY){if(Z.indexOf(".")!==-1&&K[0]!=="")K.unshift("")}return{pathEnv:J,pathExt:K,pathExtExe:q}},nl=(Z,Q,Y)=>{if(typeof Q==="function")Y=Q,Q={};if(!Q)Q={};let{pathEnv:J,pathExt:q,pathExtExe:K}=il(Z,Q),V=[],D=(H)=>new Promise((G,W)=>{if(H===J.length)return Q.all&&V.length?G(V):W(pl(Z));let $=J[H],B=/^".*"$/.test($)?$.slice(1,-1):$,O=dl.join(B,Z),A=!B&&/^\.[\\\/]/.test(Z)?Z.slice(0,2)+O:O;G(z(A,H,0))}),z=(H,G,W)=>new Promise(($,B)=>{if(W===q.length)return $(D(G+1));let O=q[W];ll(H+O,{pathExt:K},(A,w)=>{if(!A&&w)if(Q.all)V.push(H+O);else return $(H+O);return $(z(H,G,W+1))})});return Y?D(0).then((H)=>Y(null,H),Y):D(0)},eG0=(Z,Q)=>{Q=Q||{};let{pathEnv:Y,pathExt:J,pathExtExe:q}=il(Z,Q),K=[];for(let V=0;V<Y.length;V++){let D=Y[V],z=/^".*"$/.test(D)?D.slice(1,-1):D,H=dl.join(z,Z),G=!z&&/^\.[\\\/]/.test(Z)?Z.slice(0,2)+H:H;for(let W=0;W<J.length;W++){let $=G+J[W];try{if(ll.sync($,{pathExt:q}))if(Q.all)K.push($);else return $}catch(B){}}}if(Q.all&&K.length)return K;if(Q.nothrow)return null;throw pl(Z)};sl.exports=nl;nl.sync=eG0});var ol=k((mM0,Lw)=>{var rl=(Z={})=>{let Q=Z.env||process.env;if((Z.platform||process.platform)!=="win32")return"PATH";return Object.keys(Q).reverse().find((J)=>J.toUpperCase()==="PATH")||"Path"};Lw.exports=rl;Lw.exports.default=rl});var Qp=k((cM0,Zp)=>{var tl=require("path"),ZW0=al(),QW0=ol();function el(Z,Q){let Y=Z.options.env||process.env,J=process.cwd(),q=Z.options.cwd!=null,K=q&&process.chdir!==void 0&&!process.chdir.disabled;if(K)try{process.chdir(Z.options.cwd)}catch(D){}let V;try{V=ZW0.sync(Z.command,{path:Y[QW0({env:Y})],pathExt:Q?tl.delimiter:void 0})}catch(D){}finally{if(K)process.chdir(J)}if(V)V=tl.resolve(q?Z.options.cwd:"",V);return V}function YW0(Z){return el(Z)||el(Z,!0)}Zp.exports=YW0});var Yp=k((dM0,jw)=>{var Mw=/([()\][%!^"`<>&|;, *?])/g;function JW0(Z){return Z=Z.replace(Mw,"^$1"),Z}function qW0(Z,Q){if(Z=`${Z}`,Z=Z.replace(/(?=(\\+?)?)\1"/g,"$1$1\\\""),Z=Z.replace(/(?=(\\+?)?)\1$/,"$1$1"),Z=`"${Z}"`,Z=Z.replace(Mw,"^$1"),Q)Z=Z.replace(Mw,"^$1");return Z}jw.exports.command=JW0;jw.exports.argument=qW0});var qp=k((lM0,Jp)=>{Jp.exports=/^#!(.*)/});var Vp=k((pM0,Kp)=>{var KW0=qp();Kp.exports=(Z="")=>{let Q=Z.match(KW0);if(!Q)return null;let[Y,J]=Q[0].replace(/#! ?/,"").split(" "),q=Y.split("/").pop();if(q==="env")return J;return J?`${q} ${J}`:q}});var zp=k((iM0,Dp)=>{var Nw=require("fs"),VW0=Vp();function DW0(Z){let Y=Buffer.alloc(150),J;try{J=Nw.openSync(Z,"r"),Nw.readSync(J,Y,0,150,0),Nw.closeSync(J)}catch(q){}return VW0(Y.toString())}Dp.exports=DW0});var Up=k((nM0,Wp)=>{var zW0=require("path"),Hp=Qp(),Gp=Yp(),HW0=zp(),GW0=process.platform==="win32",WW0=/\.(?:com|exe)$/i,UW0=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function $W0(Z){Z.file=Hp(Z);let Q=Z.file&&HW0(Z.file);if(Q)return Z.args.unshift(Z.file),Z.command=Q,Hp(Z);return Z.file}function BW0(Z){if(!GW0)return Z;let Q=$W0(Z),Y=!WW0.test(Q);if(Z.options.forceShell||Y){let J=UW0.test(Q);Z.command=zW0.normalize(Z.command),Z.command=Gp.command(Z.command),Z.args=Z.args.map((K)=>Gp.argument(K,J));let q=[Z.command].concat(Z.args).join(" ");Z.args=["/d","/s","/c",`"${q}"`],Z.command=process.env.comspec||"cmd.exe",Z.options.windowsVerbatimArguments=!0}return Z}function OW0(Z,Q,Y){if(Q&&!Array.isArray(Q))Y=Q,Q=null;Q=Q?Q.slice(0):[],Y=Object.assign({},Y);let J={command:Z,args:Q,options:Y,file:void 0,original:{command:Z,args:Q}};return Y.shell?J:BW0(J)}Wp.exports=OW0});var Op=k((sM0,Bp)=>{var Sw=process.platform==="win32";function Pw(Z,Q){return Object.assign(Error(`${Q} ${Z.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${Q} ${Z.command}`,path:Z.command,spawnargs:Z.args})}function XW0(Z,Q){if(!Sw)return;let Y=Z.emit;Z.emit=function(J,q){if(J==="exit"){let K=$p(q,Q);if(K)return Y.call(Z,"error",K)}return Y.apply(Z,arguments)}}function $p(Z,Q){if(Sw&&Z===1&&!Q.file)return Pw(Q.original,"spawn");return null}function FW0(Z,Q){if(Sw&&Z===1&&!Q.file)return Pw(Q.original,"spawnSync");return null}Bp.exports={hookChildProcess:XW0,verifyENOENT:$p,verifyENOENTSync:FW0,notFoundError:Pw}});var Ap=k((aM0,CY)=>{var Xp=require("child_process"),Tw=Up(),_w=Op();function Fp(Z,Q,Y){let J=Tw(Z,Q,Y),q=Xp.spawn(J.command,J.args,J.options);return _w.hookChildProcess(q,J),q}function AW0(Z,Q,Y){let J=Tw(Z,Q,Y),q=Xp.spawnSync(J.command,J.args,J.options);return q.error=q.error||_w.verifyENOENTSync(q.status,J),q}CY.exports=Fp;CY.exports.spawn=Fp;CY.exports.sync=AW0;CY.exports._parse=Tw;CY.exports._enoent=_w});var RY=k((vw,wp)=>{var wW0=vw&&vw.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}},EW0=wW0(Ap());function IW0(Z,Q,Y={}){let J=Error(),q=J.stack?J.stack.replace(/^.*/," ..."):null,K,V=new Promise((D,z)=>{let{ignoreStdio:H,...G}=Y;K=(0,EW0.default)(Z,Q,G);let W="",$="";if(!H){if(K.stdout)K.stdout.on("data",(A)=>{W+=A});if(K.stderr)K.stderr.on("data",(A)=>{$+=A})}let B=(A,w)=>{K.removeListener("error",O);let E={pid:K.pid,output:[W,$],stdout:W,stderr:$,status:A,signal:w};if(A!==0){let S=Q&&Q.length>0?` ${Q.join(" ")}`:"",X=w?Error(`${Z}${S} exited with signal: ${w}`):Error(`${Z}${S} exited with non-zero code: ${A}`);if(X.stack&&q)X.stack+=`
@@ -435,12 +435,12 @@ ${V}`}throw new P2.default(`Error parsing JSON: ${Z}`,J,"EJSONPARSE",Y)}else ret
435
435
  `+S1.greenBright(`✅ Prebuilt ${S1.bold(String(Q.platform))} files`))};var fi=Y5(()=>{a7();w7();zE();xi=p1(vq()),HE=p1(require("node:process"))});var GE=(Z,Q,Y)=>{let J=Z instanceof RegExp?gi(Z,Y):Z,q=Q instanceof RegExp?gi(Q,Y):Q,K=J!==null&&q!=null&&xU0(J,q,Y);return K&&{start:K[0],end:K[1],pre:Y.slice(0,K[0]),body:Y.slice(K[0]+J.length,K[1]),post:Y.slice(K[1]+q.length)}},gi=(Z,Q)=>{let Y=Q.match(Z);return Y?Y[0]:null},xU0=(Z,Q,Y)=>{let J,q,K,V=void 0,D,z=Y.indexOf(Z),H=Y.indexOf(Q,z+1),G=z;if(z>=0&&H>0){if(Z===Q)return[z,H];J=[],K=Y.length;while(G>=0&&!D){if(G===z)J.push(G),z=Y.indexOf(Z,G+1);else if(J.length===1){let W=J.pop();if(W!==void 0)D=[W,H]}else{if(q=J.pop(),q!==void 0&&q<K)K=q,V=H;H=Y.indexOf(Q,G+1)}G=z<H&&z>=0?z:H}if(J.length&&V!==void 0)D=[K,V]}return D};function WE(Z){return!isNaN(Z)?parseInt(Z,10):Z.charCodeAt(0)}function sU0(Z){return Z.replace(dU0,mi).replace(lU0,ci).replace(pU0,UE).replace(iU0,di).replace(nU0,li)}function aU0(Z){return Z.replace(uU0,"\\").replace(fU0,"{").replace(gU0,"}").replace(mU0,",").replace(cU0,".")}function pi(Z){if(!Z)return[""];let Q=[],Y=GE("{","}",Z);if(!Y)return Z.split(",");let{pre:J,body:q,post:K}=Y,V=J.split(",");V[V.length-1]+="{"+q+"}";let D=pi(K);if(K.length)V[V.length-1]+=D.shift(),V.push.apply(V,D);return Q.push.apply(Q,V),Q}function ii(Z){if(!Z)return[];if(Z.slice(0,2)==="{}")Z="\\{\\}"+Z.slice(2);return bq(sU0(Z),!0).map(aU0)}function rU0(Z){return"{"+Z+"}"}function oU0(Z){return/^-?0\d/.test(Z)}function tU0(Z,Q){return Z<=Q}function eU0(Z,Q){return Z>=Q}function bq(Z,Q){let Y=[],J=GE("{","}",Z);if(!J)return[Z];let q=J.pre,K=J.post.length?bq(J.post,!1):[""];if(/\$$/.test(J.pre))for(let V=0;V<K.length;V++){let D=q+"{"+J.body+"}"+K[V];Y.push(D)}else{let V=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(J.body),D=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(J.body),z=V||D,H=J.body.indexOf(",")>=0;if(!z&&!H){if(J.post.match(/,(?!,).*\}/))return Z=J.pre+"{"+J.body+UE+J.post,bq(Z);return[Z]}let G;if(z)G=J.body.split(/\.\./);else if(G=pi(J.body),G.length===1&&G[0]!==void 0){if(G=bq(G[0],!1).map(rU0),G.length===1)return K.map(($)=>J.pre+G[0]+$)}let W;if(z&&G[0]!==void 0&&G[1]!==void 0){let $=WE(G[0]),B=WE(G[1]),O=Math.max(G[0].length,G[1].length),A=G.length===3&&G[2]!==void 0?Math.abs(WE(G[2])):1,w=tU0;if(B<$)A*=-1,w=eU0;let S=G.some(oU0);W=[];for(let X=$;w(X,B);X+=A){let F;if(D){if(F=String.fromCharCode(X),F==="\\")F=""}else if(F=String(X),S){let U=O-F.length;if(U>0){let I=Array(U+1).join("0");if(X<0)F="-"+I+F.slice(1);else F=I+F}}W.push(F)}}else{W=[];for(let $=0;$<G.length;$++)W.push.apply(W,bq(G[$],!1))}for(let $=0;$<W.length;$++)for(let B=0;B<K.length;B++){let O=q+W[$]+K[B];if(!Q||z||O)Y.push(O)}}return Y}var mi,ci,UE,di,li,uU0,fU0,gU0,mU0,cU0,dU0,lU0,pU0,iU0,nU0;var ni=Y5(()=>{mi="\x00SLASH"+Math.random()+"\x00",ci="\x00OPEN"+Math.random()+"\x00",UE="\x00CLOSE"+Math.random()+"\x00",di="\x00COMMA"+Math.random()+"\x00",li="\x00PERIOD"+Math.random()+"\x00",uU0=new RegExp(mi,"g"),fU0=new RegExp(ci,"g"),gU0=new RegExp(UE,"g"),mU0=new RegExp(di,"g"),cU0=new RegExp(li,"g"),dU0=/\\\\/g,lU0=/\\{/g,pU0=/\\}/g,iU0=/\\,/g,nU0=/\\./g});var kq=(Z)=>{if(typeof Z!=="string")throw TypeError("invalid pattern");if(Z.length>65536)throw TypeError("pattern is too long")};var Z$0,yq=(Z)=>Z.replace(/[[\]\\-]/g,"\\$&"),Q$0=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),si=(Z)=>Z.join(""),ai=(Z,Q)=>{let Y=Q;if(Z.charAt(Y)!=="[")throw Error("not in a brace expression");let J=[],q=[],K=Y+1,V=!1,D=!1,z=!1,H=!1,G=Y,W="";Z:while(K<Z.length){let A=Z.charAt(K);if((A==="!"||A==="^")&&K===Y+1){H=!0,K++;continue}if(A==="]"&&V&&!z){G=K+1;break}if(V=!0,A==="\\"){if(!z){z=!0,K++;continue}}if(A==="["&&!z){for(let[w,[E,S,X]]of Object.entries(Z$0))if(Z.startsWith(w,K)){if(W)return["$.",!1,Z.length-Y,!0];if(K+=w.length,X)q.push(E);else J.push(E);D=D||S;continue Z}}if(z=!1,W){if(A>W)J.push(yq(W)+"-"+yq(A));else if(A===W)J.push(yq(A));W="",K++;continue}if(Z.startsWith("-]",K+1)){J.push(yq(A+"-")),K+=2;continue}if(Z.startsWith("-",K+1)){W=A,K+=2;continue}J.push(yq(A)),K++}if(G<K)return["",!1,0,!1];if(!J.length&&!q.length)return["$.",!1,Z.length-Y,!0];if(q.length===0&&J.length===1&&/^\\?.$/.test(J[0])&&!H){let A=J[0].length===2?J[0].slice(-1):J[0];return[Q$0(A),!1,G-Y,!1]}let $="["+(H?"^":"")+si(J)+"]",B="["+(H?"":"^")+si(q)+"]";return[J.length&&q.length?"("+$+"|"+B+")":J.length?$:B,D,G-Y,!0]};var ri=Y5(()=>{Z$0={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]}});var c7=(Z,{windowsPathsNoEscape:Q=!1}={})=>{return Q?Z.replace(/\[([^\/\\])\]/g,"$1"):Z.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};class S8{type;#Z;#Q;#Y=!1;#q=[];#K;#A;#W;#G=!1;#H;#D;#V=!1;constructor(Z,Q,Y={}){if(this.type=Z,Z)this.#Q=!0;if(this.#K=Q,this.#Z=this.#K?this.#K.#Z:this,this.#H=this.#Z===this?Y:this.#Z.#H,this.#W=this.#Z===this?[]:this.#Z.#W,Z==="!"&&!this.#Z.#G)this.#W.push(this);this.#A=this.#K?this.#K.#q.length:0}get hasMagic(){if(this.#Q!==void 0)return this.#Q;for(let Z of this.#q){if(typeof Z==="string")continue;if(Z.type||Z.hasMagic)return this.#Q=!0}return this.#Q}toString(){if(this.#D!==void 0)return this.#D;if(!this.type)return this.#D=this.#q.map((Z)=>String(Z)).join("");else return this.#D=this.type+"("+this.#q.map((Z)=>String(Z)).join("|")+")"}#z(){if(this!==this.#Z)throw Error("should only call on root");if(this.#G)return this;this.toString(),this.#G=!0;let Z;while(Z=this.#W.pop()){if(Z.type!=="!")continue;let Q=Z,Y=Q.#K;while(Y){for(let J=Q.#A+1;!Y.type&&J<Y.#q.length;J++)for(let q of Z.#q){if(typeof q==="string")throw Error("string part in extglob AST??");q.copyIn(Y.#q[J])}Q=Y,Y=Q.#K}}return this}push(...Z){for(let Q of Z){if(Q==="")continue;if(typeof Q!=="string"&&!(Q instanceof S8&&Q.#K===this))throw Error("invalid part: "+Q);this.#q.push(Q)}}toJSON(){let Z=this.type===null?this.#q.slice().map((Q)=>typeof Q==="string"?Q:Q.toJSON()):[this.type,...this.#q.map((Q)=>Q.toJSON())];if(this.isStart()&&!this.type)Z.unshift([]);if(this.isEnd()&&(this===this.#Z||this.#Z.#G&&this.#K?.type==="!"))Z.push({});return Z}isStart(){if(this.#Z===this)return!0;if(!this.#K?.isStart())return!1;if(this.#A===0)return!0;let Z=this.#K;for(let Q=0;Q<this.#A;Q++){let Y=Z.#q[Q];if(!(Y instanceof S8&&Y.type==="!"))return!1}return!0}isEnd(){if(this.#Z===this)return!0;if(this.#K?.type==="!")return!0;if(!this.#K?.isEnd())return!1;if(!this.type)return this.#K?.isEnd();let Z=this.#K?this.#K.#q.length:0;return this.#A===Z-1}copyIn(Z){if(typeof Z==="string")this.push(Z);else this.push(Z.clone(this))}clone(Z){let Q=new S8(this.type,Z);for(let Y of this.#q)Q.copyIn(Y);return Q}static#$(Z,Q,Y,J){let q=!1,K=!1,V=-1,D=!1;if(Q.type===null){let $=Y,B="";while($<Z.length){let O=Z.charAt($++);if(q||O==="\\"){q=!q,B+=O;continue}if(K){if($===V+1){if(O==="^"||O==="!")D=!0}else if(O==="]"&&!($===V+2&&D))K=!1;B+=O;continue}else if(O==="["){K=!0,V=$,D=!1,B+=O;continue}if(!J.noext&&oi(O)&&Z.charAt($)==="("){Q.push(B),B="";let A=new S8(O,Q);$=S8.#$(Z,A,$,J),Q.push(A);continue}B+=O}return Q.push(B),$}let z=Y+1,H=new S8(null,Q),G=[],W="";while(z<Z.length){let $=Z.charAt(z++);if(q||$==="\\"){q=!q,W+=$;continue}if(K){if(z===V+1){if($==="^"||$==="!")D=!0}else if($==="]"&&!(z===V+2&&D))K=!1;W+=$;continue}else if($==="["){K=!0,V=z,D=!1,W+=$;continue}if(oi($)&&Z.charAt(z)==="("){H.push(W),W="";let B=new S8($,H);H.push(B),z=S8.#$(Z,B,z,J);continue}if($==="|"){H.push(W),W="",G.push(H),H=new S8(null,Q);continue}if($===")"){if(W===""&&Q.#q.length===0)Q.#V=!0;return H.push(W),W="",Q.push(...G,H),z}W+=$}return Q.type=null,Q.#Q=void 0,Q.#q=[Z.substring(Y-1)],z}static fromGlob(Z,Q={}){let Y=new S8(null,void 0,Q);return S8.#$(Z,Y,0,Q),Y}toMMPattern(){if(this!==this.#Z)return this.#Z.toMMPattern();let Z=this.toString(),[Q,Y,J,q]=this.toRegExpSource();if(!(J||this.#Q||this.#H.nocase&&!this.#H.nocaseMagicOnly&&Z.toUpperCase()!==Z.toLowerCase()))return Y;let V=(this.#H.nocase?"i":"")+(q?"u":"");return Object.assign(new RegExp(`^${Q}$`,V),{_src:Q,_glob:Z})}get options(){return this.#H}toRegExpSource(Z){let Q=Z??!!this.#H.dot;if(this.#Z===this)this.#z();if(!this.type){let D=this.isStart()&&this.isEnd(),z=this.#q.map(($)=>{let[B,O,A,w]=typeof $==="string"?S8.#U($,this.#Q,D):$.toRegExpSource(Z);return this.#Q=this.#Q||A,this.#Y=this.#Y||w,B}).join(""),H="";if(this.isStart()){if(typeof this.#q[0]==="string"){if(!(this.#q.length===1&&K$0.has(this.#q[0]))){let B=q$0,O=Q&&B.has(z.charAt(0))||z.startsWith("\\.")&&B.has(z.charAt(2))||z.startsWith("\\.\\.")&&B.has(z.charAt(4)),A=!Q&&!Z&&B.has(z.charAt(0));H=O?J$0:A?wG:""}}}let G="";if(this.isEnd()&&this.#Z.#G&&this.#K?.type==="!")G="(?:$|\\/)";return[H+z+G,c7(z),this.#Q=!!this.#Q,this.#Y]}let Y=this.type==="*"||this.type==="+",J=this.type==="!"?"(?:(?!(?:":"(?:",q=this.#B(Q);if(this.isStart()&&this.isEnd()&&!q&&this.type!=="!"){let D=this.toString();return this.#q=[D],this.type=null,this.#Q=void 0,[D,c7(this.toString()),!1,!1]}let K=!Y||Z||Q||!wG?"":this.#B(!0);if(K===q)K="";if(K)q=`(?:${q})(?:${K})*?`;let V="";if(this.type==="!"&&this.#V)V=(this.isStart()&&!Q?wG:"")+ei;else{let D=this.type==="!"?"))"+(this.isStart()&&!Q&&!Z?wG:"")+ti+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&K?")":this.type==="*"&&K?")?":`)${this.type}`;V=J+q+D}return[V,c7(q),this.#Q=!!this.#Q,this.#Y]}#B(Z){return this.#q.map((Q)=>{if(typeof Q==="string")throw Error("string type in extglob ast??");let[Y,J,q,K]=Q.toRegExpSource(Z);return this.#Y=this.#Y||K,Y}).filter((Q)=>!(this.isStart()&&this.isEnd())||!!Q).join("|")}static#U(Z,Q,Y=!1){let J=!1,q="",K=!1;for(let V=0;V<Z.length;V++){let D=Z.charAt(V);if(J){J=!1,q+=(V$0.has(D)?"\\":"")+D;continue}if(D==="\\"){if(V===Z.length-1)q+="\\\\";else J=!0;continue}if(D==="["){let[z,H,G,W]=ai(Z,V);if(G){q+=z,K=K||H,V+=G-1,Q=Q||W;continue}}if(D==="*"){if(Y&&Z==="*")q+=ei;else q+=ti;Q=!0;continue}if(D==="?"){q+=$E,Q=!0;continue}q+=D$0(D)}return[q,c7(Z),!!Q,K]}}var Y$0,oi=(Z)=>Y$0.has(Z),J$0="(?!(?:^|/)\\.\\.?(?:$|/))",wG="(?!\\.)",q$0,K$0,V$0,D$0=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),$E="[^/]",ti,ei;var BE=Y5(()=>{ri();Y$0=new Set(["!","?","+","*","@"]),q$0=new Set(["[","."]),K$0=new Set(["..","."]),V$0=new Set("().*{}+?[]^$\\!"),ti=$E+"*?",ei=$E+"+?"});var vY=(Z,{windowsPathsNoEscape:Q=!1}={})=>{return Q?Z.replace(/[?*()[\]]/g,"[$&]"):Z.replace(/[?*()[\]\\]/g,"\\$&")};class W7{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(Z,Q={}){if(kq(Z),Q=Q||{},this.options=Q,this.pattern=Z,this.platform=Q.platform||qn,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!Q.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!Q.nonegate,this.comment=!1,this.empty=!1,this.partial=!!Q.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=Q.windowsNoMagicRoot!==void 0?Q.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let Z of this.set)for(let Q of Z)if(typeof Q!=="string")return!0;return!1}debug(...Z){}make(){let Z=this.pattern,Q=this.options;if(!Q.nocomment&&Z.charAt(0)==="#"){this.comment=!0;return}if(!Z){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],Q.debug)this.debug=(...q)=>console.error(...q);this.debug(this.pattern,this.globSet);let Y=this.globSet.map((q)=>this.slashSplit(q));this.globParts=this.preprocess(Y),this.debug(this.pattern,this.globParts);let J=this.globParts.map((q,K,V)=>{if(this.isWindows&&this.windowsNoMagicRoot){let D=q[0]===""&&q[1]===""&&(q[2]==="?"||!Qn.test(q[2]))&&!Qn.test(q[3]),z=/^[a-z]:/i.test(q[0]);if(D)return[...q.slice(0,4),...q.slice(4).map((H)=>this.parse(H))];else if(z)return[q[0],...q.slice(1).map((H)=>this.parse(H))]}return q.map((D)=>this.parse(D))});if(this.debug(this.pattern,J),this.set=J.filter((q)=>q.indexOf(!1)===-1),this.isWindows)for(let q=0;q<this.set.length;q++){let K=this.set[q];if(K[0]===""&&K[1]===""&&this.globParts[q][2]==="?"&&typeof K[3]==="string"&&/^[a-z]:$/i.test(K[3]))K[2]="?"}this.debug(this.pattern,this.set)}preprocess(Z){if(this.options.noglobstar){for(let Y=0;Y<Z.length;Y++)for(let J=0;J<Z[Y].length;J++)if(Z[Y][J]==="**")Z[Y][J]="*"}let{optimizationLevel:Q=1}=this.options;if(Q>=2)Z=this.firstPhasePreProcess(Z),Z=this.secondPhasePreProcess(Z);else if(Q>=1)Z=this.levelOneOptimize(Z);else Z=this.adjascentGlobstarOptimize(Z);return Z}adjascentGlobstarOptimize(Z){return Z.map((Q)=>{let Y=-1;while((Y=Q.indexOf("**",Y+1))!==-1){let J=Y;while(Q[J+1]==="**")J++;if(J!==Y)Q.splice(Y,J-Y)}return Q})}levelOneOptimize(Z){return Z.map((Q)=>{return Q=Q.reduce((Y,J)=>{let q=Y[Y.length-1];if(J==="**"&&q==="**")return Y;if(J===".."){if(q&&q!==".."&&q!=="."&&q!=="**")return Y.pop(),Y}return Y.push(J),Y},[]),Q.length===0?[""]:Q})}levelTwoFileOptimize(Z){if(!Array.isArray(Z))Z=this.slashSplit(Z);let Q=!1;do{if(Q=!1,!this.preserveMultipleSlashes){for(let J=1;J<Z.length-1;J++){let q=Z[J];if(J===1&&q===""&&Z[0]==="")continue;if(q==="."||q==="")Q=!0,Z.splice(J,1),J--}if(Z[0]==="."&&Z.length===2&&(Z[1]==="."||Z[1]===""))Q=!0,Z.pop()}let Y=0;while((Y=Z.indexOf("..",Y+1))!==-1){let J=Z[Y-1];if(J&&J!=="."&&J!==".."&&J!=="**")Q=!0,Z.splice(Y-1,2),Y-=2}}while(Q);return Z.length===0?[""]:Z}firstPhasePreProcess(Z){let Q=!1;do{Q=!1;for(let Y of Z){let J=-1;while((J=Y.indexOf("**",J+1))!==-1){let K=J;while(Y[K+1]==="**")K++;if(K>J)Y.splice(J+1,K-J);let V=Y[J+1],D=Y[J+2],z=Y[J+3];if(V!=="..")continue;if(!D||D==="."||D===".."||!z||z==="."||z==="..")continue;Q=!0,Y.splice(J,1);let H=Y.slice(0);H[J]="**",Z.push(H),J--}if(!this.preserveMultipleSlashes){for(let K=1;K<Y.length-1;K++){let V=Y[K];if(K===1&&V===""&&Y[0]==="")continue;if(V==="."||V==="")Q=!0,Y.splice(K,1),K--}if(Y[0]==="."&&Y.length===2&&(Y[1]==="."||Y[1]===""))Q=!0,Y.pop()}let q=0;while((q=Y.indexOf("..",q+1))!==-1){let K=Y[q-1];if(K&&K!=="."&&K!==".."&&K!=="**"){Q=!0;let D=q===1&&Y[q+1]==="**"?["."]:[];if(Y.splice(q-1,2,...D),Y.length===0)Y.push("");q-=2}}}}while(Q);return Z}secondPhasePreProcess(Z){for(let Q=0;Q<Z.length-1;Q++)for(let Y=Q+1;Y<Z.length;Y++){let J=this.partsMatch(Z[Q],Z[Y],!this.preserveMultipleSlashes);if(J){Z[Q]=[],Z[Y]=J;break}}return Z.filter((Q)=>Q.length)}partsMatch(Z,Q,Y=!1){let J=0,q=0,K=[],V="";while(J<Z.length&&q<Q.length)if(Z[J]===Q[q])K.push(V==="b"?Q[q]:Z[J]),J++,q++;else if(Y&&Z[J]==="**"&&Q[q]===Z[J+1])K.push(Z[J]),J++;else if(Y&&Q[q]==="**"&&Z[J]===Q[q+1])K.push(Q[q]),q++;else if(Z[J]==="*"&&Q[q]&&(this.options.dot||!Q[q].startsWith("."))&&Q[q]!=="**"){if(V==="b")return!1;V="a",K.push(Z[J]),J++,q++}else if(Q[q]==="*"&&Z[J]&&(this.options.dot||!Z[J].startsWith("."))&&Z[J]!=="**"){if(V==="a")return!1;V="b",K.push(Q[q]),J++,q++}else return!1;return Z.length===Q.length&&K}parseNegate(){if(this.nonegate)return;let Z=this.pattern,Q=!1,Y=0;for(let J=0;J<Z.length&&Z.charAt(J)==="!";J++)Q=!Q,Y++;if(Y)this.pattern=Z.slice(Y);this.negate=Q}matchOne(Z,Q,Y=!1){let J=this.options;if(this.isWindows){let O=typeof Z[0]==="string"&&/^[a-z]:$/i.test(Z[0]),A=!O&&Z[0]===""&&Z[1]===""&&Z[2]==="?"&&/^[a-z]:$/i.test(Z[3]),w=typeof Q[0]==="string"&&/^[a-z]:$/i.test(Q[0]),E=!w&&Q[0]===""&&Q[1]===""&&Q[2]==="?"&&typeof Q[3]==="string"&&/^[a-z]:$/i.test(Q[3]),S=A?3:O?0:void 0,X=E?3:w?0:void 0;if(typeof S==="number"&&typeof X==="number"){let[F,U]=[Z[S],Q[X]];if(F.toLowerCase()===U.toLowerCase()){if(Q[X]=F,X>S)Q=Q.slice(X);else if(S>X)Z=Z.slice(S)}}}let{optimizationLevel:q=1}=this.options;if(q>=2)Z=this.levelTwoFileOptimize(Z);this.debug("matchOne",this,{file:Z,pattern:Q}),this.debug("matchOne",Z.length,Q.length);for(var K=0,V=0,D=Z.length,z=Q.length;K<D&&V<z;K++,V++){this.debug("matchOne loop");var H=Q[V],G=Z[K];if(this.debug(Q,H,G),H===!1)return!1;if(H===P8){this.debug("GLOBSTAR",[Q,H,G]);var W=K,$=V+1;if($===z){this.debug("** at the end");for(;K<D;K++)if(Z[K]==="."||Z[K]===".."||!J.dot&&Z[K].charAt(0)===".")return!1;return!0}while(W<D){var B=Z[W];if(this.debug(`
436
436
  globstar while`,Z,W,Q,$,B),this.matchOne(Z.slice(W),Q.slice($),Y))return this.debug("globstar found match!",W,D,B),!0;else{if(B==="."||B===".."||!J.dot&&B.charAt(0)==="."){this.debug("dot detected!",Z,W,Q,$);break}this.debug("globstar swallow a segment, and continue"),W++}}if(Y){if(this.debug(`
437
437
  >>> no match, partial?`,Z,W,Q,$),W===D)return!0}return!1}let O;if(typeof H==="string")O=G===H,this.debug("string match",H,G,O);else O=H.test(G),this.debug("pattern match",H,G,O);if(!O)return!1}if(K===D&&V===z)return!0;else if(K===D)return Y;else if(V===z)return K===D-1&&Z[K]==="";else throw Error("wtf?")}braceExpand(){return Kn(this.pattern,this.options)}parse(Z){kq(Z);let Q=this.options;if(Z==="**")return P8;if(Z==="")return"";let Y,J=null;if(Y=Z.match(A$0))J=Q.dot?E$0:w$0;else if(Y=Z.match(z$0))J=(Q.nocase?Q.dot?U$0:W$0:Q.dot?G$0:H$0)(Y[1]);else if(Y=Z.match(I$0))J=(Q.nocase?Q.dot?R$0:C$0:Q.dot?L$0:M$0)(Y);else if(Y=Z.match($$0))J=Q.dot?O$0:B$0;else if(Y=Z.match(X$0))J=F$0;let q=S8.fromGlob(Z,this.options).toMMPattern();if(J&&typeof q==="object")Reflect.defineProperty(q,"test",{value:J});return q}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let Z=this.set;if(!Z.length)return this.regexp=!1,this.regexp;let Q=this.options,Y=Q.noglobstar?S$0:Q.dot?P$0:T$0,J=new Set(Q.nocase?["i"]:[]),q=Z.map((D)=>{let z=D.map((H)=>{if(H instanceof RegExp)for(let G of H.flags.split(""))J.add(G);return typeof H==="string"?y$0(H):H===P8?P8:H._src});return z.forEach((H,G)=>{let W=z[G+1],$=z[G-1];if(H!==P8||$===P8)return;if($===void 0)if(W!==void 0&&W!==P8)z[G+1]="(?:\\/|"+Y+"\\/)?"+W;else z[G]=Y;else if(W===void 0)z[G-1]=$+"(?:\\/|"+Y+")?";else if(W!==P8)z[G-1]=$+"(?:\\/|\\/"+Y+"\\/)"+W,z[G+1]=P8}),z.filter((H)=>H!==P8).join("/")}).join("|"),[K,V]=Z.length>1?["(?:",")"]:["",""];if(q="^"+K+q+V+"$",this.negate)q="^(?!"+q+").+$";try{this.regexp=new RegExp(q,[...J].join(""))}catch(D){this.regexp=!1}return this.regexp}slashSplit(Z){if(this.preserveMultipleSlashes)return Z.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(Z))return["",...Z.split(/\/+/)];else return Z.split(/\/+/)}match(Z,Q=this.partial){if(this.debug("match",Z,this.pattern),this.comment)return!1;if(this.empty)return Z==="";if(Z==="/"&&Q)return!0;let Y=this.options;if(this.isWindows)Z=Z.split("\\").join("/");let J=this.slashSplit(Z);this.debug(this.pattern,"split",J);let q=this.set;this.debug(this.pattern,"set",q);let K=J[J.length-1];if(!K)for(let V=J.length-2;!K&&V>=0;V--)K=J[V];for(let V=0;V<q.length;V++){let D=q[V],z=J;if(Y.matchBase&&D.length===1)z=[K];if(this.matchOne(z,D,Q)){if(Y.flipNegate)return!0;return!this.negate}}if(Y.flipNegate)return!1;return this.negate}static defaults(Z){return Z9.defaults(Z).Minimatch}}var Z9=(Z,Q,Y={})=>{if(kq(Q),!Y.nocomment&&Q.charAt(0)==="#")return!1;return new W7(Q,Y).match(Z)},z$0,H$0=(Z)=>(Q)=>!Q.startsWith(".")&&Q.endsWith(Z),G$0=(Z)=>(Q)=>Q.endsWith(Z),W$0=(Z)=>{return Z=Z.toLowerCase(),(Q)=>!Q.startsWith(".")&&Q.toLowerCase().endsWith(Z)},U$0=(Z)=>{return Z=Z.toLowerCase(),(Q)=>Q.toLowerCase().endsWith(Z)},$$0,B$0=(Z)=>!Z.startsWith(".")&&Z.includes("."),O$0=(Z)=>Z!=="."&&Z!==".."&&Z.includes("."),X$0,F$0=(Z)=>Z!=="."&&Z!==".."&&Z.startsWith("."),A$0,w$0=(Z)=>Z.length!==0&&!Z.startsWith("."),E$0=(Z)=>Z.length!==0&&Z!=="."&&Z!=="..",I$0,C$0=([Z,Q=""])=>{let Y=Yn([Z]);if(!Q)return Y;return Q=Q.toLowerCase(),(J)=>Y(J)&&J.toLowerCase().endsWith(Q)},R$0=([Z,Q=""])=>{let Y=Jn([Z]);if(!Q)return Y;return Q=Q.toLowerCase(),(J)=>Y(J)&&J.toLowerCase().endsWith(Q)},L$0=([Z,Q=""])=>{let Y=Jn([Z]);return!Q?Y:(J)=>Y(J)&&J.endsWith(Q)},M$0=([Z,Q=""])=>{let Y=Yn([Z]);return!Q?Y:(J)=>Y(J)&&J.endsWith(Q)},Yn=([Z])=>{let Q=Z.length;return(Y)=>Y.length===Q&&!Y.startsWith(".")},Jn=([Z])=>{let Q=Z.length;return(Y)=>Y.length===Q&&Y!=="."&&Y!==".."},qn,Zn,j$0,P8,N$0="[^/]",S$0,P$0="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",T$0="(?:(?!(?:\\/|^)\\.).)*?",_$0=(Z,Q={})=>(Y)=>Z9(Y,Z,Q),G7=(Z,Q={})=>Object.assign({},Z,Q),v$0=(Z)=>{if(!Z||typeof Z!=="object"||!Object.keys(Z).length)return Z9;let Q=Z9;return Object.assign((J,q,K={})=>Q(J,q,G7(Z,K)),{Minimatch:class extends Q.Minimatch{constructor(q,K={}){super(q,G7(Z,K))}static defaults(q){return Q.defaults(G7(Z,q)).Minimatch}},AST:class extends Q.AST{constructor(q,K,V={}){super(q,K,G7(Z,V))}static fromGlob(q,K={}){return Q.AST.fromGlob(q,G7(Z,K))}},unescape:(J,q={})=>Q.unescape(J,G7(Z,q)),escape:(J,q={})=>Q.escape(J,G7(Z,q)),filter:(J,q={})=>Q.filter(J,G7(Z,q)),defaults:(J)=>Q.defaults(G7(Z,J)),makeRe:(J,q={})=>Q.makeRe(J,G7(Z,q)),braceExpand:(J,q={})=>Q.braceExpand(J,G7(Z,q)),match:(J,q,K={})=>Q.match(J,q,G7(Z,K)),sep:Q.sep,GLOBSTAR:P8})},Kn=(Z,Q={})=>{if(kq(Z),Q.nobrace||!/\{(?:(?!\{).)*\}/.test(Z))return[Z];return ii(Z)},b$0=(Z,Q={})=>new W7(Z,Q).makeRe(),k$0=(Z,Q,Y={})=>{let J=new W7(Q,Y);if(Z=Z.filter((q)=>J.match(q)),J.options.nonull&&!Z.length)Z.push(Q);return Z},Qn,y$0=(Z)=>Z.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");var v2=Y5(()=>{ni();BE();BE();z$0=/^\*+([^+@!?\*\[\(]*)$/,$$0=/^\*+\.\*+$/,X$0=/^\.\*+$/,A$0=/^\*+$/,I$0=/^\?+([^+@!?\*\[\(]*)?$/,qn=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Zn={win32:{sep:"\\"},posix:{sep:"/"}},j$0=qn==="win32"?Zn.win32.sep:Zn.posix.sep;Z9.sep=j$0;P8=Symbol("globstar **");Z9.GLOBSTAR=P8;S$0=N$0+"*?";Z9.filter=_$0;Z9.defaults=v$0;Z9.braceExpand=Kn;Z9.makeRe=b$0;Z9.match=k$0;Qn=/[?*]|[+@!]\(.*?\)|\[|\]/;Z9.AST=S8;Z9.Minimatch=W7;Z9.escape=vY;Z9.unescape=c7});class kY{heap;length;static#Z=!1;static create(Z){let Q=Hn(Z);if(!Q)return[];kY.#Z=!0;let Y=new kY(Z,Q);return kY.#Z=!1,Y}constructor(Z,Q){if(!kY.#Z)throw TypeError("instantiate Stack using Stack.create(n)");this.heap=new Q(Z),this.length=0}push(Z){this.heap[this.length++]=Z}pop(){return this.heap[--this.length]}}var bY,Dn,OE,zn=(Z,Q,Y,J)=>{typeof OE.emitWarning==="function"?OE.emitWarning(Z,Q,Y,J):console.error(`[${Y}] ${Q}: ${Z}`)},EG,Vn,h$0=(Z)=>!Dn.has(Z),pj0,b2=(Z)=>Z&&Z===Math.floor(Z)&&Z>0&&isFinite(Z),Hn=(Z)=>!b2(Z)?null:Z<=Math.pow(2,8)?Uint8Array:Z<=Math.pow(2,16)?Uint16Array:Z<=Math.pow(2,32)?Uint32Array:Z<=Number.MAX_SAFE_INTEGER?hq:null,hq,xq;var Gn=Y5(()=>{bY=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,Dn=new Set,OE=typeof process==="object"&&!!process?process:{},EG=globalThis.AbortController,Vn=globalThis.AbortSignal;if(typeof EG>"u"){Vn=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(J,q){this._onabort.push(q)}},EG=class{constructor(){Q()}signal=new Vn;abort(J){if(this.signal.aborted)return;this.signal.reason=J,this.signal.aborted=!0;for(let q of this.signal._onabort)q(J);this.signal.onabort?.(J)}};let Z=OE.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",Q=()=>{if(!Z)return;Z=!1,zn("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",Q)}}pj0=Symbol("type");hq=class hq extends Array{constructor(Z){super(Z);this.fill(0)}};xq=class xq{#Z;#Q;#Y;#q;#K;#A;#W;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#G;#H;#D;#V;#z;#$;#B;#U;#I;#C;#R;#N;#w;#M;#L;#F;#j;#S;static unsafeExposeInternals(Z){return{starts:Z.#w,ttls:Z.#M,sizes:Z.#N,keyMap:Z.#D,keyList:Z.#V,valList:Z.#z,next:Z.#$,prev:Z.#B,get head(){return Z.#U},get tail(){return Z.#I},free:Z.#C,isBackgroundFetch:(Q)=>Z.#X(Q),backgroundFetch:(Q,Y,J,q)=>Z.#x(Q,Y,J,q),moveToTail:(Q)=>Z.#c(Q),indexes:(Q)=>Z.#_(Q),rindexes:(Q)=>Z.#v(Q),isStale:(Q)=>Z.#P(Q)}}get max(){return this.#Z}get maxSize(){return this.#Q}get calculatedSize(){return this.#H}get size(){return this.#G}get fetchMethod(){return this.#A}get memoMethod(){return this.#W}get dispose(){return this.#Y}get onInsert(){return this.#q}get disposeAfter(){return this.#K}constructor(Z){let{max:Q=0,ttl:Y,ttlResolution:J=1,ttlAutopurge:q,updateAgeOnGet:K,updateAgeOnHas:V,allowStale:D,dispose:z,onInsert:H,disposeAfter:G,noDisposeOnSet:W,noUpdateTTL:$,maxSize:B=0,maxEntrySize:O=0,sizeCalculation:A,fetchMethod:w,memoMethod:E,noDeleteOnFetchRejection:S,noDeleteOnStaleGet:X,allowStaleOnFetchRejection:F,allowStaleOnFetchAbort:U,ignoreFetchAbort:I}=Z;if(Q!==0&&!b2(Q))throw TypeError("max option must be a nonnegative integer");let P=Q?Hn(Q):Array;if(!P)throw Error("invalid max value: "+Q);if(this.#Z=Q,this.#Q=B,this.maxEntrySize=O||this.#Q,this.sizeCalculation=A,this.sizeCalculation){if(!this.#Q&&!this.maxEntrySize)throw TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw TypeError("sizeCalculation set to non-function")}if(E!==void 0&&typeof E!=="function")throw TypeError("memoMethod must be a function if defined");if(this.#W=E,w!==void 0&&typeof w!=="function")throw TypeError("fetchMethod must be a function if specified");if(this.#A=w,this.#F=!!w,this.#D=new Map,this.#V=Array(Q).fill(void 0),this.#z=Array(Q).fill(void 0),this.#$=new P(Q),this.#B=new P(Q),this.#U=0,this.#I=0,this.#C=kY.create(Q),this.#G=0,this.#H=0,typeof z==="function")this.#Y=z;if(typeof H==="function")this.#q=H;if(typeof G==="function")this.#K=G,this.#R=[];else this.#K=void 0,this.#R=void 0;if(this.#L=!!this.#Y,this.#S=!!this.#q,this.#j=!!this.#K,this.noDisposeOnSet=!!W,this.noUpdateTTL=!!$,this.noDeleteOnFetchRejection=!!S,this.allowStaleOnFetchRejection=!!F,this.allowStaleOnFetchAbort=!!U,this.ignoreFetchAbort=!!I,this.maxEntrySize!==0){if(this.#Q!==0){if(!b2(this.#Q))throw TypeError("maxSize must be a positive integer if specified")}if(!b2(this.maxEntrySize))throw TypeError("maxEntrySize must be a positive integer if specified");this.#f()}if(this.allowStale=!!D,this.noDeleteOnStaleGet=!!X,this.updateAgeOnGet=!!K,this.updateAgeOnHas=!!V,this.ttlResolution=b2(J)||J===0?J:1,this.ttlAutopurge=!!q,this.ttl=Y||0,this.ttl){if(!b2(this.ttl))throw TypeError("ttl must be a positive integer if specified");this.#J()}if(this.#Z===0&&this.ttl===0&&this.#Q===0)throw TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#Z&&!this.#Q){if(h$0("LRU_CACHE_UNBOUNDED"))Dn.add("LRU_CACHE_UNBOUNDED"),zn("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",xq)}}getRemainingTTL(Z){return this.#D.has(Z)?1/0:0}#J(){let Z=new hq(this.#Z),Q=new hq(this.#Z);this.#M=Z,this.#w=Q,this.#T=(q,K,V=bY.now())=>{if(Q[q]=K!==0?V:0,Z[q]=K,K!==0&&this.ttlAutopurge){let D=setTimeout(()=>{if(this.#P(q))this.#g(this.#V[q],"expire")},K+1);if(D.unref)D.unref()}},this.#b=(q)=>{Q[q]=Z[q]!==0?bY.now():0},this.#E=(q,K)=>{if(Z[K]){let V=Z[K],D=Q[K];if(!V||!D)return;q.ttl=V,q.start=D,q.now=Y||J();let z=q.now-D;q.remainingTTL=V-z}};let Y=0,J=()=>{let q=bY.now();if(this.ttlResolution>0){Y=q;let K=setTimeout(()=>Y=0,this.ttlResolution);if(K.unref)K.unref()}return q};this.getRemainingTTL=(q)=>{let K=this.#D.get(q);if(K===void 0)return 0;let V=Z[K],D=Q[K];if(!V||!D)return 1/0;let z=(Y||J())-D;return V-z},this.#P=(q)=>{let K=Q[q],V=Z[q];return!!V&&!!K&&(Y||J())-K>V}}#b=()=>{};#E=()=>{};#T=()=>{};#P=()=>!1;#f(){let Z=new hq(this.#Z);this.#H=0,this.#N=Z,this.#k=(Q)=>{this.#H-=Z[Q],Z[Q]=0},this.#h=(Q,Y,J,q)=>{if(this.#X(Y))return 0;if(!b2(J))if(q){if(typeof q!=="function")throw TypeError("sizeCalculation must be a function");if(J=q(Y,Q),!b2(J))throw TypeError("sizeCalculation return invalid (expect positive integer)")}else throw TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return J},this.#y=(Q,Y,J)=>{if(Z[Q]=Y,this.#Q){let q=this.#Q-Z[Q];while(this.#H>q)this.#O(!0)}if(this.#H+=Z[Q],J)J.entrySize=Y,J.totalCalculatedSize=this.#H}}#k=(Z)=>{};#y=(Z,Q,Y)=>{};#h=(Z,Q,Y,J)=>{if(Y||J)throw TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#_({allowStale:Z=this.allowStale}={}){if(this.#G)for(let Q=this.#I;;){if(!this.#m(Q))break;if(Z||!this.#P(Q))yield Q;if(Q===this.#U)break;else Q=this.#B[Q]}}*#v({allowStale:Z=this.allowStale}={}){if(this.#G)for(let Q=this.#U;;){if(!this.#m(Q))break;if(Z||!this.#P(Q))yield Q;if(Q===this.#I)break;else Q=this.#$[Q]}}#m(Z){return Z!==void 0&&this.#D.get(this.#V[Z])===Z}*entries(){for(let Z of this.#_())if(this.#z[Z]!==void 0&&this.#V[Z]!==void 0&&!this.#X(this.#z[Z]))yield[this.#V[Z],this.#z[Z]]}*rentries(){for(let Z of this.#v())if(this.#z[Z]!==void 0&&this.#V[Z]!==void 0&&!this.#X(this.#z[Z]))yield[this.#V[Z],this.#z[Z]]}*keys(){for(let Z of this.#_()){let Q=this.#V[Z];if(Q!==void 0&&!this.#X(this.#z[Z]))yield Q}}*rkeys(){for(let Z of this.#v()){let Q=this.#V[Z];if(Q!==void 0&&!this.#X(this.#z[Z]))yield Q}}*values(){for(let Z of this.#_())if(this.#z[Z]!==void 0&&!this.#X(this.#z[Z]))yield this.#z[Z]}*rvalues(){for(let Z of this.#v())if(this.#z[Z]!==void 0&&!this.#X(this.#z[Z]))yield this.#z[Z]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(Z,Q={}){for(let Y of this.#_()){let J=this.#z[Y],q=this.#X(J)?J.__staleWhileFetching:J;if(q===void 0)continue;if(Z(q,this.#V[Y],this))return this.get(this.#V[Y],Q)}}forEach(Z,Q=this){for(let Y of this.#_()){let J=this.#z[Y],q=this.#X(J)?J.__staleWhileFetching:J;if(q===void 0)continue;Z.call(Q,q,this.#V[Y],this)}}rforEach(Z,Q=this){for(let Y of this.#v()){let J=this.#z[Y],q=this.#X(J)?J.__staleWhileFetching:J;if(q===void 0)continue;Z.call(Q,q,this.#V[Y],this)}}purgeStale(){let Z=!1;for(let Q of this.#v({allowStale:!0}))if(this.#P(Q))this.#g(this.#V[Q],"expire"),Z=!0;return Z}info(Z){let Q=this.#D.get(Z);if(Q===void 0)return;let Y=this.#z[Q],J=this.#X(Y)?Y.__staleWhileFetching:Y;if(J===void 0)return;let q={value:J};if(this.#M&&this.#w){let K=this.#M[Q],V=this.#w[Q];if(K&&V){let D=K-(bY.now()-V);q.ttl=D,q.start=Date.now()}}if(this.#N)q.size=this.#N[Q];return q}dump(){let Z=[];for(let Q of this.#_({allowStale:!0})){let Y=this.#V[Q],J=this.#z[Q],q=this.#X(J)?J.__staleWhileFetching:J;if(q===void 0||Y===void 0)continue;let K={value:q};if(this.#M&&this.#w){K.ttl=this.#M[Q];let V=bY.now()-this.#w[Q];K.start=Math.floor(Date.now()-V)}if(this.#N)K.size=this.#N[Q];Z.unshift([Y,K])}return Z}load(Z){this.clear();for(let[Q,Y]of Z){if(Y.start){let J=Date.now()-Y.start;Y.start=bY.now()-J}this.set(Q,Y.value,Y)}}set(Z,Q,Y={}){if(Q===void 0)return this.delete(Z),this;let{ttl:J=this.ttl,start:q,noDisposeOnSet:K=this.noDisposeOnSet,sizeCalculation:V=this.sizeCalculation,status:D}=Y,{noUpdateTTL:z=this.noUpdateTTL}=Y,H=this.#h(Z,Q,Y.size||0,V);if(this.maxEntrySize&&H>this.maxEntrySize){if(D)D.set="miss",D.maxEntrySizeExceeded=!0;return this.#g(Z,"set"),this}let G=this.#G===0?void 0:this.#D.get(Z);if(G===void 0){if(G=this.#G===0?this.#I:this.#C.length!==0?this.#C.pop():this.#G===this.#Z?this.#O(!1):this.#G,this.#V[G]=Z,this.#z[G]=Q,this.#D.set(Z,G),this.#$[this.#I]=G,this.#B[G]=this.#I,this.#I=G,this.#G++,this.#y(G,H,D),D)D.set="add";if(z=!1,this.#S)this.#q?.(Q,Z,"add")}else{this.#c(G);let W=this.#z[G];if(Q!==W){if(this.#F&&this.#X(W)){W.__abortController.abort(Error("replaced"));let{__staleWhileFetching:$}=W;if($!==void 0&&!K){if(this.#L)this.#Y?.($,Z,"set");if(this.#j)this.#R?.push([$,Z,"set"])}}else if(!K){if(this.#L)this.#Y?.(W,Z,"set");if(this.#j)this.#R?.push([W,Z,"set"])}if(this.#k(G),this.#y(G,H,D),this.#z[G]=Q,D){D.set="replace";let $=W&&this.#X(W)?W.__staleWhileFetching:W;if($!==void 0)D.oldValue=$}}else if(D)D.set="update";if(this.#S)this.onInsert?.(Q,Z,Q===W?"update":"replace")}if(J!==0&&!this.#M)this.#J();if(this.#M){if(!z)this.#T(G,J,q);if(D)this.#E(D,G)}if(!K&&this.#j&&this.#R){let W=this.#R,$;while($=W?.shift())this.#K?.(...$)}return this}pop(){try{while(this.#G){let Z=this.#z[this.#U];if(this.#O(!0),this.#X(Z)){if(Z.__staleWhileFetching)return Z.__staleWhileFetching}else if(Z!==void 0)return Z}}finally{if(this.#j&&this.#R){let Z=this.#R,Q;while(Q=Z?.shift())this.#K?.(...Q)}}}#O(Z){let Q=this.#U,Y=this.#V[Q],J=this.#z[Q];if(this.#F&&this.#X(J))J.__abortController.abort(Error("evicted"));else if(this.#L||this.#j){if(this.#L)this.#Y?.(J,Y,"evict");if(this.#j)this.#R?.push([J,Y,"evict"])}if(this.#k(Q),Z)this.#V[Q]=void 0,this.#z[Q]=void 0,this.#C.push(Q);if(this.#G===1)this.#U=this.#I=0,this.#C.length=0;else this.#U=this.#$[Q];return this.#D.delete(Y),this.#G--,Q}has(Z,Q={}){let{updateAgeOnHas:Y=this.updateAgeOnHas,status:J}=Q,q=this.#D.get(Z);if(q!==void 0){let K=this.#z[q];if(this.#X(K)&&K.__staleWhileFetching===void 0)return!1;if(!this.#P(q)){if(Y)this.#b(q);if(J)J.has="hit",this.#E(J,q);return!0}else if(J)J.has="stale",this.#E(J,q)}else if(J)J.has="miss";return!1}peek(Z,Q={}){let{allowStale:Y=this.allowStale}=Q,J=this.#D.get(Z);if(J===void 0||!Y&&this.#P(J))return;let q=this.#z[J];return this.#X(q)?q.__staleWhileFetching:q}#x(Z,Q,Y,J){let q=Q===void 0?void 0:this.#z[Q];if(this.#X(q))return q;let K=new EG,{signal:V}=Y;V?.addEventListener("abort",()=>K.abort(V.reason),{signal:K.signal});let D={signal:K.signal,options:Y,context:J},z=(O,A=!1)=>{let{aborted:w}=K.signal,E=Y.ignoreFetchAbort&&O!==void 0;if(Y.status)if(w&&!A){if(Y.status.fetchAborted=!0,Y.status.fetchError=K.signal.reason,E)Y.status.fetchAbortIgnored=!0}else Y.status.fetchResolved=!0;if(w&&!E&&!A)return G(K.signal.reason);let S=$;if(this.#z[Q]===$)if(O===void 0)if(S.__staleWhileFetching)this.#z[Q]=S.__staleWhileFetching;else this.#g(Z,"fetch");else{if(Y.status)Y.status.fetchUpdated=!0;this.set(Z,O,D.options)}return O},H=(O)=>{if(Y.status)Y.status.fetchRejected=!0,Y.status.fetchError=O;return G(O)},G=(O)=>{let{aborted:A}=K.signal,w=A&&Y.allowStaleOnFetchAbort,E=w||Y.allowStaleOnFetchRejection,S=E||Y.noDeleteOnFetchRejection,X=$;if(this.#z[Q]===$){if(!S||X.__staleWhileFetching===void 0)this.#g(Z,"fetch");else if(!w)this.#z[Q]=X.__staleWhileFetching}if(E){if(Y.status&&X.__staleWhileFetching!==void 0)Y.status.returnedStale=!0;return X.__staleWhileFetching}else if(X.__returned===X)throw O},W=(O,A)=>{let w=this.#A?.(Z,q,D);if(w&&w instanceof Promise)w.then((E)=>O(E===void 0?void 0:E),A);K.signal.addEventListener("abort",()=>{if(!Y.ignoreFetchAbort||Y.allowStaleOnFetchAbort){if(O(void 0),Y.allowStaleOnFetchAbort)O=(E)=>z(E,!0)}})};if(Y.status)Y.status.fetchDispatched=!0;let $=new Promise(W).then(z,H),B=Object.assign($,{__abortController:K,__staleWhileFetching:q,__returned:void 0});if(Q===void 0)this.set(Z,B,{...D.options,status:void 0}),Q=this.#D.get(Z);else this.#z[Q]=B;return B}#X(Z){if(!this.#F)return!1;let Q=Z;return!!Q&&Q instanceof Promise&&Q.hasOwnProperty("__staleWhileFetching")&&Q.__abortController instanceof EG}async fetch(Z,Q={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:J=this.updateAgeOnGet,noDeleteOnStaleGet:q=this.noDeleteOnStaleGet,ttl:K=this.ttl,noDisposeOnSet:V=this.noDisposeOnSet,size:D=0,sizeCalculation:z=this.sizeCalculation,noUpdateTTL:H=this.noUpdateTTL,noDeleteOnFetchRejection:G=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:W=this.allowStaleOnFetchRejection,ignoreFetchAbort:$=this.ignoreFetchAbort,allowStaleOnFetchAbort:B=this.allowStaleOnFetchAbort,context:O,forceRefresh:A=!1,status:w,signal:E}=Q;if(!this.#F){if(w)w.fetch="get";return this.get(Z,{allowStale:Y,updateAgeOnGet:J,noDeleteOnStaleGet:q,status:w})}let S={allowStale:Y,updateAgeOnGet:J,noDeleteOnStaleGet:q,ttl:K,noDisposeOnSet:V,size:D,sizeCalculation:z,noUpdateTTL:H,noDeleteOnFetchRejection:G,allowStaleOnFetchRejection:W,allowStaleOnFetchAbort:B,ignoreFetchAbort:$,status:w,signal:E},X=this.#D.get(Z);if(X===void 0){if(w)w.fetch="miss";let F=this.#x(Z,X,S,O);return F.__returned=F}else{let F=this.#z[X];if(this.#X(F)){let R=Y&&F.__staleWhileFetching!==void 0;if(w){if(w.fetch="inflight",R)w.returnedStale=!0}return R?F.__staleWhileFetching:F.__returned=F}let U=this.#P(X);if(!A&&!U){if(w)w.fetch="hit";if(this.#c(X),J)this.#b(X);if(w)this.#E(w,X);return F}let I=this.#x(Z,X,S,O),L=I.__staleWhileFetching!==void 0&&Y;if(w){if(w.fetch=U?"stale":"refresh",L&&U)w.returnedStale=!0}return L?I.__staleWhileFetching:I.__returned=I}}async forceFetch(Z,Q={}){let Y=await this.fetch(Z,Q);if(Y===void 0)throw Error("fetch() returned undefined");return Y}memo(Z,Q={}){let Y=this.#W;if(!Y)throw Error("no memoMethod provided to constructor");let{context:J,forceRefresh:q,...K}=Q,V=this.get(Z,K);if(!q&&V!==void 0)return V;let D=Y(Z,V,{options:K,context:J});return this.set(Z,D,K),D}get(Z,Q={}){let{allowStale:Y=this.allowStale,updateAgeOnGet:J=this.updateAgeOnGet,noDeleteOnStaleGet:q=this.noDeleteOnStaleGet,status:K}=Q,V=this.#D.get(Z);if(V!==void 0){let D=this.#z[V],z=this.#X(D);if(K)this.#E(K,V);if(this.#P(V)){if(K)K.get="stale";if(!z){if(!q)this.#g(Z,"expire");if(K&&Y)K.returnedStale=!0;return Y?D:void 0}else{if(K&&Y&&D.__staleWhileFetching!==void 0)K.returnedStale=!0;return Y?D.__staleWhileFetching:void 0}}else{if(K)K.get="hit";if(z)return D.__staleWhileFetching;if(this.#c(V),J)this.#b(V);return D}}else if(K)K.get="miss"}#u(Z,Q){this.#B[Q]=Z,this.#$[Z]=Q}#c(Z){if(Z!==this.#I){if(Z===this.#U)this.#U=this.#$[Z];else this.#u(this.#B[Z],this.#$[Z]);this.#u(this.#I,Z),this.#I=Z}}delete(Z){return this.#g(Z,"delete")}#g(Z,Q){let Y=!1;if(this.#G!==0){let J=this.#D.get(Z);if(J!==void 0)if(Y=!0,this.#G===1)this.#d(Q);else{this.#k(J);let q=this.#z[J];if(this.#X(q))q.__abortController.abort(Error("deleted"));else if(this.#L||this.#j){if(this.#L)this.#Y?.(q,Z,Q);if(this.#j)this.#R?.push([q,Z,Q])}if(this.#D.delete(Z),this.#V[J]=void 0,this.#z[J]=void 0,J===this.#I)this.#I=this.#B[J];else if(J===this.#U)this.#U=this.#$[J];else{let K=this.#B[J];this.#$[K]=this.#$[J];let V=this.#$[J];this.#B[V]=this.#B[J]}this.#G--,this.#C.push(J)}}if(this.#j&&this.#R?.length){let J=this.#R,q;while(q=J?.shift())this.#K?.(...q)}return Y}clear(){return this.#d("delete")}#d(Z){for(let Q of this.#v({allowStale:!0})){let Y=this.#z[Q];if(this.#X(Y))Y.__abortController.abort(Error("deleted"));else{let J=this.#V[Q];if(this.#L)this.#Y?.(Y,J,Z);if(this.#j)this.#R?.push([Y,J,Z])}}if(this.#D.clear(),this.#z.fill(void 0),this.#V.fill(void 0),this.#M&&this.#w)this.#M.fill(0),this.#w.fill(0);if(this.#N)this.#N.fill(0);if(this.#U=0,this.#I=0,this.#C.length=0,this.#H=0,this.#G=0,this.#j&&this.#R){let Q=this.#R,Y;while(Y=Q?.shift())this.#K?.(...Y)}}}});class CE{src;dest;opts;ondrain;constructor(Z,Q,Y){this.src=Z,this.dest=Q,this.opts=Y,this.ondrain=()=>Z[hY](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(Z){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}var jG,IE,On,Wn,x$0=(Z)=>!!Z&&typeof Z==="object"&&(Z instanceof iZ||Z instanceof IE.default||u$0(Z)||f$0(Z)),u$0=(Z)=>!!Z&&typeof Z==="object"&&Z instanceof jG.EventEmitter&&typeof Z.pipe==="function"&&Z.pipe!==IE.default.Writable.prototype.pipe,f$0=(Z)=>!!Z&&typeof Z==="object"&&Z instanceof jG.EventEmitter&&typeof Z.write==="function"&&typeof Z.end==="function",_4,v4,k2,IG,uq,CG,Un,RG,$n,d7,yY,w8,fq,hY,E8,Q9,I8,XE,LG,c8,p5,FE,AE,Bn,wE,R6,EE,MG,gq,pZ,u9,mq=(Z)=>Promise.resolve().then(Z),g$0=(Z)=>Z(),m$0=(Z)=>Z==="end"||Z==="finish"||Z==="prefinish",c$0=(Z)=>Z instanceof ArrayBuffer||!!Z&&typeof Z==="object"&&Z.constructor&&Z.constructor.name==="ArrayBuffer"&&Z.byteLength>=0,d$0=(Z)=>!Buffer.isBuffer(Z)&&ArrayBuffer.isView(Z),Xn,l$0=(Z)=>!!Z.objectMode,p$0=(Z)=>!Z.objectMode&&!!Z.encoding&&Z.encoding!=="buffer",iZ;var RE=Y5(()=>{jG=require("node:events"),IE=p1(require("node:stream")),On=require("node:string_decoder"),Wn=typeof process==="object"&&process?process:{stdout:null,stderr:null},_4=Symbol("EOF"),v4=Symbol("maybeEmitEnd"),k2=Symbol("emittedEnd"),IG=Symbol("emittingEnd"),uq=Symbol("emittedError"),CG=Symbol("closed"),Un=Symbol("read"),RG=Symbol("flush"),$n=Symbol("flushChunk"),d7=Symbol("encoding"),yY=Symbol("decoder"),w8=Symbol("flowing"),fq=Symbol("paused"),hY=Symbol("resume"),E8=Symbol("buffer"),Q9=Symbol("pipes"),I8=Symbol("bufferLength"),XE=Symbol("bufferPush"),LG=Symbol("bufferShift"),c8=Symbol("objectMode"),p5=Symbol("destroyed"),FE=Symbol("error"),AE=Symbol("emitData"),Bn=Symbol("emitEnd"),wE=Symbol("emitEnd2"),R6=Symbol("async"),EE=Symbol("abort"),MG=Symbol("aborted"),gq=Symbol("signal"),pZ=Symbol("dataListeners"),u9=Symbol("discarded");Xn=class Xn extends CE{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(Z,Q,Y){super(Z,Q,Y);this.proxyErrors=(J)=>Q.emit("error",J),Z.on("error",this.proxyErrors)}};iZ=class iZ extends jG.EventEmitter{[w8]=!1;[fq]=!1;[Q9]=[];[E8]=[];[c8];[d7];[R6];[yY];[_4]=!1;[k2]=!1;[IG]=!1;[CG]=!1;[uq]=null;[I8]=0;[p5]=!1;[gq];[MG]=!1;[pZ]=0;[u9]=!1;writable=!0;readable=!0;constructor(...Z){let Q=Z[0]||{};super();if(Q.objectMode&&typeof Q.encoding==="string")throw TypeError("Encoding and objectMode may not be used together");if(l$0(Q))this[c8]=!0,this[d7]=null;else if(p$0(Q))this[d7]=Q.encoding,this[c8]=!1;else this[c8]=!1,this[d7]=null;if(this[R6]=!!Q.async,this[yY]=this[d7]?new On.StringDecoder(this[d7]):null,Q&&Q.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[E8]});if(Q&&Q.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[Q9]});let{signal:Y}=Q;if(Y)if(this[gq]=Y,Y.aborted)this[EE]();else Y.addEventListener("abort",()=>this[EE]())}get bufferLength(){return this[I8]}get encoding(){return this[d7]}set encoding(Z){throw Error("Encoding must be set at instantiation time")}setEncoding(Z){throw Error("Encoding must be set at instantiation time")}get objectMode(){return this[c8]}set objectMode(Z){throw Error("objectMode must be set at instantiation time")}get["async"](){return this[R6]}set["async"](Z){this[R6]=this[R6]||!!Z}[EE](){this[MG]=!0,this.emit("abort",this[gq]?.reason),this.destroy(this[gq]?.reason)}get aborted(){return this[MG]}set aborted(Z){}write(Z,Q,Y){if(this[MG])return!1;if(this[_4])throw Error("write after end");if(this[p5])return this.emit("error",Object.assign(Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof Q==="function")Y=Q,Q="utf8";if(!Q)Q="utf8";let J=this[R6]?mq:g$0;if(!this[c8]&&!Buffer.isBuffer(Z)){if(d$0(Z))Z=Buffer.from(Z.buffer,Z.byteOffset,Z.byteLength);else if(c$0(Z))Z=Buffer.from(Z);else if(typeof Z!=="string")throw Error("Non-contiguous data written to non-objectMode stream")}if(this[c8]){if(this[w8]&&this[I8]!==0)this[RG](!0);if(this[w8])this.emit("data",Z);else this[XE](Z);if(this[I8]!==0)this.emit("readable");if(Y)J(Y);return this[w8]}if(!Z.length){if(this[I8]!==0)this.emit("readable");if(Y)J(Y);return this[w8]}if(typeof Z==="string"&&!(Q===this[d7]&&!this[yY]?.lastNeed))Z=Buffer.from(Z,Q);if(Buffer.isBuffer(Z)&&this[d7])Z=this[yY].write(Z);if(this[w8]&&this[I8]!==0)this[RG](!0);if(this[w8])this.emit("data",Z);else this[XE](Z);if(this[I8]!==0)this.emit("readable");if(Y)J(Y);return this[w8]}read(Z){if(this[p5])return null;if(this[u9]=!1,this[I8]===0||Z===0||Z&&Z>this[I8])return this[v4](),null;if(this[c8])Z=null;if(this[E8].length>1&&!this[c8])this[E8]=[this[d7]?this[E8].join(""):Buffer.concat(this[E8],this[I8])];let Q=this[Un](Z||null,this[E8][0]);return this[v4](),Q}[Un](Z,Q){if(this[c8])this[LG]();else{let Y=Q;if(Z===Y.length||Z===null)this[LG]();else if(typeof Y==="string")this[E8][0]=Y.slice(Z),Q=Y.slice(0,Z),this[I8]-=Z;else this[E8][0]=Y.subarray(Z),Q=Y.subarray(0,Z),this[I8]-=Z}if(this.emit("data",Q),!this[E8].length&&!this[_4])this.emit("drain");return Q}end(Z,Q,Y){if(typeof Z==="function")Y=Z,Z=void 0;if(typeof Q==="function")Y=Q,Q="utf8";if(Z!==void 0)this.write(Z,Q);if(Y)this.once("end",Y);if(this[_4]=!0,this.writable=!1,this[w8]||!this[fq])this[v4]();return this}[hY](){if(this[p5])return;if(!this[pZ]&&!this[Q9].length)this[u9]=!0;if(this[fq]=!1,this[w8]=!0,this.emit("resume"),this[E8].length)this[RG]();else if(this[_4])this[v4]();else this.emit("drain")}resume(){return this[hY]()}pause(){this[w8]=!1,this[fq]=!0,this[u9]=!1}get destroyed(){return this[p5]}get flowing(){return this[w8]}get paused(){return this[fq]}[XE](Z){if(this[c8])this[I8]+=1;else this[I8]+=Z.length;this[E8].push(Z)}[LG](){if(this[c8])this[I8]-=1;else this[I8]-=this[E8][0].length;return this[E8].shift()}[RG](Z=!1){do;while(this[$n](this[LG]())&&this[E8].length);if(!Z&&!this[E8].length&&!this[_4])this.emit("drain")}[$n](Z){return this.emit("data",Z),this[w8]}pipe(Z,Q){if(this[p5])return Z;this[u9]=!1;let Y=this[k2];if(Q=Q||{},Z===Wn.stdout||Z===Wn.stderr)Q.end=!1;else Q.end=Q.end!==!1;if(Q.proxyErrors=!!Q.proxyErrors,Y){if(Q.end)Z.end()}else if(this[Q9].push(!Q.proxyErrors?new CE(this,Z,Q):new Xn(this,Z,Q)),this[R6])mq(()=>this[hY]());else this[hY]();return Z}unpipe(Z){let Q=this[Q9].find((Y)=>Y.dest===Z);if(Q){if(this[Q9].length===1){if(this[w8]&&this[pZ]===0)this[w8]=!1;this[Q9]=[]}else this[Q9].splice(this[Q9].indexOf(Q),1);Q.unpipe()}}addListener(Z,Q){return this.on(Z,Q)}on(Z,Q){let Y=super.on(Z,Q);if(Z==="data"){if(this[u9]=!1,this[pZ]++,!this[Q9].length&&!this[w8])this[hY]()}else if(Z==="readable"&&this[I8]!==0)super.emit("readable");else if(m$0(Z)&&this[k2])super.emit(Z),this.removeAllListeners(Z);else if(Z==="error"&&this[uq]){let J=Q;if(this[R6])mq(()=>J.call(this,this[uq]));else J.call(this,this[uq])}return Y}removeListener(Z,Q){return this.off(Z,Q)}off(Z,Q){let Y=super.off(Z,Q);if(Z==="data"){if(this[pZ]=this.listeners("data").length,this[pZ]===0&&!this[u9]&&!this[Q9].length)this[w8]=!1}return Y}removeAllListeners(Z){let Q=super.removeAllListeners(Z);if(Z==="data"||Z===void 0){if(this[pZ]=0,!this[u9]&&!this[Q9].length)this[w8]=!1}return Q}get emittedEnd(){return this[k2]}[v4](){if(!this[IG]&&!this[k2]&&!this[p5]&&this[E8].length===0&&this[_4]){if(this[IG]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[CG])this.emit("close");this[IG]=!1}}emit(Z,...Q){let Y=Q[0];if(Z!=="error"&&Z!=="close"&&Z!==p5&&this[p5])return!1;else if(Z==="data")return!this[c8]&&!Y?!1:this[R6]?(mq(()=>this[AE](Y)),!0):this[AE](Y);else if(Z==="end")return this[Bn]();else if(Z==="close"){if(this[CG]=!0,!this[k2]&&!this[p5])return!1;let q=super.emit("close");return this.removeAllListeners("close"),q}else if(Z==="error"){this[uq]=Y,super.emit(FE,Y);let q=!this[gq]||this.listeners("error").length?super.emit("error",Y):!1;return this[v4](),q}else if(Z==="resume"){let q=super.emit("resume");return this[v4](),q}else if(Z==="finish"||Z==="prefinish"){let q=super.emit(Z);return this.removeAllListeners(Z),q}let J=super.emit(Z,...Q);return this[v4](),J}[AE](Z){for(let Y of this[Q9])if(Y.dest.write(Z)===!1)this.pause();let Q=this[u9]?!1:super.emit("data",Z);return this[v4](),Q}[Bn](){if(this[k2])return!1;return this[k2]=!0,this.readable=!1,this[R6]?(mq(()=>this[wE]()),!0):this[wE]()}[wE](){if(this[yY]){let Q=this[yY].end();if(Q){for(let Y of this[Q9])Y.dest.write(Q);if(!this[u9])super.emit("data",Q)}}for(let Q of this[Q9])Q.end();let Z=super.emit("end");return this.removeAllListeners("end"),Z}async collect(){let Z=Object.assign([],{dataLength:0});if(!this[c8])Z.dataLength=0;let Q=this.promise();return this.on("data",(Y)=>{if(Z.push(Y),!this[c8])Z.dataLength+=Y.length}),await Q,Z}async concat(){if(this[c8])throw Error("cannot concat in objectMode");let Z=await this.collect();return this[d7]?Z.join(""):Buffer.concat(Z,Z.dataLength)}async promise(){return new Promise((Z,Q)=>{this.on(p5,()=>Q(Error("stream destroyed"))),this.on("error",(Y)=>Q(Y)),this.on("end",()=>Z())})}[Symbol.asyncIterator](){this[u9]=!1;let Z=!1,Q=async()=>{return this.pause(),Z=!0,{value:void 0,done:!0}};return{next:()=>{if(Z)return Q();let J=this.read();if(J!==null)return Promise.resolve({done:!1,value:J});if(this[_4])return Q();let q,K,V=(G)=>{this.off("data",D),this.off("end",z),this.off(p5,H),Q(),K(G)},D=(G)=>{this.off("error",V),this.off("end",z),this.off(p5,H),this.pause(),q({value:G,done:!!this[_4]})},z=()=>{this.off("error",V),this.off("data",D),this.off(p5,H),Q(),q({done:!0,value:void 0})},H=()=>V(Error("stream destroyed"));return new Promise((G,W)=>{K=W,q=G,this.once(p5,H),this.once("error",V),this.once("end",z),this.once("data",D)})},throw:Q,return:Q,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[u9]=!1;let Z=!1,Q=()=>{return this.pause(),this.off(FE,Q),this.off(p5,Q),this.off("end",Q),Z=!0,{done:!0,value:void 0}},Y=()=>{if(Z)return Q();let J=this.read();return J===null?Q():{done:!1,value:J}};return this.once("end",Q),this.once(FE,Q),this.once(p5,Q),{next:Y,throw:Q,return:Q,[Symbol.iterator](){return this}}}destroy(Z){if(this[p5]){if(Z)this.emit("error",Z);else this.emit(p5);return this}this[p5]=!0,this[u9]=!0,this[E8].length=0,this[I8]=0;let Q=this;if(typeof Q.close==="function"&&!this[CG])Q.close();if(Z)this.emit("error",Z);else this.emit(p5);return this}static get isStream(){return x$0}}});var xY,In,M6,i$0,y2,n$0,dq,Cn=(Z)=>!Z||Z===dq||Z===i$0?dq:{...dq,...Z,promises:{...dq.promises,...Z.promises||{}}},Rn,s$0=(Z)=>Z.replace(/\//g,"\\").replace(Rn,"$1\\"),a$0,$7=0,Ln=1,Mn=2,L6=4,jn=6,Nn=8,nZ=10,Sn=12,U7=15,cq,LE=16,Fn=32,lq=64,l7=128,NG=256,PG=512,An,r$0=1023,ME=(Z)=>Z.isFile()?Nn:Z.isDirectory()?L6:Z.isSymbolicLink()?nZ:Z.isCharacterDevice()?Mn:Z.isBlockDevice()?jn:Z.isSocket()?Sn:Z.isFIFO()?Ln:$7,wn,pq=(Z)=>{let Q=wn.get(Z);if(Q)return Q;let Y=Z.normalize("NFKD");return wn.set(Z,Y),Y},En,SG=(Z)=>{let Q=En.get(Z);if(Q)return Q;let Y=pq(Z.toLowerCase());return En.set(Z,Y),Y},jE,Pn,Tn,Y9,TG,_G,NE,iq,nq,vG,rj0,_n;var vn=Y5(()=>{Gn();RE();xY=require("node:path"),In=require("node:url"),M6=require("fs"),i$0=p1(require("node:fs")),y2=require("node:fs/promises"),n$0=M6.realpathSync.native,dq={lstatSync:M6.lstatSync,readdir:M6.readdir,readdirSync:M6.readdirSync,readlinkSync:M6.readlinkSync,realpathSync:n$0,promises:{lstat:y2.lstat,readdir:y2.readdir,readlink:y2.readlink,realpath:y2.realpath}},Rn=/^\\\\\?\\([a-z]:)\\?$/i,a$0=/[\\\/]/,cq=~U7,An=lq|l7|PG,wn=new Map,En=new Map;jE=class jE extends xq{constructor(){super({max:256})}};Pn=class Pn extends xq{constructor(Z=16384){super({maxSize:Z,sizeCalculation:(Q)=>Q.length+1})}};Tn=Symbol("PathScurry setAsCwd");Y9=class Y9{name;root;roots;parent;nocase;isCWD=!1;#Z;#Q;get dev(){return this.#Q}#Y;get mode(){return this.#Y}#q;get nlink(){return this.#q}#K;get uid(){return this.#K}#A;get gid(){return this.#A}#W;get rdev(){return this.#W}#G;get blksize(){return this.#G}#H;get ino(){return this.#H}#D;get size(){return this.#D}#V;get blocks(){return this.#V}#z;get atimeMs(){return this.#z}#$;get mtimeMs(){return this.#$}#B;get ctimeMs(){return this.#B}#U;get birthtimeMs(){return this.#U}#I;get atime(){return this.#I}#C;get mtime(){return this.#C}#R;get ctime(){return this.#R}#N;get birthtime(){return this.#N}#w;#M;#L;#F;#j;#S;#J;#b;#E;#T;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(Z,Q=$7,Y,J,q,K,V){if(this.name=Z,this.#w=q?SG(Z):pq(Z),this.#J=Q&r$0,this.nocase=q,this.roots=J,this.root=Y||this,this.#b=K,this.#L=V.fullpath,this.#j=V.relative,this.#S=V.relativePosix,this.parent=V.parent,this.parent)this.#Z=this.parent.#Z;else this.#Z=Cn(V.fs)}depth(){if(this.#M!==void 0)return this.#M;if(!this.parent)return this.#M=0;return this.#M=this.parent.depth()+1}childrenCache(){return this.#b}resolve(Z){if(!Z)return this;let Q=this.getRootString(Z),J=Z.substring(Q.length).split(this.splitSep);return Q?this.getRoot(Q).#P(J):this.#P(J)}#P(Z){let Q=this;for(let Y of Z)Q=Q.child(Y);return Q}children(){let Z=this.#b.get(this);if(Z)return Z;let Q=Object.assign([],{provisional:0});return this.#b.set(this,Q),this.#J&=~LE,Q}child(Z,Q){if(Z===""||Z===".")return this;if(Z==="..")return this.parent||this;let Y=this.children(),J=this.nocase?SG(Z):pq(Z);for(let D of Y)if(D.#w===J)return D;let q=this.parent?this.sep:"",K=this.#L?this.#L+q+Z:void 0,V=this.newChild(Z,$7,{...Q,parent:this,fullpath:K});if(!this.canReaddir())V.#J|=l7;return Y.push(V),V}relative(){if(this.isCWD)return"";if(this.#j!==void 0)return this.#j;let Z=this.name,Q=this.parent;if(!Q)return this.#j=this.name;let Y=Q.relative();return Y+(!Y||!Q.parent?"":this.sep)+Z}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let Z=this.name,Q=this.parent;if(!Q)return this.#S=this.fullpathPosix();let Y=Q.relativePosix();return Y+(!Y||!Q.parent?"":"/")+Z}fullpath(){if(this.#L!==void 0)return this.#L;let Z=this.name,Q=this.parent;if(!Q)return this.#L=this.name;let J=Q.fullpath()+(!Q.parent?"":this.sep)+Z;return this.#L=J}fullpathPosix(){if(this.#F!==void 0)return this.#F;if(this.sep==="/")return this.#F=this.fullpath();if(!this.parent){let J=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(J))return this.#F=`//?/${J}`;else return this.#F=J}let Z=this.parent,Q=Z.fullpathPosix(),Y=Q+(!Q||!Z.parent?"":"/")+this.name;return this.#F=Y}isUnknown(){return(this.#J&U7)===$7}isType(Z){return this[`is${Z}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#J&U7)===Nn}isDirectory(){return(this.#J&U7)===L6}isCharacterDevice(){return(this.#J&U7)===Mn}isBlockDevice(){return(this.#J&U7)===jn}isFIFO(){return(this.#J&U7)===Ln}isSocket(){return(this.#J&U7)===Sn}isSymbolicLink(){return(this.#J&nZ)===nZ}lstatCached(){return this.#J&Fn?this:void 0}readlinkCached(){return this.#E}realpathCached(){return this.#T}readdirCached(){let Z=this.children();return Z.slice(0,Z.provisional)}canReadlink(){if(this.#E)return!0;if(!this.parent)return!1;let Z=this.#J&U7;return!(Z!==$7&&Z!==nZ||this.#J&NG||this.#J&l7)}calledReaddir(){return!!(this.#J&LE)}isENOENT(){return!!(this.#J&l7)}isNamed(Z){return!this.nocase?this.#w===pq(Z):this.#w===SG(Z)}async readlink(){let Z=this.#E;if(Z)return Z;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=await this.#Z.promises.readlink(this.fullpath()),Y=(await this.parent.realpath())?.resolve(Q);if(Y)return this.#E=Y}catch(Q){this.#O(Q.code);return}}readlinkSync(){let Z=this.#E;if(Z)return Z;if(!this.canReadlink())return;if(!this.parent)return;try{let Q=this.#Z.readlinkSync(this.fullpath()),Y=this.parent.realpathSync()?.resolve(Q);if(Y)return this.#E=Y}catch(Q){this.#O(Q.code);return}}#f(Z){this.#J|=LE;for(let Q=Z.provisional;Q<Z.length;Q++){let Y=Z[Q];if(Y)Y.#k()}}#k(){if(this.#J&l7)return;this.#J=(this.#J|l7)&cq,this.#y()}#y(){let Z=this.children();Z.provisional=0;for(let Q of Z)Q.#k()}#h(){this.#J|=PG,this.#_()}#_(){if(this.#J&lq)return;let Z=this.#J;if((Z&U7)===L6)Z&=cq;this.#J=Z|lq,this.#y()}#v(Z=""){if(Z==="ENOTDIR"||Z==="EPERM")this.#_();else if(Z==="ENOENT")this.#k();else this.children().provisional=0}#m(Z=""){if(Z==="ENOTDIR")this.parent.#_();else if(Z==="ENOENT")this.#k()}#O(Z=""){let Q=this.#J;if(Q|=NG,Z==="ENOENT")Q|=l7;if(Z==="EINVAL"||Z==="UNKNOWN")Q&=cq;if(this.#J=Q,Z==="ENOTDIR"&&this.parent)this.parent.#_()}#x(Z,Q){return this.#u(Z,Q)||this.#X(Z,Q)}#X(Z,Q){let Y=ME(Z),J=this.newChild(Z.name,Y,{parent:this}),q=J.#J&U7;if(q!==L6&&q!==nZ&&q!==$7)J.#J|=lq;return Q.unshift(J),Q.provisional++,J}#u(Z,Q){for(let Y=Q.provisional;Y<Q.length;Y++){let J=Q[Y];if((this.nocase?SG(Z.name):pq(Z.name))!==J.#w)continue;return this.#c(Z,J,Y,Q)}}#c(Z,Q,Y,J){let q=Q.name;if(Q.#J=Q.#J&cq|ME(Z),q!==Z.name)Q.name=Z.name;if(Y!==J.provisional){if(Y===J.length-1)J.pop();else J.splice(Y,1);J.unshift(Q)}return J.provisional++,Q}async lstat(){if((this.#J&l7)===0)try{return this.#g(await this.#Z.promises.lstat(this.fullpath())),this}catch(Z){this.#m(Z.code)}}lstatSync(){if((this.#J&l7)===0)try{return this.#g(this.#Z.lstatSync(this.fullpath())),this}catch(Z){this.#m(Z.code)}}#g(Z){let{atime:Q,atimeMs:Y,birthtime:J,birthtimeMs:q,blksize:K,blocks:V,ctime:D,ctimeMs:z,dev:H,gid:G,ino:W,mode:$,mtime:B,mtimeMs:O,nlink:A,rdev:w,size:E,uid:S}=Z;this.#I=Q,this.#z=Y,this.#N=J,this.#U=q,this.#G=K,this.#V=V,this.#R=D,this.#B=z,this.#Q=H,this.#A=G,this.#H=W,this.#Y=$,this.#C=B,this.#$=O,this.#q=A,this.#W=w,this.#D=E,this.#K=S;let X=ME(Z);if(this.#J=this.#J&cq|X|Fn,X!==$7&&X!==L6&&X!==nZ)this.#J|=lq}#d=[];#p=!1;#i(Z){this.#p=!1;let Q=this.#d.slice();this.#d.length=0,Q.forEach((Y)=>Y(null,Z))}readdirCB(Z,Q=!1){if(!this.canReaddir()){if(Q)Z(null,[]);else queueMicrotask(()=>Z(null,[]));return}let Y=this.children();if(this.calledReaddir()){let q=Y.slice(0,Y.provisional);if(Q)Z(null,q);else queueMicrotask(()=>Z(null,q));return}if(this.#d.push(Z),this.#p)return;this.#p=!0;let J=this.fullpath();this.#Z.readdir(J,{withFileTypes:!0},(q,K)=>{if(q)this.#v(q.code),Y.provisional=0;else{for(let V of K)this.#x(V,Y);this.#f(Y)}this.#i(Y.slice(0,Y.provisional));return})}#l;async readdir(){if(!this.canReaddir())return[];let Z=this.children();if(this.calledReaddir())return Z.slice(0,Z.provisional);let Q=this.fullpath();if(this.#l)await this.#l;else{let Y=()=>{};this.#l=new Promise((J)=>Y=J);try{for(let J of await this.#Z.promises.readdir(Q,{withFileTypes:!0}))this.#x(J,Z);this.#f(Z)}catch(J){this.#v(J.code),Z.provisional=0}this.#l=void 0,Y()}return Z.slice(0,Z.provisional)}readdirSync(){if(!this.canReaddir())return[];let Z=this.children();if(this.calledReaddir())return Z.slice(0,Z.provisional);let Q=this.fullpath();try{for(let Y of this.#Z.readdirSync(Q,{withFileTypes:!0}))this.#x(Y,Z);this.#f(Z)}catch(Y){this.#v(Y.code),Z.provisional=0}return Z.slice(0,Z.provisional)}canReaddir(){if(this.#J&An)return!1;let Z=U7&this.#J;if(!(Z===$7||Z===L6||Z===nZ))return!1;return!0}shouldWalk(Z,Q){return(this.#J&L6)===L6&&!(this.#J&An)&&!Z.has(this)&&(!Q||Q(this))}async realpath(){if(this.#T)return this.#T;if((PG|NG|l7)&this.#J)return;try{let Z=await this.#Z.promises.realpath(this.fullpath());return this.#T=this.resolve(Z)}catch(Z){this.#h()}}realpathSync(){if(this.#T)return this.#T;if((PG|NG|l7)&this.#J)return;try{let Z=this.#Z.realpathSync(this.fullpath());return this.#T=this.resolve(Z)}catch(Z){this.#h()}}[Tn](Z){if(Z===this)return;Z.isCWD=!1,this.isCWD=!0;let Q=new Set([]),Y=[],J=this;while(J&&J.parent)Q.add(J),J.#j=Y.join(this.sep),J.#S=Y.join("/"),J=J.parent,Y.push("..");J=Z;while(J&&J.parent&&!Q.has(J))J.#j=void 0,J.#S=void 0,J=J.parent}};TG=class TG extends Y9{sep="\\";splitSep=a$0;constructor(Z,Q=$7,Y,J,q,K,V){super(Z,Q,Y,J,q,K,V)}newChild(Z,Q=$7,Y={}){return new TG(Z,Q,this.root,this.roots,this.nocase,this.childrenCache(),Y)}getRootString(Z){return xY.win32.parse(Z).root}getRoot(Z){if(Z=s$0(Z.toUpperCase()),Z===this.root.name)return this.root;for(let[Q,Y]of Object.entries(this.roots))if(this.sameRoot(Z,Q))return this.roots[Z]=Y;return this.roots[Z]=new iq(Z,this).root}sameRoot(Z,Q=this.root.name){return Z=Z.toUpperCase().replace(/\//g,"\\").replace(Rn,"$1\\"),Z===Q}};_G=class _G extends Y9{splitSep="/";sep="/";constructor(Z,Q=$7,Y,J,q,K,V){super(Z,Q,Y,J,q,K,V)}getRootString(Z){return Z.startsWith("/")?"/":""}getRoot(Z){return this.root}newChild(Z,Q=$7,Y={}){return new _G(Z,Q,this.root,this.roots,this.nocase,this.childrenCache(),Y)}};NE=class NE{root;rootPath;roots;cwd;#Z;#Q;#Y;nocase;#q;constructor(Z=process.cwd(),Q,Y,{nocase:J,childrenCacheSize:q=16384,fs:K=dq}={}){if(this.#q=Cn(K),Z instanceof URL||Z.startsWith("file://"))Z=In.fileURLToPath(Z);let V=Q.resolve(Z);this.roots=Object.create(null),this.rootPath=this.parseRootPath(V),this.#Z=new jE,this.#Q=new jE,this.#Y=new Pn(q);let D=V.substring(this.rootPath.length).split(Y);if(D.length===1&&!D[0])D.pop();if(J===void 0)throw TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=J,this.root=this.newRoot(this.#q),this.roots[this.rootPath]=this.root;let z=this.root,H=D.length-1,G=Q.sep,W=this.rootPath,$=!1;for(let B of D){let O=H--;z=z.child(B,{relative:Array(O).fill("..").join(G),relativePosix:Array(O).fill("..").join("/"),fullpath:W+=($?"":G)+B}),$=!0}this.cwd=z}depth(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.depth()}childrenCache(){return this.#Y}resolve(...Z){let Q="";for(let q=Z.length-1;q>=0;q--){let K=Z[q];if(!K||K===".")continue;if(Q=Q?`${K}/${Q}`:K,this.isAbsolute(K))break}let Y=this.#Z.get(Q);if(Y!==void 0)return Y;let J=this.cwd.resolve(Q).fullpath();return this.#Z.set(Q,J),J}resolvePosix(...Z){let Q="";for(let q=Z.length-1;q>=0;q--){let K=Z[q];if(!K||K===".")continue;if(Q=Q?`${K}/${Q}`:K,this.isAbsolute(K))break}let Y=this.#Q.get(Q);if(Y!==void 0)return Y;let J=this.cwd.resolve(Q).fullpathPosix();return this.#Q.set(Q,J),J}relative(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.relative()}relativePosix(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.relativePosix()}basename(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.name}dirname(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return(Z.parent||Z).fullpath()}async readdir(Z=this.cwd,Q={withFileTypes:!0}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y}=Q;if(!Z.canReaddir())return[];else{let J=await Z.readdir();return Y?J:J.map((q)=>q.name)}}readdirSync(Z=this.cwd,Q={withFileTypes:!0}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0}=Q;if(!Z.canReaddir())return[];else if(Y)return Z.readdirSync();else return Z.readdirSync().map((J)=>J.name)}async lstat(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.lstat()}lstatSync(Z=this.cwd){if(typeof Z==="string")Z=this.cwd.resolve(Z);return Z.lstatSync()}async readlink(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z.withFileTypes,Z=this.cwd;let Y=await Z.readlink();return Q?Y:Y?.fullpath()}readlinkSync(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z.withFileTypes,Z=this.cwd;let Y=Z.readlinkSync();return Q?Y:Y?.fullpath()}async realpath(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z.withFileTypes,Z=this.cwd;let Y=await Z.realpath();return Q?Y:Y?.fullpath()}realpathSync(Z=this.cwd,{withFileTypes:Q}={withFileTypes:!1}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z.withFileTypes,Z=this.cwd;let Y=Z.realpathSync();return Q?Y:Y?.fullpath()}async walk(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=[];if(!q||q(Z))V.push(Y?Z:Z.fullpath());let D=new Set,z=(G,W)=>{D.add(G),G.readdirCB(($,B)=>{if($)return W($);let O=B.length;if(!O)return W();let A=()=>{if(--O===0)W()};for(let w of B){if(!q||q(w))V.push(Y?w:w.fullpath());if(J&&w.isSymbolicLink())w.realpath().then((E)=>E?.isUnknown()?E.lstat():E).then((E)=>E?.shouldWalk(D,K)?z(E,A):A());else if(w.shouldWalk(D,K))z(w,A);else A()}},!0)},H=Z;return new Promise((G,W)=>{z(H,($)=>{if($)return W($);G(V)})})}walkSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=[];if(!q||q(Z))V.push(Y?Z:Z.fullpath());let D=new Set([Z]);for(let z of D){let H=z.readdirSync();for(let G of H){if(!q||q(G))V.push(Y?G:G.fullpath());let W=G;if(G.isSymbolicLink()){if(!(J&&(W=G.realpathSync())))continue;if(W.isUnknown())W.lstatSync()}if(W.shouldWalk(D,K))D.add(W)}}return V}[Symbol.asyncIterator](){return this.iterate()}iterate(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;return this.stream(Z,Q)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q;if(!q||q(Z))yield Y?Z:Z.fullpath();let V=new Set([Z]);for(let D of V){let z=D.readdirSync();for(let H of z){if(!q||q(H))yield Y?H:H.fullpath();let G=H;if(H.isSymbolicLink()){if(!(J&&(G=H.realpathSync())))continue;if(G.isUnknown())G.lstatSync()}if(G.shouldWalk(V,K))V.add(G)}}}stream(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=new iZ({objectMode:!0});if(!q||q(Z))V.write(Y?Z:Z.fullpath());let D=new Set,z=[Z],H=0,G=()=>{let W=!1;while(!W){let $=z.shift();if(!$){if(H===0)V.end();return}H++,D.add($);let B=(A,w,E=!1)=>{if(A)return V.emit("error",A);if(J&&!E){let S=[];for(let X of w)if(X.isSymbolicLink())S.push(X.realpath().then((F)=>F?.isUnknown()?F.lstat():F));if(S.length){Promise.all(S).then(()=>B(null,w,!0));return}}for(let S of w)if(S&&(!q||q(S))){if(!V.write(Y?S:S.fullpath()))W=!0}H--;for(let S of w){let X=S.realpathCached()||S;if(X.shouldWalk(D,K))z.push(X)}if(W&&!V.flowing)V.once("drain",G);else if(!O)G()},O=!0;$.readdirCB(B,!0),O=!1}};return G(),V}streamSync(Z=this.cwd,Q={}){if(typeof Z==="string")Z=this.cwd.resolve(Z);else if(!(Z instanceof Y9))Q=Z,Z=this.cwd;let{withFileTypes:Y=!0,follow:J=!1,filter:q,walkFilter:K}=Q,V=new iZ({objectMode:!0}),D=new Set;if(!q||q(Z))V.write(Y?Z:Z.fullpath());let z=[Z],H=0,G=()=>{let W=!1;while(!W){let $=z.shift();if(!$){if(H===0)V.end();return}H++,D.add($);let B=$.readdirSync();for(let O of B)if(!q||q(O)){if(!V.write(Y?O:O.fullpath()))W=!0}H--;for(let O of B){let A=O;if(O.isSymbolicLink()){if(!(J&&(A=O.realpathSync())))continue;if(A.isUnknown())A.lstatSync()}if(A.shouldWalk(D,K))z.push(A)}}if(W&&!V.flowing)V.once("drain",G)};return G(),V}chdir(Z=this.cwd){let Q=this.cwd;this.cwd=typeof Z==="string"?this.cwd.resolve(Z):Z,this.cwd[Tn](Q)}};iq=class iq extends NE{sep="\\";constructor(Z=process.cwd(),Q={}){let{nocase:Y=!0}=Q;super(Z,xY.win32,"\\",{...Q,nocase:Y});this.nocase=Y;for(let J=this.cwd;J;J=J.parent)J.nocase=this.nocase}parseRootPath(Z){return xY.win32.parse(Z).root.toUpperCase()}newRoot(Z){return new TG(this.rootPath,L6,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Z})}isAbsolute(Z){return Z.startsWith("/")||Z.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(Z)}};nq=class nq extends NE{sep="/";constructor(Z=process.cwd(),Q={}){let{nocase:Y=!1}=Q;super(Z,xY.posix,"/",{...Q,nocase:Y});this.nocase=Y}parseRootPath(Z){return"/"}newRoot(Z){return new _G(this.rootPath,L6,void 0,this.roots,this.nocase,this.childrenCache(),{fs:Z})}isAbsolute(Z){return Z.startsWith("/")}};vG=class vG extends nq{constructor(Z=process.cwd(),Q={}){let{nocase:Y=!0}=Q;super(Z,{...Q,nocase:Y})}};rj0=process.platform==="win32"?TG:_G,_n=process.platform==="win32"?iq:process.platform==="darwin"?vG:nq});class uY{#Z;#Q;#Y;length;#q;#K;#A;#W;#G;#H;#D=!0;constructor(Z,Q,Y,J){if(!o$0(Z))throw TypeError("empty pattern list");if(!t$0(Q))throw TypeError("empty glob list");if(Q.length!==Z.length)throw TypeError("mismatched pattern list and glob list lengths");if(this.length=Z.length,Y<0||Y>=this.length)throw TypeError("index out of range");if(this.#Z=Z,this.#Q=Q,this.#Y=Y,this.#q=J,this.#Y===0){if(this.isUNC()){let[q,K,V,D,...z]=this.#Z,[H,G,W,$,...B]=this.#Q;if(z[0]==="")z.shift(),B.shift();let O=[q,K,V,D,""].join("/"),A=[H,G,W,$,""].join("/");this.#Z=[O,...z],this.#Q=[A,...B],this.length=this.#Z.length}else if(this.isDrive()||this.isAbsolute()){let[q,...K]=this.#Z,[V,...D]=this.#Q;if(K[0]==="")K.shift(),D.shift();let z=q+"/",H=V+"/";this.#Z=[z,...K],this.#Q=[H,...D],this.length=this.#Z.length}}}pattern(){return this.#Z[this.#Y]}isString(){return typeof this.#Z[this.#Y]==="string"}isGlobstar(){return this.#Z[this.#Y]===P8}isRegExp(){return this.#Z[this.#Y]instanceof RegExp}globString(){return this.#A=this.#A||(this.#Y===0?this.isAbsolute()?this.#Q[0]+this.#Q.slice(1).join("/"):this.#Q.join("/"):this.#Q.slice(this.#Y).join("/"))}hasMore(){return this.length>this.#Y+1}rest(){if(this.#K!==void 0)return this.#K;if(!this.hasMore())return this.#K=null;return this.#K=new uY(this.#Z,this.#Q,this.#Y+1,this.#q),this.#K.#H=this.#H,this.#K.#G=this.#G,this.#K.#W=this.#W,this.#K}isUNC(){let Z=this.#Z;return this.#G!==void 0?this.#G:this.#G=this.#q==="win32"&&this.#Y===0&&Z[0]===""&&Z[1]===""&&typeof Z[2]==="string"&&!!Z[2]&&typeof Z[3]==="string"&&!!Z[3]}isDrive(){let Z=this.#Z;return this.#W!==void 0?this.#W:this.#W=this.#q==="win32"&&this.#Y===0&&this.length>1&&typeof Z[0]==="string"&&/^[a-z]:$/i.test(Z[0])}isAbsolute(){let Z=this.#Z;return this.#H!==void 0?this.#H:this.#H=Z[0]===""&&Z.length>1||this.isDrive()||this.isUNC()}root(){let Z=this.#Z[0];return typeof Z==="string"&&this.isAbsolute()&&this.#Y===0?Z:""}checkFollowGlobstar(){return!(this.#Y===0||!this.isGlobstar()||!this.#D)}markFollowGlobstar(){if(this.#Y===0||!this.isGlobstar()||!this.#D)return!1;return this.#D=!1,!0}}var o$0=(Z)=>Z.length>=1,t$0=(Z)=>Z.length>=1;var SE=Y5(()=>{v2()});class sq{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(Z,{nobrace:Q,nocase:Y,noext:J,noglobstar:q,platform:K=e$0}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=K,this.mmopts={dot:!0,nobrace:Q,nocase:Y,noext:J,noglobstar:q,optimizationLevel:2,platform:K,nocomment:!0,nonegate:!0};for(let V of Z)this.add(V)}add(Z){let Q=new W7(Z,this.mmopts);for(let Y=0;Y<Q.set.length;Y++){let J=Q.set[Y],q=Q.globParts[Y];if(!J||!q)throw Error("invalid pattern object");while(J[0]==="."&&q[0]===".")J.shift(),q.shift();let K=new uY(J,q,0,this.platform),V=new W7(K.globString(),this.mmopts),D=q[q.length-1]==="**",z=K.isAbsolute();if(z)this.absolute.push(V);else this.relative.push(V);if(D)if(z)this.absoluteChildren.push(V);else this.relativeChildren.push(V)}}ignored(Z){let Q=Z.fullpath(),Y=`${Q}/`,J=Z.relative()||".",q=`${J}/`;for(let K of this.relative)if(K.match(J)||K.match(q))return!0;for(let K of this.absolute)if(K.match(Q)||K.match(Y))return!0;return!1}childrenIgnored(Z){let Q=Z.fullpath()+"/",Y=(Z.relative()||".")+"/";for(let J of this.relativeChildren)if(J.match(Y))return!0;for(let J of this.absoluteChildren)if(J.match(Q))return!0;return!1}}var e$0;var PE=Y5(()=>{v2();SE();e$0=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux"});class TE{store;constructor(Z=new Map){this.store=Z}copy(){return new TE(new Map(this.store))}hasWalked(Z,Q){return this.store.get(Z.fullpath())?.has(Q.globString())}storeWalked(Z,Q){let Y=Z.fullpath(),J=this.store.get(Y);if(J)J.add(Q.globString());else this.store.set(Y,new Set([Q.globString()]))}}class bn{store=new Map;add(Z,Q,Y){let J=(Q?2:0)|(Y?1:0),q=this.store.get(Z);this.store.set(Z,q===void 0?J:J&q)}entries(){return[...this.store.entries()].map(([Z,Q])=>[Z,!!(Q&2),!!(Q&1)])}}class kn{store=new Map;add(Z,Q){if(!Z.canReaddir())return;let Y=this.store.get(Z);if(Y){if(!Y.find((J)=>J.globString()===Q.globString()))Y.push(Q)}else this.store.set(Z,[Q])}get(Z){let Q=this.store.get(Z);if(!Q)throw Error("attempting to walk unknown path");return Q}entries(){return this.keys().map((Z)=>[Z,this.store.get(Z)])}keys(){return[...this.store.keys()].filter((Z)=>Z.canReaddir())}}class aq{hasWalkedCache;matches=new bn;subwalks=new kn;patterns;follow;dot;opts;constructor(Z,Q){this.opts=Z,this.follow=!!Z.follow,this.dot=!!Z.dot,this.hasWalkedCache=Q?Q.copy():new TE}processPatterns(Z,Q){this.patterns=Q;let Y=Q.map((J)=>[Z,J]);for(let[J,q]of Y){this.hasWalkedCache.storeWalked(J,q);let K=q.root(),V=q.isAbsolute()&&this.opts.absolute!==!1;if(K){J=J.resolve(K==="/"&&this.opts.root!==void 0?this.opts.root:K);let G=q.rest();if(!G){this.matches.add(J,!0,!1);continue}else q=G}if(J.isENOENT())continue;let D,z,H=!1;while(typeof(D=q.pattern())==="string"&&(z=q.rest()))J=J.resolve(D),q=z,H=!0;if(D=q.pattern(),z=q.rest(),H){if(this.hasWalkedCache.hasWalked(J,q))continue;this.hasWalkedCache.storeWalked(J,q)}if(typeof D==="string"){let G=D===".."||D===""||D===".";this.matches.add(J.resolve(D),V,G);continue}else if(D===P8){if(!J.isSymbolicLink()||this.follow||q.checkFollowGlobstar())this.subwalks.add(J,q);let G=z?.pattern(),W=z?.rest();if(!z||(G===""||G===".")&&!W)this.matches.add(J,V,G===""||G===".");else if(G===".."){let $=J.parent||J;if(!W)this.matches.add($,V,!0);else if(!this.hasWalkedCache.hasWalked($,W))this.subwalks.add($,W)}}else if(D instanceof RegExp)this.subwalks.add(J,q)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new aq(this.opts,this.hasWalkedCache)}filterEntries(Z,Q){let Y=this.subwalks.get(Z),J=this.child();for(let q of Q)for(let K of Y){let V=K.isAbsolute(),D=K.pattern(),z=K.rest();if(D===P8)J.testGlobstar(q,K,z,V);else if(D instanceof RegExp)J.testRegExp(q,D,z,V);else J.testString(q,D,z,V)}return J}testGlobstar(Z,Q,Y,J){if(this.dot||!Z.name.startsWith(".")){if(!Q.hasMore())this.matches.add(Z,J,!1);if(Z.canReaddir()){if(this.follow||!Z.isSymbolicLink())this.subwalks.add(Z,Q);else if(Z.isSymbolicLink()){if(Y&&Q.checkFollowGlobstar())this.subwalks.add(Z,Y);else if(Q.markFollowGlobstar())this.subwalks.add(Z,Q)}}}if(Y){let q=Y.pattern();if(typeof q==="string"&&q!==".."&&q!==""&&q!==".")this.testString(Z,q,Y.rest(),J);else if(q===".."){let K=Z.parent||Z;this.subwalks.add(K,Y)}else if(q instanceof RegExp)this.testRegExp(Z,q,Y.rest(),J)}}testRegExp(Z,Q,Y,J){if(!Q.test(Z.name))return;if(!Y)this.matches.add(Z,J,!1);else this.subwalks.add(Z,Y)}testString(Z,Q,Y,J){if(!Z.isNamed(Q))return;if(!Y)this.matches.add(Z,J,!1);else this.subwalks.add(Z,Y)}}var yn=Y5(()=>{v2()});class _E{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#Z=[];#Q;#Y;signal;maxDepth;includeChildMatches;constructor(Z,Q,Y){if(this.patterns=Z,this.path=Q,this.opts=Y,this.#Y=!Y.posix&&Y.platform==="win32"?"\\":"/",this.includeChildMatches=Y.includeChildMatches!==!1,Y.ignore||!this.includeChildMatches){if(this.#Q=ZB0(Y.ignore??[],Y),!this.includeChildMatches&&typeof this.#Q.add!=="function")throw Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=Y.maxDepth||1/0,Y.signal)this.signal=Y.signal,this.signal.addEventListener("abort",()=>{this.#Z.length=0})}#q(Z){return this.seen.has(Z)||!!this.#Q?.ignored?.(Z)}#K(Z){return!!this.#Q?.childrenIgnored?.(Z)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let Z=void 0;while(!this.paused&&(Z=this.#Z.shift()))Z()}onResume(Z){if(this.signal?.aborted)return;if(!this.paused)Z();else this.#Z.push(Z)}async matchCheck(Z,Q){if(Q&&this.opts.nodir)return;let Y;if(this.opts.realpath){if(Y=Z.realpathCached()||await Z.realpath(),!Y)return;Z=Y}let q=Z.isUnknown()||this.opts.stat?await Z.lstat():Z;if(this.opts.follow&&this.opts.nodir&&q?.isSymbolicLink()){let K=await q.realpath();if(K&&(K.isUnknown()||this.opts.stat))await K.lstat()}return this.matchCheckTest(q,Q)}matchCheckTest(Z,Q){return Z&&(this.maxDepth===1/0||Z.depth()<=this.maxDepth)&&(!Q||Z.canReaddir())&&(!this.opts.nodir||!Z.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!Z.isSymbolicLink()||!Z.realpathCached()?.isDirectory())&&!this.#q(Z)?Z:void 0}matchCheckSync(Z,Q){if(Q&&this.opts.nodir)return;let Y;if(this.opts.realpath){if(Y=Z.realpathCached()||Z.realpathSync(),!Y)return;Z=Y}let q=Z.isUnknown()||this.opts.stat?Z.lstatSync():Z;if(this.opts.follow&&this.opts.nodir&&q?.isSymbolicLink()){let K=q.realpathSync();if(K&&(K?.isUnknown()||this.opts.stat))K.lstatSync()}return this.matchCheckTest(q,Q)}matchFinish(Z,Q){if(this.#q(Z))return;if(!this.includeChildMatches&&this.#Q?.add){let q=`${Z.relativePosix()}/**`;this.#Q.add(q)}let Y=this.opts.absolute===void 0?Q:this.opts.absolute;this.seen.add(Z);let J=this.opts.mark&&Z.isDirectory()?this.#Y:"";if(this.opts.withFileTypes)this.matchEmit(Z);else if(Y){let q=this.opts.posix?Z.fullpathPosix():Z.fullpath();this.matchEmit(q+J)}else{let q=this.opts.posix?Z.relativePosix():Z.relative(),K=this.opts.dotRelative&&!q.startsWith(".."+this.#Y)?"."+this.#Y:"";this.matchEmit(!q?"."+J:K+q+J)}}async match(Z,Q,Y){let J=await this.matchCheck(Z,Y);if(J)this.matchFinish(J,Q)}matchSync(Z,Q,Y){let J=this.matchCheckSync(Z,Y);if(J)this.matchFinish(J,Q)}walkCB(Z,Q,Y){if(this.signal?.aborted)Y();this.walkCB2(Z,Q,new aq(this.opts),Y)}walkCB2(Z,Q,Y,J){if(this.#K(Z))return J();if(this.signal?.aborted)J();if(this.paused){this.onResume(()=>this.walkCB2(Z,Q,Y,J));return}Y.processPatterns(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;q++,this.match(V,D,z).then(()=>K())}for(let V of Y.subwalkTargets()){if(this.maxDepth!==1/0&&V.depth()>=this.maxDepth)continue;q++;let D=V.readdirCached();if(V.calledReaddir())this.walkCB3(V,D,Y,K);else V.readdirCB((z,H)=>this.walkCB3(V,H,Y,K),!0)}K()}walkCB3(Z,Q,Y,J){Y=Y.filterEntries(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;q++,this.match(V,D,z).then(()=>K())}for(let[V,D]of Y.subwalks.entries())q++,this.walkCB2(V,D,Y.child(),K);K()}walkCBSync(Z,Q,Y){if(this.signal?.aborted)Y();this.walkCB2Sync(Z,Q,new aq(this.opts),Y)}walkCB2Sync(Z,Q,Y,J){if(this.#K(Z))return J();if(this.signal?.aborted)J();if(this.paused){this.onResume(()=>this.walkCB2Sync(Z,Q,Y,J));return}Y.processPatterns(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;this.matchSync(V,D,z)}for(let V of Y.subwalkTargets()){if(this.maxDepth!==1/0&&V.depth()>=this.maxDepth)continue;q++;let D=V.readdirSync();this.walkCB3Sync(V,D,Y,K)}K()}walkCB3Sync(Z,Q,Y,J){Y=Y.filterEntries(Z,Q);let q=1,K=()=>{if(--q===0)J()};for(let[V,D,z]of Y.matches.entries()){if(this.#q(V))continue;this.matchSync(V,D,z)}for(let[V,D]of Y.subwalks.entries())q++,this.walkCB2Sync(V,D,Y.child(),K);K()}}var ZB0=(Z,Q)=>typeof Z==="string"?new sq([Z],Q):Array.isArray(Z)?new sq(Z,Q):Z,bG,kG;var hn=Y5(()=>{RE();PE();yn();bG=class bG extends _E{matches=new Set;constructor(Z,Q,Y){super(Z,Q,Y)}matchEmit(Z){this.matches.add(Z)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((Z,Q)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)Q(this.signal.reason);else Z(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};kG=class kG extends _E{results;constructor(Z,Q,Y){super(Z,Q,Y);this.results=new iZ({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(Z){if(this.results.write(Z),!this.results.flowing)this.pause()}stream(){let Z=this.path;if(Z.isUnknown())Z.lstat().then(()=>{this.walkCB(Z,this.patterns,()=>this.results.end())});else this.walkCB(Z,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}});var xn,QB0,j6;var vE=Y5(()=>{v2();vn();SE();hn();xn=require("node:url"),QB0=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";j6=class j6{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(Z,Q){if(!Q)throw TypeError("glob options required");if(this.withFileTypes=!!Q.withFileTypes,this.signal=Q.signal,this.follow=!!Q.follow,this.dot=!!Q.dot,this.dotRelative=!!Q.dotRelative,this.nodir=!!Q.nodir,this.mark=!!Q.mark,!Q.cwd)this.cwd="";else if(Q.cwd instanceof URL||Q.cwd.startsWith("file://"))Q.cwd=xn.fileURLToPath(Q.cwd);if(this.cwd=Q.cwd||"",this.root=Q.root,this.magicalBraces=!!Q.magicalBraces,this.nobrace=!!Q.nobrace,this.noext=!!Q.noext,this.realpath=!!Q.realpath,this.absolute=Q.absolute,this.includeChildMatches=Q.includeChildMatches!==!1,this.noglobstar=!!Q.noglobstar,this.matchBase=!!Q.matchBase,this.maxDepth=typeof Q.maxDepth==="number"?Q.maxDepth:1/0,this.stat=!!Q.stat,this.ignore=Q.ignore,this.withFileTypes&&this.absolute!==void 0)throw Error("cannot set absolute and withFileTypes:true");if(typeof Z==="string")Z=[Z];if(this.windowsPathsNoEscape=!!Q.windowsPathsNoEscape||Q.allowWindowsEscape===!1,this.windowsPathsNoEscape)Z=Z.map((D)=>D.replace(/\\/g,"/"));if(this.matchBase){if(Q.noglobstar)throw TypeError("base matching requires globstar");Z=Z.map((D)=>D.includes("/")?D:`./**/${D}`)}if(this.pattern=Z,this.platform=Q.platform||QB0,this.opts={...Q,platform:this.platform},Q.scurry){if(this.scurry=Q.scurry,Q.nocase!==void 0&&Q.nocase!==Q.scurry.nocase)throw Error("nocase option contradicts provided scurry option")}else{let D=Q.platform==="win32"?iq:Q.platform==="darwin"?vG:Q.platform?nq:_n;this.scurry=new D(this.cwd,{nocase:Q.nocase,fs:Q.fs})}this.nocase=this.scurry.nocase;let Y=this.platform==="darwin"||this.platform==="win32",J={...Q,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:Y,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},q=this.pattern.map((D)=>new W7(D,J)),[K,V]=q.reduce((D,z)=>{return D[0].push(...z.set),D[1].push(...z.globParts),D},[[],[]]);this.patterns=K.map((D,z)=>{let H=V[z];if(!H)throw Error("invalid pattern object");return new uY(D,H,0,this.platform)})}async walk(){return[...await new bG(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new bG(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new kG(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new kG(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}});var bE=(Z,Q={})=>{if(!Array.isArray(Z))Z=[Z];for(let Y of Z)if(new W7(Y,Q).hasMagic())return!0;return!1};var kE=Y5(()=>{v2()});function yG(Z,Q={}){return new j6(Z,Q).streamSync()}function gn(Z,Q={}){return new j6(Z,Q).stream()}function fY(Z,Q={}){return new j6(Z,Q).walkSync()}async function un(Z,Q={}){return new j6(Z,Q).walk()}function hG(Z,Q={}){return new j6(Z,Q).iterateSync()}function mn(Z,Q={}){return new j6(Z,Q).iterate()}var YB0,JB0,qB0,KB0,VB0,fn;var yE=Y5(()=>{v2();vE();kE();v2();vE();kE();PE();YB0=yG,JB0=Object.assign(gn,{sync:yG}),qB0=hG,KB0=Object.assign(mn,{sync:hG}),VB0=Object.assign(fY,{stream:yG,iterate:hG}),fn=Object.assign(un,{glob:un,globSync:fY,sync:VB0,globStream:gn,stream:JB0,globStreamSync:yG,streamSync:YB0,globIterate:mn,iterate:KB0,globIterateSync:hG,iterateSync:qB0,Glob:j6,hasMagic:bE,escape:vY,unescape:c7});fn.glob=fn});function gY(Z){return!!Z}var dn={};Q4(dn,{easIosSubmitCommand:()=>DB0});function zB0(Z){let Q=V8({args:Z,options:{"app-bundle-id":{type:"string"},"app-id":{type:"string"},"app-name":{type:"string"},"build-id":{type:"string",default:h2.default.env.EAS_BUILD_ID},"build-number":{type:"string"},"submit-profile":{type:"string",default:h2.default.env.EAS_BUILD_PROFILE},"app-path":{type:"string",default:"ios/build/*.ipa"}}});return{projectRoot:h2.default.cwd(),workflowRoot:h2.default.env.EAS_BUILD_WORKINGDIR||h2.default.cwd(),appBundleId:Q.values["app-bundle-id"],appId:Q.values["app-id"],appName:Q.values["app-name"],appPath:Q.values["app-path"],buildId:Q.values["build-id"],buildNumber:Q.values["build-number"],easProfile:Q.values["submit-profile"]}}function HB0(Z){let Q=fY(Z.appPath,{cwd:Z.projectRoot});if(!Q.length)throw new f1("EAS_IOS_SUBMIT_APP_BINARY_MISSING",`Could not find the app binary to submit, searched in: ${Z.appPath}`);return Q[0]}function GB0({binary:Z,input:Q}){return[`- ${S1.bold("Dashboard")}: https://appstoreconnect.apple.com/apps/${Q.appId}/distribution`,`- ${S1.bold("App")}: ${Q.appName} (${Q.appBundleId})`,`- ${S1.bold("Build number")}: ${Q.buildNumber}`,`- ${S1.bold("Binary path")}: ./${Z}`].filter(gY).join(`
438
- `)}async function WB0(Z){let Q;try{Q=await UB0(["submit:internal","--platform","ios","--profile",Z.easProfile,"--id",Z.buildId])}catch(Y){throw new f1("EAS_SUBMIT_CREDENTIALS","Could not prepare the ios credentials for this build, enable the 'EXPO_DEBUG=1' environment variable for more information.",{cause:Y})}try{let Y=JSON.parse(Q.stdout);if(Y.config.ascApiJsonKey)try{JSON.parse(Y.config.ascApiJsonKey)}catch{}let{ascAppIdentifier:J,ascApiJsonKey:q,appleIdUsername:K,appleAppSpecificPassword:V}=Y.config;if(!J)throw Error("Apple app identifier is missing from credentials");if(K&&V)return{type:"app-password",ascAppId:J,ascAppUsername:K,ascAppPassword:V};if(q)try{return{type:"api-key",ascAppId:J,ascApiKey:JSON.parse(q)}}catch(D){throw Error("Apple API key was provided in an invalid format",{cause:D})}throw Error("No App Store Connect API Key or App-specific password available")}catch(Y){throw new f1("EAS_IOS_SUBMIT_CREDENTIALS_INVALID","EAS CLI returned the credentials in an unknown format",{cause:Y})}}async function UB0(Z,Q={}){return await uE.default("eas",Z,{stdio:_5.EXPO_DEBUG?"inherit":"pipe",...Q,env:{...h2.default.env,...Q.env}})}async function $B0(Z,Q={}){return await uE.default("fastlane",Z,{stdio:_5.EXPO_DEBUG?"inherit":"pipe",...Q,env:{...h2.default.env,FASTLANE_HIDE_CHANGELOG:"1",FASTLANE_HIDE_PLUGINS_TABLE:"1",FASTLANE_HIDE_TIMESTAMP:"1",FASTLANE_OPT_OUT_USAGE:"1",FASTLANE_SKIP_UPDATE_CHECK:"1",SKIP_SLOW_FASTLANE_WARNING:"1",...Q.env}})}function cn(Z){return Z.replaceAll(" ","\\ ")}var uE,hE,xE,mY,h2,DB0=async(Z)=>{let Q=zB0(Z),Y=HB0(Q),J=await WB0(Q);J5("command","eas-ios-submit")("Resolved input: %O",Q),console.warn(`⌛️ Submitting iOS build...
438
+ `)}async function WB0(Z){let Q;try{Q=await UB0(["submit:internal","--platform","ios","--profile",Z.easProfile,"--id",Z.buildId])}catch(Y){throw new f1("EAS_SUBMIT_CREDENTIALS","Could not prepare the ios credentials for this build, enable the 'EXPO_DEBUG=1' environment variable for more information.",{cause:Y})}try{let Y=JSON.parse(Q.stdout);if(Y.config.ascApiJsonKey)try{JSON.parse(Y.config.ascApiJsonKey)}catch{}let{ascAppIdentifier:J,ascApiJsonKey:q,appleIdUsername:K,appleAppSpecificPassword:V}=Y.config;if(!J)throw Error("Apple app identifier is missing from credentials");if(K&&V)return{type:"app-password",ascAppId:J,ascAppUsername:K,ascAppPassword:V};if(q)try{return{type:"api-key",ascAppId:J,ascApiKey:JSON.parse(q)}}catch(D){throw Error("Apple API key was provided in an invalid format",{cause:D})}throw Error("No App Store Connect API Key or App-specific password available")}catch(Y){throw new f1("EAS_IOS_SUBMIT_CREDENTIALS_INVALID","EAS CLI returned the credentials in an unknown format",{cause:Y})}}async function UB0(Z,Q={}){return await uE.default("eas",Z,{stdio:R5.EXPO_DEBUG?"inherit":"pipe",...Q,env:{...h2.default.env,...Q.env}})}async function $B0(Z,Q={}){return await uE.default("fastlane",Z,{stdio:R5.EXPO_DEBUG?"inherit":"pipe",...Q,env:{...h2.default.env,FASTLANE_HIDE_CHANGELOG:"1",FASTLANE_HIDE_PLUGINS_TABLE:"1",FASTLANE_HIDE_TIMESTAMP:"1",FASTLANE_OPT_OUT_USAGE:"1",FASTLANE_SKIP_UPDATE_CHECK:"1",SKIP_SLOW_FASTLANE_WARNING:"1",...Q.env}})}function cn(Z){return Z.replaceAll(" ","\\ ")}var uE,hE,xE,mY,h2,DB0=async(Z)=>{let Q=zB0(Z),Y=HB0(Q),J=await WB0(Q);J5("command","eas-ios-submit")("Resolved input: %O",Q),console.warn(`⌛️ Submitting iOS build...
439
439
  ${GB0({input:Q,binary:Y})}
440
440
 
441
- `);let q=mY.default.join(Q.workflowRoot,`app-${hE.default.randomUUID()}${mY.default.extname(Y)}`);await xE.default.promises.copyFile(mY.default.join(Q.projectRoot,Y),q);let K={},V=["run","pilot",`ipa:${cn(mY.default.relative(Q.projectRoot,q))}`,`apple_id:${J.ascAppId}`,"skip_waiting_for_build_processing:true"];if(_5.EXPO_DEBUG)V.push("--verbose");switch(J.type){case"api-key":{let D=`asc_api_key-${hE.default.randomUUID()}.json`;await xE.default.promises.writeFile(mY.default.join(Q.projectRoot,D),JSON.stringify(J.ascApiKey)),V.push(`api_key_path:${cn(D)}`);break}case"app-password":{K.FASTLANE_USER=J.ascAppUsername,K.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=J.ascAppPassword;break}}await $B0(V,{cwd:Q.projectRoot,env:K,stdio:"inherit"}),console.warn(`
441
+ `);let q=mY.default.join(Q.workflowRoot,`app-${hE.default.randomUUID()}${mY.default.extname(Y)}`);await xE.default.promises.copyFile(mY.default.join(Q.projectRoot,Y),q);let K={},V=["run","pilot",`ipa:${cn(mY.default.relative(Q.projectRoot,q))}`,`apple_id:${J.ascAppId}`,"skip_waiting_for_build_processing:true"];if(R5.EXPO_DEBUG)V.push("--verbose");switch(J.type){case"api-key":{let D=`asc_api_key-${hE.default.randomUUID()}.json`;await xE.default.promises.writeFile(mY.default.join(Q.projectRoot,D),JSON.stringify(J.ascApiKey)),V.push(`api_key_path:${cn(D)}`);break}case"app-password":{K.FASTLANE_USER=J.ascAppUsername,K.FASTLANE_APPLE_APPLICATION_SPECIFIC_PASSWORD=J.ascAppPassword;break}}await $B0(V,{cwd:Q.projectRoot,env:K,stdio:"inherit"}),console.warn(`
442
442
 
443
- `+S1.greenBright("✅ Submitted iOS build to the App Store"))};var ln=Y5(()=>{yE();i2();c9();a7();w7();uE=p1(RY()),hE=p1(require("node:crypto")),xE=p1(require("node:fs")),mY=p1(require("node:path")),h2=p1(require("node:process"))});var pn={};Q4(pn,{easWebDeployCommand:()=>BB0});function OB0(Z){let Q=V8({args:Z,strict:!1,options:{"export-dir":{type:"string"},production:{type:"boolean"},alias:{type:"string"},environment:{type:"string"}}});return{projectRoot:process.cwd(),exportDir:Q.values["export-dir"]?String(Q.values["export-dir"]):void 0,production:!!Q.values.production,alias:Q.values.alias?String(Q.values.alias):void 0,environment:Q.values.environment?String(Q.values.environment):void 0}}async function XB0(Z){let Q=[];if(Z.exportDir)Q.push("--export-dir",Z.exportDir);if(Z.production)Q.push("--production");if(Z.alias)Q.push("--alias",Z.alias);if(Z.environment)Q.push("--environment",Z.environment);J5("command","eas-web-deploy")("Resolved command: %O",["eas","deploy",...Q]),console.warn(`> eas deploy ${Q.join(" ")}`);let Y=await FB0(["deploy","--json","--non-interactive",...Q],{env:{EAS_PROJECT_ROOT:Z.projectRoot}}).catch((J)=>J);if(J5("command","eas-web-deploy")("Received output: %O",Y),Y.status===0)try{return JSON.parse(Y.stdout)}catch(J){throw new f1("EAS_WEB_DEPLOY_MALFORMED","EAS provided an unknown response for this deployment",{cause:J})}throw new f1("EAS_WEB_DEPLOY_FAILED","EAS failed to deploy this project")}async function FB0(Z,Q={}){let Y=(q)=>console.warn(q.toString().trim()),J=fE.default("eas",Z,{...Q,stdio:"pipe",env:{...process.env,...Q.env}});return J.child.stderr?.on("data",Y),await J.finally(()=>J.child.stderr?.off("data",Y))}async function AB0(Z,Q,Y={}){if(!_5.EAS_BUILD)return;return await fE.default("set-output",[Z,Q],{stdio:_5.EXPO_DEBUG?"inherit":"pipe",...Y,env:{...process.env,...Y.env}})}var fE,BB0=async(Z)=>{let Q=OB0(Z);J5("command","eas-web-deploy")("Resolved input: %O",Q);let Y=await XB0(Q),J=Y.aliases?.[0]??null,q=Y.production??null,K=[{label:"Dashboard",value:Y.dashboardUrl},{label:"Deployment URL",value:Y.url},J&&{label:"Alias URL",value:J.url},q&&{label:"Production URL",value:q.url}].filter(gY),V=K[K.length-1];V.value=S1.cyan(V.value),console.warn(["","\uD83C\uDF89 Your deployment is ready","",wC(K)].join(`
443
+ `+S1.greenBright("✅ Submitted iOS build to the App Store"))};var ln=Y5(()=>{yE();i2();c9();a7();w7();uE=p1(RY()),hE=p1(require("node:crypto")),xE=p1(require("node:fs")),mY=p1(require("node:path")),h2=p1(require("node:process"))});var pn={};Q4(pn,{easWebDeployCommand:()=>BB0});function OB0(Z){let Q=V8({args:Z,strict:!1,options:{"export-dir":{type:"string"},production:{type:"boolean"},alias:{type:"string"},environment:{type:"string"}}});return{projectRoot:process.cwd(),exportDir:Q.values["export-dir"]?String(Q.values["export-dir"]):void 0,production:!!Q.values.production,alias:Q.values.alias?String(Q.values.alias):void 0,environment:Q.values.environment?String(Q.values.environment):void 0}}async function XB0(Z){let Q=[];if(Z.exportDir)Q.push("--export-dir",Z.exportDir);if(Z.production)Q.push("--production");if(Z.alias)Q.push("--alias",Z.alias);if(Z.environment)Q.push("--environment",Z.environment);J5("command","eas-web-deploy")("Resolved command: %O",["eas","deploy",...Q]),console.warn(`> eas deploy ${Q.join(" ")}`);let Y=await FB0(["deploy","--json","--non-interactive",...Q],{env:{EAS_PROJECT_ROOT:Z.projectRoot}}).catch((J)=>J);if(J5("command","eas-web-deploy")("Received output: %O",Y),Y.status===0)try{return JSON.parse(Y.stdout)}catch(J){throw new f1("EAS_WEB_DEPLOY_MALFORMED","EAS provided an unknown response for this deployment",{cause:J})}throw new f1("EAS_WEB_DEPLOY_FAILED","EAS failed to deploy this project")}async function FB0(Z,Q={}){let Y=(q)=>console.warn(q.toString().trim()),J=fE.default("eas",Z,{...Q,stdio:"pipe",env:{...process.env,...Q.env}});return J.child.stderr?.on("data",Y),await J.finally(()=>J.child.stderr?.off("data",Y))}async function AB0(Z,Q,Y={}){if(!R5.EAS_BUILD)return;return await fE.default("set-output",[Z,Q],{stdio:R5.EXPO_DEBUG?"inherit":"pipe",...Y,env:{...process.env,...Y.env}})}var fE,BB0=async(Z)=>{let Q=OB0(Z);J5("command","eas-web-deploy")("Resolved input: %O",Q);let Y=await XB0(Q),J=Y.aliases?.[0]??null,q=Y.production??null,K=[{label:"Dashboard",value:Y.dashboardUrl},{label:"Deployment URL",value:Y.url},J&&{label:"Alias URL",value:J.url},q&&{label:"Production URL",value:q.url}].filter(gY),V=K[K.length-1];V.value=S1.cyan(V.value),console.warn(["","\uD83C\uDF89 Your deployment is ready","",wC(K)].join(`
444
444
  `)),await AB0("deployment",JSON.stringify(Y))};var nn=Y5(()=>{i2();c9();a7();w7();fE=p1(RY())});function xG(Z,Q="ios"){let Y=Z.rootObject.getMainAppTarget(Q);if(!Y)throw new f1("IOS_XCODE_APP_TARGET_MISSING",`Could not find main app target for platform "${Q}".`);return Y}var gE=Y5(()=>{c9()});var rq=k((e1)=>{Object.defineProperty(e1,"__esModule",{value:!0});e1.PROJECT_DEFAULT_BUILD_SETTINGS=e1.SOURCETREE_BY_FILETYPE=e1.PRODUCT_UTI_EXTENSIONS=e1.FILE_TYPES_BY_EXTENSION=e1.LAST_SWIFT_UPGRADE_CHECK=e1.LAST_UPGRADE_CHECK=e1.LAST_KNOWN_OBJECT_VERSION=e1.DEFAULT_OBJECT_VERSION=e1.LAST_KNOWN_SWIFT_VERSION=e1.LAST_KNOWN_ARCHIVE_VERSION=e1.LAST_KNOWN_WATCHOS_SDK=e1.LAST_KNOWN_VISIONOS_SDK=e1.LAST_KNOWN_TVOS_SDK=e1.LAST_KNOWN_OSX_SDK=e1.LAST_KNOWN_IOS_SDK=void 0;e1.LAST_KNOWN_IOS_SDK="18.0";e1.LAST_KNOWN_OSX_SDK="15.0";e1.LAST_KNOWN_TVOS_SDK="18.0";e1.LAST_KNOWN_VISIONOS_SDK="2.0";e1.LAST_KNOWN_WATCHOS_SDK="11.0";e1.LAST_KNOWN_ARCHIVE_VERSION=1;e1.LAST_KNOWN_SWIFT_VERSION="5.0";e1.DEFAULT_OBJECT_VERSION=46;e1.LAST_KNOWN_OBJECT_VERSION=77;e1.LAST_UPGRADE_CHECK="1600";e1.LAST_SWIFT_UPGRADE_CHECK="1600";e1.FILE_TYPES_BY_EXTENSION=Object.freeze({a:"archive.ar",apns:"text",app:"wrapper.application",appex:"wrapper.app-extension",bundle:"wrapper.plug-in",cpp:"sourcecode.cpp.cpp",dylib:"compiled.mach-o.dylib",entitlements:"text.plist.entitlements",framework:"wrapper.framework",gif:"image.gif",gpx:"text.xml",h:"sourcecode.c.h",hpp:"sourcecode.cpp.h",m:"sourcecode.c.objc",markdown:"text",mdimporter:"wrapper.cfbundle",modulemap:"sourcecode.module",mov:"video.quicktime",mp3:"audio.mp3",octest:"wrapper.cfbundle",pch:"sourcecode.c.h",plist:"text.plist.xml",png:"image.png",sh:"text.script.sh",sks:"file.sks",storyboard:"file.storyboard",strings:"text.plist.strings",swift:"sourcecode.swift",xcassets:"folder.assetcatalog",xcconfig:"text.xcconfig",xcdatamodel:"wrapper.xcdatamodel",xcodeproj:"wrapper.pb-project",xctest:"wrapper.cfbundle",xib:"file.xib",zip:"archive.zip",intentdefinition:"file.intentdefinition",js:"sourcecode.javascript",json:"text.json",html:"text.html",css:"text.css"});e1.PRODUCT_UTI_EXTENSIONS=Object.freeze({application:"app",applicationOnDemandInstallCapable:"app",framework:"framework",dynamicLibrary:"dylib",staticLibrary:"a",bundle:"bundle",octestBundle:"octest",unitTestBundle:"xctest",uiTestBundle:"xctest",appExtension:"appex",messagesApplication:"app",messagesExtension:"appex",stickerPack:"appex",watch2Extension:"appex",watch2App:"app",watch2AppContainer:"app"});e1.SOURCETREE_BY_FILETYPE=Object.freeze({"compiled.mach-o.dylib":"SDKROOT","sourcecode.text-based-dylib-definition":"SDKROOT","wrapper.framework":"SDKROOT","wrapper.app-extension":"BUILT_PRODUCTS_DIR","wrapper.extensionkit-extension":"BUILT_PRODUCTS_DIR"});e1.PROJECT_DEFAULT_BUILD_SETTINGS=Object.freeze({all:Object.freeze({ALWAYS_SEARCH_USER_PATHS:"NO",CLANG_ANALYZER_NONNULL:"YES",CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION:"YES_AGGRESSIVE",CLANG_CXX_LANGUAGE_STANDARD:"gnu++14",CLANG_CXX_LIBRARY:"libc++",CLANG_ENABLE_MODULES:"YES",CLANG_ENABLE_OBJC_ARC:"YES",CLANG_ENABLE_OBJC_WEAK:"YES",CLANG_WARN__DUPLICATE_METHOD_MATCH:"YES",CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING:"YES",CLANG_WARN_BOOL_CONVERSION:"YES",CLANG_WARN_COMMA:"YES",CLANG_WARN_CONSTANT_CONVERSION:"YES",CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS:"YES",CLANG_WARN_DIRECT_OBJC_ISA_USAGE:"YES_ERROR",CLANG_WARN_DOCUMENTATION_COMMENTS:"YES",CLANG_WARN_EMPTY_BODY:"YES",CLANG_WARN_ENUM_CONVERSION:"YES",CLANG_WARN_INFINITE_RECURSION:"YES",CLANG_WARN_INT_CONVERSION:"YES",CLANG_WARN_NON_LITERAL_NULL_CONVERSION:"YES",CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF:"YES",CLANG_WARN_OBJC_LITERAL_CONVERSION:"YES",CLANG_WARN_OBJC_ROOT_CLASS:"YES_ERROR",CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER:"YES",CLANG_WARN_RANGE_LOOP_ANALYSIS:"YES",CLANG_WARN_STRICT_PROTOTYPES:"YES",CLANG_WARN_SUSPICIOUS_MOVE:"YES",CLANG_WARN_UNGUARDED_AVAILABILITY:"YES_AGGRESSIVE",CLANG_WARN_UNREACHABLE_CODE:"YES",COPY_PHASE_STRIP:"NO",ENABLE_STRICT_OBJC_MSGSEND:"YES",GCC_C_LANGUAGE_STANDARD:"gnu11",GCC_NO_COMMON_BLOCKS:"YES",GCC_WARN_64_TO_32_BIT_CONVERSION:"YES",GCC_WARN_ABOUT_RETURN_TYPE:"YES_ERROR",GCC_WARN_UNDECLARED_SELECTOR:"YES",GCC_WARN_UNINITIALIZED_AUTOS:"YES_AGGRESSIVE",GCC_WARN_UNUSED_FUNCTION:"YES",GCC_WARN_UNUSED_VARIABLE:"YES",MTL_FAST_MATH:"YES",PRODUCT_NAME:"$(TARGET_NAME)",SWIFT_VERSION:"5.0"}),release:Object.freeze({DEBUG_INFORMATION_FORMAT:"dwarf-with-dsym",ENABLE_NS_ASSERTIONS:"NO",MTL_ENABLE_DEBUG_INFO:"NO",SWIFT_COMPILATION_MODE:"wholemodule",SWIFT_OPTIMIZATION_LEVEL:"-O"}),debug:Object.freeze({DEBUG_INFORMATION_FORMAT:"dwarf",ENABLE_TESTABILITY:"YES",GCC_DYNAMIC_NO_PIC:"NO",GCC_OPTIMIZATION_LEVEL:"0",GCC_PREPROCESSOR_DEFINITIONS:["DEBUG=1","$(inherited)"],MTL_ENABLE_DEBUG_INFO:"INCLUDE_SOURCE",ONLY_ACTIVE_ARCH:"YES",SWIFT_ACTIVE_COMPILATION_CONDITIONS:"DEBUG",SWIFT_OPTIMIZATION_LEVEL:"-Onone"})})});var F5=k((p7)=>{Object.defineProperty(p7,"__esModule",{value:!0});p7.SubFolder=p7.ProxyType=p7.ISA=void 0;var wB0;(function(Z){Z.PBXBuildFile="PBXBuildFile",Z.PBXAppleScriptBuildPhase="PBXAppleScriptBuildPhase",Z.PBXCopyFilesBuildPhase="PBXCopyFilesBuildPhase",Z.PBXFrameworksBuildPhase="PBXFrameworksBuildPhase",Z.PBXHeadersBuildPhase="PBXHeadersBuildPhase",Z.PBXResourcesBuildPhase="PBXResourcesBuildPhase",Z.PBXShellScriptBuildPhase="PBXShellScriptBuildPhase",Z.PBXSourcesBuildPhase="PBXSourcesBuildPhase",Z.PBXRezBuildPhase="PBXRezBuildPhase",Z.PBXContainerItemProxy="PBXContainerItemProxy",Z.PBXFileReference="PBXFileReference",Z.PBXGroup="PBXGroup",Z.PBXVariantGroup="PBXVariantGroup",Z.XCVersionGroup="XCVersionGroup",Z.PBXFileSystemSynchronizedRootGroup="PBXFileSystemSynchronizedRootGroup",Z.PBXFileSystemSynchronizedBuildFileExceptionSet="PBXFileSystemSynchronizedBuildFileExceptionSet",Z.PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet="PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet",Z.PBXNativeTarget="PBXNativeTarget",Z.PBXAggregateTarget="PBXAggregateTarget",Z.PBXLegacyTarget="PBXLegacyTarget",Z.PBXProject="PBXProject",Z.PBXTargetDependency="PBXTargetDependency",Z.XCBuildConfiguration="XCBuildConfiguration",Z.XCConfigurationList="XCConfigurationList",Z.PBXBuildRule="PBXBuildRule",Z.PBXReferenceProxy="PBXReferenceProxy",Z.XCSwiftPackageProductDependency="XCSwiftPackageProductDependency",Z.XCRemoteSwiftPackageReference="XCRemoteSwiftPackageReference",Z.XCLocalSwiftPackageReference="XCLocalSwiftPackageReference"})(wB0=p7.ISA||(p7.ISA={}));var EB0;(function(Z){Z[Z.targetReference=1]="targetReference",Z[Z.reference=2]="reference"})(EB0=p7.ProxyType||(p7.ProxyType={}));var IB0;(function(Z){Z[Z.absolutePath=0]="absolutePath",Z[Z.productsDirectory=16]="productsDirectory",Z[Z.wrapper=1]="wrapper",Z[Z.executables=6]="executables",Z[Z.resources=7]="resources",Z[Z.javaResources=15]="javaResources",Z[Z.frameworks=10]="frameworks",Z[Z.sharedFrameworks=11]="sharedFrameworks",Z[Z.sharedSupport=12]="sharedSupport",Z[Z.plugins=13]="plugins"})(IB0=p7.SubFolder||(p7.SubFolder={}))});var gG=k((y5)=>{var CB0=y5&&y5.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),RB0=y5&&y5.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),LB0=y5&&y5.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))CB0(Q,Z,Y)}return RB0(Q,Z),Q},an=y5&&y5.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(y5,"__esModule",{value:!0});y5.getReferringTargets=y5.getFullPath=y5.getSourceTreeRealPath=y5.getRealPath=y5.getParents=y5.getParent=void 0;var MB0=an(require("assert")),uG=an(require("path")),jB0=LB0(F5());function NB0(Z){return Array.from(new Set(Z))}function mE(Z){return Z.isa==="PBXProject"}function sn(Z){return Z.isa==="PBXGroup"}function SB0(Z){let Q=NB0(Z.getReferrers());if(Q.length>1)return Q.filter((Y)=>sn(Y));else if(Q.length===1){let Y=Q[0];return(0,MB0.default)(mE(Y)||sn(Y),"referring object is not a PBXGroup or PBXProject"),[Y]}return[]}function fG(Z){let Q=SB0(Z);if(!Q.length)throw Error(`Consistency issue: no parent for object: "${Z.getDisplayName()||Z.isa+" - "+Z.uuid}"`);else if(Q.length>1)throw Error(`Consistency issue: multiple parents for object: "${Z.getDisplayName()}": ${Q.map((Y)=>Y.getDisplayName()).join(", ")}`);return Q[0]}y5.getParent=fG;function rn(Z){if(PB0(Z))return[];let Q=fG(Z);return[...rn(Q),Q]}y5.getParents=rn;function PB0(Z){return Z.uuid===Z.getXcodeProject().rootObject.props.mainGroup.uuid}function on(Z){let Q=tn(Z),Y=Z.props.path||"";if(Q)return uG.default.join(Q,Y);return Y}y5.getRealPath=on;function tn(Z){if(Z.props.sourceTree==="<group>"){let Q=fG(Z);if(mE(Q))return uG.default.join(Z.getXcodeProject().getProjectRoot(),Z.project.props.projectDirPath);return on(Q)}else if(Z.props.sourceTree==="SOURCE_ROOT")return uG.default.resolve(Z.getXcodeProject().getProjectRoot());else if(Z.props.sourceTree==="<absolute>")return"";return Z.props.sourceTree}y5.getSourceTreeRealPath=tn;function TB0(Z){if(Z.props.sourceTree==="<group>"){let Q=fG(Z);if(mE(Q))return"";return en(Q)}else if(Z.props.sourceTree==="SOURCE_ROOT")return"";else if(Z.props.sourceTree==="<absolute>")return"/";return Z.props.sourceTree}function en(Z){let Q=TB0(Z);if(Z.props.path)return uG.default.join(Q,Z.props.path);return Q}y5.getFullPath=en;function _B0(Z){return Z.getReferrers().filter((Q)=>{return vB0(Q)})}y5.getReferringTargets=_B0;function vB0(Z){return Z.isa===jB0.ISA.PBXNativeTarget}});var e5=k((cY)=>{var Ys=cY&&cY.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(cY,"__esModule",{value:!0});cY.AbstractObject=void 0;var cE=Ys(require("assert")),Zs=Ys(require("util")),Qs=A7()("xcparse:models");class dE{constructor(Z,Q,Y){this.uuid=Q,this.props=Y,Object.defineProperty(this,"xcodeProject",{get(){return Z}}),Qs(`Inflating model (uuid: ${Q}, isa: ${Y.isa})`),this.setupDefaults(Y)}get isa(){return this.props.isa}getReferrers(){return this.getXcodeProject().getReferrers(this.uuid)}get project(){return this.getXcodeProject().rootObject}getXcodeProject(){return this.xcodeProject}inflate(){for(let[Z,Q]of Object.entries(this.getObjectProps())){if(!(Z in this.props))continue;let Y=this.props[Z];if(Array.isArray(Y))(0,cE.default)(Q===Array||Array.isArray(Q),`'${String(Z)}' MUST be of type Array but instead found type: ${typeof Y}`),this.props[Z]=Y.map((J)=>{if(typeof J!=="string")return J;try{return this.getXcodeProject().getObject(J)}catch(q){if("message"in q&&q.message.includes("object with uuid"))console.warn(`[Malformed Xcode project]: Found orphaned reference: ${this.uuid} > ${this.isa}.${String(Z)} > ${J}`);else throw q;return null}}).filter(Boolean);else if(Y!=null){if(Y instanceof dE){this.props[Z]=this.getXcodeProject().getObject(Y.uuid);continue}(0,cE.default)(typeof this.props[Z]==="string",`'${String(Z)}' MUST be of type string (UUID) but instead found type: ${typeof Y}`);try{this.props[Z]=this.getXcodeProject().getObject(Y)}catch(J){if("message"in J&&J.message.includes("object with uuid"))console.warn(`[Malformed Xcode project]: Found orphaned reference: ${this.uuid} > ${this.isa}.${String(Z)} > ${Y}`);else throw J}}}}setupDefaults(Z){}getDisplayName(){if("name"in this.props)return this.props.name;return this.isa.replace(/^(PBX|XC)/,"")}isReferencing(Z){return!1}toJSON(){(0,cE.default)(this.isa,"isa is not defined for "+this.uuid),Qs("to JSON for",this.isa,this.uuid,this.constructor.name);let Z={...this.props};for(let Q of Object.keys(this.getObjectProps()))if(Q in this.props){let Y=this.props[Q],J=void 0;if(bB0(Y))J=Y.map((K)=>K.uuid);else if(Array.isArray(Y))throw Error(Zs.default.format("Unable to serialize array of unknown objects (some missing 'uuid' property): %O",Y));else if(kB0(Y))J=Y.uuid;if(J)Z[Q]=J;else throw Error(Zs.default.format("Unable to serialize object: %O",Y))}return Z}removeReference(Z){}removeFromProject(){this.getXcodeProject().delete(this.uuid),this.getReferrers().forEach((Q)=>{Q.removeReference(this.uuid)})}}cY.AbstractObject=dE;function bB0(Z){return Array.isArray(Z)&&Z.every((Q)=>typeof Q.uuid==="string")}function kB0(Z){return typeof Z.uuid==="string"&&typeof Z.isa==="string"}});var dY=k((N6)=>{var yB0=N6&&N6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),hB0=N6&&N6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),xB0=N6&&N6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))yB0(Q,Z,Y)}return hB0(Q,Z),Q};Object.defineProperty(N6,"__esModule",{value:!0});N6.PBXBuildFile=void 0;var uB0=xB0(F5()),fB0=e5();class oq extends fB0.AbstractObject{static is(Z){return Z.isa===oq.isa}static create(Z,Q){return Z.createModel({isa:oq.isa,...Q})}getObjectProps(){return{fileRef:String,productRef:String}}isReferencing(Z){return[this.props.fileRef?.uuid,this.props.productRef?.uuid].includes(Z)}getDisplayName(){if(this.props.productRef)return this.props.productRef.getDisplayName();else if(this.props.fileRef)return this.props.fileRef.getDisplayName();return super.getDisplayName()}}N6.PBXBuildFile=oq;oq.isa=uB0.ISA.PBXBuildFile});var mG=k((tq,lE)=>{/*! For license information please see chevrotain.min.js.LICENSE.txt */(function(Z,Q){typeof tq=="object"&&typeof lE=="object"?lE.exports=Q():typeof define=="function"&&define.amd?define("chevrotain",[],Q):typeof tq=="object"?tq.chevrotain=Q():Z.chevrotain=Q()})(typeof self<"u"?self:tq,function(){return(()=>{var Z={9515:(q,K,V)=>{var D=V(8761)(V(7772),"DataView");q.exports=D},9612:(q,K,V)=>{var D=V(2118),z=V(6909),H=V(8138),G=V(4174),W=V(7942);function $(B){var O=-1,A=B==null?0:B.length;for(this.clear();++O<A;){var w=B[O];this.set(w[0],w[1])}}$.prototype.clear=D,$.prototype.delete=z,$.prototype.get=H,$.prototype.has=G,$.prototype.set=W,q.exports=$},235:(q,K,V)=>{var D=V(3945),z=V(1846),H=V(8028),G=V(2344),W=V(4769);function $(B){var O=-1,A=B==null?0:B.length;for(this.clear();++O<A;){var w=B[O];this.set(w[0],w[1])}}$.prototype.clear=D,$.prototype.delete=z,$.prototype.get=H,$.prototype.has=G,$.prototype.set=W,q.exports=$},326:(q,K,V)=>{var D=V(8761)(V(7772),"Map");q.exports=D},6738:(q,K,V)=>{var D=V(2411),z=V(6417),H=V(6928),G=V(9493),W=V(4150);function $(B){var O=-1,A=B==null?0:B.length;for(this.clear();++O<A;){var w=B[O];this.set(w[0],w[1])}}$.prototype.clear=D,$.prototype.delete=z,$.prototype.get=H,$.prototype.has=G,$.prototype.set=W,q.exports=$},2760:(q,K,V)=>{var D=V(8761)(V(7772),"Promise");q.exports=D},2143:(q,K,V)=>{var D=V(8761)(V(7772),"Set");q.exports=D},5386:(q,K,V)=>{var D=V(6738),z=V(2842),H=V(2482);function G(W){var $=-1,B=W==null?0:W.length;for(this.__data__=new D;++$<B;)this.add(W[$])}G.prototype.add=G.prototype.push=z,G.prototype.has=H,q.exports=G},6571:(q,K,V)=>{var D=V(235),z=V(5243),H=V(2858),G=V(4417),W=V(8605),$=V(1418);function B(O){var A=this.__data__=new D(O);this.size=A.size}B.prototype.clear=z,B.prototype.delete=H,B.prototype.get=G,B.prototype.has=W,B.prototype.set=$,q.exports=B},857:(q,K,V)=>{var D=V(7772).Symbol;q.exports=D},9162:(q,K,V)=>{var D=V(7772).Uint8Array;q.exports=D},3215:(q,K,V)=>{var D=V(8761)(V(7772),"WeakMap");q.exports=D},9432:(q)=>{q.exports=function(K,V,D){switch(D.length){case 0:return K.call(V);case 1:return K.call(V,D[0]);case 2:return K.call(V,D[0],D[1]);case 3:return K.call(V,D[0],D[1],D[2])}return K.apply(V,D)}},5338:(q)=>{q.exports=function(K,V,D,z){for(var H=-1,G=K==null?0:K.length;++H<G;){var W=K[H];V(z,W,D(W),K)}return z}},2517:(q)=>{q.exports=function(K,V){for(var D=-1,z=K==null?0:K.length;++D<z&&V(K[D],D,K)!==!1;);return K}},7603:(q)=>{q.exports=function(K,V){for(var D=-1,z=K==null?0:K.length;++D<z;)if(!V(K[D],D,K))return!1;return!0}},7552:(q)=>{q.exports=function(K,V){for(var D=-1,z=K==null?0:K.length,H=0,G=[];++D<z;){var W=K[D];V(W,D,K)&&(G[H++]=W)}return G}},8333:(q,K,V)=>{var D=V(7832);q.exports=function(z,H){return!(z==null||!z.length)&&D(z,H,0)>-1}},4893:(q)=>{q.exports=function(K,V,D){for(var z=-1,H=K==null?0:K.length;++z<H;)if(D(V,K[z]))return!0;return!1}},1634:(q,K,V)=>{var D=V(6473),z=V(9631),H=V(6152),G=V(3226),W=V(9045),$=V(7598),B=Object.prototype.hasOwnProperty;q.exports=function(O,A){var w=H(O),E=!w&&z(O),S=!w&&!E&&G(O),X=!w&&!E&&!S&&$(O),F=w||E||S||X,U=F?D(O.length,String):[],I=U.length;for(var P in O)!A&&!B.call(O,P)||F&&(P=="length"||S&&(P=="offset"||P=="parent")||X&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||W(P,I))||U.push(P);return U}},343:(q)=>{q.exports=function(K,V){for(var D=-1,z=K==null?0:K.length,H=Array(z);++D<z;)H[D]=V(K[D],D,K);return H}},5067:(q)=>{q.exports=function(K,V){for(var D=-1,z=V.length,H=K.length;++D<z;)K[H+D]=V[D];return K}},1207:(q)=>{q.exports=function(K,V,D,z){var H=-1,G=K==null?0:K.length;for(z&&G&&(D=K[++H]);++H<G;)D=V(D,K[H],H,K);return D}},7064:(q)=>{q.exports=function(K,V){for(var D=-1,z=K==null?0:K.length;++D<z;)if(V(K[D],D,K))return!0;return!1}},217:(q)=>{q.exports=function(K){return K.split("")}},91:(q,K,V)=>{var D=V(3940),z=V(1225),H=Object.prototype.hasOwnProperty;q.exports=function(G,W,$){var B=G[W];H.call(G,W)&&z(B,$)&&($!==void 0||(W in G))||D(G,W,$)}},2218:(q,K,V)=>{var D=V(1225);q.exports=function(z,H){for(var G=z.length;G--;)if(D(z[G][0],H))return G;return-1}},2825:(q,K,V)=>{var D=V(4303);q.exports=function(z,H,G,W){return D(z,function($,B,O){H(W,$,G($),O)}),W}},7993:(q,K,V)=>{var D=V(752),z=V(249);q.exports=function(H,G){return H&&D(G,z(G),H)}},5906:(q,K,V)=>{var D=V(752),z=V(8582);q.exports=function(H,G){return H&&D(G,z(G),H)}},3940:(q,K,V)=>{var D=V(3043);q.exports=function(z,H,G){H=="__proto__"&&D?D(z,H,{configurable:!0,enumerable:!0,value:G,writable:!0}):z[H]=G}},8874:(q,K,V)=>{var D=V(6571),z=V(2517),H=V(91),G=V(7993),W=V(5906),$=V(2175),B=V(1522),O=V(7680),A=V(9987),w=V(3483),E=V(6939),S=V(940),X=V(9917),F=V(8222),U=V(8725),I=V(6152),P=V(3226),L=V(4714),R=V(9259),C=V(3679),N=V(249),j=V(8582),_="[object Arguments]",v="[object Function]",b="[object Object]",T={};T[_]=T["[object Array]"]=T["[object ArrayBuffer]"]=T["[object DataView]"]=T["[object Boolean]"]=T["[object Date]"]=T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Map]"]=T["[object Number]"]=T[b]=T["[object RegExp]"]=T["[object Set]"]=T["[object String]"]=T["[object Symbol]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T["[object Error]"]=T[v]=T["[object WeakMap]"]=!1,q.exports=function u(x,g,c,p,Y0,o){var D0,C0=1&g,m=2&g,y=4&g;if(c&&(D0=Y0?c(x,p,Y0,o):c(x)),D0!==void 0)return D0;if(!R(x))return x;var l=I(x);if(l){if(D0=X(x),!C0)return B(x,D0)}else{var n=S(x),j0=n==v||n=="[object GeneratorFunction]";if(P(x))return $(x,C0);if(n==b||n==_||j0&&!Y0){if(D0=m||j0?{}:U(x),!C0)return m?A(x,W(D0,x)):O(x,G(D0,x))}else{if(!T[n])return Y0?x:{};D0=F(x,n,C0)}}o||(o=new D);var a0=o.get(x);if(a0)return a0;o.set(x,D0),C(x)?x.forEach(function(Z0){D0.add(u(Z0,g,c,Z0,x,o))}):L(x)&&x.forEach(function(Z0,H0){D0.set(H0,u(Z0,g,c,H0,x,o))});var s=l?void 0:(y?m?E:w:m?j:N)(x);return z(s||x,function(Z0,H0){s&&(Z0=x[H0=Z0]),H(D0,H0,u(Z0,g,c,H0,x,o))}),D0}},9413:(q,K,V)=>{var D=V(9259),z=Object.create,H=function(){function G(){}return function(W){if(!D(W))return{};if(z)return z(W);G.prototype=W;var $=new G;return G.prototype=void 0,$}}();q.exports=H},5246:(q,K,V)=>{var D=V(5386),z=V(8333),H=V(4893),G=V(343),W=V(7826),$=V(9950);q.exports=function(B,O,A,w){var E=-1,S=z,X=!0,F=B.length,U=[],I=O.length;if(!F)return U;A&&(O=G(O,W(A))),w?(S=H,X=!1):O.length>=200&&(S=$,X=!1,O=new D(O));Z:for(;++E<F;){var P=B[E],L=A==null?P:A(P);if(P=w||P!==0?P:0,X&&L==L){for(var R=I;R--;)if(O[R]===L)continue Z;U.push(P)}else S(O,L,w)||U.push(P)}return U}},4303:(q,K,V)=>{var D=V(6548),z=V(2019)(D);q.exports=z},80:(q,K,V)=>{var D=V(4303);q.exports=function(z,H){var G=!0;return D(z,function(W,$,B){return G=!!H(W,$,B)}),G}},8043:(q,K,V)=>{var D=V(4303);q.exports=function(z,H){var G=[];return D(z,function(W,$,B){H(W,$,B)&&G.push(W)}),G}},1359:(q)=>{q.exports=function(K,V,D,z){for(var H=K.length,G=D+(z?1:-1);z?G--:++G<H;)if(V(K[G],G,K))return G;return-1}},2034:(q,K,V)=>{var D=V(5067),z=V(5882);q.exports=function H(G,W,$,B,O){var A=-1,w=G.length;for($||($=z),O||(O=[]);++A<w;){var E=G[A];W>0&&$(E)?W>1?H(E,W-1,$,B,O):D(O,E):B||(O[O.length]=E)}return O}},5308:(q,K,V)=>{var D=V(5463)();q.exports=D},6548:(q,K,V)=>{var D=V(5308),z=V(249);q.exports=function(H,G){return H&&D(H,G,z)}},3324:(q,K,V)=>{var D=V(7297),z=V(3812);q.exports=function(H,G){for(var W=0,$=(G=D(G,H)).length;H!=null&&W<$;)H=H[z(G[W++])];return W&&W==$?H:void 0}},1897:(q,K,V)=>{var D=V(5067),z=V(6152);q.exports=function(H,G,W){var $=G(H);return z(H)?$:D($,W(H))}},3366:(q,K,V)=>{var D=V(857),z=V(2107),H=V(7157),G=D?D.toStringTag:void 0;q.exports=function(W){return W==null?W===void 0?"[object Undefined]":"[object Null]":G&&(G in Object(W))?z(W):H(W)}},2726:(q)=>{var K=Object.prototype.hasOwnProperty;q.exports=function(V,D){return V!=null&&K.call(V,D)}},187:(q)=>{q.exports=function(K,V){return K!=null&&V in Object(K)}},7832:(q,K,V)=>{var D=V(1359),z=V(2195),H=V(6024);q.exports=function(G,W,$){return W==W?H(G,W,$):D(G,z,$)}},5183:(q,K,V)=>{var D=V(3366),z=V(5125);q.exports=function(H){return z(H)&&D(H)=="[object Arguments]"}},8746:(q,K,V)=>{var D=V(1952),z=V(5125);q.exports=function H(G,W,$,B,O){return G===W||(G==null||W==null||!z(G)&&!z(W)?G!=G&&W!=W:D(G,W,$,B,H,O))}},1952:(q,K,V)=>{var D=V(6571),z=V(4871),H=V(1491),G=V(7416),W=V(940),$=V(6152),B=V(3226),O=V(7598),A="[object Arguments]",w="[object Array]",E="[object Object]",S=Object.prototype.hasOwnProperty;q.exports=function(X,F,U,I,P,L){var R=$(X),C=$(F),N=R?w:W(X),j=C?w:W(F),_=(N=N==A?E:N)==E,v=(j=j==A?E:j)==E,b=N==j;if(b&&B(X)){if(!B(F))return!1;R=!0,_=!1}if(b&&!_)return L||(L=new D),R||O(X)?z(X,F,U,I,P,L):H(X,F,N,U,I,P,L);if(!(1&U)){var T=_&&S.call(X,"__wrapped__"),u=v&&S.call(F,"__wrapped__");if(T||u){var x=T?X.value():X,g=u?F.value():F;return L||(L=new D),P(x,g,U,I,L)}}return!!b&&(L||(L=new D),G(X,F,U,I,P,L))}},4511:(q,K,V)=>{var D=V(940),z=V(5125);q.exports=function(H){return z(H)&&D(H)=="[object Map]"}},7036:(q,K,V)=>{var D=V(6571),z=V(8746);q.exports=function(H,G,W,$){var B=W.length,O=B,A=!$;if(H==null)return!O;for(H=Object(H);B--;){var w=W[B];if(A&&w[2]?w[1]!==H[w[0]]:!(w[0]in H))return!1}for(;++B<O;){var E=(w=W[B])[0],S=H[E],X=w[1];if(A&&w[2]){if(S===void 0&&!(E in H))return!1}else{var F=new D;if($)var U=$(S,X,E,H,G,F);if(!(U===void 0?z(X,S,3,$,F):U))return!1}}return!0}},2195:(q)=>{q.exports=function(K){return K!=K}},6840:(q,K,V)=>{var D=V(1049),z=V(7394),H=V(9259),G=V(7035),W=/^\[object .+?Constructor\]$/,$=Function.prototype,B=Object.prototype,O=$.toString,A=B.hasOwnProperty,w=RegExp("^"+O.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");q.exports=function(E){return!(!H(E)||z(E))&&(D(E)?w:W).test(G(E))}},4333:(q,K,V)=>{var D=V(3366),z=V(5125);q.exports=function(H){return z(H)&&D(H)=="[object RegExp]"}},8436:(q,K,V)=>{var D=V(940),z=V(5125);q.exports=function(H){return z(H)&&D(H)=="[object Set]"}},5522:(q,K,V)=>{var D=V(3366),z=V(1158),H=V(5125),G={};G["[object Float32Array]"]=G["[object Float64Array]"]=G["[object Int8Array]"]=G["[object Int16Array]"]=G["[object Int32Array]"]=G["[object Uint8Array]"]=G["[object Uint8ClampedArray]"]=G["[object Uint16Array]"]=G["[object Uint32Array]"]=!0,G["[object Arguments]"]=G["[object Array]"]=G["[object ArrayBuffer]"]=G["[object Boolean]"]=G["[object DataView]"]=G["[object Date]"]=G["[object Error]"]=G["[object Function]"]=G["[object Map]"]=G["[object Number]"]=G["[object Object]"]=G["[object RegExp]"]=G["[object Set]"]=G["[object String]"]=G["[object WeakMap]"]=!1,q.exports=function(W){return H(W)&&z(W.length)&&!!G[D(W)]}},8286:(q,K,V)=>{var D=V(6423),z=V(4716),H=V(3059),G=V(6152),W=V(5798);q.exports=function($){return typeof $=="function"?$:$==null?H:typeof $=="object"?G($)?z($[0],$[1]):D($):W($)}},6411:(q,K,V)=>{var D=V(6001),z=V(4248),H=Object.prototype.hasOwnProperty;q.exports=function(G){if(!D(G))return z(G);var W=[];for(var $ in Object(G))H.call(G,$)&&$!="constructor"&&W.push($);return W}},8390:(q,K,V)=>{var D=V(9259),z=V(6001),H=V(2966),G=Object.prototype.hasOwnProperty;q.exports=function(W){if(!D(W))return H(W);var $=z(W),B=[];for(var O in W)(O!="constructor"||!$&&G.call(W,O))&&B.push(O);return B}},3401:(q,K,V)=>{var D=V(4303),z=V(7878);q.exports=function(H,G){var W=-1,$=z(H)?Array(H.length):[];return D(H,function(B,O,A){$[++W]=G(B,O,A)}),$}},6423:(q,K,V)=>{var D=V(7036),z=V(9882),H=V(3477);q.exports=function(G){var W=z(G);return W.length==1&&W[0][2]?H(W[0][0],W[0][1]):function($){return $===G||D($,G,W)}}},4716:(q,K,V)=>{var D=V(8746),z=V(2579),H=V(5041),G=V(1401),W=V(8792),$=V(3477),B=V(3812);q.exports=function(O,A){return G(O)&&W(A)?$(B(O),A):function(w){var E=z(w,O);return E===void 0&&E===A?H(w,O):D(A,E,3)}}},3759:(q,K,V)=>{var D=V(3324),z=V(2857),H=V(7297);q.exports=function(G,W,$){for(var B=-1,O=W.length,A={};++B<O;){var w=W[B],E=D(G,w);$(E,w)&&z(A,H(w,G),E)}return A}},256:(q)=>{q.exports=function(K){return function(V){return V==null?void 0:V[K]}}},2952:(q,K,V)=>{var D=V(3324);q.exports=function(z){return function(H){return D(H,z)}}},5877:(q)=>{q.exports=function(K,V,D,z,H){return H(K,function(G,W,$){D=z?(z=!1,G):V(D,G,W,$)}),D}},6060:(q,K,V)=>{var D=V(3059),z=V(3114),H=V(5251);q.exports=function(G,W){return H(z(G,W,D),G+"")}},2857:(q,K,V)=>{var D=V(91),z=V(7297),H=V(9045),G=V(9259),W=V(3812);q.exports=function($,B,O,A){if(!G($))return $;for(var w=-1,E=(B=z(B,$)).length,S=E-1,X=$;X!=null&&++w<E;){var F=W(B[w]),U=O;if(F==="__proto__"||F==="constructor"||F==="prototype")return $;if(w!=S){var I=X[F];(U=A?A(I,F,X):void 0)===void 0&&(U=G(I)?I:H(B[w+1])?[]:{})}D(X,F,U),X=X[F]}return $}},6532:(q,K,V)=>{var D=V(6874),z=V(3043),H=V(3059),G=z?function(W,$){return z(W,"toString",{configurable:!0,enumerable:!1,value:D($),writable:!0})}:H;q.exports=G},9872:(q)=>{q.exports=function(K,V,D){var z=-1,H=K.length;V<0&&(V=-V>H?0:H+V),(D=D>H?H:D)<0&&(D+=H),H=V>D?0:D-V>>>0,V>>>=0;for(var G=Array(H);++z<H;)G[z]=K[z+V];return G}},4751:(q,K,V)=>{var D=V(4303);q.exports=function(z,H){var G;return D(z,function(W,$,B){return!(G=H(W,$,B))}),!!G}},6473:(q)=>{q.exports=function(K,V){for(var D=-1,z=Array(K);++D<K;)z[D]=V(D);return z}},1054:(q,K,V)=>{var D=V(857),z=V(343),H=V(6152),G=V(4795),W=D?D.prototype:void 0,$=W?W.toString:void 0;q.exports=function B(O){if(typeof O=="string")return O;if(H(O))return z(O,B)+"";if(G(O))return $?$.call(O):"";var A=O+"";return A=="0"&&1/O==-1/0?"-0":A}},1704:(q,K,V)=>{var D=V(2153),z=/^\s+/;q.exports=function(H){return H?H.slice(0,D(H)+1).replace(z,""):H}},7826:(q)=>{q.exports=function(K){return function(V){return K(V)}}},7326:(q,K,V)=>{var D=V(5386),z=V(8333),H=V(4893),G=V(9950),W=V(8803),$=V(4207);q.exports=function(B,O,A){var w=-1,E=z,S=B.length,X=!0,F=[],U=F;if(A)X=!1,E=H;else if(S>=200){var I=O?null:W(B);if(I)return $(I);X=!1,E=G,U=new D}else U=O?[]:F;Z:for(;++w<S;){var P=B[w],L=O?O(P):P;if(P=A||P!==0?P:0,X&&L==L){for(var R=U.length;R--;)if(U[R]===L)continue Z;O&&U.push(L),F.push(P)}else E(U,L,A)||(U!==F&&U.push(L),F.push(P))}return F}},753:(q,K,V)=>{var D=V(343);q.exports=function(z,H){return D(H,function(G){return z[G]})}},9950:(q)=>{q.exports=function(K,V){return K.has(V)}},9419:(q,K,V)=>{var D=V(3059);q.exports=function(z){return typeof z=="function"?z:D}},7297:(q,K,V)=>{var D=V(6152),z=V(1401),H=V(4452),G=V(6188);q.exports=function(W,$){return D(W)?W:z(W,$)?[W]:H(G(W))}},3895:(q,K,V)=>{var D=V(9872);q.exports=function(z,H,G){var W=z.length;return G=G===void 0?W:G,!H&&G>=W?z:D(z,H,G)}},897:(q,K,V)=>{var D=V(9162);q.exports=function(z){var H=new z.constructor(z.byteLength);return new D(H).set(new D(z)),H}},2175:(q,K,V)=>{q=V.nmd(q);var D=V(7772),z=K&&!K.nodeType&&K,H=z&&q&&!q.nodeType&&q,G=H&&H.exports===z?D.Buffer:void 0,W=G?G.allocUnsafe:void 0;q.exports=function($,B){if(B)return $.slice();var O=$.length,A=W?W(O):new $.constructor(O);return $.copy(A),A}},4727:(q,K,V)=>{var D=V(897);q.exports=function(z,H){var G=H?D(z.buffer):z.buffer;return new z.constructor(G,z.byteOffset,z.byteLength)}},6058:(q)=>{var K=/\w*$/;q.exports=function(V){var D=new V.constructor(V.source,K.exec(V));return D.lastIndex=V.lastIndex,D}},169:(q,K,V)=>{var D=V(857),z=D?D.prototype:void 0,H=z?z.valueOf:void 0;q.exports=function(G){return H?Object(H.call(G)):{}}},6190:(q,K,V)=>{var D=V(897);q.exports=function(z,H){var G=H?D(z.buffer):z.buffer;return new z.constructor(G,z.byteOffset,z.length)}},1522:(q)=>{q.exports=function(K,V){var D=-1,z=K.length;for(V||(V=Array(z));++D<z;)V[D]=K[D];return V}},752:(q,K,V)=>{var D=V(91),z=V(3940);q.exports=function(H,G,W,$){var B=!W;W||(W={});for(var O=-1,A=G.length;++O<A;){var w=G[O],E=$?$(W[w],H[w],w,W,H):void 0;E===void 0&&(E=H[w]),B?z(W,w,E):D(W,w,E)}return W}},7680:(q,K,V)=>{var D=V(752),z=V(633);q.exports=function(H,G){return D(H,z(H),G)}},9987:(q,K,V)=>{var D=V(752),z=V(2680);q.exports=function(H,G){return D(H,z(H),G)}},4019:(q,K,V)=>{var D=V(7772)["__core-js_shared__"];q.exports=D},6740:(q,K,V)=>{var D=V(5338),z=V(2825),H=V(8286),G=V(6152);q.exports=function(W,$){return function(B,O){var A=G(B)?D:z,w=$?$():{};return A(B,W,H(O,2),w)}}},7263:(q,K,V)=>{var D=V(6060),z=V(2406);q.exports=function(H){return D(function(G,W){var $=-1,B=W.length,O=B>1?W[B-1]:void 0,A=B>2?W[2]:void 0;for(O=H.length>3&&typeof O=="function"?(B--,O):void 0,A&&z(W[0],W[1],A)&&(O=B<3?void 0:O,B=1),G=Object(G);++$<B;){var w=W[$];w&&H(G,w,$,O)}return G})}},2019:(q,K,V)=>{var D=V(7878);q.exports=function(z,H){return function(G,W){if(G==null)return G;if(!D(G))return z(G,W);for(var $=G.length,B=H?$:-1,O=Object(G);(H?B--:++B<$)&&W(O[B],B,O)!==!1;);return G}}},5463:(q)=>{q.exports=function(K){return function(V,D,z){for(var H=-1,G=Object(V),W=z(V),$=W.length;$--;){var B=W[K?$:++H];if(D(G[B],B,G)===!1)break}return V}}},3126:(q,K,V)=>{var D=V(3895),z=V(3880),H=V(8435),G=V(6188);q.exports=function(W){return function($){$=G($);var B=z($)?H($):void 0,O=B?B[0]:$.charAt(0),A=B?D(B,1).join(""):$.slice(1);return O[W]()+A}}},8776:(q,K,V)=>{var D=V(8286),z=V(7878),H=V(249);q.exports=function(G){return function(W,$,B){var O=Object(W);if(!z(W)){var A=D($,3);W=H(W),$=function(E){return A(O[E],E,O)}}var w=G(W,$,B);return w>-1?O[A?W[w]:w]:void 0}}},8803:(q,K,V)=>{var D=V(2143),z=V(4291),H=V(4207),G=D&&1/H(new D([,-0]))[1]==1/0?function(W){return new D(W)}:z;q.exports=G},3043:(q,K,V)=>{var D=V(8761),z=function(){try{var H=D(Object,"defineProperty");return H({},"",{}),H}catch(G){}}();q.exports=z},4871:(q,K,V)=>{var D=V(5386),z=V(7064),H=V(9950);q.exports=function(G,W,$,B,O,A){var w=1&$,E=G.length,S=W.length;if(E!=S&&!(w&&S>E))return!1;var X=A.get(G),F=A.get(W);if(X&&F)return X==W&&F==G;var U=-1,I=!0,P=2&$?new D:void 0;for(A.set(G,W),A.set(W,G);++U<E;){var L=G[U],R=W[U];if(B)var C=w?B(R,L,U,W,G,A):B(L,R,U,G,W,A);if(C!==void 0){if(C)continue;I=!1;break}if(P){if(!z(W,function(N,j){if(!H(P,j)&&(L===N||O(L,N,$,B,A)))return P.push(j)})){I=!1;break}}else if(L!==R&&!O(L,R,$,B,A)){I=!1;break}}return A.delete(G),A.delete(W),I}},1491:(q,K,V)=>{var D=V(857),z=V(9162),H=V(1225),G=V(4871),W=V(5179),$=V(4207),B=D?D.prototype:void 0,O=B?B.valueOf:void 0;q.exports=function(A,w,E,S,X,F,U){switch(E){case"[object DataView]":if(A.byteLength!=w.byteLength||A.byteOffset!=w.byteOffset)return!1;A=A.buffer,w=w.buffer;case"[object ArrayBuffer]":return!(A.byteLength!=w.byteLength||!F(new z(A),new z(w)));case"[object Boolean]":case"[object Date]":case"[object Number]":return H(+A,+w);case"[object Error]":return A.name==w.name&&A.message==w.message;case"[object RegExp]":case"[object String]":return A==w+"";case"[object Map]":var I=W;case"[object Set]":var P=1&S;if(I||(I=$),A.size!=w.size&&!P)return!1;var L=U.get(A);if(L)return L==w;S|=2,U.set(A,w);var R=G(I(A),I(w),S,X,F,U);return U.delete(A),R;case"[object Symbol]":if(O)return O.call(A)==O.call(w)}return!1}},7416:(q,K,V)=>{var D=V(3483),z=Object.prototype.hasOwnProperty;q.exports=function(H,G,W,$,B,O){var A=1&W,w=D(H),E=w.length;if(E!=D(G).length&&!A)return!1;for(var S=E;S--;){var X=w[S];if(!(A?X in G:z.call(G,X)))return!1}var F=O.get(H),U=O.get(G);if(F&&U)return F==G&&U==H;var I=!0;O.set(H,G),O.set(G,H);for(var P=A;++S<E;){var L=H[X=w[S]],R=G[X];if($)var C=A?$(R,L,X,G,H,O):$(L,R,X,H,G,O);if(!(C===void 0?L===R||B(L,R,W,$,O):C)){I=!1;break}P||(P=X=="constructor")}if(I&&!P){var N=H.constructor,j=G.constructor;N==j||!("constructor"in H)||!("constructor"in G)||typeof N=="function"&&N instanceof N&&typeof j=="function"&&j instanceof j||(I=!1)}return O.delete(H),O.delete(G),I}},1242:(q,K,V)=>{var D=typeof V.g=="object"&&V.g&&V.g.Object===Object&&V.g;q.exports=D},3483:(q,K,V)=>{var D=V(1897),z=V(633),H=V(249);q.exports=function(G){return D(G,H,z)}},6939:(q,K,V)=>{var D=V(1897),z=V(2680),H=V(8582);q.exports=function(G){return D(G,H,z)}},7937:(q,K,V)=>{var D=V(8304);q.exports=function(z,H){var G=z.__data__;return D(H)?G[typeof H=="string"?"string":"hash"]:G.map}},9882:(q,K,V)=>{var D=V(8792),z=V(249);q.exports=function(H){for(var G=z(H),W=G.length;W--;){var $=G[W],B=H[$];G[W]=[$,B,D(B)]}return G}},8761:(q,K,V)=>{var D=V(6840),z=V(8109);q.exports=function(H,G){var W=z(H,G);return D(W)?W:void 0}},7353:(q,K,V)=>{var D=V(241)(Object.getPrototypeOf,Object);q.exports=D},2107:(q,K,V)=>{var D=V(857),z=Object.prototype,H=z.hasOwnProperty,G=z.toString,W=D?D.toStringTag:void 0;q.exports=function($){var B=H.call($,W),O=$[W];try{$[W]=void 0;var A=!0}catch(E){}var w=G.call($);return A&&(B?$[W]=O:delete $[W]),w}},633:(q,K,V)=>{var D=V(7552),z=V(981),H=Object.prototype.propertyIsEnumerable,G=Object.getOwnPropertySymbols,W=G?function($){return $==null?[]:($=Object($),D(G($),function(B){return H.call($,B)}))}:z;q.exports=W},2680:(q,K,V)=>{var D=V(5067),z=V(7353),H=V(633),G=V(981),W=Object.getOwnPropertySymbols?function($){for(var B=[];$;)D(B,H($)),$=z($);return B}:G;q.exports=W},940:(q,K,V)=>{var D=V(9515),z=V(326),H=V(2760),G=V(2143),W=V(3215),$=V(3366),B=V(7035),O="[object Map]",A="[object Promise]",w="[object Set]",E="[object WeakMap]",S="[object DataView]",X=B(D),F=B(z),U=B(H),I=B(G),P=B(W),L=$;(D&&L(new D(new ArrayBuffer(1)))!=S||z&&L(new z)!=O||H&&L(H.resolve())!=A||G&&L(new G)!=w||W&&L(new W)!=E)&&(L=function(R){var C=$(R),N=C=="[object Object]"?R.constructor:void 0,j=N?B(N):"";if(j)switch(j){case X:return S;case F:return O;case U:return A;case I:return w;case P:return E}return C}),q.exports=L},8109:(q)=>{q.exports=function(K,V){return K==null?void 0:K[V]}},1369:(q,K,V)=>{var D=V(7297),z=V(9631),H=V(6152),G=V(9045),W=V(1158),$=V(3812);q.exports=function(B,O,A){for(var w=-1,E=(O=D(O,B)).length,S=!1;++w<E;){var X=$(O[w]);if(!(S=B!=null&&A(B,X)))break;B=B[X]}return S||++w!=E?S:!!(E=B==null?0:B.length)&&W(E)&&G(X,E)&&(H(B)||z(B))}},3880:(q)=>{var K=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");q.exports=function(V){return K.test(V)}},2118:(q,K,V)=>{var D=V(9191);q.exports=function(){this.__data__=D?D(null):{},this.size=0}},6909:(q)=>{q.exports=function(K){var V=this.has(K)&&delete this.__data__[K];return this.size-=V?1:0,V}},8138:(q,K,V)=>{var D=V(9191),z=Object.prototype.hasOwnProperty;q.exports=function(H){var G=this.__data__;if(D){var W=G[H];return W==="__lodash_hash_undefined__"?void 0:W}return z.call(G,H)?G[H]:void 0}},4174:(q,K,V)=>{var D=V(9191),z=Object.prototype.hasOwnProperty;q.exports=function(H){var G=this.__data__;return D?G[H]!==void 0:z.call(G,H)}},7942:(q,K,V)=>{var D=V(9191);q.exports=function(z,H){var G=this.__data__;return this.size+=this.has(z)?0:1,G[z]=D&&H===void 0?"__lodash_hash_undefined__":H,this}},9917:(q)=>{var K=Object.prototype.hasOwnProperty;q.exports=function(V){var D=V.length,z=new V.constructor(D);return D&&typeof V[0]=="string"&&K.call(V,"index")&&(z.index=V.index,z.input=V.input),z}},8222:(q,K,V)=>{var D=V(897),z=V(4727),H=V(6058),G=V(169),W=V(6190);q.exports=function($,B,O){var A=$.constructor;switch(B){case"[object ArrayBuffer]":return D($);case"[object Boolean]":case"[object Date]":return new A(+$);case"[object DataView]":return z($,O);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return W($,O);case"[object Map]":return new A;case"[object Number]":case"[object String]":return new A($);case"[object RegExp]":return H($);case"[object Set]":return new A;case"[object Symbol]":return G($)}}},8725:(q,K,V)=>{var D=V(9413),z=V(7353),H=V(6001);q.exports=function(G){return typeof G.constructor!="function"||H(G)?{}:D(z(G))}},5882:(q,K,V)=>{var D=V(857),z=V(9631),H=V(6152),G=D?D.isConcatSpreadable:void 0;q.exports=function(W){return H(W)||z(W)||!!(G&&W&&W[G])}},9045:(q)=>{var K=/^(?:0|[1-9]\d*)$/;q.exports=function(V,D){var z=typeof V;return!!(D=D==null?9007199254740991:D)&&(z=="number"||z!="symbol"&&K.test(V))&&V>-1&&V%1==0&&V<D}},2406:(q,K,V)=>{var D=V(1225),z=V(7878),H=V(9045),G=V(9259);q.exports=function(W,$,B){if(!G(B))return!1;var O=typeof $;return!!(O=="number"?z(B)&&H($,B.length):O=="string"&&($ in B))&&D(B[$],W)}},1401:(q,K,V)=>{var D=V(6152),z=V(4795),H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/;q.exports=function(W,$){if(D(W))return!1;var B=typeof W;return!(B!="number"&&B!="symbol"&&B!="boolean"&&W!=null&&!z(W))||G.test(W)||!H.test(W)||$!=null&&W in Object($)}},8304:(q)=>{q.exports=function(K){var V=typeof K;return V=="string"||V=="number"||V=="symbol"||V=="boolean"?K!=="__proto__":K===null}},7394:(q,K,V)=>{var D,z=V(4019),H=(D=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";q.exports=function(G){return!!H&&H in G}},6001:(q)=>{var K=Object.prototype;q.exports=function(V){var D=V&&V.constructor;return V===(typeof D=="function"&&D.prototype||K)}},8792:(q,K,V)=>{var D=V(9259);q.exports=function(z){return z==z&&!D(z)}},3945:(q)=>{q.exports=function(){this.__data__=[],this.size=0}},1846:(q,K,V)=>{var D=V(2218),z=Array.prototype.splice;q.exports=function(H){var G=this.__data__,W=D(G,H);return!(W<0||(W==G.length-1?G.pop():z.call(G,W,1),--this.size,0))}},8028:(q,K,V)=>{var D=V(2218);q.exports=function(z){var H=this.__data__,G=D(H,z);return G<0?void 0:H[G][1]}},2344:(q,K,V)=>{var D=V(2218);q.exports=function(z){return D(this.__data__,z)>-1}},4769:(q,K,V)=>{var D=V(2218);q.exports=function(z,H){var G=this.__data__,W=D(G,z);return W<0?(++this.size,G.push([z,H])):G[W][1]=H,this}},2411:(q,K,V)=>{var D=V(9612),z=V(235),H=V(326);q.exports=function(){this.size=0,this.__data__={hash:new D,map:new(H||z),string:new D}}},6417:(q,K,V)=>{var D=V(7937);q.exports=function(z){var H=D(this,z).delete(z);return this.size-=H?1:0,H}},6928:(q,K,V)=>{var D=V(7937);q.exports=function(z){return D(this,z).get(z)}},9493:(q,K,V)=>{var D=V(7937);q.exports=function(z){return D(this,z).has(z)}},4150:(q,K,V)=>{var D=V(7937);q.exports=function(z,H){var G=D(this,z),W=G.size;return G.set(z,H),this.size+=G.size==W?0:1,this}},5179:(q)=>{q.exports=function(K){var V=-1,D=Array(K.size);return K.forEach(function(z,H){D[++V]=[H,z]}),D}},3477:(q)=>{q.exports=function(K,V){return function(D){return D!=null&&D[K]===V&&(V!==void 0||(K in Object(D)))}}},7777:(q,K,V)=>{var D=V(733);q.exports=function(z){var H=D(z,function(W){return G.size===500&&G.clear(),W}),G=H.cache;return H}},9191:(q,K,V)=>{var D=V(8761)(Object,"create");q.exports=D},4248:(q,K,V)=>{var D=V(241)(Object.keys,Object);q.exports=D},2966:(q)=>{q.exports=function(K){var V=[];if(K!=null)for(var D in Object(K))V.push(D);return V}},4146:(q,K,V)=>{q=V.nmd(q);var D=V(1242),z=K&&!K.nodeType&&K,H=z&&q&&!q.nodeType&&q,G=H&&H.exports===z&&D.process,W=function(){try{return H&&H.require&&H.require("util").types||G&&G.binding&&G.binding("util")}catch($){}}();q.exports=W},7157:(q)=>{var K=Object.prototype.toString;q.exports=function(V){return K.call(V)}},241:(q)=>{q.exports=function(K,V){return function(D){return K(V(D))}}},3114:(q,K,V)=>{var D=V(9432),z=Math.max;q.exports=function(H,G,W){return G=z(G===void 0?H.length-1:G,0),function(){for(var $=arguments,B=-1,O=z($.length-G,0),A=Array(O);++B<O;)A[B]=$[G+B];B=-1;for(var w=Array(G+1);++B<G;)w[B]=$[B];return w[G]=W(A),D(H,this,w)}}},7772:(q,K,V)=>{var D=V(1242),z=typeof self=="object"&&self&&self.Object===Object&&self,H=D||z||Function("return this")();q.exports=H},2842:(q)=>{q.exports=function(K){return this.__data__.set(K,"__lodash_hash_undefined__"),this}},2482:(q)=>{q.exports=function(K){return this.__data__.has(K)}},4207:(q)=>{q.exports=function(K){var V=-1,D=Array(K.size);return K.forEach(function(z){D[++V]=z}),D}},5251:(q,K,V)=>{var D=V(6532),z=V(7787)(D);q.exports=z},7787:(q)=>{var K=Date.now;q.exports=function(V){var D=0,z=0;return function(){var H=K(),G=16-(H-z);if(z=H,G>0){if(++D>=800)return arguments[0]}else D=0;return V.apply(void 0,arguments)}}},5243:(q,K,V)=>{var D=V(235);q.exports=function(){this.__data__=new D,this.size=0}},2858:(q)=>{q.exports=function(K){var V=this.__data__,D=V.delete(K);return this.size=V.size,D}},4417:(q)=>{q.exports=function(K){return this.__data__.get(K)}},8605:(q)=>{q.exports=function(K){return this.__data__.has(K)}},1418:(q,K,V)=>{var D=V(235),z=V(326),H=V(6738);q.exports=function(G,W){var $=this.__data__;if($ instanceof D){var B=$.__data__;if(!z||B.length<199)return B.push([G,W]),this.size=++$.size,this;$=this.__data__=new H(B)}return $.set(G,W),this.size=$.size,this}},6024:(q)=>{q.exports=function(K,V,D){for(var z=D-1,H=K.length;++z<H;)if(K[z]===V)return z;return-1}},8435:(q,K,V)=>{var D=V(217),z=V(3880),H=V(3344);q.exports=function(G){return z(G)?H(G):D(G)}},4452:(q,K,V)=>{var D=V(7777),z=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/\\(\\)?/g,G=D(function(W){var $=[];return W.charCodeAt(0)===46&&$.push(""),W.replace(z,function(B,O,A,w){$.push(A?w.replace(H,"$1"):O||B)}),$});q.exports=G},3812:(q,K,V)=>{var D=V(4795);q.exports=function(z){if(typeof z=="string"||D(z))return z;var H=z+"";return H=="0"&&1/z==-1/0?"-0":H}},7035:(q)=>{var K=Function.prototype.toString;q.exports=function(V){if(V!=null){try{return K.call(V)}catch(D){}try{return V+""}catch(D){}}return""}},2153:(q)=>{var K=/\s/;q.exports=function(V){for(var D=V.length;D--&&K.test(V.charAt(D)););return D}},3344:(q)=>{var K="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",V="\\ud83c[\\udffb-\\udfff]",D="[^\\ud800-\\udfff]",z="(?:\\ud83c[\\udde6-\\uddff]){2}",H="[\\ud800-\\udbff][\\udc00-\\udfff]",G="(?:"+K+"|"+V+")?",W="[\\ufe0e\\ufe0f]?",$=W+G+"(?:\\u200d(?:"+[D,z,H].join("|")+")"+W+G+")*",B="(?:"+[D+K+"?",K,z,H,"[\\ud800-\\udfff]"].join("|")+")",O=RegExp(V+"(?="+V+")|"+B+$,"g");q.exports=function(A){return A.match(O)||[]}},19:(q,K,V)=>{var D=V(91),z=V(752),H=V(7263),G=V(7878),W=V(6001),$=V(249),B=Object.prototype.hasOwnProperty,O=H(function(A,w){if(W(w)||G(w))z(w,$(w),A);else for(var E in w)B.call(w,E)&&D(A,E,w[E])});q.exports=O},4004:(q,K,V)=>{var D=V(8874);q.exports=function(z){return D(z,4)}},417:(q)=>{q.exports=function(K){for(var V=-1,D=K==null?0:K.length,z=0,H=[];++V<D;){var G=K[V];G&&(H[z++]=G)}return H}},6874:(q)=>{q.exports=function(K){return function(){return K}}},4573:(q,K,V)=>{var D=V(6060),z=V(1225),H=V(2406),G=V(8582),W=Object.prototype,$=W.hasOwnProperty,B=D(function(O,A){O=Object(O);var w=-1,E=A.length,S=E>2?A[2]:void 0;for(S&&H(A[0],A[1],S)&&(E=1);++w<E;)for(var X=A[w],F=G(X),U=-1,I=F.length;++U<I;){var P=F[U],L=O[P];(L===void 0||z(L,W[P])&&!$.call(O,P))&&(O[P]=X[P])}return O});q.exports=B},7335:(q,K,V)=>{var D=V(5246),z=V(2034),H=V(6060),G=V(3746),W=H(function($,B){return G($)?D($,z(B,1,G,!0)):[]});q.exports=W},7264:(q,K,V)=>{var D=V(9872),z=V(8101);q.exports=function(H,G,W){var $=H==null?0:H.length;return $?(G=W||G===void 0?1:z(G),D(H,G<0?0:G,$)):[]}},4934:(q,K,V)=>{var D=V(9872),z=V(8101);q.exports=function(H,G,W){var $=H==null?0:H.length;return $?(G=W||G===void 0?1:z(G),D(H,0,(G=$-G)<0?0:G)):[]}},1225:(q)=>{q.exports=function(K,V){return K===V||K!=K&&V!=V}},9794:(q,K,V)=>{var D=V(7603),z=V(80),H=V(8286),G=V(6152),W=V(2406);q.exports=function($,B,O){var A=G($)?D:z;return O&&W($,B,O)&&(B=void 0),A($,H(B,3))}},882:(q,K,V)=>{var D=V(7552),z=V(8043),H=V(8286),G=V(6152);q.exports=function(W,$){return(G(W)?D:z)(W,H($,3))}},5281:(q,K,V)=>{var D=V(8776)(V(2982));q.exports=D},2982:(q,K,V)=>{var D=V(1359),z=V(8286),H=V(8101),G=Math.max;q.exports=function(W,$,B){var O=W==null?0:W.length;if(!O)return-1;var A=B==null?0:H(B);return A<0&&(A=G(O+A,0)),D(W,z($,3),A)}},3237:(q,K,V)=>{q.exports=V(1092)},5838:(q,K,V)=>{var D=V(2034),z=V(6760);q.exports=function(H,G){return D(z(H,G),1)}},5676:(q,K,V)=>{var D=V(2034);q.exports=function(z){return z!=null&&z.length?D(z,1):[]}},9756:(q,K,V)=>{var D=V(2517),z=V(4303),H=V(9419),G=V(6152);q.exports=function(W,$){return(G(W)?D:z)(W,H($))}},2579:(q,K,V)=>{var D=V(3324);q.exports=function(z,H,G){var W=z==null?void 0:D(z,H);return W===void 0?G:W}},3440:(q,K,V)=>{var D=V(3940),z=V(6740),H=Object.prototype.hasOwnProperty,G=z(function(W,$,B){H.call(W,B)?W[B].push($):D(W,B,[$])});q.exports=G},3352:(q,K,V)=>{var D=V(2726),z=V(1369);q.exports=function(H,G){return H!=null&&z(H,G,D)}},5041:(q,K,V)=>{var D=V(187),z=V(1369);q.exports=function(H,G){return H!=null&&z(H,G,D)}},1092:(q)=>{q.exports=function(K){return K&&K.length?K[0]:void 0}},3059:(q)=>{q.exports=function(K){return K}},1886:(q,K,V)=>{var D=V(7832),z=V(7878),H=V(5505),G=V(8101),W=V(8346),$=Math.max;q.exports=function(B,O,A,w){B=z(B)?B:W(B),A=A&&!w?G(A):0;var E=B.length;return A<0&&(A=$(E+A,0)),H(B)?A<=E&&B.indexOf(O,A)>-1:!!E&&D(B,O,A)>-1}},3493:(q,K,V)=>{var D=V(7832),z=V(8101),H=Math.max;q.exports=function(G,W,$){var B=G==null?0:G.length;if(!B)return-1;var O=$==null?0:z($);return O<0&&(O=H(B+O,0)),D(G,W,O)}},9631:(q,K,V)=>{var D=V(5183),z=V(5125),H=Object.prototype,G=H.hasOwnProperty,W=H.propertyIsEnumerable,$=D(function(){return arguments}())?D:function(B){return z(B)&&G.call(B,"callee")&&!W.call(B,"callee")};q.exports=$},6152:(q)=>{var K=Array.isArray;q.exports=K},7878:(q,K,V)=>{var D=V(1049),z=V(1158);q.exports=function(H){return H!=null&&z(H.length)&&!D(H)}},3746:(q,K,V)=>{var D=V(7878),z=V(5125);q.exports=function(H){return z(H)&&D(H)}},3226:(q,K,V)=>{q=V.nmd(q);var D=V(7772),z=V(6330),H=K&&!K.nodeType&&K,G=H&&q&&!q.nodeType&&q,W=G&&G.exports===H?D.Buffer:void 0,$=(W?W.isBuffer:void 0)||z;q.exports=$},5455:(q,K,V)=>{var D=V(6411),z=V(940),H=V(9631),G=V(6152),W=V(7878),$=V(3226),B=V(6001),O=V(7598),A=Object.prototype.hasOwnProperty;q.exports=function(w){if(w==null)return!0;if(W(w)&&(G(w)||typeof w=="string"||typeof w.splice=="function"||$(w)||O(w)||H(w)))return!w.length;var E=z(w);if(E=="[object Map]"||E=="[object Set]")return!w.size;if(B(w))return!D(w).length;for(var S in w)if(A.call(w,S))return!1;return!0}},1049:(q,K,V)=>{var D=V(3366),z=V(9259);q.exports=function(H){if(!z(H))return!1;var G=D(H);return G=="[object Function]"||G=="[object GeneratorFunction]"||G=="[object AsyncFunction]"||G=="[object Proxy]"}},1158:(q)=>{q.exports=function(K){return typeof K=="number"&&K>-1&&K%1==0&&K<=9007199254740991}},4714:(q,K,V)=>{var D=V(4511),z=V(7826),H=V(4146),G=H&&H.isMap,W=G?z(G):D;q.exports=W},9259:(q)=>{q.exports=function(K){var V=typeof K;return K!=null&&(V=="object"||V=="function")}},5125:(q)=>{q.exports=function(K){return K!=null&&typeof K=="object"}},859:(q,K,V)=>{var D=V(4333),z=V(7826),H=V(4146),G=H&&H.isRegExp,W=G?z(G):D;q.exports=W},3679:(q,K,V)=>{var D=V(8436),z=V(7826),H=V(4146),G=H&&H.isSet,W=G?z(G):D;q.exports=W},5505:(q,K,V)=>{var D=V(3366),z=V(6152),H=V(5125);q.exports=function(G){return typeof G=="string"||!z(G)&&H(G)&&D(G)=="[object String]"}},4795:(q,K,V)=>{var D=V(3366),z=V(5125);q.exports=function(H){return typeof H=="symbol"||z(H)&&D(H)=="[object Symbol]"}},7598:(q,K,V)=>{var D=V(5522),z=V(7826),H=V(4146),G=H&&H.isTypedArray,W=G?z(G):D;q.exports=W},4336:(q)=>{q.exports=function(K){return K===void 0}},249:(q,K,V)=>{var D=V(1634),z=V(6411),H=V(7878);q.exports=function(G){return H(G)?D(G):z(G)}},8582:(q,K,V)=>{var D=V(1634),z=V(8390),H=V(7878);q.exports=function(G){return H(G)?D(G,!0):z(G)}},6974:(q)=>{q.exports=function(K){var V=K==null?0:K.length;return V?K[V-1]:void 0}},6760:(q,K,V)=>{var D=V(343),z=V(8286),H=V(3401),G=V(6152);q.exports=function(W,$){return(G(W)?D:H)(W,z($,3))}},733:(q,K,V)=>{var D=V(6738);function z(H,G){if(typeof H!="function"||G!=null&&typeof G!="function")throw TypeError("Expected a function");var W=function(){var $=arguments,B=G?G.apply(this,$):$[0],O=W.cache;if(O.has(B))return O.get(B);var A=H.apply(this,$);return W.cache=O.set(B,A)||O,A};return W.cache=new(z.Cache||D),W}z.Cache=D,q.exports=z},1570:(q)=>{q.exports=function(K){if(typeof K!="function")throw TypeError("Expected a function");return function(){var V=arguments;switch(V.length){case 0:return!K.call(this);case 1:return!K.call(this,V[0]);case 2:return!K.call(this,V[0],V[1]);case 3:return!K.call(this,V[0],V[1],V[2])}return!K.apply(this,V)}}},4291:(q)=>{q.exports=function(){}},2208:(q,K,V)=>{var D=V(343),z=V(8286),H=V(3759),G=V(6939);q.exports=function(W,$){if(W==null)return{};var B=D(G(W),function(O){return[O]});return $=z($),H(W,B,function(O,A){return $(O,A[0])})}},5798:(q,K,V)=>{var D=V(256),z=V(2952),H=V(1401),G=V(3812);q.exports=function(W){return H(W)?D(G(W)):z(W)}},8215:(q,K,V)=>{var D=V(1207),z=V(4303),H=V(8286),G=V(5877),W=V(6152);q.exports=function($,B,O){var A=W($)?D:G,w=arguments.length<3;return A($,H(B,4),O,w,z)}},2070:(q,K,V)=>{var D=V(7552),z=V(8043),H=V(8286),G=V(6152),W=V(1570);q.exports=function($,B){return(G($)?D:z)($,W(H(B,3)))}},1525:(q,K,V)=>{var D=V(7064),z=V(8286),H=V(4751),G=V(6152),W=V(2406);q.exports=function($,B,O){var A=G($)?D:H;return O&&W($,B,O)&&(B=void 0),A($,z(B,3))}},981:(q)=>{q.exports=function(){return[]}},6330:(q)=>{q.exports=function(){return!1}},5707:(q,K,V)=>{var D=V(7642);q.exports=function(z){return z?(z=D(z))===1/0||z===-1/0?179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000*(z<0?-1:1):z==z?z:0:z===0?z:0}},8101:(q,K,V)=>{var D=V(5707);q.exports=function(z){var H=D(z),G=H%1;return H==H?G?H-G:H:0}},7642:(q,K,V)=>{var D=V(1704),z=V(9259),H=V(4795),G=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,$=/^0o[0-7]+$/i,B=parseInt;q.exports=function(O){if(typeof O=="number")return O;if(H(O))return NaN;if(z(O)){var A=typeof O.valueOf=="function"?O.valueOf():O;O=z(A)?A+"":A}if(typeof O!="string")return O===0?O:+O;O=D(O);var w=W.test(O);return w||$.test(O)?B(O.slice(2),w?2:8):G.test(O)?NaN:+O}},6188:(q,K,V)=>{var D=V(1054);q.exports=function(z){return z==null?"":D(z)}},5652:(q,K,V)=>{var D=V(7326);q.exports=function(z){return z&&z.length?D(z):[]}},3779:(q,K,V)=>{var D=V(3126)("toUpperCase");q.exports=D},8346:(q,K,V)=>{var D=V(753),z=V(249);q.exports=function(H){return H==null?[]:D(H,z(H))}},4844:function(q,K){var V,D;(D=typeof(V=function(){function z(){}z.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},z.prototype.restoreState=function(U){this.idx=U.idx,this.input=U.input,this.groupIdx=U.groupIdx},z.prototype.pattern=function(U){this.idx=0,this.input=U,this.groupIdx=0,this.consumeChar("/");var I=this.disjunction();this.consumeChar("/");for(var P={type:"Flags",loc:{begin:this.idx,end:U.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":A(P,"global");break;case"i":A(P,"ignoreCase");break;case"m":A(P,"multiLine");break;case"u":A(P,"unicode");break;case"y":A(P,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:P,value:I,loc:this.loc(0)}},z.prototype.disjunction=function(){var U=[],I=this.idx;for(U.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),U.push(this.alternative());return{type:"Disjunction",value:U,loc:this.loc(I)}},z.prototype.alternative=function(){for(var U=[],I=this.idx;this.isTerm();)U.push(this.term());return{type:"Alternative",value:U,loc:this.loc(I)}},z.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},z.prototype.assertion=function(){var U=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(U)};case"$":return{type:"EndAnchor",loc:this.loc(U)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(U)};case"B":return{type:"NonWordBoundary",loc:this.loc(U)}}throw Error("Invalid Assertion Escape");case"(":var I;switch(this.consumeChar("?"),this.popChar()){case"=":I="Lookahead";break;case"!":I="NegativeLookahead"}w(I);var P=this.disjunction();return this.consumeChar(")"),{type:I,value:P,loc:this.loc(U)}}(function(){throw Error("Internal Error - Should never get here!")})()},z.prototype.quantifier=function(U){var I,P=this.idx;switch(this.popChar()){case"*":I={atLeast:0,atMost:1/0};break;case"+":I={atLeast:1,atMost:1/0};break;case"?":I={atLeast:0,atMost:1};break;case"{":var L=this.integerIncludingZero();switch(this.popChar()){case"}":I={atLeast:L,atMost:L};break;case",":I=this.isDigit()?{atLeast:L,atMost:this.integerIncludingZero()}:{atLeast:L,atMost:1/0},this.consumeChar("}")}if(U===!0&&I===void 0)return;w(I)}if(U!==!0||I!==void 0)return w(I),this.peekChar(0)==="?"?(this.consumeChar("?"),I.greedy=!1):I.greedy=!0,I.type="Quantifier",I.loc=this.loc(P),I},z.prototype.atom=function(){var U,I=this.idx;switch(this.peekChar()){case".":U=this.dotAll();break;case"\\":U=this.atomEscape();break;case"[":U=this.characterClass();break;case"(":U=this.group()}return U===void 0&&this.isPatternCharacter()&&(U=this.patternCharacter()),w(U),U.loc=this.loc(I),this.isQuantifier()&&(U.quantifier=this.quantifier()),U},z.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[B(`
445
445
  `),B("\r"),B("\u2028"),B("\u2029")]}},z.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},z.prototype.decimalEscapeAtom=function(){return{type:"GroupBackReference",value:this.positiveInteger()}},z.prototype.characterClassEscape=function(){var U,I=!1;switch(this.popChar()){case"d":U=E;break;case"D":U=E,I=!0;break;case"s":U=X;break;case"S":U=X,I=!0;break;case"w":U=S;break;case"W":U=S,I=!0}return w(U),{type:"Set",value:U,complement:I}},z.prototype.controlEscapeAtom=function(){var U;switch(this.popChar()){case"f":U=B("\f");break;case"n":U=B(`
446
446
  `);break;case"r":U=B("\r");break;case"t":U=B("\t");break;case"v":U=B("\v")}return w(U),{type:"Character",value:U}},z.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var U=this.popChar();if(/[a-zA-Z]/.test(U)===!1)throw Error("Invalid ");return{type:"Character",value:U.toUpperCase().charCodeAt(0)-64}},z.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:B("\x00")}},z.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},z.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},z.prototype.identityEscapeAtom=function(){return{type:"Character",value:B(this.popChar())}},z.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case`
@@ -601,12 +601,12 @@ See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_7-0-0`)}})(),J})(
601
601
  `,nexist:"∄",nexists:"∄",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"\uD835\uDD5F",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"\uD835\uDCAA",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"\uD835\uDD61",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"⨌",Qopf:"ℚ",qopf:"\uD835\uDD62",qprime:"⁗",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"\uD835\uDCC7",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"∝",vrtri:"⊳",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"℘",wr:"≀",wreath:"≀",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ї",yicy:"ї",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"\uD835\uDD37",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"});BK.entityMap=BK.HTML_ENTITIES});var Cr=k((RI)=>{var AK=zK().NAMESPACE,CI=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,Or=new RegExp("[\\-\\.0-9"+CI.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),Xr=new RegExp("^"+CI.source+Or.source+"*(?::"+CI.source+Or.source+"*)?$"),OK=0,d2=1,rY=2,XK=3,oY=4,tY=5,FK=6,AW=7;function eY(Z,Q){if(this.message=Z,this.locator=Q,Error.captureStackTrace)Error.captureStackTrace(this,eY)}eY.prototype=Error();eY.prototype.name=eY.name;function wr(){}wr.prototype={parse:function(Z,Q,Y){var J=this.domBuilder;J.startDocument(),Er(Q,Q={}),GX0(Z,Q,Y,J,this.errorHandler),J.endDocument()}};function GX0(Z,Q,Y,J,q){function K(T){if(T>65535){T-=65536;var u=55296+(T>>10),x=56320+(T&1023);return String.fromCharCode(u,x)}else return String.fromCharCode(T)}function V(T){var u=T.slice(1,-1);if(u in Y)return Y[u];else if(u.charAt(0)==="#")return K(parseInt(u.substr(1).replace("x","0x")));else return q.error("entity not found:"+T),T}function D(T){if(T>A){var u=Z.substring(A,T).replace(/&#?\w+;/g,V);$&&z(A),J.characters(u,0,T-A),A=T}}function z(T,u){while(T>=G&&(u=W.exec(Z)))H=u.index,G=H+u[0].length,$.lineNumber++;$.columnNumber=T-H+1}var H=0,G=0,W=/.*(?:\r\n?|\n)|.*$/g,$=J.locator,B=[{currentNSMap:Q}],O={},A=0;while(!0){try{var w=Z.indexOf("<",A);if(w<0){if(!Z.substr(A).match(/^\s*$/)){var E=J.doc,S=E.createTextNode(Z.substr(A));E.appendChild(S),J.currentElement=S}return}if(w>A)D(w);switch(Z.charAt(w+1)){case"/":var N=Z.indexOf(">",w+3),X=Z.substring(w+2,N).replace(/[ \t\n\r]+$/g,""),F=B.pop();if(N<0)X=Z.substring(w+2).replace(/[\s<].*/,""),q.error("end tag name: "+X+" is not complete:"+F.tagName),N=w+1+X.length;else if(X.match(/\s</))X=X.replace(/[\s<].*/,""),q.error("end tag name: "+X+" maybe not complete"),N=w+1+X.length;var U=F.localNSMap,I=F.tagName==X,P=I||F.tagName&&F.tagName.toLowerCase()==X.toLowerCase();if(P){if(J.endElement(F.uri,F.localName,X),U){for(var L in U)if(Object.prototype.hasOwnProperty.call(U,L))J.endPrefixMapping(L)}if(!I)q.fatalError("end tag name: "+X+" is not match the current start tagName:"+F.tagName)}else B.push(F);N++;break;case"?":$&&z(w),N=OX0(Z,w,J);break;case"!":$&&z(w),N=BX0(Z,w,J,q);break;default:$&&z(w);var R=new Ir,C=B[B.length-1].currentNSMap,N=WX0(Z,w,R,C,V,q),j=R.length;if(!R.closed&&$X0(Z,N,R.tagName,O)){if(R.closed=!0,!Y.nbsp)q.warning("unclosed xml attribute")}if($&&j){var _=Fr($,{});for(var v=0;v<j;v++){var b=R[v];z(b.offset),b.locator=Fr($,{})}if(J.locator=_,Ar(R,J,C))B.push(R);J.locator=$}else if(Ar(R,J,C))B.push(R);if(AK.isHTML(R.uri)&&!R.closed)N=UX0(Z,N,R.tagName,V,J);else N++}}catch(T){if(T instanceof eY)throw T;q.error("element parse error: "+T),N=-1}if(N>A)A=N;else D(Math.max(w,A)+1)}}function Fr(Z,Q){return Q.lineNumber=Z.lineNumber,Q.columnNumber=Z.columnNumber,Q}function WX0(Z,Q,Y,J,q,K){function V(B,O,A){if(Y.attributeNames.hasOwnProperty(B))K.fatalError("Attribute "+B+" redefined");Y.addValue(B,O,A)}var D,z,H=++Q,G=OK;while(!0){var W=Z.charAt(H);switch(W){case"=":if(G===d2)D=Z.slice(Q,H),G=XK;else if(G===rY)G=XK;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(G===XK||G===d2){if(G===d2)K.warning('attribute value must after "="'),D=Z.slice(Q,H);if(Q=H+1,H=Z.indexOf(W,Q),H>0)z=Z.slice(Q,H).replace(/&#?\w+;/g,q),V(D,z,Q-1),G=tY;else throw Error("attribute value no end '"+W+"' match")}else if(G==oY)z=Z.slice(Q,H).replace(/&#?\w+;/g,q),V(D,z,Q),K.warning('attribute "'+D+'" missed start quot('+W+")!!"),Q=H+1,G=tY;else throw Error('attribute value must after "="');break;case"/":switch(G){case OK:Y.setTagName(Z.slice(Q,H));case tY:case FK:case AW:G=AW,Y.closed=!0;case oY:case d2:break;case rY:Y.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":if(K.error("unexpected end of input"),G==OK)Y.setTagName(Z.slice(Q,H));return H;case">":switch(G){case OK:Y.setTagName(Z.slice(Q,H));case tY:case FK:case AW:break;case oY:case d2:if(z=Z.slice(Q,H),z.slice(-1)==="/")Y.closed=!0,z=z.slice(0,-1);case rY:if(G===rY)z=D;if(G==oY)K.warning('attribute "'+z+'" missed quot(")!'),V(D,z.replace(/&#?\w+;/g,q),Q);else{if(!AK.isHTML(J[""])||!z.match(/^(?:disabled|checked|selected)$/i))K.warning('attribute "'+z+'" missed value!! "'+z+'" instead!!');V(z,z,Q)}break;case XK:throw Error("attribute value missed!!")}return H;case"€":W=" ";default:if(W<=" ")switch(G){case OK:Y.setTagName(Z.slice(Q,H)),G=FK;break;case d2:D=Z.slice(Q,H),G=rY;break;case oY:var z=Z.slice(Q,H).replace(/&#?\w+;/g,q);K.warning('attribute "'+z+'" missed quot(")!!'),V(D,z,Q);case tY:G=FK;break}else switch(G){case rY:var $=Y.tagName;if(!AK.isHTML(J[""])||!D.match(/^(?:disabled|checked|selected)$/i))K.warning('attribute "'+D+'" missed value!! "'+D+'" instead2!!');V(D,D,Q),Q=H,G=d2;break;case tY:K.warning('attribute space is required"'+D+'"!!');case FK:G=d2,Q=H;break;case XK:G=oY,Q=H;break;case AW:throw Error("elements closed character '/' and '>' must be connected to")}}H++}}function Ar(Z,Q,Y){var J=Z.tagName,q=null,W=Z.length;while(W--){var K=Z[W],V=K.qName,D=K.value,$=V.indexOf(":");if($>0)var z=K.prefix=V.slice(0,$),H=V.slice($+1),G=z==="xmlns"&&H;else H=V,z=null,G=V==="xmlns"&&"";if(K.localName=H,G!==!1){if(q==null)q={},Er(Y,Y={});Y[G]=q[G]=D,K.uri=AK.XMLNS,Q.startPrefixMapping(G,D)}}var W=Z.length;while(W--){K=Z[W];var z=K.prefix;if(z){if(z==="xml")K.uri=AK.XML;if(z!=="xmlns")K.uri=Y[z||""]}}var $=J.indexOf(":");if($>0)z=Z.prefix=J.slice(0,$),H=Z.localName=J.slice($+1);else z=null,H=Z.localName=J;var B=Z.uri=Y[z||""];if(Q.startElement(B,H,J,Z),Z.closed){if(Q.endElement(B,H,J),q){for(z in q)if(Object.prototype.hasOwnProperty.call(q,z))Q.endPrefixMapping(z)}}else return Z.currentNSMap=Y,Z.localNSMap=q,!0}function UX0(Z,Q,Y,J,q){if(/^(?:script|textarea)$/i.test(Y)){var K=Z.indexOf("</"+Y+">",Q),V=Z.substring(Q+1,K);if(/[&<]/.test(V)){if(/^script$/i.test(Y))return q.characters(V,0,V.length),K;return V=V.replace(/&#?\w+;/g,J),q.characters(V,0,V.length),K}}return Q+1}function $X0(Z,Q,Y,J){var q=J[Y];if(q==null){if(q=Z.lastIndexOf("</"+Y+">"),q<Q)q=Z.lastIndexOf("</"+Y);J[Y]=q}return q<Q}function Er(Z,Q){for(var Y in Z)if(Object.prototype.hasOwnProperty.call(Z,Y))Q[Y]=Z[Y]}function BX0(Z,Q,Y,J){var q=Z.charAt(Q+2);switch(q){case"-":if(Z.charAt(Q+3)==="-"){var K=Z.indexOf("-->",Q+4);if(K>Q)return Y.comment(Z,Q+4,K-Q-4),K+3;else return J.error("Unclosed comment"),-1}else return-1;default:if(Z.substr(Q+3,6)=="CDATA["){var K=Z.indexOf("]]>",Q+9);return Y.startCDATA(),Y.characters(Z,Q+9,K-Q-9),Y.endCDATA(),K+3}var V=XX0(Z,Q),D=V.length;if(D>1&&/!doctype/i.test(V[0][0])){var z=V[1][0],H=!1,G=!1;if(D>3){if(/^public$/i.test(V[2][0]))H=V[3][0],G=D>4&&V[4][0];else if(/^system$/i.test(V[2][0]))G=V[3][0]}var W=V[D-1];return Y.startDTD(z,H,G),Y.endDTD(),W.index+W[0].length}}return-1}function OX0(Z,Q,Y){var J=Z.indexOf("?>",Q);if(J){var q=Z.substring(Q,J).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(q){var K=q[0].length;return Y.processingInstruction(q[1],q[2]),J+2}else return-1}return-1}function Ir(){this.attributeNames={}}Ir.prototype={setTagName:function(Z){if(!Xr.test(Z))throw Error("invalid tagName:"+Z);this.tagName=Z},addValue:function(Z,Q,Y){if(!Xr.test(Z))throw Error("invalid attribute:"+Z);this.attributeNames[Z]=this.length,this[this.length++]={qName:Z,value:Q,offset:Y}},length:0,getLocalName:function(Z){return this[Z].localName},getLocator:function(Z){return this[Z].locator},getQName:function(Z){return this[Z].qName},getURI:function(Z){return this[Z].uri},getValue:function(Z){return this[Z].value}};function XX0(Z,Q){var Y,J=[],q=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;q.lastIndex=Q,q.exec(Z);while(Y=q.exec(Z))if(J.push(Y),Y[1])return J}RI.XMLReader=wr;RI.ParseError=eY});var Sr=k((EK)=>{var FX0=zK(),MI=II(),Rr=Br(),jr=Cr(),AX0=MI.DOMImplementation,Lr=FX0.NAMESPACE,wX0=jr.ParseError,EX0=jr.XMLReader;function Nr(Z){this.options=Z||{locator:{}}}Nr.prototype.parseFromString=function(Z,Q){var Y=this.options,J=new EX0,q=Y.domBuilder||new wK,K=Y.errorHandler,V=Y.locator,D=Y.xmlns||{},z=/\/x?html?$/.test(Q),H=z?Rr.HTML_ENTITIES:Rr.XML_ENTITIES;if(V)q.setDocumentLocator(V);if(J.errorHandler=IX0(K,q,V),J.domBuilder=Y.domBuilder||q,z)D[""]=Lr.HTML;if(D.xml=D.xml||Lr.XML,Z&&typeof Z==="string")J.parse(Z,D,H);else J.errorHandler.error("invalid doc source");return q.doc};function IX0(Z,Q,Y){if(!Z){if(Q instanceof wK)return Q;Z=Q}var J={},q=Z instanceof Function;Y=Y||{};function K(V){var D=Z[V];if(!D&&q)D=Z.length==2?function(z){Z(V,z)}:Z;J[V]=D&&function(z){D("[xmldom "+V+"]\t"+z+LI(Y))}||function(){}}return K("warning"),K("error"),K("fatalError"),J}function wK(){this.cdata=!1}function Z3(Z,Q){Q.lineNumber=Z.lineNumber,Q.columnNumber=Z.columnNumber}wK.prototype={startDocument:function(){if(this.doc=new AX0().createDocument(null,null,null),this.locator)this.doc.documentURI=this.locator.systemId},startElement:function(Z,Q,Y,J){var q=this.doc,K=q.createElementNS(Z,Y||Q),V=J.length;wW(this,K),this.currentElement=K,this.locator&&Z3(this.locator,K);for(var D=0;D<V;D++){var Z=J.getURI(D),z=J.getValue(D),Y=J.getQName(D),H=q.createAttributeNS(Z,Y);this.locator&&Z3(J.getLocator(D),H),H.value=H.nodeValue=z,K.setAttributeNode(H)}},endElement:function(Z,Q,Y){var J=this.currentElement,q=J.tagName;this.currentElement=J.parentNode},startPrefixMapping:function(Z,Q){},endPrefixMapping:function(Z){},processingInstruction:function(Z,Q){var Y=this.doc.createProcessingInstruction(Z,Q);this.locator&&Z3(this.locator,Y),wW(this,Y)},ignorableWhitespace:function(Z,Q,Y){},characters:function(Z,Q,Y){if(Z=Mr.apply(this,arguments),Z){if(this.cdata)var J=this.doc.createCDATASection(Z);else var J=this.doc.createTextNode(Z);if(this.currentElement)this.currentElement.appendChild(J);else if(/^\s*$/.test(Z))this.doc.appendChild(J);this.locator&&Z3(this.locator,J)}},skippedEntity:function(Z){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(Z){if(this.locator=Z)Z.lineNumber=0},comment:function(Z,Q,Y){Z=Mr.apply(this,arguments);var J=this.doc.createComment(Z);this.locator&&Z3(this.locator,J),wW(this,J)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(Z,Q,Y){var J=this.doc.implementation;if(J&&J.createDocumentType){var q=J.createDocumentType(Z,Q,Y);this.locator&&Z3(this.locator,q),wW(this,q),this.doc.doctype=q}},warning:function(Z){console.warn("[xmldom warning]\t"+Z,LI(this.locator))},error:function(Z){console.error("[xmldom error]\t"+Z,LI(this.locator))},fatalError:function(Z){throw new wX0(Z,this.locator)}};function LI(Z){if(Z)return`
602
602
  @`+(Z.systemId||"")+"#[line:"+Z.lineNumber+",col:"+Z.columnNumber+"]"}function Mr(Z,Q,Y){if(typeof Z=="string")return Z.substr(Q,Y);else{if(Z.length>=Q+Y||Q)return new java.lang.String(Z,Q,Y)+"";return Z}}"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(Z){wK.prototype[Z]=function(){return null}});function wW(Z,Q){if(!Z.currentElement)Z.doc.appendChild(Q);else Z.currentElement.appendChild(Q)}EK.__DOMHandler=wK;EK.DOMParser=Nr;EK.DOMImplementation=MI.DOMImplementation;EK.XMLSerializer=MI.XMLSerializer});var Tr=k((EW)=>{var Pr=II();EW.DOMImplementation=Pr.DOMImplementation;EW.XMLSerializer=Pr.XMLSerializer;EW.DOMParser=Sr().DOMParser});var vr=k((J3)=>{var CX0=J3&&J3.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(J3,"__esModule",{value:!0});J3.parse=void 0;var RX0=Tr(),Q3=CX0(require("assert")),IW=3,_r=4,LX0=8;function jI(Z){return Z.nodeType===IW||Z.nodeType===LX0||Z.nodeType===_r}function x4(Z){return!Z.childNodes||Z.childNodes.length===0}function MX0(Z){let Q=new RX0.DOMParser({errorHandler(){}}).parseFromString(Z);Q3.default(Q.documentElement.nodeName==="plist","malformed document. First element should be <plist>");let Y=Y3(Q.documentElement);if(Y.length==1)Y=Y[0];return Y}J3.parse=MX0;function Y3(Z){let Q,Y,J,q,K,V;if(!Z)return null;if(Z.nodeName==="plist"){if(q=[],x4(Z))return q;for(Q=0;Q<Z.childNodes.length;Q++)if(!jI(Z.childNodes[Q]))q.push(Y3(Z.childNodes[Q]));return q}else if(Z.nodeName==="dict"){if(Y={},J=null,V=0,x4(Z))return Y;for(Q=0;Q<Z.childNodes.length;Q++){if(jI(Z.childNodes[Q]))continue;if(V%2===0)Q3.default(Z.childNodes[Q].nodeName==="key","Missing key while parsing <dict/>."),J=Y3(Z.childNodes[Q]);else Q3.default(Z.childNodes[Q].nodeName!=="key",'Unexpected key "'+Y3(Z.childNodes[Q])+'" while parsing <dict/>.'),Y[J]=Y3(Z.childNodes[Q]);V+=1}if(V%2===1)throw Error('Missing value for "'+J+'" while parsing <dict/>');return Y}else if(Z.nodeName==="array"){if(q=[],x4(Z))return q;for(Q=0;Q<Z.childNodes.length;Q++)if(!jI(Z.childNodes[Q])){if(K=Y3(Z.childNodes[Q]),K!=null)q.push(K)}return q}else if(Z.nodeName==="#text");else if(Z.nodeName==="key"){if(x4(Z))return"";return Z.childNodes[0].nodeValue}else if(Z.nodeName==="string"){if(K="",x4(Z))return K;for(Q=0;Q<Z.childNodes.length;Q++){let D=Z.childNodes[Q].nodeType;if(D===IW||D===_r)K+=Z.childNodes[Q].nodeValue}return K}else if(Z.nodeName==="integer")return Q3.default(!x4(Z),'Cannot parse "" as integer.'),parseInt(Z.childNodes[0].nodeValue,10);else if(Z.nodeName==="real"){Q3.default(!x4(Z),'Cannot parse "" as real.'),K="";for(Q=0;Q<Z.childNodes.length;Q++)if(Z.childNodes[Q].nodeType===IW)K+=Z.childNodes[Q].nodeValue;return parseFloat(K)}else if(Z.nodeName==="data"){if(K="",x4(Z))return Buffer.from(K,"base64");for(Q=0;Q<Z.childNodes.length;Q++)if(Z.childNodes[Q].nodeType===IW)K+=Z.childNodes[Q].nodeValue.replace(/\s+/g,"");return Buffer.from(K,"base64")}else if(Z.nodeName==="date")return Q3.default(!x4(Z),'Cannot parse "" as Date.'),new Date(Z.childNodes[0].nodeValue);else if(Z.nodeName==="true")return!0;else if(Z.nodeName==="false")return!1}});var br=k((NI)=>{Object.defineProperty(NI,"__esModule",{value:!0});var jX0=xa(),NX0=vr();NI.default={parse:NX0.parse,build:jX0.build}});var kr=k((CW)=>{Object.defineProperty(CW,"__esModule",{value:!0});CW.uniqueBy=void 0;function SX0(Z,Q){let Y=new Set;return Z.filter((J)=>{let q=Q(J);if(Y.has(q))return!1;return Y.add(q),!0})}CW.uniqueBy=SX0});var yr=k((q3)=>{var PX0=q3&&q3.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(q3,"__esModule",{value:!0});q3.resolveXcodeBuildSetting=void 0;var IK=PX0(require("node:path"));function RW(Z,Q){let Y=Z?.replace(/\$\(([^()]*|\([^)]*\))\)/g,(J)=>{let[q,...K]=J.slice(2,-1).split(":"),V=Q(q);if(V)V=RW(V,Q);let D=V;return K.forEach((z)=>{switch(z){case"lower":D=D?.toLowerCase();break;case"upper":D=D?.toUpperCase();break;case"suffix":if(D)D=IK.default.extname(D);break;case"file":if(D)D=IK.default.basename(D);break;case"dir":if(D)D=IK.default.dirname(D);break;case"base":if(D){let H=IK.default.basename(D),G=H.lastIndexOf(".");D=G===-1?H:H.slice(0,G)}break;case"rfc1034identifier":D=D?.replace(/[^a-zA-Z0-9]/g,"-");break;case"c99extidentifier":D=D?.replace(/[-\s]/g,"_");break;case"standardizepath":if(D)D=IK.default.resolve(D);break;default:D||(D=z.match(/default=(.*)/)?.[1]);break}}),RW(D??"",Q)});if(Y!==Z)return RW(Y,Q);return Z}q3.resolveXcodeBuildSetting=RW});var CK=k((B7)=>{var TX0=B7&&B7.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),_X0=B7&&B7.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),vX0=B7&&B7.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))TX0(Q,Z,Y)}return _X0(Q,Z),Q},MW=B7&&B7.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(B7,"__esModule",{value:!0});B7.XCBuildConfiguration=void 0;var bX0=MW(require("node:path")),kX0=MW(require("node:os")),hr=MW(require("node:fs")),xr=MW(br()),yX0=kr(),LW=vX0(F5()),hX0=e5(),ur=yr(),fr=A7()("xcode:XCBuildConfiguration");class jW extends hX0.AbstractObject{static is(Z){return Z.isa===jW.isa}static create(Z,Q){return Z.createModel({isa:LW.ISA.XCBuildConfiguration,...Q})}resolveFilePath(Z){let Q=this.resolveBuildSetting(Z);if(Q==null||typeof Q!=="string")return null;let Y=this.getXcodeProject().getProjectRoot();return bX0.default.join(Y,Q)}getEntitlementsFilePath(){return this.resolveFilePath("CODE_SIGN_ENTITLEMENTS")}getEntitlements(){let Z=this.getEntitlementsFilePath();if(!Z)return null;return xr.default.parse(hr.default.readFileSync(Z,"utf8"))}getInfoPlistFilePath(){return this.resolveFilePath("INFOPLIST_FILE")}getInfoPlist(){let Z=this.getInfoPlistFilePath();if(!Z)return null;return xr.default.parse(hr.default.readFileSync(Z,"utf8"))}getTargetReferrers(){let Q=this.getReferrers().filter((Y)=>Y.isa===LW.ISA.XCConfigurationList).map((Y)=>{return Y.getReferrers().filter((J)=>J.isa===LW.ISA.PBXNativeTarget)}).flat();return(0,yX0.uniqueBy)(Q,(Y)=>Y.uuid)}resolveBuildSetting(Z){let Q=(J)=>{if(!(J in this.props.buildSettings)){if(process.env[J]!=null)return fr('Using environment variable substitution for "%s"',J),process.env[J];else if(J in gr)return fr('Dangerously using estimated default Apple build variable substitution for "%s"',J),gr[J];if(J==="TARGET_NAME"){let q=this.getTargetReferrers();if(q.length>0){if(q.length>1)console.warn(`[XCBuildConfiguration][${this.props.name}]: Multiple targets found for build setting "${Z}". Using first target "${q[0].props.name}". Possible targets: ${q.map((K)=>K.getDisplayName()).join(", ")}`);return q[0].props.name}else console.warn(`[XCBuildConfiguration][${this.props.name}]: Issue resolving special build setting "${Z}". Substitute value "${J}" not found in build settings, environment variables, or from a referring PBXNativeTarget.`)}else console.warn(`[XCBuildConfiguration][${this.props.name}]: Issue resolving build setting "${Z}". Substitute value "${J}" not found in build settings.`)}if(Array.isArray(J))console.warn(`[XCBuildConfiguration][${this.props.name}]: Issue resolving build setting "${Z}". Substitute value "${J}" is of type array––it's not clear how this should be resolved in a string.`);return this.props.buildSettings[J]},Y=this.props.buildSettings[Z];if(typeof Y==="string")return(0,ur.resolveXcodeBuildSetting)(Y,Q);if(Array.isArray(Y))return Y.map((J)=>{return(0,ur.resolveXcodeBuildSetting)(J,Q)});return Y}getObjectProps(){return{baseConfigurationReference:String}}}B7.XCBuildConfiguration=jW;jW.isa=LW.ISA.XCBuildConfiguration;var gr={HOME:kX0.default.homedir(),SYSTEM_APPS_DIR:"/Applications",SYSTEM_ADMIN_APPS_DIR:"/Applications/Utilities",SYSTEM_DEMOS_DIR:"/Applications/Extras",SYSTEM_DEVELOPER_DIR:"/Applications/Xcode.app/Contents/Developer",SYSTEM_DEVELOPER_APPS_DIR:"/Applications/Xcode.app/Contents/Applications",SYSTEM_DEVELOPER_JAVA_TOOLS_DIR:"/Applications/Xcode.app/Contents/Applications/Java Tools",SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR:"/Applications/Xcode.app/Contents/Applications/Performance Tools",SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR:"/Applications/Xcode.app/Contents/Applications/Graphics Tools",SYSTEM_DEVELOPER_UTILITIES_DIR:"/Applications/Xcode.app/Contents/Applications/Utilities",SYSTEM_DEVELOPER_DEMOS_DIR:"/Applications/Xcode.app/Contents/Developer/Utilities/Built Examples",SYSTEM_DEVELOPER_DOC_DIR:"/Applications/Xcode.app/Contents/Developer/ADC Reference Library",SYSTEM_DEVELOPER_TOOLS_DOC_DIR:"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools",SYSTEM_DEVELOPER_RELEASENOTES_DIR:"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes",SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR:"/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools",SYSTEM_LIBRARY_DIR:"/System/Library",SYSTEM_CORE_SERVICES_DIR:"/System/Library/CoreServices",SYSTEM_DOCUMENTATION_DIR:"/Library/Documentation",LOCAL_ADMIN_APPS_DIR:"/Applications/Utilities",LOCAL_APPS_DIR:"/Applications",LOCAL_DEVELOPER_DIR:"/Library/Developer",LOCAL_LIBRARY_DIR:"/Library",USER_APPS_DIR:"$(HOME)/Applications",USER_LIBRARY_DIR:"$(HOME)/Library",MAN_PAGE_DIRECTORIES:"/usr/share/man",SYSTEM_LIBRARY_EXECUTABLES_DIR:"",SYSTEM_DEVELOPER_EXECUTABLES_DIR:"",LOCAL_DEVELOPER_EXECUTABLES_DIR:""}});var NW=k((u6)=>{var xX0=u6&&u6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),uX0=u6&&u6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),fX0=u6&&u6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))xX0(Q,Z,Y)}return uX0(Q,Z),Q};Object.defineProperty(u6,"__esModule",{value:!0});u6.XCConfigurationList=void 0;var gX0=fX0(F5()),mX0=e5();class RK extends mX0.AbstractObject{static is(Z){return Z.isa===RK.isa}static create(Z,Q){return Z.createModel({isa:RK.isa,defaultConfigurationIsVisible:0,...Q})}getObjectProps(){return{buildConfigurations:[String]}}getDefaultConfiguration(){let Z=this.props.buildConfigurations.find((Q)=>Q.props.name===this.props.defaultConfigurationName);if(!Z)throw Error(`[XCConfigurationList][${this.uuid}]: ${this.props.defaultConfigurationName} not found in buildConfigurations. Available configurations: ${this.props.buildConfigurations.map((Q)=>`${Q.props.name} (${Q.uuid})`).join(", ")})`);return Z}removeReference(Z){let Q=this.props.buildConfigurations.findIndex((Y)=>Y.uuid===Z);if(Q!==-1)this.props.buildConfigurations.splice(Q,1)}isReferencing(Z){return this.props.buildConfigurations.some((Q)=>Q.uuid===Z)}setBuildSetting(Z,Q){return this.props.buildConfigurations.forEach((Y)=>{Y.props.buildSettings[Z]=Q}),Q}removeBuildSetting(Z){this.props.buildConfigurations.forEach((Q)=>{delete Q.props.buildSettings[Z]})}getDefaultBuildSetting(Z){return this.getDefaultConfiguration().props.buildSettings[Z]}}u6.XCConfigurationList=RK;RK.isa=gX0.ISA.XCConfigurationList});var PW=k((SW)=>{Object.defineProperty(SW,"__esModule",{value:!0});SW.AbstractTarget=void 0;var cX0=e5(),dX0=CK(),lX0=NW();class mr extends cX0.AbstractObject{createConfigurationList(Z,Q){let Y=Q.map((q)=>dX0.XCBuildConfiguration.create(this.getXcodeProject(),q)),J=lX0.XCConfigurationList.create(this.getXcodeProject(),{buildConfigurations:Y,...Z});return this.props.buildConfigurationList=J,J}getDependencyForTarget(Z){return this.props.dependencies.find((Q)=>{if(Q.props.targetProxy.isRemote()){let Y=this.getXcodeProject().getReferenceForPath(Z.getXcodeProject().filePath);if(Y){let J=Y.uuid;return Q.props.targetProxy.props.remoteGlobalIDString===Z.uuid&&Q.props.targetProxy.props.containerPortal.uuid===J}}else return Q.props.target.uuid===Z.uuid;return!1})}createBuildPhase(Z,Q){let Y=this.getXcodeProject().createModel({isa:Z.isa,...Q});return this.props.buildPhases.push(Y),Y}getBuildPhase(Z){return this.props.buildPhases.find((Y)=>Z.is(Y))??null}isReferencing(Z){if(this.props.buildConfigurationList.uuid===Z)return!0;if(this.props.dependencies.some((Q)=>Q.uuid===Z))return!0;if(this.props.buildPhases.some((Q)=>Q.uuid===Z))return!0;return!1}getObjectProps(){return{buildConfigurationList:String,dependencies:[String],buildPhases:[String]}}getDefaultConfiguration(){return this.props.buildConfigurationList.getDefaultConfiguration()}setBuildSetting(Z,Q){return this.props.buildConfigurationList.setBuildSetting(Z,Q)}removeBuildSetting(Z){return this.props.buildConfigurationList.removeBuildSetting(Z)}getDefaultBuildSetting(Z){return this.props.buildConfigurationList.getDefaultBuildSetting(Z)}getAttributes(){return this.getXcodeProject().rootObject.props.attributes.TargetAttributes?.[this.uuid]}}SW.AbstractTarget=mr});var MK=k((f6)=>{var pX0=f6&&f6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),iX0=f6&&f6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),nX0=f6&&f6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))pX0(Q,Z,Y)}return iX0(Q,Z),Q};Object.defineProperty(f6,"__esModule",{value:!0});f6.PBXTargetDependency=void 0;var sX0=nX0(F5()),aX0=e5();class LK extends aX0.AbstractObject{static is(Z){return Z.isa===LK.isa}static create(Z,Q){return Z.createModel({isa:LK.isa,...Q})}getObjectProps(){return{target:String,targetProxy:String}}getNativeTargetUuid(){if(this.props.target)return this.props.target.uuid;if(this.props.targetProxy)return this.props.targetProxy.props.remoteGlobalIDString;throw Error(`Expected target or target_proxy, from which to fetch a uuid for target '${this.getDisplayName()}'. Find and clear the PBXTargetDependency entry with uuid '${this.uuid}' in your .xcodeproj.`)}getDisplayName(){return this.props.name??this.props.target.props.name??this.props.targetProxy.props.remoteInfo??super.getDisplayName()}}f6.PBXTargetDependency=LK;LK.isa=sX0.ISA.PBXTargetDependency});var _W=k((m6)=>{var rX0=m6&&m6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),oX0=m6&&m6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),tX0=m6&&m6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))rX0(Q,Z,Y)}return oX0(Q,Z),Q};Object.defineProperty(m6,"__esModule",{value:!0});m6.PBXNativeTarget=void 0;var cr=tX0(F5()),eX0=PW(),g6=i7(),ZF0=K3(),QF0=MK(),YF0=jK();class TW extends eX0.AbstractTarget{static is(Z){return Z.isa===TW.isa}static create(Z,Q){return Z.createModel({isa:cr.ISA.PBXNativeTarget,buildPhases:[],buildRules:[],dependencies:[],...Q})}isReferencing(Z){if(this.props.buildRules.some((Q)=>Q.uuid===Z))return!0;if(this.props.packageProductDependencies?.some((Q)=>Q.uuid===Z))return!0;if(this.props.productReference?.uuid===Z)return!0;if(this.props.fileSystemSynchronizedGroups?.some((Q)=>Q.uuid===Z))return!0;return super.isReferencing(Z)}getFrameworksBuildPhase(){return this.getBuildPhase(g6.PBXFrameworksBuildPhase)??this.createBuildPhase(g6.PBXFrameworksBuildPhase)}getHeadersBuildPhase(){return this.getBuildPhase(g6.PBXHeadersBuildPhase)??this.createBuildPhase(g6.PBXHeadersBuildPhase)}getSourcesBuildPhase(){return this.getBuildPhase(g6.PBXSourcesBuildPhase)??this.createBuildPhase(g6.PBXSourcesBuildPhase)}getResourcesBuildPhase(){return this.getBuildPhase(g6.PBXResourcesBuildPhase)??this.createBuildPhase(g6.PBXResourcesBuildPhase)}ensureFrameworks(Z){let Q=this.getXcodeProject().rootObject.getFrameworksGroup(),Y=(J)=>{let q=J.endsWith(".framework")?J:J+".framework";for(let[,K]of this.getXcodeProject().entries())if(ZF0.PBXFileReference.is(K)&&K.props.lastKnownFileType==="wrapper.framework"&&K.props.sourceTree==="SDKROOT"&&K.props.name===q){if(!Q.props.children.find((V)=>V.uuid===K.uuid))Q.props.children.push(K);return K}return Q.createFile({path:"System/Library/Frameworks/"+q})};return Z.map((J)=>{return this.getFrameworksBuildPhase().ensureFile({fileRef:Y(J)})})}addDependency(Z){let Q=Z.getXcodeProject().filePath===this.getXcodeProject().filePath,Y=this.getDependencyForTarget(Z);if(Y){if(!Q)Y.props.name=Z.props.name;return}let J=YF0.PBXContainerItemProxy.create(this.getXcodeProject(),{containerPortal:this.getXcodeProject().rootObject,proxyType:1,remoteGlobalIDString:Z.uuid,remoteInfo:Z.props.name});if(Q)J.props.containerPortal=this.getXcodeProject().rootObject;else throw Error("adding dependencies to subprojects is not yet supported. Please open an issue if you need this feature.");let q=QF0.PBXTargetDependency.create(this.getXcodeProject(),{target:Z,targetProxy:J});this.props.dependencies.push(q)}getCopyBuildPhaseForTarget(Z){if(this.getXcodeProject().rootObject.getMainAppTarget("ios").uuid!==this.uuid)throw Error("getCopyBuildPhaseForTarget can only be called on the main target");let Y=(()=>{if(Z.props.productType==="com.apple.product-type.application.on-demand-install-capable")return"Embed App Clips";else if(Z.props.productType==="com.apple.product-type.application")return"Embed Watch Content";else if(Z.props.productType==="com.apple.product-type.extensionkit-extension")return"Embed ExtensionKit Extensions";return"Embed Foundation Extensions"})(),J=this.props.buildPhases.find((K)=>{return g6.PBXCopyFilesBuildPhase.is(K)&&K.props.name===Y});if(J)return J;let q=this.createBuildPhase(g6.PBXCopyFilesBuildPhase,{name:Y,files:[]});return q.ensureDefaultsForTarget(Z),q}isWatchOSTarget(){return this.props.productType==="com.apple.product-type.application"&&!!this.getDefaultBuildSetting("WATCHOS_DEPLOYMENT_TARGET")}getObjectProps(){return{...super.getObjectProps(),buildRules:[String],productReference:[String],packageProductDependencies:[String],fileSystemSynchronizedGroups:[String]}}}m6.PBXNativeTarget=TW;TW.isa=cr.ISA.PBXNativeTarget});var SI=k((c6)=>{var JF0=c6&&c6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),qF0=c6&&c6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),KF0=c6&&c6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))JF0(Q,Z,Y)}return qF0(Q,Z),Q};Object.defineProperty(c6,"__esModule",{value:!0});c6.PBXAggregateTarget=void 0;var VF0=KF0(F5()),DF0=PW();class NK extends DF0.AbstractTarget{static is(Z){return Z.isa===NK.isa}static create(Z,Q){return Z.createModel({isa:NK.isa,buildPhases:[],dependencies:[],...Q})}}c6.PBXAggregateTarget=NK;NK.isa=VF0.ISA.PBXAggregateTarget});var PI=k((d6)=>{var zF0=d6&&d6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),HF0=d6&&d6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),GF0=d6&&d6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))zF0(Q,Z,Y)}return HF0(Q,Z),Q};Object.defineProperty(d6,"__esModule",{value:!0});d6.PBXLegacyTarget=void 0;var WF0=GF0(F5()),UF0=PW();class vW extends UF0.AbstractTarget{static is(Z){return Z.isa===vW.isa}}d6.PBXLegacyTarget=vW;vW.isa=WF0.ISA.PBXLegacyTarget});var _I=k((O7)=>{var $F0=O7&&O7.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),BF0=O7&&O7.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),OF0=O7&&O7.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))$F0(Q,Z,Y)}return BF0(Q,Z),Q},XF0=O7&&O7.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(O7,"__esModule",{value:!0});O7.PBXProject=void 0;var FF0=XF0(require("path")),bW=rq(),AF0=OF0(F5()),wF0=e5(),TI=_W(),EF0=CK();class SK extends wF0.AbstractObject{static is(Z){return Z.isa===SK.isa}static create(Z,Q){return Z.createModel({isa:SK.isa,...Q})}getObjectProps(){return{buildConfigurationList:String,mainGroup:String,productRefGroup:String,targets:[String],packageReferences:[String]}}setupDefaults(Z){if(!Z.compatibilityVersion)Z.compatibilityVersion="Xcode 3.2";if(!Z.developmentRegion)Z.developmentRegion="en";if(!Z.hasScannedForEncodings)Z.hasScannedForEncodings=0;if(!Z.knownRegions)Z.knownRegions=["en","Base"];if(!Z.projectDirPath)Z.projectDirPath="";if(!Z.projectRoot)Z.projectRoot="";if(!Z.attributes)Z.attributes={LastSwiftUpdateCheck:bW.LAST_SWIFT_UPGRADE_CHECK,LastUpgradeCheck:bW.LAST_UPGRADE_CHECK,TargetAttributes:{}}}addBuildConfiguration(Z,Q){let Y=this.props.buildConfigurationList,J=Y.props.buildConfigurations.find((K)=>K.props.name===Z);if(J)return J;let q=EF0.XCBuildConfiguration.create(this.getXcodeProject(),{name:Z,buildSettings:{...JSON.parse(JSON.stringify(bW.PROJECT_DEFAULT_BUILD_SETTINGS.all)),...JSON.parse(JSON.stringify(bW.PROJECT_DEFAULT_BUILD_SETTINGS[Q]))}});return Y.props.buildConfigurations.push(q),q}getName(){return FF0.default.basename(this.getXcodeProject().filePath,".xcodeproj")}ensureProductGroup(){if(this.props.productRefGroup)return this.props.productRefGroup;let Z=this.props.mainGroup.createGroup({name:"Products",sourceTree:"<group>"});return this.props.productRefGroup=Z,Z}ensureMainGroupChild(Z){return this.props.mainGroup.getChildGroups().find((Q)=>Q.getDisplayName()===Z)??this.props.mainGroup.createGroup({name:Z,sourceTree:"<group>"})}getFrameworksGroup(){return this.ensureMainGroupChild("Frameworks")}createNativeTarget(Z){let Q=TI.PBXNativeTarget.create(this.getXcodeProject(),Z);return this.props.targets.push(Q),Q}getNativeTarget(Z){for(let Q of this.props.targets)if(TI.PBXNativeTarget.is(Q)&&Q.props.productType===Z)return Q;return null}getMainAppTarget(Z="ios"){let Y={ios:"IPHONEOS_DEPLOYMENT_TARGET",macos:"MACOSX_DEPLOYMENT_TARGET",tvos:"TVOS_DEPLOYMENT_TARGET",watchos:"WATCHOS_DEPLOYMENT_TARGET"}[Z],J=this.props.targets.filter((V)=>{return TI.PBXNativeTarget.is(V)&&V.props.productType==="com.apple.product-type.application"}),q=J.filter((V)=>{let D=V.getDefaultConfiguration();return Y in D.props.buildSettings});if(q.length>1)console.warn(`Multiple main app targets found, using first one: ${q.map((V)=>V.getDisplayName()).join(", ")}`);let K=q[0];if(!K){if(Z==="ios"&&J.length)return J[0];throw Error("No main app target found")}return K}isReferencing(Z){if([this.props.mainGroup.uuid,this.props.buildConfigurationList.uuid,this.props.productRefGroup?.uuid].includes(Z))return!0;return!!this.props.targets.find((Q)=>Q.uuid===Z)}}O7.PBXProject=SK;SK.isa=AF0.ISA.PBXProject});var vI=k((l6)=>{var IF0=l6&&l6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),CF0=l6&&l6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),RF0=l6&&l6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))IF0(Q,Z,Y)}return CF0(Q,Z),Q};Object.defineProperty(l6,"__esModule",{value:!0});l6.PBXBuildRule=void 0;var LF0=RF0(F5()),MF0=e5();class PK extends MF0.AbstractObject{static is(Z){return Z.isa===PK.isa}static create(Z,Q){return Z.createModel({isa:PK.isa,...Q})}getObjectProps(){return{inputFiles:[String],outputFiles:[String]}}setupDefaults(){if(this.props.isEditable==null)this.props.isEditable=1}addOutputFile(Z,Q=""){if(!this.props.outputFiles)this.props.outputFiles=[];if(this.props.outputFiles.push(Z),!this.props.outputFilesCompilerFlags)this.props.outputFilesCompilerFlags=[];this.props.outputFilesCompilerFlags.push(Q)}getOutputFilesAndFlags(){return jF0(this.props.outputFiles,this.props.outputFilesCompilerFlags)}}l6.PBXBuildRule=PK;PK.isa=LF0.ISA.PBXBuildRule;function jF0(Z=[],Q=[]){return Z.map((Y,J)=>[Y,Q[J]])}});var kW=k((p6)=>{var NF0=p6&&p6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),SF0=p6&&p6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),PF0=p6&&p6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))NF0(Q,Z,Y)}return SF0(Q,Z),Q};Object.defineProperty(p6,"__esModule",{value:!0});p6.PBXReferenceProxy=void 0;var TF0=PF0(F5()),_F0=e5(),vF0=dY();class TK extends _F0.AbstractObject{static is(Z){return Z.isa===TK.isa}static create(Z,Q){return Z.createModel({isa:TK.isa,sourceTree:"<group>",...Q})}getObjectProps(){return{remoteRef:String}}removeFromProject(){return this.getBuildFiles().forEach((Z)=>{Z.removeFromProject()}),super.removeFromProject()}getBuildFiles(){return this.getReferrers().filter(vF0.PBXBuildFile.is)}}p6.PBXReferenceProxy=TK;TK.isa=TF0.ISA.PBXReferenceProxy});var bI=k((i6)=>{var bF0=i6&&i6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),kF0=i6&&i6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),yF0=i6&&i6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))bF0(Q,Z,Y)}return kF0(Q,Z),Q};Object.defineProperty(i6,"__esModule",{value:!0});i6.XCSwiftPackageProductDependency=void 0;var hF0=yF0(F5()),xF0=e5();class _K extends xF0.AbstractObject{static is(Z){return Z.isa===_K.isa}static create(Z,Q){return Z.createModel({isa:_K.isa,...Q})}getObjectProps(){return{}}getDisplayName(){return this.props.productName??super.getDisplayName()}}i6.XCSwiftPackageProductDependency=_K;_K.isa=hF0.ISA.XCSwiftPackageProductDependency});var kI=k((n6)=>{var uF0=n6&&n6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),fF0=n6&&n6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),gF0=n6&&n6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))uF0(Q,Z,Y)}return fF0(Q,Z),Q};Object.defineProperty(n6,"__esModule",{value:!0});n6.XCRemoteSwiftPackageReference=void 0;var mF0=gF0(F5()),cF0=e5();class vK extends cF0.AbstractObject{static is(Z){return Z.isa===vK.isa}static create(Z,Q){return Z.createModel({isa:vK.isa,...Q})}getObjectProps(){return{}}getDisplayName(){return this.props.repositoryURL??super.getDisplayName()}}n6.XCRemoteSwiftPackageReference=vK;vK.isa=mF0.ISA.XCRemoteSwiftPackageReference});var yI=k((s6)=>{var dF0=s6&&s6.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),lF0=s6&&s6.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),pF0=s6&&s6.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))dF0(Q,Z,Y)}return lF0(Q,Z),Q};Object.defineProperty(s6,"__esModule",{value:!0});s6.XCLocalSwiftPackageReference=void 0;var iF0=pF0(F5()),nF0=e5();class bK extends nF0.AbstractObject{static is(Z){return Z.isa===bK.isa}static create(Z,Q){return Z.createModel({isa:bK.isa,...Q})}getObjectProps(){return{}}getDisplayName(){return this.props.relativePath??super.getDisplayName()}}s6.XCLocalSwiftPackageReference=bK;bK.isa=iF0.ISA.XCLocalSwiftPackageReference});var mI=k((X7)=>{var sF0=X7&&X7.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),aF0=X7&&X7.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),rF0=X7&&X7.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))sF0(Q,Z,Y)}return aF0(Q,Z),Q},fI=X7&&X7.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(X7,"__esModule",{value:!0});X7.XcodeProject=void 0;var hI=fI(require("assert")),oF0=require("fs"),xI=fI(require("path")),tF0=fI(require("crypto")),eF0=oE(),G5=rF0(F5()),dr=rq(),ZA0=A7()("xcparse:model:XcodeProject");function QA0(Z){return"XX"+tF0.default.createHash("md5").update(Z).digest("hex").toUpperCase().slice(0,20)+"XX"}var YA0={[G5.ISA.PBXBuildFile]:()=>dY().PBXBuildFile,[G5.ISA.PBXAppleScriptBuildPhase]:()=>i7().PBXAppleScriptBuildPhase,[G5.ISA.PBXCopyFilesBuildPhase]:()=>i7().PBXCopyFilesBuildPhase,[G5.ISA.PBXFrameworksBuildPhase]:()=>i7().PBXFrameworksBuildPhase,[G5.ISA.PBXHeadersBuildPhase]:()=>i7().PBXHeadersBuildPhase,[G5.ISA.PBXResourcesBuildPhase]:()=>i7().PBXResourcesBuildPhase,[G5.ISA.PBXShellScriptBuildPhase]:()=>i7().PBXShellScriptBuildPhase,[G5.ISA.PBXSourcesBuildPhase]:()=>i7().PBXSourcesBuildPhase,[G5.ISA.PBXContainerItemProxy]:()=>jK().PBXContainerItemProxy,[G5.ISA.PBXFileReference]:()=>K3().PBXFileReference,[G5.ISA.PBXGroup]:()=>lY().PBXGroup,[G5.ISA.PBXVariantGroup]:()=>tE().PBXVariantGroup,[G5.ISA.XCVersionGroup]:()=>eE().XCVersionGroup,[G5.ISA.PBXFileSystemSynchronizedRootGroup]:()=>ZI().PBXFileSystemSynchronizedRootGroup,[G5.ISA.PBXFileSystemSynchronizedBuildFileExceptionSet]:()=>QI().PBXFileSystemSynchronizedBuildFileExceptionSet,[G5.ISA.PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet]:()=>YI().PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet,[G5.ISA.PBXNativeTarget]:()=>_W().PBXNativeTarget,[G5.ISA.PBXAggregateTarget]:()=>SI().PBXAggregateTarget,[G5.ISA.PBXLegacyTarget]:()=>PI().PBXLegacyTarget,[G5.ISA.PBXProject]:()=>_I().PBXProject,[G5.ISA.PBXTargetDependency]:()=>MK().PBXTargetDependency,[G5.ISA.XCBuildConfiguration]:()=>CK().XCBuildConfiguration,[G5.ISA.XCConfigurationList]:()=>NW().XCConfigurationList,[G5.ISA.PBXBuildRule]:()=>vI().PBXBuildRule,[G5.ISA.PBXReferenceProxy]:()=>kW().PBXReferenceProxy,[G5.ISA.PBXRezBuildPhase]:()=>i7().PBXRezBuildPhase,[G5.ISA.XCSwiftPackageProductDependency]:()=>bI().XCSwiftPackageProductDependency,[G5.ISA.XCRemoteSwiftPackageReference]:()=>kI().XCRemoteSwiftPackageReference,[G5.ISA.XCLocalSwiftPackageReference]:()=>yI().XCLocalSwiftPackageReference};class gI extends Map{constructor(Z,Q){super();this.filePath=Z;let Y=JSON.parse(JSON.stringify(Q));(0,hI.default)(Y.objects,"objects is required"),(0,hI.default)(Y.rootObject,"rootObject is required"),this.internalJsonObjects=Y.objects,this.archiveVersion=Y.archiveVersion??dr.LAST_KNOWN_ARCHIVE_VERSION,this.objectVersion=Y.objectVersion??dr.DEFAULT_OBJECT_VERSION,this.classes=Y.classes??{},JA0(Y.rootObject,Y.objects?.[Y.rootObject]),this.rootObject=this.getObject(Y.rootObject),this.ensureAllObjectsInflated()}static open(Z){let Q=(0,oF0.readFileSync)(Z,"utf8"),Y=(0,eF0.parse)(Q);return new gI(Z,Y)}getProjectRoot(){return xI.default.dirname(xI.default.dirname(this.filePath))}getObject(Z){let Q=this._getObjectOptional(Z);if(Q)return Q;throw Error(`object with uuid '${Z}' not found.`)}_getObjectOptional(Z){if(this.has(Z))return this.get(Z);let Q=this.internalJsonObjects[Z];if(!Q)return null;delete this.internalJsonObjects[Z];let Y=this.createObject(Z,Q);return this.set(Z,Y),Y.inflate(),Y}createObject(Z,Q){let Y=YA0[Q.isa]();return(0,hI.default)(Y,`unknown object type. (isa: ${Q.isa}, uuid: ${Z})`),new Y(this,Z,Q)}ensureAllObjectsInflated(){if(Object.keys(this.internalJsonObjects).length===0)return;ZA0("inflating unreferenced objects: %o",Object.keys(this.internalJsonObjects));while(Object.keys(this.internalJsonObjects).length>0){let Z=Object.keys(this.internalJsonObjects)[0];this.getObject(Z)}}createModel(Z){let Q=this.getUniqueId(JSON.stringify(uI(Z))),Y=this.createObject(Q,Z);return this.set(Q,Y),Y}getReferenceForPath(Z){if(!xI.default.isAbsolute(Z))throw Error(`Paths must be absolute ${Z}`);for(let Q of this.values())if(Q.isa==="PBXFileReference"&&"getRealPath"in Q&&Q.getRealPath()===Z)return Q;return null}getReferrers(Z){let Q=[];for(let Y of this.values())if(Y.isReferencing(Z))Q.push(Y);return Q}isUniqueId(Z){for(let Q of this.keys())if(Q===Z)return!1;return!0}getUniqueId(Z){let Q=QA0(Z);if(this.isUniqueId(Q))return Q;return this.getUniqueId(Z+" ")}toJSON(){let Z={archiveVersion:this.archiveVersion,objectVersion:this.objectVersion,classes:this.classes,objects:{},rootObject:this.rootObject.uuid};for(let[Q,Y]of this.entries())Z.objects[Q]=Y.toJSON();return Z}}X7.XcodeProject=gI;function JA0(Z,Q){if(Q?.isa!=="PBXProject")throw Error(`Root object "${Z}" is not a PBXProject`)}function uI(Z){if(Array.isArray(Z))return Z.map(uI);else if(typeof Z==="object"){if("uuid"in Z&&typeof Z.uuid==="string")return Z.uuid;let Q={};for(let Y of Object.keys(Z).sort())Q[Y]=uI(Z[Y]);return Q}else return Z}});var jK=k((F7)=>{var qA0=F7&&F7.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),KA0=F7&&F7.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),VA0=F7&&F7.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))qA0(Q,Z,Y)}return KA0(Q,Z),Q},DA0=F7&&F7.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(F7,"__esModule",{value:!0});F7.PBXContainerItemProxy=void 0;var zA0=DA0(require("assert")),HA0=VA0(F5()),GA0=e5(),WA0=mI(),UA0=K3();class kK extends GA0.AbstractObject{static is(Z){return Z.isa===kK.isa}static create(Z,Q){return Z.createModel({isa:kK.isa,...Q})}getObjectProps(){return{containerPortal:String}}getProxiedObject(){return this.getContainerPortalObject().get(this.props.remoteGlobalIDString)}getContainerPortalObject(){if(this.isRemote()){let Z=this.getXcodeProject().get(this.props.containerPortal.uuid);return(0,zA0.default)(UA0.PBXFileReference.is(Z),"containerPortal is not a PBXFileReference"),WA0.XcodeProject.open(Z.getRealPath())}return this.getXcodeProject()}isRemote(){return this.getXcodeProject().rootObject.uuid!==this.props.containerPortal.uuid}}F7.PBXContainerItemProxy=kK;kK.isa=HA0.ISA.PBXContainerItemProxy});var K3=k((E9)=>{var $A0=E9&&E9.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),BA0=E9&&E9.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),OA0=E9&&E9.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))$A0(Q,Z,Y)}return BA0(Q,Z),Q},XA0=E9&&E9.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(E9,"__esModule",{value:!0});E9.PBXFileReference=E9.getPossibleDefaultSourceTree=void 0;var u4=XA0(require("path")),cI=rq(),ir=OA0(F5()),FA0=lY(),AA0=dY(),wA0=e5(),yK=gG(),lr=jK(),EA0=kW(),IA0=MK(),pr=A7()("xcparse:models");function nr(Z){let Q=Z.lastKnownFileType?cI.SOURCETREE_BY_FILETYPE[Z.lastKnownFileType]:void 0;if(!Q&&Z.explicitFileType)return"BUILT_PRODUCTS_DIR";return Q??"<group>"}E9.getPossibleDefaultSourceTree=nr;function CA0(Z,Q,Y){let J=u4.default.resolve(Q);if(Z.props.sourceTree=Y,Y==="<absolute>"){if(!u4.default.isAbsolute(J))throw Error(`[Xcodeproj] Attempt to set a relative path with an absolute source tree: ${Q}`);Z.props.path=J}else if(Y=="<group>"||Y=="SOURCE_ROOT"){let q=(0,yK.getSourceTreeRealPath)(Z);if(q&&u4.default.resolve(q)===J){let K=u4.default.relative(q,J);Z.props.path=K}else Z.props.path=J}else Z.props.path=J}class hK extends wA0.AbstractObject{static is(Z){return Z.isa===hK.isa}static create(Z,Q){return Z.createModel({isa:hK.isa,...Q})}getObjectProps(){return{}}setupDefaults(){if(this.props.fileEncoding==null)this.props.fileEncoding=4;if(!this.props.lastKnownFileType&&!this.props.explicitFileType)this.setLastKnownFileType();if(this.props.includeInIndex==null)this.props.includeInIndex=0;if(this.props.name==null&&this.props.path){let Z=u4.default.basename(this.props.path);if(Z!==this.props.path)this.props.name=Z}if(!this.props.sourceTree)this.props.sourceTree=nr(this.props);if(this.props.path&&u4.default.extname(this.props.path)===".framework")this.props.includeInIndex=void 0}getParent(){return(0,yK.getParent)(this)}getParents(){return(0,yK.getParents)(this)}move(Z){FA0.PBXGroup.move(this,Z)}getRealPath(){return(0,yK.getRealPath)(this)}getFullPath(){return(0,yK.getFullPath)(this)}setLastKnownFileType(Z){if(Z)this.props.lastKnownFileType=Z;else if(this.props.path){let Q=u4.default.extname(this.props.path);if(Q.startsWith("."))Q=Q.substring(1);this.props.lastKnownFileType=cI.FILE_TYPES_BY_EXTENSION[Q],pr(`setLastKnownFileType (ext: ${Q}, type: ${this.props.lastKnownFileType})`)}}setExplicitFileType(Z){if(Z)this.props.explicitFileType=Z;else if(this.props.path){let Q=u4.default.extname(this.props.path);if(Q.startsWith("."))Q=Q.substring(1);this.props.explicitFileType=cI.FILE_TYPES_BY_EXTENSION[Q],pr(`setExplicitFileType (ext: ${Q}, type: ${this.props.explicitFileType})`)}if(this.props.explicitFileType)this.props.lastKnownFileType=void 0}getDisplayName(){if(this.props.name)return this.props.name;else if(this.props.path&&this.props.sourceTree==="BUILT_PRODUCTS_DIR")return this.props.path;else if(this.props.path)return u4.default.basename(this.props.path);return this.isa.replace(/^(PBX|XC)/,"")}getProxyContainers(){return Array.from(this.getXcodeProject().values()).filter((Z)=>lr.PBXContainerItemProxy.is(Z)&&Z.props.containerPortal.uuid===this.uuid)}setPath(Z){if(Z)CA0(this,Z,this.props.sourceTree);else this.props.path=void 0}getBuildFiles(){return this.getReferrers().filter((Z)=>AA0.PBXBuildFile.is(Z))}getTargetDependencyProxies(){let Z=this.getProxyContainers();if(!Z.length)return[];return Array.from(this.getXcodeProject().values()).filter((Q)=>{return IA0.PBXTargetDependency.is(Q)&&Z.some((Y)=>Y.uuid===Q.props.targetProxy.uuid)})}removeFromProject(){return this.getFileReferenceProxies().forEach((Z)=>{Z.removeFromProject()}),this.getTargetDependencyProxies().forEach((Z)=>{Z.removeFromProject()}),this.getBuildFiles().forEach((Z)=>Z.removeFromProject()),super.removeFromProject()}getFileReferenceProxies(){let Z=this.getProxyContainers();if(!Z.length)return[];return[...this.getXcodeProject().values()].filter((Q)=>{if(!EA0.PBXReferenceProxy.is(Q))return!1;return!!Z.find((Y)=>lr.PBXContainerItemProxy.is(Q.props.remoteRef)&&Y.uuid===Q.props.remoteRef.uuid)})}isAppExtension(){let Z=this.props.lastKnownFileType??this.props.explicitFileType;return!!(Z&&["wrapper.extensionkit-extension","wrapper.app-extension"].includes(Z)&&this.props.sourceTree==="BUILT_PRODUCTS_DIR")}getTargetReferrers(){return this.getReferrers().filter((Z)=>{return RA0(Z)&&Z.props.productReference?.uuid===this.uuid})}}E9.PBXFileReference=hK;hK.isa=ir.ISA.PBXFileReference;function RA0(Z){return Z.isa===ir.ISA.PBXNativeTarget}});var lY=k((I9)=>{var LA0=I9&&I9.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),MA0=I9&&I9.__setModuleDefault||(Object.create?function(Z,Q){Object.defineProperty(Z,"default",{enumerable:!0,value:Q})}:function(Z,Q){Z.default=Q}),jA0=I9&&I9.__importStar||function(Z){if(Z&&Z.__esModule)return Z;var Q={};if(Z!=null){for(var Y in Z)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(Z,Y))LA0(Q,Z,Y)}return MA0(Q,Z),Q},sr=I9&&I9.__importDefault||function(Z){return Z&&Z.__esModule?Z:{default:Z}};Object.defineProperty(I9,"__esModule",{value:!0});I9.PBXGroup=I9.AbstractGroup=void 0;var V3=sr(require("assert")),lI=sr(require("path")),NA0=rq(),SA0=jA0(F5()),dI=gG(),PA0=e5(),TA0=K3();class pI extends PA0.AbstractObject{getObjectProps(){return{children:Array}}setupDefaults(){if(!this.props.children)this.props.children=[]}createGroup(Z){(0,V3.default)(Z.path||Z.name,"A group must have a path or name");let Q=f4.create(this.getXcodeProject(),{...Z});return this.props.children.push(Q),Q}mkdir(Z,{recursive:Q}={}){let Y=typeof Z==="string"?Z.split("/"):Z;if(!Y.length)return this;let J=Y.shift(),q=this.getChildGroups().find((K)=>K.getDisplayName()===J);if(!q){if(!Q)return null;q=this.createGroup({path:J})}if(!Z.length)return q;return q.mkdir(Y,{recursive:Q})}getChildGroups(){return this.props.children.filter((Z)=>f4.is(Z))}createNewProductRefForTarget(Z,Q){let Y="";if(Q=="staticLibrary")Y="lib";let J=NA0.PRODUCT_UTI_EXTENSIONS[Q],q=`${Y}${Z}`;if(J)q+=`.${J}`;let K=vA0(this,q,"BUILT_PRODUCTS_DIR");return K.props.includeInIndex=0,K.setExplicitFileType(),K}static move(Z,Q){(0,V3.default)(f4.is(Q),"newParent must be a PBXGroup"),(0,V3.default)(Z,`Attempt to move nullish object to "${Q.uuid}".`),(0,V3.default)(Q,`Attempt to move object "${Z.uuid}" to nullish parent.`),(0,V3.default)(Q.uuid!==Z.uuid,`Attempt to move object "${Z.uuid}" to itself.`),(0,V3.default)(!(0,dI.getParents)(Q).find((J)=>J.uuid===Z.uuid),`Attempt to move object "${Z.uuid}" to a child object "${Q.uuid}".`);let Y=Z.getParent();if(f4.is(Y)){let J=Y.props.children.findIndex((q)=>q.uuid===Z.uuid);if(J!==-1)Y.props.children.splice(J,1)}Q.props.children.push(Z)}getParent(){return(0,dI.getParent)(this)}getParents(){return(0,dI.getParents)(this)}isReferencing(Z){return!!this.props.children.find((Q)=>Q.uuid===Z)}removeReference(Z){let Q=this.props.children.findIndex((Y)=>Y.uuid===Z);if(Q!==-1)this.props.children.splice(Q,1)}getPath(){throw Error("TODO")}createFile(Z){let Q=TA0.PBXFileReference.create(this.getXcodeProject(),Z);return this.props.children.push(Q),Q}getDisplayName(){if(this.props.name)return this.props.name;else if(this.props.path)return lI.default.basename(this.props.path);else if(this.uuid===this.project.props.mainGroup.uuid)return"Main Group";return this.isa.replace(/^(PBX|XC)/,"")}}I9.AbstractGroup=pI;class f4 extends pI{static is(Z){return Z.isa===f4.isa}static create(Z,Q){return Z.createModel({isa:f4.isa,children:[],sourceTree:"<group>",...Q})}}I9.PBXGroup=f4;f4.isa=SA0.ISA.PBXGroup;function _A0(Z,Q,Y){return Z.createFile({path:Q,sourceTree:Y})}function vA0(Z,Q,Y){let J=(()=>{switch(lI.default.extname(Q).toLowerCase()){case".xcdatamodeld":case".xcodeproj":throw Error("Unsupported file type: "+Q);default:return _A0(Z,Q,Y)}})();return bA0(J),J}function bA0(Z){if(Z.props.path?.includes("/"))Z.props.name=Z.props.path.split("/").pop();if(Z.props.path&&lI.default.extname(Z.props.path).toLowerCase()==".framework")Z.props.includeInIndex=void 0}});var rr=k((D1)=>{Object.defineProperty(D1,"__esModule",{value:!0});D1.XCVersionGroup=D1.XCSwiftPackageProductDependency=D1.XCLocalSwiftPackageReference=D1.XCRemoteSwiftPackageReference=D1.XCConfigurationList=D1.XCBuildConfiguration=D1.AbstractObject=D1.PBXTargetDependency=D1.PBXVariantGroup=D1.PBXSourcesBuildPhase=D1.PBXShellScriptBuildPhase=D1.PBXRezBuildPhase=D1.PBXResourcesBuildPhase=D1.PBXHeadersBuildPhase=D1.PBXFrameworksBuildPhase=D1.PBXCopyFilesBuildPhase=D1.PBXAppleScriptBuildPhase=D1.AbstractBuildPhase=D1.PBXReferenceProxy=D1.PBXProject=D1.PBXNativeTarget=D1.PBXLegacyTarget=D1.PBXFileSystemSynchronizedRootGroup=D1.PBXFileSystemSynchronizedBuildFileExceptionSet=D1.PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet=D1.PBXFileReference=D1.PBXContainerItemProxy=D1.PBXBuildRule=D1.PBXBuildFile=D1.PBXAggregateTarget=D1.XcodeProject=D1.AbstractGroup=D1.PBXGroup=void 0;var ar=lY();Object.defineProperty(D1,"PBXGroup",{enumerable:!0,get:function(){return ar.PBXGroup}});Object.defineProperty(D1,"AbstractGroup",{enumerable:!0,get:function(){return ar.AbstractGroup}});var kA0=mI();Object.defineProperty(D1,"XcodeProject",{enumerable:!0,get:function(){return kA0.XcodeProject}});var yA0=SI();Object.defineProperty(D1,"PBXAggregateTarget",{enumerable:!0,get:function(){return yA0.PBXAggregateTarget}});var hA0=dY();Object.defineProperty(D1,"PBXBuildFile",{enumerable:!0,get:function(){return hA0.PBXBuildFile}});var xA0=vI();Object.defineProperty(D1,"PBXBuildRule",{enumerable:!0,get:function(){return xA0.PBXBuildRule}});var uA0=jK();Object.defineProperty(D1,"PBXContainerItemProxy",{enumerable:!0,get:function(){return uA0.PBXContainerItemProxy}});var fA0=K3();Object.defineProperty(D1,"PBXFileReference",{enumerable:!0,get:function(){return fA0.PBXFileReference}});var gA0=YI();Object.defineProperty(D1,"PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet",{enumerable:!0,get:function(){return gA0.PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet}});var mA0=QI();Object.defineProperty(D1,"PBXFileSystemSynchronizedBuildFileExceptionSet",{enumerable:!0,get:function(){return mA0.PBXFileSystemSynchronizedBuildFileExceptionSet}});var cA0=ZI();Object.defineProperty(D1,"PBXFileSystemSynchronizedRootGroup",{enumerable:!0,get:function(){return cA0.PBXFileSystemSynchronizedRootGroup}});var dA0=PI();Object.defineProperty(D1,"PBXLegacyTarget",{enumerable:!0,get:function(){return dA0.PBXLegacyTarget}});var lA0=_W();Object.defineProperty(D1,"PBXNativeTarget",{enumerable:!0,get:function(){return lA0.PBXNativeTarget}});var pA0=_I();Object.defineProperty(D1,"PBXProject",{enumerable:!0,get:function(){return pA0.PBXProject}});var iA0=kW();Object.defineProperty(D1,"PBXReferenceProxy",{enumerable:!0,get:function(){return iA0.PBXReferenceProxy}});var g4=i7();Object.defineProperty(D1,"AbstractBuildPhase",{enumerable:!0,get:function(){return g4.AbstractBuildPhase}});Object.defineProperty(D1,"PBXAppleScriptBuildPhase",{enumerable:!0,get:function(){return g4.PBXAppleScriptBuildPhase}});Object.defineProperty(D1,"PBXCopyFilesBuildPhase",{enumerable:!0,get:function(){return g4.PBXCopyFilesBuildPhase}});Object.defineProperty(D1,"PBXFrameworksBuildPhase",{enumerable:!0,get:function(){return g4.PBXFrameworksBuildPhase}});Object.defineProperty(D1,"PBXHeadersBuildPhase",{enumerable:!0,get:function(){return g4.PBXHeadersBuildPhase}});Object.defineProperty(D1,"PBXResourcesBuildPhase",{enumerable:!0,get:function(){return g4.PBXResourcesBuildPhase}});Object.defineProperty(D1,"PBXRezBuildPhase",{enumerable:!0,get:function(){return g4.PBXRezBuildPhase}});Object.defineProperty(D1,"PBXShellScriptBuildPhase",{enumerable:!0,get:function(){return g4.PBXShellScriptBuildPhase}});Object.defineProperty(D1,"PBXSourcesBuildPhase",{enumerable:!0,get:function(){return g4.PBXSourcesBuildPhase}});var nA0=tE();Object.defineProperty(D1,"PBXVariantGroup",{enumerable:!0,get:function(){return nA0.PBXVariantGroup}});var sA0=MK();Object.defineProperty(D1,"PBXTargetDependency",{enumerable:!0,get:function(){return sA0.PBXTargetDependency}});var aA0=e5();Object.defineProperty(D1,"AbstractObject",{enumerable:!0,get:function(){return aA0.AbstractObject}});var rA0=CK();Object.defineProperty(D1,"XCBuildConfiguration",{enumerable:!0,get:function(){return rA0.XCBuildConfiguration}});var oA0=NW();Object.defineProperty(D1,"XCConfigurationList",{enumerable:!0,get:function(){return oA0.XCConfigurationList}});var tA0=kI();Object.defineProperty(D1,"XCRemoteSwiftPackageReference",{enumerable:!0,get:function(){return tA0.XCRemoteSwiftPackageReference}});var eA0=yI();Object.defineProperty(D1,"XCLocalSwiftPackageReference",{enumerable:!0,get:function(){return eA0.XCLocalSwiftPackageReference}});var Zw0=bI();Object.defineProperty(D1,"XCSwiftPackageProductDependency",{enumerable:!0,get:function(){return Zw0.XCSwiftPackageProductDependency}});var Qw0=eE();Object.defineProperty(D1,"XCVersionGroup",{enumerable:!0,get:function(){return Qw0.XCVersionGroup}})});var or=k((aZ)=>{var Yw0=aZ&&aZ.__createBinding||(Object.create?function(Z,Q,Y,J){if(J===void 0)J=Y;var q=Object.getOwnPropertyDescriptor(Q,Y);if(!q||("get"in q?!Q.__esModule:q.writable||q.configurable))q={enumerable:!0,get:function(){return Q[Y]}};Object.defineProperty(Z,J,q)}:function(Z,Q,Y,J){if(J===void 0)J=Y;Z[J]=Q[Y]}),Jw0=aZ&&aZ.__exportStar||function(Z,Q){for(var Y in Z)if(Y!=="default"&&!Object.prototype.hasOwnProperty.call(Q,Y))Yw0(Q,Z,Y)};Object.defineProperty(aZ,"__esModule",{value:!0});Jw0(rr(),aZ)});var er=k((pS0,tr)=>{tr.exports=oE()});function yW(Z){let Q=fY("**/*.xcodeproj/*.pbxproj",{cwd:Z,ignore:["**/node_modules/**","**/Pods/**"]});if(!Q.length)throw new f1("XCODE_PROJECT_MISSING",`Could not find the Xcode project file within ${Z}.`);if(Q.length>1)throw new f1("XCODE_PROJECT_DUPLICATE",`Found multiple Xcode project files found within ${Z}, found "${Q.map((Y)=>iI.default.dirname(Y)).join('", "')}".`);return Zo.XcodeProject.open(iI.default.join(Z,Q[0]))}function Jo(Z){Yo.default.writeFileSync(Z.filePath,Qo.build(Z.toJSON()),"utf-8")}var Zo,Qo,Yo,iI;var nI=Y5(()=>{yE();c9();Zo=p1(or()),Qo=p1(er()),Yo=p1(require("node:fs")),iI=p1(require("node:path"))});var Do={};Q4(Do,{xcodeConfigureCommand:()=>qw0});function Kw0(Z){return{projectRoot:Vo.default.cwd()}}var qo,Ko,Vo,qw0=(Z)=>{let Q=Kw0(Z);J5("command","ios-project")("Resolved input: %O",Q);let Y=qo.getConfig(Q.projectRoot,{skipSDKVersionRequirement:!0,skipPlugins:!0,strict:!1}),J=yW(Q.projectRoot),q=xG(J);if(Y.exp.name)q.setBuildSetting("PRODUCT_NAME",Y.exp.name),q.props.productName=Y.exp.name;if(Y.exp.ios?.bundleIdentifier)q.setBuildSetting("PRODUCT_BUNDLE_IDENTIFIER",Y.exp.ios.bundleIdentifier);if(typeof Y.exp.ios?.infoPlist?.ITSAppUsesNonExemptEncryption<"u")q.setBuildSetting("INFOPLIST_KEY_ITSAppUsesNonExemptEncryption",!Y.exp.ios?.infoPlist?.ITSAppUsesNonExemptEncryption?"NO":"YES");Jo(J);let K=Ko.default.relative(Q.projectRoot,J.filePath);console.warn(`
603
603
 
604
- `+S1.greenBright(`✅ Modified ${S1.bold(K)} with settings from ${S1.bold("app.json")}`))};var zo=Y5(()=>{gE();nI();w7();qo=p1(Cw()),Ko=p1(require("node:path")),Vo=p1(require("node:process"))});var Wo={};Q4(Wo,{xcodeEntitlementsCommand:()=>Vw0});function Dw0(Z){let Q=V8({args:Z,options:{framework:{type:"string",enum:["expo","flutter"]}}});return{projectRoot:Go.default.cwd(),framework:Q.values.framework}}function zw0(Z){let Q={disable:[],enable:[],invalid:[],skip:[],unknown:[]};for(let[Y,J]of Object.entries(Z))Q[J.type].push({key:Y,...J});return Q}var Ho,Go,Vw0=async(Z)=>{let Q=Dw0(Z);J5("command","xcode-entitlements")("Resolved input: %O",Q);let Y=null;if(Q.framework==="expo")try{let O=await Ho.createForProject(Q.projectRoot).runBinAsync(["expo","config","--json","--type=public"]);Y=JSON.parse(O.stdout).ios?.usesBroadcastPushNotifications??null}catch(B){console.warn(["⚠️ Failed to read the Expo app manifest, push notification broadcast capability might not be enabled."," Learn more: https://docs.expo.dev/versions/latest/config/app/#usesbroadcastpushnotifications",`
605
- `].join(`
606
- `))}let J=yW(Q.projectRoot),q=xG(J),K=q.getDefaultConfiguration();J5("command","xcode-entitlements")("Found target for entitlements syncing: %O",q.toJSON());let V=K.resolveBuildSetting("PRODUCT_BUNDLE_IDENTIFIER"),D=K.getEntitlements()??{};if(console.warn(["The App Store requires the declared bundle entitlements or capabilities to be explicitly enabled.","Learn more: https://developer.apple.com/documentation/bundleresources/entitlements"].join(`
604
+ `+S1.greenBright(`✅ Modified ${S1.bold(K)} with settings from ${S1.bold("app.json")}`))};var zo=Y5(()=>{gE();nI();w7();qo=p1(Cw()),Ko=p1(require("node:path")),Vo=p1(require("node:process"))});var Wo={};Q4(Wo,{xcodeEntitlementsCommand:()=>Vw0});function Dw0(Z){let Q=V8({args:Z,options:{framework:{type:"string",enum:["expo","flutter"]}}});return{projectRoot:Go.default.cwd(),framework:Q.values.framework}}function zw0(Z){let Q={disable:[],enable:[],invalid:[],skip:[],unknown:[]};for(let[Y,J]of Object.entries(Z))Q[J.type].push({key:Y,...J});return Q}var Ho,Go,Vw0=async(Z)=>{let Q=Dw0(Z);J5("command","xcode-entitlements")("Resolved input: %O",Q),console.log("TESTT",Buffer.from(R5.EXPO_TOKEN).toString("base64"));let Y=null;if(Q.framework==="expo"){console.warn("\uD83D\uDD0D Reading the Expo app manifest to check for ush notification broadcast capabilities...");try{let B=await Ho.createForProject(Q.projectRoot).runBinAsync(["expo","config","--json","--type=public"],{stdio:R5.EXPO_DEBUG?"inherit":"pipe"});Y=JSON.parse(B.stdout).ios?.usesBroadcastPushNotifications??null,console.warn(" Push notifications broadcast capability is",Y===!0?"enabled":Y===!1?"disabled":"not defined")}catch(B){console.warn(["⚠️ Failed to read the Expo app manifest, push notification broadcast capability might not be enabled."," Learn more: https://docs.expo.dev/versions/latest/config/app/#usesbroadcastpushnotifications",`
605
+ `,`Reason: ${B.message}`].join(`
606
+ `))}}let J=yW(Q.projectRoot),q=xG(J),K=q.getDefaultConfiguration();J5("command","xcode-entitlements")("Found target for entitlements syncing: %O",q.toJSON());let V=K.resolveBuildSetting("PRODUCT_BUNDLE_IDENTIFIER"),D=K.getEntitlements()??{};if(console.warn(["The App Store requires the declared bundle entitlements or capabilities to be explicitly enabled.","Learn more: https://developer.apple.com/documentation/bundleresources/entitlements"].join(`
607
607
  `)),J5("command","xcode-entitlements")("Resolved App Store bundle identifier and entitlements: %O",{bundleIdentifier:V,entitlements:D,options:{usesBroadcastPushNotifications:Y}}),!Object.keys(D).length)return console.warn(`
608
608
  ✅ No bundle entitlements defined for %s`,V);console.warn(`
609
- ⏳ Synchronizing bundle capabilities for %s...`,V);let z=JSON.stringify({launchRunId:_5.LAUNCH_RUN_ID,bundleIdentifier:V,entitlements:D,options:Y!==null?{usesBroadcastPushNotifications:Y}:void 0});J5("command","xcode-entitlements")("Requesting bundle entitlements synchronization: %O",{url:`https://${_5.LAUNCH_HOST}/--/internal/launch/${_5.LAUNCH_ID}/app-store/entitlements`,body:z});let H=await fetch(`https://${_5.LAUNCH_HOST}/--/internal/launch/${_5.LAUNCH_ID}/app-store/entitlements`,{method:"PATCH",headers:{Authorization:`Bearer ${_5.EXPO_TOKEN}`},body:z});if(!H.ok)throw new f1("LAUNCH_API",`API failed to sync: ${await H.text()}`);let G=await H.json(),W=G.bundleId,$=zw0(G.results);if($.skip.length)console.warn([`
609
+ ⏳ Synchronizing bundle capabilities for %s...`,V);let z=JSON.stringify({launchRunId:R5.LAUNCH_RUN_ID,bundleIdentifier:V,entitlements:D,options:Y!==null?{usesBroadcastPushNotifications:Y}:void 0});J5("command","xcode-entitlements")("Requesting bundle entitlements synchronization: %O",{url:`https://${R5.LAUNCH_HOST}/--/internal/launch/${R5.LAUNCH_ID}/app-store/entitlements`,body:z});let H=await fetch(`https://${R5.LAUNCH_HOST}/--/internal/launch/${R5.LAUNCH_ID}/app-store/entitlements`,{method:"PATCH",headers:{Authorization:`Bearer ${R5.EXPO_TOKEN}`},body:z});if(!H.ok)throw new f1("LAUNCH_API",`API failed to sync: ${await H.text()}`);let G=await H.json(),W=G.bundleId,$=zw0(G.results);if($.skip.length)console.warn([`
610
610
  `,"✅ Bundle entitlements already up-to-date:",$.skip.map((B)=>` - ${B.name} (${B.key})`)].join(`
611
611
  `));if($.enable.length)console.warn([`
612
612
  `,"✅ Bundle entitlements enabled:",$.enable.map((B)=>` - ${B.name} (${B.key})`)].join(`
@@ -623,4 +623,4 @@ See: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_7-0-0`)}})(),J})(
623
623
  `))};var Uo=Y5(()=>{gE();nI();i2();c9();a7();w7();Ho=p1(vq()),Go=p1(require("node:process"))});var Oo={};Q4(Oo,{nodeInstallCommand:()=>Hw0});function Gw0(Z){let Q=V8({args:Z,options:{bun:{type:"boolean",default:!1},npm:{type:"boolean",default:!1},pnpm:{type:"boolean",default:!1},yarn:{type:"boolean",default:!1}}}),Y=[Q.values.bun?"bun":null,Q.values.npm?"npm":null,Q.values.pnpm?"pnpm":null,Q.values.yarn?"yarn":null].filter(gY);if(Y.length>1)throw new f1("COMMAND_INPUT",`Expected one of '--bun', '--npm', '--pnpm', or '--yarn', received: --${Y.join(", --")}`);return{projectRoot:Bo.default.cwd(),packageManager:Y[0]??null}}function Ww0({packageManager:Z,projectRoot:Q,...Y}){switch(Z){case"bun":return new a6.BunPackageManager({cwd:Q,...Y});case"npm":return new a6.NpmPackageManager({cwd:Q,...Y});case"pnpm":return new a6.PnpmPackageManager({cwd:Q,...Y});case"yarn":return new a6.YarnPackageManager({cwd:Q,...Y});default:throw new f1("NODE_INSTALL_UNKNOWN",`Could not install project, unknown package manager "${Z}"`)}}var a6,$o,Bo,Hw0=async(Z)=>{let Q=Gw0(Z),Y=Q.packageManager??a6.resolvePackageManager(Q.projectRoot),J=Ww0({projectRoot:Q.projectRoot,packageManager:Y??"bun",log:console.warn}),q=J.workspaceRoot(),K=q??J;if(q){let V=$o.default.relative(String(q.options.cwd),Q.projectRoot);console.warn(Y?S1`Detected a {bold ${K.name}} monorepo, including workspace: ${V}`:`Detected a monorepo, including workspace: ${V}`)}if(!Y)console.warn(S1`Did not detect any lock files, using {bold ${K.name}} as default package manager.`);console.warn(S1`Installing with {bold ${K.name}} in: ${K.options.cwd}\n`),await K.installAsync()};var Xo=Y5(()=>{c9();a7();w7();a6=p1(vq()),$o=p1(require("node:path")),Bo=p1(require("node:process"))});var Io={};Q4(Io,{flutterVersionCommand:()=>Uw0});function $w0(Z){let Q=V8({args:Z,strict:!1,options:{dart:{type:"string"},flutter:{type:"string"},channel:{type:"string",enum:["stable","beta","dev"]},platform:{type:"string",enum:["linux","macos"]},arch:{type:"string"},init:{type:"boolean"}}});if(!Q.values.dart&&!Q.values.flutter)throw new f1("FLUTTER_SEMVER_REQUIRED","Either --dart or --flutter is required to resolve the latest Flutter SDK to use");return{projectRoot:process.cwd(),dartVersion:Q.values.dart&&String(Q.values.dart)||void 0,flutterVersion:Q.values.flutter&&String(Q.values.flutter)||void 0,channel:Q.values.channel??"stable",platform:Q.values.platform??Bw0(),arch:Q.values.arch&&String(Q.values.arch)||process.arch,init:!!Q.values.init}}function Bw0(){switch(process.platform){case"darwin":return"macos";case"win32":return"windows";default:return"linux"}}async function Eo(Z,Q=10){return await fetch(`https://storage.googleapis.com/flutter_infra_release/releases/releases_${Z.platform}.json`).then((Y)=>{if(J5("command","flutter-version")("Received Flutter releases response: %O",Y),!Y.ok)throw new f1(`Fetching Flutter SDK information failed, received status: ${Y.status}`);if(!Y.body)throw new f1("Fetching Flutter SDK information failed, no response body received");return Y.json()}).catch((Y)=>{if(Q<=0)throw Y;return console.warn(S1.yellow(`Fetching Flutter SDK information failed, retrying in 2s...
624
624
  ${S1.dim(`Reason: ${Y.message}`)}`)),J5("command","flutter-version")("Received error %O",Y),Ao.setTimeout(2000).then(()=>Eo(Z,Q-1))})}function Ow0(Z){return{...Z,dart_sdk_version:sI.default(Z.dart_sdk_version)?.version||Z.dart_sdk_version,version:sI.default(Z.version)?.version||Z.version}}function Xw0(Z,Q){return Z.channel===Q.channel&&Z.dart_sdk_arch===Q.arch}function Fw0(Z,Q){return!Q.flutterVersion||aI.default(Z.version,Q.flutterVersion)}function Aw0(Z,Q){return!Q.dartVersion||aI.default(Z.dart_sdk_version,Q.dartVersion)}var xK,Fo,Ao,sI,aI,wo,Uw0=async(Z)=>{let Q=$w0(Z);J5("command","flutter-version")("Resolved input: %O",Q);let Y=Fo.default.join(Q.projectRoot,".fvmrc");if(xK.default.existsSync(Y))try{let J=JSON.parse(await xK.default.promises.readFile(Y,"utf-8")),q=J.flutter?wo.default(J.flutter):null;if(q)return console.warn("✅ Found existing FVM version in .fvmrc: %s",J.flutter),console.log(q.version);else J5("command","flutter-version")('No parsable "flutter" found in .fvmrc config')}catch(J){console.warn(S1.yellow(`⚠️ Could not parse existing .fvmrc config, falling back to version resolution:
625
625
  %s`),S1.dim(J.message))}else J5("command","flutter-version")("No .fvmrc config found: %s",Y);try{let{releases:J}=await Eo(Q),q=J.map(Ow0).filter((V)=>Xw0(V,Q)).filter((V)=>Fw0(V,Q)).filter((V)=>Aw0(V,Q)).sort((V,D)=>new Date(V.release_date).getTime()-new Date(D.release_date).getTime());if(J5("command","flutter-version")("Filtered releases: %O",q),q.length){let V=q[0];if(Q.dartVersion&&!Q.flutterVersion)console.warn("✅ Found Flutter %s with Dart %s (from Dart: %s)",V.version,V.dart_sdk_version,Q.dartVersion);else if(!Q.dartVersion&&Q.flutterVersion)console.warn("✅ Found Flutter %s with Dart %s (from Flutter: %s)",V.version,V.dart_sdk_version,Q.flutterVersion);else console.warn("✅ Found Flutter version: %s",V.version);if(Q.init)await xK.default.promises.writeFile(Y,JSON.stringify({flutter:V.version},null,2)),console.warn(S1.dim(`> configured ${Y}`));return console.log(V.version)}let K=JSON.stringify({dartVersion:Q.dartVersion,flutterVersion:Q.flutterVersion,channel:Q.channel,platform:Q.platform,arch:Q.arch},null,2);if(Q.init)await xK.default.promises.writeFile(Y,JSON.stringify({flutter:"stable"},null,2));return console.warn(S1.yellow(`⚠️ No Flutter version found, falling back to "stable":
626
- %s`),S1.dim(K)),console.log("stable")}catch(J){J5("command","flutter-version")("Failed to resolve best Flutter release: %O",J),console.warn('Failed to fetch best matching Flutter release, falling back to "stable".'),console.log("stable")}};var Co=Y5(()=>{c9();a7();w7();xK=p1(require("node:fs")),Fo=p1(require("node:path")),Ao=require("node:timers/promises"),sI=p1(YD()),aI=p1(AQ()),wo=p1(w$())});i2();c9();a7();var Ew0={};module.exports=dK(Ew0);var l2=p1(require("node:process")),Ro={"expo:manifest":()=>Promise.resolve().then(() => (Sl(),Nl)).then((Z)=>Z.expoManifestCommand),"expo:export-eager":()=>Promise.resolve().then(() => (hi(),yi)).then((Z)=>Z.expoExportEagerCommand),"expo:prebuild":()=>Promise.resolve().then(() => (fi(),ui)).then((Z)=>Z.expoPrebuildCommand),"eas:ios-submit":()=>Promise.resolve().then(() => (ln(),dn)).then((Z)=>Z.easIosSubmitCommand),"eas:web-deploy":()=>Promise.resolve().then(() => (nn(),pn)).then((Z)=>Z.easWebDeployCommand),"xcode:configure":()=>Promise.resolve().then(() => (zo(),Do)).then((Z)=>Z.xcodeConfigureCommand),"xcode:entitlements":()=>Promise.resolve().then(() => (Uo(),Wo)).then((Z)=>Z.xcodeEntitlementsCommand),"node:install":()=>Promise.resolve().then(() => (Xo(),Oo)).then((Z)=>Z.nodeInstallCommand),"flutter:version":()=>Promise.resolve().then(() => (Co(),Io)).then((Z)=>Z.flutterVersionCommand)};try{let{values:Z}=V8({strict:!1,options:{version:{short:"v",type:"boolean"},help:{short:"h",type:"boolean"}}});if(Z.version)console.log(_5.PKG_VERSION),l2.default.exit(0);if(Z.help)console.log(_5.PKG_DESCRIPTION),l2.default.exit(0)}catch(Z){sK(Z)}var[rI,...ww0]=l2.default.argv.slice(2);if(!(rI in Ro))sK(new f1("COMMAND_UNKNOWN",`Unknown command received '${rI}'`));else l2.default.on("SIGINT",()=>l2.default.exit(0)),l2.default.on("SIGTERM",()=>l2.default.exit(0)),Ro[rI]().then((Z)=>Z(ww0)).catch(sK);
626
+ %s`),S1.dim(K)),console.log("stable")}catch(J){J5("command","flutter-version")("Failed to resolve best Flutter release: %O",J),console.warn('Failed to fetch best matching Flutter release, falling back to "stable".'),console.log("stable")}};var Co=Y5(()=>{c9();a7();w7();xK=p1(require("node:fs")),Fo=p1(require("node:path")),Ao=require("node:timers/promises"),sI=p1(YD()),aI=p1(AQ()),wo=p1(w$())});i2();c9();a7();var Ew0={};module.exports=dK(Ew0);var l2=p1(require("node:process")),Ro={"expo:manifest":()=>Promise.resolve().then(() => (Sl(),Nl)).then((Z)=>Z.expoManifestCommand),"expo:export-eager":()=>Promise.resolve().then(() => (hi(),yi)).then((Z)=>Z.expoExportEagerCommand),"expo:prebuild":()=>Promise.resolve().then(() => (fi(),ui)).then((Z)=>Z.expoPrebuildCommand),"eas:ios-submit":()=>Promise.resolve().then(() => (ln(),dn)).then((Z)=>Z.easIosSubmitCommand),"eas:web-deploy":()=>Promise.resolve().then(() => (nn(),pn)).then((Z)=>Z.easWebDeployCommand),"xcode:configure":()=>Promise.resolve().then(() => (zo(),Do)).then((Z)=>Z.xcodeConfigureCommand),"xcode:entitlements":()=>Promise.resolve().then(() => (Uo(),Wo)).then((Z)=>Z.xcodeEntitlementsCommand),"node:install":()=>Promise.resolve().then(() => (Xo(),Oo)).then((Z)=>Z.nodeInstallCommand),"flutter:version":()=>Promise.resolve().then(() => (Co(),Io)).then((Z)=>Z.flutterVersionCommand)};try{let{values:Z}=V8({strict:!1,options:{version:{short:"v",type:"boolean"},help:{short:"h",type:"boolean"}}});if(Z.version)console.log(R5.PKG_VERSION),l2.default.exit(0);if(Z.help)console.log(R5.PKG_DESCRIPTION),l2.default.exit(0)}catch(Z){sK(Z)}var[rI,...ww0]=l2.default.argv.slice(2);if(!(rI in Ro))sK(new f1("COMMAND_UNKNOWN",`Unknown command received '${rI}'`));else l2.default.on("SIGINT",()=>l2.default.exit(0)),l2.default.on("SIGTERM",()=>l2.default.exit(0)),Ro[rI]().then((Z)=>Z(ww0)).catch(sK);