@expo/launching 0.0.0-20251225-931c4f6e → 0.0.0-20251225-2668fda0
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.
- package/build/index.js +14 -14
- 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 S5;var i2=Y5(()=>{S5={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(
|
|
7
|
+
`)}var eW,a1,AC,S1;var w7=Y5(()=>{i2();eW=p1(A7()),a1=require("node:util");if(S5.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=S5.EXPO_DEBUG&&"code"in Z&&Z.code?` (${Z.code})`:"",J=S5.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=[`
|
|
@@ -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=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
|
|
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(`};
|
|
@@ -323,7 +323,7 @@ See the package documentation on how to correctly configure the plugin.`,"INVALI
|
|
|
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,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")}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,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")}}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,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")}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,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
")}}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=="<"&&"<"||Z==">"&&">"||Z=="&"&&"&"||Z=='"'&&"""||"&#"+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=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 _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:
|
|
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:S5.EXPO_DEBUG?"inherit":"pipe",...Q,env:{...h2.default.env,...Q.env}})}async function $B0(Z,Q={}){return await uE.default("fastlane",Z,{stdio:S5.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(
|
|
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(S5.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(!
|
|
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(!S5.EAS_BUILD)return;return await fE.default("set-output",[Z,Q],{stdio:S5.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);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 O=await Ho.createForProject(Q.projectRoot).runBinAsync(["expo","config","--json","--type=public"],{stdio:S5.EXPO_DEBUG?"inherit":"pipe"});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
|
+
`,`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:
|
|
609
|
+
⏳ Synchronizing bundle capabilities for %s...`,V);let z=JSON.stringify({launchRunId:S5.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://${S5.LAUNCH_HOST}/--/internal/launch/${S5.LAUNCH_ID}/app-store/entitlements`,body:z});let H=await fetch(`https://${S5.LAUNCH_HOST}/--/internal/launch/${S5.LAUNCH_ID}/app-store/entitlements`,{method:"PATCH",headers:{Authorization:`Bearer ${S5.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(
|
|
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(S5.PKG_VERSION),l2.default.exit(0);if(Z.help)console.log(S5.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);
|